/* ============================================================
   Hayley Leyshon — Leadership & Inclusion
   Palette sampled from existing print materials.
   ============================================================ */

:root {
  /* Core brand */
  --navy:        #0C2543;   /* logo navy */
  --navy-deep:   #071A30;
  --navy-tint:   #E6EAF0;

  --forest:      #183A2A;   /* deep band green, from her print materials */
  --forest-mid:  #69826E;   /* logo sage */
  --forest-tint: #E8EDE9;

  --gold:        #C19B5A;   /* logo gold — decorative use only, 2.5:1 on white */
  --gold-text:   #7F642F;   /* accessible gold for small text, 5.4:1 */
  --gold-light:  #DCC9A6;
  --gold-tint:   #F5EEE2;

  --cream:       #F7EDE3;
  --paper:       #FDFBF8;
  --white:       #FFFFFF;

  --ink:         #26333C;
  --ink-soft:    #5B6A73;
  --rule:        #E3D9CB;

  /* Type */
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Karla", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --band: clamp(5rem, 12vw, 10rem);
  --measure: 56ch;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: min(1160px, 100% - (var(--gut) * 2));
  margin-inline: auto;
}

.wrap--narrow { width: min(760px, 100% - (var(--gut) * 2)); }

/* Reading column: same LEFT edge as .wrap, text capped at a readable measure.
   Use this for left-aligned prose. .wrap--narrow is centred and is only for
   deliberately centred "moment" bands (CTA, reframe, pull-quotes). */
.wrap--read > * { max-width: 74ch; }
.wrap--read .legal-list,
.wrap--read .checklist { max-width: 74ch; }

.band { padding-block: var(--band); }
.band--tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }

.band--cream  { background: var(--cream); }
.band--paper  { background: var(--paper); }
.band--white  { background: var(--white); }
.band--navy   { background: var(--navy); color: #EAF0F7; }
.band--forest { background: var(--forest); color: #E6EDE8; }

.band--navy h2, .band--forest h2,
.band--navy h3, .band--forest h3 { color: #fff; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 4.5rem); text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); text-wrap: balance; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
h4 {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1rem;
}

p { margin: 0 0 1.1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 1.1rem;
}

.script {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--forest);
}

/* Botanical hairline mark */
.mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 2rem;
  color: var(--gold-light);
}
.mark::before,
.mark::after {
  content: "";
  height: 1px;
  background: currentColor;
  flex: 1;
  max-width: 4rem;
}
.mark svg { width: 20px; height: 20px; flex: none; }
.mark--left::before { display: none; }
.mark--left { justify-content: flex-start; }
.mark--left::after { max-width: 3rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  border-radius: 2px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); transform: translateY(-1px); }

.btn--ghost { background: var(--white); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }

.btn--gold { background: var(--gold-text); border-color: var(--gold-text); color: #fff; }
.btn--gold:hover { background: #6A5327; border-color: #6A5327; }

.btn--light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,251,248,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
}

.brand { display: block; text-decoration: none; flex: none; }

.brand img {
  height: 68px;
  width: auto;
  display: block;
}

.brand--foot img { height: 84px; }

@media (max-width: 900px) { .brand img { height: 54px; } }
@media (max-width: 420px) { .brand img { height: 44px; } }

.nav { display: flex; align-items: center; gap: 1.6rem; }

.nav a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--navy); border-bottom-color: var(--gold-light); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }

