/* Escape Idea — site styles. Uses theme tokens only (see /themes/<theme>/tokens.css). */

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px) }
body { background: var(--color-bg); color: var(--color-text); font: var(--text-base)/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.5) .6px, transparent .7px), radial-gradient(rgba(255,255,255,.3) .5px, transparent .6px);
  background-size: 140px 140px, 90px 90px; background-position: 0 0, 40px 60px; opacity: var(--starfield-opacity) }
a { color: inherit; text-decoration: none }
img, svg { display: block; max-width: 100% }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer }
::selection { background: var(--accent-ice); color: var(--on-accent) }
:focus-visible { outline: 2px solid var(--accent-ice); outline-offset: 3px; border-radius: 6px }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--color-button-bg); color: var(--color-button-text); font-weight: 600 }
.skip:focus { top: 12px }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) }
.section { position: relative; padding: var(--section-pad) 0 }
.section + .section { padding-top: calc(var(--section-pad) * .5) }
.mono { font: 500 11.5px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted) }
.mono b { color: var(--accent-ice); font-weight: 500 }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em }
.chrome { background: linear-gradient(180deg, var(--color-heading-from) 10%, var(--color-heading-mid) 55%, var(--color-heading-to)); -webkit-background-clip: text; background-clip: text; color: transparent }
.grad { -webkit-background-clip: text; background-clip: text; color: transparent }
.g1 { background-image: linear-gradient(90deg, var(--accent-ice-soft), var(--accent-ice)) }
.g2 { background-image: linear-gradient(90deg, var(--accent-sun-soft), var(--accent-sun)) }
.g3 { background-image: linear-gradient(90deg, var(--accent-gold-soft), var(--accent-gold)) }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--color-heading-mid); background: none }
.h2 { font-size: var(--text-h2); margin: 18px 0 }
.lead { color: var(--color-muted); font-size: var(--text-lead); max-width: 620px }

.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; border-radius: var(--radius); font: 600 14.5px/1 var(--font-body); transition: transform .3s, box-shadow .3s, background .3s, border-color .3s, color .3s }
.btn svg { width: 16px; height: 16px; transition: transform .3s }
.btn:hover svg { transform: translateX(4px) }
.btn-ice { background: var(--color-button-bg); color: var(--color-button-text); box-shadow: 0 0 0 1px rgba(255,255,255,.4), var(--glow-button) }
.btn-ice:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--color-button-bg), var(--glow-button-hover) }
.btn-ghost { border: 1px solid var(--color-line-2); background: rgba(255,255,255,.03); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px) }
.btn-ghost:hover { border-color: var(--accent-ice); color: var(--accent-ice) }
.btn-sm { padding: 12px 18px; font-size: 13.5px; border-radius: 12px }

/* HUD frame corners */
.frame { position: relative }
.frame::before, .frame::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--accent-ice); opacity: .7; pointer-events: none; transition: all .35s }
.frame::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0 }
.frame::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0 }

/* accent helper: sets --c from a token name */
.ac-ice { --c: var(--accent-ice); --c-soft: var(--accent-ice-soft) }
.ac-sun { --c: var(--accent-sun); --c-soft: var(--accent-sun-soft) }
.ac-gold { --c: var(--accent-gold); --c-soft: var(--accent-gold-soft) }
.ac-lav { --c: var(--accent-lav); --c-soft: var(--accent-lav-soft) }
.ac-mint { --c: var(--accent-mint); --c-soft: var(--accent-mint-soft) }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; transition: background var(--dur), border-color var(--dur), backdrop-filter var(--dur); border-bottom: 1px solid transparent }
.site-header.scrolled, .site-header.open { background: var(--color-header-bg); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: var(--color-line) }
.site-header .wrap { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px }
.brand img { height: 30px; width: auto; border-radius: 6px }
.nav { display: flex; align-items: center; gap: 6px }
.nav a { padding: 10px 14px; border-radius: 10px; font: 500 14.5px/1 var(--font-body); color: var(--color-text-soft); transition: color var(--dur-fast), background var(--dur-fast) }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.06) }
.nav .btn { margin-left: 10px; color: var(--color-button-text); background: var(--color-button-bg) }
.nav .btn:hover { color: var(--color-button-text); background: var(--accent-ice) }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--color-line-2); place-items: center }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.6px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s, background .3s }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0 }
.burger span::before { top: -6px } .burger span::after { top: 6px }
.open .burger span { background: transparent }
.open .burger span::before { transform: translateY(6px) rotate(45deg) }
.open .burger span::after { transform: translateY(-6px) rotate(-45deg) }
@media (max-width: 960px) {
  .burger { display: grid }
  .nav { position: fixed; left: 0; right: 0; top: var(--header-h); flex-direction: column; align-items: stretch; gap: 4px; padding: 14px var(--gutter) 24px; background: var(--color-menu-bg); box-shadow: var(--shadow-dock); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--color-line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s }
  .open .nav { opacity: 1; transform: none; visibility: visible }
  .nav a { padding: 14px 12px; font-size: 16px }
  .nav .btn { margin: 10px 0 0; justify-content: center }
}

