/* ==========================================================================
   MAVEN HELM - Design System
   Colombo, Sri Lanka
   --------------------------------------------------------------------------
   Visual language: the monochrome restraint and oversized display typography
   of toyokoh.com, carried on the cinematic photography, hairline grid and
   structured corporate sections of intergestcanada.com.
   Brand purple (#450792) sampled directly from the Maven Helm logo and used
   as the single accent - never as a gradient wash.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */

:root {
  /* Brand ------------------------------------------------------------------ */
  --brand:        #450792;  /* sampled from the logo */
  --brand-700:    #3A0679;
  --brand-500:    #5C17B8;
  --brand-300:    #A882E8;  /* 6.3:1 on --ink - for accents on dark */
  --brand-100:    #EDE6F9;
  --brand-050:    #F6F2FC;

  /* Neutrals --------------------------------------------------------------- */
  --ink:          #15131C;  /* near-black, faint violet cast */
  --ink-800:      #211E2C;
  --ink-600:      #37323F;
  --muted:        #5C5868;  /* 5.9:1 on --paper */
  --muted-dark:   #A09AAE;  /* 6.6:1 on --ink */
  --line:         #E3E0EA;  /* decorative rules only */
  --line-control: #8E899A;  /* 3.4:1 on white, 3.2:1 on paper - WCAG 1.4.11 */
  --placeholder:  #706C7A;  /* 5.1:1 on white */
  --line-dark:    rgba(255, 255, 255, .14);
  --paper:        #F7F6FA;
  --white:        #FFFFFF;

  /* Semantic --------------------------------------------------------------- */
  --bg:           var(--paper);
  --fg:           var(--ink);
  --accent:       var(--brand);
  --danger:       #B3261E;
  --success:      #1B6B3A;

  /* Type ------------------------------------------------------------------- */
  /* System-first: Apple devices render genuine SF Pro / SF Mono; everywhere
     else Inter stands in, which is metrically and optically very close.      */
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text',
               'Inter', 'Segoe UI Variable', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', SFMono-Regular, 'JetBrains Mono', Menlo, Consolas, monospace;

  /* Fluid type scale (clamp: min / fluid / max) ----------------------------- */
  --t-display:  clamp(2.75rem, 1.2rem + 7.2vw, 8.5rem);
  --t-h1:       clamp(2.25rem, 1.1rem + 5.2vw, 5.75rem);
  --t-h2:       clamp(1.875rem, 1.1rem + 3.2vw, 3.75rem);
  --t-h3:       clamp(1.375rem, 1.05rem + 1.3vw, 2rem);
  --t-h4:       clamp(1.125rem, 1rem + .5vw, 1.375rem);
  --t-lead:     clamp(1.0625rem, 1rem + .45vw, 1.375rem);
  --t-body:     1rem;
  --t-sm:       .9375rem;
  --t-label:    .75rem;

  /* Space ------------------------------------------------------------------ */
  --space-1: .25rem;  --space-2: .5rem;   --space-3: .75rem;
  --space-4: 1rem;    --space-5: 1.5rem;  --space-6: 2rem;
  --space-7: 3rem;    --space-8: 4rem;    --space-9: 6rem;
  --space-10: 8rem;   --space-11: 10rem;

  --section-y:  clamp(4.5rem, 2rem + 9vw, 10rem);
  --gutter:     clamp(1.25rem, .5rem + 3.2vw, 4rem);
  --maxw:       87.5rem;  /* 1400 */
  --maxw-text:  46rem;    /* ~68ch */

  /* Lines, radii, shadow --------------------------------------------------- */
  --radius-pill: 100px;
  --radius-sm: 2px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(21, 19, 28, .06), 0 2px 8px rgba(21, 19, 28, .04);
  --shadow-md: 0 2px 4px rgba(21, 19, 28, .05), 0 12px 32px rgba(21, 19, 28, .08);
  --shadow-lg: 0 8px 24px rgba(21, 19, 28, .10), 0 32px 64px rgba(21, 19, 28, .12);

  /* Motion ----------------------------------------------------------------- */
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-in-out: cubic-bezier(.65, .05, .36, 1);
  --ease-emph: cubic-bezier(.16, 1, .3, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 620ms;

  /* Layering --------------------------------------------------------------- */
  --z-base: 0; --z-raised: 10; --z-sticky: 40; --z-header: 60;
  --z-overlay: 80; --z-modal: 100; --z-skip: 200;

  --header-h: 5rem;
}

@media (min-width: 64rem) { :root { --header-h: 6rem; } }

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -.022em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--line); }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

strong, b { font-weight: 700; }

