/*
Theme Name: ANAI SN Child
Theme URI: https://anaisn.com/
Description: GeneratePress child theme for the ANAI Success Network marketing site. Light vibrant theme in ANAI brand colors (orange / royal / sky / teal / purple), Barlow Condensed + Figtree. Ported from prototypes/anai-success-c.html.
Author: ANAI Caribbean
Version: 1.1.1
Template: generatepress
Text Domain: anaisn-child
*/

/* ============================================================================
   anai-success — variant C "screenshot layout"
   Follows the concept mockup's section anatomy (nav bar, icon rows,
   photo-top cards, numbered steps, pricing table, testimonial band,
   multi-column footer) in the real ANAI palette.
   Rounded cards + pill buttons on purpose: that is the screenshot's character.
   ============================================================================ */
:root {
  --navy-ink:   #0A1224;
  --navy:       #122036;
  --royal:      #2B3990;
  --orange:     #F26522;
  --orange-deep:#C7440C;
  --sky:        #56B0DC;
  --sky-light:  #9AD3F0;
  --teal:       #178097;
  --teal-deep:  #0E6E82;
  --purple:     #A54FC0;
  --soft:       #EFF4F9;
  --ink:        #101828;

  --muted-on-dark:  rgba(255,255,255,0.84);
  --muted-on-light: rgba(16,24,40,0.76);
  --rule-on-dark:   rgba(255,255,255,0.2);
  --rule-on-light:  rgba(16,24,40,0.14);

  --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-body:    1.12em;
  --fs-lead:    1.26em;
  --fs-eyebrow: 0.8em;
  --fs-h2:      clamp(2.2rem, 4.2vw, 3.2rem);
  --fs-hero:    clamp(2.7rem, 5.4vw, 4.6rem);

  --container:     75rem;
  --section-pad-y: clamp(4rem, 8vw, 6.5rem);
  --section-pad-x: clamp(1.25rem, 4vw, 3rem);
  --gap-col:       clamp(2rem, 4vw, 4rem);

  --r-card: 14px;
  --r-pill: 999px;
  --shadow-card: 0 10px 30px -18px rgba(10,18,36,0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.002em;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: 1.45em; font-weight: 700; line-height: 1.12; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.5; }

.icon { width: 1.5em; height: 1.5em; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---- Section shells ---- */
.section { padding: var(--section-pad-y) var(--section-pad-x); position: relative; overflow: hidden; }
.section__inner { max-width: var(--container); margin: 0 auto; position: relative; z-index: 1; }
.section--light { background: #FFFFFF; color: var(--ink); }
.section--soft  { background: var(--soft); color: var(--ink); }
.section--navy  { background: var(--navy); color: #FFF; }
.section--navy.section--gradient {
  background:
    radial-gradient(110% 75% at 12% 0%, rgba(86,176,220,0.16), transparent 55%),
    linear-gradient(160deg, var(--navy-ink) 0%, var(--navy) 55%, var(--royal) 100%);
}
.section--hero-light {
  background:
    radial-gradient(55% 55% at 88% 8%, rgba(86,176,220,0.18), transparent 60%),
    radial-gradient(45% 45% at 4% 96%, rgba(242,101,34,0.10), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--soft) 100%);
  color: var(--ink);
}

/* Centered section heads (screenshot pattern: eyebrow + title + short rule) */
.sechead { text-align: center; max-width: 46rem; margin: 0 auto 1rem; }
.sechead .eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 1.1em;
}
.section--navy .sechead .eyebrow { color: var(--sky); }
.sechead h2 { color: var(--navy); }
.section--navy .sechead h2 { color: #FFF; }
.sechead::after {
  content: "";
  display: block;
  width: 4.5rem; height: 4px;
  margin: 1.1rem auto 0;
  background: var(--orange);
  border-radius: 2px;
}
.sechead__sub { color: var(--muted-on-light); max-width: 40rem; margin: 1.2rem auto 0; }
.section--navy .sechead__sub { color: var(--muted-on-dark); }

/* ---- Buttons (pills, per the screenshot) ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.9em 1.9em;
  font-weight: 600; font-size: 0.92em; letter-spacing: 0.05em; line-height: 1;
  border-radius: var(--r-pill);
  border: 2px solid transparent; background: transparent; color: inherit;
  transition: background-color 130ms ease, color 130ms ease, border-color 130ms ease, transform 130ms ease, box-shadow 130ms ease;
}
.btn:active { transform: translateY(1px); }
.btn--brand { background: var(--orange); color: var(--navy-ink); border-color: var(--orange); box-shadow: 0 8px 22px -10px rgba(242,101,34,0.55); }
.btn--brand:hover, .btn--brand:focus-visible { background: var(--orange-deep); border-color: var(--orange-deep); color: #FFF; outline: none; }
.btn--sky { background: var(--sky); color: var(--navy-ink); border-color: var(--sky); }
.btn--sky:hover, .btn--sky:focus-visible { background: #3E97C4; border-color: #3E97C4; color: #FFF; outline: none; }
.btn--royal { background: var(--royal); color: #FFF; border-color: var(--royal); }
.btn--royal:hover, .btn--royal:focus-visible { background: #1F2A6E; border-color: #1F2A6E; outline: none; }
.btn--teal { background: var(--teal); color: #FFF; border-color: var(--teal); }
.btn--teal:hover, .btn--teal:focus-visible { background: var(--teal-deep); border-color: var(--teal-deep); outline: none; }
.btn--ghost-light { border-color: rgba(255,255,255,0.55); color: #FFF; }
.btn--ghost-light:hover, .btn--ghost-light:focus-visible { background: #FFF; color: var(--navy-ink); border-color: #FFF; outline: none; }
.btn--ghost-dark { border-color: rgba(16,24,40,0.4); color: var(--ink); }
.btn--ghost-dark:hover, .btn--ghost-dark:focus-visible { background: var(--navy); color: #FFF; border-color: var(--navy); outline: none; }

/* ---- Top navigation bar ---- */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(8,23,41,0.08);
  box-shadow: 0 2px 14px rgba(8,23,41,0.12);
}
.topnav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.55rem var(--section-pad-x);
  display: flex; align-items: center; gap: 1.5rem;
}
.topnav__logo { display: inline-flex; align-items: center; gap: 0.7rem; }
.topnav__logo img { height: clamp(40px, 6vw, 52px); width: auto; }
.topnav__net {
  display: grid;
  font-weight: 600;
  font-size: clamp(0.55rem, 1.1vw, 0.66rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal-deep);
  line-height: 1.5;
}
.topnav__links {
  display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.6rem);
  margin-left: auto;
  list-style: none; padding: 0;
  font-weight: 600; font-size: 0.78em;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.topnav__links a { color: var(--navy); padding: 0.4em 0; border-bottom: 2px solid transparent; transition: color 120ms ease, border-color 120ms ease; }
.topnav__links a:hover, .topnav__links a:focus-visible { color: var(--orange-deep); border-bottom-color: var(--orange); outline: none; }
.topnav .btn { padding: 0.75em 1.5em; font-size: 0.8em; }
@media (max-width: 900px) { .topnav__links { display: none; } .topnav .btn { margin-left: auto; } }

/* ---- Hero ---- */
.hero { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--gap-col); align-items: center; }
.hero h1 { font-size: var(--fs-hero); color: var(--navy); max-width: 13ch; }
.hero .lead { max-width: 46ch; color: var(--muted-on-light); }
.hero .lead strong { color: var(--ink); font-weight: 600; }

