/*
 * SLS shared design tokens.
 * Values are taken from the v11 academy (app/globals.css) so the public website
 * and the private academy share one identity. See docs/PUBLIC_WEBSITE_SPEC.md.
 * The site always renders in a light scheme with explicit foreground AND
 * background colours, so OS dark mode cannot produce unreadable text (BUG-03).
 */
:root {
  color-scheme: light;

  /* Navy — academy sidebar, feature panel and primary button */
  --sls-navy-900: #10283c;
  --sls-navy-800: #16364d;
  --sls-navy-700: #17374f;
  --sls-navy-600: #244a66;

  /* Text */
  --sls-ink: #17283e;          /* academy --foreground */
  --sls-ink-soft: #3a4d61;     /* long-form copy on light backgrounds (8.7:1 on white, 8.0:1 on mist) */
  --sls-slate: #647487;        /* academy --muted-foreground; use on white only (4.8:1; 4.4:1 on mist fails) */
  --sls-slate-strong: #55667a; /* muted text on --sls-mist (5.4:1) */

  /* Surfaces and lines */
  --sls-paper: #ffffff;
  --sls-mist: #f3f5f8;         /* academy --background */
  --sls-line: #dfe5eb;         /* academy --border */
  --sls-line-dark: #2a4256;    /* academy --sidebar-border */

  /* On navy */
  --sls-on-dark: #e5edf3;      /* academy sidebar text (12.8:1 on navy-900) */
  --sls-on-dark-soft: #b9c9d5; /* academy nav-link (8.9:1 on navy-900, 7.4:1 on navy-800) */

  /* Gold — accents only: rules, brand mark, one primary call to action */
  --sls-gold: #c5a568;         /* academy --gold */
  --sls-gold-light: #d4b675;   /* academy brand mark and gold button (7.7:1 with navy-900) */
  --sls-gold-hover: #e2c993;
  --sls-gold-ink: #6b5524;     /* gold-toned text on light tints (6.2:1 on #f6efe0) */

  /* Status tints */
  --sls-tint-navy: #e8eef3;
  --sls-tint-gold: #f6efe0;

  /* Typography (academy: Georgia headings, Arial body) */
  --sls-serif: Georgia, "Times New Roman", serif;
  --sls-sans: Arial, Helvetica, sans-serif;

  /* Shape, rhythm, motion */
  --sls-radius: 6px;
  --sls-radius-lg: 10px;
  --sls-gutter: clamp(20px, 4vw, 40px);
  --sls-container: 1240px;
  --sls-section: clamp(72px, 9vw, 128px);
  --sls-shadow: 0 1px 2px rgb(20 39 59 / 0.04), 0 12px 32px rgb(20 39 59 / 0.08);
  --sls-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}



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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--sls-paper);
  color: var(--sls-ink);
  font-family: var(--sls-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--sls-navy-600); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--sls-gold-light); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--sls-gold-light); color: var(--sls-navy-900);
  padding: 12px 18px; font-weight: 700; text-decoration: none; border-radius: var(--sls-radius);
}
.skip-link:focus { top: 16px; }

