/* ============================================
   By Any Means Basketball — Design System
   ============================================ */

/* Brand tokens come from the shared BAM design system (mirrored copy — the
   authoritative source is design-system/bam-design-system.css; run
   `node design-system/sync.mjs` after changing it). This import also pulls the
   brand fonts (Anton, Inter Tight). */
@import url('bam-design-system.css');

:root {
  /* by-any-means keeps its own variable names so none of its existing CSS has
     to change — but they now ALIAS the canonical BAM tokens, so there is one
     source of truth. Values are identical to what was here before. */
  --navy:        var(--black);
  --navy-deep:   var(--black-deep);
  --cream:       var(--gold);        /* primary gold (brand) */
  --cream-soft:  var(--gold-soft);   /* lighter tint */
  --paper:       var(--black);       /* black surface */
  --paper-soft:  var(--black-lift);  /* lifted black */
  --ink:         var(--white);       /* default text */
  --ink-soft:    var(--white-70);
  --line:        var(--white-line);
  --line-on-dark:var(--gold-line);

  /* Type — aliased to canonical */
  --display: var(--font-display);
  --body:    var(--font-body);

  /* Scale (--container / --gutter / --section-pad) is provided by the canonical. */
}

/* ============================================
   GLOBAL POLISH — photo treatment + film grain
   Toggle html.duotone-on to apply duotone
   ============================================ */
html.duotone-on img { filter: grayscale(0.6) contrast(1.08) sepia(0.14) brightness(0.94); }
html.duotone-on img:hover { filter: grayscale(0.15) contrast(1.1) brightness(1); }
img.nofilter, .nav__logo-mark img, .nofilter img { filter: none !important; }

/* Film grain on dark sections (subtle white speckle) */
.hero, .pillar--dark, .section--navy, .pagehero, .footer, .ctaband { position: relative; }
.hero::after, .pillar--dark::after, .section--navy::after, .pagehero::after, .footer::after, .ctaband::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.7;
  z-index: 1;
}
.hero > *, .pillar--dark > *, .section--navy > *, .pagehero > *, .footer > *, .ctaband > * { position: relative; z-index: 2; }

/* ============================================
   SCROLL-FADE STAGGER
   ============================================ */