/* Icon feature row (5-up, per screenshot) */
.featrow {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
  margin: 1.8rem 0 0;
  padding: 0; list-style: none;
}
.featrow li { display: grid; justify-items: start; gap: 0.5rem; font-size: 0.74em; font-weight: 600; line-height: 1.3; color: var(--muted-on-light); }
.featrow .icon { width: 2.1em; height: 2.1em; }
.featrow li:nth-child(1) .icon { color: var(--orange); }
.featrow li:nth-child(2) .icon { color: var(--royal); }
.featrow li:nth-child(3) .icon { color: var(--teal); }
.featrow li:nth-child(4) .icon { color: var(--purple); }
.featrow li:nth-child(5) .icon { color: #2A7FA8; }

/* Join band (label + input + button) */
.joinband {
  margin-top: 2rem;
  padding: 1.3rem 1.4rem 1.4rem;
  background: #FFFFFF;
  border: 1px solid var(--rule-on-light);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  max-width: 36rem;
}
.joinband__label {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.15em; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--royal);
  margin: 0 0 0.8rem;
}
.joinband__tier { display: none; font-size: 0.85em; font-weight: 600; color: var(--royal); margin: 0 0 0.6rem; }
.joinband__tier.is-set { display: block; }
.joinband__row { display: flex; gap: 0.6rem; }
.joinband input[type="email"] {
  flex: 1; min-width: 0;
  font: inherit; font-size: 0.95em;
  padding: 0.85em 1.2em;
  background: var(--soft);
  border: 1px solid var(--rule-on-light);
  border-radius: var(--r-pill);
  color: var(--ink);
  outline: none;
  transition: box-shadow 130ms ease;
}
.joinband input[type="email"]::placeholder { color: rgba(16,24,40,0.5); }
.joinband input[type="email"]:focus { box-shadow: 0 0 0 3px rgba(86,176,220,0.55); }
.joinband__msg { font-size: 0.88em; min-height: 1.4em; margin: 0.7rem 0 0; color: var(--muted-on-light); }
.joinband__msg--ok { color: var(--teal-deep); }
.joinband__msg--err { color: #D63C2F; }
.joinband__fine { font-size: 0.75em; color: rgba(16,24,40,0.55); margin: 0.3rem 0 0; }
.footer .joinband__msg { color: var(--muted-on-dark); }
.footer .joinband__msg--ok { color: var(--sky-light); }

/* Hero figure */
.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 62% 30%;
  border-radius: var(--r-card);
  filter: contrast(1.06) saturate(1.12);
}
.hero-figure::after {
  content: ""; position: absolute; inset: 0;
  border-radius: var(--r-card);
  background: linear-gradient(205deg, rgba(86,176,220,0.12) 0%, rgba(18,32,54,0.22) 80%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero-figure__card {
  position: absolute; left: clamp(-1.6rem, -2vw, -0.8rem); bottom: 1.6rem; z-index: 2;
  max-width: 20rem;
  background: var(--navy-ink);
  border-radius: 12px;
  border-left: 5px solid var(--orange);
  padding: 1.2rem 1.3rem;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.65);
}
.hero-figure__card strong {
  display: block;
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.2em; line-height: 1.05; letter-spacing: 0.01em;
  color: #FFF;
  margin-bottom: 0.35rem;
}
.hero-figure__card p { font-size: 0.74em; line-height: 1.5; color: var(--muted-on-dark); margin: 0 0 0.8rem; }
.hero-figure__logos { display: flex; align-items: center; gap: 0.9rem; padding-top: 0.7rem; border-top: 1px solid var(--rule-on-dark); }
.hero-figure__logos img { height: 30px; width: auto; opacity: 0.95; }

/* ---- Why join: 6 icon cards ---- */
.whygrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin-top: 2.6rem; }
.whycard {
  background: #FFFFFF;
  border: 1px solid var(--rule-on-light);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 1.5rem 1.1rem;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.whycard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(10,18,36,0.4); }
