:root {
  --bg: #0a0a0a;
  --panel: #111111;
  --text: #f1f0eb;
  --muted: #aaa8a1;
  --line: rgba(255,255,255,.16);
  --accent: #b63c32;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 18px clamp(20px, 4vw, 64px);
  background: linear-gradient(to bottom, rgba(0,0,0,.78), transparent);
  transition: background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; flex-direction: column; gap: 1px; }
.brand-main { font-weight: 600; font-size: 19px; letter-spacing: .24em; }
.brand-sub { color: rgba(255,255,255,.66); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; gap: clamp(22px, 3vw, 46px); font-size: 13px; letter-spacing: .09em; text-transform: uppercase; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: currentColor; transition: right .25s ease; }
.main-nav a:hover::after { right: 0; }
.menu-button { display: none; border: 0; padding: 8px 0; background: transparent; color: var(--text); }
.menu-button span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 6px 0; background: currentColor; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.83) 0%, rgba(0,0,0,.38) 52%, rgba(0,0,0,.12) 100%), linear-gradient(to top, rgba(0,0,0,.45), transparent 58%); }
.hero-content { position: relative; z-index: 2; max-width: 880px; padding: 150px clamp(24px, 7vw, 108px) clamp(70px, 10vh, 120px); }
.eyebrow { margin: 0 0 22px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.hero h1, .section-heading h2, .story-copy h2, .about-copy h2, .contact-section h2 { font-family: var(--serif); font-weight: 500; line-height: .96; letter-spacing: -.035em; }
.hero h1 { margin: 0; font-size: clamp(58px, 9vw, 132px); }
.hero-copy { max-width: 600px; margin: 28px 0 32px; color: rgba(255,255,255,.76); font-size: clamp(15px, 1.5vw, 19px); }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,.58); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.text-link:hover { border-color: var(--text); }
.hero-index { position: absolute; right: clamp(24px, 4vw, 64px); bottom: 34px; z-index: 2; color: rgba(255,255,255,.62); font-size: 11px; letter-spacing: .16em; }

.section { padding: clamp(90px, 12vw, 180px) clamp(20px, 5vw, 78px); }
.work-section { background: var(--bg); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 70px; }
.section-heading h2 { max-width: 760px; margin: 0; font-size: clamp(44px, 7vw, 88px); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 42px; border-bottom: 1px solid var(--line); }
.filter-button { position: relative; border: 0; padding: 0 0 15px; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.filter-button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 1px; background: var(--text); transition: right .25s ease; }
.filter-button.active { color: var(--text); }
.filter-button.active::after, .filter-button:hover::after { right: 0; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.8vw, 28px); }
.gallery-item { grid-column: span 4; cursor: zoom-in; margin: 0 0 clamp(16px, 3vw, 42px); opacity: 1; transform: translateY(0); transition: opacity .35s ease, transform .35s ease; }
.gallery-item.wide { grid-column: span 8; }
.gallery-item.tall { grid-column: span 4; }
.gallery-item.hidden { display: none; }
.gallery-image-wrap { position: relative; overflow: hidden; background: var(--panel); }
.gallery-item.standard .gallery-image-wrap { aspect-ratio: 4 / 5; }
.gallery-item.wide .gallery-image-wrap { aspect-ratio: 16 / 10; }
.gallery-item.tall .gallery-image-wrap { aspect-ratio: 3 / 4; }
.gallery-image { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .45s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover .gallery-image { filter: grayscale(30%); transform: scale(1.025); }
.gallery-overlay { position: absolute; inset: auto 0 0; padding: 52px 18px 16px; background: linear-gradient(transparent, rgba(0,0,0,.72)); opacity: 0; transition: opacity .3s ease; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.gallery-caption { display: flex; justify-content: space-between; gap: 18px; padding-top: 13px; color: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.gallery-caption strong { color: var(--text); font-weight: 500; }

.stories-section { padding-top: 30px; }
.story-feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: clamp(40px, 8vw, 140px); align-items: center; }
.story-photo-wrap { position: relative; }
.story-photo-wrap img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(100%); }
.photo-number { position: absolute; left: -20px; bottom: -36px; font-family: var(--serif); font-size: clamp(70px, 11vw, 170px); line-height: 1; color: rgba(255,255,255,.08); }
.story-copy h2 { margin: 0 0 28px; font-size: clamp(48px, 6vw, 84px); }
.story-copy p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: 17px; }
.story-copy .text-link { margin-top: 18px; }
.quote-block { max-width: 1050px; margin: clamp(110px, 14vw, 210px) auto 0; text-align: center; }
.quote-block blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(36px, 5.6vw, 72px); line-height: 1.12; letter-spacing: -.025em; }

