/* ============ Design Tokens ============ */
:root {
  --navy-900: #0A1F44;
  --navy-800: #0F2A55;
  --navy-700: #16356D;
  --navy-600: #1E4B8F;
  --navy-050: #EEF2F8;

  --gold-300: #E4C97A;
  --gold-500: #C7A046;
  --gold-ink: #8A6A1C;

  --cream: #FAF7F1;
  --white: #FFFFFF;
  --ink: #10162A;
  --muted: #5B6472;
  --border: #E2E6ED;

  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(10, 31, 68, 0.08);
  --shadow-md: 0 12px 32px rgba(10, 31, 68, 0.12);
  --shadow-lg: 0 24px 60px rgba(10, 31, 68, 0.18);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med: 320ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  margin: 0 0 var(--space-2);
  line-height: 1.15;
  font-weight: 600;
}

p { margin: 0 0 var(--space-2); }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.icon { width: 1em; height: 1em; }
.icon[hidden] { display: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: var(--space-2);
}
.eyebrow-dark { color: var(--gold-ink); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--navy-900); color: var(--white); }
.btn-primary:hover { background: var(--navy-700); box-shadow: var(--shadow-md); }

.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-300); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: var(--gold-300); color: var(--gold-300); }

.btn-outline-navy { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline-navy:hover { background: var(--navy-900); color: var(--white); }

.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: var(--white); color: var(--navy-900); }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  height: 84px;
}

.brand-logo { height: 42px; width: auto; }

.main-nav ul { display: flex; gap: var(--space-4); }
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-800);
  position: relative;
  padding: 6px 0;
  transition: color var(--dur-fast) var(--ease-out);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold-500);
  transition: right var(--dur-med) var(--ease-out);
}
.main-nav a:hover { color: var(--gold-ink); }
.main-nav a:hover::after,
.main-nav a.is-active::after { right: 0; }
.main-nav a.is-active { color: var(--gold-ink); }

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

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--navy-900);
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-2);
  padding: 0 24px var(--space-3);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav ul { display: flex; flex-direction: column; gap: var(--space-2); }
.mobile-nav ul a { font-weight: 600; font-size: 1.05rem; color: var(--navy-800); display: block; padding: 6px 0; }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: var(--navy-900);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  /* 38vw frames the pillar words down to the second step (with the water); capped at one screen.
     The stats (100+ / 1000+ / 100%) then show on first view. */
  min-height: min(calc(100vh - 84px), max(460px, calc(100vh - 84px - 230px), 38vw));
  min-height: min(calc(100dvh - 84px), max(460px, calc(100dvh - 84px - 230px), 38vw));
  padding: var(--space-6) 0 88px;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-media video {
  position: absolute;
  left: 0;
  top: -8%;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: 20% 20%; /* pillar words just below the header, water above the fold */
  will-change: transform, opacity;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 20, 45, 0.12) 0%,
    rgba(8, 20, 45, 0.18) 45%,
    rgba(8, 20, 45, 0.55) 75%,
    rgba(8, 20, 45, 0.82) 100%
  );
}

.video-toggle {
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(8, 20, 45, 0.55);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  display: none; /* pause button hidden at the team's request */
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.video-toggle:hover { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  text-align: center;
}
.hero-copy .eyebrow {
  color: var(--gold-300);
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.85), 0 2px 16px rgba(0,0,0,0.6);
}

.hero-wordmark {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.01em;
  margin: 0;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-wordmark span {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-top: 14px;
}

.hero-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; justify-content: center; margin-top: var(--space-2); }

.scroll-cue {
  position: absolute;
  left: 24px;
  bottom: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.55);
}
.scroll-cue span {
  writing-mode: vertical-rl;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scroll-line { width: 1px; height: 60px; background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent); }

/* ============ Stats ============ */
.stats { background: var(--cream); padding: var(--space-2) 0 var(--space-6); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy-900);
}
.stat p { color: var(--muted); font-weight: 600; margin: 0; }

/* ============ Section shared ============ */
section { padding: var(--space-7) 0; }
.section-head { max-width: 640px; margin: 0 auto var(--space-6); text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-sub { color: var(--muted); font-size: 1.05rem; }
.section-head.light h2 { color: var(--white); }
.section-head.light .section-sub { color: rgba(255,255,255,0.75); }

.section-head-left { max-width: 640px; margin: 0 0 var(--space-6); }
.section-head-left h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }

/* ============ Process ============ */
.process { background: var(--cream); }
.process-title { font-style: italic; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.process-step {
  border-top: 3px solid var(--gold-500);
  padding-top: var(--space-3);
}
.process-num {
  display: block;
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 700;
  color: var(--gold-500);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.process-step h3 { font-size: 1.2rem; margin-bottom: var(--space-2); }
.process-step p { color: var(--muted); margin: 0; line-height: 1.6; }
.process-grid { align-items: start; }
.process-more {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows var(--dur-med) var(--ease-out), visibility 0s linear var(--dur-med);
}
.process-more-inner { overflow: hidden; min-height: 0; }
.process-more-inner p { padding-top: var(--space-2); }
.process-step.is-open .process-more {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows var(--dur-med) var(--ease-out), visibility 0s;
}
.process-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-2);
  padding: 8px 0;
  min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-ink);
}
.process-toggle:hover { color: var(--navy-900); }
.process-toggle .icon { transition: transform var(--dur-fast) var(--ease-out); }
.process-step.is-open .process-toggle .icon { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
  .process-more, .process-step.is-open .process-more { transition: none; }
}

/* ============ Pillars ============ */
.pillars { background: var(--white); }

.pillar-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.pillar-tab {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--navy-050);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: var(--space-3);
  text-align: left;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.pillar-tab:hover { transform: translateY(-2px); }
.pillar-tab strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold-ink);
  font-weight: 700;
  margin-bottom: 2px;
}
.pillar-tab span:last-child { font-weight: 700; color: var(--navy-900); font-size: 1.05rem; }
.pillar-tab-cue {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.pillar-tab-cue::after { content: "Tap to explore"; }
@media (hover: hover) {
  .pillar-tab-cue::after { content: "Click to explore"; }
}
.pillar-tab.is-active .pillar-tab-cue { display: none; }
.pillar-tab:hover .pillar-tab-cue { color: var(--navy-900); }
.pillar-tab-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-700);
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
}
.pillar-tab.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
}
.pillar-tab.is-active strong { color: var(--gold-300); }
.pillar-tab.is-active span:last-child { color: var(--white); }
.pillar-tab.is-active .pillar-tab-icon { background: var(--gold-500); color: var(--navy-900); }

.pillar-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: center;
  animation: fadeUp var(--dur-med) var(--ease-out);
}
.pillar-panel[hidden] {
  display: none;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .pillar-panel { animation: none; }
}

.pillar-panel h3 { font-size: 1.9rem; }
.pillar-panel-text > p { color: var(--muted); font-size: 1.05rem; margin-bottom: var(--space-3); }
.pillar-list { margin-bottom: var(--space-4); }
.pillar-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: var(--space-2);
  font-weight: 500;
  color: var(--ink);
}
.pillar-list--detailed li {
  margin-bottom: var(--space-3);
}
.pillar-list--detailed li strong {
  display: block;
  color: var(--navy-900);
  font-weight: 600;
}
.pillar-list--detailed li span {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 3px;
}
.pillar-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--gold-500);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M229.66 77.66l-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69 218.34 66.34a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M229.66 77.66l-128 128a8 8 0 0 1-11.32 0l-56-56a8 8 0 0 1 11.32-11.32L96 188.69 218.34 66.34a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 12px; mask-size: 12px;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}

.pillar-panel-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-500);
  background: var(--navy-800);
  position: relative;
  overflow: hidden;
}
.pillar-panel-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ Approach / value marquee ============ */
.approach { background: var(--navy-050); overflow: hidden; }
.approach .container { padding-bottom: 0; }

.value-marquee {
  position: relative;
  margin-top: var(--space-6);
  overflow: hidden;
}
.value-marquee::before,
.value-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  z-index: 3;
  pointer-events: none;
}
.value-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--navy-050), transparent);
}
.value-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--navy-050), transparent);
}
.value-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.value-set {
  display: flex;
  gap: var(--space-4);
  margin-right: var(--space-4);
  padding: 4px 0 28px;
}

