/* ==========================================================================
   U.S.–Africa Business Summit 2026 — Rogers Capital
   Brand: Avenir Next LT Pro. Navy #0F2D59 · Gold #C29B38 · Cream #F7F5F1
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy: #0F2D59;
  --navy-deep: #0A1F3D;
  --navy-ink: #061428;
  --navy-soft: #1D4478;
  --gold: #C29B38;
  --gold-soft: #E3C169;
  --gold-pale: #F2E4C2;
  --cream: #F7F5F1;
  --paper: #FFFFFF;
  --ink: #101B2C;
  --muted: #5B6780;
  --line: rgba(15, 45, 89, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  /* Avenir Next LT Pro is a licensed Monotype face and cannot be served from a
     public CDN. The stack therefore asks for it first, then the genuine
     "Avenir Next" / "Avenir" that Apple ships as system fonts, and finally
     Nunito Sans (loaded from Google Fonts in index.html) as the closest free
     fallback. Where the licence exists, the real face renders; elsewhere the
     page still looks like Avenir rather than falling back to Arial. */
  --font: "Avenir Next LT Pro", "Avenir Next", Avenir, "Nunito Sans",
    "Helvetica Neue", Arial, sans-serif;

  --shell: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);

  --shadow-sm: 0 2px 10px rgba(6, 20, 40, 0.06);
  --shadow-md: 0 14px 40px -14px rgba(6, 20, 40, 0.22);
  --shadow-lg: 0 40px 80px -34px rgba(6, 20, 40, 0.42);

  --header-h: 78px;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 0.55vw + 0.88rem, 1.09rem);
  /* 400, not 300: Avenir Next has no Light — 300 would snap to Ultra Light and
     read far too thin for body copy. */
  font-weight: 400;
  line-height: 1.66;
  letter-spacing: 0.008em;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.1; letter-spacing: -0.012em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 999;
  padding: 0.7rem 1.1rem;
  background: var(--navy);
  color: #fff;
  border-radius: 0 0 8px 8px;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- 3. Typography helpers ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--navy);
}
.eyebrow__rule {
  display: block;
  width: 3px;
  height: 1.35rem;
  background: var(--gold);
  border-radius: 2px;
  flex: none;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.78); }

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}
.section--light { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.section--navy {
  background: radial-gradient(120% 100% at 50% 0%, var(--navy-soft) 0%, var(--navy) 42%, var(--navy-ink) 100%);
  color: #fff;
  overflow: hidden;
}

.section-title {
  font-size: clamp(1.85rem, 4.4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--navy);
  max-width: 26ch;
}
.section--navy .section-title { color: #fff; }

.section-lead {
  margin-top: 1.15rem;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(0.98rem, 0.5vw + 0.9rem, 1.1rem);
}
.section--navy .section-lead { color: rgba(255, 255, 255, 0.74); }

.section-head { margin-bottom: clamp(2.2rem, 4vw, 3.6rem); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .section-title,
.section-head--center .section-lead { margin-inline: auto; }
.section-head--split {
  display: grid;
  gap: 1.2rem;
  align-items: end;
}
@media (min-width: 860px) {
  .section-head--split { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
  .section-head--split .section-lead { margin-top: 0; }
}

/* ---------- 4. Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn > span { position: relative; z-index: 2; }
.btn svg { position: relative; z-index: 2; width: 18px; height: 18px; flex: none; }
.btn i-arrow { transition: transform 0.4s var(--ease); }

/* sheen sweep */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.34) 46%, transparent 62%);
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.985); }

.btn--gold {
  --btn-bg: linear-gradient(135deg, var(--gold-soft), var(--gold) 58%, #A9832B);
  --btn-fg: #1A1206;
  box-shadow: 0 12px 30px -12px rgba(194, 155, 56, 0.72);
}
.btn--gold:hover { box-shadow: 0 18px 40px -14px rgba(194, 155, 56, 0.85); }

.btn--navy {
  --btn-bg: var(--navy);
  box-shadow: 0 12px 30px -14px rgba(15, 45, 89, 0.6);
}

.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.06);
  --btn-fg: var(--navy);
  border-color: rgba(15, 45, 89, 0.22);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--navy); background: rgba(15, 45, 89, 0.05); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  border-color: rgba(15, 45, 89, 0.26);
}
.btn--outline:hover { border-color: var(--navy); background: rgba(15, 45, 89, 0.05); }
.btn--outline::after { display: none; }

