/* Hard Truth Collective — marketing site
   Palette + treatments pulled from the Iron Standard app (globals.css).
   Charcoal ground, steel-gray raised plates, restrained white paint + smoke.
   Rule: no purple, no red/rust accents. */

@font-face {
  font-family: "Bebas Neue";
  src: url("/assets/fonts/bebas-neue-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0b0d;
  --bg-2: #111114;
  --card: #16171a;
  --border: #3e4248;
  --text: #ffffff;
  --muted: #9aa0a8;
  --steel: #7a808a;
  --steel-bright: #c0c5ce;
  --steel-mid: #a8adb5;
  --steel-deep: #4a4e56;
  --metal-hi: #c8cdd6;
  --display: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
  --pad: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  position: relative;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  background-color: var(--bg);
  /* charcoal + steel wash + concrete grit lines (from app body) */
  background-image:
    radial-gradient(ellipse 130% 60% at 50% -10%, rgba(168, 173, 181, 0.10), transparent 55%),
    linear-gradient(180deg, #131316 0%, #0b0b0d 40%, #09090a 100%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(184, 178, 170, 0.026) 2px, rgba(184, 178, 170, 0.026) 3px),
    repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(0, 0, 0, 0.16) 3px, rgba(0, 0, 0, 0.16) 4px);
}

/* Film grain overlay — industrial grit */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Fixed soft smoke + corner paint (from app .htc-shell::after, toned down) */
.smoke {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(ellipse 72% 26% at 14% 30%, rgba(192, 197, 206, 0.09), transparent 72%),
    radial-gradient(ellipse 62% 22% at 88% 62%, rgba(168, 173, 181, 0.07), transparent 74%),
    radial-gradient(ellipse 48% 18% at 34% 92%, rgba(255, 252, 245, 0.06), transparent 76%),
    radial-gradient(ellipse 13px 52px at 1% 43%, rgba(255, 252, 245, 0.16), transparent 72%),
    radial-gradient(circle 3px at 5% 36%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(circle 2px at 4% 57%, rgba(248, 246, 240, 0.18), transparent),
    radial-gradient(ellipse 14px 58px at 99% 56%, rgba(255, 252, 245, 0.15), transparent 72%),
    radial-gradient(circle 3px at 95% 48%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(circle 2px at 97% 68%, rgba(248, 246, 240, 0.18), transparent);
  background-repeat: no-repeat;
}

main, .topbar, .footer { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--steel-bright); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
}

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  color: #fff;
  text-shadow:
    0 0 22px rgba(168, 173, 181, 0.16),
    0 2px 0 rgba(0, 0, 0, 0.7),
    1px 0 0 rgba(0, 0, 0, 0.4);
}
p { margin: 0; }

.micro {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--steel-mid);
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.85);
}
.micro::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--steel-bright), var(--steel-deep));
  box-shadow: 0 0 8px rgba(168, 173, 181, 0.35);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 3px;
  min-height: 44px;
  transition: transform 0.12s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }

/* Brushed steel (app .rust-gradient — steel, no orange) with dark stencil type */
.btn-steel {
  color: #0d0e10;
  border: 1px solid #353840;
  border-top-color: #e2e5ea;
  background:
    repeating-linear-gradient(108deg, transparent 0, transparent 1px, rgba(255, 255, 255, 0.07) 1px, rgba(255, 255, 255, 0.07) 2px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.16) 100%),
    linear-gradient(135deg, #e0e3e8 0%, #c0c5ce 30%, #a8adb5 60%, #8a909a 100%);
  box-shadow:
    0 0 24px rgba(168, 173, 181, 0.28),
    0 3px 0 #2a2c30,
    0 10px 24px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -2px 0 rgba(0, 0, 0, 0.18);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn-steel:hover { filter: brightness(1.06); box-shadow: 0 0 34px rgba(192, 197, 206, 0.4), 0 3px 0 #2a2c30, 0 10px 24px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6); }

.btn-ghost {
  color: #fff;
  border: 2px solid var(--border);
  background: rgba(12, 12, 14, 0.6);
  box-shadow: inset 0 1px 0 rgba(192, 197, 206, 0.06);
}
.btn-ghost:hover { border-color: var(--steel); }

.btn-xl { font-size: 1.6rem; padding: 0.7rem 2rem 0.6rem; min-height: 60px; width: 100%; }
.btn-sm { font-size: 1.05rem; padding: 0.4rem 1.1rem 0.3rem; min-height: 40px; letter-spacing: 0.16em; }

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--steel-bright);
  border-bottom: 1px solid transparent;
}
.btn-link:hover { color: #fff; }
.btn-link-sm { min-height: 40px; font-size: 11px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
  background-color: rgba(12, 12, 14, 0.96);
  background-image:
    linear-gradient(180deg, rgba(192, 197, 206, 0.09) 0%, transparent 22%),
    repeating-linear-gradient(90deg, transparent 0, transparent 2px, rgba(255, 255, 255, 0.018) 2px, rgba(255, 255, 255, 0.018) 3px);
  box-shadow: 0 1px 0 rgba(168, 173, 181, 0.35), 0 10px 28px rgba(0, 0, 0, 0.45);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand img { width: 40px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)); }
.brand-name {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Grit + white paint splatter (app .htc-grit::before) ---------- */
.grit { position: relative; isolation: isolate; overflow: hidden; }
.grit::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(ellipse 72% 28% at 22% 30%, rgba(192, 197, 206, 0.10), transparent 72%),
    radial-gradient(ellipse 64% 24% at 84% 67%, rgba(168, 173, 181, 0.08), transparent 74%),
    radial-gradient(ellipse 46% 16% at 42% 88%, rgba(255, 252, 245, 0.07), transparent 76%),
    radial-gradient(ellipse 58px 38px at 5% 7%, rgba(255, 252, 245, 0.132), transparent 68%),
    radial-gradient(ellipse 22px 8px at 10% 10%, rgba(255, 255, 255, 0.12), transparent 70%),
    radial-gradient(circle 5px at 13% 14%, rgba(255, 255, 255, 0.26), transparent 70%),
    radial-gradient(circle 3px at 8% 16%, rgba(248, 246, 240, 0.22), transparent),
    radial-gradient(circle 2px at 17% 9%, rgba(255, 255, 255, 0.24), transparent),
    radial-gradient(ellipse 40px 25px at 94% 8%, rgba(255, 252, 245, 0.12), transparent 70%),
    radial-gradient(circle 4px at 88% 15%, rgba(255, 255, 255, 0.24), transparent 70%),
    radial-gradient(circle 2px at 92% 19%, rgba(248, 246, 240, 0.2), transparent),
    radial-gradient(ellipse 12px 48px at 2% 52%, rgba(255, 252, 245, 0.108), transparent 72%),
    radial-gradient(circle 3px at 6% 44%, rgba(255, 255, 255, 0.22), transparent),
    radial-gradient(ellipse 14px 54px at 98% 50%, rgba(255, 252, 245, 0.102), transparent 72%),
    radial-gradient(circle 3px at 93% 42%, rgba(255, 255, 255, 0.22), transparent),
    radial-gradient(ellipse 46px 30px at 6% 94%, rgba(255, 252, 245, 0.12), transparent 68%),
    radial-gradient(circle 4px at 15% 88%, rgba(255, 255, 255, 0.24), transparent 70%),
    radial-gradient(ellipse 52px 34px at 95% 93%, rgba(255, 252, 245, 0.132), transparent 68%),
    radial-gradient(circle 4px at 89% 85%, rgba(255, 255, 255, 0.26), transparent 70%),
    radial-gradient(circle 2px at 84% 95%, rgba(255, 255, 255, 0.2), transparent);
  background-repeat: no-repeat;
}
/* soft vignette */
.grit::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
}

