/* ==========================================================================
   Afjal Miya — site stylesheet
   Brand tokens, layout primitives and components for all five pages.
   Edit tokens in :root; everything else derives from them.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Brand palette (fixed — from the brand kit) */
  --navy:  #102A43;
  --teal:  #009F9A;
  --mint:  #E9F6F5;
  --cloud: #F5F7FA;
  --white: #FFFFFF;

  /* Supporting neutrals, derived from the navy family.
     Contrast on white: ink 14.2:1, ink-2 9.3:1, ink-3 6.1:1 — all AA for body text. */
  --ink:    var(--navy);
  --ink-2:  #334E68;
  --ink-3:  #486581;
  --line:   #D9E2EC;
  --line-2: #E3E9EF;

  /* Teal is an accent only. On white it measures 3.24:1 — enough for borders,
     rules, icon strokes and large display type, never for small text. */
  --teal-soft: rgba(0, 159, 154, 0.14);

  /* Type */
  --font-head: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Scale */
  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.875rem);
  --step-0:  clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1:  clamp(1.13rem, 1.05rem + 0.35vw, 1.3rem);
  --step-2:  clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
  --step-3:  clamp(1.7rem, 1.4rem + 1.3vw, 2.4rem);
  --step-4:  clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem);

  /* Space + shape */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 42, 67, 0.04), 0 12px 32px -18px rgba(16, 42, 67, 0.18);
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset / base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "cv05" 1, "ss03" 1;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.14;
  letter-spacing: -0.021em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.014em; }
h4 { font-size: var(--step-0); letter-spacing: -0.008em; }

p { text-wrap: pretty; }
img, svg { max-width: 100%; height: auto; display: block; }
/* `display: block` above would otherwise defeat the UA style for [hidden],
   which the logo fallback relies on. */
[hidden] { display: none !important; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

/* Visible, consistent keyboard focus everywhere. */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--teal); color: var(--white); }

/* ---------- 3. Utilities ------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--mint  { background: var(--mint); }
.section--cloud { background: var(--cloud); }
.section--navy  { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--hairline { border-top: 1px solid var(--line-2); }

.eyebrow {
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--teal);
  flex: none;
}
.section--navy .eyebrow { color: #BCCCDC; }

.lede {
  font-size: var(--step-1);
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 60ch;
}
.section--navy .lede { color: #D9E2EC; }

.prose { color: var(--ink-2); max-width: 68ch; }
.prose p + p { margin-top: 1rem; }

.section-head { max-width: 62ch; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head h2 + p { margin-top: 1rem; }

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

.skip-link {
  /* Fixed, not absolute: an absolutely positioned skip link is document-
     relative and stays off-screen once the page has been scrolled. */
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  transition: top 0.18s var(--ease);
}
.skip-link:focus { top: 0; }

/* ---------- 4. Buttons -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--step-0);
  letter-spacing: -0.008em;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }

/* Primary: white on navy — 14.2:1 */
.btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--primary:hover { background: #1C3C5A; border-color: #1C3C5A; }

/* Secondary: navy on white with a navy hairline */
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); background: var(--white); }

/* On navy sections */
.btn--invert { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--invert:hover { background: var(--mint); border-color: var(--mint); }
.btn--outline-invert { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn--outline-invert:hover { border-color: var(--white); }

.btn__arrow { transition: transform 0.18s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Quiet inline link with a teal underline accent. Kept `inline` (not flex) so
   a two-line label wraps naturally and the arrow trails the final word. */
.link-arrow {
  display: inline;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--ink);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 2px;
}
.link-arrow > span {
  display: inline-block;
  margin-left: 0.35rem;
  transition: transform 0.18s var(--ease);
}
.link-arrow:hover > span { transform: translateX(3px); }

/* ---------- 5. Header --------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* The supplied logo PNG has a white background, so the header stays white. */
  background: var(--white);
  border-bottom: 1px solid var(--line-2);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 5.5rem;
}

.logo { display: inline-flex; align-items: center; flex: none; }
/* The supplied lockup is stacked (mark over wordmark, ~1.25:1), so it needs
   more height than a horizontal logo would to keep the wordmark legible.
   Intrinsic size is set to reserve the box and avoid layout shift. */
.logo__img { height: 58px; width: auto; }
@media (max-width: 860px) { .logo__img { height: 46px; } }
/* Text wordmark shown until the real logo asset is dropped in (see README). */
.logo__fallback {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--navy);
  text-transform: lowercase;
}
.logo__mark { flex: none; }
/* Decorative teal dot in the temporary text wordmark (non-text, so the
   3.24:1 teal-on-white ratio is fine here; the letters stay navy). */