.btn--sm { padding: 0.7rem 1.15rem; font-size: 0.79rem; }
.btn--wide { width: 100%; }

.btn:hover svg.i-arrow { transform: translateX(4px); }
.i-arrow--flip { transform: rotate(180deg); }
.btn:hover svg.i-arrow--flip { transform: rotate(180deg) translateX(4px); }

.btn.is-busy { pointer-events: none; opacity: 0.85; }
.btn__spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-busy .btn__spinner { display: block; }
.btn.is-busy .btn__label { opacity: 0.75; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-1px); }

/* ---------- 5. Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  box-shadow: 0 0 12px rgba(194, 155, 56, 0.7);
}

/* ---------- 6. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  height: 66px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 rgba(15, 45, 89, 0.09), 0 18px 40px -32px rgba(6, 20, 40, 0.5);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

/* Official Rogers Capital wordmark — a transparent PNG (2543×389) with the ink
   cropped tight to the glyphs, so it needs no cropping at all: height drives the
   size and width follows the intrinsic 6.54:1 ratio.
   The previous approach cropped a 300×300 white JPEG with ratio math; that
   required overflow:hidden, which sliced the top off the wordmark wherever the
   anchor had padding — most visibly in the footer's "light" variant. */
.logo {
  display: block;
  flex: none;
  line-height: 0;
}
.logo img {
  display: block;
  height: clamp(26px, 2.7vw, 32px);
  width: auto;
  max-width: none;
}
/* On the navy footer the navy wordmark would vanish — invert it to white. */
.logo--light img {
  filter: brightness(0) invert(1);
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__list { display: flex; align-items: center; gap: clamp(0.9rem, 1.8vw, 1.7rem); }
.nav__list a {
  position: relative;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--navy);
  padding-block: 0.4rem;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__list a:hover::after,
.nav__list a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.6px;
  background: var(--navy);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.4s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateX(-50%) translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateX(-50%) translateY(-3px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.2rem var(--gutter) 2rem;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px -30px rgba(6, 20, 40, 0.4);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.34s var(--ease), transform 0.34s var(--ease), visibility 0.34s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__list a { display: block; padding: 0.95rem 0; font-size: 1rem; }
  .nav__list a::after { display: none; }
  .nav__cta { margin-top: 1.2rem; justify-content: center; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem));
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  background:
    linear-gradient(180deg, #FBFCFE 0%, #F2F4F9 52%, #E9EDF5 100%);
}
.hero__aurora { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.6;
  will-change: transform;
}
.blob--1 {
  width: 46vw; height: 46vw; min-width: 320px; min-height: 320px;
  top: -14%; right: -8%;
  background: radial-gradient(circle at 30% 30%, rgba(29, 68, 120, 0.5), rgba(29, 68, 120, 0) 68%);
  animation: float1 22s ease-in-out infinite;
}
.blob--2 {
  width: 34vw; height: 34vw; min-width: 240px; min-height: 240px;
  bottom: -12%; left: -6%;
  background: radial-gradient(circle at 60% 40%, rgba(194, 155, 56, 0.36), rgba(194, 155, 56, 0) 70%);
  animation: float2 26s ease-in-out infinite;
}
.blob--3 {
  width: 26vw; height: 26vw; min-width: 200px; min-height: 200px;
  top: 34%; left: 46%;
  background: radial-gradient(circle at 50% 50%, rgba(227, 193, 105, 0.3), rgba(227, 193, 105, 0) 70%);
  animation: float1 30s ease-in-out infinite reverse;
}
@keyframes float1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-4%, 5%, 0) scale(1.08); }
}
@keyframes float2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(5%, -4%, 0) scale(1.1); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 45, 89, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 45, 89, 0.045) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse 78% 62% at 42% 42%, #000 20%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 42% 42%, #000 20%, transparent 76%);
}
.hero__particles { position: absolute; inset: 0; pointer-events: none; }
.hero__particles i {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: rise linear infinite;
}
@keyframes rise {
  0% { transform: translateY(20px) scale(0.6); opacity: 0; }
  18% { opacity: 0.7; }
  82% { opacity: 0.5; }
  100% { transform: translateY(-160px) scale(1.15); opacity: 0; }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2.6rem, 5vw, 3.4rem);
  align-items: center;
}
@media (min-width: 980px) {
  .hero__inner { grid-template-columns: 1.02fr 0.98fr; gap: clamp(1.5rem, 3vw, 3rem); }
}

