/* ============================================================
   REDA.PHOTO — Conference & Corporate Event Photography
   Single visual world: house lights down. Committed dark theme.
   ============================================================ */

:root{
  /* ground */
  --ink:      #07080A;   /* base, blue-black */
  --ink-2:    #0D1014;   /* raised surface */
  --haze:     #161A20;   /* gradient midpoint */
  --ember:    #5E1E19;   /* deep auditorium red, wash only */
  /* type */
  --bone:     #F1EEE8;   /* primary text, warm off-white */
  --mute:     #9AA1A9;   /* secondary */
  --faint:    #5D646C;   /* tertiary / rules */
  /* accent: tungsten stage light */
  --tungsten: #D99B4E;
  --tungsten-soft: rgba(217,155,78,.14);

  --rule: rgba(241,238,232,.13);
  --rule-soft: rgba(241,238,232,.07);

  --serif: 'Libre Caslon Display', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --serif-it: 'Libre Caslon Text', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --fs-hero: clamp(2.5rem, 7.6vw, 6.4rem);
  --fs-statement: clamp(1.95rem, 5.4vw, 4.3rem);
  --fs-mid: clamp(1.5rem, 3.4vw, 2.6rem);
  --fs-h3: clamp(1.15rem, 1.1vw + .9rem, 1.7rem);
  --fs-body: clamp(1rem, .5vw + .88rem, 1.16rem);
  --fs-small: .93rem;
  --fs-label: .7rem;

  --gut: clamp(20px, 5vw, 76px);
  --sec: clamp(6rem, 15vh, 11rem);
  --maxw: 1440px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 350;
  line-height: 1.62;
  letter-spacing: .004em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;            /* clip, not hidden — hidden would break position:sticky */
}
html{ overflow-x: clip; }

img{ max-width: 100%; display: block; }
a{ color: inherit; }

/* continuous field behind everything — kills the section seam */
.field{
  position: fixed; inset: -10vh 0 -10vh 0;
  z-index: -2; pointer-events: none;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(94,30,25,.42) 0%, rgba(94,30,25,0) 62%),
    radial-gradient(90% 46% at 88% 34%, rgba(217,155,78,.075) 0%, rgba(217,155,78,0) 70%),
    linear-gradient(180deg, #0A0C0F 0%, var(--ink) 22%, #0A0D11 48%, var(--ink) 74%, #090B0E 100%);
  transform: translate3d(0, calc(var(--field, 0) * -4vh), 0);
}
.grain{
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: .22; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
}

