/* ===========================================================
   Thought Ignite — shared stylesheet
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --forest: #11352B;
  --ink: #1E2E28;
  --ivory: #F6F5F0;
  --ivory-dim: #ECE9E1;
  --gold: #E8A33C;
  --warm-grey: #6A6A68;
  --sage: #9EC2B6;
  --rule: rgba(17, 53, 43, 0.14);
  --rule-dark: rgba(246, 245, 240, 0.22);

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max: 1120px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
}

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 900;
  color: var(--forest);
  line-height: 1.12;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }

p { max-width: 62ch; margin: 0 0 1.2em; }

.tagline-label {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--warm-grey);
}

.tagline-label.on-dark { color: var(--sage); }

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9em 1.7em;
  border-radius: 3px;
  border: 1.5px solid var(--forest);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--forest);
  color: var(--ivory);
  box-shadow: 0 2px 8px rgba(17,53,43,0.22);
}
.btn-primary:hover { background: #0b241d; box-shadow: 0 4px 14px rgba(17,53,43,0.3); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--forest);
}
.btn-ghost:hover { background: rgba(17,53,43,0.06); }

.btn-on-dark {
  border-color: var(--ivory);
  color: var(--ivory);
}
.btn-on-dark.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--forest);
  box-shadow: 0 3px 10px rgba(0,0,0,0.22);
}
.btn-on-dark.btn-primary:hover { background: #d9922b; box-shadow: 0 5px 16px rgba(0,0,0,0.28); transform: translateY(-1px); }
.btn-on-dark.btn-ghost:hover { background: rgba(246,245,240,0.1); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246,245,240,0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rule);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.brand img { height: 34px; width: 34px; }
.brand span {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--forest);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a {
  color: var(--ink);
  position: relative;
  padding: 0.2rem 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta {
  font-weight: 600;
  padding: 0.55em 1.3em;
  border: 1.5px solid var(--forest);
  border-radius: 3px;
  color: var(--forest);
}
.nav-cta:hover { background: var(--forest); color: var(--ivory); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  -webkit-appearance: none;
  appearance: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest);
  margin: 5px 0;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--ivory);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--rule);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links a, .nav-links .nav-cta {
    width: 100%;
    padding: 1rem var(--gutter);
    border: none;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
  }
  .nav-links .nav-cta:hover { background: var(--forest); }
}

/* ---------- Hero (full-bleed, on-brand dark) ---------- */
.hero {
  background: var(--forest);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 50rem;
  position: relative;
  z-index: 1;
}
.hero-mark {
  position: absolute;
  right: clamp(-40px, 4vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(260px, 30vw, 420px);
  height: auto;
  opacity: 0.6;
  pointer-events: none;
}
@media (max-width: 900px) { .hero-mark { opacity: 0.3; width: 45vw; } }
@media (max-width: 640px) { .hero-mark { display: none; } }
.hero h1 { margin-bottom: 0.45em; color: var(--ivory); }
.hero .lede {
  font-size: 1.15rem;
  color: var(--sage);
  max-width: 42rem;
}

/* Highlight marker on the dark hero — a clean underline, not a background wash */
.hero .highlight {
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 100% 3px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0.06em 0.08em;
  color: var(--ivory);
}

/* one deliberate load animation */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * {
    animation: rise 0.7s cubic-bezier(.2,.7,.3,1) both;
  }
  .hero-inner > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-inner > *:nth-child(3) { animation-delay: 0.16s; }
  .hero-inner > *:nth-child(4) { animation-delay: 0.24s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ---------- Sections ---------- */
section { padding: clamp(3rem, 7vw, 5rem) 0; }
.section-head { max-width: 40rem; margin-bottom: 2.2rem; }
.section-head p { color: var(--warm-grey); }

/* Programs — bold color-blocked cards */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.program-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem 1.8rem 1.8rem;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 2px rgba(17,53,43,0.05), 0 14px 30px -18px rgba(17,53,43,0.3);
}
.program-card:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(17,53,43,0.08), 0 20px 36px -16px rgba(17,53,43,0.36); }
.program-figure {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 1rem;
}
.program-figure small {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-left: 0.3em;
  text-transform: uppercase;
  vertical-align: middle;
}
.program-card h3 { margin-bottom: 0.2rem; }
.program-card .meta { font-size: 0.9rem; margin-bottom: 1.4rem; }
.program-card .go { font-weight: 700; font-size: 0.92rem; margin-top: auto; }

