/* ---------------------------------------------------------------
   pages.css — per-page overrides only.
   If a pattern appears on more than one page, promote it to components.css.
--------------------------------------------------------------- */

/* ============================================================
   Homepage
   ============================================================ */
.home-foundation-statement {
  display: grid;
  gap: var(--space-6);
  max-width: 70ch;
}
.home-foundation-statement__eyebrow {
  font-size: var(--type-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}
.home-foundation-statement__h1 {
  font-size: var(--type-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
}
.home-foundation-statement__tagline {
  font-size: var(--type-subtitle);
  line-height: 1.25;
  color: var(--color-text-secondary);
  max-width: 50ch;
}
.home-foundation-statement__lead {
  font-size: var(--type-body-lg);
  line-height: 1.55;
  max-width: 60ch;
  color: var(--color-text-secondary);
}

.home-pillar-aurora .pillar__media {
  background: var(--color-surface-inverse);
}

/* ============================================================
   ip-portfolio — Cevat legacy: editorial title + scroll mosaic
   ============================================================ */

/* Editorial title ------------------------------------------------ */
.ip-legacy-title {
  padding-block: var(--space-24) var(--space-12);
}
.ip-legacy-title__h1 {
  font-size: var(--type-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  margin-top: var(--space-4);
  max-width: 18ch;
}

/* Legacy split: scrolling text + sticky mosaic ------------------- */
.ip-legacy {
  padding-top: var(--space-8);
}
.ip-legacy__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}
@media (min-width: 1024px) {
  .ip-legacy__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: var(--space-20);
    align-items: start;
  }
}

/* Left column: prose + KPI — sticky while the mosaic scrolls */
.ip-legacy__lede {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}
@media (min-width: 1024px) {
  .ip-legacy__lede {
    position: sticky;
    top: calc(var(--space-20) + 56px); /* clears the sticky header */
  }
}
.ip-legacy__prose > p {
  font-size: var(--type-body-lg);
  line-height: 1.6;
  color: var(--color-text-primary);
  max-width: 62ch;
}
.ip-legacy__prose > p + p {
  margin-top: var(--space-6);
}

/* 600+ KPI */
.ip-legacy__kpi {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-8);
}
.ip-legacy__kpi-value {
  font-size: var(--type-display-lg);
  line-height: 1;
  letter-spacing: var(--tracking-display);
  color: var(--color-action-primary);
}
.ip-legacy__kpi-star {
  font-size: 0.4em;
  vertical-align: super;
  color: var(--color-text-tertiary);
  margin-left: 0.1em;
}
.ip-legacy__kpi-label {
  font-size: var(--type-subtitle);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  max-width: 30ch;
  margin-top: var(--space-4);
}
.ip-legacy__kpi-note {
  font-size: var(--type-caption);
  line-height: 1.5;
  color: var(--color-text-tertiary);
  max-width: 52ch;
  margin-top: var(--space-5);
}

/* Right column: scrolling mosaic */
.ip-legacy__mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: var(--space-3);
}
@media (min-width: 640px) {
  .ip-legacy__mosaic {
    gap: var(--space-4);
  }
}

.ip-legacy__tile {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  background: var(--color-surface-page-soft);
  will-change: transform, opacity;
}
.ip-legacy__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Two anchor photos break the rhythm at 3-col widths */
@media (min-width: 640px) {
  .ip-legacy__tile--lg {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* Brand logos: contained tiles, not full-bleed, no border */
.ip-legacy__tile--logo {
  background: var(--color-surface-page);
}
.ip-legacy__tile--logo img {
  object-fit: contain;
  padding: 14%;
}

/* Reduced motion: ensure everything is shown statically. JS also
   refrains from animating, but this covers the no-JS path too. */
@media (prefers-reduced-motion: reduce) {
  .ip-legacy__tile,
  [data-ip-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   ip-portfolio — TMRW Reality (tabs + accordion + 2D/3D slider)
   ============================================================ */
.ip-reality__intro {
  max-width: 60ch;
  margin-bottom: var(--space-12);
}
.ip-reality__title {
  font-size: var(--type-title);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  margin: var(--space-3) 0 var(--space-5);
}

/* Tablist ------------------------------------------------------- */
.ip-reality__tablist {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  border-bottom: 1px solid var(--color-border-subtle);
  margin-bottom: var(--space-12);
}
.ip-reality__tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: var(--space-3) var(--space-4);
  font: inherit;
  font-size: var(--type-body-lg);
  color: var(--color-text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--motion-enter) var(--ease-standard),
              border-color var(--motion-enter) var(--ease-standard);
}
.ip-reality__tab:hover { color: var(--color-text-primary); }
.ip-reality__tab[aria-selected="true"] {
  color: var(--color-text-primary);
  border-bottom-color: var(--color-action-primary);
}
.ip-reality__tab:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
  border-radius: 2px;
}

/* Panels -------------------------------------------------------- */
.ip-reality__panel[hidden] { display: none; }
.ip-reality__panel:focus { outline: none; }

.ip-reality__panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (min-width: 1024px) {
  .ip-reality__panel-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}
.ip-reality__media {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-surface-page-soft);
}
.ip-reality__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.ip-reality__h3 {
  font-size: var(--type-subtitle);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  margin-bottom: var(--space-5);
}
.ip-reality__body > p {
  max-width: 60ch;
  font-size: var(--type-body-lg);
  line-height: 1.6;
}
.ip-reality__body > p + p { margin-top: var(--space-4); }
.ip-reality__list {
  list-style: none;
  margin: var(--space-5) 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.ip-reality__list li {
  position: relative;
  padding-left: var(--space-6);
  max-width: 60ch;
  font-size: var(--type-body-lg);
  line-height: 1.6;
}
.ip-reality__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-action-primary);
}
.ip-reality__cta-wrap { margin-top: var(--space-8); }

/* Accordion ----------------------------------------------------- */
.ip-reality__accordion {
  margin-top: var(--space-16);
  border-top: 1px solid var(--color-border-subtle);
}
.ip-accordion__item { border-bottom: 1px solid var(--color-border-subtle); }
.ip-accordion__heading { margin: 0; }
.ip-accordion__trigger {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  padding: var(--space-6) 0;
  background: none;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--color-text-primary);
}
.ip-accordion__trigger:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
  border-radius: 4px;
}
.ip-accordion__icon {
  flex: none;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.ip-accordion__label {
  flex: 1 1 auto;
  font-size: var(--type-body-lg);
  letter-spacing: var(--tracking-title);
}
.ip-accordion__chevron {
  flex: none;
  width: 14px;
  height: 14px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--motion-emphasis) var(--ease-standard);
  color: var(--color-text-tertiary);
  margin-right: var(--space-1);
}
.ip-accordion__trigger[aria-expanded="true"] .ip-accordion__chevron {
  transform: rotate(-135deg);
}
.ip-accordion__panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--motion-emphasis) var(--ease-standard);
}
.ip-accordion__content {
  padding: 0 0 var(--space-6) calc(40px + var(--space-4));
}
.ip-accordion__content > p {
  max-width: 64ch;
  color: var(--color-text-secondary);
  font-size: var(--type-body-lg);
  line-height: 1.6;
}
.ip-accordion__content > p + p { margin-top: var(--space-4); }
@media (max-width: 600px) {
  .ip-accordion__content { padding-left: 0; }
}

/* No-JS fallback: stack all tab panels and expand all accordions. */
html:not(.js) .ip-reality__panel[hidden] { display: block; }
html:not(.js) .ip-accordion__panel { max-height: none; }
html:not(.js) .ip-accordion__chevron { display: none; }

/* 2D / 3D compare slider --------------------------------------- */
.ip-compare-wrap { margin-top: var(--space-16); }
.ip-compare__eyebrow { display: block; margin-bottom: var(--space-5); }

.ip-compare {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
  cursor: col-resize;
  user-select: none;
  touch-action: none;
}
@media (max-width: 767px) {
  .ip-compare { aspect-ratio: 1 / 1; }
}
.ip-compare__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ip-compare__clip {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
}
.ip-compare__clip-inner {
  position: absolute;
  inset: 0;
  height: 100%;
}
.ip-compare__clip-inner .ip-compare__video--2d {
  width: 100%;
  height: 100%;
}
.ip-compare__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}
.ip-compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  cursor: col-resize;
  display: grid;
  place-items: center;
}
.ip-compare__handle:focus-visible {
  outline: var(--focus-ring-width) solid #fff;
  outline-offset: 3px;
}
.ip-compare__handle-arrows,
.ip-compare__handle-arrows::before,
.ip-compare__handle-arrows::after { box-sizing: border-box; }
.ip-compare__handle-arrows {
  position: relative;
  width: 22px;
  height: 12px;
}
.ip-compare__handle-arrows::before,
.ip-compare__handle-arrows::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.ip-compare__handle-arrows::before { left: 0;  transform: translateY(-50%) rotate(-135deg); }
.ip-compare__handle-arrows::after  { right: 0; transform: translateY(-50%) rotate(45deg); }

.ip-compare__label {
  position: absolute;
  bottom: var(--space-4);
  padding: var(--space-1) var(--space-3);
  font-size: var(--type-caption);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 3px;
  pointer-events: none;
}
.ip-compare__label--2d { left: var(--space-4); }
.ip-compare__label--3d { right: var(--space-4); }

/* ============================================================
   ip-portfolio — Explore (Google Patents CTA) + IP contacts
   ============================================================ */
.ip-explore__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}
@media (min-width: 1024px) {
  .ip-explore__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
    align-items: start;
  }
}
.ip-explore__title {
  font-size: var(--type-title);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  margin: var(--space-3) 0 var(--space-5);
  max-width: 18ch;
}
.ip-explore__lead {
  font-size: var(--type-body-lg);
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 60ch;
}
.ip-explore__cta-wrap { margin-top: var(--space-8); }

/* symmetric spacing around the in-section rule between CTA and contacts */
.ip-explore .section-rule {
  margin-top: var(--space-16);
  margin-bottom: var(--space-16);
}

.ip-contacts__title {
  font-size: var(--type-subtitle);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  margin: var(--space-3) 0 var(--space-10);
}
.ip-contacts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
.ip-contact-card {
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.ip-contact-card__portrait {
  flex: none;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-surface-page-soft);
}
.ip-contact-card__name {
  font-size: var(--type-body-lg);
  letter-spacing: var(--tracking-title);
}
.ip-contact-card__role {
  font-size: var(--type-body);
  color: var(--color-text-secondary);
  margin-top: 2px;
}
.ip-contact-card__email {
  display: inline-block;
  margin-top: var(--space-2);
}

/* ============================================================
   what-we-do — Triad hero (overview + in-page nav chips)
   ============================================================ */
.wwd-hero {
  padding-block: var(--space-24) var(--space-16);
}
.wwd-hero__h1 {
  font-size: var(--type-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  margin-top: var(--space-4);
  max-width: 16ch;
}
.wwd-hero__lead {
  font-size: var(--type-body-lg);
  line-height: 1.55;
  color: var(--color-text-secondary);
  max-width: 56ch;
  margin-top: var(--space-6);
}

/* Division chips — anchor links that double as page nav */
.wwd-hero__chips {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-12);
}
@media (min-width: 768px) {
  .wwd-hero__chips { grid-template-columns: repeat(3, 1fr); }
}
.wwd-chip {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-5) var(--space-6);
  border: 1px solid var(--color-border-subtle);
  border-radius: 6px;
  text-decoration: none;
  color: var(--color-text-primary);
  background: transparent;
  transition:
    border-color var(--motion-enter) var(--ease-standard),
    background-color var(--motion-enter) var(--ease-standard),
    transform var(--motion-enter) var(--ease-standard);
}
.wwd-chip:hover {
  border-color: var(--color-action-primary);
  background: var(--color-action-primary-soft);
  transform: translateY(-2px);
}
.wwd-chip:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}
.wwd-chip__name {
  font-size: var(--type-body-lg);
  letter-spacing: var(--tracking-title);
}
.wwd-chip__note {
  font-size: var(--type-caption);
  color: var(--color-text-secondary);
}

/* ============================================================
   what-we-do — pillar page division (copy + video)
   ============================================================ */
.wwd-division__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 1024px) {
  .wwd-division__grid { grid-template-columns: 1fr 1fr; gap: var(--space-16); }
}
.wwd-division__title {
  font-size: var(--type-title);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  margin: var(--space-3) 0 var(--space-6);
  max-width: 16ch;
}
.wwd-division__body > p:not(.eyebrow) {
  font-size: var(--type-body-lg);
  line-height: 1.6;
  max-width: 60ch;
}
.wwd-division__body > p + p { margin-top: var(--space-5); }
.wwd-division__back { margin-top: var(--space-8); }
.wwd-division__media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-surface-page-soft);
}
.wwd-division__media video,
.wwd-division__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ============================================================
   what-we-do — newsletter ("Stay updated")
   ============================================================ */
.wwd-newsletter__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}
@media (min-width: 900px) {
  .wwd-newsletter__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
  }
}
.wwd-newsletter__title {
  font-size: var(--type-title);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  margin: var(--space-3) 0 var(--space-4);
}
.wwd-newsletter__lead {
  font-size: var(--type-body-lg);
  line-height: 1.55;
  color: var(--color-text-secondary);
  max-width: 52ch;
}
.wwd-newsletter__label {
  display: block;
  font-size: var(--type-caption);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-3);
}
.wwd-newsletter__row {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.wwd-newsletter__input {
  flex: 1 1 240px;
  min-height: var(--touch-target-min);
  padding: var(--space-3) var(--space-4);
  font: inherit;
  font-size: var(--type-body);
  border: 1px solid var(--color-border-subtle);
  border-radius: 4px;
  background: var(--color-surface-page);
  color: var(--color-text-primary);
}
.wwd-newsletter__input:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
  border-color: var(--color-action-primary);
}
.wwd-newsletter__note {
  margin-top: var(--space-4);
  font-size: var(--type-caption);
  color: var(--color-text-tertiary);
}

