/* ============================================================
   Ripple Out Coaching — design tokens
   ============================================================ */
:root {
  /* color: warm, earthy, minimal — derived from brand logo + existing palette */
  --ink: #1c1815;
  --ink-soft: #5a5048;
  --ink-faint: #8a7f74;
  --cream: #f8f4ec;
  --cream-deep: #efe4d2;
  --sand: #e7d8c2;
  --white: #ffffff;
  --accent: #ff781d;
  --accent-deep: #b8501f;
  --line: rgba(28, 24, 21, 0.12);
  --line-soft: rgba(28, 24, 21, 0.07);
  --line-on-dark: rgba(255, 255, 255, 0.18);

  --shadow-soft: 0 30px 60px -30px rgba(28, 24, 21, 0.25);
  --shadow-tight: 0 10px 30px -15px rgba(28, 24, 21, 0.3);

  --container: 1240px;
  --gutter: clamp(24px, 5vw, 64px);

  /* type system: Helvetica (Manrope fallback) for headings, Montserrat for body/CTAs */
  --font-heading: "Helvetica Neue", Helvetica, "Manrope", sans-serif;
  --font-body: "Montserrat", Arial, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.7s;

  --fs-display: clamp(2.6rem, 3.4vw + 1.6rem, 5.6rem);
  --fs-h1: clamp(2.1rem, 1.8vw + 1.5rem, 3.4rem);
  --fs-h2: clamp(1.7rem, 1.1vw + 1.3rem, 2.5rem);
  --fs-h3: clamp(1.25rem, 0.5vw + 1.1rem, 1.6rem);
  --fs-lede: clamp(1.05rem, 0.4vw + 0.95rem, 1.35rem);
  --fs-body: 1.05rem;
  --fs-small: 0.9rem;
  --fs-kicker: 0.78rem;
}

/* ============================================================
   Reset
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   Layout helpers
   ============================================================ */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  position: relative;
  padding: clamp(72px, 10vw, 140px) 0;
}

.section--tight {
  padding: clamp(48px, 6vw, 88px) 0;
}

.section--alt {
  background: var(--cream-deep);
}

.section--white {
  background: var(--white);
}

.section--ink {
  background: var(--ink);
  color: var(--cream);
}

.section--ink .kicker { color: var(--accent); }
.section--ink .lede { color: rgba(248, 244, 236, 0.78); }
.section--ink .muted { color: rgba(248, 244, 236, 0.6); }
.section--ink .check-list li { color: rgba(248, 244, 236, 0.78); }
.section--ink .divider { background: var(--line-on-dark); }

.section--ink .btn--solid {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line-on-dark);
}
.section--ink .btn--solid::before { background: var(--accent); }
.section--ink .btn--solid:hover { color: var(--white); border-color: var(--accent); }

.grid {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}

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

.center { text-align: center; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4,
.display, .h1, .h2, .h3,
.kicker,
.nav-main a,
.mobile-menu nav a,
.stat .num,
.testimonial-headline,
.path-number,
.card-lede,
.footer-col h4 {
  font-family: var(--font-heading);
}

h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

.display {
  font-size: var(--fs-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
}

.display em,
.h1 em,
.h2 em {
  font-style: normal;
  color: var(--accent);
}

.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); font-weight: 500; }

@media (max-width: 680px) {
  .credentials-heading { font-size: clamp(1.4rem, 6.5vw, 1.6rem); }
}

@media (max-width: 680px) {
  .kicker--stack { flex-direction: column; align-items: center; gap: 8px; }
  .kicker--stack::before { margin-top: 0; }
}

/* CTA banners ("Ready to Take the Next Step?") drop the dash entirely, on all screen sizes */
.cta-banner .kicker--stack::before { display: none; }

.lede {
  font-size: var(--fs-lede);
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 42ch;
}

.lede--light { color: rgba(248, 244, 236, 0.78); }

.kicker {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-kicker);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  display: inline-block;
  /* centers the line on the cap-height of the first line of text,
     regardless of whether the kicker text wraps to a 2nd line */
  margin-top: calc(0.8em - 0.5px);
}

.kicker--light { color: var(--accent); }
.kicker--no-line::before { display: none; }

.eyebrow-line {
  margin-bottom: 18px;
}

p + p { margin-top: 1em; }

.prose p { margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.45s var(--ease), color 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateY(0); }

.btn--solid {
  background: var(--ink);
  color: var(--cream);
}
.btn--solid::before { background: var(--accent); }
.btn--solid:hover { color: var(--white); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: var(--cream); border-color: var(--ink); }

.btn--on-dark {
  color: var(--cream);
  border: 1px solid var(--line-on-dark);
}
.btn--on-dark::before { background: var(--accent); }
.btn--on-dark:hover { color: var(--white); border-color: var(--accent); }

