/* ==========================================================================
   COACHING WEBSITE DESIGN SYSTEM
   Palette: olenaalaimo.com  ·  Style: editorial (Anna Schmidt template)
   Fonts: Playfair Display (display/serif) + Inter (body/UI)
   Both fonts: Google Fonts, SIL Open Font License — free for commercial use.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Colors — extracted from reference 1 */
  --color-cream:        #F4F1EA;  /* main background */
  --color-cream-dark:   #EAE4D8;  /* alternate background / borders */
  --color-ink:          #111C2E;  /* deep navy: headlines, dark sections, buttons */
  --color-ink-soft:     #1C2A42;  /* navy hover / cards on dark */
  --color-charcoal:     #2D3138;  /* body text */
  --color-gold:         #B08D57;  /* accent: stats, hovers, highlights */
  --color-gold-tint:    #EFE7D9;  /* gold-tinted section background */
  --color-slate:        #62758D;  /* dusty slate blue — approach, reviews, footer */
  --color-white:        #FFFFFF;

  /* On-dark text */
  --color-text-on-dark:       #F4F1EA;
  --color-text-on-dark-muted: rgba(244, 241, 234, 0.68);

  /* Muted text on light */
  --color-text-muted: #6B7280;

  /* Typography */
  --font-display: "Playfair Display", "Georgia", serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Type scale (fluid) */
  --text-hero:    clamp(3rem, 9vw, 10.5rem);      /* oversized editorial name, sized to fit viewport */
  --text-display: clamp(2.5rem, 6vw, 4.5rem);     /* section display titles */
  --text-h1:      clamp(2.25rem, 4.5vw, 3.75rem);
  --text-h2:      clamp(1.75rem, 3.2vw, 2.75rem);
  --text-h3:      clamp(1.25rem, 2vw, 1.625rem);
  --text-lead:    1.1875rem;
  --text-body:    1rem;
  --text-small:   0.875rem;
  --text-eyebrow: 0.8125rem;
  --text-marquee: clamp(4rem, 10vw, 9rem);

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

  /* Radii */
  --radius-pill: 999px;
  --radius-btn: 6px;
  --radius-card: 28px;
  --radius-photo: 18px;
  --radius-input: 10px;

  /* Shadows */
  --shadow-card: 0 12px 40px rgba(17, 28, 46, 0.07);
  --shadow-card-hover: 0 18px 52px rgba(17, 28, 46, 0.12);

  /* Layout */
  --container: 1200px;
  --container-wide: 1400px;
}

/* --------------------------------------------------------------------------
   2. BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

/* Applied by script once the page has loaded. Setting this on the initial
   render makes the browser abandon the jump to a #hash target and stay at the
   top of the page. */
html.is-loaded {
  scroll-behavior: smooth;
}

/* Hide the incoming language page until it has been scrolled to the same
   section. Without this, the browser paints the hero at the top for a frame
   and the photo appears to glitch, then jumps down. */
html.js-pending-scroll {
  opacity: 0;
}

/* Keep shared photos on screen while UA / RU / EN pages swap. */
@view-transition {
  navigation: auto;
}

::view-transition-old(hero-photo),
::view-transition-new(hero-photo),
::view-transition-old(story-photo),
::view-transition-new(story-photo) {
  animation-duration: 0.01s;
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}

section[id] { scroll-margin-top: 5.75rem; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-charcoal);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  line-height: 1.12;
  margin: 0 0 var(--space-4);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

p { margin: 0 0 var(--space-4); }

a { color: var(--color-ink); }

/* height:auto keeps the width/height attributes acting as an aspect-ratio hint
   (which reserves space and prevents layout shift) instead of a fixed height */
img { max-width: 100%; height: auto; display: block; }

/* Italic serif accent inside uppercase headlines */
.accent-italic {
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  color: var(--color-gold);
}

/* Eyebrow label */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.eyebrow--slate { color: var(--color-slate); }

.lead {
  font-size: var(--text-lead);
  line-height: 1.65;
}

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

