/* =====================================================================
   Tegpun — site styles (skeleton v1)
   Layout: dark cinematic bands alternate with warm-paper "proof" sheets
   that slide over them (40px rounded tops). 1248px content column.
   Matches Figma file "Tegpun — Website Redesign 2026" (Design System v1).
   ===================================================================== */
:root {
  /* colour — brand: navy, royal red, black; paper for proof sections */
  --ink: #05070F;
  --navy-950: #070B19;
  --navy-900: #0A1024;
  --navy-800: #111A36;
  --navy-700: #1B2650;
  --paper: #F6F4EF;
  --paper-2: #ECE8DF;
  --white: #FFFFFF;
  --red: #E0243A;
  --red-2: #FF4D63;
  --red-3: #A3132A;
  --ice: #C4D6FF;
  --ice-2: #7D97E8;
  --ok: #2BB673;
  --wa: #25D366;
  --t-dark: #F4F6FC;
  --t-dark-m: #98A1BC;
  --t-light: #0A1024;
  --t-light-m: #586078;
  --line-d: rgba(255, 255, 255, .10);
  --line-d2: rgba(255, 255, 255, .16);
  --line-l: rgba(10, 16, 36, .12);
  --glass: rgba(255, 255, 255, .04);
  --glass-2: rgba(255, 255, 255, .08);
  --red-tint: rgba(224, 36, 58, .14);

  /* type */
  --f-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* layout */
  --g: clamp(16px, 6.67vw, 96px);
  --maxw: 1248px;
  --r-card: 22px;
  --r-sheet: 40px;
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--t-dark);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
section[id], [id].anchor { scroll-margin-top: calc(var(--nav-h) + 40px); }

/* ---------- layout ---------- */
.band { position: relative; }
.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--g));
  margin-inline: auto;
  padding-left: max(var(--g), env(safe-area-inset-left, 0px));
  padding-right: max(var(--g), env(safe-area-inset-right, 0px));
}
.band--light { background: var(--paper); color: var(--t-light); }
.band--sheet { border-radius: var(--r-sheet) var(--r-sheet) 0 0; }
.band--light + .band--light { border-radius: 0; }
.pad-xl { padding-block: clamp(80px, 10vw, 140px); }
.pad-l { padding-block: clamp(64px, 8vw, 120px); }
.pad-m { padding-block: clamp(48px, 6vw, 96px); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; } .gap-28 { gap: 28px; }
.wrap-row { flex-wrap: wrap; }

/* ---------- type ---------- */
.d-xl, .d-l, .d-m, .h-l, .h-m { font-family: var(--f-display); font-weight: 500; margin: 0; text-wrap: balance; }
.d-xl { font-size: clamp(42px, 5.6vw, 80px); line-height: 1.05; letter-spacing: -.03em; }
.d-l { font-size: clamp(36px, 4.45vw, 64px); line-height: 1.09; letter-spacing: -.025em; }
.d-m { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.13; letter-spacing: -.02em; }
.h-l { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.2; letter-spacing: -.01em; }
.h-m { font-size: clamp(19px, 1.55vw, 22px); line-height: 1.27; letter-spacing: -.005em; }
.stat-num { font-family: var(--f-display); font-weight: 500; font-size: clamp(36px, 3.9vw, 56px); line-height: 1.07; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.b-l { font-size: clamp(17px, 1.32vw, 19px); line-height: 1.58; margin: 0; }
.b-m { font-size: 16px; line-height: 1.63; margin: 0; }
.b-s { font-size: 14px; line-height: 1.57; margin: 0; }
.b-s-m { font-size: 14px; line-height: 1.43; font-weight: 500; margin: 0; }
.mono { font-family: var(--f-mono); font-weight: 500; font-size: 12px; line-height: 1.33; letter-spacing: .08em; text-transform: uppercase; }
.mono-s { font-family: var(--f-mono); font-weight: 500; font-size: 11px; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; }
.em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; font-size: 1.09em; color: var(--red-2); }
.band--light .em, .on-light .em { color: var(--red); }
.muted { color: var(--t-dark-m); }
.band--light .muted, .on-light .muted { color: var(--t-light-m); }
.red { color: var(--red-2); }
.band--light .red { color: var(--red); }
.ice { color: var(--ice); }
.center { text-align: center; }
.measure { max-width: 62ch; }
p { margin: 0; }

/* kicker: red rule + mono label */
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--t-dark-m); }
.kicker::before { content: ""; width: 22px; height: 1.5px; background: var(--red); flex: none; }
.band--light .kicker { color: var(--t-light-m); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 15px 22px 15px 26px; border-radius: 999px;
  font-family: var(--f-body); font-weight: 600; font-size: 15px; line-height: 20px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--red) linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 55%); color: #fff; box-shadow: 0 10px 32px -6px rgba(224, 36, 58, .45); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(224, 36, 58, .6); }
.btn--ghost { background: var(--glass-2); color: var(--t-dark); border: 1px solid rgba(255,255,255,.22); padding-inline: 24px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn--ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.12); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-700); transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 11px 16px 11px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; }
.link svg { width: 16px; height: 16px; color: var(--red-2); transition: transform .25s var(--ease); }
.band--light .link svg { color: var(--red); }
.link:hover svg { transform: translateX(3px); }

/* ---------- pills / chips / tags ---------- */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--glass-2); border: 1px solid rgba(255,255,255,.16); color: var(--t-dark); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }
.pill--light { background: var(--white); border-color: var(--line-l); color: var(--t-light); }
.pill--red { background: var(--red-tint); border-color: rgba(224,36,58,.45); }
.tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--t-light-m); }
.tag--accent { background: rgba(224,36,58,.10); color: var(--red); }
.ph-tag { display: inline-flex; align-self: flex-start; padding: 4px 8px; border-radius: 6px; background: var(--red-tint); color: var(--red-2); }
.band--light .ph-tag { color: var(--red); }
html.hide-ph .ph-tag { display: none; }

