:root {
  --navy-950: #010b33;
  --navy-900: #010f45;
  --navy: #011566;
  --navy-600: #0120a7;
  --royal: #0d4293;
  --yellow: #ffcf05;
  --yellow-600: #f5b800;
  --green: #66b136;
  --lime: #b0c11d;
  --pink: #f4a3c6;
  --cream: #f8f7f2;
  --paper: #ffffff;
  --ink: #0b1a42;
  --ink-soft: #4a5672;
  --line-dark: rgba(255, 255, 255, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --f-head: "Montserrat", system-ui, sans-serif;
  --f-body: "Mulish", system-ui, sans-serif;
  --f-serif: "Source Serif 4", Georgia, serif;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after { /* grain */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.05;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-wrap: balance;
}
.eyebrow-dark { color: var(--navy-600); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(255, 207, 5, .6); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,207,5,.55); } 70%,100% { box-shadow: 0 0 0 12px rgba(255,207,5,0); } }

.h2 {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-top: 18px;
  text-wrap: balance;
}
.h2-light { color: #fff; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-soft); max-width: 56ch; margin-top: 22px; line-height: 1.65; }
.lead-light { color: rgba(255,255,255,.72); }
.hl { position: relative; white-space: nowrap; z-index: 0; isolation: isolate; }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.06em; height: 0.28em; z-index: -1;
  background: var(--yellow); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform 1s .4s var(--ease);
}
.in .hl::after, .hl.in::after, .reveal.in .hl::after { transform: scaleX(1); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.site-header.scrolled {
  background: rgba(1, 15, 69, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { position: relative; z-index: 2; display: inline-flex; flex-direction: column; align-items: center; line-height: 1; color: #fff; }
.brand-sds { font-family: var(--f-head); font-weight: 900; font-size: 26px; letter-spacing: -0.03em; position: relative; padding-bottom: 5px; }
.brand-sds::after {
  content: ""; position: absolute; left: -6%; right: -4%; bottom: 0; height: 3px;
  background: var(--yellow); border-radius: 50% 2px 2px 50% / 100% 2px 2px 100%; transform: skewY(-3deg);
}
.brand-sub { font-family: var(--f-head); font-weight: 800; font-size: 9px; letter-spacing: 0.32em; margin-top: 5px; display: inline-flex; align-items: center; gap: 5px; padding-left: .32em; }
.brand-sub i { width: 10px; height: 2px; background: var(--yellow); border-radius: 2px; }
.brand-lg .brand-sds { font-size: 44px; padding-bottom: 7px; }
.brand-lg .brand-sds::after { height: 5px; }
.brand-lg .brand-sub { font-size: 14px; margin-top: 8px; gap: 8px; }
.brand-lg .brand-sub i { width: 18px; height: 3px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-weight: 700; font-size: 15px; color: rgba(255,255,255,.82); position: relative; transition: color .3s; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--yellow);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 10px 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.35); color: #fff !important; transition: background .3s, border-color .3s, color .3s; }
.nav-cta:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy) !important; }

.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 800; font-size: 15px; letter-spacing: .01em;
  padding: 16px 26px; border-radius: 999px;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s var(--ease), border-color .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 10px 30px -12px rgba(255, 207, 5, .55); }
.btn-yellow:hover { background: #ffd83a; box-shadow: 0 16px 36px -14px rgba(255, 207, 5, .7); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100dvh; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(ellipse 70% 60% at 68% 42%, #0127b8 0%, rgba(1,32,167,.55) 35%, rgba(1,21,102,0) 70%),
    radial-gradient(ellipse 80% 70% at 10% 100%, rgba(1,11,51,.9), rgba(1,11,51,0) 60%),
    var(--navy);
  display: flex; flex-direction: column;
}
.hero-glow {
  position: absolute; width: 60vmax; height: 60vmax; right: -12vmax; top: -18vmax; z-index: -1;
  background: radial-gradient(circle, rgba(77, 140, 255, .18), transparent 60%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(-6vmax, 6vmax, 0) scale(1.08); } }