.whycard__chip {
  width: 3.2rem; height: 3.2rem;
  margin: 0 auto 0.9rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(86,176,220,0.16);
  color: var(--teal-deep);
}
.whycard__chip .icon { width: 1.6em; height: 1.6em; }
.whycard:nth-of-type(1) .whycard__chip { background: rgba(242,101,34,0.14); color: var(--orange-deep); }
.whycard:nth-of-type(2) .whycard__chip { background: rgba(43,57,144,0.12); color: var(--royal); }
.whycard:nth-of-type(3) .whycard__chip { background: rgba(23,128,151,0.14); color: var(--teal-deep); }
.whycard:nth-of-type(4) .whycard__chip { background: rgba(165,79,192,0.12); color: var(--purple); }
.whycard:nth-of-type(5) .whycard__chip { background: rgba(86,176,220,0.18); color: #2A7FA8; }
.whycard:nth-of-type(6) .whycard__chip { background: rgba(242,101,34,0.14); color: var(--orange-deep); }
.whycard h3 { font-size: 1.2em; color: var(--navy); margin-bottom: 0.35em; }
.whycard p { font-size: 0.8em; color: var(--muted-on-light); line-height: 1.5; }

/* ---- Programmes: photo-top cards ---- */
.proggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.6rem; }
.progcard {
  background: #FFFFFF;
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}
.progcard__media { position: relative; }
.progcard__media img {
  width: 100%; height: 170px; object-fit: cover;
  filter: contrast(1.08) saturate(1.12);
}
.progcard__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(86,176,220,0.10) 0%, rgba(18,32,54,0.18) 85%);
  mix-blend-mode: multiply;
}
.progcard__badge {
  position: absolute; left: 1.1rem; bottom: -1.35rem; z-index: 2;
  width: 2.7rem; height: 2.7rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orange);
  color: #FFF;
  box-shadow: 0 8px 18px -8px rgba(242,101,34,0.7);
}
.progcard__badge .icon { width: 1.35em; height: 1.35em; }
.progcard:nth-of-type(2) .progcard__badge { background: var(--royal); box-shadow: 0 8px 18px -8px rgba(43,57,144,0.6); }
.progcard:nth-of-type(3) .progcard__badge { background: var(--teal); box-shadow: 0 8px 18px -8px rgba(23,128,151,0.6); }
.progcard:nth-of-type(4) .progcard__badge { background: var(--sky); color: var(--navy-ink); box-shadow: 0 8px 18px -8px rgba(86,176,220,0.7); }
.progcard:nth-of-type(5) .progcard__badge { background: var(--purple); box-shadow: 0 8px 18px -8px rgba(165,79,192,0.6); }
.progcard__body { padding: 2rem 1.3rem 1.5rem; }
.progcard h3 { font-size: 1.35em; color: var(--navy); margin-bottom: 0.35em; }
.progcard p { font-size: 0.84em; color: var(--muted-on-light); line-height: 1.55; }
.prog-cta { display: flex; justify-content: center; margin-top: 2.4rem; }

