/* =====================================================
   Dr Zaf — Elite Sports Medicine
   ===================================================== */

/* ---- Self-hosted body font: Homepage Baukasten ---- */
@font-face {
  font-family: "Homepage Baukasten";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/HomepageBaukasten-Book.woff2") format("woff2"),
       url("assets/fonts/HomepageBaukasten-Book.ttf") format("truetype");
}
@font-face {
  font-family: "Homepage Baukasten";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/HomepageBaukasten-Bold.woff2") format("woff2"),
       url("assets/fonts/HomepageBaukasten-Bold.ttf") format("truetype");
}

:root {
  /* ---- Palette (from brief) ---- */
  --gold:       #BA9546;
  --maroon:     #362626;
  --black:      #1A1A1A;
  --grey:       #545F67;
  --green:      #32493B;
  --light-grey: #929292;
  --paper:      #FBFAF7;
  --line:       #E4E0D7;

  /* ---- Type ---- */
  --serif: "Big Caslon", "BigCaslon", "Playfair Display", "Hoefler Text", Georgia, serif;
  --script: "Great Vibes", "Snell Roundhand", cursive;
  --sans:  "Homepage Baukasten", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:  "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --maxw: 1120px;
}

/* ---- Reset-ish ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }   /* offset anchor jumps for the fixed header */
body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Full-bleed container: spans the viewport with the same edge gutter as the
   services panel (clamp(1.5rem, 5vw, 5rem)), so nothing is boxed-in on wide screens. */
.wrap { width: 100%; padding: 0 clamp(1.5rem, 5vw, 5rem); }
.mono { font-family: var(--mono); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Every primary section fills the viewport, content vertically centered. */
.section-fill {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.5px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--gold);
  margin: 0 0 1rem;
}

/* ---- Buttons ---- */
.btn {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
  transition: opacity .2s ease, background .2s ease;
}
.btn-nav {
  background: var(--gold);
  color: var(--black);
  padding: 0.55rem 1.1rem;
  border-radius: 4px;
}
.btn-nav:hover { opacity: 0.88; }

/* =====================================================
   LIQUID-GLASS BADGE  (hero + contact)
   Warps the backdrop via the #glass-distort SVG filter.
   ===================================================== */
.glass-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  border-radius: 32px;
  overflow: hidden;
  isolation: isolate;                 /* contain the screen blend to the badge */
  --mx: 50%; --my: 6%;                /* specular highlight position (set by JS) */
  /* url() displacement warps the image below (Chromium). The other filters are the
     graceful fallback where url()-in-backdrop-filter isn't supported (Safari). */
  -webkit-backdrop-filter: blur(3px) brightness(1.08) saturate(1.3);
  backdrop-filter: url(#glass-distort) blur(2px) brightness(1.08) saturate(1.3);
  background: linear-gradient(135deg, rgba(255,255,255,.20), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.42);
  box-shadow:
    inset 0 1.5px 1px rgba(255,255,255,.78),   /* bright top rim */
    inset 0 -10px 22px rgba(0,0,0,.22),         /* inner shade for depth */
    0 18px 50px rgba(0,0,0,.32);                /* cast shadow — floats above content */
}
.glass-badge::before {   /* motion-responsive specular highlight — tracks the pointer */
  content: "";
  position: absolute; inset: 0; z-index: 2;
  border-radius: inherit;
  background: radial-gradient(58% 58% at var(--mx) var(--my),
              rgba(255,255,255,.62), rgba(255,255,255,0) 65%);
  mix-blend-mode: screen;
  pointer-events: none;
  transition: background .08s linear;
}
.glass-badge::after {    /* fixed edge sheen sweep */
  content: "";
  position: absolute; inset: 0; z-index: 2;
  border-radius: inherit;
  background: linear-gradient(130deg, transparent 34%, rgba(255,255,255,.26) 50%, transparent 66%);
  pointer-events: none;
}
.glass-mark {
  position: relative; z-index: 3;
  width: 64%;
  height: 64%;
  object-fit: contain;
  opacity: .96;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.30));
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  padding: 1.4rem 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
/* Both headers gain a solid brand bar once the page is scrolled */
.site-header.is-stuck, .exp-header.is-stuck {
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, .10);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  padding-top: .85rem; padding-bottom: .85rem;
}
.exp-header.is-stuck::before { display: none; }   /* solid bar replaces the scrim */
/* On the white bar: dark nav links + swap to the dark logo */
.site-header.is-stuck .nav > a:not(.btn),
.exp-header.is-stuck .exp-nav > a:not(.btn),
.about-page .exp-header.is-stuck .exp-nav > a:not(.btn) { color: var(--green); }
.is-stuck .brand-logo--light, .is-stuck .exp-brand-logo--light { display: none; }
.is-stuck .brand .brand-logo--dark, .is-stuck .exp-brand .exp-brand-logo--dark { display: block; }
.is-stuck .exp-brand-logo { filter: none; }   /* no drop shadow on the white bar */
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; }
.brand-logo { height: 40px; width: auto; }
.brand .brand-logo--dark, .exp-brand .exp-brand-logo--dark { display: none; }   /* shown only on the white stuck bar */
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav > a:not(.btn) { color: #fff; font-size: 0.85rem; }
.nav > a:not(.btn):hover { color: var(--gold); }
/* Hamburger toggle — visible on mobile only (both header types) */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--gold); padding: .4rem; margin-left: auto;
}
/* Over the full-bleed hero images (experience + story pages): white icon with a
   soft shadow so it reads on light or dark areas of the photo. */