/* ============================================================
   what-we-do pillar page — Reality content sections
   ============================================================ */

/* Vision — dark band with a full-bleed video below the copy.
   No bottom padding: the full-bleed video ends the dark band flush. */
.wwd-vision { overflow: hidden; padding-bottom: 0; }
.wwd-vision__title {
  font-size: var(--type-title);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  margin: var(--space-3) 0 var(--space-5);
  max-width: 16ch;
}
.wwd-vision__lead {
  font-size: var(--type-body-lg);
  line-height: 1.6;
  color: var(--color-text-on-dark-muted);
  max-width: 60ch;
}
/* Scroll-expand: the video sits full-bleed underneath; a clip-path
   reveals it. Default (no-JS / reduced-motion) = container width, rounded.
   what-we-do.js scrubs --wwd-inset → 0 and --wwd-radius → 0 on scroll. */
.wwd-vision__media {
  margin-top: var(--space-16);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  --wwd-inset: max(0px, calc((100vw - min(var(--layout-max), 100vw) + 2 * var(--layout-gutter)) / 2));
  --wwd-radius: 6px;
  clip-path: inset(0 var(--wwd-inset) round var(--wwd-radius));
}
.wwd-vision__media video,
.wwd-vision__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
/* Mobile: show the big vision media as a 1:1 square — cover-cropped, not squeezed */
@media (max-width: 767px) {
  .wwd-vision__media video,
  .wwd-vision__media img { aspect-ratio: 1 / 1; }
}

/* Vision video with text overlay (Aurora showcase band) */
.wwd-vision--showcase .wwd-vision__media { margin-top: 0; }
.wwd-vision__media--overlay { position: relative; }
.wwd-vision__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-block: clamp(28px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(to top, rgba(10, 12, 20, 0.66), rgba(10, 12, 20, 0) 55%);
}
.wwd-vision__overlay .eyebrow { color: rgba(255, 255, 255, 0.72); }
.wwd-vision__overlay-title {
  font-size: var(--type-title);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  max-width: 20ch;
  margin-top: var(--space-2);
}
/* Centered overlay variant (text on top of the video, no surrounding band) */
.wwd-vision__media--center .wwd-vision__overlay {
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(8, 10, 16, 0.46) 0%, rgba(8, 10, 16, 0.16) 70%);
}
.wwd-vision__media--center .wwd-vision__overlay .container { margin-inline: auto; }
.wwd-vision__media--center .wwd-vision__overlay-title { max-width: 24ch; margin-inline: auto; }

/* Promo teaser — link out to the dedicated TMRW Aurora site */
.wwd-promo__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}
@media (min-width: 768px) {
  .wwd-promo__inner { grid-template-columns: 1.1fr 1fr; gap: var(--space-16); }
}
.wwd-promo__media { margin: 0; }
.wwd-promo__media img { display: block; width: 100%; max-width: 420px; height: auto; margin-inline: auto; }
.wwd-promo__title {
  font-size: var(--type-title);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  margin: var(--space-3) 0 var(--space-4);
  max-width: 16ch;
}
.wwd-promo__lead {
  font-size: var(--type-body-lg);
  line-height: 1.55;
  color: var(--color-text-secondary);
  max-width: 46ch;
  margin-bottom: var(--space-8);
}

/* Capabilities — high-level focus areas */
.wwd-caps__header { max-width: 60ch; margin-bottom: var(--space-12); }
.wwd-caps__title {
  font-size: var(--type-title);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  margin-top: var(--space-3);
}
.wwd-caps__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10) var(--space-16);
}
@media (min-width: 768px) {
  .wwd-caps__grid { grid-template-columns: repeat(2, 1fr); }
}
.wwd-cap { border-top: 1px solid var(--color-border-subtle); padding-top: var(--space-5); }
.wwd-cap__icon {
  display: block;
  width: 30px;
  height: 30px;
  color: var(--color-action-primary);
  margin-bottom: var(--space-4);
}
.wwd-cap__icon svg { width: 100%; height: 100%; display: block; }
.wwd-cap__title {
  font-size: var(--type-subtitle);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  margin-bottom: var(--space-3);
}
.wwd-cap p { font-size: var(--type-body-lg); line-height: 1.55; color: var(--color-text-secondary); max-width: 46ch; }
.wwd-caps__more { margin-top: var(--space-12); }

/* ---- Technical treatment (sample): mono labels, numbered section,
   spec key-value rows, blueprint corner ticks ------------------- */
.wwd-tech__header { max-width: 60ch; }
.wwd-tech__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--type-caption);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}
.wwd-tech__num { color: var(--color-action-primary); }

/* "What we build" — KPI-style columns (top rule + index/icon + value + note) */
.wwd-kpi {
  list-style: none;
  margin: var(--space-12) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(var(--space-10), 5vw, var(--space-16));
}
@media (min-width: 768px)  { .wwd-kpi { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .wwd-kpi { grid-template-columns: repeat(4, 1fr); } }
/* Six-up variant (TMRW Aurora highlights) → 3 columns on desktop */
@media (min-width: 1100px) { .wwd-kpi.wwd-kpi--six { grid-template-columns: repeat(3, 1fr); } }
.wwd-kpi__item {
  display: grid;
  gap: var(--space-3);
  align-content: start;
  padding: var(--space-8);
  border-radius: 6px;
  background: #fff;
}
.wwd-kpi__icon {
  width: 32px;
  height: 32px;
  margin-bottom: var(--space-10);
  color: var(--color-text-primary);
}
.wwd-kpi__icon svg,
.wwd-kpi__icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.wwd-kpi__icon svg { stroke-width: 1.5; }
.wwd-kpi__value {
  font-size: var(--type-subtitle);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  text-wrap: balance;
}
.wwd-kpi__note {
  font-size: var(--type-body);
  line-height: 1.5;
  color: var(--color-text-secondary);
  max-width: 34ch;
}

.wwd-ticks { position: relative; margin-top: var(--space-12); }
.wwd-ticks__c { position: absolute; width: 11px; height: 11px; color: var(--color-text-tertiary); z-index: 1; }
.wwd-ticks__c::before,
.wwd-ticks__c::after { content: ""; position: absolute; background: currentColor; }
.wwd-ticks__c::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.wwd-ticks__c::after  { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-50%); }
.wwd-ticks__c--tl { top: -6px; left: -6px; }
.wwd-ticks__c--tr { top: -6px; right: -6px; }
.wwd-ticks__c--bl { bottom: -6px; left: -6px; }
.wwd-ticks__c--br { bottom: -6px; right: -6px; }

.wwd-spec { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-border-subtle); }
.wwd-spec__row {
  display: grid;
  grid-template-columns: 3ch 32px minmax(13ch, 18ch) 1fr;
  gap: var(--space-8);
  align-items: start;
  padding: var(--space-10) var(--space-5);
  border-bottom: 1px solid var(--color-border-subtle);
}
.wwd-spec__index {
  font-family: var(--font-mono);
  font-size: var(--type-caption);
  color: var(--color-text-tertiary);
  padding-top: 4px;
}
.wwd-spec__icon { flex: none; width: 30px; height: 30px; color: var(--color-action-primary); }
.wwd-spec__icon svg { width: 100%; height: 100%; display: block; }
.wwd-spec__key {
  font-size: var(--type-subtitle);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
}
.wwd-spec__val { font-size: var(--type-body); line-height: 1.5; color: var(--color-text-secondary); max-width: 54ch; }
@media (max-width: 767px) {
  .wwd-spec__row {
    grid-template-columns: 30px 1fr;
    gap: var(--space-2) var(--space-4);
    padding-inline: 0;
  }
  .wwd-spec__index { grid-column: 1 / -1; padding-top: 0; }
  .wwd-spec__icon  { grid-column: 1; grid-row: 2; }
  .wwd-spec__key   { grid-column: 2; grid-row: 2; align-self: center; }
  .wwd-spec__val   { grid-column: 1 / -1; grid-row: 3; }
}

/* Products — RealityOS-powered product cards */
.wwd-products__header { max-width: 60ch; margin-bottom: var(--space-10); }
.wwd-products__title {
  font-size: var(--type-title);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  margin-top: var(--space-3);
}
.wwd-products__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .wwd-products__grid { grid-template-columns: repeat(2, 1fr); }
}
/* Borderless, image-led teasers — no frame, no panel; text sits below */
.wwd-product-card {
  display: block;
  text-decoration: none;
  color: var(--color-text-primary);
}
.wwd-product-card:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: 4px; border-radius: 8px; }
.wwd-product-card .button__ext-icon { transition: transform var(--motion-quick) var(--ease-standard); }
.wwd-product-card:hover .button__ext-icon { transform: translate(2px, -2px); }
.wwd-product-card__media {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 6px;
  background: var(--color-surface-page-soft);
}
.wwd-product-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wwd-product-card__body { padding: var(--space-5) 0 0; }
.wwd-product-card__name {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--type-subtitle);
  letter-spacing: var(--tracking-title);
}
.wwd-product-card__desc { font-size: var(--type-body); line-height: 1.5; color: var(--color-text-secondary); margin-top: var(--space-3); max-width: 42ch; }

/* Closer — IP CTA + next-unit navigation */
.wwd-next__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: end;
}
@media (min-width: 900px) {
  .wwd-next__inner { grid-template-columns: 1.3fr 1fr; gap: var(--space-16); }
}
.wwd-next__title {
  font-size: var(--type-title);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  margin: var(--space-3) 0 var(--space-6);
  max-width: 18ch;
}
.wwd-next__nav { display: grid; gap: var(--space-5); }
@media (min-width: 900px) { .wwd-next__nav { justify-items: end; text-align: right; } }
.wwd-next__link {
  display: inline-block;
  text-decoration: none;
  color: var(--color-text-primary);
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-4);
}
.wwd-next__link:hover { color: var(--color-action-primary); }
.wwd-next__label {
  display: block;
  font-size: var(--type-caption);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-1);
}
.wwd-next__name { font-size: var(--type-subtitle); letter-spacing: var(--tracking-title); }

/* ============================================================
   who-we-are — Advisory Board border
   ============================================================ */
.who-we-are-board {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-16);
}

/* ============================================================
   careers — open positions list, locations grid
   ============================================================ */
.careers-locations {
  margin-block: var(--space-16);
}

/* ============================================================
   contact — single column with form + locations
   ============================================================ */
