@charset "UTF-8";
/*
 * PINNACLE TAX LAB — the Pinnacle Motion System
 *
 * A warm editorial ground (paper and beige) carrying deep navy type, with
 * orange held back for accents. Recurring motifs: oversized index numbers,
 * short orange bars, small uppercase metadata, thin technical rules with
 * crosshair corners, glass panels, and navy "night" sections for contrast.
 *
 * Colour ratio the system aims for: ~60% paper/beige, ~28% navy, ~10% orange,
 * the rest glass and graphite. Orange is an accent — never a surface for
 * body copy.
 *
 *  1. Tokens
 *  2. Reset & base
 *  3. Typography
 *  4. Motifs (meta, bars, index numbers, glass, grain, crosshairs)
 *  5. Layout
 *  6. Buttons & links
 *  7. Navigation & mobile menu
 *  8. Homepage hero
 *  9. Page hero
 * 10. Homepage sections
 * 11. Shared components
 * 12. Forms & contact
 * 13. Program detail, careers, error pages
 * 14. Closing frame (finale)
 * 15. Footer
 * 16. Dock & assistant
 * 17. Cursor & page transition
 * 18. Accessibility
 */

/* ========================================================== 1. TOKENS === */

:root {
  /* Palette */
  --paper: #f5f0e7;
  --beige: #e6d5b7;
  --beige-deep: #d8c39d;
  --navy: #1e223d;
  --navy-2: #262b4b;
  --navy-deep: #151829;
  --orange: #f54f1b;
  --orange-ink: #c3390c;       /* orange for small text on light grounds (AA) */
  --orange-soft: rgb(245 79 27 / 12%);
  --graphite: #3a3f4a;
  --slate: #565b63;
  --mute: #8e9196;
  --white: #ffffff;

  /* Roles */
  --ink: var(--navy);
  --text: var(--graphite);
  --text-soft: var(--slate);
  --line: rgb(30 34 61 / 14%);
  --line-strong: rgb(30 34 61 / 28%);
  --line-invert: rgb(245 240 231 / 14%);
  --on-navy: rgb(245 240 231 / 78%);
  --on-navy-soft: rgb(245 240 231 / 58%);

  /* Glass */
  --glass-bg: rgb(255 255 255 / 55%);
  --glass-border: rgb(255 255 255 / 55%);
  --glass-dark-bg: rgb(38 43 75 / 55%);
  --glass-dark-border: rgb(245 240 231 / 14%);

  /* Type */
  --font-display: "Space Grotesk", "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-mega: clamp(3rem, 8.2vw, 8.75rem);
  --fs-display-1: clamp(2.75rem, 6.6vw, 6.5rem);
  --fs-display-2: clamp(2.15rem, 4.6vw, 4.5rem);
  --fs-h1: clamp(2.4rem, 5.6vw, 5.4rem);
  --fs-h3: clamp(1.3rem, 2vw, 1.75rem);

  /* Shape */
  --r-xs: 6px;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-xl: 48px;
  --r-pill: 999px;

  /* Depth */
  --shadow-xs: 0 1px 2px rgb(30 34 61 / 8%);
  --shadow-soft: 0 12px 32px -14px rgb(30 34 61 / 22%);
  --shadow-deep: 0 40px 80px -30px rgb(21 24 41 / 45%);
  --shadow-orange: 0 18px 40px -16px rgb(245 79 27 / 55%);

  /* Motion */
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out-back: cubic-bezier(0.34, 1.4, 0.64, 1);

  /* Rhythm */
  --container: 1360px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(5rem, 10vw, 9.5rem);
  --nav-h: 86px;

  color-scheme: light;
}

/* =================================================== 2. RESET & BASE === */

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

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

img {
  height: auto;
}

ul,
ol {
  list-style: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--orange);
  color: var(--navy-deep);
}

/* Anchor targets sit clear of the floating nav. */
.anchor {
  display: block;
  height: 0;
}

/* ====================================================== 3. TYPOGRAPHY === */

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.display-1 {
  font-size: var(--fs-display-1);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.display-2,
.h2 {
  font-size: var(--fs-display-2);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.h1 {
  font-size: var(--fs-h1);
  line-height: 0.96;
}

.h3 {
  font-size: var(--fs-h3);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.lede {
  font-size: 1.075rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 60ch;
}

.lede--lg {
  font-size: 1.2rem;
}

/* An accent phrase inside a heading. Kept as .serif-accent too, because page
   files already pass that class in their hero titles. */
.accent,
.serif-accent {
  font-style: normal;
  color: var(--orange-ink);
}

.text-muted {
  color: var(--text-soft);
}

.text-gold {
  color: var(--orange-ink);
}

/* ========================================================= 4. MOTIFS === */

/* Small uppercase metadata — the system's labelling voice. */
.meta,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  line-height: 1.3;
}

.eyebrow {
  color: var(--orange-ink);
}

.eyebrow::before,
.meta__bar {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
  flex: none;
}

.eyebrow--plain::before {
  display: none;
}

.meta--invert,
.eyebrow--invert {
  color: var(--on-navy-soft);
}

.meta__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgb(245 79 27 / 18%);
  flex: none;
}

/* Glass — used sparingly: nav, floating facts, badges, panels. */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
}

.glass-dark {
  background: var(--glass-dark-bg);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-dark-border);
  box-shadow: var(--shadow-deep);
}

/* Film grain over the whole page — a fixed, non-interactive layer. */
@media (min-width: 768px) {
  body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.13 0 0 0 0 0.24 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
}

/* A block that fills its nearest positioned ancestor — whole-card links. */
.stretched::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ========================================================= 5. LAYOUT === */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 900px;
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--paper { background: var(--paper); }
.section--beige { background: var(--beige); }
.section--tint  { background: #efe6d6; }
.section--sand  { background: var(--beige); }

.section--dark {
  background: var(--navy);
  color: var(--on-navy);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--paper);
}

.section--dark .lede,
.section--dark .text-muted {
  color: var(--on-navy);
}

/* Heading on the left, a short note (and maybe a link) on the right. */
.split-head {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.split-head .display-2 {
  margin-top: 1.1rem;
  max-width: 14ch;
}

.split-head__note {
  max-width: 38ch;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.split-head__side {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.split-head--invert .display-2 { color: var(--paper); }
.split-head--invert .split-head__note { color: var(--on-navy); }

/* Legacy section opener, still used by several inner sections. */
.section-head {
  max-width: 46rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow { justify-content: center; }
.section-head__title { margin-top: 1rem; }
.section-head__lede { margin-top: 1.15rem; }

.section-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.grid { display: grid; gap: 1.25rem; }
.grid--2,
.grid--3,
.grid--4 { grid-template-columns: 1fr; }

.stack > * + * { margin-top: 1rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }
.mt-6 { margin-top: 3rem; }

@media (min-width: 640px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  .split-head {
    grid-template-columns: 1.35fr 0.65fr;
    gap: 3rem;
  }
}

/* ================================================ 6. BUTTONS & LINKS === */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.55rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition:
    background-color 0.35s var(--ease-smooth),
    border-color 0.35s var(--ease-smooth),
    color 0.35s var(--ease-smooth),
    box-shadow 0.35s var(--ease-smooth),
    transform 0.35s var(--ease-smooth);
}

.btn svg {
  flex: none;
  transition: transform 0.35s var(--ease-smooth);
}

.btn:hover svg {
  transform: translateX(4px);
}

/* Orange — the one loud button. Deep navy text keeps it AA (5.1:1). */
.btn--orange,
.btn--primary,
.btn--gold {
  background: var(--orange);
  color: var(--navy-deep);
  box-shadow: 0 1px 0 rgb(255 255 255 / 25%) inset;
}

.btn--orange::before,
.btn--primary::before,
.btn--gold::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--navy);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-smooth);
}

.btn--orange:hover,
.btn--primary:hover,
.btn--gold:hover {
  color: var(--paper);
  box-shadow: var(--shadow-orange);
}

.btn--orange:hover::before,
.btn--primary:hover::before,
.btn--gold:hover::before {
  transform: translateY(0);
}

.btn--navy,
.btn--dark {
  background: var(--navy);
  color: var(--paper);
}

.btn--navy:hover,
.btn--dark:hover {
  background: var(--navy-2);
  box-shadow: var(--shadow-soft);
}

/* Outline on a light ground. */
.btn--line,
.btn--outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn--line:hover,
.btn--outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

/* Outline on navy. */
.btn--ghost-invert,
.btn--outline-invert {
  border-color: rgb(245 240 231 / 30%);
  color: var(--paper);
  background: transparent;
}

.btn--ghost-invert:hover,
.btn--outline-invert:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--navy);
}

.btn--sm { padding: 0.62rem 1.1rem; font-size: 0.84rem; }
.btn--lg { padding: 1.08rem 1.85rem; font-size: 0.98rem; }
.btn--xl { padding: 1.3rem 2.3rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn[disabled],
.btn[aria-busy="true"] {
  opacity: 0.6;
  pointer-events: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Text link with an underline that draws in. */
.link-line,
.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 0.2rem;
}

.link-line::after,
.link-arrow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0.28);
  transform-origin: left;
  transition: transform 0.45s var(--ease-smooth);
}

.link-line:hover::after,
.link-arrow:hover::after {
  transform: scaleX(1);
}

.link-line svg,
.link-arrow svg {
  transition: transform 0.35s var(--ease-smooth);
}

.link-line:hover svg,
.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ================================= 7. NAVIGATION & MOBILE MENU ========== */

.nav {
  position: fixed;
  inset: 0.9rem 0 auto;
  z-index: 100;
  padding-inline: var(--gutter);
  pointer-events: none;
  transition: inset 0.45s var(--ease-smooth);
}

.nav__pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1240px;
  margin-inline: auto;
  padding: 0.55rem 0.6rem 0.55rem 1.1rem;
  border-radius: var(--r-pill);
  background: rgb(245 240 231 / 62%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid rgb(255 255 255 / 60%);
  box-shadow: 0 10px 30px -18px rgb(30 34 61 / 35%);
  transition:
    padding 0.45s var(--ease-smooth),
    background-color 0.45s var(--ease-smooth),
    box-shadow 0.45s var(--ease-smooth),
    max-width 0.45s var(--ease-smooth);
}

/* Scrolled: tighter, more opaque, lifted. */
.nav.is-stuck {
  inset: 0.55rem 0 auto;
}

.nav.is-stuck .nav__pill {
  max-width: 1120px;
  padding-block: 0.4rem;
  background: rgb(245 240 231 / 86%);
  box-shadow: 0 18px 40px -20px rgb(30 34 61 / 45%);
}

/* --- wordmark --- */

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
  color: var(--ink);
}

.nav__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--navy);
  flex: none;
  overflow: hidden;
}

.nav__mark span {
  width: 13px;
  height: 13px;
  border: 2px solid var(--orange);
  transform: rotate(45deg);
  transition: transform 0.6s var(--ease-out-back);
}

.nav__brand:hover .nav__mark span {
  transform: rotate(225deg);
}

.nav__word {
  display: grid;
  line-height: 1;
}

.nav__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.nav__sub {
  margin-top: 0.18rem;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
}

.nav__brand--invert { color: var(--paper); }
.nav__brand--invert .nav__mark { background: var(--paper); }
.nav__brand--invert .nav__sub { color: var(--on-navy-soft); }

