/* Fallback faces shaped like the web fonts (sized and spaced to match), so
   text drawn before Montserrat and Inter arrive takes nearly the same room
   and barely moves when they swap in. The web fonts load in the background
   (see each page's head), so the page never waits for them. */
@font-face { font-family: 'Montserrat Fallback'; src: local('Arial'), local('Helvetica'), local('Roboto'); size-adjust: 113.4%; ascent-override: 85.4%; descent-override: 22.2%; line-gap-override: 0%; }
@font-face { font-family: 'Inter Fallback'; src: local('Arial'), local('Helvetica'), local('Roboto'); size-adjust: 107.1%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }

/* ============================================================
   TwoFold Creatives — Design System (2026)
   Timeless, minimal, editorial. Brand: navy + teal.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --navy:        #104068;
  --navy-deep:   #0B2D4A;
  --navy-900:    #071E33;
  --teal:        #73BEC6;
  --teal-bright: #62BEC2;
  --teal-soft:   #8DD1D8;
  --ink:         #2C3E50;

  /* Neutrals */
  --paper:  #FFFFFF;
  --mist:   #F5F8FB;   /* light section bg */
  --cloud:  #EDF3F7;   /* slightly deeper light */
  --line:   rgba(16, 64, 104, 0.10);
  --line-strong: rgba(16, 64, 104, 0.18);
  --muted:  #5A6C7D;
  --muted-2: #7C8A98;

  /* On-dark */
  --on-navy:      rgba(255, 255, 255, 0.92);
  --on-navy-soft: rgba(255, 255, 255, 0.66);
  --on-navy-line: rgba(255, 255, 255, 0.14);

  /* Type */
  --font-display: 'Montserrat', 'Montserrat Fallback', 'Inter', system-ui, sans-serif;
  --font-body:    'Inter', 'Inter Fallback', system-ui, sans-serif;

  /* Fluid type scale */
  --fs-eyebrow: 0.8125rem;
  --fs-body:    clamp(1rem, 0.97rem + 0.2vw, 1.075rem);
  --fs-lead:    clamp(1.1rem, 1.02rem + 0.5vw, 1.3rem);
  --fs-h4:      clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --fs-h3:      clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem);
  --fs-h2:      clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);
  --fs-h1:      clamp(2.6rem, 1.9rem + 3.4vw, 5rem);
  --fs-display: clamp(3rem, 1.9rem + 5.4vw, 7.5rem);

  /* Spacing / layout */
  --container: 1200px;
  --container-wide: 1360px;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --section-y: clamp(4.5rem, 3rem + 7vw, 9rem);

  /* Radius / shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(16, 64, 104, 0.06);
  --shadow-md: 0 18px 40px -20px rgba(16, 64, 104, 0.28);
  --shadow-lg: 0 40px 80px -32px rgba(11, 45, 74, 0.45);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.6s;

  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip, never hidden: hidden makes the body a scroll container in some
     browsers, and on iPhone Safari that moves every pinned (sticky) element
     off the smooth scrolling path, which showed as the hero shaking. The
     first one-page site had no overflow rule here at all. */
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }

/* ---------- Typesetting ----------
   One system for every page. Headings are bold (700), never extra bold
   except the hero and the giant single words, and are tracked in only as
   far as Montserrat stays open: about -0.035em at the largest sizes,
   easing to -0.01em on small titles, so letters never touch. Lines break
   evenly (balance) instead of leaving one word hanging; paragraphs avoid a
   lone last word (pretty). Counting numbers use equal-width digits so a
   figure does not jitter while it counts up. Small labels share one style:
   uppercase, 600, 0.14em, and stand on their own: no rule or dash beside them. */
h1, h2, h3, h4, h5, h6 { text-wrap: balance; font-kerning: normal; font-variant-ligatures: common-ligatures; }
p, li, blockquote, figcaption, dd { text-wrap: pretty; font-kerning: normal; }
.metric__count, .val, [data-count] strong, .intro__stat-v { font-variant-numeric: tabular-nums lining-nums; }
/* plain links inside running text: a quiet underline that sits clear of
   the descenders, thickening on hover */