.contact-grid {
  display: grid;
  gap: var(--space-16);
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   401 / 404 — minimal system pages
   ============================================================ */
.system-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.system-page__inner {
  display: grid;
  gap: var(--space-6);
  max-width: 60ch;
}
.system-page__h1 {
  font-size: var(--type-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
}


/* ================================================================
   SUBPAGE HEADER — body.is-subpage
   Scoped entirely to this class; never touches .is-home-v2 rules.
   Subpages have no dark hero. The header is always cream/sticky
   from page load. Show dark wordmark unconditionally.
   ================================================================ */

/* ----------------------------------------------------------
   Logo image base — defines size/display for all three variants.
   (home-v2.css owns these for .is-home-v2; we replicate here
   for .is-subpage without touching those frozen files.)
   ---------------------------------------------------------- */
body.is-subpage .site-header__logo-image {
  display: block;
  height: 32px;
  width: auto;
  max-width: min(60vw, 200px);
  flex-shrink: 0;
}

/* Tablet 768 – 1023px: slightly taller wordmark */
@media (min-width: 768px) {
  body.is-subpage .site-header__logo-image { height: 36px; }
}

/* Desktop 1024px+: full wordmark height */
@media (min-width: 1024px) {
  body.is-subpage .site-header__logo-image {
    height: 40px;
    max-width: none;
  }
}

/* Wordmark visibility — dark always on, white + icon always off */
body.is-subpage .site-header__logo-image--white { display: none; }
body.is-subpage .site-header__logo-image--icon  { display: none; }
body.is-subpage .site-header__logo-image--dark  { display: block; }

/* ----------------------------------------------------------
   Header bar height
   ---------------------------------------------------------- */
/* Mobile default (< 768px): 72px — already set by components.css */

/* Tablet / desktop 768px+: 88px */
@media (min-width: 768px) {
  body.is-subpage .site-header__inner {
    min-height: 88px;
  }
}

/* ----------------------------------------------------------
   Burger → X animation (CSS only; JS sets is-drawer-open)
   ---------------------------------------------------------- */
body.is-subpage .site-header__toggle-icon,
body.is-subpage .site-header__toggle-icon::before,
body.is-subpage .site-header__toggle-icon::after {
  transition:
    background-color var(--motion-quick) var(--ease-standard),
    transform        var(--motion-quick) var(--ease-standard),
    top              var(--motion-quick) var(--ease-standard);
}

body.is-subpage .site-header.is-drawer-open .site-header__toggle-icon {
  background: transparent;
}
body.is-subpage .site-header.is-drawer-open .site-header__toggle-icon::before {
  transform: rotate(45deg);
  top: 0;
}
body.is-subpage .site-header.is-drawer-open .site-header__toggle-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

@media (prefers-reduced-motion: reduce) {
  body.is-subpage .site-header__toggle-icon,
  body.is-subpage .site-header__toggle-icon::before,
  body.is-subpage .site-header__toggle-icon::after {
    transition: none;
  }
}

/* ----------------------------------------------------------
   Drawer editorial elements — hidden by default everywhere.
   Revealed only inside the open mobile drawer (< 1024px).
   ---------------------------------------------------------- */
body.is-subpage .site-header__drawer-eyebrow,
body.is-subpage .site-header__drawer-intro,
body.is-subpage .site-header__drawer-note {
  display: none;
}

/* ----------------------------------------------------------
   Mobile/tablet drawer (< 1024px) — full-screen cream overlay.

   Exact generalization of the APPROVED who-we-are sticky-state
   drawer (body.is-who-we-are .site-header.is-past-hero.is-drawer-open,
   below in this file), re-scoped to ALL generic subpages.

   Scope is body.is-subpage:not(.is-who-we-are) so the who-we-are
   page keeps sole ownership of its dual-state (Brand Blue hero /
   cream sticky) drawer with zero overlap or specificity fights.

   This replaces the previous partial is-subpage drawer styling,
   which inherited components.css's `position: absolute; top: 100%`
   dropdown (page/footer visible behind the panel) and left the
   components.css blue [aria-current] state active inside the drawer.
   ---------------------------------------------------------- */
@media (max-width: 1023px) {

  /* Header bar while drawer is open — cream, above the nav panel */
  body.is-subpage:not(.is-who-we-are) .site-header.is-drawer-open {
    background: var(--color-surface-page);
    color: var(--color-text-primary);
    border-bottom-color: transparent;
    z-index: 201;
  }

  /* Nav panel: fixed, full-width, from below the 72px header bar
     to the viewport bottom — covers page and footer completely.
     Overrides components.css `position: absolute; top: 100%`. */
  body.is-subpage:not(.is-who-we-are) .site-header.is-drawer-open .site-header__nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: var(--color-surface-page);
    color: var(--color-text-primary);
    border-bottom: none;
    padding: var(--space-8) var(--layout-gutter) var(--space-12);
    gap: var(--space-2);
    overflow-y: auto;
    overflow-x: hidden;
  }

  body.is-subpage:not(.is-who-we-are) .site-header.is-drawer-open .site-header__nav-list {
    gap: 0;
  }

  /* Nav rows — approved sizing, divider on the row edge.
     Base colour rule outranks components.css [aria-current] blue,
     so the active item reads like the others (approved behavior). */
  body.is-subpage:not(.is-who-we-are) .site-header.is-drawer-open .site-header__nav-link {
    display: block;
    position: static;
    padding: var(--space-5) 0;
    font-size: 18px;
    line-height: 1.25;
    color: var(--color-text-primary);
    opacity: 1;
    text-decoration: none;
    border-bottom: 1px solid var(--color-border-subtle);
  }
  body.is-subpage:not(.is-who-we-are) .site-header.is-drawer-open .site-header__nav-link[aria-current="page"] {
    color: var(--color-text-primary);
  }
  body.is-subpage:not(.is-who-we-are) .site-header.is-drawer-open .site-header__nav-link:hover,
  body.is-subpage:not(.is-who-we-are) .site-header.is-drawer-open .site-header__nav-link:focus-visible {
    color: var(--color-action-primary);
    opacity: 1;
  }

  /* Suppress the desktop underline pseudo-element inside the drawer
     so no second line appears in the text area — the row divider
     border-bottom is the only horizontal line (approved behavior). */
  body.is-subpage:not(.is-who-we-are) .site-header.is-drawer-open .site-header__nav-link::after {
    display: none;
    content: none;
  }

  /* Drawer eyebrow: small uppercase label */
  body.is-subpage:not(.is-who-we-are) .site-header.is-drawer-open .site-header__drawer-eyebrow {
    display: block;
    margin: 0;
    font-size: var(--type-eyebrow);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--color-text-secondary);
  }

  /* Drawer intro: short descriptor line */
  body.is-subpage:not(.is-who-we-are) .site-header.is-drawer-open .site-header__drawer-intro {
    display: block;
    margin: 0 0 var(--space-4);
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-text-primary);
    opacity: 0.78;
    max-width: 30ch;
  }

  /* Drawer note: large poster statement pinned to the panel floor */
  body.is-subpage:not(.is-who-we-are) .site-header.is-drawer-open .site-header__drawer-note {
    display: block;
    margin-top: auto;
    padding-top: var(--space-10);
    font-size: clamp(40px, 12vw, 56px);
    line-height: 1;
    letter-spacing: -0.04em;
    max-width: 9ch;
    color: var(--color-text-primary);
    border-top: none;
    opacity: 1;
  }

  /* Contact us — primary CTA button in drawer (approved sizing) */
  body.is-subpage:not(.is-who-we-are) .site-header.is-drawer-open .site-header__nav-item--cta {
    margin-top: var(--space-8);
  }
  body.is-subpage:not(.is-who-we-are) .site-header.is-drawer-open .site-header__nav-link--cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: var(--touch-target-min);
    padding: var(--space-2) var(--space-6);
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 18px;
    line-height: 1.25;
    background: var(--color-action-primary);
    color: var(--color-text-on-dark);
    text-decoration: none;
    transition: background-color var(--motion-quick) var(--ease-standard);
  }
  body.is-subpage:not(.is-who-we-are) .site-header.is-drawer-open .site-header__nav-link--cta:hover,
  body.is-subpage:not(.is-who-we-are) .site-header.is-drawer-open .site-header__nav-link--cta:focus-visible {
    background: var(--color-action-primary-hover);
    color: var(--color-text-on-dark);
    opacity: 1;
  }

  /* Toggle X: dark on cream */
  body.is-subpage:not(.is-who-we-are) .site-header.is-drawer-open .site-header__toggle {
    color: var(--color-text-primary);
  }

}

/* Drawer: tablet (768–1023px) — taller header bar, adjust nav top.
   Mirrors the who-we-are sticky drawer tablet offset exactly. */
@media (min-width: 768px) and (max-width: 1023px) {
  body.is-subpage:not(.is-who-we-are) .site-header.is-drawer-open .site-header__nav {
    top: 88px;
  }
}

/* ----------------------------------------------------------
   Desktop nav — underline interaction for ALL subpages.
   Generalized from the approved implementation (home-v3.css
   lines 152–199 / the body.is-who-we-are hero re-scope above^).
   ^ kept below in this file for the who-we-are blue hero state.

   Why: components.css ships a blue-only active/hover state
   (.site-header__nav-link[aria-current="page"] / :hover →
   var(--color-action-primary), no underline). The approved
   treatment keeps the text on the current surface colour and
   signals hover/active with a 1px currentColor underline,
   scaleX 0→1 from left, 220ms ease.

   Scoped to ≥1024px so the mobile/tablet drawer (row dividers,
   drawer hover lines, drawer CTA button) is never affected.
   Colour overrides are (0,3,0)/(0,3,1) — they beat components.css
   (0,2,0)/(0,2,1) but lose to the body.is-who-we-are hero/sticky
   scopes below (0,4,0)+, so the blue-hero white state and its
   sticky dark state are preserved exactly.
   ---------------------------------------------------------- */
@media (min-width: 1024px) {

  /* Positioning context for the ::after underline */
  body.is-subpage .site-header__nav-link {
    position: relative;
  }

  /* Neutralize the generic blue-only active/hover colour:
     text stays on the header surface colour; the underline
     carries the state instead. */
  body.is-subpage .site-header__nav-link:hover,
  body.is-subpage .site-header__nav-link[aria-current="page"] {
    color: var(--color-text-primary);
  }

  /* Underline pseudo-element — exact approved values:
     bottom -0.35em, 1px, currentColor, scaleX 0→1 from left,
     220ms ease, pointer-events none. */
  body.is-subpage .site-header__nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.35em;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 220ms ease;
    pointer-events: none;
  }
  body.is-subpage .site-header__nav-link:hover::after,
  body.is-subpage .site-header__nav-link:focus-visible::after,
  body.is-subpage .site-header__nav-link[aria-current="page"]::after {
    transform: scaleX(1);
  }
  @media (prefers-reduced-motion: reduce) {
    body.is-subpage .site-header__nav-link::after {
      transition: none;
    }
  }

}


/* ================================================================
   WHO WE ARE — header overlay, shape hero, page layout
   ================================================================ */

/* ----------------------------------------------------------
   Slide-in keyframe for the sticky cream header reveal.
   Mirror of heroHeaderSlideIn in home-v3.css (not loaded here).
   ---------------------------------------------------------- */
@keyframes wwaHeaderSlideIn {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}

/* ----------------------------------------------------------
   Header — overlay state (transparent, white, absolute).
   Overrides body.is-subpage sticky cream defaults so the
   header sits transparently over the full-viewport blue hero.
   ---------------------------------------------------------- */
body.is-who-we-are .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  z-index: 100;
}

/* Header inner height — generous like home hero overlay */
body.is-who-we-are .site-header .site-header__inner {
  min-height: 96px;
  padding-block: var(--space-4);
}

/* Logo container — mirrors body.is-home-v2 .site-header__logo in home-v3.css.
   position: relative is required to establish a stacking context so the
   logo paints above any sibling stacking contexts (shape, pseudo-elements).
   Without it the logo can clip/disappear when the header is absolute. */
body.is-who-we-are .site-header__logo {
  display: inline-flex;
  align-items: center;
  position: relative;
}

/* Logo: white on, dark + icon off (overrides is-subpage rules) */
body.is-who-we-are .site-header__logo-image {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(60vw, 180px);
  flex-shrink: 0;
}
@media (min-width: 768px) {
  body.is-who-we-are .site-header__logo-image { height: 40px; max-width: none; }
}
body.is-who-we-are .site-header__logo-image--white { display: block; }
body.is-who-we-are .site-header__logo-image--dark  { display: none; }
body.is-who-we-are .site-header__logo-image--icon  { display: none; }

/* ── Hero-state nav: exact copy of home-v3.css body.is-home-v2 nav rules,
   re-scoped to body.is-who-we-are .site-header:not(.is-past-hero).
   Source selectors in home-v3.css: lines 152-199.
   Specificity: (0,4,1) — beats components.css [aria-current="page"] (0,2,0). ── */

/* Base: white, full opacity, position:relative for ::after anchor */
body.is-who-we-are .site-header:not(.is-past-hero) .site-header__nav-link {
  color: #FFFFFF;
  opacity: 1;
  position: relative;
}
/* Hover / current: keep white, full opacity (no color shift) */
body.is-who-we-are .site-header:not(.is-past-hero) .site-header__nav-link:hover,
body.is-who-we-are .site-header:not(.is-past-hero) .site-header__nav-link[aria-current="page"] {
  color: #FFFFFF;
  opacity: 1;
}
/* Underline pseudo-element — scaleX 0→1 from left, 220ms ease */
body.is-who-we-are .site-header:not(.is-past-hero) .site-header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35em;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
  pointer-events: none;
}
body.is-who-we-are .site-header:not(.is-past-hero) .site-header__nav-link:hover::after,
body.is-who-we-are .site-header:not(.is-past-hero) .site-header__nav-link:focus-visible::after,
body.is-who-we-are .site-header:not(.is-past-hero) .site-header__nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  body.is-who-we-are .site-header:not(.is-past-hero) .site-header__nav-link::after {
    transition: none;
  }
}
body.is-who-we-are .site-header__toggle { color: var(--color-text-on-dark); }

/* Drawer: suppress desktop hero underline pseudo-element on nav links.
   The ::after scaleX line leaks into drawer rows and creates a second
   horizontal line beneath the row divider border-bottom. Kill it here. */
body.is-who-we-are .site-header.is-drawer-open .site-header__nav-link::after {
  display: none;
  content: none;
}
body.is-who-we-are .site-header.is-drawer-open .site-header__nav-link {
  text-decoration: none;
}

/* ----------------------------------------------------------
   Header — sticky cream state (.is-past-hero applied by JS).
   Once the user scrolls past the hero-v2 section, the header
   slides in as a fixed cream bar with dark text.
   ---------------------------------------------------------- */
body.is-who-we-are .site-header.is-past-hero {
  position: fixed;
  top: 0;
  background: var(--color-surface-page);
  border-bottom-color: var(--color-border-subtle);
  color: var(--color-text-primary);
  animation: wwaHeaderSlideIn var(--motion-emphasis) var(--ease-standard);
  z-index: 100;
}
@media (prefers-reduced-motion: reduce) {
  body.is-who-we-are .site-header.is-past-hero { animation: none; }
}

/* Sticky bar height — compact 72px mobile, 88px tablet+ */
body.is-who-we-are .site-header.is-past-hero .site-header__inner {
  min-height: 72px;
  padding-block: calc(var(--space-2) + 2px) var(--space-2);
}
@media (min-width: 768px) {
  body.is-who-we-are .site-header.is-past-hero .site-header__inner {
    min-height: 88px;
  }
}

/* Logo swap: dark on, white off in sticky state */
body.is-who-we-are .site-header.is-past-hero .site-header__logo-image--white { display: none; }
body.is-who-we-are .site-header.is-past-hero .site-header__logo-image--dark  { display: block; }
body.is-who-we-are .site-header.is-past-hero .site-header__logo-image--icon  { display: none; }
body.is-who-we-are .site-header.is-past-hero .site-header__logo-image--dark  {
  height: 36px;
  width: auto;
}
@media (min-width: 1024px) {
  body.is-who-we-are .site-header.is-past-hero .site-header__logo-image--dark { height: 40px; }
}

/* Nav links + toggle: dark in sticky state */
body.is-who-we-are .site-header.is-past-hero .site-header__nav-link {
  color: var(--color-text-primary);
  opacity: 1;
}
body.is-who-we-are .site-header.is-past-hero .site-header__nav-link:hover,
body.is-who-we-are .site-header.is-past-hero .site-header__nav-link[aria-current="page"] {
  color: var(--color-text-primary);
  opacity: 1;
}
body.is-who-we-are .site-header.is-past-hero .site-header__toggle {
  color: var(--color-text-primary);
}

/* ----------------------------------------------------------
   Mobile drawer (< 1024px) — full-screen overlay.

   Architecture:
   - The header bar (logo + burger) stays as a fixed top strip.
   - The nav becomes position: fixed, anchored to the viewport
     from below the header bar to the bottom edge.
   - Together they form a seamless full-screen panel.
   - Hero state: Brand Blue. Sticky state: cream.
   - Hero state: full layout/typography explicitly declared here (mirrors home).
   - Sticky state: background + padding + typography inherited from is-subpage.
   ---------------------------------------------------------- */
