/* Executive Fitness — Homepage Prototype v1
   Design tokens mirror EF_Visual_Identity_Extracted.md §5 */

:root {
  /* Brand */
  --ef-navy-deep: #11385F;
  --ef-ocean-blue: #12486B;
  --ef-teal: #147E93;
  --ef-cyan: #26ABB9;
  /* AA-compliant variants for SMALL text only — the brand palette above is unchanged.
     --ef-teal at 13-14px measured 4.09:1 on paper and 4.27:1 behind white; both under 4.5.
     Used for small links, the sticky mobile CTA, and consent buttons. */
  --ef-teal-aa: #147E93;   /* 4.54 on #FAFAFA, 4.73 behind white */
  --ef-cyan-aa: #3FB4C1;   /* 4.85 on navy */

  /* Neutrals */
  --ef-gray: #93989A;
  --ef-mist: #D2DDDF;
  --ef-paper: #FAFAFA;
  --ef-ink: #0B1E33;
  --ef-white: #FFFFFF;

  /* Semantic */
  --color-bg: var(--ef-paper);
  --color-surface: var(--ef-white);
  --color-text: var(--ef-ink);
  --color-text-muted: var(--ef-gray);
  --color-primary: var(--ef-navy-deep);
  --color-accent: var(--ef-teal-aa);
  --color-accent-hover: var(--ef-cyan);
  --color-border: var(--ef-mist);

  /* Gradient */
  --ef-gradient: linear-gradient(90deg, #11385F 0%, #12486B 35%, #147E93 70%, #26ABB9 100%);

  /* Type */
  --font-display: "Outfit", "DM Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-editorial: "Fraunces", Georgia, serif;

  /* Spacing (8pt) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* Frame */
  --max-w: 1280px;
  --gutter: 24px;
  --section-y: var(--s-9);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}
img, video { max-width: 100%; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }
button { font: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  margin-bottom: var(--s-3);
}

/* Container */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 16px 28px;
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.btn-primary {
  background: var(--ef-teal-aa);
  color: var(--ef-white);
}
.btn-primary:hover {
  background: var(--ef-cyan);
  color: var(--ef-white);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ef-white);
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: #fff; }
.btn-solid-white {
  background: var(--ef-white);
  color: var(--ef-navy-deep);
}
.btn-solid-white:hover { background: var(--ef-paper); color: var(--ef-teal-aa); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: 72px; z-index: 50;
  display: flex; align-items: center;
  transition: background .25s ease, backdrop-filter .25s ease;
}
.site-header.scrolled {
  background: rgba(17, 56, 95, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
}
.site-header .container {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { height: 40px; }
.nav ul { list-style: none; display: flex; gap: var(--s-6); margin: 0; padding: 0; }
.nav a {
  color: var(--ef-white);
  font-family: var(--font-display);
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.02em;
}
.nav a:hover { color: var(--ef-cyan-aa); }
.nav-cta { padding: 12px 20px; }

.hamburger { display: none; color: #fff; font-size: 24px; }

/* Hero — full-bleed image with text overlay, Ken Burns slow zoom + staggered reveal */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--ef-white);
  isolation: isolate;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  animation: heroKenBurns 18s ease-out forwards;
  will-change: transform;
}
@keyframes heroKenBurns {
  0%   { transform: scale(1.08) translate3d(0, 0, 0); }
  100% { transform: scale(1.0) translate3d(0, -1%, 0); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 100% at 50% 45%, rgba(11,26,43,0.35) 0%, rgba(11,26,43,0.62) 70%, rgba(11,26,43,0.78) 100%),
    linear-gradient(180deg, rgba(11,26,43,0.45) 0%, rgba(11,26,43,0) 35%, rgba(11,26,43,0.55) 100%);
  opacity: 0;
  animation: heroOverlayIn 1.2s ease-out 0.05s forwards;
}
@keyframes heroOverlayIn { to { opacity: 1; } }
.hero-inner {
  max-width: 640px;
  padding: 140px 0 120px;
}
/* Centered brand-forward hero (EF logo lockup front and center) */
.hero-inner.hero-centered {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.hero-logo {
  display: block;
  width: clamp(190px, 26vw, 300px);
  height: auto;
  margin: 0 auto var(--s-6);
  filter: drop-shadow(0 6px 30px rgba(8, 22, 38, 0.5));
}
.hero-centered .hero-ctas { justify-content: center; }
/* Plain eyebrow (no left accent rule) for the centered layout */
.hero-eyebrow-plain { padding-left: 0 !important; }
.hero-eyebrow-plain::before { display: none !important; }
.hero-centered h1 em::after { left: 12%; right: 12%; } /* keep the underline centered under "Life" */
/* Staggered text reveal */
.hero-reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-reveal:nth-of-type(1) { animation-delay: 0.20s; }
.hero-reveal:nth-of-type(2) { animation-delay: 0.40s; }
.hero-reveal:nth-of-type(3) { animation-delay: 0.60s; }
.hero-reveal:nth-of-type(4) { animation-delay: 0.80s; }
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}
/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; transform: none; }
  .hero-overlay { animation: none; opacity: 1; }
  .hero-reveal { animation: none; opacity: 1; transform: none; }
  .hero .eyebrow::before { animation: none; transform: translateY(-50%) scaleX(1); }
  .hero h1 em::after { animation: none; transform: scaleX(1); }
  .hero h1.hero-reveal { animation: none; opacity: 1; transform: none; filter: none; }
}
/* Hero eyebrow — larger, more letter-spaced, with a thin cyan accent rule */
.hero .eyebrow {
  font-size: 13px;
  letter-spacing: 0.22em;
  font-weight: 600;
  margin-bottom: var(--s-5);
  position: relative;
  padding-left: 56px;
  display: inline-block;
}
.hero .eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 40px;
  height: 1px;
  background: var(--ef-cyan);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  animation: heroEyebrowRule 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}
