/* Captured Moments Photography
   ------------------------------------------------------------ */

/* ---------- design tokens ---------- */
:root {
  /* colour */
  --c-bg: #171512;            /* warm charcoal — main background */
  --c-surface: #24201B;       /* soft espresso — secondary surfaces */
  --c-ink: #F2EBDD;           /* warm ivory — headings, primary text */
  --c-text: #C8BFB1;          /* soft beige — paragraphs, captions, supporting text */
  --c-gold: #C4A46C;          /* champagne gold — actions, selected states, small details */
  --c-line: #484036;          /* muted brown — decorative dividers, subtle borders */
  --c-line-strong: #8A7F70;   /* beige-brown mix — boundaries of controls & form fields (>= 3:1) */
  --c-error: #EBAE9A;
  --c-bg-rgb: 23, 21, 18;
  --c-ink-rgb: 242, 235, 221;
  --c-gold-rgb: 196, 164, 108;

  /* type families & weights */
  --font-sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;

  /* type scale — desktop (>= 1280px) */
  --fs-logo: 20px;
  --fs-hero: clamp(76px, 6vw, 96px);            /* hero headline, closing headline */
  --fs-h2: clamp(44px, 3.3vw, 60px);            /* section headings */
  --fs-statement: clamp(30px, 2.5vw, 40px);     /* studio statement */
  --fs-title: clamp(22px, 1.55vw, 26px);        /* story titles, couple names */
  --fs-service: clamp(26px, 1.95vw, 32px);      /* service names */
  --fs-body: clamp(17px, 1.18vw, 18px);
  --fs-small: 15px;
  --fs-ui: 14px;                                /* navigation, buttons, filters */
  --fs-mono: 12px;                              /* numbers, counters, category labels */

  --lh-display: 1.03;
  --lh-heading: 1.1;
  --lh-body: 1.62;
  --ls-display: -.025em;
  --ls-heading: -.02em;
  --ls-title: -.012em;

  /* layout & motion */
  --pad: clamp(20px, 4.2vw, 72px);
  --content-max: 1440px;                         /* wide screens: content is centred at this width */
  --gutter: max(var(--pad), calc((100% - var(--content-max)) / 2));
  /* ---- shared background variables (combined explicitly per section further down; nothing is applied globally) ---- */
  --bg-charcoal: var(--c-bg);
  --bg-charcoal-lift: #1B1916;     /* stories — a touch lighter than the page */
  --bg-charcoal-deep: #100F0D;     /* footer — deeper, nearly solid */
  --bg-espresso: var(--c-surface);
  --bg-espresso-warm: #29221A;     /* reviews — slightly warmer espresso */
  /* fine monochrome film grain, ~1.5% */
  --tex-grain-fine: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='1.05' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .03 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  /* matte paper: softer, slightly fibrous grain, ~2% */
  --tex-grain-paper: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320'><filter id='p' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='.55 .7' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .042 0'/></filter><rect width='100%' height='100%' filter='url(%23p)'/></svg>");
  /* one broad diagonal band of light with a soft shadow beside it (hero only) */
  --light-band: linear-gradient(114deg, transparent 44%, rgba(var(--c-ink-rgb), .034) 55%, rgba(var(--c-ink-rgb), .034) 62%, rgba(0, 0, 0, .1) 66.5%, transparent 72%, rgba(var(--c-ink-rgb), .02) 79%, transparent 93%);
  /* very faint, diffuse illumination entering from the left edge (reviews only) */
  --light-edge: linear-gradient(98deg, rgba(var(--c-ink-rgb), .034), rgba(var(--c-ink-rgb), .012) 26%, transparent 52%);
  /* almost imperceptible edge vignette (stories only) */
  --vignette: radial-gradient(115% 95% at 50% 50%, transparent 58%, rgba(0, 0, 0, .15) 100%);
  --section-y: clamp(76px, 9.5vw, 150px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}
/* small laptops / landscape tablets — two-column hero, so the headline follows the column */
@media (max-width: 1279px) {
  :root {
    --fs-hero: clamp(52px, 6vw, 76px);
    --fs-h2: clamp(36px, 3.6vw, 44px);
    --fs-statement: clamp(26px, 2.9vw, 32px);
    --fs-service: clamp(24px, 2.3vw, 28px);
  }
}
@media (max-width: 900px) {
  :root {
    --fs-logo: 18px;
    --fs-hero: clamp(54px, 8.4vw, 72px);
    --fs-h2: 38px;
    --fs-statement: clamp(24px, 3.8vw, 30px);
    --fs-title: 22px;
    --fs-service: 23px;
    --fs-body: 16px;
  }
}
@media (max-width: 600px) {
  :root {
    --fs-hero: clamp(40px, 12.6vw, 54px);
    --fs-h2: clamp(30px, 8.4vw, 38px);
    --fs-statement: clamp(22px, 6.2vw, 26px);
    --fs-service: 22px;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-weight: var(--fw-regular);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { color: var(--c-ink); font-family: var(--font-sans); font-weight: var(--fw-medium); line-height: var(--lh-heading); }
p { text-wrap: pretty; }
b, strong { font-weight: var(--fw-medium); }
::selection { background: var(--c-gold); color: var(--c-bg); }
:focus-visible { outline: 2px solid var(--c-gold); outline-offset: 3px; }
.muted { color: var(--c-text); }

/* small editorial details — the only place the monospace is used */
.eyebrow, .section__label, .menu__links small, .hero__meta, .hero__scroll, .facts span,
.story__cap span, .story__cap p, .g-item figcaption span, .service__n, .process span, .contact__info dt, .lightbox figcaption {
  font-family: var(--font-mono); font-weight: var(--fw-regular); font-size: var(--fs-mono); line-height: 1.5;
  letter-spacing: .01em; text-transform: none; color: var(--c-text); font-variant-numeric: tabular-nums;
}

/* section furniture */
.section__label { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.section__label span { color: var(--c-gold); }
.section__label::after { content: ""; width: 40px; height: 1px; background: var(--c-line); }
.h2 { font-size: var(--fs-h2); letter-spacing: var(--ls-heading); line-height: 1.08; max-width: 17ch; text-wrap: balance; }
.section { padding: var(--section-y) var(--gutter); position: relative; }

/* word / line splitting */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.w > .wi { display: inline-block; will-change: transform; }
.js [data-split] .wi { transform: translateY(115%); }
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js .reveal-img { clip-path: inset(100% 0 0 0); }
.js .reveal-img img { transform: scale(1.22); }

/* ---------- section backgrounds ----------
   Each section states its own surface. Textured and quiet sections alternate so no treatment repeats back to back:
   hero (light + fine grain) · studio (paper grain) · stories (tone + vignette) · gallery (clean) ·
   services (fine grain) · reviews (warm + edge light) · contact (uniform) · footer (deep, solid).
   Everything is a static CSS background behind the content — nothing sits over photographs, text or controls. */
.hero     { position: relative; isolation: isolate; background: var(--tex-grain-fine) var(--bg-charcoal); }
.studio   { background: var(--tex-grain-paper) var(--bg-charcoal); }
.stories  { background: linear-gradient(180deg, var(--bg-charcoal), transparent 16%, transparent 84%, var(--bg-charcoal)), var(--vignette), var(--bg-charcoal-lift); }
.work     { background: var(--bg-charcoal); }
.services { background: var(--tex-grain-fine) var(--bg-charcoal); }
.reviews  { background: var(--light-edge), var(--tex-grain-fine), var(--bg-espresso-warm); }
.contact  { background: var(--bg-espresso); }
.footer   { background: var(--bg-charcoal-deep); }

/* hero light: kept beside the photograph — the headline side and the bottom edge are masked out */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--light-band);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 66%), linear-gradient(180deg, #000 68%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 40%, #000 66%), linear-gradient(180deg, #000 68%, transparent);
  mask-composite: intersect;
}

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; height: var(--h); padding: 0 26px;
  border: 1px solid transparent; border-radius: 999px; overflow: hidden; isolation: isolate; white-space: nowrap;
  font-family: var(--font-sans); font-size: var(--fs-ui); font-weight: var(--fw-medium); letter-spacing: 0; line-height: 1;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn span { position: relative; z-index: 2; }
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: 1; border-radius: inherit; transform: translateY(102%);
  transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
/* primary — gold */
.btn--gold { background: var(--c-gold); color: var(--c-bg); border-color: var(--c-gold); }
.btn--gold::before { background: var(--c-ink); }
.btn--gold:hover, .btn--gold:focus-visible { border-color: var(--c-ink); }
.btn--gold:focus-visible { outline-color: var(--c-ink); }
/* primary — ivory */
.btn--solid { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.btn--solid::before { background: var(--c-gold); }
.btn--solid:hover, .btn--solid:focus-visible { border-color: var(--c-gold); }
/* secondary — outlined */
.btn--line, .btn--ghost { color: var(--c-ink); border-color: var(--c-line-strong); }
.btn--line::before, .btn--ghost::before { background: var(--c-ink); }
.btn--line:hover, .btn--ghost:hover, .btn--line:focus-visible, .btn--ghost:focus-visible { color: var(--c-bg); border-color: var(--c-ink); }
.nav__cta { --h: 42px; padding: 0 20px; }

.link { font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--c-ink); border-bottom: 1px solid var(--c-line-strong); padding-bottom: 3px; transition: color .4s, border-color .4s; }
.link:hover, .link:focus-visible { color: var(--c-gold); border-color: var(--c-gold); }

/* hero stays hidden for the instant between first paint and the script setting the reveal's start states (no flash) */
.js:not(.is-ready) .hero__copy, .js:not(.is-ready) .hero__visual, .js:not(.is-ready) .hero__scroll, .js:not(.is-ready) .nav > * { visibility: hidden; }

/* cursor */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 120; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: rgba(var(--c-ink-rgb), .94); color: var(--c-bg); display: grid; place-items: center; pointer-events: none;
  font-size: 13px; font-weight: var(--fw-medium);
  transform: translate3d(-100px, -100px, 0) scale(0); opacity: 0;
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 20px var(--gutter); transition: transform .7s var(--ease), background .5s, padding .5s var(--ease), backdrop-filter .5s;
}
.nav.is-scrolled { background: rgba(var(--c-bg-rgb), .84); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); padding-top: 12px; padding-bottom: 12px; }
.nav.is-scrolled::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--c-line); }
.nav.is-hidden { transform: translateY(-105%); }
.nav__brand { font-size: var(--fs-logo); font-weight: var(--fw-semibold); letter-spacing: -.02em; word-spacing: -.04em; color: var(--c-ink); line-height: 1.1; white-space: nowrap; }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 36px); margin-left: auto; margin-right: clamp(8px, 1.6vw, 24px); }
.nav__links a { position: relative; font-size: var(--fs-ui); font-weight: var(--fw-medium); color: var(--c-text); padding: 8px 0; transition: color .4s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--c-ink); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav__links a:hover, .nav__links a:focus-visible { color: var(--c-ink); }
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 111; }
.nav__toggle span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--c-ink); transition: transform .6s var(--ease), top .6s var(--ease); }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--c-surface); display: flex; flex-direction: column; justify-content: space-between;
  padding: 112px var(--pad) 36px; clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .9s var(--ease-io), visibility 0s .9s;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px; font-size: clamp(32px, 9.4vw, 48px); line-height: 1.15; font-weight: var(--fw-medium); letter-spacing: var(--ls-heading); color: var(--c-ink);
  border-bottom: 1px solid var(--c-line); padding: 14px 0; opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), color .4s;
}
.menu__links a:hover, .menu__links a:focus-visible { color: var(--c-gold); }
.menu__links small { letter-spacing: .01em; }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(1) { transition-delay: .25s; } .menu.is-open .menu__links a:nth-child(2) { transition-delay: .31s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: .37s; } .menu.is-open .menu__links a:nth-child(4) { transition-delay: .43s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: .49s; }
.menu__foot { display: flex; justify-content: space-between; font-size: 16px; color: var(--c-text); }