.logo__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
.site-nav__link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--ink-2);
  padding-block: 0.4rem;
  position: relative;
  transition: color 0.18s var(--ease);
}
.site-nav__link:hover { color: var(--navy); }
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}
.site-nav__link:hover::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"] { color: var(--navy); font-weight: 700; }
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { flex: none; padding: 0.65rem 1.15rem; font-size: var(--step--1); }

.nav-toggle {
  display: none;
  margin-left: auto;
  flex: none;
  width: 2.75rem; height: 2.75rem;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle__bars { display: block; width: 18px; height: 12px; position: relative; }
.nav-toggle__bars span {
  position: absolute; left: 0; right: 0;
  height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line-2);
    box-shadow: var(--shadow);
    padding: 0.5rem var(--gutter) 1.5rem;
    display: none;
  }
  .site-nav[data-open="true"] { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__item { border-bottom: 1px solid var(--line-2); }
  .site-nav__link { display: block; padding: 0.95rem 0.25rem; font-size: var(--step-0); }
  .site-nav__link::after { display: none; }
  .site-nav__link[aria-current="page"] {
    color: var(--navy);
    border-left: 3px solid var(--teal);
    padding-left: 0.75rem;
    margin-left: -0.75rem;
  }
  .site-nav__cta { margin-top: 1.25rem; display: block; }
  .site-nav__cta .btn { width: 100%; }
  .header-cta--desktop { display: none; }
  .site-header__inner { position: relative; }
}
@media (min-width: 861px) { .site-nav__cta { display: none; } }

/* ---------- 6. Hero ----------------------------------------------------- */
.hero {
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6.5rem);
  position: relative;
  overflow: hidden;
}
/* Restrained geometric accent — a single teal arc, not a neon gradient field. */
.hero::after {
  content: "";
  position: absolute;
  right: -11rem; top: -9rem;
  width: 30rem; height: 30rem;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  opacity: 0.16;
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.hero__eyebrow { margin-bottom: 1.5rem; }
.hero h1 { max-width: 20ch; }
.hero h1 em {
  font-style: normal;
  color: var(--teal);
}
.hero__lede { margin-top: 1.5rem; }
.hero__brandline {
  margin-top: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__brandline span { display: inline-flex; align-items: center; gap: 0.75rem; }
.hero__brandline span::after {
  content: "";
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--teal);
}
.hero__brandline span:last-child::after { display: none; }

/* Right-hand hero column: portrait above the capability panel. On mobile the
   whole column drops below the introduction, which is the DOM order already. */
.hero__aside {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.9rem);
  /* Purposeful asymmetry: the column sits slightly lower than the headline. */
  margin-top: clamp(0.5rem, 3vw, 2.25rem);
}

/* --- Portrait frame ---------------------------------------------------
   The supplied image is 4:5 and is never cropped: width drives the box and
   height follows, so the full face and hair stay in view. width/height are
   set on the <img> so the box is reserved before the file arrives. */
.hero__portrait {
  position: relative;
  margin: 0 0 0 auto;          /* right edge aligns with the panel below */
  max-width: 360px;
  width: 100%;
}
.hero__portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(16, 42, 67, 0.14);   /* navy hairline */
  box-shadow: var(--shadow);
  background: var(--mint);                     /* matches the photo's ground */
  position: relative;
  z-index: 1;
}
/* Offset teal outline, tucked behind and to the lower-left so it stays clear
   of the decorative arc in the top-right of the hero. */
.hero__portrait::after {
  content: "";
  position: absolute;
  inset: 1.15rem 1.15rem -1.15rem -1.15rem;
  border: 1.5px solid var(--teal);
  border-radius: var(--radius);
  z-index: 0;
  pointer-events: none;
}

/* Editorial capability panel. */
.hero__panel {
  background: var(--mint);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
}
.hero__panel-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(16, 42, 67, 0.12);
}
.hero__panel-list { margin-top: 0.25rem; }
.hero__panel-list li {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid rgba(16, 42, 67, 0.09);
}
.hero__panel-list li:last-child { border-bottom: 0; padding-bottom: 0.25rem; }
.hero__panel-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-3); /* teal reserved for non-text accents at this size */
  flex: none;
  min-width: 1.5rem;
}
.hero__panel-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--step-0);
  color: var(--navy);
}
.hero__panel-note {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--step--1);
  color: var(--ink-3);
  margin-top: 0.1rem;
  letter-spacing: 0;
}