::selection { background: var(--brand); color: #fff; }

/* Focus - always visible, never removed ------------------------------------ */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible,
.section--dark :focus-visible { outline-color: var(--brand-300); }

.skip-link {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -140%);
  z-index: var(--z-skip);
  background: var(--ink); color: #fff;
  padding: .875rem 1.5rem;
  font-size: var(--t-sm); font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus-visible { transform: translate(-50%, 0); }

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

/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 1.5rem + 6vw, 6rem); }
.section--flush-top { padding-top: 0; }

.section--dark {
  background: var(--ink);
  color: var(--white);
}
.section--dark .eyebrow { color: var(--brand-300); }
.section--dark .lead,
.section--dark .body-text { color: var(--muted-dark); }

.section--paper { background: var(--paper); }
.section--white { background: var(--white); }

.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 48rem) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Editorial split: sticky label column + content column -------------------- */
.split { display: grid; gap: var(--space-6); align-items: start; }
/* Grid and flex children default to min-width:auto, so anything that scrolls
   sideways inside one blows the column out to its full content width instead
   of scrolling. This keeps the column at its track width. */
.split > *, .grid > *, .tile-grid > * { min-width: 0; }
@media (min-width: 64rem) {
  .split {
    grid-template-columns: minmax(12rem, 20%) 1fr;
    gap: clamp(2rem, 5vw, 6rem);
  }
  .split__aside { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY COMPONENTS
   -------------------------------------------------------------------------- */

/* Mono eyebrow: (01) - CAPABILITIES ---------------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-mono);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 var(--space-5);
}
.eyebrow::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: currentColor;
  opacity: .32;
  max-width: 6rem;
}
.eyebrow--plain::after { display: none; }

.eyebrow__num { opacity: .55; }

/* Display headline. Mixed weight is the signature move:
   light by default, .hl--em spans carry the weight.                          */
.display {
  font-size: var(--t-display);
  font-weight: 300;
  line-height: .96;
  letter-spacing: -.046em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h1 {
  font-size: var(--t-h1);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -.042em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h2 {
  font-size: var(--t-h2);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -.036em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h3 {
  font-size: var(--t-h3);
  font-weight: 500;
  line-height: 1.26;
  letter-spacing: -.024em;
  text-wrap: balance;
}
.h4 {
  font-size: var(--t-h4);
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: -.018em;
}

.hl--em { font-weight: 600; }
.hl--accent { color: var(--brand); }
.section--dark .hl--accent { color: var(--brand-300); }

.lead {
  font-size: var(--t-lead);
  line-height: 1.5;
  letter-spacing: -.018em;
  color: var(--muted);
  font-weight: 400;
  max-width: var(--maxw-text);
  text-wrap: pretty;
}
.body-text {
  color: var(--muted);
  max-width: var(--maxw-text);
  text-wrap: pretty;
}
.body-text + .body-text { margin-top: var(--space-4); }

.measure-wide { max-width: 58rem; }

/* Long user-supplied tokens (emails, URLs) must reflow, never overflow ------ */
.wrap-anywhere { overflow-wrap: anywhere; }

/* --------------------------------------------------------------------------
   5. BUTTONS & LINKS
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  --btn-bd: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .625rem;
  min-height: 3rem;              /* ≥44px touch target */
  padding: .875rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: .005em;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
  touch-action: manipulation;
}
/* Wipe fill - colour only, so layout bounds never shift */
.btn::before {
  content: '';
  position: absolute; inset: 0;
  z-index: -1;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-slow) var(--ease-emph);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:hover, .btn:focus-visible { color: #fff; border-color: var(--brand); }
.btn:active { transform: scale(.985); }

.btn--primary { --btn-bg: var(--brand); --btn-bd: var(--brand); }
.btn--primary::before { background: var(--ink); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-control);
}
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--brand); }

.btn--on-dark {
  --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.35);
}
.btn--on-dark::before { background: var(--white); }
.btn--on-dark:hover, .btn--on-dark:focus-visible { color: var(--ink); border-color: var(--white); }

.btn--glass {
  --btn-bg: rgba(255,255,255,.12);
  --btn-fg: var(--white);
  --btn-bd: rgba(255,255,255,.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn--glass::before { background: var(--white); }
.btn--glass:hover, .btn--glass:focus-visible { color: var(--ink); border-color: var(--white); }

.btn__icon { flex: none; width: 1rem; height: 1rem; transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(3px); }

/* Text link with underline that draws in ----------------------------------- */
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 2.75rem;
  font-size: var(--t-sm); font-weight: 600;
  color: var(--ink);
  transition: color var(--dur) var(--ease-out);
}
.link-arrow__text { position: relative; }
.link-arrow__text::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right center;
  transition: transform var(--dur) var(--ease-emph);
}
.link-arrow:hover .link-arrow__text::after,
.link-arrow:focus-visible .link-arrow__text::after { transform: scaleX(1); transform-origin: left center; }
.link-arrow:hover { color: var(--brand); }
.link-arrow svg { flex: none; width: .9375rem; height: .9375rem; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }
.section--dark .link-arrow { color: var(--white); }
.section--dark .link-arrow:hover { color: var(--brand-300); }

/* --------------------------------------------------------------------------
   6. HEADER / NAV
   -------------------------------------------------------------------------- */

.header {
  position: fixed; inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header__inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5);
}

