/* Forge Studios v2. One stylesheet for every page.

   Fonts are self-hosted and latin-subset, same files as v1. The wordmark
   asks for Champagne & Limousines first: add an @font-face for it once the
   licence is bought and the logo switches over on its own.

   Motion rules that carry over from v1 on purpose: native scroll only (no
   smooth-scroll library), no custom cursor, no velocity skew. Everything
   animated here is a transform, opacity or filter. */

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300 900; font-display: swap; src: url('montserrat.woff2') format('woff2'); }
/* Poppins is only ever set at 800, for the big numbers */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('poppins-800.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --ink: #07060a;
  --ink-2: #0f0d14;
  --ink-3: #16131c;
  --line: #26222e;
  --text: #f4f1f7;
  --soft: #d3cbdc;
  --muted: #9c93a8;
  --orange: #f59421;
  --purple: #753a96;
  --lilac: #a165c3;
  --paper: #eeeaf1;
  --paper-ink: #16111b;
  --create: #f59421;
  --distribute: #c28be6;
  --engage: #7fd0c1;
  --grow: #ffd08a;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --display: 'Poppins', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-logo: 'Champagne & Limousines', 'Montserrat', sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --vh: 100vh;
}
@supports (height: 100svh) { :root { --vh: 100svh; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--orange); color: var(--ink); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.h { font-family: var(--font); font-weight: 600; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.98; margin: 0; text-wrap: balance; }
.h-xl { font-size: clamp(38px, 6.4vw, 104px); }
.h-l { font-size: clamp(32px, 4.6vw, 80px); }
.h-m { font-size: clamp(26px, 3.2vw, 52px); }
.h-s { font-size: clamp(20px, 2vw, 30px); }
.o { color: var(--orange); }
.eyebrow { display: inline-block; font-family: var(--font); font-weight: 600; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange); margin: 0 0 18px; }
.lede { font-size: clamp(16px, 1.35vw, 20px); color: var(--soft); max-width: 58ch; margin: 22px 0 0; }
p { text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font); font-weight: 600; font-size: 15px; text-decoration: none; padding: 15px 26px; border-radius: 999px; border: 1px solid transparent; transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease; }
.btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-fill { background: var(--orange); color: var(--ink); }
.btn-fill:hover { background: #ffa640; }
.btn-ghost { border-color: rgba(255,255,255,0.22); color: var(--text); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.mag { display: inline-block; }
.btn-o { display: inline-grid; place-items: center; width: clamp(140px, 11vw, 170px); aspect-ratio: 1; border-radius: 50%; text-decoration: none; text-align: center; font-weight: 700; font-size: 15px; line-height: 1.3; color: var(--text); background: radial-gradient(circle at 34% 30%, #a667c9 0%, var(--purple) 50%, #3c1850 100%); box-shadow: 0 0 60px rgba(117,58,150,0.6), inset 0 0 0 1px rgba(255,255,255,0.14); }
.btn-o:focus-visible { outline-offset: 6px; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; transition: background .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7,6,10,0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(255,255,255,0.06); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.logo { font-family: var(--font-logo); display: inline-flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1; }
.logo b { display: flex; align-items: center; color: var(--orange); font-weight: 500; font-size: 22px; letter-spacing: 0.08em; }
.logo b i { display: inline-block; width: 0.72em; height: 0.72em; border-radius: 50%; background: var(--purple); margin: 0 0.05em; }
.logo span { color: var(--lilac); font-weight: 400; font-size: 9.5px; letter-spacing: 0.34em; margin-top: 4px; margin-right: -0.34em; }
.nav-links { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 500; font-size: 14px; text-decoration: none; color: var(--soft); transition: color .2s; }
.nav-links a:hover, .nav-links a.on { color: var(--text); }
.nav-links a.on { box-shadow: 0 2px 0 var(--orange); }
.nav-cta { font-weight: 600; font-size: 14px; text-decoration: none; padding: 10px 18px; border-radius: 999px; background: var(--text); color: var(--ink); transition: background .2s; }
.nav-cta:hover { background: var(--orange); }
/* over the one bright scene the bar turns light instead of sitting there as a grey slab */
.nav.on-light { background: rgba(238,234,241,0.86); border-bottom-color: rgba(22,17,27,0.08); }
.nav.on-light .nav-links a { color: #4a4152; }
.nav.on-light .nav-links a:hover, .nav.on-light .nav-links a.on { color: var(--paper-ink); }
.nav.on-light .logo span { color: var(--purple); }
.nav.on-light .nav-cta { background: var(--paper-ink); color: var(--paper); }
.nav.on-light .nav-cta:hover { background: var(--orange); color: var(--ink); }
.nav.on-light .burger i { background: var(--paper-ink); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .3s ease, top .3s ease; }
.burger i:first-child { top: 17px; } .burger i:last-child { top: 25px; }
.burger[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }
.drawer { position: fixed; z-index: 49; inset: 0; background: rgba(7,6,10,0.97); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 90px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
.drawer.open { opacity: 1; visibility: visible; }
.drawer a:not(.btn) { font-weight: 600; font-size: 34px; text-transform: uppercase; letter-spacing: -0.02em; text-decoration: none; padding: 6px 0; }
.drawer .btn { margin-top: 24px; align-self: flex-start; }
body.menu-open { overflow: hidden; }

/* ---------- sections ---------- */
main { display: block; }
.sec { position: relative; padding-block: clamp(80px, 11vw, 160px); }
.sec-head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head.mid { margin-inline: auto; text-align: center; }
.sec-head.mid .lede { margin-inline: auto; }
.glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(10px); }
.glow.p { background: radial-gradient(circle, rgba(117,58,150,0.35) 0%, rgba(117,58,150,0) 65%); }
.glow.o { background: radial-gradient(circle, rgba(245,148,33,0.18) 0%, rgba(245,148,33,0) 65%); }
.grain { position: fixed; inset: -50%; z-index: 40; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.sprog { position: fixed; z-index: 60; top: 0; left: 0; height: 2px; width: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }

/* reveal: hidden only while the motion layer is running */
html.js-anim [data-rv] { opacity: 0; }
.tick { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tick li { position: relative; padding-left: 28px; color: var(--soft); }
.tick li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; padding-block: clamp(150px, 18vw, 230px) clamp(60px, 8vw, 110px); overflow: hidden; }
.page-hero .glow.p { width: 900px; height: 900px; right: -300px; top: -300px; }
.page-hero .glow.o { width: 760px; height: 760px; left: -360px; top: -240px; }
.page-hero .wrap { position: relative; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 72px); margin-top: clamp(36px, 4vw, 56px); }
.hero-stats .v { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw, 60px); line-height: 1; color: var(--orange); }
.hero-stats .k { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 8px; font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding-block: clamp(100px, 13vw, 190px); }
.cta-band .glow.p { width: 1100px; height: 1100px; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.cta-band .wrap { position: relative; display: grid; justify-items: center; gap: 26px; }
.cta-band .lede { margin: 0 auto; }
.cta-note { font-size: 14px; color: var(--muted); margin: 0; }
.cta-note a { color: var(--soft); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--ink-2); padding-block: 72px 36px; position: relative; z-index: 30; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand p { color: var(--muted); max-width: 34ch; margin: 18px 0 20px; font-size: 15px; }
.foot h2 { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange); margin: 6px 0 16px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.foot ul a { display: inline-block; padding: 5px 0; text-decoration: none; color: var(--soft); font-size: 15px; }
.foot ul a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--soft); transition: color .2s, border-color .2s; }
.socials a:hover { color: var(--orange); border-color: var(--orange); }
.socials svg { width: 18px; height: 18px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-base p { margin: 0; }
.foot-base div { display: flex; gap: 22px; }
.foot-base a { display: inline-block; padding: 6px 0; color: var(--muted); text-decoration: none; }
.foot-base a:hover { color: var(--text); }

/* =====================================================================
   HOME: one phone carries the story
   ===================================================================== */
.sticky { position: sticky; top: 0; height: var(--vh); overflow: hidden; }
.chip { position: absolute; z-index: 12; display: flex; align-items: center; gap: 10px; font-size: clamp(12px, 1vw, 14px); font-weight: 500; padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(24,21,30,0.72); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.8); }
.chip::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: radial-gradient(circle, var(--c, var(--orange)) 0 35%, rgba(255,255,255,0.08) 36%); }

#object { position: fixed; inset: 0; z-index: 10; pointer-events: none; perspective: 1500px; display: grid; place-items: center; }
#tilt { transform-style: preserve-3d; }
/* no will-change here: forge2.js sets it only while the phone is moving, so the
   screen is re-rastered sharp at its resting size instead of scaled up blurry */
#phone { position: relative; width: min(24vw, 30vh, 300px); aspect-ratio: 9 / 19; transform-style: preserve-3d; }
.face { position: absolute; inset: 0; border-radius: 13% / 6.2%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.front { background: linear-gradient(145deg, #2a2630 0%, #0b0a0e 45%, #1c1822 100%); padding: 3.2%; box-shadow: 0 50px 90px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.08) inset, 0 0 90px -10px rgba(117,58,150,0.55); }
.back { transform: rotateY(180deg); background: radial-gradient(120% 80% at 30% 20%, #9a5cc0 0%, var(--purple) 45%, #3c1850 100%); box-shadow: 0 50px 90px -30px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.1) inset; display: grid; place-items: center; }
.back .logo b { font-size: clamp(18px, 2.4vw, 30px); }
.back .logo b i { background: #2b0f3a; }
.back .cam { position: absolute; top: 5%; left: 8%; width: 30%; aspect-ratio: 1; border-radius: 28%; background: linear-gradient(145deg, #4b2064, #2b0f3a); box-shadow: 0 0 0 1px rgba(255,255,255,0.12) inset; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 11% / 5.3%; overflow: hidden; background: #000; }
.island { position: absolute; z-index: 5; top: 2.2%; left: 50%; width: 30%; height: 3.4%; transform: translateX(-50%); background: #000; border-radius: 999px; }
.sheen { position: absolute; z-index: 6; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.16) 48%, rgba(255,255,255,0) 60%); background-size: 260% 100%; background-position: var(--sheen, 50%) 0; }
.scr { position: absolute; inset: 0; opacity: 0; visibility: hidden; color: #fff; font-size: clamp(8px, 0.95vw, 12px); line-height: 1.35; }
.scr.on { opacity: 1; visibility: visible; }
.scr img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.scr .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.7) 100%); }
.scr .views { position: absolute; left: 7%; bottom: 6%; font-weight: 700; font-size: 1.1em; display: flex; align-items: center; gap: 0.4em; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.scr .views svg { width: 1.15em; height: 1.15em; }
.scr .side { position: absolute; right: 6%; bottom: 14%; display: grid; gap: 14px; }
.scr .side i { width: 1.9em; height: 1.9em; border-radius: 50%; background: rgba(255,255,255,0.22); display: block; }

/* the little app screens, used on the phone and on the Services cards */
.ui { position: absolute; inset: 0; padding: 20% 8% 8%; display: flex; flex-direction: column; gap: 5%; background: radial-gradient(90% 50% at 50% 0%, rgba(117,58,150,0.5), rgba(0,0,0,0) 70%), #0c0a10; color: #fff; }
.ui h5 { margin: 0; font-size: 1.05em; font-weight: 700; letter-spacing: 0.02em; display: flex; align-items: center; gap: 6px; }
.ui h5::before { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background: var(--c, var(--orange)); flex: none; }
.ui .clock { text-align: center; font-weight: 300; font-size: 3.4em; line-height: 1; margin-top: -4%; }
.ui .date { text-align: center; opacity: 0.7; margin-top: -4%; }
.note { background: rgba(255,255,255,0.12); border-radius: 12px; padding: 6% 7%; display: grid; gap: 2px; }
.note b { font-weight: 700; } .note span { opacity: 0.78; }
.big-num { font-weight: 700; font-size: 2.6em; line-height: 1; }
.big-num small { font-size: 0.4em; color: var(--orange); display: block; margin-top: 4px; font-weight: 600; }
.spark { width: 100%; height: 26%; }
.tabs { display: flex; font-size: 0.85em; border-bottom: 1px solid rgba(255,255,255,0.15); }
.tabs span { flex: 1; text-align: center; padding-bottom: 4px; opacity: 0.6; }
.tabs span.on { opacity: 1; border-bottom: 2px solid var(--distribute); }
.g9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.g9 i { aspect-ratio: 9 / 13; background: rgba(255,255,255,0.12); border-radius: 2px; }
.g9 i:nth-child(3n+1) { background: rgba(194,139,230,0.45); }
.bubble { max-width: 84%; padding: 5% 7%; border-radius: 12px; background: rgba(255,255,255,0.12); }
.bubble.me { align-self: flex-end; background: var(--purple); }
.bubble small { display: block; opacity: 0.72; font-size: 0.8em; margin-top: 2px; }
.app { display: grid; justify-items: center; gap: 6px; font-size: 0.9em; }
.app i { position: relative; width: 100%; aspect-ratio: 1; border-radius: 24%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 1.6em; }
.app i b { position: absolute; top: -8%; right: -8%; min-width: 1.4em; height: 1.4em; padding: 0 4px; border-radius: 999px; background: #ff3b30; font-size: 0.5em; display: grid; place-items: center; }

/* hero: triptych, the phone is the middle panel */
.home-hero { position: relative; height: var(--vh); min-height: 600px; display: grid; grid-template-columns: 1fr min(26vw, 32vh, 320px) 1fr; align-items: center; gap: 2vw; padding: 74px var(--gutter) 150px; background: radial-gradient(30% 42% at 50% 46%, rgba(117,58,150,0.5) 0%, rgba(117,58,150,0) 72%), radial-gradient(24% 30% at 58% 34%, rgba(245,148,33,0.12) 0%, rgba(245,148,33,0) 70%), radial-gradient(60% 70% at 50% 50%, rgba(117,58,150,0.18) 0%, rgba(117,58,150,0) 75%); }
.home-hero .h { font-size: clamp(30px, 4.5vw, 84px); }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.home-hero .left { justify-self: end; text-align: right; position: relative; z-index: 20; text-shadow: 0 2px 34px rgba(7,6,10,0.85); }
.hero-eyebrow { white-space: nowrap; font-size: clamp(10px, 0.82vw, 12px); letter-spacing: 0.16em; }
.home-hero .right { justify-self: start; position: relative; z-index: 20; text-shadow: 0 2px 34px rgba(7,6,10,0.85); }
.home-hero .foot-line { position: absolute; z-index: 20; left: 0; right: 0; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: center; gap: 12px; padding-inline: 16px; text-align: center; }
.home-hero .foot-line p { margin: 0; }
.home-hero .value { font-size: clamp(17px, 1.45vw, 22px); font-weight: 600; letter-spacing: -0.01em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px; margin-top: 4px; }
.hero-cta .btn { padding: 13px 22px; }
.proof { font-size: 13px; color: var(--soft); }
.proof b { font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--orange); margin-right: 3px; }
.scroll-cue { position: absolute; z-index: 20; left: var(--gutter); bottom: calc(30px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { position: relative; width: 1px; height: 44px; background: rgba(255,255,255,0.16); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 16px; background: var(--orange); animation: cue 1.8s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes cue { 0% { transform: translateY(-16px); } 100% { transform: translateY(44px); } }
/* the hero phone plays a short feed, with story-style progress bars */
.feed { position: absolute; inset: 0; animation: feed 10.5s infinite; }
.feed .slide { position: absolute; left: 0; right: 0; height: 100%; }
.feed .slide:nth-child(1) { top: 0; } .feed .slide:nth-child(2) { top: 100%; } .feed .slide:nth-child(3) { top: 200%; } .feed .slide:nth-child(4) { top: 300%; }
@keyframes feed {
  0%, 30% { transform: translateY(0); animation-timing-function: cubic-bezier(.7,0,.2,1); }
  33.33%, 63.33% { transform: translateY(-100%); animation-timing-function: cubic-bezier(.7,0,.2,1); }
  66.66%, 96.66% { transform: translateY(-200%); animation-timing-function: cubic-bezier(.7,0,.2,1); }
  100% { transform: translateY(-300%); }
}
.segs { position: absolute; z-index: 4; top: 7.5%; left: 6%; right: 6%; display: flex; gap: 4px; }
.segs i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,0.3); overflow: hidden; }
.segs i::after { content: ""; display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); animation: seg1 10.5s linear infinite; }
.segs i:nth-child(2)::after { animation-name: seg2; } .segs i:nth-child(3)::after { animation-name: seg3; }
@keyframes seg1 { 0% { transform: scaleX(0); } 31% { transform: scaleX(1); } 99.9% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes seg2 { 0%, 33.33% { transform: scaleX(0); } 64% { transform: scaleX(1); } 99.9% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes seg3 { 0%, 66.66% { transform: scaleX(0); } 97% { transform: scaleX(1); } 99.9% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.plats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.plats span { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18); color: var(--soft); }
.plats span.f { border-color: rgba(245,148,33,0.5); color: var(--orange); }

/* team: who Forge actually is */
#team { position: relative; height: 330vh; }
#team .sticky { z-index: 20; }
/* the headline may never reach the phone: its column stops short of the phone's left edge,
   so a long line like EVERY PLATFORM. wraps on laptops instead of running under it */
#team .tt { position: absolute; left: var(--gutter); top: max(14vh, 96px); font-size: clamp(28px, 4.2vw, 78px); max-width: calc(50vw - var(--gutter) - min(12vw, 15vh, 150px) - 16px); }
.roles .chip { --c: var(--lilac); left: var(--x); top: var(--y); }
.platrow { position: absolute; z-index: 12; left: 0; right: 0; bottom: 9vh; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-inline: 16px; }
.platrow .chip { position: static; font-size: clamp(12px, 1.15vw, 16px); padding: 12px 20px 12px 14px; background: rgba(245,148,33,0.12); border-color: rgba(245,148,33,0.35); }
.platrow .chip.fmt { --c: var(--lilac); background: rgba(161,101,195,0.14); border-color: rgba(161,101,195,0.4); }

/* tunnel: the reels fly past in 3D */
#tunnel { position: relative; height: 380vh; }
#tunnel .sticky { perspective: 1000px; perspective-origin: 50% 50%; }
.tun { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.tcard { position: absolute; width: clamp(110px, 13vw, 210px); aspect-ratio: 9 / 16; margin: 0; border-radius: 14px; overflow: hidden; backface-visibility: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.9); background: #000; }
.tcard img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.tcard figcaption { position: absolute; left: 10px; bottom: 9px; display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; text-shadow: 0 1px 8px rgba(0,0,0,0.8); }
.tcard figcaption svg { width: 14px; height: 14px; }
#tunnel .tt { position: absolute; z-index: 20; left: 0; right: 0; bottom: 5vh; text-align: center; display: grid; justify-items: center; gap: 16px; }
#tunnel .tt .h { font-size: clamp(26px, 3.8vw, 68px); }
.fog { position: absolute; inset: 0; z-index: 11; pointer-events: none; background: radial-gradient(60% 60% at 50% 50%, rgba(7,6,10,0) 40%, rgba(7,6,10,0.85) 100%); }
.link-o { font-weight: 600; font-size: 14px; color: var(--orange); text-decoration: none; border-bottom: 1px solid rgba(245,148,33,0.4); padding-bottom: 2px; }
.link-o:hover { border-color: var(--orange); }

/* system: the twelve monthly modules */
#system { position: relative; height: 620vh; }
#system .sticky { z-index: 20; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding-top: 74px; }
@media (max-height: 860px) and (min-width: 761px) { .mods { gap: 12px; } .mods .h { font-size: clamp(22px, 2.3vw, 38px); } .mod { padding: 5px 11px; } .detail { min-height: 120px; padding-top: 12px; } .detail .dh { font-size: clamp(20px, 2vw, 32px); } }
.mods { grid-column: 2; padding-right: var(--gutter); display: grid; gap: 18px; }
.mods .h { font-size: clamp(24px, 2.8vw, 48px); }
.phase { display: grid; grid-template-columns: 104px 1fr; gap: 12px; align-items: start; }
.phase .ph { font-weight: 700; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c); padding-top: 7px; }
.phase ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.mod { font-weight: 500; font-size: clamp(12px, 1vw, 14px); padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); border-color: color-mix(in srgb, var(--c) 40%, transparent); color: #b9b0c4; transition: background .25s, color .25s, border-color .25s; }
.mod.on { background: var(--c); color: #0c0a10; border-color: var(--c); }
.detail { border-top: 1px solid var(--line); padding-top: 18px; min-height: 150px; }
.detail .dh { font-weight: 600; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 40px); line-height: 1; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 12px; }
.detail .dh small { font-size: 12px; font-weight: 700; color: var(--dc, var(--orange)); letter-spacing: 0.1em; }
.detail p { margin: 10px 0 0; color: var(--soft); font-size: clamp(14px, 1.15vw, 17px); max-width: 46ch; }
.detail .link-o { display: inline-block; margin-top: 14px; }
/* phones only: a twelve-step progress line and the phase name stand in for the module list */
.mprog, .dph { display: none; }

/* numbers: the one bright scene */
#numbers { position: relative; height: 240vh; background: var(--paper); color: var(--paper-ink); }
#numbers .sticky { perspective: 900px; z-index: 20; }
.ncol { position: absolute; top: 0; width: 30vw; height: var(--vh); overflow: hidden; font-weight: 500; font-size: clamp(22px, 3vw, 54px); line-height: 1.05; color: #bdb4c6; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }
.ncol .inner { display: grid; gap: 1.6vh; }
.ncol .inner span:nth-child(4n+2) { color: #8f84a0; }
.ncol.l { left: 3vw; transform: rotateY(34deg); transform-origin: 0% 50%; }
.ncol.r { right: 3vw; transform: rotateY(-34deg); transform-origin: 100% 50%; text-align: right; }
#numbers .tt { position: absolute; left: 0; right: 0; top: max(11vh, 88px); text-align: center; padding-inline: 16px; }
#numbers .tt .h { font-size: clamp(30px, 4.6vw, 86px); color: var(--paper-ink); }
#numbers .tb { position: absolute; left: 0; right: 0; bottom: 8vh; display: grid; justify-items: center; gap: 14px; padding-inline: 16px; }
.nstats { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 4vw, 56px); }
.nstats div { text-align: center; }
.nstats b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.4vw, 36px); line-height: 1; color: var(--paper-ink); }
.nstats span { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #5b5166; }
#numbers .link-o { color: #9a4d00; border-color: rgba(154,77,0,0.4); }

/* signals: what it feels like when the system runs */
#signals { position: relative; height: 240vh; }
#signals .sticky { z-index: 20; }
#signals .h { font-size: clamp(28px, 4.2vw, 78px); position: absolute; }
#signals .t1 { left: var(--gutter); top: max(14vh, 96px); }
/* same unit as the notifications placed above it, so mobile toolbars cannot close the gap */
#signals .t2 { right: var(--gutter); bottom: calc(var(--vh) * 0.12); text-align: right; }
/* notifications are anchored to the phone's edges, not the screen's, so at any
   width they sit beside it (--dx is how far out), never on it */
#signals .chip { top: var(--y); }
#signals .chip.l { right: calc(50% + min(13vw, 16vh, 160px) + var(--dx)); }
#signals .chip.r { left: calc(50% + min(13vw, 16vh, 160px) + var(--dx)); }
#signals .chip.p { --c: var(--lilac); }

/* voices, reviews and questions after the phone has gone */
.home-after { position: relative; z-index: 30; background: var(--ink); }
.vid-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 780px; margin: 0 auto; }
.vcard { margin: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--ink-2); }
.vwrap { position: relative; aspect-ratio: 9 / 16; background: #000; }
.vwrap video { width: 100%; height: 100%; object-fit: cover; }
.vplay { position: absolute; inset: 0; margin: auto; width: 78px; height: 78px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(245,148,33,0.92); color: var(--ink); display: grid; place-items: center; transition: transform .25s ease, opacity .25s ease; }
.vplay:hover { transform: scale(1.06); }
.vplay svg { width: 28px; height: 28px; margin-left: 4px; }
.vcard.playing .vplay { opacity: 0; pointer-events: none; }
.vmeta { padding: 20px 22px 22px; }
.vmeta blockquote { margin: 0 0 12px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.vwho { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; color: var(--muted); }
.vwho b { color: var(--text); }
.vwho a { color: var(--lilac); text-decoration: none; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-top: 28px; }
.rev { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--ink-2); display: flex; flex-direction: column; gap: 14px; }
.stars { color: var(--orange); letter-spacing: 3px; font-size: 14px; }
.rev q { font-size: 16px; line-height: 1.5; quotes: "\201C" "\201D"; }
.rev-by { margin-top: auto; font-size: 13px; color: var(--muted); display: grid; }
.rev-by b { color: var(--soft); font-weight: 600; }

.faq { max-width: 880px; display: grid; gap: 12px; }
.q-item { border: 1px solid var(--line); border-radius: 16px; background: var(--ink-2); }
.q-btn { width: 100%; text-align: left; font: inherit; font-weight: 600; font-size: clamp(16px, 1.4vw, 19px); color: var(--text); background: none; border: 0; padding: 22px 60px 22px 24px; cursor: pointer; position: relative; }
.q-btn::after { content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: translateY(-70%) rotate(45deg); transition: transform .3s ease; }
.q-btn[aria-expanded="true"]::after { transform: translateY(-30%) rotate(-135deg); }
/* answers only collapse once forge2.js has wired the buttons (.faq.js); without
   script every answer stays readable. Closed answers are also taken out of the
   accessibility tree, after the collapse has finished. */
.q-a { display: grid; }
.faq.js .q-a { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .35s ease, visibility 0s linear .35s; }
.faq.js .q-a.open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .35s ease, visibility 0s; }
.faq:not(.js) .q-btn { cursor: default; }
.faq:not(.js) .q-btn::after { display: none; }
.q-a-in { overflow: hidden; padding: 0 24px; }
.q-a-in p { margin: 0 0 14px; color: var(--soft); }
.q-a-in p:first-child { margin-top: 0; }
.q-a.open .q-a-in { padding-bottom: 10px; }

/* =====================================================================
   REAL APP SCREENS: the phone on Home and the Services cards share these.
   Everything is in em, and em follows the width of the screen (cqw), so
   the same screen reads right on the big phone and on a small card.
   ===================================================================== */
.screen, .mini { container-type: inline-size; }
.scr { font-size: clamp(8px, 0.95vw, 12px); font-size: 4.7cqw; }
.ux { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 0.7em; padding: 0 6.5% 6%; background: #0c0a10; color: #fff; overflow: hidden; line-height: 1.3; }
.ux.light { background: #f7f5f9; color: #16111b; }
.sb { flex: none; display: flex; justify-content: space-between; align-items: center; height: 3.1em; margin: 0 -1.5%; font-size: 0.82em; }
.sb b { font-weight: 700; padding-left: 0.6em; }
.sbi { display: flex; gap: 0.3em; align-items: center; padding-right: 0.4em; }
.sbi i { display: block; width: 0.95em; height: 0.62em; border-radius: 0.14em; background: currentColor; }
.sbi i:nth-child(2) { width: 0.8em; border-radius: 50% 50% 0.14em 0.14em; }
.sbi i:nth-child(3) { width: 1.55em; background: transparent; box-shadow: inset 0 0 0 0.12em currentColor, inset 0.2em 0 0 0.2em currentColor; opacity: 0.9; }
.ux-h { display: flex; justify-content: space-between; align-items: baseline; }
.ux-h span { font-weight: 800; font-size: 1.3em; letter-spacing: -0.01em; }
.ux-h small { font-size: 0.72em; opacity: 0.6; }
.ux-h.c { justify-content: center; }
.ux-h.c span { font-size: 1em; }
.ux-k { margin: 0; font-size: 0.66em; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.6; font-weight: 700; }
.pill { align-self: flex-start; font-size: 0.7em; font-weight: 700; padding: 0.35em 0.8em; border-radius: 999px; background: rgba(245,148,33,0.16); color: var(--orange); }
.pill.ok { background: rgba(127,208,193,0.16); color: #7fd0c1; }
.pill.lock { background: rgba(255,255,255,0.12); color: #fff; }
.ux.light .pill.ok { background: #dcf1ec; color: #1c7a68; }
.av { flex: none; display: block; width: 1.9em; height: 1.9em; border-radius: 50%; background: linear-gradient(135deg, #5b8cff, #9b5cff); }
.av.brand { background: linear-gradient(135deg, var(--orange), var(--purple)); }
.av.a1 { background: linear-gradient(135deg, #ff8a5b, #ff3d77); }
.av.a2 { background: linear-gradient(135deg, #2ed3b7, #f7d154); }

/* research */
.srch { display: flex; align-items: center; gap: 0.5em; padding: 0.55em 0.9em; border-radius: 999px; background: rgba(255,255,255,0.08); font-size: 0.78em; color: #cfc8d8; }
.srch svg { width: 1.1em; height: 1.1em; flex: none; }
.rrow { display: grid; grid-template-columns: 2.8em 1fr; gap: 0.7em; align-items: center; }
.rrow img { width: 2.8em; height: 3.8em; object-fit: cover; border-radius: 0.4em; }
.rrow b { display: block; font-size: 0.78em; font-weight: 700; }
.rrow span { display: block; font-size: 0.68em; opacity: 0.6; margin-top: 0.15em; }
.gapc { display: grid; gap: 0.3em; padding: 0.7em 0.8em; border-radius: 0.8em; background: rgba(245,148,33,0.12); border: 1px solid rgba(245,148,33,0.35); }
.gapc b { font-size: 0.82em; color: var(--orange); }
.gapc span { font-size: 0.72em; }
.meter { height: 0.35em; border-radius: 1em; background: rgba(255,255,255,0.1); overflow: hidden; }
.meter i { display: block; width: 82%; height: 100%; background: var(--orange); }

/* script document */
.doc-h { display: grid; gap: 0.15em; }
.doc-h small { font-size: 0.66em; color: #7a6f84; }
.doc-h b { font-size: 1.15em; font-weight: 800; }
.doc-h .pill { margin-top: 0.3em; }
.blk { background: #fff; border: 1px solid #e6e0ea; border-radius: 0.7em; padding: 0.55em 0.75em; }
.lbl { font-size: 0.6em; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #b35c00; }
.blk p { margin: 0.25em 0 0; font-size: 0.76em; }
.shots { display: flex; flex-wrap: wrap; gap: 0.35em; }
.shots span { font-size: 0.64em; font-weight: 600; padding: 0.25em 0.6em; border-radius: 999px; background: #ece6f1; color: #4a3f55; }

/* editor */
.ed-prev { position: relative; flex: 1 1 auto; min-height: 0; border-radius: 0.6em; overflow: hidden; background: #000; }
.ed-prev img { width: 100%; height: 100%; object-fit: cover; }
.ed-prev .tc { position: absolute; right: 0.5em; bottom: 0.5em; font-size: 0.64em; font-weight: 700; background: rgba(0,0,0,0.65); padding: 0.15em 0.5em; border-radius: 0.3em; }
.ed-tools { display: flex; gap: 0.35em; }
.ed-tools span { font-size: 0.64em; font-weight: 600; padding: 0.3em 0.65em; border-radius: 999px; background: rgba(255,255,255,0.08); }
.ed-tools span.on { background: var(--orange); color: #0c0a10; }
.ed-tl { position: relative; display: grid; gap: 0.3em; }
.trk.v { display: flex; gap: 0.15em; height: 2.5em; }
.trk.v i { flex: 1; border-radius: 0.25em; background-size: cover; background-position: center; }
.trk.t { display: flex; gap: 0.3em; }
.trk.t i { font-style: normal; font-size: 0.58em; font-weight: 700; padding: 0.2em 0.5em; border-radius: 0.25em; background: var(--purple); }
.trk.t i:nth-child(2) { margin-left: 18%; background: var(--lilac); }
.trk.t i:nth-child(3) { margin-left: auto; background: var(--orange); color: #0c0a10; }
.trk.a { height: 1.3em; border-radius: 0.25em; background: repeating-linear-gradient(90deg, rgba(194,139,230,0.85) 0 0.1em, transparent 0.1em 0.28em); -webkit-mask-image: linear-gradient(180deg, transparent 0 20%, #000 20% 80%, transparent 80%), repeating-linear-gradient(90deg, #000 0 30%, rgba(0,0,0,0.4) 30% 45%, #000 45% 70%, rgba(0,0,0,0.55) 70%); mask-image: linear-gradient(180deg, transparent 0 20%, #000 20% 80%, transparent 80%); }
.phd { position: absolute; top: -0.2em; bottom: -0.2em; left: 38%; width: 2px; background: var(--orange); }
.phd::before { content: ""; position: absolute; top: -0.2em; left: -0.3em; width: 0.65em; height: 0.65em; border-radius: 50%; background: var(--orange); }
.ed-foot { display: flex; justify-content: space-between; font-size: 0.62em; opacity: 0.65; }

/* brand kit */
.bkf { display: flex; align-items: center; gap: 0.7em; padding: 0.5em 0.7em; border-radius: 0.7em; background: rgba(255,255,255,0.06); }
.bkf .aa { font-size: 1.9em; font-weight: 800; line-height: 1; }
.bkf .aa.thin { font-weight: 300; }
.bkf b { display: block; font-size: 0.78em; }
.bkf small { display: block; font-size: 0.64em; opacity: 0.6; }
.bks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4em; text-align: center; }
.bks i { display: block; aspect-ratio: 1; border-radius: 0.5em; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18); }
.bks small { font-size: 0.56em; opacity: 0.6; }
.grade { position: relative; flex: 1 1 auto; min-height: 4em; display: grid; grid-template-columns: 1fr 1fr; border-radius: 0.6em; overflow: hidden; }
.grade div { background-size: cover; background-position: center; filter: saturate(0.55) brightness(0.8); }
.grade div.g { filter: saturate(1.35) contrast(1.12) sepia(0.12) brightness(1.05); }
.grade span { position: absolute; bottom: 0.4em; font-size: 0.58em; font-weight: 700; background: rgba(0,0,0,0.6); padding: 0.1em 0.45em; border-radius: 0.3em; }
.grade span:first-of-type { left: 0.4em; }
.grade span:last-of-type { right: 0.4em; }

/* instagram post */
.igt { display: flex; align-items: center; gap: 0.5em; }
.igt b { font-size: 0.8em; }
.igt span { margin-left: auto; opacity: 0.7; font-size: 0.8em; }
.igm { flex: 1 1 auto; min-height: 0; margin: 0 -6.5%; background: #000; }
.igm img { width: 100%; height: 100%; object-fit: cover; }
.iga { display: flex; gap: 0.8em; }
.iga svg { width: 1.3em; height: 1.3em; }
.iga svg:first-child { color: #ff3040; }
.igc { margin: 0; font-size: 0.72em; }
.igc .tags { color: #8fb3ff; }

/* scheduler */
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.25em; }
.days span { text-align: center; font-size: 0.66em; font-weight: 700; padding: 0.35em 0; border-radius: 0.4em; background: rgba(255,255,255,0.06); }
.days span.on { background: var(--orange); color: #0c0a10; }
.sch { display: grid; grid-template-columns: 2.2em 1fr auto; gap: 0.6em; align-items: center; padding: 0.4em 0.5em; border-radius: 0.6em; background: rgba(255,255,255,0.05); }
.sch img { width: 2.2em; height: 2.9em; object-fit: cover; border-radius: 0.35em; }
.sch b { display: block; font-size: 0.76em; }
.sch span { display: block; font-size: 0.64em; opacity: 0.6; }
.pls { display: flex; gap: 0.3em; }
.pls svg { width: 0.95em; height: 0.95em; }

/* trial reels */
.tr3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.45em; }
.trv { display: grid; gap: 0.35em; align-content: start; }
.trv .th { position: relative; aspect-ratio: 9 / 13; border-radius: 0.45em; background-size: cover; background-position: center; }
.trv .th span { position: absolute; top: 0.3em; left: 0.3em; width: 1.5em; height: 1.5em; border-radius: 50%; display: grid; place-items: center; font-size: 0.66em; font-weight: 800; background: rgba(0,0,0,0.65); }
.trv.win .th { box-shadow: 0 0 0 0.15em var(--distribute); }
.trv.win .th span { background: var(--distribute); color: #0c0a10; }
.trv em { font-style: normal; font-size: 0.58em; line-height: 1.25; min-height: 2.6em; }
.trv > i, .cats i { display: block; height: 0.35em; border-radius: 1em; background: rgba(255,255,255,0.1); overflow: hidden; }
.trv > i u, .cats i u { display: block; height: 100%; background: rgba(255,255,255,0.4); }
.trv.win > i u { background: var(--distribute); }

/* instagram profile */
.pft b { font-size: 1em; font-weight: 800; }
.pfr { display: flex; gap: 0.7em; align-items: flex-start; }
.av.big { width: 3.4em; height: 3.4em; box-shadow: 0 0 0 0.14em #0c0a10, 0 0 0 0.3em #d62976; margin: 0.3em; }
.pfr b { display: block; font-size: 0.82em; }
.pfr small { display: block; font-size: 0.64em; opacity: 0.6; }
.pfr span { display: block; font-size: 0.68em; margin-top: 0.2em; }
.pfr em { display: block; font-style: normal; font-size: 0.66em; color: #8fb3ff; margin-top: 0.15em; }
.hls { display: flex; gap: 0.9em; }
.hls div { display: grid; justify-items: center; gap: 0.25em; font-size: 0.58em; }
.hls i { display: block; width: 3.6em; height: 3.6em; border-radius: 50%; box-shadow: inset 0 0 0 0.15em rgba(255,255,255,0.28); background: radial-gradient(circle, rgba(117,58,150,0.6) 0 55%, transparent 56%); }
.ux .tabs { display: flex; font-size: 0.72em; border-bottom: 1px solid rgba(255,255,255,0.15); }
.ux .tabs span { flex: 1; text-align: center; padding-bottom: 0.35em; opacity: 0.6; }
.ux .tabs span.on { opacity: 1; box-shadow: 0 2px 0 #fff; }
.ux .g9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin: 0 -6.5%; }
.ux .g9 i { aspect-ratio: 3 / 4; border-radius: 0; background-color: #222; background-size: cover; background-position: center; }

/* comments */
.cm { display: grid; grid-template-columns: 1.9em 1fr; gap: 0.55em; }
.cm b { font-size: 0.74em; }
.cm small { font-size: 0.62em; opacity: 0.55; margin-left: 0.45em; }
.cm p { margin: 0.12em 0 0; font-size: 0.74em; }
.cm.rp { margin-left: 2.2em; }
.auth { font-size: 0.56em; font-weight: 700; margin-left: 0.45em; padding: 0.05em 0.4em; border-radius: 0.3em; background: rgba(255,255,255,0.14); }

/* direct messages */
.dmt { display: flex; align-items: center; gap: 0.55em; padding-bottom: 0.55em; border-bottom: 1px solid rgba(255,255,255,0.08); }
.dmt b { display: block; font-size: 0.82em; }
.dmt small { display: block; font-size: 0.62em; opacity: 0.55; }
.dme { font-size: 0.62em; opacity: 0.55; text-align: center; }
.ux .bubble { max-width: 84%; font-size: 0.76em; padding: 0.6em 0.8em; border-radius: 1.1em; background: rgba(255,255,255,0.12); }
.ux .bubble.me { align-self: flex-end; background: linear-gradient(135deg, #7b3fe4, #a13ad8); }
.dml { align-self: flex-end; width: 78%; border-radius: 0.8em; overflow: hidden; background: rgba(255,255,255,0.08); }
.dml .lt { height: 4.2em; background-size: cover; background-position: center; }
.dml div:last-child { padding: 0.45em 0.6em; }
.dml b { display: block; font-size: 0.72em; }
.dml small { display: block; font-size: 0.6em; opacity: 0.6; }
.dmm { font-size: 0.6em; opacity: 0.55; text-align: right; }

/* inbox */
.mh { display: flex; justify-content: space-between; align-items: baseline; }
.mh b { font-size: 1.3em; font-weight: 800; }
.mh span { font-size: 0.68em; color: #6f6478; }
.ml { display: grid; grid-template-columns: 2em 1fr auto; gap: 0.55em; padding: 0.5em 0; border-bottom: 1px solid #e6e0ea; }
.ml .lo { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 50%; color: #fff; font-style: normal; font-weight: 700; font-size: 0.8em; }
.ml b { display: block; font-size: 0.74em; }
.ml .sj { display: block; font-size: 0.7em; }
.ml .pv { display: block; font-size: 0.64em; color: #6f6478; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ml small { font-size: 0.6em; color: #6f6478; }
.ml.un .sj { font-weight: 700; }
.ml.un small { color: #0b57d0; font-weight: 700; }

/* report */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35em; }
.kpis div { padding: 0.45em 0.5em; border-radius: 0.55em; background: rgba(255,255,255,0.06); }
.kpis small { display: block; font-size: 0.56em; opacity: 0.6; }
.kpis b { display: block; font-size: 1.05em; font-weight: 800; }
.kpis em { display: block; font-style: normal; font-size: 0.56em; color: var(--grow); }
.chart { width: 100%; height: 5em; }
.cats { display: grid; gap: 0.45em; }
.cats div { display: grid; gap: 0.2em; }
.cats span { font-size: 0.64em; }
.cats i u { background: var(--grow); }

/* real platform marks */
.ic { display: inline-block; width: 1em; height: 1em; flex: none; }
.ic-ig { fill: #e1306c; }
.ic-tt { fill: #fff; filter: drop-shadow(-0.06em -0.05em 0 #25f4ee) drop-shadow(0.06em 0.05em 0 #fe2c55); }
.ic-yt { fill: #ff0000; }
.ic-fb { fill: #0866ff; }
.appi { position: relative; overflow: visible; }
.app .appi { font-size: 1em; }
.appi .ic { width: 52%; height: 52%; }
.appi.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.appi.ig .ic { fill: #fff; }
.appi.tt { background: #000; box-shadow: inset 0 0 0 1px #2a2a2a; }
.appi.yt { background: #fff; }
.appi.yt .ic { width: 64%; height: 64%; }
.appi.fb { background: #fff; }
.appi.fb .ic { width: 62%; height: 62%; }
.app i.appi b { font-size: 0.62em; }
.plats span { display: inline-flex; align-items: center; gap: 0.45em; }
.plats .ic, .chip .ic { width: 1.1em; height: 1.1em; }
.chip.pl::before { display: none; }
.dock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7em; padding: 0.2em 0 0.3em; }
.dock .app { display: grid; justify-items: center; gap: 0.35em; font-size: 0.62em; }
.dock .app .appi { width: 100%; font-size: 1.6em; }
.dock .app i.appi b { font-size: 0.42em; }
.plan { display: flex; justify-content: space-between; align-items: center; padding: 0.55em 0.8em; border-radius: 0.7em; background: rgba(255,255,255,0.06); font-size: 0.72em; }
.plan span { opacity: 0.65; }
.inbar { margin-top: auto; display: flex; align-items: center; gap: 0.55em; padding: 0.45em 0.6em; border-radius: 999px; border: 1px solid rgba(255,255,255,0.14); font-size: 0.72em; }
.inbar .av { width: 1.7em; height: 1.7em; }
.inbar span { flex: 1; opacity: 0.55; }
.inbar svg { width: 1.3em; height: 1.3em; opacity: 0.8; }
.trv .th { aspect-ratio: 9 / 15; }

/* =====================================================================
   SERVICES
   ===================================================================== */
.clarity { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.clar { border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: var(--ink-2); }
.clar .k { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); }
.clar h2 { font-size: clamp(20px, 1.8vw, 26px); margin: 10px 0 12px; line-height: 1.15; }
.clar p { margin: 0; color: var(--muted); font-size: 15px; }
.clar .plats { justify-content: flex-start; margin-top: 14px; }
.svc-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.phase-rail { position: sticky; top: 110px; display: grid; gap: 6px; }
.phase-rail a { display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; transition: background .25s, color .25s; }
.phase-rail a i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.phase-rail a small { font-size: 12px; font-weight: 600; color: var(--muted); }
.phase-rail a.on { background: var(--ink-3); color: var(--text); }
.phase-block { scroll-margin-top: 100px; }
.phase-block + .phase-block { margin-top: clamp(56px, 7vw, 100px); }
.phase-hd { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.phase-hd .h { color: var(--c); }
.phase-hd p { margin: 0; color: var(--muted); font-size: 15px; }
.mcards { display: grid; gap: 16px; }
.mcard { display: grid; grid-template-columns: 1fr 180px; gap: 24px; align-items: center; border: 1px solid var(--line); border-radius: 20px; padding: 26px 26px 26px 28px; background: var(--ink-2); position: relative; overflow: hidden; }
.mcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); }
.mcard .n { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--c); }
.mcard h4 { font-size: clamp(20px, 1.9vw, 28px); line-height: 1.15; margin: 6px 0 10px; }
.mcard p { margin: 0; color: var(--soft); }
.mini { position: relative; width: 180px; aspect-ratio: 9 / 18.5; border-radius: 22px; overflow: hidden; border: 5px solid #1f1b26; box-shadow: 0 24px 50px -24px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.06); background: #0c0a10; }

/* =====================================================================
   RESULTS
   ===================================================================== */
.cs { border-top: 1px solid var(--line); padding-block: clamp(64px, 8vw, 120px); }
.cs:first-child, .sec-head + .cs { border-top: 0; padding-top: 0; }
.cs-head { max-width: 900px; }
.num-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); background: var(--orange); padding: 5px 12px; border-radius: 999px; margin-bottom: 20px; }
.cs-head p { color: var(--soft); font-size: clamp(16px, 1.3vw, 19px); max-width: 64ch; margin: 22px 0 0; }
.cs-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.cs-col h3 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin: 0 0 14px; }
.cs-col p { margin: 0; color: var(--soft); }
.cs-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.cs-shots.one { grid-template-columns: minmax(0, 420px); justify-content: center; }
.cs-shots figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); }
.cs-shots figcaption { position: absolute; z-index: 2; left: 14px; top: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: rgba(7,6,10,0.8); padding: 5px 11px; border-radius: 999px; }
.cs-shots figure.after figcaption { background: var(--orange); color: var(--ink); }
.cs-shots img { width: 100%; height: auto; }
.cs-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 40px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.cs-stats > div { background: var(--ink-2); padding: 24px 20px; }
.cs-sv { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.8vw, 42px); line-height: 1; color: var(--orange); }
.cs-sk { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.cs-quote { margin: 40px 0 0; font-size: clamp(18px, 1.6vw, 24px); font-weight: 600; }
.cs-quote cite { display: block; margin-top: 8px; font-size: 13px; font-style: normal; color: var(--muted); font-weight: 500; }
.cs-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.cs-tags span { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--soft); }

/* =====================================================================
   WORK
   ===================================================================== */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.pgrid .reel:nth-child(3n+2) { margin-top: clamp(0px, 6vw, 90px); }
.reel { position: relative; margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 9 / 13; background: #000; border: 1px solid var(--line); transition: transform .4s ease, border-color .4s ease; }
.reel:hover { transform: translateY(-6px); border-color: rgba(245,148,33,0.5); }
.reel img { width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.reel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%); pointer-events: none; }
.reel .v { position: absolute; z-index: 1; left: 16px; bottom: 14px; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.reel .v svg { width: 20px; height: 20px; color: #fff; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.6)); }
.total { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin-top: clamp(48px, 6vw, 90px); border-top: 1px solid var(--line); padding-top: 32px; }
.total .v { font-family: var(--display); font-weight: 800; font-size: clamp(48px, 6vw, 96px); line-height: 1; color: var(--orange); }
.total p { margin: 0; color: var(--soft); max-width: 44ch; }

/* =====================================================================
   ABOUT
   ===================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split p { color: var(--soft); margin: 0 0 16px; font-size: clamp(16px, 1.2vw, 18px); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pillar { border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px; background: var(--ink-2); }
.pillar .n { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--lilac); }
.pillar h3 { font-size: clamp(20px, 1.8vw, 26px); margin: 18px 0 10px; }
.pillar p { margin: 0; color: var(--soft); }

/* =====================================================================
   BOOK A CALL
   ===================================================================== */
.call-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.call-grid h2 { font-size: clamp(22px, 2vw, 30px); margin: 0 0 20px; }
.call-grid h2.mt { margin-top: 48px; }
.call-card { position: sticky; top: 110px; border: 1px solid rgba(161,101,195,0.35); border-radius: 24px; padding: 34px 30px; background: linear-gradient(160deg, rgba(117,58,150,0.35), rgba(117,58,150,0.08)); display: grid; gap: 18px; }
.call-card h3 { margin: 0; font-size: 26px; }
.call-meta { margin: 0; color: var(--soft); font-size: 14px; }
.call-card .btn { justify-content: center; }
.call-alt { display: grid; gap: 2px; font-size: 14px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 14px; }
.call-alt span { color: var(--muted); }
.call-alt a { font-weight: 600; text-decoration: none; }
.call-alt a:hover { color: var(--orange); }

/* =====================================================================
   LEGAL
   ===================================================================== */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(20px, 1.8vw, 26px); margin: 44px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--soft); }
.legal ul { padding-left: 20px; }
.legal a { color: var(--orange); }
.legal .grad { color: var(--orange); }
.legal-updated { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 36px; }
.legal-note { margin-top: 48px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--ink-2); }
.legal-note p { margin: 0; font-size: 15px; color: var(--muted); }
.legal-note strong { color: var(--soft); }

/* =====================================================================
   404
   ===================================================================== */
.page-404 { min-height: calc(var(--vh) - 120px); display: grid; align-items: center; }

/* =====================================================================
   small screens
   ===================================================================== */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  /* the call stays one tap away on phones too, next to the menu */
  .nav-in { gap: 12px; }
  .nav-cta { margin-left: auto; padding: 9px 16px; font-size: 13px; }
  .burger { display: block; margin-right: -8px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .svc-layout { grid-template-columns: 1fr; }
  .phase-rail { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs-body { grid-template-columns: 1fr; gap: 26px; }
  .cs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clarity, .pillars { grid-template-columns: 1fr; }
  .call-grid { grid-template-columns: 1fr; }
  .call-card { position: static; }
  .split { grid-template-columns: 1fr; }

  /* hero, tablets and phones: stacked, headline, phone, headline, then the call to action.
     Side by side, a portrait tablet squeezes the headline into the phone. */
  .home-hero { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; align-content: stretch; padding-block: 92px 170px; gap: 0; }
  .home-hero .h { font-size: clamp(30px, 6vw, 56px); }
  .home-hero .left, .home-hero .right { justify-self: center; text-align: center; }
  .home-hero .mid { display: none; }
  .home-hero .left { align-self: start; } .home-hero .right { align-self: end; }
  .scroll-cue { display: none; }

  /* signals, tablets and phones: two notifications above the phone, two below, none on it */
  #signals .m-hide { display: none; }
  #signals .t1 { top: max(12vh, 92px); }
  #signals .chip.s1 { left: 5%; right: auto; top: calc(max(12vh, 92px) + clamp(28px, 4.2vw, 78px) * 1.96 + 14px); }
  #signals .chip.s2 { left: auto; right: 5%; top: calc(max(12vh, 92px) + clamp(28px, 4.2vw, 78px) * 1.96 + 60px); }
  #signals .chip.s3 { left: 5%; right: auto; top: calc(var(--vh) * 0.88 - clamp(28px, 4.2vw, 78px) * 1.96 - 100px); }
  #signals .chip.s4 { left: auto; right: 5%; top: calc(var(--vh) * 0.88 - clamp(28px, 4.2vw, 78px) * 1.96 - 54px); }
}
@media (max-width: 760px) {
  #phone { width: min(44vw, 30vh); }
  .home-hero .foot-line { gap: 10px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
  .home-hero .value { font-size: clamp(15px, 4.2vw, 17px); }
  .hero-cta { flex-direction: column; gap: 8px; }
  .proof { font-size: 12px; }
  .m-hide { display: none !important; }
  /* blurred glass on a dozen moving chips costs phones frames, so it is solid here */
  .grain { display: none; }
  .chip { font-size: 12px; padding: 8px 12px 8px 10px; gap: 8px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(24,21,30,0.94); }
  .chip::before { width: 14px; height: 14px; }

  /* team: headline, then the roles, the phone in the gap (sized by forge2.js), platforms at the foot */
  #team .tt { top: max(11vh, 90px); max-width: none; right: var(--gutter); }
  .roles { position: absolute; left: 0; right: 0; top: calc(max(11vh, 90px) + 76px); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-inline: 16px; z-index: 12; }
  .roles .chip { position: static; }
  .platrow { bottom: calc(18px + env(safe-area-inset-bottom, 0px)); gap: 8px; }
  .platrow .chip { font-size: 12px; padding: 7px 10px 7px 8px; gap: 7px; }

  /* system: the phone gets the top of the screen, one module at a time below it */
  #system .sticky { grid-template-columns: 1fr; align-items: end; padding-bottom: calc(5vh + env(safe-area-inset-bottom, 0px)); }
  .mods { grid-column: 1; padding: 0 16px; gap: 10px; }
  .mods .eyebrow, .phase { display: none; }
  .mods .h { font-size: 24px; }
  .mprog { display: flex; gap: 3px; margin-bottom: 14px; }
  .mprog i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.14); transition: background .25s; }
  .mprog i.done { background: color-mix(in srgb, var(--c) 45%, transparent); }
  .mprog i.on { background: var(--c); }
  .dph { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; }
  .detail { min-height: 0; padding-top: 16px; }
  .detail .dh { font-size: 20px; }
  /* room for the longest description, so the block never grows into the phone mid-scroll */
  .detail p { font-size: 13px; min-height: 4.8em; }
  /* with motion off nothing steps through the modules, so the full list shows instead */
  html.no-motion .phase { display: grid; grid-template-columns: 1fr; gap: 6px; }
  html.no-motion .mod { font-size: 11.5px; padding: 5px 10px; }
  html.no-motion .mprog, html.no-motion .dph { display: none; }

  /* numbers: the stats sit on a clean strip of paper, clear of the scrolling columns */
  .ncol { width: 38vw; font-size: 20px; }
  #numbers .tb { bottom: 0; padding: 34px 16px calc(6vh + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, rgba(238,234,241,0) 0, var(--paper) 34px); }
  .nstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; width: 100%; max-width: 420px; }
  .nstats b { font-size: 24px; }
  .nstats span { display: block; margin-top: 6px; font-size: 10px; letter-spacing: 0.08em; line-height: 1.35; }
  .vid-grid { grid-template-columns: 1fr; max-width: 420px; }
  .mcard { grid-template-columns: 1fr; }
  .mini { width: 200px; justify-self: center; }
  .vwho a { padding-block: 4px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pgrid .reel:nth-child(3n+2) { margin-top: 0; }
  .pgrid .reel:nth-child(2n) { margin-top: 36px; }
  .cs-shots { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .phase-rail { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) { .detail p { min-height: 6.4em; } }
/* no motion (reduced motion, or the animation library failed to load):
   the home story becomes a normal page and the phone stays in the hero */
html.no-motion #object { position: absolute; height: var(--vh); }
html.no-motion #team, html.no-motion #tunnel, html.no-motion #system, html.no-motion #numbers, html.no-motion #signals { height: auto; }
html.no-motion .sticky { position: relative; height: auto; min-height: var(--vh); overflow: hidden; }
html.no-motion #team .tA, html.no-motion #team .tB { display: none; }
html.no-motion .mods { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feed, .segs i::after, .scroll-cue i::after { animation: none; }
  .btn, .reel, .q-a, .faq.js .q-a, .faq.js .q-a.open, .drawer, .mprog i { transition: none; }
}
