/* Belote Sports — site styles. Tokens from the Belote Sports Design System. */
:root {
  --ground: #050605; --surface: #0c0e0b; --surface-raised: #121a0e;
  --line-subtle: #161a14; --line: #1c2118; --line-strong: #3a4133; --line-input: #2a3024;
  --ink: #f2f4ee; --ink-muted: #c9cdc3; --ink-faint: #8c9484; --ink-placeholder: #7a8474; --ink-on-card: #e3e6dd;
  --lime: #b5d63a; --lime-bright: #d7f55c; --lime-ink: #b5d63a; --lime-glow: #b5d63a99;
  --on-lime: #050605; --on-lime-muted: #2a3215;
  --water: #06100a; --water-deep: #070b06; --rope-dark: #121a0e; --shoulder: #070807; --road-line: #c9cebf;
  --font-display: "Chakra Petch", "Eurostile", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Space Grotesk", "Helvetica Neue", Arial, ui-sans-serif, system-ui, sans-serif;
  --gutter: 48px; --content-max: 1340px; --horizon: 56%;
  --radius-sm: 3px; --radius-md: 4px; --radius-lg: 6px; --radius-full: 9999px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--ground); }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; min-width: 0; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--lime-ink); }
a:hover { color: var(--lime-bright); }
:focus-visible { outline: 2px solid var(--lime-ink); outline-offset: 2px; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--on-lime); padding: 8px 12px; border-radius: var(--radius-md); z-index: 100; }
.skip:focus { left: 8px; }