/* Over a dark hero the header is transparent with white marks;
   once scrolled (or on light pages) it becomes a solid paper bar.            */
.header--over-hero { color: var(--white); }
.header.is-stuck {
  background: rgba(247, 246, 250, .88);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
  color: var(--ink);
}

.brand { display: inline-flex; align-items: center; gap: .75rem; min-height: 2.75rem; }
.brand__img { height: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); width: auto; background: none; }
.brand__img--light { display: none; }
.header--over-hero:not(.is-stuck) .brand__img--light { display: block; }
.header--over-hero:not(.is-stuck) .brand__img--dark { display: none; }

.nav { display: none; }
@media (min-width: 64rem) {
  .nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.5rem); }
}
.nav__link {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 2.75rem;
  font-size: .875rem; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
  transition: color var(--dur) var(--ease-out);
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .6rem;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right center;
  transition: transform var(--dur) var(--ease-emph);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left center; }
.nav__link[aria-current='page']::after { transform: scaleX(1); background: var(--brand); }
.header--over-hero:not(.is-stuck) .nav__link[aria-current='page']::after { background: var(--white); }
.nav__link[aria-current='page'] { font-weight: 700; }

.header__actions { display: flex; align-items: center; gap: var(--space-3); }
.header__cta { display: none; }
@media (min-width: 64rem) { .header__cta { display: inline-flex; } }
.header--over-hero:not(.is-stuck) .header__cta {
  --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.4);
}
.header--over-hero:not(.is-stuck) .header__cta::before { background: var(--white); }
.header--over-hero:not(.is-stuck) .header__cta:hover { color: var(--ink); }

/* Menu toggle -------------------------------------------------------------- */
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.875rem; height: 2.875rem;       /* 46px */
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
  touch-action: manipulation;
}
.menu-toggle:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (min-width: 64rem) { .menu-toggle { display: none; } }

.menu-toggle__bars { position: relative; width: 1.125rem; height: .625rem; }
.menu-toggle__bars span {
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: transform var(--dur) var(--ease-emph), opacity var(--dur-fast) linear;
}
.menu-toggle__bars span:first-child { top: 0; }
.menu-toggle__bars span:last-child { bottom: 0; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* Mobile overlay menu ------------------------------------------------------ */
.menu {
  position: fixed; inset: 0;
  z-index: var(--z-overlay);
  background: var(--ink);
  color: var(--white);
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 2rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), visibility var(--dur) step-end;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur) var(--ease-out), visibility 0s; }
@media (min-width: 64rem) { .menu { display: none; } }

.menu__list { display: flex; flex-direction: column; gap: .25rem; margin-bottom: auto; }
.menu__item { border-bottom: 1px solid var(--line-dark); }
.menu__link {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1.125rem 0;
  font-size: clamp(1.75rem, 1rem + 4.5vw, 2.75rem);
  font-weight: 300; letter-spacing: -.034em; text-transform: uppercase;
  line-height: 1.1;
  opacity: 0; transform: translateY(18px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out), color var(--dur) var(--ease-out);
}
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu.is-open .menu__item:nth-child(1) .menu__link { transition-delay: 60ms; }
.menu.is-open .menu__item:nth-child(2) .menu__link { transition-delay: 110ms; }
.menu.is-open .menu__item:nth-child(3) .menu__link { transition-delay: 160ms; }
.menu.is-open .menu__item:nth-child(4) .menu__link { transition-delay: 210ms; }
.menu.is-open .menu__item:nth-child(5) .menu__link { transition-delay: 260ms; }
.menu__link:hover { color: var(--brand-300); }
.menu__link[aria-current='page'] { font-weight: 600; }
.menu__num {
  font-family: var(--font-mono); font-size: .75rem; font-weight: 500;
  color: var(--brand-300); letter-spacing: .1em;
}
.menu__foot {
  padding-top: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-4);
}
.menu__meta { font-size: var(--t-sm); color: var(--muted-dark); }

