/* ==========================================================================
   IDDO | internationalduediligence.com
   Header, side menu and layout follow the superpower.com pattern.
   Member portal panel follows the GGH login dropdown (demo only).
   Type: Newsreader headlines + Inter Tight text. Color: IDDO navy + IDDO blue.
   ========================================================================== */

:root {
  --font-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Newsreader", Georgia, "Times New Roman", serif;
  --head-weight: 400;
  --head-track: -0.02em;

  --bg: #ffffff;
  --ink: #0f1f2e;
  --muted: #5b6b7b;
  --line: rgba(11, 39, 64, 0.12);
  --surface: #f1f5f9;
  --dark: #0b2740;
  --pill: rgba(11, 39, 64, 0.74);
  --accent: #1493c4;
  --accent-on-dark: #29b5e8;
  --btn: #0b2740;
  --btn-hover: #10344f;
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.66);
  --warn: #c2410c;

  --gutter: clamp(1rem, 4.5vw, 4.5rem);
  --inset: 0.5rem;
  --radius: 1rem;
  --radius-lg: 1.25rem;
  --nav-h: 5.5rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.25s;
}
@media (max-width: 991px) { :root { --nav-h: 4.25rem; } }

/* ---------------------------------------------------------------- Base -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body {
  margin: 0;
  padding-top: var(--nav-h);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1.08;
}
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); }
h3 { font-size: 1.5rem; line-height: 1.2; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 84rem; margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10010; background: var(--dark); color: #fff; padding: 0.75rem 1rem; }
.skip-link:focus { left: 0.5rem; top: 0.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.eyebrow { font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; }
.eyebrow--on-dark { color: var(--on-dark-muted); }

/* ------------------------------------------------------------- Buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9375rem; font-weight: 500; line-height: 1.1; text-align: center;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), scale 150ms ease-out;
}
.btn:active { scale: 0.96; }
.btn--dark { background: var(--btn); color: #fff; }
.btn--dark:hover { background: var(--btn-hover); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: rgba(255, 255, 255, 0.86); }
.btn--glass { background: rgba(255, 255, 255, 0.12); color: #fff; -webkit-backdrop-filter: blur(1.5rem); backdrop-filter: blur(1.5rem); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.2); }
.btn--outline { border: 1px solid var(--line); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ============================================================== HEADER == */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; }
.nav__wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem var(--gutter);
  transition: padding var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav__inner {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 100%;
  border-radius: 999px;
  background-color: transparent;
  transition: max-width var(--dur) var(--ease), background-color var(--dur) var(--ease), padding var(--dur) var(--ease);
}
.nav__left, .nav__right { display: flex; align-items: center; gap: 1.5rem; }
.nav__right { gap: 1.25rem; }
.nav__link { font-size: 0.875rem; color: var(--ink); transition: opacity 0.15s ease-out, color var(--dur) var(--ease); }
.nav__link[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1px; }
.nav__left:has(.nav__link:hover) .nav__link:not(:hover),
.nav__right:has(.nav__link:hover) .nav__link:not(:hover) { opacity: 0.5; }
.nav__cta {
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  background: var(--btn); color: #fff;
  font-size: 0.875rem; white-space: nowrap;
  transition-property: padding, scale, background-color, color;
  transition-duration: var(--dur), 150ms, var(--dur), var(--dur);
  transition-timing-function: var(--ease), ease-out, var(--ease), var(--ease);
}
.nav__cta:hover { background: var(--btn-hover); }
.nav__cta:active { scale: 0.96; }

.nav__logo { position: relative; flex-shrink: 0; display: block; }
.nav__logo-img { width: 10.5rem; height: auto; transition: opacity var(--dur) var(--ease); }
.nav__logo-img--white { position: absolute; inset: 0; opacity: 0; }

