/* =====================================================================
   PITCH STYLES - brand-agnostic. Colours come from brand/config.js.
   ===================================================================== */
:root {
  --brand: #E10A0A; --brand-deep: #8E0610; --ink: #0B0B0F; --ink-soft: #17171D;
  --paper: #FFFFFF; --paper-soft: #F4F4F6; --accent: #FFB4B4;
  --text-dark: #15151A; --muted-dark: #63636B; --muted-light: rgba(255,255,255,.68);
  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.18,.86,.22,1);
  --spring: cubic-bezier(.22,1.32,.36,1);
  --gut: clamp(20px, 5vw, 72px);
  --mx: 0; --my: 0;
}
@supports (transition-timing-function: linear(0, 1)) {
  :root { --spring: linear(0, .009, .035 2.1%, .141 4.4%, .723 12.9%, .938 16.7%, 1.017 19.6%, 1.077 22.9%, 1.104 26.2%, 1.101 29.9%, 1.075 35.2%, 1.019 43.1%, .991 49.6%, .985 55.4%, .999 71.1%, 1.002 80%, 1); }
}
@property --pctn { syntax: "<number>"; inherits: true; initial-value: 0; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; }
body { font-family: var(--body); background: var(--ink); color: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

/* ---------- deck vs flow ---------- */
body[data-mode="deck"] { overflow: hidden; height: 100vh; }
body[data-mode="deck"] .viewport { position: fixed; inset: 0; overflow: hidden; }
.stage { will-change: transform; }
body[data-mode="deck"] .stage { transition: transform .95s var(--ease); }
.ch { position: relative; overflow: hidden; width: 100%; }
body[data-mode="deck"] .ch { height: 100vh; }
.hch .rail { display: flex; height: 100%; will-change: transform; }
body[data-mode="deck"] .hch .rail { transition: transform .95s var(--ease); }
.panel { position: relative; flex: 0 0 100vw; width: 100vw; height: 100%; overflow: hidden; }
.h-bg { position: absolute; inset: 0 -60vw 0 0; transition: transform .95s var(--ease); background: radial-gradient(40% 60% at 30% 50%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 70%), radial-gradient(30% 40% at 85% 30%, color-mix(in srgb, var(--brand) 8%, transparent), transparent 70%); pointer-events: none; z-index: 0; }
.hch .rail { position: relative; z-index: 1; }
body[data-mode="flow"] .hch .rail { display: block; }
body[data-mode="flow"] .h-bg { display: none; }

/* tones */
.dark { background: var(--ink); color: #fff; }
.light { background: var(--paper); color: var(--text-dark); }
.light.soft, .journey { background: var(--paper-soft); }
.j-panel { background: transparent; }
.brand { background: radial-gradient(110% 90% at 15% 0%, var(--brand) 0%, var(--brand-deep) 75%); color: #fff; }

/* depth: frosted glass and soft glows */
.glass { background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.13); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 30px 60px -30px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.08); }
.glass-light { background: rgba(255,255,255,.74); border: 1px solid rgba(255,255,255,.95); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 30px 60px -32px rgba(20,20,40,.28); }
.shift-glow, .pm-glow, .bd-glow, .pl-glow, .pt-glow, .card-glow { position: absolute; inset: 0; pointer-events: none; }
.shift-glow { background: radial-gradient(40% 50% at 85% 50%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 70%); }
.pm-glow { background: radial-gradient(35% 40% at 90% 15%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%), radial-gradient(40% 40% at 10% 100%, color-mix(in srgb, var(--brand) 8%, transparent), transparent 70%); }
.bd-glow { background: radial-gradient(45% 55% at 75% 55%, color-mix(in srgb, var(--brand) 28%, transparent), transparent 70%), radial-gradient(30% 40% at 5% 90%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%); }
.pl-glow { background: radial-gradient(60% 40% at 50% 70%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%); }
.pt-glow { background: radial-gradient(40% 50% at 25% 70%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%), radial-gradient(40% 50% at 80% 70%, rgba(80,140,220,.14), transparent 70%); }
.card-glow { background: radial-gradient(40% 55% at 30% 50%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 70%); }

/* frame */
.frame { position: relative; z-index: 2; max-width: 1280px; height: 100%; margin: 0 auto; padding: 96px var(--gut) 76px; display: flex; flex-direction: column; justify-content: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }

/* type */
.kicker { font: 600 13px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.dark .kicker, .brand .kicker { color: var(--accent); }
.display { font: 800 clamp(30px, min(4.3vw, 6.8vh), 66px)/1.02 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.mega { font: 900 clamp(38px, min(6.4vw, 10vh), 112px)/.96 var(--display); letter-spacing: -.04em; text-wrap: balance; max-width: 15ch; }
.lead { font-size: clamp(16px, min(1.35vw, 2.3vh), 20px); line-height: 1.55; max-width: 36em; margin-top: 22px; color: var(--muted-dark); text-wrap: pretty; }
.dark .lead { color: var(--muted-light); }
.brand .lead { color: rgba(255,255,255,.86); }
.foot { margin-top: 26px; font-size: 13px; color: var(--muted-dark); }
.hint-line { margin-top: 30px; font-size: 13px; letter-spacing: .06em; color: var(--muted-dark); display: inline-flex; gap: 8px; align-items: center; }
.dark .hint-line { color: var(--muted-light); }
.hint-line::before { content: ""; width: 26px; height: 2px; background: var(--brand); }

/* entrance animation: spring-based, staggered. Uses `translate` so `transform` stays free for hover tilt. */
.a { opacity: 0; translate: 0 34px; transition: opacity .8s var(--ease), translate 1.1s var(--spring); }
.ch:not(.hch).on .a, .panel.on .a { opacity: 1; translate: none; transition-delay: var(--d, 0s); }

/* animated line icons */
.ico { width: 1em; height: 1em; display: block; overflow: visible; }
.ico path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1.2; stroke-dashoffset: 1.01; stroke-opacity: 0; transition: stroke-dashoffset 1.2s var(--ease) var(--icod, .35s), stroke-opacity .2s linear var(--icod, .35s); }
.ch.on .ico path, .panel.on .ico path, .ico.drawn path { stroke-dashoffset: 0; stroke-opacity: 1; }

/* micro-interactions: cards lift and tilt under the pointer, press in on tap */
.lift { transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) translateY(var(--ly, 0px)); transition: transform .5s var(--spring), box-shadow .4s, border-color .3s, opacity .8s var(--ease), translate 1.1s var(--spring); }
@media (hover: hover) { .lift:hover { --ly: -6px; } }
.lift:active { --ly: 1px; }
.ch.on .lift.a, .panel.on .lift.a { transition-delay: 0s, 0s, 0s, var(--d, 0s), var(--d, 0s); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--brand); color: #fff; text-decoration: none; font: 600 16px/1 var(--body); padding: 17px 28px; border-radius: 999px; transition: transform .45s var(--spring), box-shadow .3s; box-shadow: 0 10px 30px -14px color-mix(in srgb, var(--brand) 80%, transparent); }
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 36px -12px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn:active { transform: scale(.97); }
.btn .arr { transition: transform .4s var(--spring); }
.btn:hover .arr { transform: translateX(5px); }
.btn-light { background: #fff; color: var(--brand); box-shadow: 0 16px 40px -16px rgba(0,0,0,.45); }
.btn-big { font-size: 18px; padding: 21px 38px; }

/* ---------- HUD ---------- */
.grain { position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.hud { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; gap: 14px; padding: 22px var(--gut); pointer-events: none; transition: background .4s, color .4s; }
.hud > * { pointer-events: auto; }
.hud-logo img { height: 28px; width: auto; }
.hud-logo .on-light { display: none; }
body[data-tone="light"] .hud-logo .on-dark { display: none; }
body[data-tone="light"] .hud-logo .on-light { display: block; }
.hud-prod { font: 700 15px/1 var(--display); padding-left: 14px; border-left: 1px solid currentColor; opacity: .85; transition: color .4s; }
body[data-tone="light"] .hud { color: var(--text-dark); }
.burger { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-content: center; gap: 6px; transition: color .4s, background .3s, transform .4s var(--spring); }
.burger:hover { transform: scale(1.06); }
.burger i { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.menu-open .burger i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger i:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-open .hud { color: #fff; background: transparent !important; box-shadow: none !important; }
.menu-open .hud-logo .on-dark { display: block !important; }
.menu-open .hud-logo .on-light { display: none !important; }
.menu { position: fixed; inset: 0; z-index: 55; background: rgba(11,11,15,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu-in { width: 100%; max-width: 1280px; margin: 0 auto; padding: 100px var(--gut) 60px; max-height: 100vh; overflow: auto; }
.menu ol { list-style: none; columns: 2; column-gap: 60px; }
.menu li button { display: flex; align-items: baseline; gap: 18px; padding: 8px 0; font: 700 clamp(20px, min(2.6vw, 4.2vh), 34px)/1.2 var(--display); letter-spacing: -.02em; color: rgba(255,255,255,.55); transition: color .25s, transform .3s var(--ease); text-align: left; }
.menu li button span { font: 600 13px/1 var(--body); color: var(--accent); width: 24px; }
.menu li button:hover, .menu li button.cur { color: #fff; transform: translateX(6px); }

.foot-hud { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; pointer-events: none; }
.foot-hud .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(128,128,128,.18); }
.foot-hud .bar i { position: absolute; inset: 0; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); transition: transform .9s var(--ease); }
.counter { position: absolute; right: var(--gut); bottom: 18px; font: 600 12px/1 var(--body); letter-spacing: .14em; opacity: .7; }
body[data-tone="light"] .foot-hud { color: var(--text-dark); }
.harrows { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: none; align-items: center; gap: 12px; pointer-events: auto; }
body[data-mode="deck"].is-h .harrows { display: flex; }
.harrows button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 18px; transition: background .25s, color .25s, opacity .25s, transform .4s var(--spring); }
.harrows button:hover:not(:disabled) { background: var(--brand); border-color: var(--brand); color: #fff; transform: scale(1.08); }
.harrows button:disabled { opacity: .25; cursor: default; }
.hcount { min-width: 56px; text-align: center; font: 700 13px/1 var(--body); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
body[data-mode="flow"] .counter { display: none; }

/* ---------- COVER ---------- */
.cover-glow { position: absolute; inset: 0; background: radial-gradient(45% 60% at 78% 55%, color-mix(in srgb, var(--brand) 42%, transparent), transparent 70%), radial-gradient(35% 45% at 10% 100%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%); }
.cover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; max-width: 1400px; }
.lockup { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.lk-air { height: clamp(44px, 7vh, 66px); width: auto; }
.lk-ins { height: clamp(32px, 5vh, 46px); width: auto; border-radius: 4px; }
.lockup .x { font: 300 24px/1 var(--display); color: rgba(255,255,255,.45); }
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: clamp(30px, 6.5vh, 68px); }
.cover-title { font: 900 clamp(44px, min(6.4vw, 10.5vh), 118px)/.93 var(--display); letter-spacing: -.045em; }
.hl { display: block; overflow: hidden; padding-bottom: .05em; }
.hl > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--spring) calc(.2s + var(--i) * .1s); }
.hl:nth-child(n+2) > span { background: linear-gradient(90deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cover.on .hl > span { transform: none; }
.cover-intro { max-width: 34em; margin-top: 24px; color: var(--muted-light); font-size: clamp(15px, min(1.3vw, 2.2vh), 19px); }
.cover-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
.powered { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.powered img { height: 30px; width: auto; }
.cover-art { display: flex; justify-content: center; align-items: center; min-width: 0; }
.cover-art img { max-height: 90vh; width: auto; height: auto; object-fit: contain; align-self: center; filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)); }
.float { animation: float 7s ease-in-out infinite; transform: translate(calc(var(--mx) * -18px), calc(var(--my) * -14px)); transition: transform .4s ease-out; }
@keyframes float { 50% { translate: 0 -14px; } }

/* ---------- BAND ---------- */
.band-bg, .rw-bg { position: absolute; inset: 0; }
.band-bg img, .rw-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 6s cubic-bezier(.2,.6,.2,1); }
.band-bg img { object-position: 50% 50%; }
.band.on .band-bg img, .panel.on .rw-bg img { transform: scale(1); }
.band-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,15,.5) 0%, rgba(11,11,15,0) 30%, rgba(11,11,15,.2) 50%, rgba(11,11,15,.92) 100%); }
.band-copy { justify-content: flex-end; }
.band-copy .lead { margin-top: 18px; color: rgba(255,255,255,.86); }
.band-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.band-list li { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.band-list li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center/12px no-repeat; }
.band-after { margin-top: 18px !important; font-weight: 600; color: #fff !important; }

/* ---------- SHIFT ---------- */
.pillars { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 16px 20px; }
.pillar { grid-column: 1 / -1; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 20px; align-items: center; background: #fff; border: 1px solid rgba(0,0,0,.05); border-radius: 24px; padding: clamp(16px, 2.6vh, 26px) 26px; box-shadow: 0 24px 50px -30px rgba(20,20,40,.3); }
@media (hover: hover) { .pillar:hover { box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--brand) 40%, transparent); } }
.pv { font: 900 clamp(44px, min(5vw, 8vh), 72px)/1 var(--display); letter-spacing: -.04em; color: var(--brand); display: flex; align-items: baseline; gap: 2px; font-variant-numeric: tabular-nums; }
@supports (grid-template-columns: subgrid) { .pillar { grid-template-columns: subgrid; } }
.pv { white-space: nowrap; }
.pv small { font: 700 15px/1 var(--display); letter-spacing: 0; color: var(--text-dark); margin-left: 8px; }
.pillar p { color: var(--muted-dark); font-size: 16px; }

/* ---------- WHAT IS PARAMETRIC ---------- */
.pm-frame { justify-content: center; padding-bottom: 64px; }
.pm-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.paramch .display { font-size: clamp(28px, min(3.5vw, 5.6vh), 54px); }
.paramch .lead { font-size: clamp(15px, min(1.15vw, 2vh), 18px); margin-top: 16px; }
.pm-why { border-radius: 24px; padding: clamp(16px, 2.6vh, 26px); }
.pm-why h3 { font: 700 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: clamp(10px, 2vh, 18px); }
.pm-bens { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 2vh, 18px) 18px; }
.pm-ben { display: flex; gap: 12px; align-items: flex-start; }
.pm-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 16%, transparent); }
.pm-ben b { display: block; font: 700 15px/1.25 var(--display); }
.pm-ben div > span { display: block; font-size: 13px; line-height: 1.4; color: var(--muted-dark); margin-top: 3px; }
.pm-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: clamp(16px, 3.6vh, 36px); }
.pm-tile { position: relative; height: clamp(124px, 20vh, 190px); perspective: 1000px; text-align: left; opacity: 0; translate: 0 60px; transition: opacity .7s var(--ease), translate 1.1s var(--spring); transition-delay: calc(.5s + var(--i) * .09s); }
.paramch.on .pm-tile { opacity: 1; translate: none; }
.pm-flip { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: transform .8s var(--spring); }
@media (hover: hover) { .pm-tile:hover .pm-flip { transform: rotateY(180deg); } }
.pm-tile.flip .pm-flip { transform: rotateY(180deg); }
.pm-face { position: absolute; inset: 0; border-radius: 20px; padding: clamp(14px, 2.2vh, 20px); display: flex; flex-direction: column; justify-content: flex-end; -webkit-backface-visibility: hidden; backface-visibility: hidden; overflow: hidden; }
.pm-front { background: #fff; border: 1px solid rgba(0,0,0,.06); box-shadow: 0 24px 40px -28px rgba(20,20,40,.35); }
.pm-back { background: linear-gradient(150deg, var(--brand), var(--brand-deep)); color: #fff; transform: rotateY(180deg); justify-content: center; gap: 6px; box-shadow: 0 24px 40px -20px color-mix(in srgb, var(--brand) 60%, transparent); }
.pm-back b { font: 800 16px/1.2 var(--display); }
.pm-back span { font-size: 13.5px; line-height: 1.4; color: rgba(255,255,255,.9); }
.pm-tic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, #fff); margin-bottom: auto; }
.pm-front b { font: 800 clamp(15px, 1.3vw, 18px)/1.15 var(--display); margin-top: 10px; }
.pm-more { position: absolute; right: 14px; top: 14px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 16px/1 var(--body); font-style: normal; color: var(--muted-dark); border: 1px solid rgba(0,0,0,.1); }
.is-start .pm-front { background: radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--brand) 45%, var(--ink)), var(--ink) 70%); color: #fff; border-color: transparent; box-shadow: 0 24px 50px -18px color-mix(in srgb, var(--brand) 70%, transparent), 0 0 0 2px var(--brand); }
.is-start .pm-tic { background: var(--brand); color: #fff; }
.is-start .pm-more { color: #fff; border-color: rgba(255,255,255,.3); top: auto; bottom: 14px; }
.pm-badge { position: absolute; top: 14px; right: 12px; font: 700 10px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; font-style: normal; padding: 6px 8px; border-radius: 999px; background: #fff; color: var(--brand); animation: glowBadge 2.4s ease-in-out infinite; }
@keyframes glowBadge { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 25%, transparent); } }
.pm-close { margin-top: clamp(14px, 3vh, 30px); display: flex; align-items: center; gap: 14px; font: 700 clamp(16px, 1.4vw, 20px)/1.3 var(--display); }
.pm-close i { width: 36px; height: 3px; border-radius: 3px; background: var(--brand); }

/* ---------- BUILDER ---------- */
.bd-split { grid-template-columns: .9fr 1.1fr; }
.builder .mega { font-size: clamp(36px, min(5vw, 8.4vh), 88px); }
.builder .lead { font-size: clamp(15px, min(1.2vw, 2.1vh), 18px); }
.bd-sum { margin-top: clamp(18px, 4vh, 36px); border-radius: 22px; padding: 20px 22px; max-width: 470px; position: relative; overflow: hidden; }
.bd-sum::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 55%, transparent), transparent 70%); opacity: .6; pointer-events: none; }
.bd-sum-k { font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.bd-sum-t { position: relative; margin-top: 10px; font: 600 clamp(16px, 1.45vw, 21px)/1.35 var(--display); letter-spacing: -.01em; }
.bd-sum-t b { font-weight: 800; color: #fff; }
.bd-sum-ics { position: relative; display: flex; gap: 8px; margin-top: 14px; min-height: 40px; }
.bd-sum-ics span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--brand); box-shadow: 0 10px 20px -8px color-mix(in srgb, var(--brand) 80%, transparent); animation: popIn .6s var(--spring) both; animation-delay: calc(var(--i) * .06s); }
.bd-sum-s { position: relative; display: inline-block; margin-top: 14px; font-size: 12.5px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.bd-sum.hit { animation: bump .6s var(--spring); }
@keyframes bump { 30% { transform: scale(1.025); box-shadow: 0 30px 70px -24px color-mix(in srgb, var(--brand) 70%, transparent); } }
@keyframes popIn { from { opacity: 0; transform: scale(.4); } }
.bd-panel { position: relative; border-radius: 28px; padding: clamp(18px, 3vh, 30px); display: grid; gap: clamp(12px, 2.4vh, 22px); }
.bd-auto { position: absolute; top: -14px; right: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: var(--brand); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--brand) 90%, transparent); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--spring); pointer-events: none; }
.bd-auto i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: ping2 1.4s infinite; }
.builder.auto .bd-auto { opacity: 1; transform: none; }
.bd-l { font: 700 11px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 10px; display: flex; justify-content: space-between; align-items: baseline; }
.bd-l b { font: 800 22px/1 var(--display); letter-spacing: -.01em; text-transform: none; color: #fff; }
.seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.seg-ind { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 10px; background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 92%, #fff), var(--brand)); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--brand) 90%, transparent); transition: transform .6s var(--spring), width .6s var(--spring); }
.seg-b { position: relative; z-index: 1; padding: 11px 8px; font-weight: 600; font-size: 14px; color: var(--muted-light); border-radius: 10px; transition: color .3s; line-height: 1.2; }
.seg-b.cur { color: #fff; }
.seg-b.hit, .bd-tick.hit, .bd-ben.hit { animation: tap .5s var(--spring); }
@keyframes tap { 35% { transform: scale(.94); } }
.bd-slider { position: relative; padding-top: 6px; }
.bd-slider::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--brand) calc(var(--pctn) * 100%), rgba(255,255,255,.14) calc(var(--pctn) * 100%)); pointer-events: none; }
.bd-slider::after { content: ""; position: absolute; top: 6px; left: calc((100% - 24px) * var(--pctn)); width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 45%, transparent), 0 8px 20px rgba(0,0,0,.4); pointer-events: none; }
.builder { transition: --pctn .7s var(--spring); }
.bd-slider input { position: relative; z-index: 1; width: 100%; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
.bd-ticks { display: flex; justify-content: space-between; margin-top: 8px; }
.bd-tick { font-size: 12.5px; font-weight: 600; color: var(--muted-light); padding: 4px 2px; transition: color .3s; }
.bd-tick.cur { color: #fff; }
.bd-bens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bd-ben { display: flex; align-items: center; gap: 9px; text-align: left; font-size: 13px; font-weight: 600; line-height: 1.2; padding: 10px 10px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transform: perspective(600px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: background .3s, border-color .3s, transform .4s var(--spring); }
@media (hover: hover) { .bd-ben:hover { border-color: rgba(255,255,255,.3); } }
.bd-bic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 17px; background: rgba(255,255,255,.08); transition: background .3s; }
.bd-sw { flex: none; margin-left: auto; width: 28px; height: 16px; border-radius: 16px; background: rgba(255,255,255,.18); position: relative; transition: background .3s; }
.bd-sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: transform .45s var(--spring); }
.bd-ben.on { background: color-mix(in srgb, var(--brand) 20%, transparent); border-color: color-mix(in srgb, var(--brand) 70%, transparent); }
.bd-ben.on .bd-bic { background: var(--brand); }
.bd-ben.on .bd-sw { background: var(--brand); }
.bd-ben.on .bd-sw::after { transform: translateX(12px); }
.bd-ben.nope { animation: shake .4s; }
@keyframes shake { 25% { translate: -4px 0; } 75% { translate: 4px 0; } }
.seg-sold .seg-b { font-size: 13px; }

/* ---------- PLACEMENTS ---------- */
.pl-frame { justify-content: center; }
.pl-head .display { font-size: clamp(30px, min(4vw, 6.4vh), 60px); }
.pl-head .lead { margin-top: 14px; }
.pl-body { --vertical: 0; position: relative; margin-top: clamp(40px, 8vh, 80px); }
.pl-track, .pl-fill { position: absolute; height: 3px; border-radius: 3px; transform: translateY(-50%); pointer-events: none; }
.pl-track { background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 6px, transparent 6px 12px); }
.pl-fill { width: 0; background: linear-gradient(90deg, var(--brand), var(--accent)); box-shadow: 0 0 16px 2px color-mix(in srgb, var(--brand) 60%, transparent); transition: width 1s var(--ease), height 1s var(--ease); }
.pl-badge { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; transition: transform 1s var(--ease); }
.pl-badge > span { display: inline-flex; align-items: center; gap: 7px; transform: translate(-50%, calc(-100% - 16px)); white-space: nowrap; font: 700 13px/1 var(--display); padding: 8px 13px 8px 9px; border-radius: 999px; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 25%, transparent), 0 12px 30px -6px color-mix(in srgb, var(--brand) 90%, transparent); animation: badgeGlow 2s ease-in-out infinite; }
.pl-badge > span::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; background: var(--brand); transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.pl-badge .ico { font-size: 17px; }
@keyframes badgeGlow { 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--brand) 12%, transparent), 0 12px 34px -4px color-mix(in srgb, var(--brand) 100%, transparent); } }
.pl-grid { display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); gap: 12px; position: relative; z-index: 2; }
.pl-col { display: flex; flex-direction: column; gap: 14px; }
.pl-stop { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pl-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(255,255,255,.35); transition: background .4s, border-color .4s, box-shadow .4s, transform .5s var(--spring); }
.pl-step { font: 600 11.5px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); text-align: center; transition: color .4s; }
.pl-col.lit .pl-dot { background: var(--brand); border-color: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 25%, transparent); transform: scale(1.15); }
.pl-col.lit .pl-step { color: #fff; }
.pl-cstep { display: none; }
.pl-card { position: relative; display: flex; flex-direction: column; gap: 6px; text-align: left; border-radius: 18px; padding: clamp(12px, 2vh, 18px); min-height: clamp(150px, 26vh, 230px); opacity: .28; filter: saturate(.3); transform: perspective(800px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) translateY(12px) scale(.96); transition: opacity .6s var(--ease), filter .6s, transform .6s var(--spring), border-color .4s, box-shadow .4s; }
.pl-col.lit .pl-card { opacity: 1; filter: none; transform: perspective(800px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); }
.pl-col.pop .pl-card { animation: dock .8s var(--spring); }
@keyframes dock { 0% { transform: scale(.9); box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 60%, transparent); } 45% { transform: scale(1.05); box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand) 20%, transparent), 0 30px 60px -20px color-mix(in srgb, var(--brand) 70%, transparent); } 100% { transform: none; } }
.pl-col.sel .pl-card { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 30px 60px -24px color-mix(in srgb, var(--brand) 80%, transparent); }
@media (hover: hover) { .placech.played .pl-col:not(.sel) .pl-card:hover { border-color: rgba(255,255,255,.35); } }
.pl-ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 19px; background: rgba(255,255,255,.08); margin-bottom: 4px; transition: background .4s; }
.pl-col.lit .pl-ic { background: var(--brand); }
.pl-card b { font: 800 clamp(14px, 1.15vw, 16px)/1.2 var(--display); }
.pl-body-t { font-size: 12.5px; line-height: 1.4; color: var(--muted-light); }
.pl-ben { font-size: 12.5px; line-height: 1.4; font-weight: 600; color: var(--accent); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.pl-col.sel .pl-ben { max-height: 80px; opacity: 1; margin-top: 4px; }
.pl-ladder { display: flex; gap: 4px; margin-top: 6px; }
.pl-fare { position: relative; flex: 1; text-align: center; font-size: 10.5px; font-weight: 700; padding: 6px 2px; border-radius: 8px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); transition: background .4s, box-shadow .4s, border-color .4s; transition-delay: calc(.5s + var(--k) * .15s); }
.pl-col.lit .pl-fare.on { background: color-mix(in srgb, var(--brand) 40%, transparent); border-color: var(--brand); box-shadow: 0 0 14px -2px color-mix(in srgb, var(--brand) 90%, transparent); }
.pl-snap { position: absolute; top: -9px; right: -5px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: #fff; color: var(--brand); transform: scale(0); transition: transform .6s var(--spring); transition-delay: calc(.7s + var(--k) * .15s); }
.pl-col.lit .pl-snap { transform: scale(1); }
.pl-foot { margin-top: clamp(16px, 3.5vh, 32px); font-size: 14px; color: var(--muted-light); display: flex; align-items: center; gap: 10px; }
.pl-foot::before { content: ""; width: 26px; height: 2px; background: var(--brand); }

/* ---------- JOURNEY ---------- */
.j-chapter { font: 600 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 14px; }
.j-dots { display: flex; gap: 6px; margin-bottom: 30px; }
.j-dots i { width: 26px; height: 4px; border-radius: 4px; background: rgba(0,0,0,.12); transition: width .6s var(--spring); }
.j-dots i.past { background: color-mix(in srgb, var(--brand) 45%, transparent); }
.j-dots i.on { background: var(--brand); width: 44px; }
.j-split { grid-template-columns: .9fr 1.1fr; }
.j-media { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; height: min(calc(100vh - 170px), 900px); }
.pstack { position: relative; height: 100%; aspect-ratio: 641 / 1300; max-width: 100%; }
.jm-phone.has-chan .pstack { height: calc(100% - 108px); }
.j-phone { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 34px 50px rgba(0,0,0,.24)); }
.ly { position: absolute; height: auto; opacity: 0; }
.ly-drop { border-radius: 4.9% / 18.2%; }
.ly-bubble { border-radius: 4.7% / 6.8%; }
.panel.on .ly-drop { animation: drop 1.1s var(--spring) 1s both; filter: drop-shadow(0 14px 22px rgba(0,0,0,.25)); }
@keyframes drop { 0% { opacity: 0; transform: translateY(-70%) scale(.86); } 30% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.panel.on .ly-bubble { transform-origin: 0 100%; animation: bubble .55s var(--spring) .6s both; }
@keyframes bubble { 0% { opacity: 0; transform: translateY(14px) scale(.5); } 100% { opacity: 1; transform: none; } }
.panel.on .ly-fade { animation: fadeIn .8s ease 1s both; }
@keyframes fadeIn { to { opacity: 1; } }
.typing { position: absolute; display: flex; gap: 5px; padding: 12px 15px; border-radius: 18px 18px 18px 6px; background: #E9E9ED; opacity: 0; transform-origin: 0 100%; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: #8E8E96; animation: dot 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.panel.on .typing { animation: typing .75s ease both; }
@keyframes typing { 0% { opacity: 0; transform: scale(.5); } 15% { opacity: 1; transform: none; } 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.8); } }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* channel row: Email, SMS, WhatsApp, Push */
.chan { width: min(100%, 440px); flex: none; }
.chan-lines { display: block; width: 100%; height: 56px; overflow: visible; clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease); }
.chan-lines path { fill: none; stroke: var(--brand); stroke-width: 2; stroke-dasharray: 3 6; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.chan-go .chan-lines { clip-path: inset(0 0 -10% 0); }
.chan-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.chan-i { display: flex; flex-direction: column; align-items: center; gap: 7px; opacity: 0; translate: 0 14px; scale: .7; transition: opacity .5s, translate .8s var(--spring), scale .8s var(--spring); }
.chan-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 23px; color: var(--brand); background: #fff; box-shadow: 0 14px 28px -14px rgba(20,20,40,.4), inset 0 0 0 1px rgba(0,0,0,.05); }
.chan-i em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted-dark); text-align: center; line-height: 1.2; }
.panel.on .chan:not(.chan-tree) .chan-i { opacity: 1; translate: none; scale: 1; transition-delay: calc(1.9s + var(--i) * .12s); }
.chan-go .chan-tree .chan-i { opacity: 1; translate: none; scale: 1; transition-delay: calc(.6s + var(--i) * .12s); }
.chan-label { text-align: center; margin-top: 10px; font: 700 14px/1.3 var(--display); color: var(--text-dark); opacity: 0; transition: opacity .6s 2.5s; }
.panel.on .chan-label { opacity: 1; }