/* ---------- dock (home) ---------- */
.dock { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 40; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 18px; background: var(--color-header-bg); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid var(--color-line-2); box-shadow: var(--shadow-dock); transition: opacity .4s, transform .4s }
.dock.hide { opacity: 0; transform: translate(-50%, 20px); pointer-events: none }
.dock a { padding: 11px 16px; border-radius: 12px; font: 500 13.5px/1 var(--font-body); color: var(--color-muted); white-space: nowrap; transition: color var(--dur-fast), background var(--dur-fast) }
.dock a:hover { color: #fff }
.dock a.on { background: rgba(255,255,255,.1); color: #fff }
.dock a.go { background: var(--color-button-bg); color: var(--color-button-text); font-weight: 600; margin-left: 4px }
.dock a.go:hover { background: var(--accent-ice) }
@media (max-width: 700px) { .dock a:not(.go):nth-child(n+3) { display: none } .dock a { padding: 11px 13px } }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 64px) 0 0; overflow: hidden; isolation: isolate }
#sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1 }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(transparent, var(--color-bg)); z-index: -1 }
.hero h1 { font-size: var(--text-h1); margin: 22px 0 24px; max-width: 1120px }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em }
.hero h1 .ln > span { display: inline-block; animation: up .9s var(--ease) both }
.hero h1 .ln:nth-child(2) > span { animation-delay: .08s } .hero h1 .ln:nth-child(3) > span { animation-delay: .16s } .hero h1 .ln:nth-child(4) > span { animation-delay: .24s }
@keyframes up { from { transform: translateY(105%) } to { transform: none } }
.hero .lead { color: var(--color-text-soft); max-width: 680px; animation: fade 1s .35s both }
@keyframes fade { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }
.keys { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; animation: fade 1s .45s both }
.key { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 12px; border: 1px solid var(--color-line-2); background: rgba(8,10,18,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 500 14.5px/1 var(--font-body); transition: border-color .3s, transform .3s }
.key:hover { transform: translateY(-3px); border-color: var(--c) }
.key b { font: 500 11px/1 var(--font-mono); padding: 6px 7px; border-radius: 7px; background: var(--c); color: var(--on-accent) }
.key.featured { border-color: color-mix(in srgb, var(--c) 55%, transparent) }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; animation: fade 1s .55s both }
.telemetry { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--color-line); border-bottom: 0; border-radius: var(--radius-card) var(--radius-card) 0 0; background: rgba(8,10,18,.6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: fade 1s .7s both }
.tcell { padding: 22px 24px; border-right: 1px solid var(--color-line) }
.tcell:last-child { border-right: 0 }
.tcell strong { display: block; font: 600 clamp(24px, 3vw, 40px)/1.1 var(--font-display); margin-top: 8px }
.tcell strong small { font-size: .5em; color: var(--accent-ice); margin-left: 4px }
@media (max-width: 760px) { .telemetry { grid-template-columns: 1fr 1fr } .tcell:nth-child(2) { border-right: 0 } .tcell:nth-child(-n+2) { border-bottom: 1px solid var(--color-line) } }

