/* Board Game Therapy homepage: locked ChatGPT template match
   Static-first. Reduced-motion hard cut. Staging only.
   Shared tokens/header/footer/buttons live in bgt-site.css.
   This file keeps home section styles only. */

/* Hero: sharp bright tabletop + navy/ink type (no SaaS white-on-dark wash) */
#bgt-hero {
  position: relative;
  color: var(--bgt-ink);
  overflow: clip;
  background: #F3E8D6;
}
.hero-stage {
  position: relative;
  min-height: clamp(34rem, 88vh, 46rem);
  display: grid;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: -4% 0 -8%;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  display: block;
  transform: scale(1.03);
}
.hero-overlay,
.hero-readability-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  /* Stronger parchment wash behind copy; photo stays bright (no heavy dark SaaS overlay) */
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0.92) 0%, rgba(247, 244, 238, 0.78) 28%, rgba(247, 244, 238, 0.42) 48%, rgba(247, 244, 238, 0.12) 68%, transparent 82%),
    linear-gradient(180deg, rgba(247, 244, 238, 0.22) 0%, transparent 28%, transparent 72%, rgba(247, 244, 238, 0.18) 100%);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 10;
  width: min(100% - 2rem, 36rem);
  margin: 0 auto 0 max(1rem, calc((100% - 72rem) / 2 + 1rem));
  padding: 3.5rem 0 4.5rem;
}
.hero-eyebrow { color: var(--bgt-navy); }
#bgt-hero h1,
#hero-title {
  color: var(--bgt-navy-deep);
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  max-width: 12ch;
  margin-bottom: 0.85rem;
  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
}
.hero-lede,
.hero-copy-body {
  color: var(--bgt-navy-deep);
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 1.4rem;
  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  z-index: 30;
  position: relative;
}
.hero-script,
.hero-script-tagline {
  position: absolute;
  z-index: 18;
  right: max(1rem, 6vw);
  top: 18%;
  font-family: var(--font-script);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  color: var(--bgt-navy-deep);
  margin: 0;
  transform: rotate(-4deg);
  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
  max-width: 11rem;
  width: max-content;
  line-height: 1.2;
  pointer-events: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-script-line,
.footer-script-line {
  display: block;
  text-align: center;
  width: 100%;
}
.hero-mug-note {
  position: absolute;
  z-index: 17;
  right: max(1.25rem, 5vw);
  bottom: 8%;
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--bgt-navy);
  transform: rotate(-3deg);
  text-shadow: 0 1px 0 rgba(255,255,255,0.65);
  pointer-events: none;
  max-width: none;
  width: max-content;
  white-space: nowrap;
  line-height: 1.1;
}

.hero-eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; }

@media (max-width: 767px) {
  #bgt-hero {
    /* Bright tabletop first paint on ~390px Android */
    background: #F3E8D6;
  }
  .hero-stage {
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-bottom: 1rem;
  }
  .hero-bg {
    inset: 0;
  }
  .hero-bg img {
    object-position: 55% 40%;
    transform: scale(1.04);
  }
  .hero-copy {
    margin: 0;
    width: min(100% - 2rem, 40rem);
    margin-inline: auto;
    padding: 4.75rem 0 0.75rem;
    position: relative;
    z-index: 10;
  }
  #bgt-hero h1 {
    max-width: 14ch;
    font-size: clamp(1.85rem, 7.2vw, 2.35rem);
    line-height: 1.12;
  }
  .hero-lede {
    font-size: 0.98rem;
    max-width: 32rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    max-width: 18rem;
  }
  .hero-ctas .bgt-btn { justify-content: center; text-align: center; }
  .hero-script {
    position: absolute;
    z-index: 15;
    right: 0.75rem;
    top: 5.25rem;
    margin: 0;
    text-align: center;
    width: 8.25rem;
    color: var(--bgt-navy-deep);
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
    font-size: 1.15rem;
    transform: rotate(-6deg);
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-overlay,
  .hero-readability-overlay {
    background:
      linear-gradient(180deg, rgba(247,244,238,0.88) 0%, rgba(247,244,238,0.55) 28%, rgba(247,244,238,0.18) 52%, transparent 68%, rgba(247,244,238,0.2) 100%);
  }
  .hero-mug-note {
    right: 0.75rem;
    bottom: 1.25rem;
    font-size: 0.98rem;
    width: max-content;
    max-width: none;
    white-space: nowrap;
  }
  .hero-ctas .bgt-btn {
    min-height: 48px;
  }
  .bgt-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .bgt-search,
  .bgt-nav-toggle {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .audience-card {
    min-height: 56px;
  }
  .learn-card {
    min-height: 44px;
  }
  #community-email {
    min-height: 44px;
  }
  #community-subscribe {
    min-height: 48px;
  }
}

