/* ============================================
   PEPTIDEPOD — Editorial Podcast Magazine
   Warm paper · ink · signal coral · Sora display
   ============================================ */

:root {
  --paper: #F5F2EA;
  --paper-2: #EDE8DC;
  --card: #FBFAF6;
  --ink: #16130D;
  --ink-2: #4B463C;
  --ink-3: #8A8276;
  --line: rgba(22,19,13,0.12);
  --line-2: rgba(22,19,13,0.22);

  --coral: #FF4D24;
  --coral-deep: #E03A14;
  --coral-soft: #FFE6DD;
  --plum: #2C1A3B;
  --gold: #C98A2B;

  --display: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--coral); color: var(--paper); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ── TOP TICKER ── */
.ticker {
  background: var(--ink); color: var(--paper);
  overflow: hidden; white-space: nowrap;
  border-bottom: 1px solid var(--ink);
}
.ticker-track {
  display: inline-flex; align-items: center; gap: 40px;
  padding: 10px 0;
  will-change: transform;
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.5px;
  color: rgba(245,242,234,0.85);
}
.ticker-item b { color: var(--coral); font-weight: 600; }
.ticker-item::after { content: '✦'; color: rgba(245,242,234,0.3); margin-left: 40px; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,242,234,0.82);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 28px; }
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--coral); position: relative; flex-shrink: 0;
}
.logo-mark::before, .logo-mark::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%); border-radius: 50%;
}
.logo-mark::before { width: 13px; height: 13px; background: var(--paper); }
.logo-mark::after { width: 5px; height: 5px; background: var(--coral); }
.logo-text { font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.header-nav { display: flex; gap: 30px; }
.header-nav a { font-size: 14px; font-weight: 500; color: var(--ink-2); position: relative; transition: color .2s var(--ease); }
.header-nav a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--coral); transition: width .25s var(--ease); }
.header-nav a:hover { color: var(--ink); }
.header-nav a:hover::after { width: 100%; }
.header-right { display: flex; align-items: center; gap: 16px; }
.on-air {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--coral);
}
.on-air-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
@media (max-width: 900px) { .header-nav, .on-air { display: none; } }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; font-family: var(--sans); font-size: 14px; font-weight: 600;
  letter-spacing: -0.01em; border-radius: 100px; white-space: nowrap; will-change: transform;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .25s var(--ease);
}
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--lg { padding: 16px 30px; font-size: 15px; }
.btn--primary { background: var(--coral); color: var(--paper); border: 1.5px solid var(--coral); }
.btn--primary:hover { background: var(--coral-deep); border-color: var(--coral-deep); transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255,77,36,0.28); }
.btn--ink { background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink); }
.btn--ink:hover { background: var(--plum); border-color: var(--plum); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn--outline:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ── KICKER ── */
.kicker { display: inline-flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.kicker-num { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--coral); letter-spacing: 1px; line-height: 1; }
.kicker-rule { width: 44px; height: 1px; background: var(--coral); transform: scaleX(0); transform-origin: left center; display: inline-block; flex-shrink: 0; }
.kicker-text { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ink-2); line-height: 1; }

/* ── HEADINGS ── */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1.02; }
.section-head { max-width: 820px; margin: 0 auto 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .kicker { justify-content: center; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 58px); margin-bottom: 16px; }
.section-head .dek { font-size: 18px; color: var(--ink-2); line-height: 1.6; max-width: 640px; }
.section-head.center .dek { margin: 0 auto; }

/* ── HERO ── */
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.85fr; gap: 56px; align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.hero-tag .pill { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--paper); background: var(--coral); padding: 6px 12px; border-radius: 100px; }
.hero-tag .ep { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--ink-3); }
.hero h1 { font-size: clamp(46px, 6.8vw, 92px); font-weight: 800; line-height: 0.96; letter-spacing: -0.04em; margin-bottom: 26px; }
.hero h1 .word { display: inline-block; }
.hero-dek { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); line-height: 1.55; max-width: 560px; margin-bottom: 30px; }
.hero-meta { display: flex; align-items: center; gap: 18px; margin-bottom: 32px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.4px; }
.hero-meta .dotsep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }
.hero-ctas { display: flex; gap: 13px; flex-wrap: wrap; }