/* ---------- glass + cards ---------- */
.glass { background: var(--glass); border: 1px solid var(--line-d); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(125,151,232,.07), rgba(125,151,232,0) 60%), var(--glass);
  border: 1px solid var(--line-d); overflow: hidden; min-width: 0;
  transition: transform .35s var(--ease), border-color .35s;
}
.card::after { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(196,214,255,.08), transparent 60%);
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.18); }
.card:hover::after { opacity: 1; }
.card--light { background: var(--white); border-color: var(--line-l); color: var(--t-light); box-shadow: 0 16px 40px -12px rgba(10,16,36,.08); }
.card--light::after { display: none; }

/* placeholder blocks (photos, creatives, logos) */
.ph {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  border-radius: 16px; border: 1px dashed rgba(10,16,36,.18); color: var(--t-light-m); min-width: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tint, #7D97E8) 22%, transparent), color-mix(in srgb, var(--tint, #7D97E8) 4%, transparent)), var(--paper-2);
}
.ph--dark { border-color: rgba(255,255,255,.2); color: var(--ice); background: linear-gradient(180deg, color-mix(in srgb, var(--tint, #E0243A) 28%, transparent), transparent), var(--navy-800); }
.ph svg { width: 22px; height: 22px; }
.ph img, .media-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* ---------- reveal motion (content visible at rest; animates only after first scroll) ---------- */
.rv-pending { opacity: 0; filter: blur(12px); transform: translateY(14px); }
.rv-in { opacity: 1; filter: blur(0); transform: none; transition: opacity .7s var(--ease), filter .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }

/* =====================================================================
   NAV
   ===================================================================== */
.nav { position: fixed; z-index: 50; top: calc(16px + env(safe-area-inset-top, 0px)); left: 0; right: 0; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); pointer-events: none; }
.nav__bar {
  pointer-events: auto; max-width: 1240px; margin-inline: auto; min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 24px; border-radius: 999px;
  background: rgba(10,16,36,.62); border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%);
  transition: background-color .35s, border-color .35s, color .35s, box-shadow .35s;
}
.nav.is-light .nav__bar { background: rgba(255,255,255,.78); border-color: var(--line-l); color: var(--t-light); box-shadow: 0 12px 30px -16px rgba(10,16,36,.25); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 500; font-size: 20px; letter-spacing: .14em; }
.logo svg { width: 30px; height: 30px; }
.logo svg .stroke { stroke: currentColor; }
.nav__links { display: flex; gap: 34px; font-size: 14px; font-weight: 500; }
.nav__links a { color: var(--t-dark-m); transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--t-dark); }
.nav.is-light .nav__links a { color: var(--t-light-m); }
.nav.is-light .nav__links a:hover, .nav.is-light .nav__links a[aria-current="page"] { color: var(--t-light); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.clock { display: inline-flex; align-items: center; gap: 8px; color: var(--ice); white-space: nowrap; }
.clock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(43,182,115,.6); animation: live 2.4s infinite; }
.nav.is-light .clock { color: var(--navy-700); }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(43,182,115,.55); } 70% { box-shadow: 0 0 0 8px rgba(43,182,115,0); } 100% { box-shadow: 0 0 0 0 rgba(43,182,115,0); } }
.nav .btn { min-height: 46px; padding: 12px 18px 12px 20px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--glass-2); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 18px; height: 1.8px; border-radius: 1px; background: currentColor; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.4px) rotate(-45deg); }
.nav.is-light .burger { background: var(--paper-2); }
.nav__menu { pointer-events: auto; max-width: 1240px; margin: 8px auto 0; padding: 16px; border-radius: 24px; background: rgba(10,16,36,.94); border: 1px solid var(--line-d); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); color: var(--t-dark); }
.nav__menu a { display: block; padding: 14px 8px; font-family: var(--f-display); font-size: 22px; border-bottom: 1px solid var(--line-d); }
.nav__menu a:last-of-type { border-bottom: 0; }