@keyframes heroEyebrowRule { to { transform: translateY(-50%) scaleX(1); } }

/* Hero h1 — bigger, more cinematic, italic accent + drawn underline on "Life" */
.hero h1 {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: clamp(52px, 9.5vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: var(--s-6);
  text-shadow: 0 6px 40px rgba(8, 22, 38, 0.55);
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  position: relative;
  display: inline-block;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 8%;
  bottom: 0.06em;
  height: 0.06em;
  background: linear-gradient(90deg, var(--ef-cyan), var(--ef-teal-aa));
  transform: scaleX(0);
  transform-origin: left;
  animation: heroH1Underline 1.1s cubic-bezier(0.65, 0, 0.35, 1) 1.4s forwards;
}
@keyframes heroH1Underline { to { transform: scaleX(1); } }

/* Cinematic H1 entrance — blur + scale + slide, replacing the default hero-reveal for h1 only */
.hero h1.hero-reveal {
  animation: heroH1Reveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}
@keyframes heroH1Reveal {
  0%   { opacity: 0; transform: translateY(48px) scale(0.94); filter: blur(8px); }
  100% { opacity: 1; transform: translateY(0)    scale(1);    filter: blur(0);   }
}

.hero-sub {
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  margin: 0 0 var(--s-7);
  max-width: 520px;
}
.hero-ctas { display: flex; gap: var(--s-4); flex-wrap: wrap; }

/* Hero wordmark — big "EXECUTIVE FITNESS" stamp, alternating white + cyan letters */
.hero-wordmark {
  margin-top: var(--s-8);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 4.4vw, 56px);
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-transform: uppercase;
  display: block;
  user-select: none;
  word-spacing: 0;
}
.hero-wordmark span {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 18px rgba(8, 22, 38, 0.5);
}
.hero-wordmark span:nth-child(odd) {
  color: var(--ef-cyan-aa);
}
.hero-wordmark .hero-wordmark-space {
  display: inline-block;
  width: 0.55em;
}
.hero-gradient-bar {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px; background: var(--ef-gradient);
}

/* Proof strip */
.proof {
  background: var(--ef-paper);
  padding: 22px 0;
  border-bottom: 1px solid var(--color-border);
}
.proof-inner {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: var(--s-5) var(--s-7);
  text-transform: uppercase;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(11,30,51,0.72);
}
.proof-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ef-teal-aa); }