/* --- links --- */

.nav__links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav__item {
  position: relative;
}

.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--graphite);
  transition: color 0.3s var(--ease-smooth), background-color 0.3s var(--ease-smooth);
}

.nav__link:hover {
  color: var(--ink);
  background: rgb(30 34 61 / 6%);
}

.nav__link[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateX(-50%);
}

.nav__caret {
  transition: transform 0.3s var(--ease-smooth);
}

.nav__item.is-open .nav__caret {
  transform: rotate(180deg);
}

.nav__cta {
  margin-left: 0.35rem;
  flex: none;
}

/* --- programs dropdown --- */

.nav__drop {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  width: 380px;
  padding: 1.1rem;
  border-radius: var(--r-md);
  background: rgb(245 240 231 / 94%);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgb(255 255 255 / 70%);
  box-shadow: var(--shadow-deep);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition:
    opacity 0.28s var(--ease-smooth),
    transform 0.28s var(--ease-smooth),
    visibility 0.28s;
}

.nav__drop .meta {
  padding: 0 0.6rem 0.7rem;
}

.nav__item.is-open .nav__drop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  /* Visible at once on open, so keyboard focus can move straight in. */
  transition:
    opacity 0.28s var(--ease-smooth),
    transform 0.28s var(--ease-smooth),
    visibility 0s;
}

.nav__drop-link {
  display: flex;
  gap: 0.85rem;
  padding: 0.7rem 0.6rem;
  border-radius: var(--r-sm);
  transition: background-color 0.25s var(--ease-smooth);
}

.nav__drop-link:hover {
  background: rgb(30 34 61 / 6%);
}

.nav__drop-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange-ink);
  padding-top: 0.12rem;
}

.nav__drop-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.nav__drop-desc {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.76rem;
  color: var(--slate);
}

.nav__drop-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.4rem;
  padding: 0.8rem 0.6rem 0.2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

/* --- mobile toggle --- */

.nav__toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--navy);
  flex: none;
}

.nav__toggle-bars {
  position: relative;
  display: block;
  width: 18px;
  height: 8px;
}

.nav__toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform 0.4s var(--ease-smooth), top 0.4s var(--ease-smooth);
}

.nav__toggle-bars span:first-child { top: 0; }
.nav__toggle-bars span:last-child { top: 6px; }

.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:first-child {
  top: 3px;
  transform: rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:last-child {
  top: 3px;
  transform: rotate(-45deg);
}

/* Scroll progress, a hairline under the pill. */
.nav__rail {
  max-width: calc(1240px - 4rem);
  height: 2px;
  margin: -2px auto 0;
  border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.12s linear;
  opacity: 0.85;
}

.nav.is-stuck .nav__rail {
  max-width: calc(1120px - 4rem);
}

/* --- full-screen menu --- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy);
  color: var(--paper);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: menu-in 0.5s var(--ease-smooth);
}

.menu[hidden] {
  display: none;
}

@keyframes menu-in {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0 0); }
}

.menu__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 2rem;
}

.menu__list {
  margin-top: 1.25rem;
}

.menu__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line-invert);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--paper);
}

.menu__link[aria-current="page"] {
  color: var(--orange);
}

.menu__num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--on-navy-soft);
}

.menu__foot {
  display: grid;
  gap: 1rem;
  margin-top: auto;
  padding-top: 2rem;
}

.menu__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.menu__place {
  font-size: 0.85rem;
  color: var(--on-navy-soft);
}

body.is-locked {
  overflow: hidden;
}

/* While the menu is open the pill sits on navy, so it turns dark too. */
body.is-locked .nav__pill {
  background: rgb(38 43 75 / 90%);
  border-color: var(--line-invert);
}

body.is-locked .nav__brand { color: var(--paper); }
body.is-locked .nav__sub { color: var(--on-navy-soft); }
body.is-locked .nav__mark { background: var(--paper); }
body.is-locked .nav__toggle { background: var(--orange); }
body.is-locked .nav__toggle-bars span { background: var(--navy-deep); }

@media (min-width: 1100px) {
  .nav__links { display: flex; }
  .nav__toggle,
  .menu { display: none !important; }
}

@media (max-width: 1099.98px) {
  .nav__cta { display: none; }
}

/* ===================================================== 8. HOMEPAGE HERO == */

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(2rem, 6vh, 4.5rem));
  padding-bottom: 2rem;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Architectural grid that fades out toward the edges. */
.hero__grid,
.phero__grid,
.consult__grid,
.finale__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgb(30 34 61 / 7%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(30 34 61 / 7%) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(75% 70% at 60% 40%, #000 20%, transparent 80%);
  mask-image: radial-gradient(75% 70% at 60% 40%, #000 20%, transparent 80%);
}

.hero__glow {
  position: absolute;
  width: 58vw;
  height: 58vw;
  max-width: 900px;
  max-height: 900px;
  right: -14vw;
  top: -10vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(245 79 27 / 30%), rgb(245 79 27 / 0%) 64%);
  filter: blur(20px);
}

.hero__glow--cool {
  width: 44vw;
  height: 44vw;
  left: -16vw;
  right: auto;
  top: auto;
  bottom: -18vw;
  background: radial-gradient(circle, rgb(230 213 183 / 90%), rgb(230 213 183 / 0%) 66%);
}

/* Corner metadata. */
.hero__meta {
  position: absolute;
  z-index: 3;
  display: none;
}

.hero__meta--a {
  left: var(--gutter);
  top: calc(var(--nav-h) + 1.2rem);
}

.hero__meta--b {
  right: var(--gutter);
  top: calc(var(--nav-h) + 1.2rem);
}

.hero__stage {
  position: relative;
  z-index: 2;
  flex: 1;
}

.hero__title {
  font-size: var(--fs-mega);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 700;
  color: var(--ink);
  max-width: 11.5ch;
}

.hero__title .line {
  display: block;
}

.hero__accent {
  color: var(--orange);
}

/* An inline image capsule set into the headline. */
.hero__capsule {
  display: inline-block;
  width: 1.65em;
  height: 0.72em;
  margin-left: 0.12em;
  vertical-align: 0.02em;
  border-radius: var(--r-pill);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transform: rotate(-4deg);
}

.hero__capsule img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__aside {
  display: grid;
  gap: 1.6rem;
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
  max-width: 470px;
}

.hero__lede {
  font-size: 1.06rem;
  line-height: 1.7;
  color: var(--text);
}

/* Rotating seal. */
.seal {
  position: relative;
  display: none;
  width: 124px;
  height: 124px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
}

.seal__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
}

.seal__ring text {
  font-family: var(--font-display);
  font-size: 10.4px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: currentColor;
}

.seal__core {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy-deep);
  transition: transform 0.5s var(--ease-out-back);
}

.seal:hover .seal__core {
  transform: rotate(-45deg) scale(1.08);
}

/* --- the 3D object --- */

.hero__visual {
  position: relative;
  z-index: 1;
  margin: 2.5rem auto 0;
  width: min(100%, 460px);
  padding-inline: var(--gutter);
}

.scene {
  position: relative;
  perspective: 1500px;
  --rx: 0deg;
  --ry: 0deg;
}

.scene__stage {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.12s linear;
}

.scene__photo {
  position: relative;
  border-radius: 240px 240px var(--r-lg) var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  transform: translateZ(0);
  background: var(--beige);
}

.scene__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.scene__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(30 34 61 / 0%) 55%, rgb(30 34 61 / 45%));
}

.scene__ledger {
  position: absolute;
  left: -8%;
  bottom: 9%;
  width: 62%;
  padding: 1rem 1.05rem 0.9rem;
  border-radius: var(--r-md);
  transform: translateZ(90px);
}

.ledger {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.ledger li {
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
}

.ledger i {
  display: block;
  height: 6px;
  border-radius: 6px;
  background: rgb(30 34 61 / 10%);
  position: relative;
  overflow: hidden;
}

.ledger i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 60%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--navy), var(--orange));
}

.ledger__foot {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.8rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink);
}

.ledger__tick {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy-deep);
}

.scene__cert {
  position: absolute;
  top: 10%;
  right: -9%;
  display: grid;
  gap: 0.15rem;
  padding: 0.95rem 1.05rem;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: var(--paper);
  box-shadow: var(--shadow-deep);
  transform: translateZ(140px) rotate(4deg);
}

.scene__cert .meta {
  color: var(--on-navy-soft);
  font-size: 0.62rem;
}

.scene__cert strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.scene__seal {
  position: absolute;
  top: -12px;
  right: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--orange), #ff8a5c, var(--orange));
  box-shadow: 0 0 0 4px var(--navy);
}

.scene__ring {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 128%;
  aspect-ratio: 1;
  transform: translate3d(-50%, -50%, -80px) rotateX(74deg);
  transform-style: preserve-3d;
  pointer-events: none;
}

.scene__ring span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgb(245 79 27 / 55%);
  border-right-color: transparent;
  animation: spin 16s linear infinite;
}

.scene__orb {
  position: absolute;
  right: -4%;
  bottom: -5%;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgb(255 255 255 / 95%), rgb(255 255 255 / 0%) 34%),
    radial-gradient(circle at 60% 70%, rgb(245 79 27 / 55%), rgb(230 213 183 / 35%) 60%, rgb(230 213 183 / 10%));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgb(255 255 255 / 55%);
  box-shadow: inset -8px -10px 24px rgb(30 34 61 / 18%), var(--shadow-soft);
  transform: translateZ(60px);
}

/* --- proof row + scroll cue --- */

.hero__foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.75rem;
  flex: 1;
  max-width: 640px;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.hero__proof-idx {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--orange-ink);
}

.hero__proof-value {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
}

.hero__proof-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--slate);
  line-height: 1.4;
}

.hero__scroll {
  display: none;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
}

.hero__scroll-line {
  position: relative;
  width: 64px;
  height: 1px;
  background: var(--line-strong);
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange);
  animation: scroll-cue 2.2s var(--ease-snap) infinite;
}

@keyframes scroll-cue {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/*
 * Desktop: the poster composition. The 3D object is lifted out of the flow
 * and sits right, under the tail of the headline; the headline passes in
 * front of it on its own layer.
 */
@media (min-width: 1024px) {
  .hero {
    padding-bottom: 2.25rem;
  }

  .hero__meta {
    display: inline-flex;
  }

  .hero__stage {
    padding-top: 2.4rem;
  }

  /* The headline keeps clear of the object on the right: its measure is
     the container minus the visual's column. */
  .hero__title {
    max-width: calc(100% - clamp(300px, 29vw, 440px) - 2rem);
    font-size: clamp(4.4rem, 7vw, 8.25rem);
  }

  .hero__title .line:nth-child(2) {
    padding-left: 0.6em;
  }

  .hero__aside {
    margin-top: 2.2rem;
  }

  .hero__visual {
    position: absolute;
    right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
    top: calc(var(--nav-h) + 9vh);
    width: clamp(300px, 29vw, 440px);
    margin: 0;
    padding: 0;
  }

  .seal {
    display: grid;
    position: absolute;
    right: calc(clamp(300px, 29vw, 440px) + 6.5rem);
    bottom: -0.5rem;
  }

  .hero__scroll {
    display: inline-flex;
  }
}

@media (min-width: 1024px) and (max-height: 760px) {
  .hero__visual { width: clamp(260px, 24vw, 360px); }
}

/* ======================================================= 9. PAGE HERO === */

.phero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 7vh, 5rem));
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
  overflow: hidden;
  isolation: isolate;
}