/* ---------- services: big list + sticky orbit ---------- */
.svc-head { max-width: 820px }
.svc-head .h2 { margin-bottom: 0 }
.svc-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(30px, 5vw, 80px); margin-top: 48px; align-items: start }
.svc-list { border-top: 1px solid var(--color-line) }
.svc-row { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; padding: 30px 0; border-bottom: 1px solid var(--color-line); transition: background var(--dur) }
.svc-row::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: linear-gradient(90deg, var(--c), transparent); transition: width .8s var(--ease) }
.svc-row.on::before { width: 100% }
.svc-num { font: 500 12px/1 var(--font-mono); letter-spacing: .1em; color: var(--color-dim); padding-top: .9em; transition: color var(--dur) }
.svc-row.on .svc-num { color: var(--c) }
.svc-row h3 { font-size: clamp(22px, 2.6vw, 36px); text-transform: uppercase; letter-spacing: -.01em; color: var(--color-muted); transition: color var(--dur) }
.svc-row.on h3 { color: #fff }
.svc-row h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1 }
.svc-row.featured h3 { font-size: clamp(28px, 3.6vw, 52px) }
.svc-tag { display: inline-block; margin-bottom: 10px; padding: 6px 9px; border-radius: 7px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; background: var(--c); color: var(--on-accent) }
.svc-body { grid-column: 2; display: grid; grid-template-rows: 0fr; opacity: .55; transition: grid-template-rows .6s var(--ease), opacity .5s }
.svc-body > div { overflow: hidden }
.svc-row.on .svc-body, .svc-row.featured .svc-body { grid-template-rows: 1fr; opacity: 1 }
.svc-body p { color: var(--color-text-soft); font-size: 17px; max-width: 560px; padding-top: 12px }
.svc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px }
.svc-chips span { padding: 7px 11px; border-radius: 9px; border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); font: 500 13px/1 var(--font-body); background: var(--color-panel) }
.svc-more { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--c) }
.svc-more svg { width: 14px; transition: transform .3s }
.svc-row:hover .svc-more svg { transform: translateX(4px) }
.svc-aside { position: sticky; top: calc(var(--header-h) + 40px) }

.orbit-box { container-type: inline-size; position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; margin: 0 auto }
.ring { position: absolute; inset: 12%; border-radius: 50%; border: 1px solid var(--color-line-2) }
.ring.r2 { inset: 26%; border-style: dashed; border-color: var(--color-line); animation: spin 60s linear infinite }
.ring.r0 { inset: 0; border-color: rgba(255,255,255,.05) }
@keyframes spin { to { transform: rotate(360deg) } }
.core { position: absolute; inset: 36%; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 32% 28%, #3a3f63, #11132a 60%, #07080f); box-shadow: 0 0 80px -10px var(--glow, var(--accent-ice)), inset -12px -12px 30px rgba(0,0,0,.6); transition: box-shadow .6s }
.core b { font: 600 clamp(20px, 6cqw, 34px)/1 var(--font-display) }
.core span { display: block; margin-top: 6px }
.sats { position: absolute; inset: 0; --rot: -90deg; transition: --rot 1s }
.sat { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(calc(var(--a) + var(--rot))) translateX(38cqw) rotate(calc(-1 * (var(--a) + var(--rot)))); transition: transform 1s var(--ease) }
.sat i { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.72); width: clamp(56px, 17cqw, 88px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 28%, var(--c-soft), var(--c) 70%); box-shadow: inset -8px -8px 18px rgba(0,0,0,.45); opacity: .45; transition: transform .5s var(--ease), opacity .5s, box-shadow .5s; font: 600 clamp(11px, 3cqw, 15px)/1 var(--font-mono); color: var(--on-accent); font-style: normal }
.sat.on i { transform: translate(-50%, -50%) scale(1.15); opacity: 1; box-shadow: inset -8px -8px 18px rgba(0,0,0,.35), 0 0 50px -4px var(--c) }
.orbit-cap { text-align: center; margin-top: 18px }
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr }
  .svc-aside { display: none }
  .svc-row { grid-template-columns: 40px 1fr; padding: 24px 0 }
  .svc-body { grid-template-rows: 1fr; opacity: 1 }
  .svc-row h3 { color: #fff }
  .svc-row .svc-num { color: var(--c) }
}