.exp-page .nav-toggle, .about-page .nav-toggle { color: #fff; }
.exp-page .nav-toggle svg, .about-page .nav-toggle svg { filter: drop-shadow(0 1px 4px rgba(0,0,0,.6)); }
.is-stuck .nav-toggle, .menu-open .nav-toggle { color: var(--green); }
.is-stuck .nav-toggle svg { filter: none; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: fixed;              /* stays put — the page scrolls up over it */
  top: 0; left: 0; right: 0;
  height: 88vh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;         /* content sits at the bottom-left */
  justify-content: flex-start;
  color: #fff;
  overflow: hidden;
  z-index: 0;
  background: #141414;          /* shows while the image fades in */
}
.hero-media {
  position: absolute; inset: 0;
  background: #2b2b2b url("assets/images/hero-gerrard.webp") center 28% / cover no-repeat;
  will-change: transform, opacity;
  animation: heroImgIn 1.4s ease both;   /* fade in on load */
}
/* Fixed hero reveal: spacer holds the hero's space, page-below scrolls over it */
.hero-spacer { height: 88vh; min-height: 480px; }
.page-below { position: relative; z-index: 1; background: var(--paper); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,.55) 0%, rgba(20,20,20,.15) 42%, rgba(20,20,20,.78) 100%);
}
.hero-content {
  position: relative;
  width: 100%;
  padding: 0 clamp(1.5rem, 4vw, 4rem) clamp(2rem, 5vh, 3.5rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 1.4rem;
  will-change: transform, opacity;
}
/* Logo + tagline lockup — tagline set to the logo's width */
.hero-lockup {
  width: min(440px, 84vw);
  animation: heroUp 1s ease .5s both;
}
.hero-logo { width: 100%; height: auto; display: block; filter: drop-shadow(0 2px 20px rgba(0,0,0,.35)); }
.hero-lockup-caption {
  width: 100%;
  margin-top: .7rem;
  text-align: justify;
  text-align-last: justify;   /* stretch the single line to the logo's width */
  font-size: .72rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 10vw, 11rem);
  line-height: 1.0;
  letter-spacing: 0;
  margin: 0;
  text-shadow: 0 2px 28px rgba(0,0,0,.42);
  animation: heroUp 1s ease .5s both;
}
@keyframes heroImgIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.scroll-cue {
  display: inline-flex; flex-direction: row; align-items: center; gap: .7rem;
  margin-top: .5rem;
  font-family: var(--mono); font-size: .9rem; letter-spacing: .05em;
  text-transform: none; color: var(--gold);
  animation: heroImgIn 1.2s ease 1.1s both;
}
.scroll-cue .chevron { display: block; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* =====================================================
   INTRO / ABOUT
   ===================================================== */
.intro {
  min-height: auto;
  background: #f1ede2 url("assets/images/bio-bg-flip.jpg") center / cover no-repeat;
  display: grid;
  grid-template-columns: 1fr 1fr;   /* copy | portrait circle */
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  padding: clamp(3.5rem, 9vh, 7rem) clamp(1.5rem, 5vw, 5rem);
  overflow: hidden;
}
.intro-copy { max-width: 560px; align-self: center; }
.intro-lead {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  line-height: 1.35;
  color: var(--green);
  margin: 0 0 1.6rem;
}
.intro-bio {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(.95rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: var(--grey);
  margin: 0;
}
.intro-cta {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: clamp(1.6rem, 3.5vh, 2.4rem);
  padding: .85rem 1.5rem;
  background: var(--green); color: #fff;
  border-radius: 4px;
}
.intro-cta:hover { background: #03241C; color: #fff; }
.intro-cta svg { transition: transform .2s ease; }
.intro-cta:hover svg { transform: translateX(3px); }

/* Pre-composed brand-green circle portrait (he breaks out of the circle top &
   bottom; transparent outside), with a name card overlapping its lower-left. */
.intro-figure {
  position: relative;
  width: min(42vw, 460px);
  justify-self: center;
}
.intro-circle { display: contents; }        /* passthrough — image carries the circle */
.intro-circle .intro-photo {
  width: 100%;
  height: auto;
  max-width: none;
  display: block;
}
.intro-card {
  position: absolute;
  left: -4%;
  bottom: 16%;                 /* sits over the lower-left of the baked-in circle */
  z-index: 2;
  background: #fff;
  padding: 1rem 1.9rem 1.1rem 1.5rem;
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .4);
}
.intro-name {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.2;
  color: var(--black);
  margin: 0 0 .18rem;
}
.intro-role {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(.9rem, 1.2vw, 1.1rem);
  color: var(--grey);
  margin: 0;
}

@media (min-width: 1200px) {
  .intro { grid-template-columns: minmax(0, 560px) 1fr; }
}

/* =====================================================
   MISSION
   ===================================================== */
.mission {
  background: var(--green);
  color: #fff;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.mission-video {   /* background clip: plays 0–3s then freezes */
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.mission::after {   /* legibility overlay over the video */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(18,26,22,.6) 0%, rgba(18,26,22,.35) 55%, rgba(18,26,22,.15) 100%);
  pointer-events: none;
}
.mission .wrap { position: relative; z-index: 1; }
/* Mobile: the video becomes a static poster, so lay a darker green wash over it
   for text legibility (the desktop side-gradient leaves the full-width phone text
   sitting on the brighter part of the image). */
@media (max-width: 860px) {
  .mission::after {
    background: linear-gradient(180deg, rgba(18,34,26,.74) 0%, rgba(18,34,26,.62) 100%);
  }
}
.mission-stat {
  font-family: var(--sans);
  margin: 0 0 1.9rem;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--gold);
  position: relative;
}
.mission-stat strong {
  display: block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--gold);
  letter-spacing: .01em;
  margin-bottom: .25rem;
}
.mission-statement {
  font-family: var(--sans);
  font-weight: 400;   /* Book — large Homepage Baukasten display text (>40pt) uses Book, not Bold */
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.14;
  max-width: 640px;   /* shorter measure — wraps after 'sports' */
  position: relative;
  color: #fff;
}
.mission-support {
  font-family: var(--sans);
  margin: 2.2rem 0 0;
  max-width: 600px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255,255,255,.82);
  position: relative;
}

/* =====================================================
   THE OFFER
   ===================================================== */
/* =====================================================
   SERVICES  (tighter rows, image swaps on hover)
   ===================================================== */
.services { min-height: 80vh; padding: 0; }
.services-split { display: grid; grid-template-columns: 45% 55%; min-height: 80vh; }
.services-panel {
  background: #CAAD6D;
  padding: clamp(2.5rem, 6vh, 5rem) clamp(1.5rem, 5vw, 5rem);
  display: flex; flex-direction: column; justify-content: flex-start;
}
.services-panel .section-title { margin-bottom: 2rem; }

/* Accordion */
.acc-item { border-bottom: 1px solid rgba(26,26,26,.28); }
.acc-item:first-child { border-top: 1px solid rgba(26,26,26,.28); }
.acc-header {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--sans); font-weight: 400; font-size: clamp(1.4rem, 2.3vw, 1.95rem);
  color: var(--black); padding: 1.15rem 0; text-align: left; line-height: 1.15;
}
.acc-icon {          /* animated +/- : two bars that morph, no circle */
  position: relative; flex: none;
  width: 22px; height: 22px;
}
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 18px; height: 2px; border-radius: 2px; background: var(--black);
  transform: translate(-50%, -50%);
  transition: transform .45s cubic-bezier(0.65, 0, 0.35, 1);   /* smooth ease-in-out, no overshoot */
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }              /* vertical bar -> plus */
.acc-item.is-open .acc-icon::after { transform: translate(-50%, -50%) rotate(0deg); } /* glides flat -> minus */
.acc-tag {
  display: inline-block; vertical-align: middle;
  margin-left: .6rem; transform: translateY(-.12em);
  padding: .22rem .6rem;
  font-family: var(--mono); font-weight: 400;
  font-size: .58rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--black); background: var(--gold); border-radius: 999px;
  white-space: nowrap;
}
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.acc-item.is-open .acc-panel { max-height: 240px; }
.acc-panel .sub { padding: 0 0 1.3rem; }
.acc-panel .sub li {
  position: relative; padding-left: 1.2rem;
  font-size: .9rem; color: rgba(26,26,26,.82); margin-bottom: .45rem;
}
.acc-panel .sub li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--black);
}

/* Large image — two layers crossfade between selections */
.services-media { display: block; position: relative; overflow: hidden; background: #b9985a; }
.services-media-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  object-position: center top;   /* crop from the bottom so heads stay in view on wide breakpoints */
  opacity: 0;
}

/* =====================================================
   EXPERIENCE
   ===================================================== */
.experience { padding: 5rem 0; }
.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.exp-card {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 12px;
}
.exp-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.exp-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0) 38%, rgba(26,26,26,.72) 100%);
}
.exp-card:hover img { transform: scale(1.05); }
.exp-card-title {
  position: absolute; left: 1.2rem; right: 3.2rem; bottom: 1.1rem; z-index: 2;
  font-family: var(--sans); font-weight: 700;
  font-size: clamp(1rem, 1.45vw, 1.5rem); line-height: 1.1; color: #fff;
}
.exp-card-arrow {
  position: absolute; right: 1.5rem; bottom: 1.5rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.75);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.exp-card:hover .exp-card-arrow {
  background: var(--gold); border-color: var(--gold); color: #1A1A1A;
}

