/* Excess Returns — single page site */

:root {
  --bg: #0A1322;
  --bg-elevated: #0F1B30;
  --bg-card: #122339;
  --border: #1F3253;
  --border-strong: #2A4068;
  --fg: #F4EFE6;
  --fg-muted: #8B9AB5;
  --fg-dim: #586886;
  --accent: #6FA8FF;
  --accent-dim: #3D6BB8;
  --warm-white: #F4EFE6;

  --font-sans: "Geist", "Helvetica Neue", Helvetica, system-ui, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1240px;
  --gutter: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* === Subtle navy grain backdrop === */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(111,168,255,0.06), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(111,168,255,0.04), transparent 60%);
  pointer-events: none; z-index: 0;
}
body > * { position: relative; z-index: 1; }

/* === Top utility bar === */
.topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(10,19,34,0.85);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 50;
}
.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand-mark {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-white);
  display: flex; align-items: center; gap: 10px;
}
.brand-mark .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(111,168,255,0.6);
}
.topbar-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  display: flex; gap: 24px; align-items: center;
}
.topbar-meta .live {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--warm-white);
}
.topbar-meta .live::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #4CD46F;
  box-shadow: 0 0 8px rgba(76,212,111,0.7);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === Hero === */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px var(--gutter) 64px;
  text-align: center;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-sans);
  font-size: clamp(80px, 16vw, 240px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.05em;
  margin: 0 0 32px;
  color: var(--warm-white);
}
.hero h1 .accent-word {
  color: var(--accent);
  font-weight: 400;
}
.hero h1 .period {
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.45;
  color: var(--fg-muted);
  max-width: 640px;
  margin: 0 auto 56px;
  text-wrap: balance;
}

/* === Platform bar === */
.platforms {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 14px;
}
.platform-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--warm-white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.platform-btn:hover {
  border-color: var(--accent);
  background: #15243d;
  transform: translateY(-1px);
}
.platform-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.platform-btn .apple-img { width: 22px; height: 22px; border-radius: 5px; flex-shrink: 0; }
.icon-btn .apple-img { width: 18px; height: 18px; border-radius: 4px; display: block; }

/* === Section heading === */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px var(--gutter);
}
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--warm-white);
}
.section-head .kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 6px;
}
.section-head .count {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* === Show grid === */
.show-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 880px) {
  .show-grid { grid-template-columns: 1fr; }
}

.show-card {
  display: grid;
  grid-template-columns: 156px 1fr;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-card);
  transition: border-color 200ms ease, transform 200ms ease, background 200ms ease;
  position: relative;
}
.show-card:hover {
  border-color: var(--border-strong);
  background: #142745;
}
.show-card .cover-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.show-card .cover {
  width: 156px; height: 156px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #1c2e4d 0%, #0f1d33 100%);
  flex-shrink: 0;
}
.show-card .cover image-slot {
  width: 100%; height: 100%;
}
@media (max-width: 540px) {
  .show-card { grid-template-columns: 1fr; }
  .show-card .cover { width: 100%; height: auto; aspect-ratio: 1/1; }
  .show-card .cover-col { align-items: stretch; }
}

.show-body { display: flex; flex-direction: column; min-width: 0; }
.show-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 4px 0 8px;
  color: var(--warm-white);
  text-wrap: balance;
}
.show-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.show-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-muted);
  margin: 0 0 14px;
}

/* Host row */
.host-row {
  display: flex; align-items: center;
  gap: 10px;
  margin-bottom: 0;
}
.host-thumbs {
  display: flex;
}
.host-thumb {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid var(--bg-card);
  background: #1c2e4d;
  overflow: hidden;
  margin-left: -14px;
  position: relative;
}
.host-thumb:first-child { margin-left: 0; }
.host-thumb image-slot {
  width: 100%; height: 100%;
}
.host-names { display: none; }

/* Platform icon row on cards - now under the cover */
.show-platforms {
  display: flex; gap: 8px;
  justify-content: center;
}
.icon-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fg-muted);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.icon-btn:hover {
  color: var(--warm-white);
  border-color: var(--accent);
  background: #15243d;
}
.icon-btn svg { width: 15px; height: 15px; }

/* === Newsletter === */
.newsletter {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding: 0 var(--gutter);
}
.newsletter-inner {
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    radial-gradient(800px 400px at 70% 0%, rgba(111,168,255,0.08), transparent 60%),
    var(--bg-card);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 880px) {
  .newsletter-inner { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
}
.newsletter h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 14px;
  color: var(--warm-white);
}
.newsletter .kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.newsletter p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--fg-muted);
  margin: 0;
  max-width: 440px;
}

.signup-form { display: flex; flex-direction: column; gap: 12px; }
.signup-row { display: flex; gap: 10px; }
.signup-form input[type="email"] {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--warm-white);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 160ms ease;
}
.signup-form input[type="email"]:focus { border-color: var(--accent); }
.signup-form input::placeholder { color: var(--fg-dim); }
.signup-form button {
  padding: 14px 22px;
  background: var(--warm-white);
  color: var(--bg);
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: background 160ms ease, transform 160ms ease;
}
.signup-form button:hover { background: #fff; transform: translateY(-1px); }
.signup-form button:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.signup-note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--fg-dim);
}
.signup-success {
  font-size: 14px;
  color: #7BD49A;
  padding: 14px 16px;
  border: 1px solid rgba(123,212,154,0.3);
  border-radius: 10px;
  background: rgba(123,212,154,0.06);
}

/* === Footer === */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 96px;
  padding: 56px var(--gutter) 40px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--font-sans);
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--warm-white);
}
.footer-brand .period { color: var(--accent); }
.footer-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-align: right;
  line-height: 1.8;
}
.footer-platforms { display: flex; gap: 10px; margin-bottom: 16px; justify-content: flex-end; }

/* === Image-slot placeholder styling === */
image-slot {
  --slot-bg: transparent;
  --slot-border: transparent;
  --slot-fg: var(--fg-dim);
  --slot-font: var(--font-mono);
}