/* Co-brand mark — the official U.S.–Africa Business Summit 2026 logo.
   The supplied PNG is 1024×875 and its background is fully OPAQUE white (no alpha
   channel), so it cannot be knocked out onto the page. mix-blend-mode looks like a
   fix but silently fails here: .hero__inner is a stacking context (position +
   z-index), which isolates the blend so the white plate has nothing to blend into.
   Instead the mark is presented the way partner logos normally are — on its own
   white chip. The chip's #fff matches the artwork's background exactly, so the
   plate reads as a deliberate card rather than a stray rectangle. */
.hero__marks {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
}
.summit-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.95rem;
  background: #fff;
  border: 1px solid rgba(15, 45, 89, 0.09);
  border-radius: 12px;
  box-shadow: 0 12px 30px -18px rgba(6, 20, 40, 0.5);
}
.summit-mark img {
  display: block;
  height: clamp(74px, 8.6vw, 100px);
  width: auto;
}

/* Footer brand artwork. "Keep evolving" and the reverse summit mark are supplied
   PNGs, not type — both are ~85–90% transparent, so they sit directly on the navy
   with no plate. Height-driven sizing keeps their aspect ratios intact. */
.footer__keep {
  display: block;
  height: clamp(26px, 3vw, 34px);
  width: auto;
  margin-top: 1rem;
}
.footer__summit {
  display: block;
  height: clamp(58px, 6.4vw, 74px);
  width: auto;
  margin-top: 1.35rem;
}

.hero__title {
  font-size: clamp(2.5rem, 7.1vw, 4.9rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.028em;
  color: var(--navy);
  margin: 0 0 clamp(1.1rem, 2vw, 1.5rem);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block;
  transform: translateY(110%);
  animation: lineUp 1.05s var(--ease-soft) forwards;
}
.hero__title .line:nth-child(1) > span { animation-delay: 0.15s; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.31s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__title .accent {
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy-soft) 42%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.13rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  margin-top: clamp(2rem, 3.4vw, 2.8rem);
  padding-top: clamp(1.2rem, 2.4vw, 1.6rem);
  border-top: 1px solid var(--line);
}
.hero__meta li { display: flex; flex-direction: column; gap: 0.1rem; }
.hero__meta strong {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__meta span {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

/* hero portrait fan — all five Summit contacts in a shallow arc, CEO centred */
/* Five cards now fill the visual column, so the badge can no longer float over
   them — it sat on top of the 4th card's name. Put it in normal flow, centred
   under the fan. */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.fan {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.28rem, 0.85vw, 0.55rem);
  width: 100%;
  max-width: 640px;
  perspective: 1400px;
}
.fan__card {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: var(--shadow-lg);
  /* fan out from the bottom edge so the arc reads as one group */
  transform-origin: 50% 100%;
  transform: translateY(var(--lift, 0)) rotate(var(--tilt, 0deg));
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  animation: cardIn 0.95s var(--ease-soft) backwards;
}
.fan__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Symmetric arc: outer cards sit lowest and lean furthest out, the CEO is the
   tallest card in the middle. */
.fan__card--1 { --lift: 1.9rem; --tilt: -6deg; animation-delay: 0.30s; z-index: 1; }
.fan__card--2 { --lift: 0.7rem; --tilt: -3deg; animation-delay: 0.40s; z-index: 2; }
.fan__card--3 { --lift: 0;      --tilt: 0deg;  animation-delay: 0.50s; z-index: 3; }
.fan__card--4 { --lift: 0.7rem; --tilt: 3deg;  animation-delay: 0.60s; z-index: 2; }
.fan__card--5 { --lift: 1.9rem; --tilt: 6deg;  animation-delay: 0.70s; z-index: 1; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(60px) scale(0.94); }
}
.fan__card:hover {
  transform: translateY(calc(var(--lift) - 12px)) rotate(0deg) scale(1.02);
  box-shadow: 0 50px 90px -30px rgba(6, 20, 40, 0.55);
  z-index: 5;
}
.fan__card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.9rem 0.5rem 0.6rem;
  background: linear-gradient(to top, rgba(6, 20, 40, 0.93) 12%, rgba(6, 20, 40, 0.6) 58%, transparent);
  color: #fff;
  display: grid;
  gap: 0.02rem;
}
.fan__card b { font-size: clamp(0.56rem, 0.82vw, 0.7rem); font-weight: 600; letter-spacing: 0.01em; line-height: 1.2; }
.fan__card span { font-size: clamp(0.49rem, 0.68vw, 0.6rem); color: rgba(255, 255, 255, 0.7); line-height: 1.25; }

