/* =========================================================
   GOODMINTON / SWISS OVERRIDE
   International Typographic Style: grid, Helvetica, black,
   paper, one red. No gradients, no grain, no rounded cards.
   ========================================================= */

:root {
  --ink: #111111;
  --ink-2: #111111;
  --ink-3: #222222;
  --paper: #f3f1ea;
  --paper-2: #e5e2d9;
  --paper-3: #d2cec3;
  --chalk: #fbfaf6;
  --acid: #e2231a;
  --acid-deep: #c51b14;
  --orange: #e2231a;
  --violet: #111111;
  --muted: #636363;
  --muted-2: #8c8c8c;
  --line: rgba(17, 17, 17, 0.28);
  --line-dark: rgba(255, 255, 255, 0.32);
  --display: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --latin: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --page-pad: clamp(22px, 4.2vw, 64px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { border-radius: 0 !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before { display: none !important; }
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: linear-gradient(90deg, transparent calc(25% - 1px), rgba(17,17,17,.035) 25%, transparent calc(25% + 1px), transparent calc(50% - 1px), rgba(17,17,17,.035) 50%, transparent calc(50% + 1px), transparent calc(75% - 1px), rgba(17,17,17,.035) 75%, transparent calc(75% + 1px));
  display: none;
}
::selection { background: var(--acid); color: #fff; }

h1, h2, h3, h4, .display, .hero-title, .section-title, .inner-title, .match-detail-title, .player-name, .podium-name, .bwf-section-title, .feature-content h2, .mini-copy h2, .about-copy h2, .poster-title, .lesson-body h2 {
  font-family: var(--display) !important;
  font-weight: 700 !important;
  letter-spacing: -0.045em !important;
  line-height: 0.94 !important;
}
p { color: var(--muted); }
.wrap { width: min(var(--max), calc(100% - var(--page-pad) * 2)); margin-left: auto; margin-right: auto; }
.wrap-narrow { width: min(1080px, calc(100% - var(--page-pad) * 2)); margin-left: auto; margin-right: auto; }
.section { padding: clamp(72px, 8.4vw, 124px) 0; }
.section-head { align-items: flex-start; }
.kicker { color: var(--ink); font-family: var(--latin); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.kicker::before { background: var(--acid); height: 2px; width: 26px; }
.section-title { font-size: clamp(40px, 5.4vw, 82px); color: var(--ink); }
.section-intro { color: var(--muted); border-top: 1px solid var(--ink); padding-top: 13px; font-size: 13px; line-height: 1.8; }
.eyebrow { color: var(--muted); font-size: 9px; letter-spacing: .18em; }

/* ---------- buttons / rules ---------- */
.btn {
  height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--latin);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  border-radius: 0;
  box-shadow: none;
}
.btn:hover { background: var(--acid); border-color: var(--acid); color: #fff; transform: none; }
.btn-acid { background: var(--acid); border-color: var(--acid); color: #fff; }
.btn-acid:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-ghost-light { border-color: rgba(255,255,255,.65); color: #fff; }
.btn-ghost-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 9px; }
.arrow-link { font-family: var(--latin); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.arrow-link:hover { color: var(--acid); border-color: var(--acid); }
.rule { background: var(--ink); height: 1px; }

/* ---------- header / logo ---------- */
.site-header {
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  backdrop-filter: none;
}
.site-header.scrolled { background: var(--paper); border-bottom-color: var(--ink); backdrop-filter: none; }
.header-inner { height: 76px; }
.brand { gap: 10px; color: var(--ink); }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 29px; height: 29px; background: var(--acid);
  display: grid; place-items: center; flex-shrink: 0; padding: 2px;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-word {
  font-family: var(--latin); font-size: 22px; font-weight: 700;
  letter-spacing: -0.055em; line-height: 1; color: var(--ink); white-space: nowrap;
}
.brand img { display: block; width: 148px; height: auto; filter: none; }
.nav { gap: 26px; }
.nav a {
  position: relative; color: #3d3d3d; font-size: 11px; font-weight: 600;
  letter-spacing: .04em; padding: 8px 0;
}
.nav a:hover, .nav a.router-link-active { color: var(--ink); }
.nav a.router-link-active::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--acid); animation: swiss-underline .35s var(--ease) forwards; }
@keyframes swiss-underline { to { right: 0; } }
.header-mini {
  height: 34px; padding: 0 13px; border: 1px solid var(--ink); border-radius: 0;
  color: var(--ink); font-family: var(--latin); font-size: 9px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; background: transparent;
}
.header-mini:hover { background: var(--acid); border-color: var(--acid); color: #fff; }
.header-mini .dot { background: var(--acid); }
.header-mini:hover .dot { background: #fff; }
.menu-toggle { border: 1px solid var(--ink); color: var(--ink); border-radius: 0; }
.mobile-menu { background: var(--paper); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.mobile-menu a { color: var(--ink); border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 30px; }

/* ---------- hero ---------- */
.hero {
  background: var(--paper);
  color: var(--ink);
  min-height: 100svh;
  padding: 126px 0 58px;
  border-bottom: 1px solid var(--ink);
}
.hero-canvas { display: none; }
.hero-grid {
  display: block; opacity: 1;
  background-image: linear-gradient(90deg, rgba(17,17,17,.12) 1px, transparent 1px);
  background-size: 8.333% 100%;
  mask-image: none;
  border-left: 1px solid transparent;
}
.hero::after { display: none; }
.hero-inner { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 4vw; align-items: end; }
.hero-topline { color: var(--ink); border-top: 1px solid var(--ink); padding-top: 12px; margin-bottom: 26px; }
.hero-topline .pulse { background: var(--acid); box-shadow: none; animation: none; }
.hero-topline .eyebrow { color: var(--ink); font-weight: 700; }
.hero-title { color: var(--ink); font-size: clamp(62px, 9.6vw, 150px); line-height: .86; letter-spacing: -.06em; max-width: 980px; padding-left: 0; }
.hero-title .line { white-space: normal; }
.hero-title .accent { color: var(--acid); }
.hero-title .accent::after { display: none; }
.hero-sub { color: #454545; border-left: 1px solid var(--ink); padding-left: 17px; max-width: 500px; margin-top: 28px; font-size: 13px; line-height: 1.9; }
.hero-ctas { margin-top: 30px; gap: 8px; }
.hero-ctas .btn { height: 48px; }
.hero-note { color: var(--muted); font-size: 10px; margin-top: 25px; }
.hero-note b { color: var(--ink); font-weight: 700; }
.hero-side { min-width: 0; }
.live-card {
  width: 100%; max-width: 420px; margin-left: auto;
  border: 1px solid var(--ink); border-radius: 0;
  background: var(--ink); color: #fff; backdrop-filter: none; box-shadow: none; padding: 20px;
}
.live-card::before { background: var(--acid); width: 50px; height: 3px; }
.live-head { border-bottom: 1px solid rgba(255,255,255,.25); }
.live-head .live-dot { color: #fff; font-weight: 700; }
.live-head .live-dot::before { background: var(--acid); animation: none; }
.live-head .season { color: rgba(255,255,255,.55); }
.live-score { padding: 24px 0 18px; }
.live-score .num { color: #fff; font-size: clamp(62px, 6.5vw, 92px); font-family: var(--latin); letter-spacing: -.08em; }
.live-score .label { color: rgba(255,255,255,.55); }
.live-stats { border-top: 1px solid rgba(255,255,255,.25); }
.live-stats .v { color: #fff; }
.live-stats .k { color: rgba(255,255,255,.5); }
.live-foot { color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.15); padding-top: 13px; }
.live-foot .top-name { color: #fff; }
.hero-scroll { color: var(--ink); }
.hero-scroll .line { background: var(--ink); }
.hero-scroll .line::after { background: var(--acid); animation: none; }

/* ---------- ticker ---------- */
.ticker { background: var(--acid); color: #fff; border-top: 0; border-bottom: 1px solid var(--ink); }
.ticker-item { font-family: var(--latin); font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 10px 22px; }
.ticker-item::after { content: '/'; color: rgba(255,255,255,.65); }

/* ---------- manifesto / stats ---------- */
.manifesto { background: var(--paper); border-bottom: 1px solid var(--ink); }
.manifesto-copy h2 { color: var(--ink); font-size: clamp(42px, 5.4vw, 78px); margin: 17px 0 25px; }
.manifesto-copy p { color: var(--muted); }
.manifesto-mark { color: transparent; -webkit-text-stroke: 1px rgba(17,17,17,.30); font-size: clamp(160px, 23vw, 340px); transform: none; }
.stat-band { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.stat-cell { padding: 26px 22px 28px; border-right: 1px solid var(--ink); background: var(--paper); }
.stat-cell .idx { color: var(--muted); font-size: 9px; }
.stat-cell .big { color: var(--ink); font-family: var(--latin); font-size: clamp(42px, 4.8vw, 70px); font-weight: 700; letter-spacing: -.07em; }
.stat-cell .big small { color: var(--muted); }
.stat-cell .cap { color: var(--muted); }
.stat-cell::after { width: 7px; height: 7px; border-radius: 0; background: var(--ink); }
.stat-cell:nth-child(2)::after { background: var(--acid); }

/* ---------- podium ---------- */
.podium-section { background: var(--chalk); border-bottom: 1px solid var(--ink); }
.podium-grid { gap: 1px; background: var(--ink); border: 1px solid var(--ink); align-items: stretch; }
.podium-card { border: 0; border-radius: 0; background: var(--paper); color: var(--ink); padding: 20px; min-height: 360px; }
.podium-card.first { background: var(--ink); color: #fff; min-height: 440px; }
.podium-card.second { background: var(--acid); color: #fff; }
.podium-card.third { background: var(--paper-2); color: var(--ink); }
.podium-rank { font-family: var(--latin); font-weight: 700; opacity: .12; }
.podium-card.first .podium-rank { color: #fff; opacity: .16; }
.podium-avatar { border: 1px solid currentColor; border-radius: 0; filter: none; background: var(--paper-2); }
.podium-badge { border-radius: 0; padding: 4px 7px; font-family: var(--latin); font-size: 8px; letter-spacing: .1em; }
.podium-shot {
  position: static !important;
  display: block;
  opacity: .55;
  font-size: 10px;
  line-height: 1.6;
  max-width: 160px;
  margin: 0 0 14px;
  z-index: auto;
}
.podium-name { font-size: clamp(30px, 3.4vw, 46px); }
.podium-points b { font-family: var(--latin); font-weight: 700; }
.podium-meta { opacity: .62; }

/* ---------- leaderboard ---------- */
.rank-section { background: var(--paper); border-bottom: 1px solid var(--ink); }
.rank-topbar { border-bottom: 0; }
.search-box { border-bottom: 1px solid var(--ink); min-width: 230px; }
.search-box input { font-family: var(--body); font-size: 12px; }
.season-switch { border: 1px solid var(--ink); border-radius: 0; padding: 0; gap: 0; }
.season-switch button { border-radius: 0; padding: 8px 12px; font-family: var(--latin); font-size: 9px; font-weight: 700; letter-spacing: .05em; color: var(--muted); }
.season-switch button.active { background: var(--ink); color: #fff; }
.rank-table { border-top: 1px solid var(--ink); }
.rank-row { border-bottom: 1px solid var(--line); padding: 13px 2px; }
.rank-row:hover { background: var(--paper-2); padding-left: 2px; padding-right: 2px; }
.rank-row .pos { font-family: var(--latin); font-size: 11px; }
.rank-player img { border-radius: 0; border: 1px solid var(--ink); }
.rank-player .name { font-weight: 600; }
.rank-player .sub { color: var(--muted); }
.rank-points { font-family: var(--latin); font-weight: 700; }
.rank-tier .tier-dot { border-radius: 0; background: var(--acid); }
.rank-row:nth-child(-n+3) .pos { color: var(--acid); font-weight: 700; }

/* ---------- matches ---------- */
.matches-section { background: var(--ink); color: #fff; border-top: 1px solid var(--ink); }
.matches-section .section-title { color: #fff; }
.matches-section .section-intro { color: rgba(255,255,255,.55); border-top-color: rgba(255,255,255,.4); }
.match-grid { gap: 1px; background: rgba(255,255,255,.28); border: 1px solid rgba(255,255,255,.28); }
.match-card { border: 0; border-radius: 0; background: var(--ink); color: #fff; min-height: 280px; padding: 20px; }
.match-card:hover { background: var(--acid); border-color: var(--acid); color: #fff; transform: none; }
.match-card .match-date { color: rgba(255,255,255,.5); }
.match-card .match-place { color: rgba(255,255,255,.55); }
.match-card .match-count span { color: rgba(255,255,255,.48); }
.match-card .match-go { border-color: rgba(255,255,255,.45); border-radius: 0; }
.match-card:hover .match-go { background: #fff; border-color: #fff; color: var(--ink); }
.match-card h3 { font-size: 33px; margin: 24px 0 12px; }
.match-state { color: var(--acid); }
.match-state::before { background: var(--acid); border-radius: 0; }
.page-section .match-card { border: 1px solid var(--ink); background: transparent; color: var(--ink); }
.page-section .match-card:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-section .match-card .match-date, .page-section .match-card .match-place, .page-section .match-card .match-count span { color: var(--muted); }
.page-section .match-card:hover .match-date, .page-section .match-card:hover .match-place, .page-section .match-card:hover .match-count span { color: rgba(255,255,255,.58); }
.page-section .match-card .match-state { color: var(--acid); }
.page-section .match-card .match-go { border-color: var(--ink); }

/* ---------- player spotlight ---------- */
.feature-section { background: var(--paper); border-bottom: 1px solid var(--ink); }
.feature-portrait { border: 1px solid var(--ink); background: var(--paper-2); min-height: 500px; }
.feature-portrait::before { border-color: rgba(17,17,17,.18); border-radius: 0; width: 72%; height: 72%; transform: rotate(45deg); }
.feature-portrait::after { color: var(--muted); }
.feature-portrait img { border: 1px solid var(--ink); border-radius: 0; filter: none; width: 74%; height: 74%; object-fit: cover; }
.feature-portrait .portrait-caption { color: var(--muted); }
.feature-content h2 { font-size: clamp(52px, 6.6vw, 96px); }
.feature-content .quote { color: var(--muted); border-left: 2px solid var(--acid); }
.feature-numbers { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.feature-numbers b { font-family: var(--latin); font-weight: 700; }
.feature-numbers span { color: var(--muted); }

/* ---------- mini program ---------- */
.mini-section { background: var(--acid); color: #fff; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.mini-section::before { display: none; }
.mini-copy h2 { color: #fff; font-size: clamp(38px, 4.8vw, 74px); white-space: pre-line; }
.mini-copy .kicker { color: #fff; }
.mini-copy .kicker::before { background: #fff; }
.mini-copy p { color: rgba(255,255,255,.82); }
.mini-features span { border: 1px solid rgba(255,255,255,.65); border-radius: 0; color: #fff; }
.mini-actions .btn { border-color: #fff; color: #fff; }
.mini-actions .btn-acid { background: #fff; border-color: #fff; color: var(--ink); }
.mini-actions .btn-acid:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.phone-card { border: 1px solid #fff; background: #fff; color: var(--ink); box-shadow: none; transform: none; }
.phone-card:hover { transform: none; }
.phone-screen { background: var(--ink); color: #fff; }
.phone-screen .p-title { font-family: var(--display); font-weight: 700; letter-spacing: -.045em; }
.qr-code { border: 1px solid var(--ink); background: #fff; }
.qr-label { color: var(--ink); }
.qr-label span { color: var(--muted); }

/* ---------- two-col / academy-rules teasers ---------- */
.two-col-section { background: var(--paper); border-bottom: 1px solid var(--ink); }
.two-col-grid { gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.feature-tile { border: 0; background: var(--chalk); color: var(--ink); padding: 34px; min-height: 330px; }
.feature-tile:hover { background: var(--ink); color: #fff; }
.feature-tile .tile-no { color: var(--muted); }
.feature-tile p { color: var(--muted); }
.feature-tile:hover p { color: rgba(255,255,255,.62); }
.tile-arrow { border: 1px solid currentColor; border-radius: 0; width: 38px; height: 38px; }
.feature-tile:hover .tile-arrow { background: var(--acid); border-color: var(--acid); color: #fff; }
.feature-tile .tile-bg { color: rgba(17,17,17,.04); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #fff; border-top: 1px solid var(--ink); padding-top: 58px; }
.footer-brand .brand-word { color: #fff; font-size: 25px; }
.footer-brand .brand-mark { background: var(--acid); }
.footer-brand p { color: rgba(255,255,255,.52); }
.footer-col h4 { color: rgba(255,255,255,.45); font-family: var(--latin); font-size: 9px; letter-spacing: .18em; }
.footer-col a { color: rgba(255,255,255,.72); font-size: 12px; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { color: rgba(255,255,255,.4); border-top: 1px solid rgba(255,255,255,.22); }
.footer-bottom .court-line { background: rgba(255,255,255,.22); }

/* ---------- inner pages ---------- */
.inner-hero { background: var(--ink); color: #fff; padding: 136px 0 58px; border-bottom: 1px solid var(--ink); }
.inner-hero::after { display: none; }
.inner-hero .kicker { color: #fff; }
.inner-hero .kicker::before { background: var(--acid); }
.inner-title { color: #fff; font-size: clamp(54px, 8.6vw, 124px); padding-left: 0; }
.inner-desc { color: rgba(255,255,255,.62); border-left: 1px solid rgba(255,255,255,.5); padding-left: 16px; }
.inner-meta { color: rgba(255,255,255,.45); border-top: 1px solid rgba(255,255,255,.28); padding-top: 12px; }
.inner-meta b { color: #fff; }
.page-section { background: var(--paper); border-bottom: 1px solid var(--line); }
.page-section.alt { background: var(--chalk); }
.page-toolbar h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.045em; }
.page-toolbar .count { color: var(--muted); }
.loading-page { background: var(--paper); color: var(--ink); }
.loader { border-color: var(--line); border-top-color: var(--acid); }

/* ---------- match detail ---------- */
.match-detail-head { background: var(--ink); color: #fff; }
.back-link { color: rgba(255,255,255,.58); }
.back-link:hover { color: #fff; }
.match-detail-meta { color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.28); padding-top: 12px; }
.match-detail-meta b { color: #fff; }
.detail-score { border-bottom: 1px solid var(--ink); }
.detail-side .side-avatar { border-radius: 0 !important; }
.games-grid { gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.game-card { border: 0; background: var(--chalk); }
.game-card .g-score b { font-family: var(--latin); font-weight: 700; }
.game-card .g-win { color: var(--acid); }
.detail-list { border-top: 1px solid var(--ink); }
.detail-list-row { border-bottom: 1px solid var(--line); }
.detail-list-row img { border-radius: 0 !important; }

/* ---------- player ---------- */
.player-hero { background: var(--ink); color: #fff; border-bottom: 1px solid var(--ink); }
.player-photo { border: 1px solid rgba(255,255,255,.65); background: var(--ink-2); }
.player-photo img { filter: none; }
.player-tags span { border-color: rgba(255,255,255,.5); color: rgba(255,255,255,.8); border-radius: 0; }
.player-name { color: #fff; font-size: clamp(58px, 9vw, 126px); }
.player-rank-big { color: var(--acid); font-family: var(--latin); font-weight: 700; }
.player-statbar { border-top: 1px solid rgba(255,255,255,.35); }
.player-statbar .cell { border-color: rgba(255,255,255,.18); }
.player-statbar b { font-family: var(--latin); font-weight: 700; }
.player-body { background: transparent; }
.panel { border: 1px solid var(--ink); background: var(--chalk); }
.panel-title h3 { font-family: var(--display); font-weight: 700; }
.panel-title .tiny { color: var(--muted); }
.radar-wrap { background: transparent; }
.tier-track span { background: var(--paper-3); }
.tier-track span.on { background: var(--ink); }
.tier-track span.current { background: var(--acid); }
.recent-row { border-color: var(--line); }
.badge-strip span, .player-tags span { border-radius: 0; }

/* ---------- rules ---------- */
.rules-layout { gap: 24px; background: transparent; border: 0; align-items: start; }
.rules-layout > * { height: auto; }
.rule-lab { border: 1px solid var(--ink); }
.rule-lab { border: 0; background: var(--chalk); }
.lab-head { border-bottom: 1px solid var(--ink); }
.rule-version { border: 1px solid var(--ink); border-radius: 0; }
.rule-version button { border-radius: 0; font-size: 9px; }
.rule-version button.active { background: var(--ink); color: #fff; }
.scoreboard { border-bottom: 1px solid var(--line); }
.score-team { border-bottom: 1px solid var(--line); }
.score-team .serve { border-radius: 0; background: var(--acid); }
.score-team .t-score { font-family: var(--latin); font-weight: 700; }
.score-status { border: 1px solid var(--ink); color: var(--ink); background: var(--paper); }
.score-actions { gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.score-actions button { border: 0; background: var(--chalk); color: var(--ink); }
.score-actions button:hover { background: var(--ink); color: #fff; }
.score-actions .reset { background: var(--paper-2); }
.lab-foot { border-top: 1px solid var(--ink); }
.court-wrap { border: 1px solid var(--ink); background: var(--chalk); }
.rule-notes { gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.rule-note { border: 0; background: var(--paper); }
.rule-note b { color: var(--ink); }
.rule-accordion { border-top: 1px solid var(--ink); }
.rule-acc { border-color: var(--line); }
.rule-acc button { font-size: 14px; font-weight: 600; }
.quiz-card { border: 1px solid var(--ink); background: var(--acid); color: #fff; }
.quiz-card h3 { color: #fff; }
.quiz-options button { border: 1px solid rgba(255,255,255,.7); background: transparent; color: #fff; }
.quiz-options button:hover { background: #fff; color: var(--ink); }
.quiz-options button.correct { background: var(--ink); border-color: var(--ink); color: #fff; }
.quiz-options button.wrong { background: #fff; border-color: #fff; color: var(--acid); }

/* ---------- academy ---------- */
.academy-intro p { color: var(--muted); }
.progress-bar { background: var(--paper-3); }
.progress-bar i { background: var(--acid); }
.module-list { border-top: 1px solid var(--ink); }
.module-row { border-bottom: 1px solid var(--line); padding: 24px 2px; }
.module-row:hover { background: var(--paper-2); padding-left: 2px; padding-right: 2px; }
.module-row h3 { font-family: var(--display); font-weight: 700; }
.lesson-body > p { color: var(--muted); }
.lesson-html p, .lesson-html li { color: var(--muted); }
.lesson-html li::before { color: var(--acid); }
.lesson-side { border: 1px solid var(--ink); background: var(--chalk); }
.lesson-side .drill { border-color: var(--line); }
.check-row input { accent-color: var(--ink); }
.rule-note a { color: var(--acid); }

/* ---------- about ---------- */
.about-copy p { color: var(--muted); }
.about-facts { border-top: 1px solid var(--ink); }
.about-poster { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.about-poster::before { border-color: rgba(226,35,26,.45); border-radius: 0; transform: rotate(45deg); }
.about-poster .poster-title { color: #fff; }
.about-poster .poster-stat b { color: var(--acid); }

/* ---------- BWF ---------- */
.bwf-toolbar { border-top: 1px solid var(--ink); padding-top: 14px; }
.bwf-section-title { font-size: clamp(40px, 5.4vw, 78px); }
.bwf-rank-layout { gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.bwf-podium { gap: 1px; background: var(--ink); }
.bwf-podium-card { border: 0; background: var(--paper); color: var(--ink); }
.bwf-podium-card:nth-child(1) { background: var(--ink); color: #fff; }
.bwf-podium-card:nth-child(2) { background: var(--acid); color: #fff; }
.bwf-podium-card:nth-child(3) { background: var(--paper-2); color: var(--ink); }
.bwf-rank-no { opacity: .14; }
.bwf-podium-card:nth-child(1) .bwf-rank-no { color: #fff; opacity: .18; }
.bwf-flag-wrap { color: var(--muted); }
.bwf-podium-card:nth-child(1) .bwf-flag-wrap { color: rgba(255,255,255,.6); }
.bwf-podium-card:nth-child(2) .bwf-flag-wrap { color: rgba(255,255,255,.8); }
.bwf-name { font-size: 36px; }
.bwf-points { font-family: var(--latin); font-weight: 700; }
.bwf-place { color: var(--muted); }
.bwf-podium-card:nth-child(1) .bwf-place, .bwf-podium-card:nth-child(2) .bwf-place { color: rgba(255,255,255,.65); }
.bwf-rank-table { border-top: 1px solid var(--ink); background: var(--chalk); }
.bwf-rank-row { border-bottom: 1px solid var(--line); }
.bwf-rank-row:hover { background: var(--paper-2); padding-left: 2px; padding-right: 2px; }
.bwf-rank-player img, .bwf-rank-player small, .bwf-rank-pos { }
.bwf-rank-player img { border: 1px solid var(--ink); }
.bwf-rank-points { font-family: var(--latin); font-weight: 700; }
.bwf-source-live.on { color: var(--acid); }
.bwf-source-live.on i { background: var(--acid); }
.bwf-live-strip { border: 1px solid var(--ink); background: var(--chalk); }
.bwf-live-dot { background: var(--acid); border-radius: 0; }
.bwf-event-grid { gap: 12px; background: transparent; border: 0; }
.bwf-event-card { border: 1px solid var(--ink); background: var(--chalk); color: var(--ink); }
.bwf-event-card:hover { background: var(--ink); color: #fff; }
.bwf-tier { border: 1px solid currentColor; border-radius: 0; }
.bwf-tier.tier-500 { background: var(--acid); color: #fff; }
.bwf-tier.tier-300 { background: var(--paper-2); color: var(--ink); }
.bwf-event-results { border-top: 1px solid var(--line); }
.bwf-event-card:hover .bwf-event-results { border-color: rgba(255,255,255,.3); }
.bwf-result-row { border-color: var(--line); }
.bwf-event-card:hover .bwf-result-row { border-color: rgba(255,255,255,.2); }
.bwf-result-score { font-family: var(--latin); font-weight: 700; }
.bwf-data-note { border-top: 1px solid var(--ink); color: var(--muted); }
.bwf-official { border-top: 1px solid var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1.2fr .8fr; }
  .hero-title { font-size: clamp(64px, 11vw, 128px); }
  .podium-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .podium-card.first { grid-row: span 2; }
  .match-grid { grid-template-columns: 1fr 1fr; }
  .event-grid, .bwf-event-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --page-pad: 17px; }
  .header-inner { height: 66px; }
  .brand-word { font-size: 19px; }
  .brand-mark { width: 25px; height: 25px; }
  .nav { display: none; }
  .header-mini { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .hero { padding: 102px 0 46px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; align-items: start; }
  .hero-title { font-size: clamp(52px, 16vw, 92px); }
  .hero-sub { font-size: 12px; }
  .hero-side { width: 100%; }
  .live-card { max-width: 100%; }
  .hero-grid { display: none; }
  .manifesto-grid { grid-template-columns: 1fr; }
  .manifesto-mark { font-size: 150px; text-align: right; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--ink); }
  .podium-grid { display: flex; overflow-x: auto; gap: 1px; padding: 1px; }
  .podium-card, .podium-card.first { min-width: 260px; min-height: 320px; }
  .podium-avatar, .podium-card.first .podium-avatar { width: 92px; height: 92px; }
  .rank-row { grid-template-columns: 24px minmax(0,1fr) 66px 78px 20px; gap: 6px; }
  .rank-row .rank-tier { display: inline-flex; }
  .rank-row .rank-trend { display: none; }
  .rank-row .rank-arrow:last-child { display: block; }
  .rank-row .rank-tier .tier-name { font-size: 9px; }
  .rank-row .rank-tier .tier-img { width: 19px; height: 21px; }
  .match-grid { grid-template-columns: 1fr; }
  .match-card:last-child:nth-child(odd) { grid-column: auto; }
  .feature-grid, .mini-grid, .about-grid { grid-template-columns: 1fr; }
  .feature-portrait { min-height: 340px; }
  .feature-portrait img { width: 62%; height: 62%; }
  .two-col-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .inner-hero { padding: 102px 0 40px; }
  .inner-title { font-size: clamp(44px, 13vw, 82px); }
  .player-hero-grid { grid-template-columns: 110px 1fr; gap: 16px; }
  .player-photo { width: 110px; height: 140px; }
  .player-name { font-size: 52px; }
  .player-hero-side { grid-column: 1 / -1; text-align: left; display: flex; gap: 14px; padding-bottom: 16px; }
  .player-statbar { grid-template-columns: 1fr 1fr; }
  .player-statbar .cell:nth-child(2) { border-right: 0; }
  .player-statbar .cell:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .player-body { grid-template-columns: 1fr; }
  .players-grid { grid-template-columns: 1fr 1fr; }
  .detail-side .side-avatar { width: 44px; height: 44px; }
  .detail-side .side-name { font-size: 26px; }
  .detail-score { padding: 28px 0; gap: 8px; }
  .games-grid { grid-template-columns: 1fr; }
  .detail-list-row { grid-template-columns: 30px minmax(0,1fr) 66px; }
  .detail-list-row .time { display: none; }
  .rules-layout { grid-template-columns: 1fr; }
  .academy-intro { grid-template-columns: 1fr; }
  .module-row { grid-template-columns: 36px 1fr; gap: 8px 14px; }
  .module-row .m-desc, .module-row .m-meta { grid-column: 2; }
  .lesson-layout { grid-template-columns: 1fr; }
  .lesson-side { position: static; }
  .bwf-podium { grid-template-columns: 1fr; }
  .bwf-event-grid { grid-template-columns: 1fr; }
  .bwf-toolbar { display: block; }
  .bwf-toolbar-actions { margin-top: 14px; justify-content: space-between; }
  .bwf-official { display: block; }
  .bwf-official-actions { margin-top: 24px; }
  .about-poster { min-height: 360px; }
  .site-footer { padding-top: 44px; }
}
@media (max-width: 420px) {
  .brand-word { font-size: 17px; }
  .hero-title { font-size: 50px; }
  .hero-ctas .btn { width: 100%; }
  .players-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Player portraits keep their natural colours */
.rank-player img,
.player-card img,
.detail-list-row img,
.podium-avatar,
.player-photo img,
.feature-portrait img {
  filter: none !important;
}
.rank-player img,
.player-card img,
.detail-list-row img {
  border: 1px solid var(--ink) !important;
}

/* ---------- home / BWF live bridge ---------- */
.home-bwf-section { background: var(--ink); color: #fff; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.home-bwf-section .section-title { color: #fff; }
.home-bwf-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; }
.home-bwf-rank { border-top: 1px solid rgba(255,255,255,.5); }
.home-bwf-label { display: flex; justify-content: space-between; padding: 11px 0; font-family: var(--latin); font-size: 9px; font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.55); border-bottom: 1px solid rgba(255,255,255,.25); }
.home-bwf-row { display: grid; grid-template-columns: 30px 22px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.home-bwf-pos { font-family: var(--latin); font-size: 10px; color: rgba(255,255,255,.5); }
.home-bwf-row img { width: 22px; height: 15px; object-fit: cover; border: 1px solid rgba(255,255,255,.4); }
.home-bwf-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-bwf-name small { font-size: 9px; font-weight: 400; color: rgba(255,255,255,.48); margin-left: 8px; }
.home-bwf-points { font-family: var(--latin); font-size: 13px; font-weight: 700; letter-spacing: -.02em; }
.home-bwf-empty { padding: 20px 0; color: rgba(255,255,255,.5); font-size: 11px; }
.home-bwf-events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.35); }
.home-bwf-event { background: var(--ink); color: #fff; padding: 16px; min-height: 185px; display: flex; flex-direction: column; }
.home-bwf-event-top { display: flex; justify-content: space-between; gap: 8px; font-family: var(--latin); font-size: 8px; color: rgba(255,255,255,.48); text-transform: uppercase; }
.home-bwf-tier { color: var(--acid); font-weight: 700; }
.home-bwf-event h3 { font-family: var(--display); font-size: 23px; font-weight: 700; line-height: .98; letter-spacing: -.035em; margin: 30px 0 12px; }
.home-bwf-result { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2); font-size: 9px; color: rgba(255,255,255,.6); }
.home-bwf-result b { font-family: var(--latin); color: #fff; font-size: 13px; font-weight: 700; }
.home-bwf-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid rgba(255,255,255,.28); margin-top: 24px; padding-top: 14px; color: rgba(255,255,255,.45); font-family: var(--latin); font-size: 9px; letter-spacing: .04em; }
@media (max-width: 1080px) {
  .home-bwf-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .home-bwf-events { grid-template-columns: 1fr; }
  .home-bwf-event { min-height: 140px; }
  .home-bwf-event h3 { margin-top: 18px; }
  .home-bwf-foot { display: block; }
  .home-bwf-foot .arrow-link { display: inline-block; margin-top: 12px; }
}

/* compact world-tour strip under hero ticker */
.world-strip { background: var(--ink); color: #fff; border-bottom: 1px solid var(--ink); }
.world-strip-inner { display: flex; align-items: center; gap: 22px; min-height: 46px; flex-wrap: wrap; padding: 9px 0; }
.world-strip-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--latin); font-size: 9px; font-weight: 700; letter-spacing: .14em; color: #fff; white-space: nowrap; }
.world-strip-label i { width: 6px; height: 6px; background: var(--acid); display: inline-block; }
.world-strip-item { font-family: var(--latin); font-size: 9px; letter-spacing: .07em; color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 38vw; }
.world-strip-item b { color: #fff; font-weight: 700; }
.world-strip-link { margin-left: auto; font-family: var(--latin); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--acid); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.world-strip-link:hover { color: #fff; }
@media (max-width: 760px) {
  .world-strip-inner { gap: 8px 16px; padding: 10px 0; }
  .world-strip-item { max-width: 100%; }
  .world-strip-link { margin-left: 0; width: 100%; padding-top: 5px; }
}

/* secondary hero action must stay readable on paper */
.hero .btn-ghost-light { border-color: var(--ink); color: var(--ink); }
.hero .btn-ghost-light:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }


/* brand consistency: original mini-program logo, footer on paper */
.footer-brand img { display: block; width: 174px; height: auto; margin-bottom: 18px; filter: none; }
.site-footer { background: var(--paper); color: var(--ink); border-top: 1px solid var(--ink); }
.footer-brand .brand-word { color: var(--ink); }
.footer-brand p { color: var(--muted); }
.footer-col h4 { color: var(--muted); }
.footer-col a { color: #3d3d3d; }
.footer-col a:hover { color: var(--acid); text-decoration: none; }
.footer-bottom { color: var(--muted); border-top: 1px solid var(--ink); }
.footer-bottom .court-line { background: var(--ink); }
@media (max-width: 760px) {
  .brand img { width: 118px; }
  .footer-brand img { width: 152px; }
}


/* mini-program tier icon + name */
.tier-img { width: 22px; height: 24px; object-fit: contain; flex-shrink: 0; }
.rank-tier { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; white-space: nowrap; }
.rank-tier .tier-name { color: var(--ink); }
.player-card-foot .tier { display: flex; align-items: center; gap: 6px; }
.player-card-foot .tier .tier-img { width: 21px; height: 23px; }
.player-tier-tag { display: inline-flex !important; align-items: center; gap: 6px; }
.player-tier-tag .tier-img { width: 19px; height: 21px; }
podium .tier-img, .podium .tier-img { width: 0; }

/* ---------- season ranking, BWF-style layout ---------- */
.rank-page-toolbar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 34px; }
.rank-page-search { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--ink); min-width: 230px; padding: 5px 0; }
.rank-page-search input { border: 0; background: transparent; outline: 0; width: 100%; font-size: 12px; padding: 5px 0; }
.rank-page-search svg { opacity: .55; flex-shrink: 0; }
.rank-page-count { margin-left: auto; font-family: var(--latin); font-size: 9px; letter-spacing: .08em; color: var(--muted); }
.rank-page-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 34px; align-items: start; }
.rank-page-podium { display: grid; gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.rank-page-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 202px; padding: 18px; color: var(--ink); text-decoration: none;
  background: var(--paper); overflow: hidden;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.rank-page-card.card-1 { background: var(--ink); color: #fff; min-height: 236px; }
.rank-page-card.card-2 { background: var(--acid); color: #fff; }
.rank-page-card.card-3 { background: var(--paper-2); color: var(--ink); }
.rank-page-card:hover { filter: brightness(1.03); }
.rank-page-card-rank { position: absolute; top: 6px; right: 16px; font-family: var(--latin); font-size: 78px; line-height: 1; letter-spacing: -.08em; opacity: .13; }
.rank-page-card.card-1 .rank-page-card-rank { opacity: .24; }
.rank-page-avatar { width: 64px; height: 64px; object-fit: cover; border: 1px solid currentColor; margin-bottom: 14px; background: var(--paper-2); }
.rank-page-card-name { font-family: var(--display); font-size: 34px; font-weight: 700; line-height: .95; letter-spacing: -.04em; }
.rank-page-card-tier { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 10px; opacity: .7; }
.rank-page-card-tier img { width: 18px; height: 20px; object-fit: contain; }
.rank-page-card-points { font-family: var(--latin); font-size: 25px; font-weight: 700; letter-spacing: -.05em; margin-top: 12px; }
.rank-page-card-points small { font-size: 8px; letter-spacing: .1em; opacity: .55; }
.rank-page-card-label { position: absolute; top: 18px; left: 18px; font-family: var(--latin); font-size: 8px; font-weight: 700; letter-spacing: .12em; opacity: .55; }
.rank-page-list { border-top: 1px solid var(--ink); }
.rank-page-list-head { display: grid; grid-template-columns: 38px minmax(0,1fr) 102px 58px; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--ink); font-family: var(--latin); font-size: 8px; letter-spacing: .12em; color: var(--muted); text-align: left; }
.rank-page-list-head span:last-child { text-align: right; }
.rank-page-row { display: grid; grid-template-columns: 38px minmax(0,1fr) 102px 58px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.rank-page-row:hover { background: var(--paper-2); padding-left: 4px; padding-right: 4px; }
.rank-page-pos { font-family: var(--latin); font-size: 10px; color: var(--muted); }
.rank-page-player { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rank-page-player > img { width: 32px; height: 32px; object-fit: cover; border: 1px solid var(--ink); flex-shrink: 0; }
.rank-page-player-text { display: flex; flex-direction: column; min-width: 0; }
.rank-page-player-text b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-page-player-text small { color: var(--muted); font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.rank-page-tier { display: flex; align-items: center; gap: 5px; font-size: 10px; white-space: nowrap; }
.rank-page-tier img { width: 19px; height: 21px; object-fit: contain; flex-shrink: 0; }
.rank-page-points { text-align: right; font-family: var(--latin); font-size: 14px; font-weight: 700; }
.rank-page-empty { padding: 26px 0; color: var(--muted); font-size: 12px; }
@media (max-width: 1080px) {
  .rank-page-layout { grid-template-columns: 1fr; gap: 28px; }
  .rank-page-podium { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .rank-page-toolbar { gap: 12px; }
  .rank-page-search { min-width: 0; flex: 1 1 180px; }
  .rank-page-count { margin-left: 0; }
  .rank-page-podium { grid-template-columns: 1fr; }
  .rank-page-card, .rank-page-card.card-1 { min-height: 158px; }
  .rank-page-avatar { width: 50px; height: 50px; margin-bottom: 10px; }
  .rank-page-card-name { font-size: 28px; }
  .rank-page-card-label { font-size: 7px; }
  .rank-page-card-rank { font-size: 58px; }
  .rank-page-list-head, .rank-page-row { grid-template-columns: 24px minmax(0,1fr) 78px 46px; gap: 6px; }
  .rank-page-player > img { width: 28px; height: 28px; }
  .rank-page-player-text small { display: none; }
  .rank-page-tier { font-size: 9px; }
  .rank-page-tier img { width: 17px; height: 19px; }
  .rank-page-points { font-size: 12px; }
}

/* =========================================================
   PREMIUM LAYER / editorial details
   ========================================================= */
/* subtle paper grain, barely there */
body::before {
  display: block !important;
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9997;
  opacity: .028;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* opening curtain */
.site-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--paper);
  color: var(--ink);
  padding: calc(var(--page-pad) + 8px) var(--page-pad);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity .65s var(--ease), visibility .65s var(--ease);
}
.site-intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.site-intro-top, .site-intro-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--latin); font-size: 9px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.site-intro-center { flex: 1; display: flex; align-items: center; justify-content: center; }
.site-intro-center img { width: min(420px, 63vw); height: auto; display: block; }
.site-intro-caption { color: var(--ink); }
.site-intro-line { width: min(280px, 42vw); height: 1px; background: var(--line); position: relative; overflow: hidden; }
.site-intro-line i { position: absolute; inset: 0; background: var(--acid); transform-origin: left; animation: introLine 1.05s .08s var(--ease) both; }
@keyframes introLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* reading progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 10001; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: var(--acid); transform-origin: left; transform: scaleX(0); will-change: transform; }

/* editorial reveal */
.swiss-reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.swiss-reveal.is-in { opacity: 1; transform: translateY(0); }

/* hero lines as a composed opening */
.hero-title .line { animation: heroLine 1s .16s var(--ease) both; }
.hero-title .line:nth-child(2) { animation-delay: .27s; }
@keyframes heroLine { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* very large footer imprint */
.footer-mega {
  font-family: var(--latin);
  font-weight: 700;
  font-size: clamp(72px, 15.8vw, 238px);
  line-height: .68;
  letter-spacing: -.095em;
  white-space: nowrap;
  overflow: hidden;
  color: rgba(17, 17, 17, .055);
  margin: 28px 0 2px;
  user-select: none;
}

@media (max-width: 760px) {
  .site-intro { padding: 24px 20px; }
  .site-intro-top, .site-intro-bottom { font-size: 8px; }
  .site-intro-center img { width: min(320px, 80vw); }
  .site-intro-line { width: 46vw; }
  .footer-mega { font-size: 19vw; margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .swiss-reveal { opacity: 1 !important; transform: none !important; }
  .hero-title .line { animation: none !important; }
  .site-intro { display: none !important; }
}

/* Swiss lockup */
.brand img, .footer-brand img { display: none !important; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; background: var(--acid); padding: 0; display: block; flex-shrink: 0; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-word { font-family: var(--latin); font-size: 20px; font-weight: 700; letter-spacing: -.06em; line-height: .9; color: var(--ink); white-space: nowrap; }
.brand-sub { font-family: var(--latin); font-size: 6px; font-weight: 700; letter-spacing: .2em; line-height: 1; color: var(--muted); white-space: nowrap; }
.footer-lockup { display: inline-flex; margin-bottom: 18px; gap: 12px; }
.footer-lockup .brand-mark { width: 35px; height: 35px; }
.footer-lockup .brand-word { font-size: 24px; color: var(--ink); }
.footer-lockup .brand-sub { font-size: 6.5px; color: var(--muted); }
.site-intro-lockup { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.site-intro-mark { width: clamp(52px, 6vw, 78px); height: clamp(52px, 6vw, 78px); display: block; }
.site-intro-mark svg { width: 100%; height: 100%; display: block; }
.site-intro-word { font-family: var(--latin); font-size: clamp(28px, 4.2vw, 58px); font-weight: 700; line-height: .9; letter-spacing: -.065em; color: var(--ink); }
.site-intro-sub { font-family: var(--latin); font-size: 8px; font-weight: 700; letter-spacing: .18em; color: var(--muted); }
@media (max-width: 760px) {
  .brand { gap: 8px; }
  .brand-mark { width: 25px; height: 25px; }
  .brand-word { font-size: 17px; }
  .brand-sub { font-size: 5px; letter-spacing: .15em; }
  .footer-lockup .brand-mark { width: 29px; height: 29px; }
  .footer-lockup .brand-word { font-size: 21px; }
  .site-intro-mark { width: 52px; height: 52px; }
  .site-intro-word { font-size: 32px; }
}

/* live data status in header */
.header-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--latin); font-size: 8px; font-weight: 700;
  letter-spacing: .14em; color: var(--muted); white-space: nowrap;
}
.header-live i { width: 6px; height: 6px; background: var(--acid); display: inline-block; animation: livePulse 1.8s var(--ease) infinite; }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (max-width: 760px) {
  .header-live { display: none; }
}