/* ---------- hero ---------- */
.hero {
  --hero-img-w: clamp(440px, calc((100svh - 200px) * .8), 620px);   /* photo follows the viewport height so the spread fits one screen */
  position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: clamp(32px, 4vw, 72px); padding: 112px var(--gutter) 84px;
}
.hero__copy, .hero__visual { position: relative; z-index: 1; }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(20px, 2.2vw, 30px); }
.dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--c-gold); animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--c-gold-rgb), .45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(var(--c-gold-rgb), 0); } }
.hero__title { font-size: var(--fs-hero); font-weight: var(--fw-semibold); line-height: var(--lh-display); letter-spacing: var(--ls-display); margin-left: -.04em; }
@supports (font-size: 1cqi) {
  @media (min-width: 901px) {
    .hero__copy { container-type: inline-size; }
    .hero__title { font-size: clamp(52px, 13.2cqi, 104px); }
  }
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero__title .line > span { display: block; will-change: transform; white-space: nowrap; }
.hero__title .is-gold { color: var(--c-gold); }
.hero__sub { max-width: 40ch; margin-top: clamp(22px, 2.4vw, 34px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 2.6vw, 38px); }
.hero__rating { display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(24px, 2.4vw, 34px); font-size: var(--fs-small); color: var(--c-text); transition: color .4s; }
.hero__rating:hover, .hero__rating:focus-visible { color: var(--c-ink); }
.hero__rating b { color: var(--c-ink); }
.stars { color: var(--c-gold); letter-spacing: .16em; font-size: 12px; }

.hero__visual { justify-self: end; width: min(var(--hero-img-w), 42vw); }
.hero__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--c-surface); }
.hero__slides, .hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__slides img { object-fit: cover; opacity: 0; will-change: transform, opacity; }
.hero__slides img.is-active { opacity: 1; }
.hero__meta { position: absolute; z-index: 2; left: 36%; right: 0; top: calc(100% + 14px); display: flex; align-items: center; gap: 14px; color: var(--c-text); }
.hero__count b { color: var(--c-ink); font-weight: var(--fw-regular); }
.hero__progress { flex: 1; height: 1px; background: rgba(var(--c-ink-rgb), .3); overflow: hidden; }
.hero__progress i { display: block; height: 100%; background: var(--c-ink); transform: scaleX(0); transform-origin: left; }
.hero__detail { position: absolute; left: -18%; bottom: -9%; width: 38%; aspect-ratio: 4 / 5; overflow: hidden; border: 6px solid var(--c-bg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.hero__detail img { width: 100%; height: 100%; object-fit: cover; }
.hero__scroll { position: absolute; z-index: 1; left: var(--gutter); bottom: 26px; display: flex; align-items: center; gap: 12px; }
.hero__scroll i { width: 56px; height: 1px; background: var(--c-line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--c-gold); transform: translateX(-100%); animation: scrollhint 2.6s var(--ease-io) infinite; }
@keyframes scrollhint { 0% { transform: translateX(-100%); } 55% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--c-line); overflow: hidden; padding: clamp(16px, 1.8vw, 24px) 0; }
.marquee__track { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); width: max-content; will-change: transform; animation: marquee 48s linear infinite; }
.marquee span { font-weight: var(--fw-medium); font-size: clamp(24px, 2.8vw, 42px); letter-spacing: var(--ls-heading); line-height: 1.1; white-space: nowrap; color: var(--c-ink); }
.marquee span.o { color: var(--c-line-strong); }
.marquee i { font-family: var(--font-mono); font-style: normal; font-size: clamp(14px, 1.4vw, 20px); color: var(--c-line); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- studio ---------- */
.studio__statement {
  font-weight: var(--fw-medium); font-size: var(--fs-statement); line-height: 1.24; letter-spacing: var(--ls-title);
  color: var(--c-ink); max-width: 31ch; margin-left: clamp(0px, 15vw, 280px);
}
.studio__statement .w { overflow: visible; }
.js .studio__statement .wi { opacity: .18; }
.studio__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 40px); margin-top: clamp(56px, 7vw, 110px); align-items: start; }
.studio__img { overflow: hidden; border-radius: 2px; }
.studio__img img { width: 100%; height: 100%; object-fit: cover; }
.studio__img--a { grid-column: 1 / span 5; aspect-ratio: 4 / 5; }
.studio__text { grid-column: 7 / span 6; padding-top: clamp(0px, 3vw, 48px); display: grid; gap: 20px; max-width: 56ch; }
.studio__img--b { grid-column: 9 / span 3; aspect-ratio: 2 / 3; margin-top: clamp(-40px, -3vw, -10px); }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(20px, 3vw, 48px); justify-content: start; align-items: end; margin-top: clamp(14px, 1.6vw, 24px); padding-top: clamp(22px, 2.6vw, 34px); border-top: 1px solid var(--c-line); }
.facts b { display: block; font-weight: var(--fw-medium); font-size: clamp(34px, 3.3vw, 52px); letter-spacing: -.03em; line-height: 1; color: var(--c-ink); }
.facts .facts__txt { font-size: clamp(22px, 2vw, 30px); letter-spacing: var(--ls-heading); line-height: 1.25; white-space: nowrap; }
.facts span { display: block; margin-top: 10px; }

