/* tokens.css */
/* ==========================================================================
   Design tokens — MEASURED from the live site's computed styles.

   Provenance and a correction worth recording: an earlier version of this file
   was derived by counting how often each value appeared in the Elementor CSS
   files. That is the wrong signal — a declaration count reflects how many widget
   rules mention a value, not what the page actually renders. It produced a body
   size of 15px (really 16px), #353535 as the text colour (really #3A3A3A, and
   #353535 renders nowhere), indigo headings (indigo is a *background*), pill
   buttons (really 30px), and a 1200px fixed container (really 62.5% of the
   viewport).

   Everything below is read from getComputedStyle() on the rendered pages at
   viewport widths 1600, 1280 and 375. Where a value looks odd it is still
   recorded as measured — e.g. 10.4px and 14.4px are real, the result of
   Elementor applying a global 0.8 font scale, and the mobile h1 genuinely keeps
   a 56px line-height at a 35px font size.
   ========================================================================== */

:root {
  /* --- Layout -------------------------------------------------------------
     The single most important measurement. Content is NOT a fixed-width
     container: each section pads 18.75% on both sides, leaving a content column
     of 62.5% of the viewport, with a 1200px cap on the inner box that only
     binds above a ~1920px viewport.
        1280 viewport -> 791px content
        1600 viewport -> 991px content
     Expressed here as a width rather than padding, which is equivalent and
     simpler: 100% - 2 x 18.75% = 62.5%. Mobile pads 5%, so 90%. */
  --content-w: 62.5%;
  --content-max: 1200px;

  --header-h: 69px;

  /* --- Colour -------------------------------------------------------------
     Measured on rendered elements, not from CSS declarations. */
  --text: #000000;          /* body copy, and h1 on light backgrounds */
  --heading: #3a3a3a;       /* every h4 on the site; also the hero backdrop */
  --white: #ffffff;
  --violet: #ab56fc;        /* links and buttons */
  --cyan: #25d3ff;          /* link accent on dark */
  --indigo: #131b4b;        /* footer background — never used as text */
  --mist: #95b5bc;          /* statement-band background */
  --banner-purple: #ab0dfa; /* CI and Contact page banner, behind its image */
  --grey-legal: #adadad;    /* footer copyright line */
  --grey-label: #a9a9a9;    /* office labels on the contact page */
  --footer-link: rgb(255 255 255 / 0.83);
  /* #a9a9a9 and #adadad are only 7 apart but both are genuinely in use, on
     different elements — an earlier pass nearly merged them. Left distinct. */

  /* Kept for surfaces that need a light tint. */
  --grey-100: #f5f5f5;

  /* --- Typography ---------------------------------------------------------
     Poppins only for Latin; "SUIT Variable" resolves solely for Hangul via a
     unicode-range (see base.css), which /terms-of-use/ needs. */
  --font-sans: "Poppins", "SUIT Variable", system-ui, -apple-system, "Segoe UI",
    "Malgun Gothic", sans-serif;

  /* Body: 16px/28px desktop, 15px/25px mobile. */
  --fs-body: 16px;
  --lh-body: 28px;

  /* h1: 44px/56px desktop, 35px/56px mobile (line-height does not shrink). */
  --fs-h1: 44px;
  --lh-h1: 56px;

  /* Section subheadings render as h4 at 32px/38.4px. */
  --fs-h2: 32px;
  --lh-h2: 38.4px;

  /* Card and person titles, also h4, at 20px/24px — unchanged on mobile. */
  --fs-h3: 20px;
  --lh-h3: 24px;

  /* Section headings on the CI and Contact pages render as h3 at 25px/32.5px in
     pure black — a different treatment from the 32px #3a3a3a used elsewhere. */
  --fs-h3-section: 25px;
  --lh-h3-section: 32.5px;

  /* Supporting copy inside the CI motif blocks: the same 10.4px as team roles,
     but on a 17.6px line. */
  --fs-micro-body: 10.4px;
  --lh-micro-body: 17.6px;

  /* Office addresses on the contact page. */
  --fs-address: 12px;
  --lh-address: 22.4px;

  /* Hero standfirst: 15px/28px at weight 300, noticeably lighter than body. */
  --fs-lede: 15px;
  --lh-lede: 28px;

  /* Micro label used for team roles. Elementor's 0.8 scale applied to 13px. */
  --fs-micro: 10.4px;
  --lh-micro: 17px;

  /* Navigation links: 14.4px, laid out on a 68px line so they fill the bar. */
  --fs-nav: 14.4px;
  --lh-nav: 68px;
  --nav-pad-x: 14.4px;

  /* Footer: column headings, links, then the copyright line. */
  --fs-footer-head: 18px;
  --lh-footer-head: 23.4px;
  --fs-footer-link: 14px;
  --lh-footer-link: 28px;
  --fs-legal: 12px;
  --lh-legal: 15.6px;

  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;

  /* --- Buttons -----------------------------------------------------------
     Measured: 13px/13px, weight 500, 1px letter-spacing, 30px radius,
     11px/25px padding, transparent with violet text and border. */
  --fs-btn: 13px;
  --btn-pad-y: 11px;
  --btn-pad-x: 25px;
  --btn-radius: 30px;
  --btn-tracking: 1px;

  /* --- Spacing -----------------------------------------------------------
     Section padding measured 0 — vertical rhythm comes from element margins,
     not section padding. These are the margin steps actually observed. */
  --space-1: 5px;
  --space-2: 10px;
  --space-3: 12px;   /* the body paragraph's own margin-bottom */
  --space-4: 20px;
  --space-5: 25px;
  --space-6: 30px;
  --space-7: 35px;
  --space-8: 40px;
  --space-10: 50px;
  --space-12: 60px;
  --space-14: 70px;
  --space-16: 80px;
  --space-20: 100px;

  /* Hero is exactly viewport height on the pages built with a full hero
     (home, about-us). CI and Contact instead use a fixed 600px banner. */
  --hero-h: 100vh;
  --banner-h: 600px;

  /* /terms-of-use/ is a plain WordPress page, not an Elementor one, so it uses
     Astra's own 1200px container rather than the 62.5% Elementor measure. */
  --content-legal: 1200px;

  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --z-header: 100;
  --z-menu: 200;
}