/* --------------------------------------------------------------------------
   3. LAYOUT HELPERS
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 4rem);
}

.container--wide { max-width: var(--container-wide); }

.section { padding: var(--space-9) 0; }

.section--navy {
  background: var(--color-ink);
  color: var(--color-text-on-dark-muted);
}
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 {
  color: var(--color-text-on-dark);
}

.section--gold-tint { background: var(--color-gold-tint); }
.section--white { background: var(--color-white); }
.section--reviews { background: #F4F1EB; }

.section--slate {
  background: var(--color-slate);
  color: rgba(244, 241, 234, 0.82);
}
.section--slate h1, .section--slate h2, .section--slate h3, .section--slate h4 {
  color: var(--color-text-on-dark);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

/* 2x2 card grid (for 4 services / 4 areas) */
.grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2,
  #about .grid-2 { grid-template-columns: 1fr; gap: var(--space-6); }
  .grid-2x2 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-align: center;
  padding: 1em 2em;
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  width: max-content;
  max-width: 100%;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--color-ink);
  color: var(--color-cream);
}
.btn--primary:hover { background: var(--color-gold); color: var(--color-ink); }

.btn--gold {
  background: var(--color-gold);
  color: var(--color-ink);
}
.btn--gold:hover { background: var(--color-ink); color: var(--color-cream); }

.btn--outline {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-ink);
}
.btn--outline:hover { background: var(--color-ink); color: var(--color-cream); }

.btn--light {
  background: var(--color-cream);
  color: var(--color-ink);
}
.btn--light:hover { background: var(--color-gold); color: var(--color-ink); }

.btn--ghost {
  background: transparent;
  color: var(--color-cream);
  border-color: rgba(244, 241, 234, 0.55);
}
.btn--ghost:hover {
  background: var(--color-cream);
  color: var(--color-ink);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-4);
}

.social-icons a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 234, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cream);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.social-icons a:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(176, 141, 87, 0.12);
}

.social-icons svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

/* Text link with arrow */
.link-arrow {
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--color-gold);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}
.link-arrow::after { content: " →"; color: var(--color-gold); }
.link-arrow:hover { color: var(--color-gold); }

/* --------------------------------------------------------------------------
   5. BADGES
   -------------------------------------------------------------------------- */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45em 1.2em;
  border-radius: var(--radius-pill);
  background: var(--color-slate);
  color: var(--color-white);
}

.badge--gold {
  background: var(--color-gold);
  color: var(--color-cream);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.badge--outline {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-ink);
}
.badge--cream { background: var(--color-cream); color: var(--color-ink); }

/* --------------------------------------------------------------------------
   6. HEADER / NAV
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-cream-dark);
}

.site-header__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: var(--space-4) clamp(1.5rem, 6vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: nowrap;
}

.site-header__logo {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--color-ink);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.1;
}

.site-header__logo span { color: var(--color-gold); }

/* small letterspaced line under the logo, like "CAREER CONSULTING" */
.site-header__logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-slate);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(0.75rem, 1.4vw, 2rem);
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-charcoal);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.site-nav a:hover { color: var(--color-gold); }

/* Dark header variant (kept for pages with dark hero directly under it) */
.site-header--dark {
  background: var(--color-ink);
  border-bottom-color: rgba(244, 241, 234, 0.12);
}
.site-header--dark .site-header__logo { color: var(--color-cream); }
.site-header--dark .site-nav a { color: var(--color-text-on-dark-muted); }
.site-header--dark .site-nav a:hover { color: var(--color-gold); }

@media (max-width: 1100px) {
  .site-nav { display: none; }
}

.site-nav__cta { display: none; }

/* Language switcher — always visible, including on mobile */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  margin-left: auto;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lang-switch a {
  padding: 6px 8px;
  color: var(--color-slate);
  text-decoration: none;
  border-radius: var(--radius-btn);
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-switch a:hover { color: var(--color-gold); }

.lang-switch a[aria-current="true"] {
  color: var(--color-ink);
  background: var(--color-gold-tint);
}

.site-header__cta {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .lang-switch { margin-left: auto; }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  border-radius: 1px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. HERO — full-bleed navy band, photo blending into the background
   -------------------------------------------------------------------------- */
.hero-band {
  background: var(--color-ink);
  color: var(--color-text-on-dark-muted);
  overflow: hidden;
}

.hero-band__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: var(--space-8) clamp(1.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-8);
  align-items: center;
}

.hero-band__photo {
  position: relative;
  max-width: 420px;
  width: 100%;
  aspect-ratio: 4 / 5;
}

.hero-band__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--radius-photo);
  view-transition-name: hero-photo;
}

.hero-band__content {
  padding: 0;
  max-width: 560px;
}

.hero-band__content h1 {
  color: var(--color-text-on-dark);
  font-size: var(--text-h1);
  font-weight: 500;
  margin-bottom: var(--space-5);
}

.hero-band__content .lead {
  color: var(--color-text-on-dark-muted);
  margin-bottom: var(--space-6);
}

@media (max-width: 900px) {
  .hero-band__inner {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }
}