/* Below this width the arc would run through the headline, so it goes. */
@media (max-width: 620px) {
  .hero::after { display: none; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__aside { margin-top: 0; }
  /* Centre the portrait once it sits below the introduction, and drop the
     offset outline so it cannot push past the gutter on narrow screens. */
  .hero__portrait { margin-inline: auto; max-width: 340px; }
  .hero__portrait::after { display: none; }
  .hero::after { right: -16rem; top: -14rem; opacity: 0.12; }
}

/* ---------- 7. Capability strip ----------------------------------------- */
.cap-strip { background: var(--navy); color: var(--white); padding-block: clamp(1.5rem, 3vw, 2rem); }
.cap-strip__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem clamp(1.25rem, 3.5vw, 2.75rem);
}
.cap-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--step-0);
  letter-spacing: -0.008em;
}
.cap-strip__item::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

/* ---------- 8. Cards / grids -------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card:hover { border-color: #C6D3E0; transform: translateY(-3px); box-shadow: var(--shadow); }
.section--mint .card, .section--cloud .card { border-color: transparent; }
.section--mint .card:hover, .section--cloud .card:hover { border-color: var(--line); }

.card__icon {
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius-sm);
  background: var(--mint);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  flex: none;
}
.card__icon svg { width: 1.4rem; height: 1.4rem; }
.card h3 { margin-bottom: 0.6rem; }
.card__body { color: var(--ink-3); font-size: var(--step-0); }
.card__foot { margin-top: auto; padding-top: 1.4rem; }

a.card { color: inherit; }
a.card:hover h3 { color: var(--navy); }

/* Tag / chip list inside cards */
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.1rem; }
.chip {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--cloud);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}
.section--cloud .chip { background: var(--white); }

/* Checklist used for service contents */
.ticks { margin-top: 1.25rem; display: grid; gap: 0.55rem; }
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: var(--step-0);
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  flex: none;
  margin-top: 0.56em;
  width: 0.45rem; height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
}

/* ---------- 9. Service pillar (home) ------------------------------------ */
.pillar { position: relative; }
.pillar__index {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--step-2);
  color: var(--teal);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

/* ---------- 10. Experience cards ---------------------------------------- */
.exp-card__kicker {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-2);
}
/* Abstract card artwork — clearly decorative, never a product screenshot. */
.exp-card__art {
  height: 5.5rem;
  border-radius: var(--radius-sm);
  background: var(--mint);
  margin-bottom: 1.4rem;
  position: relative;
  overflow: hidden;
}
.exp-card__art::before,
.exp-card__art::after {
  content: "";
  position: absolute;
  border: 1.5px solid var(--teal);
  opacity: 0.45;
}
.exp-card__art::before {
  width: 4.5rem; height: 4.5rem;
  border-radius: 50%;
  right: 1.25rem; top: -1.25rem;
}
.exp-card__art::after {
  left: 1.25rem; bottom: -2rem;
  width: 3rem; height: 3rem;
  border-radius: 6px;
  transform: rotate(18deg);
}
.exp-card__art[data-art="2"]::before { border-radius: 8px; transform: rotate(14deg); right: 2rem; }
.exp-card__art[data-art="3"]::after { border-radius: 50%; left: 2.5rem; }
.exp-card__art[data-art="4"]::before { width: 3rem; height: 6rem; border-radius: 999px; }

.role-note {
  margin-top: 1.1rem;
  font-size: var(--step--1);
  color: var(--ink-3);
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
}
.role-note strong {
  font-family: var(--font-head);
  color: var(--navy);
  font-weight: 700;
  flex: none;
}

/* ---------- 11. Timeline ------------------------------------------------ */
.timeline { position: relative; margin-top: 2.5rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0.3rem; top: 0.5rem; bottom: 0.5rem;
  width: 2px;
  background: var(--line);
}
.timeline__item { position: relative; padding-left: 2.25rem; padding-bottom: 2.25rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45rem;
  width: 0.8rem; height: 0.8rem;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--teal);
  box-shadow: 0 0 0 4px var(--white);
}
/* The dot's halo has to match the section background it sits on. */
.section--mint .timeline__item::before  { box-shadow: 0 0 0 4px var(--mint); }
.section--cloud .timeline__item::before { box-shadow: 0 0 0 4px var(--cloud); }
.timeline__item[data-current="true"]::before { background: var(--teal); }
.timeline__dates {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: var(--ink-3); /* was teal — 3.24:1 is below AA for text this size */
}
.timeline__org { font-family: var(--font-head); font-weight: 700; font-size: var(--step-1); margin-top: 0.2rem; }
.timeline__role { color: var(--ink-3); font-size: var(--step-0); margin-top: 0.15rem; }

/* ---------- 12. Process steps ------------------------------------------- */
.steps { counter-reset: step; }
.step { position: relative; }
.step__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  color: var(--ink-3); /* teal reserved for non-text accents at this size */
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.step__num::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--ink-3); font-size: var(--step-0); }