.nav .btn { padding: 0.7rem 1.3rem; font-size: 0.78rem; border-bottom: none; color: #fff; }
.nav .btn:hover { border-bottom: none; color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.55rem 0.7rem;
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle svg { width: 20px; height: 20px; display: block; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem var(--gut) 1.5rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding-block: 0.85rem; border-bottom: 1px solid var(--rule); }
  .nav a:hover { border-bottom-color: var(--rule); }
  .nav a[aria-current="page"] { border-bottom-color: var(--rule); }
  .nav .btn { margin-top: 1rem; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero--image {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(76vh, 680px);
  padding: 0;
  background: var(--cream);
}

.hero-bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  display: block;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Framing is per-photo. Scoping these stops a change to one hero
   silently re-cropping the others. */
.hero--image .hero-bg img        { object-position: 50% 20%; }   /* homepage: sit on the sky */
.page-hero--photo .hero-bg img   { object-position: 50% 50%; }
/* Parents: 50% keeps the whole family, child included, inside the visible band.
   Verified by simulating object-fit cover at 1440x460. Schools also sits at 50%. */

/* Soft cream wash so the headline always has something quiet to sit on */
/* Two washes. The horizontal one keeps the text column consistently legible
   all the way down; the vertical one softens the top. Combined they hold every
   line above 4.5:1 while the right of the photo stays visible. */
.hero--image::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right,
      rgba(247,237,227,.86) 0%,
      rgba(247,237,227,.86) 50%,
      rgba(247,237,227,.34) 78%,
      rgba(247,237,227,.22) 100%),
    linear-gradient(to bottom,
      rgba(247,237,227,.32) 0%,
      rgba(247,237,227,.30) 55%,
      rgba(247,237,227,0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(3rem, 7vw, 5rem);
  align-self: start;
  margin-top: clamp(2rem, 6vw, 4rem);
}

.hero--image .lead { color: var(--ink); max-width: 46ch; }

@media (max-width: 700px) {
  .hero--image { min-height: 0; }
  .hero--image .hero-bg img { object-position: 50% 28%; }
  .hero--image::after {
    background: linear-gradient(to bottom,
      rgba(247,237,227,.90) 0%,
      rgba(247,237,227,.86) 60%,
      rgba(247,237,227,.72) 100%);
  }
}


.hero {
  background: var(--cream);
  padding-block: clamp(4rem, 11vw, 8.5rem);
  position: relative;
  overflow: hidden;
}

.hero-leaf {
  position: absolute;
  top: -3rem;
  right: -4rem;
  width: min(420px, 45vw);
  color: var(--gold-light);
  opacity: 0.22;
  pointer-events: none;
}

.hero h1 { position: relative; }

.hero-statement {
  font-family: var(--display);
  font-size: clamp(2.3rem, 5.6vw, 4.1rem);
  line-height: 1.14;
  color: var(--navy);
  margin: 0 0 1.6rem;
  text-wrap: balance;
}
.hero-statement em {
  font-style: normal;
  color: var(--forest);
}

.hero .lead { max-width: 54ch; }

/* Page hero for interior pages */
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 58ch; }

.page-hero--navy   { background: var(--navy);   color: #DCE6F1; }
.page-hero--gold   { background: var(--gold-tint); }
.page-hero--forest { background: var(--forest);  color: #DEE8E1; }

.page-hero--navy h1, .page-hero--forest h1 { color: #fff; }
.page-hero--navy .lead, .page-hero--forest .lead { color: rgba(255,255,255,.82); }
.page-hero--navy .eyebrow { color: var(--gold-light); }
.page-hero--forest .eyebrow { color: var(--gold-light); }

.page-hero--split .split { align-items: center; }
.page-hero--split h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.page-hero--split { padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-hero--navy .hero-figure { border-color: rgba(255,255,255,.25); }

.hero-figure {
  margin: 0;
  border: 1px solid var(--rule);
  overflow: hidden;
  line-height: 0;
}
.hero-figure img { width: 100%; height: auto; }
@media (max-width: 820px) {
  /* Show the photo on phones too, as a wide band under the text */
  .hero-figure {
    margin-top: 2rem;
    max-height: 220px;
    overflow: hidden;
  }
  .hero-figure img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    object-position: center 45%;
  }
}

/* Section with a photographic texture behind it */
.band--texture {
  position: relative;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.band--texture::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  z-index: -1;
  background: rgba(253,251,248,.88);
}

/* Page hero with a full-bleed photograph behind the title */
.page-hero--photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  display: grid;
  align-items: center;
  min-height: min(56vh, 460px);
}

/* Parents: the hero must grow with the viewport, otherwise a fixed 460px
   height crops further into the photo as the screen widens and cuts the
   family off. 26vw keeps the whole group visible up to very wide screens. */
.page-hero--photo-light { min-height: max(min(56vh, 460px), 30vw); }

.page-hero--photo .hero-content {
  position: relative;
  z-index: 2;
  padding-block: clamp(3rem, 7vw, 5rem);
}

/* Light treatment: cream wash, navy type */
.page-hero--photo-light { background: var(--cream); }
.page-hero--photo-light::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
    rgba(247,237,227,.94) 0%,
    rgba(247,237,227,.86) 42%,
    rgba(247,237,227,.55) 70%,
    rgba(247,237,227,.30) 100%);
}
.page-hero--photo-light h1 { color: var(--navy); }
.page-hero--photo-light .lead { color: var(--ink); }
.page-hero--photo-light .eyebrow { color: var(--gold-text); }

/* Dark treatment: navy wash, white type */
.page-hero--photo-dark { background: var(--navy); }
.page-hero--photo-dark::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
    rgba(12,37,67,.95) 0%,
    rgba(12,37,67,.88) 45%,
    rgba(12,37,67,.66) 74%,
    rgba(12,37,67,.48) 100%);
}
.page-hero--photo-dark h1 { color: #fff; }
.page-hero--photo-dark .lead { color: rgba(255,255,255,.85); }
.page-hero--photo-dark .eyebrow { color: var(--gold-light); }

@media (max-width: 700px) {
  .page-hero--photo { min-height: 0; }
  .page-hero--photo-light::after {
    background: linear-gradient(to bottom,
      rgba(247,237,227,.95) 0%, rgba(247,237,227,.86) 60%, rgba(247,237,227,.62) 100%);
  }
  .page-hero--photo-dark::after {
    background: linear-gradient(to bottom,
      rgba(12,37,67,.95) 0%, rgba(12,37,67,.88) 60%, rgba(12,37,67,.70) 100%);
  }
}

/* ---------- Pathways ---------- */
.pathways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.pathway {
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  padding: 2.4rem 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease;
}
.pathway:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(10,50,96,.09);
}