[data-reveal] > *,
.section > .container > *,
.pillar > .container > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.is-revealed > *,
.section.is-revealed > .container > *,
.pillar.is-revealed > .container > * {
  opacity: 1;
  transform: translateY(0);
}
.is-revealed > *:nth-child(2),
.section.is-revealed > .container > *:nth-child(2),
.pillar.is-revealed > .container > *:nth-child(2) { transition-delay: 0.08s; }
.is-revealed > *:nth-child(3),
.section.is-revealed > .container > *:nth-child(3),
.pillar.is-revealed > .container > *:nth-child(3) { transition-delay: 0.16s; }
.is-revealed > *:nth-child(4),
.section.is-revealed > .container > *:nth-child(4),
.pillar.is-revealed > .container > *:nth-child(4) { transition-delay: 0.24s; }
.is-revealed > *:nth-child(5),
.section.is-revealed > .container > *:nth-child(5),
.pillar.is-revealed > .container > *:nth-child(5) { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] > *, .section > .container > *, .pillar > .container > * {
    opacity: 1; transform: none; transition: none;
  }
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: 0.005em; line-height: 0.92; text-transform: uppercase; }
p { margin: 0; }
ul { list-style: none; padding: 0; margin: 0; }

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

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,0.78);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
          backdrop-filter: blur(16px) saturate(140%);
  color: #fff;
  border-bottom: 1px solid rgba(226,221,159,0.18);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.4s ease;
}
.nav.is-scrolled {
  background: rgba(8,8,8,0.85);
  border-bottom-color: rgba(226,221,159,0.32);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
  transition: height 0.3s cubic-bezier(0.2,0.7,0.2,1);
}
.nav.is-scrolled .nav__inner { height: 60px; }
.nav__logo {
  font-family: var(--display);
  font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase;
  color: var(--cream);
  display: flex; align-items: center; gap: 10px;
}
.nav__logo-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background-image: url('assets/microscope.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  /* Hide any letter text inside while keeping the el accessible */
  font-size: 0;
  color: transparent;
}
.nav__links { display: flex; gap: 28px; align-items: center; }
.nav__links > a,
.nav__links > .nav__item > a,
.nav__links > .nav__item > button {
  background: none; border: none; cursor: pointer;
  font-family: inherit;
}
.nav__item {
  position: relative;
}
.nav__item > a,
.nav__item > button {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  padding: 22px 0;
  position: relative;
  transition: color 0.18s ease;
}
.nav__item > a::after,
.nav__item > button::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 14px;
  height: 1.5px;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s cubic-bezier(0.2,0.7,0.2,1);
  pointer-events: none;
}
.nav__item > a:hover::after,
.nav__item > button:hover::after,
.nav__item--has-dropdown:hover > button::after {
  transform: scaleX(1);
}
.nav__item > a.is-current::after,
.nav__item > a.is-current ~ ::after {
  transform: scaleX(1);
  background: var(--cream);
  opacity: 0.8;
}
.nav__item > a:hover,
.nav__item > button:hover { color: var(--cream); }
.nav__caret {
  width: 8px; height: 8px;
  display: inline-block;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.nav__item--has-dropdown:hover .nav__caret,
.nav__item--open .nav__caret {
  transform: rotate(225deg) translateY(0);
}
.nav__dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 6px);
  background: var(--navy);
  border: 1px solid var(--line-on-dark);
  min-width: 260px;
  padding: 12px 0;
  opacity: 0; visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 60;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
}
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 12px;
}
.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--open .nav__dropdown {
  opacity: 1; visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.nav__dropdown a {
  display: block;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, padding 0.2s ease;
  position: relative;
}
.nav__dropdown a::after { display: none; }
.nav__dropdown a:hover {
  color: var(--cream);
  background: rgba(226,221,159,0.06);
  padding-left: 30px;
}

/* Legacy support — only direct anchor children of .nav__links (not dropdown items) */
.nav__links > a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  padding: 22px 0;
  position: relative;
  transition: color 0.18s ease;
  text-decoration: none;
}
.nav__links > a:hover { color: var(--cream); }
.nav__links > a::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: 14px;
  height: 1.5px;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s cubic-bezier(0.2,0.7,0.2,1);
}
.nav__links > a:hover::after,
.nav__links > a.is-current::after { transform: scaleX(1); }
.nav__links > a.is-current { color: var(--cream); }
.nav__cta {
  background: var(--cream); color: var(--navy);
  padding: 10px 18px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  transition: transform 0.15s, background 0.15s;
}
.nav__cta:hover { background: #fff; transform: translateY(-1px); }
.nav__burger { display: none; background: none; border: none; color: var(--cream); }

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: block; font-size: 28px; line-height: 1; }
  .nav__inner { height: 64px; }

  /* Full-screen mobile overlay */
  .nav.is-open { position: fixed; inset: 0; height: 100dvh; z-index: 100; display: flex; flex-direction: column; }
  .nav.is-open .nav__inner { flex: 0 0 auto; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; align-items: flex-start;
    flex: 1; justify-content: center; gap: 8px;
    padding: 0 var(--gutter);
    background: var(--navy);
  }
  .nav.is-open .nav__links a {
    font-family: var(--display); font-size: clamp(36px, 8vw, 56px);
    text-transform: uppercase; letter-spacing: 0.005em; line-height: 1;
    color: #fff; padding: 8px 0;
  }
  .nav.is-open .nav__links a::after { display: none; }
  .nav.is-open .nav__links a:hover { color: var(--cream); }
  .nav.is-open .nav__cta { display: inline-flex; margin: 24px var(--gutter) 40px; align-self: flex-start; }
  .nav.is-open .nav__burger::before { content: '×'; }

  /* Mobile dropdown: flatten inline */
  .nav.is-open .nav__item { width: 100%; }
  .nav.is-open .nav__item > button {
    font-family: var(--display);
    font-size: clamp(36px, 8vw, 56px);
    text-transform: uppercase;
    color: #fff;
    padding: 8px 0;
    width: 100%;
    justify-content: flex-start;
  }
  .nav.is-open .nav__dropdown {
    position: static;
    opacity: 1; visibility: visible;
    pointer-events: auto;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 24px;
    min-width: 0;
  }
  .nav.is-open .nav__dropdown a {
    font-family: var(--display);
    font-size: clamp(22px, 5vw, 32px);
    color: rgba(255,255,255,0.82);
    padding: 8px 0;
  }
  .nav.is-open .nav__caret { display: none; }
  .nav.is-open .nav__burger { font-size: 38px; }
  body.nav-open { overflow: hidden; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
  padding: clamp(80px, 12vh, 140px) 0 clamp(60px, 8vh, 100px);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(235,230,168,0.08), transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(235,230,168,0.04), transparent 50%);
  pointer-events: none;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--body);
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 32px;
}
.hero__eyebrow::before {
  content: ''; width: 32px; height: 1px; background: var(--cream);
}
.hero__title {
  font-size: clamp(64px, 11vw, 180px);
  line-height: 0.88;
  letter-spacing: -0.005em;
  max-width: 14ch;
}
/* Global emphasis treatment in display titles: gold Anton, no italic */
h1 em, h2 em, h3 em, h4 em,
.hero__title em, .pagehero__title em, .pillar__title em, .ctaband__title em, .section__title em, .row__title em, .marquee__item em, .testimonial__quote em {
  font-family: var(--display);
  font-style: normal;
  font-weight: 400;
  color: var(--cream);
}
/* hero-specific letter-spacing for big italic look (now just gold) */
.hero__title em { letter-spacing: -0.005em; }
.hero__sub {
  margin-top: 36px;
  max-width: 52ch;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  color: rgba(255,255,255,0.82);
  font-weight: 400;
}
.hero__ctas { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero stats — editorial, not cards */
.hero__stats {
  position: relative;
  margin-top: clamp(60px, 10vh, 120px);
  padding-top: 40px;
  border-top: 1px solid var(--line-on-dark);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.stat__value {
  font-family: var(--display);
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.9;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.stat__label {
  margin-top: 8px;
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 720px) {
  .hero__stats { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px;
  font-family: var(--body);
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  border: none;
  transition: transform 0.15s, background 0.15s, color 0.15s;
}
.btn--primary { background: var(--cream); color: var(--navy); }
.btn--primary:hover { background: #fff; transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn--ghost:hover { border-color: var(--cream); color: var(--cream); }
.btn--ink { background: var(--navy); color: #fff; }
.btn--ink:hover { background: #000; transform: translateY(-2px); }
.btn__arrow { font-size: 18px; transition: transform 0.15s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ============================================
   PILLAR (BAM Basketball / Coaches / Business)
   Full-bleed editorial blocks, alternating
   ============================================ */
.pillar { padding: var(--section-pad) 0; position: relative; }
.pillar--dark { background: var(--navy); color: #fff; }
.pillar--cream { background: var(--navy); color: #fff; }
.pillar--paper { background: var(--paper); color: var(--ink); }
.pillar--cream .pillar__number { color: rgba(255,255,255,0.5); }
.pillar--cream .pillar__title em { color: var(--cream) !important; }

.pillar__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.pillar--reverse .pillar__grid > :first-child { order: 2; }

.pillar__number {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 24px;
  opacity: 0.65;
}
.pillar__title {
  font-size: clamp(48px, 7vw, 96px);
  margin-bottom: 24px;
}
.pillar__title span { color: currentColor; opacity: 0.4; }
.pillar--dark .pillar__title em,
.pillar--paper .pillar__title em { color: var(--cream);  font-weight: 400; }
.pillar--cream .pillar__title em { color: var(--cream);  font-weight: 400; }

.pillar__lede {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  max-width: 50ch;
  margin-bottom: 36px;
  opacity: 0.85;
}

.pillar__stats {
  display: flex; gap: clamp(28px, 4vw, 56px);
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 28px 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  border-color: rgba(255,255,255,0.18);
}
.pillar--cream .pillar__stats { border-color: rgba(255,255,255,0.18); }
.pillar--paper .pillar__stats { border-color: rgba(10,18,36,0.15); }
.pillar__stat-value {
  font-family: var(--display); font-size: clamp(36px, 4vw, 64px); line-height: 0.9;
}
.pillar__stat-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; margin-top: 6px; }

/* Pillar visual: instagram tile grid */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.tile-grid a {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1a2238;
  position: relative;
  transition: transform 0.2s;
}
.tile-grid a:hover { transform: scale(1.02); z-index: 2; }
.tile-grid a:hover img { transform: scale(1.08); }
.tile-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.tile-grid a::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4));
  opacity: 0; transition: opacity 0.2s;
}
.tile-grid a:hover::after { opacity: 1; }

@media (max-width: 880px) {
  .pillar__grid { grid-template-columns: 1fr; }
  .pillar--reverse .pillar__grid > :first-child { order: 1; }
}

/* ============================================
   GLOBAL CTA BAND
   ============================================ */
.ctaband {
  background: var(--navy);
  color: #fff;
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ctaband__title {
  font-size: clamp(64px, 12vw, 200px);
  line-height: 0.86;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}
.ctaband__title em { font-weight: 400;  color: var(--cream); }
.ctaband__sub {
  font-size: clamp(18px, 1.6vw, 22px);
  max-width: 56ch; margin: 0 auto 40px;
  color: rgba(255,255,255,0.72);
}
.ctaband .btn--ink { background: var(--cream); color: var(--navy); }
.ctaband .btn--ink:hover { background: #fff; color: var(--navy); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
  font-size: 14px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer__brand {
  font-family: var(--display); font-size: 36px;
  color: var(--cream); text-transform: uppercase; line-height: 1;
  margin-bottom: 20px;
}
.footer__tag { max-width: 32ch; line-height: 1.5; }
.footer__col h4 {
  font-family: var(--body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 20px;
}
.footer__col ul li { margin-bottom: 10px; }
.footer__col a:hover { color: var(--cream); }
.footer__bottom {
  margin-top: 32px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  opacity: 0.55;
}
.footer__social { display: flex; gap: 16px; }
@media (max-width: 760px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   PAGE HERO (smaller, used on inner pages)
   ============================================ */
.pagehero {
  background: var(--navy);
  color: #fff;
  padding: clamp(80px, 14vh, 160px) 0 clamp(60px, 10vh, 120px);
  position: relative; overflow: hidden;
}
.pagehero__eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream); margin-bottom: 24px;
}
.pagehero__title {
  font-size: clamp(48px, 8vw, 132px);
  line-height: 0.9;
  max-width: 16ch;
}
.pagehero__title em { color: var(--cream);  font-weight: 400; }
.pagehero__sub {
  margin-top: 28px;
  max-width: 60ch;
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
}

/* Section utilities */
.section { padding: var(--section-pad) 0; }
.section--paper { background: var(--paper); }
.section--cream { background: var(--navy); color: #fff; }
.section--cream .section__title em { color: var(--cream) !important; }
.section--cream .section__lede, .section--cream p { color: rgba(255,255,255,0.78); }
.section--navy { background: var(--navy); color: #fff; }

.section__eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream); margin-bottom: 20px;
}
.section--paper .section__eyebrow { color: var(--ink-soft); }
.section--cream .section__eyebrow { color: var(--cream); }

.section__title {
  font-size: clamp(40px, 6vw, 80px); line-height: 0.92;
  max-width: 22ch;
  margin-bottom: 28px;
}
.section__title em { font-weight: 400;  color: var(--cream); }
.section--cream .section__title em { color: var(--cream); }
.section--paper .section__title em { color: var(--cream); }

.section__lede {
  max-width: 64ch;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
  margin-bottom: 56px;
  opacity: 0.8;
}

/* Card grid */
.cardgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cardgrid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .cardgrid, .cardgrid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper-soft);
  border: 1px solid var(--line-on-dark);
  padding: 36px;
  display: flex; flex-direction: column;
  color: #fff;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.card:hover { border-color: var(--cream); background: #161616; }
.card__title { color: #fff; }
.card__body { color: rgba(255,255,255,0.78); }
.card__num { color: var(--cream); }
.section--navy .card, .section--cream .card, .pillar--cream .card { background: rgba(255,255,255,0.04); border-color: var(--line-on-dark); }
.card:hover { transform: translateY(-4px); }
.card__num { font-size: 14px; opacity: 0.55; margin-bottom: 16px; }
.card__title { font-size: 28px; margin-bottom: 14px; line-height: 1; }
.card__body { font-size: 15px; line-height: 1.6; opacity: 0.78; }

/* Image + text rows */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.row--reverse > :first-child { order: 2; }
.row + .row { margin-top: clamp(80px, 12vh, 140px); }
@media (max-width: 880px) { .row { grid-template-columns: 1fr; } .row--reverse > :first-child { order: 1; } }

.row__img { aspect-ratio: 4/5; overflow: hidden; }
.row__img img { width: 100%; height: 100%; object-fit: cover; }
.row__eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.row__title { font-size: clamp(32px, 4vw, 56px); line-height: 0.95; margin-bottom: 20px; }
.row__title em { font-weight: 400;  }
.row__body { font-size: 17px; line-height: 1.6; opacity: 0.82; margin-bottom: 24px; }

/* FAQ accordion */
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 28px 0; text-align: left;
  font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px);
  background: transparent; border: none; color: inherit;
  letter-spacing: 0.005em; text-transform: uppercase;
}
.faq__icon {
  width: 24px; height: 24px; flex-shrink: 0;
  position: relative;
}
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; background: currentColor;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; transition: transform 0.2s; }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq__a > div { padding: 0 0 28px; max-width: 78ch; opacity: 0.78; line-height: 1.65; }
.faq__item.is-open .faq__a { max-height: 600px; }

/* ============================================
   STICKY MINI-CTA
   ============================================ */
.sticky-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 18px 14px 22px;
  background: var(--cream); color: var(--navy);
  font-family: var(--body); font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.sticky-cta.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sticky-cta:hover { background: #fff; }
.sticky-cta span { font-size: 16px; transition: transform 0.15s; }
.sticky-cta:hover span { transform: translateX(4px); }
.sticky-cta__close {
  margin-left: 8px; padding: 0 6px;
  background: transparent; border: none; color: inherit;
  font-size: 18px; line-height: 1; cursor: pointer; opacity: 0.5;
}
.sticky-cta__close:hover { opacity: 1; }
@media (max-width: 720px) {
  .sticky-cta { right: 12px; bottom: 12px; padding: 12px 14px 12px 18px; font-size: 11px; }
}

/* ============================================
   STATS MARQUEE
   ============================================ */
.marquee {
  background: var(--navy); color: #fff;
  overflow: hidden; padding: 28px 0;
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
}
.marquee__track {
  display: flex; gap: 64px;
  animation: marquee 36s linear infinite;
  width: max-content;
}
.marquee__item {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--display); font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 0.01em; text-transform: uppercase;
  white-space: nowrap;
}
.marquee__item em {
  font-weight: 400;
  color: var(--cream); 
}
.marquee__dot {
  width: 8px; height: 8px; background: var(--cream); border-radius: 50%;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ============================================
   EDITORIAL NUMBERED LIST
   Replaces card-grids where the data is a numbered list of things
   ============================================ */
.editlist {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line-on-dark);
}
.editlist__item {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr auto;
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
  padding: clamp(36px, 5vh, 64px) 0;
  border-bottom: 1px solid var(--line-on-dark);
  position: relative;
}
.editlist__item:hover .editlist__num { color: #fff; }
.editlist__num {
  font-family: var(--display);
  font-size: clamp(64px, 10vw, 140px);
  line-height: 0.85;
  color: var(--cream);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.editlist__body { padding-top: 12px; }
.editlist__title {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin-bottom: 14px;
}
.editlist__title em { color: var(--cream); font-style: normal; }
.editlist__desc {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.6;
  max-width: 60ch;
  color: rgba(255,255,255,0.78);
}
.editlist__meta {
  padding-top: 28px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream);
  text-align: right;
  align-self: start;
  white-space: nowrap;
}
@media (max-width: 880px) {
  .editlist__item { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; }
  .editlist__meta { text-align: left; padding-top: 0; }
}

/* ============================================
   SECTION HEIGHT MODIFIERS
   ============================================ */
.section--tall { padding: clamp(160px, 26vh, 280px) 0; }
.section--compact { padding: clamp(48px, 6vh, 72px) 0; }

/* ============================================
   PULL QUOTE (breaks the grid)
   ============================================ */
.pullquote {
  padding: clamp(120px, 18vh, 200px) 0;
  position: relative;
}
.pullquote__inner {
  max-width: 1600px; margin: 0 auto;
  padding-inline: var(--gutter);
}
.pullquote__text {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 120px);
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  max-width: 22ch;
}
.pullquote--right .pullquote__text { margin-left: auto; text-align: right; }
.pullquote--big .pullquote__text { font-size: clamp(64px, 11vw, 180px); max-width: 18ch; }
.pullquote__text em { color: var(--cream); font-style: normal; }
.pullquote__attr {
  margin-top: 36px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream);
  display: inline-flex; align-items: center; gap: 14px;
}
.pullquote__attr::before {
  content: ''; width: 40px; height: 1px; background: var(--cream);
}

/* ============================================
   BIG STATS — stats-as-typography
   Numbers fill the viewport, labels small
   ============================================ */
.bigstats {
  padding: clamp(120px, 18vh, 200px) 0;
  display: grid;
  gap: clamp(36px, 5vh, 72px);
}
.bigstat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 30%);
  align-items: end;
  gap: clamp(20px, 4vw, 64px);
  padding-bottom: clamp(28px, 4vh, 48px);
  border-bottom: 1px solid var(--line-on-dark);
}
.bigstat__num {
  font-family: var(--display);
  font-size: clamp(120px, 22vw, 360px);
  line-height: 0.78;
  color: var(--cream);
  letter-spacing: -0.02em;
}
.bigstat__label {
  font-family: var(--body);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  padding-bottom: 18px;
}
.bigstat__label strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(20px, 1.6vw, 26px);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 400;
}
@media (max-width: 760px) {
  .bigstat { grid-template-columns: 1fr; align-items: start; }
  .bigstat__num { font-size: clamp(96px, 30vw, 200px); }
}

/* ============================================
   FULL-BLEED PHOTO BAND
   ============================================ */
.fullbleed {
  position: relative;
  height: clamp(420px, 70vh, 760px);
  background-color: var(--paper-soft);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.fullbleed::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.8) 100%);
}
.fullbleed__inner {
  position: relative; z-index: 2;
  height: 100%;
  max-width: var(--container); margin: 0 auto;
  padding: 0 var(--gutter) clamp(48px, 8vh, 96px);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.fullbleed__eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream); margin-bottom: 20px;
}
.fullbleed__title {
  font-family: var(--display);
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.9; color: #fff;
  text-transform: uppercase;
  max-width: 18ch;
}
.fullbleed__title em { color: var(--cream); font-style: normal; }