.program-card-a { background: var(--forest); }
.program-card-a h3, .program-card-a .program-figure { color: var(--ivory); }
.program-card-a .meta { color: var(--sage); }
.program-card-a .go { color: var(--gold); }

@media (max-width: 760px) {
  .program-grid { grid-template-columns: 1fr; }
}

/* Pillars — one deliberate dark card among two light ones, never three competing colors */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.pillar {
  padding: 2.1rem 1.8rem;
  border-radius: 10px;
}
.pillar-icon { width: 40px; height: 40px; margin-bottom: 1.2rem; }
.pillar-a .pillar-icon { color: var(--forest); }
.pillar-b .pillar-icon { color: var(--gold); }
.pillar h3 { margin-bottom: 0.5rem; }
.pillar p { font-size: 0.95rem; margin: 0; }
.pillar-a {
  background: #fff;
  border: 1px solid rgba(17,53,43,0.08);
  box-shadow: 0 1px 2px rgba(17,53,43,0.04), 0 12px 28px -18px rgba(17,53,43,0.26);
}
.pillar-a h3 { color: var(--forest); }
.pillar-a p { color: var(--warm-grey); }
.pillar-b { background: var(--forest); }
.pillar-b h3 { color: var(--ivory); }
.pillar-b p { color: var(--sage); }
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* FAQ */
.faq-list { max-width: 46rem; }
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 1.1rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--forest);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 0.8rem 0 0;
  color: var(--warm-grey);
  font-size: 0.95rem;
}

/* Timeline (full-bleed band, legitimate sequence) */
.timeline-section {
  background: var(--forest);
}
.timeline-section .section-head h2 { color: var(--ivory); }
.timeline-section .section-head p { color: var(--sage); }
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 19px;
  left: calc(16.5% + 6px);
  right: calc(16.5% + 6px);
  height: 2px;
  background: rgba(246,245,240,0.18);
}
.timeline-step { position: relative; text-align: center; }
.timeline-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.15rem;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 1;
}
.timeline-step h3 { color: var(--ivory); margin-bottom: 0.4rem; }
.timeline-step p { color: var(--sage); font-size: 0.95rem; }
@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 1.8rem; }
  .timeline::before { display: none; }
}

/* Instructor pull-quote */
.instructor-section { background: var(--ivory-dim); }
.instructor {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  position: relative;
  max-width: 44rem;
}
.quote-mark {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 6rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
  position: absolute;
  top: -2.2rem;
  left: -0.6rem;
}

/* Pull-quote used inline within narrower columns (About page) */
.pull-quote {
  position: relative;
  margin: 2rem 0 0;
  padding-top: 1.6rem;
}
.pull-quote blockquote {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--forest);
  margin: 0;
  line-height: 1.4;
  position: relative;
}

/* "Who we work with" band — kept plain since it sits right before the dark CTA band */
.who-we-work-with {
  background: var(--ivory-dim);
}
.who-we-work-with h2 { color: var(--forest); }
.who-we-work-with p { color: var(--warm-grey); }
.instructor blockquote {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--forest);
  margin: 0;
  line-height: 1.35;
  position: relative;
}
.instructor cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--warm-grey);
}

/* CTA band */
.cta-band {
  background: var(--forest);
  color: var(--ivory);
}
.cta-band h2 { color: var(--ivory); }
.cta-band p { color: var(--sage); }
.cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.cta-band-text { max-width: 34rem; }

/* Footer */
footer {
  background: var(--forest);
  color: var(--sage);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}
