/* ============================================================
   CAPITAL CUP — design system
   Louis-Vuitton-inspired: Jost (geometric sans, uppercase, tracked)
   for UI/wordmark/buttons; Great Vibes (script) for artistic titles.
   Palette: white + deep red #9d0615. In partnership with Quirin Privatbank.
   ============================================================ */

:root {
  --red: #9d0615;
  --red-deep: #7d0410;
  --red-soft: #b83240;
  --ink: #141414;
  --white: #ffffff;
  --paper: #fbf9f7;      /* very soft warm white for white sections */
  --muted: #6b6b6b;
  --muted-on-red: rgba(255,255,255,.72);
  --line: rgba(20,20,20,.12);
  --line-on-red: rgba(255,255,255,.28);
  --nav-h: 72px;
  --wrap: 1180px;
  --sans: "Jost", "Futura PT", "Avenir Next", system-ui, sans-serif;
  --script: "Great Vibes", cursive;
  --display: "Bodoni Moda", "Didot", "Playfair Display", Georgia, serif;
  --shadow: 0 24px 60px -28px rgba(20,20,20,.35);
  --shadow-sm: 0 2px 14px -6px rgba(20,20,20,.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------------------------------------------------------- typography */
.script { font-family: var(--script); font-weight: 400; line-height: .95; letter-spacing: .01em; }
.eyebrow {
  font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .26em;
}
.lead { font-size: 17px; line-height: 1.7; }
.tracked { text-transform: uppercase; letter-spacing: .2em; }

/* Section title = big script over an uppercase kicker */
.sec-head { margin-bottom: 44px; }
.sec-kicker { display: block; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; opacity: .75; margin-bottom: 6px; }
.sec-title { font-family: var(--script); font-weight: 400; font-size: clamp(46px, 7vw, 88px); line-height: .92; }

/* ---------------------------------------------------------- sections */
.sec { padding: 96px 0; position: relative; overflow: hidden; }
.sec--white { background: var(--white); color: var(--ink); }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec--red { background: var(--red); color: var(--white); }
.sec--white .sec-title, .sec--paper .sec-title { color: var(--red); }
.sec--red .sec-title { color: var(--white); }
.sec--white .sec-kicker, .sec--paper .sec-kicker { color: var(--red); }

/* black divider banner */
.banner { background: var(--ink); color: var(--white); text-align: center; padding: 26px 20px; }
.banner span { font-size: clamp(13px, 2vw, 16px); letter-spacing: .34em; text-transform: uppercase; font-weight: 500; }

/* ---------------------------------------------------------- buttons (LV) */
.btn {
  --bg: var(--red); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .2em;
  padding: 15px 30px; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s, opacity .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--red { --bg: var(--red); --fg:#fff; }
.btn--red:hover { --bg: var(--red-deep); }
.btn--dark { --bg: var(--ink); --fg:#fff; }
.btn--outline-red { --bg: transparent; --fg: var(--red); --bd: var(--red); }
.btn--outline-red:hover { --bg: var(--red); --fg:#fff; }
.btn--outline-white { --bg: transparent; --fg:#fff; --bd: rgba(255,255,255,.7); }
.btn--outline-white:hover { --bg:#fff; --fg: var(--red); --bd:#fff; }
.btn--sm { padding: 11px 20px; font-size: 11px; }
.btn--block { width: 100%; }

/* phase-gated button states (portal) */
.btn.is-soon   { --bg: #e9e4e2; --fg: #a09a97; --bd: transparent; cursor: not-allowed; pointer-events: none; }
.btn.is-open   { --bg: var(--red); --fg:#fff; box-shadow: 0 0 0 4px rgba(157,6,21,.14); }
.btn.is-closed { --bg: transparent; --fg: #b79aa0; --bd: #d9c3c7; cursor: not-allowed; pointer-events: none; }
.sec--red .btn.is-soon   { --bg: rgba(255,255,255,.14); --fg: rgba(255,255,255,.5); }
.sec--red .btn.is-open   { --bg:#fff; --fg: var(--red); box-shadow: 0 0 0 4px rgba(255,255,255,.2); }
.sec--red .btn.is-closed { --bg: transparent; --fg: rgba(255,255,255,.5); --bd: rgba(255,255,255,.35); }

/* ---------------------------------------------------------- top nav */
.cc-nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100;
  background: #ffffff; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 24px;
}
.cc-nav__left { justify-self: start; }
.cc-nav__brand { justify-self: center; display: inline-flex; align-items: center; gap: 12px; }
.cc-nav__brand .wordmark { font-size: 20px; letter-spacing: .32em; text-transform: uppercase; font-weight: 500; color: var(--ink); }
.cc-nav__brand img { height: 48px; width: auto; max-width: 240px; object-fit: contain; mix-blend-mode: multiply; }
.cc-nav__right { justify-self: end; display: inline-flex; align-items: center; gap: 12px; }

.burger { display: inline-flex; align-items: center; gap: 11px; background: none; border: none; cursor: pointer; color: var(--red); font-family: var(--sans); }
.burger__lines { width: 24px; display: inline-grid; gap: 5px; }
.burger__lines i { height: 1.5px; background: var(--red); display: block; transition: transform .25s, opacity .25s; }
.burger__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 720px) { .burger__label { display: none; } }

/* language toggle */
.lang-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; color: var(--muted); padding: 6px 4px; }
.lang-toggle .sep { opacity: .4; }
.lang-toggle [data-lang] { transition: color .15s; }
.lang-toggle [data-lang].is-active { color: var(--red); font-weight: 600; }
.cc-menu .lang-toggle { color: rgba(255,255,255,.7); }
.cc-menu .lang-toggle [data-lang].is-active { color: #fff; }

/* the little nav auth buttons */
.cc-nav__right .btn { padding: 11px 20px; font-size: 11px; letter-spacing: .18em; }
@media (max-width: 620px) { .cc-nav__brand .wordmark { font-size: 15px; letter-spacing: .22em; } .cc-nav { padding: 0 14px; } .cc-nav__right .btn { padding: 9px 13px; font-size: 10px; } }

/* page content clears the fixed nav */
.cc-page { padding-top: var(--nav-h); }

/* ---------------------------------------------------------- burger overlay */
.cc-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--red); color: #fff;
  display: flex; flex-direction: column; padding: 30px clamp(24px, 8vw, 120px);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .3s ease, transform .35s ease, visibility .3s;
}
.cc-menu.open { opacity: 1; visibility: visible; transform: none; }
.cc-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.cc-menu__top .wordmark { font-size: 18px; letter-spacing: .32em; text-transform: uppercase; }
.cc-menu__close { background: none; border: none; color: #fff; cursor: pointer; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 9px; }
.cc-menu__close svg { width: 22px; height: 22px; }
.cc-menu__links { display: flex; flex-direction: column; gap: clamp(6px, 1.4vw, 14px); margin: auto 0; }
.cc-menu__links a { font-size: clamp(26px, 5vw, 46px); letter-spacing: .04em; line-height: 1.15; opacity: .82; transition: opacity .18s ease, transform .25s cubic-bezier(.2,.7,.3,1); width: max-content; will-change: transform; }
.cc-menu__links a:hover { opacity: 1; transform: translateX(12px); }
.cc-menu__links a .n { font-size: .5em; vertical-align: super; opacity: .6; margin-right: 12px; letter-spacing: .1em; }
.cc-menu__foot { display: flex; gap: 26px; flex-wrap: wrap; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line-on-red); }
.cc-menu__foot a { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }
.cc-menu__foot a:hover { opacity: 1; }

/* ---------------------------------------------------------- hero */
.hero { min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; padding: 70px 0; }
.hero__grid { display: grid; grid-template-columns: 0.82fr 1.34fr; gap: 32px; align-items: center; }
.hero__chart { justify-self: end; width: 100%; }
.hero__copy .eyebrow { display: block; margin-bottom: 26px; }
.hero__title { font-family: var(--script); font-size: clamp(58px, 9vw, 128px); line-height: .9; margin-bottom: 18px; padding-top: 6px; }
.hero__sub { font-size: 18px; line-height: 1.75; max-width: 46ch; color: var(--muted-on-red); margin-bottom: 30px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta { margin-top: 26px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 34px; } }

/* TradingView chart card (hero) — glassy on the red hero */
.tv-card { height: 460px; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 70px -30px rgba(0,0,0,.5); }
.tv-card .tradingview-widget-container, .tv-card .tradingview-widget-container__widget { height: 100%; }
@media (max-width: 900px) { .tv-card { height: 360px; } }

/* stats band */
.stats-band { padding: 46px 0; }
.stats-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.stat { text-align: center; flex: 1; min-width: 120px; }
.stat-num { font-family: var(--display); font-size: clamp(30px, 4vw, 50px); font-weight: 500; color: var(--ink); line-height: 1; }
.stat-num em { font-style: italic; font-size: .5em; color: var(--muted); }
.stat-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 9px; }
@media (max-width: 640px) { .stat { min-width: 40%; } }

/* TradingView ticker tape strip */
.tv-tape { background: var(--red); border-bottom: 1px solid rgba(255,255,255,.12); }
.tv-tape .tradingview-widget-container { min-height: 46px; }

/* ---------------------------------------------------------- roadmap steps */
.road { display: flex; flex-direction: column; gap: 40px; }
.step { display: grid; grid-template-columns: 210px 1fr; gap: 78px; align-items: start; max-width: 820px; }
.step--center { margin: 0 auto; text-align: left; }
.step--right { margin-left: auto; }
.step--left { margin-right: auto; }
.step__num { font-family: var(--script); font-size: clamp(80px, 12vw, 150px); line-height: .8; opacity: .9; }
.sec--white .step__num, .sec--paper .step__num { color: var(--red); }
.sec--red .step__num { color: #fff; }
.step__title { font-family: var(--script); font-size: clamp(34px, 4.4vw, 56px); line-height: 1; margin-bottom: 4px; }
.step__phase { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; opacity: .7; margin-bottom: 14px; }
.step ul { list-style: none; display: grid; gap: 11px; }
.step li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.55; }
.step li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; }
.step__date { display: inline-block; margin-top: 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; padding: 6px 14px; border: 1px solid currentColor; border-radius: 999px; opacity: .85; }

.disclaimer {
  margin-top: 22px; padding: 16px 20px; border-radius: 14px; font-size: 14.5px; line-height: 1.5;
  display: flex; gap: 12px; align-items: flex-start;
}
.sec--white .disclaimer, .sec--paper .disclaimer { background: rgba(157,6,21,.06); border: 1px solid rgba(157,6,21,.25); }
.sec--red .disclaimer { background: rgba(255,255,255,.1); border: 1px solid var(--line-on-red); }
.disclaimer b { font-weight: 600; }

@media (max-width: 640px) { .step { grid-template-columns: 1fr; gap: 6px; } .step__num { font-size: 84px; } }

/* floating stock tickers (investment section) */
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.floater { position: absolute; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px 8px 9px; box-shadow: var(--shadow-sm); animation: bob 6s ease-in-out infinite; }
.floater img { width: 26px; height: 26px; border-radius: 50%; object-fit: contain; background:#fff; }
.floater .tkr { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: var(--ink); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (max-width: 900px) { .floaters { display: none; } }

/* ---------------------------------------------------------- partnership / quirin */
.partner { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: center; }
.partner__logo { background: #fff; border-radius: 18px; padding: 30px; box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.partner__logo img { max-height: 150px; width: auto; }
.partner__badge { display: inline-block; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--red); border: 1px solid rgba(157,6,21,.4); border-radius: 999px; padding: 7px 16px; margin-bottom: 18px; }
@media (max-width: 800px) { .partner { grid-template-columns: 1fr; } .partner__logo { max-width: 280px; } }

/* prize graphic */
/* prize podium (spectacular) */
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 16px; margin-top: 10px; }
.pod { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; max-width: 150px; }
.pod__crown { color: #ffe08a; font-size: 22px; line-height: 1; margin-bottom: 4px; filter: drop-shadow(0 2px 6px rgba(255,224,138,.5)); }
.pod__medal { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 25px; font-weight: 600; color: #4a3400; margin-bottom: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.35), inset 0 1px 2px rgba(255,255,255,.6); }
.pod--1 .pod__medal { background: linear-gradient(145deg,#ffe9a8,#e6b23e); }
.pod--2 .pod__medal { background: linear-gradient(145deg,#f6f6f6,#c3c3c3); color:#3a3a3a; }
.pod--3 .pod__medal { background: linear-gradient(145deg,#f0c592,#c17f3e); }
.pod__amt { font-family: var(--display); font-size: clamp(24px,3vw,40px); color: #fff; line-height: 1; }
.pod__label { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.72); margin: 7px 0 14px; }
.pod__bar { width: 100%; border-radius: 10px 10px 0 0; border: 1px solid rgba(255,255,255,.22); border-bottom: none; background: rgba(255,255,255,.07); }
.pod--1 .pod__bar { height: 140px; background: linear-gradient(180deg, rgba(255,224,138,.34), rgba(255,224,138,.05)); border-color: rgba(255,224,138,.5); }
.pod--2 .pod__bar { height: 96px; }
.pod--3 .pod__bar { height: 68px; }
@media (max-width: 520px) { .pod__medal { width: 46px; height: 46px; font-size: 21px; } .pod__bar { display: none; } .podium { align-items: stretch; } }

/* two-column media rows for roadmap sections with a graphic */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.split--flip > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split--flip > :first-child { grid-template-columns: 1fr; order: 0; } }

/* ---------------------------------------------------------- sign-up form */
.signup { max-width: 620px; margin: 0 auto; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; font-family: var(--sans); font-size: 15px; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
  transition: border-color .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--red); }
.field input.invalid { border-color: var(--red); background: rgba(157,6,21,.04); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
/* registration groups + student repeater */
.reg-group { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 30px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.signup .reg-group:first-child { margin-top: 0; }
.reg-group__label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); font-weight: 500; }
.reg-group__hint { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.student-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.student-row input { flex: 1; font: inherit; font-size: 15px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); transition: border-color .15s; }
.student-row input:focus { outline: none; border-color: var(--red); }
.student-row input.invalid { border-color: var(--red); background: rgba(157,6,21,.04); }
.student-remove { flex: none; width: 44px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--muted); cursor: pointer; font-size: 20px; line-height: 1; }
.student-remove:hover { border-color: var(--red); color: var(--red); }
.reg-add { display: inline-block; background: none; border: 1.5px dashed var(--line-strong); border-radius: 10px; color: var(--red); font: inherit; font-size: 13px; letter-spacing: .03em; padding: 11px 18px; cursor: pointer; margin-bottom: 6px; transition: border-color .15s, background .15s, opacity .15s; }
.reg-add:hover { border-color: var(--red); background: rgba(157,6,21,.04); }
.reg-add:disabled { opacity: .45; cursor: not-allowed; }

.check { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 22px 0 20px; cursor: pointer; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--red); flex: none; }
.form-note { font-size: 14px; margin-top: 14px; text-align: center; min-height: 20px; }
.form-note.ok { color: #2f7d10; font-weight: 500; }
.form-note.err { color: var(--red); font-weight: 500; }
.reg-success { text-align: center; padding: 8px 4px; }
.reg-success svg { width: 42px; height: 42px; color: var(--red); margin: 0 auto 12px; }
.reg-success h3 { font-family: var(--script); font-size: 34px; color: var(--red); margin-bottom: 8px; }
.reg-success p { color: var(--muted); font-size: 14.5px; max-width: 40ch; margin: 0 auto 8px; }

/* ---------------------------------------------------------- footer + FAQ */
.foot { background: var(--red); color: #fff; padding: 70px 0 32px; }
.foot__brand { text-align: center; margin-bottom: 40px; }
.foot__brand img { height: 64px; margin: 0 auto 10px; }
.foot__brand .wordmark { font-size: 22px; letter-spacing: .34em; text-transform: uppercase; }
.foot__tag { font-family: var(--script); font-size: 30px; margin-top: 6px; }
.faq { max-width: 760px; margin: 0 auto 44px; }
.faq__h { text-align: center; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; opacity: .8; margin-bottom: 18px; }
.faq details { border-top: 1px solid var(--line-on-red); }
.faq details:last-child { border-bottom: 1px solid var(--line-on-red); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 4px; font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; opacity: .7; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 4px 20px; font-size: 14.5px; line-height: 1.65; color: var(--muted-on-red); max-width: 62ch; }
.foot__links { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line-on-red); }
.foot__links a { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .82; }
.foot__links a:hover { opacity: 1; }
.foot__copy { text-align: center; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; margin-top: 24px; }

/* ---------------------------------------------------------- portal: John-Locke box */
.portal-title { font-family: var(--script); font-size: clamp(48px, 8vw, 96px); color: var(--red); text-align: center; margin: 12px 0 6px; }
.portal-sub { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 40px; }
.jbox { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; max-width: 900px; margin: 0 auto; }
.jrow { display: grid; grid-template-columns: 96px 1fr; gap: 0; border-bottom: 1px solid var(--line); }
.jrow:last-child { border-bottom: none; }
.jrow__num { display: grid; place-items: center; font-family: var(--script); font-size: 62px; color: var(--red); background: var(--paper); border-right: 1px solid var(--line); }
.jrow__body { padding: 26px 30px; }
.jrow__title { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; color: var(--ink); }
.jrow ul { list-style: none; display: grid; gap: 9px; margin-bottom: 18px; }
.jrow li { position: relative; padding-left: 20px; font-size: 14.5px; color: #333; }
.jrow li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); opacity: .6; }
.jrow li .deadline { color: var(--red); font-weight: 600; }
.jrow__mono { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 13px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 2px 8px; }
.jrow__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 560px) { .jrow { grid-template-columns: 64px 1fr; } .jrow__num { font-size: 40px; } .jrow__body { padding: 20px 18px; } }

/* horizontal submissions timeline (John-Locke style) */
.subbox { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 34px 34px 30px; max-width: 1000px; margin: 0 auto; }
.subbox__tag { display: inline-block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); border: 1px solid rgba(157,6,21,.3); border-radius: 999px; padding: 5px 13px; margin-bottom: 14px; }
.subbox__q { font-family: var(--display); font-size: clamp(22px, 3vw, 30px); color: var(--ink); margin-bottom: 26px; }
.tl { display: flex; align-items: flex-start; justify-content: space-between; margin: 6px 0 4px; }
.tl-node { flex: 1; min-width: 0; text-align: center; position: relative; padding: 0 4px; }
.tl-node::before { content: ""; position: absolute; top: 21px; left: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.tl-node:last-child::before { display: none; }
.tl-node.done::before { background: var(--red); }
.tl-dot { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: #fff; border: 2px solid var(--line-strong); color: var(--muted); font-weight: 600; font-size: 15px; }
.tl-dot svg { width: 20px; height: 20px; }
.tl-node.done .tl-dot { background: var(--red); border-color: var(--red); color: #fff; }
.tl-node.active .tl-dot { border-color: var(--red); color: var(--red); box-shadow: 0 0 0 5px rgba(157,6,21,.12); }
.tl-title { font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--ink); margin-bottom: 4px; line-height: 1.25; }
.tl-date { font-size: 12px; color: var(--muted); line-height: 1.4; }
.tl-date .deadline { color: var(--red); display: block; }
.tl-actions { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.tl-btn { font-size: 10px; padding: 9px 15px; letter-spacing: .1em; white-space: nowrap; }
.tl-more { font-size: 11px; letter-spacing: .04em; color: var(--red); display: inline-flex; align-items: center; gap: 4px; cursor: pointer; background: none; border: none; font-family: var(--sans); }
.tl-more:hover { text-decoration: underline; }
.tl-more svg { width: 11px; height: 11px; }
.subbox__foot { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; }
.status-pill b { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.status-pill .chip { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-weight: 600; color: var(--ink); }
.subbox__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 560px) { .subbox__actions .btn { width: 100%; } }
@media (max-width: 760px) { .tl { overflow-x: auto; gap: 8px; } .tl-node { min-width: 116px; } .subbox { padding: 24px 18px; } }

/* client (Mandant) profile card */
.client { display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-sm); }
.sec--red .client { background: rgba(255,255,255,.06); border-color: var(--line-on-red); }
.client__photo { width: 200px; height: 220px; border-radius: 14px; object-fit: cover; background: linear-gradient(160deg,#e9e4e2,#cfc7c3); display: grid; place-items: center; color: #b0a6a1; }
.client__photo svg { width: 70px; height: 70px; }
.client__name { font-family: var(--display); font-size: 30px; color: var(--red); line-height: 1; margin-bottom: 3px; }
.sec--red .client__name { color: #fff; }
.client__role { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.sec--red .client__role { color: var(--muted-on-red); }
.client__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
.cfact { }
.cfact__k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.sec--red .cfact__k { color: var(--muted-on-red); }
.cfact__v { font-size: 15px; line-height: 1.5; }
.client__quote { grid-column: 1 / -1; margin-top: 6px; font-style: italic; font-size: 16px; line-height: 1.55; color: var(--ink); border-left: 2px solid var(--red); padding-left: 16px; }
.sec--red .client__quote { color: #fff; border-color: rgba(255,255,255,.6); }
@media (max-width: 700px) { .client { grid-template-columns: 1fr; } .client__photo { width: 100%; height: 180px; } .client__facts { grid-template-columns: 1fr; } }

/* detailed info blocks */
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.detail { padding: 24px; border-radius: 14px; }
.sec--white .detail, .sec--paper .detail { background: #fff; border: 1px solid var(--line); }
.sec--red .detail { background: rgba(255,255,255,.07); border: 1px solid var(--line-on-red); }
.detail__n { font-family: var(--display); font-size: 30px; color: var(--red); line-height: 1; margin-bottom: 10px; }
.sec--red .detail__n { color: #fff; }
.detail h4 { font-size: 14px; letter-spacing: .04em; margin-bottom: 8px; }
.detail p, .detail li { font-size: 14px; line-height: 1.6; }
.detail ul { list-style: none; display: grid; gap: 7px; margin-top: 8px; }
.detail li { position: relative; padding-left: 18px; }
.detail li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; }
@media (max-width: 760px) { .detail-grid { grid-template-columns: 1fr; } }

/* portal help sections + sample download */
.help-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.help-card { padding: 22px 24px; border-radius: 14px; }
.sec--white .help-card, .sec--paper .help-card { background: #fff; border: 1px solid var(--line); }
.sec--red .help-card { background: rgba(255,255,255,.08); border: 1px solid var(--line-on-red); }
.help-card h4 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.help-card p { font-size: 14px; line-height: 1.55; opacity: .9; }
@media (max-width: 640px) { .help-cards { grid-template-columns: 1fr; } }

.report-struct { display: grid; gap: 10px; margin: 22px 0 26px; counter-reset: rs; }
.report-struct li { list-style: none; display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line-on-red); }
.report-struct li::before { counter-increment: rs; content: counter(rs, decimal-leading-zero); font-family: "JetBrains Mono", monospace; font-size: 12px; opacity: .7; }
.report-struct b { font-weight: 600; }

/* upload dialog (shared) */
.cc-dlg { position: fixed; inset: 0; margin: auto; border: none; border-radius: 20px; padding: 0; max-width: 460px; width: calc(100% - 32px); height: fit-content; box-shadow: var(--shadow); color: var(--ink); background: #fff; }
.cc-dlg::backdrop { background: rgba(20,20,20,.5); backdrop-filter: blur(3px); }
.cc-dlg__head { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 26px 6px; }
.cc-dlg__head h3 { font-family: var(--script); font-size: 30px; color: var(--red); }
.cc-dlg__head p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cc-dlg__body { padding: 16px 26px; }
.cc-dlg__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 6px 26px 24px; }
.x-btn { background: none; border: none; cursor: pointer; color: var(--muted); padding: 4px; }
.x-btn svg { width: 22px; height: 22px; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; border: 1.5px dashed var(--line); border-radius: 12px; padding: 30px 20px; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.drag { border-color: var(--red); background: rgba(157,6,21,.04); }
.drop svg { width: 30px; height: 30px; color: var(--muted); }
.drop-main u { color: var(--red); }
.drop-sub { font-size: 12.5px; color: var(--muted); }
.err { background: rgba(157,6,21,.08); border: 1px solid rgba(157,6,21,.25); color: var(--red); font-size: 13px; border-radius: 10px; padding: 10px 12px; margin-top: 12px; }
.hidden { display: none !important; }

/* ---------------------------------------------------------- auth card (login) */
.auth-shell { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; background: var(--paper); }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px 32px; box-shadow: var(--shadow-sm); }
.auth-card .brandline { text-align: center; margin-bottom: 8px; }
.auth-card .brandline .wordmark { font-size: 15px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.auth-card h1 { font-family: var(--script); font-size: 46px; color: var(--red); text-align: center; line-height: 1; margin-bottom: 6px; }
.auth-card .auth-sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.auth-alt { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 22px; }
.auth-alt a { color: var(--red); text-decoration: underline; font-weight: 500; }

/* legal / long-form pages */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 0 20px; }
.legal h1 { font-family: var(--script); font-size: clamp(48px, 8vw, 84px); color: var(--red); margin-bottom: 8px; }
.legal h2 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin: 34px 0 10px; color: var(--red); }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: #222; margin-bottom: 10px; }
.legal ul { padding-left: 20px; margin-bottom: 12px; }
.legal a { color: var(--red); text-decoration: underline; }
.legal .callout { background: rgba(157,6,21,.05); border: 1px solid rgba(157,6,21,.25); border-radius: 12px; padding: 14px 18px; font-size: 14px; margin: 16px 0; }

/* custom cursor — dot + trailing ring (fine pointers only) */
@media (hover: hover) and (pointer: fine) {
  html.has-custom-cursor, html.has-custom-cursor * { cursor: none; }
  html.has-custom-cursor input, html.has-custom-cursor textarea, html.has-custom-cursor select { cursor: auto; }
  .cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; opacity: 0; will-change: transform; }
  .cursor-dot.is-in, .cursor-ring.is-in { opacity: 1; }
  .cursor-dot.is-off, .cursor-ring.is-off { opacity: 0; }
  .cursor-dot { width: 7px; height: 7px; border-radius: 50%; background: #8c8c8c; transition: opacity .2s ease, width .2s ease, height .2s ease; }
  .cursor-ring { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #8c8c8c; background: transparent; transition: opacity .25s ease, width .28s cubic-bezier(.2,.7,.3,1), height .28s cubic-bezier(.2,.7,.3,1), background .25s ease; }
  .cursor-ring.is-active { width: 56px; height: 56px; background: rgba(140,140,140,.16); }
  .cursor-ring.is-down { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) { .cursor-dot, .cursor-ring { display: none !important; } html.has-custom-cursor, html.has-custom-cursor * { cursor: auto !important; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .floater { animation: none; } html { scroll-behavior: auto; } }

/* ============================================================
   Elegant serif titles — Bodoni Moda (Didone), matching the
   Capital Cup wordmark. Refined, high-contrast, never bold/kitsch.
   ============================================================ */
.hero__title, .sec-title, .step__title, .portal-title, .legal h1,
.auth-card h1, .cc-dlg__head h3, .reg-success h3, .foot__tag,
.step__num, .jrow__num {
  font-family: var(--display); text-transform: none; font-weight: 500; letter-spacing: .005em;
}
.hero__title { font-weight: 500; font-size: clamp(54px, 8.5vw, 118px); line-height: .98; letter-spacing: .01em; padding-top: 0; }
.sec-title   { font-size: clamp(32px, 5vw, 60px); line-height: 1.08; }
.step__title { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.05; }
.portal-title{ font-size: clamp(40px, 6vw, 76px); line-height: 1; }
.legal h1    { font-size: clamp(36px, 6vw, 62px); }
.auth-card h1{ font-size: 42px; }
.cc-dlg__head h3 { font-size: 26px; }
.reg-success h3  { font-size: 30px; }
.foot__tag   { font-size: 24px; font-style: italic; font-weight: 400; letter-spacing: 0; opacity: .92; }
.step__num   { font-weight: 400; font-size: clamp(104px, 15vw, 200px); line-height: .78; letter-spacing: 0; }
.jrow__num   { font-weight: 400; }

/* --- no heavy bold anywhere (user preference) --- */
b, strong { font-weight: 500; }
.jrow__title, .jrow li .deadline, .floater .tkr, .report-struct b { font-weight: 500; }

/* --- creative titles: italic accent word(s) in the brand red --- */
.hero__title em, .sec-title em, .step__title em, .portal-title em, .legal h1 em {
  font-style: italic; font-weight: 500; color: var(--red);
}
.sec--red .sec-title em, .sec--red .step__title em, .hero__title em { color: #f2ccd0; }