/* Hero visual — generative cover + waveform */
.hero-visual {
  position: relative; aspect-ratio: 1/1; border-radius: 24px; overflow: hidden;
  background:
    radial-gradient(120% 120% at 15% 10%, var(--coral) 0%, var(--coral-deep) 40%, var(--plum) 100%);
  display: flex; align-items: flex-end; padding: 28px;
  box-shadow: 0 30px 80px rgba(44,26,59,0.25);
}
.hero-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(245,242,234,0.14) 1px, transparent 1px);
  background-size: 18px 18px; opacity: 0.5;
}
.hero-visual .badge {
  position: absolute; top: 24px; left: 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--paper); border: 1px solid rgba(245,242,234,0.35); padding: 7px 13px; border-radius: 100px;
}
.hero-visual .play-big {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 88px; height: 88px; border-radius: 50%; background: var(--paper); color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 16px 40px rgba(22,19,13,0.3); transition: transform .25s var(--ease);
}
.hero-visual .play-big:hover { transform: translate(-50%, -50%) scale(1.08); }
.hero-visual .play-big svg { margin-left: 4px; }
.waveform { position: relative; display: flex; align-items: flex-end; gap: 4px; height: 56px; width: 100%; z-index: 1; }
.waveform .bar { flex: 1; background: rgba(245,242,234,0.85); border-radius: 3px; height: 30%; }

/* ── EQUALIZER (podcast cards) ── */
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; }
.eq .eq-bar { width: 3px; background: currentColor; border-radius: 2px; height: 40%; }

/* ── EPISODES ── */
.episodes { padding: clamp(70px, 9vw, 110px) 0; background: var(--paper-2); }
.episode-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .episode-grid { grid-template-columns: 1fr; } }
.episode-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 18px; opacity: 0;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.episode-card.is-visible { opacity: 1; }
.episode-card:hover { transform: translateY(-5px); border-color: var(--line-2); box-shadow: 0 24px 50px rgba(22,19,13,0.08); }
.episode-top { display: flex; align-items: center; justify-content: space-between; }
.episode-num { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--coral); }
.episode-cat { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line); padding: 4px 10px; border-radius: 100px; }
.episode-card h3 { font-size: 26px; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.episode-card .ep-dek { font-size: 14px; color: var(--ink-2); line-height: 1.6; flex: 1; }
.episode-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); }
.episode-host { display: flex; align-items: center; gap: 10px; }
.host-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--coral), var(--plum)); flex-shrink: 0; }
.host-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.host-dur { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.play-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 100px;
  background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 600; will-change: transform;
  transition: background .2s var(--ease);
}
.play-btn:hover { background: var(--coral); }

