/* =========================================================
   GLOBAL LEGACIES — Design System
   Palette: Ivory / Deep Navy / Antique Gold
   ========================================================= */

:root {
  --ivory: #F7F3EC;
  --ivory-soft: #FBF8F2;
  --mist: #D9D3C7;
  --navy: #0B1D2E;
  --navy-2: #15293D;
  --charcoal: #1F2733;
  --gold: #B08D57;
  --gold-soft: #C9A878;
  --gold-dim: #8A6E44;
  --text: #1F2733;
  --text-muted: #5A6573;
  --line: rgba(11, 29, 46, 0.12);
  --line-on-navy: rgba(247, 243, 236, 0.15);

  --font-serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
  --container-narrow: 880px;
  --container-reading: 720px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
ul, ol { padding: 0; margin: 0; list-style: none; }
p { margin: 0 0 1em; }

/* -------- Typography -------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 50, "WONK" 0;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); line-height: 1.05; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; }
h4 { font-size: 1.2rem; line-height: 1.3; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1.2rem;
  display: inline-block;
}
.eyebrow.on-dark { color: var(--gold-soft); }

.lead {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 620px;
}
.lead.on-dark { color: rgba(247, 243, 236, 0.82); }

.display-serif { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.02em; }

em, .italic { font-style: italic; }

/* -------- Layout -------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.container-reading { max-width: var(--container-reading); margin: 0 auto; padding: 0 clamp(20px, 4vw, 32px); }

section { padding: clamp(72px, 10vw, 140px) 0; }
section.tight { padding: clamp(56px, 7vw, 96px) 0; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 2px;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--ivory);
  border: 1px solid var(--navy);
}
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--ivory); }
.btn-gold {
  background: var(--gold);
  color: var(--ivory);
  border: 1px solid var(--gold);
}
.btn-gold:hover { background: var(--navy); border-color: var(--navy); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--ivory); }
.btn-ghost.on-dark { color: var(--ivory); border-color: rgba(247, 243, 236, 0.4); }
.btn-ghost.on-dark:hover { background: var(--gold); border-color: var(--gold); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: all 0.3s var(--ease);
}
.link-arrow:hover { color: var(--gold); gap: 14px; }
.link-arrow.on-dark { color: var(--ivory); border-color: var(--gold-soft); }
.link-arrow.on-dark:hover { color: var(--gold-soft); }

/* -------- Navigation -------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: rgba(247, 243, 236, 0);
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(247, 243, 236, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.nav.on-dark:not(.scrolled) { color: var(--ivory); }
.nav.on-dark:not(.scrolled) .nav-logo img {
  filter: grayscale(1) brightness(1.6) contrast(0.75);
  opacity: 0.85;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo img { height: 42px; width: auto; transition: filter 0.4s var(--ease); }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 36px);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.nav-links a {
  position: relative;
  padding: 6px 0;
  color: inherit;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

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

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lang-toggle a { padding: 4px 2px; opacity: 0.55; transition: all 0.3s var(--ease); }
.lang-toggle a.active { opacity: 1; color: var(--gold); }
.lang-toggle span { opacity: 0.3; }

.nav-cta {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  transition: all 0.35s var(--ease);
}
.nav-cta:hover { background: var(--navy); color: var(--ivory); }
.nav.on-dark:not(.scrolled) .nav-cta { border-color: rgba(247, 243, 236, 0.5); }
.nav.on-dark:not(.scrolled) .nav-cta:hover { background: var(--gold); border-color: var(--gold); }

.nav-burger {
  display: none;
  width: 28px; height: 20px;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: all 0.35s var(--ease);
}
.nav-burger span:nth-child(1) { top: 4px; }
.nav-burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-burger span:nth-child(3) { bottom: 4px; }
.nav-burger.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy);
  color: var(--ivory);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 32px 40px;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav-inner { text-align: center; }
.mobile-nav a {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  padding: 14px 0;
  transition: color 0.3s var(--ease);
}
.mobile-nav a:hover { color: var(--gold-soft); }
.mobile-nav .lang-toggle { justify-content: center; margin-top: 32px; font-size: 0.9rem; }

/* -------- Hero -------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--ivory);
  overflow: hidden;
  padding: 140px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img,
.hero-bg video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.72;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 29, 46, 0.55) 0%,
    rgba(11, 29, 46, 0.75) 60%,
    rgba(11, 29, 46, 0.92) 100%
  );
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero h1 { color: var(--ivory); max-width: 14ch; }
.hero .lead { color: rgba(247, 243, 236, 0.85); max-width: 560px; margin-bottom: 2.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-compact {
  min-height: 70vh;
  padding: 160px 0 80px;
}
.hero-compact h1 { max-width: 18ch; }

/* -------- Trust bar -------- */
.trust-bar {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  background: var(--ivory-soft);
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 72px);
}
.trust-bar-inner .label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex-basis: 100%;
  text-align: center;
  margin-bottom: 8px;
}
.trust-logo {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  opacity: 0.55;
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.trust-logo:hover { opacity: 1; }
.trust-logo small { display: block; font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }
.trust-logo img {
  height: clamp(40px, 4.5vw, 56px);
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(1) contrast(0.9);
  transition: filter 0.4s var(--ease);
}
.trust-logo:hover img { filter: grayscale(0) contrast(1); }

/* -------- Carriers marquee -------- */
.carriers {
  padding: clamp(88px, 11vw, 140px) 0 0;
  background: var(--ivory);
  overflow: hidden;
  position: relative;
}
.carriers::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
}
.carriers .section-head {
  margin-bottom: clamp(48px, 6vw, 72px);
}
.carriers .eyebrow { color: var(--gold); }