/* Mobile overrides, measured at a 375 viewport. */
@media (max-width: 767px) {
  :root {
    --content-w: 90%;
    --fs-body: 15px;
    --lh-body: 25px;
    --fs-h1: 35px;
    --fs-h2: 26px;
  }
}

/* Tablet sits between the two padding regimes. */
@media (min-width: 768px) and (max-width: 1024px) {
  :root {
    --content-w: 80%;
    --fs-h2: 28px;
  }
}


/* base.css */
/* ==========================================================================
   Base — resets and element defaults, all sizing from tokens.css (measured).
   ========================================================================== */

/* Poppins, self-hosted. Only the four weights the site actually uses ship, so
   there is no font CDN and the CSP stays simple (same approach as the blog). */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/poppins-300.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/poppins-600.woff2") format("woff2");
}

/* SUIT Variable, subset to only the Hangul actually published (see
   scripts/fetch-fonts.mjs). The unicode-range means browsers fetch it solely on
   pages containing Korean — in practice just /terms-of-use/. Poppins has no
   Hangul, so without this the Korean legal text would fall back to a system
   font, which is what the WordPress site avoided by loading SUIT. */
@font-face {
  font-family: "SUIT Variable";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("/assets/fonts/suit-ko.woff2") format("woff2");
  unicode-range: U+1100-11FF, U+2460-24FF, U+3000-303F, U+3130-318F, U+30FB, U+AC00-D7A3;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Anchored sections (#about-team, #platform-roadmap, …) must not land under
     the fixed header. */
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-normal);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

/* Measured: h1 is 44px/56px weight 600 and inherits its colour from the section
   (black on light, white over a hero). h2 and h3 render as #3a3a3a. */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--fw-semibold);
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  color: inherit;
}

h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  color: var(--heading);
}

h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  color: var(--heading);
}

h4 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  color: var(--heading);
}

p {
  /* Measured margin-bottom on body paragraphs is 12px. */
  margin: 0 0 var(--space-3);
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--violet);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--text);
}