/* ---------- launch builder ---------- */
.builder .box { border: 1px solid var(--color-line); border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); padding: clamp(22px, 4vw, 48px); margin-top: 50px; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px) }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px }
.opt { text-align: left; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--color-line-2); background: var(--color-panel); font: 500 15.5px/1.2 var(--font-body); display: flex; justify-content: space-between; align-items: center; gap: 10px; transition: border-color .25s, background .25s, transform .25s }
.opt:hover { transform: translateY(-2px); border-color: #fff }
.opt i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--color-dim); flex: none; transition: .25s }
.opt[aria-pressed="true"] { border-color: var(--accent-ice); background: rgba(139,233,255,.08) }
.opt[aria-pressed="true"] i { border-color: var(--accent-ice); background: var(--accent-ice); box-shadow: 0 0 12px var(--accent-ice) }
.plan { border-radius: var(--radius-card); background: var(--color-bg-card); border: 1px solid var(--color-line); padding: 26px }
.crew { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 22px }
.crew span { padding: 8px 12px; border-radius: 9px; font: 500 11.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--color-line); color: var(--color-dim); transition: .35s }
.crew span.on { color: var(--on-accent); background: var(--c); border-color: var(--c); box-shadow: 0 0 24px -4px var(--c) }
.fp { list-style: none; display: grid; margin: 12px 0 24px; counter-reset: s }
.fp li { counter-increment: s; display: flex; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px dashed var(--color-line); font-weight: 500; animation: fade .5s both }
.fp li::before { content: "T-" counter(s, decimal-leading-zero); font: 500 11.5px/1 var(--font-mono); color: var(--accent-ice); letter-spacing: .08em; flex: none }
.fp li:nth-child(2) { animation-delay: .07s } .fp li:nth-child(3) { animation-delay: .14s } .fp li:nth-child(4) { animation-delay: .21s }
@media (max-width: 900px) { .builder .box { grid-template-columns: 1fr } }
@media (max-width: 480px) { .opts { grid-template-columns: 1fr } }

/* ---------- process ---------- */
.seq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px }
.seq-grid .stick { position: sticky; top: calc(var(--header-h) + 40px); align-self: start }
.tl { position: relative; padding-left: 44px }
.tl::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--color-line) }
.tl .fill { position: absolute; left: 11px; top: 8px; width: 2px; height: 0; background: linear-gradient(var(--accent-ice), var(--accent-sun)); box-shadow: 0 0 14px var(--accent-ice) }
.st { position: relative; padding: 0 0 46px }
.st:last-child { padding-bottom: 0 }
.st::before { content: ""; position: absolute; left: -39px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--color-bg); border: 2px solid var(--color-dim); transition: .4s }
.st.lit::before { border-color: var(--accent-ice); background: var(--accent-ice); box-shadow: 0 0 16px var(--accent-ice) }
.st h3 { font-size: clamp(22px, 2.6vw, 32px); margin: 8px 0; color: var(--color-dim); transition: color .4s }
.st.lit h3 { color: #fff }
.st p { color: var(--color-muted); max-width: 480px }
@media (max-width: 900px) { .seq-grid { grid-template-columns: 1fr; gap: 40px } .seq-grid .stick { position: static } }

/* ---------- locations ---------- */
.loc-head { text-align: center }
.loc-head .h2 { margin-bottom: 0 }
.arc { display: block; width: 100%; max-width: 980px; margin: 30px auto 0 }
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 6px }
.station { border: 1px solid var(--color-line); border-radius: var(--radius-card); background: var(--color-panel); padding: 28px; display: flex; flex-direction: column }
.station .mono b { color: var(--c) }
.station .clk { font: 600 clamp(36px, 4.6vw, 64px)/1 var(--font-display); font-variant-numeric: tabular-nums; margin: 14px 0 4px }
.station h3 { font-size: 20px; margin: 18px 0 8px }
.station address { font-style: normal; color: var(--color-muted); font-size: 15px }
.station .hours { margin: 10px 0 0; color: var(--color-text-soft); font-size: 12.5px; letter-spacing: .02em }
.station .map { display: inline-block; margin-top: 12px; font: 500 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--c) }
@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px }
.faq details { border-bottom: 1px solid var(--color-line); padding: 22px 0 }
.faq details:first-of-type { border-top: 1px solid var(--color-line) }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; font: 500 18px/1.35 var(--font-body) }
.faq summary::-webkit-details-marker { display: none }
.faq summary i { flex: none; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--color-line-2); display: grid; place-items: center; font-style: normal; transition: .3s }
.faq details[open] summary i { transform: rotate(45deg); background: var(--accent-ice); color: var(--on-accent); border-color: var(--accent-ice) }
.faq details p { color: var(--color-muted); margin-top: 12px; max-width: 620px }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 24px } }