/* --------------------------------------------------------------------------
   7. HERO
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + var(--space-7));
  padding-bottom: clamp(2.5rem, 1rem + 5vw, 5rem);
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.hero--page {
  min-height: auto;
  padding-top: calc(var(--header-h) + clamp(4rem, 2rem + 8vw, 9rem));
  padding-bottom: clamp(3rem, 1.5rem + 6vw, 7rem);
}

.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
/* Cool, desaturated cinematic grade with a violet floor */
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(21,19,28,.94) 0%, rgba(21,19,28,.62) 38%, rgba(21,19,28,.38) 68%, rgba(21,19,28,.55) 100%),
    linear-gradient(to right, rgba(69,7,146,.26) 0%, rgba(21,19,28,.1) 55%);
}

/* Hairline grid overlay - lifted from intergestcanada.com */
.hero__grid {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero__grid span {
  position: absolute; top: 0; bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.14);
}
.hero__grid span:nth-child(1) { left: 25%; }
.hero__grid span:nth-child(2) { left: 50%; }
.hero__grid span:nth-child(3) { left: 75%; }
.hero__grid::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: rgba(255,255,255,.14);
}
@media (max-width: 47.99rem) {
  .hero__grid span:nth-child(1), .hero__grid span:nth-child(3) { display: none; }
}

.hero__inner { position: relative; z-index: 2; width: 100%; }

.hero__title { margin-bottom: var(--space-6); }

.hero__sub {
  display: grid; gap: var(--space-5);
  align-items: end;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,.18);
}
@media (min-width: 64rem) {
  .hero__sub { grid-template-columns: 1fr auto; gap: var(--space-7); }
}
.hero__kicker {
  font-size: clamp(1.25rem, .9rem + 1.5vw, 2rem);
  font-weight: 300; text-transform: uppercase;
  letter-spacing: -.032em; line-height: 1.15;
  margin-bottom: var(--space-4);
}
.hero__copy {
  color: rgba(255,255,255,.82);
  max-width: 34rem;
  font-size: var(--t-sm);
  line-height: 1.7;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .6875rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.scroll-cue__line {
  display: block; width: 1px; height: 2rem;
  background: linear-gradient(to bottom, rgba(255,255,255,.7), transparent);
  animation: cue 2.4s var(--ease-in-out) infinite;
  transform-origin: top center;
}
@keyframes cue { 0%,100% { transform: scaleY(.3); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }
@media (max-width: 47.99rem) { .scroll-cue { display: none; } }

/* Page-hero breadcrumb ----------------------------------------------------- */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: var(--t-label);
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: var(--space-5);
}
.crumbs a { min-height: 2.75rem; display: inline-flex; align-items: center; }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current='page'] { color: var(--brand-300); }
.crumbs svg { width: .625rem; height: .625rem; opacity: .5; }

/* --------------------------------------------------------------------------
   8. CARDS & LISTS
   -------------------------------------------------------------------------- */

/* Numbered capability card ------------------------------------------------- */
.cap {
  position: relative;
  display: flex; flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6) 0 var(--space-6);
  border-top: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease-out);
}
.cap__num {
  font-family: var(--font-mono); font-size: var(--t-label);
  font-weight: 500; letter-spacing: .12em;
  color: var(--brand);
}
.cap__title { transition: color var(--dur) var(--ease-out); }
.cap__text { color: var(--muted); font-size: var(--t-sm); line-height: 1.7; }
.cap__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: var(--space-3); }
.tag {
  display: inline-flex; align-items: center;
  padding: .3rem .625rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: .6875rem; letter-spacing: .06em;
  color: var(--muted);
  background: var(--white);
}
.section--dark .tag { border-color: var(--line-dark); background: transparent; color: var(--muted-dark); }

a.cap:hover { border-top-color: var(--brand); }
a.cap:hover .cap__title { color: var(--brand); }

/* Sector tile - dark band -------------------------------------------------- */
.sector {
  display: flex; flex-direction: column; gap: .625rem;
  padding: var(--space-5) 0;
  border-top: 1px solid var(--line-dark);
}
.sector__num { font-family: var(--font-mono); font-size: var(--t-label); letter-spacing: .12em; color: var(--brand-300); }
.sector__name { font-size: var(--t-h4); font-weight: 600; letter-spacing: -.018em; }
.sector__text { font-size: var(--t-sm); color: var(--muted-dark); line-height: 1.65; }