/* ============================================
   BATCH 3 — EDITORIAL MOMENTS (existing)
   ============================================ */

/* Drop cap — use class="dropcap" on a paragraph */
.dropcap::first-letter {
  font-weight: 400;
  float: left;
  font-size: clamp(72px, 8vw, 110px);
  line-height: 0.85;
  margin: 6px 14px 0 0;
  color: var(--cream);
}
.section--navy .dropcap::first-letter, .pillar--dark .dropcap::first-letter { color: var(--cream); }

/* Huge background numerals on pillars — use class="pillar__bignum" inside .pillar */
.pillar { overflow: hidden; }
.pillar__bignum {
  position: absolute;
  font-family: var(--display);
  font-size: clamp(280px, 38vw, 520px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: currentColor;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  top: -40px;
  right: -40px;
}
.pillar--dark .pillar__bignum { opacity: 0.06; color: var(--cream); }
.pillar > .container { position: relative; z-index: 2; }

/* Vertical eyebrows — use class="vert-eyebrow" inside a positioned section */
.vert-eyebrow {
  position: absolute;
  left: 18px; top: 50%;
  transform: rotate(-90deg) translateX(50%);
  transform-origin: left center;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--cream);
  font-family: var(--body); font-weight: 600;
  white-space: nowrap;
  z-index: 3;
}
.vert-eyebrow::before {
  content: ''; display: inline-block;
  width: 36px; height: 1px; background: var(--cream);
  vertical-align: middle; margin-right: 12px;
}
@media (max-width: 980px) { .vert-eyebrow { display: none; } }