/* 9-dot grid button */
.nav__grid {
  position: relative; flex-shrink: 0;
  width: 2rem; height: 2rem;
  border-radius: 999px;
  transition: width var(--dur) var(--ease), height var(--dur) var(--ease), background-color var(--dur) var(--ease);
  --dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='22' viewBox='0 0 20 22'%3E%3Cg fill='%23000'%3E%3Ccircle cx='2' cy='2' r='2'/%3E%3Ccircle cx='10' cy='2' r='2'/%3E%3Ccircle cx='18' cy='2' r='2'/%3E%3Ccircle cx='2' cy='11' r='2'/%3E%3Ccircle cx='10' cy='11' r='2'/%3E%3Ccircle cx='18' cy='11' r='2'/%3E%3Ccircle cx='2' cy='20' r='2'/%3E%3Ccircle cx='10' cy='20' r='2'/%3E%3Ccircle cx='18' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E");
}
.nav__grid::before, .menu__close::before {
  content: ""; position: absolute; inset: 0;
  -webkit-mask: var(--dots) center / 1.25rem 1.375rem no-repeat;
  mask: var(--dots) center / 1.25rem 1.375rem no-repeat;
  background-color: var(--ink);
  transition: background-color var(--dur) var(--ease);
}

@media (min-width: 992px) {
  .nav__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform var(--dur) var(--ease); z-index: 1; }
  /* spacer that mirrors the round menu button so the scrolled pill sits dead center */
  .nav__wrap::before { content: ""; flex: 0 0 auto; width: 0; transition: width var(--dur) var(--ease); }

  .nav.is-scrolled .nav__wrap { padding-top: 1rem; padding-bottom: 1rem; }
  .nav.is-scrolled .nav__wrap::before { width: 3.0625rem; }
  .nav.is-scrolled .nav__inner {
    max-width: 56rem;
    padding: 0.5rem 0.5rem 0.5rem 1.75rem;
    background-color: var(--pill);
    -webkit-backdrop-filter: blur(1.5rem); backdrop-filter: blur(1.5rem);
  }
  .nav.is-scrolled .nav__link { color: #fff; }
  .nav.is-scrolled .nav__cta { background: #fff; color: var(--ink); padding: 0.5rem 1rem; }
  .nav.is-scrolled .nav__logo { transform: translate(-50%, -50%) scale(0.75); }
  .nav.is-scrolled .nav__logo-img--color { opacity: 0; }
  .nav.is-scrolled .nav__logo-img--white { opacity: 1; }
  .nav.is-scrolled .nav__grid {
    width: 3.0625rem; height: 3.0625rem;
    background-color: var(--pill);
    -webkit-backdrop-filter: blur(1.5rem); backdrop-filter: blur(1.5rem);
  }
  .nav.is-scrolled .nav__grid::before { background-color: #fff; }
}

/* tablet and phone: frosted white bar, logo left, CTA + grid right */
@media (max-width: 991px) {
  .nav__wrap {
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem var(--gutter);
    background-color: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: blur(1.5rem); backdrop-filter: blur(1.5rem);
    border-bottom: 1px solid var(--line);
  }
  .nav__inner { justify-content: flex-end; }
  .nav__left, .nav__login { display: none; }
  .nav__logo-img { width: 9rem; }
  .nav__grid { width: 2.5rem; height: 2.5rem; }
}
@media (max-width: 767px) { .nav__logo-img { width: 8.5rem; } }
@media (max-width: 359px) { .nav__logo-img { width: 7rem; } .nav__cta { padding: 0.5rem 0.875rem; } }

/* =========================================================== SIDE MENU == */
.menu-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.menu-overlay.is-visible { opacity: 1; pointer-events: auto; }

.menu {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 10001;
  width: 32rem; max-width: 100vw;
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.5rem;
  overflow-y: auto;
  background: #fff;
  border-radius: 1.5rem 0 0 1.5rem;
  transform: translateX(100%);
  visibility: hidden; pointer-events: none;
  transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
  will-change: transform;
}
.menu.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; transition: transform 0.3s var(--ease), visibility 0s; }

.menu__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.menu__title { margin: 0; font-family: var(--font-head); font-size: 2rem; line-height: 1.2; letter-spacing: var(--head-track); }
.menu__actions { display: flex; align-items: center; gap: 0.25rem; }
.menu__login { padding: 0.75rem; font-size: 1rem; }
.menu__cta { padding: 0.75rem 1.25rem; border-radius: 999px; background: var(--btn); color: #fff; font-size: 1rem; white-space: nowrap; transition: background-color var(--dur) var(--ease); }
.menu__cta:hover { background: var(--btn-hover); }
.menu__cta-short { display: none; }
.menu__close {
  position: relative; width: 3rem; height: 3rem; border-radius: 999px;
  --dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='22' viewBox='0 0 20 22'%3E%3Cg fill='%23000'%3E%3Ccircle cx='2' cy='2' r='2'/%3E%3Ccircle cx='18' cy='2' r='2'/%3E%3Ccircle cx='10' cy='11' r='2'/%3E%3Ccircle cx='2' cy='20' r='2'/%3E%3Ccircle cx='18' cy='20' r='2'/%3E%3C/g%3E%3Cg fill='%23000' opacity='.12'%3E%3Ccircle cx='10' cy='2' r='2'/%3E%3Ccircle cx='2' cy='11' r='2'/%3E%3Ccircle cx='18' cy='11' r='2'/%3E%3Ccircle cx='10' cy='20' r='2'/%3E%3C/g%3E%3C/svg%3E");
}
.menu__close:hover { background: var(--surface); }

.menu__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 0.375rem; margin-top: 1rem; }
.menu__label { margin: 0 0 0.25rem; font-size: 0.875rem; color: var(--muted); }
.menu__link {
  position: relative;
  display: inline-flex; align-items: center;
  font-family: var(--font-head);
  font-size: 2rem; line-height: 1.2; letter-spacing: var(--head-track);
  transition: opacity 0.15s ease-out;
}
.menu__link[aria-current="page"] { color: var(--accent); }
.menu__link::after, .menu__col-link::after { content: ""; position: absolute; left: 0; right: 0; top: -0.25rem; bottom: -0.25rem; }
.menu__nav:has(.menu__link:hover) .menu__link:not(:hover) { opacity: 0.5; }

.menu__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.menu__col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.menu__col-link { position: relative; font-size: 0.875rem; transition: opacity 0.15s ease-out; }
.menu__col:has(.menu__col-link:hover) .menu__col-link:not(:hover) { opacity: 0.5; }

@media (min-width: 992px) {
  .menu__link::before { content: ""; width: 0; height: 1px; margin-right: 0; background: currentColor; transition: width 0.15s ease-out, margin-right 0.15s ease-out; flex-shrink: 0; }
  .menu__link:hover::before { width: 0.625rem; margin-right: 0.5rem; }
}
@media (max-width: 991px) {
  .menu { width: 90vw; min-width: 20rem; border-radius: 1rem 0 0 1rem; padding: 0.75rem 0.5rem 0.75rem 1.25rem; gap: 1rem; }
  .menu__title { font-size: 1.375rem; }
  .menu__link { font-size: 1.375rem; padding: 0.5rem 0; }
  .menu__login { padding: 0.625rem; font-size: 0.875rem; }
  .menu__cta { padding: 0.625rem 1rem; font-size: 0.875rem; }
  .menu__close { width: 2.75rem; height: 2.75rem; }
  .menu__nav { margin-top: 0.5rem; gap: 0; }
}
@media (max-width: 399px) {
  .menu__cta-long { display: none; }
  .menu__cta-short { display: inline; }
}
body.is-locked { overflow: hidden; }

/* ======================================================= MEMBER PORTAL == */
.portal {
  position: fixed; z-index: 10002;
  top: calc(var(--nav-h) - 0.25rem); right: var(--gutter);
  width: 23rem; max-width: calc(100vw - 2rem);
  padding: 1.25rem;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.18);
  opacity: 0; transform: translateY(-0.5rem) scale(0.98); transform-origin: top right;
  visibility: hidden; pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}
