/* =========================================================
   TRISTAR — Blue + White editorial system
   Brand colors front-and-center, paper-clean surfaces
   Built on the Movemint visual identity v3.0
   ========================================================= */

/* Single-family Inter — matches Tristar Academy. Bold + clean + professional. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand colors — front and center */
  --tristar-blue:  #0066FF;
  --tristar-blue-deep: #0052cc;
  --navy-depth:    #000066;
  --navy-deeper:   #00004d;
  --vivid-yellow:  #fcee21;
  --classic-black: #000000;
  --pure-white:    #FFFFFF;

  /* Surface palette — white forward, soft blue tint for alt */
  --paper:        #ffffff;            /* clean white — main bg */
  --paper-2:      #f4f7ff;            /* light blue tint for alt sections */
  --paper-3:      #eaf0ff;            /* slightly deeper blue tint */
  --ink:          #0a1024;            /* near-black with blue undertone */
  --ink-soft:     #2a3046;
  --muted:        #5a6280;            /* cool gray for secondary copy */
  --muted-2:      #8a92a8;
  --rule:         rgba(0, 32, 102, 0.12);
  --rule-strong:  rgba(0, 32, 102, 0.28);

  --accent:        var(--tristar-blue);
  --accent-deep:   var(--navy-depth);
  --accent-yellow: var(--vivid-yellow);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --container: 1280px;
  --container-narrow: 920px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a.link {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
a.link:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }

/* Display typography — Inter sans-serif headlines (bold + clean, matches Tristar Academy). */
h1, h2, h3, h4, h5 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.4em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.8rem); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.5rem); font-weight: 700; letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; font-weight: 600; }
p  { margin: 0 0 1em; max-width: 64ch; }

.serif { font-family: 'Inter', system-ui, sans-serif; }   /* kept for compat — now all Inter */
.sans  { font-family: 'Inter', system-ui, sans-serif; }

/* Photo slots — real <img> overrides the gradient/caption placeholder. */
.photo { position: relative; overflow: hidden; }
.photo .photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 2;
}
.photo:has(.photo__img) .photo__star,
.photo:has(.photo__img) .photo__caption { display: none; }
.photo:has(.photo__img)::before {
  /* Subtle dark gradient overlay on bottom — helps any future caption land cleanly. */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,102,0.18) 100%);
  pointer-events: none;
}
.italic { font-style: italic; }
.italic-blue { font-style: italic; color: var(--accent); }

/* Eyebrow — brand-blue marker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

/* Layout */
.container         { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { width: 100%; max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); }
.section           { padding: clamp(72px, 9vw, 130px) 0; }
.section--tight    { padding: clamp(48px, 6vw, 80px) 0; }

/* Surface variations */
.section--paper    { background: var(--paper); }
.section--paper-2  { background: var(--paper-2); }
.section--paper-3  { background: var(--paper-3); }
.section--navy     { background: var(--navy-depth); color: var(--paper); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: var(--paper); }
.section--navy h1 em, .section--navy h2 em, .section--navy h3 em { color: var(--vivid-yellow); }
.section--navy .eyebrow { color: var(--vivid-yellow); }
.section--navy .eyebrow::before { background: var(--vivid-yellow); }
.section--navy .muted { color: rgba(255, 255, 255, 0.7); }
.section--navy .client-row .client { color: rgba(255, 255, 255, 0.6); }
.section--navy .client-row .client:hover { color: var(--vivid-yellow); opacity: 1; }
.section--navy .pullquote { color: var(--paper); }
.section--navy .pullquote em { color: var(--vivid-yellow); }
.section--navy .pullquote cite { color: var(--vivid-yellow); }
.section--blue     { background: var(--accent); color: var(--paper); }
.section--blue h1, .section--blue h2, .section--blue h3 { color: var(--paper); }
.section--blue h1 em, .section--blue h2 em { color: var(--vivid-yellow); }
.section--blue .eyebrow { color: var(--vivid-yellow); }
.section--blue .eyebrow::before { background: var(--vivid-yellow); }