footer.on-ivory { background: var(--ivory-dim); color: var(--warm-grey); }
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule-dark);
  margin-bottom: 1.5rem;
}
footer.on-ivory .footer-top { border-bottom: 1px solid var(--rule); }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img { height: 42px; width: 42px; }
.footer-brand-text { display: flex; flex-direction: column; gap: 0.15rem; }
.footer-brand-name {
  font-family: var(--serif);
  font-weight: 900;
  color: var(--ivory);
  font-size: 1.35rem;
  line-height: 1;
}
.footer-brand-tagline {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.62rem;
  color: var(--sage);
}
footer.on-ivory .footer-brand-name { color: var(--forest); }
footer.on-ivory .footer-brand-tagline { color: var(--warm-grey); }
.footer-links { display: flex; gap: 2.2rem; flex-wrap: wrap; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  opacity: 0.85;
}
.legal-note {
  margin: 1.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-dark);
  font-size: 0.78rem;
  color: var(--sage);
  opacity: 0.85;
  max-width: 52rem;
}
footer.on-ivory .legal-note { border-top: 1px solid var(--rule); color: var(--warm-grey); }

/* ---------- Generic content page bits ---------- */
.page-hero {
  background: var(--forest);
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.6rem, 6vw, 4rem);
}
.page-hero h1 { color: var(--ivory); }
.page-hero .lede { color: var(--sage); font-size: 1.08rem; max-width: 46rem; }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

.info-card {
  background: #fff;
  border: 1px solid rgba(17,53,43,0.07);
  border-radius: 5px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 1px 2px rgba(17,53,43,0.04), 0 12px 28px -16px rgba(17,53,43,0.24);
}
.info-card + .info-card { margin-top: 1.2rem; }
.info-card-dark {
  background: var(--forest);
  border: none;
}
.info-card-dark h3 { color: var(--ivory); }
.info-card h3 { margin-bottom: 0.6rem; font-size: 1.05rem; }
.info-card .figure {
  font-family: var(--serif);
  font-weight: 900;
  color: var(--forest);
  font-size: 1.9rem;
  display: block;
  margin-bottom: 0.15rem;
}
.info-card-dark .figure { color: var(--ivory); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
  color: var(--ink);
}
.checklist-dark li { color: var(--ivory); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* Contact page */
.contact-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
@media (max-width: 700px) { .contact-methods { grid-template-columns: 1fr; } }
.contact-method {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 2rem 1.8rem;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(17,53,43,0.04), 0 14px 30px -18px rgba(17,53,43,0.28);
}
.contact-method h3 { margin: 0 0 0.3rem; font-size: 1.2rem; }
.contact-method p { margin: 0; font-size: 0.95rem; }
.contact-method-a { background: var(--forest); }
.contact-method-a h3 { color: var(--ivory); }
.contact-method-a p { color: var(--sage); }
.contact-method-b {
  background: #fff;
  border: 1px solid rgba(17,53,43,0.08);
}
.contact-method-b h3 { color: var(--forest); }
.contact-method-b p { color: var(--warm-grey); }


/* ===========================================================
   Photo integration — added layout rules for hero/pillars/
   timeline/instructor sections. Nothing above this line
   was changed.
   =========================================================== */

/* Hero: text + photo, 2-col on desktop, stacked on mobile
   (photo below copy, matching source HTML order) */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  align-items: center;
}
@media (min-width: 901px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero-media {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.45);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}
/* the decorative concentric mark and the real hero photo occupy the
   same space — once a photo is present, let the photo carry that role */
.hero:has(.hero-media) .hero-mark { display: none; }

/* Pillars: three cards stay primary; photo is a supporting strip
   underneath, capped width so it never reads as a big stock banner */
.pillars-layout {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}
.pillars-media {
  border-radius: 12px;
  overflow: hidden;
  max-width: 46rem;
  margin: 0 auto;
  box-shadow: 0 1px 2px rgba(17,53,43,0.04), 0 16px 32px -20px rgba(17,53,43,0.28);
}
.pillars-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

/* Timeline: kept as a single capped-width strip below the three steps
   rather than squeezing the numbered-line layout into a narrower column */
.timeline-layout {
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
}
.timeline-media {
  border-radius: 12px;
  overflow: hidden;
  max-width: 50rem;
  margin: 0 auto;
  box-shadow: 0 20px 50px -24px rgba(0,0,0,0.5);
}
.timeline-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