/* Audience */
#audience-paths {
  padding: 0;
  background: #F3F7FB;
}
.audience-grid {
  display: grid;
  gap: 0.85rem;
}
.audience-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  background: #EEF5FA;
  border: 1px solid #C9DCEB;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
}
.audience-card:hover {
  border-color: #9BB8D0;
  transform: translateY(-2px);
  color: inherit;
}
.audience-card:hover .audience-icon { transform: translateY(-4px); }
.audience-icon {
  width: 2.75rem;
  height: 2.75rem;
  transition: transform 0.2s ease;
}
.audience-copy h3 {
  font-family: var(--font-sans);
  font-weight: 650;
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
  color: var(--bgt-navy);
}
.audience-copy p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--bgt-muted);
}
.audience-arrow {
  color: var(--bgt-navy);
  font-size: 1.2rem;
}
.audience-trust { margin: 1rem 0 0; max-width: 48rem; }

@media (min-width: 900px) {
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
  .audience-copy p { font-size: 0.86rem; }
}

/* How it works */
#how-bgt-works,
#dirt-method {
  padding: 0;
  background: #fff;
}
.how-layout {
  display: grid;
  gap: 2rem;
}
.how-lede { color: var(--bgt-muted); max-width: 28rem; }
.how-bridge {
  color: var(--bgt-navy);
  max-width: 28rem;
  margin: 0.85rem 0 1.1rem;
  font-weight: 560;
}
.step-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1rem;
}
.step-connectors { display: none; }
.how-step {
  text-align: center;
  position: relative;
  padding: 1.25rem 0.75rem 0.5rem;
  border-radius: 50%;
}
.how-step[data-step="empty"] { background: radial-gradient(circle at center, rgba(126,182,232,0.28), transparent 68%); }
.how-step[data-step="sort"] { background: radial-gradient(circle at center, rgba(61,155,143,0.22), transparent 68%); }
.how-step[data-step="see"] { background: radial-gradient(circle at center, rgba(240,184,90,0.25), transparent 68%); }
.how-step[data-step="act"] { background: radial-gradient(circle at center, rgba(227,93,91,0.2), transparent 68%); }
.how-num {
  position: absolute;
  top: 0.35rem;
  left: 50%;
  transform: translateX(-140%);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--bgt-navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.how-step[data-step="sort"] .how-num { background: var(--bgt-teal); }
.how-step[data-step="see"] .how-num { background: #E0A93A; }
.how-step[data-step="act"] .how-num { background: #D94B48; }
.how-icon { width: 3.5rem; height: 3.5rem; margin: 0.4rem auto 0.5rem; display: block; }
.how-step h3 {
  font-family: var(--font-sans);
  margin: 0 0 0.35rem;
  color: var(--bgt-navy);
}
.how-step p { margin: 0 auto 0.35rem; max-width: 14rem; font-size: 0.9rem; color: var(--bgt-muted); }
.how-script {
  font-family: var(--font-script);
  font-size: 1.25rem;
  color: #3D6F9A;
  transform: rotate(-3deg);
}

@media (min-width: 900px) {
  .how-layout {
    grid-template-columns: minmax(14rem, 22rem) 1fr;
    align-items: center;
    gap: 2.5rem;
  }
  .step-track {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
  .step-connectors {
    display: block;
    position: absolute;
    left: 0; right: 0;
    top: 24%;
    width: 100%;
    height: 60px;
    pointer-events: none;
    z-index: 0;
  }
  .how-step { z-index: 1; }
}

/* Articles */
#latest-articles {
  padding: 0;
  background: #F7F5F1;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}
.section-lede { color: var(--bgt-muted); max-width: 36rem; margin: 0; }
.guides-intro > .section-lede {
  margin-bottom: 1.35rem;
}
#guides-view-all {
  margin-top: 0.35rem;
  display: inline-flex;
}
.section-link {
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.articles-empty {
  background: var(--bgt-sky);
  border: 1px solid #C9DCEB;
  border-radius: 1rem;
  padding: 1.5rem 1.35rem;
  max-width: 48rem;
}

/* Game guides */
#game-guides {
  padding: 0;
  background: #F3F1EB;
  position: relative;
}
.guides-layout { display: grid; gap: 1.75rem; }
.guides-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.guide-card {
  background: #fff;
  border: 1px solid #D9E2EA;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.guide-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.guide-card:hover img { transform: scale(1.02); }
.guide-body { padding: 0.95rem 1rem 1.1rem; }
.guide-body h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  color: var(--bgt-navy);
}
.guide-body p { margin: 0 0 0.55rem; font-size: 0.9rem; color: var(--bgt-muted); }
.guide-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.65rem !important; }
.guide-tags span {
  background: #E4F0F8;
  color: var(--bgt-navy);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 560;
}
.guide-body a { font-weight: 650; text-decoration: none; }
.guides-note { margin-top: 0.75rem; }

@media (min-width: 700px) {
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .guides-layout {
    grid-template-columns: minmax(14rem, 20rem) 1fr;
    align-items: start;
    gap: 2rem;
  }
  .guides-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Learn */
#learn-method {
  padding: 3rem 0;
  background: #fff;
}
.learn-layout { display: grid; gap: 1.5rem; }
.learn-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}
.learn-card {
  background: #fff;
  border: 1px solid #D5E3EF;
  border-radius: 1rem;
  padding: 1.1rem 1rem 1rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 20px rgba(18, 58, 92, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 100%;
}
.learn-card:hover {
  border-color: #9BB8D0;
  transform: translateY(-2px);
  color: inherit;
}
.learn-card h3 {
  font-family: var(--font-sans);
  margin: 0.15rem 0 0;
  color: var(--bgt-navy);
}
.learn-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--bgt-muted);
  flex: 1;
}
.learn-card > span {
  margin-top: 0.55rem;
  font-weight: 650;
  color: #3D7EA6;
  font-size: 0.9rem;
}
.learn-card img { width: 2.5rem; height: 2.5rem; }