/* --------------------------------------------------------------------------
   7b. NARRATIVE / PROSE — long-form story blocks
   -------------------------------------------------------------------------- */
.prose {
  max-width: 620px;
  min-width: 0;
}

.prose p {
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-charcoal);
}

.pullquote {
  border-left: 2px solid var(--color-gold);
  padding: var(--space-2) 0 var(--space-2) var(--space-5);
  margin: var(--space-6) 0;
  font-size: 1.1875rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--color-ink);
}

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

.callout {
  border-left: 2px solid var(--color-gold);
  background: none;
  padding: var(--space-2) 0 var(--space-2) var(--space-5);
  margin: var(--space-6) 0;
  border-radius: 0;
}

.callout p {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-charcoal);
  margin-bottom: var(--space-4);
}

.callout p:last-child { margin-bottom: 0; }

/* Long-form legal pages */
.legal {
  max-width: 720px;
  margin: 0 auto;
}

.legal h1 { margin-bottom: var(--space-4); }

.legal h2 {
  font-size: 1.375rem;
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
}

.legal .lead { margin-bottom: var(--space-3); }

.legal__meta {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.legal ul {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-5);
  color: var(--color-charcoal);
  line-height: 1.7;
}

.legal li { margin-bottom: var(--space-2); }

.legal li::marker { color: var(--color-gold); }

.legal a {
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-gold);
}

.legal a:hover { color: var(--color-gold); }

.prose .callout__lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-ink);
  margin-bottom: var(--space-4);
}

.divider {
  border: none;
  border-top: 1px solid var(--color-cream-dark);
  margin: var(--space-8) 0;
}

/* --------------------------------------------------------------------------
   7c. NUMBERED HAIRLINE LIST — quiet alternative to cards
   -------------------------------------------------------------------------- */
.list-numbered { margin: 0; padding: 0; list-style: none; }

.list-numbered li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-cream-dark);
}

.list-numbered li:last-child { border-bottom: 1px solid var(--color-cream-dark); }

.list-numbered .num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-gold);
  line-height: 1.2;
}

.list-numbered h3 { font-size: 1.25rem; margin-bottom: var(--space-2); }
.list-numbered p { margin: 0; color: var(--color-text-muted); }

.section--slate .list-numbered li,
.section--navy .list-numbered li { border-color: rgba(244, 241, 234, 0.18); }
.section--navy .list-numbered p,
.section--slate .list-numbered p { color: var(--color-text-on-dark-muted); }

.approach-methods {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.approach-methods li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-4);
  align-items: start;
  background: var(--color-cream);
  border: none;
  border-radius: var(--radius-card);
  padding: var(--space-5);
}

.approach-methods .num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-gold);
  line-height: 1.2;
}

.approach-methods h3 {
  font-size: 1.25rem;
  color: var(--color-ink);
  margin-bottom: var(--space-2);
}

.approach-methods p {
  margin: 0;
  color: var(--color-charcoal);
}

/* --------------------------------------------------------------------------
   7d. REVIEWS
   -------------------------------------------------------------------------- */
.reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.reviews-head__text { max-width: 640px; }

.avatar-circle--lg {
  width: 128px;
  height: 128px;
  flex-shrink: 0;
  border: 3px solid var(--color-gold);
}

@media (max-width: 700px) {
  .reviews-head { flex-direction: column; align-items: flex-start; }
}

.reviews {
  columns: 3;
  column-gap: var(--space-5);
}

/* the middle column sits lower for a staggered, tiled feel */
.reviews > .review:nth-child(2) { --review-offset: 64px; }

.review {
  background: var(--color-white);
  border: none;
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  position: relative;
  break-inside: avoid;
  margin-bottom: var(--space-5);
  transform: translateY(var(--review-offset, 0px));
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.review:hover {
  transform: translateY(calc(var(--review-offset, 0px) - 4px));
  box-shadow: var(--shadow-card-hover);
}

.review__lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.6vw, 1.5rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-ink);
  margin-bottom: var(--space-5);
}

.review p {
  color: var(--color-charcoal);
  margin-bottom: var(--space-4);
}

.review p:last-of-type { margin-bottom: var(--space-5); }

.review__shifts {
  margin: 0 0 var(--space-5);
  padding: 0;
  list-style: none;
}

.review__shifts li {
  position: relative;
  padding: var(--space-3) 0 var(--space-3) var(--space-5);
  border-top: 1px solid var(--color-cream-dark);
  color: var(--color-charcoal);
}

.review__shifts li:last-child { border-bottom: 1px solid var(--color-cream-dark); }

.review__shifts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 8px;
  height: 1.5px;
  background: var(--color-gold);
}