.hero-grid {
  flex: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: 24px; padding-top: 110px;
}
.hero-copy { position: relative; z-index: 2; padding-bottom: 80px; }
.hero-eyebrow { opacity: 0; animation: fadeUp .8s .1s var(--ease) forwards; }
.hero-name { margin-top: 26px; display: flex; flex-direction: column; align-items: flex-start; font-weight: inherit; }
.script-wrap { position: relative; display: block; width: clamp(240px, 32vw, 470px); }
.script {
  width: 100%; height: auto;
  clip-path: inset(0 100% 0 0); animation: wipe 1s .3s var(--ease) forwards;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.25));
}
.swoosh path { fill: var(--yellow); }
.swoosh { display: block; clip-path: inset(0 100% 0 0); }
.swoosh-1 { position: absolute; left: 4%; bottom: -2%; width: 100%; height: 13%; animation: wipe .8s .8s var(--ease) forwards; }
.surname {
  font-family: var(--f-body); font-weight: 800; font-size: clamp(30px, 4.1vw, 58px); letter-spacing: -0.015em; line-height: 1.05;
  margin-top: 16px; opacity: 0; animation: fadeUp .9s .6s var(--ease) forwards;
}
.swoosh-2 { width: clamp(260px, 36vw, 520px); height: 16px; margin-top: 10px; animation: wipe .8s .9s var(--ease) forwards; }
.hero-role { margin-top: 0; font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; line-height: 1.35; color: rgba(255,255,255,.92); opacity: 0; animation: fadeUp .9s .75s var(--ease) forwards; }
.ydot { color: var(--yellow); font-weight: 900; }
.hero-tagline { margin-top: 26px; font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(22px, 2.2vw, 30px); color: var(--yellow); opacity: 0; animation: fadeUp .9s .85s var(--ease) forwards; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: fadeUp .9s .95s var(--ease) forwards; }

