:root {
  --ink: #181816;
  --ink-soft: #26231f;
  --cream: #f3efe7;
  --paper: #fbf8f2;
  --bronze: #b78358;
  --bronze-light: #d1a477;
  --line: rgba(24, 24, 22, 0.16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.65; }
body.menu-open, body.modal-open { overflow: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; width: 100%; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .8rem 1rem; background: white; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: 94px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1.2rem, 4vw, 4.5rem); color: white; border-bottom: 1px solid rgba(255,255,255,.18); transition: background .35s, height .35s, box-shadow .35s; }
.site-header.scrolled { height: 78px; background: rgba(24,24,22,.96); box-shadow: 0 10px 32px rgba(0,0,0,.16); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1; }
.brand-mark { width: 50px; height: 50px; color: var(--bronze-light); flex: none; }
.brand-mark text { font-family: var(--serif); font-size: 30px; fill: white; }
.brand strong { display: block; font-family: var(--serif); font-size: 24px; letter-spacing: .1em; font-weight: 600; }
.brand strong i { color: var(--bronze-light); font-style: normal; }
.brand small { display: block; margin-top: 7px; font-size: 8px; letter-spacing: .36em; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2.2rem); }
.site-nav a { position: relative; text-decoration: none; text-transform: uppercase; font-size: 10px; letter-spacing: .18em; }
.site-nav a:not(.button)::after { content: ""; position: absolute; height: 1px; inset: auto 0 -7px; background: var(--bronze-light); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav-phone { color: var(--bronze-light); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 9px; }
.menu-toggle span { display: block; height: 1px; margin: 8px 0; background: white; transition: transform .25s; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.7rem; border: 1px solid var(--bronze); background: var(--bronze); color: #fff; text-decoration: none; text-transform: uppercase; font-size: 10px; font-weight: 600; letter-spacing: .16em; cursor: pointer; transition: background .25s, border-color .25s, transform .25s; }
.button:hover, .button:focus-visible { background: #9f6e47; border-color: #9f6e47; transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 1.2rem; }
.eyebrow { margin: 0 0 1.1rem; color: var(--bronze); text-transform: uppercase; font-size: 10px; font-weight: 600; letter-spacing: .28em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: .94; letter-spacing: -.025em; }
em { color: var(--bronze-light); font-weight: 500; }

.hero { position: relative; min-height: 820px; height: 100svh; display: flex; align-items: center; color: white; background: var(--ink); overflow: hidden; }
.hero-image { position: absolute; inset: 0; background: url("assets/kitchen.webp") center 58% / cover no-repeat; transform: scale(1.015); animation: hero-settle 1.4s ease-out both; }
@keyframes hero-settle { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: scale(1.015); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,14,12,.92) 0%, rgba(14,14,12,.72) 42%, rgba(14,14,12,.18) 78%), linear-gradient(0deg, rgba(14,14,12,.64), transparent 45%); }
.hero-content { position: relative; z-index: 2; width: min(730px, 86vw); margin-left: clamp(1.3rem, 8vw, 9rem); padding-top: 4rem; }
.hero h1 { margin: 0; font-size: clamp(68px, 8.6vw, 132px); }
.hero-copy { max-width: 600px; margin: 2rem 0 2.2rem; color: rgba(255,255,255,.78); font-size: clamp(15px, 1.4vw, 19px); }
.hero-actions { display: flex; align-items: center; gap: 2.2rem; }
.text-link { color: white; text-decoration: none; text-transform: uppercase; font-size: 10px; font-weight: 600; letter-spacing: .18em; }
.text-link span { display: inline-block; margin-left: .55rem; color: var(--bronze-light); transition: transform .25s; }
.text-link:hover span { transform: translateY(3px); }
.hero-proof { position: absolute; z-index: 3; inset: auto 0 0; display: grid; grid-template-columns: repeat(6, 1fr); background: rgba(18,18,16,.88); border-top: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); }
.hero-proof span { padding: 1.35rem .6rem; text-align: center; text-transform: uppercase; font-size: 9px; letter-spacing: .18em; border-right: 1px solid rgba(255,255,255,.12); }