.phero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.phero__glow {
  position: absolute;
  width: 48vw;
  height: 48vw;
  max-width: 760px;
  max-height: 760px;
  right: -12vw;
  top: -8vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(245 79 27 / 22%), rgb(245 79 27 / 0%) 64%);
}

/* Oversized chapter number, outlined, behind the title. */
.phero__number {
  position: absolute;
  right: var(--gutter);
  bottom: -0.16em;
  font-family: var(--font-display);
  font-size: clamp(9rem, 28vw, 26rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgb(30 34 61 / 12%);
}

.phero__inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--mute);
}

.crumbs a:hover {
  color: var(--orange-ink);
}

.crumbs [aria-current="page"] {
  color: var(--ink);
}

.phero__copy > .meta {
  margin-top: 1.6rem;
}

.phero__title {
  margin-top: 1.1rem;
  font-size: var(--fs-h1);
  line-height: 0.94;
  letter-spacing: -0.05em;
  max-width: 13ch;
}

.phero__lede {
  margin-top: 1.5rem;
  max-width: 50ch;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text);
}

.phero .btn-row {
  margin-top: 2rem;
}

.phero__visual {
  position: relative;
}

.phero__disc {
  position: absolute;
  width: 38%;
  aspect-ratio: 1;
  left: -6%;
  bottom: -7%;
  border-radius: 50%;
  background: var(--orange);
  z-index: -1;
}

.phero__figure {
  position: relative;
  border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 160px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  background: var(--beige);
}

.phero__figure img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.phero__note {
  position: absolute;
  right: 1.1rem;
  top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.95rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

/* Stacked variant: image runs wide beneath the title. */
.phero--stack .phero__title {
  max-width: 16ch;
}

.phero--stack .phero__figure {
  border-radius: var(--r-xl) var(--r-xl) 220px var(--r-xl);
}

.phero--stack .phero__figure img {
  aspect-ratio: 21 / 8;
}

.phero--stack .phero__disc {
  left: auto;
  right: 8%;
  bottom: auto;
  top: -12%;
  width: 16%;
}

/* Plain variant: no image, title runs large, and the section that follows
   (the contact form) starts close beneath it. */
.phero--plain {
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.phero--plain + .section {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.phero--plain .phero__title {
  font-size: var(--fs-display-1);
  max-width: 14ch;
}

@media (min-width: 1024px) {
  .phero--split .phero__inner {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 4rem;
  }

  .phero--split .phero__figure img {
    aspect-ratio: 4 / 4.4;
  }

  .phero--stack .phero__inner {
    gap: 3.5rem;
  }

  .phero--stack .phero__copy {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    column-gap: 4rem;
    align-items: end;
  }

  .phero--stack .phero__copy > .crumbs,
  .phero--stack .phero__copy > .meta,
  .phero--stack .phero__title {
    grid-column: 1;
  }

  .phero--stack .phero__lede,
  .phero--stack .phero__copy > .btn-row {
    grid-column: 2;
  }

  .phero--stack .phero__lede {
    grid-row: 3;
    margin: 0;
  }

  .phero--stack .phero__copy > .btn-row {
    grid-row: 4;
  }
}

/* ============================================== 10. HOMEPAGE SECTIONS === */

/* --- 02 · marquee ---------------------------------------------------- */

.marquee {
  position: relative;
  padding-block: clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
  background: var(--beige);
  color: var(--ink);
}

.marquee--navy {
  background: var(--navy);
  color: var(--paper);
}

.marquee--paper {
  background: var(--paper);
}

.marquee__row {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

/* The second row is a navy tape laid across the first at a slight angle. */
.marquee__row--reverse {
  width: 108%;
  margin: 0.6rem 0 0 -4%;
  padding-block: 0.35rem;
  background: var(--navy);
  color: var(--paper);
  transform: rotate(-1.6deg);
  -webkit-mask-image: none;
  mask-image: none;
}

.marquee--navy .marquee__row--reverse {
  background: var(--orange);
  color: var(--navy-deep);
}

.marquee__track {
  display: flex;
  align-items: center;
  flex: none;
  gap: clamp(1.25rem, 2.6vw, 2.5rem);
  padding-right: clamp(1.25rem, 2.6vw, 2.5rem);
  width: max-content;
  will-change: transform;
}

.marquee__word {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.4vw, 7.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.marquee__row--reverse .marquee__word {
  font-size: clamp(1.6rem, 3.6vw, 3.4rem);
  letter-spacing: -0.03em;
}

.marquee__word--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
}

/* Fallback when text-stroke is unsupported: keep the word readable. */
@supports not (-webkit-text-stroke: 1px black) {
  .marquee__word--outline { color: inherit; opacity: 0.45; }
}

.marquee__row:not(.marquee__row--reverse) .marquee__word--outline {
  -webkit-text-stroke-color: var(--navy);
}

.marquee__star {
  flex: none;
  color: var(--orange);
  display: grid;
  place-items: center;
}

.marquee__row--reverse .marquee__star svg {
  width: 20px;
  height: 20px;
}

/* --- 03 · what is Pinnacle -------------------------------------------- */

.manifesto__head {
  display: grid;
  gap: 1.75rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.manifesto__statement {
  font-size: clamp(2.6rem, 7vw, 7rem);
  line-height: 0.93;
  letter-spacing: -0.052em;
}

.manifesto__statement .line:nth-child(2) {
  padding-left: clamp(0rem, 8vw, 9rem);
  color: var(--slate);
}

.manifesto__note {
  max-width: 40ch;
  font-size: 1.05rem;
  line-height: 1.7;
}

.pillars {
  display: grid;
  gap: 1.5rem;
}

.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.pillar__num {
  position: absolute;
  z-index: 2;
  top: -0.35em;
  left: 0.15em;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--paper);
  -webkit-text-stroke: 1.5px var(--navy);
  pointer-events: none;
  transition: color 0.45s var(--ease-smooth);
}

.pillar:hover .pillar__num {
  color: var(--orange);
}

.pillar__media {
  position: relative;
  overflow: hidden;
  background: var(--beige);
  box-shadow: var(--shadow-soft);
}

.pillar__media img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}

/* Three different silhouettes: arch, slant, pill. */
.pillar--arch .pillar__media { border-radius: 400px 400px var(--r-lg) var(--r-lg); }
.pillar--slant .pillar__media { border-radius: var(--r-lg); clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); }
.pillar--round .pillar__media { border-radius: var(--r-lg) var(--r-lg) 400px 400px; }

.pillar__body {
  display: grid;
  gap: 0.7rem;
  padding: 1.5rem 0.25rem 0;
}

.pillar__title {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  letter-spacing: -0.035em;
}

.pillar__text {
  font-size: 0.97rem;
  color: var(--text-soft);
  max-width: 38ch;
}

.pillar__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.pillar__cta svg {
  transition: transform 0.4s var(--ease-smooth);
}

.pillar:hover .pillar__cta svg {
  transform: translateX(6px);
}

.pillar:focus-within {
  outline: none;
}

.pillar:has(a:focus-visible) .pillar__media {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

@media (min-width: 768px) {
  .pillars {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
    align-items: start;
  }

  /* Stagger the columns so the row reads like a spread, not a grid. */
  .pillar:nth-child(2) { margin-top: 4.5rem; }
  .pillar:nth-child(3) { margin-top: 1.75rem; }
}

@media (min-width: 1024px) {
  .manifesto__head {
    grid-template-columns: 1fr 22rem;
    align-items: end;
    column-gap: 4rem;
  }

  .manifesto__head > .meta { grid-column: 1 / -1; }
}

/* --- 04 · expertise index -------------------------------------------- */

.expertise {
  background: var(--paper);
}

.xlist {
  border-bottom: 1px solid var(--line);
}

.xlist__row {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.4rem 1.25rem;
  padding: 1.6rem 0.25rem;
  border-top: 1px solid var(--line);
  isolation: isolate;
}

.xlist__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange-ink);
  padding-top: 0.55rem;
}

.xlist__title {
  font-size: clamp(1.8rem, 4.4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  transition: transform 0.55s var(--ease-smooth), color 0.4s var(--ease-smooth);
}

.xlist__text {
  grid-column: 2 / -1;
  max-width: 44ch;
  font-size: 0.95rem;
  color: var(--text-soft);
  transition: color 0.4s var(--ease-smooth);
}

.xlist__tags {
  grid-column: 2 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.xlist__tags li {
  padding: 0.28rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--graphite);
  transition: border-color 0.4s var(--ease-smooth), color 0.4s var(--ease-smooth);
}

.xlist__thumb {
  grid-column: 1 / -1;
  order: -1;
  margin-bottom: 0.85rem;
  border-radius: var(--r-md);
  overflow: hidden;
}

.xlist__thumb img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.xlist__arrow {
  grid-column: 3;
  grid-row: 2;
  align-self: start;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition:
    background-color 0.4s var(--ease-smooth),
    border-color 0.4s var(--ease-smooth),
    transform 0.5s var(--ease-smooth),
    color 0.4s var(--ease-smooth);
}

/* Desktop index: one line per domain, the floating preview does the imagery. */
@media (min-width: 1024px) {
  .xlist__row {
    grid-template-columns: 4rem minmax(0, 1.25fr) minmax(0, 1fr) 4rem;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 2rem;
    padding: 2.2rem 1rem;
  }

  .xlist__row::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--navy);
    border-radius: var(--r-md);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.55s var(--ease-smooth);
  }

  .xlist__num { grid-row: 1 / 3; padding: 0; align-self: center; }
  .xlist__title { grid-row: 1 / 3; }
  .xlist__text { grid-column: 3; grid-row: 1; }
  .xlist__tags { grid-column: 3; grid-row: 2; }
  .xlist__arrow { grid-column: 4; grid-row: 1 / 3; align-self: center; justify-self: end; }
  .xlist__thumb { display: none; }

  .xlist__row:hover::before { transform: scaleY(1); }
  .xlist__row:hover .xlist__title { color: var(--paper); transform: translateX(0.75rem); }
  .xlist__row:hover .xlist__text { color: var(--on-navy); }
  .xlist__row:hover .xlist__num { color: var(--orange); }
  .xlist__row:hover .xlist__tags li { color: var(--paper); border-color: rgb(245 240 231 / 26%); }

  .xlist__row:hover .xlist__arrow {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--navy-deep);
    transform: rotate(-45deg);
  }
}

/* Floating preview that follows the pointer over the index. */
.xpreview {
  display: none;
}