/* Type */
.display { font-family: var(--font-display); font-style: italic; font-weight: 700; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.2; letter-spacing: .34em; text-transform: uppercase; color: var(--lime-ink); }
.eyebrow-num { font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: .4em; color: var(--lime-ink); }
.live { width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--lime); display: inline-block; animation: blink 1.6s ease-in-out infinite; }
.title { font-style: italic; font-size: 44px; line-height: 1.02; }
.title-hero { font-style: italic; font-size: clamp(44px, 5.6vw, 84px); line-height: .98; letter-spacing: -.01em; }
.title-page { font-style: italic; font-size: clamp(40px, 4.6vw, 68px); line-height: 1; letter-spacing: -.01em; }
.title-card { font-style: italic; font-size: 26px; line-height: 1.1; }
.title-band { font-style: italic; font-size: 40px; line-height: 1; color: var(--on-lime); }
.lead { font-size: 18px; line-height: 1.5; color: var(--ink-muted); max-width: 540px; }
.muted { color: var(--ink-muted); }
.meta { font-size: 12px; letter-spacing: .2em; color: var(--ink-faint); text-transform: uppercase; }
.link { color: var(--lime-ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.link:hover { color: var(--lime-bright); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 26px; border-radius: var(--radius-md); font-family: var(--font-body); font-size: 15px; line-height: 1.2; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.btn-primary:hover { background: var(--lime-bright); border-color: var(--lime-bright); color: var(--on-lime); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); font-weight: 500; }
.btn-secondary:hover { border-color: var(--ink-muted); color: var(--ink); }
.btn-dark { background: var(--on-lime); color: var(--ink); border-color: var(--on-lime); }
.btn-dark:hover { background: #1c2118; color: var(--ink); }
.btn-sm { padding: 0 20px; font-size: 14px; }

/* Layout */
.wrap { max-width: var(--content-max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 40px; }
.section + .section { border-top: 1px solid var(--line-subtle); }
.section-home { padding-top: 96px; padding-bottom: 96px; max-width: 1240px; gap: 48px; }
.heading { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.grid-cards4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 48px; align-items: center; }
.split-top { align-items: start; }
.col { display: flex; flex-direction: column; gap: 24px; }
.col-16 { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px var(--gutter); border-bottom: 1px solid var(--line-subtle); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: auto; }
.brand-word { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 26px; letter-spacing: .02em; color: var(--ink); }
.brand-sub { font-family: var(--font-display); font-weight: 500; font-size: 12px; letter-spacing: .38em; color: var(--lime-ink); }
.nav-links { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.nav-links > a:not(.btn) { text-decoration: none; color: var(--ink-muted); font-size: 15px; }
.nav-links > a:not(.btn):hover { color: var(--ink); }
.nav-links > a[aria-current="page"] { color: var(--ink); border-bottom: 2px solid var(--lime); padding-bottom: 4px; }
.lang { display: inline-flex; gap: 2px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); padding: 2px; }
.lang button { background: none; border: 0; color: var(--ink-muted); font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: .08em; padding: 0 12px; min-height: 38px; border-radius: var(--radius-sm); cursor: pointer; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--lime); color: var(--on-lime); }

/* Home hero */
.hero { position: relative; overflow: hidden; min-height: 860px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); }
.panel { position: relative; overflow: hidden; min-height: 430px; background: var(--surface); display: flex; flex-direction: column; justify-content: flex-end; padding: 48px; }
.panel-r { align-items: flex-end; text-align: right; }
.panel-l { animation: panelL 1.1s cubic-bezier(.2,.8,.2,1) both; }
.panel-r { animation: panelR 1.1s cubic-bezier(.2,.8,.2,1) both; }
.word { position: relative; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: clamp(72px, 9vw, 128px); line-height: .9; letter-spacing: -.01em; color: var(--ink); }
.num { position: relative; font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: .4em; color: var(--lime); }
.seam { position: absolute; left: 50%; top: 50%; width: 3px; height: 140%; background: var(--lime); transform-origin: center; box-shadow: 0 0 24px var(--lime-glow); animation: seam 1s cubic-bezier(.6,0,.2,1) .5s both; }
.hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 32px; pointer-events: none; }
.hero-copy { pointer-events: auto; max-width: 760px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 40px; background: radial-gradient(ellipse at center, rgba(5,6,5,.92) 40%, rgba(5,6,5,0) 75%); }
.hero-copy .row { justify-content: center; }

/* Scenes */
.scene-sky { position: absolute; left: 0; right: 0; top: 0; height: var(--horizon); }
.scene-ground { position: absolute; left: 0; right: 0; top: var(--horizon); bottom: 0; overflow: hidden; perspective: 300px; perspective-origin: 50% 0; }
.plane { position: absolute; left: 50%; bottom: 0; height: 3000px; backface-visibility: hidden; transform-origin: 50% 100%; transform: translateX(-50%) rotateX(90deg); }
.scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,5,.1) 0%, rgba(5,6,5,.5) 100%); }
.lane-sky { background: radial-gradient(ellipse 70% 45% at 50% 100%, rgba(110,165,55,.6) 0%, rgba(60,95,30,.25) 40%, rgba(5,6,5,0) 75%), linear-gradient(180deg, var(--ground) 0%, var(--water-deep) 100%); }
.lane-surf { position: absolute; left: 0; right: 0; top: 0; height: var(--horizon); background-image: url(../img/caustic-soft.png); background-size: 480px 480px; background-repeat: repeat; opacity: .35; mix-blend-mode: screen; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 20%, #000 100%); mask-image: linear-gradient(180deg, rgba(0,0,0,0) 20%, #000 100%); animation: surf 40s linear infinite; }
.far { position: absolute; inset: 0; background-color: var(--water); background-image: url(../img/caustic-soft.png); background-size: 480px 44px; background-repeat: repeat; animation: surf 48s linear infinite; }
.lane { width: 400%; background-color: var(--water); background-image: linear-gradient(rgba(181,214,58,.7), rgba(181,214,58,.7)), repeating-linear-gradient(180deg, var(--lime) 0 44px, var(--rope-dark) 44px 80px), repeating-linear-gradient(180deg, var(--lime) 0 44px, var(--rope-dark) 44px 80px), repeating-linear-gradient(180deg, rgba(181,214,58,.1) 0 2px, rgba(181,214,58,0) 2px 160px), repeating-linear-gradient(90deg, rgba(181,214,58,.07) 0 2px, rgba(181,214,58,0) 2px 160px), url(../img/caustic-soft.png); background-size: .35% 100%, .5% 80px, .5% 80px, 100% 160px, 100% 100%, 480px 480px; background-repeat: repeat-y, repeat-y, repeat-y, repeat, repeat, repeat; background-position: 50% 0, 42% 0, 58% 0, 0 0, 0 0, 0 0; animation: lane 7.8s linear infinite; }
.lane-fog { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(140,200,80,.5) 0%, rgba(140,200,80,.15) 10%, rgba(5,6,5,0) 40%, rgba(5,6,5,.35) 100%); }
.road-sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.road { width: 400%; background-image: repeating-linear-gradient(180deg, var(--lime) 0 56px, transparent 56px 160px), linear-gradient(var(--road-line), var(--road-line)), linear-gradient(var(--road-line), var(--road-line)), linear-gradient(90deg, var(--shoulder) 0 37%, rgba(7,8,7,0) 37% 63%, var(--shoulder) 63%), url(../img/asphalt.png); background-size: .5% 160px, .4% 100%, .4% 100%, 100% 100%, 160px 160px; background-repeat: repeat-y, repeat-y, repeat-y, no-repeat, repeat; background-position: 50% 0, 37.5% 0, 62.5% 0, 0 0, 0 0; animation: road 1.1s linear infinite; }
.road-fog { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(150,185,70,.45) 0%, rgba(150,185,70,.12) 12%, rgba(5,6,5,0) 40%, rgba(5,6,5,.35) 100%); }
.scene-frame { position: relative; overflow: hidden; min-height: 520px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; justify-content: flex-end; padding: 36px; }
.scene-frame .word { font-size: 96px; }

