/* ============================================================
   Pholoh Creators — Preview (editorial-brutalist, cream + black)
   Inspired by: synapserstudio.com, cyrillic.digital
   ============================================================ */

:root {
  --bg: #F4F1EA;          /* warm cream */
  --bg-tint: #ECE8DD;     /* slightly darker grid lines */
  --ink: #0B0B0B;         /* near-black */
  --ink-2: #2A2A2A;
  --ink-3: #555;
  --ink-4: #8A8884;       /* muted/captions */
  --line: rgba(11,11,11,0.15);
  --line-2: rgba(11,11,11,0.06);
  --accent: #0B0B0B;
  --hover: #1a1a1a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* subtle grid in the background (Synapser-style) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

.muted { color: var(--ink-4); }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 40px;
  border-bottom: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: inline-block;
  width: 22px; height: 22px;
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  line-height: 22px;
  font-size: 14px;
  border-radius: 2px;
}
.brand-word { font-weight: 700; letter-spacing: 0.15em; }
.brand-sub { color: var(--ink-4); margin-left: 4px; font-weight: 500; }

.topnav { display: flex; gap: 28px; justify-content: center; }
.nav-link {
  color: var(--ink-4);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link span { color: var(--ink); margin-left: 2px; }
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-link.active::before {
  content: '●';
  margin-right: 8px;
  color: var(--ink);
}

.utility {
  display: flex; align-items: center; gap: 8px;
  justify-content: flex-end;
  color: var(--ink-3);
}
.dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ink-4);
}
.dot.live { background: #d63a00; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 100px 40px 80px;
  max-width: 1480px;
  margin: 0 auto;
  position: relative;
}

.hero-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 60px;
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.hero-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(72px, 12vw, 200px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: 56px;
}
.hero-line { display: block; }
.hero-line em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  letter-spacing: -0.02em;
}

.hero-lead {
  max-width: 600px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 80px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.hero-stats .stat {
  border-right: 1px solid var(--line);
  padding: 0 28px;
  display: flex; flex-direction: column;
  gap: 6px;
}
.hero-stats .stat:last-child { border-right: 0; }
.hero-stats .stat:first-child { padding-left: 0; }
.stat-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}
.stat-lab {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  text-transform: uppercase;
}

.scroll-prompt {
  position: absolute;
  bottom: 30px;
  right: 40px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-4);
}

/* ============================================================
   THE WALL  (Hall of Fame grid)
   ============================================================ */
.wall {
  padding: 100px 40px 120px;
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 24px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), border-color 0.2s;
}
.card:hover {
  border-color: var(--ink-2);
  transform: translateY(-3px);
}

.card-xl { grid-column: span 6; grid-row: span 2; min-height: 600px; }
.card-md { grid-column: span 3; grid-row: span 1; min-height: 380px; }
.card-money { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.card-money .card-meta,
.card-money .card-handle,
.card-money .muted { color: rgba(244, 241, 234, 0.6); }
.card-money .card-divider { background: rgba(244, 241, 234, 0.2); }

.card-meta {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.card-money .card-meta { border-color: rgba(244, 241, 234, 0.2); }

.card-photo {
  flex: 1 1 auto;
  background-size: cover;
  background-position: center;
  background-color: #d0c8b3;
  filter: grayscale(15%) contrast(1.02);
  min-height: 240px;
}
.card-xl .card-photo { min-height: 380px; }

.card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-xl .card-body { padding: 28px 28px 30px; }

.card-name {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.2vw, 38px);
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.card-xl .card-name {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.88;
}

.card-handle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 8px;
}
.card-plat {
  background: var(--ink);
  color: var(--bg);
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 9px;
  font-weight: 700;
}
.card-money .card-plat { background: var(--bg); color: var(--ink); }

.card-divider {
  height: 1px;
  background: var(--line);
  margin: 4px 0;
}

.card-footnote {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: auto;
  padding-top: 12px;
}
.card-footnote .muted {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}
.card-footnote .big {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2vw, 36px);
  letter-spacing: -0.02em;
}