@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .xpreview {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 60;
    width: 250px;
    aspect-ratio: 4 / 5;
    border-radius: 140px 140px var(--r-md) var(--r-md);
    overflow: hidden;
    pointer-events: none;
    box-shadow: var(--shadow-deep);
    opacity: 0;
    transform: translate3d(var(--px, -500px), var(--py, -500px), 0) translate(-50%, -50%) scale(0.6) rotate(var(--rot, 0deg));
    transition: opacity 0.35s var(--ease-smooth), transform 0.12s linear;
  }

  .xpreview.is-visible {
    opacity: 1;
    transform: translate3d(var(--px, -500px), var(--py, -500px), 0) translate(-50%, -50%) scale(1) rotate(var(--rot, 0deg));
  }

  .xpreview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.12);
    transition: opacity 0.4s var(--ease-smooth), transform 0.7s var(--ease-smooth);
  }

  .xpreview img.is-active {
    opacity: 1;
    transform: scale(1);
  }
}

/* --- 05 · program stack ---------------------------------------------- */

.progs {
  display: grid;
  gap: 1.25rem;
}

.prog {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}

.prog[hidden] {
  display: none;
}

.prog:hover {
  box-shadow: var(--shadow-soft);
}

.prog__num {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1.1rem;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--paper);
  text-shadow: 0 2px 18px rgb(21 24 41 / 35%);
}

.prog__media {
  order: -1;
  overflow: hidden;
  background: var(--beige);
}

.prog__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.9s var(--ease-smooth);
}

.prog:hover .prog__media img {
  transform: scale(1.05);
}

.prog__main {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
}

.prog__title {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
  padding-right: 3.5rem;
}

.prog__text {
  font-size: 0.95rem;
  color: var(--text-soft);
  max-width: 54ch;
}

.prog__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.prog__facts span {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.prog__arrow {
  position: absolute;
  z-index: 2;
  right: 1rem;
  top: 1rem;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy-deep);
  transition: transform 0.5s var(--ease-smooth);
}

.prog:hover .prog__arrow {
  transform: rotate(-45deg);
}

.prog:has(.stretched:focus-visible) {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

@media (min-width: 640px) and (max-width: 1023.98px) {
  .progs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/*
 * Desktop: stacked expanding panels. JS adds .js-stack to the container and
 * .is-active to the panel under the pointer or focus. Without JS the cards
 * above stay a plain grid.
 */
@media (min-width: 1024px) {
  .progs:not(.js-stack) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .progs.js-stack {
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .js-stack .prog {
    display: grid;
    grid-template-columns: clamp(8rem, 13vw, 12rem) minmax(0, 1fr) 4.5rem;
    align-items: start;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 2rem 0;
    transition: background-color 0.55s var(--ease-smooth), padding 0.55s var(--ease-smooth), border-radius 0.55s var(--ease-smooth);
  }

  .js-stack .prog__num {
    position: static;
    padding-left: 1.5rem;
    font-size: clamp(4rem, 7vw, 6.5rem);
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--line-strong);
    text-shadow: none;
    transition: color 0.5s var(--ease-smooth), -webkit-text-stroke-color 0.5s var(--ease-smooth);
  }

  .js-stack .prog__main {
    padding: 0.4rem 0 0;
    gap: 0.6rem;
    padding-right: min(40%, 26rem);
  }

  .js-stack .prog__title {
    font-size: clamp(2rem, 3.4vw, 3.2rem);
    padding: 0;
  }

  /* Body copy folds away until the panel opens. */
  .js-stack .prog__reveal {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.6s var(--ease-smooth);
  }

  .js-stack .prog__reveal > div {
    overflow: hidden;
    min-height: 0;
  }

  .js-stack .prog__media {
    position: absolute;
    top: 1.5rem;
    bottom: 1.5rem;
    right: 6.5rem;
    width: min(34%, 24rem);
    border-radius: var(--r-md);
    clip-path: inset(50% 0 50% 0 round var(--r-md));
    opacity: 0;
    transition: clip-path 0.7s var(--ease-smooth), opacity 0.4s var(--ease-smooth);
  }

  .js-stack .prog__media img {
    height: 100%;
    aspect-ratio: auto;
  }

  .js-stack .prog__arrow {
    position: static;
    align-self: center;
    background: transparent;
    border: 1px solid var(--line-strong);
    color: var(--ink);
    transition: transform 0.5s var(--ease-smooth), background-color 0.4s var(--ease-smooth), border-color 0.4s var(--ease-smooth);
  }

  /* Open panel: navy slab, filled number, image unclipped. */
  .js-stack .prog.is-active {
    background: var(--navy);
    border-radius: var(--r-lg);
    padding: 2.5rem 0;
    border-bottom-color: transparent;
  }

  .js-stack .prog.is-active .prog__num {
    color: var(--orange);
    -webkit-text-stroke-color: var(--orange);
  }

  .js-stack .prog.is-active .prog__title,
  .js-stack .prog.is-active .prog__facts {
    color: var(--paper);
  }

  .js-stack .prog.is-active .meta,
  .js-stack .prog.is-active .prog__facts span {
    color: var(--on-navy-soft);
  }

  .js-stack .prog.is-active .prog__text {
    color: var(--on-navy);
  }

  .js-stack .prog.is-active .prog__facts {
    border-top-color: var(--line-invert);
  }

  .js-stack .prog.is-active .prog__reveal {
    grid-template-rows: 1fr;
  }

  .js-stack .prog.is-active .prog__media {
    clip-path: inset(0 0 0 0 round var(--r-md));
    opacity: 1;
  }

  .js-stack .prog.is-active .prog__arrow {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--navy-deep);
    transform: rotate(-45deg);
  }

  .js-stack .prog:hover .prog__media img { transform: none; }
}

/* --- filters (programs directory) --- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.62rem 1.15rem;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--graphite);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  transition: background-color 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth);
}

.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--paper);
}

/* --- 06 · ecosystem orbit -------------------------------------------- */

.orbit-section {
  background: var(--paper);
  overflow: hidden;
}

.orbit-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.orbit {
  --size: min(86vw, 540px);
  position: relative;
  width: var(--size);
  height: var(--size);
  margin-inline: auto;
}

.orbit__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit__ring--outer {
  width: 84%;
  height: 84%;
  border: 1px dashed var(--line-strong);
}

.orbit__ring--mid {
  width: 60%;
  height: 60%;
  border: 1px solid var(--line);
  background: radial-gradient(circle, rgb(230 213 183 / 60%), rgb(230 213 183 / 0%) 70%);
}

.orbit__ring--inner {
  width: 38%;
  height: 38%;
  border: 2px solid var(--orange);
  border-right-color: transparent;
  border-bottom-color: transparent;
  animation: spin 14s linear infinite;
}

.orbit__core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.2rem;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-deep), inset 0 0 0 6px rgb(245 240 231 / 6%);
  text-align: center;
}

.orbit__core strong {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.orbit__core .meta {
  font-size: 0.58rem;
  color: var(--on-navy-soft);
}

.orbit__core-mark {
  width: 14px;
  height: 14px;
  margin-bottom: 0.3rem;
  border: 2px solid var(--orange);
  transform: rotate(45deg);
}

/* Nodes sit on the outer ring; the track turns and each button turns back. */
.orbit__track {
  position: absolute;
  inset: 0;
  animation: spin 80s linear infinite;
}

.orbit__node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: rotate(calc(360deg / var(--count) * var(--i) - 90deg)) translateX(calc(var(--size) * 0.42)) rotate(calc(-360deg / var(--count) * var(--i) + 90deg));
}

.orbit__btn {
  position: absolute;
  left: 0;
  top: 0;
  translate: -50% -50%;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: var(--r-pill);
  background: rgb(255 255 255 / 70%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgb(255 255 255 / 80%);
  box-shadow: var(--shadow-soft);
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  animation: spin 80s linear infinite reverse;
  transition: background-color 0.35s var(--ease-smooth), color 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}

.orbit__btn:hover {
  background: var(--white);
}

.orbit__btn.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy-deep);
  box-shadow: var(--shadow-orange);
}

.orbit:hover .orbit__track,
.orbit:hover .orbit__btn,
.orbit:focus-within .orbit__track,
.orbit:focus-within .orbit__btn {
  animation-play-state: paused;
}

.orbit__panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--r-lg);
}

.orbit__panel-title {
  margin-top: 1rem;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  letter-spacing: -0.045em;
}

.orbit__panel-text {
  margin-top: 0.9rem;
  max-width: 40ch;
  font-size: 1.02rem;
  color: var(--text);
}

.orbit__list {
  display: none;
  gap: 1rem;
  margin-top: 1.5rem;
}

.orbit__list li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.orbit__list-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange-ink);
}

.orbit__list strong {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1rem;
}

.orbit__list span span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Small screens: the orbit becomes an emblem and the list carries the content. */
@media (max-width: 767.98px) {
  .orbit { --size: min(78vw, 320px); }
  .orbit__track { display: none; }
  .orbit__panel [data-orbit-index],
  .orbit__panel-title,
  .orbit__panel-text { display: none; }
  .orbit__list { display: grid; margin-top: 0; }
  .orbit__list li:first-child { border-top: 0; padding-top: 0; }
}

@media (min-width: 1024px) {
  .orbit-layout {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }
}

/* --- 07 · student journey -------------------------------------------- */

.journey {
  background: var(--beige);
}

.journey__layout {
  display: grid;
  gap: 3rem;
}

.journey__stage {
  display: none;
}

.journey__steps {
  position: relative;
  display: grid;
}

.journey__steps::before {
  content: "";
  position: absolute;
  left: 1.3rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: var(--line-strong);
}

.journey__step {
  position: relative;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 1.25rem;
  padding-block: 1.25rem;
}

.journey__idx {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  transition: background-color 0.45s var(--ease-smooth), color 0.45s var(--ease-smooth), border-color 0.45s var(--ease-smooth), transform 0.45s var(--ease-out-back);
}

.journey__title {
  margin-top: 0.35rem;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  letter-spacing: -0.035em;
}

.journey__text {
  margin-top: 0.45rem;
  max-width: 44ch;
  font-size: 0.97rem;
  color: var(--text);
}

.journey__step.is-active .journey__idx {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy-deep);
  transform: scale(1.1);
}

/* Desktop: pinned image on the left, steps scroll past on the right. */
@media (min-width: 1024px) {
  .journey__layout {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: start;
  }

  .journey__stage {
    display: block;
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
  }

  .journey__frame {
    position: relative;
    height: min(72vh, 640px);
    border-radius: 320px 320px var(--r-lg) var(--r-lg);
    overflow: hidden;
    background: var(--navy);
    box-shadow: var(--shadow-deep);
  }

  .journey__img {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.8s var(--ease-smooth), transform 1.2s var(--ease-smooth);
  }

  .journey__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .journey__img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(30 34 61 / 0%) 45%, rgb(21 24 41 / 72%));
  }

  .journey__img.is-active {
    opacity: 1;
    transform: scale(1);
  }

  .journey__count {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    padding: 0.8rem 1.1rem;
    border-radius: var(--r-md);
    font-family: var(--font-display);
    color: var(--ink);
  }

  .journey__count-now {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
  }

  .journey__count-of {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--slate);
  }

  .journey__phase {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    display: grid;
    gap: 0.25rem;
    color: var(--paper);
  }

  .journey__phase strong {
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: -0.045em;
    line-height: 1;
  }

  .journey__rail {
    margin-top: 1.25rem;
    height: 3px;
    border-radius: 3px;
    background: var(--line);
    overflow: hidden;
  }

  .journey__rail span {
    display: block;
    height: 100%;
    background: var(--orange);
    transform: scaleX(var(--progress, 0.125));
    transform-origin: left;
    transition: transform 0.6s var(--ease-smooth);
  }

  .journey__steps::before { display: none; }

  .journey__step {
    min-height: 34vh;
    align-content: center;
    padding-block: 2rem;
    border-top: 1px solid var(--line);
  }

  /* Only dim when the script is driving the active state. */
  .journey.is-live .journey__step {
    opacity: 0.32;
    transition: opacity 0.5s var(--ease-smooth);
  }

  .journey.is-live .journey__step.is-active {
    opacity: 1;
  }
}