.mailframe { width: min(100%, 480px); height: 100%; background: #fff; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 80px -30px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.06); color: var(--text-dark); }
.mf-bar { flex: none; display: flex; align-items: center; gap: 7px; padding: 14px 18px; background: #F1F1F3; border-bottom: 1px solid rgba(0,0,0,.06); }
.mf-bar i { width: 11px; height: 11px; border-radius: 50%; background: #D5D5DA; }
.mf-bar span { margin-left: 10px; font: 600 13px/1 var(--body); color: var(--muted-dark); }
.mf-body { flex: 1; overflow: hidden; position: relative; cursor: ns-resize; overscroll-behavior: contain; scrollbar-width: thin; }
.mf-body.user { overflow-y: auto; }
.mf-body.user .mf-img { transform: none !important; transition: none !important; }
.mf-hint { margin-left: auto; font: 600 11px/1 var(--body); font-style: normal; letter-spacing: .04em; color: var(--muted-dark); opacity: .8; }
.mf-img { width: 100%; will-change: transform; }

.tr-wrap { display: flex; flex-direction: column; align-items: center; width: min(100%, 470px); }
.tracker { position: relative; width: 100%; background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(20px, 3.4vh, 30px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); overflow: hidden; }
.tr-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted-light); }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #34C759; animation: ping 1.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,199,89,.6); } 70%, 100% { box-shadow: 0 0 0 10px rgba(52,199,89,0); } }
.tr-flight { font-weight: 700; color: #fff; }
.tr-route { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 10px; margin: clamp(14px, 3vh, 26px) 0 clamp(12px, 2.4vh, 22px); }
.tr-route b { display: block; font: 900 42px/1 var(--display); letter-spacing: -.02em; }
.tr-route span { font-size: 13px; color: var(--muted-light); }
.tr-route .r { text-align: right; }
.tr-arc { width: 100%; height: 60px; overflow: visible; }
.arc-bg { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 2; stroke-dasharray: 4 6; }
.arc-fg { fill: none; stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s var(--ease) .4s; }
.panel.on .arc-fg { stroke-dashoffset: 190; }
.tr-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tr-rows > div { background: var(--ink-soft); border-radius: 14px; padding: 12px 16px; }
.tr-rows span { display: block; font-size: 12px; color: var(--muted-light); margin-bottom: 6px; }
.tr-rows b { font-size: 17px; }
.tr-status { position: relative; display: block; height: 24px; }
.tr-status em, .tr-big em { position: absolute; left: 0; font-style: normal; white-space: nowrap; transition: opacity .4s, transform .5s var(--spring); }
.tr-status .ok { color: #34C759; }
.tr-status .late { color: #FF6B6B; opacity: 0; transform: translateY(8px); }
.tracker.late .ok { opacity: 0; transform: translateY(-8px); }
.tracker.late .late { opacity: 1; transform: none; }
.tr-big { position: relative; margin-top: 12px; height: clamp(60px, 9vh, 76px); border-radius: 16px; background: var(--ink-soft); border: 1px solid transparent; transition: background .4s, border-color .4s; }
.tr-big em { left: 18px; top: 50%; translate: 0 -50%; }
.tr-big .ok { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #34C759; }
.tr-big .ok i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tr-big .late { display: inline-flex; align-items: baseline; gap: 12px; font: 900 clamp(26px, 4.4vh, 36px)/1 var(--display); letter-spacing: -.02em; color: #FF4D4D; opacity: 0; transform: translateY(12px) scale(.9); }
.tr-big .late small { font: 800 clamp(15px, 2.4vh, 20px)/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.tracker.late .tr-big { background: color-mix(in srgb, var(--brand) 18%, var(--ink)); border-color: var(--brand); animation: delayPulse 1.6s ease-in-out infinite .5s; }
.tracker.late .tr-big .late { animation: textPulse 1.6s ease-in-out infinite .5s; }
@keyframes delayPulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 55%, transparent); } 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand) 0%, transparent), 0 0 30px color-mix(in srgb, var(--brand) 45%, transparent); } }
@keyframes textPulse { 50% { text-shadow: 0 0 18px rgba(255,77,77,.8); } }
.tr-trigger { margin-top: 12px; display: flex; gap: 14px; align-items: center; background: var(--brand); border-radius: 16px; padding: 14px 16px; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease) .5s, transform .7s var(--spring) .5s; }
.tracker.late .tr-trigger { opacity: 1; transform: none; }
.tr-trigger b { display: block; font-size: 15px; }
.tr-trigger span { font-size: 13px; color: rgba(255,255,255,.85); }
.pulse { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; animation: ping2 1.4s infinite; }
@keyframes ping2 { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 100% { box-shadow: 0 0 0 14px rgba(255,255,255,0); } }
.radar { position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; pointer-events: none; }
.radar i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); animation: radar 3.6s linear infinite; }
.radar i:nth-child(2) { animation-delay: 1.2s; } .radar i:nth-child(3) { animation-delay: 2.4s; }
@keyframes radar { from { transform: scale(.2); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* ---------- PROTOTYPE (family tree) ---------- */
.proto-glow { position: absolute; inset: 0; background: radial-gradient(35% 55% at 82% 50%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 70%), radial-gradient(40% 40% at 20% 90%, color-mix(in srgb, var(--brand) 12%, transparent), transparent 70%); }
.proto-tree { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; grid-template-areas: "copy phone" "map phone"; column-gap: clamp(28px, 4vw, 64px); row-gap: clamp(14px, 3vh, 28px); align-content: center; max-width: 1340px; padding-bottom: 64px; }
.pt-copy { grid-area: copy; }
.pt-copy .display { font-size: clamp(32px, min(4vw, 6.6vh), 60px); }
.pt-copy .lead { margin-top: 10px; }
.proto-note { margin-top: clamp(10px, 2vh, 18px); border-radius: 16px; padding: 12px 16px; max-width: 40em; }
.proto-note.a { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.pn-label { font: 600 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 7px; }
.pn-text { color: rgba(255,255,255,.88); font-size: 14px; line-height: 1.45; min-height: 2.9em; }
.pt-map { grid-area: map; position: relative; }
.pt-lines { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.pt-lines path { fill: none; stroke: rgba(255,255,255,.25); stroke-width: 1.5; stroke-dasharray: 1 1.2; stroke-dashoffset: 1.01; transition: stroke-dashoffset 1.1s var(--ease), stroke .4s, stroke-width .4s; transition-delay: calc(.5s + var(--i) * .1s), 0s, 0s; }
.proto.drawn .pt-lines path { stroke-dashoffset: 0; }
.pt-lines path.lit { stroke: var(--brand); stroke-width: 2.5; filter: drop-shadow(0 0 6px color-mix(in srgb, var(--brand) 80%, transparent)); }
.pt-core { position: relative; z-index: 1; display: flex; align-items: center; gap: clamp(18px, 2.6vw, 44px); }
.pt-node { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .3s, border-color .3s, transform .45s var(--spring), box-shadow .3s; }
.pt-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; background: rgba(255,255,255,.1); transition: background .3s; }
.pt-tx { display: flex; flex-direction: column; text-align: left; font-weight: 700; font-size: 14px; line-height: 1.1; }
.pt-tx small { font-size: 10px; letter-spacing: .1em; color: var(--muted-light); font-weight: 600; }
@media (hover: hover) { .pt-node:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.4); } }
.pt-node.seen { border-color: color-mix(in srgb, var(--brand) 70%, transparent); }
.pt-node.seen .pt-ic { background: color-mix(in srgb, var(--brand) 40%, transparent); }
.pt-node.cur { background: var(--brand); border-color: var(--brand); box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--brand) 90%, transparent); }
.pt-node.cur .pt-ic { background: rgba(255,255,255,.22); }
.pt-node.cur small { color: rgba(255,255,255,.8); }
.next { animation: nextPulse 1.6s ease-out infinite; }
@keyframes nextPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 70%, transparent); } 70%, 100% { box-shadow: 0 0 0 12px color-mix(in srgb, var(--brand) 0%, transparent); } }
.restart { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--muted-light); white-space: nowrap; transition: color .2s; }
.restart:hover { color: #fff; }
@media (max-width: 1360px) { .pt-core .restart span { display: none; } .pt-core .restart { font-size: 18px; } }
.pt-blabel { position: relative; z-index: 1; margin-top: clamp(30px, 6.5vh, 66px); font: 600 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); }
.pt-branches { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: clamp(8px, 1vw, 14px); margin-top: 12px; }
.pt-leaf { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 6px 10px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transform: perspective(700px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); transition: background .3s, border-color .3s, transform .45s var(--spring), box-shadow .3s; opacity: 0; translate: 0 30px; }
.proto.on .pt-leaf { opacity: 1; translate: none; transition: background .3s, border-color .3s, transform .45s var(--spring), box-shadow .3s, opacity .6s calc(.9s + var(--i) * .08s), translate .9s var(--spring) calc(.9s + var(--i) * .08s); }
.pt-thumb { height: clamp(96px, 19vh, 200px); aspect-ratio: 641 / 1300; }
.pt-thumb img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 16px rgba(0,0,0,.45)); }
.pt-lbl { font-size: 12px; font-weight: 700; text-align: center; line-height: 1.2; }
@media (hover: hover) { .pt-leaf:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.3); } }
.pt-leaf.seen { border-color: color-mix(in srgb, var(--brand) 60%, transparent); }
.pt-leaf.cur { background: color-mix(in srgb, var(--brand) 22%, transparent); border-color: var(--brand); box-shadow: 0 16px 36px -14px color-mix(in srgb, var(--brand) 90%, transparent); }
.proto-stage { grid-area: phone; display: flex; justify-content: center; align-self: center; }
.proto-phone { position: relative; height: min(calc(100vh - 150px), 840px); aspect-ratio: 641 / 1300; }
.shot { position: absolute; inset: 0; opacity: 0; transform: translateX(10%) scale(.94); transition: opacity .45s var(--ease), transform .75s var(--spring); pointer-events: none; }
.shot.cur { opacity: 1; transform: none; pointer-events: auto; }
.shot img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.hs { position: absolute; border-radius: 10px; outline: none; }
.hs::after { content: ""; position: absolute; inset: -3px; border-radius: 12px; border: 2px solid var(--brand); box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 60%, transparent); animation: hs 1.8s infinite; }
@keyframes hs { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 55%, transparent); opacity: 1; } 70% { box-shadow: 0 0 0 12px transparent; opacity: .9; } 100% { box-shadow: 0 0 0 0 transparent; opacity: 1; } }
.hs:hover::after, .hs:focus-visible::after { background: color-mix(in srgb, var(--brand) 14%, transparent); }
.hs-tip { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); background: #fff; color: var(--text-dark); font-size: 12px; font-weight: 700; white-space: nowrap; padding: 6px 10px; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: 0 8px 20px rgba(0,0,0,.25); z-index: 2; }
.hs:hover .hs-tip, .hs:focus-visible .hs-tip { opacity: 1; transform: translate(-50%, 0); }
.done { position: absolute; inset: 3.4% 6.5%; border-radius: 12% / 5.8%; background: rgba(11,11,15,.84); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 3; }
.done.show { opacity: 1; pointer-events: auto; }
.done-tick { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; font-size: 30px; font-weight: 800; transform: scale(.4); transition: transform .7s var(--spring) .1s; box-shadow: 0 0 0 10px color-mix(in srgb, var(--brand) 20%, transparent); }
.done.show .done-tick { transform: scale(1); }
.done b { font: 800 22px/1.15 var(--display); }
.done span { font-size: 14px; color: var(--muted-light); }
.done-btn { margin-top: 10px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); font-size: 13px; font-weight: 600; transition: background .2s; }
.done-btn:hover { background: rgba(255,255,255,.1); }