/* Outlined headline variant — use class="title--outline" on a heading */
.title--outline {
  -webkit-text-stroke: 1.5px var(--cream);
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@supports not (-webkit-text-stroke: 1px black) {
  .title--outline { color: var(--cream); }
}

/* Tile hover split reveal */
.tile-grid a { position: relative; overflow: hidden; }
.tile-grid a .tile-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  background: var(--cream); color: var(--navy);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  pointer-events: none;
  z-index: 3;
}
.tile-grid a:hover .tile-cap { transform: translateY(0); }
.tile-grid a img { transition: transform 0.4s ease, filter 0.4s ease; }
.tile-grid a:hover img { transform: scale(1.06); }

/* In-page TOC — fixed left rail */
.toc {
  position: fixed; left: 24px; top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex; flex-direction: column; gap: 12px;
}
.toc__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  border: none; padding: 0;
  position: relative;
  transition: background 0.2s, transform 0.2s;
}
.toc__dot:hover { transform: scale(1.4); background: var(--cream); }
.toc__dot.is-active { background: var(--cream); transform: scale(1.4); }
.toc__dot::after {
  content: attr(data-label);
  position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff; white-space: nowrap;
  opacity: 0; transition: opacity 0.2s;
  background: var(--paper-soft); padding: 4px 8px;
  pointer-events: none;
}
.toc__dot:hover::after { opacity: 1; }
@media (max-width: 980px) { .toc { display: none; } }