/* On phones five portrait cards get very narrow, so tighten the arc and drop the
   role line (the name still identifies each person) rather than let it wrap. */
@media (max-width: 700px) {
  .fan { gap: 0.22rem; }
  .fan__card { border-radius: 10px; }
  .fan__card span { display: none; }
  .fan__card figcaption { padding: 1.3rem 0.28rem 0.45rem; }
  .fan__card b { font-size: 0.5rem; letter-spacing: 0; }
  .fan__card--1 { --lift: 1.1rem; --tilt: -4deg; }
  .fan__card--2 { --lift: 0.45rem; --tilt: -2deg; }
  .fan__card--3 { --lift: 0; --tilt: 0deg; }
  .fan__card--4 { --lift: 0.45rem; --tilt: 2deg; }
  .fan__card--5 { --lift: 1.1rem; --tilt: 4deg; }
}

/* In flow beneath the fan (see .hero__visual above): the five cards now fill the
   column, so an absolutely positioned badge landed on top of the 4th card's name. */
.hero__badge {
  position: static;
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  z-index: 6;
}
.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2FA36B;
  box-shadow: 0 0 0 0 rgba(47, 163, 107, 0.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 163, 107, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(47, 163, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 163, 107, 0); }
}

.scroll-cue {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 3;
}
.scroll-cue__line {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  animation: cueRun 2.4s var(--ease) infinite;
}
@keyframes cueRun {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}
@media (max-width: 900px) { .scroll-cue { display: none; } }

/* Contributor headshots. All five Summit contacts now use their supplied
   high-resolution photographs, so framing is done with object-fit: cover plus a
   per-person focal point (--pos) and optional --zoom. The sources are shot at
   different distances (Shafeenaz's is a full seated shot), so --zoom levels the
   crop tightness so the set reads as one consistent row. */
.photo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--navy-deep);
}
.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transform: scale(var(--zoom, 1));
  transform-origin: var(--pos, 50% 50%);
  transition: transform 0.9s var(--ease);
}
.photo-frame:hover img { transform: scale(calc(var(--zoom, 1) * 1.035)); }

/* ---------- 8. Marquee ---------- */
.marquee {
  position: relative;
  padding-block: clamp(0.9rem, 1.6vw, 1.25rem);
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 12vw;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--navy), transparent); }
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: slide 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__item {
  font-size: clamp(0.82rem, 1.6vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.82);
}
.marquee__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

/* ---------- 9. Expertise ---------- */
.cards {
  display: grid;
  gap: clamp(0.9rem, 1.8vw, 1.4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 258px), 1fr));
}
.card {
  position: relative;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(194, 155, 56, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(194, 155, 56, 0.5); }
.card:hover::before { opacity: 1; }
.card__num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.card h3 {
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.65rem;
}
.card p { font-size: 0.94rem; color: var(--muted); line-height: 1.62; }
.card__line {
  position: absolute;
  left: clamp(1.4rem, 2.6vw, 2rem);
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width 0.55s var(--ease);
}
.card:hover .card__line { width: calc(100% - 2 * clamp(1.4rem, 2.6vw, 2rem)); }

.agenda {
  margin-top: clamp(2.4rem, 4vw, 3.6rem);
  padding: clamp(1.5rem, 3vw, 2.6rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15, 45, 89, 0.045), rgba(194, 155, 56, 0.07));
  border: 1px solid var(--line);
  display: grid;
  gap: clamp(1.3rem, 2.6vw, 2.2rem);
}
@media (min-width: 880px) { .agenda { grid-template-columns: 0.85fr 1.15fr; align-items: center; } }
.agenda__head h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); color: var(--navy); }
.agenda__head p { margin-top: 0.55rem; color: var(--muted); font-size: 0.94rem; max-width: 34ch; }
.agenda__list { display: grid; gap: 1rem; }
.agenda__list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.9rem;
  align-items: start;
  font-size: 0.94rem;
  color: var(--muted);
}
.agenda__list span {
  display: grid;
  place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(194, 155, 56, 0.55);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
}
.agenda__list b { color: var(--navy); font-weight: 600; }