@media (min-width: 900px) {
  .learn-layout {
    grid-template-columns: minmax(14rem, 22rem) 1fr;
    align-items: center;
  }
  .learn-grid { grid-template-columns: repeat(5, 1fr); }
}

/* Community */
#community-cta {
  position: relative;
  overflow: clip;
  padding: 3.5rem 0 4rem;
  color: var(--bgt-ink);
  min-height: 22rem;
}
.community-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.community-sky {
  position: absolute;
  inset: -4% 0 -6%;
  background:
    linear-gradient(180deg, rgba(217,232,244,0.35) 0%, rgba(197,220,235,0.12) 42%, transparent 70%),
    url("/assets/img/community-landscape.jpg") center / cover no-repeat;
  opacity: 1;
}
.community-forest {
  position: absolute;
  left: 0; right: 0; bottom: -8%;
  height: 58%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(20, 50, 40, 0.12) 55%, rgba(20, 40, 30, 0.28) 100%),
    url("/assets/img/community-forest.jpg") center bottom / cover no-repeat;
  filter: none;
}
.community-inner {
  position: relative;
  z-index: 12;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.community-copy {
  padding: 1.1rem 1.15rem 1.15rem;
  border-radius: 1.1rem;
  background: rgba(247, 244, 238, 0.82);
  box-shadow: 0 10px 28px rgba(10, 30, 50, 0.08);
  backdrop-filter: blur(2px);
}
.community-copy { text-align: center; }
.community-copy h2 { color: var(--bgt-navy-deep); max-width: none; text-shadow: none; margin-inline: auto; line-height: 1.15; }
.community-copy .community-h2-rest { white-space: nowrap; }
.community-copy p { color: var(--bgt-ink); max-width: 28rem; margin-inline: auto; }
.community-copy .bgt-eyebrow { color: var(--bgt-navy); }
.signup-card {
  background: #fff;
  border-radius: 1.15rem;
  padding: 1.35rem 1.25rem 1.2rem;
  box-shadow: 0 16px 40px rgba(10, 30, 50, 0.16);
  max-width: 26rem;
  width: 100%;
  justify-self: center;
}
.signup-card h3 {
  font-family: var(--font-sans);
  margin: 0 0 0.35rem;
  color: var(--bgt-navy);
}
.signup-form {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0.85rem;
}
.signup-form input[type="email"] {
  border: 1px solid #C9D5E0;
  border-radius: 0.65rem;
  padding: 0.75rem 0.9rem;
  font: inherit;
  background: #F7FAFC;
}
.signup-perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  padding: 0;
  margin: 0;
  font-size: 0.78rem;
  color: var(--bgt-muted);
  text-align: center;
  width: 100%;
}
.footer-script {
  font-family: var(--font-script);
  font-size: 1.55rem;
  color: var(--bgt-navy-deep);
  transform: rotate(-4deg);
  margin: 0;
  justify-self: end;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(255,255,255,0.65);
}