/* =====================================================
   TESTIMONIALS  (taller cards, divider restored)
   ===================================================== */
/* ---- Featured quote + clickable headshot grid ("In Their Words") ---- */
.testimonials {
  background: #03241C;
  color: var(--paper);
  padding: clamp(3.5rem, 9vh, 7rem) 0;
}
.tst-inner { max-width: 1200px; margin: 0 auto; }
.tst-eyebrow {
  display: flex; align-items: center; gap: .85rem;
  margin: 0 0 clamp(1.6rem, 4vh, 2.6rem);
  font-family: var(--mono); text-transform: uppercase;
  letter-spacing: .24em; font-size: .72rem; color: var(--gold);
}
.tst-eyebrow::before { content: ""; width: 42px; height: 1px; background: var(--gold); }

.tst-top { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.tst-top .section-title { margin: 0; color: var(--paper); }
.tst-arrows { display: flex; gap: .8rem; flex: none; }
.tst-arrow {
  width: clamp(52px, 5vw, 62px); height: clamp(52px, 5vw, 62px);
  border: 1px solid rgba(255, 255, 255, .28); background: none; color: var(--paper);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: border-color .2s ease, color .2s ease;
}
.tst-arrow:hover { border-color: var(--gold); color: var(--gold); }

.tst-body {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
}
.tst-feature { margin: 0; max-width: 46ch; }
.tst-mark {
  display: block; font-family: var(--serif); color: var(--gold);
  font-size: 3.6rem; line-height: .5; letter-spacing: .08em; margin-bottom: 1.3rem;
}
.tst-quote { margin: 0; }
.tst-quote p {
  margin: 0 0 1.1rem; font-family: var(--sans); font-weight: 300;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.6; color: #E8E5DC;
}
.tst-quote p:last-child { margin-bottom: 0; }
.tst-by { display: flex; align-items: center; gap: 1rem; margin-top: clamp(1.6rem, 4vh, 2.3rem); }
.tst-avatar {
  width: 62px; height: 62px; border-radius: 50%; object-fit: cover; flex: none;
  border: 1px solid rgba(186, 149, 70, .55);
}
.tst-by cite { font-style: normal; display: flex; flex-direction: column; gap: .28rem; }
.tst-name { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--paper); }
.tst-role {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .13em;
  font-size: .66rem; color: rgba(255, 255, 255, .5);
}

.tst-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.55rem, 1vw, 1rem); }
.tst-thumb {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; padding: 0;
  border: 1px solid transparent; background: none; cursor: pointer;
  filter: grayscale(1) brightness(.68); transition: filter .3s ease, border-color .3s ease;
}
.tst-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tst-thumb:hover { filter: grayscale(.35) brightness(.85); }
.tst-thumb.active { filter: none; border-color: var(--gold); }
.tst-thumb-name {
  position: absolute; left: .55rem; bottom: .5rem; z-index: 2; opacity: 0;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em;
  font-size: .62rem; color: #fff; text-shadow: 0 1px 5px rgba(0, 0, 0, .85);
  transition: opacity .3s ease;
}
.tst-thumb.active .tst-thumb-name { opacity: 1; }