.approach-head { position: relative; }
.marquee-toggle {
  position: absolute;
  right: 24px;
  top: 0;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy-800);
  display: none; /* pause button hidden at the team's request */
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.marquee-toggle:hover { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
@media (max-width: 640px) {
  .marquee-toggle { position: static; margin: 0 auto var(--space-3); }
}

.value-card {
  flex: 0 0 320px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
}
.value-card h3 { font-size: 1.15rem; }
.value-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .value-track { animation: none; flex-wrap: wrap; width: 100%; }
  .value-set { flex-wrap: wrap; }
  .value-set[aria-hidden="true"] { display: none; }
  .marquee-toggle { display: none; }
  .value-marquee::before,
  .value-marquee::after { display: none; }
}

/* ============ Founder / Mission ============ */
.founder { background: var(--cream); }
.founder-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--space-6);
  align-items: start;
  padding-top: var(--space-4);
}
.founder-text p { color: var(--muted); font-size: 1.05rem; margin-bottom: var(--space-4); }
.founder-text .founder-mission {
  font-family: var(--font-head);
  color: var(--navy-900);
  font-size: 1.4rem;
  line-height: 1.45;
  margin-bottom: var(--space-5);
}
.founder-text .founder-quote {
  font-family: var(--font-head);
  font-style: italic;
  font-weight: 600;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.5;
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}
.founder-text .founder-quote-cite {
  font-style: normal;
  font-weight: 600;
  color: var(--gold-ink);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}
.founder-signature {
  width: 100%;
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 12px;
}
.founder-name {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy-900);
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0;
}
.founder-title {
  color: var(--gold-ink);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  line-height: 1.2;
  margin: 3px 0 0;
}
.founder-dates {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.2;
  margin: 3px 0 0;
}
.founder-photo {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-4);
}
.founder-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 1 1 0;
  max-width: 260px;
}
.founder-avatar {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-500);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ Team ============ */
.team { background: var(--white); }
.team-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3) var(--space-2);
}
@media (min-width: 1101px) {
  .team-row {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
  }
}
.team-card { text-align: center; }
.team-avatar {
  position: relative;
  aspect-ratio: 3/3.4;
  max-width: 78%;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-500);
  background: linear-gradient(160deg, var(--av-a, var(--navy-800)), var(--av-b, var(--navy-600)));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-3);
  overflow: hidden;
  padding: 0;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.team-avatar svg { width: 46%; color: rgba(255,255,255,0.35); fill: currentColor; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-initials {
  position: absolute;
  bottom: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.team-bio {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(10,31,68,0.35) 0%, rgba(10,31,68,0.94) 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) ease;
}
.team-avatar:focus-visible .team-bio,
.team-avatar[aria-expanded="true"] .team-bio {
  opacity: 1;
}
@media (hover: hover) {
  .team-avatar:hover .team-bio { opacity: 1; }
}
.team-bio-text {
  color: var(--white);
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: left;
  padding: var(--space-4) var(--space-3) var(--space-3);
}
@media (prefers-reduced-motion: reduce) {
  .team-bio { transition: none; }
}
.team-bio-name { display: none; }
@media (max-width: 640px) {
  .team-card { position: relative; }
  .team-avatar { position: static; width: 100%; max-width: 100%; }
  .team-avatar[aria-expanded="true"] .team-bio { pointer-events: auto; }
  .team-bio {
    inset: 0 0 -4px 0;
    align-items: center;
    background: var(--navy-900);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gold-500);
  }
  .team-bio-text { font-size: 0.72rem; line-height: 1.4; padding: 12px 10px; }
  .team-bio-name {
    display: block;
    font-family: var(--font-head);
    font-size: 0.9rem;
    color: var(--gold-300);
    margin-bottom: 6px;
  }
}
@media (max-width: 360px) {
  .team-bio-text { font-size: 0.66rem; padding: 10px 8px; }
  .team-bio-name { font-size: 0.82rem; margin-bottom: 4px; }
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.team-role { color: var(--muted); font-size: 0.9rem; margin: 0; }
.team-tenure { color: var(--muted); font-size: 0.8rem; font-style: italic; margin: 3px 0 0; }

/* ============ Testimonials ============ */
.testimonials {
  background: var(--navy-900);
  background-image: radial-gradient(circle at 85% 20%, rgba(199,160,70,0.14), transparent 45%);
}
.carousel { max-width: 760px; margin: 0 auto; text-align: center; }
.carousel-track { position: relative; min-height: 160px; }
.carousel-slide { position: absolute; inset: 0; }
.carousel-quote {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--white);
  line-height: 1.5;
  margin-bottom: var(--space-3);
}
.carousel-attr { color: var(--gold-300); font-weight: 700; }
.testimonial-disclosure {
  max-width: 760px;
  margin: var(--space-5) auto 0;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.55;
  font-style: italic;
  color: rgba(255,255,255,0.68);
}
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: var(--space-3); margin-top: var(--space-4); }
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.carousel-btn:hover { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
.carousel-dots { display: flex; gap: 10px; }
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.carousel-dot.is-active { background: var(--gold-500); transform: scale(1.2); }

/* ============ CTA banner ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  padding: var(--space-7) 0;
}
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-inner h2 { color: var(--white); }
.cta-inner p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: var(--space-4); }
.cta-actions { display: flex; justify-content: center; gap: var(--space-2); flex-wrap: wrap; }

/* ============ Contact ============ */
.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.contact-list { margin: var(--space-3) 0 var(--space-4); }
.contact-list li {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: var(--space-2);
  font-weight: 500;
}
.contact-list .icon { color: var(--gold-500); font-size: 1.3rem; margin-top: 2px; flex-shrink: 0; }
.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 260px;
}
.contact-map iframe { width: 100%; height: 100%; border: 0; }
.contact-map-link {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-700);
}
.contact-map-link:hover { color: var(--navy-900); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form-field { margin-bottom: var(--space-3); }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--navy-800);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--dur-fast) var(--ease-out);
  min-height: 44px;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--navy-700);
  outline: none;
}
.form-field.has-error input,
.form-field.has-error textarea { border-color: #C0392B; }
.field-error {
  display: block;
  color: #C0392B;
  font-size: 0.82rem;
  margin-top: 4px;
  min-height: 1em;
}
.form-status {
  margin-top: var(--space-2);
  font-weight: 600;
  color: var(--navy-700);
  text-align: center;
  min-height: 1.2em;
}

/* ============ Footer ============ */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.75); padding-top: var(--space-6); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo { height: 40px; filter: brightness(0) invert(1); margin-bottom: var(--space-2); opacity: 0.92; }
.footer-brand p { max-width: 32ch; font-size: 0.92rem; }
.footer-col h4 { color: var(--white); font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: var(--space-2); }
.footer-col ul li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-300); }
.footer-bottom { padding: var(--space-3) 24px; text-align: center; font-size: 0.85rem; }
.footer-disclosure {
  max-width: 1040px;
  margin: 8px auto 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.45);
}

