/* Social Perks — "On set"
   The site behaves like the studio: paper backdrops, a light you move,
   contact sheets with grease-pencil selects, slate notes in mono. */

:root {
  --paper: #f2ede3;
  --paper-2: #e9e2d4;
  --ink: #16231b;
  --ink-2: #4a564d;
  --rule: rgba(22, 35, 27, 0.22);
  --pencil: #e0502a;
  --film: #121311;
  --film-2: #1c1d1a;

  --display: "Archivo", "Arial Narrow", sans-serif;
  --text: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 3.4vw, 52px);
  --max: 1520px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-variation-settings: "wdth" 100;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* clip, not hidden: hidden would break position: sticky */
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--pencil); color: #fff; }
:focus-visible { outline: 2px solid var(--pencil); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none; font-family: var(--mono); font-size: 12px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */

.mono {
  font-family: var(--mono); font-variation-settings: "wdth" 87.5;
  font-size: 11.5px; line-height: 1.5; font-weight: 400; letter-spacing: 0.02em; text-transform: uppercase;
}

.label {
  display: flex; align-items: center; gap: 14px; margin: 0 0 28px;
  font-family: var(--mono); font-variation-settings: "wdth" 87.5;
  font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase;
}
.label::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .28; }
.label b { font-weight: 500; }

.display {
  margin: 0;
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 62;
  line-height: 0.84; letter-spacing: -0.012em;
}
.h2 {
  font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase;
  font-size: clamp(38px, 5.4vw, 100px); line-height: .88; letter-spacing: -0.02em;
}
/* the one accent: the hero's script, used for a single word per headline */
.script {
  font-family: "Damion", cursive; font-weight: 400; font-variation-settings: normal;
  text-transform: none; letter-spacing: 0; font-size: 1.12em; line-height: .8;
  display: inline-block; transform: rotate(-4deg) translateY(.04em); padding-right: .08em;
}
.h2--long { font-size: clamp(34px, 4vw, 76px); }
.sub { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 100; letter-spacing: -0.01em; line-height: 1.05; }

/* ---------- buttons ---------- */

.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 54px; padding: 0 20px; border: 1.5px solid var(--bg); border-radius: 2px;
  background: var(--bg); color: var(--fg); overflow: hidden; isolation: isolate;
  font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 80;
  font-size: 17px; letter-spacing: .01em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--pencil);
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: none; }
.btn:hover { border-color: var(--pencil); color: #fff; }
.btn .arr { font-family: var(--mono); font-weight: 400; transition: transform .45s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: currentColor; }

/* ---------- header ---------- */

.head { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .5s var(--ease-out), background-color .4s var(--ease); }
.head.is-scrolled { background: rgba(242, 237, 227, 0.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--rule); }
.head.is-hidden { transform: translateY(-100%); }
/* over the full-bleed photo the header is light until you scroll */
.head:not(.is-scrolled) { color: var(--paper); }
.head:not(.is-scrolled) .btn { --bg: var(--paper); --fg: var(--ink); }
.head:not(.is-scrolled) .menu-btn { border-color: var(--paper); }
.head__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }

.logo {
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 62;
  font-size: 26px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; text-decoration: none;
  transition: font-variation-settings .6s var(--ease-out);
}
.logo:hover { font-variation-settings: "wdth" 112; }
.logo i { font-style: normal; color: var(--pencil); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  padding: 10px 12px; text-decoration: none;
  font-family: var(--mono); font-variation-settings: "wdth" 87.5; font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  background: linear-gradient(var(--pencil), var(--pencil)) 12px calc(100% - 8px) / 0 1.5px no-repeat;
  transition: background-size .45s var(--ease-out);
}
.nav a:not(.btn):hover { background-size: calc(100% - 24px) 1.5px; }
.nav .btn { min-height: 42px; margin-left: 12px; font-size: 15px; gap: 14px; padding: 0 14px; }

.menu-btn { display: none; height: 42px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 2px; background: none; cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }

@media (max-width: 880px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 26px; background: var(--paper); box-shadow: 0 1px 0 var(--rule);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease-out), visibility 0s linear .5s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease-out); }
  .nav a:not(.btn) {
    padding: 14px 0; border-bottom: 1px solid var(--rule); background: none;
    font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 62; font-size: 44px; line-height: 1; letter-spacing: 0; text-transform: lowercase;
  }
  .nav .btn { margin: 22px 0 0; }
}

/* ---------- hero: full-bleed set ---------- */

.hero { position: relative; isolation: isolate; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; background: var(--hero-paper, #7d987f); color: var(--paper); }
.hero__shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__shots img.is-on { opacity: 1; }
.hero.has-stage .hero__shots { visibility: hidden; }
.stage, .sweep { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage { z-index: 0; }
.sweep { z-index: -1; }
.sweep.is-off { display: none; }
.hero__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 12, 9, .42) 0%, rgba(8, 12, 9, .16) 42%, rgba(8, 12, 9, 0) 62%),
    linear-gradient(0deg, rgba(8, 12, 9, .5) 0%, rgba(8, 12, 9, 0) 34%),
    linear-gradient(180deg, rgba(8, 12, 9, .25) 0%, rgba(8, 12, 9, 0) 18%);
}
.hero__inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; padding-top: 92px; padding-bottom: 18px; }
.hero__slate { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; color: rgba(242, 237, 227, .85); }
.hero__title { position: relative; margin: auto 0; padding: 0 0 1.5vh; font-weight: 400; }
.hero__big {
  display: block; font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 125;
  font-size: clamp(56px, min(12.4vw, 21vh), 236px); line-height: .8; letter-spacing: -0.025em; text-transform: uppercase;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .12);
}
.hero__big .ln { display: block; white-space: nowrap; }
.hero__big .ch { display: inline-block; font-variation-settings: "wdth" var(--w, 125); }
.hero__script {
  position: relative; display: block; width: max-content; margin: -0.1em 0 0 clamp(40px, 21vw, 400px);
  font-family: "Damion", cursive; font-weight: 400; font-size: clamp(64px, min(10.6vw, 18vh), 210px); line-height: 1;
  color: #f7e3a0; transform: rotate(-7deg); transform-origin: 0 100%; white-space: nowrap;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .2);
  padding: 0 .12em;
}
.js .hero__script { clip-path: inset(-30% 100% -30% -8%); animation: write 1.7s var(--ease-out) 1s forwards; }
@keyframes write { to { clip-path: inset(-30% -8% -30% -8%); } }
.hero__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 22px 40px; }
.hero__lede { max-width: 30em; margin: 0 0 22px; font-size: clamp(16px, 1.25vw, 19px); color: rgba(242, 237, 227, .92); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .btn { --bg: var(--paper); --fg: var(--ink); }
.hero .btn--line { --bg: transparent; --fg: var(--paper); border-color: rgba(242, 237, 227, .7); }
.hero__set { margin: 0 0 4px; display: grid; gap: 4px; text-align: right; color: rgba(242, 237, 227, .85); }
.hero__bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(242, 237, 227, .28); color: rgba(242, 237, 227, .9); }
.swatches { display: flex; align-items: center; gap: 9px; }
.swatches button { width: 22px; height: 22px; padding: 0; border: 1.5px solid var(--paper); border-radius: 50%; cursor: pointer; background: var(--c); transition: transform .35s var(--ease-out); }
.swatches button:hover { transform: scale(1.18); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 3px rgba(0,0,0,.25), 0 0 0 4.5px var(--paper); }
.roll-btn { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; border: 0; background: none; cursor: pointer; color: inherit; }
.roll-btn svg { width: 16px; height: 16px; transition: transform .7s var(--ease-out); }
.roll-btn:hover svg { transform: rotate(-180deg); }