/* Cards */
.card { display: flex; flex-direction: column; gap: 16px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); min-height: 260px; }
.card p { font-size: 16px; color: var(--ink-muted); }
.division { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 400px; padding: 36px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); }
.division-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.division-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,5,.2) 0%, rgba(5,6,5,.9) 100%); }
.division-logo { position: relative; width: 240px; max-width: 100%; height: auto; }
.division-body { position: relative; display: flex; flex-direction: column; gap: 12px; }
.division-body p { color: var(--ink-on-card); }
.step { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 2px solid var(--lime); }
.step-n { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 40px; line-height: 1; color: var(--lime-ink); }
.step h3 { font-size: 20px; line-height: 1.3; }
.step p { font-size: 16px; color: var(--ink-muted); }
.principle { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 2px solid var(--lime); }
.principle p { font-size: 16px; color: var(--ink-muted); }
.coach { display: flex; gap: 20px; align-items: center; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.coach-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.coach-card p { font-size: 15px; color: var(--ink-muted); }
.coach-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.coach-role { font-size: 12px; letter-spacing: .2em; color: var(--lime-ink); }
.avatar { width: 96px; height: 96px; flex: none; border-radius: var(--radius-full); border: 1px dashed var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: 10px; letter-spacing: .2em; color: var(--ink-faint); text-align: center; }
.placeholder { border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: .3em; color: var(--ink-faint); text-align: center; padding: 24px; }
.placeholder-portrait { aspect-ratio: 4 / 5; border-radius: var(--radius-md); }
.team-photo { position: relative; height: 420px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); display: flex; align-items: center; justify-content: center; font-size: 12px; letter-spacing: .3em; color: var(--ink-faint); text-align: center; padding: 24px; }
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.team-photo span { position: relative; }

/* Schedule */
.sched { display: flex; flex-direction: column; }
.sched-head, .sched-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.sched-head { padding: 0 0 12px; font-size: 12px; letter-spacing: .2em; color: var(--ink-faint); border-bottom: 1px solid var(--line); }
.sched-row { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.sched-row span:first-child { font-weight: 600; }
.sched-row span { color: var(--ink-muted); }
.base-list { display: flex; flex-direction: column; gap: 14px; color: var(--ink-muted); }
.base-list div { display: flex; gap: 16px; align-items: baseline; }

/* CTA band */
.band-wrap { padding: 0 var(--gutter) 48px; }
.band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 64px 48px; background: var(--lime); color: var(--on-lime); border-radius: var(--radius-lg); }
.band-text { display: flex; flex-direction: column; gap: 8px; }
.band p { color: var(--on-lime-muted); }

/* Footer */
.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px var(--gutter) 40px; font-size: 13px; line-height: 1.4; color: var(--ink-faint); border-top: 1px solid var(--line-subtle); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--lime-ink); text-decoration: none; }
.footer-links a:hover { color: var(--lime-bright); }