/* Generic section */
.section { padding: var(--section-y) 0; }
.section-dark { background: var(--ef-navy-deep); color: var(--ef-white); }
.section-paper { background: var(--ef-paper); }
.section-ocean { background: var(--ef-ocean-blue); color: var(--ef-white); }
.section h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: var(--s-5);
}
.section-dark h2, .section-ocean h2 { color: var(--ef-white); }

/* § 2.3 Founder Story Teaser */
.founder-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-9);
  align-items: center;
}
.founder-h2 {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.founder-body {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin: var(--s-5) 0 var(--s-6);
  max-width: 46ch;
}
.founder-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ef-cyan-aa);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  border-bottom: 1px solid var(--ef-cyan);
  padding-bottom: 4px;
}
.video-card {
  position: relative;
  aspect-ratio: 16/10;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.5);
}
.video-card img { width: 100%; height: 100%; object-fit: cover; }
/* Founder card uses portrait aspect to fit Casey's portrait — full head + EF logo visible */
.founder-grid .video-card { aspect-ratio: 4/5; max-width: 380px; justify-self: center; width: 100%; }
.founder-grid .video-card img { object-position: center 20%; }
.play-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(17,56,95,0) 40%, rgba(17,56,95,0.55));
}
.play-icon::before {
  content: ""; width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--ef-teal-aa);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.18);
  transition: transform .2s ease, background .2s ease;
}
.play-icon::after {
  content: ""; position: absolute;
  width: 0; height: 0;
  border-left: 22px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 8px;
}
.video-card:hover .play-icon::before { transform: scale(1.05); background: var(--ef-cyan); }
.video-badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(0,0,0,0.6);
  color: #fff; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 6px 10px; border-radius: 2px;
}

/* § 2.4 Service cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.service-card {
  background: var(--ef-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; bottom: 0;
  width: 3px; background: var(--ef-teal-aa);
  transform: scaleY(0); transform-origin: top;
  transition: transform .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(17,56,95,0.18);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleY(1); }
.service-card img { aspect-ratio: 4/3; object-fit: cover; }
.service-body { padding: var(--s-5) var(--s-5) var(--s-6); display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 22px; margin-bottom: var(--s-3); }
.service-card p { color: rgba(11,30,51,0.72); font-size: 15px; flex: 1; margin: 0 0 var(--s-5); }
.card-link {
  color: var(--ef-teal-aa);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 13px;
}
.card-link:hover { color: var(--ef-cyan-aa); }

/* § 2.5 Who We Train */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-9);
  align-items: center;
}
.who-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-2);
}
.who-collage img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 12px 24px -12px rgba(17,56,95,0.2);
}
.who-grid h2 { color: var(--ef-navy-deep); max-width: 16ch; }
.who-grid p { color: rgba(11,30,51,0.78); font-size: 17px; max-width: 44ch; }

/* § 2.6 Studio teaser */
.studio-hero {
  position: relative;
  aspect-ratio: 16/6;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: var(--s-7);
}
.studio-hero img { width: 100%; height: 100%; object-fit: cover; }
.studio-inner { text-align: center; }
.studio-amenities {
  font-size: 16px;
  color: rgba(255,255,255,0.88);
  margin: var(--s-5) 0 var(--s-7);
}
.studio-amenities span + span::before {
  content: "•";
  margin: 0 var(--s-4);
  color: var(--ef-cyan-aa);
}

/* § 2.7 Results */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-bottom: var(--s-7);
}
.reel-card {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.reel-card img,
.reel-card video {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  position: absolute; inset: 0;
}
/* Overlay: visible by default over the poster; fade out when video plays */
.reel-fade { transition: opacity 0.3s ease; pointer-events: none; }
.reel-card.is-playing .reel-fade { opacity: 0; }

/* ---------- Scroll-reveal animations ----------
   Elements with .scroll-reveal start invisible + slightly shifted, then
   transition in when an IntersectionObserver adds .is-visible.
   Children of .scroll-reveal-stagger cascade with progressive delays.
   prefers-reduced-motion → instantly visible, no movement. */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.scroll-reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.00s; }