.portal.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity 0.2s var(--ease), transform 0.25s var(--ease), visibility 0s; }
@media (max-width: 991px) { .portal { left: 1rem; right: 1rem; width: auto; max-width: 26rem; margin-left: auto; } }

.portal [data-for] { display: none; }
.portal[data-mode="join"] [data-for="join"],
.portal[data-mode="signin"] [data-for="signin"] { display: revert; }

.portal__tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 0.25rem; margin-bottom: 1.25rem; background: var(--surface); border-radius: 999px; }
.portal__tab { padding: 0.5rem; border-radius: 999px; font-size: 0.875rem; color: var(--muted); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.portal[data-mode="join"] [data-portal-tab="join"],
.portal[data-mode="signin"] [data-portal-tab="signin"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }

.portal__head { display: flex; gap: 0.875rem; align-items: flex-start; margin-bottom: 1.25rem; }
.portal__chip { flex-shrink: 0; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: var(--dark); color: #fff; }
.portal__chip svg { width: 1.25rem; height: 1.25rem; }
.portal__title { margin: 0 0 0.25rem; font-family: var(--font-head); font-size: 1.375rem; letter-spacing: -0.01em; line-height: 1.2; }
.portal__sub { margin: 0; font-size: 0.875rem; color: var(--muted); }
.portal__label { display: block; margin-bottom: 0.375rem; font-size: 0.8125rem; font-weight: 500; }
.portal__input { width: 100%; padding: 0.8125rem 1rem; border: 1px solid var(--line); border-radius: 0.75rem; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.portal__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(20, 147, 196, 0.2); }
.portal.has-error .portal__input { border-color: var(--warn); }
.portal__error { min-height: 1.25rem; margin: 0.375rem 0 0.25rem; font-size: 0.8125rem; color: var(--warn); }
.portal__btn {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; min-height: 3rem; padding: 0.75rem 1rem;
  border-radius: 999px; background: var(--btn); color: #fff; font-size: 0.9375rem; font-weight: 500;
  transition: background-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.portal__btn svg { width: 1.125rem; height: 1.125rem; transition: transform var(--dur) var(--ease); }
.portal__btn:hover { background: var(--btn-hover); }
.portal__btn:hover svg { transform: translateX(3px); }
.portal__btn.is-sending { opacity: 0.6; pointer-events: none; }
.portal__perks { list-style: none; margin: 1.25rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }
.portal__perks li { position: relative; padding-left: 1.375rem; margin-bottom: 0.5rem; }
.portal__perks li::before, .check-list li::before {
  content: ""; position: absolute; left: 0.125rem; top: 0.3em; width: 0.375rem; height: 0.6875rem;
  border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.portal__done { display: none; text-align: center; padding: 0.5rem 0 0.25rem; }
.portal__chip--done { margin: 0 auto 1rem; width: 3rem; height: 3rem; border-radius: 999px; background: var(--surface); color: var(--accent); }
.portal__done .portal__sub { margin-bottom: 1rem; }
.portal__again { font-size: 0.875rem; text-decoration: underline; text-underline-offset: 3px; }
.portal.is-sent .portal__form, .portal.is-sent .portal__tabs { display: none; }
.portal.is-sent .portal__done { display: block; }

/* ============================================================ SECTIONS == */
.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.panel { padding: 0 var(--inset); }
.panel__card { border-radius: var(--radius-lg); background: var(--surface); padding: clamp(4rem, 9vw, 8rem) 0; }
.panel__card--dark { background: var(--dark); color: #fff; }
.panel + .panel { margin-top: var(--inset); }

/* --------------------------------------------------------- Home hero -- */
.hero { padding: 0 var(--inset); }
.hero__card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: calc(100svh - var(--nav-h) - var(--inset));
  border-radius: var(--radius-lg);
  background: var(--dark); color: #fff;
}
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 39, 64, 0.82) 0%, rgba(11, 39, 64, 0.4) 55%, rgba(11, 39, 64, 0) 100%), linear-gradient(0deg, rgba(11, 39, 64, 0.7) 0%, rgba(11, 39, 64, 0) 45%); }
.hero__content { position: relative; max-width: 46rem; padding: 0 var(--gutter); margin-bottom: clamp(3rem, 8vh, 6rem); }
.hero__eyebrow { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; font-size: 0.875rem; }
.hero__eyebrow svg { width: 1rem; height: 1rem; color: var(--accent-on-dark); }
.hero h1 { font-size: clamp(2.75rem, 1.5rem + 4.6vw, 5.25rem); line-height: 1; margin-bottom: 1.25rem; }
.hero__accent { color: var(--accent-on-dark); }
.hero__lead { max-width: 34rem; margin-bottom: 2rem; font-size: clamp(1rem, 0.9rem + 0.4vw, 1.1875rem); color: rgba(255, 255, 255, 0.84); }
.hero__stats {
  position: relative;
  display: flex; flex-wrap: wrap;
  list-style: none; margin: 0; padding: 0 var(--gutter) clamp(1.5rem, 4vh, 2.5rem);
}
.hero__stats li { display: flex; flex-direction: column; padding-right: 1.25rem; margin-right: 1.25rem; border-right: 1px solid rgba(255, 255, 255, 0.24); font-size: 0.875rem; }
.hero__stats li:last-child { border-right: 0; }
.hero__stats b { font-weight: 400; }
.hero__stats span { color: var(--on-dark-muted); }
@media (max-width: 767px) {
  .hero__card { min-height: calc(100svh - var(--nav-h) - 4rem); padding-top: 3.5rem; }
  .hero__content { margin-bottom: 2rem; }
  .hero__stats { gap: 1rem; }
  .hero__stats li { flex: 1 1 100%; border-right: 0; padding: 0.75rem 0 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, 0.2); }
}