@media (min-width: 900px) {
  .community-inner {
    grid-template-columns: 1fr minmax(18rem, 24rem) auto;
    gap: 1.5rem;
  }
  .signup-card { justify-self: center; }
}

/* Reduced motion: finished composition, no drift */
@media (prefers-reduced-motion: reduce) {
  .bgt-home *,
  .bgt-home *::before,
  .bgt-home *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero-bg img,
  .hero-script,
  .community-sky,
  .community-forest,
  .footer-script {
    transform: none !important;
  }
  .audience-card:hover,
  .learn-card:hover,
  .guide-card:hover img {
    transform: none !important;
  }
}


/* ---- Static section surfaces (native scroll; no pin/morph stages) ---- */
#audience-paths,
#how-bgt-works,
#dirt-method,
#bgt-reconnect,
#latest-articles,
#game-guides,
#learn-method {
  position: relative;
}
.audience-stage,
.how-stage,
.articles-stage,
.guides-stage {
  min-height: 0;
  display: block;
  box-sizing: border-box;
}
.audience-stage { padding: 2.5rem 0; }
.how-stage { padding: 2.75rem 0; }
.articles-stage { padding: 2.75rem 0; }
.guides-stage { padding: 2.75rem 0; }

#audience-paths {
  background: #F3F7FB;
}
#audience-paths .audience-card {
  background: #fff;
  border: 1px solid #D7E4F0;
  box-shadow: 0 10px 28px rgba(18, 58, 92, 0.07);
}
#how-bgt-works { background: #fff; }
#dirt-method { background: #F3F7FB; }
#bgt-reconnect { background: #FBFBF9; }
#latest-articles {
  background:
    linear-gradient(180deg, #F7F5F1 0%, #F2F0EA 100%);
}
#game-guides { background: #F3F1EB; }
#learn-method { background: #fff; }

.is-active-chapter {
  z-index: 2;
}

