/* ============================================================
   Jerry Banfield Family — long-form sales page
   Mobile-first (designed at 390px), YouTube red on near-black.
   ============================================================ */

@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/SpaceGrotesk.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("assets/fonts/InterTight.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --red: #ff0033;
  --red-deep: #cc0029;
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --bg-close: #170406;
  --card: #1a1a1a;
  --border: #2a2a2a;
  --fg: #ffffff;
  --muted: #b3b3b3;
  --maxw: 1140px;   /* wide container: images, video, headings, grids, CTA */
  --readw: 720px;   /* running body text stays readable */
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  font-size: 17px;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Space Grotesk", "Inter Tight", sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Hero (recognition + button only) ---------- */
.hero {
  background:
    radial-gradient(130% 90% at 50% -10%, rgba(255, 0, 51, 0.26), transparent 62%),
    var(--bg);
  padding: 40px 0 44px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-photo {
  width: 132px; height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--red);
  box-shadow: 0 0 0 6px rgba(255, 0, 51, 0.12);
  margin-bottom: 20px;
}
.hero-name {
  font-size: clamp(2.8rem, 13vw, 5rem);
  line-height: 1;
  margin-bottom: 32px;
}
.hero-offer-line {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 30rem;
  margin-bottom: 26px;
}

.eyebrow {
  display: block;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--red);
  padding: 6px 12px;
  border-radius: 4px;
  margin: 0 auto 18px;
}

.pitch-title {
  font-size: clamp(1.7rem, 6.5vw, 2.6rem);
  margin-bottom: 18px;
}
.hl { color: var(--red); }

.hero-offer {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 22px;
}

/* ---------- CTA ---------- */
.cta {
  display: block;
  width: 100%;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 18px 20px;
  border-radius: 10px;
  box-shadow: 0 0 0 0 rgba(255, 0, 51, 0.55);
  animation: pulse 2.4s infinite;
  transition: transform 0.15s ease, background 0.2s ease;
}
.cta:hover { background: var(--red-deep); transform: translateY(-1px); }
.cta:active { transform: translateY(0); }

.cta-inline { margin-top: 28px; animation: none; box-shadow: none; }

.cta-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 0, 51, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(255, 0, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 51, 0); }
}

/* ---------- Video (click-to-play facade) ---------- */
.video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 28px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  cursor: pointer;
}
.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.video:hover .video-poster { transform: scale(1.03); opacity: 0.85; }
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}
.video-play::after {
  content: "";
  position: absolute;
  top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #fff;
}
.video:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--red-deep); }
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-playing { cursor: default; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; border-bottom: 1px solid var(--border); }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: clamp(1.5rem, 6vw, 2.1rem);
  margin-bottom: 22px;
  text-align: center;
}
.lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 22px; }
.story-line { margin: 20px 0; font-size: 1.05rem; }
.story-why {
  border-left: 3px solid var(--red);
  padding-left: 16px;
  color: var(--fg);
}