.hero-visual { position: relative; align-self: end; height: 100%; min-height: 520px; display: flex; align-items: flex-end; justify-content: center; }
.hero-heart {
  position: absolute; width: min(135%, 820px); left: 50%; top: 40%; transform: translate(-50%, -50%);
  overflow: visible; z-index: 0; max-width: none;
}
.hh { fill: none; stroke: var(--yellow); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hh-1 { stroke-width: 15; animation: draw 1.6s .35s cubic-bezier(.65,0,.35,1) forwards; }
.hh-2 { stroke-width: 5; opacity: .75; animation: draw 1.7s .5s cubic-bezier(.65,0,.35,1) forwards; }
.portrait-wrap { position: relative; z-index: 1; width: min(100%, 560px); will-change: transform; }
.portrait {
  width: 100%; height: auto; opacity: 0; transform: translateY(40px);
  animation: rise 1.2s .15s var(--ease) forwards;
  filter: drop-shadow(0 30px 50px rgba(1, 8, 40, .45));
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
}

.hero-foot { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: space-between; align-items: flex-end; z-index: 3; pointer-events: none; }
.countdown {
  pointer-events: auto; display: inline-flex; align-items: baseline; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  background: rgba(1, 11, 51, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  opacity: 0; animation: fadeUp .9s 1.1s var(--ease) forwards;
}
.countdown:not(.ready) { visibility: hidden; }
.cd-label { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .12em; }
.cd-num { font-family: var(--f-head); font-weight: 900; font-size: 26px; color: var(--yellow); font-variant-numeric: tabular-nums; line-height: 1; }
.cd-unit { font-weight: 700; font-size: 15px; }
.scroll-cue { pointer-events: auto; width: 28px; height: 46px; border-radius: 20px; border: 1.5px solid rgba(255,255,255,.4); position: relative; opacity: 0; animation: fadeUp .9s 1.25s var(--ease) forwards; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--yellow); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--yellow); color: var(--navy); overflow: hidden; padding: 16px 0; position: relative; z-index: 2; }
.marquee-track { display: flex; align-items: center; gap: 0; width: max-content; animation: marquee 115s linear infinite; }
.marquee-track > * { margin-right: 34px; }
.marquee span { font-family: var(--f-head); font-weight: 900; font-size: clamp(18px, 2vw, 24px); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.marquee b { width: 22px; height: 20px; flex: none; background: url("assets/heart.webp") center / contain no-repeat; filter: brightness(0) saturate(100%) invert(9%) sepia(80%) saturate(5000%) hue-rotate(228deg) brightness(70%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Vision ---------- */
.vision { background: var(--cream); padding: clamp(90px, 12vw, 160px) 0; position: relative; overflow: hidden; overflow: clip; }
.vision-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.vision-copy { position: sticky; top: 120px; }
.vision-heart { width: clamp(120px, 14vw, 190px); height: auto; margin-top: 44px; }
.pillars { display: grid; gap: 14px; padding-top: 10px; }
.pillar {
  --i: 0;
  position: relative; display: flex; align-items: center; gap: 20px;
  padding: 16px 64px 16px 18px;
  min-height: 92px;
  isolation: isolate;
  transition-delay: calc(var(--i) * 80ms) !important;
}
.pillar:nth-child(even) { margin-left: clamp(0px, 4vw, 56px); }
.pillar::before { /* white brush stroke */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fff' d='M14 9C120 3 300 1 440 5l14-3-3 8 30 2-14 7 22 6-16 6 18 9-20 4 21 10-25 3 19 12-30 3 20 9-27 3 9 9C320 99 150 99 16 94 6 80 2 56 4 38 5 26 8 16 14 9z'/%3E%3Cpath fill='%23fff' d='M455 20l40-2-38 6zM460 72l36 1-35 4z' opacity='.8'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 14px 22px rgba(11, 26, 66, .08));
  transform-origin: left center;
}
.p-icon { flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--c); display: grid; place-items: center; box-shadow: 0 8px 18px -8px var(--c); transition: transform .5s var(--ease); }
.p-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pillar:first-child .p-icon svg path { fill: #fff; }
.p-text { display: flex; flex-direction: column; border-left: 2.5px solid var(--c); padding-left: 16px; line-height: 1.1; }
.p-text strong { font-family: var(--f-head); font-weight: 900; font-size: clamp(20px, 2vw, 26px); color: var(--c); letter-spacing: -0.01em; }
.p-text em { font-style: normal; font-weight: 700; font-size: 15px; color: var(--ink); margin-top: 4px; }

/* ---------- Program ---------- */
.program { background: var(--navy-900); color: #fff; padding: clamp(90px, 12vw, 160px) 0; position: relative; }
.program::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 40% at 85% 10%, rgba(1, 39, 184, .45), transparent 70%);
}
.program-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); position: relative; }
.program-sticky { position: sticky; top: 110px; }
.program-index { margin-top: 40px; display: grid; gap: 2px; counter-reset: none; }
.program-index a {
  display: flex; align-items: center; gap: 14px; padding: 10px 0; font-weight: 700; font-size: 15px; color: rgba(255,255,255,.5);
  transition: color .3s, transform .45s var(--ease);
}
.program-index a span { font-family: var(--f-head); font-weight: 800; font-size: 12px; letter-spacing: .08em; width: 28px; color: rgba(255,255,255,.35); transition: color .3s; }
.program-index a::before { content: ""; width: 0; height: 2px; background: var(--yellow); transition: width .45s var(--ease); order: -1; margin-right: -14px; }
.program-index a:hover { color: #fff; }
.program-index a.active { color: #fff; transform: translateX(4px); }
.program-index a.active span { color: var(--yellow); }
.program-index a.active::before { width: 18px; margin-right: 0; }

.program-list { display: grid; }
.pblock { padding: 44px 0 48px; border-top: 1px solid var(--line-dark); }
.pblock:first-child { border-top: 0; padding-top: 6px; }
.pblock-head { display: flex; align-items: center; justify-content: space-between; }
.pnum { font-family: var(--f-head); font-weight: 900; font-size: 64px; line-height: 1; color: rgba(255,255,255,.1); letter-spacing: -0.03em; transition: color .8s var(--ease); }
.pblock.in .pnum { color: rgba(255, 207, 5, .55); }
.picon { width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); display: grid; place-items: center; }
.picon svg { width: 26px; height: 26px; fill: none; stroke: var(--yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pblock h3 { font-family: var(--f-head); font-weight: 800; font-size: clamp(24px, 2.5vw, 32px); letter-spacing: -0.02em; margin-top: 22px; line-height: 1.15; }
.psub { margin-top: 6px; font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.pblock ul { margin-top: 22px; display: grid; gap: 14px; }
.pblock li { position: relative; padding-left: 30px; color: rgba(255,255,255,.8); font-size: 17px; line-height: 1.6; max-width: 60ch; }
.pblock li::before { content: ""; position: absolute; left: 0; top: .78em; width: 16px; height: 2.5px; border-radius: 2px; background: var(--yellow); }
.pblock li b { color: #fff; font-weight: 800; }

/* ---------- KS ---------- */
.ks { position: relative; overflow: hidden; color: #fff; padding: clamp(100px, 13vw, 170px) 0; isolation: isolate; }
.ks-bg { position: absolute; inset: 0; z-index: -2; }
.ks-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 8s cubic-bezier(.2,.6,.2,1); }
.ks.in-view .ks-bg img { transform: scale(1.02); }
.ks::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 55% 50% at 50% 50%, rgba(13, 66, 147, .62), rgba(13, 66, 147, .25) 70%),
    linear-gradient(180deg, rgba(1, 15, 69, .94) 0%, rgba(1, 21, 102, .5) 30%, rgba(13, 66, 147, .45) 60%, rgba(1, 15, 69, .96) 100%);
}
.ks-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.ks-stage { position: relative; width: 100%; max-width: 1080px; margin-top: 44px; padding: 20px 0; }
.ks-heart { position: absolute; left: 50%; top: 54%; width: min(46%, 430px); transform: translate(-50%, -50%); z-index: -1; overflow: visible; max-width: none; }
.ks-heart path { fill: none; stroke: url(#heartGrad); stroke-width: 20; stroke-linecap: round; opacity: .7; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s cubic-bezier(.65,0,.35,1); }
.ks.in-view .ks-heart path { stroke-dashoffset: 0; }

.ks-pins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ks-pins li {
  --i: 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 800; font-size: clamp(16px, 1.7vw, 22px); letter-spacing: .01em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(1, 11, 51, .6);
  transition-delay: calc(var(--i) * 110ms + 300ms) !important;
}
.ks-bottom li { flex-direction: column-reverse; }
.ks-pins li::after { content: ""; width: 0; height: 46px; border-left: 2px dotted rgba(255,255,255,.55); }
.ks-bottom li::after { order: 3; }
.pin {
  width: 30px; height: 38px; background: var(--pink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 0C5.4 0 0 5.3 0 11.8 0 20.4 12 30 12 30s12-9.6 12-18.2C24 5.3 18.6 0 12 0zm0 16.4a4.6 4.6 0 1 1 0-9.2 4.6 4.6 0 0 1 0 9.2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 0C5.4 0 0 5.3 0 11.8 0 20.4 12 30 12 30s12-9.6 12-18.2C24 5.3 18.6 0 12 0zm0 16.4a4.6 4.6 0 1 1 0-9.2 4.6 4.6 0 0 1 0 9.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 6px 8px rgba(0,0,0,.3));
}
.ks-pins li:hover .pin { animation: bob .8s var(--ease); }
@keyframes bob { 40% { transform: translateY(-8px); } }

.ks-title {
  font-family: var(--f-head); font-weight: 900; text-transform: uppercase;
  font-size: clamp(40px, 8.4vw, 116px); line-height: 1; letter-spacing: -0.02em;
  margin: 18px 0; text-shadow: 0 8px 30px rgba(1, 11, 51, .35);
}
.ks-title .q { font-family: var(--f-serif); font-weight: 600; opacity: .9; display: inline-block; transform: translateY(-.08em); }
.ks-z { color: var(--yellow); position: relative; display: inline-block; }
.ks-z svg { position: absolute; left: 0; right: 0; bottom: -0.16em; width: 100%; height: 0.16em; fill: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform 1s .7s var(--ease); }
.ks-title.in .ks-z svg { transform: scaleX(1); }
.ks-lead { text-wrap: pretty; margin-top: 48px; max-width: 60ch; font-size: clamp(17px, 1.4vw, 19px); color: rgba(255,255,255,.85); }

/* ---------- Join ---------- */
.join { background: var(--cream); padding: clamp(90px, 12vw, 160px) 0; overflow: hidden; overflow: clip; }
.join-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.join-copy { position: sticky; top: 110px; container-type: inline-size; }
@container (max-width: 620px) {
  .vote { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .vote-date { border-right: 0; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 16px; width: 100%; }
}
.join-heart { width: 96px; height: auto; margin-bottom: 26px; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-3deg); } }
.join-title { font-family: var(--f-serif); font-style: italic; font-weight: 600; font-size: clamp(42px, 5.4vw, 76px); line-height: 1; color: var(--navy); letter-spacing: -0.01em; }

/* Pobuda form */
.pobuda-card {
  position: relative; background: var(--paper); border-radius: 32px;
  padding: clamp(26px, 3.4vw, 44px);
  box-shadow: 0 40px 80px -40px rgba(1, 21, 102, .35), 0 0 0 1px rgba(11, 26, 66, .06);
  overflow: hidden;
}
.pobuda-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--green), var(--lime) 50%, var(--yellow)); }
.pobuda-tag { font-family: var(--f-head); font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-600); }
.pobuda-head h3 { font-family: var(--f-head); font-weight: 800; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.02em; color: var(--navy); margin-top: 8px; line-height: 1.1; }
.pobuda-intro { margin-top: 10px; color: var(--ink-soft); font-size: 16px; }
.pobuda-form { margin-top: 28px; display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-weight: 800; font-size: 14px; color: var(--ink); display: flex; align-items: baseline; justify-content: space-between; gap: 8px; white-space: nowrap; }
.opt { font-weight: 600; color: #6b7590; font-size: 12px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: #f4f5f9; border: 1.5px solid #dde1ea; border-radius: 14px;
  padding: 13px 15px; outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { background: #eef0f6; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(1, 32, 167, .12); }
.field.invalid input, .field.invalid textarea { border-color: #d0342c; background: #fff6f5; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select { padding-right: 40px; cursor: pointer; }
.field-error { font-size: 13px; font-weight: 700; color: #c22a22; min-height: 0; }
.field-error:empty { display: none; }
.field-foot { display: flex; justify-content: space-between; gap: 12px; }
.field-help { font-size: 12px; color: #6b7590; margin-left: auto; font-variant-numeric: tabular-nums; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pobuda-privacy { font-size: 13px; color: #6b7590; line-height: 1.5; }
.form-error { font-size: 14px; font-weight: 700; color: #c22a22; background: #fff1f0; border-radius: 12px; padding: 12px 14px; }
.form-error:empty { display: none; }
.btn-navy { background: var(--navy); color: #fff; justify-content: center; width: 100%; padding: 18px 26px; border: 0; cursor: pointer; font-size: 16px; box-shadow: 0 16px 30px -16px rgba(1, 21, 102, .6); }
.btn-navy:hover { background: var(--navy-600); }
.btn-navy:hover svg { transform: translate(3px, -3px); }
.btn-navy[disabled] { cursor: progress; opacity: .85; }
.btn-navy.loading svg { display: none; }
.btn-navy.loading::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: var(--yellow); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-ghost-dark { color: var(--navy); border: 1.5px solid rgba(1, 21, 102, .25); background: transparent; cursor: pointer; margin-top: 26px; }
.btn-ghost-dark:hover { border-color: var(--navy); }

.pobuda-done { text-align: center; padding: 40px 10px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; outline: none; }
.pobuda-done h3 { font-family: var(--f-head); font-weight: 800; font-size: 28px; color: var(--navy); margin-top: 22px; letter-spacing: -0.02em; }
.pobuda-done p { margin-top: 10px; color: var(--ink-soft); max-width: 36ch; }
.done-check { width: 76px; height: 76px; }
.done-check circle { fill: none; stroke: var(--green); stroke-width: 3; stroke-dasharray: 160; stroke-dashoffset: 160; animation: dash .7s var(--ease) forwards; }
.done-check path { fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: dash .5s .5s var(--ease) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.footer-link { color: rgba(255,255,255,.7); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.3); transition: color .3s; }
.footer-link:hover { color: var(--yellow); }
.vote {
  margin-top: 40px; display: flex; align-items: center; gap: 26px;
  padding: 26px 30px; border-radius: 28px; background: var(--navy); color: #fff;
  box-shadow: 0 30px 60px -30px rgba(1, 21, 102, .55), inset 0 1px 0 rgba(255,255,255,.1);
  position: relative; overflow: hidden;
}
.vote::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,207,5,.22), transparent 70%); }
.vote-date { display: flex; align-items: center; gap: 12px; padding-right: 26px; border-right: 1px solid rgba(255,255,255,.18); flex: none; }
.vote-day { font-family: var(--f-head); font-weight: 900; font-size: 64px; line-height: .9; color: var(--yellow); letter-spacing: -0.04em; }
.vote-month { font-family: var(--f-head); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; line-height: 1.3; }
.vote-kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.6); }
.vote-main { font-family: var(--f-head); font-weight: 800; font-size: clamp(20px, 2.1vw, 26px); line-height: 1.2; margin-top: 6px; letter-spacing: -0.01em; }
.support { margin-top: 26px; font-weight: 700; font-size: 15px; color: var(--ink-soft); }
.nsi { font-family: var(--f-head); font-weight: 900; color: #0b7f76; }
.sls { font-family: var(--f-head); font-weight: 900; color: #3a7f1c; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 64px 0 52px; font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.footer-name { font-family: var(--f-head); font-weight: 800; font-size: 18px; color: #fff; }
.footer-legal { text-align: right; display: grid; gap: 4px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .pillar.reveal { transform: translateX(-30px); }
.js .pillar.reveal::before { transform: scaleX(.2); opacity: 0; transition: transform 1s var(--ease), opacity .6s; transition-delay: inherit; }
.js .pillar.reveal.in { transform: none; }
.js .pillar.reveal.in::before { transform: none; opacity: 1; }

/* ---------- Ballot number ---------- */
.hero-meta { margin-top: 22px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero-meta .hero-role { opacity: 1; animation: none; }
.hero-meta { opacity: 0; animation: fadeUp .9s .75s var(--ease) forwards; }
.ballot { display: inline-flex; align-items: center; gap: 14px; }
.hero-ballot { padding-left: 26px; border-left: 1px solid rgba(255,255,255,.2); }
.ballot-num {
  position: relative; flex: none; width: 60px; height: 60px; display: grid; place-items: center;
  font-family: var(--f-head); font-weight: 900; font-size: 36px; line-height: 1; color: #fff;
}
.ballot-num svg { position: absolute; inset: -7px; width: calc(100% + 14px); height: calc(100% + 14px); overflow: visible; max-width: none; }
.ballot-num path { fill: none; stroke: var(--yellow); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hero-ballot .ballot-num path { animation: draw .9s 1.25s cubic-bezier(.65,0,.35,1) forwards; }
.ballot-label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); line-height: 1.35; }
.ballot-label b { display: block; font-size: 16px; letter-spacing: 0; text-transform: none; color: #fff; margin-top: 2px; }
.vote-ballot { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); }
.vote-ballot .ballot-num { width: 48px; height: 48px; font-size: 28px; }
.vote-ballot .ballot-label { letter-spacing: .04em; text-transform: none; font-size: 15px; font-weight: 700; color: rgba(255,255,255,.8); }
.vote-ballot .ballot-label b { display: inline; color: var(--yellow); font-size: 15px; }
.vote-ballot .ballot-num path { transition: stroke-dashoffset .9s .5s cubic-bezier(.65,0,.35,1); }
.vote.in .vote-ballot .ballot-num path { stroke-dashoffset: 0; }
html:not(.js) .ballot-num path { stroke-dashoffset: 0; }

/* ---------- Audit fixes ---------- */
.vision :focus-visible, .join :focus-visible { outline-color: var(--navy-600); }
.pillar.p-yellow .p-text strong { color: #a87a00; }
.nowrap { white-space: nowrap; }

@media (min-width: 961px) {
  .portrait-wrap { width: min(100%, 560px, calc((100svh - 130px) * .686)); }
}
@media (min-width: 961px) and (max-height: 820px) {
  .hero-grid { padding-top: 90px; }
  .hero-copy { padding-bottom: 76px; }
  .script-wrap { width: clamp(220px, 25vw, 360px); }
  .hero-name { margin-top: 14px; }
  .surname { margin-top: 8px; font-size: clamp(28px, 3.4vw, 46px); }
  .hero-meta, .hero-tagline { margin-top: 14px; }
  .hero-actions { margin-top: 22px; }
}
@media (min-width: 961px) {
  .hero-heart { width: min(135%, 820px, calc((100svh - 130px) * .93)); }
}
@media (min-width: 961px) and (max-height: 820px) {
  .hero-heart { top: 47%; }
  .hero-grid { padding-top: 84px; }
  .hero-copy { padding-bottom: 92px; }
}
@media (min-width: 961px) and (max-height: 700px) {
  .script-wrap { width: clamp(200px, 22vw, 320px); }
  .hero-tagline { margin-top: 10px; }
}
@media (min-width: 961px) and (max-height: 760px) {
  .program-sticky { top: 90px; }
  .program-sticky .lead { display: none; }
  .program-index { margin-top: 20px; }
  .program-index a { padding: 6px 0; }
}
@media (min-width: 961px) and (max-aspect-ratio: 4/5) {
  .hero { min-height: auto; }
  .hero-grid { padding-top: 130px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav {
    position: fixed; inset: 0 0 auto 0; height: 100dvh; background: var(--navy-950);
    flex-direction: column; justify-content: center; gap: 30px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav a { font-family: var(--f-head); font-size: 26px; font-weight: 800; }
  .menu-open .nav { opacity: 1; visibility: visible; transition: opacity .4s var(--ease), visibility 0s; }
  .menu-btn { display: block; z-index: 2; }

  .hero-grid { grid-template-columns: 1fr; padding-top: 72px; gap: 0; }
  .hero-copy { padding-bottom: 10px; margin-top: -84px; }
  .hero-visual { order: -1; min-height: 0; height: auto; margin-top: 0; }
  .portrait-wrap { width: auto; display: flex; justify-content: center; }
  .portrait {
    width: auto; max-width: 100%; max-height: min(60vh, 540px);
    -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 96%);
            mask-image: linear-gradient(to bottom, #000 62%, transparent 96%);
  }
  .hero-heart { width: min(100%, 440px); top: 34%; -webkit-mask-image: linear-gradient(#000 74%, transparent 85%); mask-image: linear-gradient(#000 74%, transparent 85%); }
  .hero-copy { text-align: center; }
  .hero-meta { justify-content: center; }
  .hero-ballot .ballot-label { text-align: left; }
  .hero-name { align-items: center; }
  .hero-actions, .hero-foot { justify-content: center; }
  .swoosh-2 { margin-inline: auto; }
  .hero-foot { position: relative; bottom: auto; padding-top: 6px; padding-bottom: 28px; }
  .scroll-cue { display: none; }

  .vision-grid, .program-grid, .join-grid { grid-template-columns: 1fr; }
  .vision-copy, .program-sticky { position: static; }
  .vision-heart { display: none; }
  .program-index { display: none; }
  .pillar:nth-child(even) { margin-left: 0; }
  .join-copy { position: static; }
  .footer-inner { grid-template-columns: 1fr; text-align: left; gap: 22px; }
  .footer-legal { text-align: left; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-inner { height: 66px; }
  .hero-eyebrow { font-size: 11px; letter-spacing: .12em; }
  .script-wrap { width: min(78vw, 320px); }
  .brand-sds { font-size: 22px; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .pillar { padding: 14px 44px 14px 12px; gap: 14px; min-height: 80px; }
  .p-icon { width: 50px; height: 50px; }
  .p-icon svg { width: 24px; height: 24px; }
  .pnum { font-size: 48px; }
  .ks-pins { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .ks-pins li { font-size: 12px; letter-spacing: 0; gap: 6px; }
  .ks-pins li::after { height: 26px; }
  .pin { width: 22px; height: 28px; }
  .ks-heart { width: 92%; }
  .ks-title { font-size: clamp(28px, 9.2vw, 40px); white-space: nowrap; }
  .vote { flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px; }
  .vote-date { border-right: 0; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 16px; width: 100%; }
  .countdown { padding: 10px 16px; }
  .field-row { grid-template-columns: 1fr; }
  .pobuda-card { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
  .pillar, .ks-pins li { transition-delay: 0s !important; }
}
