:root {
  --bg: #090909;
  --surface: #121212;
  --text: #f0ece3;
  --muted: #9d9992;
  --accent: #ff315e;
  --accent-soft: #561325;
  --line: rgba(240, 236, 227, 0.18);
  --display: Georgia, 'Times New Roman', serif;
  --body: Arial, Helvetica, sans-serif;
  --radius: 0;
  --shadow: none;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  transition: background-color .35s ease, color .35s ease;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.screen-reader-text {
  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; left: 16px; top: -100px; z-index: 999; padding: 12px 16px; background: var(--accent); color: #fff; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(9, 9, 9, .9);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(18px);
}
.site-header__inner { min-height: 94px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: flex-end; width: max-content; text-transform: uppercase; font-weight: 800; line-height: .78; letter-spacing: -.06em; }
.brand__main { font-size: 1.25rem; }
.brand__city { margin-left: 7px; color: var(--accent); font-size: .52rem; letter-spacing: .18em; }
.custom-logo { width: auto; max-height: 52px; }
.site-nav__list { display: flex; align-items: center; gap: clamp(24px, 4vw, 52px); margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--muted); font-size: .72rem; letter-spacing: .23em; text-transform: uppercase; transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus { color: var(--text); }
.header-cta { justify-self: end; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; background: transparent; border: 1px solid var(--line); color: var(--text); }
.menu-toggle span:not(.screen-reader-text) { display: block; height: 1px; margin: 5px 0; background: currentColor; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px;
  border: 1px solid currentColor; border-radius: var(--radius); font-size: .68rem; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase; transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.button:hover, .button:focus { transform: translateY(-2px); }
.button--outline { color: var(--text); }
.button--outline:hover { background: var(--text); color: var(--bg); }
.button--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.button--light { background: var(--text); border-color: var(--text); color: var(--bg); }
.text-link { display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 5px; font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.text-link span { color: var(--accent); }

.direction-bar { background: #eee9df; color: #111; }
.direction-bar__inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.direction-bar__label { font-size: .62rem; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; }
.direction-picker { display: flex; align-items: center; gap: 8px; }
.direction-picker button { padding: 11px 16px; background: transparent; border: 0; border-radius: 999px; color: #111; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.direction-picker button span { margin-right: 8px; color: #8a857b; font-size: .58rem; }
.direction-picker button.is-active { background: #111; color: #fff; }
.direction-picker button.is-active span { color: #aaa; }

.hero { min-height: 680px; display: flex; align-items: center; padding: 78px 0 92px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(48px, 7vw, 96px); }
.eyebrow { margin: 0 0 26px; color: var(--accent); font-size: .67rem; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; }
h1, h2, h3, p { overflow-wrap: break-word; }
.hero h1, .section h2, .join h2, .content-header h1 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -.055em; line-height: .94; }
.hero h1 { max-width: 700px; font-size: clamp(4rem, 7.1vw, 7.2rem); }
.hero__intro { max-width: 600px; margin: 28px 0 0; color: var(--muted); font-size: 1.08rem; }
.hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 42px; }
.record-card {
  position: relative; min-height: 480px; padding: 24px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(circle at 75% 30%, color-mix(in srgb, var(--accent) 48%, transparent), transparent 42%), linear-gradient(145deg, #211216, #090909 65%);
  box-shadow: var(--shadow);
}
.record-card__meta { display: flex; justify-content: space-between; color: rgba(255,255,255,.52); font-size: .52rem; letter-spacing: .18em; text-transform: uppercase; }
.record { position: absolute; width: min(64%, 300px); aspect-ratio: 1; right: 12%; top: 21%; border-radius: 50%; background: repeating-radial-gradient(circle, #171717 0 7px, #282828 8px 9px), #111; box-shadow: 0 28px 45px rgba(0,0,0,.42); animation: record-spin 24s linear infinite; }
.record::before { content: ''; position: absolute; inset: 38%; border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 1px rgba(0,0,0,.28); }
.record::after { content: ''; position: absolute; width: 4%; aspect-ratio: 1; inset: 48%; border-radius: 50%; background: #0b0b0b; }
.record__label { position: absolute; inset: 43% auto auto 42%; z-index: 2; color: #090909; font-size: .45rem; font-weight: 900; line-height: .8; text-transform: uppercase; transform: rotate(-18deg); }
.equalizer { position: absolute; left: 9%; right: 5%; bottom: 7%; height: 80px; display: flex; align-items: center; gap: 7px; }
.equalizer i { flex: 1; height: 28%; background: rgba(240,236,227,.82); }
.equalizer i:nth-child(2n) { height: 55%; }
.equalizer i:nth-child(3n) { height: 82%; }
.equalizer i:nth-child(5n) { height: 100%; }
@keyframes record-spin { to { transform: rotate(360deg); } }

.section { padding: 128px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 58px; }
.section-heading .eyebrow { margin: 0; }
.section-heading h2, .section h2 { font-size: clamp(3.2rem, 6vw, 6rem); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.event-card__media { display: block; height: 330px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.05); transition: transform .5s ease; }
.event-card:hover .event-card__media img { transform: scale(1.04); }
.event-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(155deg, color-mix(in srgb, var(--accent) 52%, #111), #111 62%); }
.event-card:nth-child(2) .event-card__placeholder { background: radial-gradient(circle at 20% 20%, var(--accent), transparent 35%), linear-gradient(145deg, #0d0d0d, #261721); }
.event-card:nth-child(3) .event-card__placeholder { background: linear-gradient(120deg, #111 0 33%, var(--accent) 34% 38%, #252525 39% 70%, var(--accent-soft)); }
.event-card__number { margin: 18px 0 4px; color: var(--accent); font-size: .65rem; letter-spacing: .18em; }
.event-card h3 { margin: 0; font-family: var(--display); font-size: 1.7rem; font-weight: 400; }
.event-card > p:last-child { margin: 5px 0 0; color: var(--muted); font-size: .82rem; }

.story { background: var(--surface); }
.story__grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(60px, 9vw, 140px); }
.story__index { display: flex; align-items: flex-start; gap: 18px; color: var(--muted); }
.story__index span { color: var(--accent); font-size: 3.2rem; line-height: 1; }
.story__index p { margin: 9px 0 0; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; }
.story__copy > p:last-child, .founder__copy > p { max-width: 690px; color: var(--muted); font-size: 1.08rem; }

.founder__grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(54px, 9vw, 130px); }
.founder__portrait { min-height: 560px; display: grid; place-items: center; background: radial-gradient(circle at 60% 36%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 34%), linear-gradient(160deg, #202020, #0c0c0c); border: 1px solid var(--line); }
.founder__portrait span { font-family: var(--display); font-size: 16rem; line-height: 1; color: rgba(255,255,255,.07); }
.founder__copy h2 { margin-bottom: 26px; }
.founder__copy .text-link { margin-top: 18px; }

.join { padding: 112px 0; background: var(--accent); color: #fff; }
.join__inner { display: grid; grid-template-columns: 1fr 2fr; align-items: end; gap: 50px; }
.join .eyebrow { color: rgba(255,255,255,.72); }
.join h2 { font-size: clamp(3.6rem, 7vw, 7.5rem); }
.join__actions { grid-column: 2; display: flex; align-items: center; gap: 28px; margin-top: 16px; }
.join .text-link { border-color: rgba(255,255,255,.45); }
.join .text-link span { color: #fff; }

.site-footer { padding: 68px 0 24px; background: #050505; color: #f0ece3; }
.site-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.site-footer__brand { margin: 0; font-weight: 900; letter-spacing: -.04em; text-transform: uppercase; }
.site-footer__brand span { margin-left: 5px; color: var(--accent); font-size: .6rem; letter-spacing: .16em; }
.site-footer__grid > div > p:last-child { color: #8d8a84; font-size: .82rem; }
.site-footer__links { display: flex; justify-content: flex-end; align-items: flex-start; gap: 30px; font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; }
.site-footer__bottom { display: flex; justify-content: space-between; margin-top: 60px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #77736e; font-size: .68rem; }

.content-shell { min-height: 70vh; padding: 110px 0; }
.content-header { max-width: 820px; margin-bottom: 64px; }
.content-header h1 { font-size: clamp(3.4rem, 7vw, 7rem); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.post-card__date { color: var(--accent); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.post-card h2 { font-family: var(--display); font-size: 2rem; font-weight: 400; line-height: 1.1; }
.post-card p { color: var(--muted); }
.entry { max-width: 940px; margin-inline: auto; }
.entry__image { margin-bottom: 45px; }
.entry__content { max-width: 760px; font-size: 1.08rem; }
.entry__content a { color: var(--accent); text-decoration: underline; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

body[data-design="underground"] {
  --bg: #050505; --surface: #0c0c0c; --text: #f5f5ee; --muted: #a2a497; --accent: #c7ff2f;
  --accent-soft: #3a4b09; --line: rgba(199,255,47,.28); --display: Arial Black, Impact, sans-serif;
  --body: 'Courier New', Courier, monospace; --shadow: 12px 12px 0 rgba(199,255,47,.12);
}
body[data-design="underground"] .site-header { background: rgba(5,5,5,.95); }
body[data-design="underground"] .direction-bar { background: var(--accent); }
body[data-design="underground"] .hero h1, body[data-design="underground"] .section h2, body[data-design="underground"] .join h2 { text-transform: uppercase; letter-spacing: -.075em; }
body[data-design="underground"] .record-card { transform: rotate(1.6deg); background: repeating-linear-gradient(135deg, #111 0 20px, #171717 21px 40px); }
body[data-design="underground"] .record { box-shadow: 14px 14px 0 var(--accent-soft); }
body[data-design="underground"] .join { color: #050505; }
body[data-design="underground"] .button--light { background: #050505; border-color: #050505; color: var(--accent); }
body[data-design="underground"] .join .eyebrow, body[data-design="underground"] .join .text-link { color: #050505; }

body[data-design="hybrid"] {
  --bg: #0b0920; --surface: #12102b; --text: #f4efff; --muted: #aaa2c6; --accent: #ff4f86;
  --accent-soft: #391451; --line: rgba(171,155,255,.24); --display: Georgia, 'Times New Roman', serif;
  --body: Arial, Helvetica, sans-serif; --radius: 18px; --shadow: 0 30px 70px rgba(45,25,105,.45);
}
body[data-design="hybrid"] .site-header { background: rgba(11,9,32,.88); }
body[data-design="hybrid"] .direction-bar { background: #ebe6ff; }
body[data-design="hybrid"] .record-card { background: radial-gradient(circle at 78% 20%, #ff4f86, transparent 34%), radial-gradient(circle at 22% 72%, #7157ff, transparent 42%), #17112d; }
body[data-design="hybrid"] .event-card__media, body[data-design="hybrid"] .founder__portrait { border-radius: var(--radius); }
body[data-design="hybrid"] .join { background: linear-gradient(115deg, #ff4f86, #7b61ff); }

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .site-header__inner { grid-template-columns: 1fr auto; min-height: 78px; }
  .menu-toggle { display: block; justify-self: end; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; align-items: flex-start; gap: 20px; }
  .header-cta { display: none; }
  .hero__grid, .founder__grid { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; }
  .hero__art { max-width: 620px; width: 100%; }
  .event-grid, .post-grid { grid-template-columns: 1fr 1fr; }
  .story__grid { grid-template-columns: 1fr; gap: 40px; }
  .join__inner { grid-template-columns: 1fr; }
  .join__actions { grid-column: 1; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 30px), var(--max)); }
  .direction-bar__inner { padding: 13px 0; align-items: flex-start; flex-direction: column; }
  .direction-picker { width: 100%; overflow-x: auto; }
  .direction-picker button { flex: 0 0 auto; padding-inline: 13px; }
  .hero { min-height: auto; padding: 56px 0 72px; }
  .hero h1 { font-size: clamp(3.35rem, 16vw, 5rem); }
  .hero__actions { align-items: flex-start; flex-direction: column; }
  .record-card { min-height: 390px; }
  .record { width: 68%; right: 10%; top: 24%; }
  .section { padding: 88px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h2, .section h2 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .event-grid, .post-grid { grid-template-columns: 1fr; }
  .event-card__media { height: 390px; }
  .founder__portrait { min-height: 420px; }
  .founder__portrait span { font-size: 10rem; }
  .join { padding: 82px 0; }
  .join h2 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .join__actions { align-items: flex-start; flex-direction: column; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__links { justify-content: flex-start; flex-direction: column; gap: 12px; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}

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