/* Self-hosted fonts (latin subset): Marcellus, Jost, DM Mono. Files are versioned by name. */
@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/marcellus-normal-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 500; font-display: swap; src: url(/assets/fonts/jost-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jost'; font-style: italic; font-weight: 300; font-display: swap; src: url(/assets/fonts/jost-italic-300.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/dm-mono-normal-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Flow Motion Cinema: shared styles for every page. See DESIGN.md for the reasoning behind each token. */
/* ------------------------------------------------------------------
   Tokens. One gold family at two values, layered near-blacks, one radius,
   one spacing scale. Every rule below references these.
   ------------------------------------------------------------------ */
:root {
  --black: #0b0b0c;          /* page ground (matches the drape engine) */
  --surface: #121214;        /* a step up: panels that sit on the silk */
  --surface-2: #1a1a1d;      /* two steps up: inputs, hover */
  --ink: #efe9dc;            /* warm off-white body text */
  --ink-soft: #d8d1c3;       /* secondary running text: descriptions, answers, intros */
  --ink-dim: #b9b2a4;        /* labels, captions, notes only */
  --gold: #c8a24b;           /* brass: the action, the highlight */
  --gold-deep: #a67c00;      /* antique: hairlines, hover, the shadow side */
  --gold-ink: #16120a;       /* text on a gold fill */
  --line: rgba(200,162,75,.28);  /* gold hairline */
  --rec: #ff5a5a;

  --display: 'Marcellus', 'Didot', Georgia, serif;
  --text: 'Jost', 'Futura', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;   /* the camera marks only */

  --r: 8px;                  /* controls, inputs, phone frames */
  --r-lg: 12px;              /* large surfaces: photos, doors, panels */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 64px; --s6: 104px; --s7: 160px;
  --gutter: clamp(20px, 4vw, 56px);
  --measure: 62ch;
  --nav-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.3,.6,.15,1);  /* moves through its whole duration: the glide, not the snap */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }   /* the page scrolls as normal; the bar itself is not drawn */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { background: var(--black); }
body { margin: 0; color: var(--ink); font: 300 17px/1.6 var(--text); text-rendering: optimizeLegibility; }
img, video { max-width: 100%; display: block; }
img[loading="lazy"] { opacity: 0; transition: opacity .8s var(--ease-out); }
img[loading="lazy"].loaded, img[loading="lazy"].no-js { opacity: 1; }
a { color: inherit; transition: color .35s var(--ease-out), border-color .35s var(--ease-out); }
html { -webkit-tap-highlight-color: transparent; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 3.9vw, 58px); }
h2 { font-size: clamp(30px, 3.6vw, 50px); }
h3 { font-size: clamp(21px, 1.6vw, 24px); }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }
.lede { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; max-width: var(--measure); }
.dim { color: var(--ink-soft); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--gold); color: var(--gold-ink); }

/* The drape sits behind everything; content is a layer above it. */
.drape { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; display: block; z-index: 0; pointer-events: none; background: var(--black) center / cover no-repeat; }
.js .drape { opacity: 0; transition: opacity 2.2s cubic-bezier(.22,.61,.36,1); }
.js .drape.ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .drape { transition-duration: .01s; } }
.page { position: relative; z-index: 1; }

