:root {
  --ink: #171714;
  --paper: #f2efe7;
  --wood: #b69b78;
  --wood-dark: #8d7354;
  --muted: #77756e;
  --line: rgba(23, 23, 20, .18);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", 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: 16px; line-height: 1.6; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; height: 118px; padding: 22px 4vw; display: flex; align-items: center; justify-content: space-between; color: white; }
.brand img { width: 78px; height: 78px; object-fit: contain; }
nav { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); }
nav a { color: white; text-decoration: none; font-size: .9rem; letter-spacing: .04em; position: relative; }
nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s; }
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-button { display: none; }

.hero { min-height: 96vh; height: 850px; position: relative; overflow: hidden; color: white; background: var(--ink); }
.hero-image { position: absolute; inset: 0; background: url("assets/_FJR9401-HDR.webp") center 55% / cover no-repeat; transform: scale(1.02); animation: settle 1.3s cubic-bezier(.2,.8,.2,1) both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,9,7,.76) 0%, rgba(9,9,7,.3) 49%, rgba(9,9,7,.12) 100%), linear-gradient(0deg, rgba(9,9,7,.38), transparent 45%); }
.hero-content { position: absolute; z-index: 2; left: 7vw; bottom: 12vh; max-width: 850px; }
.eyebrow, .section-label { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 600; }
.eyebrow { margin: 0 0 24px 88px; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: .99; letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(3.4rem, 7.2vw, 7.5rem); }
h1 em, h2 em { font-weight: 500; }
.text-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 38px; padding-bottom: 8px; text-decoration: none; border-bottom: 1px solid currentColor; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; }
.text-link span { font-size: 1.4rem; transition: transform .25s; }
.text-link:hover span { transform: translate(4px, 4px); }
.hero-number { position: absolute; z-index: 2; right: 3vw; bottom: -2.5vw; margin: 0; color: rgba(255,255,255,.15); font-family: var(--serif); font-size: clamp(8rem, 17vw, 18rem); line-height: 1; }

.section { padding: 130px 7vw; }
.section-label { display: flex; gap: 16px; align-items: center; white-space: nowrap; }
.section-label span { color: var(--wood-dark); }
.section-label::after { content: ""; height: 1px; width: 50px; background: var(--line); }
.story { display: grid; grid-template-columns: 1fr 3fr; gap: 7vw; position: relative; overflow: hidden; }
.story-copy { max-width: 1000px; }
.kicker { margin: 0 0 18px; color: var(--wood-dark); font-family: var(--serif); font-style: italic; font-size: 1.2rem; }
.story h2, .section-heading h2, .signature h2, .visit h2 { font-size: clamp(2.7rem, 5vw, 5.2rem); }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; margin-top: 54px; max-width: 820px; }
.story-grid p { margin: 0; color: #55534e; font-size: 1.05rem; }
.story-grid strong { color: var(--ink); font-weight: 600; }
.year-mark { position: absolute; right: -15px; bottom: -48px; color: rgba(23,23,20,.05); font-family: var(--serif); font-size: clamp(8rem, 16vw, 16rem); line-height: 1; white-space: nowrap; }
.year-mark span { font-family: var(--sans); font-size: .08em; letter-spacing: .2em; vertical-align: middle; }

.feature { height: min(77vw, 900px); min-height: 560px; position: relative; overflow: hidden; }
.feature img { width: 100%; height: 100%; object-fit: cover; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.48), transparent 45%); }
.feature p { position: absolute; z-index: 1; left: 7vw; bottom: 6vw; color: white; font-family: var(--serif); font-size: clamp(2rem, 4vw, 4.5rem); line-height: 1.08; margin: 0; }