/* ---------- 10. Team ---------- */
.team__glow {
  position: absolute;
  width: 820px; height: 820px;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(194, 155, 56, 0.16), transparent 62%);
  pointer-events: none;
}
.team-grid {
  position: relative;
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}
/* Five specialists on one row once there is room — avoids an orphaned 5th card */
@media (min-width: 1040px) {
  .team-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.person {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-light);
  overflow: hidden;
  backdrop-filter: blur(4px);
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.person:hover {
  transform: translateY(-8px);
  border-color: rgba(194, 155, 56, 0.6);
  background: rgba(255, 255, 255, 0.085);
}
.person__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--navy-ink);
}
.person__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 20, 40, 0.72), transparent 46%);
  pointer-events: none;
}
.person__sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.22) 48%, transparent 60%);
  transform: translateX(-110%);
  transition: transform 0.85s var(--ease);
  pointer-events: none;
}
.person:hover .person__sheen { transform: translateX(110%); }
.person__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: clamp(1rem, 1.8vw, 1.35rem);
  flex: 1;
}
.person__name {
  font-size: clamp(0.98rem, 1.35vw, 1.1rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.24;
}
.person__role {
  font-size: 0.79rem;
  font-weight: 400;
  letter-spacing: 0.045em;
  color: var(--gold-soft);
}
.person__focus {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.15rem;
}
.person__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  margin-top: auto;
  padding: 0.72rem 0 0;
  border: 0;
  background: none;
  color: #fff;
  font-family: var(--font);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
}
.person__cta::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--line-light);
  transition: background 0.35s var(--ease);
}
.person__cta svg { width: 15px; height: 15px; transition: transform 0.4s var(--ease); }
.person__cta:hover { color: var(--gold-soft); }
.person__cta:hover svg { transform: translateX(4px); }
.person__cta:hover::before { background: var(--gold); }

.team__foot {
  margin-top: clamp(2rem, 3.5vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-top: clamp(1.4rem, 2.5vw, 2rem);
  border-top: 1px solid var(--line-light);
}
.team__foot p { color: rgba(255, 255, 255, 0.68); font-size: 0.94rem; max-width: 46ch; }

/* ---------- 11. Flipbook ---------- */
.flip-section { overflow: hidden; }
.flipbook { position: relative; }

.flipbook__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1010px;
  margin: 0 auto 0.9rem;
  padding-inline: var(--gutter);
}
.flipbook__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.flipbook__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.flipbook__tools { display: flex; align-items: center; gap: 0.75rem; }
.flipbook__open {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.flipbook__open svg { width: 13px; height: 13px; }
.flipbook__open:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* Download is the primary action in the toolbar, so it carries the navy fill
   while "Open the PDF" stays a quiet outline. */
.flipbook__dl {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 8px 18px -12px rgba(15, 45, 89, 0.9);
}
.flipbook__dl:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #201705;
}