/* --- 08 · stats band ------------------------------------------------- */

.stats {
  position: relative;
  padding-block: var(--section-y);
  background: var(--navy);
  color: var(--on-navy);
  overflow: hidden;
  isolation: isolate;
}

.stats__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.stats__word {
  position: absolute;
  left: 50%;
  bottom: -0.2em;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(7rem, 26vw, 26rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 1px rgb(245 240 231 / 9%);
  white-space: nowrap;
}

.stats__glow {
  position: absolute;
  width: 50vw;
  height: 50vw;
  left: -12vw;
  top: -20vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(245 79 27 / 22%), rgb(245 79 27 / 0%) 65%);
}

.stats__head {
  display: grid;
  gap: 1.25rem;
}

.stats__title {
  font-size: clamp(2.3rem, 5.4vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: var(--paper);
}

.stats__title .accent {
  color: var(--orange);
}

.stats__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
  margin-top: clamp(3rem, 6vw, 5.5rem);
}

.stats__item {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-invert);
}

.stats__idx {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--orange);
}

.stats__value {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.4vw, 5.6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
  color: var(--paper);
  white-space: nowrap;
}

.stats__suffix {
  color: var(--orange);
}

.stats__label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--paper);
}

.stats__text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--on-navy-soft);
  max-width: 28ch;
}

@media (min-width: 1024px) {
  .stats__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .stats__item {
    padding: 1.75rem 1.75rem 0;
    border-top: 0;
    border-left: 1px solid var(--line-invert);
  }

  .stats__item:nth-child(even) {
    margin-top: 3rem;
  }
}

/* --- 09 · founder ---------------------------------------------------- */

.founder {
  background: var(--paper);
  overflow: hidden;
}

.founder__grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.founder__visual {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  padding: 1.5rem 1.5rem 0 0;
}

.founder__disc {
  position: absolute;
  z-index: 0;
  width: 46%;
  aspect-ratio: 1;
  right: -4%;
  top: -2%;
  border-radius: 50%;
  background: var(--orange);
}

.founder__frame {
  position: absolute;
  z-index: 0;
  inset: 0 0 -1.5rem 1.5rem;
  border: 1.5px solid var(--navy);
  border-radius: 300px 300px var(--r-lg) var(--r-lg);
}

.founder__portrait {
  position: relative;
  z-index: 1;
  border-radius: 300px 300px var(--r-lg) 120px;
  overflow: hidden;
  background: var(--beige);
  box-shadow: var(--shadow-deep);
}

.founder__portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.founder__stat {
  position: absolute;
  z-index: 2;
  left: -0.75rem;
  bottom: 12%;
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
}

.founder__stat strong {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.founder__stat em {
  font-style: normal;
  color: var(--orange);
}

.founder__creds {
  position: absolute;
  z-index: 2;
  right: -0.5rem;
  bottom: -1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-width: 68%;
  padding: 0.7rem;
  border-radius: var(--r-md);
}

.founder__creds li {
  padding: 0.3rem 0.65rem;
  border-radius: var(--r-pill);
  background: var(--navy);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.founder__copy {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.founder__name {
  position: relative;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  padding-bottom: 0.3em;
}

.founder__stroke {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(70%, 320px);
  height: 0.35em;
  overflow: visible;
}

.founder__stroke path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 4;
  stroke-linecap: round;
}

.founder__bio {
  max-width: 52ch;
  font-size: 1.04rem;
}

.founder__quote {
  position: relative;
  max-width: 52ch;
  padding: 1.5rem 1.5rem 1.5rem 3.5rem;
  border-radius: var(--r-md);
  background: var(--beige);
}

.founder__mark {
  position: absolute;
  left: 1rem;
  top: 0.4rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
}

.founder__quote p {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.founder__quote footer {
  margin-top: 0.9rem;
}

@media (min-width: 1024px) {
  .founder__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
  }
}

/* --- 10 · why pinnacle constellation --------------------------------- */

.why {
  background: var(--beige);
  overflow: hidden;
}

.sky {
  position: relative;
}

.sky__lines,
.sky__hub {
  display: none;
}

.sky__stars {
  display: grid;
  gap: 0;
  counter-reset: star;
}

.star {
  border-top: 1px solid var(--line-strong);
  padding-block: 1.1rem;
}

.star__btn {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  cursor: default;
}

.star__dot {
  display: none;
}

.star__num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange-ink);
}

.star__label {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.star__card {
  margin-top: 0.4rem;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: var(--text);
  max-width: 50ch;
}

/* Desktop: the constellation. */
@media (min-width: 1024px) {
  .sky {
    height: clamp(520px, 44vw, 660px);
  }

  .sky__lines {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .sky__lines line {
    stroke: var(--navy);
    stroke-opacity: 0.22;
    stroke-width: 1.2;
    vector-effect: non-scaling-stroke;
  }

  .sky__lines .sky__spoke {
    stroke: var(--orange);
    stroke-opacity: 0.45;
  }

  .sky__hub {
    position: absolute;
    left: var(--x);
    top: var(--y);
    display: grid;
    place-items: center;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--paper);
    text-align: center;
    transform: translate(-50%, -50%);
    box-shadow: var(--shadow-deep);
  }

  .sky__hub strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
  }

  .sky__hub-ring {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1px solid rgb(245 79 27 / 55%);
    animation: hub-pulse 3.2s var(--ease-smooth) infinite;
  }

  .sky__stars {
    position: absolute;
    inset: 0;
    display: block;
  }

  .star {
    position: absolute;
    left: var(--x);
    top: var(--y);
    padding: 0;
    border: 0;
    z-index: 1;
  }

  .star:hover,
  .star:focus-within {
    z-index: 5;
  }

  .star__btn {
    position: relative;
    translate: -11px -11px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: auto;
    cursor: pointer;
  }

  .star__dot {
    position: relative;
    display: block;
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--navy);
    transition: background-color 0.35s var(--ease-smooth), transform 0.45s var(--ease-out-back);
  }

  .star__dot::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: var(--orange);
  }

  .star__num {
    font-size: 0.72rem;
  }

  .star__label {
    font-size: 1.02rem;
    white-space: nowrap;
    padding: 0.3rem 0.7rem;
    border-radius: var(--r-pill);
    transition: background-color 0.35s var(--ease-smooth), color 0.35s var(--ease-smooth);
  }

  .star:hover .star__dot,
  .star:focus-within .star__dot {
    transform: scale(1.3);
    background: var(--orange);
  }

  .star:hover .star__label,
  .star:focus-within .star__label {
    background: var(--navy);
    color: var(--paper);
  }

  .star__card {
    position: absolute;
    left: -11px;
    top: 1.6rem;
    width: 280px;
    margin: 0;
    padding: 1rem 1.15rem;
    border-radius: var(--r-md);
    background: rgb(255 255 255 / 80%);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid rgb(255 255 255 / 80%);
    box-shadow: var(--shadow-deep);
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth), visibility 0.3s;
    pointer-events: none;
  }

  .star--left .star__card { left: auto; right: 11px; }
  .star--up .star__card { top: auto; bottom: 1.6rem; transform: translateY(-8px); }
  .star--left .star__btn { flex-direction: row-reverse; translate: calc(-100% + 11px) -11px; }

  .star:hover .star__card,
  .star:focus-within .star__card {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

@keyframes hub-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.35; }
}

/* --- 11 · consultancy (navy) ----------------------------------------- */

.consult {
  position: relative;
  padding-block: var(--section-y);
  background: var(--navy);
  color: var(--on-navy);
  overflow: hidden;
  isolation: isolate;
}

.consult__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.consult__grid,
.finale__grid,
.section--dark .consult__grid {
  background-image:
    linear-gradient(to right, rgb(245 240 231 / 6%) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(245 240 231 / 6%) 1px, transparent 1px);
}

.consult__glow {
  position: absolute;
  width: 56vw;
  height: 56vw;
  right: -18vw;
  bottom: -26vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(245 79 27 / 26%), rgb(245 79 27 / 0%) 64%);
}

.consult__grid-layout {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.consult__copy {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.consult__title {
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.93;
  letter-spacing: -0.052em;
  color: var(--paper);
}

.consult__title .accent,
.section--dark .accent,
.finale .accent {
  color: var(--orange);
}

.consult__lede {
  max-width: 46ch;
  font-size: 1.06rem;
  color: var(--on-navy);
}

.consult__services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.consult__services li {
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-invert);
  background: rgb(245 240 231 / 5%);
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--paper);
}

.consult__visual {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
}

.consult__photo {
  border-radius: var(--r-xl) 260px var(--r-xl) var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

.consult__photo img {
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
}

.consult__panel {
  position: absolute;
  padding: 1rem 1.15rem;
  border-radius: var(--r-md);
  color: var(--paper);
}

.consult__panel--a {
  left: -1.25rem;
  top: 14%;
  display: grid;
  gap: 0.6rem;
}

.consult__panel--a ul {
  display: grid;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
}

.consult__panel--a li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.consult__panel--a i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--orange);
  box-shadow: inset 0 0 0 3px var(--navy);
  outline: 1.5px solid var(--orange);
}

.consult__panel--b {
  right: -1rem;
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.consult__panel--b strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.consult__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgb(245 79 27 / 22%);
  flex: none;
}

@media (min-width: 1024px) {
  .consult__grid-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
  }
}

/* Consultancy page: the full list of services on navy. */
.svc-list {
  display: grid;
  gap: 1.25rem;
}

.svc {
  position: relative;
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-lg);
  background: rgb(245 240 231 / 4%);
  border: 1px solid var(--line-invert);
  transition: background-color 0.45s var(--ease-smooth), border-color 0.45s var(--ease-smooth), transform 0.45s var(--ease-smooth);
}

.svc:hover {
  background: rgb(245 240 231 / 7%);
  border-color: rgb(245 79 27 / 45%);
}

.svc__num {
  position: absolute;
  right: 1.5rem;
  top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgb(245 240 231 / 26%);
}

.svc__head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-right: 4rem;
}

.svc__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  background: var(--orange);
  color: var(--navy-deep);
}

.svc__title {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  letter-spacing: -0.03em;
  color: var(--paper);
}

.svc__body {
  display: grid;
  gap: 0.9rem;
}

.svc__body dd {
  margin-top: 0.3rem;
  font-size: 0.94rem;
  color: var(--on-navy);
}

.svc__benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-invert);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--paper);
}

.svc__benefit svg {
  flex: none;
  margin-top: 0.2rem;
  color: var(--orange);
}

.consult__actions {
  margin-top: 3rem;
}

@media (min-width: 900px) {
  .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc__body { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* --- 12 · trust strip ------------------------------------------------ */

.trust {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.trust__inner {
  display: grid;
  gap: 2rem;
}

.trust__points {
  display: grid;
  gap: 1rem;
}

.trust__points li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.trust__num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange-ink);
}

.trust__creds {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--line-strong);
}