/* Process step ------------------------------------------------------------- */
.step {
  display: grid; gap: var(--space-4);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 64rem) {
  .step { grid-template-columns: 8rem 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
}
.step__label {
  font-family: var(--font-mono); font-size: var(--t-label);
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
  padding-top: .35rem;
}
.step__list { display: flex; flex-direction: column; gap: var(--space-3); }
.step__list li {
  position: relative; padding-left: 1.5rem;
  font-size: var(--t-sm); color: var(--muted); line-height: 1.65;
}
.step__list li::before {
  content: ''; position: absolute; left: 0; top: .6rem;
  width: .4375rem; height: .4375rem; border-radius: 50%;
  background: var(--brand); opacity: .55;
}

/* Insight / news row ------------------------------------------------------- */
.insight {
  display: grid; gap: var(--space-3);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease-out);
}
@media (min-width: 64rem) {
  .insight { grid-template-columns: 9rem 10rem 1fr auto; align-items: center; gap: var(--space-5); }
}
.insight__date { font-family: var(--font-mono); font-size: var(--t-label); letter-spacing: .08em; color: var(--muted); }
.insight__title { font-size: var(--t-h4); font-weight: 500; letter-spacing: -.018em; transition: color var(--dur) var(--ease-out); }
.insight:hover { border-top-color: var(--brand); }
.insight:hover .insight__title { color: var(--brand); }
.insight--static:hover { border-top-color: var(--line); }
.insight--static:hover .insight__title { color: inherit; }
.insight__go { display: none; }
@media (min-width: 64rem) { .insight__go { display: inline-flex; } }

/* Principle / value card --------------------------------------------------- */
.principle {
  background: var(--white);
  border: 1px solid var(--line);
  padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-3);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.principle:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
.principle__icon {
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--brand-050);
  color: var(--brand);
  margin-bottom: var(--space-2);
}
.principle__icon svg { width: 1.25rem; height: 1.25rem; }
.principle__text { font-size: var(--t-sm); color: var(--muted); line-height: 1.7; }

/* Figure with caption ------------------------------------------------------ */
.figure { position: relative; overflow: hidden; background: var(--ink); }
.figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease-emph);
}
.figure--tall { aspect-ratio: 4 / 5; }
.figure--wide { aspect-ratio: 16 / 9; }
.figure--band { aspect-ratio: 21 / 9; }
@media (max-width: 47.99rem) { .figure--band { aspect-ratio: 4 / 3; } }

/* Full-bleed: spans the viewport, ignoring the container gutters entirely. */
.figure--bleed {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-top: var(--space-9);
}
@media (min-width: 48rem)  { .figure--bleed { aspect-ratio: 3 / 2; } }
@media (min-width: 64rem)  { .figure--bleed { aspect-ratio: 2 / 1; } }
@media (min-width: 100rem) { .figure--bleed { aspect-ratio: 21 / 9; max-height: 82vh; } }

/* A section ending in a bleed image runs flush into whatever follows. */
.section--flush-bottom { padding-bottom: 0; }
a:hover > .figure img, .figure:hover img { transform: scale(1.04); }

/* --------------------------------------------------------------------------
   8b. VISUAL TILES, CARD RAIL AND POST CARDS
   Structures borrowed from apple.com: large alternating light/dark tiles with
   the copy centred above the photograph, a snapping card rail, and image-led
   article cards. Apple's own hierarchy is kept - section headings stay in our
   uppercase display register, while tile and card headlines use their
   sentence-case 600 weight.
   -------------------------------------------------------------------------- */

/* Tile grid ---------------------------------------------------------------- */
.tile-grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 48rem) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }

.tile {
  position: relative;
  display: flex; flex-direction: column;
  min-height: clamp(23rem, 32vw, 31rem);
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
  text-align: center;
  border: 1px solid var(--line);
  transition: transform 520ms var(--ease-emph), box-shadow 520ms var(--ease-emph),
              border-color 320ms var(--ease-out);
}
.tile--dark { background: var(--ink); color: var(--white); border-color: transparent; }
a.tile:hover, a.tile:focus-visible { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
a.tile:hover { border-color: var(--brand); }

.tile__head {
  flex: 1 1 auto;
  padding: clamp(1.75rem, 2.6vw, 2.75rem) clamp(1.25rem, 2.6vw, 2.25rem)
           clamp(1rem, 1.8vw, 1.5rem);
}
.tile__title {
  font-size: clamp(1.375rem, 1.05rem + 1.3vw, 2rem);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
  text-wrap: balance;
}
.tile__sub {
  margin-top: .625rem;
  font-size: var(--t-sm);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}
.tile--dark .tile__sub { color: var(--muted-dark); }

.tile__more {
  margin-top: .875rem;
  display: inline-flex; align-items: center; gap: .3rem;
  min-height: 2.75rem;
  font-size: var(--t-sm); font-weight: 500;
  color: var(--brand);
}
.tile--dark .tile__more { color: var(--brand-300); }
.tile__more svg { width: .8125rem; height: .8125rem; transition: transform var(--dur) var(--ease-out); }
a.tile:hover .tile__more svg { transform: translateX(4px); }

.tile__media { position: relative; flex: 0 0 auto; height: clamp(10rem, 14.5vw, 14rem); overflow: hidden; }
.tile__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease-emph);
}
a.tile:hover .tile__media img { transform: scale(1.055); }