/* ---------- closing CTA ---------- */
.cta-panel { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--color-line-2); background: var(--color-bg-card); padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px); text-align: center }
.cta-panel::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; bottom: -640px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, var(--cta-glow), var(--cta-glow-2) 45%, transparent 70%); z-index: -1 }
.cta-panel h2 { font-size: clamp(30px, 5vw, 68px); margin: 16px auto; max-width: 900px }
.cta-panel p { color: var(--color-text-soft); font-size: var(--text-lead); max-width: 560px; margin: 0 auto 30px }
.cta-panel .cta-row { justify-content: center; animation: none }

/* ---------- inner page header ---------- */
.page-head { padding: calc(var(--header-h) + 90px) 0 70px; position: relative; isolation: isolate; overflow: hidden }
.page-head::before { content: ""; position: absolute; width: 1100px; height: 1100px; right: -380px; top: -760px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,89,.22), rgba(169,164,230,.1) 45%, transparent 70%); z-index: -1 }
.page-head h1 { font-size: clamp(32px, 5vw, 72px); margin: 18px 0 20px; max-width: 980px }
.page-head .lead { color: var(--color-text-soft); max-width: 720px }
.page-head .cta-row { margin-top: 32px }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap }
.crumbs a:hover { color: #fff }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--color-line); padding: 70px 0 30px; margin-top: 40px }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px }
.foot-top p { color: var(--color-muted); max-width: 340px; margin-top: 18px; font-size: 15px }
.foot-top .foot-heading { font: 500 11.5px/1.4 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 16px }
.foot-top ul { list-style: none; display: grid; gap: 10px }
.foot-top li a, .foot-contact a { color: var(--color-text-soft); transition: color var(--dur-fast) }
.foot-top li a:hover, .foot-contact a:hover { color: var(--accent-ice) }
.foot-contact { display: grid; gap: 10px }
.statement { margin: 70px 0 34px; font: 600 var(--text-statement)/1 var(--font-display); letter-spacing: -.03em; text-wrap: balance }
.statement.fit { white-space: nowrap; text-wrap: nowrap }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--color-line) }
.foot-bottom nav { display: flex; gap: 22px; flex-wrap: wrap }
.foot-bottom a:hover { color: #fff }
.home .site-footer { padding-bottom: 110px }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr } }
@media (max-width: 520px) { .foot-top { grid-template-columns: 1fr } }

/* ---------- reveal + responsive + motion ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity var(--dur-slow) ease, transform var(--dur-slow) var(--ease) }
.rv.in { opacity: 1; transform: none }
.no-js .rv { opacity: 1; transform: none }
@media (max-width: 640px) {
  :root { --gutter: 18px; --section-pad: 84px; --header-h: 66px; --text-h1: clamp(28px, 8.2vw, 40px) }
  .hero h1 .ln, .hero h1 .ln > span { display: inline; overflow: visible }
  .hero h1 { animation: fade .9s both }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { animation: none !important; transition: none !important }
  .rv { opacity: 1; transform: none }
}

/* ---------- shared: notes, sample labels ---------- */
.note { margin-top: 22px; color: var(--color-dim) }
.sample-tag { display: inline-block; padding: 5px 8px; border-radius: 7px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; border: 1px dashed var(--accent-gold); color: var(--accent-gold) }
.sample-banner { display: table; margin: 18px 0 14px; padding: 9px 12px; border-radius: var(--radius-sm); border: 1px dashed var(--accent-gold); color: var(--accent-gold); font-size: 14px }
.features { list-style: none; display: grid; gap: 0; margin: 26px 0 30px; border-top: 1px solid var(--color-line) }
.features li { position: relative; padding: 15px 0 15px 30px; border-bottom: 1px solid var(--color-line); color: var(--color-text-soft) }
.features li::before { content: ""; position: absolute; left: 4px; top: 23px; width: 8px; height: 8px; border-radius: 2px; background: var(--c, var(--accent-ice)); box-shadow: 0 0 10px var(--c, var(--accent-ice)); transform: rotate(45deg) }