.pathway--parents { border-top-color: var(--gold); }
.pathway--ap { border-top-color: var(--forest); }

.pathway .p-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.9rem;
}
.pathway--ap .p-label { color: var(--forest); }

.pathway h3 { margin-bottom: 0.7rem; }
.pathway p { color: var(--ink-soft); font-size: 0.98rem; flex: 1; }

.p-go {
  margin-top: 1.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.p-go svg { width: 15px; height: 15px; flex: none; transition: transform .25s ease; }
.pathway:hover .p-go svg,
.family:hover .p-go svg { transform: translateX(4px); }

/* ---------- Reframe (signature) ---------- */
.reframe { text-align: center; }

.reframe-old {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  color: rgba(255,255,255,.34);
  position: relative;
  display: inline-block;
  margin: 0 0 2.6rem;
  padding: 0 0.4rem;
}
.reframe-old::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 1px;
  background: var(--gold-light);
  opacity: .65;
}

.reframe-arrow {
  display: block;
  margin: 0 auto 2rem;
  width: 22px;
  color: var(--gold-light);
}

.reframe-new {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.2;
  color: #fff;
  margin: 0 auto;
  max-width: 22ch;
}
.reframe-new em { font-style: normal; color: var(--gold-light); }

.reframe-attrib {
  margin: 2.6rem auto 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,.72);
  max-width: 48ch;
}

/* ---------- Principles (quiet definition list) ---------- */
.principles {
  position: relative;
  margin-top: clamp(3.5rem, 8vw, 6rem);
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--rule);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.principles::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  inset: 0;
  z-index: -1;
  background: rgba(250,247,241,.82);
}

.principles-lead {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  color: var(--forest);
  margin: 0 0 2rem;
}

.principles dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: 1.5rem;
}

.principles dl > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
}