.js .hero__title:not(.is-split) { visibility: hidden; }
.js .hero .ch { opacity: 0; transform: translateY(45%); animation: chIn 1s var(--ease-out) forwards; animation-delay: calc(var(--i) * 45ms + 150ms); }
.js .hero__slate, .js .hero__foot, .js .hero__bar { opacity: 0; animation: fadeUp 1s var(--ease-out) forwards; }
.js .hero__foot { animation-delay: .7s; } .js .hero__bar { animation-delay: .9s; }
@keyframes chIn { to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .hero__shade { background: linear-gradient(0deg, rgba(8,12,9,.62) 0%, rgba(8,12,9,.2) 55%, rgba(8,12,9,.3) 100%); }
  .hero__big { font-size: 19vw; }
  .hero__script { font-size: 19vw; margin-left: 12vw; }
  .hero__foot { grid-template-columns: 1fr; }
  .hero__set, .hero__bar .hint { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ---------- section header rhythm (shared) ---------- */

.sec-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head__side p { margin: 0 0 20px; font-size: 18px; max-width: 26em; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- reel ---------- */

.reel { padding: 18px 0; overflow: hidden; background: var(--film); }
.reel__row { overflow: hidden; }
.reel__row + .reel__row { margin-top: 10px; }
.reel__track { display: flex; gap: 10px; width: max-content; will-change: transform; }
.reel__track img { height: clamp(140px, 15vw, 230px); width: auto; transform: skewX(var(--skew, 0deg)); }

/* ---------- statement ---------- */

.statement { padding: clamp(90px, 13vw, 190px) 0 clamp(70px, 9vw, 130px); }
.statement__text {
  margin: 0; max-width: 21em;
  font-family: var(--display); font-weight: 500; font-variation-settings: "wdth" 100;
  font-size: clamp(28px, 3.6vw, 60px); line-height: 1.12; letter-spacing: -0.015em;
}
.statement__text .w { transition: opacity .3s linear; }
.js .statement__text .w { opacity: .14; }
.js .statement__text .w.is-lit { opacity: 1; }
.statement__text .hl { font-weight: 800; }

/* ---------- work: contact sheet ---------- */

.work {
  --bg: #b4c9a2; --fg: var(--ink);
  position: relative; padding: clamp(70px, 9vw, 120px) 0 clamp(80px, 10vw, 140px);
  background: var(--bg); color: var(--fg);
  transition: background-color .9s var(--ease), color .6s var(--ease);
}
.work.is-dark { --fg: #f2ede3; }
.work .h2 { max-width: 9.5em; }
.work__top { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: 28px 60px; align-items: end; margin-bottom: 56px; }
.disclaimer { margin: 0; padding: 14px 0; border-top: 1.5px solid currentColor; border-bottom: 1px solid currentColor; }
.disclaimer b { font-weight: 600; }

.rolls { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0 0 22px; }
.roll {
  position: relative; padding: 6px 0; border: 0; background: none; cursor: pointer;
  font-family: var(--mono); font-variation-settings: "wdth" 87.5; font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  text-align: left; opacity: .62; transition: opacity .3s var(--ease);
}
.roll:hover, .roll[aria-pressed="true"] { opacity: 1; }
.roll { border-bottom: 2px solid transparent; }
.roll[aria-pressed="true"] { border-bottom-color: currentColor; }

.sheet-wrap { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); align-items: start; }

.viewer { position: sticky; top: 90px; margin: 0; }
.viewer__frame { position: relative; aspect-ratio: 4 / 5; background: rgba(0,0,0,.06); }
.viewer__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .55s var(--ease), transform .9s var(--ease-out); }
.viewer__frame img.is-leaving { opacity: 0; transform: scale(.985); }
.viewer__frame img.is-entering { opacity: 0; transform: scale(1.03); }
.viewer__notes { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 6px 18px; margin-top: 26px; padding-top: 12px; border-top: 1px solid currentColor; }
.viewer__notes dt { opacity: .6; }
.viewer__notes dd { margin: 2px 0 0; display: flex; align-items: center; gap: 7px; }
.viewer__notes .sw { width: 11px; height: 11px; border: 1px solid currentColor; background: var(--bg); }
.viewer__desc { margin: 14px 0 0; font-size: 15px; max-width: 34em; }
.viewer__nav { display: flex; gap: 8px; margin-top: 16px; }
.viewer__nav button { min-height: 40px; padding: 0 14px; border: 1.5px solid currentColor; border-radius: 2px; background: none; cursor: pointer; }
.viewer__nav button:hover { background: var(--fg); color: var(--bg); }

.sheet { position: relative; }
.sheet__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid currentColor; }
.sheet__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 10px; }
.sheet__grid li[hidden] { display: none; }
.frame { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: inherit; }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; outline: 2px solid transparent; outline-offset: 3px; transition: transform .45s var(--ease-out), outline-color .3s var(--ease), opacity .3s var(--ease); }
.frame:hover img { transform: translateY(-3px); }
.frame span { display: flex; gap: 8px; margin-top: 8px; font-size: 10.5px; opacity: .7; }
.frame span b { font-weight: 500; }
.frame[aria-current="true"] img { outline-color: currentColor; }
.frame[aria-current="true"] span { opacity: 1; }
.sheet__grid:hover .frame:not(:hover):not([aria-current="true"]) img { opacity: .75; }