.work-section { padding: clamp(6rem, 10vw, 10rem) clamp(1.2rem, 5vw, 5.5rem); background: var(--paper); }
.section-heading { display: grid; grid-template-columns: minmax(420px, 1fr) minmax(280px, 460px); align-items: end; gap: 4rem; max-width: 1400px; margin: 0 auto 4.5rem; }
.section-heading h2, .inquiry-intro h2 { margin: 0; font-size: clamp(52px, 6vw, 88px); }
.section-heading > p { max-width: 430px; margin: 0 0 .5rem; color: #666057; }
.project-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-template-rows: repeat(2, minmax(290px, 34vw)); gap: 12px; }
.project-card { position: relative; min-height: 0; padding: 0; border: 0; background: #ddd; cursor: zoom-in; overflow: hidden; }
.project-card-tall { grid-row: span 2; }
.project-card-wide { grid-column: span 2; }
.project-card img { height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s; }
.project-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(8,8,7,.78)); }
.project-card > span { position: absolute; z-index: 2; inset: auto 1.5rem 1.35rem; display: flex; align-items: end; justify-content: space-between; gap: 1rem; color: white; text-align: left; }
.project-card strong { font-family: var(--serif); font-size: clamp(24px, 2vw, 34px); font-weight: 500; line-height: 1; }
.project-card small { color: rgba(255,255,255,.7); text-transform: uppercase; font-size: 8px; letter-spacing: .14em; white-space: nowrap; }
.project-card:hover img, .project-card:focus-visible img { transform: scale(1.045); filter: brightness(.88); }