.logo-marquee {
  position: relative;
  overflow: hidden;
  padding: 24px 0 clamp(88px, 11vw, 140px);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: clamp(48px, 5vw, 80px);
  animation: marquee-scroll 60s linear infinite;
  width: max-content;
  align-items: center;
}
.logo-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  flex-shrink: 0;
  height: clamp(44px, 4.5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 0 8px;
}
.marquee-item img {
  max-height: 100%;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(0.85);
  opacity: 0.55;
  transition: filter 0.5s var(--ease), opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.marquee-item:hover img {
  filter: grayscale(0) contrast(1);
  opacity: 1;
  transform: scale(1.06);
}
.marquee-item .logo-text {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  color: var(--charcoal);
  opacity: 0.5;
  letter-spacing: 0;
  white-space: nowrap;
  transition: opacity 0.5s var(--ease), color 0.5s var(--ease);
  font-weight: 400;
}
.marquee-item:hover .logo-text {
  opacity: 1;
  color: var(--navy);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* -------- Partners (epic network section) -------- */
.partners {
  padding: clamp(96px, 12vw, 160px) 0;
  background: var(--ivory-soft);
  position: relative;
  overflow: hidden;
}
.partners::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 72px;
  background: linear-gradient(to bottom, transparent, var(--gold));
}
.partners::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 48px;
  background: linear-gradient(to top, transparent, var(--gold));
}