/* ---------- stories ---------- */
.stories { position: relative; padding: clamp(72px, 8vw, 120px) 0 clamp(56px, 6vw, 96px); border-top: 1px solid var(--c-line); overflow: hidden; }
.stories__head { padding: 0 var(--gutter); margin-bottom: clamp(32px, 4vw, 56px); }
.stories__viewport { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.stories__viewport::-webkit-scrollbar { display: none; }
.stories.is-pinned .stories__viewport { overflow: visible; }
.stories.is-pinned { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 88px 0 32px; }
.stories.is-pinned .stories__head { margin-bottom: 26px; }
.stories.is-pinned .stories__head .section__label { margin-bottom: 14px; }
.stories.is-pinned .stories__head .h2 { max-width: none; font-size: min(var(--fs-h2), 52px); }
.stories.is-pinned .story { --sh: clamp(260px, calc(100vh - 420px), 660px); }
.stories.is-pinned .story--low { margin-top: 40px; }
.stories.is-pinned .stories__bar { margin-top: 26px; }
.stories__track { display: flex; align-items: flex-start; gap: clamp(18px, 2.6vw, 44px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.story { --sh: min(58vh, 560px); flex: none; cursor: pointer; }
.story--low { margin-top: clamp(24px, 6vh, 64px); }
.story__img { height: var(--sh); overflow: hidden; border-radius: 2px; background: var(--c-surface); }
.story__img img { height: 100%; width: auto; max-width: none; transition: transform 1.4s var(--ease); }
.story:hover .story__img img { transform: scale(1.035); }
.story__cap { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 12px; padding-top: 14px; }
.story__cap h3 { font-size: var(--fs-title); letter-spacing: var(--ls-title); line-height: 1.2; }
.story--end { height: var(--sh); aspect-ratio: 3 / 4; border: 1px solid var(--c-line-strong); border-radius: 2px; color: var(--c-ink); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(20px, 2.2vw, 34px); transition: background .6s var(--ease), border-color .6s; }
.story--end:hover, .story--end:focus-visible { background: var(--c-surface); border-color: var(--c-ink); }
.story__endtxt { font-weight: var(--fw-medium); font-size: clamp(26px, 2.3vw, 36px); letter-spacing: var(--ls-heading); line-height: var(--lh-heading); }
.story__arrow { align-self: flex-end; font-size: 24px; transition: transform .6s var(--ease); }
.story--end:hover .story__arrow { transform: translateX(8px); }
.stories__bar { margin: clamp(30px, 3.4vw, 48px) var(--gutter) 0; height: 1px; background: var(--c-line); }
.stories__bar i { display: block; height: 100%; width: 100%; background: var(--c-gold); transform: scaleX(0); transform-origin: left; }

/* ---------- work / gallery ---------- */
.work__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--c-line-strong);
  font-size: var(--fs-ui); font-weight: var(--fw-medium); line-height: 1;
  color: var(--c-text); transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.filters button:hover { border-color: var(--c-ink); color: var(--c-ink); }
.filters button.is-active { background: var(--c-gold); color: var(--c-bg); border-color: var(--c-gold); }
.gallery { columns: 3; column-gap: clamp(12px, 1.4vw, 22px); }
.g-item { position: relative; display: block; width: 100%; margin: 0 0 clamp(12px, 1.4vw, 22px); break-inside: avoid; overflow: hidden; border-radius: 2px; background: var(--c-surface); cursor: pointer; }
.js .g-item { opacity: 0; transform: translateY(40px); }
.g-item img { width: 100%; height: auto; transition: transform 1.6s var(--ease); }
.g-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(180deg, transparent, rgba(var(--c-bg-rgb), .82)); opacity: 0; transition: opacity .7s var(--ease); }
.g-item figcaption { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.g-item figcaption b { font-weight: var(--fw-medium); font-size: 17px; letter-spacing: var(--ls-title); line-height: 1.25; color: var(--c-ink); }
.g-item figcaption span { flex: none; font-size: 11px; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.045); }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-item:hover figcaption, .g-item:focus-visible figcaption { opacity: 1; transform: none; }
.g-item:focus-visible { outline-offset: 2px; }

/* ---------- quote band ---------- */
.band { position: relative; height: clamp(420px, 80vh, 800px); overflow: hidden; display: grid; place-items: center; }
.band__img { position: absolute; inset: -14% 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.band__shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--c-bg) 0%, rgba(var(--c-bg-rgb), .28) 24%, rgba(var(--c-bg-rgb), .36) 70%, var(--c-bg) 100%); }
.band__quote { position: relative; z-index: 2; max-width: 15ch; font-weight: var(--fw-semibold); font-size: var(--fs-hero); line-height: var(--lh-display); letter-spacing: var(--ls-display); color: var(--c-ink); text-align: center; text-wrap: balance; padding: 0 var(--pad); box-sizing: content-box; text-shadow: 0 2px 40px rgba(0, 0, 0, .5); }