.trust__creds ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.trust__creds li {
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--beige);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

@media (min-width: 768px) {
  .trust__points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .trust__points {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem 0;
  }

  .trust__points li + li {
    padding-left: 1.5rem;
    border-left: 1px solid var(--line);
  }
}

/* --- About · storytelling opener ------------------------------------- */

.story__statement {
  margin-top: 1.5rem;
  font-size: clamp(2.8rem, 8.4vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.058em;
}

.story__statement .line:nth-child(2) {
  padding-left: clamp(0rem, 12vw, 14rem);
}

.story__grid {
  display: grid;
  gap: 3rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.story__visual {
  position: relative;
}

.story__photo {
  border-radius: var(--r-xl) var(--r-xl) 240px var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

.story__photo img {
  width: 100%;
  aspect-ratio: 5 / 4.4;
  object-fit: cover;
}

.story__float {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  display: grid;
  gap: 0.25rem;
  max-width: calc(100% - 2.2rem);
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-md);
}

.story__float strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
}

.story__copy {
  display: grid;
  gap: 1.4rem;
}

.story__lead {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.story__text {
  font-size: 1.04rem;
  max-width: 52ch;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.numbers li {
  display: grid;
  gap: 0.35rem;
  padding-top: 1rem;
  border-top: 2px solid var(--navy);
}

.numbers__idx {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange-ink);
}

.numbers__value {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
  color: var(--ink);
}

.numbers__value em {
  font-style: normal;
  color: var(--orange);
}

.numbers__label {
  font-size: 0.9rem;
  color: var(--text-soft);
}

@media (min-width: 1024px) {
  .story__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 5rem;
  }

  .numbers {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* --- About · how it works + vision/mission/philosophy ---------------- */

.how__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.how__copy .display-2 {
  margin-top: 1.1rem;
  max-width: 12ch;
}

.how__text {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  max-width: 52ch;
  font-size: 1.04rem;
}

.how__photo {
  border-radius: 280px 280px var(--r-lg) var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  max-width: 480px;
  justify-self: center;
}

.how__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.vmp {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.vmp__item {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: var(--r-lg);
  background: var(--paper);
  overflow: hidden;
  transition: transform 0.45s var(--ease-smooth), box-shadow 0.45s var(--ease-smooth);
}

.vmp__item:nth-child(2) {
  background: var(--navy);
}

.vmp__item:nth-child(2) .vmp__title { color: var(--paper); }
.vmp__item:nth-child(2) .vmp__text { color: var(--on-navy); }

.vmp__item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.vmp__num {
  display: block;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--orange);
}

.vmp__title {
  margin-top: 1.25rem;
  font-size: 1.7rem;
  letter-spacing: -0.035em;
}

.vmp__text {
  margin-top: 0.7rem;
  font-size: 0.98rem;
}

@media (min-width: 900px) {
  .how__grid { grid-template-columns: 1.1fr 0.9fr; gap: 5rem; }
  .vmp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vmp__item:nth-child(2) { margin-top: 2.5rem; }
}

/* --- About · values index -------------------------------------------- */

.index-list {
  border-bottom: 1px solid var(--line);
}

.index-list__row {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.4rem 1rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
}

.index-list__num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange-ink);
  padding-top: 0.4rem;
}

.index-list__title {
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  letter-spacing: -0.04em;
}

.index-list__text {
  max-width: 52ch;
  color: var(--text-soft);
}

@media (min-width: 900px) {
  .index-list__row {
    grid-template-columns: 5rem 1fr 1fr;
    align-items: baseline;
    column-gap: 2rem;
    padding-block: 2rem;
  }

  .index-list__num { grid-row: auto; padding: 0; }
}

/* --- Academy · philosophy practices ---------------------------------- */

.practices__grid {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.practices__intro .display-2 {
  margin-top: 1.1rem;
  max-width: 11ch;
}

.practices__note {
  margin-top: 1.25rem;
  max-width: 42ch;
  font-size: 1.04rem;
}

.practices__photo {
  position: relative;
  margin-top: 2.5rem;
  border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 200px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

.practices__photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.practices__tag {
  position: absolute;
  right: 1rem;
  top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.95rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

@media (min-width: 1024px) {
  .practices__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
  }

  .practices__intro {
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
  }
}

/* --- Academy · the learning experience ------------------------------- */

.experience__grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.experience__copy .display-2 {
  margin-top: 1.1rem;
  max-width: 12ch;
}

.experience__lede {
  margin-top: 1.25rem;
  max-width: 46ch;
  font-size: 1.04rem;
}

.collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 1rem;
}

.collage__item {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--beige);
}

.collage__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collage__item--tall {
  grid-column: 1 / 4;
  grid-row: 1 / 3;
  border-radius: 220px 220px var(--r-lg) var(--r-lg);
}

.collage__item--tall img { aspect-ratio: 3 / 5; }

.collage__item--round {
  grid-column: 4 / 7;
  border-radius: 50%;
  align-self: end;
}

.collage__item--round img { aspect-ratio: 1; }

.collage__item--wide {
  grid-column: 4 / 7;
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 100px;
}

.collage__item--wide img { aspect-ratio: 4 / 4.2; }

.collage__cap {
  position: absolute;
  left: 50%;
  bottom: 0.8rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.collage__idx {
  color: var(--orange-ink);
  font-weight: 700;
}

.collage__disc {
  position: absolute;
  z-index: -1;
  width: 34%;
  aspect-ratio: 1;
  right: -4%;
  top: -6%;
  border-radius: 50%;
  background: var(--orange);
}

.steps-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.steps-list__item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.steps-list__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--orange);
}

.steps-list__title {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.steps-list__text {
  margin-top: 0.3rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

@media (min-width: 1024px) {
  .experience__grid {
    grid-template-columns: 1fr 1fr;
    gap: 5.5rem;
  }
}

/* --- Academy · the two cycles (navy) --------------------------------- */

.cycles {
  overflow: hidden;
  isolation: isolate;
}

.cycles__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.cycles__grid {
  display: grid;
  gap: 1.5rem;
}

.cycle {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--r-lg);
  background: rgb(245 240 231 / 4%);
  border: 1px solid var(--line-invert);
}

.cycle__head {
  display: grid;
  gap: 0.6rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-invert);
}

.cycle__title {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: -0.04em;
}

.cycle__steps {
  position: relative;
  display: grid;
  margin-top: 1.5rem;
}

.cycle__steps::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 1rem;
  bottom: 1rem;
  width: 1px;
  background: linear-gradient(var(--orange), rgb(245 79 27 / 10%));
}

.cycle__step {
  position: relative;
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 1rem;
  padding-block: 0.75rem;
}

.cycle__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgb(245 79 27 / 70%);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
}

.cycle__label {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--paper);
}

.cycle__text {
  margin-top: 0.2rem;
  font-size: 0.9rem;
  color: var(--on-navy-soft);
}

@media (min-width: 900px) {
  .cycles__grid { grid-template-columns: 1fr 1fr; }
  .cycle:nth-child(2) { margin-top: 3rem; }
}

/* --- Academy · career outcomes --------------------------------------- */

.path {
  position: relative;
  display: grid;
  gap: 1.5rem;
}

.path__stage {
  position: relative;
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
}

.path__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--orange);
}

.path__node {
  display: none;
}

.path__title {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.path__text {
  font-size: 0.92rem;
  color: var(--text-soft);
}

@media (min-width: 1024px) {
  .path {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    padding-top: 1rem;
  }

  .path::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 5.35rem;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--navy) 0 10px, transparent 10px 18px);
    opacity: 0.35;
  }

  .path__stage {
    background: transparent;
    border: 0;
    padding: 0 1rem 0 0;
  }

  .path__node {
    display: block;
    position: relative;
    width: 18px;
    height: 18px;
    margin-block: 0.75rem 0.5rem;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--navy);
  }

  .path__stage:last-child .path__node {
    background: var(--orange);
    border-color: var(--orange);
    box-shadow: 0 0 0 6px rgb(245 79 27 / 20%);
  }
}

.roles {
  display: grid;
  gap: 3rem;
  margin-top: clamp(3.5rem, 7vw, 6rem);
  align-items: center;
}

.roles__photo {
  border-radius: var(--r-xl) 240px var(--r-xl) var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

.roles__photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.roles__lede {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 28ch;
}

.roles__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

@media (min-width: 1024px) {
  .roles { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; }
}

/* --- Careers · culture + openings ------------------------------------ */

.culture__grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.culture__visual {
  position: relative;
  width: min(100%, 540px);
  margin-inline: auto;
}

.culture__disc {
  position: absolute;
  z-index: -1;
  width: 40%;
  aspect-ratio: 1;
  left: -6%;
  bottom: -6%;
  border-radius: 50%;
  background: var(--beige);
}

.culture__photo {
  border-radius: 300px 300px var(--r-lg) var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

.culture__photo img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}

.culture__copy .display-2 {
  margin-top: 1.1rem;
  max-width: 15ch;
}

.culture__lede {
  margin-top: 1.25rem;
  max-width: 50ch;
  font-size: 1.04rem;
}

.areas {
  display: grid;
  gap: 1.25rem;
}

.area {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: box-shadow 0.45s var(--ease-smooth);
}

.area:hover {
  box-shadow: var(--shadow-soft);
}

.area__num {
  position: absolute;
  right: 1.5rem;
  top: 1.25rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-strong);
}

.area__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--orange);
}

.area__title {
  margin-top: 1.5rem;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.area__text {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.openings__title {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: -0.035em;
}

@media (min-width: 900px) {
  .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .culture__grid { grid-template-columns: 0.9fr 1.1fr; gap: 5.5rem; }
}

/* ============================================== 11. SHARED COMPONENTS === */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: box-shadow 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth), border-color 0.4s var(--ease-smooth);
}

.card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  border-radius: 15px;
  background: var(--navy);
  color: var(--orange);
}

.card__title {
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.card__text {
  margin-top: 0.6rem;
  font-size: 0.94rem;
  color: var(--text-soft);
}

.card--feature {
  align-items: flex-start;
  gap: 0;
}

.card--feature::after {
  content: "";
  position: absolute;
  left: 1.75rem;
  right: 1.75rem;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-smooth);
}

.card--feature:hover::after {
  transform: scaleX(1);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  transition: background-color 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth);
}

.chip:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--paper);
}

.chip--gold {
  background: var(--orange-soft);
  border-color: transparent;
  color: var(--orange-ink);
}

.chip--gold svg {
  color: var(--orange);
}

.chip--gold:hover {
  background: var(--orange);
  color: var(--navy-deep);
}

.chip--gold:hover svg {
  color: currentColor;
}

.ticks {
  display: grid;
  gap: 0.75rem;
}

.ticks li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--text);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23151829' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 62% no-repeat;
}

