/* The Healthy Pitmaster — homepage
   Visual SoT: assets/chatgpt-sections/01–05.png (modular stack)
   Do not freestyle away from the ChatGPT section images. */

@font-face {
  font-family: "Autograf";
  src: url("https://assets.cdn.filesafe.space/gB1ZkibINhmBb0vwM2LY/media/913a3977-2bc6-4f2f-be96-bb6b0c225f3c.woff2") format("woff2"),
       url("https://assets.cdn.filesafe.space/gB1ZkibINhmBb0vwM2LY/media/4ed95dfa-cc1d-4b6f-88be-e8fa6a76e5c0.woff") format("woff"),
       url("https://assets.cdn.filesafe.space/gB1ZkibINhmBb0vwM2LY/media/929094a0-3dc8-4816-8b07-607ca512681d.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050505;
  --bg-elevated: #0a0a0a;
  --bg-card: rgba(0, 0, 0, 0.68);
  --line: rgba(197, 160, 89, 0.55);
  --line-soft: rgba(197, 160, 89, 0.28);
  --gold: #c5a059;
  --gold-light: #e2c48a;
  --gold-bronze: #a67c45;
  --copper-top: #d98d58;
  --copper-bot: #8c5a2b;
  --copper-grad: linear-gradient(180deg, #d9a06a 0%, #c47a3f 45%, #8c5a2b 100%);
  --copper-btn: linear-gradient(180deg, #e0a86e 0%, #c47a3f 48%, #8f5528 100%);
  --text: #ffffff;
  --text-muted: #e8e0d4;
  --text-dim: #b7aa98;
  --live: #d32f2f;
  --radius: 10px;
  --radius-pill: 999px;
  --font-serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-sans: "Montserrat", Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-script: "Autograf", "Segoe Script", "Brush Script MT", cursive;
  --max: 1180px;
  --header-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.85rem;
}

.subhead-caps {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0.35rem 0 1.75rem;
}

.script {
  font-family: var(--font-script);
  color: var(--gold);
  font-weight: 400;
  line-height: 1.15;
}

.serif, h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.35rem); margin: 0 0 1.5rem; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.65rem); margin: 0 0 0.75rem; }
h3 { font-size: 0.95rem; margin: 0.55rem 0 0.35rem; font-family: var(--font-sans); font-weight: 700; letter-spacing: 0.01em; }

/* ——— Copper CTA (ChatGPT pill) ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.72rem 1.45rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(60, 30, 10, 0.45);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
  text-transform: none;
}

.btn-copper {
  background: var(--copper-btn);
  color: #1a0e06;
  box-shadow: 0 6px 22px rgba(180, 100, 40, 0.28), inset 0 1px 0 rgba(255, 230, 190, 0.35);
}

.btn-copper:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  color: #000;
}

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* ——— Gold rules ——— */
.gold-rule {
  height: 1px;
  width: min(520px, 70%);
  margin: 1.75rem auto 2rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.45);
}
.gold-rule.wide {
  width: 100%;
  margin: 2.5rem 0;
}

/* ——— Cards ——— */
.icon-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.15rem 0.85rem 1.25rem;
  text-align: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.icon-card p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.icon-svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
  margin: 0 auto;
  display: block;
}

