/* quickdial.ai — "Ambient Glass" (shared with the God Stay app)
   charcoal ground · translucent glass with chromatic rims · one orange accent
   Fraunces for statement type · Poppins for everything else */

:root {
  --ground: #141210;
  --ground-deep: #0b0908;
  --ground-lift: #211d19;
  --orange: #f0733d;
  --orange-deep: #e85f2a;
  --orange-light: #ff8a4b;
  --gold: #f0c070;
  --text-hi: #ffffff;
  --text-mid: rgba(255, 255, 255, 0.72);
  --text-lo: rgba(255, 255, 255, 0.5);
  --text-faint: rgba(255, 255, 255, 0.3);
  --glass-1: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.12);
  --edge-1: rgba(255, 255, 255, 0.34);
  --edge-2: rgba(255, 255, 255, 0.42);
  --line: rgba(255, 255, 255, 0.12);
  --rim-top: rgba(205, 238, 255, 0.72);
  --rim-left: rgba(150, 200, 255, 0.46);
  --rim-right: rgba(255, 162, 102, 0.5);
  --rim-bottom: rgba(255, 132, 92, 0.42);
  --display: "Fraunces", "Times New Roman", serif;
  --ui: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-md: 20px;
  --r-lg: 26px;
  --r-xl: 32px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text-hi);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; }

/* ---------- ground: gradient + tints + sheen + drifting light ---------- */
.ground {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: linear-gradient(180deg, #1a1712 0%, #131110 55%, #0b0908 100%);
}
.ground::before { /* warm tint top-right */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(255, 180, 120, 0.12) 0%, rgba(255, 180, 120, 0) 45%);
}
.ground::after { /* cool tint bottom-left + diagonal sheen */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(20deg, rgba(120, 160, 230, 0.11) 0%, rgba(120, 160, 230, 0) 45%),
    linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.045) 50%, rgba(255, 255, 255, 0) 70%);
}
.caustic {
  position: absolute; width: 140vw; height: 22vh; left: -20vw; opacity: 0.55;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.06) 35%, rgba(255,235,210,0.09) 50%, rgba(255,255,255,0.06) 65%, rgba(255,255,255,0) 100%);
  filter: blur(28px); transform: rotate(-8deg);
}
.caustic.c2 { top: 55%; opacity: 0.4; transform: rotate(6deg); }
.caustic.c1 { top: 12%; }
@keyframes drift { from { transform: translate3d(-6vw, -3vh, 0) rotate(-8deg); } to { transform: translate3d(6vw, 4vh, 0) rotate(-8deg); } }