@media (max-width: 960px) {
  .work__top { grid-template-columns: 1fr; }
  .sheet-wrap { grid-template-columns: 1fr; }
  .viewer { position: relative; top: 0; max-width: 520px; }
  .viewer__notes { grid-template-columns: repeat(2, auto); justify-content: start; gap: 10px 40px; }
}
@media (max-width: 560px) {
  .sheet__grid { grid-template-columns: repeat(3, 1fr); gap: 14px 8px; }
  .frame span b { display: none; }
}

/* ---------- motion: reel stage (active reel centred, neighbours peek) ---------- */

.motion { padding: clamp(80px, 10vw, 140px) 0 clamp(70px, 9vw, 120px); background: var(--film); color: var(--paper); overflow: hidden; }
.motion .sec-head__side p { color: rgba(242, 237, 227, .78); }
.motion__nav { display: flex; align-items: center; gap: 14px; }
.motion__nav button { width: 48px; height: 48px; border: 1.5px solid rgba(242,237,227,.6); border-radius: 2px; background: none; color: inherit; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease); }
.motion__nav button:hover { background: var(--paper); color: var(--ink); }
.reels { position: relative; height: clamp(500px, 80vh, 840px); margin-top: 10px; }
.rl {
  position: absolute; top: 0; left: 50%; height: calc(100% - 46px); aspect-ratio: 9 / 16; margin: 0;
  transform: translateX(calc(-50% + var(--x, 0px))) scale(var(--s, 1));
  filter: blur(var(--b, 0px)) brightness(var(--br, 1));
  opacity: var(--op, 1); z-index: var(--z, 1);
  transition: transform 1s var(--ease-out), filter .9s var(--ease), opacity .9s var(--ease);
  cursor: pointer; will-change: transform;
}
.rl__frame { position: relative; height: 100%; overflow: hidden; background: #000; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.rl video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rl__bar { position: absolute; left: 12px; right: 12px; top: 12px; height: 2px; background: rgba(255,255,255,.3); opacity: 0; transition: opacity .4s var(--ease); }
.rl__bar i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.rl.is-on .rl__bar { opacity: 1; }
.rl__state { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 8px 12px; background: rgba(0,0,0,.55); color: #fff; opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.rl.is-on.is-paused .rl__state { opacity: 1; }
.rl figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; color: rgba(242,237,227,.75); opacity: 0; transition: opacity .6s var(--ease); }
.rl.is-on figcaption { opacity: 1; }
@media (max-width: 760px) { .reels { height: 72vh; } }

/* ---------- services: pinned scroll list (titles light up as you scroll) ---------- */

.services { padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 5vw, 80px); }
.svl { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 110px); align-items: center; }
.svl__media { position: relative; aspect-ratio: 4 / 5; width: 100%; max-height: calc(100vh - 210px); max-width: calc((100vh - 210px) * .8); justify-self: center; margin-top: 60px; }
.svl__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 18px;
  box-shadow: 0 30px 60px -30px rgba(22, 35, 27, .55), 0 2px 8px rgba(22, 35, 27, .08);
  transform-origin: 50% 0;
  transform: translateY(var(--ty, 0px)) scale(var(--sc, 1)) rotate(var(--rot, 0deg));
  filter: brightness(var(--bri, 1)); opacity: var(--op, 1); z-index: var(--z, 1);
  transition: transform .9s var(--ease-out), filter .7s var(--ease), opacity .6s var(--ease);
}
.svl__list { position: relative; list-style: none; margin: 0; padding: 0; }
.svl__item { }
.svl__head { display: flex; align-items: baseline; gap: 20px; width: 100%; padding: 14px 0 10px; border: 0; background: none; cursor: pointer; text-align: left; }
.svl__head .mono { flex: none; width: 26px; transition: color .4s var(--ease); }
.svl__item.is-on .svl__head .mono { color: var(--pencil); }
.svl__t { font-weight: 800; font-variation-settings: "wdth" 100; letter-spacing: -0.02em; font-size: clamp(34px, 3.6vw, 64px); line-height: 1.05; opacity: .2; transform: translateX(0); transition: opacity .5s var(--ease), transform .7s var(--ease-out), font-variation-settings .8s var(--ease-out); }
.svl__item.is-on .svl__t { opacity: 1; transform: translateX(10px); }
.svl__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.svl__body > div { overflow: hidden; padding-left: 56px; }
.svl__item.is-on .svl__body { grid-template-rows: 1fr; }
.svl__body p { margin: 0 0 10px; max-width: 30em; font-size: 17px; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease) .15s, transform .7s var(--ease-out) .15s; }
.svl__item.is-on .svl__body p { opacity: 1; transform: none; }
.svl__body p.mono { margin-bottom: 20px; }
.svl__item.is-on .svl__body p.mono { opacity: .7; }