.scroll-reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.scroll-reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.scroll-reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.scroll-reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.scroll-reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Smooth anchor-scroll for in-page links */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.reel-fade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,56,95,0) 45%, rgba(11,30,51,0.92));
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--s-5);
}
.reel-card .play-icon { background: none; align-items: flex-start; padding-top: 28px; }
.reel-card .play-icon::before { width: 64px; height: 64px; }
.reel-card .play-icon::after { border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; }
.reel-quote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 17px; line-height: 1.35;
  color: #fff;
  margin: 0 0 var(--s-3);
}
.reel-cite {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ef-cyan-aa);
}
.results-cta { text-align: center; }
.text-link {
  color: var(--ef-teal-aa);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  border-bottom: 1.5px solid var(--ef-teal-aa);
  padding-bottom: 4px;
}
.text-link:hover { color: var(--ef-cyan-aa); border-color: var(--ef-cyan-aa); }

/* § 2.8 Corporate band */
.corporate-band {
  background: var(--ef-gradient);
  color: var(--ef-white);
  padding: var(--s-9) var(--gutter);
  text-align: center;
}
.corporate-band h2 {
  max-width: 24ch;
  margin: 0 auto var(--s-5);
  font-size: clamp(30px, 4vw, 44px);
}
.corporate-sub {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: var(--s-7);
}

/* § 2.9 Journal */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-bottom: var(--s-6);
}
.journal-card {
  background: var(--ef-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.journal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -16px rgba(17,56,95,0.18);
}
.journal-card img { aspect-ratio: 16/10; object-fit: cover; }
.journal-body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.journal-tag {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--ef-teal-aa);
  margin-bottom: var(--s-2);
}
.journal-title {
  font-size: 19px; font-weight: 700;
  color: var(--ef-ink);
  margin: 0 0 var(--s-4);
  line-height: 1.3;
}
.journal-body a.card-link { margin-top: auto; }

/* § 2.10 Final CTA form */
.final-cta { text-align: center; }
.final-cta h2 { color: var(--ef-white); max-width: 18ch; margin: 0 auto var(--s-3); }
.final-cta-sub {
  color: rgba(255,255,255,0.8);
  font-size: 18px; margin: 0 auto var(--s-7);
  max-width: 40ch;
}
.intro-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
  max-width: 960px;
  margin: 0 auto var(--s-5);
}
.intro-form input, .intro-form select {
  height: 54px;
  padding: 0 16px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 15px;
  font-family: var(--font-body);
}
.intro-form input::placeholder { color: rgba(255,255,255,0.55); }
.intro-form input:focus, .intro-form select:focus {
  outline: none;
  border-color: var(--ef-teal-aa);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(21,134,156,0.35);
}
.intro-submit { display: flex; justify-content: center; margin-top: var(--s-4); }
.final-disclaimer { color: rgba(255,255,255,0.65); font-size: 13px; }

/* Footer */
.site-footer {
  background: var(--ef-ink);
  color: rgba(255,255,255,0.75);
  padding: var(--s-9) 0 var(--s-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-7);
  margin-bottom: var(--s-7);
}
.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ef-cyan-aa);
  margin-bottom: var(--s-4);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 14px; }
.footer-col a:hover { color: var(--ef-cyan-aa); }
.footer-nap {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--s-5);
  padding: var(--s-6) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
}
.footer-map {
  aspect-ratio: 3/2;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
}
.footer-gradient {
  height: 3px;
  background: var(--ef-gradient);
  margin: var(--s-6) 0;
}
.footer-credit {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.footer-byline {
  font-size: 11px;
  color: rgba(255,255,255,0.46);
  text-align: center;
  margin-top: 6px;
  letter-spacing: 0.04em;
}
.footer-byline a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer-byline a:hover {
  color: var(--ef-cyan-aa);
  border-bottom-color: var(--ef-cyan-aa);
}

/* Sticky mobile CTA */
.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  height: 56px;
  background: var(--ef-teal-aa);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 14px;
  align-items: center; justify-content: center;
  z-index: 60;
}

