/* RADIANT landing page */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #070707;
    --bg-2: #0c0c0c;
    --surface: rgba(255, 255, 255, .035);
    --surface-2: rgba(255, 255, 255, .06);
    --line: rgba(255, 255, 255, .09);
    --text: #f6f3ef;
    --muted: #a6a29d;
    --primary: #ff6b35;
    --primary-2: #ffa149;
    --ember: #ffcf8a;
    --grad: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ffb45c 100%);
    --font-display: 'Inter Tight', 'Fira Sans', system-ui, sans-serif;
    --font-body: 'Fira Sans', system-ui, -apple-system, sans-serif;
    --radius: 24px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --header-h: 68px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

/* film grain */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: .06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--primary); color: #000; }
:focus-visible { outline: 2px solid var(--primary-2); outline-offset: 3px; border-radius: 6px; }

.sr-only, .hp {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--text); color: #000; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(880px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- type ---------- */
.display {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.8rem, 7.2vw, 5.8rem);
    line-height: .98;
    letter-spacing: -.032em;
    text-wrap: balance;
}
.display-sm { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.h2 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: -.024em;
    text-wrap: balance;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34em; text-wrap: pretty; }
.center .lead { margin-inline: auto; }
.kicker {
    font-size: .8rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
    color: var(--primary-2); margin-bottom: 14px;
}
.text-gradient {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- buttons ---------- */
.btn {
    --mx: 0px; --my: 0px;
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 26px;
    border: 0; border-radius: 999px;
    font: 500 1rem/1 var(--font-body);
    text-decoration: none; cursor: pointer; white-space: nowrap;
    overflow: hidden;
    transform: translate(var(--mx), var(--my));
    transition: transform .25s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}
.btn-primary { background: var(--grad); color: #140700; box-shadow: 0 8px 30px -8px rgba(255, 107, 53, .6), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { box-shadow: 0 14px 44px -10px rgba(255, 107, 53, .85), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary::after { /* sheen sweep */
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .8s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary .icon { transition: transform .3s var(--ease); }
.btn-primary:hover .icon { transform: translateX(3px); }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.btn[disabled] { opacity: .7; cursor: progress; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--text); text-decoration: none; font-weight: 500;
    border-bottom: 1px solid transparent; transition: border-color .3s, color .3s;
}
.link-arrow:hover { color: var(--primary-2); border-color: currentColor; }

/* ---------- header ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
    .scroll-progress { animation: progress linear both; animation-timeline: scroll(root); }
    @keyframes progress { to { transform: scaleX(1); } }
}

.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
    display: flex; align-items: center;
    border-bottom: 1px solid transparent;
    transition: background-color .35s, border-color .35s, backdrop-filter .35s;
}
.site-header.is-scrolled {
    background: rgba(7, 7, 7, .62);
    -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
    border-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-logo img { width: 128px; height: auto; }
.header-nav { display: flex; gap: 30px; font-size: .92rem; }
.header-nav a { text-decoration: none; color: var(--muted); transition: color .2s; }
.header-nav a:hover { color: var(--text); }
@media (max-width: 860px) { .header-nav { display: none; } }

/* ---------- hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex; align-items: center;
    padding: calc(var(--header-h) + 40px) 0 72px;
    overflow: hidden;
    isolation: isolate;
}
.hero-glow {
    position: absolute; z-index: -1; pointer-events: none;
    width: 1100px; height: 900px; right: -240px; top: 50%; translate: 0 -50%;
    background:
        radial-gradient(closest-side, rgba(255, 107, 53, .32), transparent 70%),
        radial-gradient(closest-side at 60% 60%, rgba(255, 180, 90, .14), transparent 70%);
    filter: blur(20px);
    animation: breathe 7s ease-in-out infinite alternate;
}
@keyframes breathe { from { opacity: .75; scale: .96; } to { opacity: 1; scale: 1.04; } }
.embers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy > * + * { margin-top: 24px; }
.hero-copy .display { margin-top: 20px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px 8px 12px; border-radius: 999px;
    background: rgba(255, 107, 53, .08); border: 1px solid rgba(255, 107, 53, .3);
    font-size: .82rem; font-weight: 500; letter-spacing: .04em; color: var(--ember);
}
.pulse-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { to { transform: scale(3); opacity: 0; } }

.hero-form { max-width: 520px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.social-proof { color: var(--muted); font-size: .95rem; }
.social-proof strong { color: var(--text); }

.hero-visual { position: relative; }
.hero-media {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 1024 / 488;
    box-shadow: 0 40px 120px -30px rgba(255, 107, 53, .45), 0 0 0 1px rgba(255,255,255,.06);
    -webkit-mask-image: radial-gradient(130% 130% at 50% 40%, #000 55%, transparent 100%);
            mask-image: radial-gradient(130% 130% at 50% 40%, #000 55%, transparent 100%);
}
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { /* warm grade so the daylight photo sits in the dark scene */
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(7,7,7,.0) 40%, rgba(7,7,7,.55)), linear-gradient(90deg, rgba(255,107,53,.12), transparent 60%);
    mix-blend-mode: multiply;
}
.chip {
    position: absolute; display: grid; gap: 2px;
    padding: 12px 16px; border-radius: 16px;
    background: rgba(14, 14, 14, .6); border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.8);
    animation: float 6s ease-in-out infinite;
}
.chip b { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.02em; line-height: 1; }
.chip span { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.chip-a { left: -18px; bottom: 14%; }
.chip-b { right: -10px; bottom: -18px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

@supports (animation-timeline: view()) {
    .hero-media img, .hero-media video { animation: hero-parallax linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
    @keyframes hero-parallax { to { transform: scale(1.12) translateY(6%); } }
}

@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 640px; }
    .hero { padding-top: calc(var(--header-h) + 24px); }
    .chip-a { left: 8px; bottom: -16px; } .chip-b { right: 8px; bottom: -16px; }
    .hero-visual { margin-bottom: 12px; }
    .chip { padding: 8px 12px; } .chip b { font-size: 1.1rem; }
}

/* ---------- signup ---------- */
.signup-row {
    display: flex; gap: 6px; padding: 6px;
    border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line);
    transition: border-color .3s, box-shadow .3s;
}
.signup-row:focus-within { border-color: rgba(255, 107, 53, .6); box-shadow: 0 0 0 4px rgba(255, 107, 53, .15); }
.signup-input {
    flex: 1; min-width: 0; padding: 0 18px;
    background: transparent; border: 0; outline: 0;
    font: 400 1rem var(--font-body); color: var(--text);
}
.signup-input::placeholder { color: #6f6b67; }
.signup-status { min-height: 1.5em; margin-top: 10px; font-size: .95rem; color: var(--ember); }
.signup-status.is-error { color: #ff8f8f; }
.signup-note { font-size: .82rem; color: var(--muted); }
.signup-note a { color: var(--muted); }
.signup-note strong { color: var(--text); font-weight: 500; }
.signup.is-done .signup-row { border-color: rgba(120, 220, 160, .5); }
.final-cta .signup { max-width: 520px; margin: 32px auto 22px; text-align: left; }
@media (max-width: 480px) {
    .signup-row { flex-direction: column; border-radius: 20px; }
    .signup-input { padding: 14px; }
}

/* ---------- countdown ---------- */
.countdown { display: flex; gap: 10px; }
.countdown div { display: grid; place-items: center; min-width: 58px; padding: 8px 6px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.countdown span { font: 800 1.3rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.countdown small { font-size: .66rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- press marquee ---------- */
.press { border-block: 1px solid var(--line); padding: 22px 0; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track a { font: 600 1.1rem var(--font-display); color: var(--muted); text-decoration: none; letter-spacing: -.01em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 24px; text-align: center; display: grid; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font: 800 clamp(2.2rem, 4.6vw, 3.6rem)/1 var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat > span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 760px; }
.narrow .section-head, .center .section-head { margin-inline: auto; text-align: center; }

/* video */
.video { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #111; box-shadow: 0 40px 100px -40px rgba(0,0,0,.9), 0 0 0 1px var(--line); }
.video iframe, .video-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { cursor: pointer; background: #000; padding: 0; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .4s, transform .8s var(--ease); }
.video-facade:hover img { opacity: 1; transform: scale(1.03); }
.play {
    position: absolute; left: 50%; top: 50%; translate: -50% -50%;
    width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
    background: var(--grad); color: #140700;
    box-shadow: 0 0 0 12px rgba(255, 107, 53, .18), 0 20px 50px -10px rgba(255, 107, 53, .7);
    transition: transform .3s var(--ease), box-shadow .3s;
}
.play svg { width: 30px; height: 30px; fill: currentColor; margin-left: 4px; }
.video-facade:hover .play { transform: scale(1.08); box-shadow: 0 0 0 18px rgba(255, 107, 53, .14), 0 20px 50px -10px rgba(255, 107, 53, .8); }
.video noscript .btn { position: absolute; left: 50%; bottom: 20px; translate: -50% 0; }

/* compare */
.compare { border-radius: var(--radius); border: 1px solid var(--line); overflow-x: auto; background: var(--surface); }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font: 600 .82rem var(--font-body); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.compare tbody th { font-weight: 500; color: var(--muted); width: 32%; }
.compare .col-radiant { background: rgba(255, 107, 53, .06); }
.compare thead .col-radiant { color: var(--primary-2); }
.yes, .no { display: inline-flex; gap: 10px; align-items: baseline; }
.yes::before, .no::before { flex: none; width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; translate: 0 2px; }
.yes::before { content: "✓"; background: rgba(255, 107, 53, .2); color: var(--primary-2); }
.no::before { content: "–"; background: var(--surface-2); color: var(--muted); }
.no { color: var(--muted); }

/* how it works */
.how-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.how-visual { position: sticky; top: calc(var(--header-h) + 40px); }
.diagram { width: 100%; height: auto; overflow: visible; }
.d-cooktop { fill: #1a1a1a; stroke: var(--line); }
.d-shell { fill: #121212; stroke: rgba(255,255,255,.28); stroke-width: 2; }
.d-insul { stroke: none; }
.d-emitter { fill: none; stroke: #3a3a3a; stroke-width: 6; stroke-dasharray: 2 8; stroke-linecap: round; transition: stroke .6s; }
.d-stone { fill: #8a7a68; transition: fill .6s, filter .6s; }
.d-pizza { fill: #e8a33d; }
.d-port { fill: #222; stroke: rgba(255,255,255,.3); }
.d-burner-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker .5s ease-in-out infinite alternate; }
@keyframes flicker { to { transform: scaleY(1.15) scaleX(.95); } }
.d-flow { fill: none; stroke: var(--primary); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 10 14; animation: flow 1.2s linear infinite; }
.d-flow-2 { stroke: var(--primary-2); }
@keyframes flow { to { stroke-dashoffset: -48; } }
.d-ray { fill: none; stroke: var(--ember); stroke-width: 2.5; stroke-dasharray: 6 8; stroke-linecap: round; animation: flow 1.6s linear infinite reverse; }
.d-label { font: 500 14px var(--font-body); fill: var(--muted); }
.d-label-hl { fill: var(--ember); }
.layer { opacity: .12; transition: opacity .6s var(--ease); }
.diagram[data-active="1"] .layer-1,
.diagram[data-active="2"] .layer-1, .diagram[data-active="2"] .layer-2,
.diagram[data-active="3"] .layer-1, .diagram[data-active="3"] .layer-2, .diagram[data-active="3"] .layer-3 { opacity: 1; }
.diagram[data-active="3"] .d-emitter { stroke: var(--primary); }
.diagram[data-active="3"] .d-stone { fill: #c4743b; filter: drop-shadow(0 0 12px rgba(255,107,53,.8)); }
.d-step-label { opacity: 0; transition: opacity .5s; font-size: 17px; }
.diagram[data-active="1"] .d-step-1, .diagram[data-active="2"] .d-step-2, .diagram[data-active="3"] .d-step-3 { opacity: 1; }
html:not(.js) .d-step-3, html:not(.js) .layer { opacity: 1; }

.how-steps { list-style: none; display: grid; gap: 18vh; padding-block: 8vh 12vh; }
.how-step { padding-left: 24px; border-left: 2px solid var(--line); opacity: .35; transition: opacity .5s, border-color .5s; }
.how-step.is-active { opacity: 1; border-color: var(--primary); }
.step-num { font: 800 .9rem var(--font-display); color: var(--primary-2); letter-spacing: .08em; }
.how-step h3 { font: 800 clamp(1.4rem, 2.4vw, 1.9rem)/1.15 var(--font-display); letter-spacing: -.018em; margin: 8px 0 12px; }
.how-step p { color: var(--muted); }
html:not(.js) .how-step { opacity: 1; }
@media (max-width: 860px) {
    .how-grid { grid-template-columns: 1fr; }
    .how-visual { top: var(--header-h); z-index: 2; background: linear-gradient(var(--bg) 85%, transparent); padding-bottom: 12px; }
    .how-steps { gap: 40vh; padding-block: 4vh 16vh; }
}

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
    --x: 50%; --y: 50%;
    position: relative; overflow: hidden;
    padding: clamp(26px, 3vw, 38px);
    border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--line);
    transition: border-color .4s, transform .5s var(--ease);
}
.card::before { /* cursor spotlight */
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
    background: radial-gradient(420px circle at var(--x) var(--y), rgba(255, 107, 53, .14), transparent 60%);
}
.card:hover { border-color: rgba(255, 107, 53, .35); }
.card:hover::before { opacity: 1; }
.card h3 { font: 800 1.35rem/1.2 var(--font-display); letter-spacing: -.012em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; margin-bottom: 22px; color: var(--primary-2); background: rgba(255, 107, 53, .1); border: 1px solid rgba(255, 107, 53, .2); }
.card-icon .icon { width: 24px; height: 24px; }
.card-xl { grid-column: span 4; background: radial-gradient(120% 120% at 100% 0%, rgba(255, 107, 53, .16), transparent 55%), var(--surface); }
.card-sm { grid-column: span 2; }
.card-md { grid-column: span 3; }
.card .card-big { font: 800 clamp(4.5rem, 11vw, 8.5rem)/.9 var(--font-display); letter-spacing: -.045em; margin-bottom: 18px; color: var(--text); }
.card-big small { font-size: .28em; letter-spacing: 0; color: var(--primary-2); margin-left: 6px; }
.ring { position: relative; width: 120px; height: 120px; margin-bottom: 22px; }
.ring svg { width: 100%; height: 100%; rotate: -90deg; }
.ring circle { fill: none; stroke-width: 8; }
.ring-track { stroke: var(--surface-2); }
.ring-fill { stroke: var(--primary); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease) .3s; }
.is-visible .ring-fill, html:not(.js) .ring-fill { stroke-dashoffset: 0; }
.ring > span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.ring b { display: block; font: 800 2rem/1 var(--font-display); color: var(--text); letter-spacing: -.03em; }
.lr { display: flex; align-items: center; gap: 10px; margin-top: 22px; font: 800 .85rem var(--font-display); color: var(--primary-2); }
.lr span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,107,53,.4); }
.lr i { flex: 1; height: 2px; background: linear-gradient(90deg, var(--primary), transparent 45%, transparent 55%, var(--primary)); background-size: 200% 100%; animation: lr 2.4s ease-in-out infinite alternate; }
@keyframes lr { to { background-position: 100% 0; } }
@media (max-width: 860px) { .card-xl, .card-sm, .card-md { grid-column: span 6; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.gallery figure { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

/* story */
.story { text-align: center; }
.story .h2 { margin-bottom: 32px; }
.story-body { display: grid; gap: 20px; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.story-body em { color: var(--text); font-style: normal; font-weight: 500; }
.founder { display: inline-flex; align-items: center; gap: 14px; margin-top: 36px; text-align: left; }
.founder img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.founder b { display: block; }
.founder span { font-size: .9rem; color: var(--muted); }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.quote blockquote { font-size: 1.12rem; line-height: 1.55; margin-bottom: 20px; }
.quote figcaption b { display: block; }
.quote figcaption span { font-size: .88rem; color: var(--muted); }

/* specs */
.specs-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.blueprint { width: 100%; height: auto; overflow: visible; }
.bp-line { fill: none; stroke: var(--text); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.bp-thin { stroke: var(--muted); stroke-width: 1.4; }
.js .bp-line { stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s var(--ease); }
.js .is-visible .bp-line, .js .blueprint.is-visible .bp-line { stroke-dashoffset: 0; }
.bp-dim path { fill: none; stroke: var(--primary); stroke-width: 1.4; }
.bp-dim text { font: 600 14px var(--font-body); fill: var(--primary-2); letter-spacing: .04em; }
.js .bp-dim { opacity: 0; transition: opacity .8s 1.4s; }
.js .blueprint.is-visible .bp-dim { opacity: 1; }
.specs { display: grid; }
.specs div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.specs div:first-child { border-top: 1px solid var(--line); }
.specs dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--primary-2); padding-top: 3px; }
.specs dd { color: var(--text); }
@media (max-width: 860px) { .specs-grid { grid-template-columns: 1fr; } .specs div { grid-template-columns: 1fr; gap: 4px; } }

/* timeline */
.timeline { list-style: none; position: relative; display: grid; gap: 30px; max-width: 620px; margin-inline: auto; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--primary) 0 50%, var(--line) 50% 100%); }
.timeline li { position: relative; }
.timeline li::before {
    content: ""; position: absolute; left: -40px; top: 2px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--bg); border: 2px solid var(--line);
}
.timeline li.done::before { background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23140700' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--primary); }
.timeline li.current::before { border-color: var(--primary); box-shadow: 0 0 0 6px rgba(255, 107, 53, .18); animation: current 2s ease-in-out infinite; }
@keyframes current { 50% { box-shadow: 0 0 0 10px rgba(255, 107, 53, .05); } }
.timeline b { display: block; font: 800 1.15rem var(--font-display); letter-spacing: -.01em; }
.timeline li.current b::after { content: "In progress"; margin-left: 10px; padding: 3px 9px; border-radius: 999px; font: 500 .7rem var(--font-body); text-transform: uppercase; letter-spacing: .1em; vertical-align: middle; color: var(--ember); background: rgba(255, 107, 53, .12); border: 1px solid rgba(255, 107, 53, .3); }
.timeline span { color: var(--muted); font-size: .96rem; }

/* faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    padding: 24px 0; cursor: pointer; list-style: none;
    font: 600 clamp(1.05rem, 1.8vw, 1.25rem) var(--font-display); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; flex: none; width: 14px; height: 14px;
    background: linear-gradient(var(--primary-2), var(--primary-2)) center / 100% 2px no-repeat, linear-gradient(var(--primary-2), var(--primary-2)) center / 2px 100% no-repeat;
    transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { color: var(--muted); padding: 0 40px 24px 0; max-width: 62ch; }
.faq details p a { color: var(--primary-2); }
@supports (interpolate-size: allow-keywords) {
    .faq { interpolate-size: allow-keywords; }
    .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
    .faq details[open]::details-content { block-size: auto; }
}

/* final cta */
.final-cta { overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.final-cta .hero-glow { right: 50%; translate: 50% -50%; width: 900px; height: 700px; }
.final-cta .lead { margin-top: 20px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 calc(40px + env(safe-area-inset-bottom)); background: var(--bg-2); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; }
.footer-brand img { width: 120px; height: auto; margin-bottom: 10px; }
.footer-brand p, .footer-copy { color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; font-size: .95rem; }
.footer-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; } }

/* privacy page */
.prose-page { padding-top: calc(var(--header-h) + 80px); min-height: 70vh; }
.prose > * + * { margin-top: 18px; }
.prose p { color: var(--muted); font-size: 1.08rem; }
.prose p a { color: var(--primary-2); }

/* contact form */
.contact-form { margin-top: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .9rem; font-weight: 500; color: var(--text); margin-bottom: 8px; }
.form-group input,
.form-group textarea {
    width: 100%; padding: 14px 18px;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px;
    font: 400 1rem var(--font-body); color: var(--text);
    transition: border-color .3s, box-shadow .3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #6f6b67; }
.form-group input:focus,
.form-group textarea:focus {
    outline: 0;
    border-color: rgba(255, 107, 53, .6);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, .15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-status { min-height: 1.5em; margin-top: 14px; font-size: .95rem; color: var(--ember); }
.form-status.is-error { color: #ff8f8f; }

/* ---------- reveal (only when JS is running, so no-JS users see everything) ---------- */
.js [data-reveal] {
    opacity: 0; translate: 0 28px; filter: blur(6px);
    transition: opacity .9s var(--ease), translate .9s var(--ease), filter .9s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-visible { opacity: 1; translate: 0 0; filter: none; }
.js [data-split] .w { display: inline-block; opacity: 0; translate: 0 .5em; filter: blur(8px); transition: opacity .8s var(--ease), translate .8s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
.js .text-gradient .w { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js [data-split].is-split .w { opacity: 1; translate: 0 0; filter: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .js [data-reveal], .js [data-split] .w { opacity: 1; translate: none; filter: none; }
    .embers { display: none; }
}

@media (max-width: 960px) { .hero .display .text-gradient { display: block; } }

/* header actions */
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 107, 53, .45); }
.icon-sm { width: 16px; height: 16px; }
@media (max-width: 560px) {
    .ks-long { display: none; }
    .header-actions { gap: 8px; }
    .header-actions .btn-sm { padding: 10px 14px; font-size: .86rem; }
    .header-actions .icon-sm { display: none; }
    .header-logo img { width: 104px; }
}

/* gallery (bento) */
.gallery { grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(150px, 16vw, 220px); gap: 14px; }
.gallery figure { position: relative; aspect-ratio: auto; border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.g0 { grid-column: span 7; grid-row: span 2; }
.g1 { grid-column: span 5; grid-row: span 2; }
.g2 { grid-column: span 4; grid-row: span 2; }
.g3 { grid-column: span 8; grid-row: span 2; }
.g4, .g5 { grid-column: span 6; grid-row: span 2; }
.g2 img { object-position: 20% 50%; }
.g-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery figcaption {
    position: absolute; left: 14px; bottom: 14px; z-index: 1; pointer-events: none;
    padding: 7px 12px; border-radius: 999px; font-size: .82rem;
    background: rgba(10, 10, 10, .55); border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    opacity: .92; transition: opacity .3s, translate .3s var(--ease);
}
.gallery figure:hover figcaption { translate: 0 -3px; opacity: 1; }
.gallery figure::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 55%, rgba(0,0,0,.45)); }
@media (max-width: 760px) {
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 10px; }
    .g0, .g3 { grid-column: span 2; grid-row: span 1; }
    .g1, .g2, .g4, .g5 { grid-column: span 1; grid-row: span 1; }
    .gallery figcaption { font-size: .74rem; left: 10px; bottom: 10px; }
}

/* lightbox */
.lightbox { margin: auto; padding: 0; border: 0; background: transparent; max-width: min(92vw, 1400px); max-height: 90vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, .85); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox img { max-width: min(92vw, 1400px); max-height: 88vh; width: auto; height: auto; border-radius: 16px; }
.lightbox-close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox[open] { animation: lb-in .35s var(--ease); }
@keyframes lb-in { from { opacity: 0; scale: .96; } }