.container { width: min(var(--sls-container), 100% - 2 * var(--sls-gutter)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */
.display, .h1, .h2, .h3 { font-family: var(--sls-serif); font-weight: 400; color: inherit; }
.display { font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 1.04; letter-spacing: -0.025em; }
.h1 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; }
.h2 { font-size: clamp(1.9rem, 3.2vw, 2.85rem); line-height: 1.14; letter-spacing: -0.015em; }
.h3 { font-size: 1.32rem; line-height: 1.3; letter-spacing: -0.005em; }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.22rem); line-height: 1.65; color: var(--sls-ink-soft); max-width: 40em; }
.body { color: var(--sls-ink-soft); line-height: 1.75; }
.body + .body { margin-top: 1.1em; }
.small { font-size: 0.875rem; }
.muted { color: var(--sls-slate); }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sls-slate);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--sls-gold); flex: none; }
.section--mist .eyebrow, .page-hero .eyebrow { color: var(--sls-slate-strong); }
.on-dark .eyebrow { color: var(--sls-gold-light); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--sls-radius);
  font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--sls-ease), border-color 0.2s var(--sls-ease), color 0.2s var(--sls-ease);
}
.btn--gold { background: var(--sls-gold-light); color: var(--sls-navy-900); }
.btn--gold:hover { background: var(--sls-gold-hover); }
.btn--primary { background: var(--sls-navy-700); color: #fff; }
.btn--primary:hover { background: var(--sls-navy-600); }
.btn--outline { border-color: #c7d2dc; color: var(--sls-navy-700); background: transparent; }
.btn--outline:hover { border-color: var(--sls-navy-700); background: var(--sls-tint-navy); }
.btn--ghost-light { border-color: rgb(229 237 243 / 0.5); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: #fff; background: rgb(255 255 255 / 0.06); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 0.9375rem; color: var(--sls-navy-700);
  text-decoration: none; border-bottom: 1px solid var(--sls-gold); padding-bottom: 4px;
}
.text-link:hover { color: var(--sls-navy-900); border-bottom-color: var(--sls-navy-700); }
.on-dark .text-link { color: var(--sls-on-dark); }
.on-dark .text-link:hover { color: #fff; border-bottom-color: #fff; }
.arrow { transition: transform 0.2s var(--sls-ease); }
.text-link:hover .arrow, .btn:hover .arrow { transform: translateX(3px); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; color: var(--sls-on-dark); }
.brand-mark {
  font-family: var(--sls-serif); font-size: 1.32rem; line-height: 1; letter-spacing: -0.04em;
  color: var(--sls-gold-light); border: 1px solid #7d724f; padding: 7px 6px 6px;
}
.brand-name { display: flex; flex-direction: column; font-size: 0.7rem; letter-spacing: 0.24em; line-height: 1.35; }
.brand-name strong { font-size: 0.92rem; letter-spacing: 0.26em; font-weight: 700; color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--sls-navy-900); color: var(--sls-on-dark); border-bottom: 1px solid var(--sls-line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.main-nav ul { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.main-nav a {
  display: inline-block; padding: 8px 0; text-decoration: none;
  color: var(--sls-on-dark-soft); font-size: 0.9375rem; letter-spacing: 0.01em;
  border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover { color: #fff; }
.main-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--sls-gold); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-login { color: var(--sls-on-dark); font-size: 0.9375rem; text-decoration: none; }
.header-login:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.header-actions > .btn { min-height: 42px; padding: 0 18px; font-size: 0.875rem; }

.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; }
.lang-switch a, .lang-switch span[aria-current] {
  display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 34px;
  text-decoration: none; border-radius: 4px; color: var(--sls-on-dark-soft);
}
.lang-switch a:hover { color: #fff; background: rgb(255 255 255 / 0.06); }
.lang-switch span[aria-current] { color: var(--sls-gold-light); }
.lang-switch .sep { color: #4d6578; }

.menu-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  color: #fff; background: transparent; border: 1px solid var(--sls-line-dark); border-radius: var(--sls-radius);
  cursor: pointer; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em;
}
.menu-icon { width: 18px; height: 12px; position: relative; }
.menu-icon::before, .menu-icon::after, .menu-icon span { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.2s, opacity 0.2s; }
.menu-icon::before { top: 0; } .menu-icon span { top: 5.25px; } .menu-icon::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(5.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-5.25px) rotate(-45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span { opacity: 0; }

.mobile-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100svh - 76px); overflow-y: auto;
  background: var(--sls-navy-900); border-top: 1px solid var(--sls-line-dark); border-bottom: 1px solid var(--sls-line-dark);
  padding: 12px var(--sls-gutter) 32px;
  box-shadow: 0 24px 40px rgb(8 20 31 / 0.35);
}
.mobile-panel[hidden] { display: none; }
.mobile-panel nav a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--sls-line-dark);
  font-family: var(--sls-serif); font-size: 1.45rem; color: #fff; text-decoration: none;
}
.mobile-panel nav a[aria-current="page"] { color: var(--sls-gold-light); }
.mobile-actions { display: grid; gap: 12px; margin-top: 24px; }
.mobile-actions .lang-switch { justify-content: flex-start; margin-top: 6px; }

/* Staging acceptance 2026-11-15 (WCAG 1.4.10): at 320 px the brand and the menu button were 23 px wider than the
   screen. Below 380 px the header spacing, the brand's letter spacing and the button padding are tightened. */
@media (max-width: 379px) {
  .header-inner { gap: 12px; }
  .brand { gap: 9px; }
  .brand-name { letter-spacing: 0.14em; }
  .brand-name strong { letter-spacing: 0.16em; }
  .menu-toggle { gap: 8px; padding: 0 10px; }
}

@media (max-width: 1079px) {
  .main-nav, .header-actions > .header-login, .header-actions > .btn, .header-actions > .lang-switch { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--sls-navy-900); color: #fff; min-height: min(calc(100svh - 76px), 800px); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(56px, 7vw, 104px) clamp(24px, 4.5vw, 72px) clamp(56px, 7vw, 104px) max(var(--sls-gutter), calc((100vw - var(--sls-container)) / 2)); }
.hero .display { color: #fff; max-width: 11em; }
.hero-lead { margin-top: 28px; font-size: clamp(1.06rem, 1.35vw, 1.2rem); line-height: 1.65; color: var(--sls-on-dark-soft); max-width: 31em; }
.hero .btn-row { margin-top: 40px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--sls-line-dark); font-size: 0.8125rem; letter-spacing: 0.06em; color: var(--sls-on-dark-soft); }
.hero-facts li { display: inline-flex; align-items: center; gap: 14px; }
.hero-facts li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--sls-gold); flex: none; }
.hero-media { position: relative; min-height: 420px; }
.hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 70% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 1px; background: rgb(212 182 117 / 0.55); }

@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .hero-media::after { display: none; }
  .hero-copy { padding: 44px var(--sls-gutter) 56px; }
}