/* ---------- shell ---------- */
.wrap{ width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.narrow{ max-width: 62ch; }
section{ position: relative; }
.sec{ padding-block: var(--sec); }
.sec-tight{ padding-block: clamp(4rem, 9vh, 7rem); }

/* ---------- type ---------- */
.label{
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0;
}
.label-accent{ color: var(--tungsten); }

h1,h2,h3,h4{ margin: 0; font-weight: 400; text-wrap: balance; }

.display{
  font-family: var(--serif);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.hero-h1{ font-size: var(--fs-hero); }
.statement{ font-family: var(--serif); font-size: var(--fs-statement); line-height: 1.03; text-transform: uppercase; letter-spacing: -.004em; }
.mid{ font-family: var(--serif); font-size: var(--fs-mid); line-height: 1.12; }
.h3{ font-family: var(--sans); font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.01em; line-height: 1.22; }

.lede{ font-size: clamp(1.06rem, .6vw + .92rem, 1.3rem); color: var(--bone); line-height: 1.55; max-width: 46ch; }
.sub{ color: var(--mute); max-width: 52ch; }
.sub-sm{ color: var(--mute); font-size: var(--fs-small); line-height: 1.55; }
em.it{
  font-family: var(--serif-it); font-style: italic; font-weight: 400;
  text-transform: none; letter-spacing: -.01em;
}

.stack{ display: flex; flex-direction: column; }
.g-1{ gap: .6rem } .g-2{ gap: 1.1rem } .g-3{ gap: 1.9rem } .g-4{ gap: 3rem } .g-5{ gap: clamp(3.5rem,7vw,6rem) }

/* ---------- buttons ---------- */
.btns{ display: flex; flex-wrap: wrap; gap: .8rem 1rem; }
.btn{
  --bg: transparent; --fg: var(--bone); --bd: var(--rule);
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--sans); font-size: .76rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: var(--fg); background: var(--bg);
  border: 1px solid var(--bd); border-radius: 999px;
  padding: 1.05em 1.9em; cursor: pointer;
  transition: background .5s var(--ease), color .5s var(--ease),
              border-color .5s var(--ease), transform .5s var(--ease);
}
.btn .arw{ transition: transform .5s var(--ease-out); }
.btn:hover{ transform: translateY(-2px); }
.btn:hover .arw{ transform: translateX(4px); }
.btn-solid{ --bg: var(--bone); --fg: #0A0C0F; --bd: var(--bone); }
.btn-solid:hover{ --bg: var(--tungsten); --bd: var(--tungsten); --fg: #14100A; }
.btn-ghost:hover{ --bd: var(--tungsten); --fg: var(--tungsten); }

.tlink{
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--tungsten); text-decoration: none;
  padding-bottom: .4em; border-bottom: 1px solid rgba(217,155,78,.3);
  transition: border-color .5s var(--ease), gap .5s var(--ease);
}
.tlink:hover{ border-color: var(--tungsten); gap: 1em; }

:where(a,button,input,select,textarea,summary):focus-visible{
  outline: 2px solid var(--tungsten); outline-offset: 3px; border-radius: 2px;
}

/* ---------- nav ---------- */
.nav{
  position: fixed; left: 0; right: 0; top: 0; z-index: 90;
  padding-top: calc(env(safe-area-inset-top, 0px) + 1.15rem);
  padding-bottom: 1.15rem;
  transition: padding .6s var(--ease), background .6s var(--ease), backdrop-filter .6s var(--ease);
}
.nav::before{
  content:""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(180deg, rgba(7,8,10,.92) 0%, rgba(7,8,10,.78) 55%, rgba(7,8,10,0) 100%);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  transition: opacity .6s var(--ease);
}
.nav.is-stuck::before{ opacity: 1; }
.nav.is-stuck{ padding-top: calc(env(safe-area-inset-top, 0px) + .8rem); padding-bottom: .8rem; }
.nav-in{
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut);
}
.brand{
  font-family: var(--sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase; text-decoration: none; color: var(--bone);
  transition: color .4s var(--ease);
}
.brand:hover{ color: var(--tungsten); }
.nav-links{ display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.1rem); }
.nav-links a{
  font-size: .69rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--mute); text-decoration: none; transition: color .4s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"]{ color: var(--bone); }
.nav-cta{ padding: .85em 1.5em; font-size: .68rem; }
@media (max-width: 880px){
  .nav-links{ display: none; }
}

/* ---------- reveal (JS adds .js to <html>; without JS everything is visible) ---------- */
.js [data-rev]{ opacity: 0; transform: translate3d(0, 28px, 0); }
.js [data-rev="fade"]{ transform: none; }
.js [data-rev="rise"]{ transform: translate3d(0, 46px, 0); }
.js [data-rev].in{
  opacity: 1; transform: none;
  transition: opacity 1.05s var(--ease-out) var(--d, 0ms), transform 1.15s var(--ease-out) var(--d, 0ms);
}
/* word-by-word line reveal */
.js .lines .ln{ display: block; overflow: hidden; }
.js .lines .ln > span{ display: block; transform: translate3d(0,102%,0); }
.js .lines.in .ln > span{
  transform: none;
  transition: transform 1.25s var(--ease-out) var(--d, 0ms);
}

/* ---------- media: masked so nothing ever hard-cuts ---------- */
.frame{ position: relative; overflow: hidden; }
.frame img{ width: 100%; height: 100%; object-fit: cover; }
.bleed{
  position: relative; width: 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 13%, #000 87%, transparent 100%);
}
.par{ will-change: transform; }
.par img{ transform: translate3d(0, calc(var(--p, 0) * 9%), 0) scale(1.18); }

.ratio-wide{ aspect-ratio: 16/9; }
.ratio-tall{ aspect-ratio: 4/5; }
.ratio-sq{ aspect-ratio: 1/1; }
.ratio-cine{ aspect-ratio: 21/9; }
@media (max-width: 720px){ .ratio-cine{ aspect-ratio: 16/10; } }

.dim::after{
  content:""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,8,10,.5) 0%, rgba(7,8,10,.12) 40%, rgba(7,8,10,.82) 100%);
}
/* framing helpers — keep heads out of the crop */
img.pos-top{ object-position: 50% 20%; }
img.pos-upper{ object-position: 50% 32%; }
.cap{ font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-top: .9rem; }