.section--dark .ticks li {
  color: var(--on-navy);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.meta-item svg {
  color: var(--orange-ink);
}

.link-list {
  display: grid;
  gap: 0.85rem;
}

.empty-state {
  display: grid;
  justify-items: start;
  gap: 0.6rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1.5px dashed var(--line-strong);
}

.empty-state[hidden] {
  display: none;
}

.empty-state__mark {
  width: 18px;
  height: 18px;
  border: 2.5px solid var(--orange);
  transform: rotate(45deg);
  margin-bottom: 0.5rem;
}

.empty-state__title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.empty-state__text {
  display: block;
  max-width: 52ch;
  color: var(--text-soft);
}

.empty-state__text a {
  color: var(--orange-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- accordion (academy practices) --- */

.accordion__item {
  border-bottom: 1px solid var(--line-strong);
}

.accordion__item:first-child {
  border-top: 1px solid var(--line-strong);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
  padding: 1.35rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  transition: color 0.3s var(--ease-smooth);
}

.accordion__num {
  flex: none;
  width: 2.2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--orange-ink);
}

.accordion__label {
  flex: 1;
  transition: transform 0.45s var(--ease-smooth);
}

.accordion__trigger:hover .accordion__label {
  transform: translateX(6px);
}

.accordion__sign {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: background-color 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth), transform 0.45s var(--ease-smooth);
}

.accordion__sign::before,
.accordion__sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-smooth);
}

.accordion__sign::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion__item.is-open .accordion__sign {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy-deep);
  transform: rotate(180deg);
}

.accordion__item.is-open .accordion__sign::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-smooth);
}

.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
}

.accordion__panel > div {
  overflow: hidden;
  min-height: 0;
}

.accordion__panel p {
  padding: 0 3.5rem 1.5rem 3.3rem;
  max-width: 62ch;
  font-size: 0.98rem;
  color: var(--text);
}

/* ========================================== 12. FORMS & CONTACT PAGE === */

.contact-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.contact-panel {
  position: relative;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.contact-grid > aside .contact-panel:first-child {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-navy);
}

.contact-grid > aside .contact-panel:first-child h2 {
  color: var(--paper);
}

.contact-grid > aside .contact-panel:first-child .contact-item__icon {
  background: var(--orange);
  color: var(--navy-deep);
}

.contact-grid > aside .contact-panel:first-child .contact-item__label,
.contact-grid > aside .contact-panel:first-child .contact-item__meta {
  color: var(--on-navy-soft);
}

.contact-grid > aside .contact-panel:first-child .contact-item__value {
  color: var(--paper);
}

.contact-grid > aside .contact-panel:first-child a.contact-item__value:hover {
  color: var(--orange);
}

.contact-list {
  display: grid;
  gap: 1.35rem;
}

.contact-item {
  display: flex;
  gap: 0.9rem;
}

.contact-item__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 13px;
  background: var(--beige);
  color: var(--navy);
}

.contact-item__label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

.contact-item__value {
  display: block;
  margin-top: 0.15rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}

a.contact-item__value:hover {
  color: var(--orange-ink);
}

.contact-item__meta {
  display: block;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.form {
  display: grid;
  gap: 1.2rem;
}

.form__row {
  display: grid;
  gap: 1.2rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field__label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.req {
  color: var(--orange-ink);
}

.field__control {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1.05rem;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  transition: border-color 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth), background-color 0.25s var(--ease-smooth);
}

.field__control::placeholder {
  color: var(--mute);
}

.field__control:hover {
  border-color: var(--line-strong);
}

.field__control:focus {
  outline: none;
  background: var(--white);
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgb(245 79 27 / 18%);
}

textarea.field__control {
  min-height: 9rem;
  resize: vertical;
}

select.field__control {
  appearance: none;
  padding-right: 2.75rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 1px), calc(100% - 14px) calc(50% + 1px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.field__error {
  min-height: 1rem;
  font-size: 0.78rem;
  color: #b3261e;
}

.field--invalid .field__control {
  border-color: #b3261e;
  background: #fff;
}

.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  padding: 0.95rem 1.15rem;
  border-radius: var(--r-sm);
  border: 1px solid;
  font-size: 0.9rem;
  line-height: 1.6;
}

.form__status[hidden] {
  display: none;
}

.form__status--ok {
  background: rgb(35 134 54 / 8%);
  border-color: rgb(35 134 54 / 32%);
  color: #17622a;
}

.form__status--error {
  background: rgb(179 38 30 / 7%);
  border-color: rgb(179 38 30 / 30%);
  color: #b3261e;
}

.form__note {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgb(21 24 41 / 25%);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn[aria-busy="true"] .btn__spinner { display: block; }
.btn[aria-busy="true"] svg { display: none; }

@media (min-width: 640px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.35fr 0.9fr;
    gap: 2.5rem;
  }

  .contact-grid > aside {
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
  }
}

/* ============================== 13. PROGRAM DETAIL, CAREERS, ERRORS ==== */

.prog-detail {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.prog-detail .h2 {
  max-width: 16ch;
}

.prog-detail .h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.prog-detail .h3::before {
  content: "";
  width: 1.4rem;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
}

.prog-detail__aside .contact-panel {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--on-navy);
}

.prog-detail__aside .eyebrow {
  color: var(--on-navy-soft);
}

.prog-detail__aside .form__note {
  color: var(--on-navy-soft);
}

.prog-detail__aside .btn--outline {
  border-color: rgb(245 240 231 / 30%);
  color: var(--paper);
}

.prog-detail__aside .btn--outline:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--navy);
}

.spec-list {
  display: grid;
}

.spec-list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line-invert);
  font-size: 0.9rem;
}

.spec-list > div:last-child {
  border-bottom: 0;
}

.spec-list dt {
  color: var(--on-navy-soft);
}

.spec-list dd {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--paper);
  text-align: right;
}

.module-list {
  counter-reset: module;
  display: grid;
  gap: 0.6rem;
}

.module-list li {
  counter-increment: module;
  position: relative;
  padding: 1.05rem 1.25rem 1.05rem 4rem;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.97rem;
  color: var(--ink);
  transition: border-color 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
}

.module-list li:hover {
  border-color: var(--orange);
  transform: translateX(4px);
}

.module-list li::before {
  content: counter(module, decimal-leading-zero);
  position: absolute;
  left: 1.25rem;
  top: 1.05rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--orange-ink);
}

@media (min-width: 1024px) {
  .prog-detail {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 4.5rem;
  }

  .prog-detail__aside {
    position: sticky;
    top: calc(var(--nav-h) + 1.5rem);
  }
}

.job {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  transition: box-shadow 0.35s var(--ease-smooth);
}

.job:hover {
  box-shadow: var(--shadow-soft);
}

.job__title {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.job__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  margin-top: 0.5rem;
}

/* 404 */
.error-page {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 0 var(--section-y);
  text-align: center;
  overflow: hidden;
}

.error-page .eyebrow {
  justify-content: center;
}

.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(7rem, 26vw, 18rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.07em;
  color: var(--ink);
}

.error-page__code span {
  color: var(--orange);
}

.error-page .grid--4 {
  text-align: left;
}

.error-page .card--feature {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
}

.error-page .card--feature .card__icon {
  margin: 0;
}

/* ========================================================= 14. FINALE === */

.finale {
  position: relative;
  padding-block: clamp(6rem, 13vw, 12rem);
  background: var(--navy-deep);
  color: var(--on-navy);
  overflow: hidden;
  isolation: isolate;
}

.finale__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.finale__word {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(8rem, 30vw, 30rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.07em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgb(245 240 231 / 7%);
}

.finale__glow {
  position: absolute;
  width: 70vw;
  height: 70vw;
  left: 50%;
  bottom: -46vw;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(245 79 27 / 38%), rgb(245 79 27 / 0%) 62%);
}

.finale__grid {
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 80%);
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 80%);
}

.finale__inner {
  position: relative;
  display: grid;
  gap: 2rem;
}

.finale__title {
  font-size: clamp(3.2rem, 9.6vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.062em;
  text-transform: uppercase;
  color: var(--paper);
}

/* Page-specific closing lines can run long; they step down a size. */
.finale__title--long {
  font-size: clamp(2.5rem, 6.4vw, 6.4rem);
}

.finale__side {
  display: grid;
  gap: 1.75rem;
  justify-items: start;
  max-width: 520px;
}

.finale__lede {
  font-size: 1.08rem;
  color: var(--on-navy);
}

.finale__phones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
}

.finale__phones a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--paper);
  border-bottom: 1px solid rgb(245 79 27 / 60%);
  transition: color 0.3s var(--ease-smooth);
}

.finale__phones a:hover {
  color: var(--orange);
}

.finale__float {
  display: none;
}

@media (min-width: 1024px) {
  .finale__inner {
    grid-template-columns: 1fr 440px;
    align-items: end;
    column-gap: 3rem;
  }

  .finale__inner > .meta,
  .finale__title {
    grid-column: 1 / -1;
  }

  .finale__side {
    grid-column: 2;
  }

  .finale__float {
    position: absolute;
    display: grid;
    gap: 0.3rem;
    padding: 1rem 1.2rem;
    border-radius: var(--r-md);
    color: var(--paper);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
  }

  .finale__float--a {
    right: var(--gutter);
    top: -2.5rem;
    transform: rotate(3deg);
  }

  .finale__float--b {
    left: var(--gutter);
    bottom: -3rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transform: rotate(-2deg);
  }
}

.finale__pulse {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
}

.finale__pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--orange);
  animation: hub-pulse 2.4s var(--ease-smooth) infinite;
}

/* ========================================================= 15. FOOTER === */

.footer {
  position: relative;
  padding-top: clamp(4rem, 8vw, 6.5rem);
  background: var(--navy);
  color: var(--on-navy);
  overflow: hidden;
}

.footer__top {
  display: grid;
  gap: 2.75rem 2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer__brand {
  grid-column: 1 / -1;
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.footer__about {
  max-width: 36ch;
  font-size: 0.95rem;
  color: var(--on-navy-soft);
}

.footer__contact {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-display);
}

.footer__contact a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--paper);
  width: fit-content;
}

.footer__contact a:hover {
  color: var(--orange);
}

.footer__contact span {
  font-size: 0.88rem;
  color: var(--on-navy-soft);
}

.footer__col ul {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer__col a {
  position: relative;
  font-size: 0.95rem;
  color: var(--on-navy);
  transition: color 0.3s var(--ease-smooth);
}

.footer__col a:hover {
  color: var(--paper);
}

.footer__col a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-smooth);
}

.footer__col a:hover::after {
  transform: scaleX(1);
}

.footer__slogan {
  margin-top: 3.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--paper);
  max-width: 40ch;
}

.footer__word {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 24vw;
  font-weight: 700;
  line-height: 0.76;
  letter-spacing: -0.075em;
  text-align: center;
  white-space: nowrap;
  color: var(--beige);
  opacity: 0.95;
  user-select: none;
  transform: translateY(6%);
  background: linear-gradient(180deg, var(--beige) 40%, rgb(230 213 183 / 25%));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-invert);
  font-size: 0.85rem;
  color: var(--on-navy-soft);
}

.footer__credit a {
  color: var(--paper);
  font-weight: 600;
  border-bottom: 1px solid rgb(245 79 27 / 70%);
  transition: color 0.3s var(--ease-smooth);
}

.footer__credit a:hover {
  color: var(--orange);
}

@media (min-width: 1024px) {
  .footer__top {
    grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: auto;
  }
}

/* =================================================== 16. DOCK & ASSISTANT */

.dock {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}