/* ---------- REWARDS ---------- */
.rw-lounge .frame { justify-content: flex-end; }
.lounge-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,15,.92) 0%, rgba(11,11,15,.55) 50%, rgba(11,11,15,.25) 100%); }
.wall-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,15,.82), rgba(11,11,15,.6) 45%, rgba(11,11,15,.9)); }
.wall-in { justify-content: center; }
.rw-wall .mega { font-size: clamp(36px, min(5.4vw, 8.6vh), 92px); max-width: 18ch; }
.wall-grid { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: clamp(10px, 1.2vw, 18px); margin-top: clamp(24px, 5vh, 52px); }
.wt { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; text-align: left; height: clamp(180px, 34vh, 330px); padding: clamp(16px, 2.6vh, 26px); border-radius: 24px; overflow: hidden; background: linear-gradient(165deg, rgba(255,255,255,.13), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); opacity: 0; translate: 0 70px; }
.panel.on .wt { opacity: 1; translate: none; transition: transform .5s var(--spring), box-shadow .4s, border-color .3s, opacity .7s var(--ease) calc(.4s + var(--i) * .1s), translate 1.1s var(--spring) calc(.4s + var(--i) * .1s); }
.wt::before { content: ""; position: absolute; inset: auto -30% -40% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 60%, transparent), transparent 65%); opacity: .35; transition: opacity .4s, transform .6s var(--spring); }
.wt-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 27px; background: var(--brand); margin-bottom: auto; box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--brand) 90%, transparent); position: relative; }
.wt b { position: relative; font: 800 clamp(18px, 1.7vw, 24px)/1.15 var(--display); }
.wt > span:not(.wt-ic) { position: relative; font-size: 14px; color: var(--muted-light); line-height: 1.4; }
.wt em { position: relative; margin-top: 8px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--accent); }
.wt em .arr { display: inline-block; transition: transform .4s var(--spring); }
@media (hover: hover) {
  .wt:hover { border-color: color-mix(in srgb, var(--brand) 80%, transparent); box-shadow: 0 40px 70px -30px color-mix(in srgb, var(--brand) 70%, transparent); }
  .wt:hover::before { opacity: .8; transform: scale(1.2); }
  .wt:hover em .arr { transform: translateX(5px); }
}
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: 30px; margin-top: 34px; }
.fact b { display: block; white-space: nowrap; font: 900 clamp(26px, min(2.8vw, 4.6vh), 42px)/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fact > span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted-light); }
.rw-phone { display: flex; justify-content: center; }
.rw-phone img { max-height: min(calc(100vh - 150px), 860px); width: auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)); }