/* ---------- "For you" list ---------- */
.for-you { list-style: none; display: grid; gap: 14px; }
.for-you li {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 1rem;
}
.for-you strong { color: #fff; }

/* ---------- Receipts list ---------- */
.receipts { list-style: none; display: grid; gap: 10px; margin: 8px 0 6px; }
.receipts li {
  position: relative;
  padding-left: 26px;
  font-size: 1.02rem;
}
.receipts li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 700;
}
.receipts strong { color: #fff; }

/* ---------- Figures ---------- */
.figure { margin: 26px 0; }
.figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.figure figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.figure-inset img { border-left: 3px solid var(--red); }
.figure-headshot {
  max-width: 220px;
  margin: 0 auto 24px;
}
.figure-headshot img { border-radius: 50%; }
.figure-small {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* Images that link to their matching video — centered play button, like the family video */
.img-link { position: relative; display: block; line-height: 0; }
.img-link::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}
.img-link::after {
  content: "";
  position: absolute;
  top: 50%; left: calc(50% + 2px);
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}
.img-link img { transition: opacity 0.2s ease; }
.img-link:hover img { opacity: 0.9; }
.img-link:hover::before { transform: translate(-50%, -50%) scale(1.08); background: var(--red-deep); }

/* ---------- Before / after (consolidation) ---------- */
.beforeafter {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin: 26px auto;
}
.ba-before, .ba-after {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
}
.ba-after {
  border-color: var(--red);
  background: linear-gradient(135deg, #1d0507, #2a0a0e);
}
.ba-num {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}
.ba-after .ba-num { color: var(--red); }
.ba-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 4px;
}
.ba-list {
  list-style: none;
  display: grid;
  gap: 4px;
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--muted);
}
.ba-list li {
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.ba-sub { display: block; margin-top: 12px; font-weight: 600; }
.ba-arrow {
  align-self: center;
  color: var(--red);
  font-size: 1.7rem;
  font-weight: 700;
  transform: rotate(90deg);
}
@media (min-width: 560px) {
  .beforeafter { flex-direction: row; align-items: stretch; }
  .ba-arrow { transform: none; }
}

/* ---------- Value stack ---------- */
.stack { display: grid; gap: 14px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; color: #fff; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Coupon ---------- */
.coupon {
  display: grid;
  gap: 6px;
  text-align: center;
  background: linear-gradient(135deg, #1d0507, #2a0a0e);
  border: 2px dashed var(--red);
  border-radius: 12px;
  padding: 22px 18px;
  max-width: 560px;
  margin: 0 auto 26px;
}
.coupon-tag {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--red);
  font-weight: 700;
}
.coupon-main {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.coupon-val { font-size: 0.88rem; color: var(--muted); }

/* ---------- Proof / case study ---------- */
.case {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.case h3 { color: var(--red); font-size: 1.25rem; margin-bottom: 10px; }
.case p { color: var(--muted); }
.quote-photo {
  width: 96px;
  height: 96px;
  margin: 18px auto 0;
}
.quote-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--red);
}
.quote {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  background: #0e0e0e;
  border-radius: 6px;
  font-size: 1.05rem;
  font-style: italic;
}
.quote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 600; color: #fff; }

/* ---------- Price ---------- */
.price-grid { display: grid; gap: 16px; margin-bottom: 28px; }
.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
}
.price-card-best { border-color: var(--red); }
.price-flag {
  position: absolute;
  top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-name {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.price-big {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  display: block;
}
.price-per { font-size: 1rem; color: var(--muted); font-weight: 400; }
.price-fine {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq { column-gap: 40px; }
.qa { break-inside: avoid; margin-bottom: 24px; }
.qa h3 { font-size: 1.1rem; margin-bottom: 6px; }
.qa p { color: var(--muted); }

/* ---------- YouTube channels (secondary) ---------- */
.channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 820px;
  margin: 26px auto 0;
}
.channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--fg);
  transition: background 0.2s ease, transform 0.15s ease;
}
.channel:hover { background: #222; transform: translateY(-1px); }
.channel-name { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 1.05rem; }
.channel-go { color: var(--red); font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
@media (min-width: 560px) { .channels { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .channels { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Final close ---------- */
.section-close {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 0, 51, 0.18), transparent 60%),
    var(--bg-close);
  text-align: center;
  border-bottom: none;
}
.section-close .lead { text-align: left; }
.ps {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: left;
  font-size: 1.02rem;
  color: var(--muted);
}
.ps strong { color: var(--red); }

/* ---------- Tablet / desktop ---------- */
@media (min-width: 760px) {
  body { font-size: 18px; }
  .container { padding: 0 32px; }
  .hero { padding: 56px 0 60px; }
  .hero-photo { width: 150px; height: 150px; }
  .section { padding: 72px 0; }

  /* Running body text: readable width, centered in the wide container (headings stay left). */
  .lead, .story-line, .hero-offer, .ps,
  .case p, .qa p, .receipts, .cta-note {
    max-width: var(--readw);
    margin-left: auto;
    margin-right: auto;
  }
  .case { max-width: 820px; margin-left: auto; margin-right: auto; }

  /* Wide, multi-column blocks use the full container. */
  .for-you { grid-template-columns: 1fr 1fr; }
  .stack { grid-template-columns: 1fr 1fr; }
  .faq { column-count: 2; }
  .price-grid { grid-template-columns: 1fr 1fr; max-width: 880px; align-items: start; }

  /* CTA: centered button + note, not full-bleed, on larger screens. */
  .cta { max-width: 380px; margin-left: auto; margin-right: auto; }
  .cta-note { margin-left: auto; margin-right: auto; }

  /* Centered sections center their constrained text blocks. */
  .section-close .lead,
  .section-close .ps { margin-left: auto; margin-right: auto; }
}

@media (min-width: 1040px) {
  .container { padding: 0 40px; }
  .stack { grid-template-columns: repeat(3, 1fr); }
  .hero-name { font-size: clamp(3.5rem, 7vw, 5.5rem); }
  .section h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  .cta { animation: none; }
  html { scroll-behavior: auto; }
}