.card-grid {
  display: grid;
  gap: 0.85rem;
}
.card-grid-6 { grid-template-columns: repeat(6, 1fr); }
.card-grid-5 { grid-template-columns: repeat(5, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.spot-label {
  margin: 0.4rem 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}
.spot-label.light { text-align: left; letter-spacing: 0.08em; color: var(--text); font-size: 0.78rem; }

/* ——— Header / Nav (over hero) ——— */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 1.1rem 0 0;
  background: transparent;
}
.top-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
}
.nav-links a:hover { color: var(--gold-light); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ——— 01 HERO ——— */
.hero {
  position: relative;
  /* Match sec01-hero-bg.jpg aspect (1672×941) so cover does not chop Jim */
  aspect-ratio: 1672 / 941;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  display: flex;
  align-items: flex-start; /* copy sits under baked Autograf, not centered into it */
  overflow: hidden;
  background: #050505;
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* center + cover on matched aspect = full bake visible (logo + Jim) */
  background:
    url("https://assets.cdn.filesafe.space/gB1ZkibINhmBb0vwM2LY/media/d3e1dc0c-f615-45b3-bb65-006deedcf8e9.jpg") center top / cover no-repeat;
  transform: none;
  pointer-events: none;
}
.hero-scrim {
  /* Intentionally empty — show ChatGPT hero bake (Autograf + photo) unobstructed */
  display: none;
}
.hero-inner {
  padding: 0 0 5rem;
  width: min(var(--max), calc(100% - 2.5rem));
  margin-top: 0;
}
.hero-copy {
  max-width: 34rem;
  /* Raised slightly 2026-09-12 — still clear of baked Autograf logo; REM only (no vh) */
  padding-top: 29.5rem;
  background: none;
  box-shadow: none;
}
.hero-copy h1 {
  text-shadow: 0 2px 18px rgba(0,0,0,0.65);
}
.logo-script {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  margin: 0 0 1.1rem;
  color: #d4a574;
  text-shadow: 0 2px 18px rgba(180, 100, 40, 0.35);
  transform: rotate(-2deg);
  transform-origin: left center;
  display: inline-block;
}

/* ——— 02 MY STORY ——— */
.story {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: transparent;
}
.story-bg {
  position: absolute;
  inset: 0;
  background: url("https://assets.cdn.filesafe.space/gB1ZkibINhmBb0vwM2LY/media/f4d8c1d3-de5a-4b5f-a2d5-fbeab09939d9.jpg") right center / cover no-repeat;
  pointer-events: none;
}
.story-scrim {
  display: none;
}
/* Soft left readability only — not a black panel over Jim */
.story::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.18) 38%, rgba(0,0,0,0) 58%);
}
.story-inner { position: relative; z-index: 2; }

.story-inner { padding: 4.5rem 0; }
.story-copy {
  max-width: 28rem;
  background: none;
  box-shadow: none;
  border: 0;
}
.story-body {
  color: var(--text-muted);
  margin: 0 0 1.6rem;
  font-size: 1rem;
  max-width: 26rem;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55);
}
.story h2 { font-size: clamp(2.4rem, 4vw, 3.2rem); margin-bottom: 1rem; text-shadow: 0 2px 18px rgba(0,0,0,0.65); }

/* ——— 03 TEACH / QUOTE ——— */
.teach {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  background: #050505;
}
.teach-bg {
  position: absolute;
  inset: 0;
  /* Clean kitchen blank + light readability wash (HTML overlays stay) */
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.45)),
    url("https://assets.cdn.filesafe.space/gB1ZkibINhmBb0vwM2LY/media/14b87caa-7309-45ce-bbf6-cdb9b2e85ad1.jpg") center center / cover no-repeat;
  background-position: center center;
  pointer-events: none;
}
.teach-inner { position: relative; z-index: 2; }
.meta-block h2,
.teach-block h2 { margin-bottom: 0.25rem; }

.quote-block {
  margin: 0.5rem auto 0;
  max-width: 48rem;
  text-align: center;
  padding: 1.15rem 1.25rem 0.85rem;
  background: rgba(0,0,0,0.42);
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-radius: 8px;
}
.quote-text {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 1rem;
  color: #fff;
}
.qmark { color: var(--gold); font-size: 1.35em; }
.quote-sub {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ——— 04 STORIES / LIVE / TICKER ——— */
.stories-live {
  position: relative;
  padding: 4rem 0 0;
  overflow: hidden;
  background: #050505;
}
.stories-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.45)),
    url("https://assets.cdn.filesafe.space/gB1ZkibINhmBb0vwM2LY/media/58e5574e-184c-459b-b057-99a64b010f52.jpg") center center / cover no-repeat;
  background-position: center center;
  pointer-events: none;
}
.stories-inner { position: relative; z-index: 2; padding-bottom: 2.5rem; }

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.section-sub {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  max-width: 36rem;
  font-size: 0.95rem;
}

.testimonial-card {
  background: rgba(0,0,0,0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem 1.1rem 1.35rem;
  text-align: center;
  position: relative;
  cursor: pointer;
}
.testimonial-card .t-media {
  position: relative;
  width: 100%;
  max-width: 220px;
  margin: 0 auto 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
}
.testimonial-card .t-media .avatar {
  margin: 0.75rem auto;
}
.testimonial-card .t-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}
.testimonial-card.is-previewing .t-media { background: #000; }
.testimonial-card.is-previewing .play-btn { opacity: 0.7; }
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
  background: radial-gradient(circle at 40% 35%, #6a6a6a, #2a2a2a 70%);
  border: 1px solid rgba(255,255,255,0.12);
}
.stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}
.t-quote {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  font-style: italic;
  color: #fff;
}