.dock__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 14px 30px -12px rgb(21 24 41 / 55%);
  transition: transform 0.35s var(--ease-smooth), background-color 0.3s var(--ease-smooth);
}

.dock__btn:hover {
  transform: translateY(-3px);
}

.dock__btn--wa {
  background: #25d366;
  color: #fff;
}

.dock__btn--call {
  background: var(--paper);
  color: var(--navy);
  border: 1px solid var(--line);
}

.dock__btn--chat {
  width: 58px;
  height: 58px;
  background: var(--orange);
  color: var(--navy-deep);
}

.dock__btn--top {
  width: 42px;
  height: 42px;
  background: var(--paper);
  color: var(--navy);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.9);
}

.dock__btn--top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dock__label {
  position: absolute;
  right: calc(100% + 0.65rem);
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-pill);
  background: var(--navy);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease-smooth), transform 0.25s var(--ease-smooth);
}

.dock__btn:hover .dock__label,
.dock__btn:focus-visible .dock__label {
  opacity: 1;
  transform: none;
}

.dock__btn-icon--close,
.dock__btn.is-active .dock__btn-icon--open {
  display: none;
}

.dock__btn.is-active .dock__btn-icon--close {
  display: block;
}

.dock__ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--orange);
  animation: dock-ping 2.8s ease-out infinite;
  pointer-events: none;
}

.dock__btn.is-active .dock__ping {
  display: none;
}

@keyframes dock-ping {
  0% { opacity: 0.7; transform: scale(1); }
  70%, 100% { opacity: 0; transform: scale(1.5); }
}

.assistant {
  position: fixed;
  right: 1rem;
  bottom: 5.75rem;
  z-index: 95;
  display: flex;
  flex-direction: column;
  width: min(390px, calc(100vw - 2rem));
  max-height: min(630px, calc(100vh - 8rem));
  border-radius: var(--r-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgb(21 24 41 / 50%);
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.3s var(--ease-smooth), transform 0.3s var(--ease-smooth);
}

.assistant[hidden] { display: none; }
.assistant.is-open { opacity: 1; transform: none; }

.assistant__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  background: var(--navy);
  color: var(--paper);
  flex: none;
}

.assistant__avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 13px;
  background: var(--orange);
  color: var(--navy-deep);
}

.assistant__id { flex: 1; min-width: 0; }

.assistant__title {
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--paper);
  line-height: 1.2;
}

.assistant__status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--on-navy-soft);
}

.assistant__dot {
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: #35d07f;
}

.assistant__close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  color: var(--on-navy);
  transition: background-color 0.2s var(--ease-smooth);
}

.assistant__close:hover {
  background: rgb(245 240 231 / 12%);
  color: var(--paper);
}

.assistant__log {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.msg { display: flex; max-width: 100%; }
.msg--user { justify-content: flex-end; }

.msg__body {
  max-width: 88%;
  padding: 0.72rem 0.95rem;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.msg--bot .msg__body {
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  color: var(--text);
}

.msg--user .msg__body {
  background: var(--navy);
  color: var(--paper);
  border-bottom-right-radius: 5px;
}

.msg__body p + p { margin-top: 0.6rem; }
.msg__body ul { margin-top: 0.6rem; padding-left: 1rem; list-style: disc; }
.msg__body li { margin-bottom: 0.3rem; }
.msg__body strong { color: var(--ink); }
.msg--user .msg__body strong { color: var(--paper); }

.msg__card {
  display: block;
  margin-top: 0.6rem;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: var(--beige);
  border: 1px solid transparent;
  transition: border-color 0.25s var(--ease-smooth);
}

.msg__card:hover { border-color: var(--orange); }

.msg__card-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.msg__card-meta {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: var(--text-soft);
}

.msg__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.7rem;
}

.msg__action {
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.2s var(--ease-smooth);
}

.msg__action:hover { border-color: var(--navy); }

.msg__action--wa {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.msg__action--wa:hover { color: #fff; filter: brightness(1.05); }

.typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 1.1rem;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mute);
  animation: typing-bounce 1.2s ease-in-out infinite;
}

.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.assistant__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1rem 0.5rem;
}

.assistant__chips:empty { display: none; }

.assistant__chip {
  padding: 0.42rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  transition: background-color 0.2s var(--ease-smooth), border-color 0.2s var(--ease-smooth);
}

.assistant__chip:hover {
  background: var(--orange-soft);
  border-color: var(--orange);
}

.assistant__form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--line);
  flex: none;
}

.assistant__input {
  flex: 1;
  min-width: 0;
  padding: 0.7rem 0.95rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line-strong);
  font-size: 0.9rem;
  color: var(--ink);
}

.assistant__input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgb(245 79 27 / 18%);
}

.assistant__send {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--paper);
  transition: background-color 0.2s var(--ease-smooth), color 0.2s var(--ease-smooth);
}

.assistant__send:hover {
  background: var(--orange);
  color: var(--navy-deep);
}

.assistant__foot {
  padding: 0 1rem 0.8rem;
  font-size: 0.7rem;
  text-align: center;
  color: var(--text-soft);
}

.assistant__foot a {
  font-weight: 600;
  color: var(--ink);
}

/* ================================== 17. CURSOR & PAGE TRANSITION ======== */

/*
 * Custom cursor. Created by JS only on fine pointers with motion allowed;
 * it is purely decorative (pointer-events: none) and the native cursor
 * returns over form fields.
 */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 400;
  pointer-events: none;
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  transform: translate3d(var(--cx, -100px), var(--cy, -100px), 0) translate(-50%, -50%);
  transition: width 0.35s var(--ease-smooth), height 0.35s var(--ease-smooth), background-color 0.3s var(--ease-smooth), opacity 0.3s;
  will-change: transform;
}

.cursor__label {
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--navy-deep);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s var(--ease-smooth), transform 0.35s var(--ease-smooth);
}

.cursor.is-link {
  width: 44px;
  height: 44px;
  background: rgb(245 79 27 / 22%);
}

.cursor.is-label {
  width: 88px;
  height: 88px;
  background: var(--orange);
}

.cursor.is-label .cursor__label {
  opacity: 1;
  transform: none;
}

.cursor.is-hidden {
  opacity: 0;
}

.cursor.is-down {
  width: 10px;
  height: 10px;
}

.has-cursor,
.has-cursor a,
.has-cursor button {
  cursor: none;
}

.has-cursor input,
.has-cursor textarea,
.has-cursor select,
.has-cursor [contenteditable] {
  cursor: auto;
}

/* Page transition: a navy panel with an orange line and the wordmark. */
.pt {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--paper);
  pointer-events: none;
  transform: translateY(100%);
  visibility: hidden;
}

.pt::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: var(--orange);
}

.pt__word {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  opacity: 0;
  transform: translateY(20px);
}

.pt__word i {
  width: 0.4em;
  height: 0.4em;
  border: 3px solid var(--orange);
  transform: rotate(45deg);
}

.pt.is-leaving {
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: transform 0.42s var(--ease-snap);
}

.pt.is-leaving .pt__word {
  opacity: 1;
  transform: none;
  transition: opacity 0.3s 0.15s var(--ease-smooth), transform 0.4s 0.12s var(--ease-smooth);
}

/* Cross-document view transition where the browser supports it. */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.35s;
}

/* ================================================= 18. ACCESSIBILITY === */

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.section--dark :focus-visible,
.consult :focus-visible,
.stats :focus-visible,
.finale :focus-visible,
.footer :focus-visible,
.menu :focus-visible {
  outline-color: var(--beige);
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 600;
  padding: 0.85rem 1.4rem;
  border-radius: 0 0 var(--r-sm) 0;
  background: var(--navy);
  color: var(--paper);
  font-weight: 600;
  transform: translateY(-120%);
  transition: transform 0.22s var(--ease-smooth);
}

.skip-link:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media print {
  .nav,
  .menu,
  .dock,
  .assistant,
  .cursor,
  .pt,
  .skip-link,
  .xpreview,
  .finale__bg,
  .footer__word {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  body::after {
    display: none;
  }
}

/* ======================================== 19. CMS-DRIVEN ADDITIONS ====== */

/*
 * Section themes, chosen per section in the Control Center. They re-point
 * the colour tokens locally, so every component inside follows.
 */
.theme-light {
  background: var(--paper);
}

.theme-beige {
  background: var(--beige);
}

.theme-dark {
  --ink: var(--paper);
  --text: var(--on-navy);
  --text-soft: var(--on-navy-soft);
  --slate: var(--on-navy-soft);
  --line: var(--line-invert);
  --line-strong: rgb(245 240 231 / 26%);
  --orange-ink: var(--orange);
  background: var(--navy);
  color: var(--on-navy);
}

.theme-accent {
  --ink: var(--navy-deep);
  --text: var(--navy-deep);
  --text-soft: rgb(21 24 41 / 78%);
  --slate: rgb(21 24 41 / 72%);
  --orange-ink: var(--navy-deep);
  --line: rgb(21 24 41 / 18%);
  --line-strong: rgb(21 24 41 / 32%);
  background: var(--orange);
  color: var(--navy-deep);
}

.theme-accent .meta__bar,
.theme-accent .eyebrow::before {
  background: var(--navy);
}

/* Optional hero background photograph. */
.hero__photo-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
  mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}

/* Uploaded logo in place of the drawn mark. */
.nav__logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.founder__signature {
  height: 64px;
  width: auto;
  opacity: 0.9;
}

/* Social icons (footer and mobile menu). */
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: background-color 0.3s var(--ease-smooth), color 0.3s var(--ease-smooth), border-color 0.3s var(--ease-smooth);
}

.socials a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy-deep);
}

.socials--invert a {
  border-color: var(--line-invert);
  color: var(--paper);
}

.footer__email {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: var(--on-navy) !important;
}

.footer__slogan-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.footer__slogan-row .footer__slogan {
  margin-top: 0;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.footer__legal a:hover {
  color: var(--paper);
}

/* Testimonials. */
.voices__list {
  display: grid;
  gap: 1.25rem;
}

.voice {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
}

.voice:nth-child(3n + 2) {
  background: var(--navy);
  border-color: var(--navy);
  --ink: var(--paper);
  --text: var(--on-navy);
  --text-soft: var(--on-navy-soft);
}

.voice__mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--orange);
}

.voice__quote p {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.voice__who {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: auto;
}

.voice__photo,
.voice__initial {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.voice__initial {
  display: grid;
  place-items: center;
  background: var(--beige);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
}

.voice__name {
  display: block;
  font-family: var(--font-display);
  color: var(--ink);
}

.voice__role {
  display: block;
  font-size: 0.85rem;
  color: var(--text-soft);
}

@media (min-width: 900px) {
  .voices__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Services with an optional photo, summary and link. */
.svc__media {
  margin: -0.25rem -0.25rem 0.25rem;
  border-radius: var(--r-md);
  overflow: hidden;
}

.svc__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.svc__summary {
  font-size: 0.94rem;
  color: var(--on-navy);
}

.svc__cta {
  color: var(--paper);
  justify-self: start;
}

/* Program detail: long description and gallery. */
.prog-detail__body {
  display: grid;
  gap: 1rem;
  max-width: 62ch;
}

.prog-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.prog-gallery__item {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--beige);
}

.prog-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 768px) {
  .prog-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
