/* ============================================================
   Cheynes Training - Prototype stylesheet
   Plain CSS, design tokens as custom properties.
   enexus is a visual reference only (Playfair Display + Montserrat,
   section anatomy); everything here is hand-written so it ports
   cleanly to Bricks/JetEngine later.
   ============================================================ */

/* ----------------------------------------------------------
   1. DESIGN TOKENS
   Palette derived from the EXISTING Cheynes site (slate-blue
   cards, taupe nav, gold accents, charcoal text).
   TODO: confirm exact hex by eyedropping the live logo/CSS.
   ---------------------------------------------------------- */
:root {
  /* Brand - warm neutral, matched to the live Cheynes Training identity:
     charcoal logo, taupe/khaki zone bar, gold rule. No teal. */
  --ink:          #2E2C2A;   /* warm near-black (headings) */
  --ink-soft:     #46433F;
  --brand:        #3A3733;   /* charcoal-brown - primary dark brand (logo tone) */
  --brand-deep:   #24221F;
  --brand-tint:   #EFEBE2;   /* warm cream tint */
  --stone:        #9B9078;   /* taupe / khaki - the zone bar */
  --stone-tint:   #F2EEE6;
  --gold:         #B59A5C;   /* accent gold - buttons, highlights */
  --gold-deep:    #8F7331;   /* darker gold - text on light, hover */
  --gold-line:    #C8B68F;   /* thin header rule */

  /* Surfaces & lines */
  --surface:      #FFFFFF;
  --surface-alt:  #F6F2EB;   /* warm off-white section bg */
  --surface-ink:  #2A2724;   /* dark sections / footer (warm charcoal) */
  --line:         #E7E2D8;
  --muted:        #6E6A63;

  /* Type */
  --font-display: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body:    "Raleway", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Fluid type scale */
  --fs-hero:   clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem);
  --fs-h1:     clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
  --fs-h2:     clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem);
  --fs-h3:     clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  --fs-lead:   clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  --fs-body:   1rem;
  --fs-small:  0.825rem;

  /* Spacing */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;

  /* Radius & shadow */
  --r-sm: 4px; --r-md: 8px; --r-lg: 16px; --r-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(20,30,40,.08), 0 1px 2px rgba(20,30,40,.04);
  --shadow-md: 0 10px 30px rgba(20,40,55,.10);
  --shadow-lg: 0 24px 60px rgba(20,40,55,.16);

  --container: 1200px;
  --header-h: 84px;
}