@media (max-width: 860px) {
  .tst-body { grid-template-columns: 1fr; gap: clamp(2.2rem, 6vh, 3rem); }
  .tst-feature { max-width: none; }
  .tst-thumbs { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
}
.contact-bg {
  position: absolute; left: 0; right: 0;
  top: -15%; height: 130%;   /* extra height gives the drift room to move without exposing edges */
  background: url("assets/images/contact-bg.jpg") center / cover no-repeat;
  z-index: 0;
  will-change: transform;
}
.contact-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: start;
  width: 100%;
}
.contact .eyebrow {   /* 'Contact' label in Big Caslon, gold */
  font-family: var(--serif);
  text-transform: none;
  letter-spacing: .02em;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.contact-heading {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  max-width: 480px;
  color: #fff;
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form .field-half { grid-column: span 1; }
.contact-form .field-full { grid-column: 1 / -1; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  font-family: var(--sans);
  font-size: .95rem;
  padding: 1.05rem 1.25rem;
  border: 1px solid rgba(255,255,255,.22);
  background: #04241B;
  color: #fff;
  border-radius: 10px;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,.72); }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none; border-color: var(--gold); background-color: #06301F;
}
/* Subject dropdown: custom gold chevron + muted placeholder look */
.contact-form select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  cursor: pointer;
  padding-right: 2.9rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23BA9546' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  background-size: 13px;
}
.contact-form select:required:invalid { color: rgba(255,255,255,.72); }   /* placeholder state */
.contact-form select option { color: #1a1a1a; }                            /* readable native list */
.contact-form select option[disabled] { color: #8a8a8a; }
.btn-submit {
  grid-column: 1 / -1;
  justify-self: start;
  background: var(--gold);
  color: var(--black);
  font-family: var(--mono);
  letter-spacing: .04em;
  padding: .9rem 1.8rem;
  border-radius: 4px;
  margin-top: .4rem;
}
.btn-submit:hover { opacity: .88; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer { background: var(--black); color: #fff; padding: 4rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
  align-items: start;   /* logo top lines up with column headings */
}
.footer-brand { display: flex; flex-direction: column; gap: .9rem; align-items: flex-start; }
.footer-logo { width: 220px; height: auto; }
.footer-tagline { font-family: var(--sans); font-size: .95rem; letter-spacing: .015em; color: var(--light-grey); text-transform: none; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: .68rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--light-grey); margin-bottom: 1rem; font-weight: 400;
}
.footer-col li { margin-bottom: .6rem; }
.footer-col a { font-size: .85rem; color: rgba(255,255,255,.85); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { padding-top: 1.4rem; }
.footer-bottom p { font-size: .7rem; color: var(--light-grey); letter-spacing: .04em; margin: 0; }
.footer-bottom a { color: var(--gold); border-bottom: 1px solid transparent; }
.footer-bottom a:hover { border-color: var(--gold); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 860px) {
  .services-split { grid-template-columns: 1fr; }
  .services-media { min-height: 55vh; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Let content-heavy sections breathe rather than clip on short viewports */
  .experience, .testimonials { min-height: auto; padding: 5rem 0; }
  .services { min-height: auto; }
  /* About (mobile): copy on top, portrait circle below */
  .intro {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    gap: clamp(2rem, 8vw, 3rem);
    padding: 3rem clamp(1.25rem, 5vw, 2rem) 3.5rem;
    text-align: left;
    overflow: hidden;
  }
  .intro-copy { max-width: 100%; }
  /* Left-anchor the circle so the name card overlaps it (rather than floating past
     its left edge into empty background) and sits flush with the copy's left margin. */
  .intro-figure { width: min(86vw, 390px); justify-self: start; }
  .intro-card {
    left: 0; bottom: 8%;
    padding: .8rem 1.3rem .9rem 1.1rem;
    box-shadow: 0 16px 34px -22px rgba(0, 0, 0, .4);
  }
  .intro-name { font-size: 1.1rem; }
  .intro-role { font-size: .92rem; }
}
/* Experience cards: 4-across on desktop, 2-up on tablet, 1-up on phones.
   Cards get wider at each step down, so the title scales back up to match. */
@media (max-width: 1150px) {
  .experience-grid { grid-template-columns: 1fr 1fr; }
  .exp-card-title { font-size: clamp(1.35rem, 2.6vw, 1.7rem); right: 3.6rem; }
}
@media (max-width: 600px) {
  .experience-grid { grid-template-columns: 1fr; }
  .exp-card-title { font-size: clamp(1.5rem, 6vw, 1.9rem); right: 4rem; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-cue .chevron { animation: none; }
  .hero-media, .hero-lockup, .hero-title, .scroll-cue {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
  * { scroll-behavior: auto; }
}

/* =====================================================
   EXPERIENCE / CATEGORY PAGES  (category.html)
   ===================================================== */
.exp-page { background: var(--paper); }

/* ---- Header ---- */
.exp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.5rem, 5vw, 5rem);   /* match the homepage header gutter */
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.exp-header::before {   /* scrim so white brand/menu read over any hero */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,0));
}
.about-page .exp-header::before { display: none; }   /* no scrim needed on the About hero */
.exp-brand { display: inline-flex; }
.exp-brand-logo { height: 40px; width: auto; display: block; filter: drop-shadow(0 1px 8px rgba(0,0,0,.45)); }
.exp-menu-btn, .exp-menu-close {
  background: none; border: none; cursor: pointer; color: var(--gold); padding: .3rem;
  display: inline-flex; text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.exp-menu-btn { color: var(--gold); }
/* Primary text nav in the sub-page header (desktop); hamburger takes over on mobile */
.exp-nav { margin-left: auto; margin-right: clamp(1rem, 2vw, 1.8rem); }
/* About hero has a light right-hand side and no header scrim — dark links read there */
.about-page .exp-nav > a:not(.btn) { color: #2f2710; }
.about-page .exp-nav > a:not(.btn):hover { color: var(--gold); }
/* Mobile: the text nav collapses into a hamburger dropdown (both header types) */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav, .exp-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    gap: 0; margin: 0; padding: .4rem 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .16);
  }
  .site-header.menu-open .nav,
  .exp-header.menu-open .exp-nav { display: flex; }
  .nav > a:not(.btn), .exp-nav > a:not(.btn) {
    color: var(--green) !important; font-size: 1rem;
    padding: .95rem clamp(1.5rem, 6vw, 2.2rem);
  }
  .nav > a:not(.btn):not(:last-child),
  .exp-nav > a:not(.btn):not(:last-child) { border-bottom: 1px solid rgba(0, 0, 0, .05); }
  .nav > a.btn, .exp-nav > a.btn { margin: .7rem clamp(1.5rem, 6vw, 2.2rem); text-align: center; }

  /* When the menu is open the bar goes solid white with the dark logo, like the stuck state */
  .site-header.menu-open, .exp-header.menu-open {
    background: rgba(255, 255, 255, .98); box-shadow: 0 6px 22px rgba(0, 0, 0, .10);
  }
  .exp-header.menu-open::before { display: none; }
  .menu-open .brand .brand-logo--light, .menu-open .exp-brand .exp-brand-logo--light { display: none; }
  .menu-open .brand .brand-logo--dark, .menu-open .exp-brand .exp-brand-logo--dark { display: block; }
  .menu-open .exp-brand-logo { filter: none; }
}

/* ---- Fullscreen menu (split: nav panel + live image) ---- */
.exp-menu {
  position: fixed; inset: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr;
  background: #03241C; color: #fff;
}
.exp-menu[hidden] { display: none; }
.exp-menu-panel {
  position: relative; background: #03241C;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(2rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 7vh, 4.5rem);
}
.exp-menu-brand { position: absolute; top: 1.4rem; left: clamp(1.5rem, 5vw, 5rem); }
.exp-menu-brand img { height: 40px; width: auto; display: block; }
.exp-menu-list { display: flex; flex-direction: column; gap: clamp(.15rem, .6vh, .5rem); }
.exp-menu-list a {
  position: relative; padding-left: 0;
  font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  color: var(--gold); line-height: 1.28;
  transition: color .15s ease, padding-left .2s ease;
}
.exp-menu-list a::before {   /* dot — hidden until hover */
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; border-radius: 50%; background: #fff;
  opacity: 0; transition: opacity .18s ease;
}
.exp-menu-list a:hover { color: #fff; padding-left: 1.5rem; }   /* indent on hover */
.exp-menu-list a:hover::before { opacity: 1; }
.exp-menu-media { position: relative; overflow: hidden; background: #03241C; }
.exp-menu-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.exp-menu-close {
  /* align exactly to the header hamburger: centred against the 40px logo (+13px),
     and inset by the hamburger button's .3rem padding */
  position: absolute; top: calc(1.4rem + 13px); right: calc(clamp(1.5rem, 5vw, 5rem) + 0.3rem);
  z-index: 3; color: var(--gold);
  width: 26px; height: 14px; padding: 0;
}
.exp-menu-close .mbar {
  position: absolute; left: 0; right: 0; top: 50%; height: 1.6px;
  background: currentColor; transform-origin: center;
}
/* When the menu opens, the two hamburger bars animate into an X */
.exp-menu:not([hidden]) { animation: expMenuIn .3s ease; }
.exp-menu:not([hidden]) .exp-menu-close .mbar:nth-child(1) { animation: expBarTop .4s cubic-bezier(.4,0,.2,1) forwards; }
.exp-menu:not([hidden]) .exp-menu-close .mbar:nth-child(2) { animation: expBarBot .4s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes expMenuIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes expBarTop { 0% { transform: translateY(-6px) rotate(0); } 55% { transform: translateY(0) rotate(0); } 100% { transform: translateY(0) rotate(45deg); } }
@keyframes expBarBot { 0% { transform: translateY(6px) rotate(0);  } 55% { transform: translateY(0) rotate(0); } 100% { transform: translateY(0) rotate(-45deg); } }
@media (max-width: 760px) {
  .exp-menu { grid-template-columns: 1fr; }
  .exp-menu-media { display: none; }
}

/* ---- Hero (full width, category menu overlaid) ---- */
/* Soft crossfade when switching experience categories in place */
.exp { transition: opacity .26s ease; }
.exp.is-swapping { opacity: 0; }
.exp-hero { position: relative; width: 100%; height: 62vh; min-height: 420px; overflow: hidden; background: #e9e6df; }
.exp-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.exp-hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(0deg,   rgba(0,0,0,.82) 0%, rgba(0,0,0,.34) 24%, rgba(0,0,0,0) 48%);
}
/* ---- Sticky category cards below the hero ---- */
.exp-catnav {
  position: sticky; top: 68px; z-index: 20;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.exp-catcard {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .55rem; padding: clamp(.85rem, 2vw, 1.3rem) .75rem;
  background: var(--paper); color: var(--grey);
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em;
  font-size: clamp(.6rem, 1vw, .74rem); line-height: 1.3; text-align: center;
  transition: background .2s ease, color .2s ease;
}
.exp-catcard-icon svg { width: clamp(22px, 3vw, 28px); height: clamp(22px, 3vw, 28px); display: block; }
.exp-catcard:hover { background: #fff; color: var(--green); }
.exp-catcard.active { color: var(--green); }
.exp-catcard.active::after {   /* gold notch at the bottom marks the current category */
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 46px; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold);
}

/* ---- Intro: heading + copy ---- */
.exp-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding-top: clamp(3rem, 7vh, 5.5rem); padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
}
.exp-intro-title {
  margin: 0; max-width: 25ch;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.12; color: var(--black);
}
.exp-intro-copy p { margin: 0; font-size: 1.02rem; line-height: 1.7; color: var(--grey); max-width: 52ch; }

/* ---- Team selector (horizontal) ---- */
.exp-teams {
  display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center;
  font-size: 1rem; padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
}
.exp-teams[hidden] { display: none; }
.exp-teams a { position: relative; color: var(--light-grey); transition: color .15s ease; }
.exp-teams a:hover { color: var(--grey); }
.exp-teams a.active { color: var(--black); padding-left: 1.05rem; }
.exp-teams a.active::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}

/* Carousel (auto-cycling, right -> left) */
.exp-carousel-sec { padding: 0 clamp(1.5rem, 5vw, 5rem) clamp(3rem, 7vh, 5.5rem); }
.exp-carousel { overflow: hidden; }
.exp-track { display: flex; gap: 1.4rem; transition: transform .6s cubic-bezier(.4, 0, .15, 1); will-change: transform; }
.exp-slide {
  position: relative; margin: 0; flex: 0 0 62%;
  overflow: hidden;
  border-radius: 0;           /* square corners */
  aspect-ratio: 16 / 10;      /* consistent frame across image / video / document */
  background: #e9e6df;
}
.exp-slide-media { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; }
.exp-slide-photo { cursor: zoom-in; object-position: center 12%; }  /* lift slightly off the very top */
.exp-slide video.exp-slide-media { background: #000; }
.exp-slide-doc { object-fit: contain; background: #fff; }
.exp-slide-pdf { display: block; width: 100%; height: 100%; position: relative; }

/* PDF articles sit inside the same 16/10 carousel frame as photos (page shown contained) */
.exp-slide.exp-slide--doc { background: #f4f1ea; }
.exp-slide--doc .exp-slide-doc { object-fit: contain; }
.exp-pdf-badge {
  position: absolute; right: .7rem; bottom: .7rem;
  background: rgba(26,26,26,.85); color: #fff;
  font-size: .68rem; letter-spacing: .04em;
  padding: .4rem .7rem; border-radius: 2px;
}
.exp-slide-pdf:hover .exp-pdf-badge { background: var(--black); }

/* Flipbooks (one or two page-turning viewers, side by side) */
.exp-flipbooks {
  display: flex; flex-wrap: wrap; align-items: flex-start;
  gap: clamp(2rem, 5vw, 4.5rem); margin: 0 0 3.5rem;
}
.exp-flipbooks[hidden] { display: none; }
.exp-flipbook { margin: 0; flex: 1 1 340px; min-width: 0; max-width: 520px; }
.flip-viewport--link { cursor: zoom-in; }
.exp-flip-title {
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--light-grey); margin: 0 0 1rem;
}
.flip-viewport {
  max-width: 520px;
  perspective: 2200px;
  background: #e9e6df;
  border-radius: 2px;
  overflow: hidden;
}
.flip-page {
  width: 100%; height: auto; display: block;
  backface-visibility: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
}
.flip-controls { display: flex; align-items: center; gap: 1.4rem; margin-top: 1rem; max-width: 520px; }
.flip-controls button {
  background: none; border: none; cursor: pointer; color: var(--black);
  display: inline-flex; padding: .2rem;
}
.flip-controls button:hover { color: var(--gold); }
.flip-count { font-size: .8rem; color: var(--grey); min-width: 64px; text-align: center; }
.flip-download {
  margin-left: auto; font-size: .78rem; color: var(--black);
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
}
.flip-download:hover { color: var(--gold); border-color: var(--gold); }
.flip-download[hidden] { display: none; }
/* Carousel footer: caption (left) + arrows (right) */
.exp-carousel-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.15rem; }
.exp-caption { margin: 0; min-width: 0; font-size: .82rem; color: var(--black); letter-spacing: .03em; white-space: normal; overflow-wrap: break-word; }
.exp-arrows { display: flex; gap: .6rem; flex-shrink: 0; }
.exp-arrow {
  background: none; border: 1px solid var(--line); border-radius: 50%;
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--black); cursor: pointer; transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.exp-arrow:hover { border-color: var(--gold); color: var(--gold); }
.exp-prev:hover { transform: translateX(-2px); }
.exp-next:hover { transform: translateX(2px); }

/* Lightbox (click a carousel photo to enlarge) */
.exp-lightbox {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(10, 14, 12, .93);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.1rem; padding: clamp(2.5rem, 6vh, 4rem) clamp(1rem, 5vw, 4rem);
  cursor: zoom-out;
}
.exp-lightbox[hidden] { display: none; }
.exp-lightbox-fig {
  margin: 0; display: inline-flex; flex-direction: column; gap: 1.1rem;
  max-width: 92vw;   /* shrink-wraps to the image so the caption's left edge aligns to it */
}
.exp-lightbox-img {
  max-width: 92vw; max-height: 82vh; object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.exp-lightbox-cap {
  margin: 0; color: rgba(255,255,255,.85);
  font-family: var(--mono); font-size: .82rem; letter-spacing: .03em; text-align: left;
}
.exp-lightbox-close {
  position: absolute; top: 1.3rem; right: 1.5rem;
  background: none; border: none; color: #fff; cursor: pointer; padding: .4rem;
  display: inline-flex;
}
.exp-lightbox-close:hover { color: var(--gold); }
/* Publications: the rendered page image shows in the lightbox, with a link to the full PDF */
.exp-lightbox-open {
  align-self: flex-start; color: var(--gold); text-decoration: none;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .03em;
}
.exp-lightbox-open[hidden] { display: none; }
.exp-lightbox-open:hover { text-decoration: underline; }

/* Bottom Experience grid ("Experience  Explore more") */
.exp-explore { padding-top: clamp(2.5rem, 6vh, 4rem); padding-bottom: clamp(3rem, 7vh, 5rem); }
.exp-explore .section-title { display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap; }
.exp-explore-link { font-family: var(--serif); color: var(--gold); font-size: .62em; font-weight: 400; }
.exp-explore-link:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .exp-intro { grid-template-columns: 1fr; gap: 1.4rem; }
  .exp-intro-title { max-width: none; }
  .exp-slide { flex-basis: 84%; }
  .exp-hero, .story-hero { height: 56vh; min-height: 360px; }
  .exp-arrow { width: 42px; height: 42px; }
}

/* =====================================================
   ABOUT PAGE  (about.html)
   ===================================================== */
.about-page { background: var(--paper); }

/* ---- Story hero: full-bleed image, then intro copy on green ---- */
.story-hero {
  position: relative; width: 100%; height: 62vh; min-height: 420px;
  overflow: hidden; background: #0c1f18;
}
.story-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.story-hero-scrim {   /* same top + bottom shadow as the experience hero */
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(0deg,   rgba(0,0,0,.82) 0%, rgba(0,0,0,.34) 24%, rgba(0,0,0,0) 48%);
}
.about-hero {
  background: #03241C; color: #fff;
  padding: clamp(3rem, 8vh, 6rem) 0;
}
.about-hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.about-hero-figure { justify-self: center; width: min(38vw, 430px); }
.about-hero-figure img { width: 100%; height: auto; display: block; }
.about-hero-title {
  margin: 0 0 clamp(1.6rem, 4vh, 2.6rem);
  font-family: var(--serif); font-weight: 400; color: #fff;
  font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: 1.02; letter-spacing: 0;
}
.about-hero-rule {
  display: block; width: 66px; height: 2px; background: var(--gold);
  margin: 0 0 clamp(1.8rem, 4.5vh, 2.8rem);
}
.about-hero-lead {
  font-family: var(--sans); font-weight: 700; max-width: 42ch;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem); line-height: 1.4; margin: 0 0 1.5rem;
}
.about-hero-sub {
  font-family: var(--sans); font-weight: 300; max-width: 42ch;
  font-size: clamp(.95rem, 1.1vw, 1.05rem); line-height: 1.75; color: rgba(255,255,255,.82); margin: 0;
}

/* ---- About Dr. Zaf ---- */
.about-bio { position: relative; overflow: hidden; padding-top: clamp(3rem, 7vh, 5.5rem); padding-bottom: clamp(3.5rem, 8vh, 6rem); }
.about-bio > .section-title { position: relative; z-index: 1; margin-bottom: clamp(1.4rem, 3vh, 2rem); }
.about-bio-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem);
}
.about-bio-col p { margin: 0 0 1.2rem; font-size: .98rem; line-height: 1.75; color: var(--grey); }
.about-bio-col p:last-child { margin-bottom: 0; }
.about-quals {
  position: relative; z-index: 1;
  color: var(--black); letter-spacing: .04em; font-size: .82rem; line-height: 1.9;
  margin: clamp(2rem, 4.5vh, 3rem) 0 .55rem; text-transform: uppercase;
  padding-top: clamp(1.4rem, 3vh, 2rem); border-top: 1px solid var(--line);
}
.about-gmc {
  position: relative; z-index: 1;
  margin: 0;
  font-size: .78rem; letter-spacing: .04em; color: var(--grey);
}
.about-gmc a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.about-gmc a:hover { color: var(--green); }
.about-watermark {
  position: absolute; z-index: 0; pointer-events: none;
  right: clamp(1rem, 3vw, 3rem); top: 6%; width: min(42vw, 560px); height: auto; opacity: .06;
}

/* ---- Career timeline ---- */
.about-timeline {
  position: relative;
  background: #CAAD6D url("assets/images/timeline-bg-2.jpg") center / cover no-repeat;
  color: var(--black);
  padding: clamp(3.5rem, 8vh, 6.5rem) 0;
  overflow: hidden;
}
/* ---- Career timeline: horizontal drag-to-explore card carousel ---- */
.tl-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem;
  padding: 0 clamp(1.5rem, 5vw, 5rem); margin-bottom: clamp(2rem, 5vh, 3.2rem);
}
.tl-head .section-title { margin: 0; color: var(--black); line-height: 1.04; }
.tl-subtitle { margin: .5rem 0 0; font-family: var(--sans); font-size: clamp(.95rem, 1.3vw, 1.1rem); line-height: 1.4; color: rgba(26, 26, 26, .66); }
.tl-hint {
  display: flex; align-items: center; gap: .9rem; margin: 0 0 .5rem; white-space: nowrap;
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .2em;
  font-size: .68rem; color: rgba(26, 26, 26, .55);
}
.tl-hint-line { width: 42px; height: 1px; background: var(--gold); display: inline-block; }

.tl-scroll {
  overflow-x: auto; overflow-y: hidden; cursor: grab;
  padding: .5rem clamp(1.5rem, 5vw, 5rem) 1.6rem;
  scrollbar-width: none; -ms-overflow-style: none; scroll-snap-type: x proximity;
}
.tl-scroll::-webkit-scrollbar { display: none; }
.tl-scroll.grabbing { cursor: grabbing; }
.tl-scroll.grabbing * { pointer-events: none; user-select: none; }
.tl-track { display: flex; gap: clamp(1rem, 2.4vw, 1.8rem); width: max-content; }

.tlc {
  flex: 0 0 clamp(280px, 78vw, 360px); scroll-snap-align: start;
  background: #fff; display: flex; flex-direction: column;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .18);
}
.tlc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e8e4d8; }
.tlc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tlc-year {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: #0e1a13; color: var(--gold); line-height: 1;
  font-family: "Prata", var(--serif); font-size: 1.05rem; letter-spacing: .03em; padding: .32rem .8rem;
}
.tlc-body { padding: clamp(1.4rem, 2vw, 1.9rem); display: flex; flex-direction: column; flex: 1; }
.tlc-role {
  margin: 0 0 .7rem; color: var(--gold);
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .13em; font-size: .68rem;
}
.tlc-club {
  margin: 0 0 .85rem; color: var(--green); line-height: 1.05;
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.55rem, 2.3vw, 2.05rem);
}
.tlc-desc { margin: 0 0 1.4rem; color: var(--grey); font-family: var(--sans); font-size: .92rem; line-height: 1.55; }
.tlc-rule { display: block; height: 1px; background: rgba(0, 0, 0, .12); margin-top: auto; }
.tlc-era {
  display: flex; align-items: center; gap: .55rem; margin: 1rem 0 0;
  font-family: var(--sans); font-size: .82rem; color: var(--black);
}
.tlc-diamond { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

.tl-progress { height: 3px; background: var(--gold); position: relative; margin: 0 clamp(1.5rem, 5vw, 5rem); }
.tl-progress-bar { position: absolute; left: 0; top: 0; height: 100%; width: 8%; background: #fff; transition: width .12s linear; }
@media (max-width: 600px) {
  .tl-head { flex-direction: column; align-items: flex-start; gap: .8rem; }
}

/* ---- Impact: scroll-pinned editorial showcase (About page) ---- */
.impact { position: relative; background: var(--paper); color: var(--black); padding: clamp(3.5rem, 9vh, 6.5rem) 0; }
.impact-sticky {
  box-sizing: border-box;
  display: flex; flex-direction: column; gap: clamp(1.5rem, 4vh, 2.5rem);
  max-width: 1320px; margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
}
.impact-topbar { display: grid; grid-template-columns: 1fr 1.25fr; column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.impact-brand-col { grid-column: 1; }
.impact-brand { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: .5px; line-height: 1.1; color: var(--black); }
.impact-lead-title { margin: 0 0 .6rem; font-family: var(--sans); font-weight: 700; font-size: clamp(1.05rem, 1.5vw, 1.3rem); line-height: 1.2; color: var(--black); }
.impact-lead-sub { margin: 0; max-width: 46ch; font-family: var(--sans); font-size: clamp(.95rem, 1.2vw, 1.05rem); line-height: 1.55; color: var(--grey); }

.impact-stage { display: grid; grid-template-columns: 1fr 1.25fr; column-gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.impact-text { display: none; grid-column: 1; max-width: 42ch; }
.impact-text.is-active { display: block; animation: impactIn .4s ease both; }
.impact-num { display: block; margin-bottom: .5rem; font-family: "Prata", var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--gold); }
.impact-item-title { margin: 0 0 1rem; font-family: var(--sans); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.15; color: var(--black); }
.impact-body { margin: 0 0 1.3rem; font-family: var(--sans); font-size: clamp(.95rem, 1.1vw, 1.02rem); line-height: 1.6; color: var(--black); }
.impact-credits { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.impact-credits li { position: relative; padding-left: 1.1rem; font-family: var(--sans); font-size: .82rem; line-height: 1.45; color: var(--grey); }
.impact-credits li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.impact-card {
  display: none; grid-column: 2; position: relative; margin: 0;
  width: 100%; height: min(58vh, 520px); border-radius: 12px; overflow: hidden; background: #cfcabc;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .28);
}
.impact-card.is-active { display: block; animation: impactIn .5s ease both; }
.impact-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.impact-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 2.6rem 1.5rem 1.3rem; color: #fff;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .03em; line-height: 1.5;
  background: linear-gradient(to top, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0));
}
@keyframes impactIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Click-through nav: prev · numbered dots · next */
.impact-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 1.8rem); margin-top: clamp(1.6rem, 4vh, 2.6rem); }
.impact-dots { display: flex; align-items: center; gap: .3rem; }
.impact-dot {
  position: relative; background: none; border: none; cursor: pointer; padding: .4rem .65rem;
  font-family: "Prata", var(--serif); font-size: 1.05rem; letter-spacing: .04em;
  color: rgba(26, 26, 26, .32); transition: color .2s ease;
}
.impact-dot:hover { color: rgba(26, 26, 26, .6); }
.impact-dot.is-active { color: var(--gold); }
.impact-dot.is-active::after { content: ""; position: absolute; left: .65rem; right: .65rem; bottom: .05rem; height: 2px; border-radius: 2px; background: var(--gold); }
.impact-arrow {
  width: 46px; height: 46px; flex: none; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; color: var(--black);
  transition: color .2s ease, border-color .2s ease;
}
.impact-arrow:hover { border-color: var(--green); color: var(--green); }