.live-title-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--live);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.25);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.live-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) 1.8fr;
  gap: 1.25rem;
  align-items: start;
}
.event-card {
  background: rgba(0,0,0,0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem 1.25rem;
  text-align: center;
}
.event-card .cal { margin: 0 auto 0.75rem; width: 32px; height: 32px; color: var(--gold); }
.event-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
}
.event-when {
  color: var(--gold);
  font-size: 0.9rem;
  margin: 0 0 1.1rem;
}

.replays-label {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.replay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.replay-card { display: block; }
.replay-thumb {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
}
.replay-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.replay-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none; /* click goes to platform URL for sound */
}
.replay-card.is-playing .play-btn,
.replay-card.is-previewing .play-btn { opacity: 0.7; }
.replay-card.is-previewing .replay-thumb { background: #000; }
.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.45);
}
.play-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #fff;
}

/* Latest Posts bar */
.latest-posts {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(0,0,0,0.92);
  padding: 0.7rem 0;
}
.latest-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.latest-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.latest-label .mega { width: 16px; height: 16px; }
.latest-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-height: 28px;
}
.latest-ticker:not(:empty) ~ .latest-fallback { display: none; }
.latest-fallback {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 0.82rem;
}
.latest-fallback-track {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  white-space: nowrap;
  animation: marquee 64s linear infinite;
}
.latest-fallback .dot { color: var(--gold); }
.tf-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.soc { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ——— 05 LEARN / SYSTEM / FOOTER ——— */
.learn-system {
  position: relative;
  padding: 3.5rem 0 0;
  overflow: visible;
  background: #050505;
}
.learn-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.45)),
    url("https://assets.cdn.filesafe.space/gB1ZkibINhmBb0vwM2LY/media/833c1589-3cf4-4b50-9e9e-f4614199c915.jpg") center center / cover no-repeat;
  background-position: center center;
  pointer-events: none;
}
.learn-inner { position: relative; z-index: 2; padding-bottom: 0; }