/* Card rail ---------------------------------------------------------------- */
.rail {
  position: relative;
  min-width: 0;
  --per: 1.15;                 /* cards in view; the fraction is the peek */
  /* distance from the content column's right edge out to the viewport edge */
  --rail-bleed: calc(max(0px, (100vw - var(--maxw)) / 2) + var(--gutter));
}
@media (min-width: 32rem) { .rail { --per: 1.6; } }
@media (min-width: 40rem) { .rail { --per: 2; } }
@media (min-width: 64rem) { .rail { --per: 3; } }
@media (min-width: 80rem) { .rail { --per: 4; } }
.rail__track {
  min-width: 0;
  /* run past the column to the viewport edge, Apple-style */
  margin-right: calc(-1 * var(--rail-bleed));
  display: flex; gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-block: .25rem 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track::after { content: ''; flex: 0 0 var(--rail-bleed); }
.rail__track:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 4px; border-radius: 4px; }

.rail__card {
  position: relative;
  flex: 0 0 auto;
  width: calc((100% - (var(--per) - 1) * var(--space-4)) / var(--per));
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--ink-800);
  isolation: isolate;
}
.rail__card img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transition: transform 1100ms var(--ease-emph);
}
.rail__card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom,
    rgba(12,10,18,.86) 0%, rgba(12,10,18,.42) 42%,
    rgba(12,10,18,.30) 62%, rgba(12,10,18,.80) 100%);
}
.rail__card:hover img { transform: scale(1.06); }

.rail__body { position: relative; padding: clamp(1.125rem, 1.8vw, 1.625rem); color: var(--white); }
.rail__eyebrow {
  font-family: var(--font-mono); font-size: .6875rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-300);
  margin-bottom: .5rem;
}
.rail__title {
  font-size: clamp(1.1875rem, 1rem + .8vw, 1.5rem);
  font-weight: 600; letter-spacing: -.026em; line-height: 1.15;
}
.rail__text {
  margin-top: .5rem;
  font-size: .875rem; line-height: 1.55;
  color: rgba(255, 255, 255, .84);
}

.rail__nav { display: flex; gap: .625rem; justify-content: flex-end; margin-top: var(--space-5); }
.rail__nav[hidden] { display: none; }
.rail__btn {
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  /* A hairline at 14% white measured 1.5:1 on the dark section - invisible.
     A filled disc with a 45% border reads clearly and clears WCAG 1.4.11. */
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .45);   /* 4.5:1 on --ink */
  border-radius: 50%;
  color: inherit;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
              opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  touch-action: manipulation;
}
.rail__btn svg { width: 1.0625rem; height: 1.0625rem; }
.rail__btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.rail__btn:active { transform: scale(.94); }
.rail__btn[disabled] { opacity: .32; pointer-events: none; }

/* A mouse has no sideways scroll, so the rail is draggable too. */
.rail__track { cursor: grab; }
.rail__track.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.rail__track.is-dragging .rail__card { pointer-events: none; }
.rail__card img { user-select: none; -webkit-user-drag: none; }

/* Practice block: a modest image beside the copy, sides alternating down the
   page. Replaces the full-bleed photographs on the services page, which were
   too many and too large for a page that is mostly reading.
   -------------------------------------------------------------------------- */
.practice { display: grid; gap: clamp(1.5rem, 3.2vw, 3rem); align-items: center; }

@media (min-width: 56rem) {
  .practice        { grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); }
  .practice--flip  { grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); }
  .practice--flip .practice__media { order: 2; }
}

.practice__media {
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4 / 3;
}
.practice__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transition: transform 900ms var(--ease-emph);
}
.practice:hover .practice__media img { transform: scale(1.04); }

/* The heading sits in a narrower column here, so rein in the display size. */
.practice__copy .h2 { font-size: clamp(1.625rem, 1rem + 2.2vw, 2.75rem); }

/* Leadership block --------------------------------------------------------- */
.leader { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }

.leader__media {
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink);
  /* the source is a wide stage photograph, shown at its own proportions so
     nothing of the scene is cropped away */
  aspect-ratio: 851 / 315;
}
.leader__media img { width: 100%; height: 100%; object-fit: cover; }

.leader__name { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); font-weight: 600; letter-spacing: -.028em; }
.leader__role {
  margin-top: .3rem;
  font-family: var(--font-mono);
  font-size: var(--t-label);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}

