:root {
  --ink: #22231e;
  --paper: #f9f7f1;
  --white: #fffdf8;
  --gold: #edc58b;
  --muted: #5f6056;
  --line: #ded9ce;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 var(--sans); }
figure, p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #b57322; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; object-fit: cover; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: absolute; z-index: 2; top: 8px; left: 8px; background: white; padding: 10px; transform: translateY(-160%); }
.skip:focus { transform: none; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.nav { min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 11px; text-decoration: none; font: 23px/1.08 var(--serif); }
.mark { display: grid; place-items: center; width: 51px; height: 47px; flex-shrink: 0; background: var(--ink); color: var(--gold); font-size: 21px; }
.brand small, .eyebrow, .gallery small { text-transform: uppercase; font: 700 11px/1.4 var(--sans); letter-spacing: .14em; }
.brand small { display: block; margin-top: 4px; }
.nav nav { display: flex; gap: clamp(18px, 3vw, 36px); font-size: 14px; }
.nav nav a { text-decoration: none; white-space: nowrap; }
.nav nav a:hover, .profile:hover { text-decoration: underline; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 12px; padding: 9px 17px; border: 1px solid currentColor; border-radius: 4px; text-align: center; text-decoration: none; font-weight: 650; font-size: 14px; }
.nav-cta { justify-self: end; min-height: 44px; white-space: nowrap; }
.nav-cta:hover { color: var(--white); background: var(--ink); }
.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.gold:hover { background: #f5d7a7; }
.outline { border-color: #918f82; color: var(--white); }
.outline:hover { background: #ffffff15; }

.hero, .contact { color: var(--white); background: var(--ink); }
.hero-inner { display: grid; grid-template-columns: .94fr 1.06fr; min-height: clamp(540px, 49vw, 690px); }
.hero-copy { padding: clamp(50px, 6vw, 92px) clamp(26px, 5vw, 76px) 42px 0; align-self: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #635239; }
.eyebrow span { width: 24px; height: 1px; background: currentColor; }
.hero .eyebrow, .contact .eyebrow { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.07; }
h1 { margin: 20px 0; font-size: clamp(48px, 5.15vw, 77px); letter-spacing: -.055em; }
h1 em { color: var(--gold); }
h2 { margin-top: 10px; font-size: clamp(36px, 4.4vw, 61px); letter-spacing: -.045em; }
h3 { font-size: clamp(23px, 2.25vw, 31px); letter-spacing: -.028em; }
.intro, .contact p:not(.eyebrow) { max-width: 42ch; color: #e1ded4; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.offer { display: grid; gap: 3px; margin-top: 28px; padding-top: 17px; border-top: 1px solid #66665a; font-size: 13px; }
.offer strong { color: var(--gold); font-size: 14px; }
.offer span { color: #e1ded4; }
.hero-image { position: relative; min-width: 0; }
.hero-image img { position: absolute; inset: 0; height: 100%; object-position: center 65%; }
.hero-image figcaption { position: absolute; right: 17px; bottom: 17px; max-width: calc(100% - 34px); }
.hero-image figcaption a { display: block; padding: 9px 14px; background: var(--white); color: var(--ink); text-decoration: none; font-size: 11px; line-height: 1.45; }
.hero-image figcaption span { display: block; font-weight: 700; font-size: 13px; }
.hero-image figcaption a:hover span { text-decoration: underline; }

.services, .ideas, .contact, .projects { padding-block: clamp(48px, 7vw, 90px); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.service-grid article { background: var(--white); border: 1px solid var(--line); border-top: 2px solid #a78252; padding: clamp(16px, 2vw, 27px); }
.service-grid p, .section-intro { color: var(--muted); margin-top: 10px; }
.projects, .ideas { border-top: 1px solid var(--line); }
.project-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.project-nav a { padding: 5px 13px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); font-size: 14px; text-decoration: none; }
.project-nav a:hover { border-color: #a78252; text-decoration: underline; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 24px; margin-top: 26px; }
.project-card { min-width: 0; padding: 10px 10px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 7px; }
.project-card h3 { margin: 16px 9px 0; }
.project-card p { color: var(--muted); margin: 7px 9px 0; }
.project-photo { display: block; }
.project-photo img { border-radius: 3px; }
.project-photo:hover img { filter: brightness(.93); }
.project-card > .project-photo img { aspect-ratio: 4/4.3; }
.project-details { margin: 12px 9px 0; }
.project-details summary { width: fit-content; cursor: pointer; font-size: 14px; font-weight: 650; }
.project-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.project-thumbs img { aspect-ratio: 4/3; }
:is(.deck-projects, .kitchen-projects) .project-grid, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
:is(.deck-projects, .kitchen-projects) .project-card > .project-photo img { aspect-ratio: 4/3; }
.deck-projects .project-card:first-child > .project-photo img { object-position: center 65%; }
.kitchen-projects .project-card:nth-child(2) > .project-photo img { object-position: center 64%; }
.gallery { display: grid; gap: 24px; margin-top: 26px; }
.gallery img { aspect-ratio: 4/3; border-radius: 4px; }
.gallery figcaption { padding-top: 12px; }
.gallery small { display: block; color: var(--muted); margin-bottom: 5px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; }
.profile { display: inline-block; margin-top: 14px; color: #e1ded4; font-size: 14px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding-block: 22px; font-size: 13px; }

@media (max-width: 960px) {
  .wrap { width: calc(100% - 48px); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .nav { grid-template-columns: 1fr auto; padding-top: 12px; gap: 4px 12px; }
  .nav nav { grid-column: 1 / -1; grid-row: 2; padding: 8px 0 10px; }
  .brand { font-size: 19px; }
  .brand small { font-size: 9px; }
  .mark { width: 42px; height: 42px; font-size: 17px; }
  .nav-cta { padding-inline: 10px; }
  .hero-inner, .contact-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 34px 0 26px; }
  h1 { font-size: clamp(39px, 8vw, 57px); }
  .hero-image { aspect-ratio: 5/4; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .contact-inner { gap: 18px; }
}
@media (max-width: 480px) {
  .project-grid, :is(.deck-projects, .kitchen-projects) .project-grid, .gallery { grid-template-columns: 1fr; }
  .service-grid { gap: 8px; }
  .service-grid article { padding: 12px; }
  .service-grid p { font-size: 14px; }
}