@media (max-width: 900px) {
  .impact-sticky { max-width: none; }
  .impact-topbar { grid-template-columns: 1fr; row-gap: 1rem; margin-bottom: clamp(1.5rem, 5vh, 2.5rem); }
  .impact-stage { display: flex; flex-direction: column; gap: clamp(1.5rem, 5vh, 2rem); }
  .impact-text { max-width: none; }
  .impact-card { height: auto; }
  .impact-card img { aspect-ratio: 3 / 2; }
  .impact-nav { justify-content: center; }
}
.tl-inner { position: relative; }
/* Stacked at every breakpoint: info, then the image, then the year line beneath it. */
.tl-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: clamp(1.5rem, 4vh, 2.4rem); }

/* Year line, sitting below the image: [prev] [YEAR] [z-dash] [YEAR] [next] */
.tl-range {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1.25rem, 4vw, 3rem);
  margin: 0; z-index: 5;
  pointer-events: none;                  /* only the years / arrows / dash catch clicks */
}
.tl-side { display: flex; align-items: center; gap: clamp(1rem, 3vw, 44px); pointer-events: auto; }
.tl-year {
  font-family: "Prata", var(--serif); font-weight: 400; color: var(--paper);
  font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1;
}
.tl-dash { pointer-events: none; width: clamp(72px, 10vw, 170px); height: auto; flex-shrink: 0; }