.skip { position: absolute; left: var(--gutter); top: -60px; z-index: 50; background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: var(--r); font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Buttons: one shape, two weights. Friendly padding, the one radius. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: var(--r); font: 500 15px/1 var(--text); letter-spacing: .02em; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.btn-gold { background: var(--gold); color: var(--gold-ink); border-color: var(--gold-deep); }
.btn-gold:hover { background: #d4b05c; border-color: var(--gold); }
.btn-gold:active { background: #b8923f; transform: translateY(1px); }
.btn-line { color: var(--ink); border-color: var(--line); background: rgba(11,11,12,.35); }
.btn-line:hover { border-color: var(--gold); }

/* ---------------- Nav ---------------- */
.nav { position: sticky; top: 0; z-index: 40; height: var(--nav-h); display: flex; align-items: center; background: rgba(11,11,12,.35); transition: background-color .7s var(--ease-out); }
.nav.scrolled { background: rgba(11,11,12,.9); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
/* The logo fills the bar: 64px inside the 76px nav, so it reads at a glance without a taller header. */
.nav .mark { display: flex; align-items: center; height: var(--nav-h); }
.nav .mark img { height: 64px; width: auto; }
@media (max-width: 720px) { .nav .mark img { height: 50px; } }
.nav nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav nav a:not(.btn) { position: relative; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 400; padding: 10px 2px; }
.nav nav a:not(.btn)::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.nav nav a:not(.btn):hover::after, .nav nav a:not(.btn):focus-visible::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: 10px 22px; white-space: nowrap; }
@media (max-width: 720px) {
  .nav nav a:not(.btn) { display: none; }
  .subnav { display: flex; gap: var(--s3); justify-content: center; padding: 10px var(--gutter); border-bottom: 1px solid rgba(239,233,220,.06); font-size: 14px; }
  .subnav a { color: var(--ink-dim); text-decoration: none; padding: 6px 0; }
}
@media (min-width: 721px) { .subnav { display: none; } }

/* ---------------- Hero ---------------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 120px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.kicker { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s3); font-weight: 500; }
.hero h1 { max-width: none; white-space: nowrap; }
.hero h1 .l { display: block; }
.hero h1 .line2 { display: block; }
@media (max-width: 1100px) { .hero h1 { white-space: normal; } }
.hero h1 .hl { color: var(--ink); transition: color .9s var(--ease-out); }
.hero h1 .hl.on { color: var(--gold); }
.hero .lede { margin-top: var(--s3); }
.hero .lede .land { display: block; margin-top: .35em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }

/* The reel: three phone frames, the middle one lifted. */
.reel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; }
.reel .frame:nth-child(2) { transform: translateY(-30px); }
.frame { position: relative; aspect-ratio: 9 / 16; border-radius: var(--r); overflow: hidden; background: var(--surface); outline: 1px solid rgba(239,233,220,.08); outline-offset: -1px; transform: translateZ(0); }
.frame video, .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame { background-size: cover; background-position: center; }
.frame video { opacity: 0; transition: opacity .9s var(--ease-out); }
.frame video.playing { opacity: 1; }
.frame .tc { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; justify-content: space-between; z-index: 1; font: 500 10px/1 var(--mono); letter-spacing: .1em; color: var(--ink); opacity: .9; text-shadow: 0 1px 3px rgba(0,0,0,.7); }
.frame .tc .rec::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--rec); margin-right: 6px; vertical-align: 1px; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .frame .tc .rec::before { animation: none; } .frame video { transition: none; } }
html:not(.js) img[loading="lazy"] { opacity: 1; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .reel { gap: 10px; }
  .reel .frame:nth-child(2) { transform: translateY(-16px); }
}
/* Phones: the reel moves up under the sub-line so the first swipe lands on the footage,
   and becomes a strip you thumb through, two frames in view, each big enough to watch. */