/* ---------- services ---------- */
.services__head { margin-bottom: clamp(32px, 4vw, 56px); }
.services__head .h2 { max-width: 19ch; }
.services__list { border-top: 1px solid var(--c-line); }
.service {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; column-gap: clamp(20px, 2.6vw, 48px);
  padding: clamp(14px, 1.4vw, 22px) 0; border-bottom: 1px solid var(--c-line);
}
.service::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--c-ink); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.service h3 { font-size: var(--fs-service); letter-spacing: var(--ls-heading); line-height: 1.15; text-wrap: balance; transition: transform .7s var(--ease), opacity .5s; }
.service p { max-width: 40ch; transition: opacity .5s; }
.service__thumb { display: block; justify-self: end; width: clamp(92px, 7.2vw, 128px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--c-surface); transition: opacity .6s var(--ease); }
.service__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
@media (hover: hover) {
  .services__list:hover .service:not(:hover) h3 { opacity: .5; }
  .services__list:hover .service:not(:hover) p { opacity: .7; }
  .services__list:hover .service:not(:hover) .service__thumb { opacity: .45; }
  .service:hover h3 { transform: translateX(12px); }
  .service:hover::before { transform: scaleX(1); }
  .service:hover .service__thumb img { transform: scale(1.08); }
}

.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(56px, 7vw, 110px); }
.process li { border-top: 1px solid var(--c-line); padding-top: 18px; }
.process h4 { font-size: clamp(20px, 1.5vw, 22px); letter-spacing: var(--ls-title); margin: 14px 0 8px; }
.process p { max-width: 34ch; }