.tl-info { align-self: flex-start; z-index: 6; max-width: 44ch; color: #4a3d18; font-family: var(--serif); font-size: .95rem; line-height: 1.5; }
.tl-info .mono { font-family: inherit; }   /* Big Caslon, not mono */
/* Timeline: only the club (title) and role (sub-title) stay Big Caslon; the rest is Roboto */
.tl-info .tl-ach-label, .tl-info .tl-achievements { font-family: var(--sans); }
.tl-club { font-weight: 500; font-size: .95rem; margin: 0; color: #2f2710; }
.tl-role { margin: .15rem 0 1rem; }
.tl-ach-label { margin: 0 0 .35rem; }
.tl-achievements li { position: relative; padding-left: 1rem; margin-bottom: .28rem; }
.tl-achievements li::before { content: "•"; position: absolute; left: 0; }

/* One select image per era — centred, portrait, sitting behind the years */
.tl-single {
  z-index: 2; margin: 0; width: clamp(240px, 32vw, 380px);
}
.tl-single[hidden] { display: none; }
.tl-single-frame { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #b99b53; box-shadow: 0 18px 50px rgba(0,0,0,.24); }
.tl-single-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
.tl-single-frame::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.15); pointer-events: none; }
.tl-arrow {
  background: none; border: 1px solid rgba(47,39,16,.45); border-radius: 50%;
  width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  color: #2f2710; cursor: pointer; pointer-events: auto; flex-shrink: 0;
  transition: border-color .2s ease, opacity .2s ease;
}
.tl-arrow:hover { border-color: #2f2710; }
.tl-arrow:disabled { opacity: .3; cursor: default; }

/* ---- Featured (enlarged) testimonial ---- */
.about-quote {
  padding: clamp(3rem, 7vh, 5rem) 0;
  background: #f1ede2 url("assets/images/testimony-bg.jpg") center / cover no-repeat;
}
.testimonial-feature {
  margin: 0;
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch;
  background: #fdfbf6; border: 1px solid #CAAC6D; border-radius: 10px; overflow: hidden;
}
.testimonial-feature-body { padding: clamp(2rem, 4vw, 3.5rem); display: flex; flex-direction: column; gap: 1.3rem; }
.testimonial-feature blockquote {
  margin: 0; flex: 1;
  font-family: var(--sans); font-size: clamp(1.05rem, 1.5vw, 1.4rem); line-height: 1.5; color: var(--black);
}
.testimonial-feature blockquote p { margin: 0 0 1.1rem; }
.testimonial-feature blockquote p:last-child { margin: 0; }
.testimonial-feature figcaption cite { font-style: normal; display: flex; flex-direction: column; gap: 0; }
.testimonial-feature figcaption cite strong { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; line-height: 1.2; color: var(--black); }
.testimonial-feature figcaption cite span { font-family: var(--sans); font-weight: 300; font-size: .9rem; color: var(--grey); }
.testimonial-feature-img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: top center; }

/* ---- Testimonials carousel (about page) ---- */
.tcar { position: relative; display: flex; align-items: stretch; gap: clamp(.6rem, 2vw, 1.5rem); }
.tcar-viewport { overflow: hidden; flex: 1 1 auto; min-width: 0; }
.tcar-track { display: flex; margin: 0; padding: 0; list-style: none; transition: transform .5s cubic-bezier(.4, 0, .15, 1); }
.tcar-slide { flex: 0 0 100%; min-width: 0; display: flex; }
.tquote {
  margin: 0; width: 100%;
  background: #fdfbf6; border: 1px solid #CAAC6D; border-radius: 10px;
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex; flex-direction: column; gap: 1.6rem;
}
.tquote blockquote {
  margin: 0; flex: 1;
  font-family: var(--sans); font-size: clamp(1.05rem, 1.4vw, 1.35rem); line-height: 1.55; color: var(--black);
}
.tquote blockquote p { margin: 0 0 1rem; }
.tquote blockquote p:last-child { margin: 0; }
.tquote figcaption { display: flex; align-items: center; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(202,172,109,.55); }
.tquote figcaption img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: none; }
.tquote figcaption cite { font-style: normal; display: flex; flex-direction: column; gap: 0; }
.tquote figcaption cite strong { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; line-height: 1.2; color: var(--black); }
.tquote figcaption cite span { font-family: var(--sans); font-weight: 300; font-size: .9rem; color: var(--grey); }
.tcar-arrow {
  flex: none; align-self: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid #CAAC6D; background: #fdfbf6; color: var(--green);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.tcar-arrow:hover { background: var(--gold); border-color: var(--gold); color: #1A1A1A; }
.tcar-dots { display: flex; justify-content: center; gap: .55rem; margin-top: clamp(1.5rem, 3vh, 2rem); }
.tcar-dot {
  width: 9px; height: 9px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid var(--gold); background: transparent;
  transition: background .2s ease, transform .2s ease;
}
.tcar-dot.active { background: var(--gold); transform: scale(1.15); }

@media (max-width: 860px) {
  .about-bio-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .about-hero-grid { grid-template-columns: 1fr; gap: clamp(2rem, 8vw, 3rem); }
  .about-hero-figure { width: min(72vw, 320px); }
  .about-watermark { top: auto; bottom: 2%; opacity: .05; }
  .testimonial-feature { grid-template-columns: 1fr; }
  .testimonial-feature-img { min-height: 260px; order: -1; }
  /* timeline: stack info, image and the year line */
  .tl-range { position: static; transform: none; margin: 1.5rem 0 0; }
  .tl-side { gap: clamp(1rem, 5vw, 50px); }
  .tl-year { font-size: clamp(2.4rem, 15vw, 4.4rem); }
  .tl-dash { width: clamp(56px, 16vw, 120px); }
  .tl-stage { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
  .tl-info { position: static; max-width: none; align-self: flex-start; }
  .tl-single { position: static; transform: none; width: min(78vw, 320px); }
}

/* =====================================================================
   Legal pages (Privacy, Terms) — plain prose on a solid, light header
   ===================================================================== */
.legal-page { background: var(--paper); }

/* Legal pages start light, so the header is always in its solid state. */
.legal-page .site-header {
  position: sticky; top: 0;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.legal-page .brand-logo--light { display: none; }
.legal-page .brand-logo--dark  { display: block; filter: none; }
.legal-page .nav > a:not(.btn) { color: var(--green); }
.legal-page .nav > a:not(.btn):hover { color: var(--gold); }
.legal-page .nav-toggle { color: var(--green); }

.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 9vw, 7rem); }
.legal-wrap { max-width: 820px; margin: 0 auto; }

.legal-head { padding-bottom: clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--line); margin-bottom: clamp(2rem, 4vw, 3rem); }
.legal-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.05;
  color: var(--black);
  margin: .35rem 0 1.1rem;
}
.legal-dates { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; color: var(--grey); font-size: .82rem; letter-spacing: .02em; }