.partners-head {
  max-width: 780px;
  margin: 0 auto clamp(56px, 8vw, 96px);
  text-align: center;
}
.partners-head .eyebrow { color: var(--gold); }
.partners-head h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  max-width: 20ch;
  margin: 0 auto 20px;
  line-height: 1.1;
}
.partners-head .lead { margin: 0 auto; }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.55);
  position: relative;
}
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(44px, 5.5vw, 72px) clamp(20px, 3vw, 40px);
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background 0.55s var(--ease);
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.partner-card:last-child { border-right: none; }
.partner-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.6s var(--ease);
}
.partner-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center top, rgba(176, 141, 87, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}
.partner-card:hover { background: #FFFFFF; }
.partner-card:hover::before { width: 56px; }
.partner-card:hover::after { opacity: 1; }

.partner-logo-wrap {
  height: clamp(84px, 9vw, 118px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(26px, 3vw, 36px);
}
.partner-logo-wrap img {
  max-height: 100%;
  max-width: 80%;
  width: auto;
  height: auto;
  filter: grayscale(1) contrast(0.85);
  opacity: 0.55;
  transition: filter 0.6s var(--ease), opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.partner-card:hover .partner-logo-wrap img {
  filter: grayscale(0) contrast(1);
  opacity: 1;
  transform: scale(1.04);
}

.partner-card h4 {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.partner-card .role {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-weight: 500;
}
.partner-card .partner-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 22ch;
}

.partners-foot {
  margin-top: clamp(56px, 7vw, 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.partners-foot .divider {
  width: 32px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 8px;
}
.partners-foot .small-caps {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 960px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-card:nth-child(2n) { border-right: none; }
  .partner-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .partners-grid { grid-template-columns: 1fr; }
  .partner-card { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .partner-card:last-child { border-bottom: none !important; }
}

/* -------- Problem / split -------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.split-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-img.with-accent::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  width: 40%; height: 40%;
  background: var(--gold);
  z-index: -1;
  opacity: 0.2;
}

/* -------- Framework cards -------- */
.framework-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.framework-card {
  background: var(--ivory-soft);
  padding: 44px 32px;
  transition: background 0.4s var(--ease);
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(20% - 1px);
  min-width: 220px;
}
.framework-card:hover { background: var(--navy); color: var(--ivory); }
.framework-card:hover h3 { color: var(--ivory); }
.framework-card:hover .fw-number { color: var(--gold-soft); }
.fw-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  transition: color 0.4s var(--ease);
}
.framework-card h3 { font-size: 1.4rem; margin-bottom: 12px; transition: color 0.4s var(--ease); }
.framework-card p { font-size: 0.95rem; line-height: 1.6; color: inherit; opacity: 0.85; margin-bottom: 0; }
.framework-card p em { font-style: italic; color: var(--gold); }
.framework-card:hover p em { color: var(--gold-soft); }
.framework-card .fw-tag {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 20px;
  opacity: 0.6;
}

/* -------- Who we serve -------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(32px, 4vw, 56px);
}
.audience-card {
  text-align: center;
  padding: 0 16px;
}
.audience-icon {
  width: 52px; height: 52px;
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}
.audience-card h3 { font-size: 1.3rem; }
.audience-card p { font-size: 0.95rem; color: var(--text-muted); }

/* -------- Founder teaser -------- */
.founder-teaser {
  background: var(--ivory-soft);
}

/* -------- Testimonial -------- */
.testimonial-block {
  background: var(--navy);
  color: var(--ivory);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.testimonial-block::before {
  content: '"';
  position: absolute;
  top: -60px; left: 5%;
  font-family: var(--font-serif);
  font-size: 20rem;
  color: var(--gold);
  opacity: 0.12;
  line-height: 1;
}
.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.testimonial-attr {
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* -------- Big CTA -------- */
.cta-block {
  background: var(--navy);
  color: var(--ivory);
  text-align: center;
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}
.cta-block::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 1px; height: 60px;
  background: var(--gold);
  transform: translateX(-50%);
}
.cta-block h2 { color: var(--ivory); max-width: 18ch; margin: 0 auto 24px; }
.cta-block .lead { color: rgba(247, 243, 236, 0.8); margin: 0 auto 40px; }

/* -------- Footer -------- */
.footer {
  background: var(--navy);
  color: rgba(247, 243, 236, 0.75);
  padding: 80px 0 32px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand img {
  height: 48px;
  margin-bottom: 20px;
  filter: grayscale(1) brightness(1.6) contrast(0.75);
  opacity: 0.85;
}
.footer-brand p { max-width: 320px; font-size: 0.9rem; line-height: 1.6; opacity: 0.75; }
.footer h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer ul li { margin-bottom: 10px; }
.footer ul a:hover { color: var(--ivory); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line-on-navy);
  font-size: 0.8rem;
  opacity: 0.7;
}

/* -------- FAQ -------- */
.faq-group { margin-bottom: 56px; }
.faq-group-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 28px 40px 28px 0;
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: var(--navy);
  position: relative;
  transition: color 0.3s var(--ease);
}
.faq-q::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--gold);
  transition: transform 0.35s var(--ease);
  font-weight: 300;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-q:hover { color: var(--gold); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-a-inner {
  padding: 0 60px 28px 0;
  color: var(--text-muted);
  max-width: 780px;
}
.faq-item.open .faq-a { max-height: 400px; }

/* -------- Schedule / embeds -------- */
.schedule-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.schedule-info h3 { font-size: 1.3rem; margin-bottom: 8px; }
.schedule-info ul { margin: 24px 0; }
.schedule-info ul li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid var(--line);
  color: var(--text-muted);
}
.schedule-info ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 18px;
  width: 16px; height: 1px;
  background: var(--gold);
}
.schedule-embed {
  background: var(--ivory-soft);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  min-height: 720px;
}
.schedule-embed iframe { width: 100%; min-height: 720px; border: none; }

.meet-card {
  background: var(--ivory-soft);
  padding: 28px;
  border-left: 2px solid var(--gold);
  margin: 32px 0;
  display: flex;
  gap: 20px;
  align-items: center;
}
.meet-card img {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.meet-card h4 { margin: 0 0 4px; font-family: var(--font-serif); font-size: 1.1rem; font-weight: 400; }
.meet-card p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }

/* -------- Process steps -------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  position: relative;
  counter-reset: step;
}
.process-step {
  padding: 32px 24px 32px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.process-step h4 { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.process-step .step-time {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* -------- Pillar rows (method deep) -------- */
.pillar-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: clamp(60px, 8vw, 100px) 0;
  border-bottom: 1px solid var(--line);
}
.pillar-row:last-child { border-bottom: none; }
.pillar-row.reverse .pillar-media { order: 2; }
.pillar-num {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 20px;
  font-weight: 300;
}
.pillar-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 8px;
}
.pillar-row h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 20px; }
.pillar-row ul { margin-top: 24px; }
.pillar-row ul li {
  padding: 10px 0 10px 24px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.pillar-row ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 18px;
  width: 12px; height: 1px;
  background: var(--gold);
}
.pillar-media {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}
.pillar-media img { width: 100%; height: 100%; object-fit: cover; }