@media (max-width: 860px) {
  .hero .wrap > div:first-child { display: contents; }
  .hero .kicker { order: 1; } .hero h1 { order: 2; } .hero .lede { order: 3; }
  .hero .reel { order: 4; margin-top: var(--s4); }
  .hero .actions { order: 5; }
}
@media (max-width: 560px) {
  .reel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 6px; margin: 0 calc(-1 * var(--gutter)); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .reel::-webkit-scrollbar { display: none; }
  .reel .frame { flex: 0 0 64vw; scroll-snap-align: start; }
  .reel { mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .reel .frame:nth-child(2) { transform: none; }
}
@media (max-width: 480px) {
  .kicker { font-size: 12px; letter-spacing: .1em; }
}

/* ---------------- Logo banner ---------------- */
.clients { padding: var(--s4) 0; background: rgba(11,11,12,.55); }
.clients p { text-align: center; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: var(--s3); }


.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee ul { display: flex; gap: clamp(48px, 6vw, 96px); list-style: none; margin: 0; padding: 0; width: max-content; animation: slide 60s linear infinite; }
.marquee:hover ul { animation-play-state: paused; }
.marquee li { flex: none; display: flex; align-items: center; height: 56px; }
/* Optical sizing: each logo's height is set so they carry about the same visual weight
   (wide wordmarks shorter, compact marks taller, h ≈ 34 × (3 / aspect)^0.55, capped).
   Two tiers of emphasis by brand weight: Wealthsimple first, Matrix and the Canadian Choice Award
   a half step behind, the rest even. */
.marquee img { --h: 34px; height: var(--h); width: auto; opacity: .72; }
.marquee li img[src$="411-cosmetics.png"] { --h: 36px; }
.marquee li img[src$="afwt.png"] { --h: 46px; }
.marquee li img[src$="bapn.png"] { --h: 48px; }
.marquee li img[src$="canadian-choice-award.png"] { --h: 38px; opacity: .86; }
.marquee li img[src$="csasn.png"] { --h: 32px; }
.marquee li img[src$="matrix.png"] { --h: 28px; opacity: .86; }
.marquee li img[src$="sundae-creative.png"] { --h: 20px; }
.marquee li img[src$="wealthsimple.svg"] { --h: 33px; opacity: .96; }
@media (max-width: 560px) { .marquee img { height: calc(var(--h) * .78); } .marquee ul { gap: 40px; } }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee ul { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: var(--s3) var(--s4); } .marquee ul li:nth-child(n+9) { display: none; } .marquee { mask-image: none; -webkit-mask-image: none; } }

/* ---------------- Sections ---------------- */
section { padding: clamp(72px, 9vw, 140px) 0; }
.head { max-width: 72ch; margin-bottom: clamp(32px, 4vw, 56px); }
.head h2 { max-width: 22ch; }
.head .lede { max-width: 56ch; }
.head .lede { margin-top: var(--s3); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 2; } }   /* on phones the heading always comes before its picture */
/* The frame holds only the picture; the caption sits beneath it on the silk. */
.photo .pic { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); outline: 1px solid rgba(239,233,220,.08); outline-offset: -1px; }
.photo img, .photo video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
figure { margin: 0; }

/* Panels: a tonal step, never a shadow. */
.panel { background: rgba(18,18,20,.82); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); outline: 1px solid rgba(239,233,220,.06); outline-offset: -1px; }

/* The experience: three moments, set as prose columns, not cards. */
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s5); }
.moments h3 { margin-bottom: var(--s1); }
.moments p { color: var(--ink-soft); font-size: 16px; font-weight: 400; }
@media (max-width: 860px) { .moments { grid-template-columns: 1fr; gap: var(--s3); } }

/* Two doors */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.door { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); outline: 1px solid rgba(239,233,220,.08); outline-offset: -1px; text-decoration: none; color: var(--ink); }
.door .pic { aspect-ratio: 16 / 10; overflow: hidden; }
.door .pic img, .door .pic video { width: 100%; height: 100%; object-fit: cover; }
/* A door can carry three portrait stills side by side, one per event: the hero reel's shape, at rest. */
.door .pic.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--black); }
.door .pic.tri span { display: block; overflow: hidden; }
.door .pic.tri img { width: 100%; height: 100%; object-fit: cover; }
.door { transition: outline-color .5s var(--ease-out); }
.door:hover { outline-color: var(--line); }
.door .body { padding: clamp(22px, 2.6vw, 32px); display: grid; gap: var(--s2); align-content: start; }
.door h3 { font-size: clamp(24px, 2.2vw, 30px); }
.door p { color: var(--ink-soft); font-weight: 400; font-size: 16px; }
.door .go { color: var(--gold); font-weight: 500; font-size: 15px; letter-spacing: .02em; margin-top: var(--s1); display: inline-flex; align-items: center; gap: 10px; }
.door .go svg { transition: transform .5s var(--ease-out); }
.door:hover .go svg { transform: translateX(4px); }
@media (max-width: 860px) { .doors { grid-template-columns: 1fr; } }