/* ---------- glass ---------- */
.glass {
  position: relative; overflow: hidden;
  background: var(--glass-1);
  backdrop-filter: blur(22px) saturate(1.15); -webkit-backdrop-filter: blur(22px) saturate(1.15);
  border-radius: var(--r-lg);
  border: 1.5px solid;
  border-color: var(--rim-top) var(--rim-right) var(--rim-bottom) var(--rim-left);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.glass::before { /* specular from the top-left light source */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.05) 32%, rgba(255,255,255,0) 55%),
    linear-gradient(0deg, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 38%);
}
.glass::after { /* the sharp corner glint */
  content: ""; position: absolute; top: 4px; left: 4px; width: 42px; height: 42px; pointer-events: none;
  border-top: 2px solid rgba(255,255,255,0.7); border-left: 2px solid rgba(255,255,255,0.7);
  border-top-left-radius: var(--r-lg);
}
.glass.l2 { background: var(--glass-2); }
.glass > * { position: relative; z-index: 1; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--ui); font-weight: 500; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); }
h1, h2 { font-family: var(--display); font-weight: 300; letter-spacing: -0.02em; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(44px, 6.4vw, 92px); }
h2 { font-size: clamp(36px, 4.6vw, 64px); }
h1 strong, h2 strong { font-weight: 700; }
h3 { font-family: var(--display); font-weight: 600; font-size: 26px; letter-spacing: -0.01em; margin: 0; }
.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--text-mid); max-width: 60ch; }
.muted { color: var(--text-lo); }
.mono { font-variant-numeric: tabular-nums; }
.accent { color: var(--orange); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px;
  font-family: var(--ui); font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-solid { color: #fff; background: linear-gradient(135deg, var(--orange-light), var(--orange)); box-shadow: 0 12px 30px rgba(240, 115, 61, 0.35); }
.btn-solid:hover { box-shadow: 0 16px 40px rgba(240, 115, 61, 0.5); transform: translateY(-1px); }
.btn-glass { color: var(--text-hi); background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.28); backdrop-filter: blur(16px); }
.btn-glass:hover { background: rgba(255,255,255,0.16); }
.btn svg { width: 18px; height: 18px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h);
  background: linear-gradient(180deg, rgba(14,12,10,.94), rgba(14,12,10,.7));
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-in { width: min(1360px, 100%); height: 100%; margin: 0 auto; padding: 0 28px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; }
.nav .logo { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.3px; }
.nav .logo img { width: 30px; height: 30px; }
.nav .logo span { color: var(--gold); font-weight: 600; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav ul a { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; font-size: 14px; font-weight: 500; color: var(--text-mid); transition: color .2s; }
.nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.nav ul a:hover, .nav ul a.active { color: var(--text-hi); }
.nav ul a:hover::after, .nav ul a.active::after { transform: scaleX(1); }
.nav .btn { padding: 10px 18px; font-size: 14px; }
.nav .nav-right { display: flex; align-items: center; gap: 10px; }
.nav ul a .chev { margin-left: 4px; vertical-align: -1px; transition: transform .25s; }
.nav li.has-menu { position: relative; }
.nav li.has-menu.open > a .chev, .nav li.has-menu:hover > a .chev { transform: rotate(180deg); }
.nav .menu { position: absolute; top: calc(100% + 12px); left: -14px; min-width: 300px; padding: 8px; border-radius: 18px;
  background: rgba(20,17,15,.94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08);
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .22s ease, transform .22s cubic-bezier(.2,.8,.2,1); }
.nav .menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav li.has-menu:hover .menu, .nav li.has-menu.open .menu, .nav li.has-menu:focus-within .menu { opacity: 1; transform: none; pointer-events: auto; }
.nav .menu a { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text-hi); transition: background .15s; }
.nav .menu a.all { grid-template-columns: 1fr; border-top: 1px solid rgba(255,255,255,.08); margin-top: 4px; padding-top: 12px; border-radius: 0 0 12px 12px; }
.nav .menu a:hover { background: rgba(255,255,255,.08); }
.nav .menu a::after { display: none; }
.nav .menu b { display: block; font-size: 14px; font-weight: 600; }
.nav .menu small { display: block; font-size: 12px; color: var(--text-lo); margin-top: 1px; }
.mi { width: 36px; height: 36px; border-radius: 10px; background: rgba(240,115,61,.14); border: 1px solid rgba(240,115,61,.35); display: grid; place-items: center; }
.mi::before { content: ""; width: 16px; height: 16px; background: var(--orange); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.mi-agent { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'><rect x='7' y='2' width='10' height='20' rx='3'/><path d='M11 18h2'/></svg>"); }
.mi-tts { --m: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round'><path d='M4 10v4M8 6v12M12 9v6M16 4v16M20 8v8'/></svg>"); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); padding: 0; cursor: pointer; place-items: center; gap: 4px; }
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav { display: none; }
@media (max-width: 860px) {
  .nav ul { display: none; }
  .nav-in { padding: 0 16px; }
  .nav .nav-right .btn { display: none; }
  .menu-btn { display: grid; }
  .mnav { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 49; display: grid; align-content: start; gap: 4px; padding: 16px 18px 28px; overflow: auto;
    background: rgba(14,12,10,.96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border-top: 1px solid rgba(255,255,255,.07);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .22s ease, transform .22s cubic-bezier(.2,.8,.2,1); }
  .mnav.open { opacity: 1; transform: none; pointer-events: auto; }
  .mnav > a { font-family: var(--display); font-size: 26px; font-weight: 300; padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .mnav .mgroup { padding: 10px 6px 12px; border-bottom: 1px solid rgba(255,255,255,.07); display: grid; gap: 6px; }
  .mnav .mlabel { font-family: var(--ui); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 4px; }
  .mnav .mgroup a { display: grid; gap: 1px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); }
  .mnav .mgroup a b { font-size: 15px; font-weight: 600; } .mnav .mgroup a small { font-size: 12px; color: var(--text-lo); }
  .mnav > .btn { margin-top: 18px; justify-self: start; }
  body.menu-open { overflow: hidden; }
}

/* ---------- pages (full-viewport sections) ---------- */
main { }
.page {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 56px) 22px 64px;
  display: flex; align-items: center;
}
.wrap { width: min(1180px, 100%); margin: 0 auto; }
.dots { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 40; display: grid; gap: 12px; }
.dots a { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.28); transition: background .2s, transform .2s; }
.dots a.active { background: var(--orange); transform: scale(1.35); box-shadow: 0 0 14px rgba(240,115,61,0.7); }
@media (max-width: 860px) { .dots { display: none; } }

/* ---------- page 1: the film ---------- */
#top { padding: 0; display: block; }
#top .wrap { width: 100%; }
.film { position: relative; width: 100%; height: 100vh; min-height: 560px; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 55%, #26211c 0%, #151311 60%, #0c0a09 100%); }
.film .scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scene .chip, .scene .halo { transition: opacity .9s ease; }
.film.intro .scene .chip, .film.intro .scene .halo { opacity: .28; }
.film::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 32vh; background: linear-gradient(180deg, rgba(12,10,9,.78), rgba(12,10,9,0)); pointer-events: none; }
.film::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28vh; background: linear-gradient(180deg, rgba(12,10,9,0), rgba(12,10,9,.6) 50%, rgba(12,10,9,.94)); pointer-events: none; }
.acts-head { position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--nav-h) + 3vh); display: grid; justify-items: center; padding: 0 22px; pointer-events: none; }
.act-h { grid-area: 1 / 1; text-align: center; max-width: 1000px; opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
.act-h.on { opacity: 1; transform: none; transition-delay: .18s; }
.act-h.off { opacity: 0; transform: translateY(-16px); transition-duration: .4s; }
.act-h h1 { font-size: clamp(36px, 4.4vw, 66px); line-height: 1.04; }
.act-h p { margin: 14px auto 0; max-width: 64ch; font-size: clamp(14px, 1.12vw, 17px); color: var(--text-mid); line-height: 1.5; }
.act-h.intro { max-width: 1120px; padding-top: 13vh; }
.act-h.intro h1 { font-size: clamp(28px, 3.4vw, 54px); font-weight: 300; line-height: 1.2; letter-spacing: -0.01em; }
.act-h.intro h1 strong { font-weight: 700; color: #fff; }
.caret { display: inline; margin-left: 4px; color: var(--orange); font-weight: 400; text-shadow: 0 0 12px rgba(240,115,61,.85); }
.type.paused .caret { animation: blink .9s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.film-foot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 3vh; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 0 36px; }
.strip { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-lo); }
.strip b { color: var(--text-hi); font-weight: 600; }
.snd { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: var(--text-mid); font: 500 12px var(--ui); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.snd:hover { background: rgba(255,255,255,.1); color: var(--text-hi); }
.snd[aria-pressed="true"] { border-color: rgba(240,115,61,.65); background: rgba(240,115,61,.16); color: var(--text-hi); }
.snd .w1, .snd .w2 { opacity: .3; transition: opacity .2s; } .snd[aria-pressed="true"] .w1, .snd[aria-pressed="true"] .w2 { opacity: 1; }
.snd:not(.armed) { border-color: rgba(240,115,61,.7); color: var(--text-hi); animation: sndpulse 2.2s ease-in-out infinite; }
@keyframes sndpulse { 50% { box-shadow: 0 0 0 6px rgba(240,115,61,.14); } }

/* timeline */
.tl { --col: 150px; position: relative; display: grid; grid-template-columns: repeat(5, var(--col)); list-style: none; margin: 0; padding: 0; justify-self: center; }
@media (min-width: 1300px) { .tl { --col: 190px; } }
@media (min-width: 1600px) { .tl { --col: 236px; } }
.tl .track, .tl .fill { position: absolute; top: 9px; left: calc(var(--col) / 2); right: calc(var(--col) / 2); height: 2px; border-radius: 2px; background: rgba(255,255,255,.14); }
.tl .fill { right: auto; width: calc(var(--p, 0) * (100% - var(--col))); background: linear-gradient(90deg, var(--orange-light), var(--orange)); box-shadow: 0 0 12px rgba(240,115,61,.55); }
.tn button { display: grid; justify-items: center; gap: 12px; width: 100%; background: none; border: 0; padding: 0; cursor: pointer; color: var(--text-lo); font-family: var(--ui); }
.tn .dot { position: relative; z-index: 1; width: 20px; height: 20px; box-sizing: border-box; border-radius: 50%; border: 2px solid rgba(255,255,255,.26); background: #141210; display: grid; place-items: center; color: #141210; transition: background .35s, border-color .35s, box-shadow .35s; }
.tn .dot svg { opacity: 0; transition: opacity .25s; }
.tn .dot::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); opacity: 0; transition: opacity .25s; }
.tn .lbl { display: grid; justify-items: center; gap: 3px; font-size: 13px; font-weight: 500; transition: color .3s; }
.tn .lbl b { font-size: 10px; letter-spacing: 2.5px; font-weight: 600; color: rgba(255,255,255,.35); transition: color .3s; }
.tn button:hover .lbl { color: var(--text-hi); }
.tn.done .dot { background: var(--orange); border-color: var(--orange); }
.tn.done .dot svg { opacity: 1; }
.tn.done .lbl { color: var(--text-mid); } .tn.done .lbl b { color: var(--orange); }
.tn.on .dot { border-color: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.07), 0 0 18px rgba(240,115,61,.55); animation: tnpulse 1.6s ease-in-out infinite; }
.tn.on .dot::after { opacity: 1; }
.tn.on .lbl { color: var(--text-hi); } .tn.on .lbl b { color: var(--orange); }
@keyframes tnpulse { 50% { box-shadow: 0 0 0 10px rgba(255,255,255,.04), 0 0 26px rgba(240,115,61,.85); } }
.film .ctas { display: flex; gap: 10px; justify-self: end; flex-wrap: wrap; justify-content: flex-end; }