/* ---------- reviews ---------- */
.reviews__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 110px); align-items: center; }
.reviews__num { font-weight: var(--fw-semibold); font-size: clamp(104px, 14.5vw, 240px); line-height: .86; letter-spacing: -.045em; margin-left: -.05em; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.reviews__stars { display: flex; gap: 8px; margin-top: 24px; color: var(--c-gold); font-size: clamp(18px, 1.6vw, 24px); line-height: 1; }
.js .reviews__stars span { opacity: 0; transform: translateY(10px) scale(.6); }
.reviews__score p { margin-top: 14px; }
.reviews__score p b { color: var(--c-ink); }
.reviews__copy { display: grid; gap: 24px; }
.reviews__copy .h2 { max-width: 16ch; }
.reviews__copy p { max-width: 54ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--c-line-strong); border-radius: 999px; padding: 6px 16px; font-size: var(--fs-small); line-height: 1.5; color: var(--c-ink); }
.reviews__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 6px; }

/* ---------- contact ---------- */
.contact { border-top: 1px solid var(--c-line); }
.contact__title { font-size: var(--fs-hero); font-weight: var(--fw-semibold); line-height: var(--lh-display); letter-spacing: var(--ls-display); margin-left: -.04em; max-width: 12ch; text-wrap: balance; margin-bottom: clamp(40px, 5vw, 76px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 130px); align-items: start; }
.contact__info dl { display: grid; gap: 28px; }
.contact__info dt { margin-bottom: 8px; }
.contact__info dd { color: var(--c-ink); font-size: max(16px, var(--fs-body)); }
.contact__info dd .muted { color: var(--c-text); }
.contact__info .big { font-size: clamp(26px, 2.2vw, 34px); font-weight: var(--fw-medium); letter-spacing: var(--ls-heading); line-height: 1.2; color: var(--c-ink); background: linear-gradient(var(--c-gold), var(--c-gold)) 0 100% / 0 1px no-repeat; padding-bottom: 4px; transition: background-size .8s var(--ease); font-variant-numeric: tabular-nums; }
.contact__info .big:hover, .contact__info .big:focus-visible { background-size: 100% 1px; }
.contact__links { margin-top: 32px; }
.contact__map { margin-top: 32px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; border: 1px solid var(--c-line); background: var(--c-bg); }
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.88) brightness(.98) sepia(.22); }