/* What's included: a definition list, one column of facts beside the venue photo. */
.included { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s4); margin: 0; }
.included div { padding: var(--s2) 0; border-top: 1px solid rgba(239,233,220,.08); }
.included dt { font-weight: 500; color: var(--ink); }
.included dd { margin: 2px 0 0; color: var(--ink-soft); font-size: 15px; font-weight: 400; }
@media (max-width: 600px) { .included { grid-template-columns: 1fr; } }


/* FAQ: each answer unfolds on the page's glide; the text follows a beat behind; closing reverses it.
   Height animates, so nothing beneath jumps. */
.faq { max-width: none; }
.faq .q { border-top: 1px solid rgba(239,233,220,.08); }
.faq .q:last-child { border-bottom: 1px solid rgba(239,233,220,.08); }
.faq h3 { font: inherit; margin: 0; }
.faq button { all: unset; box-sizing: border-box; display: flex; justify-content: space-between; gap: var(--s3); align-items: center; width: 100%; padding: 18px 0; min-height: 44px; font: 400 18px/1.4 var(--text); color: var(--ink); cursor: pointer; transition: color .4s var(--ease-out); }
.faq button:hover { color: #fff; }
.faq button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
.faq button::after { content: ""; flex: none; width: 14px; height: 14px; background:
  linear-gradient(var(--gold), var(--gold)) center / 14px 1.5px no-repeat,
  linear-gradient(var(--gold), var(--gold)) center / 1.5px 14px no-repeat;
  transition: transform .7s var(--ease-out); }
.faq .q.open button::after { transform: rotate(135deg); }
.faq .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-out); }
.faq .a > div { overflow: hidden; }
.faq .a p { color: var(--ink-soft); font-weight: 400; max-width: 66ch; padding: 0 0 22px; opacity: 0; transform: translateY(-6px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.faq .q.open .a { grid-template-rows: 1fr; }
.faq .q.open .a p { opacity: 1; transform: none; transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .faq .a, .faq .a p, .faq button::after { transition: none; } }

/* Inquire */
.inquire .split { align-items: start; }
.inquire h2 { max-width: 12ch; }
.inquire .contact { margin-top: var(--s4); display: grid; gap: var(--s2); color: var(--ink-dim); }
.inquire .contact a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.inquire .contact a:hover { border-bottom-color: var(--gold); }
.socials { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin-top: var(--s3); }
.socials a { color: var(--ink-dim); text-decoration: none; padding: 8px 0; font-size: 15px; }
.socials a:hover { color: var(--gold); }
form { display: grid; gap: var(--s2); }
form[hidden], .sent[hidden] { display: none; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
@media (max-width: 520px) { .f2 { grid-template-columns: 1fr; } form .btn { width: 100%; } }
label { display: grid; gap: 6px; font-size: 14px; color: var(--ink-dim); }
input, select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; background: var(--surface-2); color: var(--ink); border: 1px solid rgba(239,233,220,.1); border-radius: var(--r); font: 400 16px/1.4 var(--text); color-scheme: dark; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
input::placeholder, textarea::placeholder { color: #918b80; }   /* 4.9:1 on the input surface */
textarea { min-height: 120px; resize: vertical; }
/* The select draws its own chevron, a gold hairline, with room reserved for it, so nothing is clipped. */
select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23c8a24b' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
select option { background: var(--surface-2); color: var(--ink); }
input[type="date"] { padding-right: 14px; }
input[type="date"]::-webkit-calendar-picker-indicator { opacity: .7; filter: invert(1) sepia(1) saturate(3) hue-rotate(5deg); cursor: pointer; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,162,75,.28); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #e07070; }
.err { color: #f0a0a0; font-size: 13px; }
.err[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { font-size: 14px; color: var(--ink-dim); min-height: 1.4em; }
.note[data-state="error"] { color: #f0a0a0; }
.note a { color: var(--ink); }
.sent { padding: var(--s4); background: rgba(18,18,20,.82); border-radius: var(--r-lg); outline: 1px solid var(--line); outline-offset: -1px; opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.sent.in { opacity: 1; transform: none; }
.err, .note { transition: opacity .4s var(--ease-out); }
.err:not([hidden]) { animation: fadein .4s var(--ease-out); }
@keyframes fadein { from { opacity: 0; } }
.sent h3 { margin-bottom: var(--s2); }

/* Footer */
footer { padding: var(--s5) 0 var(--s4); border-top: 1px solid rgba(239,233,220,.06); background: rgba(11,11,12,.7); color: var(--ink-dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); align-items: center; }
footer img { height: 44px; width: auto; opacity: .9; }
footer a { color: var(--ink-dim); text-decoration: none; padding: 8px 0; display: inline-block; }
footer a:hover { color: var(--gold); }

/* ------------------------------------------------------------------
   Motion. One language for the whole page: things settle, they never bounce.
   Headlines rise out of a mask line by line (the carpet unrolling); pictures
   find focus from a slight scale; everything else rises a little and fades in,
   staggered so each move is seen. Everything is visible if the script never runs
   and for reduced-motion visitors.
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(18px); transition: opacity 1.3s var(--ease-out), transform 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * 160ms); }
  .js [data-rise].in { opacity: 1; transform: none; }

  /* Headline lines: each line pulls into focus as it rises, one after the other. No edges. */
  .js .hero h1[data-rise] { opacity: 1; transform: none; transition: none; }  /* the lines carry the move, not the block */
  .js .hero h1 .l > span, .js .hero h1 .line2 > span { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(10px); transition: opacity 1.6s var(--ease-out), transform 1.6s var(--ease-out), filter 1.6s var(--ease-out); }
  .js .hero h1.in .l > span, .js .hero h1.in .line2 > span { opacity: 1; transform: none; filter: blur(0); }
  .js .hero h1.in .l:nth-child(2) > span { transition-delay: 240ms; }
  .js .hero h1.in .line2 > span { transition-delay: 480ms; }

  /* Groups that stagger their own children: the group itself stays put. */
  .js .reel[data-rise], .js .clients[data-rise] { transform: none; transition: none; opacity: 1; }

  /* Section headings: the same masked rise, in one piece. The script wraps each heading's
     text in a span; the span is clipped and rises, so the heading's own box stays observable. */
  /* Section headings pull focus with the scroll itself (driven by script), finishing in the first
     quarter of their travel up the screen, so they are sharp before they reach the reading zone.
     They never un-focus on the way back up. */
  .js h2[data-rise] { transform: none; opacity: 1; transition: none; }
  .js h2[data-rise] > .mask { display: block; opacity: 0; transform: translateY(.35em); filter: blur(8px); will-change: opacity, transform, filter; }
  .js.no-scrub h2[data-rise] > .mask { transition: opacity 1.5s var(--ease-out), transform 1.5s var(--ease-out), filter 1.5s var(--ease-out); }
  .js.no-scrub h2[data-rise].in > .mask { opacity: 1; transform: none; filter: blur(0); }

  /* Pictures find focus. */
  .js .photo[data-rise], .js .door[data-rise] { transform: scale(1.03); transition: opacity 1.4s var(--ease-out), transform 2s var(--ease-out); }
  .js .photo[data-rise].in, .js .door[data-rise].in { transform: none; }

  /* The reel: each frame lands left to right, then its camera mark switches on. */
  .js .reel .frame { opacity: 0; transform: translateY(26px) scale(1.03); transition: opacity 1.4s var(--ease-out), transform 1.6s var(--ease-out); }
  .js .reel.in .frame { opacity: 1; transform: none; }
  .js .reel.in .frame:nth-child(2) { transition-delay: 220ms; transform: translateY(-30px); }
  .js .reel.in .frame:nth-child(3) { transition-delay: 440ms; }
  .js .reel .frame .tc { opacity: 0; transition: opacity .8s var(--ease-out); }
  .js .reel.in .frame .tc { opacity: 1; transition-delay: 1200ms; }
  .js .reel.in .frame:nth-child(2) .tc { transition-delay: 1420ms; }
  .js .reel.in .frame:nth-child(3) .tc { transition-delay: 1640ms; }
  @media (max-width: 560px) { .js .reel.in .frame:nth-child(2) { transform: none; } }

  /* The logo band fades up as one. */
  .js .clients { opacity: 0; transition: opacity 1.6s var(--ease-out) .3s; }
  .js .clients.in { opacity: 1; }

  /* Doors: the arrow travels on hover. */
}

/* ------------------------------------------------------------------
   Multi-page additions. Same tokens, same motion; nothing new in kind.
   ------------------------------------------------------------------ */

/* Only the page you are on carries the nav underline; anchors underline on hover. */
.nav nav a[aria-current="page"]::after { transform: scaleX(1); }
.subnav a[aria-current="page"] { color: var(--ink); }


/* A portrait picture for a split that holds a vertical frame. */
.photo.tall .pic img, .photo.tall .pic video { aspect-ratio: 4 / 5; }
/* Backdrop pair: the second backdrop dissolves in over the first while both are moving, then out again. */
.swap video:nth-child(2) { opacity: 0; transition: opacity 1s linear; }
.swap video:nth-child(2).on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .swap video:nth-child(2) { transition: none; } }

/* An honest placeholder: the frame of the shot that is coming, named, never stock. */
.photo .pic.slot { aspect-ratio: 16 / 9; display: grid; place-items: center; padding: var(--s4); text-align: center; }
.photo.tall .pic.slot { aspect-ratio: 4 / 5; }
.pic.slot span { font: 400 15px/1.5 var(--text); color: var(--ink-dim); max-width: 30ch; }


/* Footer pages. */
footer nav { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); }

/* Between pages the whole view cross-fades on the page's glide, so the silk never cuts. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .7s; animation-timing-function: cubic-bezier(.3,.6,.15,1); }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ------------------------------------------------------------------
   Sections, 2026-11-01 (round 3). Portrait footage on a wide canvas, and text set by hand rather than in tiles.
   ------------------------------------------------------------------ */

/* Stage: one phone frame plays its clips in turn; the next dissolves in over the current one. */
.stage { display: grid; align-items: center; }
.stage-media .frame { width: 100%; }
.stage .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.stage .frame video.on { opacity: 1; }
.thumbs { display: flex; gap: 12px; }
.thumb { aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--surface); outline: 1px solid rgba(239,233,220,.14); outline-offset: -1px; cursor: pointer; transition: outline-color .6s var(--ease-out); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { outline-color: var(--line); }
.thumb.on { outline: 2px solid var(--gold); outline-offset: -2px; }
.thumb:focus-visible, .step:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

/* Reactions: words and the four choices on the left, the playing frame at the right edge, same top and bottom
   (mirrors Branding). The heading sits at the top of the column, the four choices at the bottom. */
.stage.oa { display: grid; grid-template-columns: minmax(0, 1fr) var(--oa-w); gap: var(--s6); align-items: stretch;
  --oa-w: clamp(280px, 27vw, 340px); }
.oa-text { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s5); }
.oa-text h2 { max-width: 18ch; }
.oa-text .lede { margin-top: var(--s3); max-width: 46ch; }
.oa-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); margin: 0; }
.oa-thumbs .thumb { width: 100%; }

/* Journey (Home): the title card. The step is named in display type beside the frame; the chapters run along the
   baseline under it, like a scrubber, the playing one underlined in brass the way the nav marks the current page. */
.stage.jr { gap: var(--s6); align-items: stretch; margin-top: var(--s6); grid-template-columns: var(--jr-w) minmax(0, 1fr);
  --jr-w: min(360px, 30vw, calc((100svh - 190px) * .5625)); }
.jr-copy { display: flex; flex-direction: column; gap: var(--s5); min-width: 0; }
.jr-cards { display: grid; flex: 1; align-content: center; }
.jr-card { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease-out), visibility 0s linear .7s; }
.jr-card h3 { font-size: clamp(44px, 5.6vw, 80px); line-height: 1.02; }
.jr-card p { margin-top: var(--s3); font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; color: var(--ink-soft); font-weight: 400; max-width: 40ch; }
.js .jr-card h3, .js .jr-card p { transform: translateY(.3em); filter: blur(8px); transition: transform 1.5s var(--ease-out), filter 1.5s var(--ease-out); }
.js .jr-card p { transform: translateY(12px); }
/* The chosen card pulls into focus a beat after the last one has dimmed: the site's heading move, slowed. */
.jr-card.on { opacity: 1; visibility: visible; transition: opacity 1.3s var(--ease-out) .55s, visibility 0s; }
.js .jr-card.on h3, .js .jr-card.on p { transform: none; filter: none; transition-delay: .55s; }
.js .jr-card.on p { transition-delay: .75s; }
.jr-index { display: flex; flex-wrap: wrap; gap: 0 var(--s4); }
.step { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 0; background: transparent; border: 0; color: var(--ink-dim); cursor: pointer; text-align: left; transition: color 1.4s var(--ease-out); }
.step .t { font: 400 17px/1.3 var(--text); letter-spacing: .01em; }
.step::before { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-out); }
.step:hover { color: var(--ink-soft); }
.step.on { color: var(--ink); }
.step.on::before { transform: scaleX(1); }