/* ---------- text split (About) ---------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start }
.points { list-style: none; display: grid; gap: 14px }
.point { border: 1px solid var(--color-line); border-radius: var(--radius-card); background: var(--color-panel); padding: 24px 26px }
.point h3 { font-size: 22px; margin: 10px 0 6px }
.point p { color: var(--color-muted) }
@media (max-width: 900px) { .split-grid { grid-template-columns: 1fr } }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px }
.member { border: 1px solid var(--color-line); border-radius: var(--radius-card); background: var(--color-panel); padding: 14px 14px 22px; transition: transform .4s var(--ease), border-color .3s }
.member:hover { transform: translateY(-4px); border-color: var(--color-line-2) }
.avatar { aspect-ratio: 1; border-radius: 14px; overflow: hidden; display: grid; place-items: center; margin-bottom: 16px; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 45%, #1a1d33), #0b0d18 70%) }
.avatar img { width: 100%; height: 100%; object-fit: cover }
.avatar span { font: 600 clamp(28px, 4vw, 44px)/1 var(--font-display); color: var(--c) }
.member .sample-tag { margin: 0 4px 10px }
.member h3 { font-size: 18px; margin: 0 4px 6px }
.member .role { margin: 0 4px; color: var(--c) }
.member .bio { color: var(--color-muted); font-size: 14.5px; margin: 10px 4px 0 }
.member-links { display: flex; gap: 14px; margin: 14px 4px 0; font: 500 12px var(--font-mono); letter-spacing: .1em; text-transform: uppercase }
.member-links a { color: var(--c) }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 360px) { .team-grid { grid-template-columns: 1fr } }

/* ---------- services detail ---------- */
.sd { padding-top: 40px }
.sd-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(30px, 6vw, 90px); align-items: start }
.sd-index { position: sticky; top: calc(var(--header-h) + 40px) }
.sd-index ol { list-style: none; display: grid; gap: 4px; border-left: 1px solid var(--color-line) }
.sd-index a { display: flex; gap: 12px; align-items: baseline; padding: 12px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--color-muted); font-weight: 500; transition: color var(--dur-fast), border-color var(--dur-fast), background var(--dur-fast) }
.sd-index a b { font: 500 11.5px/1 var(--font-mono); color: var(--color-dim) }
.sd-index a:hover { color: #fff }
.sd-index a.on { color: #fff; border-color: var(--c); background: linear-gradient(90deg, color-mix(in srgb, var(--c) 12%, transparent), transparent) }
.sd-index a.on b { color: var(--c) }
.pillar { position: relative; padding: 20px 0 110px }
.pillar:last-child { padding-bottom: 20px }
.pillar + .pillar { border-top: 1px solid var(--color-line); padding-top: 90px }
.pillar .mono b { color: var(--c) }
.pillar h2 { font-size: clamp(28px, 4vw, 52px); margin: 16px 0; max-width: 760px }
.pillar.featured h2 { font-size: clamp(32px, 4.8vw, 64px) }
.pillar .lead { color: var(--color-text-soft) }
.pillar-num { position: absolute; right: 0; top: 40px; z-index: -1; font: 700 clamp(120px, 18vw, 260px)/1 var(--font-display); color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--c) 30%, transparent); pointer-events: none; will-change: transform }
.pillar .features { max-width: 760px }
@media (max-width: 900px) { .sd-grid { grid-template-columns: 1fr } .sd-index { display: none } .pillar-num { font-size: 120px; top: 20px } }