@media (max-width: 1023px) {

  /* ── Hero state: Brand Blue full-screen overlay ─────────── */

  /* Header bar: fixed top strip, Brand Blue, above the nav panel */
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-action-primary);
    z-index: 201;
  }

  /* Nav panel: fixed, full-width, from below the header bar to viewport bottom.
     Layout mirrors home-v3.css approved drawer exactly, with Brand Blue colors.
     Overrides components.css `position: absolute; top: 100%` and is-subpage
     spacing (var(--space-4) padding / var(--space-4) link padding).           */
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__nav {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: var(--space-8) var(--layout-gutter) var(--space-12);
    gap: var(--space-2);
    overflow-y: auto;
    overflow-x: hidden;
    background: var(--color-action-primary);
    border-bottom: none;
  }

  /* Nav list: no additional gap between items (dividers handled by link border) */
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__nav-list {
    gap: 0;
  }

  /* Nav links — full home-style sizing with white-alpha dividers.
     display: block + explicit padding override is-subpage's var(--space-4). */
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__nav-link {
    display: block;
    padding: var(--space-5) 0;
    font-size: 18px;
    line-height: 1.25;
    color: var(--color-text-on-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  }
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__nav-link:hover,
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__nav-link:focus-visible {
    color: var(--color-text-on-dark);
    opacity: 0.75;
  }
  /* Submenu inside the Brand-Blue drawer — light text/icons to read on blue */
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__subitem {
    color: var(--color-text-on-dark);
  }
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__subitem[aria-current="page"] {
    color: #fff;
  }

  /* Editorial: eyebrow — small uppercase label, muted white */
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__drawer-eyebrow {
    display: block;
    margin: 0;
    font-size: var(--type-eyebrow);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.72);
  }

  /* Editorial: intro — short descriptor line, full white */
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__drawer-intro {
    display: block;
    margin: 0 0 var(--space-4);
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-text-on-dark);
    opacity: 0.78;
    max-width: 30ch;
  }

  /* Editorial: note — large poster statement pinned to bottom.
     Mirrors approved Home drawer typography exactly (home-v3.css).
     margin-top: auto pushes it to the flex-column floor.
     No border-top — the breathing room from padding-top is sufficient. */
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__drawer-note {
    display: block;
    margin-top: auto;
    padding-top: var(--space-10);
    font-size: clamp(40px, 12vw, 56px);
    line-height: 1;
    letter-spacing: -0.04em;
    max-width: 9ch;
    color: var(--color-text-on-dark);
  }

  /* Close X — white */
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__toggle {
    color: var(--color-text-on-dark);
  }

  /* White full wordmark */
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__logo-image--white { display: block; }
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__logo-image--dark  { display: none; }
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__logo-image--icon  { display: none; }

  /* CTA item — extra breathing room above button, mirrors home var(--space-8) */
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__nav-item--cta {
    margin-top: var(--space-8);
  }

  /* CTA link — inverted: paper/cream bg, Brand Blue text.
     Full home-style button sizing replaces is-subpage's own CTA rules. */
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__nav-link--cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: var(--touch-target-min);
    padding: var(--space-2) var(--space-6);
    border-radius: 4px;
    font-size: 18px;
    line-height: 1.25;
    background: var(--color-surface-page);
    color: var(--color-action-primary);
    border: 1px solid transparent;
    border-bottom: 0;
  }
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__nav-link--cta:hover,
  body.is-who-we-are .site-header:not(.is-past-hero).is-drawer-open .site-header__nav-link--cta:focus-visible {
    background: rgba(251, 249, 240, 0.88);
    color: var(--color-action-primary);
    opacity: 1;
  }

  /* ── Sticky state: cream full-screen overlay ────────────── */
  /* Mirrors home-v3.css body.is-home-v2 sticky drawer exactly.
     All properties explicit — no reliance on is-subpage inheritance. */

  body.is-who-we-are .site-header.is-past-hero.is-drawer-open {
    background: var(--color-surface-page);
    color: var(--color-text-primary);
    border-bottom-color: transparent;
    z-index: 201;
  }

  body.is-who-we-are .site-header.is-past-hero.is-drawer-open .site-header__nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 200;
    background: var(--color-surface-page);
    color: var(--color-text-primary);
    border-bottom: none;
    padding: var(--space-8) var(--layout-gutter) var(--space-12);
    gap: var(--space-2);
    overflow-y: auto;
    overflow-x: hidden;
  }

  body.is-who-we-are .site-header.is-past-hero.is-drawer-open .site-header__nav-list {
    gap: 0;
  }

  body.is-who-we-are .site-header.is-past-hero.is-drawer-open .site-header__nav-link {
    display: block;
    padding: var(--space-5) 0;
    font-size: 18px;
    line-height: 1.25;
    color: var(--color-text-primary);
    opacity: 1;
    border-bottom: 1px solid var(--color-border-subtle);
  }
  body.is-who-we-are .site-header.is-past-hero.is-drawer-open .site-header__nav-link:hover,
  body.is-who-we-are .site-header.is-past-hero.is-drawer-open .site-header__nav-link:focus-visible {
    color: var(--color-action-primary);
    opacity: 1;
  }

  body.is-who-we-are .site-header.is-past-hero.is-drawer-open .site-header__nav-item--cta {
    margin-top: var(--space-8);
  }
  body.is-who-we-are .site-header.is-past-hero.is-drawer-open .site-header__nav-link--cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: var(--touch-target-min);
    padding: var(--space-2) var(--space-6);
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 18px;
    line-height: 1.25;
    background: var(--color-action-primary);
    color: var(--color-text-on-dark);
    text-decoration: none;
    transition: background-color var(--motion-quick) var(--ease-standard);
  }
  body.is-who-we-are .site-header.is-past-hero.is-drawer-open .site-header__nav-link--cta:hover,
  body.is-who-we-are .site-header.is-past-hero.is-drawer-open .site-header__nav-link--cta:focus-visible {
    background: var(--color-action-primary-hover);
    color: var(--color-text-on-dark);
    opacity: 1;
  }

  /* Logo: dark wordmark */
  body.is-who-we-are .site-header.is-past-hero.is-drawer-open .site-header__logo-image--white { display: none; }
  body.is-who-we-are .site-header.is-past-hero.is-drawer-open .site-header__logo-image--dark  { display: block; }
  body.is-who-we-are .site-header.is-past-hero.is-drawer-open .site-header__logo-image--icon  { display: none; }

  /* Toggle X: dark */
  body.is-who-we-are .site-header.is-past-hero.is-drawer-open .site-header__toggle {
    color: var(--color-text-primary);
  }

  /* Eyebrow: secondary dark */
  body.is-who-we-are .site-header.is-past-hero.is-drawer-open .site-header__drawer-eyebrow {
    display: block;
    margin: 0;
    color: var(--color-text-secondary);
  }

  /* Intro: primary dark, slightly muted */
  body.is-who-we-are .site-header.is-past-hero.is-drawer-open .site-header__drawer-intro {
    display: block;
    color: var(--color-text-primary);
    opacity: 0.78;
  }

  /* Note: large poster, dark text, no border */
  body.is-who-we-are .site-header.is-past-hero.is-drawer-open .site-header__drawer-note {
    display: block;
    margin-top: auto;
    padding-top: var(--space-10);
    font-size: clamp(40px, 12vw, 56px);
    line-height: 1;
    letter-spacing: -0.04em;
    max-width: 9ch;
    color: var(--color-text-primary);
    border-top: none;
    opacity: 1;
  }

}

/* Sticky drawer: tablet (768–1023px) — taller header bar, adjust nav top */
@media (min-width: 768px) and (max-width: 1023px) {
  body.is-who-we-are .site-header.is-past-hero.is-drawer-open .site-header__nav {
    top: 88px;
  }
}

/* ----------------------------------------------------------
   Hero section — full-viewport, no padding, no .section class.
   ---------------------------------------------------------- */
.wwa-hero {
  padding-block: 0;
  overflow: hidden;
}

/* Brand Blue modifier — full viewport with safe-area padding.
   display: grid / place-items: center centres the constrained
   shape frame both axes inside the blue field.

   padding-top:    clears the 96px overlay nav + breathing room
   padding-inline: prevents edge crop on narrow viewports
   padding-bottom: symmetric bottom breathing room             */
.wwa-hero--brand-blue {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--color-action-primary);
  display: grid;
  place-items: center;
  padding:
    clamp(80px, 10svh, 120px)
    clamp(28px, 5vw,   64px)
    clamp(56px,  8svh,  96px);
}

/* Mobile (≤ 767px): taller top pad to clear overlay nav */
@media (max-width: 767px) {
  .wwa-hero--brand-blue {
    padding:
      clamp(96px, 14svh, 120px)
      clamp(20px, 6vw, 28px)
      clamp(48px,  7svh, 72px);
  }
}

/* ----------------------------------------------------------
   Shape hero wrapper — constrained frame centred by parent.
   overflow: visible lets the animated shape breathe beyond the
   frame boundary; the outer .wwa-hero keeps overflow: hidden
   to contain the blue field.
   ---------------------------------------------------------- */
.wwa-shape-hero {
  position: relative;
  width: 100%;
  height: clamp(480px, calc(100svh - 72px), 760px);
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Brand Blue variant: wider, taller frame for less clipping.
   overflow: visible inherits from base rule above.            */
.wwa-hero--brand-blue .wwa-shape-hero {
  width: min(100%, 1280px);
  height: min(76svh, 760px);
  min-height: 600px;
}

/* Mobile: full width, shorter frame */
@media (max-width: 767px) {
  .wwa-hero--brand-blue .wwa-shape-hero {
    width: 100%;
    height: clamp(380px, 68svh, 540px);
    min-height: 380px;
  }
}

/* Stage: absolutely fills the shape frame, behind text.
   overflow: visible lets shape bleed beyond frame edges. */
.wwa-shape-hero__stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Custom element fills its stage */
body.is-who-we-are .wwa-shape-hero__stage tmrw-com-shape-hero {
  display: block;
  width: 100%;
  height: 100%;
}

/* Text overlay: centered, above shape (z-index: 10) */
.wwa-shape-hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-8);
  max-width: min(760px, 72vw);
  /* Prevent content from widening the shape frame */
  width: 100%;
}

/* Eyebrow: muted white in blue hero */
.wwa-shape-hero__eyebrow {
  font-size: var(--type-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: rgba(248, 246, 242, 0.72);
}

/* Hero headline: fluid display sizing, white */
.wwa-shape-hero__h1 {
  font-size: clamp(44px, 5.4vw, 88px);
  line-height: 0.98;
  letter-spacing: var(--tracking-display);
  text-wrap: balance;
  text-align: center;
  color: var(--color-text-on-dark);
}

/* ── Brand-blue hero: force text to white/paper with scoped high-specificity
   rules. --color-paper is not defined in tokens.css so var(--color-paper)
   inherits body's --color-text-primary (#1a1a1a). Use --color-text-on-dark
   (#fbf9f0) with !important to beat any cascade path.               ── */
body.is-who-we-are .wwa-hero--brand-blue .wwa-shape-hero__h1 {
  color: var(--color-text-on-dark) !important;
  font-size: clamp(48px, 5.8vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 820px;
}

body.is-who-we-are .wwa-hero--brand-blue .wwa-shape-hero__eyebrow {
  color: rgba(248, 246, 242, 0.72) !important;
}

/* Force any nested spans / component-generated text elements to inherit */
body.is-who-we-are .wwa-hero--brand-blue .wwa-shape-hero__h1 *,
body.is-who-we-are .wwa-hero--brand-blue .wwa-shape-hero__content * {
  color: inherit;
}

/* ----------------------------------------------------------
   Founder profile — 3-column editorial layout.
   Mobile: stacked (meta → portrait → body).
   Tablet (768–1023): 2-col — meta+body left, portrait right.
   Desktop (1024+): 3-col — meta | portrait | body.
   ---------------------------------------------------------- */

/* ── Grid ─────────────────────────────────────────────────── */
.wwa-founder-profile__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}

/* Tablet: portrait right, spanning both meta and body rows */
@media (min-width: 768px) {
  .wwa-founder-profile__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
      "meta    portrait"
      "body    portrait";
    column-gap: var(--space-12);
    row-gap: var(--space-8);
    align-items: start;
  }
  .wwa-founder-profile__meta    { grid-area: meta; }
  .wwa-founder-profile__portrait { grid-area: portrait; }
  .wwa-founder-profile__body    { grid-area: body; }
}

/* Desktop: full 3-column — identity | portrait | statement.
   align-items: stretch lets meta and body fill the portrait's height,
   so margin-top:auto on social and CTA aligns them to portrait bottom. */
@media (min-width: 1024px) {
  .wwa-founder-profile__grid {
    grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.1fr) minmax(280px, 0.9fr);
    grid-template-rows: auto;
    grid-template-areas: "meta portrait body";
    gap: var(--space-16);
    align-items: stretch;
  }
}