/* Visible focus for keyboard users — the WordPress theme suppressed this. */
:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 2px;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul,
ol {
  margin: 0 0 var(--space-3);
  padding-left: var(--space-4);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

hr {
  height: 1px;
  margin: var(--space-8) 0;
  border: 0;
  background: rgb(0 0 0 / 0.12);
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: var(--space-2);
  z-index: calc(var(--z-menu) + 1);
  padding: var(--space-2) var(--space-3);
  background: var(--indigo);
  color: var(--white);
  border-radius: 4px;
  transform: translateY(-200%);
  transition: transform var(--transition);
}
.skip-link:focus {
  color: var(--white);
  transform: translateY(0);
}

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


/* layout.css */
/* ==========================================================================
   Layout — the measured container model, sections, header and footer.

   The container is the key correction. The original is not a fixed-width
   container: each section pads 18.75% either side, leaving a content column at
   62.5% of the viewport — 791px at 1280, 991px at 1600 — capped at 1200px.
   Expressed here as a width, which is equivalent and avoids percentage-padding
   arithmetic. Breakpoints 768 / 1025, matching the source.
   ========================================================================== */

.container {
  width: var(--content-w);
  max-width: var(--content-max);
  margin-inline: auto;
}

/* Header and footer share the same measure as body content. */
.container--wide {
  width: var(--content-w);
  max-width: var(--content-max);
}

.container--narrow {
  max-width: 760px;
}

/* /terms-of-use/ is a plain WordPress page on the original, so it uses Astra's
   1200px container rather than the 62.5% Elementor measure — noticeably wider
   than every other page. Matched here for fidelity; it does make for a long line
   length at 16px, which is the original's choice, not an improvement on it. */
.container--legal {
  width: 100%;
  max-width: var(--content-legal);
  padding-inline: var(--space-7);
  margin-inline: auto;
}

@media (max-width: 767px) {
  .container--legal {
    padding-inline: 5%;
  }
}

/* --- Page sections ------------------------------------------------------
   Measured section padding is 0 — the original takes its height from inner
   element margins. Hand-authored HTML needs an explicit step, so these
   reproduce the observed gaps between blocks. */

.section {
  padding-block: var(--space-16);
}
.section--tight {
  padding-block: var(--space-10);
}
.section--lg {
  padding-block: var(--space-20);
}
.section--flush {
  padding-block: 0;
}

.section--tint {
  background: var(--grey-100);
}
.section--mist {
  background: var(--mist);
}
.section--indigo {
  background: var(--indigo);
  color: var(--white);
}
.section--indigo :is(h1, h2, h3, h4) {
  color: var(--white);
}

.section-head {
  margin-bottom: var(--space-10);
}
.section-head--center {
  text-align: center;
}
.section-head > :is(h1, h2) + p {
  margin-top: var(--space-4);
}

/* --- Grids -------------------------------------------------------------- */

.grid {
  display: grid;
  gap: var(--space-7);
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-12);
  align-items: center;
}

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

@media (max-width: 767px) {
  .section {
    padding-block: var(--space-12);
  }
  .section--lg {
    padding-block: var(--space-14);
  }
  .grid--2,
  .grid--3,
  .grid--4,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }
  .split {
    gap: var(--space-7);
  }
  .section-head {
    margin-bottom: var(--space-7);
  }
}

/* --- Site header --------------------------------------------------------
   Measured 69px tall and transparent over the hero. The original sits in normal
   flow at the top of the page and becomes fixed once scrolled (Astra's sticky
   behaviour); site.js mirrors that with .is-stuck. */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color var(--transition), box-shadow var(--transition);
}

.site-header.is-stuck,
.site-header.is-open {
  position: fixed;
  background: var(--white);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
}