/* ----------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-deep); }
ul, ol { padding-left: 1.1rem; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; font-weight: 700; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

/* ----------------------------------------------------------
   3. LAYOUT HELPERS
   ---------------------------------------------------------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: var(--sp-9) 0; }
.section--tight { padding: var(--sp-8) 0; }
.section--alt { background: var(--surface-alt); }
.section--brand { background: var(--brand); color: #fff; }
.section--ink { background: var(--surface-ink); color: #d7dae0; }
.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }
.measure { max-width: 60ch; }
.mx-auto { margin-inline: auto; }

/* ----------------------------------------------------------
   4. SECTION TITLES
   ---------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700; font-size: var(--fs-small);
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-block;
}
.section-title { margin: var(--sp-3) 0 var(--sp-4); }
.section-head { max-width: 64ch; margin-bottom: var(--sp-7); }
.section-head.center { margin-inline: auto; }
.section--brand .eyebrow, .section--ink .eyebrow { color: var(--gold); }
.section--brand h2, .section--ink h2 { color: #fff; }

/* ----------------------------------------------------------
   5. BUTTONS
   ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: 0.95rem 1.9rem; border-radius: var(--r-pill);
  cursor: pointer; border: 2px solid transparent; transition: all .2s ease;
  line-height: 1.15; white-space: nowrap;
}
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn--primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--primary:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn--brand { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--brand:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--lg { padding: 1.1rem 2.4rem; font-size: 1.05rem; }

/* ----------------------------------------------------------
   6. HEADER / NAV
   ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold-line);
}
.logo-img { height: 44px; width: auto; display: block; }
.site-footer .logo-img { filter: brightness(0) invert(1); opacity: .9; }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5); min-height: var(--header-h);
}
.brand-logo { display: flex; align-items: center; gap: .65rem; font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; color: var(--ink); letter-spacing: .01em; }
.brand-logo .mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand); color: #fff; display: grid; place-items: center;
  font-size: 1.05rem; font-weight: 700;
}
.brand-logo small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--stone); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: var(--sp-6); }
.main-nav ul { display: flex; align-items: center; gap: var(--sp-5); list-style: none; padding: 0; margin: 0; }
.main-nav a { color: var(--ink-soft); font-weight: 500; font-size: .95rem; position: relative; padding: .35rem 0; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--brand); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); }
.header-cta { display: flex; align-items: center; gap: var(--sp-4); }
.header-cta .btn { padding: 1rem 1.9rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Nav dropdowns (Training Programmes + Members Zone) ---- */
.has-dropdown { position: relative; }
.nav-parent {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-body); font-weight: 500; font-size: .95rem; line-height: 1.15;
  color: var(--ink-soft); background: none; border: 0; cursor: pointer; padding: .35rem 0;
}
.nav-parent:hover, .has-dropdown:focus-within > .nav-parent, .nav-parent.is-active { color: var(--brand); }
.caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .2s ease; }
.has-dropdown:hover .caret, .has-dropdown[data-open="true"] .caret { transform: rotate(-135deg); margin-top: 2px; }
.dropdown {
  list-style: none; margin: 0; padding: .45rem;
  position: absolute; top: calc(100% + 16px); left: 0;
  min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-md); display: grid; gap: 1px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease; z-index: 60;
}
.dropdown::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .58rem .8rem; border-radius: var(--r-sm); font-size: .9rem; color: var(--ink-soft); font-weight: 500; }
.dropdown a:hover { background: var(--surface-alt); color: var(--brand); }
.dropdown__note { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; padding: .5rem .8rem .3rem; display: flex; align-items: center; gap: .4rem; }
.dropdown__note svg { width: 14px; height: 14px; }
/* Members Zone gated button (sits in header CTA) */
.nav-parent--members .lock-ico { width: 15px; height: 15px; }
.nav-parent--members .caret { border-color: currentColor; }
/* Members Zone + Training Programmes mega-dropdowns.
   Both panels are full-width container grids anchored to .site-header__inner.
   Internal 1px dividers are drawn by the grid gap showing the panel background
   through, so lines appear only BETWEEN cells, never on the outer edges. */
.site-header__inner { position: relative; }

@media (min-width: 981px) {
  .has-dropdown { position: static; }
  .has-dropdown > .dropdown {
    display: grid; align-items: stretch;
    left: 0; right: 0; top: calc(100% + 8px);
    width: auto; min-width: 0; max-width: none; margin-inline: 0;
    padding: 0; gap: 1px; background: var(--line);
  }
  .has-dropdown > .dropdown > li { background: var(--surface); }
  .has-dropdown > .dropdown a { display: flex; align-items: center; justify-content: center; text-align: center; height: 100%; padding: .95rem 1.15rem; border-radius: 0; }
  .dropdown--members { grid-template-columns: repeat(3, 1fr); }
  .has-dropdown:not(.has-dropdown--members) > .dropdown { grid-template-columns: repeat(4, 1fr); }
  .dropdown--members .dropdown__note { grid-column: 1 / -1; justify-content: center; }
  .dropdown--members a { text-align: center; text-transform: capitalize; }
  /* invisible hover bridge from the panel up to the trigger row */
  .has-dropdown > .dropdown::before { top: -38px; height: 38px; }
}