@media (max-width: 560px) {
  .flipbook__open span { display: none; }
  .flipbook__open { padding: 0.5rem; border-radius: 10px; }
}
.flipbook__count {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

/* The brochure is real A4-portrait PDF pages, so the aspect ratio comes from the
   document itself (--book-ratio, set in JS): one page wide on phones, two facing
   pages on desktop. Height is capped so the whole spread stays on screen. */
.book {
  position: relative;
  width: min(1010px, calc(100vw - 2rem), calc(76vh * var(--book-ratio, 1.4)));
  margin-inline: auto;
  aspect-ratio: var(--book-ratio, 1.4);
  perspective: 2400px;
  cursor: grab;
  outline: none;
  touch-action: pan-y;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}
.book:active { cursor: grabbing; }
.book__side {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
}
.book__side--left {
  left: 0;
  border-radius: 10px 0 0 10px;
  box-shadow: -14px 24px 46px -28px rgba(6, 20, 40, 0.5);
}
.book__side--right {
  right: 0;
  border-radius: 0 10px 10px 0;
  box-shadow: 14px 24px 46px -28px rgba(6, 20, 40, 0.5);
}
.book__spine {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 16px;
  transform: translateX(-50%);
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(6, 20, 40, 0) 0%,
    rgba(6, 20, 40, 0.16) 34%,
    rgba(6, 20, 40, 0.3) 50%,
    rgba(6, 20, 40, 0.16) 66%,
    rgba(6, 20, 40, 0) 100%);
}
.book__leaf {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  z-index: 5;
  transform-style: preserve-3d;
  transform-origin: left center;
  transform: rotateY(0deg);
  pointer-events: none;
  /* Hidden at rest: the leaf sits directly over the right page, so an empty
     leaf would paint a blank white sheet over live page content. It is only
     shown while a turn is actually in progress. */
  display: none;
}
.book__leaf.is-turning { display: block; }
.book__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #fff;
}
.book__face--front { border-radius: 0 10px 10px 0; box-shadow: 8px 0 22px -14px rgba(6, 20, 40, 0.5); }
.book__face--back {
  transform: rotateY(180deg);
  border-radius: 10px 0 0 10px;
  box-shadow: -8px 0 22px -14px rgba(6, 20, 40, 0.5);
}
.book__shadow {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, rgba(6, 20, 40, 0.02), rgba(6, 20, 40, 0.3) 50%, rgba(6, 20, 40, 0.02));
}

/* Real PDF pages. Each side of the book holds one rendered brochure page — the
   raster is already the finished artwork, so it only has to fit the box. */
.sheet {
  position: absolute;
  inset: 0;
  background: #fff;
  overflow: hidden;
}
.sheet img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
/* placeholders shown while later pages are still being rasterised */
.sheet--pending {
  background: linear-gradient(100deg, #ffffff 28%, #eef1f7 48%, #ffffff 68%) 0 0 / 240% 100%, #fff;
  animation: sheetShimmer 1.5s linear infinite;
}
@keyframes sheetShimmer { to { background-position: -240% 0, 0 0; } }

.flipbook__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: clamp(1.1rem, 2vw, 1.6rem);
  padding-inline: var(--gutter);
}
.flipbook__dots { display: flex; align-items: center; gap: 0.4rem; }
.flipbook__dots button {
  width: 8px; height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 45, 89, 0.2);
  cursor: pointer;
  transition: background 0.3s var(--ease), width 0.3s var(--ease), border-radius 0.3s var(--ease);
}
.flipbook__dots button[aria-selected="true"] {
  width: 24px;
  border-radius: 4px;
  background: var(--gold);
}
.flipbook__hint {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.8;
}

/* fullscreen brochure */
.flipbook.is-full {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(0.6rem, 2vw, 2rem);
  background: rgba(6, 20, 40, 0.96);
  backdrop-filter: blur(8px);
}
.flipbook.is-full .flipbook__bar { max-width: 1100px; }
.flipbook.is-full .flipbook__label,
.flipbook.is-full .flipbook__count { color: rgba(255, 255, 255, 0.82); }
.flipbook.is-full .icon-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.flipbook.is-full .icon-btn:hover { background: var(--gold); border-color: var(--gold); color: #201705; }
.flipbook.is-full .book { width: min(1100px, calc(100vw - 2rem)); max-height: none; }
.flipbook.is-full .flipbook__hint { color: rgba(255, 255, 255, 0.5); }

/* ---------- 12. Contact ---------- */
.contact { background: var(--cream); }
.contact__inner {
  display: grid;
  gap: clamp(2rem, 4vw, 3.4rem);
  align-items: start;
}
@media (min-width: 940px) { .contact__inner { grid-template-columns: 0.92fr 1.08fr; gap: clamp(2.4rem, 4vw, 4rem); } }

.contact__list { display: grid; gap: 1.15rem; margin-top: clamp(1.8rem, 3vw, 2.4rem); }
.contact__list li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.9rem;
  align-items: start;
}
.contact__ico {
  display: grid;
  place-items: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.contact__ico svg { width: 19px; height: 19px; }
.contact__list b { display: block; color: var(--navy); font-weight: 600; font-size: 0.94rem; }
.contact__list span,
.contact__list a { font-size: 0.9rem; color: var(--muted); }
.contact__list a { border-bottom: 1px solid rgba(194, 155, 56, 0.5); transition: color 0.25s var(--ease), border-color 0.25s var(--ease); }
.contact__list a:hover { color: var(--navy); border-color: var(--navy); }

.contact__form-wrap {
  position: relative;
  padding: clamp(1.3rem, 3vw, 2.4rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.contact__form-wrap::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}

/* ---------- 13. Forms ---------- */
.form__head { margin-bottom: 1.4rem; }
.form__head h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); color: var(--navy); }
.form__head p { font-size: 0.82rem; color: var(--muted); margin-top: 0.3rem; }
.req { color: var(--gold); font-weight: 700; }