.rw-vouchers { display: flex; flex-direction: column; }
.v-head { flex: none; height: auto; padding-bottom: 0; text-align: center; align-items: center; }
.v-head .display { max-width: 18ch; }
.v-head .lead { margin-top: 12px; }
.v-stage { position: relative; flex: 1; min-height: 0; margin: clamp(10px, 2.5vh, 24px) 0 96px; z-index: 1; }
.v-phone { position: absolute; left: 50%; top: 50%; height: min(100%, 680px); transform: translate(-50%, -50%); z-index: 2; }
.v-phone img { height: 100%; width: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.28)); }
.tile { position: absolute; left: 50%; top: 50%; width: var(--tw, 150px); aspect-ratio: 1.6; opacity: 0; transform: translate(-50%, -50%) scale(.3); transition: transform 1.1s var(--spring), opacity .5s; transition-delay: calc(.35s + var(--i) * .07s); z-index: 1; }
.panel.on .tile { opacity: 1; transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) rotate(var(--tr)) scale(1); }
.tile-in { display: block; width: 100%; height: 100%; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px -14px rgba(0,0,0,.35); transition: transform .45s var(--spring), box-shadow .4s; }
@media (hover: hover) { .tile:hover .tile-in { transform: translateY(-6px) scale(1.07) rotate(calc(var(--tr) * -1)); box-shadow: 0 26px 50px -16px rgba(0,0,0,.45); } }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-text .tile-in { display: grid; place-items: center; text-align: center; padding: 10px; background: var(--ink); color: #fff; font: 800 clamp(12px, 1.2vw, 17px)/1.15 var(--display); }

.card-visual { perspective: 1200px; }
.card-tilt { transform: rotateY(calc(var(--mx) * 22deg)) rotateX(calc(var(--my) * -16deg)); transition: transform .35s ease-out; transform-style: preserve-3d; }
.card-tilt img { width: 100%; max-height: 70vh; object-fit: contain; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 50px 60px rgba(0,0,0,.6)); }
.ticks { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.ticks li, .checks li { display: flex; gap: 14px; align-items: center; font-weight: 500; font-size: 17px; }
.ticks li::before, .checks li i { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center/14px no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.chip { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; }

/* ---------- EMAIL ---------- */
.checks { list-style: none; margin-top: 30px; display: grid; gap: 12px; }
.em-wrap { display: flex; justify-content: center; height: min(calc(100vh - 160px), 820px); }

/* ---------- VALUE ---------- */
.val-split { grid-template-columns: .75fr 1.25fr; }
.valuech .display { font-size: clamp(28px, min(3.6vw, 5.8vh), 56px); }
.val-art { display: flex; justify-content: center; }
.val-art img { max-height: 74vh; width: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.18)); }
.vcols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.vcol { background: #fff; border-radius: 22px; padding: clamp(18px, 3vh, 30px); box-shadow: 0 24px 50px -32px rgba(20,20,40,.35); }
.vcol h3 { font: 800 clamp(19px, 1.6vw, 23px)/1.2 var(--display); color: var(--brand); margin-bottom: 16px; }
.vcol ul { list-style: none; display: grid; gap: clamp(10px, 2vh, 16px); }
.vcol b { display: block; font-size: clamp(16px, min(1.3vw, 2.3vh), 19px); line-height: 1.3; }
.vcol span { color: var(--muted-dark); font-size: clamp(14.5px, min(1.15vw, 2.1vh), 17px); line-height: 1.45; }

/* ---------- PLAN ---------- */
.planch .frame { justify-content: center; }
.plan-line { position: relative; height: 2px; background: rgba(255,255,255,.14); margin-top: clamp(30px, 6vh, 60px); }
.plan-line b { position: absolute; inset: 0; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--ease) .5s; }
.planch.on .plan-line b { transform: scaleX(1); }
.plan-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.plan-steps li { position: relative; padding-top: 30px; }
.plan-steps li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--brand); }
.pn { font: 800 clamp(30px, 4vh, 44px)/1 var(--display); color: var(--brand); }
.plan-steps b { display: block; font: 800 20px/1.2 var(--display); margin: 10px 0 8px; }
.plan-steps p { color: var(--muted-light); font-size: 15px; }