.divider { height: 1px; background: var(--rule); width: 100%; }

/* Grid */
.grid    { display: grid; gap: 32px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--editorial { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
@media (max-width: 880px) { .grid--editorial { grid-template-columns: 1fr; gap: 32px; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn--primary { background: var(--accent); color: var(--paper); }
.btn--primary:hover { background: var(--accent-deep); }
.btn--navy { background: var(--navy-depth); color: var(--paper); }
.btn--navy:hover { background: var(--accent); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.4); }
.btn--ghost:hover { border-color: var(--vivid-yellow); color: var(--vivid-yellow); }
.btn--yellow { background: var(--vivid-yellow); color: var(--navy-depth); }
.btn--yellow:hover { background: var(--paper); }
.btn--text { background: transparent; padding: 8px 0; border-radius: 0; border-bottom: 1px solid var(--ink); color: var(--ink); }
.btn--text:hover { border-bottom-color: var(--accent); color: var(--accent); }
.btn .arrow { display: inline-block; transition: transform 0.2s ease; font-weight: 400; }
.btn:hover .arrow { transform: translateX(3px); }

/* Accessibility — skip-to-content link + global focus ring */
.skip-link {
    position: absolute;
    top: -100px;
    left: 8px;
    background: var(--ink);
    color: var(--paper);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 1000;
    transition: top 0.2s ease;
}
.skip-link:focus { top: 8px; outline: 3px solid var(--vivid-yellow); outline-offset: 2px; }
:focus-visible {
    outline: 3px solid var(--vivid-yellow);
    outline-offset: 2px;
    border-radius: 2px;
    /* Navy backing ring lifts the yellow above 3:1 non-text contrast on any background (WCAG 2.4.7 + 1.4.11). */
    box-shadow: 0 0 0 5px var(--navy-depth);
}
/* Respect reduced-motion preferences globally. */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
/* Reset focus-visible for elements that have their own focus styling */
.btn:focus-visible,
.filter-btn:focus-visible,
.whatsapp-fab:focus-visible {
    outline-offset: 3px;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding: 18px 0;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.92rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--accent); }
.nav a.is-active { color: var(--accent); }
.nav a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px;
  height: 2px; background: var(--accent);
}
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; }
@media (max-width: 980px) {
  .nav, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 20px var(--gutter);
    border-bottom: 1px solid var(--rule);
    align-items: stretch;
    gap: 16px;
  }
}

/* Hero — white background with blue accents */
.hero {
  position: relative;
  background: var(--paper);
  /* Top padding lifted closer to the header (was clamp(72,11vw,160) — too low). */
  padding: clamp(32px, 4vw, 64px) 0 clamp(56px, 8vw, 110px);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
/* subtle blue corner accent — brand presence without being a wall */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -8%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: end; }
@media (max-width: 980px) { .hero__inner { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { color: var(--ink); margin-bottom: 28px; }
.hero p.lede {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  max-width: 560px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.55;
}
.hero p.lede strong { color: var(--accent); font-weight: 600; }
.hero__meta {
  display: grid; gap: 0;
  border-top: 2px solid var(--accent);
}
.hero__meta-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: baseline;
}
.hero__meta-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.hero__meta-value { font-size: 0.95rem; color: var(--ink); font-weight: 500; }
.hero__meta-value strong { font-weight: 700; }

/* Page header (about/courses/contact) — smaller hero */
.page-header {
  background: var(--paper);
  /* Top padding lifted closer to the header (was clamp(64,9vw,130) — too low). */
  padding: clamp(28px, 3vw, 48px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -10%; right: -8%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.07) 0, transparent 65%);
  pointer-events: none;
}
.page-header > .container { position: relative; z-index: 2; }
.page-header__lede {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--muted);
  max-width: 760px;
  margin-top: 24px;
}