/* ---------- portfolio ---------- */
.pf { padding-top: 30px }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--color-line-2); background: var(--color-panel); font: 500 14px/1 var(--font-body); color: var(--color-text-soft); transition: border-color .25s, background .25s, color .25s }
.chip span { font: 500 11px/1 var(--font-mono); color: var(--color-dim) }
.chip:hover { border-color: #fff; color: #fff }
.chip[aria-pressed="true"] { background: var(--color-button-bg); border-color: var(--color-button-bg); color: var(--color-button-text) }
.chip[aria-pressed="true"] span { color: var(--color-button-text) }
.m-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap }
.m-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px }
.m-head + .m-grid { margin-top: 40px }
.mis { border-radius: var(--radius-card); border: 1px solid var(--color-line); background: var(--color-panel); transition: transform .4s var(--ease), border-color .3s, background .3s, opacity .35s }
.mis.is-hidden { display: none }
.mis-link { display: flex; flex-direction: column; height: 100%; padding: 12px }
.mis:hover { transform: translateY(-6px); border-color: var(--color-line-2); background: var(--color-panel-2) }
.mis:hover::before, .mis:hover::after { width: 26px; height: 26px; opacity: 1 }
.mis .img { border-radius: 12px; overflow: hidden; aspect-ratio: 10/7 }
.mis img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.92); transition: transform .8s var(--ease), filter .4s }
.mis:hover img { transform: scale(1.06); filter: none }
.mis .meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 8px 6px }
.mis h3 { font: 600 16px/1.2 var(--font-display) }
.mis-sum { color: var(--color-muted); font-size: 14.5px; padding: 0 8px 8px }
.mis.span2 { grid-column: span 2 }
.mis.span2 .img { aspect-ratio: 20/9.4 }
@media (max-width: 900px) { .m-grid { grid-template-columns: 1fr 1fr } }
@media (max-width: 560px) { .m-grid { grid-template-columns: 1fr } .mis.span2 { grid-column: auto } .mis.span2 .img { aspect-ratio: 10/7 } }

/* ---------- client logos ---------- */
.logo-wall { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 40px }
.logo-tile { display: grid; place-items: center; padding: 22px 18px; border-radius: var(--radius); background: var(--logo-tile-bg); }
.logo-tile img { width: 100%; max-width: 170px; height: auto; filter: grayscale(1); opacity: .62; transition: filter .4s, opacity .4s }
.logo-tile:hover img { filter: none; opacity: 1 }
@media (hover: none) { .logo-tile img { opacity: .85 } }
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(3, 1fr) } }
@media (max-width: 480px) { .logo-wall { grid-template-columns: repeat(2, 1fr) } }