.review__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.review__avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.review__avatar--letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold-tint);
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1;
}

.review__person {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.review__name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-ink);
}

.review__role {
  font-size: var(--text-small);
  color: var(--color-text-muted);
}

@media (max-width: 1000px) {
  .reviews { columns: 2; }
}

@media (max-width: 700px) {
  .reviews { columns: 1; }
  .reviews > .review:nth-child(2) { --review-offset: 0px; }
}

/* --------------------------------------------------------------------------
   7e. QUALIFICATION CARDS
   -------------------------------------------------------------------------- */
.qual-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-bottom: var(--space-8);
  align-items: stretch;
}

.qual-card {
  background: var(--color-gold-tint);
  border: none;
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}

.qual-card h3 {
  font-size: 1.375rem;
  color: var(--color-ink);
  margin-bottom: var(--space-5);
}

.qual-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.qual-card li {
  position: relative;
  padding: var(--space-3) 0 var(--space-3) var(--space-5);
  border-top: 1px solid var(--color-cream-dark);
  color: var(--color-charcoal);
}

.qual-card li:last-child {
  border-bottom: 1px solid var(--color-cream-dark);
}

.qual-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 8px;
  height: 1.5px;
  background: var(--color-gold);
}

@media (max-width: 900px) {
  .qual-cards { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   8. MARQUEE SECTION TITLE
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: var(--space-6) 0;
}

.marquee__track {
  display: inline-block;
  animation: marquee-scroll 28s linear infinite;
}

.marquee__text {
  font-family: var(--font-display);
  font-size: var(--text-marquee);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-ink);
  padding-right: 0.6em;
}

.marquee--on-dark .marquee__text { color: var(--color-cream); }
.marquee--outline .marquee__text {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-gold);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   9. CARDS
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-white);
  border: none;
  border-radius: var(--radius-card);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Service card */
.card--service {
  background: var(--color-white);
}

.card--service .card__number {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 500;
  color: var(--color-ink);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.card--service h3 { margin-bottom: var(--space-3); }

.card--service p {
  color: var(--color-charcoal);
  margin-bottom: var(--space-5);
}

/* Testimonial card */
.card--testimonial .card__stars {
  color: var(--color-gold);
  font-size: 1.1rem;
  letter-spacing: 0.35em;
  margin-bottom: var(--space-4);
}

.card--testimonial .card__quote-title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-ink);
  line-height: 1.3;
  margin-bottom: var(--space-3);
}

.card--testimonial .card__quote {
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.card--testimonial .card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-style: italic;
  font-size: var(--text-small);
  color: var(--color-charcoal);
}

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

/* Dark card (for navy sections) */
.card--dark {
  background: var(--color-ink-soft);
  box-shadow: none;
}
.card--dark h3, .card--dark .card__quote-title { color: var(--color-text-on-dark); }
.card--dark p, .card--dark .card__quote { color: var(--color-text-on-dark-muted); }
.card--dark .card__author { color: var(--color-text-on-dark-muted); }

/* --------------------------------------------------------------------------
   10. STATS
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat__label {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  max-width: 22ch;
  margin: 0 auto;
}

.stats--on-dark .stat__label { color: var(--color-text-on-dark-muted); }

.stats > * + * { border-left: 1px solid var(--color-cream-dark); }
.section--navy .stats > * + * { border-left-color: rgba(244, 241, 234, 0.15); }

@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr; }
  .stats > * + * { border-left: none; border-top: 1px solid var(--color-cream-dark); padding-top: var(--space-5); }
}

/* --------------------------------------------------------------------------
   11. FORMS
   -------------------------------------------------------------------------- */
.form-label {
  display: block;
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-ink);
  margin-bottom: var(--space-2);
}

.input {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-charcoal);
  background: var(--color-white);
  border: 1.5px solid var(--color-cream-dark);
  border-radius: var(--radius-input);
  padding: 0.85em 1.1em;
  transition: border-color 0.2s ease;
}

.input:focus {
  outline: none;
  border-color: var(--color-gold);
}

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

textarea.input { resize: vertical; min-height: 120px; }

/* Inline newsletter form: input + pill button */
.form-inline {
  display: flex;
  gap: var(--space-3);
}
.form-inline .input { border-radius: var(--radius-btn); }
@media (max-width: 600px) { .form-inline { flex-direction: column; } }

/* --------------------------------------------------------------------------
   12. PHOTO TREATMENTS
   -------------------------------------------------------------------------- */
.photo-rounded {
  border-radius: var(--radius-photo);
  object-fit: cover;
}