.form__grid {
  display: grid;
  gap: 0.9rem 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .form__grid { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.34rem; margin-bottom: 0.9rem; }
.form__grid .field { margin-bottom: 0; }
.field > label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.9rem;
  font-family: var(--font);
  font-size: 0.94rem;
  font-weight: 400;
  color: var(--ink);
  background: #FCFCFD;
  border: 1px solid rgba(15, 45, 89, 0.17);
  border-radius: 10px;
  transition: border-color 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.28s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2D59' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.2rem;
  cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: #9BA5B8; font-weight: 400; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(15, 45, 89, 0.34); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 155, 56, 0.18);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.11);
}
.field__error {
  font-size: 0.74rem;
  color: #C0392B;
  min-height: 0;
  line-height: 1.35;
}
.field__error:empty { display: none; }

.check {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: 0.65rem;
  align-items: start;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.5;
}
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  position: relative;
  width: 1.15rem; height: 1.15rem;
  margin-top: 0.1rem;
  border: 1px solid rgba(15, 45, 89, 0.3);
  border-radius: 4px;
  background: #fff;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
  flex: none;
}
.check__box::after {
  content: "";
  position: absolute;
  left: 50%; top: 46%;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(42deg) scale(0);
  transition: transform 0.22s var(--ease);
}
.check input:checked + .check__box { background: var(--navy); border-color: var(--navy); }
.check input:checked + .check__box::after { transform: translate(-50%, -50%) rotate(42deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.check.has-error .check__box { border-color: #C0392B; }

.form__foot { margin-top: 1.1rem; }
.form__status { margin-top: 0.8rem; font-size: 0.82rem; color: #C0392B; text-align: center; }
.form__status:empty { display: none; }

/* honeypot */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* success panel */
.form-done {
  text-align: center;
  padding: clamp(1rem, 2vw, 2rem) 0;
  animation: fadeUp 0.6s var(--ease) both;
}
.form-done__mark {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #201705;
  box-shadow: 0 16px 34px -14px rgba(194, 155, 56, 0.75);
}
.form-done__mark svg { width: 28px; height: 28px; }
.form-done h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--navy); }
.form-done p { margin-top: 0.6rem; color: var(--muted); font-size: 0.94rem; max-width: 42ch; margin-inline: auto; }
.form-done__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
}

/* ---------- 14. Footer ---------- */
.site-footer {
  position: relative;
  padding-top: clamp(3rem, 5vw, 4.5rem);
  background: radial-gradient(110% 100% at 15% 0%, var(--navy-soft) 0%, var(--navy) 40%, var(--navy-ink) 100%);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(194, 155, 56, 0.65), transparent);
}
.footer__top {
  display: grid;
  gap: clamp(2rem, 4vw, 3.4rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.25fr 1.5fr 1fr; } }
/* .footer__tag was removed — "Keep evolving" is now supplied artwork
   (.footer__keep), not a text token. */
.footer__note { margin-top: 0.5rem; font-size: 0.88rem; max-width: 30ch; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.footer__nav h4,
.footer__cta h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.95rem;
}
.footer__nav ul { display: grid; gap: 0.55rem; }
.footer__nav a { font-size: 0.9rem; position: relative; transition: color 0.25s var(--ease); }
.footer__nav a:hover { color: var(--gold-soft); }
.footer__cta p { font-size: 0.9rem; margin-bottom: 1.1rem; max-width: 30ch; }
/* Copyright left, ER endorsement artwork right. The PNG is 92.3% transparent,
   so it needs no plate against the navy. */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-block: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer__er {
  display: block;
  height: clamp(38px, 4.3vw, 52px);
  width: auto;
  flex: none;
}
@media (max-width: 560px) {
  .footer__bottom { flex-wrap: wrap; row-gap: 1rem; }
  .footer__er { height: 38px; }
}

