/* NCEG brand kit v1 (Oct 2026): Black + volt, Arena type, angled cuts, record grooves */
:root {
  --bg: #14151A; --surface: #1C1E26; --border: #2C2F3B;
  --text: #FFFFFF; --muted: #A7A9B4; --lime: #C6F432;
  --ar: #FF7A66; --ev: #F5B83D; --au: #3FD6E3; --md: #B49BFF;
  --ok: #10B981; --err: #E5484D; --light: #F4F4F0;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --head: "Chakra Petch", "Segoe UI", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --clip: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  --clip-sm: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  --slash: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--body); }
img, svg { max-width: 100%; }
a { color: var(--text); }
a:hover { color: var(--lime); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 0; background: var(--lime); color: var(--bg); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Type */
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: .5px; margin: 0; text-wrap: balance; }
.h1 { font-size: clamp(56px, 9vw, 120px); }
.h2 { font-size: clamp(38px, 5vw, 64px); line-height: .95; }
.h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.label { font-family: var(--head); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.label.lime { color: var(--lime); }
.lead { font-size: 20px; color: var(--muted); max-width: 620px; margin: 0; }
.muted { color: var(--muted); }
p { margin: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }

/* Header + nav (D82) */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--border); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; }
.brand img { display: block; width: 116px; height: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; display: inline-block; padding: 12px 0; border-bottom: 2px solid transparent; }
.nav-links a[aria-current="page"] { border-bottom-color: var(--lime); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; color: var(--text); cursor: pointer; padding: 10px; }
.menu-btn svg { width: 24px; height: 24px; }
.mobile-menu { position: fixed; inset: 0; z-index: 40; background: var(--bg) repeating-radial-gradient(circle at 100% 100%, transparent 0 10px, var(--border) 10px 11px); padding: calc(env(safe-area-inset-top, 0px) + 16px) max(24px, env(safe-area-inset-right, 0px)) 32px max(24px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 28px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a { font-family: var(--display); font-size: 44px; line-height: 1.1; text-transform: uppercase; text-decoration: none; }
.mobile-menu nav a[aria-current="page"] { color: var(--lime); }
.mobile-top { display: flex; justify-content: space-between; align-items: center; }
@media (max-width: 960px) { .nav-links, .nav-right .btn { display: none; } .menu-btn { display: inline-flex; } }

/* Buttons (D78) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; font-family: var(--head); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; clip-path: var(--clip-sm); }
.btn-primary { background: var(--lime); color: var(--bg); }
.btn-primary:hover { background: var(--text); color: var(--bg); }
.btn-secondary { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); clip-path: none; }
.btn-secondary:hover { color: var(--lime); box-shadow: inset 0 0 0 1.5px var(--lime); }
.btn-text { justify-content: flex-start; align-self: flex-start; background: none; padding: 0; min-height: 44px; color: var(--text); clip-path: none; }
.btn-text::after { content: "→"; color: var(--lime); }
.btn:disabled { background: var(--border); color: var(--muted); cursor: not-allowed; }
.btn-sm { min-height: 40px; padding: 0 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Tags (D81) */
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 12px; font-family: var(--head); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; clip-path: var(--slash); background: var(--border); color: var(--text); }
.tag-lime { background: var(--lime); color: var(--bg); }
.tag-white { background: var(--text); color: var(--bg); }
.tag-ar { background: var(--ar); color: var(--bg); } .tag-ev { background: var(--ev); color: var(--bg); }
.tag-au { background: var(--au); color: var(--bg); } .tag-md { background: var(--md); color: var(--bg); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* Sections + surfaces */
.section { padding-block: 72px 24px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.card { background: var(--surface); padding: 24px; clip-path: var(--clip); }
.plain { background: var(--surface); padding: 24px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid > * { min-width: 0; }
.grooves { position: relative; overflow: hidden; }
.grooves::after { content: ""; position: absolute; right: -180px; bottom: -220px; width: 620px; height: 620px; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 10px, var(--border) 10px 11px); pointer-events: none; }
.grooves > * { position: relative; z-index: 1; }

/* Hero (D97) */
.hero { background: radial-gradient(ellipse at 72% 38%, #4A4C55 0%, #24252C 38%, var(--bg) 72%); border-bottom: 1px solid var(--border); }
.hero-inner { padding-block: 96px 88px; display: flex; flex-direction: column; gap: 28px; }
.page-hero { border-bottom: 1px solid var(--border); }
.page-hero .wrap { padding-block: 72px 56px; display: flex; flex-direction: column; gap: 20px; }

/* Stat strip */
.stats { background: var(--surface); border-bottom: 1px solid var(--border); }
.stats .wrap { padding-block: 22px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 32px; }
.stat { display: flex; align-items: baseline; gap: 10px; }
.stat b { font-family: var(--display); font-weight: 400; font-size: 36px; line-height: 1; color: var(--lime); }

/* Department cards (D83) */
.dept { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 340px; padding: 0 22px 22px; background: var(--surface); clip-path: var(--clip); color: var(--text); text-decoration: none; border: 0; text-align: left; font: inherit; cursor: pointer; width: 100%; }
.dept::before { content: ""; display: block; height: 4px; margin: 0 -22px 8px; background: var(--c); }
.dept[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--c); }
.dept:hover .emblem { transform: translateY(-3px); }
.emblem { width: 72px; height: 72px; transition: transform .15s ease-out; }
.dept .cta { margin-top: auto; font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.dept .cta::after { content: " →"; color: var(--lime); }
.dept-detail { margin-top: 16px; padding: 32px; background: var(--surface); border-top: 4px solid var(--c, var(--lime)); display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.dept-detail ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dept-detail li { display: flex; gap: 10px; align-items: center; }
.dept-detail li::before { content: ""; width: 8px; height: 8px; background: var(--c); flex: none; }

/* Badges (D67–D69) */
.medals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.medal { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.medal span.o { width: 64px; height: 64px; border-radius: 50%; border: 2px dashed var(--rim); background: var(--fill); display: flex; align-items: center; justify-content: center; }
.medal span.i { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ring); display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--ink); }

/* Timeline (D61/D86) */
.timeline { display: grid; gap: 4px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.lesson { background: var(--surface); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.lesson i { display: block; height: 6px; background: var(--text); }
.lesson.spring i { background: #6E7180; }
.lesson b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1; }

/* Leaderboard (D85) */
.board { display: flex; flex-direction: column; min-width: 0; }
.row { display: grid; grid-template-columns: 4px 44px 28px minmax(0, 1fr) auto 40px; align-items: center; gap: 12px; min-height: 56px; padding-right: 14px; background: var(--surface); border-bottom: 1px solid var(--border); font-family: var(--head); font-variant-numeric: tabular-nums; }
.row .bar { align-self: stretch; }
.row .rank { font-family: var(--display); font-size: 24px; }
.row .hex { width: 26px; height: 26px; clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); background: var(--c, var(--border)); }
.row .who { display: flex; flex-direction: column; min-width: 0; }
.row .who b { font-weight: 700; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .who span { font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.row .mv { color: var(--muted); text-align: right; font-size: 13px; }
.row.you { margin-top: 8px; box-shadow: inset 0 0 0 1.5px var(--lime); border: 0; }

/* Articles (D99) */
.post-card { display: flex; flex-direction: column; gap: 12px; background: var(--surface); clip-path: var(--clip); text-decoration: none; color: var(--text); padding: 0 0 22px; }
.post-card .cover { aspect-ratio: 16 / 9; max-width: 100%; background: var(--bg) repeating-radial-gradient(circle at 100% 0, transparent 0 9px, var(--border) 9px 10px); display: flex; align-items: flex-end; padding: 16px; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .cover.has-img { padding: 0; }
.post-card .t { font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.2; padding: 0 22px; }
.post-card .x { color: var(--muted); padding: 0 22px; }
.post-card .m { padding: 0 22px; }
.post-card:hover .t { color: var(--lime); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { font-family: var(--head); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; min-height: 36px; padding: 0 14px; background: var(--surface); color: var(--text); border: 0; cursor: pointer; clip-path: var(--slash); }
.chip[aria-pressed="true"] { background: var(--lime); color: var(--bg); }
.article-head { border-bottom: 1px solid var(--border); }
.article-head .wrap { padding-block: 64px 48px; display: flex; flex-direction: column; gap: 18px; max-width: 900px; }
.reading { background: var(--light); color: var(--bg); }
.reading .col { max-width: 680px; margin: 0 auto; padding: 56px 24px 72px; font-size: 18px; line-height: 1.6; display: flex; flex-direction: column; gap: 18px; }
.reading h2 { font-family: var(--head); font-weight: 700; font-size: 28px; line-height: 1.15; margin: 16px 0 0; }
.reading h3 { font-family: var(--head); font-weight: 700; font-size: 22px; margin: 8px 0 0; }
.reading blockquote { margin: 8px 0; padding-left: 20px; border-left: 4px solid var(--lime); font-family: var(--display); font-size: 32px; line-height: 1.05; text-transform: uppercase; }
.reading ul, .reading ol { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 6px; }
.reading a { color: var(--bg); text-decoration-color: var(--lime); text-decoration-thickness: 2px; }

/* Forms (D80) */
.form { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field legend { font-family: var(--head); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0; }
.field .req { color: var(--lime); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.input { width: 100%; min-height: 48px; padding: 10px 14px; background: var(--surface); color: var(--text); border: 1px solid var(--border); font: 16px/1.4 var(--body); clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); }
textarea.input { min-height: 120px; resize: vertical; }
.input:focus { outline: none; border: 2px solid var(--lime); padding: 9px 13px; }
.input[aria-invalid="true"] { border: 2px solid var(--err); padding: 9px 13px; }
.choices { display: flex; flex-direction: column; gap: 8px; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; background: var(--surface); cursor: pointer; }
.choice input { width: 18px; height: 18px; accent-color: var(--lime); margin: 0; }
.help { font-size: 13px; color: var(--muted); }
.error { font-size: 13px; color: var(--err); min-height: 0; }
.error:not(:empty)::before { content: "✕ "; }
.form-error { padding: 12px 14px; background: var(--surface); border-left: 4px solid var(--err); }
.form-error:empty { display: none; }
.thanks { padding: 32px; background: var(--surface); border-top: 4px solid var(--lime); display: flex; flex-direction: column; gap: 12px; }
.skeleton { height: 48px; background: var(--surface); }

/* CTA band + footer */
.cta-band { padding: 48px; background: var(--surface); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.site-footer { border-top: 1px solid var(--border); margin-top: 72px; }
.site-footer .wrap { padding-block: 32px; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer nav a { font-family: var(--head); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 10px 0; }
.notice { font-size: 13px; color: var(--muted); }
@media (max-width: 600px) { .cta-band, .dept-detail, .thanks { padding: 24px; } .row { grid-template-columns: 4px 32px 22px minmax(0, 1fr) auto; } .row .mv { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* CMS-driven sections: Radio, Events, Roster, Leaderboard */
.chip .count { margin-left: 8px; opacity: .6; font-variant-numeric: tabular-nums; }
.sort { display: flex; align-items: center; gap: 10px; }
.sort .input { width: auto; min-width: 180px; }
.media-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.media-card { display: flex; flex-direction: column; background: var(--surface); clip-path: var(--clip); min-width: 0; }
.media-card .cover, .spot .cover { aspect-ratio: 1 / 1; background: var(--bg) repeating-radial-gradient(circle at 100% 0, transparent 0 9px, var(--border) 9px 10px); display: flex; align-items: flex-end; padding: 14px; overflow: hidden; }
.media-card .cover.has-img, .spot .cover.has-img { padding: 0; }
.media-card .cover img, .spot .cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-card .body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; flex: 1; }
.media-card .t { font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
.media-card .x { color: var(--muted); font-size: 15px; }
.media-card .btn { align-self: flex-start; margin-top: auto; }
.spot { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 32px; background: var(--surface); clip-path: var(--clip); padding: 24px; align-items: center; }
.spot .body .btn { align-self: flex-start; }
.row .thumb { width: 28px; height: 28px; object-fit: cover; display: block; }
.row .play { font-family: var(--head); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 10px 0; }
.row .play::after { content: " ▶"; color: var(--lime); }
.row .mv.up { color: var(--ok); } .row .mv.down { color: var(--err); }
.event .poster { width: calc(100% + 48px); max-width: none; margin: -24px -24px 0; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.event.past { opacity: .75; }
.facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.facts dd { margin: 0; }
.roster { display: flex; flex-direction: column; gap: 1px; }
.artist { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.artist img, .artist .ph { width: 56px; height: 56px; object-fit: cover; clip-path: var(--clip-sm); }
.artist .ph { display: flex; align-items: center; justify-content: center; background: var(--ar); color: var(--bg); font-family: var(--display); font-size: 28px; }
.artist .who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.artist .who b { font-family: var(--head); font-size: 17px; }
.artist .bio { font-size: 14px; }
.artist .links { display: flex; flex-direction: column; gap: 2px; text-align: right; }
.artist .links a { font-family: var(--head); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 6px 0; }
@media (max-width: 720px) { .spot { grid-template-columns: 1fr; padding: 16px; gap: 20px; } .sort .input { min-width: 0; } .artist { grid-template-columns: 48px minmax(0, 1fr); } .artist img, .artist .ph { width: 48px; height: 48px; } .artist .links { grid-column: 2; flex-direction: row; gap: 16px; text-align: left; } }

/* Article body extras (migrated Inside NCEG posts) */
.reading p, .reading li, .reading blockquote { white-space: pre-line; }
.reading img { width: 100%; height: auto; display: block; }
.reading hr { border: 0; height: 2px; background: #D7D7CF; margin: 12px 0; }
.reading em { font-style: italic; }
.reading blockquote { font-family: var(--body); font-size: 20px; line-height: 1.5; text-transform: none; }
.table-wrap { overflow-x: auto; }
.reading table { border-collapse: collapse; width: 100%; font-size: 16px; }
.reading th, .reading td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #D7D7CF; }
.reading th { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }

/* Teams page: CMS-driven team blocks */
.team-logo{width:84px;height:84px;flex:none;object-fit:contain;border-radius:12px}
.team-logo.ph{display:grid;place-items:center;background:var(--surface,#14151A);border:1px solid var(--border);font-family:Anton,Impact,sans-serif;font-size:24px;color:#fff}
[data-teams]{display:flex;flex-direction:column;gap:72px}


/* Nav v2 (Oct 27 2026): dropdown groups, Sign in, Donate */
.nav-links { gap: 22px; align-items: center; }
.has-sub { position: relative; }
.sub-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--text); cursor: pointer; font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .09em; text-transform: uppercase; padding: 12px 0; border-bottom: 2px solid transparent; }
.sub-btn svg { width: 14px; height: 14px; transition: transform .15s ease-out; }
.sub-btn:hover, .has-sub:focus-within > .sub-btn { color: var(--lime); }
.has-sub.active > .sub-btn { border-bottom-color: var(--lime); }
.sub-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub { display: none; position: absolute; top: 100%; left: -16px; min-width: 248px; list-style: none; margin: 0; padding: 8px 0; background: var(--surface); border-top: 2px solid var(--lime); box-shadow: 0 16px 32px rgba(0,0,0,.45); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); z-index: 25; }
.has-sub:hover > .sub, .sub-btn[aria-expanded="true"] + .sub { display: block; }
.sub a { display: block; white-space: nowrap; padding: 10px 16px; border-bottom: 0; font-size: 13px; letter-spacing: .08em; }
.sub a:hover { background: var(--bg); }
.sub a[aria-current="page"] { color: var(--lime); border-bottom: 0; }
.nav-signin { font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .09em; text-transform: uppercase; text-decoration: none; padding: 12px 4px; }
.nav-signin[aria-current="page"] { color: var(--lime); }
@media (max-width: 1100px) { .nav-links { gap: 16px; } .nav-links a, .sub-btn, .nav-signin { font-size: 13px; letter-spacing: .06em; } }
@media (max-width: 960px) { .nav-signin { display: none; } }
.mobile-menu { overflow-y: auto; }
.mobile-menu nav { gap: 22px; }
.m-group { display: flex; flex-direction: column; gap: 2px; }
.m-group .label { margin-bottom: 4px; }
.mobile-menu nav .m-group a { font-size: 28px; line-height: 1.2; }

/* Content pages (About, Programs, Get involved, Members) */
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 760px; font-size: 18px; }
.prose p { color: var(--muted); }
.prose strong { color: var(--text); }
.two-col { display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.card h3, .plain h3 { font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.2; margin: 0; }
.card.accent { border-top: 4px solid var(--c, var(--lime)); }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.list li { display: flex; gap: 12px; align-items: baseline; }
.list li::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--c, var(--lime)); transform: translateY(-2px); }
.todo { padding: 18px 20px; border: 1px dashed var(--lime); background: transparent; display: flex; flex-direction: column; gap: 6px; }
.todo .label { color: var(--lime); }
.todo p { color: var(--muted); font-size: 15px; }
.person { display: flex; flex-direction: column; gap: 6px; }
.person .ph { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--border); font-family: var(--display); font-size: 28px; clip-path: var(--clip-sm); margin-bottom: 6px; }
.person b { font-family: var(--head); font-size: 18px; }
.locked { position: relative; opacity: .85; }
.locked::after { content: "Members only"; position: absolute; top: 18px; right: 18px; font-family: var(--head); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.decision { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.decision .when { font-family: var(--head); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.decision h3 { font-family: var(--head); font-weight: 700; font-size: 20px; margin: 0; }
@media (max-width: 600px) { .decision { grid-template-columns: 1fr; gap: 8px; } }

/* Oct 28 2026: badge directory, alumni quotes, story timeline */
.badge-dept { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.badge-dept:first-child { margin-top: 0; }
.badge-dept-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--c); padding-bottom: 8px; }
.badge-dept-head h3 { font-family: var(--display); font-weight: 400; font-size: 32px; text-transform: uppercase; margin: 0; }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.badge-tile { background: var(--surface); clip-path: var(--clip-sm); padding: 14px 16px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; }
.badge-tile .medal span.o { width: 48px; height: 48px; }
.badge-tile .medal span.i { width: 36px; height: 36px; font-size: 11px; }
.badge-tile b { font-family: var(--head); font-weight: 700; font-size: 15px; line-height: 1.25; display: block; }
.badge-tile .code { font-family: var(--head); font-weight: 600; font-size: 11px; letter-spacing: .12em; color: var(--muted); }
.badge-tile p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.quotes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.quote { background: var(--surface); clip-path: var(--clip); padding: 24px; display: flex; flex-direction: column; gap: 16px; border-left: 4px solid var(--lime); }
.quote blockquote { margin: 0; font-size: 18px; line-height: 1.5; }
.quote .who b { font-family: var(--head); font-size: 16px; display: block; }
.quote .who span { font-size: 14px; color: var(--muted); }
.story-line { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; max-width: 860px; }
.story-line li { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.story-line .yr { font-family: var(--display); font-size: 28px; line-height: 1; color: var(--lime); }
.story-line b { font-family: var(--head); font-size: 18px; display: block; margin-bottom: 4px; }
.story-line p { color: var(--muted); }
@media (max-width: 600px) { .story-line li { grid-template-columns: 1fr; gap: 6px; } }

/* Members area (Oct 28 2026) */
.m-app { min-height: 100vh; display: flex; flex-wrap: wrap; }
.m-side { flex: 1 1 240px; max-width: 100%; box-sizing: border-box; padding: 28px 16px; display: flex; flex-direction: column; gap: 28px; border-right: 1px solid var(--border); }
.m-logo { display: inline-flex; padding: 0 14px; }
.m-logo img { width: 100px; height: auto; display: block; }
.m-me { display: flex; align-items: center; gap: 12px; padding: 0 14px; }
.m-me b { font-family: var(--head); font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-av { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; color: var(--bg); font-family: var(--display); font-size: 20px; clip-path: var(--clip-sm); background: var(--border); }
.m-nav { display: flex; flex-direction: column; gap: 2px; }
.m-nav a, .m-nav button { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; font-family: var(--head); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--muted); background: none; border: 0; cursor: pointer; text-align: left; }
.m-nav a:hover, .m-nav button:hover { color: var(--text); background: var(--surface); }
.m-nav a[aria-current="page"] { color: var(--lime); background: var(--surface); }
.m-more { margin-top: auto; border-top: 1px solid var(--border); padding-top: 16px; }
.m-main { flex: 999 1 560px; min-width: 0; box-sizing: border-box; padding: 32px clamp(16px, 3vw, 48px) 64px; display: flex; flex-direction: column; gap: 24px; }
.m-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.m-stack { display: flex; flex-direction: column; gap: 16px; }
.m-row { display: flex; align-items: center; gap: 14px; }
.m-row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.m-h3 { font-family: var(--head); font-weight: 700; font-size: 20px; }
.m-bar { background: var(--border); }
.m-split { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.m-timeline { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; }
.m-timeline span { height: 12px; }
.m-timeline-labels { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px 12px; }
.m-sub { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.m-sub b { font-family: var(--head); }
.m-list { flex: 1 1 320px; min-width: 0; background: var(--surface); display: flex; flex-direction: column; }
.m-lesson { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 56px; padding: 6px 14px; background: transparent; border: 0; border-bottom: 1px solid var(--border); color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.m-lesson b { font-family: var(--head); font-size: 15px; }
.m-lesson:hover, .m-lesson[aria-pressed="true"] { background: var(--border); }
.m-seg { flex: 1 1 140px; min-height: 48px; background: var(--bg); border: 1px solid var(--border); color: var(--muted); font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.m-seg[aria-pressed="true"] { background: var(--lime); color: var(--bg); border-color: var(--lime); }
.m-seg-u { min-height: 44px; padding: 0 18px; background: transparent; border: 0; border-bottom: 2px solid var(--border); color: var(--muted); font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.m-seg-u[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--lime); }
.m-badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 10px; }
.m-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 10px 14px; background: var(--surface); border: 0; color: var(--text); cursor: pointer; text-align: center; font: inherit; clip-path: var(--clip-sm); min-height: 150px; }
.m-tile b { font-family: var(--head); font-size: 13px; line-height: 1.2; }
.m-tile:hover { background: var(--border); }
.m-tile[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--lime); }
.m-med { border-radius: 50%; display: flex; align-items: center; justify-content: center; box-sizing: border-box; flex: none; }
.m-med span { border-radius: 50%; border: 1px solid; display: flex; align-items: center; justify-content: center; box-sizing: border-box; font-family: var(--head); font-weight: 700; font-size: 11px; }
.m-standing { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; align-items: end; box-shadow: inset 0 0 0 1.5px var(--lime); }
.m-group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.m-person { width: 100%; display: grid; grid-template-columns: 48px minmax(0, 1.4fr) minmax(0, 1fr) 130px; gap: 14px; align-items: center; min-height: 68px; padding: 8px 14px; box-sizing: border-box; background: var(--surface); border: 0; border-bottom: 1px solid var(--border); color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.m-person b { font-family: var(--head); font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-person:hover { background: #24262F; }
.m-person[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--lime) !important; }
.m-person-lite { grid-template-columns: 48px minmax(0, 1fr) auto; cursor: default; }
.m-person .m-av, .m-person-lite .m-av { width: 48px; height: 48px; }
.m-tick { position: relative; height: 8px; background: var(--border); display: block; }
.m-tick span { position: absolute; left: 0; top: 0; bottom: 0; }
.m-tick i { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--lime); }
.m-card { flex: 0 1 280px; min-width: 240px; background: var(--surface); clip-path: var(--clip); display: flex; flex-direction: column; }
.m-card-photo { aspect-ratio: 4 / 5; background: linear-gradient(180deg, var(--border) 0%, var(--surface) 100%); display: flex; align-items: center; justify-content: center; }
.m-tabs { display: flex; }
.m-tabs button { flex: 1; min-height: 48px; background: transparent; border: 0; border-bottom: 2px solid var(--border); color: var(--muted); font-family: var(--head); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.m-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--lime); }
.m-auth-wrap { min-height: 100vh; display: flex; flex-wrap: wrap; }
.m-auth-hero { flex: 1 1 520px; min-width: 0; box-sizing: border-box; padding: 48px clamp(24px, 5vw, 64px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; border-right: 1px solid var(--border); background: var(--bg) repeating-radial-gradient(circle at 100% 100%, transparent 0 10px, var(--border) 10px 11px); }
.m-auth-form { flex: 1 1 440px; min-width: 0; box-sizing: border-box; padding: 48px 24px; display: flex; align-items: center; justify-content: center; }
#m-auth { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 28px; }
@media (max-width: 720px) { .m-person { grid-template-columns: 48px minmax(0, 1fr) 110px; } .m-person .m-cmp { display: none; } }
/* Unified sign-up (Oct 28 2026) */
.form [hidden], .m-auth-inline [hidden] { display: none !important; }
.m-auth-inline { width: 100%; max-width: 560px; display: flex; flex-direction: column; gap: 24px; }

/* Policy pages (Oct 28 2026) */
.legal { max-width: 760px; display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.65; }
.legal p, .legal li, .legal td { color: var(--muted); }
.legal strong { color: var(--text); }
.legal a { color: var(--lime); }
.legal h3 { font-family: var(--head); font-weight: 700; font-size: 22px; color: var(--text); margin: 24px 0 0; }
.legal ul, .legal ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal-meta { font-family: var(--head); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.legal th { text-align: left; font-family: var(--head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); background: var(--surface); }
.legal th, .legal td { padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; min-width: 140px; }
.legal-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }
.legal-nav a { color: var(--text); }
.choice a { color: var(--lime); }
/* Member photos (Oct 28 2026) */
.m-av-photo { padding: 0; overflow: hidden; }
.m-av-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-card-photo { overflow: hidden; }
.m-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-file { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.m-file:focus-visible + .btn, label.btn:has(+ .m-file:focus-visible) { outline: 2px solid var(--lime); outline-offset: 2px; }
.m-file:disabled ~ * , label.btn:has(+ .m-file:disabled) { opacity: .6; pointer-events: none; }
/* Courses (Online Programs, Oct 28 2026) */
.c-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.c-card { display: flex; flex-direction: column; background: var(--surface); color: var(--text); text-decoration: none; clip-path: var(--clip); }
.c-card:hover { background: #24262F; }
.c-card:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.c-cover { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--border), var(--surface)) center / cover no-repeat; display: flex; align-items: flex-start; justify-content: flex-end; padding: 12px; }
.c-sec { padding: 14px 14px 8px; font-family: var(--head); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); border-bottom: 1px solid var(--border); }
.c-step { grid-template-columns: 36px minmax(0, 1fr) 0; }
.c-dot { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 700; font-size: 13px; border: 1.5px solid var(--border); color: var(--muted); }
.c-dot.c-done { background: var(--ok); border-color: var(--ok); color: var(--bg); }
.c-dot.c-open { border-color: #fff; color: #fff; }
.c-video { width: 100%; max-height: 70vh; background: #000; display: block; }
.rc { display: flex; flex-direction: column; gap: 12px; font-size: 17px; line-height: 1.65; max-width: 760px; }
.rc p, .rc li { color: var(--muted); margin: 0; }
.rc strong { color: var(--text); }
.rc a { color: var(--lime); }
.rc ul, .rc ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.rc h3, .rc h4, .rc h5 { font-family: var(--head); color: var(--text); margin: 8px 0 0; }
.rc img, .rc video { max-width: 100%; height: auto; display: block; }
.rc figure { margin: 0; }
.rc blockquote { margin: 0; padding-left: 16px; border-left: 3px solid var(--lime); }
.rc hr { border: 0; border-top: 1px solid var(--border); width: 100%; }
.rc .rc-embed { width: 100%; border: 1px solid var(--border); background: #fff; }
.rc .rc-file { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 10px 14px; background: var(--bg); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-family: var(--head); font-weight: 600; }
.rc .rc-file:hover { border-color: var(--lime); }
/* Installable app (Oct 28 2026) */
.pwa-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pwa-dialog { max-width: 360px; width: calc(100% - 32px); background: var(--surface); color: var(--text); border: 1px solid var(--border); padding: 24px; }
.pwa-dialog::backdrop { background: rgba(0, 0, 0, .6); }
.pwa-dialog h2 { font-family: var(--head); font-size: 20px; margin: 0 0 12px; }
.pwa-dialog ol { margin: 0 0 12px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.pwa-dialog p { color: var(--muted); margin: 0 0 16px; }
.is-app .m-side { padding-top: max(28px, env(safe-area-inset-top)); }
.is-app .site-header { padding-top: env(safe-area-inset-top); }
/* Radio listening options: Spotify + YouTube (Oct 30 2026) */
.listen-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.listen-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; font-family: var(--head); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--text); background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--border); transition: box-shadow .15s, color .15s, background .15s; }
.listen-btn .ico, .play-ico .ico { display: inline-flex; width: 20px; height: 20px; flex: none; }
.listen-btn .ico svg, .play-ico .ico svg { width: 100%; height: 100%; display: block; }
.listen-btn.spotify .ico, .play-ico.spotify { color: #1DB954; }
.listen-btn.youtube .ico, .play-ico.youtube { color: #FF0033; }
.listen-btn.listen .ico, .play-ico.listen { color: var(--lime); }
.listen-btn.spotify:hover, .listen-btn.spotify:focus-visible { box-shadow: inset 0 0 0 1.5px #1DB954; }
.listen-btn.youtube:hover, .listen-btn.youtube:focus-visible { box-shadow: inset 0 0 0 1.5px #FF0033; }
.listen-btn.listen:hover, .listen-btn.listen:focus-visible { box-shadow: inset 0 0 0 1.5px var(--lime); }
.listen-row.big { gap: 12px; }
.listen-row.big .listen-btn { min-height: 48px; padding: 0 20px 0 14px; font-size: 13px; }
.listen-row.big .listen-btn .ico { width: 22px; height: 22px; }
.spot .body .listen-row { align-self: stretch; margin-top: 0; }
.row .plays { display: inline-flex; gap: 4px; }
.row .play-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; text-decoration: none; }
.row .play-ico:hover, .row .play-ico:focus-visible { background: var(--bg); }
@media (max-width: 380px) { .media-card .listen-btn { flex: 1 1 auto; justify-content: center; } }
/* Standby account activation (Oct 30 2026) */
.m-auth-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.m-note { margin: 0; padding: 10px 14px; background: var(--surface); box-shadow: inset 3px 0 0 var(--lime); font-size: 14px; }
button.btn-text { border: 0; font: 700 13px/1 var(--head); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
button.btn-text:hover, button.btn-text:focus-visible { color: var(--lime); }

/* Songwriter profile, AE22 (Oct 30 2026) */
.sw-who { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); }
.sw-who svg { color: var(--lime); flex: none; }
.sw-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sw-chip { min-height: 44px; padding: 0 18px; font-size: 13px; }
.sw-set { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.sw-set > legend { width: 100%; padding: 0 0 8px; margin-bottom: 16px; border-bottom: 1px solid var(--border); font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.sw-preview { flex: 1 1 300px; max-width: 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.sw-card { background: var(--surface); clip-path: var(--clip); display: flex; flex-direction: column; }
.sw-photo { aspect-ratio: 1 / 1; background: #23252F; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.sw-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sw-flag { position: absolute; left: 14px; bottom: 14px; padding: 4px 10px; background: var(--lime); color: var(--bg); font-family: var(--head); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.sw-name { font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.2; }
.sw-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 18px; background: var(--bg); border: 1px solid var(--border); }
.c-hero { aspect-ratio: 16 / 9; max-height: 340px; width: 100%; background: var(--surface) center / cover no-repeat; clip-path: var(--clip); }

/* My Team card */
.m-teamcard .m-tc-cover { width: 100%; aspect-ratio: 3 / 1; background: var(--bg) center / cover no-repeat; clip-path: var(--clip-sm); }
.m-teamcard .m-tc-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.m-teamcard .m-tc-topics .tag { background: transparent; box-shadow: inset 0 0 0 1px var(--border); color: #fff; }
.m-teamcard .help { color: var(--muted); font-size: 13px; }