/* ---------- 13. Split blocks -------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.split--narrow { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
@media (max-width: 880px) { .split, .split--narrow { grid-template-columns: 1fr; } }

.stat-list { display: grid; gap: 1.25rem; }
.stat-list div {
  border-left: 2px solid var(--teal);
  padding-left: 1rem;
}
.stat-list dt {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--step-0);
  color: var(--navy);
}
.stat-list dd { color: var(--ink-3); font-size: var(--step--1); margin-top: 0.1rem; }

/* ---------- 14. CTA band ------------------------------------------------ */
.cta-band { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); position: relative; overflow: hidden; }
.cta-band::after {
  content: "";
  position: absolute;
  right: -6rem; bottom: -9rem;
  width: 20rem; height: 20rem;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  opacity: 0.35;
  pointer-events: none;
}
.cta-band h2 { color: var(--white); max-width: 30ch; }
.cta-band p { color: #D9E2EC; margin-top: 1rem; max-width: 56ch; }
.cta-band__inner { position: relative; z-index: 1; }

/* ---------- 15. Footer -------------------------------------------------- */
.site-footer { background: var(--navy); color: #D9E2EC; padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.75rem; }
.site-footer a { color: #D9E2EC; }
.site-footer a:hover { color: var(--white); }
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
}
@media (max-width: 760px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
/* The logo PNG has a white ground, so on the navy footer it gets its own
   white container rather than a fabricated reverse/transparent variant. */
.site-footer__brand .logo {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
}
.site-footer__brand .logo__img { height: 62px; }
.site-footer__summary { margin-top: 1.1rem; color: #BCCCDC; font-size: var(--step--1); max-width: 38ch; }
.footer-head {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-list { display: grid; gap: 0.6rem; font-size: var(--step--1); }
.site-footer__bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: var(--step--1);
  color: #BCCCDC;
}

/* ---------- 16. Forms --------------------------------------------------- */
.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: 0.4rem; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 620px) { .field__row { grid-template-columns: 1fr; } }

.field label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--step--1);
  color: var(--navy);
}
.field__hint { font-size: 0.8rem; color: var(--ink-3); font-weight: 400; font-family: var(--font-body); }

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  width: 100%;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { min-height: 8.5rem; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23486581' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
  outline: none;
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #B4232A; }

.field__error {
  font-size: 0.82rem;
  color: #96161C; /* 5.6:1 on white */
  font-weight: 500;
  min-height: 0;
}
.field__error:empty { display: none; }

.form__status {
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  font-size: var(--step--1);
  display: none;
  border: 1.5px solid;
}
.form__status[data-state="pending"] { display: block; background: var(--cloud); border-color: var(--line); color: var(--ink-2); }
.form__status[data-state="error"]   { display: block; background: #FDF2F2; border-color: #E7B6B8; color: #7A1216; }
.form__status[data-state="success"] { display: block; background: var(--mint); border-color: #9BD7D4; color: #0A4F4C; }
.form__status[data-state="unavailable"] { display: block; background: #FFF8E8; border-color: #E6CE9B; color: #6B4E06; }
.form__status p + p { margin-top: 0.5rem; }
.form__status a { font-weight: 700; text-decoration: underline; }

.form-panel {
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

/* ---------- 17. Contact details ----------------------------------------- */
.contact-list { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.contact-list__item { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-list__ico {
  flex: none;
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line-2);
  color: var(--teal);
  display: grid; place-items: center;
}
.contact-list__ico svg { width: 1.1rem; height: 1.1rem; }
.contact-list__k {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.contact-list__v { font-size: var(--step-0); color: var(--navy); font-weight: 500; }
.contact-list__v a { border-bottom: 1px solid var(--line); }
.contact-list__v a:hover { border-color: var(--teal); }

/* ---------- 18. FAQ / disclosure ---------------------------------------- */
.disclose {
  border-top: 1px solid var(--line-2);
  padding-block: 1.1rem;
}
.disclose summary {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--step-0);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--navy);
}
.disclose summary::-webkit-details-marker { display: none; }
.disclose summary::after {
  content: "+";
  font-weight: 700;
  color: var(--teal);
  font-size: 1.3rem;
  line-height: 1;
  flex: none;
}
.disclose[open] summary::after { content: "–"; }
.disclose__body { color: var(--ink-3); padding-top: 0.75rem; max-width: 70ch; }

/* ---------- 19. Motion -------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Without JS (or before it runs) nothing should ever stay hidden. */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- 20. Print -------------------------------------------------- */
@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  body { color: #000; }
  .reveal { opacity: 1; transform: none; }
}