/* Value (Corporate): one text block beside one picture, the same height. Heading, lede and the four reasons read
   straight down the left; the photo fills the right column from the heading's top to the last line. */
.vl { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s6); align-items: stretch; }
.vl-text .lede { margin-top: var(--s3); max-width: 52ch; }
.vl-points { display: grid; gap: var(--s4); margin-top: var(--s5); }
.vl-points h3 { margin-bottom: var(--s1); }
.vl-points p { color: var(--ink-soft); font-size: 17px; font-weight: 400; max-width: 54ch; }
.vl-photo, .vl-photo .pic { height: 100%; }
.vl-photo img { height: 100%; aspect-ratio: auto; object-position: 50% 35%; }

/* Branding (Corporate): a 4:5 frame and one text block of nearly the same height, centred on each other.
   Heading, lede and the two options stay together; nothing hangs from an edge. */
.br { display: grid; grid-template-columns: var(--br-w) minmax(0, 1fr); gap: var(--s6); align-items: center; --br-w: min(440px, 38vw); }
.br-copy h2 { max-width: 13ch; }
.br-copy .lede { margin-top: var(--s3); max-width: 40ch; }
.br-list { display: grid; gap: var(--s4); margin: var(--s5) 0 0; max-width: 44ch; }
.br-list dt { font: 400 clamp(21px, 1.6vw, 24px)/1.25 var(--display); color: var(--ink); margin-bottom: var(--s1); }
.br-list dd { margin: 0; color: var(--ink-soft); font-size: 16px; font-weight: 400; line-height: 1.6; }