/* Image-led article cards -------------------------------------------------- */
.post {
  display: flex; flex-direction: column;
  border-radius: 20px; overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 520ms var(--ease-emph), box-shadow 520ms var(--ease-emph),
              border-color 320ms var(--ease-out);
}
a.post:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.post__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.post__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease-emph);
}
a.post:hover .post__media img { transform: scale(1.055); }
.post__body { flex: 1; display: flex; flex-direction: column; gap: .75rem; padding: clamp(1.25rem, 2vw, 1.625rem); }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .625rem; }
.post__date { font-family: var(--font-mono); font-size: var(--t-label); letter-spacing: .08em; color: var(--muted); }
.post__title {
  font-size: 1.0625rem; font-weight: 600;
  letter-spacing: -.022em; line-height: 1.32;
  text-wrap: pretty;
  transition: color var(--dur) var(--ease-out);
}
a.post:hover .post__title { color: var(--brand); }
.post__go { margin-top: auto; padding-top: .25rem; display: inline-flex; align-items: center; gap: .35rem;
            font-size: var(--t-sm); font-weight: 500; color: var(--brand); }
.post__go svg { width: .8125rem; height: .8125rem; transition: transform var(--dur) var(--ease-out); }
a.post:hover .post__go svg { transform: translateX(4px); }

/* Icons that draw themselves in when revealed ------------------------------ */
.icon-draw path, .icon-draw circle, .icon-draw line, .icon-draw polyline {
  stroke-dasharray: var(--len, 0);
  stroke-dashoffset: var(--len, 0);
  transition: stroke-dashoffset 1100ms var(--ease-emph);
  transition-delay: 120ms;
}
.is-in .icon-draw path, .is-in .icon-draw circle,
.is-in .icon-draw line, .is-in .icon-draw polyline { stroke-dashoffset: 0; }
.principle__icon { transition: transform 420ms var(--ease-emph), background-color var(--dur) var(--ease-out); }
.principle:hover .principle__icon { transform: scale(1.08); background: var(--brand-100); }

@media (prefers-reduced-motion: reduce) {
  .icon-draw path, .icon-draw circle, .icon-draw line, .icon-draw polyline {
    stroke-dasharray: none !important; stroke-dashoffset: 0 !important;
  }
  .rail__track { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   9. CTA BAND
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  padding-block: clamp(4rem, 2rem + 8vw, 9rem);
}
.cta-band__media { position: absolute; inset: 0; z-index: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(21,19,28,.96) 0%, rgba(21,19,28,.80) 50%, rgba(69,7,146,.50) 100%);
}
.cta-band__inner { position: relative; z-index: 1; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-7); }

/* --------------------------------------------------------------------------
   10. FORMS
   -------------------------------------------------------------------------- */

.form { display: grid; gap: var(--space-5); }
/* Honeypot: off screen rather than display:none, so bots that skip hidden
   fields still fill it. Never shown to people or to screen readers. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: grid; gap: .5rem; }
.field__label { font-size: var(--t-sm); font-weight: 600; letter-spacing: .01em; }
.field__req { color: var(--brand); margin-left: .15rem; }
.field__hint { font-size: .8125rem; color: var(--muted); }

.input, .textarea, .select {
  width: 100%;
  min-height: 3.25rem;              /* ≥44px */
  padding: .875rem 1rem;
  background: var(--white);
  border: 1px solid var(--line-control);
  border-radius: var(--radius);
  font-size: var(--t-body);          /* 16px - stops iOS zoom-on-focus */
  color: var(--ink);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.textarea { min-height: 9rem; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C5868' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.125rem;
  padding-right: 2.75rem;
}
.input:hover, .textarea:hover, .select:hover { border-color: var(--ink-600); }
.input:focus-visible, .textarea:focus-visible, .select:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-100);
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}
.input::placeholder, .textarea::placeholder { color: var(--placeholder); }

.field[data-invalid='true'] .input,
.field[data-invalid='true'] .textarea,
.field[data-invalid='true'] .select { border-color: var(--danger); }

.field__error {
  display: none;
  align-items: center; gap: .4rem;
  font-size: .8125rem; font-weight: 500;
  color: var(--danger);
}
.field__error svg { flex: none; width: .875rem; height: .875rem; }
.field[data-invalid='true'] .field__error { display: flex; }

.form__summary {
  display: none;
  padding: var(--space-5);
  border: 1px solid var(--danger);
  border-left-width: 3px;
  background: #FDF3F2;
  border-radius: var(--radius);
}
.form__summary[data-visible='true'] { display: block; }
.form__summary h2 { font-size: var(--t-h4); color: var(--danger); margin-bottom: .5rem; }
.form__summary ol { list-style: decimal; padding-left: 1.25rem; display: grid; gap: .375rem; }
.form__summary a { color: var(--danger); text-decoration: underline; text-underline-offset: 2px; font-size: var(--t-sm); }

