/* TRIGRAMS Studio, October 2026 rebuild. One look for both sites:
   www.trigrams.studio (landing page, photo and video) and
   ads.trigrams.studio (Meta ads, start to finish).
   Design source: Claude Design project "TRIGRAMS Home v3" / "Book a Call" /
   "Enquire". White ground, Geist only, square photos, pill buttons, red as the
   accent. Single light theme on purpose: the dark/light toggle is gone.

   Motion: scroll reveals and parallax are CSS scroll-driven animations
   (animation-timeline), so they cost no JavaScript and simply don't run in
   browsers without support. JS only adds the interactive bits (tilt, tabs,
   slider). Everything is switched off under prefers-reduced-motion. */

:root {
  --white: #FFFFFF;
  --mist: #E4E5E3;
  --field: #F2F2F2;
  --hairline: #D8D8D4;
  --pewter: #B9BDC0;
  --ink: #15171A;
  --ink-mid: #5A5E63;
  --ink-soft: #9A9DA1;
  --night: #0D0E10;
  --red: #D92B1B;
  --red-deep: #B8200F;

  --shadow-1: 0 1px 2px rgba(21,23,26,.06), 0 6px 18px rgba(21,23,26,.06);
  --shadow-2: 0 2px 4px rgba(21,23,26,.06), 0 18px 44px rgba(21,23,26,.12);
  --shadow-3: 0 4px 10px rgba(21,23,26,.10), 0 40px 90px rgba(21,23,26,.24);
  --shadow-red: 0 10px 30px rgba(217,43,27,.35);
  --ease: cubic-bezier(.2,.7,.2,1);

  --gutter: clamp(20px, 3vw, 40px);
  --section-y: clamp(72px, 7vw, 112px);
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; interpolate-size: allow-keywords; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font); font-size: 18px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--red); color: var(--white); }

/* ---------- Type ---------- */
.h1 { margin: 0; font-size: clamp(48px, 6.4vw, 104px); font-weight: 600; letter-spacing: -0.045em; line-height: 0.98; text-wrap: balance; }
.h2 { margin: 0; font-size: clamp(40px, 4.8vw, 72px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
.h3 { margin: 0; font-size: clamp(30px, 3vw, 44px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.lede { margin: 0; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; letter-spacing: -0.01em; }
.sub { margin: 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; letter-spacing: -0.01em; color: var(--ink-mid); }
.label { font-size: 15px; color: var(--ink-mid); }
.muted { color: var(--ink-mid); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.eyebrow i { width: 8px; height: 8px; border-radius: 999px; background: var(--red); box-shadow: 0 0 0 0 rgba(217,43,27,.5); animation: pulse 2.4s ease-in-out infinite; }
.eyebrow--light { color: rgba(255,255,255,.86); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(217,43,27,.55); } 50% { box-shadow: 0 0 0 7px rgba(217,43,27,0); } }

/* ---------- Buttons: pills ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 56px; padding: 0 30px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--ink); color: var(--white); font-size: 17px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 200ms var(--ease), box-shadow 200ms ease;
}
.btn::after { /* light sweep on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 600ms var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { flex: none; transition: transform 200ms var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--red { background: var(--red); }
.btn--red:hover { background: var(--red-deep); }
.btn--glow { box-shadow: var(--shadow-red); }
.btn--glow:hover { box-shadow: 0 16px 40px rgba(217,43,27,.45); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--line-white { background: rgba(255,255,255,.04); color: var(--white); border-color: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.btn--line-white:hover { background: var(--white); color: var(--ink); }
.btn--block { width: 100%; height: 60px; font-size: 18px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.link-strong { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; }
.link-strong svg { transition: transform 200ms var(--ease); }
.link-strong:hover svg { transform: translateX(4px); }

.pill-close {
  display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 22px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white);
  font-size: 17px; cursor: pointer; text-decoration: none; transition: background 160ms ease, color 160ms ease;
}
.pill-close:hover { background: var(--ink); color: var(--white); }

/* ---------- Logo (the rotating mark, kept from the old site) ---------- */
.logo { display: block; width: 48px; height: 48px; border-radius: 999px; overflow: hidden; background: var(--ink); flex: none; box-shadow: var(--shadow-1); transition: transform 300ms var(--ease); }
.logo:hover { transform: rotate(-8deg) scale(1.06); }
.logo video, .motif-mark video { pointer-events: none; }
.logo video { width: 100%; height: 100%; object-fit: cover; }
.site-nav .logo { width: 48px; height: 48px; }
.logo--lg { width: 96px; height: 96px; }
.site-nav { padding-top: 12px; padding-bottom: 12px; }
@media (max-width: 640px) { .site-nav .logo { width: 40px; height: 40px; } .logo--lg { width: 64px; height: 64px; } }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 30;
  padding: 18px var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  font-size: 17px; font-weight: 600;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(21,23,26,.06);
}
.nav-mid { display: flex; gap: clamp(20px, 2.6vw, 36px); }
.nav-mid a, .nav-link { position: relative; }
.nav-mid a::after, .nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 260ms var(--ease);
}
.nav-mid a:hover::after, .nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-end { display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
.nav-end .btn { height: 46px; padding: 0 22px; }
.nav-menu-btn { display: none; min-height: 44px; margin: 0 -8px; padding: 0 8px; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 17px; }

/* Over the dark hero: transparent and white. Once it scrolls away the motif takes over. */
.site-nav--over { position: absolute; top: 0; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; color: var(--white); }
.site-nav--over .nav-end .btn { background: var(--white); color: var(--ink); }

@media (max-width: 960px) {
  .site-nav { grid-template-columns: 1fr auto; }
  .nav-mid, .nav-end .nav-link { display: none; }
  .nav-menu-btn { display: inline-block; }
  .nav-end { gap: 20px; }
}
@media (max-width: 480px) { .nav-end .btn { display: none; } }

/* Full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: 50; background: var(--white); overflow-y: auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  animation: menu-in 420ms var(--ease);
}
@keyframes menu-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
.menu-photo { position: relative; min-height: 240px; background: var(--ink); }
.menu-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.menu-body { padding: 32px clamp(24px, 4vw, 64px); display: flex; flex-direction: column; gap: clamp(48px, 10vh, 120px); }
.menu-body > div:first-child { display: flex; justify-content: flex-end; }
.menu-links { display: flex; flex-direction: column; gap: 8px; }
.menu-links a { font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; transition: color 160ms ease, transform 260ms var(--ease); }
.menu-links a:hover { color: var(--red); transform: translateX(10px); }
@media (max-width: 860px) { .menu-photo { display: none; } }

/* ---------- Photo helpers. Square corners everywhere. ---------- */
.photo { position: relative; overflow: hidden; background: var(--mist); }
.photo > img, .photo > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shade-bottom::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,14,16,0) 45%, rgba(13,14,16,0.72) 100%);
}

/* ---------- Dark sections ---------- */
.dark { background: var(--night); color: var(--white); }
.dark .sub, .dark .muted { color: rgba(255,255,255,.66); }

/* ---------- Hero: a dark stage, the ads playing on 3 phones ---------- */
.hero {
  position: relative; min-height: min(100vh, 980px); overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 80% 20%, #1b1d21 0%, var(--night) 60%); color: var(--white);
  display: flex; flex-direction: column;
}
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-glow {
  position: absolute; z-index: -1; width: 70vmax; height: 70vmax; right: -18vmax; top: -22vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(217,43,27,.42), rgba(217,43,27,.08) 55%, transparent 72%);
  filter: blur(10px); animation: drift 16s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-8vmax, 6vmax) scale(1.12); } }
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 70% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(80% 70% at 60% 40%, #000 20%, transparent 75%);
}
.hero::after { /* film grain */
  content: ""; position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .07;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); } 50% { transform: translate(2%,-3%); } 75% { transform: translate(-2%,-1%); } 100% { transform: translate(1%,3%); } }