/* ---------- hero ---------- */
.hero{
  --hp: 0;
  position: relative;
  min-height: min(94svh, 980px);
  display: flex; align-items: center;
  padding-top: clamp(7rem, 16vh, 11rem);
  padding-bottom: clamp(3.5rem, 9vh, 7rem);
  overflow: hidden;
}
.hero-media{
  position: absolute; inset: 0; z-index: -1;
  -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 58%, transparent 100%);
}
.hero-media :is(img, video){
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(1.1 + var(--hp) * .18)) translate3d(0, calc(var(--hp) * 9%), 0);
  filter: saturate(calc(.75 - var(--hp) * .35)) contrast(1.06)
          brightness(calc(.58 - var(--hp) * .24));
  animation: heroIn 2.6s var(--ease-out) both;
}
@keyframes heroIn{ from{ opacity: 0; filter: saturate(.2) contrast(1.06) brightness(.3); } to{ opacity: 1; } }
.hero-media::after{
  content:""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,8,10,.72) 0%, rgba(7,8,10,.16) 34%, rgba(7,8,10,.66) 76%, var(--ink) 100%),
    radial-gradient(120% 90% at 50% 50%, rgba(7,8,10,0) 28%, rgba(7,8,10,.62) 100%);
}
/* dark veil over the hero film — same subduing treatment as .film-veil; the headline in .hero-in and the motion button stack above it */ .hero-veil{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(7,8,10,.60) 0%,rgba(7,8,10,.68) 50%,rgba(7,8,10,.60) 100%)} /* centred title card that dissolves into the page as you scroll */
.hero-in{
  position: relative; display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: clamp(1.3rem, 2.8vw, 2.2rem);
  transform: translate3d(0, calc(var(--hp) * -13vh), 0) scale(calc(1 - var(--hp) * .07));
  opacity: calc(1 - var(--hp) * 1.4);
  will-change: transform, opacity;
}
.hero-h1{ max-width: 15ch; margin-inline: auto; }
.hero-in .lede{ margin-inline: auto; }
.hero-in .btns{ justify-content: center; }
.hero-h1 .amp{ font-family: var(--serif-it); font-style: italic; text-transform: none; color: var(--tungsten); }
.hero-foot{
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(1.8rem, 5vw, 3.2rem); margin-top: clamp(.4rem, 1.6vw, 1.2rem);
}
.scrollcue{ display: flex; align-items: center; gap: .8rem; color: var(--faint); font-size: var(--fs-label); letter-spacing: .24em; text-transform: uppercase; }
.scrollcue i{ display: block; width: 1px; height: 46px; background: linear-gradient(180deg, var(--faint), transparent); animation: cue 2.6s var(--ease) infinite; transform-origin: top; }
@keyframes cue{ 0%{ transform: scaleY(0); opacity: 0 } 40%{ transform: scaleY(1); opacity: 1 } 100%{ transform: scaleY(1) translateY(46px); opacity: 0 } }

/* motion toggle over the hero film */
.motion-btn{
  position: absolute; z-index: 4; right: var(--gut);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 1.6rem);
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-size: .64rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--mute); background: rgba(7,8,10,.42); cursor: pointer;
  border: 1px solid var(--rule-soft); border-radius: 999px;
  padding: .7em 1.2em; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.motion-btn:hover{ color: var(--bone); border-color: var(--rule); }

/* hero opening curtain */
.curtain{
  position: fixed; inset: 0; z-index: 200; background: var(--ink); pointer-events: none;
  animation: curtain 1.15s var(--ease-out) .35s both;
}
@keyframes curtain{ to{ opacity: 0; visibility: hidden; } }