.article-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 3rem;
}
.article-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: linear-gradient(180deg, rgba(40,36,32,0.9), rgba(12,10,8,0.92));
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 1rem 0.95rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.article-card:hover {
  border-color: var(--line);
  transform: translateY(-1px);
}
.doc-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--gold);
}
.doc-icon svg { width: 100%; height: 100%; }
.article-meta { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.read-time {
  font-size: 0.75rem;
  color: var(--gold);
}

.system-block {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  gap: 0 1.5rem;
  align-items: end;
  /* bleed left + bottom so hard crop edges leave the frame */
  padding: 1.5rem 0 0;
  margin: 1.5rem 0 0;
  overflow: visible;
}
.system-media {
  position: relative;
  justify-self: start;
  align-self: end;
  width: min(520px, 52vw);
  max-width: none;
  /* pull to the section’s left edge (cancel .wrap side padding) */
  margin-left: calc(-1 * max(0px, (100% - min(var(--max), 100%)) / 2) - 1.25rem);
  margin-bottom: 0;
  line-height: 0;
}
.system-portrait {
  display: block;
  line-height: 0;
  overflow: hidden;
}
.system-portrait img {
  width: 118%;
  max-width: none;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: left bottom;
  transform: translate(-2%, 4%);
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.55));
}
.system-copy {
  text-align: center;
  max-width: 34rem;
  margin-inline: auto;
  justify-self: center;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem 3.5rem;
}
.system-copy .eyebrow,
.system-copy h2,
.system-copy .system-body {
  text-align: center;
  width: 100%;
}
.system-copy .btn {
  align-self: center;
}
.system-body {
  color: var(--text-muted);
  margin: 0 0 1.4rem;
}
.system-logo {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  transform: rotate(-12deg);
  text-align: center;
  margin: 0;
  color: #d4a574;
  text-shadow: 0 2px 16px rgba(180,100,40,0.3);
}
.system-logo-img {
  position: absolute;
  left: 50%;
  bottom: 10%;
  z-index: 2;
  width: min(300px, 78%);
  height: auto;
  transform: translateX(-50%) rotate(-6deg);
  margin: 0;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,0.55));
  pointer-events: none;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 50;
  background: #000;
  margin-bottom: 0;
  padding: 2.75rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 1.75rem;
}
.footer-logo {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: #d4a574;
}
.footer-logo-img { display: none; }
.footer-tag {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255,255,255,0.92);
}
.footer-nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.footer-nav a,
.footer-legal a {
  position: relative;
  z-index: 51;
  pointer-events: auto;
}
.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
}
.footer-nav a:hover { color: var(--gold-light); }
.footer-legal a { font-size: 0.75rem; color: rgba(255,255,255,0.55); }
.footer-social { text-align: right; }
.social-row {
  display: flex;
  gap: 0.85rem;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.social-row a { color: #fff; opacity: 0.9; }
.social-row a:hover { color: var(--gold-light); }
.footer-tagline {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1rem;
  text-align: center;
}
.footer-copy p {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

/* Coming soon stubs */
.cs-body { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.cs-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 6rem 1.5rem 3rem; }
.cs-card {
  max-width: 32rem;
  text-align: center;
  background: rgba(20,18,16,0.9);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 2.5rem 2rem;
}
.cs-card h1 { margin: 0.75rem 0 1rem; font-size: 2rem; }
.cs-card p { color: var(--text-muted); }
.cs-body .site-header { position: relative; background: #000; padding: 1rem 0; }
.cs-body .nav-bar, .cs-body .site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.cs-body .logo-text { font-size: 1.6rem; }
.cs-body .nav-links { display: flex; gap: 1rem; }
.cs-body .nav-links a { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.cs-body .site-footer { margin-top: auto; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.legal-links a { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .card-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .card-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .system-block { grid-template-columns: 0.9fr 1.1fr; }
  .system-media { width: min(420px, 48vw); margin-left: -1.25rem; }
  .system-portrait img { width: 115%; }
}
@media (max-width: 860px) {
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 3.2rem;
    left: 1rem; right: 1rem;
    background: rgba(0,0,0,0.94);
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    padding: 1rem;
    gap: 0.85rem;
  }
  .nav-toggle { display: inline-flex; position: absolute; right: 1.25rem; top: 1rem; }
  .card-grid-3, .replay-grid, .live-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-social { text-align: center; }
  .social-row { justify-content: center; }
  .footer-nav nav { justify-content: center; }
  .footer-logo-img { margin-inline: auto; }
  .hero {
    aspect-ratio: 1672 / 941;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    padding-top: 0;
  }
  .hero-copy {
    /* Kill desktop Jim lock (32.625rem) hard on tablets/phones */
    padding-top: clamp(10rem, 38vw, 14rem) !important;
  }
  .hero-inner { padding-bottom: 3rem; width: min(var(--max), calc(100% - 1.5rem)); }
  .hero-copy, .story-copy { max-width: 100%; }
  .story {
    min-height: 0;
    padding: 3rem 0;
  }
  .story-inner { padding: 0; }
  .teach { padding: 3rem 0 2.5rem; }
  .stories-live { padding: 3rem 0 0; }
  .learn-system { padding: 2.5rem 0 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .system-block { grid-template-columns: 1fr; text-align: center; padding: 1.5rem 0 0; }
  .system-media {
    justify-self: start;
    width: min(100vw, 420px);
    margin-left: -0.75rem;
    margin-bottom: 0;
  }
  .system-portrait img { width: 112%; transform: translate(-1%, 3%); }
  .system-copy {
    text-align: center;
    margin-inline: auto;
    justify-self: center;
    align-items: center;
    padding: 1.5rem 1rem 2rem;
  }
  .system-logo-img {
    bottom: 12%;
    width: min(260px, 72%);
    transform: translateX(-50%) rotate(-6deg);
  }
}
@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
  .card-grid-6, .card-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
  .logo-script { font-size: 2.3rem; }
  .hero {
    aspect-ratio: 1672 / 941;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .hero-copy {
    padding-top: clamp(10rem, 38vw, 14rem) !important;
  }
  .hero-inner { padding-bottom: 2.75rem; }
  .story {
    min-height: 0;
    padding: 2.5rem 0;
  }
  .teach { padding: 2.5rem 0 2rem; }
  .stories-live { padding: 2.5rem 0 0; }
  .learn-system { padding: 2rem 0 0; }
  .footer-logo-img { width: min(180px, 70%); }
}

/* Alias for coming-soon stubs */
.btn-primary { background: var(--copper-btn); color: #1a0e06; box-shadow: 0 6px 22px rgba(180, 100, 40, 0.28); }
.btn-primary:hover { filter: brightness(1.06); color: #000; transform: translateY(-1px); }

/* Legal long-form pages */
.legal-main { padding: 6rem 1.5rem 3rem; }
.legal-card {
  max-width: 48rem;
  margin: 0 auto;
  background: rgba(14,12,10,0.94);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 2.5rem 2rem 2.75rem;
}
.legal-card h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0.5rem 0 0.35rem; }
.legal-updated { color: var(--text-dim); font-size: 0.8rem; margin: 0 0 1.5rem; }
.legal-card h2 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.75rem 0 0.6rem;
}
.legal-card p, .legal-card li { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
.legal-card ul { padding-left: 1.25rem; margin: 0.5rem 0 0; list-style: disc; }
.legal-card a { color: var(--gold-light); text-decoration: underline; }
.legal-back { margin-top: 2rem; }

/* Section-04 LATEST POSTS — restyle real ticker to match ChatGPT copper bar */
.latest-posts .thp-ticker {
  --thp-bg: transparent;
  --thp-fg: #ffffff;
  --thp-muted: #c5a059;
  --thp-accent: #c5a059;
  --thp-sep: rgba(197, 160, 89, 0.25);
  background: transparent;
  border: 0;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  z-index: 1;
}
.latest-posts .thp-ticker__logo {
  background: transparent;
  padding: 0;
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  filter: sepia(0.6) saturate(2.2) hue-rotate(5deg) brightness(1.15);
}
.latest-posts .thp-ticker__item {
  padding: 0.35rem 1.1rem;
  border-right: 0;
  max-width: min(92vw, 640px);
}
.latest-posts .thp-ticker__item:hover,
.latest-posts .thp-ticker__item:focus-visible {
  background: rgba(197, 160, 89, 0.1);
}
.latest-posts .thp-ticker__status {
  color: var(--text-dim);
  padding: 0.2rem 0;
  font-size: 0.8rem;
}
.latest-posts .thp-ticker:not(:empty):not(:has(.thp-ticker__status)) ~ .latest-fallback,
.latest-posts .thp-ticker.thp-ticker ~ .latest-fallback {
  /* hide fallback once ticker has mounted a track */
}
.latest-posts .thp-ticker:has(.thp-ticker__track) ~ .latest-fallback {
  display: none !important;
}


/* Hide GHL built-in nav — we use .site-header .top-nav only */
#nav-menu,
.nav-menu,
.nav-menu-wrapper,
.nav-menu-body,
.nav-menu-wrapper.default,
.nav-menu-wrapper.reverse,
header.hl_header,
.hl_header,
[data-widget-type="Nav Menu"],
[data-element-type="NAV"],
.c-nav,
#preview-container > .nav-menu-wrapper {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ——— GHL shell / white-bar kill ——— */
html, body, #app, .bg-fixed, .hl_wrapper, .c-section, .c-row,
#preview-container {
  background-color: #000 !important;
  background: #000 !important;
}
body { overflow-x: hidden; }
.site-footer {
  background: #000 !important;
  margin-bottom: 0;
  padding-bottom: 2rem;
}

/* ——— Fix 2026-09-13: kill GHL empty slots / section padding black band above hero ——— */
.hl_page-preview--content .empty-slot,
.hl_page-preview--content .empty-component-wrapper,
.hl_page-preview--content .empty-component-min-height,
.hl_page-preview--content .empty-component {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  border: none !important;
}
.hl_page-preview--content .fullSection.c-section,
.hl_page-preview--content .section-NyMsUlPDYj,
.hl_page-preview--content .section-zEeAtXnrNu {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
}

/* Start Here YouTube lightbox */
.yt-lightbox{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:1.25rem}
.yt-lightbox[hidden]{display:none!important}
.yt-lightbox-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78)}
.yt-lightbox-dialog{position:relative;z-index:1;width:min(960px,100%);background:#000;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.45);overflow:hidden}
.yt-lightbox-close{position:absolute;top:.35rem;right:.55rem;z-index:2;border:0;background:transparent;color:#fff;font-size:2rem;line-height:1;cursor:pointer;padding:.25rem .5rem}
.yt-lightbox-frame{position:relative;width:100%;padding-top:56.25%;background:#000}
.yt-lightbox-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