.principles dt {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.principles dd {
  margin: 0;
  font-size: 0.96rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 520px) {
  .principles dl > div { grid-template-columns: 1fr; gap: 0.3rem; }
}

.center-h { max-width: 24ch; }

/* ---------- Values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  column-gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 2.5rem;
  border-top: 1px solid var(--rule);
}

.value {
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
}
.value h3 {
  font-size: 1.35rem;
  color: var(--forest);
  margin-bottom: 0.5rem;
}
.value p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Generic content ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.split-sticky { position: sticky; top: 6.5rem; }
@media (max-width: 820px) { .split-sticky { position: static; } }

.service {
  padding-block: clamp(2.6rem, 5vw, 3.6rem);
  border-bottom: 1px solid var(--rule);
}
.service:first-of-type { padding-top: 0; }
.service:last-of-type { border-bottom: none; padding-bottom: 0; }

.service h3 { margin-bottom: 0.6rem; }
.service > p { color: var(--ink-soft); }

.tags {
  list-style: none;
  padding: 0;
  margin: 1.3rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tags li {
  font-size: 0.83rem;
  line-height: 1.4;
  padding: 0.4rem 0.85rem;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 100px;
  color: var(--ink-soft);
}

.band--navy .tags li,
.band--forest .tags li {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.7rem;
}
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.99rem;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}
.band--navy .checklist li,
.band--forest .checklist li { color: rgba(255,255,255,.85); }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.card {
  background: transparent;
  border: none;
  border-top: 1px solid var(--rule);
  padding: 1.6rem 0 0;
}
.card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Tiers ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-top: 3rem;
}

.tier {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 2.1rem 1.7rem;
  display: flex;
  flex-direction: column;
}
.tier--feature { border-color: var(--gold); box-shadow: 0 10px 30px rgba(168,135,76,.1); }

.tier-name {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--forest);
  margin-bottom: 0.3rem;
}
.tier-price {
  font-family: var(--display);
  font-size: 2.3rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.9rem;
}
.tier-for {
  font-size: 0.93rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--rule);
}
.tier .checklist { margin-top: 0; flex: 1; }
.tier .checklist li { font-size: 0.92rem; }

.section-lead {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin: 1.3rem 0 0.2rem;
}

/* ---------- Guide card ---------- */
.guide-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  padding: 2rem 1.9rem;
}
.guide-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 1.2rem;
}
.guide-card .checklist { margin-top: 0; }

/* ---------- Rate table ---------- */
.rates { margin-top: 2.5rem; border-top: 1px solid var(--rule); }

.rate {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--rule);
}
.rate-name { font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.rate-desc { font-size: 0.93rem; color: var(--ink-soft); flex: 1 1 300px; margin: 0; }
.rate-price {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--gold);
  white-space: nowrap;
}

/* ---------- Resources ---------- */
.resource {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--rule);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  margin-bottom: 1.6rem;
}
@media (max-width: 760px) {
  .resource { grid-template-columns: 1fr; }
  .resource-visual { max-width: 240px; }
}

.resource-visual {
  max-width: 320px;
  align-self: start;
  border: 1px solid var(--rule);
  background: var(--cream);
  overflow: hidden;
  line-height: 0;
}
.resource-visual img {
  width: 100%;
  height: auto;
  transition: transform .5s ease;
}
.resource:hover .resource-visual img { transform: scale(1.03); }

/* Cover thumbnail beside the free guide */
.guide-cover {
  border: 1px solid var(--rule);
  background: var(--cream);
  overflow: hidden;
  line-height: 0;
  max-width: 300px;
}
.guide-cover img { width: 100%; height: auto; }

.resource-price {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--gold-text);
  margin: 0.6rem 0 1rem;
}

.bundle {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}
.bundle:last-child { border-bottom: none; }
.bundle-name { font-size: 1rem; color: var(--ink); }
.bundle-price { font-family: var(--display); font-size: 1.35rem; color: var(--gold-text); }

.notice {
  background: var(--gold-tint);
  border-left: 3px solid var(--gold);
  padding: 1.4rem 1.6rem;
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.notice strong { color: var(--navy); }

/* ---------- Portrait ---------- */
.portrait {
  margin: 0 0 2rem;
  border: 1px solid var(--rule);
  background: var(--cream);
  overflow: hidden;
  line-height: 0;
  max-width: 340px;
}
.portrait img { width: 100%; height: auto; }
.portrait--square { max-width: 260px; border-radius: 50%; border-color: var(--gold); }

@media (max-width: 820px) {
  .portrait { max-width: 240px; }
  .portrait--square { max-width: 180px; }
}

.teaser-cover {
  margin: 0 0 2rem;
  border: 1px solid var(--rule);
  overflow: hidden;
  line-height: 0;
  max-width: 220px;
  box-shadow: 0 12px 30px rgba(12,37,67,.10);
}
.teaser-cover img { width: 100%; height: auto; }

/* ---------- Bundle offer ---------- */
.bundle-offer {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gold);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
}
@media (max-width: 700px) { .bundle-offer { grid-template-columns: 1fr; } }