body.tgs #tgbot-btn { display: none !important; }
body.admin-bar .nav { top: calc(48px + env(safe-area-inset-top, 0px)); }
@media (max-width: 782px) { body.admin-bar .nav { top: calc(58px + env(safe-area-inset-top, 0px)); } }
@media (max-width: 600px) { body.admin-bar .nav { position: absolute; } }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero__bg, .hero__bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg { z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; pointer-events: none; }
.glow--cool { width: 1100px; height: 900px; left: -260px; top: -380px; background: radial-gradient(closest-side, rgba(125,151,232,.16), transparent); }
.glow--red { width: 900px; height: 900px; right: -180px; top: 60px; background: radial-gradient(closest-side, rgba(224,36,58,.20), transparent); }
.glow--horizon { width: 1200px; height: 360px; left: 50%; bottom: -60px; transform: translateX(-60%); background: radial-gradient(closest-side, rgba(224,36,58,.32), transparent); }
.horizon { position: absolute; left: 50%; top: calc(100% - 70px); width: max(3040px, 220vw); height: 1500px; transform: translateX(-50%); border-radius: 50%; background: linear-gradient(180deg, #0D1430, var(--ink) 25%); border-top: 1.5px solid rgba(196,214,255,.55); box-shadow: 0 -4px 22px rgba(255,77,99,.65), 0 -1px 6px rgba(255,77,99,.8); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); align-items: center; gap: 24px; padding-top: calc(140px + env(safe-area-inset-top, 0px)); padding-bottom: 150px; }
.hero__copy { display: flex; flex-direction: column; gap: 28px; position: relative; z-index: 2; min-width: 0; }
.hero__copy .d-xl { max-width: 13.5ch; }
.hero__sub { max-width: 560px; color: var(--t-dark-m); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--t-dark-m); }
.trust li { display: inline-flex; align-items: center; gap: 7px; list-style: none; }
.trust svg { width: 16px; height: 16px; color: var(--red-2); }
.trust, .plain { margin: 0; padding: 0; }
.stage { position: relative; aspect-ratio: 1; width: calc(100% + var(--g)); max-width: 820px; margin-right: calc(-1 * var(--g)); justify-self: end; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 0 4px rgba(196,214,255,.5)) drop-shadow(0 0 16px rgba(125,151,232,.32)); }
.radar { position: absolute; inset: -30%; width: 160%; height: 160%; pointer-events: none; opacity: .9; }
.chip {
  position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 16px;
  background: rgba(10,16,36,.55); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  font-size: 14px; line-height: 1.45; animation: float 7s ease-in-out infinite;
}
.chip--pill { flex-direction: row; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; }
.chip--leak { background: rgba(224,36,58,.16); border-color: rgba(224,36,58,.6); }
.chip .live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.chip .reddot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-2); flex: none; box-shadow: 0 0 10px var(--red-2); }
.chip svg { width: 16px; height: 16px; flex: none; }
.chip.mono-s { font-size: 11px; line-height: 1.3; }
.chip--a { top: 9%; right: 4%; width: 236px; animation-delay: -1s; }
.chip--b { top: 35%; left: 3%; animation-delay: -3s; }
.chip--c { top: 60%; right: 1%; width: 214px; animation-delay: -5s; }
.chip--d { top: 85%; left: 56%; animation-delay: -2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--t-dark-m); z-index: 2; }
.scroll-cue i { width: 1px; height: 36px; background: linear-gradient(rgba(255,255,255,.5), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* =====================================================================
   STATS + MARQUEE
   ===================================================================== */
.stats { padding-bottom: clamp(64px, 7vw, 96px); }
.stat-panel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, rgba(125,151,232,.10), rgba(125,151,232,0)), var(--glass); border: 1px solid var(--line-d); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.stat { display: flex; flex-direction: column; gap: 12px; padding: 30px; min-width: 0; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.08); }
.stat .plus { color: var(--red-2); }
.marquee { margin-top: 28px; border-block: 1px solid rgba(255,255,255,.08); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 28px; padding-block: 22px; animation: marquee 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 28px; color: var(--t-dark-m); white-space: nowrap; }
.marquee__track span::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.25); }
.marquee__track .lead { color: var(--red-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   MANIFESTO
   ===================================================================== */
.manifesto { position: relative; overflow: hidden; min-height: 640px; display: grid; place-items: center; text-align: center; }
.manifesto__grid { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.manifesto__glow { position: absolute; left: 50%; top: 50%; width: 620px; height: 360px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(224,36,58,.14), transparent); pointer-events: none; }
.manifesto__copy { position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; max-width: 1000px; padding-block: 120px; }
.manifesto__copy .b-l { max-width: 640px; color: var(--t-dark-m); }

/* =====================================================================
   SECTION HEADERS
   ===================================================================== */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.sec-head__l { display: flex; flex-direction: column; gap: 18px; max-width: 760px; min-width: 0; }
.sec-head__r { display: flex; flex-direction: column; gap: 14px; max-width: 380px; min-width: 0; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; }
.sec-head--center .sec-head__l { align-items: center; max-width: 900px; }

/* =====================================================================
   SIGNS (problem)
   ===================================================================== */
.signs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sign__top { display: flex; justify-content: space-between; align-items: flex-start; }
.sign__top svg { width: 48px; height: 48px; }
.sign .h-m { margin-top: 4px; }
.checker { margin-top: 16px; display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr) minmax(0, 250px); align-items: center; gap: 40px; padding: 32px 32px 32px 36px; border-radius: 24px; background: linear-gradient(90deg, rgba(224,36,58,.10), rgba(224,36,58,0)), var(--navy-900); border: 1px solid rgba(255,77,99,.25); }
.checker__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sel-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--glass-2); border: 1px solid rgba(255,255,255,.14); font-size: 14px; font-weight: 500; transition: background-color .2s, border-color .2s; }
.sel-chip svg { width: 16px; height: 16px; color: var(--t-dark-m); }
.sel-chip[aria-pressed="true"] { background: rgba(224,36,58,.18); border-color: rgba(255,77,99,.8); }
.sel-chip[aria-pressed="true"] svg { color: var(--red-2); }
.sel-chip .i-check { display: none; } .sel-chip[aria-pressed="true"] .i-check { display: block; } .sel-chip[aria-pressed="true"] .i-plus { display: none; }
.meter { display: flex; gap: 6px; }
.meter i { width: 32px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.12); transition: background-color .3s; }
.meter i.on { background: var(--red); }

/* =====================================================================
   SERVICES BENTO
   ===================================================================== */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bento > .card:nth-child(1) { grid-column: span 8; }
.bento > .card:nth-child(2) { grid-column: span 4; }
.bento > .card:nth-child(n+3) { grid-column: span 4; }
.svc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.legend { display: flex; flex-direction: column; gap: 8px; color: var(--t-dark-m); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend span::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: var(--c); }
.chart { width: 100%; height: auto; }
.chart .line-o { stroke-dasharray: 1200; stroke-dashoffset: 0; }
.axis { display: flex; justify-content: space-between; color: var(--t-dark-m); }
.card .link { margin-top: auto; padding-top: 4px; }
.agent { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; background: var(--navy-800); border: 1px solid var(--line-d); }
.agent__head { display: flex; align-items: center; gap: 8px; color: var(--ice); }
.agent__head svg { width: 16px; height: 16px; color: var(--red-2); }
.agent__actions { display: flex; gap: 8px; }
.agent__actions span { padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; background: var(--glass-2); }
.agent__actions span:first-child { background: var(--red); }
.ab { display: flex; gap: 12px; justify-content: center; padding-block: 8px; }
.ab__v { width: 112px; display: flex; flex-direction: column; gap: 7px; padding: 10px; border-radius: 14px; background: var(--navy-800); border: 1px solid rgba(255,255,255,.12); }
.ab__v.win { border-color: rgba(255,77,99,.8); }
.ab__v .t { align-self: flex-start; padding: 3px 7px; border-radius: 6px; background: var(--glass-2); }
.ab__v.win .t { background: var(--red); }
.ab__v i { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.15); }
.ab__v i.img { height: 46px; border-radius: 6px; background: rgba(255,255,255,.10); }
.ab__v i.cta { height: 22px; border-radius: 6px; background: rgba(255,255,255,.25); }
.ab__v.win i.cta { background: var(--red); }
.tiles { display: flex; gap: 10px; justify-content: center; padding-block: 8px; }
.tile { width: 96px; height: 150px; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.5)), var(--c); }
.tile b { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.tile b svg { width: 12px; height: 12px; }
.trackdia { position: relative; width: 100%; max-width: 330px; aspect-ratio: 330 / 166; margin: 8px auto; }
.trackdia svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.trackdia .node { position: absolute; transform: translate(-50%, -50%); padding: 5px 9px; border-radius: 999px; background: var(--navy-800); border: 1px solid rgba(255,255,255,.16); white-space: nowrap; }

/* =====================================================================
   CASE CAROUSEL (light)
   ===================================================================== */
.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; margin-right: calc(-1 * var(--g)); padding-right: var(--g); }
.carousel::-webkit-scrollbar { display: none; }
.case { flex: 0 0 min(940px, 86%); scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); min-height: 440px; border-radius: 28px; overflow: hidden; background: var(--navy-900); color: var(--t-dark); }
.case__l { display: flex; flex-direction: column; min-width: 0; }
.case__body { display: flex; flex-direction: column; gap: 20px; padding: 36px 36px 24px; flex: 1; }
.case__metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: auto; }
.metric { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); min-width: 0; }
.metric .h-m { font-size: 20px; }
.case__strip { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 36px; background: var(--paper-2); color: var(--t-light); }
.case .ph { border-radius: 0; border: 0; border-left: 1px dashed rgba(255,255,255,.18); }
.car-ctrl { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.dots { display: flex; gap: 8px; align-items: center; }
.dots button { width: 16px; height: 4px; border-radius: 2px; background: rgba(10,16,36,.15); transition: width .3s var(--ease), background-color .3s; }
.dots button[aria-current="true"] { width: 32px; background: var(--red); }
.arrows { display: flex; gap: 10px; }
.round { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line-l); color: var(--t-light); transition: background-color .2s; }
.round:hover { background: var(--paper-2); }
.round svg { width: 20px; height: 20px; }