/* Pages with no hero need the bar solid, and content pushed clear of it. */
body:not(.has-hero) .site-header {
  position: fixed;
  background: var(--white);
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
}
body:not(.has-hero) .site-main {
  padding-top: var(--header-h);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.site-header__logo {
  flex: 0 0 auto;
  line-height: 0;
}
.site-header__logo img {
  width: 180px;
  height: auto;
}
/* Over the dark hero the mark shows in white; once the bar turns solid it
   reverts. One asset, inverted, rather than two files. */
body.has-hero .site-header:not(.is-stuck):not(.is-open) .site-header__logo img {
  filter: brightness(0) invert(1);
}

/* --- Site footer -------------------------------------------------------
   Measured: indigo background, column headings 18px/23.4px weight 500 white,
   links 14px/28px weight 300 at 83% white, copyright 12px/15.6px #adadad. */

.site-footer {
  padding-block: var(--space-16) 0;
  background: var(--indigo);
  color: var(--footer-link);
  font-size: var(--fs-footer-link);
  line-height: var(--lh-footer-link);
  font-weight: var(--fw-light);
}

.site-footer a {
  color: var(--footer-link);
}
.site-footer a:hover {
  color: var(--white);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: var(--space-10);
  padding-bottom: var(--space-12);
}

.site-footer__brand img {
  width: 200px;
  margin-bottom: var(--space-4);
}

.site-footer__tagline {
  color: var(--white);
  font-size: var(--fs-footer-head);
  line-height: var(--lh-footer-head);
  font-weight: var(--fw-medium);
}

.site-footer__meta {
  margin-top: var(--space-3);
}

.site-footer__col h2 {
  margin-bottom: var(--space-3);
  color: var(--white);
  font-size: var(--fs-footer-head);
  line-height: var(--lh-footer-head);
  font-weight: var(--fw-medium);
  text-transform: none;
  letter-spacing: normal;
}

.site-footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Measured: the copyright strip is its own 51px indigo band. */
.site-footer__bottom {
  margin-top: var(--space-4);
  padding-block: var(--space-4);
  border-top: 1px solid rgb(255 255 255 / 0.12);
  color: var(--grey-legal);
  font-size: var(--fs-legal);
  line-height: var(--lh-legal);
}

@media (max-width: 1024px) {
  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-8);
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-7);
  }
}


/* components.css */
/* ==========================================================================
   Components — nav, buttons, hero, cards, team, timeline, prose, contact.
   All sizing from measured computed styles (see tokens.css).
   ========================================================================== */

/* --- Primary navigation --------------------------------------------------
   Measured: links 14.4px on a 68px line box, 14.4px horizontal padding, which
   is what makes them fill the 69px bar. */

.nav__list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-inline: var(--nav-pad-x);
  color: var(--text);
  font-size: var(--fs-nav);
  line-height: var(--lh-nav);
  font-weight: var(--fw-normal);
  white-space: nowrap;
}
.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--violet);
}

body.has-hero .site-header:not(.is-stuck):not(.is-open) .nav__link {
  color: var(--white);
}
body.has-hero .site-header:not(.is-stuck):not(.is-open) .nav__link:hover {
  color: var(--cyan);
}

.nav__caret {
  width: 9px;
  height: 9px;
  transition: transform var(--transition);
}
.nav__item.is-open > .nav__link .nav__caret {
  transform: rotate(180deg);
}

.nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  margin: 0;
  padding: var(--space-1) 0;
  list-style: none;
  background: var(--white);
  box-shadow: 0 6px 18px rgb(0 0 0 / 0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.nav__item:hover > .nav__submenu,
.nav__item:focus-within > .nav__submenu,
.nav__item.is-open > .nav__submenu {
  opacity: 1;
  visibility: visible;
}

.nav__submenu a {
  display: block;
  padding: var(--space-2) var(--space-4);
  color: var(--text);
  font-size: var(--fs-nav);
  line-height: 1.6;
  white-space: nowrap;
}
.nav__submenu a:hover {
  color: var(--violet);
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  margin-right: -10px;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition),
    background-color var(--transition);
}
.nav__toggle span + span {
  margin-top: 5px;
}
body.has-hero .site-header:not(.is-stuck):not(.is-open) .nav__toggle span {
  background: var(--white);
}
.site-header.is-open .nav__toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-open .nav__toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.is-open .nav__toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .nav__toggle {
    display: block;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    z-index: var(--z-menu);
    display: none;
    padding: var(--space-2) 5% var(--space-7);
    background: var(--white);
    box-shadow: 0 6px 18px rgb(0 0 0 / 0.12);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .site-header.is-open .nav {
    display: block;
  }
  .nav__list {
    display: block;
  }
  .nav__item + .nav__item {
    border-top: 1px solid rgb(0 0 0 / 0.08);
  }
  .nav__link {
    justify-content: space-between;
    width: 100%;
    padding-inline: 0;
    line-height: 1;
    padding-block: var(--space-4);
    font-size: var(--fs-body);
  }
  body.has-hero .site-header .nav__link {
    color: var(--text);
  }
  .nav__submenu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 var(--space-2) var(--space-4);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__item.is-open > .nav__submenu {
    display: block;
  }
}