/* ---------- Page hero (sub-pages) ---------- */
.page-hero { background: var(--sls-mist); border-bottom: 1px solid var(--sls-line); }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-block: clamp(56px, 7vw, 104px); }
.page-hero-inner.no-media { grid-template-columns: minmax(0, 1fr); }
.page-hero .lead { margin-top: 24px; }
.page-hero-media { border-radius: var(--sls-radius-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--sls-shadow); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-media { aspect-ratio: 16 / 10; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--sls-section); }
.section--mist { background: var(--sls-mist); }
.section--navy { background: var(--sls-navy-800); color: var(--sls-on-dark); }
.section--deep { background: var(--sls-navy-900); color: var(--sls-on-dark); }
.section-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .lead { margin: 0; }
.section-head--stack { display: block; max-width: 760px; }
.section-head--stack .lead { margin-top: 20px; }
.on-dark .lead, .on-dark .body { color: var(--sls-on-dark-soft); }
.section-foot { margin-top: clamp(36px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
@media (max-width: 899px) { .section-head { grid-template-columns: 1fr; align-items: start; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); }
.values { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--sls-line); }
.values h3 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sls-slate); font-family: var(--sls-sans); }
.values ul { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 14px; font-family: var(--sls-serif); font-size: 1.3rem; color: var(--sls-ink); }
.about-grid .section-foot { justify-content: flex-start; }
.composition { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(56px, 7vw, 104px); align-items: start; }
.composition .frame { border-radius: var(--sls-radius-lg); overflow: hidden; box-shadow: var(--sls-shadow); }
.composition .frame img { width: 100%; height: 100%; object-fit: cover; }
.composition .frame--a { grid-column: 1 / span 8; aspect-ratio: 16 / 10; }
.composition .frame--b { grid-column: 9 / span 4; aspect-ratio: 4 / 5; margin-top: clamp(48px, 9vw, 140px); }
.composition .frame--b img { object-position: 55% 50%; }
@media (max-width: 899px) {
  .about-grid { grid-template-columns: 1fr; }
  .composition .frame--a { grid-column: 1 / -1; }
  .composition .frame--b { grid-column: 4 / -1; margin-top: -48px; aspect-ratio: 4 / 3; }
}