/* ---------- social proof ---------- */
.proof{ display: grid; gap: clamp(1.6rem, 4vw, 2.8rem); }
.proof-list{
  display: flex; flex-wrap: wrap; gap: clamp(1.4rem, 4.4vw, 4rem) clamp(1.6rem, 5vw, 4.6rem);
  align-items: baseline;
}
.proof-list span{
  font-family: var(--serif); text-transform: uppercase;
  font-size: clamp(1rem, 2.1vw, 1.65rem); letter-spacing: .02em; color: var(--bone);
  opacity: .82; transition: opacity .5s var(--ease), color .5s var(--ease);
}
.proof-list span:hover{ opacity: 1; color: var(--tungsten); }

/* ---------- pinned SCALE→PEOPLE→ENERGY→DETAIL ---------- */
.seq{ position: relative; }
.seq-pin{ position: sticky; top: 0; height: 100svh; overflow: hidden; }
.seq-frame{ position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease); }
.seq-frame img{ width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.5) contrast(1.05); transform: scale(1.1); }
.seq-frame.on{ opacity: 1; }
.seq-pin::after{
  content:""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(7,8,10,.1) 26%, rgba(7,8,10,.22) 62%, var(--ink) 100%);
}
.seq-words{
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
  text-align: center; padding-inline: var(--gut);
}
.seq-word{
  font-family: var(--serif); text-transform: uppercase;
  font-size: clamp(2.4rem, 11vw, 8.5rem); line-height: 1;
  position: absolute; opacity: 0; transform: translateY(18px) scale(.985);
  transition: opacity .8s var(--ease), transform 1.1s var(--ease-out);
}
.seq-word.on{ opacity: 1; transform: none; }
.seq-word small{
  display: block; font-family: var(--sans); font-size: var(--fs-label);
  letter-spacing: .3em; color: var(--tungsten); margin-top: 1.4rem; text-transform: uppercase;
}
.seq-bar{
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 3.2rem);
  width: min(320px, 58vw); height: 1px; background: var(--rule-soft); z-index: 3;
}
.seq-bar i{ display: block; height: 100%; width: calc(var(--sp, 0) * 100%); background: var(--tungsten); transition: width .2s linear; }

/* ---------- coverage list ---------- */
.cover-grid{
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0 clamp(1.5rem, 4vw, 3.5rem);
}
.cover-grid li{
  list-style: none; padding-block: 1.05rem; border-bottom: 1px solid var(--rule-soft);
  font-size: .93rem; letter-spacing: .02em; color: var(--bone);
  display: flex; align-items: baseline; gap: .8rem;
}
.cover-grid li::before{ content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--tungsten); flex: none; opacity: .55; }
.cover-grid{ padding: 0; margin: 0; }