.form { display: grid; gap: 26px; padding: clamp(24px, 3vw, 48px); border: 1px solid var(--c-line); border-radius: 3px; background: transparent; }
.form__intro { color: var(--c-text); max-width: 44ch; }
.field { position: relative; display: block; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--c-line-strong); padding: 24px 0 10px; color: var(--c-ink);
  font-family: var(--font-sans); font-weight: var(--fw-regular); font-size: max(16px, var(--fs-body)); line-height: 1.5; border-radius: 0; outline: none; resize: vertical;
  transition: border-color .4s, box-shadow .4s; appearance: none; -webkit-appearance: none;
}
.field select { cursor: pointer; padding-right: 28px; }
.field select option { background: var(--c-surface); color: var(--c-ink); }
.field span { position: absolute; left: 0; top: 23px; font-weight: var(--fw-medium); font-size: max(16px, var(--fs-body)); line-height: 1.5; color: var(--c-text); pointer-events: none; transform-origin: left top; transition: transform .5s var(--ease), color .5s; }
.field:hover input, .field:hover textarea, .field:hover select { border-color: var(--c-ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--c-gold); box-shadow: 0 1px 0 0 var(--c-gold); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field select:focus + span, .field select:valid + span { transform: translateY(-23px) scale(.8); color: var(--c-gold); }
.field--select::after { content: "↓"; position: absolute; right: 2px; top: 23px; color: var(--c-text); pointer-events: none; }
.form__error { color: var(--c-error); font-size: var(--fs-small); }
.form__submit { justify-self: start; }
.form__alt { font-size: var(--fs-small); color: var(--c-text); }
.form__alt a { color: var(--c-ink); border-bottom: 1px solid var(--c-line-strong); transition: color .4s, border-color .4s; }
.form__alt a:hover, .form__alt a:focus-visible { color: var(--c-gold); border-color: var(--c-gold); }

/* ---------- footer ---------- */
.footer { padding: clamp(44px, 5.5vw, 84px) var(--gutter) 28px; border-top: 1px solid var(--c-line); overflow: hidden; }
.footer__mark { font-weight: var(--fw-semibold); font-size: clamp(30px, 10.6vw, 176px); line-height: 1; letter-spacing: -.04em; word-spacing: -.04em; margin-left: -.05em; color: var(--c-ink); white-space: nowrap; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(28px, 4vw, 56px); padding-top: 20px; border-top: 1px solid var(--c-line); font-size: var(--fs-small); color: var(--c-text); }
.footer__row nav { display: flex; gap: 24px; }
.footer__credit { margin-top: 18px; font-family: var(--font-mono); font-size: var(--fs-mono); line-height: 1.5; letter-spacing: .01em; color: var(--c-text); }
.footer__credit span { color: var(--c-ink); }
.footer__row a { transition: color .4s; } .footer__row a:hover, .footer__row a:focus-visible { color: var(--c-ink); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; grid-template-columns: 90px 1fr 90px; align-items: center; background: rgba(var(--c-bg-rgb), .97); opacity: 0; visibility: hidden; }
.lightbox.is-open { visibility: visible; }
.lightbox__fig { grid-column: 2; grid-row: 1; display: grid; justify-items: center; gap: 14px; min-width: 0; }
.lightbox__fig img { max-width: 100%; max-height: 82svh; width: auto; height: auto; object-fit: contain; border-radius: 2px; box-shadow: 0 50px 120px -40px #000; }
.lightbox figcaption { display: flex; gap: 18px; align-items: baseline; }
.lightbox__title { font-family: var(--font-sans); font-weight: var(--fw-medium); font-size: 17px; letter-spacing: var(--ls-title); color: var(--c-ink); }
.lightbox__nav { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--c-line-strong); color: var(--c-ink); justify-self: center; font-size: 18px; transition: background .5s var(--ease), color .5s, border-color .5s; }
.lightbox__nav:hover { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.lightbox__nav--prev { grid-column: 1; grid-row: 1; } .lightbox__nav--next { grid-column: 3; grid-row: 1; }
.lightbox__close { position: absolute; top: 20px; right: var(--pad); z-index: 3; font-size: var(--fs-ui); font-weight: var(--fw-medium); padding: 10px 0 6px; color: var(--c-ink); border-bottom: 1px solid var(--c-line-strong); transition: color .4s, border-color .4s; }
.lightbox__close:hover { color: var(--c-gold); border-color: var(--c-gold); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .hero__detail { left: -8%; }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 100px; padding-bottom: 72px; gap: 48px; }
  .hero::before {
    -webkit-mask-image: linear-gradient(180deg, transparent 42%, #000 62%, #000 80%, transparent); -webkit-mask-composite: source-over;
    mask-image: linear-gradient(180deg, transparent 42%, #000 62%, #000 80%, transparent); mask-composite: add;
  }
  .hero__visual { justify-self: center; width: min(86%, 460px); margin-left: 8%; }
  .hero__detail { left: -14%; bottom: -7%; }
  .hero__scroll { display: none; }
  .studio__statement { margin-left: 0; }
  .studio__img--a { grid-column: 1 / span 7; }
  .studio__img--b { grid-column: 9 / span 4; margin-top: 30%; grid-row: 1; }
  .studio__text { grid-column: 1 / -1; padding-top: 10px; }
  .gallery { columns: 2; }
  .g-item figcaption { left: 12px; right: 12px; bottom: 10px; flex-direction: column; align-items: flex-start; gap: 2px; }
  .g-item figcaption b { font-size: 15px; }
  .service { grid-template-columns: 28px minmax(0, 1fr) 64px; column-gap: 12px; row-gap: 6px; align-items: start; padding: 18px 0; }
  .service__n { padding-top: .5em; }
  .service p { grid-column: 2; grid-row: 2; }
  .service__thumb { grid-column: 3; grid-row: 1 / span 2; width: 64px; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reviews__grid, .contact__grid { grid-template-columns: 1fr; }
  .lightbox { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding: 70px 16px 24px; row-gap: 18px; }
  .lightbox__fig { grid-column: 1 / -1; grid-row: 1; }
  .lightbox__nav--prev { grid-column: 1; grid-row: 2; justify-self: end; margin-right: 10px; }
  .lightbox__nav--next { grid-column: 2; grid-row: 2; justify-self: start; margin-left: 10px; }
  .lightbox__fig img { max-height: 70svh; }
  .lightbox figcaption { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
  .story { --sh: min(52vh, 420px); }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:last-child { grid-column: 1 / -1; }
  .process { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 auto; }
  .filters button { padding: 0 15px; }
  .footer__row { flex-direction: column; align-items: flex-start; }
  .story { --sh: 46vh; }
  .story--low { margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track, .dot, .hero__scroll i::after { animation: none !important; }
  * { transition-duration: .01ms !important; }
}
