/* TTF Altshausen — design system. Table-tennis theme: table blue, white lines, net, rubber red, white ball. */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-italic-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }

:root {
  --night: #06132b;
  --navy: #0a2150;
  --table: #1a4d9e;
  --table-2: #2461c2;
  --line: #ffffff;
  --paper: #f3f5fa;
  --paper-2: #e7ebf4;
  --ink: #0b1426;
  --muted: #5a6680;
  --rubber: #e32431;
  --rubber-dark: #b3141f;
  --yellow: #ffd21f;
  --card: #ffffff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(6, 19, 43, .06), 0 10px 30px -12px rgba(6, 19, 43, .22);
  --page-x: clamp(1.1rem, 4vw, 3rem);
  --max: 1240px;
  --header-h: 72px;
  --dock-h: 66px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 1rem; line-height: 1.6; font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 200; padding: .7rem 1rem; background: var(--ink); color: #fff; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--page-x), var(--max)); margin-inline: auto; }

/* ---------- Type ---------- */
.display, h1, h2, h3 { font-family: var(--display); font-variation-settings: "wdth" 115; font-weight: 820; letter-spacing: -.02em; line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 7.2vw, 5.6rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-variation-settings: "wdth" 108; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 44rem; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font-size: .76rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; color: var(--table); }
.kicker::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 30%, #dfe4ee 70%, #b9c2d4 100%); box-shadow: 0 0 0 1px rgba(10,33,80,.18), 0 2px 5px rgba(6,19,43,.25); flex: none; }
.on-dark .kicker, .kicker.light { color: #9ec0ff; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: 0 1.4rem; border-radius: 999px; border: 0; font-weight: 750; font-size: .98rem; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--rubber); color: #fff; box-shadow: 0 8px 22px -10px rgba(227,36,49,.8); }
.btn-primary:hover { background: var(--rubber-dark); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e9eefb; }
.btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.on-light .btn-ghost:hover, .btn-ghost.dark:hover { background: rgba(10,33,80,.06); }
.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 750; color: var(--table); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; height: var(--header-h); background: rgba(6,19,43,.86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; flex: none; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.35)); }
.brand-text { display: grid; line-height: 1; }
.brand-text strong { font-family: var(--display); font-variation-settings: "wdth" 118; font-weight: 850; font-size: 1.08rem; letter-spacing: -.01em; }
.brand-text span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; opacity: .72; margin-top: .3rem; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: .15rem; }
.main-nav a { position: relative; padding: .55rem .8rem; font-size: .9rem; font-weight: 650; color: rgba(255,255,255,.82); text-decoration: none; border-radius: 999px; transition: color .2s, background-color .2s; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.main-nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.12); }
.menu-trigger { display: inline-flex; align-items: center; gap: .55rem; margin-left: .5rem; padding: .35rem .95rem .35rem .4rem; border: 0; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 750; font-size: .88rem; cursor: pointer; }
.menu-trigger img { width: 30px; height: 30px; transition: transform .5s var(--ease); }
.menu-trigger:hover img { transform: rotate(-35deg); }