/* =====================================================================
   CREATIVE WALL (light)
   ===================================================================== */
.wall { position: relative; height: 720px; overflow: hidden; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent); }
.wall__col { display: flex; flex-direction: column; gap: 14px; will-change: transform; }
.wall__col:nth-child(even) { margin-top: -60px; }
.creative { position: relative; overflow: hidden; }
.creative .over { position: absolute; inset: auto 8px 8px 8px; padding: 10px; border-radius: 10px; background: rgba(10,16,36,.86); color: var(--t-dark); text-align: left; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; font-size: 12px; line-height: 1.4; }
.creative:hover .over, .creative:focus-within .over { opacity: 1; transform: none; }

/* =====================================================================
   LOGOS + TESTIMONIALS (light)
   ===================================================================== */
.logos { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos__track { display: flex; gap: 16px; width: max-content; animation: marquee 36s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logo-ph { width: 196px; height: 84px; display: grid; place-items: center; border-radius: 14px; background: var(--white); border: 1px dashed var(--line-l); color: var(--t-light-m); flex: none; }
.logo-ph img { max-height: 40px; width: auto; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.quote { gap: 20px; }
.stars { display: flex; gap: 3px; color: var(--red); }
.stars svg { width: 16px; height: 16px; }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.6; }
.who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; background: var(--paper-2); border: 1px dashed rgba(10,16,36,.2); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.video-ph { aspect-ratio: 16 / 9; }
.video-ph .play { width: 52px; height: 52px; border-radius: 50%; background: var(--red); display: grid; place-items: center; color: #fff; }

/* =====================================================================
   PROCESS (growth loop)
   ===================================================================== */
.process { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 64px; align-items: center; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 0 14px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08); }
.steps .n { color: var(--red-2); padding-top: 4px; }
.steps .hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.loop { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1; justify-self: center; }
.loop svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.loop .orbit { stroke-dasharray: 6 8; }
.loop .arc { stroke-dasharray: 160; stroke-dashoffset: 0; }
.loop.armed .arc { stroke-dashoffset: 160; }
.loop.armed.in .arc { stroke-dashoffset: 0; transition: stroke-dashoffset 1.2s var(--ease) .3s; }
.loop__glow { position: absolute; inset: 21%; border-radius: 50%; background: radial-gradient(closest-side, rgba(224,36,58,.24), transparent); }
.loop__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.loop__center .serif { font-family: var(--f-serif); font-style: italic; font-size: 40px; line-height: 1.1; }
.loop__node { position: absolute; width: 21.3%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 10px; text-align: center; background: rgba(10,16,36,.85); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); font-size: 14px; line-height: 1.3; font-weight: 500; transition: border-color .4s, box-shadow .4s; }
.loop__node.lit { border-color: rgba(255,77,99,.9); box-shadow: 0 0 30px -6px rgba(224,36,58,.6); }

/* =====================================================================
   BOOKING
   ===================================================================== */
.book { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 48px; padding: 40px; border-radius: 32px; background: linear-gradient(90deg, rgba(224,36,58,.10), rgba(224,36,58,0) 50%), var(--navy-950); border: 1px solid var(--line-d); }
.book__pitch { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.gets { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.gets li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.gets i { width: 20px; height: 20px; border-radius: 50%; background: rgba(224,36,58,.18); display: grid; place-items: center; flex: none; color: var(--red-2); }
.gets i svg { width: 14px; height: 14px; }
.host { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line-d); }
.host__photo { width: 72px; height: 72px; border-radius: 50%; flex: none; display: grid; place-items: center; overflow: hidden; border: 2px solid rgba(255,77,99,.8); background: linear-gradient(180deg, rgba(224,36,58,.35), transparent), var(--navy-800); color: var(--ice); }
.host__photo svg { width: 22px; height: 22px; }
.host__photo img { width: 100%; height: 100%; object-fit: cover; }
.alt-contact { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--t-dark-m); font-size: 14px; }
.alt-contact span { display: inline-flex; align-items: center; gap: 7px; user-select: all; }
.alt-contact svg { width: 16px; height: 16px; }
.cal { display: grid; grid-template-columns: minmax(0, 1fr) 260px; border-radius: 24px; overflow: hidden; background: var(--navy-900); border: 1px solid rgba(255,255,255,.12); min-width: 0; }
.cal__month { display: flex; flex-direction: column; gap: 18px; padding: 28px; min-width: 0; }
.cal__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--t-dark-m); font-size: 14px; }
.cal__meta span { display: inline-flex; align-items: center; gap: 6px; }
.cal__meta svg { width: 15px; height: 15px; }
.cal__nav { display: flex; justify-content: space-between; align-items: center; }
.cal__nav .btns { display: flex; gap: 6px; }
.cal__nav button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); }
.cal__nav button:disabled { opacity: .3; cursor: default; }
.cal__nav svg { width: 16px; height: 16px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal__grid .wd { text-align: center; color: var(--t-dark-m); padding-bottom: 4px; }
.day { position: relative; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; color: rgba(152,161,188,.45); }
.day.avail { background: var(--glass-2); color: var(--t-dark); }
.day.avail::after { content: ""; position: absolute; bottom: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--red-2); }
.day.avail:hover { background: rgba(255,255,255,.14); }
.day[aria-pressed="true"] { background: var(--red); color: #fff; }
.day[aria-pressed="true"]::after { background: #fff; }
.cal__slots { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; background: var(--glass); border-left: 1px solid rgba(255,255,255,.08); min-width: 0; }
.slot { min-height: 44px; border-radius: 12px; border: 1px solid rgba(255,77,99,.5); color: var(--red-2); font-weight: 500; font-size: 14px; transition: background-color .2s, color .2s; }
.slot:hover { background: rgba(224,36,58,.12); }
.slot[aria-pressed="true"] { background: var(--navy-700); color: #fff; border-color: var(--red-2); }
.cal__form { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.field { width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--t-dark); font-size: 14px; }
.field::placeholder { color: var(--t-dark-m); }
select.field { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--t-dark-m) 50%), linear-gradient(135deg, var(--t-dark-m) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
.cal__summary { color: var(--ice); }
.cal__empty { color: var(--t-dark-m); font-size: 14px; }

/* =====================================================================
   FAQ (light)
   ===================================================================== */
.faq { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 80px; align-items: start; }
.faq__l { display: flex; flex-direction: column; gap: 22px; position: sticky; top: calc(var(--nav-h) + 48px); }
.acc { display: flex; flex-direction: column; gap: 12px; }
.acc details { border-radius: 18px; background: var(--white); border: 1px solid var(--line-l); transition: border-color .25s; }
.acc details[open] { border-color: rgba(224,36,58,.5); }
.acc summary { list-style: none; display: grid; grid-template-columns: 44px minmax(0, 1fr) 30px; align-items: center; gap: 12px; padding: 22px 24px; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .q { color: var(--red); }
.acc summary .pm { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--t-light); transition: background-color .25s, transform .3s var(--ease); }
.acc summary .pm svg { width: 16px; height: 16px; }
.acc details[open] .pm { background: var(--red); color: #fff; transform: rotate(45deg); }
.acc .ans { padding: 0 24px 22px 80px; color: var(--t-light-m); }

/* =====================================================================
   FINAL CTA + FOOTER
   ===================================================================== */
.final { position: relative; overflow: hidden; text-align: center; padding-block: 96px 220px; }
.final .horizon { top: calc(100% - 140px); }
.final__glow { position: absolute; left: 50%; bottom: 60px; width: 900px; height: 320px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(224,36,58,.35), transparent); pointer-events: none; }
.final__copy { position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.final__copy .b-l { max-width: 620px; color: var(--t-dark-m); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.footer { background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; padding-top: 96px; }
.footer__brand { display: flex; flex-direction: column; gap: 22px; max-width: 440px; }
.news { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 20px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line-d); }
.footer__cols { display: flex; gap: 72px; }
.footer__cols ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.footer__cols a:hover { color: var(--red-2); }
.wordmark { font-family: var(--f-display); font-weight: 500; font-size: clamp(90px, 20.8vw, 300px); line-height: .84; letter-spacing: -.04em; text-align: center; margin: 56px 0 0; background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.02)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 24px 36px; border-top: 1px solid rgba(255,255,255,.08); color: var(--t-dark-m); font-size: 14px; }
.footer__legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__legal button:hover, .footer__legal a:hover { color: var(--t-dark); }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--line-d); color: var(--t-dark); }
.socials svg { width: 18px; height: 18px; }

/* =====================================================================
   FLOATING WIDGETS
   ===================================================================== */
.float { position: fixed; z-index: 40; right: calc(24px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; transition: opacity .4s, transform .4s var(--ease); }
.float.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
.fab-wa { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 28px -6px rgba(37,211,102,.45); }
.fab-wa svg { width: 26px; height: 26px; }
.ask { display: inline-flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(10,16,36,.85); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); font-size: 14px; font-weight: 500; color: var(--t-dark); }
.ask svg { width: 18px; height: 18px; color: var(--red-2); }
.toggle { position: relative; width: 44px; height: 26px; border-radius: 999px; background: rgba(255,255,255,.14); flex: none; transition: background-color .25s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.toggle.on, [aria-checked="true"] > .toggle, [aria-expanded="true"] > .toggle { background: var(--red); }
.toggle.on::after, [aria-checked="true"] > .toggle::after, [aria-expanded="true"] > .toggle::after { transform: translateX(18px); }
.ask-panel { width: min(340px, calc(100vw - 32px)); padding: 18px; border-radius: 20px; background: var(--navy-900); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 60px -10px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 12px; }
.ask-panel a.qbtn { padding: 10px 12px; border-radius: 12px; background: var(--glass-2); font-size: 14px; }
.ask-panel a.qbtn:hover { background: rgba(255,255,255,.12); }

/* =====================================================================
   COOKIE CONSENT
   ===================================================================== */
.cc { position: fixed; z-index: 70; right: calc(24px + env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); width: min(440px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 20px; background: rgba(10,16,36,.94); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 24px 60px -10px rgba(0,0,0,.45); color: var(--t-dark); animation: ccIn .5s var(--ease); }
@keyframes ccIn { from { opacity: 0; transform: translateY(16px); } }
.cc__head { display: flex; align-items: center; gap: 14px; }
.cc__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--red-tint); display: grid; place-items: center; color: var(--red-2); flex: none; }
.cc__icon svg { width: 20px; height: 20px; }
.cc__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc__links { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.cc__links button, .cc__links a { text-decoration: underline; text-underline-offset: 3px; }
.cc__links .customize { color: var(--ice); font-weight: 500; }
.cc__links a { color: var(--t-dark-m); }
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(5,7,15,.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal__box { width: min(520px, 100%); max-height: calc(100dvh - 32px); overflow: auto; display: flex; flex-direction: column; gap: 18px; padding: 28px 28px 24px; border-radius: 24px; background: var(--navy-900); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px -10px rgba(0,0,0,.5); color: var(--t-dark); }
.modal__head { display: flex; justify-content: space-between; align-items: center; }
.x { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); }
.x svg { width: 18px; height: 18px; }
.cat { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 14px; background: var(--glass); border: 1px solid rgba(255,255,255,.08); }
.cat > div { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.switch { display: inline-flex; align-items: center; gap: 10px; }
.switch[aria-disabled="true"] .toggle { background: rgba(224,36,58,.45); }
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(5,7,15,.88); }
.lightbox img { max-width: min(1200px, 100%); max-height: 86dvh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox .x { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: calc(16px + env(safe-area-inset-right, 0px)); }

/* =====================================================================
   SCREENSHOT FRAME (portfolio)
   ===================================================================== */
.shot { position: relative; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--white); border: 1px solid var(--line-l); min-width: 0; }
.shot--dark { background: var(--navy-800); border-color: rgba(255,255,255,.14); }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--paper-2); min-width: 0; }
.shot--dark .shot__bar { background: var(--navy-700); }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.shot__bar i:nth-child(1) { background: #FF5F57; } .shot__bar i:nth-child(2) { background: #FEBC2E; } .shot__bar i:nth-child(3) { background: #28C840; }
.shot__url { margin-left: 4px; padding: 3px 10px; border-radius: 6px; background: var(--white); color: var(--t-light-m); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.shot--dark .shot__url { background: rgba(255,255,255,.08); color: var(--t-dark-m); }
.shot__body { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; background: linear-gradient(180deg, rgba(125,151,232,.10), rgba(224,36,58,.06)), var(--paper); min-height: 160px; }
.shot--dark .shot__body { background: linear-gradient(180deg, rgba(125,151,232,.10), rgba(224,36,58,.06)), var(--navy-900); }
.shot__body.has-img { padding: 0; background: var(--white); }
.shot__body img { width: 100%; height: 100%; object-fit: cover; object-position: top left; cursor: zoom-in; }
.faux { width: min(520px, 90%); display: flex; flex-direction: column; gap: 8px; }
.faux div { display: grid; grid-template-columns: 38fr 16fr 16fr 16fr; gap: 8px; }
.faux b { height: 8px; border-radius: 4px; background: rgba(10,16,36,.12); }
.faux div:nth-child(2) b:last-child { background: rgba(224,36,58,.6); }
.shot--dark .faux b { background: rgba(255,255,255,.12); }
.shot__label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-l); color: var(--t-light-m); }
.shot--dark .shot__label { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: var(--ice); }
.shot__label svg { width: 14px; height: 14px; }
.pin { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--navy-900); color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 6px 16px rgba(224,36,58,.35); white-space: nowrap; }
.pin b { padding: 3px 8px; border-radius: 999px; background: var(--red); font-family: var(--f-mono); font-size: 11px; }