/* ── Meta column (identity + social) ─────────────────────── */
.wwa-founder-profile__meta {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.wwa-founder-profile__eyebrow {
  margin-bottom: var(--space-5);
}

.wwa-founder-profile__name {
  font-size: clamp(36px, 3.6vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  margin: 0;
}

.wwa-founder-profile__role {
  font-size: var(--type-body);
  line-height: 1.4;
  color: var(--color-text-secondary);
  margin-top: var(--space-3);
  font-weight: 500;
}

/* Social links — understated text links.
   Mobile/tablet: comfortable fixed gap below role.
   Desktop: margin-top:auto pushes to portrait bottom edge. */
.wwa-founder-profile__social {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-10);
}
@media (min-width: 1024px) {
  .wwa-founder-profile__social {
    margin-top: auto;
  }
}

.wwa-founder-profile__social-label {
  font-size: var(--type-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.wwa-founder-profile__social-links {
  display: flex;
  gap: var(--space-5);
}

/* Same ::after scaleX underline as hero nav (home-v3.css / pages.css pattern).
   Values: bottom -0.35em · height 1px · currentColor · 220ms ease. */
body.is-who-we-are .wwa-founder-profile__social-link {
  font-size: var(--type-body);
  color: var(--color-text-primary);
  text-decoration: none;
  line-height: 1.4;
  position: relative;
}
body.is-who-we-are .wwa-founder-profile__social-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35em;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
  pointer-events: none;
}
body.is-who-we-are .wwa-founder-profile__social-link:hover::after,
body.is-who-we-are .wwa-founder-profile__social-link:focus-visible::after {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  body.is-who-we-are .wwa-founder-profile__social-link::after {
    transition: none;
  }
}

/* ── Portrait (centre column) ─────────────────────────────── */
.wwa-founder-profile__portrait {
  margin: 0;
  width: 100%;
  /* On mobile cap width so the image isn't full-viewport wide */
  max-width: 480px;
}
@media (min-width: 768px) {
  .wwa-founder-profile__portrait {
    max-width: none;
  }
}

.wwa-founder-profile__image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 8px;
}

/* ── Body / statement column ──────────────────────────────── */
.wwa-founder-profile__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-1);
}

.wwa-founder-profile__lead {
  font-size: var(--type-body-lg);
  line-height: 1.55;
  color: var(--color-text-primary);
}

.wwa-founder-profile__body p:not(.wwa-founder-profile__lead):not(.wwa-founder-profile__cta-wrap) {
  font-size: var(--type-body);
  line-height: 1.6;
  color: var(--color-text-primary);
}

/* ============================================================
   Who we are — footer social icons
   The global .site-footer__social-link in components.css uses
   a 36×36 circular border treatment. On this subpage the
   approved design matches index-v3 (no circle, plain icon).
   home-v3.css already strips the circle via body.is-home-v2;
   we mirror that override here, scoped to is-who-we-are.
   ============================================================ */
body.is-who-we-are .site-footer__social-link {
  width: auto;
  height: auto;
  padding: var(--space-1);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text-on-dark);
  opacity: 0.78;
  transition: opacity var(--motion-quick) var(--ease-standard);
}
body.is-who-we-are .site-footer__social-link:hover,
body.is-who-we-are .site-footer__social-link:focus-visible {
  background: transparent;
  opacity: 1;
}
body.is-who-we-are .site-footer__social-link:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}
body.is-who-we-are .site-footer__social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
@media (prefers-reduced-motion: reduce) {
  body.is-who-we-are .site-footer__social-link { transition: none; }
}

/* CTA wrap: fixed spacing on mobile/tablet; auto on desktop to align
   the button baseline with portrait bottom edge. */
.wwa-founder-profile__cta-wrap {
  margin-top: var(--space-6);
}
@media (min-width: 1024px) {
  .wwa-founder-profile__cta-wrap {
    margin-top: auto;
    padding-top: var(--space-6); /* minimum breathing room above button */
  }
}

/* ── Divider: subtle bottom border separates Cevat from Timeline ── */
body.is-who-we-are .wwa-founder-profile {
  /* border-bottom removed — section-rule hr is now the divider */
}

/* ================================================================
   Who we are — Our Journey milestones timeline
   CSS ported from home-v3.css. Do NOT modify home-v3.css.
   .milestones-section scoped to body.is-who-we-are to avoid
   affecting other pages. .timeline-h__* classes are safe unscoped
   (the class namespace is unique to this component).
   ================================================================ */

/* ── Section wrapper ──────────────────────────────────────────── */
body.is-who-we-are .milestones-section {
  background: var(--color-surface-page);
  color: var(--color-text-primary);
  padding-top: var(--space-16);
  padding-bottom: clamp(24px, 3vw, 48px);
  /* Top padding matches .section (space-16 mobile / space-20 desktop)
     so the gap above and below the advisory section is equal. */
}
@media (min-width: 1024px) {
  body.is-who-we-are .milestones-section {
    padding-top: var(--space-20);
  }
}

/* ── Scroll hint ("Scroll →") ────────────────────────────────── */
.timeline-h__hint {
  display: inline-block;
  margin: 0;
  font-size: var(--type-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  opacity: 0.78;
}
@media (min-width: 1280px) {
  .timeline-h__hint { display: none; }
}

/* ── Full-bleed horizontal scroller ──────────────────────────── */
.timeline-h {
  --card-w:        clamp(170px, 16vw, 220px);
  --circle-d:      clamp(104px, 8vw, 128px);
  --line-y:        50%;
  --marker-d:      10px;
  --marker-half:   5px;
  --connector-h:   12px;
  --gap-from-line: 20px;

  position: relative;
  /* Full-bleed: breaks out of .container on both sides so cards
     can scroll to the viewport edges. */
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  overflow-x: auto;
  overflow-y: hidden;
  padding-block: clamp(8px, 1.5vw, 20px);
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline-start:
    max(var(--layout-gutter),
        calc((100vw - var(--layout-max)) / 2 + var(--layout-gutter)));
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.timeline-h::-webkit-scrollbar { display: none; }
.timeline-h:focus-visible {
  outline: 1px solid var(--color-text-primary);
  outline-offset: 4px;
}

/* ── Track ────────────────────────────────────────────────────── */
.timeline-h__track {
  display: flex;
  gap: clamp(40px, 3vw, 64px);
  padding-block: 0;
  padding-inline:
    max(var(--layout-gutter),
        calc((100vw - var(--layout-max)) / 2 + var(--layout-gutter)));
  min-width: max-content;
  min-height: clamp(340px, 36vw, 420px);
  position: relative;
}
/* Dashed horizontal axis running through the track centre */
.timeline-h__track::before {
  content: "";
  position: absolute;
  top: var(--line-y);
  left: 0;
  right: 0;
  height: 0;
  border-top: 1px dashed rgba(31, 39, 27, 0.20);
  background: none;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

/* ── Item: 3-row grid (top zone / marker / bottom zone) ─────── */
.timeline-h__item {
  flex: 0 0 var(--card-w);
  scroll-snap-align: start;
  align-self: stretch;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  justify-items: center;
  position: relative;
  z-index: 1;
}

/* ── Marker dot on the axis ───────────────────────────────────── */
.timeline-h__marker {
  grid-row: 2;
  width: var(--marker-d);
  height: var(--marker-d);
  border-radius: 50%;
  /* background: var(--color-text-primary); */
  border: 1px solid black;
  box-shadow: 0 0 0 4px var(--color-surface-page);
  position: relative;
  z-index: 2;
}
/* Dashed vertical connector stems up and down from the marker */
.timeline-h__marker::before,
.timeline-h__marker::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: var(--connector-h);
  border-left: 1px dashed rgba(31, 39, 27, 0.16);
  background: none;
  z-index: 1;
}
.timeline-h__marker::before { bottom: calc(100% + 2px); }
.timeline-h__marker::after  { top:    calc(100% + 2px); }

/* ── Image-top variant ────────────────────────────────────────── */
.timeline-h__item--image-top .timeline-h__media {
  grid-row: 1;
  align-self: end;
  margin-bottom: var(--gap-from-line);
}
.timeline-h__item--image-top .timeline-h__copy {
  grid-row: 3;
  align-self: start;
  margin-top: var(--gap-from-line);
}

/* ── Copy-top variant ─────────────────────────────────────────── */
.timeline-h__item--copy-top .timeline-h__copy {
  grid-row: 1;
  align-self: end;
  margin-bottom: var(--gap-from-line);
}
.timeline-h__item--copy-top .timeline-h__media {
  grid-row: 3;
  align-self: start;
  margin-top: var(--gap-from-line);
}

/* ── Copy block (date + title) ────────────────────────────────── */
.timeline-h__copy {
  display: grid;
  gap: var(--space-1);
  text-align: center;
  width: 100%;
  max-width: var(--card-w);
}

/* ── Circular image media ─────────────────────────────────────── */
.timeline-h__media {
  display: block;
  width: var(--circle-d);
  height: var(--circle-d);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 50%;
  background: var(--color-border-subtle);
  margin: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.timeline-h__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Text ─────────────────────────────────────────────────────── */
.timeline-h__date {
  margin: 0;
  font-size: var(--type-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}
.timeline-h__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
  color: var(--color-text-primary);
  text-wrap: pretty;
  max-width: 210px;
}

/* ── Mobile overrides ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .timeline-h {
    --card-w:        clamp(180px, 60vw, 220px);
    --circle-d:      clamp(96px, 32vw, 112px);
    --connector-h:   10px;
    --gap-from-line: 14px;
    padding-block: 8px;
  }
  .timeline-h__track {
    min-height: 300px;
    padding-block: 0;
    padding-inline:
      max(var(--layout-gutter),
          calc((100vw - var(--layout-max)) / 2 + var(--layout-gutter)));
    gap: var(--space-6);
  }
  .timeline-h__title { font-size: 14px; }
}

/* ── Reduced motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .timeline-h {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }
}

/* ── Typography overrides — scoped to Who we are ─────────────── */
/* Unscoped base values (from home-v3.css port above):
     .timeline-h__date  → 12px eyebrow
     .timeline-h__title → 16px desktop / 14px mobile
   Bumped here for better readability on this editorial page.
   Does NOT affect index-v3 or any Home file. */
body.is-who-we-are .timeline-h__date {
  font-size: 13px;          /* +1px over eyebrow token; still compact */
  letter-spacing: 0.09em;
}
body.is-who-we-are .timeline-h__title {
  font-size: 17px;          /* +1px over unscoped 16px */
  line-height: 1.48;
  max-width: 220px;         /* slightly wider for readability */
}
@media (max-width: 767px) {
  body.is-who-we-are .timeline-h__title {
    font-size: 15px;        /* +1px over unscoped 14px mobile */
    line-height: 1.5;
  }
}

/* ----------------------------------------------------------
   Advisory Board — bio clamp.
   Full text preserved in markup for Phase 2 expand/modal.
   ---------------------------------------------------------- */
.team-member__bio--clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Advisory Board grid — calmer columns on desktop */
body.is-who-we-are .team-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
@media (min-width: 768px) {
  body.is-who-we-are .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  body.is-who-we-are .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ----------------------------------------------------------
   CTA closer
   ---------------------------------------------------------- */
/* ── CTA closer — shared with homepage. Sourced from home-v3.css.
   Loaded here because who-we-are does not load home-v3.css. ── */
.cta-closer {
  padding-top: clamp(var(--space-20), 10vw, var(--space-32));
  padding-bottom: clamp(var(--space-10), 5vw, var(--space-16));
}
.cta-closer__h2 {
  font-size: clamp(48px, 6.2vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-wrap: balance;
  margin: 0 0 var(--space-8);
  max-width: 22ch;
}
.cta-closer__lead {
  font-size: var(--type-body-lg);
  line-height: 1.55;
  color: var(--color-text-on-dark-muted);
  max-width: 60ch;
  margin: 0 0 var(--space-12);
}
/* Thin "next unit" teaser band above the footer (Reality / pillar pages) */
.wwd-next-teaser {
  display: block;
  background: var(--color-surface-page);
  color: var(--color-text-primary);
  text-decoration: none;
  border-top: 1px solid var(--color-border-subtle);
  transition: background-color var(--motion-enter) var(--ease-standard);
}
.wwd-next-teaser:hover { background: var(--color-surface-page-soft); }
.wwd-next-teaser:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring-color); outline-offset: -4px; }
.wwd-next-teaser__inner {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: var(--space-5);
  padding-block: var(--space-8);
}
.wwd-next-teaser__text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 2px;
}
.wwd-next-teaser__label {
  font-size: var(--type-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}
.wwd-next-teaser__name {
  font-size: var(--type-subtitle);
  letter-spacing: var(--tracking-title);
  line-height: 1.1;
}
.wwd-next-teaser__arrow {
  font-size: var(--type-subtitle);
  line-height: 1.1;
  transition: transform var(--motion-quick) var(--ease-standard);
}
.wwd-next-teaser:hover .wwd-next-teaser__arrow { transform: translateX(4px); }
.wwd-next-teaser__text--left { align-items: flex-start; text-align: left; }

/* Pager — two-sided previous/next teaser band (middle units) */
.wwd-pager {
  background: var(--color-surface-page);
  border-top: 1px solid var(--color-border-subtle);
}
.wwd-pager__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-8);
}
.wwd-pager__link {
  display: flex;
  align-items: flex-end;
  gap: var(--space-5);
  text-decoration: none;
  color: var(--color-text-primary);
}
.wwd-pager__link .wwd-next-teaser__arrow {
  font-size: var(--type-subtitle);
  transition: transform var(--motion-quick) var(--ease-standard);
}
.wwd-pager__link--next:hover .wwd-next-teaser__arrow { transform: translateX(4px); }
.wwd-pager__link--prev:hover .wwd-next-teaser__arrow { transform: translateX(-4px); }

/* Ventures (Impact) — EcoClearProx feature + company-builder note */
.wwd-ventures__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 768px) {
  .wwd-ventures__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); }
}
.wwd-ventures__lead { font-size: var(--type-body-lg); line-height: 1.55; max-width: 42ch; }
.wwd-ventures__small { font-size: var(--type-body); color: var(--color-text-secondary); margin-top: var(--space-4); }
.wwd-ventures__intro {
  font-size: var(--type-body-lg);
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 64ch;
  margin-top: var(--space-5);
}
.wwd-venture { margin-top: var(--space-12); }
.wwd-venture__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
  margin-bottom: var(--space-12);
}
@media (min-width: 768px) {
  .wwd-venture__main { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-16); }
}
.wwd-venture__shot {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--color-surface-page-soft);
}
.wwd-venture__shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wwd-venture__head { max-width: 64ch; margin-bottom: var(--space-8); }
.wwd-venture__main .wwd-venture__head { margin-bottom: 0; }
.wwd-venture__name { font-size: var(--type-subtitle); letter-spacing: var(--tracking-title); }
.wwd-venture__name a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: inherit;
  text-decoration: none;
}
.wwd-venture__name a:hover { color: var(--color-action-primary); }
.wwd-venture__name .button__ext-icon { transition: transform var(--motion-quick) var(--ease-standard); }
.wwd-venture__name a:hover .button__ext-icon { transform: translate(2px, -2px); }
.wwd-venture__desc { font-size: var(--type-body-lg); line-height: 1.55; color: var(--color-text-secondary); margin-top: var(--space-4); }
.wwd-division__cta-wrap { margin: var(--space-8) 0 0; }
/* Overview button — eco green, scoped to the division CTA */
.wwd-division__cta-wrap .button--primary { background: rgb(4, 55, 34); }
.wwd-division__cta-wrap .button--primary:hover { background: rgb(7, 74, 46); }
.wwd-venture__cta-wrap { margin: var(--space-8) 0 0; }
/* EcoClearProx button — eco teal, scoped to the venture CTA */
.wwd-venture__cta-wrap .button--primary { background: rgb(110, 202, 201); color: #fff; }
.wwd-venture__cta-wrap .button--primary:hover { background: rgb(95, 184, 183); }
.wwd-fields { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 768px) { .wwd-fields { grid-template-columns: repeat(3, 1fr); } }
.wwd-field__media { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 6px; background: var(--color-surface-page-soft); }
.wwd-field__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wwd-field__label {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--type-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}
/* Application fields — image + title + descriptive copy */
.wwd-appfields__grid { align-items: start; gap: var(--space-8); }
.wwd-appfield { display: flex; flex-direction: column; }
.wwd-appfield__title {
  margin: var(--space-5) 0 0;
  font-size: var(--type-body-lg);
  letter-spacing: var(--tracking-title);
}
.wwd-appfield__desc {
  margin: var(--space-3) 0 0;
  font-size: var(--type-body);
  line-height: 1.55;
  color: var(--color-text-secondary);
}

/* ================================================================
   Advisory Board — A/B v2 (compact card rail + on-card bio overlay)
   Each card is self-contained: image fills card, dark gradient at
   bottom shows name/role/"View bio". Clicking toggles .is-open
   which reveals a dark translucent overlay inside the same card.
   No external modal. No page dimming.
   ================================================================ */

/* ── Section header ───────────────────────────────────────────── */
.wwa-advisory-v2__header {
  max-width: 56ch;
  margin-bottom: var(--space-10);
}

.wwa-advisory-v2__intro {
  margin-top: var(--space-4);
  font-size: var(--type-body-lg);
  line-height: 1.55;
  color: var(--color-text-secondary);
}

/* ── Scroll rail ─────────────────────────────────────────────── */
.wwa-ab-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Prevent card shadow from clipping at edge */
  padding-bottom: 8px;
  margin-bottom: -8px;
  /* Hide scrollbar on all browsers */
  scrollbar-width: none;
}