/* Hero photo treatment — use class="hero--photo" with style="--hero-img: url(...)" */
.hero--photo::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover; background-position: center;
  filter: grayscale(0.5) contrast(1.05) brightness(0.45);
  z-index: 0;
}
.hero--photo::after { /* keep film grain */ }
.hero--photo > .container { position: relative; z-index: 3; }

/* Countries grid — stylized for global-projects */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.country-grid .country {
  background: var(--paper-soft);
  padding: 36px 20px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.country-grid .country:hover { background: var(--cream); color: var(--navy); }
.country-grid .country:hover .country__dot { background: var(--navy); }
.country__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cream); }
.country__name {
  font-family: var(--display); font-size: 20px;
  text-transform: uppercase; letter-spacing: 0.005em; line-height: 1;
}
.country__flag {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0.6;
}
.country-grid .country--more { background: var(--navy); color: var(--cream); }
.country-grid .country--more .country__dot { background: var(--cream); }

/* Testimonial */
.testimonial { padding: clamp(80px, 12vh, 120px) 0; background: var(--paper-soft); color: #fff; position: relative; }
.testimonial::before {
  content: '\201C';
  position: absolute; left: 5%; top: 10%;
  font-family: Georgia, serif;
  font-size: clamp(160px, 16vw, 280px);
  line-height: 0.8;
  color: var(--cream); opacity: 0.18;
  pointer-events: none;
}
.testimonial__quote {
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.25;
  max-width: 22ch;
  margin-bottom: 32px;
}
.testimonial__attr { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.65; }