/* -------- What this is not -------- */
.not-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.not-list div {
  background: var(--ivory-soft);
  padding: 28px;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  text-align: center;
}
.not-list div::before {
  content: '✕';
  display: block;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* -------- Founder portrait (about page) -------- */
.founder-portrait {
  margin: 0 auto clamp(40px, 6vw, 72px);
  max-width: 340px;
  text-align: center;
  position: relative;
}
.founder-portrait .portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.founder-portrait .portrait-frame::before {
  content: '';
  position: absolute;
  top: -14px; left: -14px;
  width: 45%; height: 45%;
  background: var(--gold);
  opacity: 0.18;
  z-index: 0;
}
.founder-portrait .portrait-frame::after {
  content: '';
  position: absolute;
  bottom: -14px; right: -14px;
  width: 35%; height: 35%;
  border: 1px solid var(--gold);
  z-index: 0;
}
.founder-portrait img {
  position: relative;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.founder-portrait figcaption {
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.4;
}
.founder-portrait figcaption .role {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-top: 6px;
}

/* -------- Story narrative -------- */
.story-narrative {
  max-width: var(--container-reading);
  margin: 0 auto;
}
.story-narrative p {
  font-size: 1.12rem;
  line-height: 1.75;
  margin-bottom: 1.5em;
  color: var(--charcoal);
}
.story-narrative p.lead-p {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.45;
  color: var(--navy);
  margin-bottom: 2em;
}
.story-narrative p.lead-p::first-letter {
  font-family: var(--font-serif);
  font-size: 4.5rem;
  float: left;
  line-height: 0.9;
  margin: 8px 14px 0 0;
  color: var(--gold);
  font-weight: 400;
}
.story-narrative h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 2em 0 0.5em;
  color: var(--navy);
}
.pull-quote {
  border-left: 2px solid var(--gold);
  padding: 8px 0 8px 28px;
  margin: 48px 0;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1.35;
  color: var(--navy);
  font-style: italic;
}

/* -------- Values grid -------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
}
.value-item {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.value-item:last-child { border-right: none; }
.value-item .num {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  display: block;
}
.value-item h4 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 8px; }
.value-item p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* -------- Solutions hub cards -------- */
.solutions-list {
  display: grid;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.solution-row {
  background: var(--ivory-soft);
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: 32px clamp(24px, 4vw, 48px);
  transition: background 0.35s var(--ease);
}
.solution-row:hover { background: var(--ivory); }
.solution-row .num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 300;
}
.solution-row h3 { margin: 0 0 6px; font-size: 1.4rem; }
.solution-row p { margin: 0; color: var(--text-muted); max-width: 560px; }
.solution-row .arrow { color: var(--gold); font-size: 1.4rem; transition: transform 0.35s var(--ease); }
.solution-row:hover .arrow { transform: translateX(8px); }

/* -------- Reveal animations -------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.4s; }

/* -------- Legal pages -------- */
.legal {
  padding: 160px 0 80px;
}
.legal-inner {
  max-width: var(--container-reading);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 32px);
}
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.legal .meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 1.3rem;
  margin: 2.5em 0 0.8em;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal h3 { font-size: 1.05rem; margin: 1.8em 0 0.5em; }