.about-photo {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 880 / 1564;
  height: auto;
  position: sticky;
  top: 110px;
  view-transition-name: story-photo;
}

#about .grid-2 {
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 4rem);
}

.areas-intro {
  position: sticky;
  top: 110px;
}

.photo-arch {
  border-radius: var(--radius-pill) var(--radius-pill) var(--radius-photo) var(--radius-photo);
  object-fit: cover;
}

.avatar-circle {
  width: 104px;
  height: 104px;
  min-width: 104px;
  min-height: 104px;
  flex-shrink: 0;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.heading-with-avatar {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.heading-with-avatar h2 { margin-bottom: 0; }

.heading-with-avatar .eyebrow { margin-bottom: var(--space-2); }

/* --------------------------------------------------------------------------
   12b. CERTIFICATE MARQUEE
   -------------------------------------------------------------------------- */
.cert-marquee {
  --cert-gap: 48px;
  overflow: hidden;
  margin-top: var(--space-6);
  padding: 40px 0 48px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

.cert-marquee__track {
  display: flex;
  width: max-content;
  animation: cert-marquee-scroll 50s linear infinite;
}

.cert-marquee:hover .cert-marquee__track {
  animation-play-state: paused;
}

.cert-marquee__set {
  display: flex;
  align-items: center;
  gap: var(--cert-gap);
  padding-right: var(--cert-gap);
}

.cert-marquee img {
  height: 150px;
  width: auto;
  max-width: none;
  display: block;
  flex: 0 0 auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.35s ease;
}

.cert-marquee img:hover {
  transform: scale(1.28) translateY(-18px);
  position: relative;
  z-index: 2;
}

@keyframes cert-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 700px) {
  .cert-marquee img {
    height: 110px;
    border-radius: 8px;
  }
  .cert-marquee { --cert-gap: 28px; padding: 28px 0 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .cert-marquee__track { animation: none; }
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-cream);
  color: var(--color-charcoal);
  padding: var(--space-8) 0 var(--space-6);
  border-top: 1px solid var(--color-cream-dark);
}

.site-footer h4 {
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.site-footer a {
  color: var(--color-charcoal);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover { color: var(--color-gold); }

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--color-cream-dark);
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-ink);
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding-top: var(--space-5);
  font-size: 0.8125rem;
}

.site-footer li { list-style: none; margin-bottom: var(--space-2); }
.site-footer ul { margin: 0; padding: 0; }

@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; }
}

@media (max-width: 600px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   14. MOBILE
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }

  .site-header {
    padding-top: env(safe-area-inset-top);
  }

  .site-header__inner {
    padding: var(--space-3) var(--space-4);
    gap: var(--space-3);
  }

  .site-header__logo { font-size: 1.2rem; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-3) var(--space-4) var(--space-5);
    background: var(--color-cream);
    border-bottom: 1px solid var(--color-cream-dark);
    box-shadow: var(--shadow-card);
  }

  body.nav-open { overflow: hidden; }
  body.nav-open .site-nav { display: flex; }

  .site-nav a {
    font-size: 1.125rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    border-bottom: 1px solid var(--color-cream-dark);
  }

  .site-nav__cta {
    display: flex;
    margin-top: var(--space-3);
    justify-content: center;
    width: auto;
    align-self: center;
    background: var(--color-ink);
    color: var(--color-cream);
    border-bottom: none;
    border-radius: var(--radius-btn);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: none;
  }
}

@media (max-width: 900px) {
  .section { padding: var(--space-7) 0; }
  .container { padding: 0 clamp(1.25rem, 5vw, 2rem); }

  .about-photo,
  .areas-intro {
    position: static;
    top: auto;
    max-width: 100%;
  }

  .hero-band__inner {
    padding: var(--space-6) var(--space-4);
  }

  .hero-band__photo {
    order: 2;
    max-width: none;
    margin-top: var(--space-5);
  }

  .hero-band__content { padding: var(--space-2) 0 0; }
}

@media (max-width: 700px) {
  .site-header__cta { display: none; }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .avatar-circle {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
  }

  .heading-with-avatar { gap: var(--space-3); }

  .list-numbered li {
    grid-template-columns: 48px 1fr;
    gap: var(--space-3);
    padding: var(--space-4) 0;
  }

  .approach-methods li {
    grid-template-columns: 48px 1fr;
    padding: var(--space-4);
  }

  .card { padding: var(--space-5); }

  .qual-card { padding: var(--space-5); }
}

@media (max-width: 480px) {
  .site-header__logo small { letter-spacing: 0.18em; }
}