/* ----------------------------------------------------------
   7. HERO
   ---------------------------------------------------------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--brand-deep); }
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(36,34,31,.97) 0%, rgba(58,55,51,.86) 46%, rgba(155,144,120,.42) 100%),
    radial-gradient(circle at 82% 22%, rgba(181,154,92,.40), transparent 46%),
    var(--brand);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--sp-7); align-items: center; padding: var(--sp-9) 0; min-height: 70vh; }
.hero__content { max-width: 36rem; }
.hero h1 { color: #fff; font-size: var(--fs-hero); margin: var(--sp-4) 0; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero .lead { font-size: var(--fs-lead); color: rgba(255,255,255,.88); margin-bottom: var(--sp-6); }
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__media { position: relative; }
.hero__media .photo { aspect-ratio: 4/5; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hero__badge {
  position: absolute; bottom: -22px; left: -22px; background: #fff; color: var(--ink);
  border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5); box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: var(--sp-4); max-width: 270px;
}
.hero__badge .num { font-family: var(--font-display); font-size: 2.2rem; font-weight: 900; color: var(--brand); line-height: 1; }
.hero__badge small { color: var(--muted); font-size: .8rem; }

/* photo: real images set via inline background-image; gradient is the fallback */
.photo { background: linear-gradient(135deg, var(--stone) 0%, var(--brand) 100%); background-size: cover; background-position: center; position: relative; }
.photo--alt { background: linear-gradient(135deg, var(--gold) 0%, var(--brand-deep) 100%); background-size: cover; background-position: center; }

/* ----------------------------------------------------------
   8. TRUST STRIP
   ---------------------------------------------------------- */
.trust { background: var(--ink); color: #fff; }
.trust__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; padding: var(--sp-5) 0; }
.trust__label { font-size: var(--fs-small); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.trust__items { display: flex; align-items: center; gap: var(--sp-6); flex-wrap: wrap; }
.trust__items span { font-weight: 600; display: flex; align-items: center; gap: .5rem; color: rgba(255,255,255,.9); }
.trust__items svg { width: 20px; height: 20px; color: var(--gold); }

/* ----------------------------------------------------------
   9. CARDS - icon-box, pathways, audience
   ---------------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon { width: 56px; height: 56px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--brand-tint); color: var(--brand); margin-bottom: var(--sp-4); }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--muted); margin-bottom: var(--sp-4); }
.card__link { font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.card__link .arr { transition: transform .2s; }
.card:hover .card__link .arr { transform: translateX(4px); }

/* audience split cards (with photo top) */
.audience-card { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; }
.audience-card .photo { aspect-ratio: 16/10; }
.audience-card__body { padding: var(--sp-6); }
.audience-card h3 { margin-bottom: var(--sp-2); }

/* pathway cards */
.pathway { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-6); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); height: 100%; }
.pathway .level { font-size: var(--fs-small); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }
.pathway h3 { margin: 0; }
.pathway ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.pathway li { display: flex; gap: .5rem; color: var(--muted); font-size: .9rem; }
.pathway li::before { content: "✓"; color: var(--brand); font-weight: 700; }

/* ----------------------------------------------------------
   10. STATS (funfact)
   ---------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); color: var(--gold); line-height: 1; }
.section--brand .stat .num { color: var(--gold); }
.stat .label { font-size: .9rem; color: rgba(255,255,255,.78); margin-top: var(--sp-2); }
.section:not(.section--brand):not(.section--ink) .stat .label { color: var(--muted); }

/* ----------------------------------------------------------
   11. TESTIMONIALS / STAR STORIES
   ---------------------------------------------------------- */
.story-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); height: 100%; display: flex; flex-direction: column; gap: var(--sp-4); }
.story-card .quote { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.5; color: var(--ink); font-style: italic; }
.story-card .quote::before { content: "“"; color: var(--gold); font-size: 2.6rem; line-height: 0; vertical-align: -.4em; margin-right: .15rem; }
.story-meta { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--stone)); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.story-meta .name { font-weight: 700; color: var(--ink); }
.story-meta .role { font-size: .82rem; color: var(--muted); }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--brand-tint); padding: .25rem .6rem; border-radius: var(--r-pill); }

/* ----------------------------------------------------------
   12. NEWS CARDS
   ---------------------------------------------------------- */
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.news-card .photo { aspect-ratio: 16/9; }
.news-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.news-card .date { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.news-card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; }
.news-card a.title { color: var(--ink); }
.news-card a.title:hover { color: var(--brand); }

/* ----------------------------------------------------------
   13. PAGE-TITLE (breadcrumb banner) - interior + zone landings
   ---------------------------------------------------------- */