/* scene layers */
.scene .board-layer { opacity: .6; }
.scene .act { opacity: 0; transition: opacity .55s ease; }
.scene .act.on { opacity: 1; }
@keyframes pop { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.scene .act .cap { opacity: 0; }
.scene .act.on .cap { animation: rise .7s 1s cubic-bezier(.2,.8,.2,1) forwards; }
/* 01 cost */
.a1 .vflow, .a1 .nflow { stroke-dasharray: 100; stroke-dashoffset: 100; }
.a1.on .vflow { animation: draw .7s .3s forwards; } .a1.on .nflow { animation: draw .7s .7s forwards; }
.a1 .vend .in { opacity: 0; transform: translateX(-30px); transform-box: fill-box; transform-origin: center; }
.a1.on .v1 .in { animation: vin .6s .2s forwards, vgo .9s 2.3s cubic-bezier(.4,0,.2,1) forwards; }
.a1.on .v2 .in { animation: vin .6s .4s forwards, vgo .9s 2.9s cubic-bezier(.4,0,.2,1) forwards; }
.a1.on .v3 .in { animation: vin .6s .6s forwards, vgo .9s 3.5s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes vin { to { opacity: 1; transform: none; } }
@keyframes vgo { 0% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(260px) scale(.55); } }
.a1 .num .in { opacity: 0; transform: translateY(14px); } .a1.on .num .in { animation: vin .7s .9s forwards; }
.a1 .frac { opacity: 0; } .a1.on .frac { animation: pop .6s 4.6s forwards; }
/* 02 any compute */
.a2 .dl { stroke-dasharray: 100; stroke-dashoffset: 100; }
.a2.on .dl { animation: draw .9s cubic-bezier(.4,0,.2,1) forwards; animation-delay: calc(.2s + var(--i) * .12s); }
.a2 .dsig { stroke-dasharray: 9 91; stroke-dashoffset: -100; opacity: 0; }
.a2.on .dsig { animation: dsig 2.4s linear infinite, pop .3s forwards; animation-delay: calc(1.3s + var(--i) * .3s), calc(1.3s + var(--i) * .3s); }
@keyframes dsig { from { stroke-dashoffset: -100; } to { stroke-dashoffset: 100; } }
.a2 .disc, .a2 .ico, .a2 .lb { opacity: 0; }
.a2.on .disc { animation: pop .45s forwards, discglow 2.2s ease-in-out infinite alternate; animation-delay: calc(.9s + var(--i) * .12s), calc(.9s + var(--i) * .12s); }
.a2.on .ico, .a2.on .lb { animation: pop .45s forwards; animation-delay: calc(1s + var(--i) * .12s); }
@keyframes discglow { from { stroke: rgba(255,255,255,.28); } to { stroke: rgba(240,192,112,.95); } }
/* 03 own stack */
.a3 .mod, .a3 .llm, .a3 .flow { opacity: 0; }
.a3.on .m1 { animation: pop .6s .1s forwards; } .a3.on .m3 { animation: pop .6s .5s forwards; } .a3.on .llm { animation: pop .6s .3s forwards; } .a3.on .flow { animation: pop .6s .7s forwards; }
.a3 .win rect, .a3 .wout rect { transform-box: fill-box; transform-origin: center; animation: wave 1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.09s); }
.a3 .tok rect { opacity: 0; }
.a3.on .tok rect { animation: tok 2.4s linear infinite; animation-delay: calc(.8s + var(--i) * .48s); }
@keyframes tok { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(var(--len)); opacity: 0; } }
/* 03 · domains */
.a3 .doms > text { opacity: 0; } .a3.on .doms > text { animation: pop .6s 1.2s forwards; }
.a3 .dom { opacity: 0; transform-box: fill-box; transform-origin: center; transform: translateY(10px) scale(.85); }
.a3.on .dom { animation: domin .5s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(1.4s + var(--i) * .16s); }
@keyframes domin { to { opacity: 1; transform: none; } }
/* 04 growth */
.a4 .dots circle { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.2); }
.a4.on .dots circle { animation: dot .7s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--d); }
@keyframes dot { to { opacity: 1; transform: scale(1); } }
.a4 .gr { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.3); }
.a4.on .gr { animation: ringgrow 1s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i) * .26s); }
@keyframes ringgrow { to { opacity: 1; transform: scale(1); } }
.a4 .gico { opacity: 0; } .a4.on .gico { animation: pop .5s forwards; animation-delay: calc(.9s + var(--i) * .12s); }
.a4.on .cap { animation-delay: .2s; }
/* 05 guardrails */
@keyframes spin2 { to { transform: rotate(360deg); } }
.a5 .aura { opacity: 0; transform-box: fill-box; transform-origin: center; }
.a5.on .aura { animation: aurain 1.2s .2s cubic-bezier(.2,.8,.2,1) forwards, breathe2 4s 1.4s ease-in-out infinite; }
@keyframes aurain { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes breathe2 { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.a5 .orb, .a5 .radar, .a5 .orbit-dot { transform-origin: 900px 500px; transform-box: view-box; }
.a5 .o1, .a5 .orbit-dot { animation: spin2 40s linear infinite; }
.a5 .o2 { animation: spin2 70s linear infinite reverse; }
.a5 .orbit-dot { }
.a5 .radar { animation: spin2 6s linear infinite; opacity: 0; transition: opacity 1s .8s; }
.a5.on .radar { opacity: 1; }
.a5 .gc .in { opacity: 0; transform: translateX(-24px); } .a5 .g4 .in, .a5 .g5 .in, .a5 .g6 .in { transform: translateX(24px); }
.a5.on .g1 .in { animation: vin .6s .5s forwards; } .a5.on .g2 .in { animation: vin .6s .7s forwards; } .a5.on .g3 .in { animation: vin .6s .9s forwards; }
.a5.on .g4 .in { animation: vin .6s .6s forwards; } .a5.on .g5 .in { animation: vin .6s .8s forwards; } .a5.on .g6 .in { animation: vin .6s 1s forwards; }
.a5 .lock { opacity: 0; } .a5.on .lock { animation: pop .5s 1s forwards; }
/* ambience */
.scene .ics { opacity: .55; }
.scene .led { opacity: .8; }
.scene .dust circle { transform-box: fill-box; transform-origin: center; opacity: 0; animation: drift var(--t) linear infinite; animation-delay: var(--dl); }
@keyframes drift { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(-150px); opacity: 0; } }
.scene .shock { opacity: 0; transform-origin: 900px 500px; transform-box: view-box; }
.scene .shock.go { animation: shock 1.3s cubic-bezier(.2,.8,.2,1) forwards; }
.scene .shock.s2.go { animation-delay: .16s; }
@keyframes shock { 0% { opacity: .9; transform: scale(.5); } 100% { opacity: 0; transform: scale(2.5); } }
.act-h h1 strong { background: linear-gradient(100deg, #fff 30%, #ffd9b0 50%, #fff 70%); background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.act-h.on h1 strong { animation: sheen 2.2s .6s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes sheen { to { background-position: 0 0; } }
.film .ctas .btn-solid { position: relative; }
.film .ctas .btn-solid::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; box-shadow: 0 14px 46px rgba(240,115,61,.7); opacity: 0; animation: ctaglow 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes ctaglow { 50% { opacity: 1; } }

@media (max-width: 1200px) and (min-width: 861px) {
  .tl { --col: 112px; }
  .tn .lbl { font-size: 12px; }
  .film-foot { padding: 0 22px; gap: 12px; }
  .strip { flex-direction: column; align-items: flex-start; gap: 6px; }
  .film .ctas { flex-direction: column; align-items: flex-end; }
  .film .ctas .btn { padding: 10px 16px; font-size: 13.5px; }
}

@media (max-width: 860px) {
  .film { height: auto; min-height: 0; overflow: visible; padding-top: var(--nav-h); background: none; display: flex; flex-direction: column; }
  .film::before, .film::after { display: none; }
  .film .scene { position: static; height: auto; border-radius: 22px; order: 1; }
  .acts-head { position: static; padding: 18px 22px 14px; order: 0; }
  .act-h.intro { padding-top: 0; }
  .film-foot { position: static; order: 2; grid-template-columns: 1fr; justify-items: center; padding: 14px 22px 26px; }
  .strip { justify-content: center; }
  .tl { grid-template-columns: repeat(5, 1fr); width: 100%; }
  .tl .track, .tl .fill { left: 10%; right: 10%; } .tl .fill { width: calc(var(--p, 0) * 80%); }
  .tn .lbl { font-size: 11px; } .tn .lbl b { display: none; }
  .film .ctas { justify-self: center; justify-content: center; }
}

/* shared scene animations */


.scene .n2 { animation-delay: -1.2s; } .scene .n3 { animation-delay: -2.4s; } .scene .n4 { animation-delay: -3.6s; } .scene .n5 { animation-delay: -4.8s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
.scene .halo { }
@keyframes breathe { 0%, 100% { transform: scale(.94); opacity: .8; } 50% { transform: scale(1.06); opacity: 1; } }
.scene .core { animation: coreglow 2.4s ease-in-out infinite alternate; }
@keyframes coreglow { from { opacity: .25; } to { opacity: .55; } }
.scene .ring { transform-origin: 900px 500px; animation: pulse 4s ease-out infinite; opacity: 0; }
.scene .ring.r2 { animation-delay: 2s; }
@keyframes pulse { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(2.3); opacity: 0; } }
.scene .signals path { stroke-dasharray: 22 400; stroke-dashoffset: 422; animation: signal 2.6s linear infinite; filter: drop-shadow(0 0 3px rgba(255,178,122,.9)); }
.scene .signals path:nth-child(2) { animation-delay: .5s; } .scene .signals path:nth-child(3) { animation-delay: 1s; }
.scene .signals path:nth-child(4) { animation-delay: 1.5s; } .scene .signals path:nth-child(5) { animation-delay: 2s; }
@keyframes signal { from { stroke-dashoffset: 422; } to { stroke-dashoffset: 0; } }
.scene .sweep { animation: sweep 5.5s ease-in-out infinite; }
@keyframes sweep { 0%, 55% { transform: rotate(20deg) translateX(-160px); } 100% { transform: rotate(20deg) translateX(360px); } }
.scene .sweep { transform-origin: 900px 500px; transform-box: view-box; }
.scene .deco path { stroke-dasharray: 200 60; animation: deco 9s linear infinite; }
@keyframes deco { to { stroke-dashoffset: -260; } }
.scene .wave rect { transform-origin: center; transform-box: fill-box; animation: wave 1.1s ease-in-out infinite alternate; }
.scene .wave rect:nth-child(2) { animation-delay: .15s; } .scene .wave rect:nth-child(3) { animation-delay: .3s; }
.scene .wave rect:nth-child(4) { animation-delay: .45s; } .scene .wave rect:nth-child(5) { animation-delay: .6s; }
@keyframes wave { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.scene .shield { animation: glow 2.6s ease-in-out infinite alternate; }
@keyframes glow { from { filter: drop-shadow(0 0 2px rgba(240,192,112,.2)); } to { filter: drop-shadow(0 0 12px rgba(240,192,112,.8)); } }
.scene .spark { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 1.8s .4s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.scene .sparkdot { opacity: 0; animation: pop .5s 2s forwards; }
@keyframes pop { to { opacity: 1; } }
.scene .board-layer { opacity: .5; transition: opacity .6s; }
.scene .fleet use { animation: bob 4.5s ease-in-out infinite; }
.scene .fleet use:nth-child(2) { animation-delay: -1.1s; } .scene .fleet use:nth-child(3) { animation-delay: -2.2s; } .scene .fleet use:nth-child(4) { animation-delay: -3.3s; }
@keyframes bob { 0%, 100% { translate: 0 0; opacity: .75; } 50% { translate: 0 -5px; opacity: 1; } }
.scene .devs use { animation: blink 3s ease-in-out infinite; }
.scene .devs use:nth-child(2) { animation-delay: 1s; } .scene .devs use:nth-child(3) { animation-delay: 2s; }
@keyframes blink { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

.scene .bsig path { stroke-dasharray: 40 1000; stroke-dashoffset: 1040; animation: bsig 5s linear infinite; }
@keyframes bsig { from { stroke-dashoffset: 1040; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .scene * { animation: none !important; } .scene .bar { transform: none; } .scene .spark { stroke-dashoffset: 0; } .scene .sparkdot { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ring, .orbit, .orbit .dev, .bar, .wave rect, .shield, .dash, .caustic { animation: none !important; } .bar { transform: none; } .ring { opacity: .25; } }

/* ---------- page 2: demos ---------- */
.demos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }
.demo { padding: 28px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.demo .qr { width: 168px; height: 168px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); }
.demo .qr img, .demo .qr svg { width: 100%; height: 100%; }
.demo .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-lo); }
.demo .tag i { width: 7px; height: 7px; border-radius: 50%; background: #5fd08a; box-shadow: 0 0 10px #5fd08a; }
.demo h3 { margin-top: 10px; }
.demo p { color: var(--text-mid); font-size: 14.5px; margin: 8px 0 16px; }
.demo .link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 600; font-size: 14px; word-break: break-all; }
.demo ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13px; color: var(--text-lo); }
.demo ul li::before { content: "·"; color: var(--orange); margin-right: 8px; }
@media (max-width: 1100px) { .demos { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .demo { grid-template-columns: 1fr; padding: 22px; } .demo .qr { justify-self: center; width: 150px; height: 150px; } }
@media (max-width: 920px) { .demos { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .demo { grid-template-columns: 1fr; } .demo .qr { justify-self: start; } }

/* ---------- product pages ---------- */
.pp { display: grid; grid-template-columns: 1fr 1.05fr; gap: 44px; align-items: center; }
.pp-flip .pp-copy { order: 2; } .pp-flip .pp-visual { order: 1; }
.pp-copy { display: grid; gap: 18px; }
.pp-copy h2 { font-size: clamp(34px, 3.6vw, 56px); }
.pillars { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.pillars li { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); font-size: 14px; color: var(--text-mid); }
.pillars li b { font-family: var(--ui); font-size: 11px; letter-spacing: 2px; color: var(--orange); font-weight: 600; }
.pillars li strong { color: var(--text-hi); font-weight: 600; margin-right: 6px; }
.p-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.p-stats b { display: block; font-family: var(--display); font-weight: 600; font-size: 26px; }
.p-stats span { font-size: 12px; color: var(--text-lo); }
.p-cta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.p-url { font-family: var(--ui); font-size: 13px; color: var(--text-lo); margin-left: 4px; }
.p-url:hover { color: var(--orange); }
.pp-visual { display: grid; gap: 12px; }
.pp-wide { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px 48px; align-items: start; }
.pp-wide .pp-head { display: grid; gap: 16px; }
.pp-wide .pp-visual, .pp-wide .pp-foot { grid-column: 1 / -1; }
.pp-wide .pp-visual { margin-top: 6px; }
.pp-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.pp-foot .p-stats { border-top: 0; padding: 0; gap: 34px; grid-template-columns: repeat(3, auto); }
.sc-wide .sc-body { grid-template-columns: 1.3fr 1fr 1fr; }
.sc-wide .sc-room { grid-column: auto; min-height: 220px; }
@media (max-width: 980px) { .pp-wide { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 900px) { .sc-wide .sc-body { grid-template-columns: 1fr 1fr; } .sc-wide .sc-room { grid-column: 1 / -1; min-height: 180px; } }
@media (max-width: 520px) { .sc-wide .sc-body { grid-template-columns: 1fr; } .pp-foot .p-stats { gap: 18px; } }
.pp-caption { text-align: center; font-size: 12.5px; color: var(--text-lo); }
/* concierge card (mirrors the deck) */
.stage-card { padding: 18px; display: grid; gap: 14px; }
.sc-head { display: flex; align-items: center; gap: 14px; padding: 2px 4px 0; }
.sc-brand { font-family: var(--display); font-weight: 600; font-size: 20px; }
.sc-role { font-family: var(--ui); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.sc-live { margin-left: auto; font-family: var(--ui); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: #5fd08a; display: inline-flex; align-items: center; gap: 8px; }
.sc-live i { width: 7px; height: 7px; border-radius: 50%; background: #5fd08a; box-shadow: 0 0 10px #5fd08a; animation: livepulse 1.8s ease-in-out infinite; }
@keyframes livepulse { 50% { opacity: .35; } }
.sc-body { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sc-room { position: relative; grid-column: 1 / -1; min-height: 190px; border-radius: 16px; overflow: hidden; background: #1c1815; }
.sc-room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-room b { position: absolute; left: 14px; right: 14px; bottom: 12px; display: grid; gap: 2px; font-family: var(--display); font-weight: 600; font-size: 22px; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.sc-room b em { font-style: normal; font-family: var(--ui); font-weight: 400; font-size: 12.5px; color: rgba(255,255,255,.85); }
.sc-room::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.72)); }
.sc-room b { z-index: 1; }
.sc-panel { border-radius: 16px; padding: 14px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.08); display: grid; gap: 8px; align-content: start; }
.sc-eyebrow { font-family: var(--ui); font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.srow { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 14px; }
.srow i { font-style: normal; font-family: var(--ui); font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-lo); }
.srow b { font-weight: 600; } .srow.total { border-bottom: 0; } .srow.total b { font-family: var(--display); font-size: 24px; font-weight: 700; }
.sc-panel .f { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); font-size: 13.5px; }
.sc-panel .f i { font-style: normal; font-family: var(--ui); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-lo); }
.sc-panel .f b { font-weight: 500; white-space: nowrap; overflow: hidden; }
.sc-panel .f.typing { border-color: rgba(240,192,112,.6); box-shadow: 0 0 0 3px rgba(240,192,112,.08); }
.sc-caret { display: inline-block; width: 1.5px; height: 1em; background: var(--gold); vertical-align: -0.15em; margin-left: 2px; animation: blink 1s steps(2) infinite; }
.sc-rail { display: grid; grid-template-columns: repeat(6, 1fr); position: relative; padding: 12px 0 0; }
.sc-rail::before { content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 19px; height: 1px; background: rgba(255,255,255,.14); }
.sc-rail span { display: grid; justify-items: center; gap: 8px; font-family: var(--ui); font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-lo); }
.sc-rail span::before { content: ""; position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.28); background: #141210; box-sizing: border-box; }
.sc-rail span.done::before { background: var(--gold); border-color: var(--gold); }
.sc-rail span.now { color: var(--text-hi); } .sc-rail span.now::before { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 5px rgba(240,192,112,.18); }
/* tts card */
.tts-card { padding: 18px; display: grid; gap: 14px; }
.tc-text { font-family: var(--display); font-weight: 300; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.4; padding: 6px 4px 2px; color: var(--text-lo); min-height: 3.2em; }
.tc-text .w { transition: color .18s; } .tc-text .w.said { color: var(--text-hi); } .tc-text .w.now { color: var(--gold); }
.tc-wave { display: flex; align-items: center; gap: 3px; height: 64px; padding: 0 4px; }
.tc-wave i { flex: 1; height: var(--h); border-radius: 3px; background: rgba(255,255,255,.12); transform-origin: center; transition: background .2s, transform .2s; }
.tc-wave i.on { background: var(--gold); box-shadow: 0 0 10px rgba(240,192,112,.35); }
.tc-wave i.now { background: var(--orange); transform: scaleY(1.25); }
.tc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tc-voices { display: flex; gap: 6px; }
.tc-voices button { font: 500 12.5px var(--ui); padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: var(--text-mid); cursor: pointer; }
.tc-voices button.on { border-color: rgba(240,192,112,.6); color: var(--text-hi); background: rgba(240,192,112,.14); }
.tc-meta { display: flex; gap: 16px; font-size: 11px; color: var(--text-lo); }
.tc-meta span { display: grid; gap: 1px; } .tc-meta b { font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--text-hi); }
@media (max-width: 980px) { .pp { grid-template-columns: 1fr; gap: 26px; } .pp-flip .pp-copy { order: 1; } .pp-flip .pp-visual { order: 2; } }
@media (max-width: 760px) { .sc-room { min-height: 170px; } .sc-rail span { font-size: 8.5px; letter-spacing: 1.5px; } }
@media (max-width: 520px) { .sc-body { grid-template-columns: 1fr; } .stage-card, .tts-card { padding: 14px; } .p-stats b { font-size: 22px; } .sc-rail { grid-template-columns: repeat(3, 1fr); row-gap: 10px; } .sc-rail::before { display: none; } }

/* ---------- pilots ---------- */
.pilots { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-top: 34px; }
.pilot { padding: 26px; display: grid; gap: 14px; align-content: start; }
.pl-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: nowrap; }
.pl-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ui); font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: #5fd08a; font-weight: 600; }
.pl-status i { width: 7px; height: 7px; border-radius: 50%; background: #5fd08a; box-shadow: 0 0 10px #5fd08a; }
.pl-status.queued { color: var(--gold); } .pl-status.queued i { background: var(--gold); box-shadow: 0 0 10px rgba(240,192,112,.8); }
.pl-tag { font-family: var(--ui); font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--text-lo); padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); white-space: nowrap; }
@media (max-width: 520px) { .pl-top { flex-wrap: wrap; } }
.pl-brand { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; min-width: 0; }
.pl-logo { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 15px; background: #fff; padding: 8px; box-sizing: border-box; box-shadow: 0 8px 24px rgba(0,0,0,.35); flex: none; }
.pl-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pl-logo-wide { width: 108px; padding: 8px 10px; }
.pl-name { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2vw, 30px); letter-spacing: -0.01em; white-space: nowrap; min-width: 0; }
.pl-fig { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pl-fig b { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 3vw, 44px); line-height: 1; color: var(--orange); }
.pl-fig span { font-size: 12.5px; color: var(--text-lo); letter-spacing: .3px; }
.pilot p { margin: 0; color: var(--text-mid); font-size: 14.5px; line-height: 1.55; }
.pilot .link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 600; font-size: 14px; }
.pilot-more { background: rgba(255,255,255,.04); }
.pilot-more .btn { justify-self: start; margin-top: 4px; }
@media (max-width: 1100px) { .pilots { grid-template-columns: 1fr 1fr; } .pilot-more { grid-column: 1 / -1; } }
@media (max-width: 700px) { .pilots { grid-template-columns: 1fr; } .pilot { padding: 22px; } }

/* ---------- page 4: contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: start; margin-top: 12px; }
.contact .pitch { display: grid; gap: 18px; }
.contact .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fact { padding: 16px 18px; border-radius: var(--r-md); }
.fact b { display: block; font-family: var(--display); font-weight: 600; font-size: 26px; }
.fact span { font-size: 12.5px; color: var(--text-lo); }
.cal { padding: 34px; align-self: stretch; display: grid; }
.book { display: grid; gap: 14px; align-content: center; max-width: 440px; margin: 0 auto; }
.book-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--gold); background: rgba(240,192,112,.12); border: 1px solid rgba(240,192,112,.35); }
.book-k { font-family: var(--ui); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--orange); font-weight: 600; }
.book h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; }
.book p { margin: 0; color: var(--text-mid); font-size: 15px; line-height: 1.55; }
.book-facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--text-mid); }
.book-facts li { padding-left: 18px; position: relative; }
.book-facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.book-btn { justify-self: start; margin-top: 6px; }
.book-alt { font-size: 13px; color: var(--text-lo); } .book-alt:hover { color: var(--orange); }
.contact .alt { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 980px) { .contact { grid-template-columns: 1fr; } .cal { padding: 26px; } }
@media (max-width: 520px) { .contact .facts { grid-template-columns: 1fr 1fr; } .fact b { font-size: 22px; } }

/* ---------- footer ---------- */
footer { padding: 28px 22px 40px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; font-size: 13px; color: var(--text-lo); border-top: 1px solid var(--line); padding-top: 22px; }
footer nav { display: flex; gap: 18px; }
footer nav a:hover { color: var(--text-hi); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .4s; }

/* ---------- small screens ---------- */
@media (max-width: 520px) {
  .nav { height: 62px; padding: 0 8px 0 16px; }
  .nav .logo { font-size: 18px; gap: 9px; }
  .nav .logo img { width: 26px; height: 26px; }
  .nav .logo span { display: none; }
  .nav .btn { padding: 10px 14px; font-size: 13px; }
  .page { padding-top: calc(62px + 36px); }
  
  .big { font-size: 96px; }
}