/* --- Buttons ------------------------------------------------------------
   Measured: 13px/13px, weight 500, 1px letter-spacing, uppercase, 30px radius,
   11px/25px padding. The default on the live site is an outlined violet button,
   not a filled pill. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 1px solid var(--violet);
  border-radius: var(--btn-radius);
  color: var(--violet);
  font-size: var(--fs-btn);
  line-height: 1;
  font-weight: var(--fw-medium);
  letter-spacing: var(--btn-tracking);
  text-transform: uppercase;
  text-align: center;
  transition: background-color var(--transition), color var(--transition),
    border-color var(--transition);
}

.btn:hover {
  background: var(--violet);
  color: var(--white);
}

.btn--primary {
  background: var(--violet);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--indigo);
  border-color: var(--indigo);
  color: var(--white);
}

.btn--on-dark {
  border-color: rgb(255 255 255 / 0.5);
  color: var(--white);
}
.btn--on-dark:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--text);
}

/* --- Small pieces ------------------------------------------------------- */

/* Follows the site's own label idiom (violet, 13px, 1px tracking, uppercase),
   the same treatment the buttons use. */
.eyebrow {
  margin: 0;
  color: var(--violet);
  font-size: var(--fs-btn);
  line-height: 1.4;
  font-weight: var(--fw-medium);
  letter-spacing: var(--btn-tracking);
  text-transform: uppercase;
}

/* Measured: hero standfirst is 15px/28px at weight 300 — lighter than body. */
.lede {
  font-size: var(--fs-lede);
  line-height: var(--lh-lede);
  font-weight: var(--fw-light);
}

.card > :is(h2, h3, h4) {
  margin-bottom: var(--space-2);
}

.media {
  overflow: hidden;
}

/* --- Hero ---------------------------------------------------------------
   Measured: exactly viewport height, backdrop #3a3a3a with a background image,
   h1 44px/56px in white, standfirst 15px/28px weight 300. */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--hero-h);
  background: var(--heading);
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero__media,
.hero__media video,
.hero__media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(0 0 0 / 0.42);
}

.hero h1 {
  color: var(--white);
}

.hero .lede {
  margin-top: var(--space-4);
  color: var(--white);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

/* --- Banner -------------------------------------------------------------
   CI and Contact open with a fixed 600px band rather than a full-height hero:
   #ab0dfa behind CI-_-contact-banner.jpg, h1 44px/56px white, standfirst
   16px/28px white (note: 16px here, unlike the hero's 15px weight-300 lede). */

.banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--banner-h);
  background: var(--banner-purple);
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.banner img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner h1 {
  color: var(--white);
}
.banner p {
  margin-top: var(--space-4);
  color: var(--white);
}

@media (max-width: 767px) {
  .banner {
    min-height: 420px;
  }
}

/* --- Statement band -----------------------------------------------------
   Measured background is #95b5bc, not indigo. */

.statement {
  padding-block: var(--space-20);
  background: var(--mist);
  text-align: center;
}
.statement h2 {
  max-width: 24ch;
  margin-inline: auto;
  color: var(--white);
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
}

/* --- Team ---------------------------------------------------------------
   Measured: names are h4 at 20px/24px #3a3a3a; roles are 10.4px/17px. */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-7);
}

.person__photo {
  overflow: hidden;
  margin-bottom: var(--space-4);
  background: var(--grey-100);
  aspect-ratio: 1;
}
.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person h3 {
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
}
.person p {
  margin: 0;
  color: var(--text);
  font-size: var(--fs-micro);
  line-height: var(--lh-micro);
}