/* desktop: the block pins while the page scrolls through the five services */
@media (min-width: 861px) {
  .svl-pin { height: calc(100vh + 5 * 42vh); }
  .svl { position: sticky; top: 80px; height: calc(100vh - 100px); }
}
@media (max-width: 860px) {
  .svl { grid-template-columns: 1fr; }
  .svl__media { max-width: 420px; justify-self: start; }
  .svl__body > div { padding-left: 0; }
}

/* ---------- shots: draggable carousel ---------- */

.shots { padding: clamp(80px, 10vw, 140px) 0; background: var(--paper-2); overflow: hidden; }
.shots__nav { display: flex; gap: 8px; }
.shots__nav button { width: 48px; height: 48px; border: 1.5px solid var(--ink); border-radius: 2px; background: none; cursor: pointer; font-size: 16px; transition: background-color .3s var(--ease), color .3s var(--ease); }
.shots__nav button:hover { background: var(--ink); color: var(--paper); }
.shots__track {
  display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; overscroll-behavior-x: contain;
  padding: 14px var(--gutter) 10px; scroll-padding-inline: var(--gutter); scroll-snap-type: x proximity;
  scrollbar-width: none; cursor: grab;
}
.shots__track::-webkit-scrollbar { display: none; }
.shots__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.shots__track.is-dragging .card { pointer-events: none; }
.card { flex: none; width: clamp(250px, 27vw, 430px); margin: 0; scroll-snap-align: start; }
.card__img { overflow: hidden; }
.card__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform: translateX(var(--px, 0)) scale(1.12); transition: filter .5s var(--ease); user-select: none; -webkit-user-drag: none; }
.card:hover .card__img img { filter: brightness(1.05) saturate(1.06); }
.card figcaption { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin-top: 20px; }
.card figcaption .mono { grid-row: span 2; padding-top: 6px; }
.card figcaption b { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 100; font-size: 22px; line-height: 1.1; letter-spacing: -0.01em; }
.card figcaption span:last-child { font-size: 15px; color: var(--ink-2); }

/* ---------- formats: one shoot, cut for every format ---------- */

