/* YTC-Savio — website styles
   Fonts are self-hosted (DSGVO: no requests to Google). */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --bg: #F6F7F4;
  --surface: #FFFFFF;
  --surface-2: #EEF1EF;
  --ink: #131A19;
  --ink-2: #3D4846;
  --muted: #5E6A68;
  --line: #DDE3E1;
  --line-strong: #C9D0CE;
  --brand: #0F3B3A;          /* pine — logo, links, eyebrow */
  --brand-text: #1F6764;
  --brand-soft: #DCEDEB;
  --brand-tint: #EEF6F5;
  --primary: #0F3B3A;        /* primary buttons */
  --primary-hover: #0B2B2A;
  --on-primary: #FFFFFF;
  --accent: #E8A33D;         /* sun — one money action per screen */
  --accent-hover: #D48D24;
  --on-accent: #131A19;
  --deep: #0F3B3A;           /* dark feature panels */
  --deep-line: #17504E;
  --on-deep: #F6F7F4;
  --on-deep-2: #DCEDEB;
  --on-deep-muted: #A9CFCB;
  --footer: #0B2B2A;
  --ok: #17672F;
  --focus: #1F6764;
  --shadow-md: 0 6px 16px rgba(11, 43, 42, .10);
  --shadow-lg: 0 24px 60px rgba(11, 43, 42, .22);
  --radius: 10px;
  --wrap: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1514;
    --surface: #111E1D;
    --surface-2: #172726;
    --ink: #E7EDEB;
    --ink-2: #C3CECC;
    --muted: #97A7A4;
    --line: #223533;
    --line-strong: #31504C;
    --brand: #F6F7F4;
    --brand-text: #8CC0BC;
    --brand-soft: #173B39;
    --brand-tint: #132B2A;
    --primary: #A9D4CF;
    --primary-hover: #C3E3DF;
    --on-primary: #0B2B2A;
    --deep: #0F3B3A;
    --deep-line: #1E5552;
    --footer: #070F0E;
    --ok: #6FCB8A;
    --focus: #8CC0BC;
    --shadow-md: 0 6px 16px rgba(0, 0, 0, .35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .55);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-text); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.eyebrow { font: 500 12px/1.4 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--brand-text); }