/* What's included: the night in three movements, each a short run of plain lines on the silk. No rules, no columns of
   labels; the photo holds its place beside them. */
.inc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: var(--s5); align-items: start; }
.inc .lede { margin-top: var(--s3); }
.inc-phases { display: grid; gap: var(--s5); margin-top: var(--s5); }
.inc-phase h3 { margin-bottom: var(--s2); }
.inc-phase ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.inc-phase li { color: var(--ink-soft); font-size: 18px; font-weight: 400; line-height: 1.55; max-width: 46ch; position: relative; padding-left: 30px; }
.inc-phase li::before { content: ""; position: absolute; left: 0; top: calc(.775em - 5px); width: 10px; height: 10px; box-sizing: border-box; border: 1px solid var(--gold); border-radius: 50%; }
.inc-phase li::after { content: ""; position: absolute; left: 3.5px; top: calc(.775em - 1.5px); width: 3px; height: 3px; background: var(--gold); border-radius: 50%; }
.inc-photo { position: sticky; top: calc(var(--nav-h) + var(--s5)); margin-top: var(--s2); }
.inc-photo img { aspect-ratio: 16 / 9; object-position: 50% 50%; }

/* Venue: four needs, clearly four. Each is named in display type beside a drawn brass ring, the figures in full ink. */
.vn > div:first-child { max-width: 72ch; margin-bottom: clamp(32px, 4vw, 56px); }
.vn .lede { margin-top: var(--s3); }
.needs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5) var(--s6); }
.needs li { padding-left: 44px; }
.needs h3 { position: relative; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.2; }
.needs h3::before { content: ""; position: absolute; left: -44px; top: calc(.6em - 7px); width: 13px; height: 13px; box-sizing: border-box; border: 1px solid var(--gold); border-radius: 50%; }
.needs h3::after { content: ""; position: absolute; left: calc(-44px + 5px); top: calc(.6em - 2px); width: 3px; height: 3px; background: var(--gold); border-radius: 50%; }
.needs p { margin-top: 6px; font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; color: var(--ink-soft); font-weight: 300; max-width: 36ch; }
.needs b { font-weight: 400; color: var(--ink); white-space: nowrap; }