.formats { padding: clamp(90px, 11vw, 160px) 0; }
.formats__head { display: grid; justify-items: center; gap: 22px; text-align: center; margin-bottom: clamp(44px, 6vw, 80px); }
.formats__title { font-size: clamp(40px, 6vw, 112px); }
.formats__title .script { color: #4f6b3f; }
.formats__head p { margin: 0; max-width: 30em; font-size: 19px; }

/* every tile is the same height: width grows with its aspect ratio */
.fmt { display: flex; gap: clamp(12px, 1.6vw, 22px); align-items: flex-end; }
.fmt__tile { flex: var(--r) 1 0; min-width: 0; margin: 0; }
.fmt__media { position: relative; aspect-ratio: var(--r); overflow: hidden; background: var(--paper-2); }
.fmt__media img, .fmt__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fmt__tile--wide img { transform: scale(1.08); animation: drift-pan 16s ease-in-out infinite alternate; }
@keyframes drift-pan { from { transform: scale(1.08) translateX(-2%); } to { transform: scale(1.08) translateX(2%); } }
.fmt__slides { position: absolute; inset: 0; display: flex; transition: transform .9s var(--ease-out); transform: translateX(calc(var(--slide, 0) * -100%)); }
.fmt__slides img { position: relative; flex: none; width: 100%; height: 100%; }
.fmt__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.fmt__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); transition: background-color .3s var(--ease), transform .3s var(--ease); }
.fmt__dots i.is-on { background: #fff; transform: scale(1.25); }
.fmt__tile figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--rule); }
.fmt__tile figcaption span:last-child { color: var(--ink-2); }
.js .fmt__tile[data-reveal] { transform: translateY(46px); }

/* phones: the same four as a sideways row at a fixed height */
@media (max-width: 760px) {
  .fmt { overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-snap-type: x mandatory; }
  .fmt::-webkit-scrollbar { display: none; }
  .fmt__tile { flex: none; width: calc(300px * var(--r)); scroll-snap-align: start; }
}

/* ---------- faq ---------- */

.faq { padding: clamp(80px, 10vw, 140px) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 72px; align-items: start; }
.faq__list { border-top: 1.5px solid var(--ink); }
.qa { border-bottom: 1px solid var(--rule); }
.qa summary { display: grid; grid-template-columns: 40px 1fr 22px; align-items: center; gap: 12px; padding: 22px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa__q { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 100; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -0.01em; }
.qa i { position: relative; width: 18px; height: 18px; }
.qa i::before, .qa i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out); }
.qa i::after { transform: rotate(90deg); }
.qa[open] i::after { transform: rotate(0deg); }
.qa summary:hover .qa__q { color: var(--pencil); }
.qa__a p { margin: 0 0 24px 52px; max-width: 34em; font-size: 17px; color: var(--ink-2); }
.qa[open] .qa__a { animation: qaIn .6s var(--ease-out); }
@keyframes qaIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .qa__a p { margin-left: 0; } }

/* ---------- process: the shot list ---------- */

.process { padding: clamp(70px, 9vw, 130px) 0; background: var(--paper-2); }
.process__head { display: grid; grid-template-columns: 1fr minmax(260px, 400px); gap: 24px 60px; align-items: end; margin-bottom: 50px; }
.process__head p { margin: 0; font-size: 18px; }

.shotlist { width: 100%; border-collapse: collapse; }
.shotlist th { padding: 0 12px 10px 0; text-align: left; border-bottom: 1.5px solid var(--ink); }
.shotlist td { padding: 22px 12px 22px 0; vertical-align: top; border-bottom: 1px solid var(--rule); }
.shotlist .n { width: 70px; }
.shotlist .t { width: 38%; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 100; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.1; letter-spacing: -0.01em; }
.shotlist .d { font-size: 17px; max-width: 30em; }
.shotlist .c { width: 54px; text-align: right; }
.tick { display: inline-block; width: 30px; height: 30px; border: 1.5px solid var(--ink); position: relative; }
.tick svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); }
.tick path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--ease-out) .25s; }
tr.is-in .tick path, .no-js .tick path { stroke-dashoffset: 0; }

.footnotes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 54px; }
.fn { padding-top: 14px; border-top: 1.5px solid var(--ink); }
.fn h3 { margin: 12px 0 8px; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 100; font-size: 22px; line-height: 1.1; letter-spacing: -0.01em; }
.fn p { margin: 0; font-size: 16px; max-width: 32em; }
.fn .soon { color: var(--pencil); }