/* ============ Back to top ============ */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), background var(--dur-fast);
  z-index: 150;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--gold-500); color: var(--navy-900); }

/* ============ Motion / mouse interactions ============ */
.magnetic {
  transition: transform 200ms var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  .magnetic { transition: none; }
}


/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .main-nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .scroll-cue { display: none; }
  .pillar-panel { grid-template-columns: 1fr; }
  .pillar-panel-visual { order: -1; aspect-ratio: 16/9; }
  .pillar-tabs { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .pillar-list--consulting li span { display: none; }
  .pillar-list--consulting li { margin-bottom: var(--space-2); }
  .hero-copy .eyebrow { font-size: 0.85rem; letter-spacing: 0.1em; }
  .hero { min-height: 0; padding: 170px 0 32px; }
  /* Band runs down behind the eyebrow so the water shows too */
  .hero-media { bottom: auto; height: 250px; }
  /* Zoomed slightly: pillar words, sun and water all in frame on phones */
  .hero-media video { top: 0; left: -6%; height: 100%; width: 132%; object-position: 0% 39%; }
  .hero-media::after {
    background: linear-gradient(
      to bottom,
      rgba(8, 20, 45, 0) 0%,
      rgba(8, 20, 45, 0) 65%,
      rgba(10, 31, 68, 0.6) 90%,
      var(--navy-900) 100%
    );
  }
  /* Stats sit in one row on phones so they show on first view */
  .stats { padding: var(--space-3) 0; }
  .stats-grid { gap: var(--space-1); }
  .stat-number { font-size: 1.6rem; }
  .stat p { font-size: 0.78rem; line-height: 1.3; }
  .value-card { flex-basis: 240px; }
  .value-marquee::before,
  .value-marquee::after { width: 32px; }
  .founder-photo { gap: var(--space-2); }
  .founder-name { font-size: 0.95rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
