:root {
  --bg: #000000;
  --bg-2: #0a0a09;
  --card: #0f0f0e;
  --line: #1f1f1d;
  --line-2: #33332f;
  --ink: #f5f5f2;
  --ink-2: #c9c9c3;
  --muted: #a3a39d;
  --faint: #8a8a84;
  --accent: #d4ff3f;
  --accent-hover: #e6ff85;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; background: var(--accent); color: #000; padding: 10px 14px; font-weight: 600; }
.skip:focus { left: 8px; }

/* type */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); }
.eyebrow.accent { color: var(--accent); }
.display, .display-md, .display-sm, .display-lg { font-family: var(--display); font-weight: 700; }
.display { font-size: clamp(56px, 9vw, 120px); line-height: .9; letter-spacing: -0.05em; }
.display-lg { font-size: clamp(48px, 7vw, 88px); line-height: .92; letter-spacing: -0.05em; }
.display-md { font-size: clamp(42px, 6vw, 72px); line-height: .92; letter-spacing: -0.05em; }
.display-sm { font-size: clamp(34px, 5vw, 56px); line-height: 1; letter-spacing: -0.04em; }
.lede { font-size: 20px; color: var(--ink-2); max-width: 560px; }
.fine { font-size: 14px; color: var(--muted); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 24px; border: 0;
  background: var(--accent); color: #000; text-decoration: none;
  font: 600 16px/1 var(--body); cursor: pointer;
}
.btn:hover { background: var(--accent-hover); color: #000; }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; }
.text-link { font-size: 15px; font-weight: 600; text-decoration: none; padding: 12px 0; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(0,0,0,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.logo { display: flex; flex-direction: column; text-decoration: none; font-family: var(--display); font-weight: 700; line-height: .88; letter-spacing: -1.5px; font-size: 28px; }
.logo-top { color: var(--ink); }
.logo-bottom { display: flex; align-items: center; gap: 6px; color: var(--accent); }
.bars { display: flex; flex-direction: column; gap: 2px; padding-top: 4px; }
.bars i { display: block; height: 3px; background: var(--accent); }
.bars i:nth-child(1) { width: 7px; } .bars i:nth-child(2) { width: 12px; }
.bars i:nth-child(3) { width: 17px; } .bars i:nth-child(4) { width: 22px; }
.logo:hover .logo-top { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-link { color: var(--ink-2); text-decoration: none; padding: 12px 0; }
.nav-link:hover { color: var(--ink); }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--line-2); color: var(--ink); cursor: pointer; padding: 0; }
.mobile-menu { display: flex; flex-direction: column; padding: 4px 20px 16px; border-top: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 0; color: var(--ink); text-decoration: none; font: 700 22px/1.2 var(--display); border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }

/* hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 96px; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-copy .fine { margin-top: -12px; }
.hero-bars { flex: 1 1 280px; display: flex; flex-direction: column; gap: 14px; }
.hero-bars i { display: block; height: 22px; width: var(--w); background: var(--accent); opacity: var(--o); }

.signup { display: flex; flex-wrap: wrap; gap: 10px; max-width: 560px; width: 100%; }
.signup input {
  flex: 1 1 260px; min-width: 0; height: 52px; padding: 0 16px;
  background: var(--card); border: 1px solid var(--line-2); color: var(--ink);
  font: 16px var(--body); border-radius: 0;
}
.signup input::placeholder { color: var(--faint); }
.signup input:focus { border-color: var(--accent); outline: none; }

/* pillars */
.pillars { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; padding-block: 72px; }
.pillar { display: flex; flex-direction: column; gap: 12px; }
.pillar-tag { font: 700 15px var(--display); color: var(--accent); }
.pillar h2 { font: 700 28px/1.1 var(--display); letter-spacing: -0.02em; }
.pillar p:last-child { color: var(--muted); }

/* show */
.show { background: var(--bg-2); border-bottom: 1px solid var(--line); }
.show-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 96px; }
.show-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.show-copy .lede { font-size: 17px; max-width: 480px; }
.soon { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 32px; border: 1px dashed var(--line-2); }
.soon-title { font: 700 28px/1.15 var(--display); letter-spacing: -0.02em; }

/* latest */
.latest { padding-block: 96px; display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.post { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.post:hover { border-color: var(--line-2); color: var(--ink); }
.post:hover h3 { color: var(--accent); }
.post h3 { font: 700 24px/1.15 var(--display); letter-spacing: -0.02em; }
.post-tag { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.post-date { font-size: 14px; color: var(--muted); margin-top: auto; }
.post-featured { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 32px; padding: 32px; }
.post-featured .post-body { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.post-featured h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; letter-spacing: -0.03em; }
.post-featured .post-media { flex: 1 1 320px; min-width: 0; align-self: center; }
.post-featured .post-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #111; }

/* join */
.join { padding-block: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.join .lede { font-size: 18px; max-width: 520px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: #050505; }
.footer-inner { display: flex; flex-direction: column; gap: 18px; padding-block: 32px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer-logo { text-decoration: none; font: 700 20px var(--display); letter-spacing: -0.5px; color: var(--ink); }
.footer-logo span:first-child { color: var(--ink); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.footer-nav a { color: var(--ink-2); text-decoration: none; padding: 6px 0; }
.footer-nav a:hover { color: var(--ink); }
.legal { font-size: 12px; line-height: 1.6; color: var(--faint); }

/* phone */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 20px; }
  .header-inner { padding-block: 12px; }
  .logo { font-size: 22px; letter-spacing: -1px; }
  .bars { gap: 2px; padding-top: 3px; }
  .bars i { height: 2px; }
  .bars i:nth-child(1) { width: 5px; } .bars i:nth-child(2) { width: 9px; }
  .bars i:nth-child(3) { width: 13px; } .bars i:nth-child(4) { width: 17px; }
  .nav { gap: 8px; }
  .nav-link { display: none; }
  .menu-btn { display: inline-flex; }

  .hero { padding-top: 44px; padding-bottom: 48px; gap: 22px; }
  .hero-copy { gap: 22px; }
  .hero-copy .fine { margin-top: -8px; font-size: 13px; }
  .hero-bars { display: none; }
  .display { font-size: 60px; }
  .lede { font-size: 17px; }
  .eyebrow { font-size: 11px; letter-spacing: 2.5px; }
  .signup { flex-direction: column; }
  .signup input, .signup .btn { width: 100%; flex: none; }

  .pillars-grid { padding-block: 36px; gap: 28px; }
  .pillar { gap: 8px; }
  .pillar h2 { font-size: 24px; }

  .show-inner { padding-block: 48px; gap: 24px; }
  .show-copy { gap: 18px; align-items: stretch; }
  .show-copy .btn { height: 48px; }
  .soon { padding: 22px; }
  .soon-title { font-size: 22px; }

  .latest { padding-block: 48px; gap: 22px; }
  .posts { grid-template-columns: 1fr; gap: 14px; }
  .post { padding: 20px; gap: 8px; }
  .post h3 { font-size: 20px; }
  .post-featured { flex-direction: column; padding: 22px; gap: 14px; }
  .post-featured .post-media { order: -1; flex: none; width: 100%; }
  .post-featured .post-body { flex: none; }
  .post-featured h3 { font-size: 26px; }

  .join { padding-block: 56px; gap: 20px; }
  .join .lede { font-size: 16px; }

  .footer-inner { padding-block: 28px 36px; }
  .footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; width: 100%; font-size: 15px; }
  .footer-nav a { padding: 10px 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .post { transition: none; } }