/* MONEY CARD — earnings as the hero */
.card-money .card-money-num {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 4vw, 64px);
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin-top: 4px;
}
.card-money-cents {
  font-size: 0.55em;
  color: rgba(244,241,234,0.55);
  font-weight: 500;
}
.card-money-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(244,241,234,0.6);
  margin-bottom: 10px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot {
  border-top: 1px solid var(--line);
  padding: 28px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
}
.foot-mid { text-align: center; }
.foot-right { text-align: right; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .wall { grid-template-columns: repeat(6, 1fr); }
  .card-xl { grid-column: span 6; }
  .card-md { grid-column: span 3; }
}
@media (max-width: 720px) {
  .topbar { grid-template-columns: 1fr 1fr; row-gap: 14px; padding: 16px 20px; }
  .topnav { grid-column: span 2; justify-content: flex-start; flex-wrap: wrap; gap: 16px; }
  .utility { display: none; }
  .hero { padding: 60px 20px 60px; }
  .wall { padding: 60px 20px 80px; grid-template-columns: 1fr 1fr; }
  .card-xl, .card-md { grid-column: span 2; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats .stat:nth-child(2) { border-right: 0; }
  .hero-stats .stat:nth-child(3), .hero-stats .stat:nth-child(4) {
    border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px;
  }
}

/* ============================================================
   TAB PANEL VISIBILITY
   ============================================================ */
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade-in 0.4s cubic-bezier(.2,.8,.2,1); }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.hidden { display: none !important; }

/* ============================================================
   AUTH ERROR SCREEN
   ============================================================ */