.hero-inner {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: 140px var(--gutter) clamp(72px, 10vh, 120px);
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero-h1 span { display: inline-block; animation: rise-in 900ms var(--ease) both; }
.hero-h1 span:nth-child(2) { animation-delay: 90ms; }
.hero-h1 span:nth-child(3) { animation-delay: 180ms; color: transparent; background: linear-gradient(90deg, #fff 0%, #ffb3aa 60%, var(--red) 100%); -webkit-background-clip: text; background-clip: text; }
.hero-copy .lede { max-width: 34ch; color: rgba(255,255,255,.82); animation: rise-in 900ms 260ms var(--ease) both; }
.hero-copy .btn-row { animation: rise-in 900ms 360ms var(--ease) both; }
.hero-copy .eyebrow { animation: rise-in 900ms var(--ease) both; }
.hero-price { font-size: 16px; color: rgba(255,255,255,.7); animation: rise-in 900ms 440ms var(--ease) both; }
.hero-price b { color: var(--white); font-size: 18px; }
@keyframes rise-in { from { opacity: 0; transform: translateY(32px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.hero-stage {
  --rx: 0deg; --ry: 0deg;
  position: relative; height: clamp(440px, 52vw, 640px); perspective: 1400px;
  transform-style: preserve-3d; animation: rise-in 1100ms 200ms var(--ease) both;
}
.hero-stage > * { transition: transform 500ms var(--ease); }
.phone {
  position: absolute; top: 50%; left: 50%; width: clamp(180px, 17vw, 250px); aspect-ratio: 9 / 19.5;
  padding: 9px; border-radius: 38px; background: linear-gradient(145deg, #3a3d42, #101113 40%, #2a2c30);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 40px 80px rgba(0,0,0,.6), 0 12px 24px rgba(0,0,0,.4);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 30%; height: 18px; translate: -50% 0; border-radius: 999px; background: #000; z-index: 2; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #000; }
.phone-screen video, .phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone--c { z-index: 3; transform: translate(-50%, -50%) rotateY(var(--ry)) rotateX(var(--rx)); animation: bob 7s ease-in-out infinite; }
.phone--l { z-index: 2; transform: translate(-112%, -46%) rotate(-9deg) scale(.84) rotateY(calc(var(--ry) * 1.4)); opacity: .9; animation: bob 8s -2s ease-in-out infinite; }
.phone--r { z-index: 2; transform: translate(12%, -54%) rotate(8deg) scale(.84) rotateY(calc(var(--ry) * 1.4)); opacity: .9; animation: bob 9s -4s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -14px; } }
.float-chip {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap;
  background: rgba(255,255,255,.94); color: var(--ink); box-shadow: var(--shadow-3);
  animation: bob 6s ease-in-out infinite;
}
.float-chip img { image-rendering: pixelated; filter: invert(1); }
.float-chip b { font-size: 20px; color: var(--red); }
.float-chip--a { left: 2%; top: 18%; }
.float-chip--b { right: 0; bottom: 14%; animation-delay: -3s; }
.scroll-cue { position: absolute; left: 50%; bottom: 24px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 999px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; translate: -50% 0; border-radius: 4px; background: var(--white); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-stage { height: 420px; margin-top: 12px; }
  .phone { width: 170px; }
  .float-chip--a { left: 0; top: 4%; }
  .scroll-cue { display: none; }
}

/* ---------- Clients: a carousel; each tile opens the client's site ---------- */
.clients { padding: clamp(56px, 6vw, 88px) 0; display: flex; flex-direction: column; gap: 28px; background: var(--white); }
.clients-head { padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.clients-title { margin: 0; font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; letter-spacing: -0.03em; }
.rail-btns { display: flex; gap: 8px; }
.rail-btn { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; background: var(--white); border: 1.5px solid var(--ink); cursor: pointer; transition: background 160ms ease, color 160ms ease, transform 200ms var(--ease); }
.rail-btn:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.logo-rail {
  overflow-x: auto; scrollbar-width: none; cursor: grab; padding: 16px var(--gutter) 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-rail::-webkit-scrollbar { display: none; }
.logo-rail.is-dragging { cursor: grabbing; }
.logo-rail.is-dragging .logo-tile { pointer-events: none; }
.logo-track { display: flex; gap: 14px; width: max-content; }
.logo-tile {
  position: relative; flex: 0 0 clamp(190px, 16vw, 240px); aspect-ratio: 2 / 1; overflow: hidden; display: block;
  background: var(--white); border: 1px solid var(--hairline); box-shadow: var(--shadow-1);
  transition: translate 300ms var(--ease), box-shadow 300ms ease, border-color 300ms ease;
}
.logo-tile img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter 300ms ease, opacity 300ms ease, transform 400ms var(--ease); user-select: none; }
.logo-info {
  position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 1px; padding: 10px 14px;
  background: var(--ink); color: var(--white); transform: translateY(100%); transition: transform 320ms var(--ease);
}
.logo-info b { font-size: 14px; }
.logo-info span { font-size: 12px; color: rgba(255,255,255,.66); }
.logo-info em { position: absolute; right: 14px; top: 50%; translate: 0 -50%; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--white); }
.logo-tile:hover, .logo-tile:focus-visible { translate: 0 -6px; box-shadow: var(--shadow-2); border-color: transparent; }
.logo-tile:hover img, .logo-tile:focus-visible img { filter: none; opacity: 1; transform: translateY(-14%) scale(.92); }
.logo-tile:hover .logo-info, .logo-tile:focus-visible .logo-info { transform: none; }
a.logo-tile:hover .logo-info { background: var(--red); }

/* ---------- Section shell ---------- */
.section { padding: var(--section-y) var(--gutter); }
.section--wide { max-width: 1600px; margin: 0 auto; padding-left: clamp(20px, 6vw, 120px); padding-right: clamp(20px, 6vw, 120px); }
.section--rule { border-top: 1px solid var(--hairline); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head > div { display: flex; flex-direction: column; gap: 16px; }
.section-head .sub { max-width: 40ch; }

/* ---------- How it works: hover a step, the photo changes ---------- */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(48px, 6vw, 96px); align-items: center; }
.steps { display: flex; flex-direction: column; gap: 2px; }
.steps .eyebrow { margin-bottom: 28px; }
.step {
  display: flex; align-items: center; gap: 18px; background: none; border: 0; padding: 0; text-align: left; cursor: pointer;
  font-size: clamp(34px, 4vw, 58px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.16;
  color: var(--ink); transition: color 200ms ease, transform 300ms var(--ease);
}
.step-n { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--ink-soft); width: 26px; align-self: flex-start; margin-top: .9em; transition: color 200ms ease; }
.steps.is-live .step { color: var(--hairline); }
.steps.is-live .step:hover { color: var(--ink-soft); }
.step svg { opacity: 0; transform: translateX(-12px); transition: opacity 200ms ease, transform 300ms var(--ease); flex: none; }
.steps.is-live .step.is-on { color: var(--ink); transform: translateX(8px); }
.step.is-on .step-n { color: var(--red); }
.step.is-on svg { opacity: 1; transform: none; }
.step-line { margin: 32px 0 0; font-size: 20px; line-height: 1.5; color: var(--ink-mid); max-width: 38ch; min-height: 4.5em; }
.step-photos { position: relative; aspect-ratio: 3 / 4; width: 100%; max-width: 560px; max-height: calc(100vh - 180px); justify-self: end; overflow: hidden; background: var(--mist); box-shadow: var(--shadow-3); }
.step-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 500ms ease, transform 1200ms var(--ease); }
.step-photos img.is-on { opacity: 1; transform: scale(1); }
.step-count { position: absolute; left: 20px; bottom: 20px; z-index: 2; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.92); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-1); }

/* ---------- What you get (main site): 3 cards, then a strip pointing to the ads site ---------- */
.offer { background: var(--white); }
.offer-wrap { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(32px, 4vw, 52px); }
.offer-head { display: flex; flex-direction: column; gap: 18px; }
.offer-head .h2 { max-width: 20ch; font-size: clamp(36px, 3.8vw, 58px); }
.offer-head .sub { max-width: 48ch; }
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.offer-card { display: flex; flex-direction: column; background: var(--field); }
.offer-photo { aspect-ratio: 4 / 3; }
.offer-photo--top > img { object-position: top; }
.offer-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(22px, 2.4vw, 32px); }
.offer-n { font-size: 14px; font-weight: 600; color: var(--red); }
.offer-body h3 { margin: 0; font-size: clamp(26px, 2.2vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.offer-body p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink-mid); }
.offer-body .offer-price { margin-top: auto; padding-top: 8px; color: var(--ink); font-size: 16px; }
.offer-price b { font-size: 20px; letter-spacing: -0.02em; }
.offer-price .from { font-size: 1em; vertical-align: 0; color: var(--ink-mid); }
.offer-ads { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: clamp(24px, 3vw, 36px); background: var(--ink); color: rgba(255,255,255,.75); }
.offer-ads > div { display: flex; flex-direction: column; gap: 6px; max-width: 52ch; font-size: 17px; line-height: 1.5; }
.offer-ads b { color: var(--white); font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Campaign: the usual way vs TRIGRAMS, one row per "one" ---------- */
.campaign { background: var(--white); }
.campaign-wrap { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(32px, 4vw, 52px); }
.campaign-head { display: flex; flex-direction: column; gap: 18px; }
.campaign-head .h2 { max-width: 22ch; font-size: clamp(36px, 3.8vw, 58px); }
.campaign-head .sub { max-width: 46ch; }
.campaign-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }

.vs-row { display: grid; grid-template-columns: minmax(140px, .7fr) minmax(0, 1fr) minmax(0, 1.15fr); }
.vs-row > * { padding: 22px clamp(16px, 2vw, 28px); border-top: 1px solid var(--hairline); font-size: 17px; line-height: 1.45; }
.vs-row--head > * { border-top: 0; padding-top: 18px; padding-bottom: 14px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.vs-label { padding-left: 0 !important; font-weight: 600; }
.vs-usual { color: var(--ink-mid); }
.vs-mine { display: flex; flex-direction: column; gap: 4px; background: var(--ink); color: rgba(255,255,255,.78); border-top-color: rgba(255,255,255,.14) !important; }
.vs-mine b { color: var(--white); font-size: clamp(20px, 1.7vw, 24px); font-weight: 600; letter-spacing: -0.02em; }
.vs-mine .from { color: rgba(255,255,255,.6); font-size: .8em; vertical-align: 0; }
.vs-row--head .vs-mine { color: var(--white); border-radius: 14px 14px 0 0; }
.vs-row:last-child .vs-mine { border-radius: 0 0 14px 14px; }
@media (max-width: 760px) {
  .vs-row { grid-template-columns: 1fr 1fr; }
  .vs-row > * { padding: 16px; font-size: 16px; }
  .vs-label { grid-column: 1 / -1; padding: 22px 0 10px !important; }
  .vs-row--head > :first-child { display: none; }
  .vs-row:not(.vs-row--head) .vs-usual, .vs-row:not(.vs-row--head) .vs-mine { border-top: 0; }
  .vs-usual { padding-left: 0; }
  .vs-row:not(.vs-row--head) .vs-mine { border-radius: 12px; }
  .vs-row--head .vs-mine { border-radius: 12px; }
}

/* ---------- What's included: rail on the left, the part on the right ---------- */
.included { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: 24px clamp(32px, 4vw, 64px); align-items: start; }
.included-head { display: flex; flex-direction: column; gap: 12px; grid-row: 1; grid-column: 1; }
.tl { display: contents; }
.tl-rail { grid-column: 1; grid-row: 2; position: relative; display: flex; flex-direction: column; gap: 4px; }
.tl-bar { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--hairline); }
.tl-bar i { position: absolute; left: 0; right: 0; top: 0; height: var(--fill, 0%); background: var(--red); transition: height 500ms var(--ease); }
.tl-node { position: relative; display: grid; grid-template-columns: 56px auto 1fr; align-items: center; gap: 14px; padding: 6px 12px 6px 0; background: none; border: 0; cursor: pointer; text-align: left; border-radius: 999px; transition: background 200ms ease; }
.tl-node:hover { background: rgba(21,23,26,.04); }
.tl-dot { width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; background: var(--white); border: 1.5px solid var(--hairline); box-shadow: var(--shadow-1); transition: transform 300ms var(--ease), background 200ms ease, border-color 200ms ease, box-shadow 300ms ease; }
.tl-dot img { image-rendering: pixelated; transition: filter 200ms ease; }
.tl-num { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.tl-name { font-size: 18px; font-weight: 600; line-height: 1.25; color: var(--ink-mid); transition: color 200ms ease; }
.tl-node:hover .tl-dot { transform: scale(1.06); box-shadow: var(--shadow-2); }
.tl-node.is-done .tl-dot { border-color: var(--red); }
.tl-node.is-on .tl-dot { background: var(--red); border-color: var(--red); transform: scale(1.1); box-shadow: var(--shadow-red); }
.tl-node.is-on .tl-dot img { filter: brightness(0) invert(1); }
.tl-node.is-on .tl-name { color: var(--ink); }
.tl-node.is-on .tl-num { color: var(--red); }
.tl-stage { grid-column: 2; grid-row: 1 / span 2; position: relative; align-self: stretch; display: grid; }
.tl-panel {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; min-height: 100%;
  background: var(--white); border: 1px solid var(--hairline); box-shadow: var(--shadow-3); overflow: hidden;
  animation: panel-in 500ms var(--ease);
}
@keyframes panel-in { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
.tl-copy { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(24px, 3vw, 48px); }
.tl-step { font-size: 14px; font-weight: 600; color: var(--red); letter-spacing: .04em; text-transform: uppercase; }
.tl-copy h4 { margin: 0; font-size: clamp(30px, 3vw, 46px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; }
.tl-copy dl { margin: 6px 0 0; display: flex; flex-direction: column; gap: 16px; }
.tl-copy dt { font-size: 13px; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.tl-copy dd { margin: 0; font-size: 17px; line-height: 1.5; }
.tl-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.tl-get { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 15px; font-weight: 600; }
.tl-arrows { display: flex; gap: 6px; }
.tl-arrows button { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; border: 1.5px solid var(--ink); background: var(--white); cursor: pointer; transition: background 160ms ease, color 160ms ease, transform 200ms var(--ease); }
.tl-arrows button:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }

/* ---------- Scenes: one small animated picture per part ---------- */
.scene { position: relative; min-height: 440px; overflow: hidden; background: var(--night); color: var(--white); display: grid; place-items: center; padding: 28px; isolation: isolate; }
.scene-bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.06); animation: kenburns 14s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.16) translate(-2%, -1%); } }
.scene-caption { position: absolute; left: 16px; bottom: 14px; font-size: 12px; color: rgba(255,255,255,.6); letter-spacing: .04em; }

/* Plan: a script on paper */
.doc { width: min(100%, 380px); background: var(--white); color: var(--ink); padding: 22px 22px 26px; box-shadow: 0 30px 60px rgba(0,0,0,.45); transform: rotate(-2deg); animation: doc-in 700ms var(--ease) both; position: relative; }
@keyframes doc-in { from { opacity: 0; transform: translateY(30px) rotate(-6deg); } }
.doc-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1.5px solid var(--ink); }
.doc-head b { font-size: 18px; } .doc-head span { font-size: 13px; color: var(--ink-mid); }
.doc-row { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; line-height: 1.4; opacity: 0; animation: row-in 500ms var(--ease) forwards; }
.doc-row:nth-child(2) { animation-delay: 300ms; } .doc-row:nth-child(3) { animation-delay: 500ms; } .doc-row:nth-child(4) { animation-delay: 700ms; } .doc-row:nth-child(5) { animation-delay: 900ms; }
@keyframes row-in { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.doc-row i { font-style: normal; font-size: 12px; color: var(--ink-soft); padding-top: 2px; font-variant-numeric: tabular-nums; }
.doc-row em { display: block; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--red); text-decoration: none; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.doc-stamp { position: absolute; right: -14px; bottom: -14px; padding: 8px 16px; border: 2px solid var(--red); color: var(--red); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; background: var(--white); transform: rotate(-8deg); animation: stamp 500ms 1300ms cubic-bezier(.3,1.6,.5,1) both; }
@keyframes stamp { from { opacity: 0; transform: rotate(-8deg) scale(2); } }

/* Film: a camera viewfinder over a still from a shoot */
.scene--film .scene-bg { opacity: .9; }
.vf { position: absolute; inset: 22px; font-size: 13px; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.vf-c { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(255,255,255,.9); }
.vf-c--tl { left: 0; top: 0; border-right: 0; border-bottom: 0; } .vf-c--tr { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.vf-c--bl { left: 0; bottom: 0; border-right: 0; border-top: 0; } .vf-c--br { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.vf-rec { position: absolute; left: 38px; top: 6px; display: inline-flex; align-items: center; gap: 8px; }
.vf-rec i { width: 10px; height: 10px; border-radius: 999px; background: var(--red); animation: blink 1.2s steps(1) infinite; }
.vf-tc { position: absolute; right: 38px; top: 6px; }
.vf-meta { position: absolute; left: 38px; bottom: 6px; }
.vf-batt { position: absolute; right: 38px; bottom: 8px; width: 28px; height: 13px; border: 1.5px solid #fff; border-radius: 3px; padding: 1.5px; }
.vf-batt i { display: block; height: 100%; width: 70%; background: #fff; border-radius: 1px; }
.vf-focus { position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; translate: -50% -50%; border: 1.5px solid rgba(255,255,255,.9); animation: focus 2.6s ease-in-out infinite; }
@keyframes focus { 0%, 100% { scale: 1.25; opacity: .4; } 30%, 80% { scale: 1; opacity: 1; } }

/* Edit: the cut playing above a timeline */
.scene--edit { background: #17181b; padding: 22px; grid-template-rows: 1fr auto; place-items: stretch; gap: 16px; }
.ed-view { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; min-height: 0; }
.ed-frame { height: 270px; aspect-ratio: 9 / 16; background: #000; border-radius: 6px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.ed-frame video { width: 100%; height: 100%; object-fit: cover; }
.ed-out { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ed-out span { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 14px; font-weight: 600; opacity: 0; animation: row-in 500ms var(--ease) forwards; }
.ed-out span:nth-child(2) { animation-delay: 150ms; } .ed-out span:nth-child(3) { animation-delay: 300ms; } .ed-out span:nth-child(4) { animation-delay: 450ms; }
.ed-tl { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 10px; background: #0d0e10; border-radius: 6px; }
.ed-track { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: center; height: 26px; }
.ed-track b { font-size: 11px; color: rgba(255,255,255,.5); }
.clips { display: flex; gap: 3px; height: 100%; }
.clips i { width: var(--w); background: linear-gradient(180deg, #5b6cff, #3b48c9); border-radius: 3px; }
.clips--cc i { background: linear-gradient(180deg, #f2b53a, #c98d16); height: 70%; align-self: center; }
.wave { height: 100%; border-radius: 3px; background: repeating-linear-gradient(90deg, #2fbf71 0 2px, transparent 2px 4px); -webkit-mask-image: linear-gradient(0deg, transparent 0 20%, #000 20% 80%, transparent 80%); opacity: .8; }
.ed-head { position: absolute; top: 4px; bottom: 4px; left: 46px; width: 2px; background: var(--red); box-shadow: 0 0 8px rgba(217,43,27,.8); animation: playhead 6s linear infinite; }
@keyframes playhead { to { left: calc(100% - 12px); } }

/* Set up: an Ads Manager style panel */
.scene--setup { background: radial-gradient(90% 90% at 30% 20%, #24262b, var(--night)); }
.am { width: min(100%, 400px); background: var(--white); color: var(--ink); border-radius: 10px; padding: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.45); display: flex; flex-direction: column; animation: doc-in 600ms var(--ease) both; }
.am-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--hairline); }
.am-head span { display: flex; flex-direction: column; } .am-head b { font-size: 16px; } .am-head small { font-size: 12px; color: var(--ink-mid); }
.am-toggle { width: 44px; height: 26px; border-radius: 999px; background: #2fbf71; position: relative; flex: none; }
.am-toggle i { position: absolute; right: 3px; top: 3px; width: 20px; height: 20px; border-radius: 999px; background: #fff; animation: toggle 600ms 400ms var(--ease) both; }
@keyframes toggle { from { right: 21px; } }
.am-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.am-row span { color: var(--ink-mid); }
.am-row .ok { color: #1f9d5c; } .am-row .ok::before { content: "● "; font-size: 10px; vertical-align: 2px; }
.am-ab { padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.am-ab-label { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.am-bar { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.am-bar i { height: 10px; border-radius: 999px; background: var(--red); width: var(--to); animation: grow 1.4s 300ms var(--ease) both; }
.am-bar--b i { background: var(--pewter); }
@keyframes grow { from { width: 0; } }

/* Leads: notifications landing on a phone */
.scene--leads { background: radial-gradient(80% 80% at 70% 30%, rgba(217,43,27,.35), var(--night) 70%); }
.mini-phone { width: 250px; height: 400px; border-radius: 36px; padding: 50px 12px 12px; background: linear-gradient(160deg, #2a2c31, #0e0f11); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 40px 80px rgba(0,0,0,.6); position: relative; display: flex; flex-direction: column; gap: 8px; }
.mp-time { position: absolute; top: 18px; left: 0; right: 0; text-align: center; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8); }
.note { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 12px; line-height: 1.35; opacity: 0; animation: note-in 600ms var(--ease) forwards; animation-delay: calc(var(--n) * 700ms + 200ms); }
@keyframes note-in { from { opacity: 0; transform: translateY(-16px) scale(.96); } to { opacity: 1; transform: none; } }
.note b { font-size: 13px; } .note span { grid-column: 1 / -1; color: var(--ink-mid); } .note i { font-style: normal; color: var(--ink-soft); }

/* Report: the real NLPSC numbers */
.scene--report { background: radial-gradient(90% 90% at 70% 80%, #24262b, var(--night)); }
.rpt { width: min(100%, 420px); background: var(--white); color: var(--ink); border-radius: 10px; padding: 20px; box-shadow: 0 30px 60px rgba(0,0,0,.45); animation: doc-in 600ms var(--ease) both; }
.rpt-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); }
.rpt-head b { font-size: 17px; } .rpt-head span { font-size: 12px; color: var(--ink-mid); }
.rpt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline); margin: 14px 0; }
.rpt-grid div { background: var(--white); padding: 14px 12px; display: flex; flex-direction: column; gap: 2px; opacity: 0; animation: row-in 500ms var(--ease) forwards; }
.rpt-grid div:nth-child(2) { animation-delay: 150ms; } .rpt-grid div:nth-child(3) { animation-delay: 300ms; } .rpt-grid div:nth-child(4) { animation-delay: 450ms; }
.rpt-grid b { font-size: 30px; letter-spacing: -0.04em; line-height: 1; } .rpt-grid div:first-child b { color: var(--red); }
.rpt-grid span { font-size: 12px; color: var(--ink-mid); }
.rpt-next { display: flex; gap: 10px; align-items: baseline; font-size: 14px; padding: 10px 12px; background: var(--field); }
.rpt-next b { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--red); }

@media (max-width: 960px) {
  .included { grid-template-columns: 1fr; }
  .tl-rail { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 8px; }
  .tl-bar { display: none; }
  .tl-node { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 6px; padding: 0; border-radius: 0; }
  .tl-node:hover { background: none; }
  .tl-name { font-size: 15px; }
  .tl-stage { grid-column: 1; grid-row: 3; }
  .tl-panel { grid-template-columns: 1fr; }
  .scene { min-height: 340px; }
  .ed-frame { height: 200px; }
  .mini-phone { width: 220px; height: 330px; }
}

.budget-sec { padding-top: 0; }

/* Ad budget: a slider instead of a table */
.budget { max-width: 1280px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.budget-copy { display: flex; flex-direction: column; gap: 18px; }
.callout { margin: 8px 0 0; border-left: 3px solid var(--red); padding: 4px 0 4px 20px; font-size: 18px; line-height: 1.55; }
.meter { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3vw, 40px); background: var(--white); border: 1px solid var(--hairline); box-shadow: var(--shadow-3); }
.meter-label { font-size: 15px; color: var(--ink-mid); }
.meter-read { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.meter-read div { display: flex; flex-direction: column; gap: 4px; }
.meter-read b { font-size: clamp(36px, 4vw, 56px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.meter-read span { font-size: 15px; color: var(--ink-mid); }
.meter input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, var(--red) 0 var(--pct, 33%), var(--mist) var(--pct, 33%) 100%);
}
.meter input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 999px; background: var(--white); border: 2px solid var(--ink); box-shadow: var(--shadow-2); transition: transform 150ms ease; }
.meter input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.meter input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 999px; background: var(--white); border: 2px solid var(--ink); box-shadow: var(--shadow-2); }
.meter-scale { position: relative; height: 58px; font-size: 13px; color: var(--ink-mid); margin-top: -10px; }
.meter-scale span { position: absolute; left: var(--at); top: 0; white-space: nowrap; transform: translateX(-50%); }
.meter-scale span::before { content: ""; display: block; width: 1.5px; height: 8px; margin: 0 auto 4px; background: var(--ink-soft); }
.meter-scale .meter-rec { top: 30px; left: var(--at); width: calc(var(--to) - var(--at)); transform: none; display: flex; flex-direction: column; align-items: center; color: var(--ink); font-weight: 600; }
.meter-scale .meter-rec::before { width: 100%; height: 4px; border-radius: 999px; margin: 0 0 4px; background: var(--ink); }
.meter-verdict { padding: 18px 20px; border-radius: 4px; background: var(--field); border-left: 4px solid var(--ink-soft); transition: background 300ms ease, border-color 300ms ease; }
.meter-verdict b { font-size: 18px; }
.meter-verdict p { margin: 4px 0 0; font-size: 16px; color: var(--ink-mid); }
.meter-verdict[data-tier="low"] { border-color: var(--red); background: #FBEDEB; }
.meter-verdict[data-tier="min"] { border-color: var(--pewter); }
.meter-verdict[data-tier="rec"] { border-color: var(--ink); background: #EEF0EE; }
.meter-verdict[data-tier="fast"] { border-color: var(--ink); }
@media (max-width: 520px) { .meter-scale span:not(.meter-rec) { display: none; } }


/* ---------- Ad cards (videos) ---------- */
.ads .section-head .h2 { max-width: 14ch; }
.ads .link-strong { color: var(--white); }
.cards { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 8px var(--gutter) 24px; }
.cards::-webkit-scrollbar { display: none; }
.cards--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); overflow: visible; margin: 0; padding: 0; }
.card { flex: 0 0 clamp(200px, 18vw, 260px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; text-decoration: none; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: inherit; }
.card .photo { aspect-ratio: 9 / 16; background: #000; border-radius: 4px; box-shadow: var(--shadow-2); transition: transform 400ms var(--ease), box-shadow 400ms ease; }
.card .photo video, .card .photo > img { transition: transform 900ms var(--ease); }
.card:hover .photo { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-3); }
.card:hover .photo video, .card:hover .photo > img { transform: scale(1.06); }
.dark .card .photo { box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.card-stat { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; color: var(--white); display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.card-stat b { font-size: clamp(30px, 2.6vw, 40px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.card-stat span { font-size: 15px; font-weight: 500; }
.card-play { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 999px; background: rgba(255,255,255,0.92); color: var(--ink); display: grid; place-items: center; transition: transform 300ms var(--ease), background 200ms ease, color 200ms ease; }
.card:hover .card-play { transform: scale(1.15); background: var(--red); color: var(--white); }
.card-meta { display: flex; flex-direction: column; gap: 2px; }
.card-meta b { font-size: 17px; font-weight: 600; }
.card-meta span { font-size: 15px; color: var(--ink-mid); }
.dark .card-meta span { color: rgba(255,255,255,.6); }

/* Video lightbox */
.viewer { border: 0; padding: 0; background: transparent; max-width: min(92vw, 460px); width: 100%; overflow: visible; }
.viewer[open] { animation: panel-in 400ms var(--ease); }
.viewer::backdrop { background: rgba(13,14,16,0.9); backdrop-filter: blur(6px); }
.viewer video { width: 100%; max-height: 86vh; background: #000; box-shadow: var(--shadow-3); }
.viewer .pill-close { position: absolute; top: 12px; right: 12px; z-index: 2; height: 40px; padding: 0 16px; font-size: 15px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; max-width: 1500px; margin: 0 auto; }
.about-photo { position: relative; }
.about-photo .photo { aspect-ratio: 4 / 5; max-height: calc(100vh - 160px); margin-inline: auto; box-shadow: var(--shadow-3); }
.about-photo .photo img { scale: 1.12; }
.about-tag { position: absolute; right: -16px; bottom: 32px; padding: 12px 20px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 15px; font-weight: 600; box-shadow: var(--shadow-red); }
.about-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.about-copy .h2 { max-width: 15ch; }
.about-copy .lede { max-width: 40ch; }
.about-copy .sub { max-width: 46ch; }
.facts { list-style: none; margin: 8px 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.facts li { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: var(--field); border: 1px solid var(--hairline); transition: transform 300ms var(--ease), box-shadow 300ms ease, background 300ms ease; }
.facts li:hover { transform: translateY(-4px); background: var(--white); box-shadow: var(--shadow-2); }
.facts b { font-size: 34px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.facts span { font-size: 15px; line-height: 1.35; color: var(--ink-mid); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-tag { right: 12px; } }

/* ---------- Free resources: a live glimpse of The Cutting Room ---------- */
.resource { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.resource::before { content: ""; position: absolute; z-index: -1; width: 60vmax; height: 60vmax; left: -20vmax; bottom: -30vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(217,43,27,.28), transparent 70%); }
.resource-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.resource-copy .h2 { max-width: 14ch; }
.res-tabs { display: flex; flex-direction: column; width: 100%; border-top: 1px solid rgba(255,255,255,.16); }
.res-tab { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; padding: 18px 12px; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.16); text-align: left; cursor: pointer; color: rgba(255,255,255,.62); transition: background 200ms ease, color 200ms ease, padding 300ms var(--ease); }
.res-tab .ts-icon { width: 22px; height: 22px; margin-top: 2px; opacity: .6; transition: opacity 200ms ease; }
.res-tab > span { display: flex; flex-direction: column; gap: 4px; }
.res-tab b { font-size: 20px; color: inherit; }
.res-tab span span { font-size: 15px; line-height: 1.45; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 400ms var(--ease), opacity 300ms ease; }
.res-tab:hover { color: var(--white); background: rgba(255,255,255,.04); }
.res-tab.is-on { color: var(--white); padding-left: 20px; background: rgba(255,255,255,.06); box-shadow: inset 3px 0 0 var(--red); }
.res-tab.is-on .ts-icon { opacity: 1; }
.res-tab.is-on span span { max-height: 6em; opacity: .8; }
.browser {
  --rx: 0deg; --ry: 0deg;
  display: block; border-radius: 12px; overflow: hidden; background: #1a1b1e; text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 50px 100px rgba(0,0,0,.6), 0 0 120px rgba(217,43,27,.18);
  transform: perspective(1400px) rotateY(var(--ry)) rotateX(var(--rx)); transition: transform 400ms var(--ease), box-shadow 400ms ease;
}
.browser:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 60px 120px rgba(0,0,0,.7), 0 0 160px rgba(217,43,27,.3); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #222327; border-bottom: 1px solid rgba(255,255,255,.06); }
.browser-bar i { width: 11px; height: 11px; border-radius: 999px; background: #44464b; }
.browser-bar i:first-child { background: #ff5f57; } .browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-url { margin-left: 14px; flex: 1; max-width: 360px; padding: 5px 14px; border-radius: 999px; background: #15161a; color: rgba(255,255,255,.6); font-size: 13px; }
.browser-view { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.browser-view img { width: 100%; height: auto; transform: translateY(var(--shot-y, 0%)); transition: transform 1400ms var(--ease); }
@media (max-width: 860px) { .resource { grid-template-columns: 1fr; } }

/* ---------- FAQ: filter, numbered, one open at a time ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; max-width: 1500px; margin: 0 auto; }
.faq-side { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.faq-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-filter button { height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--white); font-size: 15px; font-weight: 600; cursor: pointer; transition: background 160ms ease, color 160ms ease, transform 200ms var(--ease); }
.faq-filter button:hover { transform: translateY(-2px); }
.faq-filter button.is-on { background: var(--ink); color: var(--white); }
.faq-ask { margin: 0; font-size: 17px; color: var(--ink-mid); }
.faq-ask a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--hairline); box-shadow: var(--shadow-1); transition: box-shadow 300ms ease, transform 300ms var(--ease), border-color 300ms ease; }
.faq-item:hover { translate: 6px 0; box-shadow: var(--shadow-2); }
.faq-item[open] { border-color: var(--ink); box-shadow: var(--shadow-3); translate: none; }
.faq-item summary { list-style: none; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 24px 28px; cursor: pointer; font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; letter-spacing: -0.02em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-num { font-size: 14px; color: var(--ink-soft); font-weight: 600; letter-spacing: 0; transition: color 200ms ease; }
.faq-item[open] .faq-num { color: var(--red); }
.faq-item summary svg { width: 36px; height: 36px; padding: 8px; border-radius: 999px; background: var(--field); transition: transform 300ms var(--ease), background 200ms ease, color 200ms ease; }
.faq-item:hover summary svg { background: var(--mist); }
.faq-item[open] summary svg { transform: rotate(135deg); background: var(--red); color: var(--white); }
.faq-item::details-content { height: 0; overflow: clip; transition: height 400ms var(--ease), content-visibility 400ms allow-discrete; }
.faq-item[open]::details-content { height: auto; }
.faq-a { margin: 0; padding: 0 28px 28px 80px; font-size: 18px; line-height: 1.6; color: var(--ink-mid); max-width: 64ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq-side { position: static; } .faq-a { padding-left: 28px; } }

/* ---------- Closing CTA ---------- */
.cta { position: relative; min-height: 640px; overflow: hidden; background: var(--night); color: var(--white); display: flex; align-items: flex-end; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,14,16,0.15) 10%, rgba(13,14,16,0.78) 100%); }
.cta-copy { position: relative; z-index: 2; padding: clamp(48px, 8vw, 96px) var(--gutter); display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cta-copy .h2 { max-width: 14ch; font-size: clamp(44px, 6vw, 92px); }
.cta-copy .lede { max-width: 34ch; }

/* ---------- Footer: clean ---------- */
.site-footer { padding: 64px var(--gutter) 40px; display: flex; flex-direction: column; gap: 56px; font-size: 16px; }
.footer-news {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 28px 32px; background: var(--field); border: 1px solid var(--hairline); text-decoration: none;
  transition: box-shadow 300ms ease, transform 300ms var(--ease);
}
.footer-news:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }
.footer-news-copy { display: flex; align-items: center; gap: 16px; max-width: 62ch; font-size: 18px; line-height: 1.45; }
.footer-news .btn { height: 48px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 20px; max-width: 520px; }
.footer-brand .logo { width: 96px; height: 96px; }
.footer-brand p { margin: 0; font-size: 20px; line-height: 1.4; letter-spacing: -0.01em; }
.socials { display: flex; gap: 10px; }
.socials a { width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center; border: 1.5px solid var(--ink); transition: background 200ms ease, color 200ms ease, transform 300ms var(--ease), box-shadow 300ms ease; }
.socials a:hover { background: var(--ink); color: var(--white); transform: translateY(-4px) rotate(-6deg); box-shadow: var(--shadow-2); }
.ts-icon { width: 16px; height: 16px; image-rendering: pixelated; flex: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 40px; align-items: center; padding-top: 24px; border-top: 1px solid var(--hairline); color: var(--ink-mid); font-size: 14px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--ink); }

/* ---------- Scroll-driven motion (no JS) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    [data-reveal] { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(60px) scale(.98); } to { opacity: 1; transform: none; } }

    @keyframes tile-in { from { opacity: 0; transform: translateY(40px) scale(.94); } to { opacity: 1; transform: none; } }

    .about-photo .photo img, .cta > img { animation: parallax linear both; animation-timeline: view(); }
    @keyframes parallax { from { transform: translateY(-6%); } to { transform: translateY(6%); } }

    .hero-inner { animation: hero-out linear both; animation-timeline: scroll(root); animation-range: 0px 100vh; }
    @keyframes hero-out { to { transform: translateY(18vh); opacity: .2; } }

    .card { animation: card-in linear both; animation-timeline: view(inline); animation-range: entry 0% cover 30%; }
    @keyframes card-in { from { opacity: .3; transform: scale(.9) rotateY(-12deg); } to { opacity: 1; transform: none; } }

    .faq-item { animation: tile-in linear both; animation-timeline: view(); animation-range: entry 0% cover 18%; }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  /* Things that animate in from invisible must still show. */
  .doc-row, .note, .rpt-grid div, .ed-out span { opacity: 1; }
}

/* ---------- Book a call / Enquire ---------- */
.booking { min-height: 100vh; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.booking-photo { position: relative; min-height: 320px; background: var(--ink); }
.booking-photo > div { position: sticky; top: 0; height: min(100vh, 100%); min-height: 320px; }
.booking-photo img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.booking-photo .logo { position: absolute; top: 24px; left: var(--gutter); z-index: 2; }
.booking-main { padding: 24px clamp(20px, 4vw, 64px) 96px; display: flex; flex-direction: column; gap: clamp(40px, 8vh, 88px); }
.booking-main > .top { display: flex; justify-content: flex-end; }
.booking-body { max-width: 680px; width: 100%; display: flex; flex-direction: column; gap: 32px; }
.booking-body > header { display: flex; flex-direction: column; gap: 16px; }
.booking-body > header p { margin: 0; font-size: 20px; line-height: 1.5; }


/* Steps indicator */
.progress { display: flex; gap: 8px; font-size: 15px; color: var(--ink-mid); }
.progress span { display: inline-flex; align-items: center; gap: 8px; }
.progress span::before { content: ""; width: 24px; height: 3px; background: var(--hairline); }
.progress span.is-on { color: var(--ink); font-weight: 600; }
.progress span.is-on::before { background: var(--ink); }

/* Summary of the deal, shown before the questions */
.terms { border: 1px solid var(--hairline); padding: 24px 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.terms div { display: flex; flex-direction: column; gap: 4px; }
.terms b { font-size: 24px; letter-spacing: -0.02em; }
.terms span { font-size: 15px; color: var(--ink-mid); }

/* ---------- Enquire: dark cinematic side, stepped form card ---------- */
.enq { min-height: 100vh; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.enq-side {
  position: sticky; top: 0; height: 100vh; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 90% at 20% 10%, #1b1d21 0%, var(--night) 60%); color: var(--white);
  display: flex; flex-direction: column;
}
.enq-side::after { content: ""; position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .07;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
.enq-side .hero-glow { right: auto; left: -20vmax; top: auto; bottom: -30vmax; }
.enq-side-inner { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; gap: clamp(24px, 4vh, 44px); padding: 28px clamp(24px, 4vw, 64px) 40px; max-width: 640px; }
.enq-intro { display: flex; flex-direction: column; gap: 16px; animation: rise-in 900ms var(--ease) both; }
.enq-intro .h2 { max-width: 12ch; }
.enq-intro .lede { color: rgba(255,255,255,.78); max-width: 34ch; }
.enq-next { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.enq-next li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); animation: rise-in 900ms var(--ease) both; }
.enq-next li:nth-child(2) { animation-delay: 120ms; } .enq-next li:nth-child(3) { animation-delay: 240ms; }
.enq-next b { font-size: 14px; color: var(--red); padding-top: 3px; }
.enq-next span { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: rgba(255,255,255,.64); }
.enq-next strong { font-size: 18px; color: var(--white); }
.enq-terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; }
.enq-terms div { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); }
.enq-terms b { font-size: 22px; letter-spacing: -0.02em; }
.enq-terms span { font-size: 13px; line-height: 1.35; color: rgba(255,255,255,.6); }
.enq-phone { position: absolute; z-index: 1; right: -40px; top: 50%; translate: 0 -50%; width: 240px; height: 520px; opacity: .9; }
.enq-phone .phone--solo { transform: translate(-50%, -50%) rotate(8deg); animation: bob 8s ease-in-out infinite; }
.enq-phone .float-chip--b { right: auto; left: -40px; bottom: 18%; }
@media (min-width: 1281px) { .enq-intro, .enq-next { max-width: calc(100% - 230px); } }
@media (max-width: 1280px) { .enq-phone { display: none; } }

.enq-main { display: flex; flex-direction: column; gap: 24px; padding: 24px clamp(20px, 4vw, 64px) 80px; background: linear-gradient(180deg, var(--field), var(--white) 40%); }
.enq-top { display: flex; justify-content: flex-end; }
.enq-card, .enq-main .result { width: 100%; max-width: 640px; margin: 0 auto; padding: clamp(24px, 3vw, 44px); background: var(--white); border: 1px solid var(--hairline); box-shadow: var(--shadow-3); animation: panel-in 600ms var(--ease) both; }
.enq-alt { width: 100%; max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.result-tick { width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; background: var(--red); color: var(--white); box-shadow: var(--shadow-red); }
@media (max-width: 900px) {
  .enq { grid-template-columns: 1fr; }
  .enq-side { position: relative; height: auto; }
  .enq-side-inner { padding-bottom: 32px; }
  .enq-next, .enq-terms { display: none; }
  .enq-main { padding-top: 0; background: var(--field); }
  .enq-top { display: none; }
  .enq-card { margin-top: -12px; }
}

/* ---------- Stepped forms (site.js adds the progress + buttons) ---------- */
.form-progress { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.form-progress-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--ink-mid); }
.form-progress-row b { font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.form-progress-bar { height: 4px; background: var(--mist); border-radius: 999px; overflow: hidden; }
.form-progress-bar i { display: block; height: 100%; width: var(--p, 33%); background: var(--red); border-radius: 999px; transition: width 500ms var(--ease); }
.form-step { display: flex; flex-direction: column; gap: 20px; }
.js-steps .form-step { animation: step-in 450ms var(--ease); }
@keyframes step-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.form-nav { display: flex; justify-content: space-between; gap: 12px; }
.form-nav .btn { flex: 1; }
.form-nav [data-step-back] { flex: 0 0 auto; }

/* ---------- Forms: square fields, 1.5px ink border ---------- */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border: 1.5px solid var(--ink); background: var(--white); }
.field:focus-within { outline: 2px solid var(--red); outline-offset: 2px; }
.field span { font-size: 15px; }
.field input, .field textarea, .field select { border: 0; outline: 0; padding: 0; font: inherit; font-size: 18px; background: transparent; color: var(--ink); width: 100%; }
.field textarea { line-height: 1.5; resize: vertical; }
.q { border: 0; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.q legend { padding: 0; font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.q .hint { margin: -6px 0 4px; font-size: 15px; color: var(--ink-mid); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--ink);
  font-size: 16px; font-weight: 500; line-height: 1.25; background: var(--white); transition: background 140ms ease, color 140ms ease;
}
.chip input:checked + span { background: var(--ink); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; font-size: 17px; line-height: 1.5; cursor: pointer; margin-top: 8px; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.form-note { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-mid); }
.form-note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-error { margin: 0; font-size: 16px; color: var(--red-deep); font-weight: 500; }
.or { display: flex; align-items: center; gap: 16px; font-size: 17px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.hp { position: absolute; left: -9999px; }

/* Result panels after the questions */
.result { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.result[hidden] { display: none; }
.result p { margin: 0; font-size: 20px; line-height: 1.5; }
.calendar-frame { width: 100%; height: 760px; border: 1px solid var(--hairline); background: var(--white); }

/* ---------- Work page ---------- */
.page-hero { padding: clamp(48px, 8vw, 120px) var(--gutter) clamp(40px, 6vw, 80px); display: flex; flex-direction: column; gap: 20px; }
.page-hero .sub { max-width: 44ch; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); border-top: 1px solid var(--ink); }
.stats div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 6px; }
.stats b { font-size: clamp(40px, 4vw, 60px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stats span { font-size: 16px; color: var(--ink-mid); }
.deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.deck img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--mist); }

/* ---------- Legal pages ---------- */
.prose { max-width: 720px; margin: 0 auto; padding: clamp(40px, 6vw, 96px) var(--gutter) 120px; }
.prose h1 { margin: 0 0 12px; font-size: clamp(40px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.prose h2 { margin: 48px 0 12px; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.prose p, .prose li { font-size: 18px; line-height: 1.65; color: var(--ink-mid); }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 404 ---------- */
.lost { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; padding: 48px var(--gutter); }

/* ---------- "From" before a price ---------- */
.from { font-size: .42em; font-weight: 500; letter-spacing: 0; color: var(--ink-mid); vertical-align: .55em; margin-right: .1em; }
.enq-terms .from, .terms .from { font-size: .55em; color: rgba(255,255,255,.6); vertical-align: .2em; }
.terms .from { color: var(--ink-mid); }
.campaign-note { margin: 0; font-size: 15px; color: var(--ink-mid); }
.campaign-note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- What to expect ---------- */
.xp-hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 80% 20%, #1b1d21 0%, var(--night) 60%); color: var(--white); padding: clamp(80px, 10vw, 140px) var(--gutter) clamp(64px, 8vw, 110px); }
.xp-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 900px; }
.xp-hero-copy .h1 { animation: rise-in 900ms var(--ease) both; }
.xp-hero-copy .lede { max-width: 40ch; color: rgba(255,255,255,.8); animation: rise-in 900ms 120ms var(--ease) both; }
.xp-chips { display: flex; flex-wrap: wrap; gap: 10px; animation: rise-in 900ms 240ms var(--ease) both; }
.xp-chips span { padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); font-size: 15px; color: rgba(255,255,255,.8); backdrop-filter: blur(6px); }
.xp-chips b { color: var(--white); font-size: 17px; }
.xp-flow { max-width: 1200px; margin: 0 auto; }
.xp-flow-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.xp-stages { list-style: none; margin: 0; padding: 0; position: relative; display: flex; flex-direction: column; gap: 18px; }
.xp-stages::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(var(--red), var(--hairline)); }
.xp-stage { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start; }
.xp-dot { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; background: var(--white); border: 1.5px solid var(--hairline); box-shadow: var(--shadow-1); }
.xp-dot img { image-rendering: pixelated; }
.xp-stage:first-child .xp-dot { background: var(--red); border-color: var(--red); box-shadow: var(--shadow-red); }
.xp-stage:first-child .xp-dot img { filter: brightness(0) invert(1); }
.xp-card { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 18px; align-items: baseline; padding: 22px 26px; background: var(--white); border: 1px solid var(--hairline); box-shadow: var(--shadow-1); transition: translate 300ms var(--ease), box-shadow 300ms ease; }
.xp-card:hover { translate: 6px 0; box-shadow: var(--shadow-2); }
.xp-n { font-size: 14px; font-weight: 600; color: var(--red); }
.xp-card h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -0.03em; }
.xp-card p { grid-column: 2 / -1; margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-mid); max-width: 62ch; }
.xp-you { grid-row: 1; grid-column: 3; justify-self: end; padding: 6px 14px; border-radius: 999px; background: var(--field); font-size: 13px; font-weight: 600; white-space: nowrap; }
@media (max-width: 700px) {
  .xp-card { grid-template-columns: 1fr; padding: 18px; }
  .xp-card p { grid-column: 1; }
  .xp-you { grid-row: auto; grid-column: 1; justify-self: start; }
  .xp-stage { grid-template-columns: 44px 1fr; gap: 14px; }
  .xp-dot { width: 44px; height: 44px; }
  .xp-stages::before { left: 21px; }
}
.xp-two { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; padding-top: 0; }
.xp-box { padding: clamp(28px, 3vw, 44px); background: var(--white); border: 1px solid var(--hairline); box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 22px; }
.xp-box--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.xp-need, .xp-wont { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.xp-need li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hairline); font-size: 17px; }
.xp-check { width: 20px; height: 20px; border-radius: 999px; background: var(--red); position: relative; margin-top: 2px; }
.xp-check::after { content: ""; position: absolute; left: 6px; top: 3px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.xp-wont li { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.16); }
.xp-wont b { font-size: 18px; }
.xp-wont span { font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.7); }

/* ---------- Motif: the nav, folded into the logo (site.js builds it) ---------- */
/* With JS on, the header scrolls away with the page and the motif replaces it. */
.has-motif .site-nav:not(.site-nav--over) { position: relative; }

.motif {
  --mark: 84px;
  position: fixed; top: calc(16px + env(safe-area-inset-top, 0px)); left: var(--gutter); z-index: 40;
  opacity: 0; visibility: hidden;
  transform: translateY(-12px) scale(.7); transform-origin: calc(var(--mark) / 2) calc(var(--mark) / 2);
  transition: opacity 400ms var(--ease), transform 600ms cubic-bezier(.16,1,.3,1), visibility 0s linear 600ms;
}
.motif.is-visible {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 400ms var(--ease), transform 600ms cubic-bezier(.16,1,.3,1), visibility 0s;
}
.motif-mark {
  position: relative; z-index: 1; width: var(--mark); height: var(--mark); padding: 0; border: 0; border-radius: 999px;
  background: var(--white); box-shadow: 0 12px 30px -12px rgba(21,23,26,.35), 0 0 0 1px var(--hairline);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform 400ms cubic-bezier(.16,1,.3,1);
}
.motif-mark:hover { transform: scale(1.06); }
.motif-mark video { width: 66px; height: 66px; border-radius: 999px; object-fit: cover; background: var(--ink); }

/* the reel runs down as you scroll */
.motif-ring { position: absolute; inset: 0; transform: rotate(-90deg); pointer-events: none; }
.motif-ring circle {
  fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--progress, 0));
}

/* the tray unfolds out of the mark: clipped down to the circle when closed */
.motif-tray {
  position: absolute; top: 0; left: 0; height: var(--mark);
  display: flex; align-items: center; gap: 4px; padding: 0 8px 0 calc(var(--mark) + 6px);
  border-radius: 999px; white-space: nowrap; font-size: 15px; font-weight: 600;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 18px 40px -18px rgba(21,23,26,.35), 0 0 0 1px var(--hairline);
  clip-path: inset(0 calc(100% - var(--mark)) 0 0 round 999px);
  opacity: 0; pointer-events: none;
  transition: clip-path 550ms cubic-bezier(.16,1,.3,1), opacity 200ms ease 150ms;
}
.motif.is-open .motif-tray,
.motif:has(:focus-visible) .motif-tray {
  clip-path: inset(0 0 0 0 round 999px); opacity: 1; pointer-events: auto;
  transition: clip-path 550ms cubic-bezier(.16,1,.3,1), opacity 120ms ease;
}
@media (hover: hover) {
  .motif.is-visible:hover .motif-tray {
    clip-path: inset(0 0 0 0 round 999px); opacity: 1; pointer-events: auto;
    transition: clip-path 550ms cubic-bezier(.16,1,.3,1), opacity 120ms ease;
  }
}
.motif-link, .motif-cta {
  display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px;
  color: var(--ink-mid); text-decoration: none; transition: background 160ms ease, color 160ms ease;
}
.motif-link:hover { color: var(--ink); background: var(--mist); }
.motif-link.is-active { color: var(--ink); }
.motif-link.is-active::before { content: ""; width: 6px; height: 6px; margin-right: 8px; border-radius: 999px; background: var(--ink); }
.motif-cta { margin-left: 6px; padding: 0 18px; background: var(--ink); color: var(--white); }
.motif-cta:hover { background: #000; }

/* on small screens it sits top-right and opens downward as a card */
@media (max-width: 640px) {
  .motif {
    left: auto; right: 16px;
    transform-origin: calc(100% - var(--mark) / 2) calc(var(--mark) / 2);
  }
  .motif-tray {
    top: 0; left: auto; right: 0; height: auto; width: 230px;
    flex-direction: column; align-items: stretch; padding: calc(var(--mark) + 8px) 10px 10px;
    border-radius: 28px; font-size: 16px;
    clip-path: inset(0 0 calc(100% - var(--mark)) calc(100% - var(--mark)) round 28px);
  }
  .motif.is-open .motif-tray,
  .motif:has(:focus-visible) .motif-tray { clip-path: inset(0 0 0 0 round 28px); }
  .motif-link, .motif-cta { height: 44px; }
  .motif-cta { margin: 6px 0 0; justify-content: center; }
}

/* ---------- Join the team: homepage banner + /join ---------- */
.hire { padding: clamp(28px, 3vw, 40px) var(--gutter); background: var(--red); color: var(--white); }
.hire-inner { max-width: 1500px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.hire-copy { display: flex; flex-direction: column; gap: 6px; max-width: 64ch; }
.hire-copy h2 { margin: 0; font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.hire-copy p { margin: 0; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.86); }
.hire .btn--white:hover { background: var(--ink); color: var(--white); }

.join .page-hero .h1 { font-size: clamp(44px, 5.6vw, 88px); }
.join-body { max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter) 120px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.join-copy h2, .join-done h2 { margin: 0 0 14px; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.join-copy h2 + * { margin-top: 0; }
.join-copy * + h2 { margin-top: 40px; }
.join-copy p { font-size: 18px; line-height: 1.6; color: var(--ink-mid); }
.join-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.join-list li { padding: 16px 0; border-top: 1px solid var(--hairline); font-size: 18px; line-height: 1.55; color: var(--ink-mid); }
.join-list li:last-child { border-bottom: 1px solid var(--hairline); }
.join-list b { display: block; color: var(--ink); font-weight: 600; }
.join-note { font-size: 16px !important; }
.join-note a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.join-card { padding: clamp(22px, 3vw, 40px); background: var(--white); border: 1px solid var(--hairline); border-radius: 20px; box-shadow: var(--shadow-2); }
.join-done { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.join-done p { margin: 0 0 18px; font-size: 18px; line-height: 1.6; color: var(--ink-mid); }
@media (max-width: 900px) { .join-body { grid-template-columns: 1fr; } }

/* ---------- Portfolio (/portfolio): unlisted, link only ----------
   Built by scripts/portfolio.mjs. Reuses the homepage hero, cards and viewer;
   these rules add the photo prints, the selected strip and the photo sets. */
.pf-hero { min-height: min(100vh, 900px); }
.pf-print {
  position: absolute; top: 50%; left: 50%; width: clamp(200px, 19vw, 290px); height: auto;
  padding: 10px 10px 34px; background: #F4F3EF; border-radius: 2px;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 12px 24px rgba(0,0,0,.4);
}
.pf-print--c { z-index: 3; transform: translate(-50%, -50%) rotate(-2deg) rotateY(var(--ry)) rotateX(var(--rx)); animation: bob 7s ease-in-out infinite; }
.pf-print--l { z-index: 2; transform: translate(-108%, -44%) rotate(-11deg) scale(.86) rotateY(calc(var(--ry) * 1.4)); animation: bob 8s -2s ease-in-out infinite; }
.pf-print--r { z-index: 2; transform: translate(8%, -56%) rotate(9deg) scale(.86) rotateY(calc(var(--ry) * 1.4)); animation: bob 9s -4s ease-in-out infinite; }
@media (max-width: 900px) { .pf-print { width: 180px; } }

/* Selected: a sideways strip of big photos, snapping */
.pf-strip { background: var(--night); padding: 0 0 clamp(56px, 6vw, 88px); }
.pf-strip-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--gutter); scroll-padding-inline: var(--gutter);
}
.pf-strip-track::-webkit-scrollbar { display: none; }
.pf-strip-item {
  position: relative; flex: none; height: clamp(360px, 62vh, 640px); padding: 0; border: 0; background: #000;
  overflow: hidden; scroll-snap-align: start; cursor: zoom-in;
}
.pf-strip-item img { height: 100%; width: auto; max-width: none; object-fit: cover; transition: scale 1200ms var(--ease), filter 600ms ease; filter: saturate(.85); }
.pf-strip-item:hover img { scale: 1.04; filter: none; }
.pf-strip-item span {
  position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(13,14,16,.6); backdrop-filter: blur(6px); color: var(--white); font-size: 13px; font-weight: 600;
}

/* Videos: filter pills on the dark section */
.pf-videos .section-head { margin-bottom: 40px; }
.pf-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-filter button {
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.5); background: transparent;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: background 160ms ease, color 160ms ease, transform 200ms var(--ease);
}
.pf-filter button:hover { transform: translateY(-2px); border-color: var(--white); }
.pf-filter button.is-on { background: var(--white); color: var(--ink); border-color: var(--white); }
.pf-videos .card[hidden] { display: none; }

/* Photos: numbered sets, a masonry grid each */
.pf-photos .section-head { margin-bottom: 56px; }
.pf-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-jump a {
  display: inline-flex; gap: 6px; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid var(--ink); font-size: 15px; font-weight: 600; transition: background 160ms ease, color 160ms ease, transform 200ms var(--ease);
}
.pf-jump a span { font-weight: 400; color: var(--ink-mid); transition: color 160ms ease; }
.pf-jump a:hover { background: var(--ink); color: var(--white); transform: translateY(-2px); }
.pf-jump a:hover span { color: rgba(255,255,255,.7); }
.pf-sets { display: flex; flex-direction: column; gap: clamp(72px, 8vw, 120px); }
.pf-set { scroll-margin-top: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.pf-set-head { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--hairline); }
.pf-set-head p { margin: 6px 0 0; font-size: 17px; }
.pf-set-n { font-size: 14px; font-weight: 600; color: var(--red); padding-bottom: 6px; }
.pf-set-count { font-size: 15px; color: var(--ink-mid); padding-bottom: 4px; }
.pf-grid { width: 100%; columns: 4 260px; column-gap: 12px; }
.pf-tile { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: var(--mist); overflow: hidden; break-inside: avoid; cursor: zoom-in; }
.pf-tile img { width: 100%; height: auto; transition: transform 900ms var(--ease); }
.pf-tile:hover img { transform: scale(1.05); }
.pf-set[data-collapsed] .pf-tile[data-more] { display: none; }
.pf-set:not([data-collapsed]) .pf-more { display: none; }
@media (max-width: 640px) { .pf-grid { columns: 2; column-gap: 8px; } .pf-tile { margin-bottom: 8px; } .pf-set-head { grid-template-columns: auto 1fr; } .pf-set-count { display: none; } }

/* Photo lightbox */
.photo-viewer { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.photo-viewer[open] { display: grid; place-items: center; animation: panel-in 400ms var(--ease); }
.photo-viewer::backdrop { background: rgba(13,14,16,.94); backdrop-filter: blur(8px); }
.photo-viewer img { max-width: calc(100vw - 2 * var(--gutter)); max-height: calc(100vh - 150px); width: auto; height: auto; box-shadow: var(--shadow-3); transition: opacity 250ms ease; }
.photo-viewer img.is-loading { opacity: .35; }
.photo-viewer .pill-close { position: absolute; top: 16px; right: var(--gutter); z-index: 2; height: 40px; padding: 0 16px; font-size: 15px; }
.photo-viewer-bar { position: absolute; left: 50%; bottom: 20px; translate: -50% 0; color: var(--white); display: flex; align-items: center; gap: 18px; font-size: 15px; font-variant-numeric: tabular-nums; }
.photo-viewer .rail-btn { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.3); }
.photo-viewer .rail-btn:hover { background: var(--white); color: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .pf-tile { animation: tile-in linear both; animation-timeline: view(); animation-range: entry 0% cover 14%; }
    .pf-strip-item img { animation: pf-pan linear both; animation-timeline: view(inline); }
    @keyframes pf-pan { from { transform: scale(1.12) translateX(4%); } to { transform: scale(1.12) translateX(-4%); } }
  }
}