.bundle-offer h3 { margin-bottom: 0.5rem; }
.bundle-offer p { color: var(--ink-soft); }
.bundle-buy .resource-price { margin: 0.1rem 0 0; }
.bundle-was {
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-decoration: line-through;
  margin: 0;
}

/* ---------- Licences ---------- */
.licences {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.licence {
  border: 1px solid rgba(255,255,255,.22);
  padding: clamp(1.8rem, 3.5vw, 2.4rem);
}
.licence h3 { color: #fff; margin-bottom: 0.4rem; }
.licence p { color: rgba(255,255,255,.8); font-size: 0.96rem; }

.licence-price {
  font-family: var(--display);
  font-size: 2.1rem;
  color: var(--gold-light);
  line-height: 1;
  margin: 0 0 1rem;
}

.licence-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}
.licence-buttons .btn { padding: 0.8rem 1.3rem; font-size: 0.8rem; }

.licence-note {
  margin-top: clamp(2rem, 4vw, 3rem);
  color: rgba(255,255,255,.75);
  font-size: 0.95rem;
}
.licence-note a { color: var(--gold-light); }

/* ---------- Comparison ---------- */
.compare {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2.5rem;
  font-size: 0.95rem;
}
.compare th, .compare td {
  text-align: left;
  padding: 1.1rem 1.2rem;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.compare thead th {
  font-family: var(--body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: var(--forest);
}
.compare thead th:last-child { background: var(--navy); }
.compare thead th:first-child { background: transparent; color: var(--gold-text); }
.compare tbody th {
  font-weight: 700;
  color: var(--navy);
  width: 22%;
  font-size: 0.9rem;
}
.compare td { color: var(--ink-soft); }
@media (max-width: 700px) {
  .compare, .compare tbody, .compare tr, .compare td, .compare th { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tr { border-bottom: 2px solid var(--rule); padding-block: 0.5rem; }
  .compare td { border-bottom: none; padding-top: 0.2rem; }
  .compare td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-text);
    margin-bottom: 0.3rem;
  }
}

/* ---------- Form ---------- */
.form { margin-top: 2.5rem; }

.field { margin-bottom: 1.5rem; }

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(168,135,76,.15); }

.field textarea { min-height: 170px; resize: vertical; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.field-note { font-size: 0.86rem; color: var(--ink-soft); margin-top: 0.4rem; }

.hp { position: absolute; left: -9999px; }

/* ---------- Contact detail list ---------- */
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}
.contact-list svg { width: 18px; height: 18px; color: var(--gold-text); flex: none; margin-top: 0.35rem; }
.contact-list span { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.contact-list a, .contact-list strong { color: var(--navy); font-weight: 500; text-decoration: none; font-size: 1.02rem; }
.contact-list a:hover { text-decoration: underline; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 { max-width: 20ch; margin-inline: auto; color: #fff; }
.cta p { margin-inline: auto; color: rgba(255,255,255,.82); }
.cta .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-foot {
  background: var(--navy-deep);
  color: rgba(255,255,255,.72);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.92rem;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-tag { margin-top: 1.4rem; max-width: 34ch; color: rgba(255,255,255,.6); }

.foot-head {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 1.1rem;
}

.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.foot-list a { color: rgba(255,255,255,.75); text-decoration: none; }
.foot-list a:hover { color: #fff; text-decoration: underline; }

.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,.5);
}

.foot-values {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--gold-light);
}

/* ---------- Offer list (parents) ---------- */
.offer-list {
  margin: 2rem 0;
  border-top: 1px solid var(--rule);
}
.offer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.offer-name { color: var(--navy); font-weight: 500; }
.offer-price {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--gold-text);
  white-space: nowrap;
}
.offer--free .offer-price { color: var(--forest); }
.offer--soon .offer-name,
.offer--soon .offer-price { color: var(--ink-soft); }
.offer--soon .offer-price {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Screen-reader-only text */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Small marker on links that leave the site */
.ext {
  display: inline-flex;
  margin-left: 0.15rem;
}
.ext svg { width: 12px; height: 12px; opacity: .75; }

/* ---------- Product family signpost ---------- */
.families {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.family {
  display: flex;
  flex-direction: column;
  padding: 2.2rem 2rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--navy);
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease;
}
.family:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(12,37,67,.09); }
.family--guides { border-top-color: var(--gold); }

.family-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.9rem;
}
.family--guides .family-label { color: var(--gold-text); }

.family h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 0.6rem; }
.family p { color: var(--ink-soft); font-size: 0.98rem; flex: 1; }