/* ---------- service rows ---------- */
.rows{ border-top: 1px solid var(--rule-soft); }
.row{
  position: relative; display: block; text-decoration: none;
  border-bottom: 1px solid var(--rule-soft);
  padding-block: clamp(1.8rem, 4vw, 3.1rem);
  transition: padding-inline .7s var(--ease);
}
.row-in{
  display: grid;
  grid-template-columns: minmax(8ch, auto) minmax(0, 1fr) minmax(0, 32ch) auto;
  align-items: center; gap: clamp(1rem, 3.5vw, 3rem);
}
.row-n{ font-family: var(--sans); font-size: var(--fs-label); letter-spacing: .2em; color: var(--faint); transition: color .6s var(--ease); }
.row-t{ font-family: var(--serif); font-size: clamp(1.6rem, 4.4vw, 3.2rem); text-transform: uppercase; line-height: 1.04; transition: transform .8s var(--ease-out), color .6s var(--ease); }
.row-d{ color: var(--mute); font-size: var(--fs-small); max-width: 34ch; }
.row-go{ font-size: 1.2rem; color: var(--faint); transition: transform .7s var(--ease-out), color .6s var(--ease); }
/* a light wash and type motion on hover — nothing covers the text */
.row::before{
  content:""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(90deg, var(--tungsten-soft) 0%, rgba(217,155,78,0) 62%);
  transition: opacity .6s var(--ease);
}
.row:hover::before{ opacity: 1; }
.row:hover{ padding-inline: clamp(.5rem, 1.6vw, 1.4rem); }
.row:hover .row-t{ transform: translateX(8px); color: var(--tungsten); }
.row:hover .row-n{ color: var(--tungsten); }
.row:hover .row-go{ transform: translateX(8px); color: var(--tungsten); }
@media (max-width: 1040px){
  .row-in{ grid-template-columns: minmax(7ch, auto) minmax(0, 1fr) auto; grid-template-areas: "n t g" ". d d"; }
  .row-n{ grid-area: n; align-self: start; padding-top: .45rem; }
  .row-t{ grid-area: t; }
  .row-go{ grid-area: g; align-self: start; padding-top: .3rem; }
  .row-d{ grid-area: d; margin-top: .7rem; }
}
@media (max-width: 860px){
  .row-in{ grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n n" "t g" "d d"; }
  .row-n{ margin-bottom: .35rem; padding-top: 0; }
  .row-go{ align-self: center; padding-top: 0; }
}

/* ---------- the answer strip, directly under the hero ---------- */
.answer{ padding-top: clamp(2.5rem, 6vh, 4.5rem); }
.answer .steps{ grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.answer-cta{
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.4rem 2.4rem;
  padding-top: clamp(1.6rem, 4vw, 2.6rem);
  border-top: 1px solid var(--rule-soft);
}
.answer-cta .lede{ max-width: 44ch; margin: 0; }

/* ---------- steps (real sequences only) ---------- */
.steps{ display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.step{ display: flex; flex-direction: column; gap: .75rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.step .n{ font-size: var(--fs-label); letter-spacing: .24em; color: var(--tungsten); }
.step p{ margin: 0; color: var(--mute); font-size: var(--fs-small); }
.step h3{ font-family: var(--sans); font-size: 1.02rem; font-weight: 500; letter-spacing: .01em; }

/* ---------- hero positioning line ---------- */
.hero-lede{ max-width: 46ch; color: var(--bone); opacity: .92; }

/* ---------- who it's for ---------- */
.audience{ text-align: center; }
.audience .label{ margin-bottom: clamp(.9rem, 2vw, 1.4rem); }
.audience .mid{
  max-width: 34ch; margin-inline: auto; color: var(--mute);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem); line-height: 1.34;
}

/* ---------- the film, as a second hero ---------- */
.film-sec{ position: relative; }
.film-stage{
  position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}
@media (max-width: 720px){ .film-stage{ aspect-ratio: 4/3; } }
.film-video{
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.92) contrast(1.02) brightness(.96);
}
.film-stage::after{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(130% 100% at 50% 50%, rgba(7,8,10,0) 42%, rgba(7,8,10,.5) 100%);
}
.film-sound{
  position: absolute; z-index: 3; right: var(--gut); bottom: clamp(1.6rem, 5vw, 3rem);
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-size: .64rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--bone); background: rgba(7,8,10,.5); cursor: pointer;
  border: 1px solid var(--rule); border-radius: 999px; padding: .75em 1.3em;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: color .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.film-sound:hover{ color: var(--tungsten); border-color: var(--tungsten); }
.film-sound[aria-pressed="true"]{ color: var(--tungsten); border-color: rgba(217,155,78,.5); }

/* ---------- gallery ---------- */
.drift{ display: flex; gap: clamp(.7rem, 1.4vw, 1.2rem); width: max-content; will-change: transform; }
.drift-a{ transform: translate3d(calc(var(--dx, 0) * -14vw), 0, 0); }
.drift-b{ transform: translate3d(calc(14vw + var(--dx, 0) * 14vw), 0, 0); }
.drift .frame{ width: clamp(200px, 27vw, 420px); }
.driftwrap{
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  overflow: hidden;
}
.mosaic{ display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(.7rem, 1.6vw, 1.4rem); }
.m-7{ grid-column: span 7 } .m-5{ grid-column: span 5 } .m-6{ grid-column: span 6 }
.m-4{ grid-column: span 4 } .m-8{ grid-column: span 8 } .m-12{ grid-column: span 12 }
@media (max-width: 760px){
  .m-7,.m-5,.m-6,.m-4,.m-8{ grid-column: span 12; }
}
.mosaic .frame img{ transition: transform 1.6s var(--ease-out), filter 1.2s var(--ease); filter: saturate(.85); }
.mosaic .frame:hover img{ transform: scale(1.04); filter: saturate(1); }

/* ---------- case studies ---------- */
.case{ display: grid; grid-template-columns: 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); }
.case-head{ display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--rule); padding-bottom: 1.2rem; }
.case-strip{ display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(.6rem, 1.4vw, 1.1rem); }

