:root {
    --black: #080808;
    --black-soft: #10100f;
    --surface: #141412;
    --surface-2: #1a1916;
    --ivory: #f3f0e8;
    --muted: #a7a39a;
    --gold: #c6a15b;
    --gold-light: #e0c583;
    --gold-dark: #7d6232;
    --border: rgba(243, 240, 232, .13);
    --border-gold: rgba(198, 161, 91, .35);
    --danger: #dc7d73;
    --success: #8fb98d;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: Inter, 'Segoe UI', Arial, sans-serif;
    --container: min(1180px, calc(100vw - 48px));
    --header-height: 88px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
    background: var(--black);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ivory);
    background:
        radial-gradient(circle at 85% 20%, rgba(198, 161, 91, .055), transparent 28rem),
        var(--black);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    content: '';
    opacity: .11;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }

::selection { color: var(--black); background: var(--gold-light); }

.container { width: var(--container); margin-inline: auto; }
.section { padding: clamp(96px, 12vw, 180px) 0; }
.sr-only { position: absolute; 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; top: 10px; left: 10px; z-index: 1000; padding: 10px 16px; color: var(--black); background: var(--gold-light); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.eyebrow, .section-number {
    margin-bottom: 20px;
    color: var(--gold-light);
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: color .3s, background .3s, border-color .3s, transform .3s var(--ease);
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.button--gold { color: #11100d; background: linear-gradient(135deg, var(--gold-light), var(--gold)); border-color: var(--gold); box-shadow: 0 14px 36px rgba(198, 161, 91, .15); }
.button--gold:hover { background: var(--gold-light); }
.button--ghost { color: var(--ivory); border-color: rgba(243, 240, 232, .35); background: rgba(8, 8, 8, .2); backdrop-filter: blur(8px); }
.button--ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.button--full { width: 100%; }
.button:disabled { cursor: not-allowed; opacity: .45; transform: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-height);
    border-bottom: 1px solid var(--border);
    background: rgba(8, 8, 8, .92);
    transition: background .3s, height .3s, border-color .3s;
}

.site-header--overlay { position: absolute; inset: 0 0 auto; background: linear-gradient(to bottom, rgba(0, 0, 0, .72), transparent); border-bottom-color: rgba(255, 255, 255, .12); }
.site-header.is-scrolled { height: 72px; background: rgba(8, 8, 8, .9); border-bottom-color: var(--border-gold); backdrop-filter: blur(18px); }
.site-header--overlay.is-scrolled { position: fixed; top: 0; left: 0; right: 0; animation: header-in .45s var(--ease); }
@keyframes header-in { from { transform: translateY(-100%); } }

.header-inner { width: var(--container); height: 100%; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; line-height: 1; }
.brand-mark { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(198, 161, 91, .18)); }
.brand strong { display: block; font-family: var(--serif); font-size: 1.18rem; font-weight: 500; letter-spacing: .04em; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: .57rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }

.site-navigation { display: flex; align-items: center; gap: 30px; }
.site-navigation > a, .nav-logout button { position: relative; padding: 10px 0; border: 0; color: rgba(243, 240, 232, .74); background: none; cursor: pointer; font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.site-navigation > a::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; content: ''; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.site-navigation > a:hover, .site-navigation > a.is-active, .nav-logout button:hover { color: var(--ivory); }
.site-navigation > a:hover::after, .site-navigation > a.is-active::after { transform: scaleX(1); transform-origin: left; }
.site-navigation .nav-login, .site-navigation .nav-admin { padding: 10px 18px; border: 1px solid var(--border-gold); color: var(--gold-light); }
.nav-logout { margin: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 11px 8px; border: 0; background: none; cursor: pointer; }
.menu-toggle > span:not(.sr-only) { display: block; width: 26px; height: 1px; margin: 6px auto; background: var(--ivory); transition: transform .3s, opacity .3s; }

.hero { position: relative; min-height: max(720px, 100svh); display: flex; align-items: center; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-backdrop { position: absolute; inset: 0; background-image: url('../images/champions-hero.jpg'); background-size: cover; background-position: 57% center; transform: scale(1.025); will-change: transform; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,.97) 0%, rgba(5,5,5,.84) 29%, rgba(5,5,5,.22) 68%, rgba(5,5,5,.12) 100%), linear-gradient(0deg, rgba(5,5,5,.9) 0%, transparent 30%, rgba(0,0,0,.18) 100%); }
.hero-shade::after { position: absolute; inset: 0; content: ''; background: radial-gradient(circle at 75% 48%, transparent 0, rgba(0,0,0,.15) 60%, rgba(0,0,0,.48) 100%); }
.hero-content { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; padding-top: var(--header-height); }
.hero-copy { max-width: 675px; padding: 60px 0 48px; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero h1 { margin: 0 0 30px; font-family: var(--serif); font-size: clamp(4.5rem, 9.8vw, 9.2rem); font-weight: 400; line-height: .78; letter-spacing: -.065em; }
.hero h1 span { display: block; margin-left: .08em; color: var(--gold-light); font-family: var(--sans); font-size: .145em; font-weight: 700; line-height: 2.4; letter-spacing: .44em; text-transform: uppercase; }
.hero-lead { max-width: 565px; margin-bottom: 36px; color: rgba(243, 240, 232, .82); font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-index { display: flex; align-items: center; gap: 14px; margin-bottom: 54px; color: rgba(243,240,232,.55); font-size: .65rem; letter-spacing: .15em; transform: rotate(-90deg) translateY(100%); transform-origin: right bottom; }
.hero-index i { display: block; width: 80px; height: 1px; background: rgba(243,240,232,.4); }
.scroll-cue { position: absolute; z-index: 3; bottom: 28px; left: 50%; display: flex; align-items: center; gap: 15px; color: rgba(243,240,232,.58); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue i { position: relative; display: block; width: 42px; height: 1px; overflow: hidden; background: rgba(243,240,232,.25); }
.scroll-cue i::after { position: absolute; inset: 0; content: ''; background: var(--gold); transform: translateX(-100%); animation: cue 2.2s infinite var(--ease); }
@keyframes cue { 50%, 100% { transform: translateX(100%); } }

.statement { background: var(--black); }
.statement-grid { display: grid; grid-template-columns: .7fr 2.15fr 1.15fr; gap: 50px; align-items: start; }
.statement h2, .section-heading h2, .club-life h2, .join-panel h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.8rem, 5.5vw, 5.8rem); font-weight: 400; line-height: 1.02; letter-spacing: -.045em; }
.statement h2 em { color: var(--gold-light); font-weight: 400; }
.statement-copy { padding-top: 60px; color: var(--muted); font-size: 1.03rem; }
.statement-copy p + p { margin-top: 24px; }

.manifesto { overflow: hidden; border-block: 1px solid var(--border-gold); background: var(--gold); color: #17140f; }
.manifesto-track { display: flex; width: max-content; align-items: center; gap: 28px; padding: 22px 0; font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 3rem); line-height: 1; text-transform: uppercase; animation: marquee 28s linear infinite; }
.manifesto-track i { font-size: .42em; font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.values { background: linear-gradient(180deg, #0d0d0c, #080808); }
.section-heading { display: grid; grid-template-columns: 1.7fr .7fr; gap: 60px; align-items: end; margin-bottom: 70px; }
.section-heading > p { max-width: 390px; margin-bottom: 8px; color: var(--muted); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.value-card { position: relative; min-height: 370px; padding: 34px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.012); overflow: hidden; transition: border-color .4s, background .4s, transform .4s var(--ease); }
.value-card::before { position: absolute; top: 0; right: 0; width: 0; height: 2px; content: ''; background: var(--gold); transition: width .45s var(--ease); }
.value-card:hover { z-index: 1; border-color: var(--border-gold); background: rgba(198,161,91,.045); transform: translateY(-6px); }
.value-card:hover::before { width: 100%; }
.value-index { color: var(--muted); font-size: .7rem; letter-spacing: .14em; }
.value-symbol { margin: 60px 0 54px; color: var(--gold-light); font-family: var(--serif); font-size: 3.3rem; font-weight: 300; }
.value-card h3 { margin-bottom: 14px; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.value-card p { max-width: 300px; margin-bottom: 0; color: var(--muted); }

.club-life { border-top: 1px solid var(--border); background: #0b0b0a; }
.club-life-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(60px, 10vw, 150px); }
.club-life-title { position: sticky; top: 120px; align-self: start; }
.club-life-list { border-top: 1px solid var(--border); }
.club-life-list article { display: grid; grid-template-columns: 80px 1fr; gap: 10px; padding: 38px 0; border-bottom: 1px solid var(--border); }
.club-life-list article > span { color: var(--gold); font-size: .7rem; letter-spacing: .14em; }
.club-life-list h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 1.8rem; font-weight: 400; }
.club-life-list p { margin-bottom: 0; color: var(--muted); }

.join-section { border-top: 1px solid var(--border); }
.join-panel { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: 90px; padding: clamp(50px, 7vw, 92px); border: 1px solid var(--border-gold); background: linear-gradient(130deg, rgba(198,161,91,.11), transparent 45%), var(--surface); overflow: hidden; }
.join-panel::after { position: absolute; right: -110px; bottom: -190px; width: 430px; height: 430px; border: 1px solid rgba(198,161,91,.2); border-radius: 50%; content: ''; box-shadow: 0 0 0 45px rgba(198,161,91,.025), 0 0 0 90px rgba(198,161,91,.018); }
.join-copy { position: relative; z-index: 1; align-self: end; }
.join-copy p { margin-bottom: 28px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--border); background: #060606; }
.footer-inner { width: var(--container); margin-inline: auto; display: grid; grid-template-columns: 1.4fr .8fr auto; gap: 70px; align-items: end; padding: 65px 0 38px; }
.brand--footer { margin-bottom: 18px; }
.footer-inner > div:first-child > p { max-width: 490px; margin: 0; color: #74716a; font-size: .78rem; }
.footer-links { display: grid; gap: 9px; color: var(--muted); font-size: .86rem; }
.footer-links a:hover { color: var(--gold-light); }
.footer-copy { margin: 0; color: #65625c; font-size: .75rem; }

.flash-stack { position: fixed; z-index: 90; top: 92px; right: 24px; display: grid; gap: 10px; width: min(390px, calc(100vw - 48px)); }
.flash { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding: 16px 18px; border: 1px solid var(--border); background: rgba(20,20,18,.97); box-shadow: 0 20px 60px rgba(0,0,0,.4); color: var(--ivory); font-size: .88rem; }
.flash--success { border-color: rgba(143,185,141,.45); }
.flash--error { border-color: rgba(220,125,115,.5); }
.flash--info { border-color: var(--border-gold); }
.flash button { border: 0; color: var(--muted); background: none; cursor: pointer; font-size: 1.25rem; line-height: 1; }

.auth-page, .app-page { min-height: 100vh; }
.auth-shell { min-height: calc(100vh - var(--header-height)); display: grid; place-items: center; padding: 72px 24px; background: radial-gradient(circle at 20% 20%, rgba(198,161,91,.1), transparent 30rem), linear-gradient(rgba(8,8,8,.82),rgba(8,8,8,.96)), url('../images/champions-hero.jpg') center / cover; }
.auth-card { width: min(500px, 100%); padding: clamp(34px, 6vw, 58px); border: 1px solid var(--border-gold); background: rgba(12,12,11,.93); box-shadow: 0 30px 90px rgba(0,0,0,.55); backdrop-filter: blur(18px); }
.auth-intro { margin-bottom: 34px; }
.auth-intro h1, .panel-heading h1, .panel-heading h2 { margin-bottom: 14px; font-family: var(--serif); font-size: clamp(2.35rem, 5vw, 3.4rem); font-weight: 400; line-height: 1.05; }
.auth-intro > p:last-child, .panel-heading > p:last-child { margin-bottom: 0; color: var(--muted); }
.auth-back { display: inline-block; margin-bottom: 40px; color: var(--muted); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.auth-back:hover { color: var(--gold-light); }
.auth-note { margin: 24px 0 0; color: #77736b; font-size: .8rem; text-align: center; }
.install-card { width: min(600px, 100%); }

.form { display: grid; gap: 19px; }
.field { display: grid; gap: 8px; color: var(--ivory); font-size: .82rem; font-weight: 650; letter-spacing: .03em; }
.field > span:first-child { display: flex; justify-content: space-between; }
.field small { color: #79766f; font-size: .74rem; font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 0; color: var(--ivory); background: #0b0b0a; transition: border-color .25s, background .25s; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 22px, calc(100% - 13px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background: #10100f; outline: none; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 92px; }
.password-field button { position: absolute; top: 50%; right: 10px; border: 0; color: var(--gold-light); background: none; cursor: pointer; font-size: .72rem; transform: translateY(-50%); }
.check-field { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; }
.check-field input { width: 18px; height: 18px; accent-color: var(--gold); }
.form-alert { margin-bottom: 24px; padding: 13px 15px; border-left: 2px solid var(--danger); color: #e2b0aa; background: rgba(220,125,115,.08); font-size: .85rem; }

.page-shell { width: var(--container); min-height: calc(100vh - var(--header-height)); margin-inline: auto; padding: clamp(60px, 8vw, 110px) 0 120px; }
.narrow-shell { width: min(720px, calc(100vw - 48px)); }
.page-heading { max-width: 780px; margin-bottom: 58px; }
.page-heading h1, .dashboard-hero h1, .profile-card h1 { margin-bottom: 18px; font-family: var(--serif); font-size: clamp(3.2rem, 6vw, 6.4rem); font-weight: 400; line-height: .95; letter-spacing: -.045em; }
.page-heading > p:last-child { max-width: 580px; margin-bottom: 0; color: var(--muted); }
.page-heading--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; }
.page-heading--row h1 { margin-bottom: 14px; }

.panel { border: 1px solid var(--border); background: rgba(255,255,255,.018); }
.form-panel { padding: clamp(28px, 5vw, 44px); }
.panel-heading { margin-bottom: 30px; }
.panel-heading h2 { font-size: 2.2rem; }

.dashboard-hero { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 72px; padding-bottom: 58px; border-bottom: 1px solid var(--border); }
.dashboard-hero h1 { margin-bottom: 0; }
.member-badge { min-width: 230px; padding: 22px; border: 1px solid var(--border-gold); background: rgba(198,161,91,.05); }
.member-badge span, .member-badge small { display: block; color: var(--muted); font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }
.member-badge strong { display: block; margin: 7px 0 3px; color: var(--gold-light); font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.dashboard-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 22px; }
.dashboard-panel, .profile-summary { padding: 32px; }
.dashboard-panel--wide { grid-row: span 2; }
.panel-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.panel-title-row .eyebrow { margin-bottom: 8px; }
.panel-title-row h2 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.panel-title-row > a, .text-link { margin-top: 5px; color: var(--gold-light); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.compact-list article { padding: 22px 0; border-top: 1px solid var(--border); }
.compact-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; color: var(--muted); font-size: .74rem; }
.compact-list h3 { margin-bottom: 6px; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.compact-list p { margin: 0; color: var(--muted); font-size: .88rem; }
.tag, .muted-tag, .status { display: inline-flex; align-items: center; min-height: 23px; padding: 3px 8px; border: 1px solid var(--border-gold); color: var(--gold-light); font-size: .62rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; vertical-align: middle; }
.muted-tag { border-color: var(--border); color: var(--muted); }
.status--active { border-color: rgba(143,185,141,.35); color: var(--success); }
.status--blocked { border-color: rgba(220,125,115,.4); color: var(--danger); }
.event-mini-list article { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 17px 0; border-top: 1px solid var(--border); }
.event-mini-list time { width: 46px; height: 52px; display: grid; place-content: center; border: 1px solid var(--border-gold); text-align: center; line-height: 1; }
.event-mini-list time strong { color: var(--gold-light); font-size: 1.25rem; }
.event-mini-list time span { margin-top: 3px; color: var(--muted); font-size: .6rem; }
.event-mini-list h3 { margin-bottom: 3px; font-size: .9rem; }
.event-mini-list p { margin: 0; color: var(--muted); font-size: .74rem; }
.panel-empty { min-height: 170px; display: grid; place-content: center; color: var(--muted); text-align: center; }
.panel-empty > span { margin-bottom: 10px; color: var(--gold); font-size: 2.3rem; }
.profile-summary dl { margin: 8px 0 28px; }
.profile-summary dl div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.profile-summary dt { color: var(--muted); font-size: .78rem; }
.profile-summary dd { margin: 0; font-size: .82rem; text-align: right; }

.feed { max-width: 900px; display: grid; gap: 18px; }
.feed-card { padding: clamp(28px, 5vw, 48px); border: 1px solid var(--border); background: var(--surface); }
.feed-card--pinned { border-color: var(--border-gold); background: linear-gradient(120deg, rgba(198,161,91,.065), transparent 45%), var(--surface); }
.feed-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: .74rem; }
.feed-card h2 { margin-bottom: 18px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; }
.rich-text { color: #c6c2b9; line-height: 1.8; }
.empty-state { max-width: 720px; margin-inline: auto; padding: 70px 35px; text-align: center; }
.empty-state h1, .empty-state h2 { font-family: var(--serif); font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 400; }
.empty-state > p { color: var(--muted); }
.empty-symbol { color: var(--gold); font-size: 3rem; }

.timeline { max-width: 900px; border-top: 1px solid var(--border); }
.timeline-item { display: grid; grid-template-columns: 125px 1fr; gap: 48px; padding: 40px 0; border-bottom: 1px solid var(--border); }
.timeline-item > time { width: 105px; min-height: 120px; display: grid; place-content: center; border: 1px solid var(--border-gold); text-align: center; line-height: 1.1; }
.timeline-item > time strong { display: block; color: var(--gold-light); font-family: var(--serif); font-size: 2.6rem; font-weight: 400; }
.timeline-item > time span, .timeline-item > time small { display: block; margin-top: 5px; color: var(--muted); font-size: .68rem; letter-spacing: .1em; }
.timeline-item h2 { margin-bottom: 12px; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.timeline-item > div > p:last-child { color: var(--muted); }

.profile-card { padding: clamp(34px, 7vw, 65px); }
.profile-monogram, .user-avatar { display: grid; place-content: center; border: 1px solid var(--border-gold); color: var(--gold-light); background: rgba(198,161,91,.06); font-family: var(--serif); }
.profile-monogram { width: 92px; height: 92px; margin-bottom: 35px; font-size: 2.8rem; }
.profile-card > div:nth-child(2) > p:last-child { color: var(--muted); }
.profile-card dl { margin: 45px 0; border-top: 1px solid var(--border); }
.profile-card dl div { display: flex; justify-content: space-between; gap: 25px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.profile-card dt { color: var(--muted); }
.profile-card dd { margin: 0; text-align: right; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.admin-tabs { display: flex; flex-wrap: wrap; gap: 5px; padding: 5px; border: 1px solid var(--border); }
.admin-tabs a { padding: 8px 13px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.admin-tabs a:hover, .admin-tabs a.is-active { color: #111; background: var(--gold); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 22px; }
.stats-grid article { min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid var(--border); background: var(--surface); }
.stats-grid span { color: var(--muted); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.stats-grid strong { color: var(--gold-light); font-family: var(--serif); font-size: 3.5rem; font-weight: 400; line-height: 1; }
.admin-overview { padding: 34px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .82rem; }
th { padding: 12px 15px; color: var(--muted); font-size: .67rem; letter-spacing: .09em; text-align: left; text-transform: uppercase; }
td { padding: 16px 15px; border-top: 1px solid var(--border); white-space: nowrap; }
.admin-grid { display: grid; grid-template-columns: 420px 1fr; gap: 22px; align-items: start; }
.user-list-panel { padding: 34px; }
.user-list { display: grid; }
.user-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 20px 0; border-top: 1px solid var(--border); }
.user-avatar { width: 44px; height: 44px; font-size: 1.25rem; }
.user-main h3 { margin: 0 0 2px; font-size: .95rem; }
.user-main p { margin: 0 0 8px; color: var(--muted); font-size: .76rem; }
.user-main > div { display: flex; flex-wrap: wrap; gap: 6px; }
.icon-button, .danger-link { padding: 7px 9px; border: 1px solid var(--border); color: var(--muted); background: transparent; cursor: pointer; font-size: .68rem; }
.icon-button:hover { border-color: var(--gold); color: var(--gold-light); }
.danger-link { border-color: rgba(220,125,115,.28); color: var(--danger); }
.credentials-box { display: grid; grid-template-columns: 1fr 1.25fr auto; gap: 35px; align-items: center; margin-bottom: 22px; padding: 28px 32px; border: 1px solid var(--border-gold); background: rgba(198,161,91,.07); }
.credentials-box h2 { margin: 0; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; }
.credentials-box .eyebrow { margin-bottom: 6px; }
.credentials-box dl { display: flex; gap: 35px; margin: 0; }
.credentials-box dt { color: var(--muted); font-size: .68rem; text-transform: uppercase; }
.credentials-box dd { margin: 3px 0 0; color: var(--gold-light); font-family: ui-monospace, Consolas, monospace; }
.content-admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.content-admin-grid--lists { margin-top: 22px; }
.management-list { padding: 34px; }
.management-list article { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 17px 0; border-top: 1px solid var(--border); }
.management-list h3 { margin: 0 0 3px; font-size: .88rem; }
.management-list p { margin: 0; color: var(--muted); font-size: .72rem; }

.has-js [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(32px); }
[data-reveal] { transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.hero-copy[data-reveal] { transition-duration: 1.1s; }

@media (max-width: 1050px) {
    :root { --header-height: 76px; }
    .menu-toggle { display: block; position: relative; z-index: 3; }
    .menu-toggle.is-open > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.is-open > span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-open > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .site-navigation { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 90vw); display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; padding: 90px 42px 50px; background: rgba(8,8,8,.985); border-left: 1px solid var(--border-gold); transform: translateX(102%); transition: transform .45s var(--ease); }
    .site-navigation.is-open { transform: translateX(0); box-shadow: -30px 0 80px rgba(0,0,0,.55); }
    .site-navigation > a, .nav-logout button { width: 100%; padding: 13px 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; letter-spacing: 0; text-align: left; text-transform: none; }
    .site-navigation .nav-login, .site-navigation .nav-admin { margin-top: 10px; padding: 13px 18px; font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .statement-grid { grid-template-columns: 1fr 2.2fr; }
    .statement-copy { grid-column: 2; padding-top: 0; }
    .admin-grid { grid-template-columns: 1fr; }
    .credentials-box { grid-template-columns: 1fr 1fr; }
    .credentials-box .button { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 760px) {
    :root { --container: min(100% - 32px, 1180px); }
    .section { padding: 90px 0; }
    .brand-mark { width: 40px; height: 40px; }
    .brand strong { font-size: 1.02rem; }
    .hero { min-height: 720px; align-items: flex-end; }
    .hero-backdrop { background-position: 67% center; }
    .hero-shade { background: linear-gradient(0deg, rgba(5,5,5,.98) 0%, rgba(5,5,5,.78) 52%, rgba(5,5,5,.2) 100%), linear-gradient(90deg, rgba(5,5,5,.55), transparent); }
    .hero-content { padding-bottom: 90px; }
    .hero-copy { padding-bottom: 0; }
    .hero h1 { font-size: clamp(4rem, 20vw, 6.2rem); }
    .hero-lead { max-width: 500px; font-size: 1.08rem; }
    .hero-actions { display: grid; }
    .hero-index, .scroll-cue { display: none; }
    .statement-grid, .section-heading, .club-life-grid, .join-panel { grid-template-columns: 1fr; gap: 34px; }
    .statement-copy { grid-column: auto; }
    .value-grid { grid-template-columns: 1fr; }
    .value-card { min-height: 300px; }
    .value-symbol { margin: 38px 0; }
    .club-life-title { position: static; }
    .join-panel { padding: 36px 28px; }
    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    .footer-links { grid-template-columns: repeat(2, max-content); gap: 8px 25px; }
    .dashboard-hero { display: grid; gap: 35px; }
    .member-badge { width: 100%; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .dashboard-panel--wide { grid-row: auto; }
    .page-heading--row { display: grid; }
    .admin-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
    .admin-tabs a { white-space: nowrap; }
    .stats-grid, .content-admin-grid { grid-template-columns: 1fr; }
    .stats-grid article { min-height: 130px; }
    .credentials-box { grid-template-columns: 1fr; }
    .credentials-box dl { display: grid; gap: 12px; }
    .credentials-box .button { grid-column: auto; }
    .user-row { grid-template-columns: 44px 1fr; }
    .user-row form { grid-column: 2; }
    .timeline-item { grid-template-columns: 82px 1fr; gap: 24px; }
    .timeline-item > time { width: 76px; min-height: 100px; }
    .timeline-item > time strong { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 4rem; }
    .site-navigation { width: 100%; }
    .statement h2, .section-heading h2, .club-life h2, .join-panel h2 { font-size: 2.7rem; }
    .page-shell { padding-top: 55px; }
    .page-heading h1, .dashboard-hero h1, .profile-card h1 { font-size: 3.1rem; }
    .dashboard-panel, .profile-summary, .admin-overview, .user-list-panel, .management-list { padding: 24px 20px; }
    .panel-title-row { display: grid; }
    .timeline-item { grid-template-columns: 1fr; }
    .timeline-item > time { width: 100%; min-height: auto; display: flex; align-items: baseline; justify-content: flex-start; gap: 8px; padding: 14px 18px; text-align: left; }
    .timeline-item > time strong { font-size: 1.5rem; }
    .profile-card dl div { display: grid; gap: 4px; }
    .profile-card dd { text-align: left; }
    .profile-actions { display: grid; }
    .footer-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .has-js [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
}