/* Form */
.form-panel { padding: 40px; background: #0a0c09; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.form { display: flex; flex-direction: column; gap: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .choice legend { font-size: 13px; letter-spacing: .1em; color: var(--ink-muted); }
.input { width: 100%; background: var(--surface); border: 1px solid var(--line-input); border-radius: var(--radius-md); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.4; padding: 14px 16px; min-height: 48px; }
.input::placeholder { color: var(--ink-placeholder); }
.input:focus { outline: 2px solid var(--lime-ink); outline-offset: 1px; border-color: var(--lime-ink); }
.choice { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }
.choice legend { padding: 0; margin-bottom: 10px; }
.choice-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-input); border-radius: var(--radius-md); color: var(--ink-muted); font-size: 15px; cursor: pointer; background: var(--surface); }
.pill input { accent-color: var(--lime); margin: 0; }
.pill:has(input:checked) { border-color: var(--lime); color: var(--ink); background: var(--surface-raised); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.consent { font-size: 13px; color: var(--ink-faint); max-width: 300px; }
.sent { display: none; flex-direction: column; gap: 20px; min-height: 420px; justify-content: center; }
.form-panel.is-sent .form { display: none; }
.form-panel.is-sent .sent { display: flex; }
.check { width: 56px; height: 56px; border-radius: var(--radius-full); background: var(--lime); display: flex; align-items: center; justify-content: center; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--lime-ink); font-family: var(--font-body); font-weight: 600; font-size: 15px; cursor: pointer; min-height: 44px; align-self: flex-start; }
.contact-list { display: flex; flex-direction: column; gap: 18px; padding-top: 32px; border-top: 1px solid var(--line-subtle); }
.contact-list a { color: var(--ink); text-decoration: none; font-size: 18px; }
.contact-list a:hover { color: var(--lime-bright); }

/* Motion */
.rise { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.d1 { animation-delay: .1s } .d2 { animation-delay: .25s } .d3 { animation-delay: .4s } .d4 { animation-delay: .55s }
.hero .d1 { animation-delay: .7s } .hero .d2 { animation-delay: .85s } .hero .d3 { animation-delay: 1s } .hero .d4 { animation-delay: 1.15s }
@keyframes rise { from { transform: translateY(32px); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes panelL { from { transform: translateX(-6%); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes panelR { from { transform: translateX(6%); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes seam { from { transform: translate(-50%,-50%) rotate(16deg) scaleY(0) } to { transform: translate(-50%,-50%) rotate(16deg) scaleY(1) } }
@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }
@keyframes lane { from { background-position: 50% 0, 42% 0, 58% 0, 0 0, 0 0, 0 0 } to { background-position: 50% 0, 42% 480px, 58% 480px, 0 480px, 0 0, 0 480px } }
@keyframes surf { from { background-position: 0 0 } to { background-position: 480px 0 } }
@keyframes road { from { background-position: 50% 0, 37.5% 0, 62.5% 0, 0 0, 0 0 } to { background-position: 50% 160px, 37.5% 0, 62.5% 0, 0 0, 0 160px } }
@media (prefers-reduced-motion: reduce) {
  .lane, .road, .far, .lane-surf, .live, .rise, .panel-l, .panel-r, .seam { animation: none; }
}

/* Phones */
@media (max-width: 720px) {
  :root { --gutter: 24px; }
  .nav { gap: 16px; }
  .nav-links { gap: 20px; }
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-overlay { position: static; order: -1; padding: 56px 24px 8px; }
  .hero-copy { background: none; padding: 0; gap: 18px; max-width: none; }
  .seam { display: none; }
  .panel { padding: 32px 24px; min-height: 360px; }
  .section, .section-home { padding-top: 56px; padding-bottom: 56px; gap: 32px; }
  .band { padding: 40px 24px; }
  .title { font-size: 36px; }
  .form-panel { padding: 24px; }
  .scene-frame { min-height: 400px; padding: 24px; }
  .scene-frame .word { font-size: 72px; }
  .sched-head, .sched-row { gap: 10px; font-size: 14px; }
}