/* ---------- Hero ---------- */
.hero { padding: 18px 0 52px; }
.hero-grid { display: grid; gap: 18px; justify-items: center; text-align: center; }
/* The shield is the first thing you see: big, clean, transparent (no box, no frame) */
.hero-logo { width: min(86vw, 360px); position: relative; }
.hero-logo::before { /* soft steel haze behind the shield */
  content: "";
  position: absolute;
  inset: -10% -14%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(192, 197, 206, 0.17), rgba(192, 197, 206, 0.05) 60%, transparent 80%);
}
.hero-logo img { width: 100%; filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.75)); }
.hero-copy { display: grid; gap: 14px; justify-items: center; max-width: 620px; }
.hero-copy .micro::after {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(270deg, var(--steel-bright), var(--steel-deep));
}
@media (max-width: 519px) {
  .hero-copy .micro { letter-spacing: 0.2em; font-size: 10.5px; }
  .hero-copy .micro::before, .hero-copy .micro::after { display: none; }
}
.hero-title {
  font-size: clamp(3.1rem, 14.5vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  position: relative;
  padding-bottom: 10px;
}
/* white spray-paint underline */
.hero-title::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -4px;
  height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255, 252, 245, 0.28), transparent 70%),
    radial-gradient(circle 2px at 6% 30%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(circle 1.5px at 94% 70%, rgba(255, 255, 255, 0.35), transparent);
}
.hero-kicker {
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-bright);
}
.hero-lede { color: #c9cdd3; font-size: 1.02rem; max-width: 34ch; }
.hero-actions { display: grid; gap: 4px; width: 100%; max-width: 420px; margin-top: 10px; }
.join-block { display: grid; gap: 9px; width: 100%; justify-items: center; }
.invite-note {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
  text-wrap: balance;
}
.invite-note a { /* steel text link, no platform-blue */
  color: var(--steel-bright);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--steel-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.invite-note a:hover { color: #fff; text-decoration-color: var(--steel-mid); }
.invite-note::before { /* small stencil key-slot mark */
  content: "";
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--steel-mid);
  border-radius: 50%;
  display: inline-block;
  margin-right: 7px;
  vertical-align: 0;
}

/* ---------- Sections ---------- */
.section { padding: 60px 0; position: relative; }
.section-alt {
  background:
    linear-gradient(180deg, rgba(192, 197, 206, 0.035), transparent 30%, transparent 70%, rgba(192, 197, 206, 0.03)),
    rgba(10, 10, 12, 0.55);
  border-top: 1px solid rgba(74, 78, 86, 0.55);
  border-bottom: 1px solid rgba(74, 78, 86, 0.55);
}
.section-title {
  font-size: clamp(2.5rem, 10vw, 3.8rem);
  line-height: 0.95;
  margin-top: 12px;
  padding-bottom: 16px;
  position: relative;
}
.section-title::after { /* steel rail + chain (app .htc-section-rule) */
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(170px, 55%);
  height: 12px;
  background: url("/assets/chain-ornament.svg") left center / 48px 11px repeat-x;
  opacity: 0.75;
}
.section-sub { color: var(--muted); margin-top: 16px; max-width: 52ch; }

/* ---------- Steel plates (raised) ---------- */
.plate {
  position: relative;
  border-radius: 3px;
  border: 1px solid;
  border-top-color: #9aa0a8;
  border-left-color: #8a909a;
  border-right-color: #3a3e46;
  border-bottom-color: #2a2c30;
  background-color: #17181b;
  background-image:
    linear-gradient(125deg, rgba(220, 224, 232, 0.13) 0%, transparent 28%, transparent 62%, rgba(192, 197, 206, 0.05) 100%),
    repeating-linear-gradient(108deg, transparent 0, transparent 1px, rgba(255, 255, 255, 0.028) 1px, rgba(255, 255, 255, 0.028) 2px),
    linear-gradient(180deg, #1f2126 0%, #15161a 50%, #0f1013 100%);
  box-shadow:
    inset 0 1px 0 rgba(232, 234, 238, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(168, 173, 181, 0.16),
    2px 4px 0 rgba(0, 0, 0, 0.5),
    0 18px 40px rgba(0, 0, 0, 0.5);
}
/* four corner rivets */
.plate > .rivets {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 11px 11px, #e8eaee 0 1.15px, #8a909a 1.4px 2.5px, #2a2c30 2.7px 3.4px, transparent 3.6px),
    radial-gradient(circle at calc(100% - 11px) 11px, #e8eaee 0 1.15px, #8a909a 1.4px 2.5px, #2a2c30 2.7px 3.4px, transparent 3.6px),
    radial-gradient(circle at 11px calc(100% - 11px), #e8eaee 0 1.15px, #8a909a 1.4px 2.5px, #2a2c30 2.7px 3.4px, transparent 3.6px),
    radial-gradient(circle at calc(100% - 11px) calc(100% - 11px), #e8eaee 0 1.15px, #8a909a 1.4px 2.5px, #2a2c30 2.7px 3.4px, transparent 3.6px);
  background-repeat: no-repeat;
}

.plates { display: grid; gap: 14px; margin-top: 30px; }
.plates .plate {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "label spec" "note note";
  align-items: baseline;
  column-gap: 14px;
  row-gap: 6px;
  padding: 20px 22px 20px;
}
.plate-label {
  grid-area: label;
  font-size: 2.6rem;
  line-height: 0.9;
  letter-spacing: 0.08em;
}
.plate-spec {
  grid-area: spec;
  justify-self: end;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-bright);
  padding: 3px 10px 1px;
  border: 1px solid rgba(200, 205, 214, 0.45);
  background: linear-gradient(180deg, rgba(192, 197, 206, 0.12), rgba(18, 19, 22, 0.6));
  transform: rotate(-2deg);
  white-space: nowrap;
}
.plate-note { grid-area: note; color: var(--muted); font-size: 0.95rem; }

/* 30-day rule plate */
.plate-wide { margin-top: 18px; padding: 24px 22px; display: grid; gap: 18px; border-left: 3px solid var(--steel-bright); }
.rule-head { display: flex; align-items: center; gap: 14px; }
.rule-big {
  font-family: var(--display);
  font-size: 5.4rem;
  line-height: 0.8;
  color: #fff;
  text-shadow: 0 0 26px rgba(192, 197, 206, 0.28), 0 3px 0 rgba(0, 0, 0, 0.7);
}
.rule-unit {
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 0.95;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-bright);
}
.rule-body { display: grid; gap: 12px; }
.rule-line { font-size: 1.08rem; color: #e4e6ea; }
.rule-line strong { color: #fff; font-weight: 800; }
.rule-meta { color: var(--muted); font-size: 0.92rem; }

/* ---------- The climb: 4 phases as steel plates ---------- */
.section.section-climb { padding-top: 8px; }
.climb { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.plate.climb-step {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "num spec" "name name" "base base" "adds adds";
  align-items: center;
  align-content: start;
  row-gap: 6px;
  column-gap: 12px;
  padding: 16px 20px 18px;
}
.climb-num { grid-area: num; font-size: 10.5px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--steel-mid); padding-left: 10px; }
.plate-spec.climb-spec { grid-area: spec; font-size: 1.05rem; margin-right: 8px; }
.climb-name { grid-area: name; font-size: 2.1rem; line-height: 0.95; letter-spacing: 0.06em; margin-top: 2px; }
.climb-base { grid-area: base; color: var(--muted); font-size: 0.9rem; }
.climb-adds { grid-area: adds; list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.climb-adds li {
  font-size: 0.84rem;
  line-height: 1.35;
  color: #cfd3d9;
  padding: 5px 9px 4px;
  border: 1px solid rgba(168, 173, 181, 0.32);
  border-top-color: rgba(200, 205, 214, 0.45);
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(192, 197, 206, 0.07), rgba(0, 0, 0, 0.18));
}
.climb-adds b { font-weight: 800; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-right: 3px; }
.plate.climb-top { border-left: 3px solid var(--steel-bright); }
.climb-top .climb-name { text-shadow: 0 0 22px rgba(192, 197, 206, 0.3); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 18px 18px 16px;
  border-radius: 2px;
  border: 1px solid rgba(74, 78, 86, 0.85);
  background: linear-gradient(145deg, rgba(192, 197, 206, 0.045) 0%, transparent 45%), linear-gradient(180deg, rgba(20, 21, 24, 0.94), rgba(12, 12, 14, 0.96));
  box-shadow: inset 0 1px 0 rgba(192, 197, 206, 0.07), 0 6px 18px rgba(0, 0, 0, 0.3);
}
.step-num {
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 1;
  text-align: center;
  padding: 6px 0 2px;
  color: #0d0e10;
  border-radius: 2px;
  background: linear-gradient(135deg, #e0e3e8 0%, #c0c5ce 35%, #8a909a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 2px 0 #2a2c30;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}
.step-title { font-size: 1.75rem; line-height: 1; letter-spacing: 0.06em; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Podcast ---------- */
.episode { margin-top: 30px; overflow: hidden; display: grid; }
.episode > .rivets { z-index: 2; }
.episode-media { position: relative; aspect-ratio: 16 / 9; background: #000; border-bottom: 1px solid #2a2c30; overflow: hidden; }
.episode-media iframe, .yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt { padding: 0; margin: 0; cursor: pointer; background: #000; display: block; }
.yt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* keep the page monochrome until play — the real video plays in full color */
  filter: contrast(1.04) brightness(0.92);
  transform: scale(1.045); /* crops the thin black letterbox baked into the thumbnail */
  transition: filter 0.2s ease;
}
.yt:hover img { filter: contrast(1.04) brightness(1); }
.yt::after { /* bottom fade */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55));
}
.yt-play {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(135deg, #e0e3e8 0%, #c0c5ce 35%, #8a909a 100%);
  box-shadow: 0 0 0 6px rgba(12, 12, 14, 0.55), 0 0 30px rgba(192, 197, 206, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.yt-play::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 24px;
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #0d0e10;
}
.episode-body { padding: 20px 22px 24px; display: grid; gap: 10px; }
.episode-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.26em; text-transform: uppercase; color: var(--steel-mid); }
.episode-title { font-size: 2.2rem; line-height: 0.95; }
.episode-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 6px; }

.coming { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.coming li {
  display: grid;
  gap: 2px;
  padding: 14px 14px 12px;
  border: 1px dashed rgba(122, 128, 138, 0.55);
  border-radius: 2px;
  background: rgba(14, 15, 18, 0.7);
}
.coming span { font-family: var(--display); font-size: 1.4rem; letter-spacing: 0.08em; text-transform: uppercase; color: #d6d9de; line-height: 1; }
.coming b { font-size: 10px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: #6c727b; }

/* ---------- Final CTA ---------- */
.final { padding: 64px 0 72px; border-top: 1px solid rgba(74, 78, 86, 0.55); scroll-margin-top: 70px; }
.final-inner { display: grid; justify-items: center; text-align: center; gap: 16px; }
.chain-rule { width: 200px; height: 14px; background: url("/assets/chain-ornament.svg") center / 56px 14px repeat-x; opacity: 0.8; margin-bottom: 6px; }
.final-title { font-size: clamp(3rem, 13.5vw, 5.2rem); line-height: 0.9; }
.final-sub { color: #c9cdd3; max-width: 36ch; }
.final .join-block { max-width: 420px; margin-top: 8px; }
.final-login { color: var(--muted); font-size: 0.9rem; }
.final-login a { color: var(--steel-bright); font-weight: 700; text-decoration: none; display: inline-block; padding: 10px 2px; }
.final-login a:hover { color: #fff; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(74, 78, 86, 0.6);
  background: rgba(8, 8, 9, 0.92);
  padding: 22px 0 calc(22px + env(safe-area-inset-bottom));
  font-size: 0.85rem;
  color: #7f858f;
}
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
.footer nav { display: flex; gap: 18px; }
.footer a { color: var(--steel-bright); text-decoration: none; font-weight: 600; padding: 8px 0; display: inline-block; }
.footer a:hover { color: #fff; }
.footer a.footer-fb { display: inline-flex; align-items: center; gap: 6px; }
.fb-icon { flex: none; opacity: 0.85; }

/* ============ Larger screens ============ */
@media (min-width: 720px) {
  :root { --pad: 32px; }
  .plates { grid-template-columns: repeat(3, 1fr); }
  .plates .plate {
    grid-template-columns: 1fr;
    grid-template-areas: "label" "spec" "note";
    justify-items: center;
    text-align: center;
    padding: 30px 22px 28px;
    row-gap: 12px;
  }
  .plates .plate .plate-spec { justify-self: center; }
  .plate-label { font-size: 3.2rem; }
  .plate-wide { grid-template-columns: auto 1fr; align-items: center; gap: 32px; padding: 30px 34px; }
  .rule-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .rule-big { font-size: 7.5rem; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-columns: 1fr; padding: 22px; }
  .step-num { width: 64px; }
  .coming { max-width: 520px; }
  .climb { grid-template-columns: 1fr 1fr; gap: 14px; }
  .section.section-climb { padding-top: 12px; }
}

@media (min-width: 960px) {
  .hero { padding: 44px 0 80px; }
  /* Copy column never shrinks below its content (button + podcast link); the shield gives way instead. */
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(min-content, 1.1fr); align-items: center; gap: 56px; text-align: left; justify-items: start; }
  .hero-logo { width: min(470px, 100%); justify-self: center; }
  .hero-copy { justify-items: start; }
  .hero-copy .micro::after { display: none; }
  .hero-title { font-size: 4.7rem; }
  .hero-title::after { left: 0; right: 20%; }
  .invite-note { white-space: nowrap; }
  .hero-actions { grid-template-columns: auto auto; justify-content: start; align-items: start; gap: 9px 26px; max-width: none; }
  /* Flatten join-block so the (long, nowrap) invite note spans both columns under the button
     instead of widening the button column and pushing "Watch the podcast" off the edge. */
  .hero-actions .join-block { display: contents; }
  .hero-actions .invite-note { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .hero-actions .btn-link { grid-column: 2; grid-row: 1; }
  .hero-actions .btn-xl { width: auto; padding-left: 2.6rem; padding-right: 2.6rem; white-space: nowrap; }
  .hero-actions .btn-link { min-height: 60px; white-space: nowrap; }
  .section { padding: 88px 0; }
  .episode { grid-template-columns: 1.35fr 1fr; }
  .episode-media { border-bottom: 0; border-right: 1px solid #2a2c30; }
  .episode-body { align-content: center; padding: 30px 34px; }
  .episode-title { font-size: 2.8rem; }
  .final { padding: 96px 0 104px; }
  .final .join-block { width: auto; }
  .final .btn-xl { width: auto; padding-left: 3rem; padding-right: 3rem; }
  /* the climb: four columns, each plate a step higher than the last */
  .climb { grid-template-columns: repeat(4, 1fr); align-items: start; gap: 16px; }
  .section.section-climb { padding-top: 16px; }
  .plate.climb-step { padding: 20px 20px 22px; }
  .climb-step:nth-child(1) { margin-top: 60px; }
  .climb-step:nth-child(2) { margin-top: 40px; }
  .climb-step:nth-child(3) { margin-top: 20px; }
  .climb-name { font-size: 2rem; }
}
