/* Keepers of Peace landing
   Hero: KOP palette from the PDF logo (teal, deep ocean, sunset orange).
   Remaining page: MultiMind brand tokens from multimind.us (HSL) and
   venue.multimind.us, with self-hosted Bodoni Moda and Manrope. */

@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/bodoni-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/bodoni-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/bodoni-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/bodoni-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --background: 215 42% 6%;
  --foreground: 48 42% 93%;
  --card: 214 34% 9%;
  --primary: 196 62% 57%;
  --primary-foreground: 215 42% 6%;
  --secondary: 213 25% 15%;
  --muted: 214 22% 14%;
  --muted-foreground: 207 14% 66%;
  --accent: 188 71% 68%;
  --border: 207 24% 23%;
  --radius: 1rem;

  --bg: hsl(var(--background));
  --bg-theme: #07101b;
  --fg: hsl(var(--foreground));
  --card-bg: hsl(var(--card));
  --cyan: hsl(var(--primary));
  --cyan-soft: hsl(var(--accent));
  --ink: hsl(var(--primary-foreground));
  --muted-bg: hsl(var(--muted));
  --muted-fg: hsl(var(--muted-foreground));
  --line: hsl(var(--border));
  --secondary-bg: hsl(var(--secondary));

  --kop-ocean-deep: #001428;
  --kop-ocean: #003050;
  --kop-teal: #0a6a7a;
  --kop-lagoon: #14a0a8;
  --kop-sunset: #f09030;
  --kop-ember: #e07030;
  --kop-sand: #f7f1e4;
  --kop-foam: #ffffff;

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Bodoni Moda", ui-serif, Georgia, "Times New Roman", serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  --header-h: 4.5rem;
  --content: 70rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.85rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--bg-theme);
  color: var(--fg);
  line-height: 1.65;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--cyan-soft); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 600;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Header (MultiMind-styled over both regions) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(7, 16, 27, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 hsl(var(--border) / 0.6);
}

.header-inner {
  width: min(100% - 2rem, var(--content));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: inherit; }

.brand-logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  background: radial-gradient(circle, rgba(255,255,255,0.96) 50%, rgba(255,255,255,0) 72%);
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #fff;
}
.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(7, 16, 27, 0.35);
  border-radius: 0.6rem;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.2rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: rgba(245, 242, 230, 0.88);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--cyan-soft); }
.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--cyan);
  color: var(--ink);
  padding: 0.5rem 0.95rem;
  border-radius: 0.65rem;
  letter-spacing: 0.06em;
}
.site-nav .nav-cta:hover { color: var(--ink); background: var(--cyan-soft); }

/* ---------- Hero (KOP look) ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 2.5rem) 1.25rem 0;
  color: var(--kop-sand);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    linear-gradient(180deg,
      #001428 0%,
      #002844 28%,
      #0a5a70 52%,
      #1a8a8a 62%,
      #e0a04a 68%,
      #c87838 70%,
      #0a5560 71%,
      #083445 100%);
}

.hero-sky {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 28% at 50% 68%, rgba(240, 144, 48, 0.55), transparent 70%),
    radial-gradient(circle at 78% 28%, rgba(20, 160, 168, 0.25), transparent 40%),
    radial-gradient(circle at 18% 22%, rgba(0, 80, 110, 0.4), transparent 42%);
}

.hero-water,
.hero-waves,
.hero-ship {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.hero-water {
  bottom: 0;
  height: 28%;
  width: 100%;
  z-index: 0;
}
.hero-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-ship {
  bottom: 9%;
  height: auto;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  padding-right: clamp(2.5rem, 14vw, 12rem);
  z-index: 1;
}
.hero-ship svg {
  width: 260px;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.28));
}

.hero-inner {
  width: min(100%, 54rem);
  margin: 0 auto;
  text-align: center;
  padding-bottom: 15rem;
  position: relative;
  z-index: 1;
}

.hero-logo-wrap {
  width: 15.5rem;
  height: 15.5rem;
  margin: 0 auto 1.6rem;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.94) 52%, rgba(255,255,255,0) 72%);
}

.hero-logo {
  width: 12.25rem;
  height: auto;
}

.hero-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 20, 40, 0.45);
}

.hero-mission {
  margin: 0 auto;
  max-width: 42rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 16, 32, 0.45);
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--cyan);
  color: var(--ink);
}
.btn-primary:hover { background: var(--cyan-soft); color: var(--ink); }

.btn-sunset {
  background: var(--kop-sunset);
  color: #1a0c00;
}
.btn-sunset:hover { background: #ffb056; color: #1a0c00; }

.btn-ghost {
  background: rgba(0, 16, 32, 0.4);
  color: #fff;
  border-color: rgba(255,255,255,0.75);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn-ghost-mm {
  background: transparent;
  color: var(--fg);
  border-color: hsl(var(--border));
}
.btn-ghost-mm:hover { border-color: var(--cyan); color: var(--cyan-soft); }

.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* ---------- Page body (KOP hero language, not MultiMind) ---------- */