.legal-body { color: var(--black); }
.legal-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  color: var(--green);
  margin: clamp(2rem, 4vw, 2.8rem) 0 .7rem;
}
.legal-body p { font-size: 1rem; line-height: 1.72; margin: 0 0 1rem; color: #2b2b2b; }
.legal-body ul { margin: 0 0 1.15rem; padding: 0; list-style: none; }
.legal-body li {
  position: relative;
  font-size: 1rem; line-height: 1.6;
  padding: 0 0 .55rem 1.35rem;
  color: #2b2b2b;
}
.legal-body li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
.legal-body a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--gold); }
.legal-body strong { font-weight: 700; }
.legal-contact { padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; line-height: 1.9; }

/* Contact form status note (mailto compose) */
.contact-form .form-note {
  grid-column: 1 / -1;
  margin: -.25rem 0 0;
  font-size: .82rem;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .85);
}

/* Contact form: honeypot (off-screen) + note tones */
.contact-form .hp-field {
  position: absolute !important;
  left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.contact-form .form-note.is-ok { color: #cbe6d1; }
.contact-form .form-note.is-error { color: #ffb9ad; }

/* =====================================================================
   Affiliations ticker — dark-green marquee band with a cursor-tracking
   gold orb; pauses on hover. Sits between the intro and the mission.
   ===================================================================== */
.ticker {
  position: relative;
  overflow: hidden;
  background: #03241C;
  padding: clamp(1.5rem, 3.5vw, 2.4rem) 0;
  --mx: 50%; --my: 50%;                 /* pointer position, set by JS */
}
.ticker::before {                        /* gold glow orb, tracks the pointer */
  content: "";
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  background: radial-gradient(150px 150px at var(--mx) var(--my),
              rgba(199, 162, 82, .3), rgba(186, 149, 70, .08) 42%, rgba(186, 149, 70, 0) 70%);
  opacity: 0;
  transition: opacity .35s ease;
}
.ticker:hover::before { opacity: 1; }
.ticker::after {                         /* subtle top hairline in gold */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(186, 149, 70, .5), transparent);
  z-index: 2; pointer-events: none;
}
.ticker-viewport {
  position: relative; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 46s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }   /* stop on hover */
.ticker-group {
  display: flex;
  align-items: center;
  margin: 0; padding: 0; list-style: none;
  flex: none;
}
.ticker-group li {
  display: flex; align-items: center;
  white-space: nowrap;
  padding: 0;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: clamp(.72rem, 1vw, .86rem);
  color: rgba(255, 255, 255, .74);
  transition: color .25s ease;
}
.ticker-group li::after {                /* gold circle separator — equal gap each side */
  content: ""; margin: 0 clamp(1.6rem, 3vw, 2.6rem);
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  opacity: .85;
}
.ticker-group li:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =====================================================================
   Nav CTA ("Speak to Dr. Zaf" with a short mobile fallback)
   ===================================================================== */
.btn-cta { white-space: nowrap; }
.btn-cta .cta-short { display: none; }   /* full "Speak to Dr. Zaf" shown at all breakpoints */

/* =====================================================================
   Services page: intro eyebrow + "what's offered" list
   ===================================================================== */
.exp-eyebrow { margin: 0 0 .7rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--gold); }
.exp-offer-lead { margin: 1.6rem 0 0; font-family: var(--sans); font-size: 1.02rem; line-height: 1.7; color: var(--grey); }
.exp-offer-lead[hidden] { display: none; }
.exp-offer-lead + .exp-offer { margin-top: .6rem; }
.exp-offer {
  list-style: none; margin: 1.4rem 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.6rem;
}
.exp-offer li {
  position: relative; padding-left: 1.1rem;
  font-family: var(--sans); font-size: 1.02rem; line-height: 1.7; color: var(--grey);
}
.exp-offer li::before { content: ""; position: absolute; left: 0; top: .58em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@media (max-width: 760px) { .exp-offer { grid-template-columns: 1fr; } }

/* =====================================================================
   Contact page: solid header over the dark contact block (like legal pages)
   ===================================================================== */
.contact-page { background: var(--paper); }
.contact-page .site-header {
  position: sticky; top: 0;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.contact-page .brand-logo--light { display: none; }
.contact-page .brand-logo--dark { display: block; filter: none; }
.contact-page .nav > a:not(.btn) { color: var(--green); }
.contact-page .nav > a:not(.btn):hover { color: var(--gold); }
.contact-page .nav-toggle { color: var(--green); }