/* Editorial coming-soon cards (template shape; honest titles; no dashed skeletons) */
.articles-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
  margin-bottom: 0.85rem;
}
.article-card {
  background: #fff;
  border: 1px solid #D7E4F0;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(18, 58, 92, 0.07);
  color: var(--bgt-ink);
  display: flex;
  flex-direction: column;
}
.article-media {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #E8EEF4;
  overflow: hidden;
}
.article-media img,
.article-card img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  aspect-ratio: auto;
}
.article-chip {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(232, 242, 250, 0.96);
  border: 1px solid #B7D0E4;
  color: var(--bgt-navy);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.article-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 0.85rem 1rem 0.35rem;
  color: var(--bgt-navy);
}
.article-meta {
  margin: 0 1rem 1rem;
  font-size: 0.82rem;
  color: var(--bgt-muted);
}
.articles-honesty { margin: 0.25rem 0 0; }
@media (min-width: 700px) {
  .articles-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Morph/peek/fade card stacks REMOVED - cards always fully opaque (static). */
@media (max-width: 767px) {
  .audience-stage,
  .how-stage,
  .articles-stage,
  .guides-stage {
    border-radius: 0;
  }
  #latest-articles {
    background: linear-gradient(180deg, #F7F5F1 0%, #EFEBE3 100%);
  }
  #audience-paths { background: #F3F7FB; }
  #how-bgt-works { background: #FBFBF9; }
  #dirt-method { background: #F3F7FB; }
  #game-guides { background: #F3F1EB; }
}

/* Community forest layer + veil (photo only; signup is DOM) */
.community-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247,244,238,0.62) 0%, rgba(247,244,238,0.22) 42%, rgba(247,244,238,0.28) 100%),
    linear-gradient(180deg, rgba(247,244,238,0.2) 0%, transparent 35%, rgba(15, 35, 45, 0.38) 100%);
  pointer-events: none;
  z-index: 1;
}
.community-forest {
  background:
    linear-gradient(180deg, transparent 0%, rgba(20, 50, 40, 0.2) 55%, rgba(12, 28, 36, 0.42) 100%),
    url("/assets/img/community-forest.jpg") center bottom / cover no-repeat;
}
.community-sky {
  background:
    linear-gradient(180deg, rgba(217,232,244,0.32) 0%, rgba(197,220,235,0.12) 40%, transparent 68%),
    url("/assets/img/community-landscape.jpg") center / cover no-repeat;
}

/* Footer social outline icons (no fabricated destinations) */
.bgt-social-icons {
  list-style: none;
  display: flex;
  gap: 0.55rem;
  padding: 0;
  margin: 0 0 0.55rem;
}
.bgt-social {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 0.4rem;
  color: #fff;
  opacity: 0.85;
}

@media (max-width: 767px) {
  .audience-stage,
  .how-stage,
  .articles-stage,
  .guides-stage {
    min-height: 0;
    display: block;
    padding: 1.25rem 0;
    box-sizing: border-box;
  }
}

/* Reduced-motion identical to normal static (no separate morph path).
   Hero keeps stretched section height; content stages stay auto-height. */
@media (prefers-reduced-motion: reduce) {
  .audience-stage,
  .how-stage,
  .articles-stage,
  .guides-stage {
    min-height: 0 !important;
  }
}


/* Hotspot tap rules (static sections stay clickable) */
#bgt-hero .hero-stage,
#audience-paths .audience-stage,
#how-bgt-works .how-stage,
#dirt-method .how-stage,
#latest-articles .articles-stage,
#game-guides .guides-stage {
  pointer-events: auto;
}
.hero-bg,
.hero-overlay,
.hero-readability-overlay,
.hero-script,
.hero-mug-note,
.community-layers,
.community-veil {
  pointer-events: none;
}
#hero-get-started,
#hero-explore-method,
.audience-card,
.how-step,
.learn-card,
.bgt-header a,
.bgt-header button {
  pointer-events: auto;
  position: relative;
}