.wwa-ab-rail::-webkit-scrollbar {
  display: none;
}

/* ── Card shell ──────────────────────────────────────────────── */
.wwa-ab-card {
  position: relative;
  flex-shrink: 0;
  width: 240px;
  aspect-ratio: 3 / 4;    /* 240 × 320 px at default */
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.13);
  /* Isolate stacking context so overlay stays inside card */
  isolation: isolate;
}

/* Mobile: wide cards that let next card peek */
@media (max-width: 640px) {
  .wwa-ab-card {
    width: 80vw;
    max-width: 300px;
  }
}

/* ── Portrait — fills card ───────────────────────────────────── */
.wwa-ab-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 400ms cubic-bezier(0.25, 0, 0.4, 1);
}

.wwa-ab-card:hover .wwa-ab-card__img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .wwa-ab-card__img            { transition: none; }
  .wwa-ab-card:hover .wwa-ab-card__img { transform: none; }
}

/* ── Front: gradient + name + "View bio" ─────────────────────── */
.wwa-ab-card__front {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 16px 18px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.28) 52%,
    transparent 100%
  );
  transition: opacity 220ms ease;
}

/* Hide front when overlay is open */
.wwa-ab-card.is-open .wwa-ab-card__front {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .wwa-ab-card__front { transition: none; }
}

.wwa-ab-card__card-role {
  font-size: 0.61rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.wwa-ab-card__card-name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0 0 10px 0;
}

/* "View bio" button */
.wwa-ab-card__bio-btn {
  display: inline-block;
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.72rem;
  font-family: inherit;
  color: rgba(255, 255, 255, 0.76);
  letter-spacing: 0.03em;
  position: relative;
  line-height: 1.4;
  text-align: left;
}

.wwa-ab-card__bio-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15em;
  height: 1px;
  background: rgba(255, 255, 255, 0.52);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms ease;
  pointer-events: none;
}

.wwa-ab-card:hover .wwa-ab-card__bio-btn::after,
.wwa-ab-card__bio-btn:focus-visible::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .wwa-ab-card__bio-btn::after { transition: none; }
}

/* ── Bio overlay — covers card, toggled by .is-open ─────────── */
.wwa-ab-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.93);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.wwa-ab-card.is-open .wwa-ab-card__overlay {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .wwa-ab-card__overlay { transition: none; }
}

/* Scrollable bio content inside the card */
.wwa-ab-card__overlay-scroll {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 16px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.wwa-ab-card__overlay-scroll::-webkit-scrollbar {
  width: 2px;
}

.wwa-ab-card__overlay-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.wwa-ab-card__overlay-role {
  font-size: 0.57rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
  margin: 0 0 3px 0;
  line-height: 1.3;
}

.wwa-ab-card__overlay-name {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0 0 11px 0;
}

.wwa-ab-card__overlay-bio {
  font-size: 0.68rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.76);
}

/* Close cue — pinned at bottom of overlay, always visible */
.wwa-ab-card__close-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 9px 16px;
  cursor: pointer;
  font-size: 0.67rem;
  font-family: inherit;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.42);
  transition: color 160ms ease;
}

.wwa-ab-card__close-btn:hover,
.wwa-ab-card__close-btn:focus-visible {
  color: rgba(255, 255, 255, 0.85);
}

@media (prefers-reduced-motion: reduce) {
  .wwa-ab-card__close-btn { transition: none; }
}

/* ── Former board ────────────────────────────────────────────── */
.wwa-advisory-v2__former {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-subtle);
}

.wwa-advisory-v2__former-label {
  margin-bottom: var(--space-6);
}

.wwa-ab-rail--former .wwa-ab-card {
  width: 200px;
}

@media (max-width: 640px) {
  .wwa-ab-rail--former .wwa-ab-card {
    width: 70vw;
    max-width: 260px;
  }
}

/* Mute former members visually */
.wwa-ab-rail--former .wwa-ab-card__img {
  opacity: 0.60;
}

/* ================================================================
   Advisory Board — Concept B  (large card rail, ~3 cards visible)
   Separate CSS namespace: .wwa-advisory-rail__*
   Can coexist with v1 (.wwa-advisory) and A/B v2 (.wwa-ab-*)
   ================================================================ */

/* ── Section header row ──────────────────────────────────────── */
.wwa-advisory-rail__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.wwa-advisory-rail__header-text {
  max-width: 52ch;
}

.wwa-advisory-rail__intro {
  margin-top: var(--space-4);
  font-size: var(--type-body-lg);
  line-height: 1.55;
  color: var(--color-text-secondary);
}

/* ── Prev / Next controls ────────────────────────────────────── */
.wwa-advisory-rail__controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-self: flex-end;
}

.wwa-advisory-rail__ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border-subtle);
  background: #ffffff;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.wwa-advisory-rail__ctrl:hover,
.wwa-advisory-rail__ctrl:focus-visible {
  background: var(--color-brand-blue);
  border-color: var(--color-brand-blue);
  color: #ffffff;
}

.wwa-advisory-rail__ctrl:disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .wwa-advisory-rail__ctrl { transition: none; }
}

/* Hide nav buttons on mobile — swipe is the interaction */
@media (max-width: 640px) {
  .wwa-advisory-rail__controls { display: none; }
}

/* ── Scroll rail track ───────────────────────────────────────── */
.wwa-advisory-rail__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  margin-bottom: -10px;
  scrollbar-width: none;
}

.wwa-advisory-rail__track::-webkit-scrollbar {
  display: none;
}

/* Full-bleed rail on mobile/tablet:
   Negative margin breaks the track out of .container's padding so
   cards can scroll all the way to the viewport edges.
   padding-inline restores the same inset so the first card still
   opens flush with the section heading.
   scroll-padding-inline-start aligns snap points to that same edge. */
@media (max-width: 1023px) {
  .wwa-advisory-rail__track {
    margin-inline: calc(var(--layout-gutter) * -1);
    padding-inline: var(--layout-gutter);
    scroll-padding-inline-start: var(--layout-gutter);
  }
}

/* ── Card shell ──────────────────────────────────────────────── */
.wwa-advisory-rail__card {
  position: relative;
  flex-shrink: 0;
  width: 380px;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.11);
  isolation: isolate;
}

/* Tablet: ~2 cards visible */
@media (min-width: 641px) and (max-width: 1023px) {
  .wwa-advisory-rail__card {
    width: 300px;
  }
}

/* Mobile: one card with next peeking */
@media (max-width: 640px) {
  .wwa-advisory-rail__card {
    width: 84vw;
    max-width: 340px;
  }
}

/* ── Portrait image — fills card ────────────────────────────── */
.wwa-advisory-rail__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 500ms cubic-bezier(0.25, 0, 0.4, 1);
}

.wwa-advisory-rail__card:not(.is-open):not(.is-closing):hover .wwa-advisory-rail__image {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .wwa-advisory-rail__image { transition: none; }
  .wwa-advisory-rail__card:not(.is-open):not(.is-closing):hover .wwa-advisory-rail__image { transform: none; }
}

/* ── Scrim: gradient + name + role + trigger ─────────────────── */
.wwa-advisory-rail__scrim {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 64px 24px 26px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.32) 48%,
    transparent 100%
  );
  transition: opacity 280ms ease;
}

/* Bio open/closing: scrim fades — no translate, no push */
.wwa-advisory-rail__card.is-open   .wwa-advisory-rail__scrim,
.wwa-advisory-rail__card.is-closing .wwa-advisory-rail__scrim {
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .wwa-advisory-rail__scrim { transition: none; }
}

.wwa-advisory-rail__role {
  font-size: clamp(12px, 0.9vw, 14px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.wwa-advisory-rail__name {
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 16px 0;
}

/* "View Bio" trigger */
.wwa-advisory-rail__trigger {
  display: inline-block;
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: clamp(14px, 1.1vw, 17px);
  font-family: inherit;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.01em;
  position: relative;
  line-height: 1.4;
  text-align: left;
}

.wwa-advisory-rail__trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15em;
  height: 1px;
  background: rgba(255, 255, 255, 0.52);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms ease;
  pointer-events: none;
}

.wwa-advisory-rail__card:not(.is-open):not(.is-closing):hover .wwa-advisory-rail__trigger::after,
.wwa-advisory-rail__trigger:focus-visible::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .wwa-advisory-rail__trigger::after { transition: none; }
}

/* ── Bio overlay ─────────────────────────────────────────────────
   Three-state model:
     closed     → clip-path: inset(100% 0 0 0)   opacity: 0
     .is-open   → clip-path: inset(0% 0 0 0)      opacity: 1
     .is-closing → clip-path: inset(0% 0 0 0)     opacity: 0

   clip-path is used instead of transform + overflow:hidden.
   The bio always sits at inset:0 (its final position); the clip
   wipes it open top-to-bottom. This eliminates the iOS Safari
   overflow:hidden / 3D-transform clipping bug and any compositor
   conflict with the image hover scale.
   ─────────────────────────────────────────────────────────────── */

/* Closed state — bio clipped to zero height from the bottom */
body.is-who-we-are .wwa-advisory-rail__bio {
  position: absolute;
  inset: 0;
  z-index: 20;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: rgba(18, 18, 18, 0.97);
  color: var(--color-paper, #f8f6f2);
  clip-path: inset(100% 0 0 0);
  opacity: 0;
  pointer-events: none;
  transition:
    clip-path 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity   220ms ease;
}

/* Open state — bio fully revealed */
body.is-who-we-are .wwa-advisory-rail__card.is-open .wwa-advisory-rail__bio {
  clip-path: inset(0% 0 0 0);
  opacity: 1;
  pointer-events: auto;
}

/* Closing state — bio stays revealed, opacity fades only.
   JS removes .is-open + .is-closing after 280ms. */
body.is-who-we-are .wwa-advisory-rail__card.is-closing .wwa-advisory-rail__bio {
  clip-path: inset(0% 0 0 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

@media (prefers-reduced-motion: reduce) {
  body.is-who-we-are .wwa-advisory-rail__bio,
  body.is-who-we-are .wwa-advisory-rail__card.is-closing .wwa-advisory-rail__bio {
    transition: none;
  }
}

.wwa-advisory-rail__bio-scroll {
  flex: 1;
  min-height: 0;         /* prevents flex child overflow-clipping bug */
  overflow-y: auto;
  overscroll-behavior: contain;
  /* top padding leaves room for the X button */
  padding: 54px 24px 20px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.wwa-advisory-rail__bio-scroll::-webkit-scrollbar { width: 2px; }
.wwa-advisory-rail__bio-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.20);
  border-radius: 2px;
}

.wwa-advisory-rail__bio-role {
  font-size: 0.60rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.44);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.wwa-advisory-rail__bio-name {
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0 0 13px 0;
}

.wwa-advisory-rail__bio-text {
  font-size: clamp(15px, 1vw, 16px);
  line-height: 1.55;
  color: rgba(248, 246, 242, 0.82);
}

/* X close — top-right corner of the overlay */
.wwa-advisory-rail__bio-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--color-paper, #f8f6f2);
  opacity: 0.9;
  transition: opacity 160ms ease;
  flex-shrink: 0;
}

.wwa-advisory-rail__bio-close:hover,
.wwa-advisory-rail__bio-close:focus-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .wwa-advisory-rail__bio-close { transition: none; }
}