/* ---------- PARTNERS ---------- */
.pt-grid { display: grid; grid-template-columns: repeat(var(--n, 2), 1fr); gap: 22px; margin-top: 44px; }
.pt { border-radius: 28px; padding: clamp(26px, 4vh, 40px); }
.pt-ins { height: 64px; width: 64px; border-radius: 6px; margin-bottom: 26px; }
.pt-tech { height: 64px; width: auto; margin-bottom: 26px; }
.pt-brand { height: 40px; width: auto; max-width: 100%; margin: 12px 0 38px; object-fit: contain; object-position: left; }
.pt h3 { font: 800 24px/1.2 var(--display); margin-bottom: 10px; }
.pt p { color: var(--muted-light); }

/* ---------- CLOSE ---------- */
.close-rings { position: absolute; left: 50%; top: 45%; width: 0; height: 0; pointer-events: none; }
.close-rings i { position: absolute; left: -45vmax; top: -45vmax; width: 90vmax; height: 90vmax; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); animation: rings 9s linear infinite; }
.close-rings i:nth-child(2) { animation-delay: -3s; } .close-rings i:nth-child(3) { animation-delay: -6s; }
@keyframes rings { from { transform: scale(.15); opacity: 0; } 20% { opacity: 1; } to { transform: scale(1); opacity: 0; } }
.close-in { align-items: center; text-align: center; }
.close-in .mega { max-width: 17ch; font-size: clamp(36px, min(5.6vw, 9vh), 100px); }
.close-in .lead { margin-left: auto; margin-right: auto; }
.close-logo { height: clamp(90px, 15vh, 130px); width: auto; background: #fff; padding: 16px 20px; border-radius: 24px; margin-bottom: 34px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.4); }
.close-cta { margin-top: clamp(22px, 4.5vh, 40px); }
.contact { margin-top: 34px; display: inline-flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 30px; border-radius: 20px; background: rgba(0,0,0,.18); }
.contact b { font-size: 18px; } .contact span { font-size: 14px; color: rgba(255,255,255,.8); }
.contact .btn { margin-top: 12px; }
.close-foot { margin-top: clamp(26px, 6vh, 60px); display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 12px; color: rgba(255,255,255,.75); }
.foot-logos { display: flex; align-items: center; gap: 20px; }
.foot-logos img { height: 34px; width: auto; border-radius: 3px; }
.foot-logos .ft-tech { height: 30px; border-radius: 0; }
.to-top { margin-top: 18px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8); }
.to-top:hover { color: #fff; }

/* ---------- reduced motion: final states, no movement ---------- */
html.rm *, html.rm *::before, html.rm *::after { animation: none !important; transition: none !important; }
html.rm .a, html.rm .pm-tile, html.rm .wt, html.rm .pt-leaf, html.rm .chan-i { opacity: 1 !important; translate: none !important; scale: none !important; }
html.rm .ly, html.rm .chan-label { opacity: 1 !important; }
html.rm .typing { display: none; }
html.rm .ico path { stroke-dashoffset: 0; stroke-opacity: 1; }
html.rm .chan-lines { clip-path: none; }
html.rm .pt-lines path { stroke-dashoffset: 0; }

/* ---------- FLOW MODE (phones / small windows) ---------- */
body[data-mode="flow"] .cover, body[data-mode="flow"] .rw-lounge { min-height: 100svh; }
body[data-mode="flow"] .cover > .frame, body[data-mode="flow"] .rw-lounge > .frame { min-height: 100svh; }
/* phones: the aircraft photo sits above the copy at 4:3 so the aircraft is never cropped */
body[data-mode="flow"] .band-bg { position: relative; padding-top: 60px; }
body[data-mode="flow"] .band-bg img { height: auto; aspect-ratio: 4 / 3; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
body[data-mode="flow"] .band-shade { display: none; }
body[data-mode="flow"] .band > .frame { padding-top: 0; margin-top: -40px; }
body[data-mode="flow"] .frame { height: auto; }
body[data-mode="flow"] .j-panel + .j-panel .j-chapter { display: none; }
body[data-mode="flow"] .hint-line { display: none; }

@media (max-width: 899px), (max-height: 599px) {
  .split, .cover-grid, .val-split, .bd-split, .j-split, .pm-top { grid-template-columns: 1fr; }
  .frame { padding: 88px var(--gut) 52px; }
  .cover-art { padding-bottom: 24px; }
  .cover-art img { width: auto; max-width: 100%; height: auto; max-height: 62svh; }
  .cover-title { font-size: clamp(42px, 12vw, 72px); }
  .eyebrow { margin-bottom: 30px; }
  .display { font-size: clamp(28px, 7.6vw, 44px) !important; }
  .mega { font-size: clamp(34px, 10vw, 60px) !important; }
  .lead { font-size: 16px !important; }
  .j-media { height: 76svh; }
  .jm-tracker { height: auto; }
  .jm-email { height: 70svh; }
  .em-wrap { height: 70svh; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 28px; }
  .fact { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 4px; }
  .fact > span { margin-top: 0; font-size: 14px; }
  .rw-phone img, .val-art img { max-height: 72svh; }
  .vcols, .pt-grid { grid-template-columns: 1fr; }
  /* next steps: a vertical timeline with a filled dot beside each number */
  .plan-line { display: none; }
  .plan-steps { position: relative; grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 36px; padding-left: 32px; }
  .plan-steps li:not(:last-child)::after { content: ""; position: absolute; left: -26px; top: 15px; bottom: -43px; width: 2px; background: color-mix(in srgb, var(--brand) 55%, transparent); transform-origin: 50% 0; transform: scaleY(0); transition: transform .9s var(--ease) calc(.5s + var(--d, 0s)); }
  .planch.on .plan-steps li::after { transform: none; }
  .plan-steps li { padding-top: 0; }
  .plan-steps li::before { top: 8px; left: -32px; width: 14px; height: 14px; border: 0; background: var(--brand); box-shadow: 0 0 0 4px var(--ink); }
  .plan-steps b { margin-top: 8px; }
  .emailch .em-wrap { margin-top: 24px; }
  .menu ol { columns: 1; }

  /* solid top bar so headings never slide underneath it */
  .hud { padding: 12px var(--gut); background: rgba(11,11,15,.97); box-shadow: 0 1px 0 rgba(255,255,255,.08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  body[data-tone="light"] .hud { background: rgba(255,255,255,.98); box-shadow: 0 1px 0 rgba(0,0,0,.08); }
  .hud-logo img { height: 24px; }
  .burger { width: 40px; height: 40px; }
  .hud-prod { display: none; }

  /* what is parametric */
  .pm-bens { grid-template-columns: 1fr; }
  .pm-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pm-tile { height: 150px; }
  .pm-tile.is-start { grid-column: span 2; }

  /* builder */
  .bd-bens { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bd-sum { max-width: none; }
  .bd-sum-ics { flex-wrap: wrap; }
  .bd-panel { margin-top: 8px; }
  .bd-split, .bd-panel { grid-template-columns: minmax(0, 1fr); }
  .seg { grid-auto-columns: minmax(0, 1fr); }

  /* placements: the booking path runs vertically */
  .pl-body { --vertical: 1; margin-top: 30px; }
  .pl-track, .pl-fill { width: 3px; height: 0; transform: translateX(-50%); }
  .pl-track { background: repeating-linear-gradient(180deg, rgba(255,255,255,.25) 0 6px, transparent 6px 12px); }
  .pl-fill { background: linear-gradient(180deg, var(--brand), var(--accent)); }
  .pl-badge > span { transform: translate(-50%, -50%); padding: 7px; font-size: 0; gap: 0; }
  .pl-badge > span::after { display: none; }
  .pl-grid { grid-template-columns: 1fr; gap: 14px; }
  .pl-col { flex-direction: row; align-items: flex-start; gap: 16px; }
  .pl-stop { flex: none; width: 34px; padding-top: 22px; }
  .pl-step { display: none; }
  .pl-cstep { display: block; font: 700 10.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
  .pl-card { flex: 1; min-height: 0; }

  /* journey channels */
  .jm-phone.has-chan .pstack { height: calc(100% - 112px); }

  /* prototype: the whole flow fits one screen */
  body[data-mode="flow"] .proto { height: 100svh; min-height: 520px; }
  body[data-mode="flow"] .proto .proto-tree { height: 100%; }
  .proto-tree { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; grid-template-areas: "copy" "core" "phone" "branches"; row-gap: 10px; padding: 74px var(--gut) 14px; align-content: stretch; }
  .pt-copy .kicker, .proto-note { display: none; }
  .pt-copy .display { font-size: 26px !important; }
  .pt-copy .lead { font-size: 13px !important; margin-top: 4px; line-height: 1.4; }
  .pt-map { display: contents; }
  .pt-lines, .pt-blabel { display: none; }
  .pt-core { grid-area: core; gap: 4px; justify-content: space-between; position: relative; min-width: 0; }
  .pt-core::before { content: ""; position: absolute; left: 20px; right: 40px; top: 17px; height: 2px; background: linear-gradient(90deg, var(--brand), rgba(255,255,255,.2)); z-index: -1; }
  .pt-node { flex: 0 1 auto; min-width: 0; flex-direction: column; padding: 4px 6px 5px; gap: 3px; border-radius: 14px; }
  .pt-ic { width: 26px; height: 26px; font-size: 14px; }
  .pt-tx { font-size: 10.5px; text-align: center; }
  .pt-tx small { display: none; }
  .restart { margin-left: 0; font-size: 16px; padding: 4px; }
  .restart span { display: none; }
  .proto-stage { grid-area: phone; min-height: 0; height: 100%; }
  .proto-phone { height: 100%; max-height: 100%; }
  /* all five rewards fit across the screen */
  .pt-branches { grid-area: branches; display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 6px; margin: 0; padding: 2px 0 4px; }
  .pt-leaf { min-width: 0; padding: 6px 3px; gap: 4px; border-radius: 12px; }
  .pt-thumb { height: 70px; max-width: 100%; }
  .pt-lbl { font-size: 10px; overflow-wrap: anywhere; }
  .hs-tip { display: none; }

  /* rewards */
  body[data-mode="flow"] .rw-wall { min-height: 0; }
  .wall-grid { grid-template-columns: 1fr 1fr; }
  .wt { height: 170px; }
  .wt:first-child { grid-column: span 2; }
  .wt-ic { width: 44px; height: 44px; font-size: 22px; }
  .v-stage { flex: none; height: 64svh; margin-bottom: 40px; }
  .v-phone { height: min(100%, 380px); }
  .tile-in { border-radius: 9px; }
}

/* very narrow phones: keep the builder's segmented controls inside the panel */
@media (max-width: 380px) {
  .bd-panel { padding: 16px 14px; }
  .seg-b { padding: 10px 4px; font-size: 13px; }
  .seg-sold .seg-b { font-size: 12px; }
}

/* =====================================================================
   INSURER ADDITIONS - shared engine, used by any config that sets them
   ===================================================================== */

/* journey: a labelled run of dots for grouped steps (e.g. "Register your trip") */
.j-dots.has-grp { align-items: flex-start; margin-bottom: 40px; }
.j-grp { position: relative; display: flex; gap: 6px; padding: 0 4px; margin: 0 2px; }
.j-grp::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 18px; border-radius: 9px; border: 1.5px solid rgba(0,0,0,.1); transition: border-color .4s; }
.j-grp::after { content: attr(data-label); position: absolute; left: 4px; top: 16px; white-space: nowrap; font: 700 10px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); opacity: .6; transition: color .4s, opacity .4s; }
.j-grp.cur::before { border-color: color-mix(in srgb, var(--brand) 55%, transparent); }
.j-grp.cur::after { color: var(--brand); opacity: 1; }
.j-grp i { width: 18px; }
.j-grp i.on { width: 32px; }

/* builder: optional "who's covered" row, long tier names get a short form on narrow panels */
.builder.has-cov .bd-panel { gap: clamp(8px, 1.8vh, 18px); }
.builder.has-cov .bd-l { margin-bottom: 8px; }
.builder.has-cov .seg-b { padding: 10px 6px; font-size: 13px; }
.sb-short { display: none; }
@media (max-width: 1240px) { .sb-long { display: none; } .sb-short { display: inline; } }

/* distribution channels: how customers join */
.pl-join { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin-top: auto; padding: 6px 10px 6px 8px; border-radius: 999px; font: 700 11.5px/1 var(--body); letter-spacing: .02em; white-space: nowrap; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); color: var(--accent); }
.pl-join .ico { font-size: 13px; }
.pl-join-auto { background: var(--brand); border-color: var(--brand); color: #fff; }
.pl-card .pl-ladder { margin-bottom: 4px; }
.pl-ben { order: 0; }

/* two ways to join */
.jn-frame { display: flex; flex-direction: column; justify-content: center; }
.jn-head { max-width: 860px; }
.jn-head .display { font-size: clamp(30px, min(4vw, 6.4vh), 60px); }
.jn-head .lead { margin-top: 12px; }
.jn-routes { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(22px, 4.5vh, 44px); }
.jn-route { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 26px; padding: clamp(20px, 3.4vh, 32px); box-shadow: 0 24px 50px -32px rgba(20,20,40,.35); }
.jn-route:first-child { box-shadow: 0 0 0 2px var(--brand), 0 30px 60px -30px color-mix(in srgb, var(--brand) 60%, transparent); }
.jn-label { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.jn-label span { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; color: #fff; background: var(--brand); }
.jn-route h3 { margin-top: 14px; font: 800 clamp(22px, min(2vw, 3.6vh), 30px)/1.15 var(--display); letter-spacing: -.015em; color: var(--text-dark); }
.jn-body { margin-top: 8px; color: var(--muted-dark); font-size: clamp(14.5px, min(1.15vw, 2.1vh), 17px); line-height: 1.45; }
.jn-steps { list-style: none; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin-top: clamp(18px, 3.6vh, 34px); }
.jn-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.jn-steps li + li::before { content: ""; position: absolute; top: 25px; right: calc(50% + 30px); width: calc(100% - 60px); height: 2px; background: color-mix(in srgb, var(--brand) 55%, transparent); transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--ease) calc(.7s + var(--k) * .22s); }
.jn-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, #fff); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); opacity: 0; scale: .6; transition: opacity .4s calc(.6s + var(--k) * .22s), scale .6s var(--spring) calc(.6s + var(--k) * .22s); }
.jn-steps em { font-style: normal; font-size: 12.5px; font-weight: 700; line-height: 1.25; color: var(--text-dark); }
.joinch.on .jn-ic { opacity: 1; scale: 1; }
.joinch.on .jn-steps li + li::before { transform: none; }
.jn-tag { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; padding-top: clamp(16px, 3vh, 26px); font-weight: 700; font-size: 14px; color: var(--brand); }
.jn-tag .ico { font-size: 17px; }
.jn-note { display: flex; align-items: center; gap: 12px; margin-top: clamp(16px, 3vh, 28px); font-size: 15px; color: var(--muted-dark); }
.jn-note .ico { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); }
html.rm .jn-ic { opacity: 1; scale: 1; }

/* you stay in control */
.ct-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 55% at 80% 40%, color-mix(in srgb, var(--brand) 24%, transparent), transparent 70%); }
.ct-split { grid-template-columns: .68fr 1.32fr; align-items: center; column-gap: clamp(28px, 4vw, 64px); }
.controlch .display { font-size: clamp(32px, min(4vw, 6.6vh), 60px); }
.ct-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); }
.ct-item { border-radius: 22px; padding: clamp(16px, 2.6vh, 24px); }
.ct-item.has-opts { grid-column: 1 / -1; }
.ct-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; background: var(--brand); margin-bottom: 14px; }
.ct-item h3 { font: 800 clamp(16px, 1.3vw, 19px)/1.2 var(--display); margin-bottom: 6px; }
.ct-item p { font-size: 14px; line-height: 1.45; color: var(--muted-light); }
.ct-opts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.ct-opts li { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border-radius: 14px; font-size: 13.5px; font-weight: 600; line-height: 1.3; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .4s, border-color .4s; }
.ct-opts li i { flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); transition: border .3s, background .3s; }
.ct-opts li.on { background: color-mix(in srgb, var(--brand) 22%, transparent); border-color: var(--brand); }
.ct-opts li.on i { border: 4px solid #fff; background: var(--brand); }

/* prototype: path switcher and longer paths */
.pt-map[hidden] { display: none !important; }
.pt-paths { margin-top: clamp(12px, 2.4vh, 22px); max-width: 380px; }
.pt-many .pt-core { gap: clamp(8px, 1.1vw, 20px); }
.pt-many .pt-node { padding: 6px 12px 6px 6px; gap: 8px; }
.pt-many .pt-ic { width: 30px; height: 30px; font-size: 16px; }
.pt-many .pt-tx { font-size: 13px; }

/* communications: a second email (the reminder) tucked beside the first */
.em-wrap.em-two { position: relative; justify-content: flex-start; padding-right: 22%; }
.em-two > .mailframe { width: min(100%, 440px); }
.em-second { position: absolute; right: 0; bottom: -10px; width: 52%; height: 62%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.18)); }
.em-second .mailframe { width: 100%; height: 100%; }