.btn--ghost {
  padding: 8px 0;
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
}
.btn--ghost::before { display: none; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); transform: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}
.link-arrow svg { transition: transform 0.4s var(--ease); width: 16px; height: 16px; }
.link-arrow:hover svg { transform: translateX(6px); }

/* ============================================================
   Site Nav
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 26px 0;
  transition: padding 0.45s var(--ease-soft), background 0.45s var(--ease-soft), box-shadow 0.45s var(--ease-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(248, 244, 236, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  height: 30px;
  width: auto;
  transition: opacity 0.3s ease;
}

.brand .logo-dark { display: block; }
.brand .logo-light { display: none; }

body.theme-on-dark:not(.nav-scrolled) .brand .logo-dark { display: none; }
body.theme-on-dark:not(.nav-scrolled) .brand .logo-light { display: block; }

.nav-main {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.nav-main a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav-main a:hover::after,
.nav-main a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-main a.is-active { color: var(--accent); }

body.theme-on-dark:not(.nav-scrolled) .nav-main,
body.theme-on-dark:not(.nav-scrolled) .nav-cta {
  color: var(--cream);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 11px 24px;
  border-radius: 999px;
  border: 1px solid currentColor;
  transition: background 0.35s var(--ease-soft), color 0.35s var(--ease-soft);
}

.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.nav-assessment {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  padding: 5px 13px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-assessment:hover {
  background: var(--accent);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  z-index: 220;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s ease;
}

.nav-toggle span:nth-child(1) { width: 100%; }
.nav-toggle span:nth-child(2) { width: 70%; align-self: flex-end; }
.nav-toggle span:nth-child(3) { width: 100%; }

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); width: 100%; }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 100%; }

@media (max-width: 880px) {
  .nav-main { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-right { gap: 18px; }

  body.nav-open .site-header { background: var(--cream); }
  body.nav-open .brand .logo-dark { display: block !important; }
  body.nav-open .brand .logo-light { display: none !important; }

  .mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 190;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--gutter);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease-soft);
  }

  body.nav-open .mobile-menu {
    opacity: 1;
    visibility: visible;
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .mobile-menu a {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 400;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }

  body.nav-open .mobile-menu a {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu .mobile-assessment {
    font-size: clamp(2rem, 8vw, 3rem);
    font-weight: 400;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    color: var(--accent);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }

  body.nav-open .mobile-menu .mobile-assessment {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-menu .mobile-cta {
    font-size: 0.95rem;
    padding: 16px 32px;
    border-bottom: none;
    align-self: flex-start;
    margin-top: 32px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
    transition-delay: 0.35s;
  }

  body.nav-open .mobile-menu .mobile-cta {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu { display: none; }
@media (max-width: 880px) {
  .mobile-menu { display: flex; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.6s var(--ease-soft);
}

@media (max-width: 680px) {
  .hero-media img { object-position: 78% center; }
}

.hero.is-loaded .hero-media img { transform: scale(1); }

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 13, 0.55) 0%, rgba(20, 16, 13, 0.35) 45%, rgba(20, 16, 13, 0.78) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 80px;
}

.hero .kicker { color: var(--accent); margin-bottom: 22px; }

.hero .display {
  margin-bottom: 26px;
}

.hero-line--mobile { display: none; }

@media (max-width: 680px) {
  .hero-line--desktop { display: none; }
  .hero-line--mobile { display: inline; }
}

@media (max-width: 374px) {
  .hero .display { font-size: clamp(1.8rem, 10.5vw, 2.4rem); }
}

.hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.hero-scroll-cue span {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(248,244,236,0.9), transparent);
  display: block;
  animation: pulse-line 2.2s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 36px;
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* page header (non-home heroes, shorter) */
.page-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  color: var(--cream);
  overflow: hidden;
}

.page-hero .hero-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding-top: 140px;
  padding-bottom: 64px;
}

.page-hero--ink { background: var(--ink); }

.page-hero--img { background: var(--ink); }
.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: 85% center;
  opacity: 0.55;
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.page-hero--img .hero-content { position: relative; z-index: 1; }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-group] [data-reveal] { transition-delay: var(--d, 0s); }

/* ============================================================
   Cards
   ============================================================ */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(28px, 3vw, 40px);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-tight);
  border-color: transparent;
}

.card .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--accent);
}

.card h3 { margin-bottom: 12px; }
.card .lede { font-size: 1rem; margin-bottom: 16px; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-list li {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--ink-soft);
}

.card-lede {
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 10px;
}

.include-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-deep);
  margin-top: 22px;
  margin-bottom: 12px;
}

.include-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}