.legal p, .legal li { font-size: 0.98rem; line-height: 1.7; color: var(--charcoal); }
.legal ul, .legal ol { margin: 0 0 1em 1.2em; list-style: disc; }
.legal ul li, .legal ol li { margin-bottom: 6px; }

/* -------- Thank you -------- */
.thanks-hero {
  padding: 180px 0 80px;
  text-align: center;
  background: var(--ivory-soft);
  border-bottom: 1px solid var(--line);
}
.thanks-hero .checkmark {
  width: 72px; height: 72px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  margin: 0 auto 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.8rem;
}
.next-steps {
  counter-reset: ns;
  max-width: 720px;
  margin: 40px auto 0;
}
.next-step {
  counter-increment: ns;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  text-align: left;
}
.next-step:last-child { border-bottom: 1px solid var(--line); }
.next-step::before {
  content: '0' counter(ns);
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.2rem;
}
.next-step h4 { font-family: var(--font-serif); font-size: 1.15rem; margin: 0 0 4px; }
.next-step p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }

/* -------- Utilities -------- */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.bg-ivory-soft { background: var(--ivory-soft); }
.bg-navy { background: var(--navy); color: var(--ivory); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--ivory); }

/* -------- Responsive -------- */
@media (max-width: 960px) {
  .nav-links, .lang-toggle.desktop, .nav-cta.desktop { display: none; }
  .nav-burger { display: block; }

  .split, .pillar-row, .pillar-row.reverse .pillar-media { grid-template-columns: 1fr; }
  .pillar-row.reverse .pillar-media { order: 0; }
  .pillar-media { aspect-ratio: 16/10; max-height: 420px; }

  .schedule-split { grid-template-columns: 1fr; }
  .schedule-embed { min-height: 680px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .solution-row { grid-template-columns: 64px 1fr 32px; padding: 24px; }
  .solution-row .num { font-size: 1.8rem; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .hero { padding: 120px 0 60px; min-height: 86vh; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value-item:nth-child(2n) { border-right: none; }
  .testimonial-block::before { font-size: 12rem; top: -30px; }
  .story-narrative p.lead-p::first-letter { font-size: 3.5rem; }
  .meet-card { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}