/* ---- Whole-page ChatGPT theme match (hotspot polish) ---- */
/* Audience: unified light-sky panel language (template rows) */
#audience-paths .audience-stage .wrap > .audience-grid {
  background: #EAF3FA;
  border: 1px solid #C5D9EA;
  border-radius: 1.15rem;
  padding: 0.35rem;
  gap: 0;
  overflow: hidden;
}
#audience-paths .audience-card {
  background: transparent;
  border: 0;
  border-radius: 0.85rem;
  box-shadow: none;
  min-height: 56px;
  padding: 1rem 1rem;
}
#audience-paths .audience-card + .audience-card {
  border-top: 1px solid #C9DCEB;
}
#audience-paths .audience-arrow {
  color: #3D7EA6;
  font-size: 1.35rem;
  font-weight: 700;
}
@media (min-width: 900px) {
  #audience-paths .audience-stage .wrap > .audience-grid {
    background: transparent;
    border: 0;
    padding: 0;
    gap: 0.85rem;
    overflow: visible;
  }
  #audience-paths .audience-card {
    background: #EEF5FA;
    border: 1px solid #C9DCEB;
    border-radius: 1rem;
    box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
  }
  #audience-paths .audience-card + .audience-card { border-top: 1px solid #C9DCEB; }
}

/* How It Works: template 4-up horizontal + connectors on phone */
@media (max-width: 899px) {
  .step-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
  }
  .step-connectors {
    display: block;
    position: absolute;
    left: 4%;
    right: 4%;
    top: 18%;
    width: 92%;
    height: 40px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
  }
  .how-step {
    padding: 1rem 0.2rem 0.35rem;
    min-height: 44px;
  }
  .how-icon { width: 2.35rem; height: 2.35rem; }
  .how-step h3 { font-size: 0.92rem; }
  .how-step p { font-size: 0.68rem; line-height: 1.25; max-width: none; }
  .how-script { font-size: 0.95rem; }
  .how-num {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 0.68rem;
    transform: translateX(-120%);
  }
}
.how-step[data-step="act"] h3 { color: #D94B48; }

/* Articles: template card chrome (navy titles, soft chips) */
.article-card h3 {
  font-family: var(--font-sans);
  font-weight: 650;
}
#latest-articles {
  background: #F7F8FA;
}

/* Guides: bright white cards on warm parchment; tabletop thumbs */
#game-guides { background: #FBFBF9; }
.guide-card {
  border-radius: 1.05rem;
  border-color: #D7E4F0;
  box-shadow: 0 10px 28px rgba(18, 58, 92, 0.06);
}
.guide-body h3 {
  font-family: var(--font-sans);
  font-weight: 650;
  color: var(--bgt-navy-deep);
}

/* Learn: template pill/chip row on mobile; cards on desktop */
@media (max-width: 899px) {
  #learn-method,
  #learn-method .learn-layout {
    overflow: visible;
  }
  .learn-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.55rem;
    overflow-x: auto;
    overflow-y: visible;
    padding: 0.5rem 0.25rem 0.65rem;
    margin: 0 -0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .learn-card {
    flex: 0 0 auto;
    min-width: 7.5rem;
    min-height: 44px;
    flex-direction: row;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.85rem;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(18, 58, 92, 0.06);
  }
  .learn-card:focus,
  .learn-card:focus-visible {
    outline: 2px solid var(--bgt-navy);
    outline-offset: 3px;
  }
  .learn-card img { width: 1.65rem; height: 1.65rem; flex-shrink: 0; }
  .learn-card p,
  .learn-card > span { display: none; }
  .learn-card h3 {
    margin: 0;
    font-size: 0.88rem;
    white-space: nowrap;
  }
}
@media (min-width: 900px) {
  .learn-card {
    border-radius: 1rem;
    text-align: center;
    align-items: center;
  }
}