/* ---------- Training groups ---------- */
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); counter-reset: group; }
.group { padding: 28px 0 34px; border-top: 1px solid var(--sls-line); display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; }
.group-number { font-family: var(--sls-serif); font-size: 0.95rem; color: var(--sls-slate-strong); letter-spacing: 0.04em; }
.group .h3 { font-size: 1.38rem; }
.group p { color: var(--sls-ink-soft); font-size: 0.95rem; line-height: 1.65; }
.group-meta { margin-top: 6px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sls-slate-strong); }
.section--mist .group { border-top-color: #d3dbe3; }
@media (max-width: 1079px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .groups { grid-template-columns: 1fr; } }

.note {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px;
  border: 1px solid var(--sls-line); border-left: 3px solid var(--sls-gold); border-radius: var(--sls-radius);
  background: var(--sls-paper); color: var(--sls-ink-soft); font-size: 0.9375rem;
}

/* ---------- Methodology ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(20px, 2.4vw, 36px); }
.step { padding-top: 26px; border-top: 1px solid var(--sls-line-dark); }
.step-number { display: block; font-family: var(--sls-serif); font-size: 2.6rem; line-height: 1; color: var(--sls-gold-light); margin-bottom: 22px; }
.step .h3 { color: #fff; font-size: 1.22rem; }
.step p { margin-top: 12px; color: var(--sls-on-dark-soft); font-size: 0.95rem; line-height: 1.65; }
@media (max-width: 1079px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(20px, 4vw, 40px); } }
@media (max-width: 639px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Platform ---------- */
.platform-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.features { display: grid; gap: 0; }
.feature { padding: 20px 0; border-top: 1px solid var(--sls-line); display: grid; gap: 6px; }
.feature:last-child { border-bottom: 1px solid var(--sls-line); }
.feature-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.feature .h3 { font-size: 1.15rem; }
.feature p { color: var(--sls-ink-soft); font-size: 0.95rem; }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.badge--current { background: var(--sls-tint-navy); color: var(--sls-navy-700); }
.badge--development { background: var(--sls-tint-gold); color: var(--sls-gold-ink); }
.shots { display: grid; gap: clamp(16px, 2vw, 24px); }
.shot { border-radius: var(--sls-radius-lg); overflow: hidden; border: 1px solid var(--sls-line); background: var(--sls-paper); box-shadow: var(--sls-shadow); }
.shot img { width: 100%; height: auto; }
.shot figcaption { padding: 12px 16px; font-size: 0.875rem; color: var(--sls-slate); border-top: 1px solid var(--sls-line); }
.shots--pair { grid-template-columns: 1fr 1fr; }
.shots-note { margin-top: 16px; font-size: 0.8125rem; color: var(--sls-slate); }
@media (max-width: 899px) { .platform-grid { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .shots--pair { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.services-feature .frame { border-radius: var(--sls-radius-lg); overflow: hidden; min-height: 420px; position: relative; box-shadow: var(--sls-shadow); }
.services-feature .frame picture, .services-feature .frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
.services-feature .frame img { object-fit: cover; object-position: 45% 50%; }
.service-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3vw, 44px); }
.service { padding: 24px 0 28px; border-top: 1px solid var(--sls-line); }
.service .h3 { font-size: 1.2rem; }
.service p { margin-top: 10px; color: var(--sls-ink-soft); font-size: 0.95rem; line-height: 1.65; }
.service-group + .service-group { margin-top: clamp(48px, 6vw, 80px); }
.service-group-title { display: flex; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.service-group-title span { font-family: var(--sls-serif); color: var(--sls-slate-strong); }
.service-list--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1079px) { .service-list--wide { grid-template-columns: 1fr 1fr; } }
@media (max-width: 899px) { .services-feature { grid-template-columns: 1fr; } .services-feature .frame { min-height: 0; aspect-ratio: 16 / 10; } }
@media (max-width: 639px) { .service-list, .service-list--wide { grid-template-columns: 1fr; } }

/* ---------- Clients ---------- */
.client-names { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--sls-line); }
.client-names li { padding: 20px 0; border-bottom: 1px solid var(--sls-line); font-family: var(--sls-serif); font-size: 1.2rem; color: var(--sls-ink); padding-right: 16px; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(48px, 6vw, 80px); }
.quote { display: flex; flex-direction: column; gap: 22px; padding: 32px 28px; background: var(--sls-paper); border: 1px solid var(--sls-line); border-radius: var(--sls-radius-lg); }
.quote blockquote p { font-family: var(--sls-serif); font-size: 1.12rem; line-height: 1.6; color: var(--sls-ink); }
.quote blockquote p::before { content: "“"; display: block; font-size: 3rem; line-height: 0.8; color: var(--sls-gold); margin-bottom: 10px; }
.quote figcaption { margin-top: auto; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sls-slate); }
.fineprint { margin-top: 24px; font-size: 0.8125rem; color: var(--sls-slate-strong); }
@media (max-width: 1079px) { .client-names { grid-template-columns: 1fr 1fr; } .quotes { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .client-names { grid-template-columns: 1fr; } }

/* ---------- Team / approach ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.card { padding: 30px 28px 32px; background: var(--sls-paper); border: 1px solid var(--sls-line); border-radius: var(--sls-radius-lg); }
.card .h3 { margin-bottom: 12px; }
.card p { color: var(--sls-ink-soft); font-size: 0.95rem; line-height: 1.7; }
.card--dark { background: var(--sls-navy-800); border-color: var(--sls-line-dark); }
.card--dark .h3 { color: #fff; }
.card--dark p { color: var(--sls-on-dark-soft); }
.team li { padding: 24px 0; border-top: 1px solid var(--sls-line); }
.team .h3 { font-size: 1.3rem; }
.team p { margin-top: 4px; color: var(--sls-slate); }
@media (max-width: 899px) { .cards-3 { grid-template-columns: 1fr; } }

.lesson-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); counter-reset: part; }
.lesson-parts li { counter-increment: part; display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--sls-line); color: var(--sls-ink); }
.lesson-parts li::before { content: counter(part, decimal-leading-zero); font-family: var(--sls-serif); color: var(--sls-slate-strong); min-width: 2ch; }
.roles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.roles li { padding: 8px 14px; border: 1px solid var(--sls-line); border-radius: 999px; font-size: 0.9rem; background: var(--sls-paper); }
.roles li span { color: var(--sls-slate); }
@media (max-width: 639px) { .lesson-parts { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.checklist li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--sls-line); color: var(--sls-ink); }
.checklist li::before { content: ""; width: 7px; height: 7px; margin-top: 0.62em; flex: none; background: var(--sls-gold); transform: rotate(45deg); }
.details { display: grid; gap: 22px; }
.details dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sls-slate); }
.details dd { margin: 4px 0 0; font-family: var(--sls-serif); font-size: 1.25rem; }
.details a { text-decoration: none; border-bottom: 1px solid var(--sls-gold); }
.details a:hover { border-bottom-color: var(--sls-navy-700); }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }

.cta-band { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 899px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--sls-navy-900); color: var(--sls-on-dark-soft); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: clamp(28px, 4vw, 56px); }
.footer-grid p { margin-top: 20px; max-width: 30em; line-height: 1.7; }
.footer-grid h2 { font-family: var(--sls-sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sls-gold-light); margin-bottom: 16px; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid a { color: var(--sls-on-dark); text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--sls-line-dark); font-size: 0.8125rem; }
.footer-bottom .lang-switch a { color: var(--sls-on-dark-soft); }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 96px var(--sls-gutter); }
.not-found .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .skip-link, .btn-row { display: none !important; }
  .hero, .section--navy, .section--deep { background: #fff !important; color: #000 !important; }
}

/* ---------- Additions ---------- */
main:focus { outline: none; }
.section--navy .h2, .section--deep .h2 { color: #fff; }
.platform-lead { margin: 20px 0 32px; }
.cta-band .lead { margin-top: 18px; }
.roles-title { margin-top: 48px; }
.roles-lead { margin-top: 10px; }
.mt-s { margin-top: 18px; }
.mt-m { margin-top: 24px; }
.mt-l { margin-top: 32px; }
.not-found .eyebrow { justify-content: center; }

/* First training group (common standard) spans the full row so 13 groups fill complete rows. */
.group--lead { grid-column: 1 / -1; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto auto; column-gap: clamp(24px, 3vw, 48px); align-items: start; }
.group--lead .group-number { grid-column: 1 / -1; }
.group--lead .h3 { grid-row: 2 / span 2; font-size: clamp(1.6rem, 2.4vw, 2rem); }
.group--lead p { grid-column: 2; font-size: 1.05rem; }
.group--lead .group-meta { grid-column: 2; }
@media (max-width: 639px) { .group--lead { grid-template-columns: 1fr; } .group--lead .h3, .group--lead p, .group--lead .group-meta { grid-column: 1; grid-row: auto; } }
@media (min-width: 900px) { .platform-grid > div:last-child { position: sticky; top: 108px; } }
.footer-grid p.footer-attribution { margin-top: 12px; font-size: 0.875rem; color: var(--sls-on-dark-soft); }