/* ---------- pull quote / big statement band ---------- */
.band{ text-align: center; display: grid; justify-items: center; gap: 1.6rem; }
.band .statement{ max-width: 18ch; }

/* ---------- form ---------- */
.form{ display: grid; gap: clamp(1.1rem, 2.4vw, 1.7rem); grid-template-columns: repeat(2, 1fr); }
.f{ display: flex; flex-direction: column; gap: .55rem; }
.f-2{ grid-column: span 2; }
.f label{ font-size: var(--fs-label); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.f input, .f select, .f textarea{
  font-family: var(--sans); font-size: 1rem; color: var(--bone);
  background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  padding: .75rem 0; border-radius: 0;
  transition: border-color .5s var(--ease);
}
.f select{ appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 13px) 1.35rem, calc(100% - 8px) 1.35rem; background-size: 5px 5px; background-repeat: no-repeat; }
.f select option{ background: var(--ink-2); color: var(--bone); }
.f textarea{ resize: vertical; min-height: 110px; }
.f input:focus, .f select:focus, .f textarea:focus{ outline: none; border-color: var(--tungsten); }
.f input::placeholder, .f textarea::placeholder{ color: var(--faint); }
.toggles{ display: flex; flex-wrap: wrap; gap: .6rem; }
.tg{ position: relative; }
.tg input{ position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tg span{
  display: block; padding: .8em 1.4em; border: 1px solid var(--rule); border-radius: 999px;
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute);
  transition: all .45s var(--ease);
}
.tg input:checked + span{ border-color: var(--tungsten); color: var(--tungsten); background: var(--tungsten-soft); }
.tg input:focus-visible + span{ outline: 2px solid var(--tungsten); outline-offset: 3px; }
@media (max-width: 680px){ .form{ grid-template-columns: 1fr; } .f-2{ grid-column: span 1; } }

.sent{ border: 1px solid var(--rule); padding: clamp(1.6rem, 4vw, 2.6rem); display: grid; gap: 1.2rem; }
.sent pre{
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; color: var(--mute);
  white-space: pre-wrap; margin: 0; line-height: 1.7; max-height: 280px; overflow: auto;
}

/* ---------- footer ---------- */
.foot{ border-top: 1px solid var(--rule-soft); padding-block: clamp(3rem, 7vh, 5rem); }
.foot-in{ display: flex; flex-wrap: wrap; gap: 2rem 3rem; justify-content: space-between; align-items: flex-start; }
.foot a{ text-decoration: none; color: var(--mute); transition: color .4s var(--ease); }
.foot a:hover{ color: var(--tungsten); }
.foot-nav{ display: grid; gap: .55rem; font-size: var(--fs-small); }

/* ---------- page transition veil ---------- */
.veil{
  position: fixed; inset: 0; z-index: 300; background: var(--ink);
  opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
}
.veil.on{ opacity: 1; }

/* ---------- reduced motion ---------- */ /* ---------- the film, subdued: dark veil + floating copy ---------- */ .film-veil{ position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(7,8,10,.60) 0%, rgba(7,8,10,.68) 50%, rgba(7,8,10,.60) 100%); } .film-caption{ position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(.9rem, 2.4vw, 1.5rem); padding: clamp(1.5rem, 4vw, 3rem) var(--gut); text-align: center; pointer-events: none; text-shadow: 0 2px 30px rgba(7,8,10,.65); } .film-caption .statement{ max-width: 15ch; }


@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-rev]{ opacity: 1 !important; transform: none !important; }
  .js .lines .ln > span{ transform: none !important; }
  .par img, .hero-media :is(img, video), .drift-a, .drift-b, .field{ transform: none !important; }
  .hero-in{ transform: none !important; opacity: 1 !important; }
  .seq-pin{ position: relative; height: auto; }
  .curtain{ display: none; }
}