/* why it wins: three columns */
.val-3 .val-split { grid-template-columns: .6fr 1.4fr; }
.val-3 .vcols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.val-3 .vcol { padding: clamp(16px, 2.6vh, 24px); }
.val-3 .vcol h3 { font-size: clamp(16px, 1.3vw, 19px); }
.val-3 .vcol b { font-size: clamp(14.5px, min(1.1vw, 2.1vh), 17px); }
.val-3 .vcol span { font-size: clamp(13px, min(1vw, 1.9vh), 15px); }

@media (max-width: 899px), (max-height: 599px) {
  .jn-routes, .ct-split, .val-3 .val-split { grid-template-columns: minmax(0, 1fr); }
  .jn-steps em { font-size: 11px; }
  .jn-ic { width: 44px; height: 44px; font-size: 20px; border-radius: 13px; }
  .jn-steps li + li::before { top: 21px; right: calc(50% + 26px); width: calc(100% - 52px); }
  .ct-grid, .ct-opts, .val-3 .vcols { grid-template-columns: minmax(0, 1fr); }
  .ct-split { gap: 24px; }
  .pt-paths { max-width: none; margin-top: 8px; }
  .pt-paths .seg-b { padding: 8px 6px; font-size: 12.5px; }
  .em-wrap.em-two { padding-right: 0; height: auto; flex-direction: column; gap: 16px; }
  .em-two > .mailframe { width: 100%; height: 62svh; }
  .em-second { position: relative; right: auto; bottom: auto; width: 100%; height: 46svh; }
  .j-grp i { width: 12px; } .j-grp i.on { width: 22px; }
  /* long prototype paths: only the current step keeps its label */
  .pt-many .pt-node:not(.cur) .pt-tx { display: none; }
  .pt-many .pt-leaf { grid-column: 4 / span 3 !important; flex-direction: row; justify-content: center; }
  .j-dots i { width: 18px; } .j-dots i.on { width: 30px; }
}