.projects { background: var(--ink); color: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1fr 3fr; gap: 7vw; align-items: start; margin-bottom: 80px; }
.projects .section-label::after { background: rgba(255,255,255,.2); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.gallery-item { position: relative; grid-column: span 4; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden; cursor: zoom-in; background: #292924; color: white; text-align: left; }
.gallery-item.wide { grid-column: span 8; }
.gallery-item.portrait { aspect-ratio: 3 / 4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.035); filter: brightness(.8); }
.gallery-item span { position: absolute; left: 22px; bottom: 18px; z-index: 1; opacity: 0; transform: translateY(8px); transition: .3s; font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.gallery-item:hover span, .gallery-item:focus-visible span { opacity: 1; transform: none; }

.signature h2 { max-width: 1000px; margin: 65px 0 85px 25%; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principles article { padding: 34px 4vw 12px 0; border-right: 1px solid var(--line); }
.principles article + article { padding-left: 4vw; }
.principles article:last-child { border-right: 0; }
.principles span { color: var(--wood-dark); font-family: var(--serif); font-style: italic; }
.principles h3 { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; margin: 28px 0 12px; }
.principles p { color: var(--muted); max-width: 330px; margin: 0; }

.visit { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 760px; background: #d8d0c2; }
.visit-photo img { width: 100%; height: 100%; object-fit: cover; }
.visit-content { padding: 10vw 8vw; align-self: center; }
.visit .kicker { margin-top: 90px; }
.visit h2 { margin-bottom: 44px; }
address { font-style: normal; font-size: 1.05rem; color: #4d4b46; line-height: 1.8; }
.contact-links { display: grid; gap: 8px; margin-top: 30px; }
.contact-links a { display: flex; gap: 16px; width: fit-content; color: var(--ink); text-decoration: none; font-size: 1rem; }
.contact-links a span { min-width: 78px; color: var(--wood-dark); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact-links a:hover { color: var(--wood-dark); }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 48px; margin-top: 42px; padding: 18px 24px; min-width: 240px; background: var(--ink); color: white; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; transition: background .25s, color .25s; }
.button:hover { background: var(--wood-dark); }

footer { padding: 70px 7vw; background: var(--ink); color: white; display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 40px; }
footer img { width: 115px; }
footer p, footer a { margin: 0; color: rgba(255,255,255,.66); font-size: .83rem; text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 26px; }
.footer-links a:hover { color: white; }

.lightbox { width: min(94vw, 1500px); height: min(92vh, 1000px); padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(8,8,7,.92); backdrop-filter: blur(5px); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close { position: fixed; top: 22px; right: 28px; color: white; background: none; border: 0; font-size: 2.6rem; cursor: pointer; line-height: 1; }

@keyframes settle { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1.02); } }

@media (max-width: 820px) {
  .site-header { height: 92px; padding: 16px 22px; }
  .brand img { width: 62px; height: 62px; }
  .menu-button { display: grid; gap: 7px; width: 48px; height: 48px; place-content: center; border: 0; border-radius: 50%; background: rgba(0,0,0,.3); color: white; z-index: 2; }
  .menu-button span { display: block; width: 21px; height: 1px; background: currentColor; transition: .25s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  nav { position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; gap: 30px; opacity: 0; visibility: hidden; transition: .25s; }
  nav.open { opacity: 1; visibility: visible; }
  nav a { font-family: var(--serif); font-size: 2rem; }
  .hero { min-height: 760px; height: 100svh; }
  .hero-image { background-position: 60% center; }
  .hero-content { left: 24px; right: 24px; bottom: 13vh; }
  .eyebrow { margin-left: 0; }
  h1 { font-size: clamp(3.2rem, 14vw, 5.2rem); }
  .hero-number { right: -8px; bottom: -10px; }
  .section { padding: 90px 24px; }
  .story, .section-heading { grid-template-columns: 1fr; gap: 44px; }
  .story-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 38px; }
  .feature { height: 75vh; min-height: 520px; }
  .feature img { object-position: 62% center; }
  .feature p { left: 24px; right: 24px; bottom: 38px; }
  .section-heading { margin-bottom: 48px; }
  .gallery { grid-template-columns: 1fr; gap: 14px; }
  .gallery-item, .gallery-item.wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .gallery-item.portrait { aspect-ratio: 4 / 5; }
  .gallery-item span { opacity: 1; transform: none; text-shadow: 0 1px 10px #000; }
  .signature h2 { margin: 48px 0 62px; }
  .principles { grid-template-columns: 1fr; }
  .principles article, .principles article + article { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .visit { grid-template-columns: 1fr; }
  .visit-photo { height: 55vh; min-height: 420px; }
  .visit-content { padding: 80px 24px 90px; }
  .visit .kicker { margin-top: 55px; }
  footer { grid-template-columns: 1fr; align-items: start; padding: 60px 24px; }
  .footer-links { justify-content: flex-start; }
}

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