@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    color-scheme: dark;
    --ink: #101216;
    --ink-raised: #181b20;
    --paper: #f5f3ed;
    --paper-dark: #e9e7df;
    --white: #fbfaf6;
    --muted: #a7a9ad;
    --red: #e32932;
    --red-bright: #ff5159;
    --line: rgba(255, 255, 255, .13);
    --dark-line: rgba(16, 18, 22, .14);
    --mono: "DM Mono", monospace;
    --sans: "DM Sans", sans-serif;
    --display: "Manrope", sans-serif;
    --content-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #ff7178; outline-offset: 3px; }
.site-shell { overflow: hidden; }

/* Public site */
.site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    height: 82px;
    padding: 0 max(5%, calc((100% - 1280px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(16, 18, 22, .91);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}
.site-brand, .auth-brand, .sidebar-brand { display: flex; align-items: center; gap: 12px; }
.site-brand img { width: 48px; height: 48px; object-fit: contain; }
.site-brand strong { display: block; font: 800 14px var(--display); letter-spacing: .13em; }
.site-brand small { display: block; margin-top: 4px; color: #b1b2b4; font: 9px var(--mono); letter-spacing: .1em; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); color: #d4d4d1; font-size: 14px; }
.site-nav a:not(.nav-join) { transition: color .2s ease; }
.site-nav a:not(.nav-join):hover, .text-link:hover { color: var(--red-bright); }
.nav-join { padding: 12px 16px; border: 1px solid rgba(255,255,255,.27); font-size: 13px; transition: background .2s, border-color .2s; }
.nav-join:hover { border-color: var(--red-bright); background: rgba(227,41,50,.12); }
.nav-join span { padding-left: 10px; color: var(--red-bright); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; color: white; font-size: 22px; cursor: pointer; }

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
    align-items: center;
    min-height: min(760px, calc(100svh - 82px));
    max-width: 1600px;
    margin: auto;
    padding: 88px max(8%, calc((100% - 1280px) / 2)) 86px;
}
.hero::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    content: "";
    opacity: .55;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.7) 42%, transparent 94%);
}
.hero::after {
    position: absolute;
    z-index: -1;
    top: 14%;
    left: 4%;
    width: min(46vw, 650px);
    height: min(46vw, 650px);
    content: "";
    pointer-events: none;
    background: radial-gradient(circle, rgba(182,27,36,.11), transparent 70%);
}
.hero-effects { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; }
#cyber-canvas { display: block; width: 100%; height: 100%; opacity: .68; }
.hero-copy { position: relative; z-index: 1; max-width: 650px; padding-bottom: 24px; }
.eyebrow { margin: 0 0 22px; color: #ff7378; font: 500 11px/1.6 var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 26px; height: 1px; margin-right: 11px; background: var(--red); vertical-align: middle; }
.hero h1 { max-width: 690px; margin: 0 0 25px; font: 700 clamp(58px, 7.2vw, 98px)/.99 var(--display); letter-spacing: -.075em; text-wrap: balance; }
.hero-description { max-width: 560px; margin: 0; color: #c0c1c3; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.button { min-height: 52px; padding: 0 21px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; border: 1px solid transparent; font: 600 14px var(--sans); cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: white; }
.button-primary:hover { background: #c81f28; }
.button-primary span { font-size: 18px; }
.button-quiet { border-color: rgba(255,255,255,.23); color: #ecebe7; }
.button-quiet:hover { border-color: rgba(255,255,255,.48); }
.button-quiet span { color: #ff656b; font-size: 17px; }
.hero-footnote { display: flex; align-items: center; gap: 11px; margin-top: 34px; color: #afb1b3; font-size: 13px; }
.status-pulse { position: relative; width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #7bd0a0; box-shadow: 0 0 14px rgba(123,208,160,.75); }
.status-pulse::after { position: absolute; inset: -5px; border: 1px solid rgba(123,208,160,.4); border-radius: 50%; content: ""; animation: pulse-ring 2.4s ease-out infinite; }
.hero-art { position: relative; display: grid; place-items: center; height: clamp(400px, 42vw, 550px); }
.hero-art::before { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; content: ""; background: rgba(203,28,39,.19); filter: blur(100px); animation: glow-drift 8s ease-in-out infinite alternate; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.orbit-one { width: min(36vw, 450px); height: min(21vw, 265px); transform: rotate(-27deg); animation: orbit-breathe 9s ease-in-out infinite; }
.orbit-two { width: min(42vw, 530px); height: min(27vw, 340px); transform: rotate(35deg); animation: orbit-breathe 12s ease-in-out infinite reverse; }
.orbit-three { width: min(29vw, 365px); height: min(29vw, 365px); transform: rotate(-45deg); }
.hero-logo-wrap { position: relative; z-index: 1; width: min(390px, 82%); filter: drop-shadow(0 24px 48px rgba(0,0,0,.58)); animation: logo-float 6s ease-in-out infinite; }
.hero-logo-wrap img { display: block; width: 100%; }
.art-label, .art-coordinate { position: absolute; color: #b9bbbd; font: 10px var(--mono); letter-spacing: .1em; }
.art-label span { margin-right: 8px; color: #ff5b62; }
.art-label-top { top: 12%; left: 0; }
.art-label-bottom { right: -4%; bottom: 13%; }
.art-coordinate { top: 45%; right: -4%; color: #85888b; font-size: 9px; line-height: 1.9; }
.hero-bottom { position: absolute; right: max(8%, calc((100% - 1280px) / 2)); bottom: 23px; left: max(8%, calc((100% - 1280px) / 2)); display: flex; justify-content: space-between; gap: 22px; border-top: 1px solid var(--line); padding-top: 13px; color: #96989c; font: 10px var(--mono); letter-spacing: .1em; }
.hero-bottom a { color: #b8b9bb; }
.hero-bottom a b { margin-left: 9px; color: var(--red-bright); font-size: 15px; }

.ticker { overflow: hidden; padding: 15px 0; background: var(--red); }
.ticker-track { display: flex; width: max-content; align-items: center; white-space: nowrap; animation: ticker-scroll 34s linear infinite; font: 11px var(--mono); letter-spacing: .13em; }
.ticker-group { display: flex; flex: 0 0 auto; align-items: center; gap: 36px; padding-right: 36px; }
.ticker-track i { color: #ffafb3; font-size: 16px; font-style: normal; }
.section-wrap { width: min(100%, var(--content-width)); margin: 0 auto; padding-right: clamp(24px, 7vw, 94px); padding-left: clamp(24px, 7vw, 94px); }
.intro-band, .mission-band { background: var(--paper); color: var(--ink); }
.intro-section { display: grid; grid-template-columns: .42fr 1.55fr .55fr; gap: clamp(24px, 4vw, 52px); align-items: start; padding-top: clamp(100px, 12vw, 156px); padding-bottom: clamp(100px, 12vw, 156px); color: var(--ink); }
.section-kicker { display: flex; gap: 13px; align-items: flex-start; color: #767a7b; font: 10px/1.6 var(--mono); letter-spacing: .12em; }
.section-kicker span:first-child { color: var(--red); }
.intro-content { max-width: 680px; }
.intro-content .eyebrow, .mission-main .eyebrow { color: #b9222b; }
.intro-content h2 { margin: 0 0 23px; font: 700 clamp(42px, 5.2vw, 68px)/1.06 var(--display); letter-spacing: -.06em; text-wrap: balance; }
.intro-text { max-width: 660px; margin: 0 0 27px; color: #565a5d; font-size: 17px; line-height: 1.9; }
.text-link { display: inline-flex; gap: 12px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #c8c5bd; color: var(--ink); font-size: 14px; font-weight: 600; transition: color .2s; }
.text-link span { color: var(--red); }
.intro-aside { align-self: end; justify-self: end; text-align: right; color: #626568; }
.aside-symbol { color: var(--red); font: 800 72px/.9 var(--display); letter-spacing: -.1em; }
.intro-aside p { margin: 14px 0; font-size: 14px; }
.aside-rule { display: block; width: 58px; height: 1px; margin: 17px 0 12px auto; background: #cecbc3; }
.intro-aside small { font: 10px var(--mono); letter-spacing: .13em; }

.values-section { padding: clamp(88px, 10vw, 128px) 0; background: var(--ink-raised); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 38px; }
.public-heading { margin-bottom: 48px; }
.public-heading h2 { margin: 0; font: 700 clamp(38px, 4.8vw, 60px)/1.08 var(--display); letter-spacing: -.06em; text-wrap: balance; }
.public-heading h2 span { color: var(--red); }
.public-heading > p { max-width: 390px; margin: 0 0 5px; color: #b3b5b7; font-size: 16px; line-height: 1.8; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.value-card { position: relative; min-height: 280px; padding: 30px 24px 30px 0; }
.value-card + .value-card { padding-left: 25px; border-left: 1px solid var(--line); }
.value-number { color: #b0b2b5; font: 10px var(--mono); letter-spacing: .1em; }
.value-icon { margin: 32px 0 18px; color: #f04b52; font-size: 30px; }
.value-card h3 { margin: 0 0 12px; font: 650 21px/1.3 var(--display); }
.value-card p { max-width: 260px; margin: 0; color: #b2b4b6; font-size: 15px; line-height: 1.75; }

.mission-section { display: grid; grid-template-columns: .42fr 1.58fr; gap: 36px; padding-top: clamp(100px, 12vw, 148px); padding-bottom: clamp(100px, 12vw, 148px); color: var(--ink); }
.mission-main { max-width: 850px; }
.mission-main h2 { margin: 0; font: 600 clamp(28px, 3.5vw, 43px)/1.42 var(--display); letter-spacing: -.04em; text-wrap: pretty; }
.mission-list { grid-column: 2; padding-top: 28px; border-top: 1px solid var(--dark-line); }
.mission-list > .eyebrow { margin-bottom: 10px; color: #b9222b; }
.mission-item { display: grid; grid-template-columns: 48px 1fr 24px; gap: 15px; align-items: center; min-height: 66px; border-bottom: 1px solid var(--dark-line); }
.mission-item span { color: var(--red); font: 11px var(--mono); }
.mission-item p { margin: 0; color: #4d5154; font-size: 16px; line-height: 1.6; }
.mission-item b { color: #85898b; font-weight: 400; }

.mission-cycle { grid-column: 2; margin-top: 18px; padding-top: 29px; border-top: 1px solid var(--dark-line); }
.cycle-heading { display: grid; grid-template-columns: 1fr minmax(220px, .7fr); align-items: end; gap: 13px 30px; margin-bottom: 26px; }
.cycle-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 0; color: #b9222b; }
.cycle-heading h3 { margin: 0; font: 700 clamp(28px, 3.3vw, 40px)/1.1 var(--display); letter-spacing: -.05em; }
.cycle-heading h3 span { color: var(--red); }
.cycle-heading > p:last-child { margin: 0; color: #666b6d; font-size: 14px; line-height: 1.7; }
.path-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid #cccac2; border-bottom: 1px solid #cccac2; }
.path-grid article { min-height: 205px; padding: 28px 20px 25px 0; }
.path-grid article + article { padding-left: 20px; border-left: 1px solid #cccac2; }
.path-grid article > span { color: var(--red); font: 11px var(--mono); }
.path-grid h3 { margin: 30px 0 11px; font: 650 22px var(--display); }
.path-grid p { margin: 0; color: #666b6d; font-size: 14px; line-height: 1.75; }
.path-note { display: flex; align-items: center; gap: 22px; margin: 21px 0 0; color: #626669; font-size: 13px; line-height: 1.7; }
.path-note span { color: #b9222b; font: 10px var(--mono); letter-spacing: .1em; }

.events-section { padding-top: clamp(96px, 11vw, 138px); padding-bottom: clamp(96px, 11vw, 138px); }
.events-section .public-heading > p, .stories-section .public-heading > p { color: #b7b9bb; }
.event-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.event-card { position: relative; min-height: 265px; padding: 27px; border: 1px solid var(--line); background: #171a1e; transition: border-color .25s, transform .25s, background .25s; }
.event-card:hover { transform: translateY(-4px); border-color: #a7353b; background: #1b1e23; }
.event-meta { display: flex; justify-content: space-between; gap: 12px; color: #b7b9bb; font: 10px/1.5 var(--mono); letter-spacing: .06em; }
.event-meta time { color: #ff7378; }
.event-card h3 { max-width: 320px; margin: 34px 0 14px; font: 650 24px/1.3 var(--display); }
.event-card p { max-width: 360px; margin: 0; color: #b5b7b9; font-size: 15px; line-height: 1.75; }
.event-arrow { position: absolute; right: 25px; bottom: 22px; color: #fb5158; font-size: 18px; }
.empty-public { display: flex; align-items: center; gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); color: #c3c4c5; }
.empty-public > span { color: #ff5359; }
.empty-public p { font-size: 15px; }

.stories-section { padding: clamp(88px, 10vw, 124px) 0; background: var(--ink-raised); }
.story-list { border-top: 1px solid var(--line); }
.story-row { display: grid; grid-template-columns: 180px minmax(0, 1fr) 32px; align-items: center; gap: 22px; padding: 25px 0; border-bottom: 1px solid var(--line); transition: padding .2s ease; }
.story-row:hover { padding-right: 8px; padding-left: 8px; }
.story-type { color: #ff7378; font: 10px var(--mono); letter-spacing: .08em; }
.story-row h3 { margin: 0 0 8px; font: 650 21px/1.35 var(--display); transition: color .2s; }
.story-row:hover h3 { color: #ff7378; }
.story-row p { margin: 0; color: #b8babc; font-size: 14px; line-height: 1.7; }
.story-arrow { justify-self: end; color: #e7474e; font-size: 18px; }

.join-section { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 440px; max-width: 1600px; margin: auto; padding: 88px max(9%, calc((100% - 1200px) / 2)); overflow: hidden; background: var(--ink); }
.join-section::before { position: absolute; z-index: -1; inset: 0; content: ""; opacity: .4; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 54px 54px; }
.join-glow { position: absolute; z-index: -1; top: 0; right: 12%; width: 370px; height: 370px; border-radius: 50%; background: rgba(210,31,41,.2); filter: blur(110px); animation: glow-drift 8s ease-in-out infinite alternate; }
.join-content { position: relative; z-index: 1; max-width: 700px; }
.join-content h2 { margin: 0 0 20px; font: 700 clamp(42px, 5vw, 65px)/1.06 var(--display); letter-spacing: -.06em; text-wrap: balance; }
.join-content h2 span { color: #f24a50; }
.join-content > p:not(.eyebrow) { max-width: 560px; margin: 0 0 28px; color: #b8babc; font-size: 16px; line-height: 1.8; }
.join-note { color: #c4c5c6; font: 10px var(--mono); letter-spacing: .12em; }
.join-mark { position: relative; z-index: 1; width: min(225px, 23vw); flex: 0 0 auto; opacity: .83; }
.join-mark img { display: block; width: 100%; }
.site-footer { max-width: 1600px; margin: auto; padding: 32px max(5%, calc((100% - 1280px) / 2)) 23px; border-top: 1px solid var(--line); }
.footer-tagline { display: block; margin: 17px 0 27px; color: #a8aaac; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 17px; border-top: 1px solid var(--line); color: #a0a2a4; font: 10px/1.6 var(--mono); letter-spacing: .07em; }
.footer-bottom a { color: #ececea; }
.footer-bottom a span { color: #f04b52; }

/* Feedback and content pages */
.flash { position: fixed; z-index: 30; top: 18px; left: 50%; max-width: min(580px, calc(100% - 32px)); padding: 15px 21px; transform: translateX(-50%); box-shadow: 0 8px 35px #0005; font-size: 14px; animation: flash-in .3s ease-out; }
.flash-success { background: #e5f4e9; color: #1c5a31; }
.flash-error { background: #fff0ef; color: #942c2c; }
.article-detail { min-height: 65vh; max-width: 900px; padding-top: 76px; padding-bottom: 110px; color: var(--white); }
.article-back { display: inline-block; margin-bottom: 52px; color: #c0c2c4; font-size: 14px; }
.article-back:hover { color: #ff6268; }
.article-detail h1 { max-width: 800px; margin: 0 0 20px; font: 700 clamp(42px, 6vw, 76px)/1.07 var(--display); letter-spacing: -.06em; }
.article-summary { max-width: 720px; padding-bottom: 30px; border-bottom: 1px solid var(--line); color: #c1c3c5; font-size: 19px; line-height: 1.8; }
.article-body { max-width: 720px; padding: 16px 0 40px; color: #dddeda; font-size: 17px; line-height: 1.9; }
.article-signoff { padding-top: 20px; border-top: 1px solid var(--line); color: #aeb0b2; font: 10px var(--mono); letter-spacing: .12em; }
.article-signoff span { padding-left: 8px; color: var(--red); }
.article-nav { display: flex; }

/* Admin */
.admin-page { min-height: 100vh; background: #f3f4f6; color: #202328; color-scheme: light; }
.admin-layout { display: grid; grid-template-columns: 258px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 28px 17px; background: #15171a; color: #ededeb; }
.sidebar-brand { gap: 11px; padding: 0 8px 25px; border-bottom: 1px solid var(--line); }
.sidebar-brand img { width: 46px; height: 46px; object-fit: contain; }
.sidebar-brand span { font: 750 13px var(--display); letter-spacing: .1em; }
.sidebar-brand small { display: block; margin-top: 5px; color: #a7a9ab; font: 9px var(--mono); letter-spacing: .1em; }
.admin-nav { display: grid; gap: 6px; padding-top: 22px; }
.admin-nav a, .sidebar-logout button { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 11px 13px; border: 0; background: transparent; color: #c1c3c5; text-align: left; font-size: 14px; cursor: pointer; transition: background .18s, color .18s; }
.admin-nav a:hover, .admin-nav a.active { background: #272a2e; color: #fff; }
.admin-nav a.active { box-shadow: inset 3px 0 #ed343c; }
.admin-nav a:first-letter { color: #f34b52; }
.sidebar-logout { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.sidebar-logout button { width: 100%; }
.sidebar-logout button:hover { color: #ff777b; }
.admin-main { width: 100%; max-width: 1480px; margin: auto; padding: 42px clamp(24px, 5vw, 76px) 24px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.admin-topbar .eyebrow, .admin-section .eyebrow, .form-panel .eyebrow, .welcome-panel .eyebrow { margin-bottom: 9px; font-size: 10px; }
.admin-topbar h1 { margin: 0; font: 750 32px/1.2 var(--display); letter-spacing: -.04em; }
.admin-user { display: flex; align-items: center; gap: 10px; color: #575c61; font-size: 14px; }
.user-dot { width: 9px; height: 9px; border-radius: 50%; background: #4fa370; box-shadow: 0 0 0 4px #4fa3701c; }
.welcome-panel { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 270px; padding: 40px 44px; overflow: hidden; background: #171a1d; color: white; }
.welcome-panel > div:first-child { position: relative; z-index: 1; max-width: 620px; }
.welcome-panel h2 { margin: 0 0 14px; font: 650 clamp(28px, 3.4vw, 41px)/1.2 var(--display); letter-spacing: -.045em; }
.welcome-panel p:not(.eyebrow) { margin: 0 0 24px; color: #c1c3c5; font-size: 15px; line-height: 1.7; }
.welcome-mark { width: 170px; opacity: .55; }
.welcome-mark img { width: 100%; }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 17px; }
.stat-card, .admin-section, .form-panel { border: 1px solid #e4e6e8; background: white; }
.stat-card { padding: 22px; }
.stat-card > span { color: #747a7f; font: 10px var(--mono); letter-spacing: .08em; }
.stat-card strong { display: block; margin: 13px 0 5px; font: 750 34px var(--display); }
.stat-card small { color: #72777c; font-size: 13px; line-height: 1.5; }
.admin-section, .form-panel { margin-top: 17px; padding: 28px; }
.section-heading h2 { margin: 0; font: 750 24px/1.3 var(--display); letter-spacing: -.035em; }
.admin-section .section-heading, .form-panel .section-heading { margin-bottom: 23px; }
.admin-section .text-link, .form-panel .text-link { font-size: 14px; }
.content-list { border-top: 1px solid #e9eaec; }
.content-row { display: flex; align-items: center; gap: 15px; min-height: 72px; padding: 12px 5px; border-bottom: 1px solid #e9eaec; }
.content-row-title { flex: 1; color: #303439; font-size: 15px; line-height: 1.5; }
.type-chip, .status-chip { padding: 6px 9px; background: #f0f1f3; color: #62686e; font: 10px var(--mono); white-space: nowrap; }
.status-chip.is-published { background: #e8f4ec; color: #39744a; }
.content-row-title small { display: block; margin-top: 5px; color: #81868b; font-size: 12px; }
.empty-state { padding: 25px; background: #fafafa; color: #656b70; font-size: 15px; }
.admin-content-row { gap: 14px; }
.admin-content-row .content-row-title { min-width: 120px; }
.icon-link { border: 0; background: none; color: #51575c; font-size: 13px; cursor: pointer; }
.icon-link:hover { color: #bc2830; }
.delete-link { color: #a84a4e; }
.admin-content-row form { margin: 0; }
.form-panel > .muted, .muted { margin: 0 0 23px; color: #656b70; font-size: 14px; line-height: 1.7; }
.form-panel .section-heading { align-items: center; }
.editor-form { max-width: 920px; }
.settings-group { margin: 0 0 12px; border: 1px solid #e1e4e6; background: #fff; }
.settings-group > summary { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 15px; padding: 14px 18px; cursor: pointer; list-style: none; color: #262a2e; font: 650 16px var(--display); }
.settings-group > summary::-webkit-details-marker { display: none; }
.settings-group > summary::after { content: "＋"; color: var(--red); font-size: 18px; }
.settings-group[open] > summary { border-bottom: 1px solid #e8eaec; }
.settings-group[open] > summary::after { content: "−"; }
.settings-count { margin-left: auto; color: #7b8186; font: 11px var(--sans); }
.settings-count b { display: none; }
.settings-group .form-grid { padding: 20px; }
.logo-editor { display: flex; align-items: center; gap: 20px; margin: 0 0 24px; padding: 20px; border: 1px solid #e2e4e6; background: #fafafa; }
.logo-preview { display: grid; width: 88px; height: 88px; flex: 0 0 88px; place-items: center; overflow: hidden; border: 1px solid #e1e3e5; background-color: #fff; background-image: linear-gradient(45deg, #e5e7e9 25%, transparent 25%), linear-gradient(-45deg, #e5e7e9 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e5e7e9 75%), linear-gradient(-45deg, transparent 75%, #e5e7e9 75%); background-position: 0 0, 0 6px, 6px -6px, -6px 0; background-size: 12px 12px; }
.logo-preview img { width: 100%; height: 100%; object-fit: contain; }
.logo-details { display: grid; gap: 8px; min-width: 0; }
.logo-details > strong { font: 650 16px var(--display); }
.logo-details > span { color: #6a7075; font-size: 13px; line-height: 1.5; }
.logo-upload-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 5px; }
.logo-upload-form input[type="file"] { max-width: 100%; color: #565c61; font-size: 12px; }
.button-secondary { min-height: 42px; border-color: #cdd1d4; background: #fff; color: #353a3f; }
.button-secondary:hover { border-color: #aab0b5; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.editor-form label, .stack-form label { display: flex; flex-direction: column; gap: 9px; color: #383d42; font-size: 14px; font-weight: 600; }
.form-grid input, .form-grid textarea, .form-grid select, .stack-form input { width: 100%; padding: 13px 14px; border: 1px solid #d9dde0; border-radius: 0; outline: none; background: white; color: #24272a; font-size: 15px; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus, .stack-form input:focus { border-color: #a62b31; box-shadow: 0 0 0 3px #a62b3112; }
.form-grid textarea { resize: vertical; line-height: 1.7; }
.full-field { grid-column: 1 / -1; }
.field-hint { color: #767b80; font-size: 12px; font-weight: 400; }
.editor-form > .button { margin-top: 23px; }
.checkbox-field { display: flex !important; flex-direction: row !important; align-items: center; margin-top: 20px; font-weight: 500 !important; }
.checkbox-field input { width: 18px; height: 18px; accent-color: #d62830; }
.admin-footer { padding: 26px 0; color: #777d82; font: 10px var(--mono); }

.auth-shell { display: flex; min-height: 100vh; flex-direction: column; align-items: center; justify-content: center; padding: 30px; background: radial-gradient(ellipse at 50% 0, #24272b, transparent 60%), #111316; }
.auth-brand { margin-bottom: 29px; font: 800 15px var(--display); letter-spacing: .13em; }
.auth-brand img { width: 46px; height: 46px; object-fit: contain; }
.auth-card { width: min(100%, 470px); padding: 40px; background: #f6f5f1; color: #17191c; }
.auth-card h1 { margin: 0 0 10px; font: 750 34px/1.2 var(--display); letter-spacing: -.05em; }
.auth-card > .eyebrow { font-size: 10px; }
.stack-form { display: grid; gap: 19px; margin-top: 27px; }
.stack-form input { margin-top: 1px; }
.stack-form .button { margin-top: 5px; }
.auth-note, .back-link { display: block; margin-top: 19px; color: #696e72; font-size: 13px; }
.back-link:hover { color: #b72129; }

.motion-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.motion-ready [data-reveal-delay="1"] { transition-delay: .08s; }
.motion-ready [data-reveal-delay="2"] { transition-delay: .16s; }
.motion-ready [data-reveal-delay="3"] { transition-delay: .24s; }

@keyframes pulse-ring { 0% { transform: scale(.7); opacity: .75; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes glow-drift { from { transform: translate3d(-10px, -5px, 0) scale(.92); } to { transform: translate3d(15px, 12px, 0) scale(1.08); } }
@keyframes logo-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes orbit-breathe { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
@keyframes flash-in { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 1050px) {
    .hero { grid-template-columns: 1.08fr .92fr; padding-right: 5%; padding-left: 5%; }
    .hero-art { transform: scale(.92); }
    .section-wrap { padding-right: 5%; padding-left: 5%; }
    .intro-section { grid-template-columns: .36fr 1.55fr .42fr; gap: 24px; }
    .admin-layout { grid-template-columns: 226px minmax(0, 1fr); }
    .admin-sidebar { padding-right: 13px; padding-left: 13px; }
    .admin-main { padding-right: 28px; padding-left: 28px; }
}
@media (max-width: 760px) {
    html { scroll-padding-top: 75px; }
    .site-header { height: 72px; padding: 0 22px; }
    .site-brand img { width: 43px; height: 43px; }
    .site-brand strong { font-size: 12px; }
    .site-brand small { font-size: 8px; }
    .menu-toggle { display: block; }
    .site-nav { position: absolute; top: 71px; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 16px 22px 22px; border-bottom: 1px solid var(--line); background: #17191c; font-size: 15px; }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 13px 4px; }
    .site-nav .nav-join { margin-top: 8px; text-align: center; }
    .hero { display: block; min-height: auto; padding: 64px 24px 76px; }
    .hero h1 { max-width: 600px; font-size: clamp(54px, 12vw, 76px); }
    .hero-description { max-width: 540px; font-size: 17px; }
    .hero-actions { gap: 11px; margin-top: 26px; }
    .hero-actions .button { min-height: 50px; }
    .hero-footnote { margin-top: 24px; font-size: 12px; line-height: 1.6; }
    .hero-art { height: 340px; margin: 9px -18px 0; transform: none; }
    .hero-logo-wrap { width: 270px; }
    .orbit-one { width: 300px; height: 184px; }
    .orbit-two { width: 350px; height: 246px; }
    .orbit-three { width: 254px; height: 254px; }
    .art-label { font-size: 9px; }
    .art-label-top { top: 7%; left: 1%; }
    .art-label-bottom { right: 1%; bottom: 7%; }
    .art-coordinate { right: 1%; }
    .hero-bottom { right: 24px; bottom: 18px; left: 24px; flex-wrap: wrap; gap: 8px 15px; font-size: 9px; }
    .hero-bottom span:nth-child(2) { margin-left: auto; }
    .hero-bottom a { width: 100%; }
    .ticker { padding: 13px 0; }
    .ticker-track { gap: 26px; font-size: 10px; }
    .section-wrap { padding-right: 24px; padding-left: 24px; }
    .intro-section { grid-template-columns: 1fr; gap: 29px; padding-top: 83px; padding-bottom: 85px; }
    .intro-content h2 { font-size: clamp(42px, 10vw, 58px); }
    .intro-text { font-size: 16px; }
    .intro-aside { justify-self: start; text-align: left; }
    .aside-rule { margin-left: 0; }
    .values-section, .stories-section { padding: 78px 0; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 17px; }
    .public-heading { margin-bottom: 31px; }
    .public-heading h2 { font-size: clamp(36px, 8.7vw, 50px); }
    .public-heading > p { max-width: 540px; font-size: 15px; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .value-card { min-height: 240px; padding: 22px 14px 22px 0; }
    .value-card + .value-card { padding-left: 15px; }
    .value-card:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
    .value-card:nth-child(4) { border-top: 1px solid var(--line); }
    .value-icon { margin: 25px 0 14px; font-size: 27px; }
    .value-card h3 { font-size: 18px; }
    .value-card p { font-size: 14px; }
    .mission-section { display: block; padding-top: 82px; padding-bottom: 85px; }
    .mission-section .section-kicker { margin-bottom: 32px; }
    .mission-main h2 { font-size: clamp(28px, 6.5vw, 38px); }
    .mission-list { margin-top: 32px; padding-top: 22px; }
    .mission-item { grid-template-columns: 36px 1fr 18px; gap: 9px; min-height: 65px; }
    .mission-item p { font-size: 14px; }
    .mission-cycle { margin-top: 26px; padding-top: 25px; }
    .cycle-heading { grid-template-columns: 1fr; gap: 12px; margin-bottom: 20px; }
    .cycle-heading .eyebrow { grid-column: auto; }
    .cycle-heading h3 { font-size: clamp(28px, 6.5vw, 36px); }
    .cycle-heading > p:last-child { font-size: 14px; }
    .path-grid { grid-template-columns: 1fr 1fr; }
    .path-grid article { min-height: 172px; padding: 22px 13px 20px 0; }
    .path-grid article + article { padding-left: 13px; }
    .path-grid article:nth-child(3), .path-grid article:nth-child(5) { padding-left: 0; border-top: 1px solid #cccac2; border-left: 0; }
    .path-grid article:nth-child(4) { border-top: 1px solid #cccac2; }
    .path-grid h3 { margin-top: 23px; font-size: 19px; }
    .path-grid p { font-size: 13px; }
    .path-note { align-items: flex-start; flex-direction: column; gap: 8px; font-size: 13px; }
    .events-section { padding-top: 82px; padding-bottom: 84px; }
    .event-grid { grid-template-columns: 1fr; gap: 13px; }
    .event-card { min-height: 225px; padding: 23px; }
    .event-card h3 { margin-top: 28px; font-size: 22px; }
    .event-card p { font-size: 14px; }
    .story-row { grid-template-columns: 1fr 24px; gap: 8px 12px; padding: 21px 0; }
    .story-type { grid-column: 1; grid-row: 1; }
    .story-row > div { grid-column: 1; grid-row: 2; }
    .story-arrow { grid-column: 2; grid-row: 1 / 3; }
    .story-row h3 { font-size: 18px; }
    .story-row p { font-size: 13px; }
    .join-section { min-height: 390px; padding: 70px 24px; }
    .join-content h2 { font-size: clamp(40px, 9vw, 55px); }
    .join-content > p:not(.eyebrow) { font-size: 15px; }
    .join-mark { position: absolute; right: 3px; bottom: 2px; width: 110px; opacity: .15; }
    .site-footer { padding: 25px 24px 20px; }
    .footer-bottom { flex-wrap: wrap; font-size: 9px; }
    .footer-bottom span:last-child { width: 100%; }
    .article-detail { padding-top: 55px; padding-bottom: 80px; }
    .article-back { margin-bottom: 37px; }
    .article-detail h1 { font-size: clamp(39px, 9vw, 58px); }
    .article-summary { font-size: 17px; }
    .article-body { font-size: 16px; }

    .admin-layout { display: block; }
    .admin-sidebar { position: sticky; z-index: 9; top: 0; height: auto; min-height: 0; padding: 11px 15px 0; }
    .sidebar-brand { padding: 0 2px 10px; border-bottom: 0; }
    .sidebar-brand img { width: 38px; height: 38px; }
    .sidebar-brand span { font-size: 11px; }
    .sidebar-brand small { font-size: 8px; }
    .admin-nav { display: flex; gap: 5px; overflow-x: auto; padding: 7px 0 10px; scrollbar-width: thin; }
    .admin-nav a { min-height: 40px; flex: 0 0 auto; gap: 7px; padding: 8px 10px; font-size: 12px; white-space: nowrap; }
    .admin-nav a.active { box-shadow: inset 0 -2px #ed343c; }
    .sidebar-logout { position: absolute; top: 13px; right: 15px; margin: 0; padding: 0; border: 0; }
    .sidebar-logout button { width: auto; min-height: 36px; padding: 6px 10px; font-size: 12px; }
    .admin-main { padding: 25px 17px 22px; }
    .admin-topbar { align-items: flex-start; margin-bottom: 20px; }
    .admin-topbar h1 { font-size: 25px; }
    .admin-user { gap: 7px; padding-top: 13px; font-size: 12px; }
    .welcome-panel { min-height: 260px; padding: 27px 22px; }
    .welcome-mark { position: absolute; right: 0; bottom: 0; width: 110px; opacity: .2; }
    .welcome-panel h2 { max-width: 340px; font-size: clamp(25px, 6vw, 32px); }
    .welcome-panel p:not(.eyebrow) { max-width: 330px; font-size: 14px; }
    .stats-grid { grid-template-columns: 1fr; gap: 10px; }
    .stat-card { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 15px 17px; }
    .stat-card strong { grid-column: 2; grid-row: 1 / 3; margin: 0; font-size: 28px; }
    .stat-card small { font-size: 12px; }
    .admin-section, .form-panel { padding: 20px 16px; }
    .settings-group > summary { padding: 13px; font-size: 14px; }
    .settings-count { font-size: 10px; }
    .settings-group .form-grid { padding: 15px 12px; }
    .logo-editor { align-items: flex-start; gap: 14px; padding: 14px; }
    .logo-preview { width: 66px; height: 66px; flex-basis: 66px; }
    .logo-details > strong { font-size: 14px; }
    .logo-details > span { font-size: 12px; }
    .logo-upload-form { align-items: flex-start; flex-direction: column; }
    .admin-section .section-heading { align-items: flex-start; }
    .section-heading h2 { font-size: 20px; }
    .content-row { gap: 10px; }
    .content-row-title { font-size: 14px; }
    .form-grid { grid-template-columns: 1fr; gap: 18px; }
    .full-field { grid-column: auto; }
    .form-panel .section-heading { align-items: flex-start; }
    .auth-card { padding: 30px 23px; }
}

@media (max-width: 420px) {
    .site-header { padding-right: 16px; padding-left: 16px; }
    .site-brand { gap: 8px; }
    .site-brand small { font-size: 7px; }
    .hero { padding-right: 20px; padding-left: 20px; }
    .hero-actions .button { width: 100%; justify-content: space-between; }
    .hero-art { height: 300px; }
    .hero-logo-wrap { width: 235px; }
    .orbit-one { width: 270px; height: 165px; }
    .orbit-two { width: 305px; height: 220px; }
    .orbit-three { width: 225px; height: 225px; }
    .hero-bottom { right: 20px; left: 20px; }
    .hero-bottom span:nth-child(2) { margin-left: 0; }
    .section-wrap { padding-right: 20px; padding-left: 20px; }
    .value-card { min-height: 250px; }
    .path-grid article { min-height: 184px; }
    .admin-main { padding-right: 13px; padding-left: 13px; }
    .admin-sidebar { padding-right: 10px; padding-left: 10px; }
    .admin-nav a { padding-right: 8px; padding-left: 8px; font-size: 11px; }
    .sidebar-logout { right: 10px; }
}

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