.mm {
  position: relative;
  overflow-x: hidden;
  color: #f4fbff;
  background-color: #002844;
  background-image:
    radial-gradient(ellipse 70% 28% at 80% 8%, rgba(20, 160, 168, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 24% at 12% 18%, rgba(0, 80, 110, 0.35), transparent 62%),
    radial-gradient(ellipse 60% 22% at 50% 100%, rgba(224, 160, 74, 0.12), transparent 70%),
    linear-gradient(180deg, #083445 0%, #002844 14%, #001428 52%, #002844 86%, #083445 100%);
}

.mm::before {
  content: none;
}

.wave-divider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 4.5rem;
  margin: 0;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}
.wave-divider.is-flip svg {
  transform: scaleY(-1);
}

.section {
  position: relative;
  width: min(100% - 2rem, var(--content));
  margin: 0 auto;
  padding: 4.25rem 0 3.75rem;
  z-index: 1;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(26, 143, 150, 0.45);
}

.eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 251, 255, 0.78);
  text-shadow: 0 1px 8px rgba(0, 20, 40, 0.35);
}

.eyebrow-accent { color: #f09030; }

.section-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #fff;
  max-width: 22ch;
  text-shadow: 0 1px 10px rgba(0, 16, 32, 0.4);
}

.section-title em,
.accent-italic {
  font-style: normal;
  font-weight: 700;
  color: #f09030;
}

.lede, .prose p {
  margin: 0 0 1rem;
  color: #e6f3f6;
  font-size: 1.05rem;
  max-width: 62ch;
  font-weight: 500;
}

.prose p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3rem 4rem;
  align-items: start;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: rgba(0, 20, 40, 0.62);
  border: 1px solid rgba(26, 143, 150, 0.45);
  border-radius: 1.1rem;
  padding: 1.35rem 1.3rem 1.4rem;
  box-shadow: 0 12px 32px rgba(0, 10, 24, 0.22);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}

.card p {
  margin: 0;
  color: #d5e8ec;
  font-size: 0.95rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(180, 230, 230, 0.35);
  background: rgba(12, 92, 104, 0.55);
  color: #f4fbff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.split-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat {
  background: rgba(0, 20, 40, 0.62);
  border: 1px solid rgba(26, 143, 150, 0.45);
  border-radius: 1.1rem;
  padding: 1.25rem;
  box-shadow: 0 12px 32px rgba(0, 10, 24, 0.22);
}

.stat-value {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  color: #f09030;
  text-shadow: 0 1px 10px rgba(0, 16, 32, 0.35);
}

.stat-label {
  display: block;
  margin-top: 0.45rem;
  color: #d5e8ec;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--kop-sunset);
  color: #1a0c00;
}
.btn-primary:hover { background: #ffb056; color: #1a0c00; }

.btn-ghost-mm {
  background: rgba(0, 16, 32, 0.4);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}
.btn-ghost-mm:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Occasional section atmosphere — soft, not busy */
.section--sunset::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(48rem, 100%);
  height: 12rem;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(240, 144, 48, 0.28), transparent 70%);
}

.section--lagoon::before {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  width: min(22rem, 70%);
  height: 16rem;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(26, 143, 150, 0.28), transparent 70%);
}

.accent-ship,
.accent-dove {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
}
.accent-ship {
  right: 0;
  bottom: 1.25rem;
  width: 10rem;
}
.accent-dove {
  right: 2%;
  top: 4.5rem;
  width: 7.5rem;
}

/* Video */