/* "Former" badge — floats top-left on Chris Thomas's card */
.wwa-advisory-rail__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 246, 242, 0.72);
  background: transparent;
  border: none;
  padding: 0;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ── Former board ────────────────────────────────────────────── */
.wwa-advisory-rail__former {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-subtle);
}

.wwa-advisory-rail__former-label {
  margin-bottom: var(--space-6);
}

/* Former cards: narrower */
.wwa-advisory-rail__track--former .wwa-advisory-rail__card {
  width: 280px;
}

@media (min-width: 641px) and (max-width: 1023px) {
  .wwa-advisory-rail__track--former .wwa-advisory-rail__card {
    width: 240px;
  }
}

@media (max-width: 640px) {
  .wwa-advisory-rail__track--former .wwa-advisory-rail__card {
    width: 72vw;
    max-width: 280px;
  }
}

/* Slightly muted portrait for former members */
.wwa-advisory-rail__track--former .wwa-advisory-rail__image {
  opacity: 0.62;
}

/* ── Section divider ─────────────────────────────────────────── */
.section-rule {
  border: none;
  border-top: 1px solid var(--color-border-subtle);
  margin: var(--space-12) 0 0;
}

/* ================================================================
   Advisory Board — Concept C  (2×3 grid, round portraits)
   Namespace: .wwa-advisory-grid__*
   Chris Thomas is card #6 in the same grid, badged "Former".
   ================================================================ */

/* ── Section header ──────────────────────────────────────────── */
.wwa-advisory-grid__header {
  max-width: 52ch;
  margin-bottom: var(--space-10);
}

.wwa-advisory-grid__intro {
  margin-top: var(--space-4);
  font-size: var(--type-body-lg);
  line-height: 1.55;
  color: var(--color-text-secondary);
}

/* ── Grid ────────────────────────────────────────────────────── */
.wwa-advisory-grid__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: start;    /* prevents stretching to tallest card */
}

@media (max-width: 1023px) {
  .wwa-advisory-grid__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .wwa-advisory-grid__cards {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* ── Card shell ──────────────────────────────────────────────── */
.wwa-advisory-grid__card {
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--color-border-subtle);
  background: #ffffff;
  padding: 28px 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 220ms ease;
}

.wwa-advisory-grid__card:hover {
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.07);
}

@media (prefers-reduced-motion: reduce) {
  .wwa-advisory-grid__card          { transition: none; }
  .wwa-advisory-grid__card:hover    { box-shadow: none; }
}

/* ── "Former" badge — top-left, only on Thomas ───────────────── */
.wwa-advisory-grid__badge {
  align-self: flex-start;
  margin-bottom: 16px;
  display: inline-block;
  font-size: 0.55rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border-subtle);
  border-radius: 3px;
  padding: 2px 7px;
  line-height: 1.7;
}

/* ── Round portrait ─────────────────────────────────────────── */
.wwa-advisory-grid__portrait {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
  margin-bottom: 18px;
  flex-shrink: 0;
}

/* ── Text body ───────────────────────────────────────────────── */
.wwa-advisory-grid__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.wwa-advisory-grid__name {
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  margin: 0 0 6px 0;
}

.wwa-advisory-grid__role {
  font-size: 0.73rem;
  line-height: 1.45;
  color: var(--color-text-secondary);
  margin: 0 0 18px 0;
}

/* "View bio" trigger */
.wwa-advisory-grid__trigger {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.74rem;
  font-family: inherit;
  color: var(--color-text-primary);
  letter-spacing: 0.02em;
  position: relative;
  line-height: 1.4;
  margin-top: auto;
}

.wwa-advisory-grid__trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15em;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 200ms ease;
  pointer-events: none;
}

.wwa-advisory-grid__card:hover .wwa-advisory-grid__trigger::after,
.wwa-advisory-grid__trigger:focus-visible::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .wwa-advisory-grid__trigger::after { transition: none; }
}

/* ── In-card bio overlay ─────────────────────────────────────── */
.wwa-advisory-grid__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.94);
  border-radius: 12px;          /* match card */
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.wwa-advisory-grid__card.is-open .wwa-advisory-grid__overlay {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .wwa-advisory-grid__overlay { transition: none; }
}

.wwa-advisory-grid__overlay-inner {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 26px 24px 12px;
  text-align: left;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

.wwa-advisory-grid__overlay-inner::-webkit-scrollbar { width: 2px; }
.wwa-advisory-grid__overlay-inner::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.20);
  border-radius: 2px;
}

.wwa-advisory-grid__overlay-name {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.wwa-advisory-grid__overlay-role {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.44);
  margin: 0 0 13px 0;
  line-height: 1.3;
}

.wwa-advisory-grid__bio {
  font-size: 0.73rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.76);
}

/* Close — pinned at bottom */
.wwa-advisory-grid__overlay-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: none;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 12px 24px;
  cursor: pointer;
  font-size: 0.70rem;
  font-family: inherit;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.40);
  transition: color 160ms ease;
}

.wwa-advisory-grid__overlay-close:hover,
.wwa-advisory-grid__overlay-close:focus-visible {
  color: rgba(255, 255, 255, 0.88);
}

@media (prefers-reduced-motion: reduce) {
  .wwa-advisory-grid__overlay-close { transition: none; }
}

/* ================================================================
   Careers page
   ================================================================ */
.careers-hero__title {
  font-size: var(--type-display);
  line-height: 1.05;
  letter-spacing: var(--tracking-title);
  margin: var(--space-3) 0 var(--space-8);
  max-width: 18ch;
}
.careers-hero__lead { max-width: 62ch; display: grid; gap: var(--space-5); }
.careers-hero__lead p { font-size: var(--type-body-lg); line-height: 1.6; color: var(--color-text-secondary); }

.careers-sec-head { max-width: 62ch; margin-bottom: var(--space-10); }
.careers-sec-title {
  font-size: var(--type-title);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  margin: var(--space-3) 0 0;
}
.careers-sec-sub {
  font-size: var(--type-body-lg);
  line-height: 1.55;
  color: var(--color-text-secondary);
  margin-top: var(--space-4);
  max-width: 60ch;
}

/* Culture & values — white cards */
.careers-values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 768px) { .careers-values { grid-template-columns: repeat(3, 1fr); } }
.careers-value { padding-top: var(--space-5); border-top: 1px solid var(--color-border-subtle); }
.careers-value__title { font-size: var(--type-subtitle); line-height: 1.2; letter-spacing: var(--tracking-title); margin: 0 0 var(--space-4); }
.careers-value__text { font-size: var(--type-body); line-height: 1.55; color: var(--color-text-secondary); }

/* Our teams — three columns with top rule */
.careers-teams { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 768px) { .careers-teams { grid-template-columns: repeat(3, 1fr); gap: var(--space-10); } }
.careers-team__icon { display: block; width: 34px; height: 34px; margin-bottom: var(--space-5); color: var(--color-text-primary); }
.careers-team__icon svg { width: 100%; height: 100%; display: block; }
.careers-team__title { font-size: var(--type-subtitle); line-height: 1.2; letter-spacing: var(--tracking-title); margin: 0 0 var(--space-3); }
.careers-team__text { font-size: var(--type-body); line-height: 1.55; color: var(--color-text-secondary); }

/* Open positions */
.careers-roles-head { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: flex-end; justify-content: space-between; max-width: none; }
.careers-roles { list-style: none; margin: 0; padding: 0; }
.careers-role {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: var(--space-6);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-border-subtle);
  text-decoration: none;
  color: var(--color-text-primary);
}
.careers-roles li:last-child .careers-role { border-bottom: 1px solid var(--color-border-subtle); }
.careers-role__title { grid-column: 1; grid-row: 1; font-size: var(--type-subtitle); letter-spacing: var(--tracking-title); transition: color var(--motion-quick) var(--ease-standard); }
.careers-role__meta { grid-column: 1; grid-row: 2; margin-top: var(--space-1); font-size: var(--type-body); color: var(--color-text-secondary); }
.careers-role__arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: var(--type-subtitle); transition: transform var(--motion-quick) var(--ease-standard); }
.careers-role:hover .careers-role__title { color: var(--color-action-primary); }
.careers-role:hover .careers-role__arrow { transform: translateX(4px); }

/* People team */
.careers-people { display: grid; grid-template-columns: 1fr; gap: var(--space-8); align-items: center; }
@media (min-width: 768px) { .careers-people { grid-template-columns: 1.2fr 1fr; gap: var(--space-16); } }
.careers-people__lead { font-size: var(--type-body-lg); line-height: 1.55; color: var(--color-text-secondary); margin-top: var(--space-4); max-width: 42ch; }
.careers-people__card { background: #fff; border-radius: 6px; padding: var(--space-8); }
.careers-people__portrait { width: 96px; height: 96px; border-radius: 6px; object-fit: cover; display: block; margin-bottom: var(--space-5); }
.careers-people__name { font-size: var(--type-subtitle); letter-spacing: var(--tracking-title); }
.careers-people__role { color: var(--color-text-secondary); margin: var(--space-1) 0 var(--space-4); }

/* ================================================================
   Job detail + application form
   ================================================================ */
.job-back { margin-bottom: var(--space-6); }
.job-hero__title { font-size: var(--type-display); line-height: 1.05; letter-spacing: var(--tracking-title); margin: var(--space-3) 0 var(--space-6); max-width: 20ch; }
.job-meta { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-3); margin: 0 0 var(--space-8); padding: 0; }
.job-meta__item { font-size: var(--type-body); color: var(--color-text-secondary); padding: 6px 14px; border: 1px solid var(--color-border-subtle); border-radius: 999px; background: transparent; }

.job-body { display: grid; grid-template-columns: 1fr; gap: var(--space-12); align-items: start; }
@media (min-width: 900px) { .job-body { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-16); } }
.job-content__h2 { font-size: var(--type-subtitle); letter-spacing: var(--tracking-title); margin: var(--space-10) 0 var(--space-4); }
.job-content__h2:first-child { margin-top: 0; }
.job-content > p { font-size: var(--type-body-lg); line-height: 1.6; color: var(--color-text-secondary); max-width: 62ch; }
.job-list { margin: 0; padding-left: 1.2em; display: grid; gap: var(--space-2); }
.job-list li { font-size: var(--type-body-lg); line-height: 1.55; color: var(--color-text-secondary); }
.job-note { font-size: var(--type-body); color: var(--color-text-secondary); font-style: italic; margin-top: var(--space-8); }

.job-apply { position: relative; }
.job-apply:focus, .job-apply:focus-visible { outline: none; }
@media (min-width: 900px) { .job-apply__card { position: sticky; top: 96px; } }
.job-apply__card { background: #fff; border-radius: 8px; padding: var(--space-8); }
.job-apply__title { font-size: var(--type-subtitle); letter-spacing: var(--tracking-title); }
.job-apply__sub { font-size: var(--type-body); color: var(--color-text-secondary); margin: var(--space-2) 0 var(--space-6); }
.job-form { display: grid; gap: var(--space-5); }
.job-form__row { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
@media (min-width: 520px) { .job-form__row { grid-template-columns: 1fr 1fr; } }
.job-field { display: grid; gap: var(--space-2); }
.job-field label { font-size: var(--type-body); color: var(--color-text-primary); }
.job-field input, .job-field textarea { width: 100%; font: inherit; color: var(--color-text-primary); padding: 10px 12px; border: 1px solid var(--color-border-subtle); border-radius: 4px; background: #fff; }
.job-field textarea { resize: vertical; }
.job-field input:focus, .job-field textarea:focus { outline: 2px solid var(--color-action-primary); outline-offset: 1px; border-color: transparent; }
.job-field input[type="file"] { padding: 8px; }
.job-field__hint { font-size: var(--type-caption); color: var(--color-text-secondary); }
.job-consent { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--type-body); color: var(--color-text-secondary); }
.job-consent input { margin-top: 3px; flex: none; }
.job-form__note { font-size: var(--type-caption); color: var(--color-text-secondary); margin-top: var(--space-2); }

/* Careers — hero image, stats, and section imagery */
.careers-hero__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-10); align-items: center; }
@media (min-width: 900px) { .careers-hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-16); } }
.careers-hero__copy { min-width: 0; }
.careers-hero__media { margin: 0; border-radius: 8px; overflow: hidden; }
.careers-hero__media img { display: block; width: 100%; height: auto; aspect-ratio: 11 / 8; object-fit: cover; }
.careers-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin: var(--space-12) 0 0; padding-top: var(--space-8); border-top: 1px solid var(--color-border-subtle); }
.careers-stat dd { font-size: var(--type-title); letter-spacing: var(--tracking-title); line-height: 1.1; }
.careers-stat dt { font-size: var(--type-body); color: var(--color-text-secondary); margin-top: var(--space-1); }