/* ── NEWS ── */
.news { padding: clamp(70px, 9vw, 110px) 0; background: var(--paper); }
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 800px) { .news-grid { grid-template-columns: 1fr; } }
.news-card {
  display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: stretch;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; opacity: 0;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.news-card.is-visible { opacity: 1; }
.news-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 20px 44px rgba(22,19,13,0.07); }
.news-thumb { border-radius: 12px; min-height: 130px; position: relative; overflow: hidden; }
.news-thumb.g1 { background: linear-gradient(135deg, #FF4D24, #2C1A3B); }
.news-thumb.g2 { background: linear-gradient(135deg, #C98A2B, #16130D); }
.news-thumb.g3 { background: linear-gradient(135deg, #2C1A3B, #FF4D24); }
.news-thumb.g4 { background: linear-gradient(135deg, #16130D, #C98A2B); }
.news-thumb::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(245,242,234,0.18) 1px, transparent 1px); background-size: 14px 14px; }
.news-body { display: flex; flex-direction: column; gap: 9px; padding: 6px 8px 6px 0; }
.news-tag { font-family: var(--mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--coral); }
.news-card h3 { font-size: 21px; font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; }
.news-card .news-dek { font-size: 13px; color: var(--ink-2); line-height: 1.55; flex: 1; }
.news-byline { font-family: var(--mono); font-size: 11px; color: var(--ink-3); display: flex; gap: 12px; }
@media (max-width: 480px) { .news-card { grid-template-columns: 1fr; } .news-thumb { min-height: 150px; } }

/* ── TOPICS MARQUEE ── */
.topics { padding: 46px 0; background: var(--ink); overflow: hidden; }
.topics-track { display: inline-flex; align-items: center; gap: 18px; white-space: nowrap; will-change: transform; }
.topic-chip {
  font-family: var(--display); font-size: clamp(26px, 4vw, 44px); font-weight: 600; letter-spacing: -0.02em;
  color: var(--paper); display: inline-flex; align-items: center; gap: 18px;
}
.topic-chip::after { content: '●'; font-size: 12px; color: var(--coral); }
.topic-chip.muted { color: transparent; -webkit-text-stroke: 1px rgba(245,242,234,0.4); }

/* ── VOICES (what people are saying) ── */
.voices { padding: clamp(70px, 9vw, 110px) 0; background: var(--paper-2); }
.voices-grid { columns: 3; column-gap: 22px; }
@media (max-width: 860px) { .voices-grid { columns: 2; } }
@media (max-width: 560px) { .voices-grid { columns: 1; } }
.voice-card {
  break-inside: avoid; margin-bottom: 22px; background: var(--card); border: 1px solid var(--line);
  border-radius: 18px; padding: 26px; opacity: 0;
}
.voice-card.is-visible { opacity: 1; }
.voice-quote { font-family: var(--display); font-size: 19px; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 18px; }
.voice-meta { display: flex; align-items: center; gap: 11px; }
.voice-av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--coral), var(--gold)); flex-shrink: 0; }
.voice-who { display: flex; flex-direction: column; }
.voice-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.voice-handle { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }

/* ── STATS ── */
.stats { padding: clamp(60px, 7vw, 90px) 0; background: var(--paper); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; }
@media (max-width: 720px) { .stats-row { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; } }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-num { font-family: var(--display); font-size: clamp(40px, 5.5vw, 64px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat-num .suffix { color: var(--coral); }
.stat-label { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-3); }

/* ── SUBSCRIBE ── */
.subscribe { padding: clamp(70px, 9vw, 110px) 0; background: var(--paper); }
.subscribe-card {
  background: var(--ink); color: var(--paper); border-radius: 28px; padding: clamp(48px, 7vw, 84px) clamp(32px, 5vw, 64px);
  text-align: center; position: relative; overflow: hidden;
}
.subscribe-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 120% at 50% -10%, rgba(255,77,36,0.4), transparent 55%); pointer-events: none; }
.subscribe-inner { position: relative; max-width: 600px; margin: 0 auto; }
.subscribe h2 { color: var(--paper); font-size: clamp(34px, 5vw, 58px); margin-bottom: 16px; }
.subscribe p { color: rgba(245,242,234,0.7); font-size: 18px; margin-bottom: 36px; line-height: 1.6; }
.sub-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.sub-input { flex: 1; min-width: 220px; padding: 16px 22px; border-radius: 100px; border: 1.5px solid rgba(245,242,234,0.25); background: rgba(245,242,234,0.06); color: var(--paper); font-size: 15px; outline: none; transition: border-color .2s var(--ease); }
.sub-input::placeholder { color: rgba(245,242,234,0.5); }
.sub-input:focus { border-color: var(--coral); }
.sub-form .btn--primary { flex-shrink: 0; }
.sub-note { font-family: var(--mono); font-size: 11px; color: rgba(245,242,234,0.45); margin-top: 18px; letter-spacing: 0.4px; }

/* ── FOOTER ── */
.site-footer { background: var(--ink); color: var(--paper); padding: 80px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(245,242,234,0.12); }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 40px; } }
.footer-tag { margin-top: 16px; font-size: 14px; color: rgba(245,242,234,0.6); line-height: 1.6; max-width: 300px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 560px) { .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }
.footer-col h4 { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--coral); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; color: rgba(245,242,234,0.7); padding: 6px 0; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--coral); }
.footer-bottom { padding: 26px 0; }
.footer-bottom p { font-size: 12px; color: rgba(245,242,234,0.45); text-align: center; line-height: 1.6; }
.footer-logo .logo-text { color: var(--paper); }

/* ── PAGE HERO (sub-pages) ── */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(20px, 3vw, 36px); }
.page-hero h1 { font-size: clamp(40px, 6vw, 82px); font-weight: 800; letter-spacing: -0.04em; line-height: 0.98; margin: 20px 0 18px; }
.page-hero .dek { font-size: clamp(17px, 2vw, 21px); color: var(--ink-2); max-width: 640px; line-height: 1.55; }

/* ── ARTICLE PAGE ── */
.article { padding: clamp(48px, 7vw, 90px) 0; }
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-head { margin-bottom: 40px; }
.article h1 { font-size: clamp(36px, 5.5vw, 64px); font-weight: 600; line-height: 1.02; margin: 18px 0 22px; }
.article-dek { font-size: 21px; color: var(--ink-2); line-height: 1.5; margin-bottom: 26px; }
.article-byline { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.article-hero-visual { aspect-ratio: 16/9; border-radius: 20px; margin: 40px 0; background: linear-gradient(135deg, var(--coral), var(--plum)); }
.article-body p { font-size: 18px; line-height: 1.75; color: var(--ink); margin-bottom: 24px; max-width: 68ch; }
.article-body h2 { font-size: 30px; margin: 44px 0 16px; }
.article-body a { color: var(--coral); text-decoration: underline; text-underline-offset: 3px; }

/* ── ANIM INIT ── */
[data-anim="reveal"] { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  [data-anim="reveal"], .episode-card, .news-card, .voice-card { opacity: 1 !important; }
  * { animation: none !important; transition: none !important; }
}