.inquiry-section { position: relative; padding: clamp(6rem, 10vw, 9rem) clamp(1.2rem, 7vw, 8rem) 2rem; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 9rem); color: var(--cream); background: var(--ink); }
.inquiry-section::before { content: ""; position: absolute; inset: 0; opacity: .18; background-image: radial-gradient(rgba(255,255,255,.12) .7px, transparent .8px); background-size: 5px 5px; pointer-events: none; }
.inquiry-intro, .quote-form, footer { position: relative; z-index: 1; }
.inquiry-intro > p:not(.eyebrow) { max-width: 480px; color: rgba(255,255,255,.62); }
.contact-list { margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.16); }
.contact-list > * { display: block; padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,.16); text-decoration: none; }
.contact-list small { display: block; color: var(--bronze-light); text-transform: uppercase; font-size: 8px; letter-spacing: .2em; }
.contact-list strong { display: block; margin-top: 4px; color: white; font-weight: 400; font-size: clamp(13px, 1.2vw, 17px); overflow-wrap: anywhere; }
.quote-form { align-self: start; min-height: 560px; padding: clamp(1.4rem, 4vw, 3.2rem); color: var(--ink); background: var(--cream); }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-progress { display: flex; justify-content: space-between; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.form-progress span { color: #918980; text-transform: uppercase; font-size: 8px; font-weight: 600; letter-spacing: .2em; }
.form-progress span.active { color: var(--bronze); }
.form-step { display: none; padding-top: 2rem; }
.form-step.active { display: block; animation: step-in .35s ease both; }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } }
fieldset { margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 1.2rem; font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.choice-grid label { position: relative; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid span { display: block; padding: .9rem 1rem; border: 1px solid var(--line); background: rgba(255,255,255,.36); cursor: pointer; transition: border .2s, background .2s; }
.choice-grid input:checked + span { border-color: var(--bronze); background: white; box-shadow: inset 3px 0 var(--bronze); }
.choice-grid input:focus-visible + span { outline: 2px solid var(--bronze); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quote-form label:not(.choice-grid label) { display: block; margin-top: 1.1rem; color: #5d574f; text-transform: uppercase; font-size: 8px; font-weight: 600; letter-spacing: .18em; }
.quote-form input:not([type="radio"]), .quote-form select, .quote-form textarea { width: 100%; margin-top: .45rem; padding: .75rem 0; border: 0; border-bottom: 1px solid #9b948b; border-radius: 0; outline: none; color: var(--ink); background: transparent; text-transform: none; font-size: 14px; letter-spacing: 0; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-bottom-color: var(--bronze); }
.quote-form [aria-invalid="true"] { border-bottom-color: #9c3d2b !important; }
.form-next { margin-top: 1.8rem; }
.form-actions, .success-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }
.form-actions .button:disabled { opacity: .68; cursor: wait; transform: none; }
.text-button { border: 0; background: transparent; text-decoration: underline; cursor: pointer; }
.form-error { margin: 1rem 0 0; padding: .8rem 1rem; border-left: 3px solid #9c3d2b; color: #762c20; background: rgba(156,61,43,.08); font-size: 11px; line-height: 1.5; }
.form-note { margin: 1rem 0 0; color: #7c756c; font-size: 10px; line-height: 1.5; }
.form-success { display: none; padding-top: 2rem; }
.form-success.active { display: block; animation: step-in .35s ease both; }
.form-success h3 { margin: 0 0 1rem; font-size: clamp(42px, 5vw, 66px); }
.form-success p:not(.eyebrow) { max-width: 520px; color: #5f5951; }
.text-link.dark { color: var(--ink); }
footer { grid-column: 1 / -1; margin-top: 2rem; padding-top: 2rem; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.5); font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }
.footer-brand { color: white; font-family: var(--serif); font-size: 24px; letter-spacing: .1em; text-transform: uppercase; }
.footer-brand i { color: var(--bronze-light); font-style: normal; }

.lightbox { width: min(92vw, 1240px); height: min(94vh, 960px); max-width: none; max-height: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(10,10,9,.92); backdrop-filter: blur(8px); }
.lightbox figure { width: 100%; height: 100%; margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto auto; align-items: center; }
.gallery-stage { min-width: 0; min-height: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pan-y; }
.lightbox img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 24px 80px rgba(0,0,0,.5); user-select: none; -webkit-user-drag: none; }
.lightbox img.changing { animation: gallery-change .24s ease both; }
@keyframes gallery-change { from { opacity: .3; transform: scale(.985); } }
.lightbox figcaption { width: 100%; margin: .75rem 0 .65rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; color: white; }
.lightbox figcaption strong { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.gallery-counter { color: rgba(255,255,255,.62); text-transform: uppercase; font-family: var(--sans); font-size: 9px; letter-spacing: .2em; }
.gallery-thumbnails { max-width: 100%; display: flex; justify-content: flex-start; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; scrollbar-color: var(--bronze) transparent; }
.gallery-thumbnail { flex: 0 0 76px; width: 76px; height: 56px; padding: 0; border: 1px solid transparent; background: #272521; opacity: .52; cursor: pointer; overflow: hidden; transition: opacity .2s, border-color .2s; }
.gallery-thumbnail img { width: 100%; height: 100%; object-fit: cover; box-shadow: none; }
.gallery-thumbnail.active { border-color: var(--bronze-light); opacity: 1; }
.gallery-thumbnail:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.lightbox-close { position: fixed; z-index: 2; top: 1rem; right: 1.2rem; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: white; background: transparent; font-size: 34px; line-height: 1; cursor: pointer; }
.gallery-arrow { position: fixed; z-index: 2; top: 50%; width: 54px; height: 54px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: white; background: rgba(10,10,9,.36); font-family: var(--serif); font-size: 42px; line-height: .9; cursor: pointer; transition: background .2s, border-color .2s; }
.gallery-arrow:hover, .gallery-arrow:focus-visible { border-color: var(--bronze-light); background: rgba(183,131,88,.72); }
.gallery-prev { left: 1.1rem; }
.gallery-next { right: 1.1rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .menu-toggle { display: block; z-index: 2; }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 2rem; background: rgba(24,24,22,.985); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .site-nav a { font-size: 14px; }
  .menu-open .site-nav { opacity: 1; visibility: visible; }
  .menu-open .menu-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .project-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 48vw); }
  .project-card-tall { grid-row: span 2; }
  .project-card-wide { grid-column: span 1; }
  .inquiry-section { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  .site-header { height: 80px; padding: 0 1rem; }
  .brand-mark { width: 42px; height: 42px; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 6.5px; letter-spacing: .28em; }
  .hero { min-height: 760px; height: 100svh; align-items: end; padding-bottom: 100px; }
  .hero-image { background-position: 60% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(14,14,12,.94) 7%, rgba(14,14,12,.65) 58%, rgba(14,14,12,.3)); }
  .hero-content { width: auto; margin: 0 1.2rem; padding: 0; }
  .hero h1 { font-size: clamp(56px, 17vw, 84px); }
  .hero-copy { margin: 1.4rem 0 1.7rem; font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.2rem; }
  .hero-proof { grid-template-columns: repeat(3, 1fr); }
  .hero-proof span { padding: .85rem .25rem; font-size: 6.5px; }
  .work-section { padding-left: .8rem; padding-right: .8rem; }
  .section-heading { padding: 0 .4rem; }
  .section-heading h2, .inquiry-intro h2 { font-size: 49px; }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 8px; }
  .project-card, .project-card-tall, .project-card-wide { grid-column: auto; grid-row: auto; height: 88vw; max-height: 520px; }
  .project-card > span { inset: auto 1rem 1rem; }
  .project-card strong { font-size: 27px; }
  .project-card small { display: none; }
  .inquiry-section { padding-left: 1rem; padding-right: 1rem; }
  .quote-form { margin-left: -1rem; margin-right: -1rem; padding: 1.2rem; }
  .choice-grid, .field-row { grid-template-columns: 1fr; }
  .form-actions, .success-actions { align-items: stretch; flex-direction: column-reverse; }
  footer { grid-template-columns: 1fr; gap: .5rem; }
  .lightbox { width: 94vw; height: 91dvh; }
  .lightbox-close { top: .65rem; right: .65rem; width: 44px; height: 44px; background: rgba(10,10,9,.5); }
  .gallery-arrow { top: 44%; width: 42px; height: 42px; font-size: 34px; background: rgba(10,10,9,.55); }
  .gallery-prev { left: .45rem; }
  .gallery-next { right: .45rem; }
  .lightbox figcaption { margin-top: .55rem; }
  .lightbox figcaption strong { font-size: 20px; }
  .gallery-thumbnail { flex-basis: 62px; width: 62px; height: 48px; }
  .gallery-thumbnails { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