.auth-screen {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.auth-card {
  max-width: 560px;
  text-align: left;
}
.auth-title {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 20px;
}
.auth-lead {
  font-size: 17px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ============================================================
   SHORTER HERO (used on Good/Bad/Rules)
   ============================================================ */
.hero-short { padding: 80px 40px 60px; }
.hero-short .hero-title { margin-bottom: 32px; }
.hero-short .hero-lead { margin-bottom: 0; }

.hero-bad .hero-title em { color: #b8311a; }

/* Section meta heading (used for roster, etc.) */
.section-meta {
  padding: 0 40px;
  max-width: 1480px;
  margin: 60px auto 28px;
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.roster-wrap { padding-bottom: 80px; }
.wall-compact { grid-auto-rows: minmax(180px, auto); padding-top: 0; }
.wall-compact .card-xl { grid-column: span 6; grid-row: span 1; min-height: 420px; }

/* ============================================================
   VIDEO GRID (Good / Bad tabs)
   ============================================================ */
.video-grid {
  padding: 40px 40px 120px;
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vcard {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), border-color 0.2s;
}
.vcard:hover {
  transform: translateY(-3px);
  border-color: var(--ink-2);
}
.vcard-bad { border-color: rgba(184, 49, 26, 0.18); }

.vmedia {
  aspect-ratio: 9 / 16;
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}
.vmedia video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #1a1a1a;
}
.video-empty {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-4);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.vbody {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.grade-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 2px;
  background: var(--bg-tint);
  color: var(--ink);
  border: 1px solid var(--line);
}
.grade-high { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.grade-mid { background: #d4ca9c; color: #3a3a25; border-color: transparent; }
.grade-low { background: #e0a89a; color: #4a1a10; border-color: transparent; }
.grade-fail { background: #b8311a; color: #fff; border-color: transparent; }
.grade-badge.muted { color: var(--ink-4); background: transparent; }

.vbullets {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  line-height: 1.45;
}
.vbullets li.pos { color: #1c5b2e; }
.vbullets li.neg { color: #8b1e0a; }
.vbullets li.neu { color: #6b5a1b; }
.vcard-good .vbullets li.pos { font-weight: 500; }
.vcard-bad .vbullets li.neg { font-weight: 500; }

.vnote {
  margin: 6px 0 0;
  padding: 10px 12px;
  background: var(--bg-tint);
  border-left: 2px solid var(--ink);
  font-size: 12px;
  color: var(--ink-3);
  font-style: italic;
  border-radius: 0 2px 2px 0;
}

@media (max-width: 1100px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .video-grid { padding: 24px 20px 80px; grid-template-columns: 1fr; }
}

/* ============================================================
   RULES & PLAYBOOK
   ============================================================ */
.rules-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 40px 140px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.rule-block {
  border-top: 1px solid var(--line);
  padding-top: 36px;
}

.rule-meta {
  display: flex;
  gap: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 500;
  margin-bottom: 28px;
  color: var(--ink-4);
}
.rule-meta span:last-child { color: var(--ink); }

.welcome-block {
  border-top: 0;
  padding-top: 0;
  margin-top: 24px;
}
.welcome-text {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 800px;
  color: var(--ink);
}

.rule-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-2);
  align-items: baseline;
}
.rule-row:last-child { border-bottom: 0; }
.rule-row h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink-3);
}
.rule-row p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
}

.rule-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rule-list li {
  font-size: 18px;
  line-height: 1.4;
  padding-left: 26px;
  position: relative;
}
.rule-list li::before {
  content: '⚠';
  position: absolute;
  left: 0;
  top: 0;
  color: #b8311a;
}

.rubric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.rubric-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.rubric-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.rubric-card h5 {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.rubric-card p {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.45;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  border: 0;
  grid-template-columns: 1fr;
}
.contact-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  display: flex;
  gap: 12px;
}
.contact-line a { color: var(--ink); text-decoration: underline; }
.contact-line a:hover { color: var(--ink-3); }

@media (max-width: 900px) {
  .rules-wrap { padding: 20px 20px 100px; gap: 48px; }
  .rule-row { grid-template-columns: 1fr; gap: 10px; }
  .rubric-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   EMPTY / TAGGED POST EMBEDS (kept simple)
   ============================================================ */
.empty-state {
  padding: 80px 20px;
  text-align: center;
  color: var(--ink-4);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.tagged-post {
  position: relative;
  margin-top: 12px;
}
.tagged-post .post-remove { display: none; }  /* admin-only, handled later */

/* Card photo as link */
.card-photo[href] { cursor: pointer; }
.card-photo[href]:hover { filter: grayscale(0) contrast(1.05); }

/* ============================================================
   LANDING PAGE (public, anonymized, application form embedded)
   ============================================================ */
body.landing {
  background: var(--bg);
  position: relative;
}

/* Blurred creator photo wallpaper — covers viewport, sits BEHIND content.
   Dense mosaic of small square tiles. Less blur so faces are *almost*
   recognizable — "wait, is that them?" — but never identifiable. */
.wallpaper {
  position: fixed;
  inset: -60px;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 1fr;
  gap: 0;
  pointer-events: none;
  filter: blur(6px) saturate(0.9) contrast(1.05);
  opacity: 0.92;
}
.wp-tile {
  background-size: cover;
  background-position: center;
  aspect-ratio: 1;
}

/* Light scrim so the hero text is readable WITHOUT killing the wallpaper.
   Stays uniform across viewport — no aggressive fade to opaque bg. */
.wallpaper-veil {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at center top, rgba(244,241,234,0.35) 0%, rgba(244,241,234,0.55) 70%),
    linear-gradient(180deg, rgba(244,241,234,0.35) 0%, rgba(244,241,234,0.55) 100%);
}

.landing > *:not(.wallpaper):not(.wallpaper-veil) { position: relative; z-index: 1; }

/* Lower content sections need an opaque-enough backdrop so the wallpaper
   doesn't make text unreadable. Wallpaper still bleeds at edges. */
.landing-section {
  background: rgba(244, 241, 234, 0.94);
  backdrop-filter: blur(4px);
}
.landing-section-apply {
  background: rgba(244, 241, 234, 0.97);
}

/* Top bar override on landing */
.landing-topbar { background: transparent; border-bottom-color: var(--line); }

/* Landing hero — bigger than the /learn hero */
.landing-hero {
  padding: 80px 40px 100px;
  max-width: 1480px;
  margin: 0 auto;
  position: relative;
}

.landing-hero-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(72px, 13vw, 220px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  /* Tiny top padding gives italic Fraunces ascenders ("$10,092") room so the
     top of digits like "2" don't get clipped by the line-box ceiling. */
  padding-top: 0.08em;
  margin: 48px 0 56px;
}
.landing-hero-title em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 100;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, var(--ink), #2A2A2A 75%, #555);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-lead {
  max-width: 680px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 56px;
}
.landing-lead strong { color: var(--ink); font-weight: 600; }

.landing-microstats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  margin-bottom: 48px;
}
.microstat {
  border-right: 1px solid var(--line);
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.microstat:last-child { border-right: 0; }
.microstat:first-child { padding-left: 0; }
.microstat-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}
.microstat-lab {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-4);
  text-transform: uppercase;
}

.landing-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 700;
  transition: transform 0.2s, background 0.2s;
}
.landing-cta:hover { transform: translateY(-2px); background: #1a1a1a; }
.landing-cta .muted { color: rgba(244,241,234,0.55); }
.landing-cta.solid {
  border-radius: 2px;
  padding: 22px 36px;
  font-size: 15px;
}

/* ============================================================
   LANDING SECTIONS (works, avoid, rubric, apply)
   ============================================================ */
.landing-section {
  padding: 100px 40px;
  max-width: 1480px;
  margin: 0 auto;
  position: relative;
  border-top: 1px solid var(--line);
}
.section-head {
  margin-bottom: 56px;
  max-width: 900px;
}
.section-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin: 24px 0 24px;
}
.section-title em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-variation-settings: 'opsz' 144;
}
.section-lead {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 640px;
  line-height: 1.5;
}

.landing-section-bad .section-title em { color: #b8311a; }

/* Preview grid for good/bad videos */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.preview-card {
  background: var(--ink);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 9 / 16;
}
.preview-card:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.preview-card:nth-child(n+2):nth-child(-n+5) { grid-column: span 2; }
.preview-card:nth-child(n+6) { grid-column: span 1; }

.preview-meta {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(244,241,234,0.7);
}
.preview-media {
  position: absolute;
  inset: 0;
}
.preview-media .video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}
.preview-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tap-to-hear speaker icon over each example video. Default state shows the
   muted icon (speaker with slash); unmuted state shows the speaker with sound
   waves. Only one video can be unmuted at a time (enforced in landing.js). */
.video-unmute {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  padding: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background .15s ease, transform .12s ease, border-color .15s ease;
  z-index: 2;
}
.video-unmute:hover {
  background: rgba(0, 0, 0, 0.75);
  border-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.05);
}
.video-unmute:active { transform: scale(0.95); }
.video-unmute .vu-muted,
.video-unmute .vu-unmuted { display: none; }
.video-unmute[data-state="muted"]   .vu-muted   { display: block; }
.video-unmute[data-state="unmuted"] .vu-unmuted { display: block; }
.video-unmute[data-state="unmuted"] {
  background: rgba(255, 91, 58, 0.85); /* Pholoh orange to signal "now playing audio" */
  border-color: rgba(255, 91, 58, 0.95);
}