/* why it wins: larger phones on the left (desktop only; phones keep the stacked layout) */
@media (min-width: 900px) and (min-height: 600px) {
  .val-3 .val-split { grid-template-columns: .82fr 1.18fr; column-gap: clamp(16px, 2vw, 32px); }
  .val-3 .val-art img { width: 128%; max-width: none; max-height: none; margin-left: -18%; }
}

/* our reach: video, headline numbers, partner logo strip */
.reachch { position: relative; }
.rc-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 50% at 78% 35%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%); }
.rc-split { grid-template-columns: .72fr 1.28fr; align-items: center; padding-bottom: 120px; }
.rc-card { border-radius: 28px; padding: 14px; background: linear-gradient(135deg, var(--ink), var(--brand-deep) 55%, var(--brand)); box-shadow: 0 40px 80px -36px color-mix(in srgb, var(--brand) 70%, transparent); transform: rotate(-1.2deg); transition: transform .55s var(--ease); }
@media (hover: hover) { .rc-card:hover { transform: rotate(0deg) translateY(-8px); } }
.rc-video { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; max-height: 48vh; width: 100%; background: #0B0C10; }
.rc-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-ctrl { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 8px; }
.rc-ctrl button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; color: #fff; border: 1px solid rgba(255,255,255,.6); background: rgba(10,12,16,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.rc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(18px, 3.5vh, 30px); }
.rc-stat { border-top: 1px solid rgba(0,0,0,.12); padding-top: 14px; }
.rc-stat b { display: block; font: 800 clamp(30px, min(4vw, 6.4vh), 58px)/.9 var(--display); letter-spacing: -.05em; color: var(--brand); }
.rc-stat em { font-style: normal; display: block; margin-top: 8px; font: 700 11.5px/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.rc-ticker { position: absolute; left: 0; right: 0; bottom: clamp(44px, 7vh, 64px); overflow: hidden; padding: 14px 0; border-block: 1px solid rgba(0,0,0,.08); background: rgba(255,255,255,.6); }
.rc-track { display: flex; width: max-content; animation: rcTicker 40s linear infinite; }
.rc-set { display: flex; gap: 22px; padding-right: 22px; }
.rc-logo { height: 42px; min-width: 138px; display: grid; place-items: center; padding: 8px 18px; }
.rc-logo img { max-width: 132px; max-height: 26px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .35s, opacity .35s, transform .35s; }
@media (hover: hover) { .rc-logo:hover img { filter: none; opacity: 1; transform: scale(1.06); } }
@keyframes rcTicker { to { transform: translateX(-50%); } }
html.rm .rc-track { animation: none; }
@media (max-width: 899px), (max-height: 599px) {
  .rc-split { grid-template-columns: minmax(0, 1fr); padding-bottom: 130px; }
  .rc-card { transform: none; padding: 10px; }
  .rc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-ticker { bottom: 24px; }
  .rc-logo { min-width: 110px; padding: 6px 12px; }
  .mf-hint { display: none; }
}