/* Doors (Home): no panels. Each picture keeps its frame; the words sit on the silk beneath it. */
.doors { gap: var(--s5); }
.door { background: none; outline: 0; overflow: visible; grid-template-rows: auto 1fr; }
.door .pic { border-radius: var(--r-lg); outline: 1px solid rgba(239,233,220,.08); outline-offset: -1px; transition: outline-color .5s var(--ease-out); }
.door:hover { outline: 0; }
.door:hover .pic { outline-color: var(--line); }
.door .body { padding: var(--s3) 0 0; grid-template-rows: auto 1fr auto; }
.door .go { align-self: end; }
.door p { max-width: 46ch; }
.door:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: var(--r-lg); }

/* Home intro: the lede breathes under its heading. */
#experience .split .lede { margin-top: var(--s3); }

@media (max-width: 1100px) {
  .stage.jr, .vl, .inc, .br { gap: var(--s5); }
  .needs { gap: var(--s4) var(--s5); }
}
/* Phones: one column. Heading, words, frame, then the choices directly under the frame. */
@media (max-width: 860px) {
  .stage.oa { grid-template-columns: 1fr; gap: 0; }
  .oa-text { display: contents; }
  .oa-media { order: 2; margin-top: var(--s4); max-width: 320px; width: 100%; }
  .oa-thumbs { order: 3; margin-top: 14px; max-width: 320px; gap: 12px; }
  .stage.jr { grid-template-columns: 1fr; gap: 0; --jr-w: 100%; }
  .stage.jr { margin-top: var(--s5); }
  .jr-media { max-width: 320px; width: 100%; }
  .jr-copy { display: contents; }
  .jr-index { order: 2; margin-top: var(--s1); max-width: 320px; gap: 0 var(--s3); }
  .jr-cards { order: 3; padding-top: var(--s4); }
  .jr-card h3 { font-size: clamp(36px, 10vw, 44px); }
  .br { grid-template-columns: 1fr; gap: 0; }
  .br-media { order: 2; margin-top: var(--s4); }
  .br-copy { display: contents; }
  .br-list { order: 3; margin-top: var(--s4); }
  .vl, .inc { grid-template-columns: 1fr; gap: var(--s4); }
  .vl-photo, .vl-photo .pic { height: auto; }
  .vl-photo img { height: auto; aspect-ratio: 4 / 5; }
  .needs { grid-template-columns: 1fr; gap: var(--s4); }
  .inc-photo { position: static; margin-top: 0; }
  .inc-photo img { aspect-ratio: 16 / 9; }
  .inc-phases { gap: var(--s4); margin-top: var(--s4); }
  .needs li { padding-left: 32px; }
  .needs h3::before { left: -32px; }
  .needs h3::after { left: calc(-32px + 5px); }
}
@media (prefers-reduced-motion: reduce) {
  .stage .frame video, .thumb, .step, .step::before, .jr-card, .jr-card h3, .jr-card p { transition: none !important; }
}