@media (max-width: 760px) {
  .process__head { grid-template-columns: 1fr; }
  .shotlist thead { display: none; }
  .shotlist tr { display: grid; grid-template-columns: 50px 1fr 40px; border-bottom: 1px solid var(--rule); padding: 18px 0; }
  .shotlist td { border: 0; padding: 0; }
  .shotlist .t { width: auto; }
  .shotlist .d { grid-column: 2 / 3; margin-top: 8px; font-size: 16px; }
  .shotlist .c { grid-row: 1; grid-column: 3; }
  .footnotes { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- contact ---------- */

.contact { position: relative; isolation: isolate; overflow: hidden; padding: clamp(90px, 11vw, 150px) 0; background: #1f3326; color: var(--paper); }
.contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 80px; align-items: start; }
.contact .h2 .script { color: #f7e3a0; }
.contact__intro p:not(.label) { margin: 26px 0 0; max-width: 26em; font-size: 18px; opacity: .85; }

.form { display: grid; gap: 26px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field-g { display: grid; gap: 4px; }
.field-g label, .form legend { font-family: var(--mono); font-variation-settings: "wdth" 87.5; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; opacity: .8; }
.input {
  width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1.5px solid rgba(242,237,227,.45); border-radius: 0; background: transparent;
  font-family: var(--display); font-weight: 500; font-variation-settings: "wdth" 100; font-size: 20px;
  transition: border-color .3s var(--ease);
}
.input::placeholder { color: rgba(242,237,227,.4); }
.input:focus { outline: none; border-color: var(--paper); }
textarea.input { min-height: 110px; resize: vertical; font-size: 19px; line-height: 1.35; }
.input[aria-invalid="true"] { border-color: #ff8f6b; }
.err { margin: 4px 0 0; font-size: 14px; color: #ffb39c; }
.err:empty { display: none; }

.form fieldset { margin: 0; padding: 0; border: 0; }
.form legend { margin-bottom: 12px; padding: 0; }
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 14px 40px; }
@media (max-width: 480px) { .picks { grid-template-columns: 1fr; } }
.pick { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 17px; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick .box { position: relative; width: 22px; height: 22px; border: 1.5px solid currentColor; flex: none; }
.pick .box svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--paper); }
.pick .box path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .4s var(--ease-out); }
.pick input:checked + .box path { stroke-dashoffset: 0; }
.pick input:focus-visible + .box { outline: 2px solid var(--pencil); outline-offset: 3px; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form__foot small { font-size: 14px; opacity: .75; max-width: 24em; }
.form__status { margin: 0; padding: 12px 0; border-top: 1px solid rgba(242,237,227,.4); font-size: 16px; }
.form__status:empty { display: none; }
.contact .btn { --bg: var(--paper); --fg: var(--ink); }

@media (max-width: 900px) { .contact__inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.foot { padding: clamp(60px, 8vw, 110px) 0 28px; overflow: hidden; }
.foot__big { margin: 0; font-weight: 900; font-variation-settings: "wdth" 125; text-transform: uppercase; letter-spacing: -0.025em; font-size: clamp(40px, 5.6vw, 112px); line-height: .9; white-space: nowrap; }
.foot__big .script { color: var(--pencil); margin-left: .1em; }
@media (max-width: 760px) { .foot__big { white-space: normal; font-size: 15vw; } }
.foot__big .ch { display: inline-block; font-variation-settings: "wdth" var(--w, 125); }
.foot__big .script .ch { font-variation-settings: normal; }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 46px; padding-top: 16px; border-top: 1.5px solid var(--ink); }
.foot__row nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot__row nav a { text-decoration: none; }
.foot__row nav a:hover { color: var(--pencil); }
.foot__row p { margin: 0; }

.wd { display: inline-block; white-space: nowrap; }

/* ---------- reveal ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .reel__row, .ticker { overflow-x: auto; }
  .fmt__tile--wide img { animation: none !important; }
}