/* Community: bright landscape + navy type (template Join band) */
#community-cta {
  background: #D9E8F4;
}
.community-message,
.community-copy h2 {
  color: var(--bgt-navy-deep);
  text-shadow: none;
}
.community-veil {
  background: linear-gradient(180deg, rgba(247,244,238,0.35), rgba(247,244,238,0.12) 40%, rgba(232,242,250,0.15) 65%, rgba(15, 35, 45, 0.35) 100%);
}
.signup-form input[type="email"] {
  min-height: 44px;
  border-radius: 999px;
  padding-inline: 1rem;
}
#community-subscribe {
  border-radius: 999px;
  min-height: 48px;
}
@media (max-width: 767px) {
  .community-inner {
    justify-items: center;
    text-align: center;
  }
  .community-copy h2 { max-width: none; margin-inline: auto; }
  .community-copy p { margin-inline: auto; }
  .signup-card { max-width: 22rem; }
  .footer-script { justify-self: center; text-align: center; }
  .signup-form { grid-template-columns: 1fr; }
}

/* Footer social: real 44px targets */
.bgt-social {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
}
.footer-legal a,
.bgt-footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-block: 0.35rem;
}

/* Site logo lockup tap */
#site-logo {
  min-height: 44px;
}


/* ---- Static section stages (no freeze handoff / chapter yield fades) ---- */
#audience-paths .audience-stage,
#how-bgt-works .how-stage, #dirt-method .how-stage,
#latest-articles .articles-stage,
#game-guides .guides-stage {
  position: relative;
  width: 100%;
  isolation: isolate;
}
#audience-paths .audience-stage { background: #F3F7FB; }
#how-bgt-works .how-stage { background: #FBFBF9; }
#dirt-method .how-stage { background: #F3F7FB; }
#latest-articles .articles-stage { background: #F7F8FA; }
#game-guides .guides-stage { background: #FBFBF9; }

/* Chapter yield / active morph ownership REMOVED - sections always visible. */
.is-active-chapter,
.is-chapter-yielded {
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: auto;
  position: relative;
}

/* Community: one message + one assurance row; solid card; strong landscape */
#community-cta {
  isolation: isolate;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(247,244,238,0.35) 0%, rgba(217,232,244,0.18) 40%, rgba(20,40,30,0.18) 100%),
    url("/assets/img/community-landscape.jpg") center / cover no-repeat;
  min-height: 26rem;
  padding: 3.75rem 0 5rem;
  margin-bottom: 0;
}
#community-cta .community-layers { z-index: 0; }
#community-cta .community-inner { z-index: 2; gap: 1.75rem; }
#community-cta .signup-card {
  background: #fff;
  position: relative;
  z-index: 3;
  box-shadow: 0 18px 44px rgba(10, 30, 50, 0.18);
  text-align: center;
}
#community-cta .community-copy,
#community-cta .footer-script {
  position: relative;
  z-index: 2;
}
#community-cta .footer-script {
  text-shadow: 0 1px 0 rgba(255,255,255,0.7);
  padding: 0.55rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(247, 244, 238, 0.78);
}
#community-cta .community-veil {
  background:
    linear-gradient(180deg, rgba(247,244,238,0.42) 0%, rgba(247,244,238,0.18) 35%, rgba(232,242,250,0.12) 60%, rgba(15, 35, 45, 0.45) 100%);
}
/* Soft seam so footer logo does not clash with forest landscape */
#site-footer.bgt-footer {
  position: relative;
  z-index: 2;
  box-shadow: 0 -18px 36px rgba(8, 24, 40, 0.22);
  padding-top: 2.35rem;
}
#site-footer .footer-logo,
#site-footer .bgt-brand-footer {
  position: relative;
  z-index: 2;
  padding: 0.35rem 0.15rem;
}
@media (max-width: 767px) {
  #community-cta .community-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }
  #community-cta .community-copy { order: 1; text-align: center; }
  #community-cta .signup-card { order: 2; }
  #community-cta .footer-script { order: 3; margin-top: 0.5rem; }
}