.h2 { font: 600 clamp(28px, 3.4vw, 40px)/1.1 var(--font-display); letter-spacing: -.03em; }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--radius); border: 1px solid transparent; font: 600 15px/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--muted); color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; font-weight: 500; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Floating pill header + menu card ---------- */
@view-transition { navigation: auto; }
.site-header { position: fixed; top: 24px; left: max(24px, calc((100vw - 1440px) / 2 + 24px)); z-index: 60; width: min(480px, calc(100vw - 48px)); view-transition-name: site-header; }
.pill-bar { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 8px 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(7, 18, 17, .14); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--brand); flex: none; margin-right: auto; }
.brand svg { width: 30px; height: 30px; }
.brand-text { display: flex; flex-direction: column; }
.brand-ytc { font: 500 8px/9px var(--font-mono); letter-spacing: .3em; color: var(--brand-text); }
.brand-name { font: 600 22px/22px var(--font-display); letter-spacing: -.03em; }
.mark-house { fill: var(--brand); }
.mark-sun { fill: var(--accent); }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.lang-switch button { border: 0; background: transparent; color: var(--muted); font: 600 12px/1 var(--font-body); min-width: 34px; height: 28px; border-radius: 999px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.pill-cta { min-height: 38px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.menu-btn { width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.menu-btn:hover { background: var(--surface-2); }
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-close { display: block; }
.menu-open .menu-btn .i-menu { display: none; }

.menu-card { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 24px; display: flex; flex-direction: column; gap: 20px; clip-path: inset(0 0 100% 0 round 16px); visibility: hidden; transition: clip-path .45s cubic-bezier(.7, 0, .2, 1), visibility 0s .45s; max-height: calc(100vh - 110px); overflow: auto; }
.menu-open .menu-card { clip-path: inset(0 0 0 0 round 16px); visibility: visible; transition: clip-path .5s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.menu-label { font: 500 11px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.menu-cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: end; }
.menu-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.menu-links a { display: inline-block; font: 600 22px/1.35 var(--font-display); letter-spacing: -.02em; color: var(--ink); text-decoration: none; transition: color .2s, transform .25s; }
.menu-links a:hover { color: var(--brand-text); transform: translateX(4px); }
.menu-open .menu-links li { animation: fadeUp .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 45ms + 120ms); }
.menu-contact { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.menu-contact a { color: var(--ink); text-decoration: none; font-weight: 500; }
.menu-contact a:hover { color: var(--brand-text); }
.menu-contact small { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 6px; }
.menu-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 13px; }
.menu-foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.menu-foot nav a { color: var(--muted); text-decoration: none; }
.menu-foot nav a:hover { color: var(--ink); }
.menu-cta { width: 100%; }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(7, 18, 17, .18); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); opacity: 0; visibility: hidden; transition: opacity .4s, backdrop-filter .4s, visibility 0s .4s; }
.menu-open .scrim { opacity: 1; visibility: visible; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: opacity .4s, backdrop-filter .4s, visibility 0s; }
@media (max-width: 520px) {
  .site-header { top: 12px; left: 12px; width: calc(100vw - 24px); }
  .pill-bar .lang-switch { display: none; }
  .menu-cols { grid-template-columns: 1fr; }
}
@media (min-width: 521px) { .menu-card .lang-switch { display: none; } }

/* ---------- Hero frame ---------- */
.hero { padding: 12px; background: var(--bg); }
.hero-frame { position: relative; min-height: clamp(640px, 94vh, 940px); border-radius: 28px; overflow: hidden; color: #FFFFFF; display: flex; flex-direction: column; isolation: isolate; background: #0B2B2A; }
.hero-bg { position: absolute; inset: 0; z-index: -3; background-image: radial-gradient(110% 85% at 0% 0%, rgba(232, 163, 61, .62) 0%, rgba(232, 163, 61, 0) 55%), radial-gradient(70% 60% at 100% 10%, rgba(140, 192, 188, .30), rgba(140, 192, 188, 0) 65%), linear-gradient(165deg, #23706B 0%, #0F3B3A 48%, #0A2524 100%); background-size: cover; background-position: center; transform: scale(1.08); animation: kenburns 22s cubic-bezier(.2, .6, .2, 1) forwards; }
.has-photo .hero-bg { background-image: linear-gradient(90deg, rgba(8, 26, 25, .72) 0%, rgba(8, 26, 25, .25) 55%, rgba(8, 26, 25, 0) 100%), url("../img/hero.jpg"); }
.hero-art { position: absolute; z-index: -2; right: -4%; bottom: 6%; width: min(62vw, 760px); height: auto; opacity: .9; }
.has-photo .hero-art { display: none; }
.hero-art .ln { fill: none; stroke: rgba(246, 247, 244, .22); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: drawLine 3.2s cubic-bezier(.4, 0, .2, 1) forwards; animation-delay: calc(var(--i, 0) * 180ms + 300ms); }
.hero-art .ln.strong { stroke: rgba(246, 247, 244, .5); stroke-width: 1.6; }
.hero-art .sunball { fill: #E8A33D; transform-box: fill-box; transform-origin: center; opacity: 0; animation: sunRise 1.6s cubic-bezier(.2, .8, .2, 1) 2.2s forwards, glow 3.2s ease-in-out 3.8s infinite; }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(246, 247, 244, 0) 0%, rgba(246, 247, 244, .0) 35%, color-mix(in srgb, var(--bg) 70%, transparent) 100%); }
.hero-inner { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: center; padding: clamp(100px, 14vh, 128px) 48px 16px; }
.hero-copy { display: flex; flex-direction: column; gap: clamp(14px, 2.4vh, 22px); max-width: 640px; }
.hero-eyebrow { align-self: flex-start; max-width: 100%; font: 500 11px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; padding: 7px 10px; border-radius: 6px; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .88); backdrop-filter: blur(6px); }
.hero h1 { font: 600 clamp(34px, min(5vw, 7vh), 64px)/1.03 var(--font-display); letter-spacing: -.035em; text-shadow: 0 2px 30px rgba(0, 0, 0, .18); }
.hero h1 .word { display: inline-block; }
.hero h1 .hl { color: #F2B64F; }
.hero .lead { color: rgba(255, 255, 255, .86); max-width: 520px; font-size: 18px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-light { background: #FFFFFF; color: #0F3B3A; border-radius: 999px; padding: 0 8px 0 20px; gap: 12px; }
.btn-light:hover { color: #0F3B3A; background: #F6F7F4; }
.btn-light .circle { width: 34px; height: 34px; border-radius: 50%; background: #0F3B3A; color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; transition: transform .3s; }
.btn-light:hover .circle { transform: rotate(-45deg); }
.btn-light .circle svg { width: 16px; height: 16px; }
.btn-ghost-light { color: #FFFFFF; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { color: #FFFFFF; border-color: #FFFFFF; background: rgba(255, 255, 255, .12); }

/* fan-out card stack */
.fan { position: relative; height: 112px; align-self: center; outline: none; }
.fan-card { position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .96); color: #131A19; box-shadow: 0 12px 30px rgba(0, 0, 0, .22); text-decoration: none; transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .4s, box-shadow .3s; transform: translateY(calc(var(--i) * 7px)) scale(calc(1 - var(--i) * .04)); z-index: calc(10 - var(--i)); }
.fan-card:nth-child(n+2) { opacity: .9; }
.fan:hover .fan-card, .fan:focus-within .fan-card { transform: translateY(calc(var(--i) * 118px - 118px)); opacity: 1; }
.fan-card:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, .3); color: #131A19; }
.fan-thumb { width: 64px; height: 64px; border-radius: 8px; background: linear-gradient(150deg, #1F6764, #0F3B3A); display: flex; align-items: center; justify-content: center; color: #F6F7F4; }
.fan-thumb svg { width: 28px; height: 28px; }
.fan-card .t { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 14px; line-height: 1.3; }
.fan-card .t i { font: 500 11px/1.3 var(--font-mono); font-style: normal; color: #5E6A68; }
.fan-card p { font-size: 12px; line-height: 1.45; color: #3D4846; margin-top: 4px; }
.fan-hint { position: absolute; left: 0; right: 0; top: calc(100% + 22px); font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); text-align: center; transition: opacity .3s; }
.fan:hover .fan-hint, .fan:focus-within .fan-hint { opacity: 0; }

.hero-word { position: relative; z-index: 2; margin: 0; padding: 0 28px; font: 700 clamp(96px, min(22vw, 30vh), 360px)/.78 var(--font-display); letter-spacing: -.055em; color: rgba(255, 255, 255, .94); white-space: nowrap; overflow: hidden; padding-bottom: .06em; margin-bottom: -.04em; view-transition-name: hero-word; user-select: none; }
.hero-word span { display: inline-block; }

/* hero motion */
@keyframes kenburns { to { transform: scale(1); } }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes sunRise { from { opacity: 0; transform: translateY(40px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(232, 163, 61, 0)); } 50% { filter: drop-shadow(0 0 18px rgba(232, 163, 61, .85)); } }
.js .hero h1 .word, .js .hero-word span { opacity: 0; transform: translateY(.5em); }
.js.ready .hero h1 .word { animation: wordUp .8s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i) * 60ms + 150ms); }
.js.ready .hero-word span { animation: wordUp 1.1s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 70ms + 450ms); }
.js .hero-copy > :not(h1), .js .fan { opacity: 0; transform: translateY(14px); }
.js.ready .hero-copy > :not(h1) { animation: fadeUp .8s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--d, 0) * 1ms + 650ms); }
.js.ready .fan { animation: fadeUp .9s cubic-bezier(.2, .7, .2, 1) 1.1s forwards; }
.js .site-header { opacity: 0; transform: translateY(-12px); }
.js.ready .site-header { animation: fadeUp .7s cubic-bezier(.2, .7, .2, 1) .05s forwards; }

/* sub-page hero (legal pages) */
.hero-frame.sub { min-height: clamp(420px, 58vh, 560px); }
.hero-frame.sub .hero-inner { grid-template-columns: minmax(0, 1fr); padding-top: 140px; }
.hero-frame.sub .hero-word { font-size: clamp(64px, 13.5vw, 210px); }

/* ---------- Facts band ---------- */
.facts-band { padding: 40px 0 8px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fact { padding: 4px 0 0 16px; border-left: 2px solid var(--line); }
.fact b { display: block; font: 600 clamp(28px, 3vw, 36px)/1.15 var(--font-display); color: var(--brand); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fact > span { font-size: 14px; line-height: 1.4; color: var(--muted); }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } }

/* ---------- Roadmap section ---------- */
.roadmap-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.roadmap-copy { display: flex; flex-direction: column; gap: 16px; }
.roadmap { position: relative; background: var(--deep); color: var(--on-deep); border-radius: 24px; padding: 28px; overflow: hidden; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-lg); isolation: isolate; }
.roadmap-ghost { position: absolute; right: -70px; top: -50px; width: 340px; height: 340px; opacity: .07; z-index: -1; animation: drift 14s ease-in-out infinite alternate; }
.roadmap-ghost path { fill: #F6F7F4; }
.roadmap-head { display: flex; justify-content: space-between; align-items: center; }
.roadmap-head span:first-child { font: 500 11px/1.4 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--on-deep-muted); }
.sun { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); animation: sunPulse 2.6s ease-out infinite; }
.readout { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 48px; }
.readout-label { font-size: 14px; color: var(--on-deep-muted); }
.readout-value { font: 500 15px/1 var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.readout-value b { font: 600 32px/1 var(--font-display); letter-spacing: -.02em; margin-right: 4px; }
.bars { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: end; height: 200px; }
.bar-col { display: flex; flex-direction: column; gap: 8px; align-items: stretch; height: 100%; justify-content: flex-end; }
.badge { align-self: flex-start; font: 700 13px/1 var(--font-body); padding: 4px 8px; border-radius: 4px; transform: scale(0); transform-origin: bottom left; transition: transform .3s; }
.bar { height: var(--h); border-radius: 8px 8px 0 0; background: var(--bar); transform: scaleY(0); transform-origin: bottom; transition: box-shadow .3s; }
.bar-col.active .bar { box-shadow: 0 0 0 2px var(--on-deep), 0 0 24px rgba(232, 163, 61, .45); }
.bar-col.active .badge { transform: scale(1.15) !important; }
.bar-labels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; font-size: 12px; line-height: 1.3; color: var(--on-deep-muted); hyphens: auto; }
.bar-labels span { transition: color .3s; }
.bar-labels span.active { color: var(--on-deep); font-weight: 600; }
.roadmap hr { border: 0; height: 1px; background: var(--deep-line); margin: 0; }
.roadmap p { font-size: 14px; line-height: 1.6; color: var(--on-deep-2); }
.roadmap.in .bar { animation: grow .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 160ms + 200ms); }
.roadmap.in .badge { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1) forwards; animation-delay: calc(var(--i) * 160ms + 750ms); }
.no-js .bar, .no-js .badge { transform: none; }
@media (max-width: 900px) { .roadmap-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .roadmap { padding: 20px; border-radius: 18px; } .bars { height: 160px; gap: 6px; } .bar-labels { gap: 6px; font-size: 11px; } .readout-value b { font-size: 26px; } }

@keyframes wordUp { to { opacity: 1; transform: none; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes grow { to { transform: scaleY(1); } }
@keyframes pop { to { transform: scale(1); } }
@keyframes sunPulse { 0% { box-shadow: 0 0 0 0 rgba(232, 163, 61, .55); } 70% { box-shadow: 0 0 0 14px rgba(232, 163, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 163, 61, 0); } }
@keyframes drift { from { transform: translate(0, 0) rotate(0); } to { transform: translate(-18px, 14px) rotate(-4deg); } }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.trust .wrap { display: flex; flex-wrap: wrap; gap: 12px 40px; padding-top: 18px; padding-bottom: 18px; font-size: 14px; color: var(--ink-2); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 40px; }
.section-head > div { display: flex; flex-direction: column; gap: 10px; max-width: 660px; }
.section-head > p { max-width: 400px; color: var(--muted); }

/* staircase */
.stairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; }
.step { min-height: calc(200px + var(--i) * 32px); background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.step .num { font: 500 12px/1 var(--font-mono); color: var(--muted); }
.step h3 { font: 600 20px/1.2 var(--font-display); letter-spacing: -.01em; }
.step p { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.chip { margin-top: auto; align-self: flex-start; font-size: 12px; font-weight: 500; line-height: 16px; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-text); }
.step.last { background: var(--deep); border-color: var(--deep); color: var(--on-deep); }
.step.last .num { color: var(--on-deep-muted); }
.step.last p { color: var(--on-deep-2); }
.step.last .chip { background: var(--accent); color: var(--on-accent); }
@media (max-width: 1000px) { .stairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step { min-height: 0; } }
@media (max-width: 560px) { .stairs { grid-template-columns: 1fr; } }

/* calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.calc-controls { display: flex; flex-direction: column; gap: 24px; }
.calc fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.calc legend { font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 0 0 8px; }
.segmented { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 12px; }
.segmented button { min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 600 14px/1.2 var(--font-body); cursor: pointer; transition: background-color .2s, color .2s; }
.segmented button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.14); }
.measure { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.measure:has(input:checked) { border-color: var(--brand-text); background: var(--brand-tint); }
.measure input { width: 18px; height: 18px; accent-color: var(--brand-text); margin: 0; flex: none; }
.measure .txt { flex: 1; display: flex; flex-direction: column; }
.measure .txt b { font-size: 14px; font-weight: 600; line-height: 1.4; }
.measure .txt small { font-size: 12px; line-height: 1.35; color: var(--muted); }
.measure .rate { font: 500 12px/1 var(--font-mono); color: var(--brand-text); white-space: nowrap; }
.result { position: sticky; top: 96px; background: var(--deep); color: var(--on-deep); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.result .upto { font-size: 14px; color: var(--on-deep-muted); }
.result .total { font: 600 clamp(44px, 6vw, 64px)/1 var(--font-display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.result ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--deep-line); }
.result li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--deep-line); font-size: 14px; animation: fadeUp .35s ease forwards; opacity: 0; transform: translateY(4px); }
.result li small { display: block; font-size: 12px; line-height: 1.4; color: var(--on-deep-muted); }
.result li b { font: 500 14px/1.4 var(--font-mono); white-space: nowrap; }
.result .note { font-size: 12px; line-height: 1.5; color: var(--on-deep-muted); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .result { position: static; } }

/* reasons */
.reasons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.reason { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: transform .3s, box-shadow .3s; }
.reason:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.reason .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-text); display: flex; align-items: center; justify-content: center; }
.reason .ico svg { width: 22px; height: 22px; }
.reason h3 { font-size: 17px; font-weight: 600; line-height: 1.4; }
.reason p { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
@media (max-width: 1000px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .reasons { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.direct { display: grid; gap: 10px; }
.direct a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.direct a:hover { border-color: var(--brand-text); transform: translateX(3px); }
.direct .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-text); display: flex; align-items: center; justify-content: center; flex: none; }
.direct .ico svg { width: 20px; height: 20px; }
.direct small { display: block; font-size: 12px; color: var(--muted); }
.direct b { font-weight: 600; font-size: 15px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full, .form .full { grid-column: 1 / -1; }
.field label, .form legend { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.form legend { padding: 0 0 8px; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field input, .field select, .field textarea { min-height: 46px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 10px 12px; font: 400 16px/1.4 var(--font-body); color: var(--ink); background: var(--surface); width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px var(--brand-soft); }
.field input:user-invalid { border-color: #B3261E; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: 14px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.tag:has(input:checked) { border-color: var(--brand-text); background: var(--brand-tint); }
.tag input { accent-color: var(--brand-text); margin: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.consent input { accent-color: var(--brand-text); margin: 3px 0 0; flex: none; width: 16px; height: 16px; }
.send-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form-hint { font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; padding: 18px; } .send-row { grid-template-columns: 1fr; } }

/* dialog */
dialog.chooser { border: 0; padding: 0; border-radius: 20px; width: min(440px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
dialog.chooser::backdrop { background: rgba(7, 18, 17, .55); backdrop-filter: blur(3px); }
dialog.chooser[open] { animation: dialogIn .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.chooser-inner { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.chooser-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.chooser h2 { font: 600 24px/1.2 var(--font-display); letter-spacing: -.02em; }
.close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.close svg { width: 18px; height: 18px; }
.option { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: var(--surface); transition: border-color .2s, background-color .2s, transform .2s; }
.option:hover { border-color: var(--brand-text); background: var(--brand-tint); color: var(--ink); transform: translateY(-2px); }
.option .ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.option .ico svg { width: 22px; height: 22px; }
.option.wa .ico { background: #DDF5E4; color: #146C33; }
.option.mail .ico { background: var(--brand-soft); color: var(--brand-text); }
.option b { display: block; font-size: 16px; }
.option small { font-size: 13px; color: var(--muted); }
.option .go { margin-left: auto; width: 18px; height: 18px; color: var(--muted); flex: none; }
@media (prefers-color-scheme: dark) { .option.wa .ico { background: #14361F; color: #7FDB9B; } }

/* footer */
.site-footer { background: var(--footer); color: #C3DCD9; font-size: 14px; line-height: 1.7; }
.site-footer a { color: #C3DCD9; text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer-grid strong { display: block; color: #F6F7F4; font-weight: 600; margin-bottom: 8px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.site-footer .brand { color: #F6F7F4; margin-bottom: 12px; }
.site-footer .mark-house { fill: #F6F7F4; }
.site-footer .brand-ytc { color: #A9CFCB; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid #17504E; padding-top: 20px; padding-bottom: 28px; font-size: 13px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* hero responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 120px 24px 24px; gap: 28px; }
  .fan { height: auto; display: grid; gap: 8px; }
  .fan-card, .fan:hover .fan-card, .fan:focus-within .fan-card { position: static; transform: none; opacity: 1; }
  .fan-hint { display: none; }
  .section { padding: 72px 0; }
}
@media (max-width: 520px) {
  .hero { padding: 8px; }
  .hero-frame { border-radius: 20px; min-height: 0; }
  .hero-inner { padding: 104px 18px 16px; }
  .hero-eyebrow { letter-spacing: .08em; line-height: 1.5; }
  .hero-word { padding: 0 14px; font-size: 27vw; }
  .hero-frame.sub .hero-word { font-size: 14.5vw; padding: 0 12px; }
  .cta-row .btn { flex: 1 1 100%; justify-content: space-between; }
  .btn-ghost-light { justify-content: center !important; }
  .wrap { padding: 0 16px; }
  .fan-card { grid-template-columns: 48px minmax(0, 1fr); }
  .fan-thumb { width: 48px; height: 48px; }
}

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .stairs .step.reveal { transform: translateY(48px); }
.js .stairs .step.reveal.in { transform: none; }

/* ---------- Legal pages ---------- */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font: 600 clamp(32px, 4.4vw, 48px)/1.1 var(--font-display); letter-spacing: -.03em; margin-bottom: 8px; }
.legal h2 { font: 600 22px/1.3 var(--font-display); letter-spacing: -.01em; margin: 40px 0 12px; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal address { font-style: normal; color: var(--ink-2); }
.legal .stand { font-size: 14px; color: var(--muted); }
.legal .box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin-top: 16px; }
.legal .todo { background: #FBEBD0; color: #5C3A08; padding: 1px 6px; border-radius: 4px; font-weight: 500; }
.legal table { border-collapse: collapse; width: 100%; font-size: 14px; margin-top: 12px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 600; color: var(--ink); }
.legal .table-wrap { overflow-x: auto; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.legal-nav a { font-size: 14px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-2); background: var(--surface); }
.legal-nav a[aria-current="page"] { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }

/* language visibility for legal texts */
html[lang="en"] [data-only="de"], html[lang="de"] [data-only="en"] { display: none !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .hero h1 .word, .js .hero-copy > *, .js .hero-word span, .js .fan, .js .site-header, .js .reveal { opacity: 1 !important; transform: none !important; }
  .hero-bg { transform: none !important; }
  .hero-art .ln { stroke-dashoffset: 0 !important; }
  .hero-art .sunball { opacity: 1 !important; }
  .bar, .badge { transform: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .lang-switch, .menu-btn, dialog { display: none !important; }
  body { background: #fff; color: #000; }
}

/* =====================================================================
   v2 additions — YTC over Savio, dena badge, scroll motion, calc CTA,
   contact stepper
   ===================================================================== */

/* YTC above the giant wordmark */
.hero-word-wrap { position: relative; z-index: 2; display: flex; flex-direction: column; view-transition-name: hero-word; }
.hero-word-wrap .hero-word { view-transition-name: none; }
.hero-ytc { display: flex; align-items: center; gap: .5em; padding: 0 calc(28px + .9vw); margin-bottom: clamp(4px, .6vw, 10px); font: 500 clamp(16px, 2.4vw, 36px)/1 var(--font-mono); letter-spacing: .55em; color: rgba(255, 255, 255, .9); user-select: none; }
.hero-ytc span { display: inline-block; }
.hero-ytc::after { content: ""; display: block; height: 2px; width: clamp(40px, 6vw, 96px); background: var(--accent); transform-origin: left; }
.js .hero-ytc span { opacity: 0; transform: translateY(-.7em); filter: blur(6px); }
.js .hero-ytc::after { transform: scaleX(0); }
.js.ready .hero-ytc span { animation: ytcIn .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 110ms + 300ms); }
.js.ready .hero-ytc::after { animation: ruleIn .9s cubic-bezier(.2, .8, .2, 1) .8s forwards; }
@keyframes ytcIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes ruleIn { to { transform: scaleX(1); } }
@media (max-width: 520px) { .hero-ytc { padding: 0 16px; letter-spacing: .45em; } }

/* dena badge */
.hero-badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .88); padding: 8px 12px; border-radius: 10px; background: rgba(8, 26, 25, .32); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.hero-badge svg { width: 18px; height: 18px; color: #8FE0A6; flex: none; }
.footer-dena { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; }
.footer-dena svg { width: 16px; height: 16px; color: #8FE0A6; flex: none; }

/* section headings: word-by-word on scroll */
.h2 .word { display: inline-block; }
.js .reveal .h2 .word { opacity: 0; transform: translateY(.55em); }
.js .reveal.in .h2 .word { animation: wordUp .75s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(var(--i) * 55ms + 120ms); }
.js .reveal .eyebrow { display: inline-block; clip-path: inset(0 100% 0 0); }
.js .reveal.in .eyebrow { animation: wipe .8s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }

/* roadmap: stage track + label/readout motion */
.rm-track { position: relative; height: 2px; background: var(--deep-line); border-radius: 2px; margin-top: -6px; }
.rm-dot { position: absolute; top: 50%; left: 10%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(232, 163, 61, .25); transition: left .7s cubic-bezier(.6, 0, .2, 1); }
.js .roadmap .bar-labels span { opacity: 0; transform: translateY(6px); }
.js .roadmap.in .bar-labels span { animation: fadeUp .5s ease forwards; }
.js .roadmap.in .bar-labels span:nth-child(1) { animation-delay: .9s; }
.js .roadmap.in .bar-labels span:nth-child(2) { animation-delay: 1.05s; }
.js .roadmap.in .bar-labels span:nth-child(3) { animation-delay: 1.2s; }
.js .roadmap.in .bar-labels span:nth-child(4) { animation-delay: 1.35s; }
.js .roadmap.in .bar-labels span:nth-child(5) { animation-delay: 1.5s; }
.js .roadmap .rm-track { transform: scaleX(0); transform-origin: left; }
.js .roadmap.in .rm-track { animation: ruleIn 1s cubic-bezier(.6, 0, .2, 1) 1.2s forwards; }
.readout-value b { display: inline-block; min-width: 2.2ch; text-align: right; }
.readout-label { transition: opacity .3s; }

/* staircase: chips pop after the card rises */
.js .stairs .chip { opacity: 0; transform: scale(.7); }
.js .stairs .step.in .chip { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1) forwards; animation-delay: calc(var(--i) * 90ms + 450ms); }

/* calculator */
.total.bump { animation: bump .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 40% { transform: scale(1.05); color: #F2C14E; } }
.js .calc .measure { opacity: 0; transform: translateX(-12px); }
.js .calc-controls.in .measure { animation: fadeUp .5s cubic-bezier(.2, .7, .2, 1) forwards; }
.js .calc-controls.in .measure:nth-of-type(1) { animation-delay: .25s; }
.js .calc-controls.in .measure:nth-of-type(2) { animation-delay: .33s; }
.js .calc-controls.in .measure:nth-of-type(3) { animation-delay: .41s; }
.js .calc-controls.in .measure:nth-of-type(4) { animation-delay: .49s; }
.js .calc-controls.in .measure:nth-of-type(5) { animation-delay: .57s; }
.calc-cta { display: flex; flex-direction: column; gap: 10px; }
.calc-cta-label { font: 600 18px/1.3 var(--font-display); letter-spacing: -.01em; }
.calc-actions { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; }
.calc-actions .btn { min-height: 46px; padding: 0 12px; font-size: 14px; }
.btn-deep { background: rgba(255, 255, 255, .08); color: var(--on-deep); border-color: rgba(255, 255, 255, .22); }
.btn-deep:hover { background: rgba(255, 255, 255, .16); color: #FFFFFF; border-color: rgba(255, 255, 255, .4); }
.calc-cta-hint { font-size: 12px; color: var(--on-deep-muted); }
@media (max-width: 420px) { .calc-actions { grid-template-columns: 1fr; } }

/* reasons: icon draws itself, cards rise */
.reason .ico svg { stroke-dasharray: 90; stroke-dashoffset: 0; }
.js .reason .ico { transform: scale(.6) rotate(-12deg); opacity: 0; }
.js .reason.in .ico { animation: icoIn .6s cubic-bezier(.3, 1.5, .5, 1) forwards; animation-delay: calc(var(--i) * 90ms + 250ms); }
.js .reason .ico svg { stroke-dashoffset: 90; }
.js .reason.in .ico svg { animation: dash 1.1s ease forwards; animation-delay: calc(var(--i) * 90ms + 450ms); }
.reason:hover .ico { transform: rotate(-6deg) scale(1.06); transition: transform .3s; }
.reason { position: relative; overflow: hidden; }
.reason::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.6, 0, .2, 1); }
.reason:hover::after { transform: scaleX(1); }
@keyframes icoIn { to { opacity: 1; transform: none; } }
@keyframes dash { to { stroke-dashoffset: 0; } }

/* contact stepper */
.stepper { grid-template-columns: 1fr; gap: 18px; }
.step-nav { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.step-nav button { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--muted); font: 500 14px/1.2 var(--font-body); cursor: pointer; text-align: left; }
.step-nav .dot { width: 30px; height: 30px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; font: 600 13px/1 var(--font-body); background: var(--surface); border: 1.5px solid var(--line-strong); color: var(--muted); transition: background-color .3s, border-color .3s, color .3s, transform .3s; }
.step-nav li.active button { color: var(--ink); font-weight: 600; }
.step-nav li.active .dot { background: var(--primary); border-color: var(--primary); color: var(--on-primary); transform: scale(1.08); }
.step-nav li.done .dot { background: var(--brand-soft); border-color: var(--brand-text); color: var(--brand-text); }
.step-nav li.done button { color: var(--ink-2); }
.step-nav li:not(.done):not(.active) button { cursor: default; }
.step-bar { height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.step-bar span { display: block; height: 100%; width: 33.34%; background: linear-gradient(90deg, var(--brand-text), var(--accent)); border-radius: 4px; transition: width .6s cubic-bezier(.6, 0, .2, 1); }
.pane { border: 0; margin: 0; padding: 0; min-width: 0; }
.pane[hidden] { display: none; }
.pane.enter-next { animation: paneNext .45s cubic-bezier(.2, .8, .2, 1); }
.pane.enter-prev { animation: panePrev .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes paneNext { from { opacity: 0; transform: translateX(28px); } }
@keyframes panePrev { from { opacity: 0; transform: translateX(-28px); } }
.form .pane-title { display: flex; flex-direction: column; gap: 4px; padding: 0 0 16px; font: 600 20px/1.25 var(--font-display); letter-spacing: -.01em; color: var(--ink); }
.pane-count { font: 500 11px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-text); }
.pane-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pane-grid .full { grid-column: 1 / -1; }
.sub-label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
.pane-nav { display: flex; justify-content: space-between; gap: 10px; }
.pane-nav [data-next] { margin-left: auto; }
.pane-nav [hidden] { display: none; }
.summary { margin: 0; font-size: 13px; color: var(--ink-2); background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 10px; padding: 10px 12px; }
.summary:empty { display: none; }
.call-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--brand-text); text-decoration: none; justify-self: start; }
.call-link svg { width: 16px; height: 16px; }
.call-link:hover { text-decoration: underline; }
.field.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@media (max-width: 560px) {
  .pane-grid { grid-template-columns: 1fr; }
  .step-nav button { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero-ytc span, .js .reveal .h2 .word, .js .roadmap .bar-labels span, .js .stairs .chip, .js .calc .measure, .js .reason .ico { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .hero-ytc::after, .js .roadmap .rm-track { transform: none !important; }
  .js .reveal .eyebrow { clip-path: none !important; }
  .js .reason .ico svg { stroke-dashoffset: 0 !important; }
}

/* =====================================================================
   v3 — liquid-glass wordmark, sun, marquee, parallax words,
   step counter, richer section motion
   ===================================================================== */

/* liquid glass: translucent letters with a moving sheen */
.hero-word { filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .16)); }
.hero-word span, .hero-ytc span {
  background-image: linear-gradient(105deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.62) 16%, rgba(255,255,255,.18) 30%, rgba(255,255,255,.32) 58%, rgba(255,255,255,.12) 100%);
  background-size: 280% 100%;
  background-position: 110% 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, .55);
}
.hero-ytc span { -webkit-text-stroke: .6px rgba(255, 255, 255, .7); background-image: linear-gradient(105deg, rgba(255,255,255,.45), rgba(255,255,255,.9) 40%, rgba(255,255,255,.45) 70%); }
.hero-frame.sub .hero-word span { color: transparent; }
@keyframes sheen { from { background-position: 130% 0; } to { background-position: -150% 0; } }
.js.ready .hero-word span { animation: wordUp 1.1s cubic-bezier(.2, .8, .2, 1) forwards, sheen 7s linear infinite; animation-delay: calc(var(--i) * 70ms + 450ms), calc(var(--i) * -.35s); }
.js.ready .hero-ytc span { animation: ytcIn .9s cubic-bezier(.2, .8, .2, 1) forwards, sheen 7s linear infinite; animation-delay: calc(var(--i) * 110ms + 300ms), calc(var(--i) * -.35s); }
.no-js .hero-word span, .no-js .hero-ytc span { animation: sheen 7s linear infinite; }

/* sun: rises along an arc, rays draw in and turn, halo breathes */
.sun-core { fill: #E8A33D; }
.sun-rays line { stroke: #F2B64F; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 20; stroke-dashoffset: 20; }
.sun-move { opacity: 0; animation: sunArc 2.8s cubic-bezier(.2, .8, .2, 1) 1.4s forwards; }
.sun-float { animation: sunFloat 6s ease-in-out 4.2s infinite; }
.sun-halo { transform-box: fill-box; transform-origin: center; animation: halo 4s ease-in-out 3s infinite; }
.sun-rays { animation: spin 48s linear 4s infinite; }
.sun-rays line { animation: rayDraw .5s ease-out forwards; animation-delay: calc(var(--r) * 70ms + 3.2s); }
@keyframes sunArc {
  0% { opacity: 0; transform: translate(-190px, 260px) scale(.45); }
  15% { opacity: 1; }
  55% { transform: translate(-70px, 40px) scale(.85); }
  100% { opacity: 1; transform: none; }
}
@keyframes sunFloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-6px, -9px); } }
@keyframes halo { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.25); opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rayDraw { to { stroke-dashoffset: 0; } }
.has-photo .sun-move { display: none; }

/* trust strip as marquee */
.trust .marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 48px; padding: 18px 24px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.marquee-group > span { display: inline-flex; align-items: center; gap: 8px; }
.marquee-group svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* giant outline words that drift with scroll */
.has-bg { position: relative; overflow: hidden; isolation: isolate; }
.bg-word { position: absolute; z-index: -1; top: 28px; left: 0; white-space: nowrap; pointer-events: none; user-select: none; font: 700 clamp(120px, 17vw, 260px)/1 var(--font-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--line); opacity: .9; transform: translate3d(var(--px, 0), 0, 0); will-change: transform; }
.section-alt .bg-word { -webkit-text-stroke-color: var(--line); }

/* five steps: counter + rail + steps switch on one by one while scrolling */
.stair-meter { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.stair-count { display: inline-flex; align-items: baseline; gap: 8px; flex: none; }
.stair-label { font: 500 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stair-count b { font: 700 48px/1 var(--font-display); letter-spacing: -.03em; color: var(--brand-text); font-variant-numeric: tabular-nums; display: inline-block; }
.stair-count b.tick { animation: tick .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes tick { from { transform: translateY(40%); opacity: 0; } }
.stair-of { font: 600 18px/1 var(--font-display); color: var(--muted); }
.stair-rail { flex: 1; height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.stair-rail span { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--brand-text), var(--accent)); transition: width .6s cubic-bezier(.6, 0, .2, 1); }
.js .stairs .step { opacity: .28; transform: translateY(36px); filter: saturate(.4); transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1), filter .6s, box-shadow .3s, border-color .3s; }
.js .stairs .step.on { opacity: 1; transform: none; filter: none; }
.js .stairs .step.current { border-color: var(--accent); box-shadow: 0 16px 40px rgba(232, 163, 61, .18); }
.js .stairs .step .num { transition: color .3s, background-color .3s; padding: 4px 8px; border-radius: 6px; align-self: flex-start; }
.js .stairs .step.on .num { background: var(--brand-soft); color: var(--brand-text); }
.js .stairs .step.last.on .num { background: rgba(255,255,255,.1); color: var(--on-deep); }
.js .stairs .step .chip { opacity: 0; transform: scale(.7); transition: opacity .4s .25s, transform .4s .25s cubic-bezier(.3, 1.6, .5, 1); animation: none !important; }
.js .stairs .step.on .chip { opacity: 1; transform: none; }

/* reasons: flip up into place, tilt with the pointer */
.js .reason.reveal { transform: perspective(900px) rotateX(-28deg) translateY(40px); transform-origin: 50% 0; }
.js .reason.reveal.in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.reason.in { transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.reason .ico { transition: transform .3s; }

/* contact: direct links slide in */
.js .direct a { opacity: 0; transform: translateX(-24px); transition: opacity .5s, transform .5s cubic-bezier(.2, .7, .2, 1), border-color .2s; }
.js .contact-info.in .direct a { opacity: 1; transform: none; }
.js .contact-info.in .direct a:nth-child(2) { transition-delay: .1s; }
.js .contact-info.in .direct a:nth-child(3) { transition-delay: .2s; }
.js .contact-info.in .direct a:hover { transform: translateX(3px); transition-delay: 0s; }

/* facts: underline grows */
.fact { position: relative; }
.js .fact::after { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: 100%; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .9s cubic-bezier(.6, 0, .2, 1); transition-delay: calc(var(--i) * 120ms + 200ms); }
.js .fact.in::after { transform: scaleY(1); }

/* calculator: counting state */
.total.counting { color: #F2C14E; text-shadow: 0 0 24px rgba(232, 163, 61, .35); }
.total { transition: color .4s, text-shadow .4s; }
.result li b { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-group[aria-hidden] { display: none; }
  .js .stairs .step, .js .stairs .step .chip, .js .direct a, .js .reason.reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .sun-move, .sun-rays line { opacity: 1 !important; stroke-dashoffset: 0 !important; }
  .bg-word { transform: none !important; }
}

/* footer brand: YTC clearly above the S */
.site-footer .brand-ytc { font-size: 10px; line-height: 12px; letter-spacing: .32em; margin-bottom: 1px; }
.site-footer .brand-name { font-size: 26px; line-height: 26px; }