/* ---------- Mobile dock with ball ---------- */
.dock { display: none; }
@media (max-width: 960px) {
  .main-nav, .menu-trigger { display: none; }
  .site-header { --header-h: 62px; height: 62px; }
  html { scroll-padding-top: 74px; }
  body { padding-bottom: calc(var(--dock-h) + var(--safe-b)); }
  .dock { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding-bottom: var(--safe-b); background: rgba(6,19,43,.94); -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px); border-top: 1px solid rgba(255,255,255,.1); }
  .dock::before { /* the table's centre line running through the bar */ content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55) 20%, rgba(255,255,255,.55) 80%, transparent); }
  .dock ul { list-style: none; margin: 0 auto; padding: 0 .35rem; height: var(--dock-h); max-width: 560px; display: grid; grid-template-columns: 1fr 1fr 84px 1fr 1fr; align-items: center; }
  .dock a { display: grid; justify-items: center; gap: 3px; padding: 8px 2px; color: rgba(255,255,255,.72); text-decoration: none; font-size: .68rem; font-weight: 650; letter-spacing: .01em; line-height: 1.1; border-radius: 12px; }
  .dock a svg { width: 22px; height: 22px; }
  .dock a[aria-current="page"] { color: #fff; }
  .dock a[aria-current="page"] svg { color: var(--yellow); }
  .dock-ball { position: relative; justify-self: center; width: 70px; height: 70px; margin-top: -30px; border: 0; padding: 0; border-radius: 50%; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .dock-ball::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; background: var(--night); box-shadow: 0 -1px 0 rgba(255,255,255,.12); }
  .dock-ball img { position: relative; width: 70px; height: 70px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); transition: transform .45s var(--ease); }
  .dock-ball .dock-ball-label { position: absolute; left: 50%; bottom: -15px; transform: translateX(-50%); font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.72); white-space: nowrap; }
  .dock-ball[aria-expanded="true"] img { transform: rotate(200deg) scale(.92); }
  .js .dock-ball.is-arriving img { animation: ball-drop 1.05s var(--ease) both; }
}
@keyframes ball-drop {
  0% { transform: translateY(-120px) rotate(-160deg); opacity: 0; }
  35% { transform: translateY(0) rotate(-40deg); opacity: 1; }
  52% { transform: translateY(-26px) rotate(-10deg); }
  68% { transform: translateY(0) rotate(0); }
  80% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

/* ---------- Menu sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 90; display: none; }
.sheet.is-open { display: block; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(4,10,24,.55); opacity: 0; transition: opacity .3s var(--ease); }
.sheet.is-visible .sheet-backdrop { opacity: 1; }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: min(88dvh, 860px); overflow: auto; overscroll-behavior: contain; background: var(--night); color: #fff; border-radius: 26px 26px 0 0; padding: 1.4rem var(--page-x) calc(1.6rem + var(--dock-h) + var(--safe-b)); transform: translateY(100%); transition: transform .45s var(--ease); }
.sheet.is-visible .sheet-panel { transform: none; }
@media (min-width: 961px) {
  .sheet-panel { top: var(--header-h); bottom: auto; max-height: calc(100dvh - var(--header-h)); border-radius: 0 0 26px 26px; padding-bottom: 2.2rem; transform: translateY(-16px); opacity: 0; transition: transform .35s var(--ease), opacity .3s var(--ease); }
  .sheet.is-visible .sheet-panel { opacity: 1; }
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: var(--max); margin: 0 auto 1.2rem; }
.sheet-head strong { font-family: var(--display); font-variation-settings: "wdth" 118; font-size: 1.35rem; font-weight: 820; }
.sheet-close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.sheet-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.4rem 2rem; }
.sheet-group h2 { font-size: .74rem; font-variation-settings: "wdth" 100; letter-spacing: .16em; text-transform: uppercase; font-weight: 750; color: #9ec0ff; margin: 0 0 .55rem; }
.sheet-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.sheet-group a { display: block; padding: .42rem 0; color: #fff; text-decoration: none; font-weight: 600; font-size: 1.02rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.sheet-group a:hover, .sheet-group a[aria-current="page"] { color: var(--yellow); }
body.sheet-open { overflow: hidden; }

/* ---------- Table-surface sections ---------- */
.on-dark { color: #fff; }
.surface { position: relative; background: radial-gradient(120% 90% at 50% 0%, var(--table-2) 0%, var(--table) 42%, var(--navy) 100%); color: #fff; overflow: hidden; isolation: isolate; }
.surface::before { /* table edge lines */ content: ""; position: absolute; inset: clamp(10px, 1.6vw, 18px); border: 2px solid rgba(255,255,255,.7); border-radius: 6px; pointer-events: none; z-index: -1; }
.surface.with-centre::after { /* centre line */ content: ""; position: absolute; left: 50%; top: clamp(10px, 1.6vw, 18px); bottom: clamp(10px, 1.6vw, 18px); width: 2px; margin-left: -1px; background: rgba(255,255,255,.45); pointer-events: none; z-index: -1; }

.night { background: var(--night); color: #fff; }

/* Net divider between sections */
.net { position: relative; height: 34px; background: var(--night); overflow: hidden; }
.net::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 6px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.2); }
.net::after { content: ""; position: absolute; left: 0; right: 0; top: 12px; bottom: 0; background-image: linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px); background-size: 7px 7px; }
.net.to-paper { background: var(--paper); }
.net.to-paper::after { background-image: linear-gradient(90deg, rgba(10,33,80,.2) 1px, transparent 1px), linear-gradient(rgba(10,33,80,.2) 1px, transparent 1px); }
.net.to-paper::before { background: var(--navy); }

.section { padding: clamp(3.8rem, 9vw, 7rem) 0; }
.section-tight { padding: clamp(2.6rem, 6vw, 4.2rem) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head > div { max-width: 46rem; }
.section-head .lead { margin: 1rem 0 0; }
.set-no { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(calc(100svh - var(--header-h) - 64px), 820px); display: grid; align-items: center; padding: clamp(3rem, 8vw, 6rem) 0 clamp(4.5rem, 9vw, 7rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.hero h1 { font-size: clamp(2.7rem, 7.4vw, 6.4rem); font-variation-settings: "wdth" 122; font-weight: 860; letter-spacing: -.035em; line-height: .94; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .lead { color: rgba(255,255,255,.82); margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2rem; padding: 0; list-style: none; font-size: .9rem; color: rgba(255,255,255,.78); }
.hero-meta li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta svg { width: 18px; height: 18px; color: var(--yellow); }
.hero-stage { position: relative; aspect-ratio: 1; width: min(100%, 520px); justify-self: center; }
.hero-ball { position: absolute; left: 50%; top: 44%; width: 58%; transform: translate(-50%, -50%); z-index: 2; filter: drop-shadow(0 30px 34px rgba(0,0,0,.4)); }
.hero-ball img { width: 100%; }
.js .hero-ball.is-in img { animation: hero-bounce 1.6s var(--ease) both; }
.hero-shadow { position: absolute; left: 50%; bottom: 12%; width: 46%; height: 7%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); z-index: 1; }
.js .hero-shadow.is-in { animation: hero-shadow 1.6s var(--ease) both; }
.hero-orbit { position: absolute; inset: 4%; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.28); }
.hero-orbit::after { content: ""; position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 5px rgba(255,210,31,.22); }
.hero-tag { position: absolute; z-index: 3; padding: .55rem .85rem; border-radius: 14px; background: rgba(6,19,43,.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.14); font-size: .78rem; line-height: 1.25; }
.hero-tag b { display: block; font-family: var(--display); font-variation-settings: "wdth" 118; font-size: 1.2rem; }
@keyframes hero-bounce {
  0% { transform: translateY(-70%) scale(.9) rotate(-120deg); opacity: 0; }
  30% { transform: translateY(0) scale(1) rotate(-30deg); opacity: 1; }
  48% { transform: translateY(-14%) rotate(-10deg); }
  64% { transform: translateY(0) rotate(0); }
  78% { transform: translateY(-4%); }
  100% { transform: translateY(0); }
}
@keyframes hero-shadow { 0% { opacity: 0; transform: translateX(-50%) scale(.4); } 30%, 64%, 100% { opacity: 1; transform: translateX(-50%) scale(1); } 48% { opacity: .55; transform: translateX(-50%) scale(.75); } }
@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: 1.4rem; padding-bottom: 4.2rem; }
  .hero .wrap { grid-template-columns: 1fr; gap: .6rem; }
  .hero-stage { order: -1; width: min(46vw, 190px); margin: 0 auto -.2rem; }
  .hero-tag { display: none; }
  .hero .kicker { font-size: .66rem; letter-spacing: .12em; margin-bottom: .7rem; }
  .hero h1 { font-size: clamp(2.35rem, 11.4vw, 3.4rem); }
  .hero .lead { font-size: 1rem; margin-top: .9rem; }
  .hero-actions { margin-top: 1.3rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-meta { margin-top: 1.2rem; font-size: .85rem; }
}
.hero-tag.t1 { left: -4%; top: 8%; }
.hero-tag.t2 { right: -2%; bottom: 16%; }
.btn .btn-ball { width: 24px; height: 24px; margin-left: -.35rem; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); transition: transform .5s var(--ease); }
.btn:hover .btn-ball { transform: rotate(-60deg); }

/* Ball intro (mobile): hero ball bounces in, falls into the dock and becomes the menu button */
.ball-flight { position: fixed; left: 0; top: 0; z-index: 75; pointer-events: none; transform-origin: 50% 50%; will-change: transform, filter; }
.ball-flight img { width: 100%; height: 100%; display: block; }
@media (max-width: 960px) {
  .ball-docked .hero-stage { display: none; }
  .ball-intro .dock-ball img { opacity: 0; }
  .hero-stage.is-leaving { overflow: hidden; transition: height .8s var(--ease), margin .8s var(--ease), opacity .45s ease; }
  .hero-stage.is-leaving .hero-ball { visibility: hidden; }
  .hero-stage.is-gone { height: 0 !important; margin-top: 0; margin-bottom: -.6rem; opacity: 0; }
  .dock-ball.just-caught::before { animation: dock-catch .45s var(--ease); }
}
@keyframes dock-catch { 0% { transform: scale(1); } 40% { transform: scale(1.1); } 100% { transform: scale(1); } }

/* ---------- Scoreboard stats ---------- */
.scoreboard { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--night); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.score { padding: clamp(1.1rem, 2.4vw, 1.8rem); border-right: 1px solid rgba(255,255,255,.08); color: #fff; }
.score:last-child { border-right: 0; }
.score b { display: block; font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 850; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.score b small { font-size: .5em; color: var(--yellow); margin-left: .1em; }
.score span { display: block; margin-top: .55rem; font-size: .86rem; color: rgba(255,255,255,.7); line-height: 1.35; }
@media (max-width: 760px) { .scoreboard { grid-template-columns: 1fr 1fr; } .score:nth-child(2) { border-right: 0; } .score:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); } }
.scoreboard-float { margin-top: calc(-1 * clamp(2.5rem, 5vw, 3.5rem)); position: relative; z-index: 3; box-shadow: 0 24px 50px -24px rgba(6,19,43,.6); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-body { padding: 1.3rem 1.35rem 1.45rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card-media { aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card .meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .8rem; color: var(--muted); font-weight: 600; }
.card p { margin: 0; color: #394660; font-size: .96rem; }
.card-rubber { border-top: 5px solid var(--rubber); }
.card-rubber.black { border-top-color: #111; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .6rem; border-radius: 999px; background: #e8eefb; color: var(--table); font-size: .74rem; font-weight: 750; letter-spacing: .02em; }
.chip.red { background: #fde8ea; color: var(--rubber-dark); }
.chip.dark { background: rgba(255,255,255,.12); color: #fff; }
.score-chip { font-family: var(--display); font-variation-settings: "wdth" 118; font-weight: 850; font-variant-numeric: tabular-nums; }

/* Hub tiles (navigation to sub topics) */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1rem; }
.tile { position: relative; display: grid; align-content: space-between; gap: 2.2rem; min-height: 190px; padding: 1.35rem; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); text-decoration: none; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tile:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(6,19,43,.06), 0 18px 40px -14px rgba(6,19,43,.35); }
.tile .tile-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #e8eefb; color: var(--table); }
.tile .tile-ico svg { width: 24px; height: 24px; }
.tile h3 { font-size: 1.3rem; }
.tile p { margin: .4rem 0 0; font-size: .92rem; color: var(--muted); }
.tile .tile-count { position: absolute; right: 1.2rem; top: 1.2rem; font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 800; font-size: .78rem; color: var(--muted); letter-spacing: .08em; }
.tile.blue { background: linear-gradient(160deg, var(--table-2), var(--navy)); color: #fff; }
.tile.blue p, .tile.blue .tile-count { color: rgba(255,255,255,.75); }
.tile.blue .tile-ico { background: rgba(255,255,255,.14); color: #fff; }
.tile.red { background: linear-gradient(160deg, #f0414c, var(--rubber-dark)); color: #fff; }
.tile.red p, .tile.red .tile-count { color: rgba(255,255,255,.8); }
.tile.red .tile-ico { background: rgba(255,255,255,.16); color: #fff; }
.tile .tile-ball { position: absolute; right: 14px; bottom: 14px; width: 46px; opacity: 1; transition: transform .6s var(--ease); pointer-events: none; }
.tile:hover .tile-ball { transform: rotate(-40deg) translate(-4px, -4px); }
.tile:has(.tile-ball) > span:not(.tile-count):not(.tile-ico) { padding-right: 50px; }

@media (max-width: 600px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .tile { min-height: 150px; gap: 1.2rem; padding: 1rem; border-radius: 16px; }
  .tile .tile-ico { width: 38px; height: 38px; border-radius: 11px; }
  .tile .tile-ico svg { width: 20px; height: 20px; }
  .tile h3 { font-size: 1.02rem; }
  .tile p { font-size: .8rem; line-height: 1.4; }
  .tile .tile-count { right: .8rem; top: .9rem; font-size: .64rem; letter-spacing: .04em; max-width: 45%; text-align: right; line-height: 1.2; }
  .tile .tile-ball { width: 34px; right: 10px; bottom: 10px; }
  .tile:has(.tile-ball) > span:not(.tile-count):not(.tile-ico) { padding-right: 0; }
  .tile:has(.tile-ball) p { padding-right: 34px; }
}
/* Team cards */
.team { position: relative; padding: 1.35rem; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); display: grid; gap: .8rem; align-content: start; }
.team .team-no { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 870; font-size: 2.6rem; line-height: 1; color: #fff; }
.team .team-no small { font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.7); letter-spacing: .06em; margin-left: .3rem; }
.team p { margin: 0; color: rgba(255,255,255,.8); font-size: .95rem; }
.team a { color: #fff; }
.team .league { font-weight: 750; color: #9ec0ff; font-size: .86rem; letter-spacing: .02em; }

/* Article list & detail */
.article-list { display: grid; gap: 1rem; }
.article { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 16px); }
.article-inner { display: grid; grid-template-columns: minmax(0, 1fr); }
.article.has-media .article-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.article-media { background: var(--paper-2); }
.article-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.article-text { padding: 1.35rem 1.45rem 1.4rem; }
.article-text h2, .article-text h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-variation-settings: "wdth" 110; }
.article-text .meta { display: flex; flex-wrap: wrap; gap: .45rem .8rem; align-items: center; margin-bottom: .7rem; font-size: .8rem; color: var(--muted); font-weight: 600; }
.article-text .teaser { margin: .7rem 0 0; color: #394660; }
.article details { margin-top: .9rem; }
.article summary { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; list-style: none; font-weight: 750; color: var(--table); padding: .35rem 0; }
.article summary::-webkit-details-marker { display: none; }
.article summary::after { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e8eefb; font-size: 1rem; line-height: 1; transition: transform .25s var(--ease); }
.article details[open] summary::after { transform: rotate(45deg); }
.article details[open] summary .more { display: none; }
.article details:not([open]) summary .less { display: none; }
.article .body { margin-top: .8rem; color: #26324b; max-width: 72ch; }
.article .body p { margin: 0 0 .9em; }
.article .body figure { margin: 1.2rem 0; }
.article .body figure img { border-radius: 12px; }
.article .body figcaption { font-size: .84rem; color: var(--muted); margin-top: .45rem; }
.article .credit { font-size: .8rem; color: var(--muted); margin-top: .6rem; }
@media (max-width: 760px) { .article.has-media .article-inner { grid-template-columns: 1fr; } .article-media { order: -1; } .article-media img { aspect-ratio: 16 / 9; } }

/* Filter chips */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.filters button { border: 0; cursor: pointer; padding: .5rem .9rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px #d5dcea; font-weight: 700; font-size: .86rem; color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; box-shadow: none; }
.is-filtered-out { display: none !important; }

/* Page hero for subpages */
.page-hero { position: relative; padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3rem, 7vw, 4.6rem); }
.page-hero h1 { font-size: clamp(2.3rem, 6.4vw, 4.8rem); font-variation-settings: "wdth" 120; font-weight: 860; letter-spacing: -.03em; }
.page-hero .lead { color: rgba(255,255,255,.8); margin-top: 1rem; }
.page-hero .ball-deco { position: absolute; right: max(calc(var(--page-x) + 12px), calc((100% - var(--max)) / 2)); bottom: clamp(26px, 4vw, 44px); width: clamp(84px, 10vw, 128px); z-index: 4; filter: drop-shadow(0 16px 18px rgba(0,0,0,.35)); pointer-events: none; }
.page-hero .wrap > :not(.crumbs) { max-width: min(100%, 52rem); }
@media (min-width: 761px) { .page-hero .wrap { padding-right: 150px; } }
@media (max-width: 760px) { .page-hero .ball-deco { width: 58px; top: 30px; bottom: auto; right: calc(var(--page-x) + 10px); } .page-hero .crumbs { padding-right: 70px; } }
.js .page-hero .ball-deco.is-in { animation: hero-bounce 1.3s var(--ease) both; }
.crumbs { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 1.2rem; padding: 0; list-style: none; font-size: .82rem; color: rgba(255,255,255,.7); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.subnav { display: flex; gap: .45rem; margin: 1.8rem 0 0; padding: 0 0 .2rem; list-style: none; overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { display: inline-block; white-space: nowrap; padding: .45rem .9rem; border-radius: 999px; font-size: .86rem; font-weight: 700; color: #fff; text-decoration: none; background: rgba(255,255,255,.1); }
.subnav a[aria-current="page"] { background: #fff; color: var(--navy); }

/* Prose & info blocks */
.prose { max-width: 72ch; color: #26324b; }
.prose h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); margin: 2.2rem 0 .8rem; font-variation-settings: "wdth" 110; }
.prose h3 { margin: 1.6rem 0 .5rem; }
.prose ul { padding-left: 1.2rem; }
.prose a { color: var(--table); font-weight: 650; }
.info-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem 1.5rem; }
.info-card h3 { margin-bottom: .7rem; }
.info-card dl { margin: 0; display: grid; gap: .55rem; }
.info-card dt { font-size: .76rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.info-card dd { margin: 0 0 .4rem; font-weight: 600; }
.info-card a { color: var(--table); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.info-card a:hover { text-decoration: underline; }

/* Timetable */
.timetable { display: grid; gap: .6rem; }
.slot { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 1rem; padding: .95rem 1.1rem; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.slot .day { font-family: var(--display); font-variation-settings: "wdth" 122; font-weight: 850; font-size: 1.15rem; }
.slot .time { font-variant-numeric: tabular-nums; font-weight: 650; }
.slot .who { font-size: .8rem; color: rgba(255,255,255,.72); }
.slot .tables { font-size: .8rem; font-weight: 700; color: #9ec0ff; white-space: nowrap; }
.on-light .slot { background: #fff; border-color: #dfe5f1; box-shadow: var(--shadow); }
.on-light .slot .who { color: var(--muted); }
.on-light .slot .tables { color: var(--table); }
@media (max-width: 520px) { .slot { grid-template-columns: 70px 1fr; } .slot .tables { grid-column: 2; } }

/* Equipment list */
.equip { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: .9rem; }
.equip li { list-style: none; padding: 1.1rem 1.15rem; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.equip b { display: block; font-family: var(--display); font-variation-settings: "wdth" 110; font-size: 1.05rem; margin-bottom: .3rem; }
.equip span { color: #3b4760; font-size: .93rem; white-space: pre-line; }

/* People */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.person { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.person-photo { aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--table-2), var(--navy)); display: grid; place-items: center; overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.person-photo .initials { font-family: var(--display); font-variation-settings: "wdth" 125; font-weight: 870; font-size: 3rem; color: rgba(255,255,255,.9); }
.person-body { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .3rem; }
.person-body .role { font-size: .78rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--rubber); }
.person-body h3 { font-size: 1.25rem; }
.person-body q { color: var(--muted); font-style: italic; font-size: .93rem; }
.person-body a { color: var(--table); font-weight: 700; font-size: .9rem; overflow-wrap: anywhere; text-decoration: none; }

/* Gallery */
.masonry { columns: 3 260px; column-gap: 1rem; }
.masonry figure { break-inside: avoid; margin: 0 0 1rem; border-radius: 14px; overflow: hidden; background: var(--paper-2); position: relative; }
.masonry button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.masonry img { width: 100%; transition: transform .6s var(--ease), opacity .4s; }
.masonry figure:hover img { transform: scale(1.025); }
.masonry figcaption { padding: .55rem .8rem .7rem; font-size: .82rem; color: var(--muted); background: #fff; }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(90px, 12vw, 150px); gap: .7rem; }
.mosaic a, .mosaic div { position: relative; border-radius: 14px; overflow: hidden; background: var(--paper-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic > :nth-child(1) { grid-column: span 3; grid-row: span 2; }
.mosaic > :nth-child(2) { grid-column: span 3; grid-row: span 1; }
.mosaic > :nth-child(3) { grid-column: span 2; grid-row: span 1; }
.mosaic > :nth-child(4) { grid-column: span 1; grid-row: span 1; }
.mosaic > :nth-child(5) { grid-column: span 2; grid-row: span 2; }
.mosaic > :nth-child(6) { grid-column: span 2; grid-row: span 1; }
.mosaic > :nth-child(7) { grid-column: span 2; grid-row: span 1; }
.mosaic > :nth-child(8) { grid-column: span 2; grid-row: span 1; }
.mosaic > :nth-child(9) { grid-column: span 2; grid-row: span 1; }
@media (max-width: 700px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; } .mosaic > * { grid-column: span 1 !important; grid-row: span 1 !important; } .mosaic > :nth-child(1) { grid-column: span 2 !important; grid-row: span 2 !important; } .mosaic > :nth-child(n+8) { display: none; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(4,10,24,.96); color: #fff; }
.lightbox::backdrop { background: rgba(4,10,24,.9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; align-items: center; justify-content: space-between; padding: max(12px, env(safe-area-inset-top)) 16px 8px; }
.lb-count { font-variant-numeric: tabular-nums; font-weight: 700; font-size: .9rem; opacity: .8; }
.lb-close, .lb-nav { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 12px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-bottom { display: flex; align-items: center; justify-content: center; gap: 1rem; padding: 10px 16px max(16px, env(safe-area-inset-bottom)); }
.lb-caption { flex: 1; max-width: 60ch; text-align: center; font-size: .88rem; opacity: .85; }

/* Guestbook */
.gb { display: grid; gap: .9rem; }
.gb-entry { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 1.1rem 1.25rem; }
.gb-entry header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; margin-bottom: .45rem; }
.gb-entry strong { font-family: var(--display); font-variation-settings: "wdth" 110; font-size: 1.05rem; }
.gb-entry time { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.gb-entry p { margin: 0; color: #2b3752; white-space: pre-line; overflow-wrap: anywhere; }
.gb-entry .hp { font-size: .82rem; margin-top: .5rem; display: inline-block; color: var(--table); overflow-wrap: anywhere; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: 1.6rem; }
.pager button { min-width: 44px; height: 44px; border-radius: 999px; border: 0; background: #fff; box-shadow: inset 0 0 0 1.5px #d5dcea; font-weight: 750; cursor: pointer; padding: 0 .8rem; }
.pager button[aria-current="true"] { background: var(--navy); color: #fff; box-shadow: none; }

/* Link list (external services) */
.linklist { display: grid; gap: .65rem; }
.linklist a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: .9rem; padding: .9rem 1rem; border-radius: 14px; background: #fff; box-shadow: var(--shadow); text-decoration: none; transition: transform .25s var(--ease); }
.linklist a:hover { transform: translateX(3px); }
.linklist .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e8eefb; color: var(--table); }
.linklist .ico svg { width: 22px; height: 22px; }
.linklist b { display: block; font-weight: 750; }
.linklist small { color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.linklist .ext { color: var(--muted); font-size: 1.1rem; }
.on-dark .linklist a { background: rgba(255,255,255,.07); box-shadow: none; border: 1px solid rgba(255,255,255,.12); }
.on-dark .linklist small, .on-dark .linklist .ext { color: rgba(255,255,255,.65); }
.on-dark .linklist .ico { background: rgba(255,255,255,.12); color: #fff; }

/* Sponsors */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.logo-wall figure { margin: 0; padding: 1rem; border-radius: 16px; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; min-height: 160px; }
.logo-wall img { max-height: 260px; width: auto; object-fit: contain; }

/* Memorial */
.memorial { background: #0d1628; color: #e8ecf5; }
.memorial .article { background: #141f36; color: #e8ecf5; box-shadow: none; border: 1px solid rgba(255,255,255,.08); }
.memorial .article .body, .memorial .article-text .teaser { color: #cdd5e5; }
.memorial .article summary { color: #cfe0ff; }
.memorial .article summary::after { background: rgba(255,255,255,.12); }
.memorial .article-text .meta { color: #9aa6bf; }

/* CTA band */
.cta { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; padding: clamp(2rem, 5vw, 3.6rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 2rem; align-items: center; }
.cta h2 { font-size: clamp(1.8rem, 4.2vw, 3.2rem); }
.cta p { margin: .9rem 0 0; color: rgba(255,255,255,.82); max-width: 40rem; }
.cta .cta-ball { width: clamp(90px, 14vw, 170px); filter: drop-shadow(0 18px 22px rgba(0,0,0,.4)); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } .cta .cta-ball { position: absolute; right: 16px; top: 16px; width: 60px; } .cta h2 { padding-right: 3.8rem; } }

/* Contact / map card */
.map-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; display: grid; align-content: end; padding: 1.4rem; color: #fff; text-decoration: none; }
.map-card .map-lines { position: absolute; inset: 0; background: linear-gradient(160deg, var(--table-2), var(--navy)); }
.map-card .map-lines::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 38px 38px; }
.map-card .pin { position: absolute; left: 50%; top: 40%; width: 64px; transform: translate(-50%, -50%); filter: drop-shadow(0 12px 12px rgba(0,0,0,.4)); }
.map-card .pin::after { content: ""; }
.map-card > * { position: relative; }

.sponsor-strip { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; padding: 1.1rem 1.4rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border-left: 5px solid var(--yellow); }
.sponsor-strip > span:nth-child(2) { flex: 1 1 22rem; color: #334061; }
/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.78); padding: 3.2rem 0 2.4rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 2rem; }
.site-footer h2 { font-size: .74rem; font-variation-settings: "wdth" 100; letter-spacing: .16em; text-transform: uppercase; color: #9ec0ff; margin-bottom: .8rem; font-weight: 750; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.4rem; margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; color: rgba(255,255,255,.6); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Reveal (one-shot, glyph-safe: mask + opacity, text never moves) ---------- */
.js .reveal { opacity: 0; clip-path: inset(0 0 12% 0 round 18px); transition: opacity .7s var(--ease), clip-path .9s var(--ease); }
.js .reveal.is-in { opacity: 1; clip-path: inset(0 0 0 0 round 0); }
.js .reveal-stagger > * { opacity: 0; transition: opacity .6s var(--ease); }
.js .reveal-stagger.is-in > * { opacity: 1; }
.js .reveal-stagger.is-in > :nth-child(2) { transition-delay: .06s; }
.js .reveal-stagger.is-in > :nth-child(3) { transition-delay: .12s; }
.js .reveal-stagger.is-in > :nth-child(4) { transition-delay: .18s; }
.js .reveal-stagger.is-in > :nth-child(5) { transition-delay: .24s; }
.js .reveal-stagger.is-in > :nth-child(6) { transition-delay: .3s; }
.js .reveal-stagger.is-in > :nth-child(n+7) { transition-delay: .34s; }

/* Cross-document page transition (progressive enhancement) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
.site-header { view-transition-name: site-header; }
.dock { view-transition-name: dock; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; clip-path: none; }
  @view-transition { navigation: none; }
}
@media print { .site-header, .dock, .sheet, .net { display: none !important; } body { padding: 0; } }

/* R35: compact counter leaves; eight fine rings with the rear quarter occluded. */
@media (max-width: 960px) {
  :root { --dock-h: clamp(68px, 19vw, 74px); }
  .dock {
    background: linear-gradient(180deg, #101418, #080b0e 65%);
    border-top-color: #293237;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 -2px 9px #0005;
  }
  .dock::before { display: none; }
  .dock ul {
    grid-template-columns: 1fr 1fr 70px 1fr 1fr;
    padding-inline: max(.35rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }
  .dock li { min-width: 0; }
  .dock li:nth-child(3) { text-align: center; }
  .dock a {
    position: relative;
    min-width: 44px;
    min-height: clamp(52px, 15vw, 58px);
    margin-inline: 2px;
    padding: 10px 1px 6px;
    align-content: center;
    gap: 4px;
    border: 1px solid #3f494e;
    border-top-color: #596369;
    border-radius: 2px;
    background: linear-gradient(120deg, #151a1e, #0b0e11 58%, #090b0d);
    color: #e4e8ea;
    box-shadow: inset 0 1px 0 #ffffff0b, 0 1px 2px #0008;
    font-size: clamp(.625rem, 2.6vw, .675rem);
    text-transform: uppercase;
    font-weight: 650;
    line-height: 1;
    letter-spacing: .015em;
    text-shadow: none;
  }
  .dock a::before, .dock a::after {
    content: "";
    position: absolute;
    top: -4px;
    left: 2px;
    right: 2px;
    height: 10px;
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
  }
  /* The tile itself covers the rear ring below its top edge; only the front arc returns above it. */
  .dock a::before { z-index: -1; background-image: url('../brand/dock-rings-r35-back.svg'); }
  .dock a::after { z-index: 1; background-image: url('../brand/dock-rings-r35-front.svg'); }
  .dock a svg { width: 20px; height: 20px; }
  .dock a[aria-current="page"] {
    color: #efa463;
    border-color: #705940;
    border-top-color: #887056;
    text-shadow: none;
    box-shadow: inset 0 1px 0 #ffffff12, 0 1px 2px #0008;
  }
  .dock a[aria-current="page"] svg { color: #efa463; filter: none; }
  .dock a:focus-visible { outline: 2px solid #ffb474; outline-offset: 3px; }
  .dock a:active { border-color: #d79b6c; background-color: #171716; }
  .dock-ball { margin-top: 0; width: 62px; height: 62px; }
  .dock-ball img { width: 62px; height: 62px; filter: drop-shadow(0 2px 2px #0009); }
  .dock-ball::before { inset: 0; background: none; box-shadow: none; }
  .dock-ball .dock-ball-label { display: none; }
}