.include-list li {
  position: relative;
  padding-left: 14px;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.include-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 480px) {
  .include-list { grid-template-columns: 1fr; }
}

.path-block {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(36px, 5vw, 60px) 0;
  border-bottom: 1px solid var(--line);
}

.path-block:first-of-type { padding-top: 0; }
.path-block:last-child { border-bottom: none; padding-bottom: 0; }

.path-number {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 300;
  color: var(--accent);
  opacity: 0.32;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.path-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.path-media {
  display: flex;
  justify-content: center;
}

.path-image {
  width: 100%;
  max-width: 420px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-tight);
}

.path-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 760px) {
  .path-content {
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(32px, 5vw, 64px);
  }
  .path-media {
    justify-content: center;
    margin-top: 71px;
  }
}

@media (max-width: 600px) {
  .path-block { grid-template-columns: 1fr; gap: 12px; }
  .path-number { font-size: 2.2rem; opacity: 0.45; }
}

/* checklist */
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ============================================================
   Stats strip
   ============================================================ */
.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(32px, 6vw, 80px);
}

@media (max-width: 639px) {
  .stat-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .stat-strip .stat:last-child {
    grid-column: 1 / -1;
    text-align: left;
  }
}

.stat .num {
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  font-weight: 500;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}

.stat .label {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial-rail {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.testimonial-rail:has(.has-video) {
  max-width: 1120px;
}

.testimonial-viewport {
  overflow: hidden;
  transition: height 0.5s var(--ease-soft);
}

.testimonial-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.7s var(--ease);
}

.testimonial-slide {
  flex: 0 0 100%;
  padding-inline: clamp(0px, 2vw, 20px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .testimonial-slide.has-video {
    grid-template-columns: minmax(220px, 320px) 1fr;
    gap: clamp(24px, 4vw, 40px);
    align-items: center;
  }
  .testimonial-slide.has-video .testimonial-video { order: 1; }
  .testimonial-slide.has-video .testimonial-text { order: 2; }
}

.testimonial-text { min-width: 0; text-align: center; }

.testimonial-video {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-tight);
}

.testimonial-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-headline {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-quote {
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink-soft);
}

.testimonial-slide:not(.has-video) .testimonial-quote {
  color: var(--ink);
}

.testimonial-byline-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  margin-left: auto;
  margin-right: auto;
  max-width: 52ch;
}

@media (min-width: 640px) {
  .testimonial-slide.has-video .testimonial-text { text-align: left; }
  .testimonial-slide.has-video .testimonial-headline,
  .testimonial-slide.has-video .testimonial-quote {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }
  .testimonial-slide.has-video .testimonial-byline-row {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }
}