/* ---------- 15. Utilities: back to top, mobile bar, modal ---------- */
.to-top {
  position: fixed;
  right: clamp(0.9rem, 2vw, 1.6rem);
  bottom: clamp(0.9rem, 2vw, 1.6rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, background 0.25s var(--ease), color 0.25s var(--ease);
}
.to-top svg { width: 18px; height: 18px; }
.to-top.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--navy); color: #fff; }

.mobile-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 95;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.42s var(--ease);
}
.mobile-bar.is-shown { transform: translateY(0); }
/* The brochure section sets .is-suppressed while it is on screen: the fixed bar
   would otherwise cover the flipbook's Back / Next controls on a phone. */
.mobile-bar.is-suppressed {
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (min-width: 761px) { .mobile-bar { display: none; } }

/* modal */
.modal {
  width: min(720px, calc(100vw - 1.6rem));
  max-height: min(92svh, 900px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: visible;
}
.modal::backdrop {
  background: rgba(6, 20, 40, 0.66);
  backdrop-filter: blur(6px);
}
.modal[open] { animation: modalIn 0.42s var(--ease-soft) both; }
.modal[open]::backdrop { animation: fadeIn 0.35s var(--ease) both; }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(26px) scale(0.97); }
}
@keyframes fadeIn { from { opacity: 0; } }

.modal__inner {
  position: relative;
  max-height: min(92svh, 900px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: var(--radius-lg);
}
.modal__inner::-webkit-scrollbar { width: 8px; }
.modal__inner::-webkit-scrollbar-thumb { background: rgba(15, 45, 89, 0.22); border-radius: 8px; }

.modal__close {
  position: absolute;
  top: 0.9rem; right: 0.9rem;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  z-index: 3;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.modal__close svg { width: 16px; height: 16px; }
.modal__close:hover { background: var(--navy); color: #fff; transform: rotate(90deg); }

.modal__head { margin-bottom: 1.4rem; padding-right: 2.5rem; }
.modal__head h2 { font-size: clamp(1.3rem, 2.6vw, 1.85rem); color: var(--navy); line-height: 1.12; }
.modal__head p { margin-top: 0.55rem; font-size: 0.9rem; color: var(--muted); }
.modal__head .eyebrow { margin-bottom: 0.7rem; }

body.is-locked { overflow: hidden; }

/* ---------- 16. Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease-soft), transform 0.85s var(--ease-soft);
  transition-delay: calc(var(--d, 0) * 1ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- 17. Responsive tuning ---------- */
@media (max-width: 979px) {
  .hero { min-height: auto; padding-bottom: clamp(3rem, 8vw, 4.5rem); }
  .hero__visual { order: -1; flex-direction: column; align-items: center; }
  .fan { max-width: 400px; }
  /* stack the badge under the portraits so it never covers a face */
  .hero__badge { position: static; transform: none; margin-top: 1.5rem; }
  .fan__card--1, .fan__card--3 { --lift: 1.6rem; }
}
@media (max-width: 560px) {
  .hero__meta { gap: 1.1rem 1.6rem; }
  .book { width: calc(100vw - 1.2rem); aspect-ratio: 4 / 3; max-height: 64vh; }
  .flipbook__hint { display: none; }
  .flipbook__nav { gap: 0.6rem; }
  .flipbook__nav .btn { padding: 0.75rem 1rem; font-size: 0.76rem; }
  .flipbook__nav .btn span { display: none; }
  .flipbook__nav .btn svg { margin: 0; }
  .team__foot { flex-direction: column; align-items: flex-start; }
  .to-top { bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
}

/* --- small screens: single-page brochure instead of a two-page spread --- */
@media (max-width: 700px) {
  .book__side--left { display: none; }
  .book__side--right { width: 100%; border-radius: 10px; }
  .book__leaf { left: 0; width: 100%; }
  .book__spine { display: none; }
  .book__face--front { border-radius: 10px; }
  .book__face--back { border-radius: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
  .hero__particles { display: none; }
}