/* ---- How it works: numbered steps with arrows ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-top: 2.8rem; }
.step { text-align: center; position: relative; padding: 0 0.5rem; }
.step__num {
  width: 2.4rem; height: 2.4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900; font-size: 1.15rem;
  color: #FFF;
}
.step:nth-child(1) .step__num { background: var(--orange); }
.step:nth-child(2) .step__num { background: var(--sky); color: var(--navy-ink); }
.step:nth-child(3) .step__num { background: var(--royal); }
.step:nth-child(4) .step__num { background: var(--teal); }
.step .icon { width: 2.2em; height: 2.2em; color: var(--navy); margin: 0 auto 0.8rem; display: block; }
.step h3 { font-size: 1.3em; color: var(--navy); margin-bottom: 0.3em; }
.step p { font-size: 0.84em; color: var(--muted-on-light); line-height: 1.5; }
.step small { display: block; margin-top: 0.4rem; font-size: 0.72em; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-deep); }
.step:not(:last-child)::after {
  content: "";
  position: absolute; top: 1.1rem; right: -0.85rem;
  width: 1.2rem; height: 1.2rem;
  border-top: 3px solid rgba(16,24,40,0.25);
  border-right: 3px solid rgba(16,24,40,0.25);
  transform: rotate(45deg);
}
@media (max-width: 900px) { .step:not(:last-child)::after { display: none; } }

/* ---- Membership ---- */
.tiergrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; margin-top: 2.8rem; align-items: stretch; }
.tier {
  background: #FFFFFF;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 1.8rem 1.5rem;
  display: flex; flex-direction: column;
  color: var(--ink);
}
.tiergrid .tier:nth-of-type(1) { border-top: 5px solid var(--orange); }
.tiergrid .tier:nth-of-type(2) { border-top: 5px solid var(--sky); }
.tiergrid .tier:nth-of-type(3) { border-top: 5px solid var(--royal); }
.tiergrid .tier:nth-of-type(4) { border-top: 5px solid var(--teal); }
.tier__name {
  font-weight: 600; font-size: 0.74em;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.8rem;
}
.tier__price { font-family: var(--font-display); font-weight: 900; font-size: 2.3em; line-height: 1; color: var(--navy); }
.tier__price small { font-family: var(--font-body); font-weight: 600; font-size: 0.34em; letter-spacing: 0.06em; color: var(--muted-on-light); }
.tier ul { list-style: none; padding: 0; margin: 1.2rem 0 1.7rem; display: grid; gap: 0.55rem; font-size: 0.85em; color: var(--muted-on-light); }
.tier li { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.5rem; align-items: start; }
.tier li .icon { width: 1.15em; height: 1.15em; color: var(--teal); margin-top: 0.15em; }
.tier .btn { margin-top: auto; width: 100%; font-size: 0.82em; padding: 0.9em 1em; }
.tiernote { margin: 2rem auto 0; font-size: 0.9em; color: var(--muted-on-light); max-width: 46rem; text-align: center; }
.tiernote strong { color: var(--ink); font-weight: 600; }

