:root {
  --paper: #f1ece0;
  --paper-2: #e7ded0;
  --ink: #18150f;
  --ink-soft: #5b5648;
  --line: rgba(24, 21, 15, 0.16);
  --line-strong: rgba(24, 21, 15, 0.55);
  --rust: #c14e26;
  --moss: #565f3e;
  --yt-red: #cc2b25;

  --f-display: 'Fraunces', serif;
  --f-mono: 'Space Mono', monospace;
  --f-body: 'Archivo', sans-serif;

  --edge: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--rust); color: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; margin: 0; line-height: 1.05; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.edge { padding-inline: var(--edge); }
.row { max-width: 1320px; margin-inline: auto; }

/* grain overlay */
.grain {
  position: fixed; inset: 0; z-index: 500; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
}

/* ===== index number / section marker ===== */
.idx {
  font-family: var(--f-mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.idx::before { content: ''; width: 22px; height: 1px; background: var(--line-strong); }

/* ===== links / buttons — no pills, no gradients ===== */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.15em;
  transition: border-color .2s ease, opacity .2s ease, gap .2s ease;
}
.link:hover { border-color: var(--rust); gap: 0.65em; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.85em 1.4em;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.filled { background: var(--ink); color: var(--paper); }
.btn.filled:hover { background: var(--rust); border-color: var(--rust); color: var(--paper); }

/* youtube-red variant — reserved for actual "watch / subscribe" actions */
.btn.youtube {
  background: var(--yt-red);
  border-color: var(--yt-red);
  color: var(--paper);
}
.btn.youtube:hover { background: #a81f1b; border-color: #a81f1b; }
.btn-sm { padding: 0.55em 1em; font-size: 0.72rem; }
.btn svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ===== header ===== */
header {
  position: sticky; top: 0; z-index: 200;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.6rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}
/* Header logo — swap the <img src> in index.html to change it; resize here */
.wordmark img { height: 42px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 1.6rem; }
.primary-nav {
  display: none;
  align-items: center;
  gap: 2.2rem;
}
.primary-nav a {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}
.primary-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--rust);
  transition: width .25s ease;
}
.primary-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 30px; background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  border-top: 1px solid transparent;
}
.mobile-nav.open { max-height: 360px; border-top-color: var(--line); }
.mobile-nav ul { padding: 1.2rem var(--edge) 0.4rem; display: flex; flex-direction: column; gap: 1rem; }
.mobile-nav a {
  font-family: var(--f-display);
  font-size: 1.3rem;
  text-decoration: none;
}
.mobile-nav .mobile-sub { padding: 0.4rem var(--edge) 1.6rem; }

@media (min-width: 880px) {
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ===== hero ===== */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 1.5rem; }
}

.hero-outline {
  position: absolute;
  top: -4vw;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(6rem, 20vw, 15rem);
  font-weight: 700;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
  white-space: nowrap;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

.hero-copy { position: relative; z-index: 1; padding-bottom: 1.5rem; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35em 0.7em;
  background: var(--yt-red);
  color: var(--paper);
  transform: rotate(-2deg);
  margin-bottom: 1.6rem;
}
.hero-tag svg { width: 11px; height: 11px; }
.hero-copy h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  max-width: 14ch;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--rust);
}
.hero-copy .dek {
  margin-top: 1.4rem;
  max-width: 42ch;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  align-items: center;
}