/* Star motif */
.star-mark {
  display: inline-block;
  width: 1em; height: 1em;
  background: var(--accent-yellow);
  -webkit-mask: url('../assets/star.svg') no-repeat center / contain;
          mask: url('../assets/star.svg') no-repeat center / contain;
  vertical-align: middle;
}

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; font-family: 'Inter', system-ui, sans-serif; font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; color: var(--ink); }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.95rem; }
.card__num {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1;
  letter-spacing: -0.02em;
}

/* Stats — large editorial numerals */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding-top: 20px; border-top: 2px solid var(--vivid-yellow); }
.section--paper .stat { border-top-color: var(--accent); }
.stat__num {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1;
  color: var(--paper);
  letter-spacing: -0.03em;
}
.section--paper .stat__num { color: var(--accent); }
.stat__label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  margin-top: 12px;
}
.section--paper .stat__label { color: var(--muted); }

/* Client list */
.client-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(28px, 5vw, 64px);
}
.client-row .client {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  opacity: 0.45;
  transition: opacity 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.client-row .client:hover { opacity: 1; color: var(--accent); }

/* Tag */
.tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tag--filled { background: var(--accent); color: var(--paper); }
.tag--yellow { background: var(--vivid-yellow); color: var(--navy-depth); border-color: var(--vivid-yellow); }
.tag--ghost { background: transparent; color: var(--paper); border-color: rgba(255,255,255,0.4); }

/* Section title */
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { display: inline-flex; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Track / pricing card */
.track {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex; flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.track:hover { border-color: var(--accent); transform: translateY(-3px); }
.track--featured {
  background: var(--navy-depth);
  color: var(--paper);
  border-color: var(--navy-depth);
}
.track--featured h3 { color: var(--paper); }
.track__tag {
  position: absolute; top: -14px; left: 36px;
  background: var(--vivid-yellow); color: var(--navy-depth);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700; letter-spacing: 0.12em;
  font-size: 0.72rem; padding: 6px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.track h3 { font-family: 'Inter', system-ui, sans-serif; font-weight: 400; font-size: 1.7rem; margin: 14px 0 6px; letter-spacing: -0.02em; }
.track p.subtitle { color: var(--muted); margin-bottom: 32px; font-size: 0.95rem; }
.track--featured p.subtitle { color: rgba(255, 255, 255, 0.7); }
.price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.price__amt {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.track--featured .price__amt { color: var(--vivid-yellow); }
.price__cur { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.track--featured .price__cur { color: rgba(255, 255, 255, 0.6); }
.price__sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 28px; }
.track--featured .price__sub { color: rgba(255, 255, 255, 0.65); }
.feature-list { list-style: none; padding: 0; margin: 0 0 32px; }
.feature-list li {
  padding: 10px 0 10px 26px;
  position: relative;
  border-bottom: 1px solid var(--rule);
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.track--featured .feature-list li { border-bottom-color: rgba(255,255,255,0.12); color: rgba(255, 255, 255, 0.85); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
  content: '';
  position: absolute; left: 0; top: 16px;
  width: 14px; height: 14px;
  background: var(--accent);
  -webkit-mask: url('../assets/star.svg') no-repeat center / contain;
          mask: url('../assets/star.svg') no-repeat center / contain;
}
.track--featured .feature-list li::before { background: var(--vivid-yellow); }

/* Timeline */
.timeline { position: relative; }
.timeline__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.timeline__item:last-child { border-bottom: 1px solid var(--rule); }
@media (max-width: 720px) { .timeline__item { grid-template-columns: 1fr; gap: 8px; } }
.timeline__year {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 2.2rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.timeline__title { font-size: 1.25rem; margin: 0 0 8px; font-family: 'Inter', system-ui, sans-serif; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.timeline__item p { color: var(--muted); margin: 0; }

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 880px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
.pillar {
  padding: 36px 28px;
  border-right: 1px solid var(--rule);
  text-align: left;
  background: var(--paper);
  transition: background 0.2s ease;
}
.pillar:hover { background: var(--paper-2); }
.pillar:last-child { border-right: 0; }
@media (max-width: 880px) {
  .pillar:nth-child(even) { border-right: 0; }
  .pillar:nth-child(-n+3) { border-bottom: 1px solid var(--rule); }
}
.pillar__star {
  width: 28px; height: 28px;
  background: var(--vivid-yellow);
  -webkit-mask: url('../assets/star.svg') no-repeat center / contain;
          mask: url('../assets/star.svg') no-repeat center / contain;
  margin-bottom: 14px;
}
.pillar__num {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 14px;
}
.pillar h4 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; font-family: 'Inter', system-ui, sans-serif; color: var(--ink); }
.pillar p { color: var(--muted); margin: 0; font-size: 0.9rem; }

/* Pull quote */
.pullquote {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 920px;
  margin: 0;
}
.pullquote em { font-style: italic; color: var(--accent); }
.pullquote cite {
  display: block;
  margin-top: 28px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Form */
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--accent);
}
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-bottom-color: var(--accent);
}
.field textarea { min-height: 120px; resize: vertical; }
.form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 600px) { .form .row-2 { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--rule); }
details {
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
  background: transparent;
}
details summary {
  cursor: pointer;
  list-style: none;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  letter-spacing: -0.015em;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+';
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 300;
  line-height: 1;
}
details[open] summary::after { content: '–'; }
details > p { margin-top: 14px; color: var(--muted); font-size: 0.97rem; max-width: 70ch; }

/* Office card */
.office {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 36px;
  border-top: 3px solid var(--accent);
}
.office h3 {
  margin-bottom: 24px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}
.office__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  align-items: baseline;
}
.office__row:first-of-type { border-top: 0; padding-top: 0; }
.office__label {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--accent);
}

/* Course category card */
.cat {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  color: var(--ink);
}
.cat:hover { border-color: var(--accent); transform: translateY(-3px); }
.cat__num {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.02em;
  opacity: 0.4;
}
.cat h3 { font-size: 1.15rem; margin: 0 0 4px; font-family: 'Inter', system-ui, sans-serif; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.cat p { font-size: 0.9rem; margin: 0; color: var(--muted); }
.cat--feature {
  background: var(--navy-depth);
  color: var(--paper);
  border-color: var(--navy-depth);
}
.cat--feature h3 { color: var(--paper); }
.cat--feature p { color: rgba(255,255,255,0.75); }
.cat--feature .cat__num { color: var(--vivid-yellow); opacity: 0.7; }
.cat--feature .badge-cips {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--vivid-yellow); color: var(--navy-depth);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700; letter-spacing: 0.12em;
  font-size: 0.7rem; padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Two-column editorial */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
@media (max-width: 880px) { .cols-2 { grid-template-columns: 1fr; gap: 32px; } }

/* Footer — navy depth, brand-forward */
.site-footer {
  background: var(--navy-depth);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 28px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute; top: -10%; right: -5%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.25) 0, transparent 65%);
  pointer-events: none;
}
.site-footer .container { position: relative; z-index: 2; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--vivid-yellow);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 12px; font-size: 0.93rem; color: rgba(255,255,255,0.75); }
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--vivid-yellow); }
.site-footer__about img { height: 32px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.95; }
.site-footer__about p { color: rgba(255,255,255,0.7); font-size: 0.93rem; max-width: 38ch; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* CTA banner — brand blue */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-banner h2 { color: var(--paper); margin: 0 0 12px; }
.cta-banner h2 em { color: var(--vivid-yellow); }
.cta-banner p { color: rgba(255,255,255,0.9); margin: 0; max-width: 56ch; }
.cta-banner::after {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px;
  background: var(--vivid-yellow);
  -webkit-mask: url('../assets/star.svg') no-repeat center / contain;
          mask: url('../assets/star.svg') no-repeat center / contain;
  opacity: 0.14;
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 2; }
@media (max-width: 720px) { .cta-banner { grid-template-columns: 1fr; gap: 24px; } }

/* Comparison table */
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.compare thead th {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 2px solid var(--accent);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.compare thead th.featured { color: var(--accent); }
.compare tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
}
.compare tbody td.check { color: var(--accent); font-weight: 700; }
.compare tbody td.dash { color: var(--muted-2); }
.compare tbody td.featured { background: var(--paper-2); }
.compare tbody tr:last-child td { border-bottom: 0; }

/* Utility */
.text-center { text-align: center; }
.muted       { color: var(--muted); }
.mt-0  { margin-top: 0; }
.mb-0  { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.mb-32 { margin-bottom: 32px; }
.mt-48 { margin-top: 48px; }

.accent-rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 0 24px;
}

/* =====================================================
   PHOTO SLOTS — placeholders that hold composition
   ===================================================== */
.photo {
  position: relative;
  background: linear-gradient(135deg, var(--paper-3) 0%, var(--paper-2) 100%);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 360px;
}
.photo--tall { min-height: 520px; }
.photo--wide { min-height: 280px; }
.photo--portrait { aspect-ratio: 3/4; min-height: 0; }
.photo--landscape { aspect-ratio: 16/10; min-height: 0; }
.photo::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle 1px at 50% 50%, rgba(0, 102, 255, 0.18) 1px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}
.photo__star {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: var(--accent);
  -webkit-mask: url('../assets/star.svg') no-repeat center / contain;
          mask: url('../assets/star.svg') no-repeat center / contain;
  opacity: 0.18;
}
.photo__caption {
  position: relative; z-index: 2;
  padding: 18px 22px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--rule);
  width: 100%;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.photo__caption strong { color: var(--accent); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.7rem; display: block; margin-bottom: 4px; }