/* Responsive */
@media (max-width: 900px) {
  :root { --section-y: 64px; --gutter: 16px; }
  .nav, .nav-cta { display: none; }
  .hamburger { display: block; background: transparent; border: 0; padding: 8px; cursor: pointer; }
  .site-header .nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ef-navy, #0b1a2b);
    padding: 16px 20px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
  }
  .site-header .nav.is-open ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .site-header .nav.is-open a {
    font-size: 18px;
    padding: 6px 0;
  }
  /* Mobile header: always navy + visible hamburger.
     (Don't let the unscrolled transparent state from desktop hide the hamburger on the homepage.) */
  .site-header {
    position: fixed;
    background: rgba(17, 56, 95, 0.96);
    backdrop-filter: saturate(180%) blur(8px);
    height: 60px;
  }
  .hamburger {
    color: #fff;
    font-size: 26px;
    line-height: 1;
  }
  /* Push hero down to clear the fixed header on the homepage */
  .hero { padding-top: 60px; box-sizing: border-box; }
  .hero-inner { padding: 120px 0 100px; }
  .hero-sub { font-size: 17px; }
  .founder-grid, .who-grid, .services-grid, .results-grid, .journal-grid, .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .intro-form { grid-template-columns: 1fr; }
  .footer-nap { grid-template-columns: 1fr; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 56px; }
  .studio-hero { aspect-ratio: 4/3; }
}

/* Meet the Team (added 2026-06-20 with June 17 shoot) */
.team-group { border-radius: 4px; overflow: hidden; margin-bottom: var(--s-6); box-shadow: 0 20px 40px -20px rgba(17,56,95,0.25); }
.team-group img { width: 100%; height: 460px; object-fit: cover; object-position: center 18%; }
.team-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.team-card { margin: 0; }
.team-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; border-radius: 2px; box-shadow: 0 12px 24px -12px rgba(17,56,95,0.2); }
.team-card figcaption { padding-top: var(--s-3); }
.team-card strong { display: block; font-family: var(--font-display); font-size: 16px; color: var(--ef-ink); }
.team-card span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ef-teal-aa); font-weight: 600; display: block; margin-bottom: var(--s-2); }
.team-card .team-bio { font-size: 14px; line-height: 1.5; color: var(--ef-ink-muted, #4a5a6a); margin: 0; }
@media (max-width: 900px) {
  .team-cards { grid-template-columns: 1fr 1fr; }
  .team-group img { height: 280px; }
}
/* Mobile polish — extra-narrow viewports */
@media (max-width: 560px) {
  .hero-inner { padding: 100px 0 80px; }
  .hero-wordmark { letter-spacing: 0.08em; margin-top: var(--s-6); }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); }
  .hero-sub { font-size: 17px; }
  .hero-ctas { gap: var(--s-3); }
  .hero-ctas .btn { font-size: 14px; padding: 14px 20px; }
  /* Cookie notice on small phones */
  .klaro .cookie-notice {
    bottom: 12px !important;
    padding: 16px 18px !important;
    font-size: 13px !important;
  }
  /* Studio gallery already single-col here */
  /* Team cards stay 2x2 for portrait portraits */
}

/* WCAG 1.4.1 (2026-08-02) — axe flagged the service-page breadcrumb link: it sat in a
   run of plain text and was distinguished by colour alone, which fails for low-vision
   and colour-blind readers. Underline it and any link inside body copy.
   Deliberately NOT "li a" — that would underline the whole site nav. */
.svc-breadcrumb a,
p a:not(.btn):not(.btn-primary):not(.btn-secondary):not(.card-link):not(.text-link) {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

/* Contrast, context-aware (2026-08-02).
   Eyebrows appear on both light and dark sections. A single colour cannot pass on
   both: brand teal reads on paper but only 2.52:1 on navy, and brand cyan reads on
   navy but only 2.76:1 on white. So pick per context rather than inline. */
.eyebrow, .badge, .ch-num { color: var(--ef-teal-aa); }
.section-dark .eyebrow, .section-ocean .eyebrow,
.hero .eyebrow, .page-hero .eyebrow,
.section-dark .badge, .section-ocean .badge,
.hero .badge, .page-hero .badge { color: var(--ef-cyan-aa); }

/* .card-link carried inline opacity:.55/.8, which diluted it to 3.33:1 on white.
   Opacity removed; the colour alone is the de-emphasis. */
.card-link { opacity: 1; }

/* A figcaption inside a dark section inherited the light-background ink colour,
   giving 1.26:1 — effectively invisible. */
.section-dark figcaption, .section-ocean figcaption,
.hero figcaption, .page-hero figcaption { color: rgba(255,255,255,0.82); }