/* -------------------------------------------------------- Inner hero -- */
.page-hero { padding: 0 var(--inset); }
.page-hero__card {
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: end;
  padding: clamp(4rem, 9vw, 7.5rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.page-hero h1 { margin: 0; font-size: clamp(2.5rem, 1.4rem + 4vw, 4.75rem); line-height: 1.02; }
.page-hero__lead { margin: 0; color: var(--muted); font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem); }
.page-hero--dark .page-hero__card { background: var(--dark); color: #fff; }
.page-hero--dark .eyebrow { color: var(--on-dark-muted); }
.page-hero--dark .page-hero__lead { color: var(--on-dark-muted); }
@media (max-width: 767px) { .page-hero__card { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- Press -- */
.press { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.press__row { display: flex; align-items: center; gap: 2.5rem; }
.press__label { flex: 0 0 11rem; margin: 0; font-size: 0.875rem; color: var(--muted); }
.press__logos { flex: 1; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; align-items: center; }
.press__logos img { width: 100%; max-width: 8rem; margin: 0 auto; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: 0.7; transition: opacity var(--dur) var(--ease); }
.press__logos img:hover { opacity: 1; }
@media (max-width: 767px) {
  .press__row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .press__label { flex: none; }
  .press__logos { width: 100%; grid-template-columns: repeat(3, 1fr); gap: 0.75rem 1.5rem; }
}

/* ------------------------------------------------------ Split, prose -- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius-lg); }
.split__body p { color: var(--muted); font-size: 1.0625rem; max-width: 34rem; }
.split__body .btn { margin-top: 1rem; }

/* side-by-side: heading column left, text column right */
.side { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.side__head { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.side__head h2 { margin-bottom: 0; }
.side + .side { margin-top: clamp(4rem, 8vw, 7rem); }

.prose { max-width: 42rem; font-size: 1.0625rem; color: var(--muted); }
.prose > :first-child { margin-top: 0; }
.prose p { margin-bottom: 1.25em; }
.prose h2 { color: var(--ink); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin: 2.5rem 0 1rem; }
.prose h3 { color: var(--ink); font-size: 1.375rem; margin: 2rem 0 0.75rem; }
.prose a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 0.2em; transition: text-decoration-color var(--dur) var(--ease); }
.prose a:not(.btn):hover { text-decoration-color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1.25em; }
.prose li { margin-bottom: 0.5em; }
.prose .lead-text { font-family: var(--font-head); color: var(--ink); font-size: clamp(1.375rem, 1rem + 1.4vw, 2rem); line-height: 1.3; letter-spacing: -0.01em; }

.statement { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); }
.statement__lead { font-family: var(--font-head); font-size: clamp(1.5rem, 1.05rem + 1.6vw, 2.375rem); line-height: 1.22; letter-spacing: -0.01em; margin-bottom: 1.5rem; }
.statement__body { color: var(--muted); font-size: 1.0625rem; max-width: 40rem; margin: 0; }

/* ------------------------------------------------------- Offer cards -- */
.offer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
.offer__card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 3rem;
  min-height: 20rem; padding: 1.5rem;
  border-radius: var(--radius); background: var(--surface);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.offer__card h3 { margin-bottom: 0.5rem; }
.offer__card p { margin: 0; color: var(--muted); font-size: 0.9375rem; transition: color var(--dur) var(--ease); }
.offer__num { font-size: 0.875rem; color: var(--accent); }
.offer.offer--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 767px) { .offer.offer--3 { grid-template-columns: 1fr; } }
.offer--3 .offer__card { min-height: 16rem; }
.offer__card a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.offer__card:hover { background: var(--dark); color: #fff; }
.offer__card:hover p { color: var(--on-dark-muted); }
.offer__card:hover .offer__num { color: var(--accent-on-dark); }

/* ---------------------------------------------------------- CTA band -- */
.cta { position: relative; overflow: hidden; }
.cta__glow { position: absolute; width: 42rem; height: 42rem; right: -10rem; top: 50%; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(41, 181, 232, 0.38) 0%, rgba(41, 181, 232, 0) 65%); pointer-events: none; }
.cta__body { position: relative; }
.cta__body h2 { max-width: 44rem; }
.cta__lead { max-width: 32rem; margin-bottom: 2rem; color: var(--on-dark-muted); font-size: 1.0625rem; }

/* --------------------------------------------------------------- FAQ -- */
.faq-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-wrap__head { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.faq-wrap__head .btn { margin-top: 1rem; }
.faq-wrap__head p:not(.eyebrow) { color: var(--muted); }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.4s var(--ease); background: #fff; }
.faq[open] { border-color: var(--accent); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.5rem; cursor: pointer; list-style: none;
  font-size: 1.1875rem; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; background: var(--surface); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--muted); transform: translate(-50%, -50%); transition: transform 0.4s var(--ease), opacity 0.4s var(--ease); }
.faq__icon::before { width: 0.875rem; height: 2px; }
.faq__icon::after { width: 2px; height: 0.875rem; }
.faq[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__body { padding: 0 1.5rem 1.5rem; color: var(--muted); }
.faq__body p { margin: 0; }
.faq__body a { color: var(--ink); text-decoration: underline; text-underline-offset: 0.2em; }

/* --------------------------------------------------- About components -- */
.defs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 2rem 0; }
.def { padding: 1.75rem; border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.def--new { background: var(--dark); color: var(--on-dark-muted); }
.def__word { margin: 0 0 0.25rem; font-family: var(--font-head); font-size: 1.75rem; color: var(--ink); letter-spacing: -0.01em; }
.def--new .def__word { color: #fff; }
.def__pos { margin: 0 0 1rem; font-size: 0.8125rem; font-style: italic; }
.def--new .def__pos { color: var(--accent-on-dark); }
.def p:last-child { margin: 0; font-size: 0.9375rem; }

.leader { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.leader + .leader { margin-top: clamp(4rem, 8vw, 7rem); }
.leader__photo { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.leader__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius-lg); }
.leader__name { margin-bottom: 0.25rem; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.leader__role { margin-bottom: 1.75rem; color: var(--accent); font-size: 0.9375rem; }
.leader__links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }
.leader__links a { padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.875rem; color: var(--ink); text-decoration: none; transition: border-color var(--dur) var(--ease); }
.leader__links a:hover { border-color: var(--ink); }

.advisors { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.advisor { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); background: var(--surface); }
.advisor h3 { margin-bottom: 1rem; }
.advisor p { color: var(--muted); font-size: 0.9375rem; }
.advisor p:last-child { margin: 0; }
.panel__card .advisor, .panel__card .faq, .panel__card .def:not(.def--new) { background: #fff; }

/* -------------------------------------------------------- Membership -- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.plan { display: flex; flex-direction: column; padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--radius-lg); background: var(--surface); }
.plan--featured { background: var(--dark); color: #fff; }
.plan__tag { align-self: flex-start; margin-bottom: 1.25rem; padding: 0.375rem 0.75rem; border-radius: 999px; background: rgba(41, 181, 232, 0.16); color: var(--accent-on-dark); font-size: 0.8125rem; }
.plan h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.375rem); margin-bottom: 1.25rem; }
.plan__price { margin: 0 0 0.25rem; font-family: var(--font-head); font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1; letter-spacing: -0.03em; }
.plan__price small { font-family: var(--font-body); font-size: 1rem; letter-spacing: 0; color: var(--muted); }
.plan--featured .plan__price small { color: var(--on-dark-muted); }
.plan__note { margin-bottom: 1.5rem; font-size: 0.875rem; color: var(--muted); }
.plan > p:not([class]) { color: var(--muted); }
.plan--featured .plan__note, .plan--featured > p:not([class]) { color: var(--on-dark-muted); }
.plan .check-list { margin-bottom: 2rem; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan--featured .check-list li::before { border-color: var(--accent-on-dark); }

.check-list { list-style: none; margin: 0 0 1.25em; padding: 0; }
.check-list li { position: relative; padding-left: 1.5rem; margin-bottom: 0.625rem; }

.tiers { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tiers th { text-align: left; font-weight: 400; font-size: 0.875rem; color: var(--muted); padding: 0 0 0.75rem; border-bottom: 1px solid var(--ink); }
.tiers td { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.tiers td:last-child, .tiers th:last-child { text-align: right; }
.tiers td:last-child { font-family: var(--font-head); font-size: 1.375rem; letter-spacing: -0.01em; }

@media (max-width: 991px) { .offer { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .split, .statement, .faq-wrap, .side, .leader, .advisors, .plans, .defs { grid-template-columns: 1fr; }
  .side__head, .faq-wrap__head, .leader__photo { position: static; }
  .leader__photo img { max-width: 22rem; }
  .offer { grid-template-columns: 1fr; }
  .offer__card { min-height: 0; gap: 2rem; }
  .faq summary { padding: 1.25rem; font-size: 1.0625rem; }
  .faq__body { padding: 0 1.25rem 1.25rem; }
}

/* --------------------------------------------------------- Directory -- */
.dir-controls { position: sticky; top: calc(var(--nav-h) + 0.5rem); z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 2.5rem; }
.dir-search { position: relative; flex: 1 1 22rem; max-width: 34rem; }
.dir-search svg { position: absolute; left: 1.125rem; top: 50%; width: 1.125rem; height: 1.125rem; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.dir-search input { width: 100%; padding: 1rem 1.25rem 1rem 3rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(1rem); backdrop-filter: blur(1rem); font: inherit; font-size: 1rem; color: var(--ink); box-shadow: 0 0.5rem 1.5rem rgba(11, 39, 64, 0.06); }
.dir-search input:focus { outline: none; border-color: var(--accent); }
.dir-count { margin: 0; font-size: 0.875rem; color: var(--muted); }
.dir-empty { display: none; padding: 2rem; border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.dir-group { display: grid; grid-template-columns: 14rem 1fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.dir-group h2 { font-size: 1.75rem; margin: 0; }
.dir-group h2 small { display: block; margin-top: 0.375rem; font-family: var(--font-body); font-size: 0.8125rem; letter-spacing: 0; color: var(--muted); }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.25rem 1.5rem; }
.member { display: flex; align-items: baseline; gap: 0.875rem; padding: 0.5rem 0; font-size: 0.9375rem; border-bottom: 1px solid rgba(11, 39, 64, 0.06); }
.member .id { flex-shrink: 0; width: 4.25rem; font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.member[hidden], .dir-group[hidden] { display: none; }
@media (max-width: 767px) { .dir-group { grid-template-columns: 1fr; gap: 1rem; } }

/* ------------------------------------------------------------- Legal -- */
.legal { max-width: 46rem; font-size: 1rem; }
.legal h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }

/* --------------------------------------------------------------- 404 -- */
.error { padding: 0 var(--inset); }
.error__card { display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - var(--nav-h) - var(--inset) * 2); padding: 4rem var(--gutter); border-radius: var(--radius-lg); background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.error__code { margin: 0 0 1rem; font-family: var(--font-head); font-size: clamp(6rem, 4rem + 10vw, 14rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--accent-on-dark); }
.error__card h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem); }
.error__card p:not(.error__code) { max-width: 30rem; margin-bottom: 2rem; color: var(--on-dark-muted); font-size: 1.125rem; }

/* ============================================================= FOOTER == */
.footer { padding: 0 var(--inset) var(--inset); margin-top: clamp(1rem, 4vw, 2rem); }
.panel:last-child { margin-bottom: 0; }
.footer__card { border-radius: var(--radius-lg); background: var(--dark); color: #fff; padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.footer__main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer__brand img { width: 13rem; margin-bottom: 1.25rem; }
.footer__brand p { max-width: 26rem; color: var(--on-dark-muted); font-size: 0.9375rem; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.625rem; font-size: 0.9375rem; }
.footer__col a, .footer__legal a { transition: opacity 0.15s ease-out; }
.footer__col:has(a:hover) a:not(:hover), .footer__legal:has(a:hover) a:not(:hover) { opacity: 0.5; }
.footer__label { margin: 0 0 0.25rem; font-size: 0.8125rem; color: var(--on-dark-muted); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: 0.8125rem; color: var(--on-dark-muted); }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
@media (max-width: 767px) {
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ===================================================== REDUCED MOTION == */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
