:root {
  --ink: #171715;
  --paper: #f0eee8;
  --muted: #77766f;
  --accent: #b75a3e;
  --line: rgba(23, 23, 21, .16);
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
.site-header { height: 76px; padding: 0 5.2vw; display: flex; align-items: center; justify-content: space-between; background: var(--paper); }
.wordmark { font: 700 22px "Manrope", sans-serif; letter-spacing: -.1em; }
.wordmark span { color: var(--accent); }
.site-header nav { display: flex; align-items: center; gap: clamp(24px, 4.2vw, 64px); font-size: 12px; letter-spacing: .04em; }
.site-header nav a { transition: color .2s ease; }
.site-header nav a:hover, .site-footer a:hover { color: var(--accent); }
.nav-cta { border: 1px solid var(--line); border-radius: 50px; padding: 10px 16px; }
.nav-cta span { margin-left: 10px; color: var(--accent); }
.hero { position: relative; min-height: min(760px, calc(100svh - 76px)); height: 690px; color: white; background: var(--ink); overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 46%; opacity: .84; }
.hero-shade { background: linear-gradient(90deg, rgba(12,12,11,.72) 0%, rgba(12,12,11,.2) 58%, rgba(12,12,11,.05) 100%), linear-gradient(0deg, rgba(12,12,11,.54), transparent 45%); }
.hero-content { position: relative; z-index: 1; height: 100%; padding: clamp(56px, 9vw, 132px) 9vw 54px; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { margin: 0; text-transform: uppercase; font-size: 10px; letter-spacing: .22em; font-weight: 600; }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 1px; vertical-align: middle; margin: 0 12px 3px 0; background: currentColor; opacity: .72; }
.hero h1, .intro h2, .closing h2 { font: 400 clamp(48px, 8.2vw, 114px)/.99 "Manrope", sans-serif; letter-spacing: -.075em; }
.hero h1 { margin: 45px 0 0; max-width: 900px; }
h1 em, h2 em { font-style: normal; color: #d6a38e; }
.hero-bottom { margin-top: auto; width: min(770px, 100%); display: flex; align-items: flex-end; justify-content: space-between; }
.hero-bottom p { margin: 0; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.82); }
.round-link { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; font-size: 20px; transition: background .2s, color .2s; }
.round-link:hover { background: white; color: var(--ink); }
.hero-index { position: absolute; z-index: 1; right: 5.2vw; top: 50%; writing-mode: vertical-rl; font-size: 9px; letter-spacing: .2em; color: rgba(255,255,255,.68); }
.intro { min-height: 390px; padding: 105px 12vw; display: grid; grid-template-columns: .85fr 2fr .4fr; gap: 3vw; align-items: start; }
.dark { color: var(--muted); }
.intro-copy h2 { margin: -12px 0 26px; font-size: clamp(38px, 5.2vw, 68px); }
.intro-copy h2 em { color: var(--accent); }
.intro-copy p { max-width: 440px; margin: 0; font-size: 14px; line-height: 1.8; color: #5f5e58; }
.intro-mark { justify-self: end; margin-top: 10px; color: #d0ccc2; font: 600 37px "Manrope", sans-serif; letter-spacing: -.1em; }
.portfolio { padding: 25px 5.2vw 125px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 30px; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.section-heading h2 { margin: 16px 0 0; font: 500 clamp(29px, 3.8vw, 48px)/1.1 "Manrope", sans-serif; letter-spacing: -.06em; }
.accent { color: var(--accent); }
.gallery-count { margin: 0 0 4px; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 13px; }
.gallery-item { display: block; position: relative; overflow: hidden; grid-column: span 3; aspect-ratio: .78; border: 0; padding: 0; background: #d6d1c8; cursor: zoom-in; }
.gallery-item:nth-child(7n+1), .gallery-item:nth-child(7n+5) { grid-column: span 6; aspect-ratio: 1.52; }
.gallery-item:nth-child(7n+3) { grid-column: span 3; aspect-ratio: .68; }
.gallery-item img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s; }
.gallery-item:hover img { transform: scale(1.035); filter: saturate(1.06); }
.gallery-item::after { content: "↗"; position: absolute; right: 13px; bottom: 13px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: rgba(240,238,232,.92); color: var(--ink); opacity: 0; transform: translateY(5px); transition: .25s; }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; transform: translateY(0); }
.closing { min-height: 530px; display: grid; grid-template-columns: 1.02fr 1fr; align-items: stretch; position: relative; overflow: hidden; background: #1b1b19; color: var(--paper); }
.closing-image-wrap { min-height: 530px; overflow: hidden; }
.closing-image-wrap img { width: 100%; height: 100%; min-height: 530px; object-fit: cover; display: block; opacity: .82; }
.closing-copy { padding: 100px 10vw 75px 8vw; align-self: center; position: relative; z-index: 1; }
.closing h2 { margin: 37px 0 50px; font-size: clamp(42px, 6.3vw, 78px); }
.closing h2 em { color: #d6a38e; }
.text-link { display: inline-flex; gap: 22px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid rgba(240,238,232,.48); font-size: 12px; }
.text-link span { color: #d6a38e; font-size: 16px; }
.closing-number { position: absolute; right: 4vw; bottom: 22px; color: rgba(240,238,232,.34); font-size: 10px; letter-spacing: .2em; }
.site-footer { min-height: 88px; padding: 20px 5.2vw; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); }
.footer-mark { color: var(--ink); }
.site-footer p { margin: 0; }
.lightbox { position: fixed; width: min(96vw, 1280px); height: min(94svh, 950px); max-width: none; max-height: none; padding: 52px 60px 35px; border: 0; background: rgba(18,18,17,.97); color: white; overflow: visible; }
.lightbox::backdrop { background: rgba(10,10,9,.88); backdrop-filter: blur(8px); }
.lightbox-image { display: block; width: 100%; height: calc(100% - 35px); object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; border: 0; color: white; background: transparent; cursor: pointer; }
.lightbox-close { right: 9px; top: 4px; font-size: 36px; }
.lightbox-prev, .lightbox-next { top: 50%; font-size: 52px; line-height: 1; transform: translateY(-50%); }
.lightbox-prev { left: 5px; }
.lightbox-next { right: 5px; }
.lightbox-caption { margin: 10px 0 0; text-align: center; color: rgba(255,255,255,.64); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 740px) {
  .site-header { height: 64px; padding: 0 6vw; }
  .site-header nav { gap: 17px; font-size: 10px; }
  .nav-cta { padding: 8px 11px; }
  .hero { height: calc(84svh - 64px); min-height: 570px; }
  .hero-content { padding: 76px 7vw 32px; }
  .hero h1 { margin-top: 38px; font-size: clamp(48px, 12vw, 76px); }
  .hero-index { right: 5vw; }
  .intro { min-height: auto; padding: 75px 7vw 85px; grid-template-columns: 1fr; gap: 28px; }
  .intro-copy h2 { font-size: 47px; }
  .intro-mark { display: none; }
  .portfolio { padding: 15px 5vw 85px; }
  .gallery { grid-template-columns: repeat(6, 1fr); gap: 8px; }
  .gallery-item { grid-column: span 3; aspect-ratio: .8; }
  .gallery-item:nth-child(7n+1), .gallery-item:nth-child(7n+5) { grid-column: span 6; aspect-ratio: 1.35; }
  .gallery-item:nth-child(7n+3) { grid-column: span 3; aspect-ratio: .72; }
  .closing { grid-template-columns: 1fr; }
  .closing-image-wrap, .closing-image-wrap img { min-height: 330px; height: 58vw; max-height: 470px; }
  .closing-copy { padding: 70px 8vw 85px; }
  .closing h2 { margin: 30px 0 36px; }
  .site-footer { padding: 20px 6vw; }
  .site-footer p { font-size: 10px; }
  .lightbox { padding: 48px 40px 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