.family-meta {
  display: block;
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.family .p-go { margin-top: 1.2rem; }
.family--guides .p-go { color: var(--gold-text); }

/* ---------- Featured bundle ---------- */
.bundle-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--gold);
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  box-shadow: 0 14px 40px rgba(193,155,90,.14);
}
@media (max-width: 760px) { .bundle-feature { grid-template-columns: 1fr; } }

.bundle-art {
  margin: 0;
  border: 1px solid var(--rule);
  overflow: hidden;
  line-height: 0;
}
.bundle-art picture { display: block; }
.bundle-art img { width: 100%; height: auto; }

.bundle-detail h3 { margin-bottom: 0.6rem; }
.bundle-detail p { color: var(--ink-soft); }

.price-block {
  margin: 1.6rem 0 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--rule);
}
.price-was {
  font-size: 0.92rem;
  color: var(--ink-soft);
  text-decoration: line-through;
  margin: 0;
}
.price-now {
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  color: var(--navy);
  line-height: 1;
  margin: 0.2rem 0 0.5rem;
}
.price-save {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-text);
  margin: 0;
}

/* ---------- Browse the rest ---------- */
.browse {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
}
@media (max-width: 760px) { .browse { grid-template-columns: 1fr; } }

.browse h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.browse p { color: var(--ink-soft); font-size: 0.98rem; }

.browse-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-decoration: none;
}
.store-link svg { width: 15px; height: 15px; transition: transform .25s ease; }
.store-link:hover { text-decoration: underline; }
.store-link:hover svg { transform: translateX(4px); }

/* ---------- Guide tiers (resources) ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.guide-tier {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 1.9rem 1.6rem;
  display: flex;
  flex-direction: column;
}
.guide-tier--feature { border-color: var(--gold); box-shadow: 0 10px 30px rgba(193,155,90,.12); }
.guide-tier-price {
  font-family: var(--display);
  font-size: 2.3rem;
  color: var(--navy);
  line-height: 1;
  margin: 0 0 0.4rem;
}
.guide-tier-name {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 0.7rem;
}
.guide-tier-note { font-size: 0.92rem; color: var(--ink-soft); flex: 1; margin: 0; }
.guide-tier .btn-row { margin-top: 1.5rem; }

/* Buttons awaiting a live checkout link */
.btn.is-pending {
  background: transparent;
  border-color: var(--rule);
  color: var(--ink-soft);
  cursor: default;
  pointer-events: none;
}

/* ---------- Legal pages ---------- */
.legal-updated {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}
.legal h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.legal > h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal h3 {
  font-size: 1.12rem;
  color: var(--forest);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
.legal p { font-size: 0.98rem; max-width: 70ch; }
.legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.3rem;
  display: grid;
  gap: 0.5rem;
  max-width: 70ch;
}
.legal-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.legal-contact {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1.1rem 1.3rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.legal-contact a { color: var(--navy); }

.foot-legal { display: flex; gap: 1.4rem; }
.foot-legal a { color: rgba(255,255,255,.7); text-decoration: none; }
.foot-legal a:hover { color: #fff; text-decoration: underline; }

/* ---------- Motion ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