/* ---- Gains + partnership ---- */
.gaingrid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-col); align-items: center; }
.gains { list-style: none; padding: 0; margin: 1.6rem 0 1.8rem; display: grid; gap: 0.9rem; }
.gains li { display: grid; grid-template-columns: 1.8rem 1fr; gap: 0.8rem; align-items: start; color: var(--muted-on-light); font-size: 0.96em; }
.gains .icon { width: 1.3em; height: 1.3em; color: var(--orange); margin-top: 0.2em; }
.gains strong { color: var(--ink); font-weight: 600; }
.gainfig { position: relative; margin-top: 2rem; max-width: 26rem; }
.gainfig img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-card);
  filter: contrast(1.06) saturate(1.12);
}
.gainfig::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-card);
  background: linear-gradient(200deg, rgba(86,176,220,0.10) 0%, rgba(18,32,54,0.18) 85%);
  mix-blend-mode: multiply;
}
.partner-card {
  background: #FFFFFF;
  border: 1px solid var(--rule-on-light);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 2.2rem 2rem;
}
.partner-card .eyebrow {
  display: inline-block; font-weight: 600; font-size: var(--fs-eyebrow);
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--teal-deep);
  margin-bottom: 1em;
}
.partner-card h3 { font-size: 1.7em; color: var(--navy); }
.partner-card p { font-size: 0.92em; color: var(--muted-on-light); }
.partner-card__logos {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1.6rem;
  margin-top: 1.5rem; padding-top: 1.4rem;
  border-top: 1px solid var(--rule-on-light);
}
.partner-card__logos img { height: 44px; width: auto; }
.partner-card__meta { font-size: 0.76em; color: var(--muted-on-light); margin-top: 1rem; }