@media (max-width: 639px) {
  .testimonial-text {
    text-align: center;
  }
  .testimonial-quote,
  .testimonial-headline {
    text-align: center;
  }
  .testimonial-byline-row {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  /* anonymous div wrapper (home page non-video slides) */
  .testimonial-byline-row > div:not(.testimonial-person) {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  /* avatar + text layout */
  .testimonial-person {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .testimonial-avatar {
    width: 46px !important;
    height: 46px !important;
    flex-shrink: 0;
  }
  .testimonial-sep {
    display: none;
  }
  .testimonial-byline {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .testimonial-name {
    font-size: 1rem;
    text-align: center;
  }
  .testimonial-role {
    font-size: 0.88rem;
    text-align: center;
  }
  .testimonial-tag {
    text-align: center;
    display: block;
    font-size: 0.72rem;
  }
  .testimonial-dash {
    display: none !important;
  }
  .testimonial-quote-mark {
    display: none;
  }
}

.testimonial-dash {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--line);
  margin-bottom: 8px;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--ink-soft);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.testimonial-byline { font-size: 0.92rem; }
.testimonial-name { font-weight: 700; }
.testimonial-role { color: var(--ink-soft); font-weight: 400; }

.testimonial-quote-mark {
  flex-shrink: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 0.4;
  color: var(--accent);
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.testimonial-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.testimonial-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.section--ink .testimonial-arrow {
  border-color: var(--line-on-dark);
  color: rgba(248,244,236,0.6);
}

.section--ink .testimonial-arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.testimonial-counter {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.testimonial-dots {
  display: none !important;
}

.testimonial-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.3s ease, transform 0.3s ease;
}

.testimonial-dots button.is-active {
  background: var(--accent);
  transform: scale(1.3);
}

/* dark-section variant */
.section--ink .testimonial-slide:not(.has-video) .testimonial-quote,
.section--ink .testimonial-quote {
  color: rgba(248, 244, 236, 0.78);
}
.section--ink .testimonial-role { color: rgba(248, 244, 236, 0.6); }
.section--ink .testimonial-counter { color: rgba(248, 244, 236, 0.6); }
.section--ink .testimonial-dots button { background: var(--line-on-dark); }
.section--ink .testimonial-dash { background: var(--line-on-dark); }

/* ============================================================
   Split / media-text sections
   ============================================================ */
.split {
  display: grid;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--reverse { direction: rtl; }
  .split--reverse > * { direction: ltr; }
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 4 / 5;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.media-frame:hover img { transform: scale(1.05); }

.media-frame--wide { aspect-ratio: 16 / 10; }

.icf-credential {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: 0.78rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.5;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s, color 0.2s;
}
.icf-credential:hover {
  opacity: 1;
  color: var(--accent);
}
.media-frame--square { aspect-ratio: 1 / 1; }

@media (max-width: 899px) {
  /* on mobile, landscape frames revert to portrait so stacked photos don't feel too flat */
  .media-frame--wide { aspect-ratio: 4 / 3; }
  /* inline aspect-ratio overrides reset to a sensible portrait on mobile */
  .media-frame[style*="aspect-ratio"] { aspect-ratio: 4 / 3 !important; }
}

.media-frame--full {
  aspect-ratio: auto;
}
.media-frame--full img {
  height: auto;
  object-fit: initial;
}

.media-frame .ring-deco {
  position: absolute;
  width: 130px;
  height: 130px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  bottom: -40px;
  right: -40px;
  opacity: 0.5;
}

/* ============================================================
   Section header
   ============================================================ */
.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 72px);
}

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

/* ============================================================
   Banner / CTA
   ============================================================ */
/* ── FAQ ── */
.faq-list { margin-top: 48px; }

.faq-item {
  border-top: 1px solid var(--line);
  padding: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.15rem);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-answer p {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}
.faq-answer strong { color: var(--ink); }

.cta-banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: clamp(56px, 8vw, 110px) clamp(28px, 6vw, 80px);
  text-align: center;
  color: var(--cream);
}

.cta-banner .bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-banner .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,16,13,0.5), rgba(20,16,13,0.82));
}

.cta-banner .inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner .h2 { margin-bottom: 20px; }
.cta-banner .lede--light { margin: 0 auto 36px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--cream-deep);
  padding: clamp(56px, 7vw, 90px) 0 32px;
}

.footer-top {
  display: grid;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-on-dark);
}

@media (min-width: 760px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-brand img { height: 28px; margin-bottom: 18px; }
.footer-brand p { color: var(--ink-faint); max-width: 32ch; }

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-col a, .footer-col p {
  display: block;
  margin-bottom: 10px;
  color: var(--cream-deep);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--cream-deep); }
.footer-social a:hover { color: var(--accent); }

/* ============================================================
   Forms (Apply page)
   ============================================================ */
.form-field {
  margin-bottom: 26px;
}

.form-field label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  color: var(--ink-soft);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 15px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 1.05rem;
  transition: border-color 0.3s ease;
}

.form-field textarea { resize: vertical; min-height: 90px; }

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-grid {
  display: grid;
  gap: 0 32px;
}

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

.range-field {
  display: flex;
  align-items: center;
  gap: 16px;
}

.range-field input[type="range"] {
  flex: 1;
  accent-color: var(--accent);
}

.range-value {
  font-weight: 600;
  color: var(--accent-deep);
  min-width: 28px;
  text-align: right;
}

/* ============================================================
   Logo grid
   ============================================================ */
.logo-grid-title {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: clamp(28px, 4vw, 44px);
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5vw, 64px);
}

.logo-grid img {
  height: 34px;
  width: auto;
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.logo-grid img:hover {
  opacity: 1;
}

/* ============================================================
   Misc utilities
   ============================================================ */
.muted { color: var(--ink-soft); }

/* desktop-only alignment nudge for images paired with text columns;
   collapses to 0 on mobile so stacked columns don't get stray gaps */
.align-offset { margin-top: 0; }
@media (min-width: 900px) {
  .align-offset { margin-top: var(--offset, 0px); }
}

.tagline-quote {
  font-size: 1.08rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  color: var(--accent-deep);
  border-left: 2px solid var(--accent);
  padding-left: 18px;
}

.section--ink .tagline-quote { color: var(--accent); }
.on-dark { color: var(--cream); }
.divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: clamp(48px, 6vw, 88px) 0;
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.badge-row img {
  height: 64px;
  width: auto;
  border-radius: 10px;
}

.ratio-note {
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 999;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease);
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .cursor-dot { display: block; }
}

.cursor-dot.is-active {
  width: 28px;
  height: 28px;
  background: var(--accent);
  opacity: 0.55;
}

/* count-up targets just reuse .num */
