:root {
  --ink: #11152b;
  --paper: #11152b;
  --text: #eff2f8;
  --club-accent: #a5b8d6;
  --surface: #191f37;
  --muted: #acb6cb;
  --line: #303951;
  --signal: #ff6846;
  --signal-soft: #ffb5a4;
  --club-primary: #f2d400;
  --club-secondary: #122448;
  --club-on-primary: #122448;
  --club-tint: #fffbe0;
}
.access-badge {display:inline-block; margin:8px 0; padding:6px 10px; border:1px solid #65718d; border-radius:8px; background:#242d44; color:#eff2f8; font-size:.875rem; font-weight:650;}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-header { min-height: 74px; padding: 10px clamp(18px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.brand-button { display: inline-flex; align-items: center; gap: 10px; border: 0; background: transparent; color: var(--text); font-size: 1.18rem; font-weight: 850; letter-spacing: -.035em; }
.brand-crop { width: 40px; height: 40px; display: block; overflow: hidden; border-radius: 8px; background: #fff; }
.brand-crop img { width: 68px; max-width: none; transform: translate(-14px, -6px); }
.site-header nav { display: flex; align-items: center; gap: 18px; }
.site-header nav button { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--text); font-weight: 700; }
.site-header nav button:hover { color: var(--signal); }

.view { display: none; }
.brand-button, a.back-link { text-decoration: none; }
.browse-links { padding: 20px clamp(18px,4vw,56px); color: #b9bdcc; }
.browse-links summary { cursor: pointer; padding: 12px 0; font-size: 1rem; }
.browse-links details > div { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 12px 0; }
.browse-links a { color: #c4d3e9; padding: 12px 0; font-size: 1rem; }
.view.is-active { display: block; }

.home-view { min-height: calc(100vh - 74px); position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.home-view::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: var(--signal); }
.hero-glow { position: absolute; width: 480px; height: 480px; border: 120px solid rgba(255,104,70,.16); border-radius: 50%; right: -260px; top: 70px; }
.home-layout { width: min(1180px, calc(100% - 36px)); min-height: calc(100vh - 160px); margin: auto; padding: clamp(48px, 8vw, 110px) 0 70px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); align-items: center; gap: clamp(38px, 8vw, 120px); position: relative; z-index: 1; }
.eyebrow, .section-kicker { margin: 0 0 16px; color: var(--signal-soft); font-size: .78rem; line-height: 1.2; letter-spacing: .15em; font-weight: 850; }
.hero-copy h1 { margin: 0; font-size: clamp(3.4rem, 7.5vw, 7rem); line-height: .89; letter-spacing: -.075em; max-width: 780px; }
.hero-lead { max-width: 610px; margin: 28px 0 0; color: #d6d9e7; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.55; }

.club-picker { padding: clamp(24px, 4vw, 38px); background: var(--signal); color: #16172a; position: relative; box-shadow: 18px 18px 0 rgba(255,255,255,.11); }
.picker-step { display: block; margin-bottom: 52px; font-size: .8rem; font-weight: 850; letter-spacing: .12em; }
.club-picker label { display: block; margin-bottom: 12px; font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 850; letter-spacing: -.025em; }
.club-picker select { width: 100%; min-height: 58px; padding: 0 14px; border: 2px solid #17182b; border-radius: 0; background: #fff; color: #17182b; font-size: 1rem; }
.picker-action { width: 100%; min-height: 58px; margin-top: 12px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border: 2px solid #17182b; background: #17182b; color: #fff; font-weight: 800; }
.picker-action:hover { background: #fff; color: #17182b; }
.club-picker p { margin: 18px 0 0; font-size: .82rem; line-height: 1.45; }
.home-footer-line { width: min(1180px, calc(100% - 36px)); margin: auto; padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,.18); color: #acb1c8; font-size: .8rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }

.club-view { min-height: 80vh; background: var(--paper); }
.club-banner { background: var(--paper); color: var(--text); }
.club-banner-inner { width: min(1040px, calc(100% - 36px)); margin: auto; padding: 25px 0 36px; }
.back-link { min-height: 44px; padding: 0; border: 0; background: transparent; color: inherit; font-weight: 750; }
.back-link.dark { color: var(--text); }
.club-identity { margin-top: 28px; display: flex; align-items: center; gap: 18px; }
.club-badge { width: 72px; height: 72px; display: grid; place-items: center; flex: none; border-radius: 50%; background: #2a354e; color: #eff2f8; font-weight: 900; letter-spacing: -.04em; box-shadow: 0 0 0 5px rgba(255,255,255,.42); }
.club-identity p { margin: 0 0 2px; font-size: .85rem; font-weight: 750; opacity: .72; }
.club-identity h1 { margin: 0; color:var(--club-accent); font-size: clamp(2.15rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -.055em; overflow-wrap:break-word; }
.club-content { width: min(1040px, calc(100% - 36px)); margin: auto; padding: 0 0 70px; }
.tabs { display: flex; gap: 34px; border-bottom: 1px solid var(--line); }
.tab { min-height: 66px; padding: 0 2px; border: 0; border-bottom: 4px solid transparent; background: transparent; color: var(--muted); font-weight: 850; }
.tab.is-active { color: var(--text); border-bottom-color: var(--club-accent); }
.section-heading { margin: 34px 0 12px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-kicker { margin-bottom: 5px; color: var(--muted); }
.section-heading h2 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.45rem); letter-spacing: -.045em; }
.section-heading > span { color: var(--muted); font-size: .88rem; }

.episode-list { background: var(--surface); border-top: 1px solid var(--line); }
.episode { padding: 23px 0; display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; border-bottom: 1px solid var(--line); }
.episode-main { min-width: 0; }
.episode-meta { margin: 0 0 8px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.episode h3 { margin: 0 0 8px; font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.3; letter-spacing: -.018em; }
.episode-description { max-width: 720px; margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.48; }
.team-tags { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 6px; }
.team-tag { padding: 5px 8px; background: #242d46; color: #c9d1e0; font-size: .72rem; font-weight: 800; }
.listen-button { min-width: 100px; min-height: 48px; align-self: center; border: 1px solid #465775; background: #30425e; border-radius: 8px; color: #fff; font-weight: 850; }
.listen-button:hover { background: #3b5070; color: #fff; }

.publisher-list { background: var(--surface); border-top: 1px solid var(--line); }
.publisher-row { width: 100%; min-height: 84px; padding: 14px 0; display: flex; align-items: center; gap: 15px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text); text-align: left; }
.publisher-row:hover .publisher-arrow { transform: translateX(4px); }
.publisher-mark, .publisher-title > span { width: 50px; height: 50px; display: grid; place-items: center; flex: none; background: #2a354e; color: #eff2f8; font-weight: 900; }
.publisher-copy { flex: 1; }
.publisher-copy strong, .publisher-copy small { display: block; }
.publisher-copy small { margin-top: 4px; color: var(--muted); }
.publisher-arrow { font-size: 1.5rem; transition: transform .15s ease; }
.publisher-detail { padding-top: 30px; }
.text-button { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--text); font-weight: 750; }
.publisher-title { margin: 22px 0; display: flex; align-items: center; gap: 15px; }
.publisher-title p, .publisher-title h2, .publisher-title small { margin: 0; }
.publisher-title p, .publisher-title small { color: var(--muted); }
.publisher-title h2 { margin: 2px 0; font-size: 1.8rem; letter-spacing: -.04em; }

.form-view { min-height: 80vh; background: var(--paper); }
.form-shell { width: min(840px, calc(100% - 36px)); margin: auto; padding: 42px 0 80px; }
.form-shell.narrow { width: min(620px, calc(100% - 36px)); }
.form-shell .eyebrow { margin-top: 38px; }
.eyebrow.dark { color: var(--signal); }
.form-shell h1 { margin: 0; font-size: clamp(2.4rem, 7vw, 4.5rem); line-height: .98; letter-spacing: -.06em; }
.form-intro { max-width: 620px; margin: 18px 0 34px; color: var(--muted); font-size: 1.05rem; line-height: 1.5; }
.data-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.data-form.one-column { grid-template-columns: 1fr; }
.data-form label { display: grid; gap: 8px; font-weight: 750; }
.data-form .wide { grid-column: 1 / -1; }
.data-form input, .data-form select, .data-form textarea { width: 100%; min-height: 52px; padding: 12px; border: 1px solid #53627e; border-radius: 8px; background: var(--surface); color: var(--text); font-size: 1rem; }
.data-form textarea { resize: vertical; }
.form-submit { min-height: 54px; padding: 0 20px; border: 1px solid #53627e; border-radius: 8px; background: #30425e; color: #fff; font-weight: 850; }
.form-status { margin: 0; align-self: center; color: #94d9b3; font-weight: 750; }

footer { padding: 28px clamp(18px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #0c0f21; color: #b9bdcc; font-size: .82rem; }
footer strong { color: #fff; }

@media (max-width: 760px) {
  .site-header { min-height: 66px; padding: 8px 16px; }
  .site-header nav { gap: 12px; }
  .site-header nav button { font-size: .82rem; }
  .site-header nav button:last-child { display: none; }
  .brand-button { font-size: 1rem; }
  .brand-crop { width: 36px; height: 36px; }
  .brand-crop img { width: 62px; transform: translate(-13px, -5px); }
  .home-view { min-height: calc(100vh - 66px); }
  .hero-glow { width: 320px; height: 320px; border-width: 80px; right: -210px; top: 35px; }
  .home-layout { width: min(100% - 32px, 520px); min-height: auto; padding: 55px 0 46px; grid-template-columns: 1fr; gap: 38px; }
  .hero-copy h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero-lead { margin-top: 22px; font-size: 1rem; }
  .club-picker { padding: 24px; box-shadow: 10px 10px 0 rgba(255,255,255,.11); }
  .picker-step { margin-bottom: 30px; }
  .home-footer-line { width: min(100% - 32px, 520px); padding-bottom: 24px; flex-wrap: wrap; }
  .club-banner-inner, .club-content { width: min(100% - 32px, 620px); }
  .club-banner-inner { padding-top: 16px; }
  .club-identity { margin-top: 20px; }
  .club-badge { width: 58px; height: 58px; }
  .episode { grid-template-columns: 1fr; gap: 14px; }
  .listen-button { width: 100%; }
  .data-form { grid-template-columns: 1fr; }
  .data-form .wide { grid-column: auto; }
  footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Stable monochrome logo; club identity is limited to small accents. */
:root { --signal:#8298ba; --signal-soft:#b9c9e0; --logo-stage:#f4f2ec; --brand-radius:24px; }
.home-view::before { height:3px; background:#536583; }
.hero-glow { border-color:rgba(139,163,200,.07); }
.club-picker { color:var(--text); background:#1b2940; border:1px solid #40566d; border-radius:18px; box-shadow:0 20px 65px rgba(0,0,0,.18); }
.picker-logo { background:var(--logo-stage); width:172px; padding:18px; border-radius:18px; margin:0 auto 28px; }
.sl-symbol { width:100%; height:auto; display:block; }
.club-picker label { text-align:center; font-size:1.5rem; }
.club-picker select { color-scheme:dark; background:#11182b; color:var(--text); border:1px solid #53627e; border-radius:9px; }
.picker-action { background:#8cc6c1; color:#102b31; border:2px solid #8cc6c1; border-radius:9px; }
.picker-action:hover { background:#abd9d4; border-color:#abd9d4; color:#102b31; }
.club-picker p { color:var(--muted); }
.club-logo { flex:none; display:block; width:110px; padding:12px; border-radius:14px; background:var(--logo-stage); }
@media(max-width:760px) {
 .home-layout {padding-top:38px; gap:28px;}
 .club-picker {padding:22px; box-shadow:0 12px 35px rgba(0,0,0,.16);}
 .picker-logo {width:130px; padding:13px; margin-bottom:20px;}
 .club-logo {width:78px; padding:9px;}
}

.episode-list, .publisher-list { background:transparent; }
.episode { padding:24px; background:var(--surface); border:1px solid var(--line); border-radius:12px; margin-top:12px; }
.episode-list { border-top:0; }
.publisher-row { padding:16px 8px; }
.club-identity > div { min-width:0; border-left:3px solid var(--club-accent); padding-left:16px; }
.club-identity > div::after { content:""; display:block; width:104px; height:7px; margin-top:16px; border-radius:4px; background:linear-gradient(to right,var(--club-primary) 0 65%,var(--club-secondary) 65% 100%); }
.episode h3, .publisher-copy strong { color:var(--text); }
input, textarea, select { color-scheme:dark; }
input::placeholder, textarea::placeholder { color:#aab6cc; }
:focus-visible { outline:2px solid #afc9f5; outline-offset:4px; }
@media(max-width:760px) { .episode {padding:18px;} .club-identity {gap:12px;} .club-identity > div {padding-left:12px;} }

/* Identical, unmodified black logo on white at every placement. */
.brand-crop { padding:4px; display:flex; align-items:center; justify-content:center; }
.brand-crop .sl-symbol { flex:none; }
.club-picker p { color:#c0cada; }


/* Legacy logo composition retained for reference; pilot uses a separate selector. */
.home-layout.logo-layout {display:block; width:min(1180px, calc(100% - 48px)); min-height:calc(100vh - 165px); padding:58px 0 50px;}
.logo-layout > .eyebrow {margin:0;}
.logo-composition {position:relative; display:grid; grid-template-columns:52% 48%; grid-template-rows:235px 59px 52px; margin-top:10px;}
.logo-composition h1 {grid-column:1; grid-row:2 / 4; margin:0; font-size:clamp(2.25rem,4.6vw,3.8rem); line-height:59px; font-weight:850; letter-spacing:-.065em; position:relative;}
.logo-composition h1 span {display:block; white-space:nowrap;}
.logo-interaction {position:absolute; width:400px; aspect-ratio:780 / 675; top:0; left:calc(52% - 220px);}
.hero-sl {position:absolute; width:100%; height:100%; inset:0; pointer-events:none;}
.letter-picker {position:absolute; inset:0;}
.letter-picker label {position:absolute; bottom:calc(15% + 8px); left:68%; width:31%; padding-left:3px; font-size:.875rem; line-height:1.35; font-weight:700; color:#d6dfea;}
.letter-foot {position:absolute; left:68%; top:85%; width:30%; height:14%; display:flex; align-items:center; background:transparent; border:0; padding:0; border-radius:0;}
.letter-foot select {color-scheme:dark; width:100%; min-width:0; min-height:44px; padding:0 3px; font-size:1rem; font-weight:700; border:0; border-radius:0; background:transparent; color:#fff; cursor:pointer;}
.letter-foot select:focus-visible {outline:2px solid #afc9f5; outline-offset:-2px; border-radius:8px;}
.letter-foot option {background:#11152b; color:#fff;}
.composition-caption {display:flex; gap:24px; align-items:center; justify-content:space-between; margin-top:36px;}
.composition-caption .hero-lead {margin:0; font-size:1.05rem;}
.demo-note {margin:0; color:var(--muted); font-size:.8125rem;}
@media(min-width:761px) and (max-width:980px) {
 .logo-composition {grid-template-columns:50% 50%;}
 .logo-interaction {left:calc(50% - 220px);}
 .logo-composition h1 {font-size:3.8vw;}

}
@media(max-width:760px) {
 .home-layout.logo-layout {width:min(520px,calc(100% - 32px)); padding:32px 0 36px; min-height:auto;}
 .logo-composition {display:flex; flex-direction:column; margin-top:24px;}
 .logo-composition h1 {font-size:clamp(2.25rem,8.9vw,3.7rem); line-height:1.08; letter-spacing:-.065em;}
 .logo-interaction {position:relative; left:auto; top:auto; width:min(100%,400px); align-self:center; margin-top:32px;}

 .composition-caption {margin-top:24px; display:block;}
.composition-caption .hero-lead {font-size:1rem;}
.demo-note {margin-top:14px;}
}

.home-layout.pilot-layout {display:block; width:min(1060px,calc(100% - 32px)); min-height:auto; padding:42px 0;}
.pilot-composition {display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:48px; margin:30px 0;}
.pilot-composition h1 {font-size:clamp(2.4rem,5vw,4.2rem); line-height:1.08; letter-spacing:-.045em; margin:0;}
.pilot-composition h1 span {display:block;}
.pilot-picker {width:100%; max-width:440px; justify-self:center;}
.pilot-picker .club-picker {width:100%; padding:24px;}
.pilot-picker .club-picker label {display:block; margin-bottom:16px; font-size:1.25rem;}
.pilot-picker select {width:100%; min-height:52px; padding:12px; font-size:1rem;}
.pilot-picker .picker-action {width:100%; min-height:48px; margin-top:14px; font-size:1rem; cursor:pointer;}
/* The selector alone carries the light surface; its label sits on navy. */
.brand-crop { background:var(--logo-stage); border-radius:12px; }
.brand-crop .sl-symbol, .picker-logo .sl-symbol, .club-logo .sl-symbol { mix-blend-mode:multiply; }
.club-logo { border-radius:var(--brand-radius); }
.pilot-picker { max-width:400px; }
.pilot-picker .picker-logo { width:132px; padding:18px; margin:0 auto 22px; border-radius:var(--brand-radius); }
.pilot-picker .club-picker { padding:0; color:var(--text); background:transparent; border:0; border-radius:0; box-shadow:none; }
.pilot-picker .club-picker label { color:var(--text); margin-bottom:16px; font-size:1.375rem; }
.pilot-picker .club-picker select { color-scheme:dark; background:var(--surface); color:var(--logo-stage); border:1px solid #53627e; border-radius:16px; min-height:64px; padding:14px 16px; font-size:1.25rem; font-weight:800; cursor:pointer; }
.pilot-picker .club-picker select:hover { background:#29314c; border-color:#8298ba; }
.pilot-picker .club-picker option { font-size:1.125rem; font-weight:700; }
.pilot-picker .picker-action { min-height:52px; border-radius:16px; border:1px solid #53627e; background:var(--surface); color:var(--logo-stage); }
.pilot-picker .picker-action:hover { background:#29314c; border-color:#29314c; color:var(--logo-stage); }
.pilot-picker :focus-visible { outline:3px solid #afc9f5; outline-offset:3px; }
@media(max-width:760px) {
 .pilot-picker .picker-logo {width:112px; padding:14px;}
 .pilot-picker .club-picker {padding:0;}
}
.episode-actions {min-width:170px; max-width:100%;}
a.listen-button {display:flex; align-items:center; justify-content:center; min-height:48px; text-decoration:none; font-size:.95rem; white-space:normal; text-align:center; padding:12px 16px;}
.listening-options {margin-top:8px; font-size:.875rem;}
.league-filters {display:flex; flex-wrap:wrap; gap:8px; margin-top:24px;}
.league-filters[hidden] {display:none;}
.league-filters button {min-height:44px; padding:10px 16px; border:1px solid #53627e; border-radius:24px; background:var(--surface); color:var(--logo-stage); font-weight:700;}
.league-filters button[aria-pressed="true"] {background:var(--logo-stage); color:var(--ink); border-color:var(--logo-stage);}
.listening-options summary {cursor:pointer; min-height:44px; padding:12px 0; color:var(--muted);}
.listening-options a {display:block; padding:12px 0; color:var(--text); overflow-wrap:anywhere;}
.episode-main {min-width:0; overflow-wrap:anywhere;}
.episode-actions {display:flex; flex-wrap:wrap; align-items:center; gap:8px; min-width:0;}
a.listen-button {gap:10px; width:auto;}
.listen-icon-button {display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; border:1px solid #465775; border-radius:8px; color:var(--text); background:var(--surface);}
.listen-icon-button:hover {background:#3b5070;}
.listen-secondary {display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; max-width:100%; padding:10px 12px; border:1px solid #465775; border-radius:8px; color:var(--text); background:var(--surface); text-decoration:none; font-size:.875rem;}
.listen-secondary:hover {background:#3b5070;}
.episode-actions a:focus-visible {outline:3px solid #afc9f5; outline-offset:3px;}
.service-icon {display:block; flex:none; width:24px; height:24px;}
img.service-icon {filter:invert(1);}
@media(min-width:761px) {
 .pilot-composition {grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); grid-template-rows:auto auto; column-gap:48px; row-gap:20px; align-items:center;}
 .pilot-composition h1, .pilot-picker {display:contents;}
 .pilot-composition h1 {font-size:clamp(2.2rem,4.8vw,3.6rem); line-height:1.12;}
 .pilot-composition h1 span:first-child {grid-column:1; grid-row:1;}
 .pilot-composition h1 span:last-child {grid-column:1; grid-row:2;}
 .pilot-picker .picker-logo {grid-column:2; grid-row:1; width:112px; padding:14px; margin:0; justify-self:center;}
 .pilot-picker .club-picker {grid-column:2; grid-row:2; max-width:400px; justify-self:center;}
}
#data-status {margin:0 0 20px; line-height:1.6; font-size:.875rem;}
@media(max-width:760px) {
 .pilot-composition {grid-template-columns:1fr; gap:28px;}
 .pilot-composition h1 {text-align:center;}
 .episode-actions {width:100%;}
 .composition-caption {text-align:center;}
 .site-header nav button:last-child {display:block;}
}

/* Authentic club marks on the shared navy canvas. */
.club-logo.has-crest {width:88px;height:88px;padding:4px;display:flex;align-items:center;justify-content:center;background:transparent;border-radius:0;}
.club-crest {display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 5px #0003);}
@media(max-width:600px){.club-logo.has-crest {width:64px;height:72px;padding:2px;}.club-identity {gap:16px;}}


.club-header-layout {margin-top:24px;}
.club-header-layout > .club-identity {margin-top:0;}

.listening-note {flex-basis:100%;margin:2px 0 0;color:var(--muted);font-size:.875rem;line-height:1.45;}

/* Episode text keeps its full width regardless of app-link label length. */
.episode {grid-template-columns:minmax(0,1fr);}
.episode-actions {width:100%;justify-content:flex-start;}
.episode-actions a {min-width:0;white-space:normal;}
.episode-actions a span {min-width:0;overflow-wrap:break-word;}
.episode-actions .service-icon {flex-shrink:0;}