/* ============================================================
   LANDING RUBRIC (uses .rubric-card from existing CSS, same layout)
   ============================================================ */

/* ============================================================
   APPLICATION FORM (landing version, editorial layout)
   ============================================================ */
.landing-section-apply {
  background: var(--bg);
  padding-bottom: 140px;
}

.apply-form {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.form-block {
  border: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.form-legend {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 24px;
  display: flex;
  gap: 12px;
}
.form-legend span {
  background: var(--ink);
  color: var(--bg);
  padding: 2px 8px;
  border-radius: 2px;
}

.apply-form label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.apply-form input,
.apply-form select,
.apply-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: border-color 0.2s;
}
.apply-form textarea { resize: vertical; }
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.form-row {
  display: grid;
  gap: 16px;
  margin-bottom: 14px;
}
.form-row.two { grid-template-columns: 1fr 1fr; }
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }

.form-submit {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.landing-cta.solid {
  border: 0;
  cursor: pointer;
  font-family: 'JetBrains Mono', monospace;
}

.status { font-size: 13px; min-height: 18px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.05em; }
.status.error { color: #b8311a; }
.status.success { color: #1c5b2e; }

.apply-success {
  text-align: left;
  max-width: 720px;
}
.apply-success.hidden { display: none; }
.apply-form.hidden { display: none; }

/* ============================================================
   LANDING RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .landing-hero { padding: 60px 20px 80px; }
  .landing-section { padding: 60px 20px; }
  .landing-microstats { grid-template-columns: 1fr; gap: 16px; }
  .landing-microstats .microstat { border-right: 0; padding-left: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .landing-microstats .microstat:last-child { border-bottom: 0; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-card:nth-child(1) { grid-column: span 2; grid-row: span 1; aspect-ratio: 9/16; }
  .preview-card:nth-child(n+2):nth-child(-n+5) { grid-column: span 1; }
  .form-row.two, .form-row.three { grid-template-columns: 1fr; }
}



/* ============================================================
   SUBMIT-POST TAB (/learn 005 / SUBMIT)
   ============================================================ */
.submit-wrap { max-width: 760px; margin: 0 auto; padding: 32px 24px 80px; }
.submit-preview-notice { padding: 24px; border: 1px dashed var(--line); text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.submit-form-wrap { }
.submit-form { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: rgba(11, 11, 11, 0.03); border: 1px solid var(--line); }
.submit-form .submit-label { display: flex; flex-direction: column; gap: 6px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-4); }
.submit-form input { padding: 12px 14px; border: 1px solid var(--ink); background: var(--bg); font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--ink); border-radius: 0; appearance: none; }
.submit-form input:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.submit-actions { display: flex; align-items: center; gap: 16px; }
.btn-submit-post { background: var(--ink); color: var(--bg); border: 0; padding: 14px 22px; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.12em; font-weight: 700; text-transform: uppercase; cursor: pointer; border-radius: 2px; }
.btn-submit-post[disabled] { opacity: 0.5; cursor: wait; }
.submit-status { font-size: 12px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.05em; }
.submit-status.error { color: #b8311a; }
.submit-status.success { color: #1c5b2e; }

.post-list { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.post-row { padding: 14px 16px; background: rgba(11, 11, 11, 0.03); border: 1px solid var(--line); }
.post-row-main { display: flex; align-items: center; gap: 12px; }
.post-plat { display: inline-block; padding: 2px 8px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; font-weight: 700; background: var(--ink); color: var(--bg); border-radius: 2px; }
.post-plat-tiktok { background: #ff0050; }
.post-plat-youtube { background: #c4302b; }
.post-url { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink); text-decoration: underline; word-break: break-all; flex: 1; }
.post-note { margin-top: 8px; font-size: 13px; color: var(--ink-2); font-style: italic; }
.post-row-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.post-delete { background: transparent; border: 1px solid var(--ink); color: var(--ink); padding: 4px 10px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.1em; cursor: pointer; text-transform: uppercase; }
.post-delete:hover { background: var(--ink); color: var(--bg); }
.post-delete:disabled { opacity: 0.5; cursor: wait; }

/* ============================================================
   CLIPS TAB (/learn 006 / CLIPS)
   ============================================================ */
.clips-wrap { max-width: 920px; margin: 0 auto; padding: 32px 24px 80px; }
.clips-preview-notice { padding: 24px; border: 1px dashed var(--line); text-align: center; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.clips-app { }
.clips-dropzone { border: 2px dashed var(--ink); padding: 56px 24px; text-align: center; transition: background 0.15s; }
.clips-dropzone.drag { background: rgba(11, 11, 11, 0.04); }
.clips-dz-meta { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.clips-dz-icon { font-size: 32px; line-height: 1; color: var(--ink); }
.clips-dz-line { font-family: 'Inter Tight', sans-serif; font-size: 18px; color: var(--ink); }
.clips-dz-hint { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.06em; }
.clips-dz-pick { cursor: pointer; }
.clips-dz-pick:hover .btn-submit-post { opacity: 0.8; }

.clips-queue { margin-top: 24px; padding: 20px; border: 1px solid var(--line); background: rgba(11, 11, 11, 0.02); }
.clips-queue-list { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 16px; }
.clip-q-row { display: grid; grid-template-columns: 1.4fr 1fr auto auto; gap: 12px; align-items: center; padding: 8px 10px; background: var(--bg); border: 1px solid var(--line); font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.clip-q-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.clip-q-name { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clip-q-size { font-size: 10px; }
.clip-q-progress { height: 6px; background: var(--line); position: relative; }
.clip-q-progress-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); transition: width 0.25s; }
.clip-q-state { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.clip-q-remove { background: transparent; border: 1px solid var(--ink); color: var(--ink); width: 22px; height: 22px; line-height: 1; padding: 0; cursor: pointer; font-size: 14px; }
.clip-q-remove[disabled] { opacity: 0.4; cursor: wait; }
.clips-queue-actions { display: flex; gap: 12px; align-items: center; }

.clips-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.clip-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: rgba(11, 11, 11, 0.03); border: 1px solid var(--line); gap: 16px; }
.clip-row-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.clip-row-name { font-family: 'Inter Tight', sans-serif; font-size: 14px; color: var(--ink); font-weight: 600; word-break: break-all; }
.clip-row-meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }
.clip-row-actions { display: flex; gap: 8px; }
.clip-row-btn { background: transparent; border: 1px solid var(--ink); color: var(--ink); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.1em; padding: 4px 10px; cursor: pointer; text-transform: uppercase; }
.clip-row-btn:hover { background: var(--ink); color: var(--bg); }