.video-wrap {
  max-width: 56rem;
  margin: 0 auto;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(26, 143, 150, 0.5);
  background:
    linear-gradient(180deg, #002844, #001428);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.5rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(0, 40, 68, 0.15), rgba(0, 20, 40, 0.45)),
    radial-gradient(circle at 50% 40%, rgba(240, 144, 48, 0.16), transparent 55%);
  color: #fff;
}

.video-placeholder svg {
  width: 3.2rem;
  height: 3.2rem;
  stroke: #7ed0d6;
  fill: none;
  stroke-width: 1.6;
}

.video-placeholder strong {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 700;
}

.video-placeholder p {
  margin: 0;
  max-width: 36ch;
  color: #d5e8ec;
  font-size: 0.95rem;
}

.placeholder-flag {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.5rem;
  border: 1px dashed rgba(240, 144, 48, 0.75);
  border-radius: 999px;
  color: #f09030;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.support-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.placeholder-note {
  margin: 0.85rem 0 0;
  color: #d5e8ec;
  font-size: 0.9rem;
}

.placeholder-note.is-error { color: #f0a0a0; }

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.mm code,
.site-footer code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86em;
  color: #7ed0d6;
}

/* Footer */

.site-footer {
  position: relative;
  border-top: 0;
  padding: 2.5rem 0 3rem;
  background-color: #001428;
  background-image:
    radial-gradient(ellipse 50% 40% at 80% 0%, rgba(20, 160, 168, 0.16), transparent 70%),
    linear-gradient(180deg, #002844, #001428);
}

.footer-inner {
  width: min(100% - 2rem, var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.footer-brand img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  background: radial-gradient(circle, #fff 55%, transparent 72%);
}
.footer-name {
  margin: 0;
  font-weight: 700;
  color: #fff;
}
.footer-meta {
  margin: 0.15rem 0 0;
  color: #d5e8ec;
  font-size: 0.88rem;
}

.footer-col h2 {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 251, 255, 0.78);
  font-weight: 700;
}
.footer-col p { margin: 0; color: #d5e8ec; font-size: 0.92rem; }

.mm-credit {
  color: #7ed0d6;
  font-weight: 700;
  text-decoration: none;
}
.mm-credit:hover { color: #f09030; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .split,
  .support-grid,
  .footer-inner,
  .card-grid {
    grid-template-columns: 1fr;
  }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .section-title { max-width: none; }
  .hero-inner { padding-bottom: 14rem; }
  .hero-water { height: 26%; }
  .hero-ship { bottom: 7%; padding-right: 2.5rem; }
  .accent-ship { width: 8rem; }
  .accent-dove { width: 6rem; top: 3.5rem; }
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #07101b;
    border-bottom: 1px solid hsl(var(--border));
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
    display: none;
    padding: 0.75rem 1.25rem 1.25rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
  .site-nav a {
    display: block;
    padding: 0.7rem 0.2rem;
  }
  .site-nav .nav-cta {
    margin-top: 0.4rem;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .card-grid,
  .split-stat,
  .footer-inner { grid-template-columns: 1fr; }
  .hero-logo-wrap { width: 12.5rem; height: 12.5rem; }
  .hero-logo { width: 10rem; }
  .hero-inner { padding-bottom: 15.5rem; }
  .hero-water { height: 28%; }
  .hero-ship {
    bottom: 5.5%;
    justify-content: center;
    padding-right: 0;
  }
  .hero-ship svg { width: 150px; height: auto; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 3.25rem 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
  .brand-text { display: none; }
  .wave-divider { height: 3.25rem; }
  .accent-ship, .accent-dove { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header, .btn { transition: none; }
  .wave-move { animation: none !important; }
}

/* Subtle wave drift, disabled above when reduced motion is set */
.wave-move {
  animation: wave-drift 18s linear infinite;
}
@keyframes wave-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.follow-on { margin-top: 1.75rem; }
.compact-title {
  max-width: none;
  font-size: 1.7rem;
  margin: 0.4rem 0 0.8rem;
}

.section,
.site-footer,
[id] {
  scroll-margin-top: calc(var(--header-h) + 0.85rem);
}


/* ---------- Events / Webinar app stage ---------- */

.noscript-apps {
  width: min(100% - 2rem, var(--content));
  margin: 0.75rem auto 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(26, 143, 150, 0.45);
  border-radius: 0.75rem;
  background: rgba(0, 20, 40, 0.62);
  color: #e6f3f6;
  font-size: 0.95rem;
}

.app-stage {
  display: none;
  flex-direction: column;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 28% at 50% 0%, rgba(20, 160, 168, 0.18), transparent 60%),
    linear-gradient(180deg, #002844, #001428);
  color: #f4fbff;
}

body.is-app-view .app-stage {
  display: flex;
}

body.is-app-view .hero,
body.is-app-view .mm,
body.is-app-view .site-footer {
  display: none;
}

body.is-app-view .site-header,
body.is-app-view.nav-open .site-header {
  background: rgba(7, 16, 27, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 hsl(var(--border) / 0.6);
}

.app-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.app-panel[hidden] { display: none; }

.app-toolbar {
  width: min(100% - 2rem, var(--content));
  margin: 0 auto;
  padding: 1rem 0 0.85rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.app-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-sans);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.app-fallback {
  margin: 0;
  max-width: 52ch;
  color: #d5e8ec;
  font-size: 0.9rem;
  font-weight: 500;
}

.app-open-tab {
  flex: 0 0 auto;
  text-decoration: none;
}

.app-frame-wrap {
  flex: 1;
  min-height: 0;
  width: min(100% - 2rem, var(--content));
  margin: 0 auto;
  border: 1px solid rgba(26, 143, 150, 0.45);
  border-radius: 1.1rem;
  overflow: hidden;
  background: #001428;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

 .app-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  background: #001428;
}

.app-powered {
  width: min(100% - 2rem, var(--content));
  margin: 0 auto;
  padding: 0.7rem 0 0.9rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 251, 255, 0.72);
}
.app-powered a {
  color: #7ed0d6;
  text-decoration: none;
}
.app-powered a:hover { color: #f09030; }

.site-nav a[aria-current="page"] {
  color: var(--cyan-soft);
}

@media (max-width: 800px) {
  .app-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .app-open-tab { width: 100%; }
}

@media (max-width: 960px) {
  .header-inner {
    gap: 0.6rem;
  }
  .site-nav ul {
    gap: 0.15rem 0.75rem;
  }
}

@media (max-width: 1100px) and (min-width: 801px) {
  .site-nav a {
    font-size: 0.74rem;
    letter-spacing: 0.06em;
  }
  .site-nav ul {
    gap: 0.15rem 0.7rem;
  }
}