.about-section { display: grid; grid-template-columns: .55fr 1.5fr .7fr; gap: clamp(36px, 6vw, 100px); align-items: start; border-top: 1px solid var(--line); }
.vertical-note { margin-top: 70px; color: rgba(255,255,255,.35); font-size: 10px; letter-spacing: .18em; writing-mode: vertical-rl; }
.about-copy h2 { margin: 0 0 20px; font-size: clamp(50px, 7vw, 90px); }
.about-copy .lead { color: var(--text); font-family: var(--serif); font-size: clamp(23px, 2.5vw, 34px); line-height: 1.25; }
.about-copy p { max-width: 740px; color: var(--muted); }
.about-facts { border-top: 1px solid var(--line); }
.about-facts div { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.about-facts span { color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.about-facts strong { font-weight: 500; }

.contact-section { padding: clamp(100px, 15vw, 220px) clamp(24px, 7vw, 108px); text-align: center; background: #efeee9; color: #111; }
.contact-section .eyebrow { color: #6e6b65; }
.contact-section h2 { margin: 0; font-size: clamp(56px, 9vw, 132px); }
.contact-section h2 em { font-weight: 500; }
.contact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px 46px; margin-top: 50px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.contact-links a { border-bottom: 1px solid currentColor; }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 24px clamp(20px, 4vw, 64px); color: var(--muted); border-top: 1px solid var(--line); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; border: 0; padding: 0; background: rgba(0,0,0,.96); color: var(--text); }
.lightbox::backdrop { background: rgba(0,0,0,.96); }
.lightbox[open] { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; }
.lightbox figure { display: grid; place-items: center; margin: 0; height: 100%; padding: 50px 20px 24px; }
.lightbox img { max-width: min(86vw, 1500px); max-height: 82vh; object-fit: contain; }
.lightbox figcaption { display: flex; justify-content: space-between; width: min(86vw, 1500px); margin-top: 14px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.lightbox button { border: 0; background: transparent; color: var(--text); cursor: pointer; }
.lightbox-close { position: fixed; top: 18px; right: 24px; z-index: 3; font-size: 34px; font-weight: 200; }
.lightbox-nav { height: 100%; font-size: 26px; }

@media (max-width: 900px) {
  .menu-button { display: block; z-index: 22; }
  .main-nav { position: fixed; inset: 0; z-index: 21; display: none; flex-direction: column; justify-content: center; align-items: center; gap: 30px; background: rgba(10,10,10,.98); font-family: var(--serif); font-size: 34px; text-transform: none; }
  .main-nav.open { display: flex; }
  .gallery-item, .gallery-item.tall { grid-column: span 6; }
  .gallery-item.wide { grid-column: span 12; }
  .story-feature { grid-template-columns: 1fr; }
  .story-copy { max-width: 680px; }
  .about-section { grid-template-columns: 1fr 2fr; }
  .about-facts { grid-column: 2; }
}

@media (max-width: 620px) {
  .site-header { min-height: 72px; }
  .brand-sub { display: none; }
  .hero-content { padding-left: 22px; padding-right: 22px; }
  .hero-copy { max-width: 92%; }
  .section { padding-left: 18px; padding-right: 18px; }
  .section-heading { display: block; margin-bottom: 44px; }
  .gallery { gap: 12px; }
  .gallery-item, .gallery-item.tall, .gallery-item.wide { grid-column: span 12; margin-bottom: 24px; }
  .gallery-item.standard .gallery-image-wrap, .gallery-item.tall .gallery-image-wrap { aspect-ratio: 4 / 5; }
  .gallery-overlay { opacity: 1; }
  .story-photo-wrap img { aspect-ratio: 4 / 5; }
  .about-section { grid-template-columns: 1fr; }
  .about-label, .about-copy, .about-facts { grid-column: 1; }
  .vertical-note { display: none; }
  .contact-links { flex-direction: column; }
  .site-footer { flex-direction: column; }
  .lightbox[open] { grid-template-columns: 44px 1fr 44px; }
  .lightbox figure { padding-inline: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