/* ---------- contact ---------- */
.enquiry { padding-top: 30px }
.channel { border-radius: var(--radius-xl); border: 1px solid var(--color-line-2); overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; background: var(--color-bg-card); position: relative; isolation: isolate }
.channel::before { content: ""; position: absolute; width: 700px; height: 700px; left: -260px; bottom: -420px; border-radius: 50%; background: radial-gradient(circle, var(--cta-glow), var(--cta-glow-2) 45%, transparent 70%); z-index: -1 }
.ch-l { padding: clamp(28px, 5vw, 60px) }
.ch-l h2 { font-size: clamp(26px, 3.4vw, 44px); margin: 16px 0 }
.ch-l p { color: var(--color-text-soft); max-width: 420px }
.lines { display: grid; gap: 14px; margin-top: 34px }
.lines a { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--color-line); font-weight: 500; transition: color .25s; overflow-wrap: anywhere }
.lines a:hover { color: var(--accent-ice) }
.channel form, .sent { padding: clamp(26px, 5vw, 56px); display: grid; gap: 16px; align-content: start; border-left: 1px solid var(--color-line); background: rgba(255,255,255,.02) }
.r2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
label.f { display: grid; gap: 8px }
.channel input, .channel textarea, .channel select { width: 100%; font: 500 15px var(--font-body); color: #fff; background: rgba(255,255,255,.04); border: 1px solid var(--color-line-2); border-radius: 12px; padding: 14px 15px; outline: none; transition: border-color .25s, box-shadow .25s }
.channel select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-muted) 50%), linear-gradient(135deg, var(--color-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat }
.channel select option { background: var(--color-bg-card); color: #fff }
.channel input:focus, .channel textarea:focus, .channel select:focus { border-color: var(--accent-ice); box-shadow: 0 0 0 4px rgba(139,233,255,.12) }
.channel [aria-invalid="true"] { border-color: var(--color-error) }
.channel textarea { min-height: 140px; resize: vertical }
.channel form .btn { justify-content: center }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.form-errors { border: 1px solid var(--color-error); color: var(--color-error); border-radius: 12px; padding: 14px 16px; font-size: 14.5px }
.form-errors ul { margin: 6px 0 0 18px }
.form-note { color: var(--color-dim); font-size: 13px }
.sent h3 { font-size: clamp(24px, 3vw, 36px) }
.sent p { color: var(--color-text-soft) }
.sent .btn { justify-self: start }
@media (max-width: 900px) { .channel { grid-template-columns: 1fr } .channel form, .sent { border-left: 0; border-top: 1px solid var(--color-line) } .r2 { grid-template-columns: 1fr } }

/* ---------- case study ---------- */
.case-head { padding-bottom: 50px }
.case-cover { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-line); aspect-ratio: 16/9 }
.case-cover img { width: 100%; height: 100%; object-fit: cover }
.case-body { display: grid; grid-template-columns: 260px 1fr; gap: clamp(30px, 6vw, 90px); padding-top: 70px; padding-bottom: 40px }
.case-facts { display: grid; gap: 22px; align-content: start; position: sticky; top: calc(var(--header-h) + 40px) }
.case-facts p { margin-top: 6px; font-weight: 500 }
.case-facts a { color: var(--accent-ice) }
.case-text section + section { margin-top: 50px }
.case-text h2 { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 14px }
.case-text p { color: var(--color-text-soft); font-size: 17px; max-width: 720px }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px }
.results div { border: 1px solid var(--color-line); border-radius: var(--radius); padding: 18px }
.results dd { font: 600 30px/1.1 var(--font-display); margin-top: 8px }
.case-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 30px }
.case-gallery img { border-radius: var(--radius-card); width: 100% }
.case-videos .video { aspect-ratio: 16/9; margin-top: 18px } .case-videos iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius-card) }
@media (max-width: 900px) { .case-body { grid-template-columns: 1fr } .case-facts { position: static; grid-template-columns: 1fr 1fr } .case-gallery { grid-template-columns: 1fr } }

/* ---------- legal pages ---------- */
.legal { padding-top: 20px }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(30px, 6vw, 90px); align-items: start }
.legal-aside { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 24px }
.legal-aside b { color: var(--color-text); font-weight: 500 }
.legal-aside ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--color-line); counter-reset: l }
.legal-aside a { display: block; padding: 7px 14px; font-size: 14px; color: var(--color-muted); transition: color var(--dur-fast) }
.legal-aside a:hover { color: #fff }
.legal-body { max-width: 760px }
.legal-body .sample-banner { margin-top: 0 }
.legal-body section + section { margin-top: 40px }
.legal-body h2 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 12px }
.legal-body p, .legal-body li { color: var(--color-text-soft) }
.legal-body p + p, .legal-body p + ul, .legal-body ul + p { margin-top: 12px }
.legal-body ul { margin-left: 20px; display: grid; gap: 8px }
.legal-body a { color: var(--accent-ice); text-decoration: underline; text-underline-offset: 3px }
@media (max-width: 900px) { .legal-grid { grid-template-columns: 1fr } .legal-aside { position: static } .legal-aside nav { display: none } }

/* ---------- floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--color-whatsapp); color: var(--on-whatsapp); box-shadow: var(--shadow-dock); transition: transform var(--dur-fast) }
.wa-float svg { width: 28px; height: 28px }
.wa-float:hover, .wa-float:focus-visible { transform: scale(1.06) }
@media (max-width: 700px) { body.home .wa-float { bottom: 84px } .wa-float { right: 16px; width: 50px; height: 50px } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none } }