.page-title { position: relative; color: #fff; background: var(--brand-deep); overflow: hidden; }
.page-title__bg { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(36,34,31,.92), rgba(58,55,51,.55)), var(--stone); background-size: cover; background-position: center; }
.page-title__inner { position: relative; padding: var(--sp-8) 0; }
.page-title h1 { color: #fff; margin-bottom: var(--sp-3); }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; font-size: .85rem; color: rgba(255,255,255,.7); }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }

/* ----------------------------------------------------------
   14. CTA BAND
   ---------------------------------------------------------- */
.cta-band { background: linear-gradient(110deg, var(--brand-deep), var(--brand)); color: #fff; border-radius: var(--r-lg); padding: var(--sp-8); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 28ch; }
.cta-band .btn-group { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ----------------------------------------------------------
   15. FOOTER
   ---------------------------------------------------------- */
.site-footer { background: var(--surface-ink); color: #aeb3bd; padding-top: var(--sp-8); }
.site-footer a { color: #c8ccd4; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--sp-6); padding-bottom: var(--sp-7); }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .9rem; }
.footer-about p { font-size: .9rem; max-width: 32ch; }
.footer-about .brand-logo { color: #fff; margin-bottom: var(--sp-4); }
.footer-about .brand-logo small { color: var(--stone); }
.accreditations { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-5); }
.accreditations span { font-size: .72rem; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-sm); padding: .35rem .6rem; color: #c8ccd4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: var(--sp-5) 0; display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; font-size: .82rem; }
.footer-bottom ul { display: flex; gap: var(--sp-4); list-style: none; padding: 0; margin: 0; }

/* ----------------------------------------------------------
   16. FORMS
   ---------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: var(--sp-4); }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font-family: var(--font-body); font-size: .95rem; padding: .8rem 1rem;
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-tint); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--sp-7); align-items: start; }
.info-block { display: flex; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.info-block .ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--r-md); background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.info-block .ico svg { width: 22px; height: 22px; }
.info-block strong { display: block; color: var(--ink); }
.map-placeholder { aspect-ratio: 16/8; border-radius: var(--r-lg); margin-top: var(--sp-6); }

/* ----------------------------------------------------------
   17. FAQ ACCORDION
   ---------------------------------------------------------- */
.accordion { max-width: 760px; margin-inline: auto; }
.acc-item { border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: var(--sp-3); overflow: hidden; background: #fff; }
.acc-trigger { width: 100%; text-align: left; background: none; border: 0; padding: var(--sp-4) var(--sp-5); font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); }
.acc-trigger .pm { flex: 0 0 auto; width: 24px; height: 24px; position: relative; }
.acc-trigger .pm::before, .acc-trigger .pm::after { content: ""; position: absolute; background: var(--brand); transition: transform .25s; }
.acc-trigger .pm::before { top: 11px; left: 4px; right: 4px; height: 2px; }
.acc-trigger .pm::after { left: 11px; top: 4px; bottom: 4px; width: 2px; }
.acc-trigger[aria-expanded="true"] .pm::after { transform: scaleY(0); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-panel__inner { padding: 0 var(--sp-5) var(--sp-5); color: var(--muted); }

/* ----------------------------------------------------------
   18. LEARNING HUB - zone landing card grid
   ---------------------------------------------------------- */
.zone-subnav { background: var(--stone); color: #fff; position: sticky; top: var(--header-h); z-index: 40; }
.zone-subnav__inner { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; padding: var(--sp-3) 0; }
.zone-subnav .home { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: #fff; padding-right: var(--sp-5); border-right: 1px solid rgba(255,255,255,.35); }
.zone-subnav ul { display: flex; gap: var(--sp-5); list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.zone-subnav a { color: rgba(255,255,255,.9); font-size: .85rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.zone-subnav a:hover, .zone-subnav a[aria-current="page"] { color: var(--ink); }

.zone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
/* Tile grids adapt to how many tiles they hold:
   4 -> 2x2 · 6 -> 3 across · 5 -> 3 on top with the last 2 centred below. */
.zone-grid--4 { grid-template-columns: repeat(2, 1fr); }
.zone-grid--6 { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 981px) {
  .zone-grid--5 { grid-template-columns: repeat(6, 1fr); }
  .zone-grid--5 > * { grid-column: span 2; }
  .zone-grid--5 > *:nth-child(4) { grid-column: 2 / span 2; }
  .zone-grid--5 > *:nth-child(5) { grid-column: 4 / span 2; }
}
.zone-tile { display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.zone-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.zone-tile__head { background: var(--brand); color: #fff; padding: var(--sp-4) var(--sp-5); display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); min-height: 84px; }
.zone-tile__head h3 { color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.3; }
.zone-tile__head .arr { flex: 0 0 auto; }
.zone-tile__body { padding: var(--sp-4) var(--sp-5); color: var(--muted); font-size: .85rem; min-height: 56px; }

/* ----------------------------------------------------------
   19. DOCUMENT LIBRARY (the tidy-documents pattern)
   ---------------------------------------------------------- */
.lib-toolbar { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-6); }
.lib-search { flex: 1; min-width: 220px; }
.lib-search input { width: 100%; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: var(--r-pill); font-family: var(--font-body); }
.lib-filters { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: var(--r-pill); padding: .5rem 1rem; font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.doc-group { margin-bottom: var(--sp-7); }
.doc-group__title { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: var(--sp-4); padding-bottom: var(--sp-2); border-bottom: 2px solid var(--line); }
.doc-list { display: grid; gap: .75rem; }
.doc {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--sp-4);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.doc:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.doc__icon { width: 44px; height: 52px; border-radius: var(--r-sm); display: grid; place-items: end center; padding-bottom: 6px; color: #fff; font-size: .58rem; font-weight: 700; letter-spacing: .06em; position: relative; }
.doc__icon::before { content: ""; position: absolute; top: 0; right: 0; border-width: 0 0 12px 12px; border-style: solid; border-color: transparent transparent rgba(255,255,255,.35) transparent; }
.doc__icon--pdf { background: #C0392B; }
.doc__icon--doc { background: #2B5797; }
.doc__icon--xls { background: #1E7145; }
.doc__icon--ppt { background: #C84F2E; }
.doc__icon--zip { background: #6A6E76; }
.doc__meta .name { font-weight: 600; color: var(--ink); display: block; }
.doc__meta .sub { font-size: .8rem; color: var(--muted); display: flex; gap: .75rem; flex-wrap: wrap; margin-top: .15rem; }
.doc__meta .ver { color: var(--gold-deep); font-weight: 600; }
.doc__dl { flex: 0 0 auto; }
.doc__dl .btn { padding: .7rem 1.4rem; font-size: .85rem; }

/* related strip */
.related-strip { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); border-top: 1px solid var(--line); margin-top: var(--sp-7); padding-top: var(--sp-6); }
.related-strip a { display: flex; align-items: center; gap: var(--sp-4); color: var(--ink); }
.related-strip .ico { width: 46px; height: 46px; border-radius: var(--r-md); background: var(--stone-tint); color: var(--gold-deep); display: grid; place-items: center; flex: 0 0 auto; }
.related-strip .ico svg { width: 22px; height: 22px; }
.related-strip strong { display: block; }
.related-strip small { color: var(--muted); }

/* gated notice */
.gated-note { display: inline-flex; align-items: center; gap: .5rem; background: var(--stone-tint); color: var(--ink-soft); border: 1px dashed var(--stone); border-radius: var(--r-pill); padding: .5rem 1rem; font-size: .82rem; font-weight: 600; }
.gated-note svg { width: 16px; height: 16px; color: var(--gold-deep); }

/* prototype banner */
.proto-banner { background: var(--gold); color: var(--ink); text-align: center; font-size: .82rem; font-weight: 600; padding: .5rem 1rem; letter-spacing: .02em; }

/* ----------------------------------------------------------
   20. UTILITIES
   ---------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: center; }
.lead { font-size: var(--fs-lead); color: var(--muted); }
.prose p { color: var(--muted); }
.prose h2 { margin: var(--sp-6) 0 var(--sp-3); }
.pill-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li { background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--r-pill); padding: .4rem .9rem; font-size: .85rem; }

/* ----------------------------------------------------------
   20b. ABOUT PAGE COMPONENTS
   ---------------------------------------------------------- */
.statement { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); line-height: 1.32; color: var(--ink); }
.lede { font-size: var(--fs-lead); color: var(--muted); }

/* credibility callout */
.callout { background: var(--stone-tint); border-left: 4px solid var(--gold); border-radius: 0 var(--r-md) var(--r-md) 0; padding: var(--sp-5) var(--sp-6); }
.callout p { margin: 0; color: var(--ink-soft); font-size: var(--fs-lead); }
.callout .who { display: block; margin-top: var(--sp-4); font-weight: 700; color: var(--ink); }
.callout .who small { display: block; font-weight: 500; color: var(--muted); }

/* reasons - hairline separated, no boxes (avoids generic 3-card row) */
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6) var(--sp-7); }
.reason { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); padding-bottom: var(--sp-5); border-bottom: 1px solid var(--line); }
.reason .ico { width: 46px; height: 46px; border-radius: var(--r-md); background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; flex: 0 0 auto; }
.reason .ico svg { width: 24px; height: 24px; }
.reason h3 { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 .35rem; }
.reason p { margin: 0; color: var(--muted); font-size: .92rem; }

/* aims - numbered list (used on dark section) */
.aims { list-style: none; padding: 0; margin: 0; counter-reset: aim; }
.aims li { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); align-items: baseline; padding: var(--sp-4) 0; border-top: 1px solid rgba(255,255,255,.14); }
.aims li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.aims li::before { counter-increment: aim; content: counter(aim, decimal-leading-zero); font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 1.05rem; }
.aims strong { color: #fff; font-weight: 600; font-family: var(--font-display); }

/* consultancy panel */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--shadow-sm); }
.panel .price { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--brand); line-height: 1.15; }
.panel .price small { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 500; color: var(--muted); margin-top: .25rem; letter-spacing: 0; text-transform: none; }
.panel hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-4) 0; }

/* check list (inline svg ticks, no emoji) */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; color: var(--ink-soft); font-size: .95rem; }
.checks li svg { width: 20px; height: 20px; color: var(--brand); margin-top: 3px; }
.checks--grid { grid-template-columns: 1fr 1fr; gap: var(--sp-4) var(--sp-6); }
/* checklists sitting on a dark feature band need light text */
.section--brand .checks li { color: #fff; }
@media (max-width: 720px){ .checks--grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------
   21. RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid, .split, .related-strip { grid-template-columns: 1fr; }
  .zone-grid { grid-template-columns: repeat(2, 1fr); }

  /* nav collapses to off-canvas panel (more menu items now) */
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: var(--sp-4);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .3s ease;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav[data-open="true"] { transform: translateY(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { display: block; padding: var(--sp-4) 0; }
  .header-cta { flex-direction: column; align-items: stretch; width: 100%; margin-top: var(--sp-4); gap: var(--sp-3); }
  .header-cta .btn { width: 100%; justify-content: center; }
  /* dropdowns become inline accordions */
  .has-dropdown { position: static; }
  .nav-parent { width: 100%; justify-content: space-between; padding: var(--sp-4) 0; font-size: 1rem; }
  .nav-parent--members { justify-content: center; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; min-width: 0; padding: 0 0 var(--sp-3) var(--sp-4);
    display: none; background: transparent;
  }
  .dropdown--members { right: auto; width: auto; margin-inline: 0; grid-template-columns: 1fr; padding: 0 0 var(--sp-3) var(--sp-4); }
  .has-dropdown:not(.has-dropdown--members) > .dropdown { left: auto; right: auto; grid-template-columns: 1fr; column-gap: 0; padding: 0 0 var(--sp-3) var(--sp-4); }
  .has-dropdown[data-open="true"] .dropdown { display: grid; }
  .dropdown a { padding: var(--sp-3) 0; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: var(--sp-4);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .3s ease; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav[data-open="true"] { transform: translateY(0); }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: var(--sp-4) 0; }
  .header-cta .btn { width: 100%; justify-content: center; margin-top: var(--sp-3); }
  .grid-2, .grid-3, .grid-4, .reasons { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .zone-grid { grid-template-columns: 1fr; }
  .doc { grid-template-columns: auto 1fr; }
  .doc__dl { grid-column: 1 / -1; }
  .doc__dl .btn { width: 100%; justify-content: center; }
  .trust__inner { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