/* =====================================================
   CASE STUDIES (Work)
   ===================================================== */
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
  align-items: center;
}
.case:last-child { border-bottom: 1px solid var(--rule); }
.case--reverse .case__media { order: 2; }
@media (max-width: 880px) { .case { grid-template-columns: 1fr; gap: 24px; } .case--reverse .case__media { order: 0; } }
.case__meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.case__meta span { display: inline-flex; }
.case__meta span + span::before { content: '·'; color: var(--rule-strong); margin-right: 16px; }
.case__title { font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin-bottom: 18px; }
.case__body p { color: var(--muted); margin-bottom: 14px; }
.case__body strong { color: var(--ink); font-weight: 600; }
.case__results {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin: 24px 0;
}
.case__result {
  padding: 16px;
  background: var(--paper-2);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
}
.case__result-num {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.case__result-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
}

/* Featured work strip on homepage */
.work-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .work-strip { grid-template-columns: 1fr; } }
.work-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  min-height: 240px;
}
.work-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.work-card__client {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.work-card__title { font-family: 'Inter', system-ui, sans-serif; font-weight: 400; font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; margin: 0; color: var(--ink); }
.work-card__num { font-family: 'Inter', system-ui, sans-serif; font-weight: 300; font-size: 2rem; color: var(--accent); margin-top: auto; line-height: 1; opacity: 0.5; }

/* =====================================================
   INDUSTRY SECTOR cards
   ===================================================== */
.sector {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px;
  align-items: start;
  transition: border-color 0.2s ease;
}
.sector:hover { border-color: var(--accent); }
.sector + .sector { margin-top: 24px; }
@media (max-width: 880px) { .sector { grid-template-columns: 1fr; gap: 24px; } }
.sector__head h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: -0.02em;
  margin: 12px 0 8px;
}
.sector__head .num {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 2rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.sector__head p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.sector__progs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 600px) { .sector__progs { grid-template-columns: 1fr; } }
.sector__prog {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-soft);
}
.sector__prog:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--rule); }
.sector__prog:nth-child(even) { padding-left: 16px; }
@media (max-width: 600px) { .sector__prog { padding: 14px 0 !important; border-right: 0 !important; } }
.sector__prog::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--accent);
  -webkit-mask: url('../assets/star.svg') no-repeat center / contain;
          mask: url('../assets/star.svg') no-repeat center / contain;
  flex-shrink: 0;
}
.sector__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  text-decoration: none;
}
.sector__cta:hover { color: var(--navy-depth); border-bottom-color: var(--navy-depth); }