/* ---- Testimonial + CTA band ---- */
.storygrid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--gap-col); align-items: stretch; }
.quotecard {
  background: #FFFFFF;
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 2.4rem 2.2rem;
  position: relative;
}
.quotecard::before {
  content: "\201C";
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 5.5rem; line-height: 1;
  color: var(--orange);
  display: block;
  margin-bottom: -1.4rem;
}
.quotecard blockquote { margin: 0; font-size: 1.12em; line-height: 1.6; color: var(--ink); }
.quotecard figcaption { margin-top: 1.3rem; font-size: 0.85em; font-weight: 600; color: var(--teal-deep); letter-spacing: 0.05em; }
.ctacard {
  background:
    radial-gradient(80% 70% at 90% 10%, rgba(255,255,255,0.16), transparent 55%),
    linear-gradient(135deg, var(--royal) 0%, #3F6EC2 55%, var(--sky) 100%);
  border-radius: var(--r-card);
  color: #FFF;
  padding: 2.4rem 2.2rem;
  display: grid; align-content: center; justify-items: start; gap: 0.4rem;
}
.ctacard .eyebrow-dark {
  font-weight: 600; font-size: var(--fs-eyebrow);
  letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255,255,255,0.88);
}
.ctacard h3 { font-size: 1.9em; color: #FFF; max-width: 16ch; }
.ctacard p { color: var(--muted-on-dark); font-size: 0.92em; max-width: 34ch; }
.ctacard .btn { margin-top: 1rem; }

/* ---- Footer ---- */
.footer {
  background: var(--navy-ink);
  color: var(--muted-on-dark);
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--section-pad-x) 0;
}
.footer__inner { max-width: var(--container); margin: 0 auto; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  padding-bottom: 2.8rem;
}
.footer__logochip {
  display: inline-block;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  margin-bottom: 1.1rem;
}
.footer__logochip img { height: 44px; width: auto; }
.footer__blurb { font-size: 0.85em; line-height: 1.6; max-width: 30ch; }
.footer h4 {
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.78em;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sky);
  margin: 0.4rem 0 1.1rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; font-size: 0.88em; }
.footer ul a { border-bottom: 1px solid transparent; transition: color 120ms ease, border-color 120ms ease; }
.footer ul a:hover, .footer ul a:focus-visible { color: #FFF; border-bottom-color: var(--orange); outline: none; }
.footer__contact li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.6rem; align-items: start; }
.footer__contact .icon { width: 1.15em; height: 1.15em; color: var(--orange); margin-top: 0.2em; }
.footer__news { margin-top: 1.4rem; }
.footer__news .joinband__row { gap: 0.5rem; }
.footer__news input[type="email"] {
  flex: 1; min-width: 0;
  font: inherit; font-size: 0.88em;
  padding: 0.75em 1.1em;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--rule-on-dark);
  border-radius: var(--r-pill);
  color: #FFF;
  outline: none;
}
.footer__news input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }
.footer__news input[type="email"]:focus { border-color: var(--sky); }
.footer__news .btn { font-size: 0.78em; padding: 0.85em 1.3em; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.footer__social a {
  width: 2.3rem; height: 2.3rem;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--rule-on-dark);
  color: #FFF;
  transition: background-color 130ms ease, color 130ms ease, border-color 130ms ease;
}
.footer__social a:hover, .footer__social a:focus-visible { background: var(--orange); border-color: var(--orange); color: var(--navy-ink); outline: none; }
.footer__social .icon { width: 1.05em; height: 1.05em; }
.footer__bar {
  border-top: 1px solid var(--rule-on-dark);
  padding: 1.3rem 0 1.6rem;
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  justify-content: space-between; align-items: center;
  font-size: 0.78em; color: rgba(255,255,255,0.72);
}
.footer__bar nav { display: flex; gap: 1.4rem; }

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .whygrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .hero__grid, .gaingrid, .storygrid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 28rem; }
  .featrow { grid-template-columns: repeat(3, 1fr); row-gap: 1.2rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .proggrid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .tiergrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  :root { --fs-body: 1.05em; }
  .whygrid, .proggrid, .tiergrid, .steps { grid-template-columns: 1fr; }
  .featrow { grid-template-columns: repeat(2, 1fr); }
  .joinband__row { flex-direction: column; }
  .joinband .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
}


/* ===== GeneratePress integration =====
   GP chrome (header/footer) is removed in functions.php; nav + footer render
   from template-parts. These resets let the one-pager sections run full-bleed. */
.home .site-content, .home .content-area, .home .site-main,
.home .inside-article, .home .entry-content {
  margin: 0 !important; padding: 0 !important; max-width: 100% !important;
}
.site-main .section { margin: 0; }
.entry-content > .wp-block-html { margin: 0; }
body.page .entry-header { display: none; }