.form__status {
  display: none;
  align-items: flex-start; gap: .625rem;
  padding: var(--space-5);
  border: 1px solid var(--success);
  border-left-width: 3px;
  background: #F1F8F3;
  border-radius: var(--radius);
  font-size: var(--t-sm);
}
.form__status[data-visible='true'] { display: flex; }
.form__status svg { flex: none; width: 1.125rem; height: 1.125rem; color: var(--success); margin-top: .1rem; }

.btn[aria-disabled='true'] { opacity: .5; pointer-events: none; }

.spinner {
  width: 1rem; height: 1rem; flex: none;
  border: 2px solid currentColor; border-right-color: transparent;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   11. CONTACT DETAILS
   -------------------------------------------------------------------------- */

.detail { display: grid; gap: .375rem; padding: var(--space-5) 0; border-top: 1px solid var(--line); }
.detail__label {
  font-family: var(--font-mono); font-size: var(--t-label);
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
}
.detail__value { font-size: var(--t-body); line-height: 1.6; }
.detail__value a { min-height: 2.75rem; display: inline-flex; align-items: center; }
.detail__value a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */

.footer { background: var(--ink); color: var(--white); padding-top: var(--section-y); }
.footer__top { display: grid; gap: var(--space-8); padding-bottom: var(--space-8); }
@media (min-width: 64rem) {
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-6); }
}
.footer__brandimg { height: 2.5rem; width: auto; background: none; margin-bottom: var(--space-5); }
.footer__blurb { font-size: var(--t-sm); color: var(--muted-dark); max-width: 24rem; line-height: 1.7; }
.footer__heading {
  font-family: var(--font-mono); font-size: var(--t-label);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-300); margin-bottom: var(--space-4);
}
.footer__list { display: flex; flex-direction: column; gap: .125rem; }
.footer__list a, .footer__list span {
  display: inline-flex; align-items: center; min-height: 2.5rem;
  font-size: var(--t-sm); color: rgba(255,255,255,.78);
  transition: color var(--dur) var(--ease-out);
}
.footer__list a:hover { color: var(--white); }
.footer__list .is-block {
  display: block; min-height: 0;
  padding-block: .4rem; line-height: 1.6;
}
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5) max(var(--space-5), env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-dark);
  font-size: .8125rem; color: var(--muted-dark);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-5); }
.footer__legal a { min-height: 2.5rem; display: inline-flex; align-items: center; }
.footer__legal a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   13. SCROLL REVEAL
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 760ms var(--ease-emph), transform 760ms var(--ease-emph);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* Dock magnification (macOS Dock) -----------------------------------------
   Words stay unbreakable so the headline never splits mid-word; each glyph
   gets an inner span that the pointer handler scales and nudges sideways.
   Only transforms are written, so magnifying never triggers a reflow.        */
.dock-word { display: inline-block; white-space: nowrap; }

.dock-ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(.45em);
  transition: opacity 560ms var(--ease-emph), transform 560ms var(--ease-emph);
  transition-delay: calc(var(--i, 0) * 26ms);
}
.dock.is-in .dock-ch { opacity: 1; transform: none; }

.dock-ch__i {
  display: inline-block;
  transform-origin: 50% 100%;   /* glyphs grow upward off the baseline */
  transition: transform 90ms linear;
}
/* Promote to its own layer only while the pointer is actually over the line. */
.dock.is-hot .dock-ch__i { will-change: transform; }
/* Settling back after the pointer leaves is the one part that should ease. */
.dock.is-settling .dock-ch__i { transition: transform 420ms var(--ease-emph); }

/* Letter-by-letter display reveal (Toyokoh) -------------------------------- */
.kinetic { display: inline-block; }
.kinetic__ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(.45em);
  transition: opacity 560ms var(--ease-emph), transform 560ms var(--ease-emph);
  transition-delay: calc(var(--i, 0) * 26ms);
}
.kinetic.is-in .kinetic__ch { opacity: 1; transform: none; }
.kinetic__sp { display: inline-block; width: .3em; }

/* No-JS: everything is visible and static ---------------------------------- */
.no-js [data-reveal],
.no-js .kinetic__ch,
.no-js .dock-ch { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   14. REDUCED MOTION
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], .kinetic__ch, .dock-ch { opacity: 1 !important; transform: none !important; }
  .dock-ch__i { transform: none !important; }
  .figure img { transform: none !important; }
  .scroll-cue__line { animation: none; }
}

/* --------------------------------------------------------------------------
   15. UTILITIES
   -------------------------------------------------------------------------- */

.stack-4 > * + * { margin-top: var(--space-4); }
.stack-5 > * + * { margin-top: var(--space-5); }
.stack-6 > * + * { margin-top: var(--space-6); }
.stack-7 > * + * { margin-top: var(--space-7); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.mt-8 { margin-top: var(--space-8); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.text-center { text-align: center; }

@media print {
  .header, .menu, .scroll-cue, .cta-band, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