:where(p, li, dd, figcaption) a:not([class]) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color .2s var(--ease), text-decoration-thickness .2s var(--ease);
}
:where(p, li, dd, figcaption) a:not([class]):hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal); color: #06263f; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--deep { background: var(--navy-deep); color: var(--on-navy); }
.section--mist { background: var(--mist); }
.bleed { position: relative; overflow: hidden; }

/* ---------- Typography helpers ---------- */
/* Quiet section labels. Sentence case, tight tracking, no hairline rule. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.2;
  color: var(--teal-bright);
}
.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
  opacity: 0.9;
}
.eyebrow--center {
  justify-content: center;
}
.eyebrow--center::before { display: none; }
.section--navy .eyebrow,
.section--deep .eyebrow { color: var(--teal-soft); }

.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.display { font-size: var(--fs-display); letter-spacing: -0.025em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); font-weight: 400; }
.section--navy .lead, .section--deep .lead { color: var(--on-navy-soft); }
.text-teal { color: var(--teal-bright); }
.text-muted { color: var(--muted); }
.measure { max-width: 62ch; }
.measure-sm { max-width: 46ch; }
.center { text-align: center; margin-inline: auto; }

.section-head { max-width: 760px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: 0.6rem; }
.section-head p { margin-top: 1.1rem; }

/* underline swoosh (brand motif, kept minimal) */
.swoosh { display: block; width: min(320px, 60%); height: 14px; margin-top: 1rem; color: var(--teal); }
.section-head--center .swoosh { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.86rem; letter-spacing: 0.04em;
  padding: 0.95em 1.6em;
  border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn .btn-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.55em; height: 1.55em; border-radius: 50%;
  background: rgba(255,255,255,0.16);
  transition: transform .35s var(--ease);
}
.btn:hover .btn-ic { transform: translateX(3px) rotate(0deg); }
.btn--teal { --btn-bg: var(--teal-bright); --btn-fg: #06283d; }
.btn--teal .btn-ic { background: rgba(6,40,61,0.14); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--navy);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--on-navy { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--on-navy .btn-ic { background: rgba(16,64,104,0.12); }
.btn--outline-light {
  --btn-bg: transparent; --btn-fg: #fff; border-color: var(--on-navy-line);
}
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--lg { padding: 1.05em 1.9em; font-size: 0.92rem; }
.btn--sm { padding: 0.7em 1.15em; font-size: 0.8rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  color: var(--navy); letter-spacing: 0.01em;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow i { transition: transform .3s var(--ease); font-size: 0.85em; }
.link-arrow:hover { gap: 0.85em; color: var(--teal-bright); }
.section--navy .link-arrow, .section--deep .link-arrow { color: var(--teal-soft); }

/* ============================================================
   NAVBAR — floating pill
   One dark capsule that reads the same on the dark home and the
   light interior pages, so there is no light/dark logo swap.
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  display: flex; justify-content: center;
  padding-top: clamp(0.7rem, 1.5vw, 1.1rem);
  padding-inline: var(--gutter);
  pointer-events: none; /* only the pill itself is clickable */
  transition: transform .45s var(--ease);
}
.nav__inner {
  pointer-events: auto;
  display: flex; align-items: center;
  gap: clamp(0.4rem, 1.2vw, 0.9rem);
  width: auto; max-width: 100%;
  padding: 0.5rem;
  border-radius: var(--r-pill);
  background: rgba(7, 24, 38, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  box-shadow: 0 20px 44px -20px rgba(4, 14, 24, 0.62), 0 3px 10px -4px rgba(4, 14, 24, 0.30);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
/* On a touch device the bar blurred whatever scrolled behind it, every frame
   of every scroll, for a pill the size of a thumb. The ground behind it is
   dark on every page, so a solid pill looks the same and costs nothing. */
@media (hover: none), (pointer: coarse) {
  .nav__inner { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(6, 25, 43, .94); }
}
.nav.is-solid .nav__inner {
  background: rgba(6, 20, 33, 0.94);
  box-shadow: 0 22px 50px -20px rgba(4, 14, 24, 0.7), 0 3px 10px -4px rgba(4, 14, 24, 0.35);
}

/* circular badge holding the brand mark */
.nav__logo {
  flex: 0 0 auto;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.nav__logo img { width: 62%; height: auto; display: block; }
.nav__logo:hover { transform: scale(1.06); box-shadow: 0 0 0 3px rgba(115, 190, 198, 0.35); }

.nav__links { display: flex; align-items: center; gap: clamp(0.9rem, 2vw, 1.8rem); padding-inline: clamp(0.35rem, 1.2vw, 0.9rem); }
.nav__link {
  position: relative; font-family: var(--font-display); font-weight: 500;
  font-size: 0.9rem; letter-spacing: 0.01em; color: rgba(255, 255, 255, 0.78);
  padding: 0.35rem 0; white-space: nowrap; transition: color .3s ease;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  border-radius: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: center; transition: transform .35s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* white pill CTA */
.nav__cta {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 0.5em;
  background: #fff; color: var(--navy);
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.01em; white-space: nowrap;
  padding: 0.75em 1.2em; border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s ease, color .3s ease;
}
.nav__cta i { font-size: 0.78em; transition: transform .3s var(--ease); }
.nav__cta:hover { background: var(--teal-bright); color: #06283d; transform: translateY(-1px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.55); }
.nav__cta:hover i { transform: translateX(3px); }

.nav.is-hidden { transform: translateY(-160%); }

/* Mobile menu button */
.burger {
  --bar: #fff;
  width: 44px; height: 44px; display: none;
  align-items: center; justify-content: center; position: relative;
  border-radius: 50%; flex: 0 0 auto;
}
.burger span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--bar); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s ease, background .3s ease; }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 999;
  background: var(--navy-deep);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 2.5rem;
  display: flex; flex-direction: column;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .55s var(--ease), visibility 0s .55s;
  overflow-y: auto;
}
body.menu-open .mobile-nav { transform: translateY(0); visibility: visible; transition: transform .55s var(--ease); }
.mobile-nav__links { display: flex; flex-direction: column; gap: 0.25rem; margin-top: auto; margin-bottom: auto; }
.mobile-nav__link {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 8vw, 3rem); color: #fff; letter-spacing: -0.02em;
  padding: 0.35rem 0; display: flex; align-items: baseline; gap: 0.8rem;
  opacity: 0; transform: translateY(18px);
}
body.menu-open .mobile-nav__link { animation: mnav-in .6s var(--ease) forwards; }
.mobile-nav__link .idx { font-size: 0.85rem; font-weight: 600; color: var(--teal); letter-spacing: 0.1em; }
.mobile-nav__link:active { color: var(--teal-soft); }
@keyframes mnav-in { to { opacity: 1; transform: translateY(0); } }
.mobile-nav__foot { border-top: 1px solid var(--on-navy-line); padding-top: 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-nav__foot a { color: var(--on-navy-soft); font-size: 0.95rem; }
.mobile-nav__foot a:active { color: #fff; }
.mobile-nav__cta {
  margin: 1.4rem 0 1.6rem;
  display: inline-flex; align-items: center; gap: 0.55em;
  background: #fff; color: var(--navy);
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.01em; padding: 0.9em 1.35em; border-radius: var(--r-pill);
  transition: background .3s ease, color .3s ease, transform .3s var(--ease);
}
.mobile-nav__cta i { font-size: .8em; transition: transform .3s var(--ease); }
.mobile-nav__cta:hover { background: var(--teal-bright); color: #06283d; }
.mobile-nav__cta:hover i { transform: translateX(3px); }

/* ============================================================
   SLIDE-IN ENQUIRY PANEL (Interested?)
   Dark navy drawer, clearer sections, calm spacing.
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.ipanel-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(3, 13, 24, 0.64);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s .4s;
}
.ipanel-overlay.is-open {
  opacity: 1; visibility: visible;
  transition: opacity .4s var(--ease);
}

.ipanel {
  position: fixed; top: 0; right: 0; z-index: 1300;
  width: min(420px, 100vw);
  height: 100dvh; max-height: 100dvh;
  background: #0A2740;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  transform: translateX(100%);
  transition: transform .55s cubic-bezier(.16, 1, .3, 1);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}
.ipanel.is-open { transform: none; box-shadow: -30px 0 80px -30px rgba(0, 0, 0, 0.7); }

.ipanel__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem 1.45rem 1.35rem;
}

.ipanel__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.55rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ipanel__head { min-width: 0; }
.ipanel__head .eyebrow { color: var(--teal-soft); }
.ipanel__head h2 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 1.25rem + .6vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin-top: .55rem;
}
.ipanel__close {
  flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: grid; place-items: center;
  transition: background .25s ease, border-color .25s ease, transform .3s var(--ease);
}
.ipanel__close:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.ipanel__form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  flex: 1 1 auto;
}
.ipanel__section {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.ipanel__label {
  margin: 0;
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(141, 209, 216, 0.85);
}
/* the Services page's brief, listed at the top of the panel when there is one */
.ipanel__brief[hidden] { display: none; }
.ipanel__picks { list-style: none; margin: .65rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.ipanel__picks li {
  padding: .4rem .78rem;
  border-radius: 999px;
  background: rgba(115, 190, 198, .14);
  box-shadow: inset 0 0 0 1px rgba(115, 190, 198, .22);
  font-size: .82rem; font-weight: 600; line-height: 1.25;
  color: var(--teal-soft);
}
.ipanel__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.ipanel .field { gap: .38rem; }
.ipanel .field label {
  color: rgba(255, 255, 255, 0.62);
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ipanel .input,
.ipanel .select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  padding: .92rem 1rem;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.ipanel .input:hover,
.ipanel .select:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
}
.ipanel .input:focus,
.ipanel .select:focus {
  outline: none;
  border-color: var(--teal-bright);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(115, 190, 198, 0.16);
}
.ipanel .input::placeholder { color: rgba(255, 255, 255, 0.38); }
.ipanel .select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238DD1D8' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.4rem;
}
.ipanel .select option { color: #0f1f2e; }

.ipanel__actions {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-top: .25rem;
}
.ipanel__submit { width: 100%; justify-content: center; }
.ipanel__status {
  min-height: 1.2em;
  margin: 0;
  font-size: .88rem;
  color: rgba(255, 255, 255, 0.78);
}
.ipanel__status.is-ok { color: var(--teal-soft); }
.ipanel__status.is-err { color: #ffb4a8; }

.ipanel__foot {
  margin-top: auto;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.38);
  font-size: .75rem;
  line-height: 1.45;
}

@media (max-width: 560px) {
  .ipanel { width: 100vw; }
  .ipanel__inner { padding: 1.2rem 1.15rem 1.25rem; }
  .ipanel__split { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ipanel { transition: none; }
}

/* ============================================================
   FOOTER
   Three columns: the mark, the pitch with direct contact, and the
   site links. The reference this follows put an enquiry form in the
   third column; that space goes to navigation instead, which is
   worth more here than a second contact route next to the address
   and the phone numbers.
   ============================================================ */
.footer { background: var(--navy); color: var(--on-navy-soft); position: relative; overflow: hidden; }
.footer__top { padding-block: clamp(2.4rem, 1.7rem + 2.4vw, 3.9rem); position: relative; z-index: 1; }

.ft {
  display: grid;
  grid-template-columns: minmax(140px, .72fr) minmax(0, 1.5fr) minmax(140px, .62fr);
  gap: clamp(1.6rem, 3.6vw, 3.25rem);
  align-items: start;
}

/* the mark sits optically centred against the tall middle column */
.ft__mark { align-self: center; }
.ft__mark a { display: inline-block; }
.ft__mark img {
  width: clamp(92px, 10.5vw, 148px); height: auto;
  opacity: .92; transition: opacity .35s var(--ease), transform .5s var(--ease);
}
.ft__mark a:hover img { opacity: 1; transform: scale(1.04); }

.ft__title {
  font-family: var(--font-display); font-weight: 700; 
  color: #fff; letter-spacing: -.02em; line-height: 1.1;
  font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.4rem);
  margin: 0;
}
.ft__lead {
  color: var(--on-navy-soft); max-width: 38ch;
  margin: clamp(.55rem, 1.2vw, .8rem) 0 0;
  font-size: .98rem; line-height: 1.55;
}

.ft__block { margin-top: clamp(1rem, 1.9vw, 1.4rem); }
/* label bold and white, value quieter underneath: the label is what you
   scan for, the value is what you copy */
.ft__label {
  font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: .9rem; letter-spacing: .04em; text-transform: uppercase;
  margin: 0 0 .35rem;
}
.ft__label--gap { margin-top: clamp(1rem, 2vw, 1.4rem); }
.ft__val {
  display: block; color: var(--on-navy-soft);
  font-size: .98rem; line-height: 1.5;
  transition: color .25s var(--ease);
}
.ft__val + .ft__val { margin-top: .15rem; }
.ft__val:hover { color: var(--teal-soft); }
/* on a touch screen each address and number gets a thumb-sized row of its
   own, so the two phone numbers stacked together cannot be mis-tapped */
@media (pointer: coarse) {
  .ft__val { padding: .5rem 0; }
  .ft__val + .ft__val { margin-top: 0; }
}

/* solid squares, as in the reference, rather than the outlined circles
   this footer used before */
.ft__social {
  list-style: none; margin: clamp(1.15rem, 2.4vw, 1.6rem) 0 0; padding: 0;
  display: flex; gap: .5rem;
}
.ft__social a {
  width: 37px; height: 37px; border-radius: 5px;
  display: grid; place-items: center;
  background: #fff; color: var(--navy-900); font-size: .95rem;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.ft__social a:hover { background: var(--teal-bright); color: var(--navy-900); transform: translateY(-3px); }

.ft__links { list-style: none; margin: 0; padding: 0; }
.ft__links a {
  display: block; padding: .22rem 0;
  color: var(--on-navy-soft); font-size: .97rem;
  transition: color .25s var(--ease), padding-left .25s var(--ease);
}
.ft__links a:hover { color: #fff; padding-left: 6px; }
.ft__place { margin: 0; color: var(--on-navy-soft); font-size: .97rem; }

.footer__bottom {
  position: relative; z-index: 1;
  border-top: 1px solid var(--on-navy-line);
  padding-block: 1.05rem;
  text-align: center;
}
.footer__bottom p {
  margin: 0; font-size: .85rem; color: rgba(233, 242, 246, 0.64);
}

@media (max-width: 980px) {
  /* the mark spans the top so the pitch and the links keep a real column
     each instead of being squeezed into a third of the width */
  .ft { grid-template-columns: minmax(0, 1fr) minmax(132px, .5fr); gap: clamp(1.75rem, 4vw, 2.75rem); }
  .ft__mark { grid-column: 1 / -1; align-self: start; }
  .ft__mark img { width: clamp(96px, 13vw, 124px); }
}

@media (max-width: 600px) {
  .ft { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .ft__lead { max-width: none; }
  .ft__social a { width: 42px; height: 42px; }   /* thumb-sized on touch */
  /* five stacked links ran the footer ~200px longer than it needed to be */
  .ft__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
  .ft__links a { padding: .38rem 0; }
}

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
/* no will-change here: it pinned a compositor layer for every revealed
   element on the page, for the whole visit, to save one frame each */
.reveal { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
html.js .reveal { opacity: 0; transform: translateY(26px); }
html.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-reveal="left"] { transform: translateX(-30px); }
.reveal[data-reveal="right"] { transform: translateX(30px); }
.reveal[data-reveal="scale"] { transform: scale(0.96); }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

/* ============================================================
   CARDS & COMPONENTS
   ============================================================ */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.4rem);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }

/* Service pillar cards */
.pillar { display: flex; flex-direction: column; height: 100%; }
.pillar__num { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; color: var(--teal-bright); }
.pillar__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--teal); color: #06283d; font-size: 1.25rem; margin: 1.2rem 0 1.4rem; }
.pillar h3 { font-size: var(--fs-h4); margin-bottom: 0.7rem; }
.pillar p { color: var(--muted); font-size: 0.98rem; }
.pillar__list { margin-top: 1.3rem; display: flex; flex-direction: column; gap: 0.55rem; }
.pillar__list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.92rem; color: var(--ink); }
.pillar__list i { color: var(--teal-bright); font-size: 0.7rem; margin-top: 0.45em; }
.pillar__foot { margin-top: auto; padding-top: 1.6rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 2rem); }
.stat { position: relative; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); line-height: 1; letter-spacing: -0.02em; color: #fff; font-variant-numeric: tabular-nums lining-nums; }
.stat__num .unit { color: var(--teal-soft); }
.stat__label { margin-top: 0.7rem; font-size: 0.9rem; color: var(--on-navy-soft); }
.stat__sub { font-size: 0.78rem; color: var(--teal-soft); margin-top: 0.2rem; letter-spacing: 0.02em; }

/* Work / portfolio cards */
.work-card { position: relative; border-radius: var(--r-lg); overflow: hidden; display: block; background: var(--navy-deep); }
.work-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover .work-card__media img { transform: scale(1.06); }
.work-card__media::after { content: ""; position: absolute; inset: 0; background: rgba(7, 30, 51, .5); }
.work-card__body { position: absolute; inset: auto 0 0 0; padding: clamp(1.3rem, 3vw, 2rem); color: #fff; z-index: 2; }
.work-card__tag { font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-soft); }
.work-card__title { font-size: var(--fs-h4); margin: 0.4rem 0 0.3rem; }
.work-card__desc { font-size: 0.9rem; color: rgba(255,255,255,0.75); max-width: 40ch; opacity: 0; max-height: 0; transition: opacity .45s var(--ease), max-height .45s var(--ease), margin .45s var(--ease); }
.work-card:hover .work-card__desc { opacity: 1; max-height: 6em; margin-top: 0.5rem; }
.work-card__cta { display: inline-flex; align-items: center; gap: 0.5em; margin-top: 0.9rem; font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; color: #fff; }
.work-card__cta i { transition: transform .3s var(--ease); }
.work-card:hover .work-card__cta i { transform: translateX(4px); }

/* Team cards */
.team-card { text-align: left; }
.team-card__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-md); background: var(--cloud); }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .7s var(--ease), filter .7s var(--ease); filter: grayscale(0.15); }
.team-card:hover .team-card__media img { transform: scale(1.05); filter: grayscale(0); }
.team-card__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-top: 1rem; color: var(--navy); }
.team-card__role { font-size: 0.85rem; color: var(--muted); margin-top: 0.15rem; }

/* Testimonials */
.quote-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); display: flex; flex-direction: column; height: 100%; }
.quote-card__mark { font-family: var(--font-display); font-size: 3.5rem; line-height: 0.6; color: var(--teal); height: 0.5em; }
.quote-card p { font-size: clamp(1.02rem, 0.98rem + 0.4vw, 1.2rem); line-height: 1.6; color: var(--ink); margin: 1.2rem 0 1.6rem; }
.quote-card__who { margin-top: auto; }
.quote-card__who strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 0.98rem; }
.quote-card__who span { font-size: 0.86rem; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); color: var(--navy); }
.faq__q .ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .3s ease, color .3s ease, transform .3s ease; }
.faq__item.is-open .faq__q .ic { background: var(--navy); color: #fff; transform: rotate(45deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .45s var(--ease); }
.faq__a-inner { padding-bottom: 1.5rem; color: var(--muted); max-width: 68ch; }

/* Legacy marquee (kept for any older pages) */
.marquee { position: relative; overflow: hidden; }
.marquee__track { display: flex; gap: clamp(2.5rem, 6vw, 5rem); width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { flex: 0 0 auto; height: 46px; display: grid; place-items: center; }
.marquee__item img { max-height: 46px; width: auto; object-fit: contain; opacity: 0.55; filter: grayscale(1); transition: opacity .35s ease, filter .35s ease; }
.marquee__item img:hover { opacity: 1; filter: grayscale(0); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Pill / chip */
.chip { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.5em 1em; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--paper); font-size: 0.82rem; font-weight: 500; color: var(--ink); }
.section--navy .chip, .section--deep .chip { border-color: var(--on-navy-line); background: rgba(255,255,255,0.04); color: var(--on-navy); }

/* Decorative background flourishes (subtle) */
.deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.deco > * { position: absolute; }
.orb { border-radius: 50%; filter: blur(10px); }
.orb--teal { background: none; }
.dot-grid { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='1.2' cy='1.2' r='1.2' fill='%23104068' fill-opacity='.14'/%3E%3C/svg%3E"); background-size: 26px 26px; }
.section--navy .dot-grid, .section--deep .dot-grid { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Ccircle cx='1.2' cy='1.2' r='1.2' fill='%23ffffff' fill-opacity='.10'/%3E%3C/svg%3E"); }
.section > .container { position: relative; z-index: 1; }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.media-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); position: relative; aspect-ratio: 4/3; background: var(--cloud); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* CTA band */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--navy); color: #fff; padding: clamp(2.5rem, 2rem + 5vw, 5rem); text-align: center; }
.cta-band .h2 { color: #fff; }
.cta-band__glow { position: absolute; width: 60%; height: 200%; top: -50%; right: -10%; background: none; pointer-events: none; }

/* Breadcrumb + page hero (interior pages) */
.page-hero { position: relative; background: var(--navy); color: #fff; padding-top: calc(var(--nav-h) + clamp(3rem, 6vw, 6rem)); padding-bottom: clamp(3rem, 5vw, 5.5rem); overflow: hidden; }
.page-hero__crumbs { font-size: 0.82rem; color: var(--on-navy-soft); display: flex; gap: 0.5rem; align-items: center; margin-bottom: 1.4rem; }
.page-hero__crumbs a:hover { color: #fff; }
.page-hero__crumbs .sep { opacity: 0.5; }
.page-hero h1 { font-size: var(--fs-h1); color: #fff; max-width: 16ch; }
.page-hero p { margin-top: 1.3rem; }
.page-hero > .container { position: relative; z-index: 1; }

/* Utilities */
.grid { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.stack-sm > * + * { margin-top: 0.6rem; }
.mt-1 { margin-top: 0.6rem; } .mt-2 { margin-top: 1.2rem; } .mt-3 { margin-top: 1.8rem; } .mt-4 { margin-top: 2.4rem; } .mt-5 { margin-top: 3rem; }
.flex-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hidden { display: none !important; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 0; z-index: 2000; background: #fff; color: var(--navy); padding: 0.7rem 1.1rem; border-radius: 0 0 8px 0; font-weight: 600; }
.skip:focus { left: 0; }

/* Lenis smooth scroll (self-hosted) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: flex; }
  /* pill spans the gutter and splits badge / burger */
  .nav__inner { width: 100%; justify-content: space-between; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
}
@media (max-width: 560px) {
  :root { --nav-h: 68px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .work-card__desc { opacity: 1; max-height: 6em; margin-top: 0.5rem; } /* always show on mobile */
}

/* ============================================================
   HERO (home) — scroll-scrubbed logo -> headline reveal
   ============================================================ */
.hero { position: relative; height: 200vh; background: var(--navy-900); }
.hero__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 56%; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: rgba(7, 30, 51, .5); }
.hero__logo { position: absolute; z-index: 3; width: min(58vw, 520px); display: grid; place-items: center; padding: 0 6vw; will-change: transform, opacity; }
.hero__logo img { width: 100%; filter: drop-shadow(0 25px 55px rgba(0,0,0,0.4)); }
.hero__reveal { position: absolute; z-index: 4; width: 100%; text-align: center; padding: 0 var(--gutter); will-change: opacity; }
html.js .hero__reveal { opacity: 0; }
html.js .hero__reveal [data-line] { will-change: transform, opacity; opacity: 0; }
.hero__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 0.98; letter-spacing: -0.01em; }
.hero__title .l1 { display: block; color: #fff; font-size: clamp(3rem, 12vw, 8.5rem); }
.hero__title .l2 { display: block; color: var(--teal-bright); font-size: clamp(2.6rem, 10.5vw, 7.5rem); }
.hero__swoosh { display: block; width: min(70vw, 640px); height: 22px; margin: 0.1em auto 0; color: #fff; }
.hero__sub { margin-top: clamp(1rem, 3vw, 1.6rem); font-family: var(--font-display); font-weight: 400; color: rgba(255,255,255,0.9); letter-spacing: 0.03em; font-size: clamp(0.95rem, 2.4vw, 1.45rem); }
.hero__cta { margin-top: clamp(1.6rem, 4vw, 2.4rem); display: inline-flex; }
.hero__cue { position: absolute; z-index: 4; bottom: max(2rem, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.55rem; color: rgba(255,255,255,0.7); font-family: var(--font-display); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; }
.hero__cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.5); border-radius: 14px; position: relative; }
.hero__cue .mouse::before { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ============================================================
   FORMS
   ============================================================ */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.input, .textarea, .select {
  width: 100%; padding: 0.95rem 1.1rem; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink);
  font-size: 0.98rem; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--teal-bright); box-shadow: 0 0 0 4px rgba(115,190,198,0.18); }
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.8rem; color: var(--muted); }
[data-status] { font-size: 0.9rem; margin-top: 0.4rem; min-height: 1.2em; }
[data-status].is-ok { color: #1f7a54; }
[data-status].is-err { color: #b4432e; }

/* On-navy form (contact) */
.section--navy .field label, .section--deep .field label { color: var(--teal-soft); }
.section--navy .input, .section--navy .textarea, .section--navy .select,
.section--deep .input, .section--deep .textarea, .section--deep .select {
  background: rgba(255,255,255,0.05); border-color: var(--on-navy-line); color: #fff;
}
.section--navy .input::placeholder, .section--deep .input::placeholder,
.section--navy .textarea::placeholder, .section--deep .textarea::placeholder { color: rgba(255,255,255,0.5); }

/* Inline newsletter */
.subscribe { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.subscribe .input { flex: 1 1 220px; }

/* Toast */
.toast {
  /* Park it fully clear of the viewport: its own height plus the bottom offset,
     so a short (empty) toast cannot peek above the bottom edge. */
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, calc(100% + 34px));
  background: var(--navy); color: #fff; padding: 0.9rem 1.4rem; border-radius: var(--r-pill);
  font-size: 0.9rem; font-weight: 500; box-shadow: var(--shadow-lg); z-index: 3000;
  transition: transform .5s var(--ease); max-width: calc(100vw - 2rem);
}
.toast.is-show { transform: translate(-50%, 0); }

/* Contact info list */
.contact-list { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .ic { flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(115,190,198,0.14); color: var(--teal-soft); font-size: 1.1rem; }
.section:not(.section--navy):not(.section--deep) .contact-item .ic { background: var(--mist); color: var(--teal-bright); }
.contact-item h4 { font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-item a, .contact-item p { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--navy); margin-top: 0.15rem; }
.section--navy .contact-item h4, .section--deep .contact-item h4 { color: var(--teal-soft); }
.section--navy .contact-item a, .section--navy .contact-item p,
.section--deep .contact-item a, .section--deep .contact-item p { color: #fff; }

/* Process / steps */
.step { position: relative; padding-left: 0; }
.step__n { font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; color: var(--teal); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; }
.step h3 { font-size: var(--fs-h4); margin: 0.8rem 0 0.5rem; }
.step p { color: var(--muted); font-size: 0.96rem; }
.section--navy .step p, .section--deep .step p { color: var(--on-navy-soft); }

/* Value list check items */
.check-list { display: grid; gap: 0.9rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.check-list .ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #06283d; font-size: 0.7rem; margin-top: 0.1rem; }

@media (max-width: 560px) {
  .hero { height: 180vh; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ============================================================
   FAIL-SAFE
   `js` is set by an inline script, so it is present even when main.js
   never runs. Anything hidden waiting for an `is-in` class would then
   stay hidden forever. A watchdog in the page adds `no-anim`, which
   forces all of it visible. Nothing here should ever animate.
   ============================================================ */
html.no-anim .reveal,
html.no-anim .wkc__frame,
html.no-anim .clip > *,
html.no-anim .metric,
html.no-anim .intro__half,
html.no-anim .intro__stat,
html.no-anim .hero__reveal,
html.no-anim .hero__reveal [data-line],
html.no-anim .intro__lead .lw {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
html.no-anim .hero { height: 100svh !important; }
html.no-anim .hero__logo { display: none !important; }
html.no-anim .intro { margin-top: 0 !important; }
html.no-anim .page-rest { margin-top: 0 !important; }

/* ---- icons: drawn inline, in the text colour --------------------------------
   No icon font to download or wait for: each <i class="ico"> holds a small
   SVG sized to the text around it, so every rule that sized, coloured or
   nudged the old icon element still works. */
.ico { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.14em; font-style: normal; line-height: 1; }
.ico svg { display: block; width: 100%; height: 100%; overflow: visible; }
/* the WebP choice around a photo takes no room of its own */
picture.pic { display: contents; }
