/* ==========================================================================
   GALE GROUP INTERNATIONAL — INTERIOR PAGE STYLES
   Built to match public/index.html exactly.
   Her homepage's inline styles stay the source of truth; this file extends
   the same design tokens to the content pages.
   ========================================================================== */

@font-face {
  font-family: 'Creato Display';
  src: url('/assets/fonts/CreatoDisplay-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Creato Display';
  src: url('/assets/fonts/CreatoDisplay-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Type */
  --font: 'Creato Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Monochrome (from her homepage) */
  --bg:        #0c0d0d;
  --bg-soft:   #101010;
  --bg-card:   #1d1f1f;
  --fg:        #ffffff;
  --fg-2:      #c7c7c7;
  --fg-3:      #888888;
  --fg-4:      #747474;
  --line:      #2c2c2c;
  --line-2:    #202222;

  /* Her exact gradients */
  --grad-outer-border:  radial-gradient(circle 230px at 0% 0%, #ffffff, #0c0d0d);
  --grad-card:          radial-gradient(circle 280px at 0% 0%, #444444, #0c0d0d);
  --grad-nav-btn:       linear-gradient(to top, #D8D9DB 0%, #fff 80%, #FDFDFD 100%);
  --grad-chrome-text:   linear-gradient(45deg, #000000 4%, #fff, #000);
  --grad-line-h:        linear-gradient(90deg, #888888 30%, #1d1f1f 70%);
  --grad-line-v:        linear-gradient(180deg, #747474 30%, #222424 70%);
  /* Same vertical chrome as .outer / .panel / “As cited in” shell — for clipped title text on dark bg */
  --grad-silver-title:  linear-gradient(180deg, #858489 0%, #e7e4ef 25%, #858489 50%, #b9b9b9 75%, #858489 100%);

  /* Layout */
  --max:    1200px;
  --prose:  720px;
  --gutter: clamp(20px, 4vw, 60px);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  min-height: 100svh;
  max-width: 100%;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

/* Interior page ambient — subtle silver orbs so the black has depth  */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(700px circle at 15% 10%, rgba(136,136,136,0.10) 0%, transparent 60%),
    radial-gradient(900px circle at 85% 90%, rgba(199,199,199,0.06) 0%, transparent 55%),
    radial-gradient(500px circle at 50% 50%, rgba(255,255,255,0.02) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: #fff; color: #000; }

/* ==========================================================================
   TYPOGRAPHY — matches the thin-Helvetica feel of her hero stats
   ========================================================================== */

.t-display {
  font-family: var(--font);
  font-weight: 100;
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.t-l {
  font-family: var(--font);
  font-weight: 200;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.t-m {
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.t-h1 {
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.t-h2 {
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.t-h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.t-lede {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: var(--prose);
}

.t-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: var(--prose);
}

.t-small { font-size: 13px; color: var(--fg-3); }

.t-eyebrow {
  font-family: var(--font);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* Small subtitle lines — hidden where not used as section titles */
.hero-tagline__sub,
.tier-item__eyebrow,
p.eyebrow {
  display: none !important;
}

/* Her chrome-text treatment, for hero numbers and display callouts */
.chrome {
  background: var(--grad-chrome-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Section & hero titles — silver chrome gradient text, centered (web + mobile).
   Chrome cards (.outer / .panel) keep solid black type for contrast. */
body .page-hero :is(.page-hero__eyebrow, .page-hero__title, h1, h2) {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  background: var(--grad-silver-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
body .section :is(.t-eyebrow, h2.t-m, h2.t-l, h2.t-h1, h3.t-h1) {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  background: var(--grad-silver-title);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
body .section > .wrap > .flex.items-center.justify-between.mb-7 {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}
body .section > .wrap > .flex.items-center.justify-between.mb-7 > a {
  margin-top: 4px;
}
body .section .outer :is(.t-eyebrow, h3.t-h1),
body .section a.outer .outer__inner :is(.t-eyebrow, h3.t-h1),
body .section .panel :is(.panel__eyebrow, .panel__title) {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}
body .section .panel .panel__eyebrow,
body .section .panel .panel__title {
  text-align: center;
  width: 100%;
}
body .section .outer .outer__inner :is(.t-eyebrow, h3.t-h1) {
  text-align: center;
}
/* Content CTAs — centered; exclude header nav */
body .section a.silver-button,
body .page-hero a.silver-button,
body .section--tight a.silver-button {
  display: inline-flex;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   LAYOUT PRIMITIVES
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 1;
}

.wrap--prose { max-width: calc(var(--prose) + 120px); }

.section {
  padding-top: clamp(60px, 10vw, 128px);
  padding-bottom: clamp(60px, 10vw, 128px);
  position: relative;
  z-index: 1;
}

.section--tight {
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(48px, 7vw, 80px);
}

.stack > * + * { margin-top: 1rem; }
.stack-sm > * + * { margin-top: 0.5rem; }
.stack-lg > * + * { margin-top: 1.75rem; }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.divider {
  height: 1px;
  background: var(--grad-line-h);
  border: 0;
  margin: 0;
}

/* ==========================================================================
   NAVIGATION — uses her exact .nav-btn chrome style
   ========================================================================== */

/* Shared site header — 3 nav links | logo | 3 nav links, horizontal */
.site-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 20px var(--gutter) 10px;
  position: relative;
  z-index: 1002;
  text-align: center;
  gap: 12px;
}
.site-header__logo {
  display: block;
  margin: 0;
  order: 2;
  padding: 0 16px;
  flex-shrink: 0;
}
.site-header__logo img {
  width: 140.89px;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* Left nav group (3 links) */
.site-header__nav--left {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  order: 1;
  flex: 1;
}
/* Right nav group (3 links) */
.site-header__nav--right {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  order: 3;
  flex: 1;
}
/* Hide old menu toggle */
.menu-expand-toggle { display: none; }

/* Mobile-only: "Menu" control (shown ≤767px in media block below) */
.site-header__menu-toggle {
  display: none;
}

@media (max-width: 767px) {
  .site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 10px max(12px, env(safe-area-inset-left)) 10px max(12px, env(safe-area-inset-right));
  }
  .site-header__logo {
    order: 1;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0;
  }
  .site-header__logo img {
    margin: 0 auto;
    width: calc(140.89px * 1.6205 * 0.8 * 0.8);
    height: auto;
    display: block;
  }
  /* button + .silver-button beats generic .site-header .silver-button sizing */
  .site-header button.site-header__menu-toggle.silver-button {
    order: 2;
    align-self: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 0;
    width: 36px;
    min-width: 36px;
    max-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    animation: none;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
  }
  .site-header button.site-header__menu-toggle.silver-button .silver-text {
    display: none;
  }
  /* Silver chrome ::before fights the icon; keep a plain circle + bars only */
  .site-header button.site-header__menu-toggle.silver-button::before {
    display: none;
    content: none;
  }
  /* Hamburger bars via ::after — same when open/closed (no morph to X) */
  .site-header button.site-header__menu-toggle.silver-button::after {
    content: '';
    display: block;
    width: 16px;
    height: 2px;
    background: #000;
    box-shadow: 0 -5px 0 #000, 0 5px 0 #000;
    border-radius: 1px;
    transform: none;
    flex-shrink: 0;
  }
  .site-header--nav-open button.site-header__menu-toggle.silver-button::after {
    width: 16px;
    height: 2px;
    background: #000;
    box-shadow: 0 -5px 0 #000, 0 5px 0 #000;
    border-radius: 1px;
    transform: none;
  }
  /* Avoid silver-button hover/active shift warping the icon */
  .site-header button.site-header__menu-toggle.silver-button:hover,
  .site-header button.site-header__menu-toggle.silver-button:active {
    transform: none;
    filter: none;
  }
  .site-header__menu-toggle-text--close {
    display: none;
  }
  .site-header--nav-open .site-header__menu-toggle-text--open {
    display: none;
  }
  .site-header--nav-open .site-header__menu-toggle-text--close {
    display: none;
  }
  /* Hide desktop nav rows until Menu opens (!important beats index.html inline display:flex) */
  header.site-header .site-header__nav--left,
  header.site-header .site-header__nav--right {
    display: none !important;
    flex: none;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 4px 8px;
  }
  header.site-header .site-header__nav--left {
    order: 3;
  }
  header.site-header .site-header__nav--right {
    order: 4;
    padding-top: 0;
  }
  header.site-header.site-header--nav-open .site-header__nav--left,
  header.site-header.site-header--nav-open .site-header__nav--right {
    display: flex !important;
  }
  /* Expanded nav pills: same footprint as Menu control */
  header.site-header.site-header--nav-open .site-header__nav--left .silver-button,
  header.site-header.site-header--nav-open .site-header__nav--right .silver-button,
  header.site-header.site-header--nav-open .site-header__nav--left .nav-btn,
  header.site-header.site-header--nav-open .site-header__nav--right .nav-btn {
    width: min(98px, calc((100% - 32px) * 0.35));
    min-width: min(98px, calc((100% - 32px) * 0.35));
    max-width: min(98px, calc((100% - 32px) * 0.35));
    height: auto;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    justify-content: center;
    align-self: center;
    animation: none;
  }
  /* Header page nav pills: same style as Menu but 25% smaller text */
  header.site-header .site-header__nav--left .silver-button .silver-text,
  header.site-header .site-header__nav--right .silver-button .silver-text,
  header.site-header .site-header__nav--left .nav-btn .silver-text,
  header.site-header .site-header__nav--right .nav-btn .silver-text {
    font-size: calc(17px * 0.75);
    letter-spacing: 0.06em;
    font-weight: 500;
    font-family: 'Creato Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  }
}

@media (min-width: 768px) {
  .site-header__menu-toggle {
    display: none !important;
  }
}

/* Legacy — keep for backwards compat */
.top-nav {
  position: relative;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
}
.top-nav__brand { display: block; }
.top-nav__brand img { width: 195px; height: auto; }
@media (min-width: 768px) {
  .top-nav { padding: 24px 60px; }
}
.top-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   SILVER BUTTON — Uiverse.io by ashif_6672 ("rare-bat-7")
   Shadowed chrome button with metallic gradient-clipped silver text.
   .silver-button     — the button shell
   .silver-text       — the metallic text inside
   .nav-btn           — legacy alias, inherits silver-button look
   .*--cta            — larger size modifier for CTA buttons
   ========================================================================== */
@keyframes floatInFromTop {
  0%   { opacity: 0; transform: translateY(-40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.silver-button,
.nav-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
  cursor: pointer;
  animation: floatInFromTop 0.6s ease-out both;
  min-width: 300px;
  height: 110px;
  padding: 0 53px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(180deg,
      #858489 0%,
      #e7e4ef 25%,
      #858489 50%,
      #b9b9b9 75%,
      #858489 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.18),
    0 4px 10px rgba(0, 0, 0, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  font-family: var(--font);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.nav-btn:nth-child(1) { animation-delay: 0s; }
.nav-btn:nth-child(2) { animation-delay: 0.1s; }
.nav-btn:nth-child(3) { animation-delay: 0.2s; }
.nav-btn:nth-child(4) { animation-delay: 0.3s; }
.nav-btn:nth-child(5) { animation-delay: 0.4s; }
.nav-btn:nth-child(6) { animation-delay: 0.5s; }

.silver-button::before,
.nav-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 999px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.00) 48%,
    rgba(255, 255, 255, 0.00) 50%,
    rgba(255, 255, 255, 0.22) 100%);
  pointer-events: none;
}
.silver-button:hover,
.nav-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.40),
    0 3px 6px rgba(0, 0, 0, 0.22),
    0 10px 20px rgba(0, 0, 0, 0.14);
}
.silver-button:active,
.nav-btn:active {
  transform: translateY(0);
  filter: brightness(0.96);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.30);
}

/* The silver-button label — light-weight solid black text. */
.silver-text {
  font-family: 'Creato Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 200;
  font-size: 22.5px;
  letter-spacing: 0.04em;
  line-height: 1;
  position: relative;
  z-index: 1;
  color: #000;
  -webkit-text-fill-color: #000;
  background: none;
}

@media (min-width: 768px) {
  .silver-button,
  .nav-btn { min-width: 132px; height: 45px; padding: 0 27px; }
  .silver-text { font-size: 22.5px; }
}

/* Header nav buttons — 25% smaller across all pages */
.site-header .silver-button,
.site-header .nav-btn {
  min-width: 225px;
  height: 82.5px;
  padding: 0 39.75px;
}
.site-header .silver-text {
  font-size: 16.875px;
}
@media (min-width: 768px) {
  .site-header .silver-button,
  .site-header .nav-btn {
    min-width: 99px;
    height: 33.75px;
    padding: 0 20.25px;
  }
  .site-header .silver-text {
    font-size: 16.875px;
  }
}

.nav-btn--active,
.silver-button--active {
  filter: brightness(0.94);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.25),
    inset 0 -1px 0 rgba(255, 255, 255, 0.30);
}

.nav-btn--cta,
.silver-button--cta {
  min-width: 176px;
  height: 46px;
  padding: 0 29px;
  border-radius: 29px;
}
.nav-btn--cta::before,
.silver-button--cta::before {
  border-radius: 28px;
}
.nav-btn--cta .silver-text,
.silver-button--cta .silver-text {
  font-size: 18px;
  font-weight: 200;
  letter-spacing: 0.01em;
}
@media (min-width: 768px) {
  .nav-btn--cta,
  .silver-button--cta {
    min-width: 192px;
    height: 50px;
  }
  .nav-btn--cta .silver-text,
  .silver-button--cta .silver-text { font-size: 19.5px; }
}

/* Mobile: silver / nav button labels 25% smaller than default (Menu toggle excluded) */
@media (max-width: 767px) {
  .silver-button:not(.site-header__menu-toggle) > .silver-text,
  .nav-btn:not(.site-header__menu-toggle) > .silver-text {
    font-size: calc(22.5px * 0.75);
  }
  .silver-button--cta:not(.site-header__menu-toggle) > .silver-text,
  .nav-btn--cta > .silver-text {
    font-size: calc(18px * 0.75);
  }
}

/* Menu / hamburger — for pages beyond Ethos & Marcelle */
.menu-toggle {
  width: 63px;
  height: 63px;
  border-radius: 999px;
  border: 1px solid #8F9092;
  background-image: var(--grad-nav-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.menu-toggle:hover {
  box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, inset 0 0 3px 2px #CECFD1;
}
.menu-toggle__bars { display: block; width: 24px; position: relative; }
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
}
.menu-toggle__bars::before { margin-bottom: 6px; }

/* Mobile: hide the two nav-btns, keep hamburger */
@media (max-width: 767px) {
  .top-nav__actions .nav-btn { display: none; }
}

/* Full-screen menu overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(12,13,13,0.96);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}
.menu.is-open { opacity: 1; pointer-events: auto; }

.menu__close {
  position: absolute;
  top: 20px;
  right: var(--gutter);
  width: 63px;
  height: 63px;
  border-radius: 999px;
  border: 1px solid #8F9092;
  background-image: var(--grad-nav-btn);
  color: #000;
  font-size: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
@media (min-width: 768px) { .menu__close { top: 32px; right: 60px; } }

.menu__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}
.menu__link {
  font-family: var(--font);
  font-weight: 100;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.24s ease;
}
.menu__link:hover { opacity: 0.6; }

/* ==========================================================================
   HER LIQUID-GLASS BUTTON (.btn) — lifted verbatim from her homepage
   ========================================================================== */

.btn-wrapper { position: relative; display: inline-block; }

.btn {
  --border-radius: 999px;
  --padding: 4px;
  --transition: 0.4s;
  --button-color: #101010;
  --highlight-color-hue: 210deg;
  user-select: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.7em 1.3em;
  font-family: var(--font);
  font-size: 0.95em;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  background-color: var(--button-color);
  box-shadow:
    inset 0px 1px 1px rgba(255,255,255,0.2),
    inset 0px 2px 2px rgba(255,255,255,0.15),
    inset 0px 4px 4px rgba(255,255,255,0.1),
    inset 0px 8px 8px rgba(255,255,255,0.05),
    inset 0px 16px 16px rgba(255,255,255,0.05),
    0px -1px 1px rgba(0,0,0,0.02),
    0px -2px 2px rgba(0,0,0,0.03),
    0px -4px 4px rgba(0,0,0,0.05),
    0px -8px 8px rgba(0,0,0,0.06),
    0px -16px 16px rgba(0,0,0,0.08);
  border: solid 1px #fff2;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: box-shadow var(--transition), border var(--transition), background-color var(--transition);
  position: relative;
  z-index: 1;
}
.btn::before {
  content: "";
  position: absolute;
  top: calc(0px - var(--padding));
  left: calc(0px - var(--padding));
  width: calc(100% + var(--padding) * 2);
  height: calc(100% + var(--padding) * 2);
  border-radius: calc(var(--border-radius) + var(--padding));
  pointer-events: none;
  background-image: linear-gradient(0deg, #0004, #000a);
  z-index: -1;
  box-shadow: 1px 1px 1px #fff2, 2px 2px 2px #fff1, -1px -1px 1px #0002, -2px -2px 2px #0001;
  transition: box-shadow var(--transition), filter var(--transition);
}
.btn:hover {
  border: solid 1px hsla(var(--highlight-color-hue),100%,80%,40%);
}
.btn:hover::before {
  box-shadow:
    0 -8px 8px -6px #fffa inset,
    0 -16px 16px -8px hsla(var(--highlight-color-hue),100%,70%,30%) inset,
    1px 1px 1px #fff2, 2px 2px 2px #fff1, -1px -1px 1px #0002, -2px -2px 2px #0001;
}

.btn__arrow { display: inline-block; margin-left: 10px; transition: transform 0.32s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ==========================================================================
   HER CARD PATTERN — .outer / .card-inner from the homepage stats card
   Used here as a feature/highlight card pattern.
   ========================================================================== */

.outer {
  border-radius: 16px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: linear-gradient(180deg,
    #858489 0%,
    #e7e4ef 25%,
    #858489 50%,
    #b9b9b9 75%,
    #858489 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.18),
    0 4px 10px rgba(0, 0, 0, 0.10);
  position: relative;
  overflow: hidden;
}

.outer__inner {
  border-radius: 15px;
  border: none;
  background: transparent;
  padding: 32px 28px;
  position: relative;
  color: #000;
  min-height: 100%;
}
.outer__inner .t-body,
.outer__inner .t-lede,
.outer__inner .t-small,
.outer__inner .t-eyebrow { color: #000; }

.panel .t-body,
.panel .t-lede,
.panel .t-small,
.panel .t-eyebrow { color: #000; }

.stat .t-body,
.stat .t-small,
.stat .t-eyebrow { color: #000; }

/* The moving-dot border-tracer from her stats card (optional per-card) */
.outer--dot { padding-top: 1px; }
.outer--dot::after {
  content: none;
  width: 5px;
  aspect-ratio: 1;
  position: absolute;
  background-color: #fff;
  box-shadow: 0 0 10px #ffffff;
  border-radius: 100px;
  z-index: 2;
  right: 10%;
  top: 10%;
  animation: outerDot 6s linear infinite;
}
@keyframes outerDot {
  0%, 100% { top: 10%; right: 10%; }
  25%      { top: 10%; right: calc(100% - 35px); }
  50%      { top: calc(100% - 20px); right: calc(100% - 35px); }
  75%      { top: calc(100% - 20px); right: 10%; }
}

/* Internal decorative silver lines — use her gradients */
.silver-line-h { position: absolute; left: 0; right: 0; height: 1px; background: var(--grad-line-h); }
.silver-line-v { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--grad-line-v); }

/* Ray glow from her stats card */
.ray {
  display: none;
}

/* ==========================================================================
   SIMPLER CARDS — dark panels for grids of content
   ========================================================================== */

.panel {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: linear-gradient(180deg,
    #858489 0%,
    #e7e4ef 25%,
    #858489 50%,
    #b9b9b9 75%,
    #858489 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.18),
    0 4px 10px rgba(0, 0, 0, 0.10);
  padding: 28px;
  position: relative;
  transition: border-color 0.32s ease, transform 0.32s ease, background 0.32s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #000;
  text-decoration: none;
}

.panel::before {
  content: none;
}

a.panel:hover,
.panel--hover:hover {
  border-color: #bbb;
  transform: translateY(-2px);
  background: #f8f8f8;
}

.panel__eyebrow { color: #000; font-size: 11px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; }
.panel__title { font-family: var(--font); font-weight: 300; font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; color: #000; }
.panel__body { font-size: 14px; line-height: 1.6; color: #000; }
.panel__meta { margin-top: auto; padding-top: 16px; border-top: 1px solid #ddd; font-size: 12px; color: #000; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ==========================================================================
   GRIDS
   ========================================================================== */

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   STATS STRIP
   ========================================================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.18),
    0 4px 10px rgba(0, 0, 0, 0.10);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.stat {
  padding: 32px 28px;
  background: linear-gradient(180deg,
    #858489 0%,
    #e7e4ef 25%,
    #858489 50%,
    #b9b9b9 75%,
    #858489 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.stat__value {
  font-family: var(--font);
  font-weight: 100;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #000;
  text-align: center;
  width: 100%;
}
.stat__label {
  font-size: 13px;
  line-height: 1.45;
  color: #000;
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ==========================================================================
   TABLE (deal sheet)
   ========================================================================== */

.table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.table th, .table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  vertical-align: middle;
  color: #000;
}
.table th { font-size: 11px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: #000; background: #fafafa; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #f8f8f8; }
.table td.num { font-variant-numeric: tabular-nums; color: #000; }

.table--transactions tr.transactions-section td {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #000;
  background: #f4f4f4;
  border-bottom: 1px solid #e8e8e8;
  padding-top: 22px;
}
.table--transactions tr.transactions-section:first-child td { padding-top: 18px; }
.table--transactions tr.transactions-section:hover td { background: #f0f0f0; }

@media (max-width: 768px) {
  .table { display: block; overflow-x: auto; }
  .table th, .table td { white-space: nowrap; }
  .table--transactions th,
  .table--transactions td { white-space: normal; }
  /* display:block on <table> breaks thead/tbody/tr layout on iOS/Safari — rows can collapse to nothing */
  .table.table--transactions {
    display: table;
    width: 100%;
    overflow: visible;
  }
}

/* ==========================================================================
   FORM
   ========================================================================== */

.form { display: flex; flex-direction: column; gap: 22px; max-width: 640px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__label { font-size: 11px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: #000; }

.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 15px;
  color: #000;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  transition: border-color 0.24s ease, background 0.24s ease;
  appearance: none;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: #888;
  background: #f8f8f8;
}
.form__textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.form__select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%23888' stroke-width='1.2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.form__select option { background: #fff; color: #000; }
.form__hint { font-size: 12px; color: #000; }

.form__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  font-size: 13px;
  color: #000;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:hover { border-color: #999; background: #f5f5f5; }
.chip:has(input:checked) {
  background: var(--grad-nav-btn);
  color: #000;
  border-color: #8F9092;
}

/* Contact page — Direct card labels (visible; .t-eyebrow is hidden globally) */
.contact-direct-lines__label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #000;
  margin-right: 8px;
}
.contact-direct-lines a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body[data-page="contact"] .contact-press-panel {
  margin-top: 12px;
}

/* Connect page — shift main stack up 290px (web + mobile); header stays above (z-index) */
body[data-page="contact"] .page-hero {
  margin-top: -290px;
  padding-top: 140px;
}
@media (min-width: 768px) {
  body[data-page="contact"] .page-hero {
    padding-top: 180px;
  }
}

/* Connect page — white body copy on dark bg; Direct / Press cards match site (not silver chrome) */
body[data-page="contact"] .section .outer {
  background: var(--bg-card);
  border-color: var(--line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}
body[data-page="contact"] .outer__inner {
  color: #fff;
}
body[data-page="contact"] .section .outer .outer__inner :is(.t-eyebrow, h3.t-h1),
body[data-page="contact"] .section .outer .outer__inner .t-small,
body[data-page="contact"] .section .outer .outer__inner .t-body {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}
body[data-page="contact"] .contact-direct-lines__label,
body[data-page="contact"] .contact-direct-lines a {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
body[data-page="contact"] .contact-direct-lines a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

body[data-page="contact"] .panel {
  background: var(--bg-card);
  border-color: var(--line);
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
body[data-page="contact"] .section .panel :is(.panel__eyebrow, .panel__body) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

body[data-page="contact"] .form__label {
  color: #fff;
}
body[data-page="contact"] .form__hint {
  color: var(--fg-2);
}

/* Center primary actions (submit + chip row) — web + mobile */
body[data-page="contact"] .form > div:last-child {
  display: flex;
  justify-content: center;
  width: 100%;
}
body[data-page="contact"] .form__chips {
  justify-content: center;
}

/* ==========================================================================
   PRESS STRIP
   ========================================================================== */

.press {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.press__item {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 300;
  text-align: center;
  color: var(--fg-3);
  letter-spacing: 0.02em;
  transition: color 0.24s ease;
}
.press__item:hover { color: #fff; }
@media (max-width: 960px) { .press { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .press { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  padding: 96px var(--gutter) 32px;
  border-top: 1px solid var(--line);
  margin-top: 96px;
  position: relative;
  z-index: 1;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand img { width: 200px; margin-bottom: 16px; }
.footer__brand p { font-size: 13px; color: var(--fg-2); line-height: 1.6; max-width: 36ch; }
.footer__col h4 { font-size: 11px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 16px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer__col a { font-size: 14px; color: var(--fg-2); transition: color 0.2s ease; text-decoration: none; }
.footer__col a:hover { color: #fff; }
.footer__legal {
  max-width: var(--max);
  margin: 48px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--fg-3);
}
@media (max-width: 960px) { .footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer__inner { grid-template-columns: 1fr; } }

/* Transactions hero headline — 30% smaller on mobile */
@media (max-width: 767px) {
  body[data-page="transactions"] .page-hero .page-hero__title.t-l {
    font-size: clamp(30.8px, 4.55vw, 61.6px);
  }
}

/* ==========================================================================
   PAGE HERO (interior page header above the fold)
   ========================================================================== */

.page-hero {
  padding-top: 140px;
  padding-bottom: 40px;
}
@media (min-width: 768px) { .page-hero { padding-top: 180px; padding-bottom: 64px; } }

/* Team page — "The Team" lead-in hero: half type scale on desktop */
@media (min-width: 768px) {
  body[data-page="team"] .page-hero--team-lead .page-hero__eyebrow {
    font-size: calc(11px * 0.5);
  }
  body[data-page="team"] .page-hero--team-lead .page-hero__title.t-l {
    font-size: clamp(22px, 3.25vw, 44px);
    line-height: 1.05;
  }
}

.page-hero__eyebrow { margin-bottom: 20px; }
.page-hero__title { max-width: 900px; margin-bottom: 24px; }
.page-hero__lede { max-width: var(--prose); }

.page-hero__stack--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
  max-width: 100%;
}
.page-hero__stack--center .page-hero__eyebrow {
  margin-bottom: 16px;
}
.page-hero__stack--center .page-hero__title {
  margin-bottom: 24px;
  max-width: none;
}
body[data-page="team"] .team-hero-portrait {
  width: clamp(200px, 42vw, 320px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(185, 185, 185, 0.5);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 12px 36px rgba(0, 0, 0, 0.5);
}
body[data-page="team"] .team-hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

/* Team — Marcelle: center credentials + Technology block (web + mobile) */
body[data-page="team"] .team-marcelle-centered {
  text-align: center;
}
body[data-page="team"] .team-marcelle-centered .panel {
  align-items: center;
  text-align: center;
}
body[data-page="team"] .team-marcelle-centered .t-body {
  margin-left: auto;
  margin-right: auto;
}

/* Team page: silver cards — keep copy inside chrome (web + mobile) */
body[data-page="team"] .outer,
body[data-page="team"] .panel {
  max-width: 100%;
  box-sizing: border-box;
}
body[data-page="team"] .outer__inner {
  overflow: hidden;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
body[data-page="team"] .outer__inner .t-lede,
body[data-page="team"] .outer__inner .t-body {
  max-width: 100%;
}
body[data-page="team"] .panel {
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
}
body[data-page="team"] .panel > div:not(.panel__eyebrow) {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Team page — Founder (Susan Gale): center all copy (web + mobile) */
body[data-page="team"] .section--team-founder .page-hero__stack--center,
body[data-page="team"] .section--team-founder .section--team-founder__inner,
body[data-page="team"] .section--team-founder .section--team-founder__body {
  text-align: center;
}
body[data-page="team"] .section--team-founder .section--team-founder__body {
  margin-left: auto;
  margin-right: auto;
}
body[data-page="team"] .section--team-founder .section--team-founder__body p {
  text-align: center;
}

/* Team — Under SIR: prose card left on desktop, centered on mobile */
body[data-page="team"] .section--team-sir__inner {
  text-align: left;
}
@media (max-width: 767px) {
  body[data-page="team"] .section--team-sir .wrap,
  body[data-page="team"] .section--team-sir .t-eyebrow,
  body[data-page="team"] .section--team-sir .t-m,
  body[data-page="team"] .section--team-sir__inner,
  body[data-page="team"] .section--team-sir .t-body {
    text-align: center;
  }
}

/* Marcelle bio silver card: width + center; web pulls block up 150px (content below follows) */
body[data-page="team"] .team-marcelle-bio-card {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Team page: pull Marcelle hero up (mobile baseline) */
body[data-page="team"] .page-hero--marcelle-team {
  margin-top: -100px;
}

@media (min-width: 768px) {
  body[data-page="team"] .team-marcelle-bio-card {
    margin-top: -150px;
  }
  body[data-page="team"] .team-bio-lede-pull {
    margin-top: -100px;
  }
  /* Marcelle bio silver card: half type scale on web so copy fits inside chrome */
  body[data-page="team"] .team-marcelle-bio-card .t-lede {
    font-size: 9px;
    line-height: 1.55;
    max-width: none;
  }
  body[data-page="team"] .team-marcelle-bio-card .t-body {
    font-size: 7.5px;
    line-height: 1.65;
    max-width: none;
  }
}

/* Team — Marcelle hero (web): stack titles one line each, 3× type; card copy 2×; block +200px vs prior desktop offset */
body[data-page="team"] .page-hero--marcelle-team .team-hero-title-line,
body[data-page="team"] .team-marcelle-centered .team-hero-title-line {
  display: block;
  text-align: center;
}

/* Team — Marcelle hero: keep headline + silver lede card inside bounds (no horizontal bleed) */
body[data-page="team"] .page-hero--marcelle-team > .wrap {
  overflow-x: clip;
  max-width: 100%;
  box-sizing: border-box;
}
body[data-page="team"] .page-hero--marcelle-team .page-hero__stack--center {
  max-width: 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
body[data-page="team"] .page-hero--marcelle-team .page-hero__stack--center .page-hero__eyebrow,
body[data-page="team"] .page-hero--marcelle-team .page-hero__stack--center .page-hero__title {
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
body[data-page="team"] .page-hero--marcelle-team .page-hero--marcelle-team__card.outer {
  width: 100%;
  max-width: min(800px, 100%);
  min-width: 0;
  box-sizing: border-box;
}
body[data-page="team"] .page-hero--marcelle-team .page-hero--marcelle-team__card-inner.outer__inner {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
body[data-page="team"] .page-hero--marcelle-team .page-hero__lede {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  /* Was −350px; move Marcelle block down 200px → −150px */
  body[data-page="team"] .page-hero--marcelle-team {
    margin-top: -150px;
  }
  body[data-page="team"] .page-hero--marcelle-team .page-hero__stack--center {
    margin-bottom: 14px;
  }
  body[data-page="team"] .page-hero--marcelle-team .page-hero__stack--center .page-hero__eyebrow {
    font-size: 16.5px;
    letter-spacing: 0.14em;
    line-height: 1.15;
    text-align: center;
  }
  body[data-page="team"] .page-hero--marcelle-team .page-hero__stack--center .page-hero__title {
    font-size: clamp(33px, 4.875vw, 66px);
    line-height: 1.05;
    margin-bottom: 12px;
    text-align: center;
    white-space: nowrap;
  }
  body[data-page="team"] .page-hero--marcelle-team .page-hero__stack--center .page-hero__title .team-hero-title-line {
    display: inline;
  }
  body[data-page="team"] .page-hero--marcelle-team .team-hero-portrait {
    width: clamp(100px, 21vw, 160px);
    border-width: 1.5px;
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.12),
      0 6px 18px rgba(0, 0, 0, 0.5);
  }
  /* Card under portrait: 2× prior 9px lede */
  body[data-page="team"] .page-hero--marcelle-team .page-hero__lede {
    font-size: 18px;
    line-height: 1.55;
  }
  body[data-page="team"] .page-hero--marcelle-team .page-hero--marcelle-team__card-inner {
    text-align: center !important;
  }
  /* Credentials + Technology section titles on Marcelle block (web): 3× eyebrow scale, stacked headline */
  body[data-page="team"] .team-marcelle-centered > .t-eyebrow {
    font-size: 33px;
    letter-spacing: 0.14em;
    line-height: 1.2;
  }
  body[data-page="team"] .team-marcelle-centered:has(.team-tech-headline) > .t-eyebrow {
    font-size: 16.5px;
  }
  body[data-page="team"] .team-marcelle-centered .team-tech-headline {
    font-size: clamp(42px, 4.5vw, 60px);
    line-height: 1.08;
    font-weight: 300;
  }
  body[data-page="team"] .team-marcelle-centered .panel .panel__eyebrow {
    font-size: 33px;
    line-height: 1.15;
  }
  /* Credentials only: 40% smaller on web (0.6× prior scale) */
  body[data-page="team"] .team-marcelle-centered:has(> .grid-2) > .t-eyebrow {
    font-size: calc(33px * 0.6);
    letter-spacing: 0.14em;
    line-height: 1.2;
  }
  body[data-page="team"] .team-marcelle-centered:has(> .grid-2) .grid-2 {
    gap: calc(20px * 0.6);
  }
  body[data-page="team"] .team-marcelle-centered:has(> .grid-2) .panel {
    padding: calc(28px * 0.6);
    gap: calc(12px * 0.6);
  }
  body[data-page="team"] .team-marcelle-centered:has(> .grid-2) .panel .panel__eyebrow {
    font-size: calc(33px * 0.6);
    line-height: 1.15;
  }
  body[data-page="team"] .team-marcelle-centered:has(> .grid-2) .panel > div:not(.panel__eyebrow) {
    font-size: calc(15px * 0.6) !important;
    line-height: 1.45;
  }
  /* Susan Gale — circular headshot matches Marcelle (desktop scale) */
  body[data-page="team"] .section--team-founder .team-hero-portrait {
    width: clamp(100px, 21vw, 160px);
    border-width: 1.5px;
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.12),
      0 6px 18px rgba(0, 0, 0, 0.5);
  }
}

/* Ethos: headline quote removed — tighter hero so the page reads higher */
body[data-page="ethos"] .page-hero {
  padding-top: 92px;
  padding-bottom: 32px;
}
@media (min-width: 768px) {
  body[data-page="ethos"] .page-hero {
    padding-top: 132px;
    padding-bottom: 48px;
  }
}

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .outer--dot::after { animation: none; }
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-5 { gap: 24px; }
.mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 24px; } .mt-6 { margin-top: 32px; } .mt-7 { margin-top: 48px; } .mt-8 { margin-top: 64px; }
.mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; } .mb-5 { margin-bottom: 24px; } .mb-6 { margin-bottom: 32px; } .mb-7 { margin-bottom: 48px; } .mb-8 { margin-bottom: 64px; }

/* Team — "The Team" sub-hero (Industry-leading… + silver card): sit 300px lower */
body[data-page="team"] section.page-hero.page-hero--team-lead {
  margin-top: 300px;
}

/* Team — "The Team" silver thesis card (load last; !important beats cache / cascade) */
body[data-page="team"] section.page-hero--team-lead .outer.team-lead-hero-card {
  max-width: min(1000px, 100%) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}
body[data-page="team"] section.page-hero--team-lead .team-lead-hero-card .page-hero__lede.t-lede {
  font-size: calc(18px * 1.5) !important;
  line-height: 1.55 !important;
  margin-bottom: 0 !important;
  max-width: none !important;
}
@media (max-width: 767px) {
  body[data-page="team"] section.page-hero--team-lead .outer.team-lead-hero-card {
    margin-top: 50px !important;
  }
}
@media (min-width: 768px) {
  body[data-page="team"] .section.section--team-founder {
    margin-top: 50px !important;
  }
}