/* ---- R4 Option 1: TABLE-first + Dirt + reconnect ---- */
.audience-lede {
  margin: 0.35rem 0 1.25rem;
  max-width: 40rem;
}
#audience-paths h2:not(.sr-only) {
  font-family: var(--font-serif);
  color: var(--bgt-navy);
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}
.how-boundary {
  color: var(--bgt-muted);
  font-size: 0.92rem;
  margin: 0.65rem 0 1rem;
  max-width: 28rem;
}
.how-bridge-full {
  grid-column: 1 / -1;
  max-width: 40rem;
  margin: 1.25rem 0 0;
}
.step-track-table {
  grid-template-columns: repeat(2, 1fr);
}
.table-step {
  border-radius: 1rem;
  background: radial-gradient(circle at center, rgba(126,182,232,0.18), transparent 70%);
  padding: 1.1rem 0.65rem 0.85rem;
}
.table-step .how-num {
  position: static;
  transform: none;
  margin: 0 auto 0.55rem;
  background: var(--bgt-navy);
}
.table-step[data-step="assess"] .how-num { background: var(--bgt-teal); }
.table-step[data-step="build"] .how-num { background: #E0A93A; }
.table-step[data-step="lead"] .how-num { background: #3D7EA6; }
.table-step[data-step="extract"] .how-num { background: #D94B48; }
.table-step h3 { font-size: 1rem; }
@media (min-width: 900px) {
  .step-track-table {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.55rem;
  }
  #how-bgt-works .how-layout {
    grid-template-columns: minmax(14rem, 20rem) 1fr;
  }
}
@media (max-width: 899px) {
  .step-track-table {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .table-step h3 { font-size: 0.9rem; }
  .table-step p { font-size: 0.72rem; }
  /* Center odd fifth TABLE step under the 2-col grid on mobile/tablet */
  .step-track-table .table-step[data-step="extract"] {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 0.55rem) / 2);
    max-width: 100%;
  }
}
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  transform: translateX(-50%);
  margin: 0;
  z-index: 2;
}
.hero-scroll-cue a {
  color: rgba(255,255,255,0.88);
  font-size: 0.85rem;
  font-weight: 560;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.hero-scroll-cue a:hover,
.hero-scroll-cue a:focus-visible {
  text-decoration: underline;
}
#bgt-reconnect {
  padding: 0;
}
.reconnect-stage {
  padding: 2.5rem 0;
}
.reconnect-inner {
  max-width: 44rem;
}
.reconnect-lede {
  margin: 0.75rem 0 1.15rem;
}
.reconnect-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.reconnect-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #E8EEF4;
  color: var(--bgt-navy);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.03em;
}
.reconnect-chip-tool {
  background: #fff;
  border: 1px solid #C9DCEB;
  font-weight: 560;
}


/* TABLE section: steps first, then closer + CTA */
.how-after {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.25rem;
}
.how-after .how-bridge {
  margin: 0;
  max-width: 40rem;
}
.how-after .bgt-btn {
  margin: 0;
}

/* Linked article cards on homepage */
a.article-card { text-decoration: none; color: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; }
a.article-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(18, 58, 92, 0.12); }
@media (prefers-reduced-motion: reduce) {
  a.article-card:hover { transform: none; }
}


/* ---- Community landscape restore (2026-09-23) ---- */
#community-cta {
  position: relative;
  overflow: hidden;
  background-color: #c5d8e8;
  background-image: url("/assets/img/community-full.jpg");
  background-position: center 55%;
  background-size: cover;
  background-repeat: no-repeat;
}
#community-cta .community-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#community-cta .community-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  z-index: 0;
}
#community-cta .community-sky,
#community-cta .community-forest {
  display: none; /* photo img is the art; avoid double-stack crop issues */
}
#community-cta .community-veil {
  z-index: 1;
  background: linear-gradient(180deg, rgba(247,244,238,0.25) 0%, rgba(247,244,238,0.08) 40%, rgba(15,35,45,0.22) 100%);
}
#community-cta .community-inner {
  position: relative;
  z-index: 2;
}