/* Instructor: quote + photo, 2-col on desktop, stacked on mobile */
.instructor.instructor-layout {
  max-width: 64rem;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 780px) {
  .instructor.instructor-layout { grid-template-columns: 1.15fr 0.85fr; }
}
.instructor-text { position: relative; }
.instructor-media {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(17,53,43,0.04), 0 16px 34px -20px rgba(17,53,43,0.28);
}
.instructor-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

/* Footer: added social row, matches existing footer-links styling */
.footer-social {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.footer-social a:hover { text-decoration: underline; }

/* ===========================================================
   Shared content-page components — About + program pages.
   Everything above this line is unchanged from the previous
   homepage-photo-integration pass.
   =========================================================== */

.pull-quote { max-width: 46rem; }

/* 4-up variant of the existing 3-up pillars grid (program skill cards) */
.pillars.pillars-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .pillars.pillars-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars.pillars-4 { grid-template-columns: 1fr; } }

/* 2-up variant of the existing 3-up program grid (cross-links) */
.program-grid.program-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 40rem; }
@media (max-width: 620px) { .program-grid.program-grid-2 { grid-template-columns: 1fr; } }

/* Generic numbered process grid — used for 4- and 5-step sequences
   where the exact 3-column timeline (with its connecting line) doesn't fit */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
.process-step { text-align: center; }
.process-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--forest);
  font-family: var(--serif);
  font-weight: 900;
  font-size: 1.15rem;
  margin: 0 auto 1rem;
}
.process-step h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.process-step p { font-size: 0.92rem; margin: 0; color: var(--warm-grey); }
.process-grid--dark .process-step h3 { color: var(--ivory); }
.process-grid--dark .process-step p { color: var(--sage); }

/* Program-page snapshot row (weeks / sessions / schedule / format) */
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.4rem;
}
@media (max-width: 760px) { .snapshot-grid { grid-template-columns: repeat(2, 1fr); } }
.snapshot-grid .info-card { text-align: center; }

/* 3-up variant (CELPIP snapshot row, which has no confirmed weekday stat) */
.snapshot-grid.snapshot-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .snapshot-grid.snapshot-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .snapshot-grid.snapshot-grid-3 { grid-template-columns: 1fr; } }

.session-note {
  display: block;
  text-align: center;
  margin: 0 0 2.6rem;
}

/* Minimal-text forest-green statement band (About "Our Approach") */
.statement-band { background: var(--forest); text-align: center; }
.statement-band h2 { color: var(--ivory); max-width: 46rem; margin: 0 auto; }

/* ===========================================================
   Contact/Privacy/404 pages, cookie consent banner, footer
   social icons. Everything above this line is unchanged.
   =========================================================== */

.footer-social a { display: inline-flex; align-items: center; gap: 0.5rem; }
.social-icon { width: 18px; height: 18px; flex-shrink: 0; }

.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--forest);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--gutter);
}
.cookie-banner-inner p { margin: 0; font-size: 0.88rem; color: var(--sage); max-width: 40rem; }
.cookie-banner-inner a { text-decoration: underline; color: var(--ivory); }
.cookie-banner-actions { display: flex; gap: 0.7rem; flex-shrink: 0; }
.cookie-banner .btn { padding: 0.6em 1.2em; font-size: 0.88rem; }

/* 404 page */
.not-found-section { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.not-found-figure {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(4rem, 14vw, 8rem);
  color: var(--forest);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.not-found-section p { max-width: 32rem; margin: 0 auto 1.8rem; color: var(--warm-grey); }

/* Contact page: buttons inside the padded contact-method cards need to
   stay within the card at narrow widths rather than keeping their
   natural unwrapped text width */
.contact-method .btn { width: 100%; justify-content: center; }
/* Grid items default to min-width: auto, so even a single 1fr track
   (the mobile breakpoint) won't shrink below the content's intrinsic
   minimum width — this is what actually overflowed the card at 320px,
   not the flex alignment. min-width: 0 lets it shrink and wrap properly. */
.contact-method { align-items: stretch; min-width: 0; }