.hero-photo {
  position: relative;
  z-index: 1;
}
.hero-photo figure {
  margin: 0;
  border: 1.5px solid var(--ink);
  background: var(--paper-2);
  transform: rotate(1.2deg);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(0.1) contrast(1.05);
}
.hero-photo figcaption {
  font-family: var(--f-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.6rem 0.8rem;
  border-top: 1.5px solid var(--ink);
  display: flex;
  justify-content: space-between;
}

/* ===== marquee ===== */
.marquee-strip {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-left 24s linear infinite;
}
.marquee-track span {
  font-family: var(--f-mono);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.9rem 2rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
}
.marquee-track span::after { content: '/'; color: var(--rust); }
@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== section shell ===== */
section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.section-head p { max-width: 34ch; color: var(--ink-soft); font-size: 0.95rem; }

.rule { height: 1px; background: var(--line); border: none; margin: 0; }

.video-meta {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ===== featured / embedded video ===== */
.release-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 880px) {
  .release-feature { grid-template-columns: 0.95fr 1.05fr; gap: 4rem; align-items: center; }
}
.video-embed {
  position: relative;
  transform: rotate(-1.2deg);
  border: 1.5px solid var(--ink);
  background: #000;
  overflow: hidden;
}
.video-embed .ratio { position: relative; width: 100%; aspect-ratio: 16/9; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed .spin-tag {
  position: absolute; top: -14px; right: -14px;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 0.62rem; text-transform: uppercase;
  text-align: center; line-height: 1.2;
  transform: rotate(8deg);
  z-index: 2;
  pointer-events: none;
}

.release-info .idx { margin-bottom: 0.8rem; }
.release-info h3 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 0.5rem; }
.release-info .video-meta { margin-bottom: 1rem; }
.release-info .desc { color: var(--ink-soft); max-width: 50ch; margin-bottom: 1.8rem; }

.chapters { border-top: 1px solid var(--line); margin-bottom: 1.8rem; }
.chapters li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.chapters li .n { font-family: var(--f-mono); color: var(--ink-soft); font-size: 0.74rem; width: 5em; flex-shrink: 0; text-transform: uppercase; }
.chapters li .t { flex: 1; }

.cta-row { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; }

/* ===== "more coming" panel ===== */
.more-panel {
  border: 1.5px dashed var(--line-strong);
  padding: clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.more-panel p { max-width: 44ch; color: var(--ink-soft); }
.more-panel h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 0.6rem; }

/* ===== about ===== */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 880px) { .about-wrap { grid-template-columns: 1.2fr 0.8fr; } }
.about-copy p { max-width: 56ch; font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.about-copy p:first-child { font-size: 1.25rem; color: var(--ink); font-family: var(--f-display); }

.fact-sheet { border-top: 1.5px solid var(--ink); }
.fact-sheet li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
}
.fact-sheet li span:first-child { color: var(--ink-soft); }
.fact-sheet li span:last-child { text-align: right; }

/* ===== newsletter (postcard) ===== */
.postcard {
  border: 1.5px dashed var(--line-strong);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 780px) { .postcard { grid-template-columns: 1.2fr 1fr; } }
.postcard h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); max-width: 16ch; }
.postcard-form { display: flex; flex-direction: column; gap: 0.9rem; }
.postcard-form .field {
  display: flex;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 0.5rem;
}
.postcard-form input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
}
.postcard-form input::placeholder { color: var(--ink-soft); }
.postcard-note { font-family: var(--f-mono); font-size: 0.72rem; color: var(--ink-soft); text-transform: uppercase; }
.form-msg { font-family: var(--f-mono); font-size: 0.78rem; color: var(--moss); display: none; }
.form-msg.show { display: block; }

/* ===== footer ===== */
footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(3rem, 7vw, 5rem) 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(241,236,224,0.18);
}
@media (min-width: 780px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-top .wordmark { color: var(--paper); }
/* Footer logo — swap the <img src> in index.html to change it; resize here */
.footer-top .wordmark img { height: 60px; }

.social-row { display: flex; gap: 0.6rem; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(241,236,224,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--paper);
  transition: border-color .2s ease, color .2s ease;
}
.social-row a:hover { border-color: var(--yt-red); color: #ff6b63; }
.social-row svg { width: 16px; height: 16px; }
.footer-top .tag { margin-top: 1rem; max-width: 34ch; color: rgba(241,236,224,0.65); font-size: 0.92rem; }
.footer-email {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(241,236,224,0.4);
  display: inline-block;
  margin-top: 1.2rem;
  transition: border-color .2s ease;
}
.footer-email:hover { border-color: var(--rust); }
.footer-col h5 {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(241,236,224,0.5);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { text-decoration: none; font-size: 0.95rem; color: var(--paper); border-bottom: 1px solid transparent; }
.footer-col a:hover { border-color: var(--rust); }
.footer-col .primary-link { color: #ff6b63; }
.footer-bottom {
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: rgba(241,236,224,0.45);
  text-transform: uppercase;
}

/* ===== mini player ===== */
.mini-player {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 300;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1rem 0.7rem 0.8rem;
  max-width: 270px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
  text-decoration: none;
}
.mini-player.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mini-player .play-dot {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(241,236,224,0.5);
  display: flex; align-items: center; justify-content: center;
}
.mini-player .info { overflow: hidden; }
.mini-player .label { font-family: var(--f-mono); font-size: 0.62rem; text-transform: uppercase; color: rgba(241,236,224,0.55); }
.mini-player .track { font-family: var(--f-display); font-style: italic; font-size: 0.95rem; white-space: nowrap; }

/* ===== reveal ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