/* portfolio page */
.p-hero { position: relative; overflow: hidden; background: var(--ink); isolation: isolate; }
.p-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: calc(150px + env(safe-area-inset-top, 0px)); padding-bottom: 110px; }
.mini-stats { display: flex; flex-wrap: wrap; gap: 12px; }
.mini-stats > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border-radius: 16px; }
.collage { position: relative; height: 470px; }
.collage .shot { position: absolute; width: 74%; box-shadow: 0 30px 60px -10px rgba(0,0,0,.5); }
.collage .shot:nth-child(1) { top: 0; left: 20%; transform: rotate(-6deg); opacity: .7; }
.collage .shot:nth-child(2) { top: 22%; left: 5%; transform: rotate(4deg); }
.collage .shot:nth-child(3) { top: 46%; left: 30%; width: 64%; transform: rotate(-2deg); }
.collage .shot__body { min-height: 230px; }
.filters { position: sticky; top: calc(var(--nav-h) + 28px + env(safe-area-inset-top, 0px)); z-index: 20; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px; border-radius: 999px; background: rgba(255,255,255,.92); border: 1px solid var(--line-l); box-shadow: 0 16px 40px -12px rgba(10,16,36,.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); margin-top: -28px; }
.filters__chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.filters__chips::-webkit-scrollbar { display: none; }
.fchip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; background: var(--paper-2); color: var(--t-light); font-size: 14px; font-weight: 500; }
.fchip[aria-pressed="true"] { background: var(--navy-900); color: #fff; }
.fchip .count { padding: 1px 7px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--f-mono); font-size: 11px; }
.filters__sel { display: flex; gap: 8px; flex: none; }
.filters select { appearance: none; padding: 9px 34px 9px 14px; border-radius: 999px; border: 1px solid var(--line-l); background: transparent; color: var(--t-light); font-size: 14px; font-weight: 500; background-image: linear-gradient(45deg, transparent 50%, var(--t-light) 50%), linear-gradient(135deg, var(--t-light) 50%, transparent 50%); background-position: calc(100% - 18px) 17px, calc(100% - 13px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
.featured { display: grid; grid-template-columns: minmax(0, 756px) minmax(0, 1fr); border-radius: 28px; overflow: hidden; background: var(--white); border: 1px solid var(--line-l); box-shadow: 0 16px 40px -12px rgba(10,16,36,.08); margin-top: 40px; }
.featured__shot { padding: 28px; background: var(--paper-2); }
.featured__shot .shot { height: 100%; }
.featured__body { display: flex; flex-direction: column; gap: 20px; padding: 40px; min-width: 0; }
.badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--navy-900); color: #fff; }
.badge svg { width: 12px; height: 12px; color: var(--red-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mets > div { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line-l); min-width: 0; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.pcard { display: flex; flex-direction: column; gap: 18px; padding: 18px; border-radius: 26px; }
.pcard .shot__body { min-height: 300px; }
.pcard__body { display: flex; flex-direction: column; gap: 14px; padding: 4px 8px 6px; }
.pcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.empty { padding: 48px; text-align: center; border-radius: 24px; border: 1px dashed var(--line-l); color: var(--t-light-m); margin-top: 20px; }
.load { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; }
.cta-strip { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 56px; }

/* case study page */
.cs-head { padding-top: calc(150px + env(safe-area-inset-top, 0px)); padding-bottom: 72px; display: flex; flex-direction: column; gap: 28px; }
.crumb { display: flex; align-items: center; gap: 10px; color: var(--t-dark-m); }
.crumb svg { width: 12px; height: 12px; }
.crumb a:hover { color: var(--t-dark); }
.cs-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cs-meta > div { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 16px; min-width: 0; }
.cs-res { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cs-res > div { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(224,36,58,.12), rgba(224,36,58,0)), var(--navy-900); border: 1px solid var(--line-d); min-width: 0; }
.ba { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.ba s { color: var(--t-dark-m); font-family: var(--f-display); font-size: 22px; }
.ba svg { width: 16px; height: 16px; color: var(--red-2); align-self: center; }
.cs-res .stat-num { font-size: clamp(30px, 2.9vw, 42px); }
.proof { position: relative; overflow: hidden; border-radius: 16px; }
.proof .shot__body { min-height: clamp(280px, 48vw, 660px); }
.story { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 80px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 48px); display: flex; flex-direction: column; gap: 4px; }
.toc > a { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--t-light-m); font-size: 14px; font-weight: 500; }
.toc > a::before { content: ""; width: 2px; height: 20px; background: rgba(10,16,36,.12); }
.toc > a.on { color: var(--t-light); }
.toc > a.on::before { background: var(--red); }
.toc__cta { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 18px; background: var(--navy-900); color: var(--t-dark); }
.story__body { display: flex; flex-direction: column; gap: 44px; min-width: 0; }
.story__sec { display: flex; flex-direction: column; gap: 14px; }
.changes { list-style: none; margin: 0; padding: 0; }
.changes li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-l); }
.changes .n { color: var(--red); padding-top: 4px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pair > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.chipline { display: flex; align-items: center; gap: 8px; }
.chipline b { padding: 3px 9px; border-radius: 999px; background: var(--navy-900); color: #fff; }
.chipline b.after { background: var(--red); }
.fquote { display: flex; align-items: center; gap: 28px; padding: 36px; border-radius: 28px; background: var(--navy-900); color: var(--t-dark); }
.fquote .host__photo { width: 96px; height: 96px; }
.fquote blockquote { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.18; }
.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gal figure { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gal .shot__body { min-height: 170px; }
.next { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-block: 64px; }
.next .shot { width: min(460px, 40%); transform: rotate(-3deg); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1180px) {
  .nav__links { gap: 22px; }
  .clock { display: none; }
  .chip--a, .chip--c { display: none; }
  .checker { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .bento > .card:nth-child(1), .bento > .card:nth-child(2) { grid-column: span 12; }
  .process { grid-template-columns: minmax(0, 1fr); }
  .book { grid-template-columns: minmax(0, 1fr); }
  .featured { grid-template-columns: minmax(0, 1fr); }
  .footer__top { flex-direction: column; }
}
@media (max-width: 980px) {
  :root { --nav-h: 56px; }
  .nav { top: calc(12px + env(safe-area-inset-top, 0px)); padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); }
  .nav__bar { padding: 6px 6px 6px 16px; }
  .nav__links { display: none; }
  .burger { display: inline-flex; }
  .logo { font-size: 17px; } .logo svg { width: 26px; height: 26px; }
  .nav .btn { min-height: 40px; padding: 9px 14px; font-size: 14px; }
  .nav .btn svg { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); padding-top: calc(110px + env(safe-area-inset-top, 0px)); padding-bottom: 110px; }
  .stage { width: 100%; max-width: 520px; margin: 0 auto; justify-self: center; }
  .chip--b { left: 0; } .chip--d { left: 52%; }
  .stat-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.08); }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .signs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > .card:nth-child(n+3) { grid-column: span 6; }
  .bento > .card:nth-child(5) { grid-column: span 12; }
  .case { grid-template-columns: minmax(0, 1fr); }
  .case .ph { min-height: 200px; border-left: 0; border-top: 1px dashed rgba(255,255,255,.18); order: -1; }
  .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); height: 640px; }
  .wall__col:nth-child(n+4) { display: none; }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .faq__l { position: static; }
  .p-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .collage { height: 340px; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .cs-meta, .cs-res { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .toc { position: static; }
  .toc > a:not(.on) { display: none; }
  .next { flex-direction: column; align-items: flex-start; }
  .next .shot { width: 100%; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .d-xl { font-size: 44px; line-height: 1.09; letter-spacing: -.025em; }
  .hero__copy { gap: 22px; }
  .hero__copy .btn { width: 100%; }
  .hero .btn-row { flex-direction: column; }
  .chip--b { top: 30%; } .chip--d { top: 88%; left: 46%; }
  .stat { padding: 18px; } .stat-num { font-size: 34px; }
  .stat .b-s { font-size: 13px; }
  .signs { grid-template-columns: minmax(0, 1fr); }
  .bento > .card:nth-child(n) { grid-column: span 12; }
  .card { padding: 22px; }
  .case { flex-basis: 88%; min-height: 0; }
  .case__body { padding: 22px; }
  .case__strip { padding: 14px 22px; }
  .case__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case__metrics .metric:nth-child(3) { display: none; }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); height: 460px; }
  .wall__col:nth-child(n+3) { display: none; }
  .book { padding: 20px; border-radius: 24px; }
  .cal { grid-template-columns: minmax(0, 1fr); }
  .cal__month { padding: 18px; }
  .cal__slots { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); padding: 18px; }
  .cal__slotlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .day { height: 40px; }
  .acc summary { grid-template-columns: minmax(0, 1fr) 30px; padding: 18px; }
  .acc summary .q { display: none; }
  .acc .ans { padding: 0 18px 18px; }
  .footer__cols { flex-wrap: wrap; gap: 32px 48px; }
  .cc { right: 0; bottom: 0; width: 100%; border-radius: 24px 24px 0 0; padding: 20px max(20px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); }
  .float { right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .ask .lbl { display: none; }
  .ask { padding-left: 12px; }
  .filters { border-radius: 20px; flex-direction: column; align-items: stretch; }
  .filters__sel select { flex: 1; min-width: 0; width: 100%; }
  .featured__body { padding: 22px; }
  .featured__shot { padding: 14px; }
  .mets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cs-meta, .cs-res { grid-template-columns: minmax(0, 1fr); }
  .pair, .gal { grid-template-columns: minmax(0, 1fr); }
  .fquote { flex-direction: column; align-items: flex-start; padding: 24px; }
  .pin { font-size: 0; gap: 0; padding: 4px; }
  .pin b { font-size: 11px; }
  .svc-top { flex-direction: column; gap: 12px; }
  .legend { flex-direction: row; gap: 16px; }
  .axis span:nth-child(2), .axis span:nth-child(3) { display: none; }
  .loop__node { width: 25%; font-size: 11px; padding: 6px; gap: 2px; }
  .loop__node .mono-s { font-size: 9px; }
  .loop__center .serif { font-size: 28px; }
  .loop__center .h-m { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rv-pending { opacity: 1; filter: none; transform: none; }
}

/* =====================================================================
   UPDATE 2026-10-26 — new T-arrow logo, mobile polish, 3D scroll effects
   (Everything below this line can be deleted to roll this update back.)
   ===================================================================== */

/* ---------- logo ---------- */
.logo svg { flex: none; width: 32px; height: 32px; filter: drop-shadow(0 6px 14px rgba(84, 72, 236, .45)); }
.footer .logo svg { width: 36px; height: 36px; }

/* ---------- touch devices: no sticky hover lifts ---------- */
@media (hover: none) {
  .card:hover { transform: none; }
  .btn--primary:hover, .btn--dark:hover { transform: none; }
}

/* ---------- phones ---------- */
@media (max-width: 640px) {
  .logo svg { width: 28px; height: 28px; }
  .d-xl { font-size: clamp(34px, 11.4vw, 44px); }
  .d-l { font-size: clamp(30px, 9.2vw, 36px); }
  .d-m { font-size: clamp(27px, 8.2vw, 30px); }
  .hero__grid { padding-top: calc(100px + env(safe-area-inset-top, 0px)); padding-bottom: 96px; }
  .hero .pill.mono-s, .hero .pill .mono-s { font-size: 10px; letter-spacing: .04em; }
  .stage { max-width: 420px; }

  /* iOS Safari zooms into inputs under 16px */
  .field, select.field, .filters select, input, select, textarea { font-size: 16px; }

  /* swipeable card rows instead of long stacks */
  .signs, .quotes {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--g)); padding: 6px var(--g) 18px; scroll-padding-inline: var(--g);
  }
  .signs::-webkit-scrollbar, .quotes::-webkit-scrollbar { display: none; }
  .signs > .card, .quotes > .quote { flex: 0 0 84%; scroll-snap-align: start; }
  .swipe-hint { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--t-dark-m); }
  .band--light .swipe-hint { color: var(--t-light-m); }
  .swipe-hint i { display: block; height: 3px; flex: 1; max-width: 120px; border-radius: 2px; background: rgba(127,127,127,.25); overflow: hidden; position: relative; }
  .swipe-hint i b { position: absolute; inset: 0 auto 0 0; width: 30%; border-radius: inherit; background: var(--red); transition: transform .2s linear; }

  .steps .hd { flex-wrap: wrap; gap: 4px 12px; }
  .footer__cols ul { gap: 4px; }
  .footer__cols a, .footer__cols li > span { display: inline-block; padding: 8px 0; }
  .footer__legal a, .footer__legal button { padding: 8px 0; }

  /* floating buttons: compact round icons, out of the way of the hero CTAs */
  .float { gap: 10px; }
  .fab-wa { width: 50px; height: 50px; }
  .ask { width: 50px; height: 50px; padding: 0; justify-content: center; }
  .ask .toggle, .ask .lbl { display: none; }
  .ask svg { width: 20px; height: 20px; }
}
@media (max-width: 380px) {
  .nav__bar { gap: 8px; padding-left: 12px; }
  .logo { font-size: 15px; letter-spacing: .1em; gap: 8px; }
  .logo svg { width: 26px; height: 26px; }
  .nav .btn { padding: 8px 12px; font-size: 13px; min-height: 38px; }
  .burger { width: 40px; height: 40px; }
  .nav__right { gap: 8px; }
}
.swipe-hint { display: none; }
@media (max-width: 640px) { .swipe-hint { display: flex; } }