/* =====================================================
   CASE QUOTE SLOT — on Work case studies (PLAN_WAVE1.md W1S4.4)
   ===================================================== */
.case__quote {
    margin: 24px 0;
    padding: 20px 24px;
    background: var(--paper-2);
    border-left: 3px solid var(--vivid-yellow);
    border-radius: var(--radius-md);
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.45;
    color: var(--ink);
}
.case__quote-author {
    display: block;
    margin-top: 14px;
    font-family: 'Inter', system-ui, sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

/* =====================================================
   FILTER BAR — used on Programmes + Work pages
   Replaces the older anchor-link filter (PLAN_WAVE1.md W1S4.2)
   ===================================================== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.filter-bar__label {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--muted);
    margin-right: 12px;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--rule-strong);
    color: var(--ink);
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.is-active {
    background: var(--accent);
    color: var(--paper);
    border-color: var(--accent);
}
.filter-btn:focus-visible {
    outline: 3px solid var(--vivid-yellow);
    outline-offset: 2px;
}

/* =====================================================
   BESPOKE — process steps (Discovery → Design → Deliver)
   Per PLAN_WAVE1.md W1S3.4
   ===================================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    counter-reset: step;
}
@media (max-width: 720px) { .process-steps { grid-template-columns: 1fr; } }
.process-step {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 36px;
    border-top: 3px solid var(--accent);
    counter-increment: step;
    position: relative;
}
.process-step::before {
    content: counter(step);
    position: absolute;
    top: 24px;
    right: 32px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    font-size: 3rem;
    color: var(--accent);
    line-height: 1;
    opacity: 0.25;
}
.process-step h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    margin: 0 0 14px;
    letter-spacing: -0.015em;
}
.process-step p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

/* =====================================================
   CIPS LEVELS GRID — 5 levels presented as cards
   Per PLAN_WAVE1.md W1S3.2 (CIPS rebuild)
   ===================================================== */
.level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.level-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 26px;
    border-top: 3px solid var(--accent);
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.level-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.level-card__num {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 6px;
}
.level-card__title {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1.2;
    margin: 0 0 12px;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.level-card__qual {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--rule);
    line-height: 1.4;
}
.level-card__audience {
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin: 0;
    line-height: 1.5;
}

/* =====================================================
   CIPS DELIVERY MODES — 3 modes presented as cards
   ===================================================== */
.delivery-modes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.mode-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 32px;
    border-left: 3px solid var(--vivid-yellow);
    display: flex;
    flex-direction: column;
}
.mode-card__icon {
    width: 28px;
    height: 28px;
    background: var(--accent);
    -webkit-mask: url('../assets/star.svg') no-repeat center / contain;
            mask: url('../assets/star.svg') no-repeat center / contain;
    margin-bottom: 18px;
}
.mode-card h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    margin: 0 0 12px;
    letter-spacing: -0.015em;
}
.mode-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}
.mode-card__cta {
    margin-top: auto;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 4px;
    text-decoration: none;
    align-self: flex-start;
}
.mode-card__cta:hover { color: var(--navy-depth); border-bottom-color: var(--navy-depth); }

/* =====================================================
   WHATSAPP FLOATING ACTION BUTTON — site-wide
   CEO's primary action channel (PLAN_WAVE1.md W1S2.5)
   ===================================================== */
.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 100;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-pill);
    background: #25D366;
    color: var(--paper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}
.whatsapp-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}
.whatsapp-fab:focus-visible {
    outline: 3px solid var(--vivid-yellow);
    outline-offset: 3px;
}
.whatsapp-fab svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}
.whatsapp-fab__label {
    position: absolute;
    right: 70px;
    background: var(--ink);
    color: var(--paper);
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: var(--radius-md);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.whatsapp-fab:hover .whatsapp-fab__label,
.whatsapp-fab:focus-visible .whatsapp-fab__label {
    opacity: 1;
    transform: translateX(0);
}
@media (max-width: 600px) {
    .whatsapp-fab__label { display: none; }
    .whatsapp-fab { bottom: 16px; right: 16px; }
}