/* Culture cards now lead with imagery (no top rule) */
.careers-value { padding-top: 0; border-top: none; }
.careers-value__media { margin: 0 0 var(--space-5); border-radius: 6px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--color-surface-page-soft); }
.careers-value__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Team cards lead with a portrait image */
.careers-team__media { margin: 0 0 var(--space-6); border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--color-surface-page-soft); }
.careers-team__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Careers — team tabs (vertical rail, like the live careers page) */
.careers-tabs { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 900px) { .careers-tabs { grid-template-columns: 260px 1fr; gap: var(--space-16); align-items: start; } }
.careers-tabs__rail { display: flex; flex-direction: column; gap: var(--space-2); }
.careers-tab { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); width: 100%; text-align: left; padding: var(--space-4) var(--space-5); border: none; border-radius: 8px; background: transparent; font: inherit; font-size: var(--type-body-lg); color: var(--color-text-secondary); cursor: pointer; transition: background-color var(--motion-quick) var(--ease-standard), color var(--motion-quick) var(--ease-standard); }
.careers-tab:hover { color: var(--color-text-primary); }
.careers-tab.is-active { background: #fff; color: var(--color-text-primary); }
.careers-tab__chev { display: inline-flex; width: 20px; height: 20px; opacity: 0; transition: opacity var(--motion-quick) var(--ease-standard); }
.careers-tab__chev svg { width: 100%; height: 100%; }
.careers-tab.is-active .careers-tab__chev { opacity: 1; }
.careers-panel { display: none; }
.careers-panel.is-active { display: grid; gap: var(--space-8); }
@media (min-width: 768px) { .careers-panel.is-active { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-16); align-items: stretch; } }
.careers-panel__body { display: flex; flex-direction: column; }
.careers-panel__media { margin: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; background: var(--color-surface-page-soft); }
.careers-panel__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.careers-panel__title { font-size: var(--type-subtitle); line-height: 1.2; letter-spacing: var(--tracking-title); margin: 0 0 var(--space-4); }
.careers-panel__text { font-size: var(--type-body-lg); line-height: 1.6; color: var(--color-text-secondary); margin: 0 0 var(--space-8); }
.careers-points { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: flex; flex-direction: column; }
@media (min-width: 768px) { .careers-points { margin-top: auto; } }
.careers-points li { display: flex; gap: var(--space-5); align-items: center; font-size: var(--type-body); padding: var(--space-5) 0; border-top: 1px solid var(--color-border-subtle); }
.careers-points__ico { display: inline-flex; width: 30px; height: 30px; flex: none; color: var(--color-text-primary); }
.careers-points__ico svg { width: 100%; height: 100%; }
/* keep the stroke thin regardless of icon size (was scaling up too heavy) */
.careers-points__ico svg,
.careers-points__ico svg * { vector-effect: non-scaling-stroke; stroke-width: 1.5; }

/* Careers — people contact reuses the IP contact-card style, single & compact */
.careers-people__grid { grid-template-columns: 1fr; max-width: 420px; }

/* Careers — hero KPI boxes (white, like Impact/Aurora) */
.careers-kpi { list-style: none; margin: var(--space-20, 80px) 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--space-6); }
@media (min-width: 768px) { .careers-kpi { grid-template-columns: repeat(3, 1fr); } }
.careers-kpi__item { background: #fff; border-radius: 6px; padding: var(--space-8); display: grid; gap: var(--space-2); align-content: start; }
.careers-kpi__icon { width: 28px; height: 28px; color: var(--color-text-primary); margin-bottom: var(--space-6); }
.careers-kpi__icon svg { width: 100%; height: 100%; }
.careers-kpi__value { font-size: var(--type-title); line-height: 1.05; letter-spacing: var(--tracking-title); }
.careers-kpi__label { font-size: var(--type-body-lg); letter-spacing: var(--tracking-title); margin-top: var(--space-1); }
.careers-kpi__note { font-size: var(--type-body); line-height: 1.55; color: var(--color-text-secondary); margin-top: var(--space-2); max-width: 34ch; }

/* Job application — thank-you state (after submit) */
.job-thanks { text-align: center; padding: var(--space-6) 0; outline: none; }
.job-thanks__badge { width: 56px; height: 56px; margin: 0 auto var(--space-5); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--color-action-primary); color: #fff; }
.job-thanks__badge svg { width: 28px; height: 28px; }
.job-thanks__title { font-size: var(--type-subtitle); line-height: 1.2; letter-spacing: var(--tracking-title); margin-bottom: var(--space-3); }
.job-thanks__text { font-size: var(--type-body); line-height: 1.55; color: var(--color-text-secondary); max-width: 40ch; margin: 0 auto; }

/* ================================================================
   News & Media — overview + article detail
   ================================================================ */
.news-hero__title { font-size: var(--type-display); line-height: 1.05; letter-spacing: var(--tracking-title); margin: var(--space-3) 0 var(--space-4); }
.news-hero__lead { font-size: var(--type-body-lg); line-height: 1.55; color: var(--color-text-secondary); max-width: 55ch; }

/* Lead article */
.news-lead-sec { padding-top: 0; }
.news-lead { display: grid; grid-template-columns: 1fr; gap: var(--space-8); text-decoration: none; color: var(--color-text-primary); }
@media (min-width: 900px) { .news-lead { grid-template-columns: 1.2fr 1fr; gap: var(--space-16); align-items: start; } }
.news-lead__media { margin: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--color-surface-page-soft); }
.news-lead__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--motion-enter) var(--ease-standard); }
.news-lead:hover .news-lead__media img { transform: scale(1.02); }
.news-lead__meta { font-size: var(--type-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-text-secondary); }
.news-lead__title { font-size: var(--type-title); line-height: var(--leading-title); letter-spacing: var(--tracking-title); margin: var(--space-3) 0; }
.news-lead__excerpt { font-size: var(--type-body-lg); line-height: 1.55; color: var(--color-text-secondary); }
.news-lead__cta { display: inline-block; margin-top: var(--space-5); color: var(--color-action-primary); }

/* Article grid */
.news-grid-sec { padding-top: 0; }
.news-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-10) var(--space-8); }
@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.news-card__link { text-decoration: none; color: var(--color-text-primary); display: flex; flex-direction: column; }
.news-card__media { margin: 0 0 var(--space-4); border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--color-surface-page-soft); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--motion-enter) var(--ease-standard); }
.news-card__link:hover .news-card__media img { transform: scale(1.03); }
.news-card__meta { font-size: var(--type-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-text-secondary); }
.news-card__title { font-size: var(--type-subtitle); line-height: 1.25; letter-spacing: var(--tracking-title); margin: var(--space-2) 0; transition: color var(--motion-quick) var(--ease-standard); }
.news-card__link:hover .news-card__title { color: var(--color-action-primary); }
.news-card__excerpt { font-size: var(--type-body); line-height: 1.55; color: var(--color-text-secondary); }

/* Press strip */
.news-press__strip { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(24px, 5vw, 56px); margin-top: var(--space-10); }
.news-press__strip img { height: 30px; width: auto; opacity: 0.55; filter: grayscale(1); }

/* Media resources */
.news-resources { display: grid; grid-template-columns: 1fr; gap: var(--space-10); align-items: start; }
@media (min-width: 900px) { .news-resources { grid-template-columns: 1.3fr 1fr; gap: var(--space-16); } }
.news-resources__lead { font-size: var(--type-body-lg); line-height: 1.55; color: var(--color-text-secondary); margin: var(--space-4) 0 var(--space-6); max-width: 52ch; }
.news-resources__note { font-size: var(--type-caption); color: var(--color-text-secondary); margin-top: var(--space-4); max-width: 60ch; }
.news-resources__contact .ip-contact-card { margin-top: var(--space-4); }

/* Article detail — left-aligned editorial layout */
.article-back { margin-bottom: var(--space-6); }
.article-title { font-size: var(--type-title); line-height: var(--leading-title); letter-spacing: var(--tracking-title); margin: var(--space-4) 0; max-width: 30ch; }
.article-meta { font-size: var(--type-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-text-secondary); }
.article-summary { font-size: var(--type-subtitle); line-height: 1.4; color: var(--color-text-secondary); max-width: 62ch; margin: var(--space-5) 0 0; }
.article-figure { margin: var(--space-12) 0 0; }
.article-figure img { width: 100%; height: auto; border-radius: 8px; display: block; }
.article-body { max-width: 74ch; margin: var(--space-12) auto 0; }
.article-body > p { font-size: var(--type-body-lg); line-height: 1.7; margin: 0 0 var(--space-5); }
.article-body h2 { font-size: var(--type-subtitle); letter-spacing: var(--tracking-title); line-height: 1.25; margin: var(--space-10) 0 var(--space-4); }
.article-body h3 { font-size: var(--type-body-lg); letter-spacing: var(--tracking-title); margin: var(--space-8) 0 var(--space-3); }
.article-body ul, .article-body ol { margin: 0 0 var(--space-5); padding-left: 1.2em; display: grid; gap: var(--space-2); }
.article-body li { font-size: var(--type-body-lg); line-height: 1.6; }
.article-body a { color: var(--color-action-primary); }
.article-body blockquote { border-left: 2px solid var(--color-border-subtle); padding-left: var(--space-5); margin: var(--space-6) 0; color: var(--color-text-secondary); }
.article-body img { max-width: 100%; height: auto; border-radius: 6px; margin: var(--space-6) 0; }

/* Homepage press-strip marquee (reused 1:1 on News overview) */
.press-strip {
  background: #FBF9F0;                 /* cream surface, per brief */
  color: var(--color-text-primary);
  /* Symmetric vertical rhythm matching News and Milestones. Section
     padding-block provides equal breathing room above the border (from
     the Milestones content end) and below the border (before the
     marquee viewport begins). */
  padding-block: clamp(56px, 7vw, 96px);
  /* The hairline sits on the SECTION (unmasked), not on the inner
     viewport (which carries the left/right fade mask). That keeps the
     line a normal solid subtle rule — it does NOT fade with the
     logos. */
  border-top: 1px solid var(--color-border-subtle);
}
.press-strip__viewport {
  position: relative;
  /* r52 — reverted r48's content-width formula. The wider previous
     sizing reads better visually, so we go back to OUTER-width
     matching .container (max-width + padding-inline). The fade
     mask spans the outer box; it overlaps slightly with what would
     be other sections' padding-inline area, but that wider band
     was preferred over the strictly content-aligned version. */
  width: 100%;
  max-width: var(--layout-max);
  margin-inline: auto;
  padding-inline: var(--layout-gutter);
  box-sizing: border-box;
  overflow: hidden;
  /* The previous border-top + padding-top has moved to .press-strip
     (the unmasked parent). This element is responsible only for the
     fade mask and for clipping the wider track — nothing else. */
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg,
    transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.press-strip__track {
  display: flex;
  width: max-content;
  /* Calm, premium speed. translateX 0 → -50% over 36s = one full cycle
     every 36s. Linear so the motion never accelerates or decelerates
     (any easing would betray the seam at the loop point). */
  animation: pressMarqueeSlide 36s linear infinite;
  will-change: transform;
}
.press-strip__logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  /* Internal logo spacing. */
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  /* Trailing padding equals the internal gap so the spacing between
     the last logo of list 1 and the first logo of list 2 reads as one
     normal gap — making the translateX(-50%) loop visually seamless. */
  padding-inline-end: clamp(var(--space-12), 6vw, var(--space-20));
}
.press-strip__item {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;                      /* never shrink under flex pressure */
  /* No card, no shadow, no border. */
}
.press-strip__logo {
  display: block;
  /* Per the brief: every logo renders at 100px tall by default; width
     stays auto so each mark keeps its native aspect ratio. No per-logo
     optical-balance override — Al Arabiya's stacked mark is allowed to
     read taller within its natural bounding box at the shared height. */
  height: 100px;
  width: auto;
  object-fit: contain;
  /* Marks are already dark / black PNGs from the Webflow export; render
     them at a slightly muted opacity so the row reads as supportive
     proof rather than competing with adjacent sections. */
  opacity: 0.82;
}
@keyframes pressMarqueeSlide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 767px) {
  .press-strip {
    padding-block: clamp(36px, 10vw, 56px);
  }
  .press-strip__logos {
    gap: clamp(40px, 14vw, 64px);
    padding-inline-end: clamp(40px, 14vw, 64px);
  }
  .press-strip__logo {
    height: clamp(72px, 18vw, 84px);
    max-height: none;
    max-width: clamp(140px, 42vw, 190px);
  }
  .press-strip__track { animation-duration: 28s; }
}
@media (prefers-reduced-motion: reduce) {
  .press-strip__track {
    animation: none;
    transform: none;
    justify-content: center;
    width: 100%;
  }
  .press-strip__logos {
    flex-wrap: wrap;
    justify-content: center;
    padding-inline-end: 0;
  }
  .press-strip__logos[aria-hidden="true"] { display: none; }
  .press-strip__viewport {
    -webkit-mask-image: linear-gradient(90deg,
      transparent 0%, #000 4%, #000 96%, transparent 100%);
            mask-image: linear-gradient(90deg,
      transparent 0%, #000 4%, #000 96%, transparent 100%);
  }
}
/* ================================================================
   Contact page
   ================================================================ */
.contact-hero__title { font-size: var(--type-display); line-height: 1.05; letter-spacing: var(--tracking-title); margin: var(--space-3) 0 var(--space-4); }
.contact-hero__lead { font-size: var(--type-body-lg); line-height: 1.55; color: var(--color-text-secondary); max-width: 55ch; }
.contact-figure { margin: 0 0 var(--space-8); border-radius: 8px; overflow: hidden; }
.contact-figure img { display: block; width: 100%; height: auto; }
.contact-main-sec { }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-12); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.3fr 0.7fr; gap: var(--space-16); } }
.contact-col-title { font-size: var(--type-subtitle); letter-spacing: var(--tracking-title); margin: 0 0 var(--space-6); }
.contact-detail { padding: var(--space-5) 0; border-top: 1px solid var(--color-border-subtle); }
.contact-detail:first-of-type { border-top: none; padding-top: 0; }
.contact-detail__label { font-size: var(--type-eyebrow); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--color-text-secondary); margin-bottom: var(--space-2); }
.contact-detail__value { font-size: var(--type-body-lg); line-height: 1.5; }

/* ================================================================
   Legal pages (imprint, privacy) — left-aligned, wider prose
   ================================================================ */
.is-legal .long-form { max-width: var(--layout-max); }  /* same centered 1440 container as the header/hero */
.is-legal .long-form > * { max-width: 80ch; }    /* readable, left-aligned column at the page edge */
.is-legal .section--no-pad { padding-bottom: clamp(72px, 9vw, 128px); }  /* air before the closer/footer */