@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
  }
}

/* --- Timeline -----------------------------------------------------------
   Measured: year labels are h4 at 32px/38.4px. */

.timeline {
  display: grid;
  gap: var(--space-12);
}

.timeline__year {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: var(--space-7);
  align-items: start;
}

.timeline__label {
  margin: 0;
  color: var(--heading);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: var(--fw-semibold);
}

.timeline__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgb(0 0 0 / 0.1);
}

.timeline__row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: var(--space-4);
  padding-block: var(--space-3);
  border-bottom: 1px solid rgb(0 0 0 / 0.1);
  font-size: var(--fs-footer-link);
  line-height: 1.6;
}

.timeline__month {
  color: var(--violet);
  font-weight: var(--fw-medium);
  letter-spacing: var(--btn-tracking);
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .timeline__year {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2);
  }
  .timeline__row {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: var(--space-3);
  }
}

/* --- CTA band with a background image ----------------------------------- */

.cta-band {
  position: relative;
  padding-block: var(--space-20);
  background: var(--heading);
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}
.cta-band img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(0 0 0 / 0.5);
}
.cta-band :is(h1, h2) {
  color: var(--white);
}
.cta-band a {
  color: var(--cyan);
}

/* --- Feature rows (icon + title + copy) --------------------------------- */

.feature__icon {
  height: 64px;
  margin-bottom: var(--space-4);
}
.feature__icon img {
  height: 100%;
  width: auto;
}
.feature h3 {
  margin-bottom: var(--space-2);
  text-transform: uppercase;
}

/* --- Legal pages -------------------------------------------------------
   Measured on the live page, which is a plain WordPress page rather than an
   Elementor one: a 1200px container, and legal copy at 16px/28px — the same as
   body text, not the smaller size used elsewhere.

   The article titles are `strong` inside a paragraph on the original, i.e. bold
   body text with no heading semantics. They are emitted as real h3 elements here
   so the document has a navigable outline for screen readers, but styled at
   16px/28px weight 700 to render exactly as the original does. Structure
   improved, appearance unchanged. */

.section--legal {
  padding-top: 0;
}
.section--legal .prose {
  /* Undoes .prose's 760px measure, but must restate the legal container's cap:
     `none` here would out-specify .container--legal and let the text run the
     full viewport width. */
  max-width: var(--content-legal);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.section--legal .prose h2 {
  margin-top: var(--space-16);
  margin-bottom: var(--space-4);
  color: var(--text);
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
}
.section--legal .prose h3 {
  margin-top: var(--lh-body);
  margin-bottom: 0;
  color: var(--text);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 700;
}
.section--legal .prose :is(p, li) {
  color: var(--text);
}
.prose {
  max-width: 760px;
}
.prose :is(h2, h3):first-child {
  margin-top: 0;
}
.prose li + li {
  margin-top: var(--space-1);
}
.prose a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Contact ------------------------------------------------------------ */

/* Measured: the contact page's lead line is 44px/56px in black, the same size as
   an h1, despite sitting below the banner's h1. */
.contact-lead {
  max-width: 20ch;
  color: var(--text);
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-7);
}

.contact-email {
  margin-top: var(--space-5);
  font-size: var(--fs-footer-link);
}

/* Measured: office labels are h3 at 25px/32.5px weight 600 in #a9a9a9 — grey,
   not violet, and not a small uppercase label. Addresses are 12px/22.4px. */
.office h3 {
  margin-bottom: var(--space-2);
  color: var(--grey-label);
  font-size: var(--fs-h3-section);
  line-height: var(--lh-h3-section);
  font-weight: var(--fw-semibold);
  letter-spacing: normal;
  text-transform: none;
}
.office address {
  font-size: var(--fs-address);
  line-height: var(--lh-address);
  font-style: normal;
}

/* CI section headings and their supporting copy. */
.ci-section > h3 {
  margin-bottom: var(--space-6);
  color: var(--text);
  font-size: var(--fs-h3-section);
  line-height: var(--lh-h3-section);
}
.ci-note {
  font-size: var(--fs-micro-body);
  line-height: var(--lh-micro-body);
}