/* ---------- 3D scroll effects (driven by main.js; inert without JS) ---------- */
.fx-p { perspective: 1100px; perspective-origin: 50% 30%; }
.fx { transform-origin: 50% 100%; }
.fx-on .fx.fx-act { translate: 0 var(--fx-y, 0px); rotate: 1 0 0 var(--fx-rx, 0deg); scale: var(--fx-s, 1); }
.fx-sheet { transform-origin: 50% 0; }
.fx-word { transform-origin: 50% 100%; }
.hero__copy, .stage { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .fx-on .fx.fx-act { translate: none; rotate: none; scale: none; }
}

/* ---------- soft-3D decorative elements (manifesto + final CTA) ---------- */
.deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0; transition: opacity .8s var(--ease); }
.deco.is-ready { opacity: 1; }
.manifesto__copy, .final__copy { z-index: 1; }
.deco__item { position: absolute; width: var(--w); aspect-ratio: 1; left: var(--l, auto); top: var(--t, auto); right: var(--r, auto); bottom: var(--b, auto); }
.deco__item svg { display: block; width: 100%; height: 100%; animation: decoBob var(--dur, 7s) ease-in-out infinite; animation-delay: var(--del, 0s); filter: drop-shadow(0 0 28px rgba(84, 72, 236, .28)); }
@keyframes decoBob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
@media (max-width: 980px) {
  .deco__item { width: calc(var(--wm, 0px) * 1.2); left: var(--lm, auto); top: var(--tm, auto); right: var(--rm, auto); bottom: var(--bm, auto); }
  .deco__item[data-m="0"] { display: none; }
  .deco__item svg { filter: none; }
}
@media (max-width: 640px) { .deco__item { width: var(--wm, 0px); } }
