/* ============================================================
   Ovata Group — Website v1.0
   Brand system v1 (2026-05-25). Light-navy / white / black / gray.
   ============================================================ */

:root {
  /* Palette — Phase 4 (2026-05-26): lifted navy for a less heavy, more institutional feel. */
  --ink:      #2C3E5D;   /* primary navy (was #0A0F1A) */
  --ink-deep: #1F2D45;   /* deeper accent for ink-on-ink layering */
  --paper:    #FFFFFF;
  --mist:     #E7ECF2;
  --steel:    #4A6488;   /* secondary navy (was #3E5A78) */
  --steel-2:  #6A85A8;   /* lighter accent for hover (was #5A7A9E) */
  --hairline: #C9D2DC;
  --body:     #2A3447;   /* slight lift of body text to harmonise */
  --muted:    #6B7280;
  --canvas:   #FAFBFC;   /* off-white section wash */

  /* Typography */
  --serif: "EB Garamond", "Tiempos", Garamond, "Times New Roman", serif;
  --sans:  "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Rhythm */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 9vw, 128px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* Type scale ---------------------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--steel);
}
.eyebrow.on-ink { color: var(--mist); opacity: 0.85; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); }
h1 { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.06; letter-spacing: -0.012em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -0.008em; }
h3 { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.3; letter-spacing: -0.004em; }
h4 { font-size: 17px; line-height: 1.35; font-family: var(--sans); font-weight: 600; letter-spacing: -0.002em; color: var(--ink); }
p { color: var(--body); }
p.lead { font-size: 19px; line-height: 1.55; color: var(--body); }

.muted { color: var(--muted); }
.serif { font-family: var(--serif); }

/* Layout -------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.section--mist { background: var(--mist); }
.section--canvas { background: var(--canvas); }
.section--ink { background: var(--ink); color: var(--mist); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--paper); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 16px; display: block; }
.section-head p { margin-top: 18px; max-width: 640px; color: var(--muted); font-size: 17px; }

.rule {
  width: 56px; height: 1px;
  background: var(--steel);
  margin: 0 0 24px 0;
}

/* Header / nav -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex; align-items: center; gap: 14px;
}
.brand img { height: 28px; width: auto; }
.nav { display: flex; gap: 36px; align-items: center; }
.nav a {
  font-size: 13.5px; font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.005em;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--steel); }
.nav__cta {
  font-size: 13px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper) !important;
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.2s ease;
}
.nav__cta:hover { background: var(--steel); }

@media (max-width: 840px) {
  .nav { gap: 18px; }
  .nav a:not(.nav__cta) { display: none; }
}

/* Hero ---------------------------------------------------------- */
.hero {
  padding-top: clamp(64px, 7vw, 96px);
  padding-bottom: clamp(72px, 8vw, 112px);
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: -10%; width: 55%; height: 100%;
  background: linear-gradient(135deg, transparent 0%, var(--mist) 80%);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 72px;
  align-items: start;
}
.hero__copy { max-width: 660px; padding-top: 8px; }
.hero h1 { margin-top: 24px; }
.hero__lead {
  margin-top: 28px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--body);
  max-width: 560px;
}
.hero__ctas {
  margin-top: 36px;
  display: flex; gap: 16px; flex-wrap: wrap;
}
.hero__members {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  max-width: 520px;
}
.hero__members-row {
  display: flex; align-items: center; gap: 18px;
}
.hero__members-row img { height: 44px; width: auto; flex-shrink: 0; }
.hero__members-row strong {
  display: block;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
  letter-spacing: 0;
}
.hero__members-row span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-size: 14px; font-weight: 500;
  border-radius: 2px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover { background: var(--steel); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline);
}
.btn--ghost:hover { border-color: var(--steel); color: var(--steel); }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Hero — practice-at-a-glance panel */
.hero__cred {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 36px;
  position: relative;
  margin-top: 8px;
}
.hero__cred::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 3px; height: 100%;
  background: var(--steel);
}
.hero__cred .eyebrow {
  display: block;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hairline);
}
.hero__cred-grid {
  display: flex; flex-direction: column;
  gap: 22px;
}
.hero__cred-grid > div { display: flex; flex-direction: column; gap: 4px; }
.hero__cred-grid dt {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.hero__cred-grid dd {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.002em;
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__cred { margin-top: 0; }
}

/* Marquee statement band -------------------------------------- */
.marquee {
  background: var(--ink);
  color: var(--mist);
  padding: clamp(64px, 7vw, 96px) 0;
}
.marquee__line {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.008em;
  color: var(--paper);
  font-weight: 400;
  max-width: 1000px;
}
.marquee__lede { font-style: italic; color: var(--paper); }
.marquee__divider {
  display: inline-block;
  margin: 0 14px;
  color: var(--steel-2);
  font-weight: 300;
  opacity: 0.7;
}

/* Services grid ------------------------------------------------- */
.services { background: var(--paper); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.service {
  background: var(--paper);
  padding: 44px 36px;
  display: flex; flex-direction: column;
  min-height: 280px;
  transition: background 0.2s ease;
}
.service:hover { background: var(--canvas); }
.service__num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--steel);
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}
.service h3 { margin-bottom: 12px; }
.service p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.service__more {
  margin-top: auto;
  padding-top: 24px;
  font-size: 13px;
  color: var(--steel);
  font-weight: 500;
  letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 8px;
}
.service__more .arrow { transition: transform 0.2s ease; }
.service:hover .service__more .arrow { transform: translateX(3px); }
@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* Approach / Journey -------------------------------------------- */
.approach { background: var(--canvas); }
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--hairline);
}
.step {
  background: var(--canvas);
  padding: 32px 24px;
  position: relative;
}
.step__num {
  font-family: var(--serif);
  font-size: 40px;
  color: var(--steel);
  line-height: 1;
  margin-bottom: 16px;
  font-weight: 500;
}
.step h4 { margin-bottom: 10px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
}

/* Why Ovata (two-col with quote) -------------------------------- */
.why { background: var(--paper); }
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.why__pillars { display: flex; flex-direction: column; gap: 36px; }
.pillar {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: start;
}
.pillar__icon {
  width: 44px; height: 44px;
  border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--steel);
}
.pillar h4 { margin-bottom: 8px; }
.pillar p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 900px) {
  .why__grid { grid-template-columns: 1fr; gap: 56px; }
}

/* Programmes (geographic offer) --------------------------------- */
.programmes { background: var(--mist); }
.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prog {
  background: var(--paper);
  padding: 36px;
  border: 1px solid var(--hairline);
  display: flex; flex-direction: column;
  min-height: 280px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.prog:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -20px rgba(10, 15, 26, 0.18);
}
.prog__region {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--steel);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
}
.prog h3 { margin-bottom: 12px; font-size: 22px; }
.prog p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.prog__meta {
  margin-top: auto; padding-top: 24px;
  font-size: 13px; color: var(--ink);
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--hairline);
}
.prog__meta strong { font-weight: 600; }
@media (max-width: 900px) {
  .prog-grid { grid-template-columns: 1fr; }
}

/* Government advisory band (dark) ------------------------------- */
.govt {
  background: var(--ink);
  color: var(--mist);
  padding: clamp(80px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.govt::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 90% 0%, rgba(62, 90, 120, 0.35), transparent 60%),
    radial-gradient(ellipse 60% 40% at 10% 100%, rgba(62, 90, 120, 0.18), transparent 70%);
  pointer-events: none;
}
.govt__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.govt h2 { color: var(--paper); }
.govt p { color: var(--mist); opacity: 0.85; font-size: 16.5px; line-height: 1.6; }
.govt .eyebrow { color: var(--mist); opacity: 0.7; }
.govt .rule { background: var(--steel-2); margin-bottom: 24px; }
.govt__points { list-style: none; margin-top: 32px; }
.govt__points li {
  padding: 16px 0;
  border-top: 1px solid rgba(201, 210, 220, 0.18);
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  font-size: 14.5px;
  align-items: baseline;
}
.govt__points li:last-child { border-bottom: 1px solid rgba(201, 210, 220, 0.18); }
.govt__points strong {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--paper);
  font-size: 17px;
}
.govt__points span { color: var(--mist); opacity: 0.8; }
@media (max-width: 960px) {
  .govt__inner { grid-template-columns: 1fr; gap: 48px; }
  .govt__points li { grid-template-columns: 44px 1fr; gap: 16px; }
}

/* Insight / news ----------------------------------------------- */
.insight { background: var(--paper); }
.insight__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.article {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}
.article__meta {
  display: flex; gap: 16px; align-items: center;
  font-size: 12px; color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.article__meta .tag {
  color: var(--steel);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.article h3 { font-size: 22px; margin-bottom: 14px; line-height: 1.25; }
.article p { font-size: 14.5px; color: var(--muted); }
.article__more {
  margin-top: 22px;
  font-size: 13px; color: var(--ink); font-weight: 500;
  letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 8px;
}
@media (max-width: 900px) {
  .insight__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* CTA band ------------------------------------------------------ */
.cta-band {
  background: var(--mist);
  padding: clamp(64px, 7vw, 96px) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-band h2 { font-size: clamp(28px, 3vw, 38px); }
.cta-band p { color: var(--body); margin-top: 14px; max-width: 540px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 800px) {
  .cta-band__inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-band__actions { justify-content: flex-start; }
}

/* Footer -------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--mist);
  padding: 72px 0 32px 0;
}
.site-footer a { color: var(--mist); opacity: 0.78; transition: opacity 0.2s ease; }
.site-footer a:hover { opacity: 1; }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(201, 210, 220, 0.18);
}
.footer__brand img { height: 32px; filter: brightness(1.1); margin-bottom: 20px; }
.footer__brand p { font-size: 14px; color: var(--mist); opacity: 0.7; max-width: 320px; line-height: 1.6; }
.footer__col h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mist);
  opacity: 0.6;
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col li a { font-size: 14px; }

.footer__bottom {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--mist);
  opacity: 0.55;
  letter-spacing: 0.02em;
}
.footer__bottom .imc-credit {
  display: flex; align-items: center; gap: 12px;
}
.footer__bottom .imc-credit img {
  height: 28px;
  background: var(--paper);
  padding: 6px 10px;
  border-radius: 2px;
}
.footer__bottom .imc-credit span { font-size: 11.5px; }

@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* Reveal animation --------------------------------------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Utility ------------------------------------------------------- */
.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;
}

/* ==================================================================
   PHASE 2 — multi-page extensions
   ================================================================== */

/* Mobile nav toggle ------------------------------------------------ */
.nav__toggle {
  display: none;
  background: transparent; border: 0; padding: 8px;
  cursor: pointer; flex-direction: column; gap: 4px;
}
.nav__toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); transition: transform .2s ease, opacity .2s ease;
}
@media (max-width: 840px) {
  .nav { gap: 0; }
  .nav a:not(.nav__cta) {
    display: none;
  }
  .nav__cta { display: inline-block; }
  .nav__toggle { display: flex; margin-left: 14px; }
  body.nav-open .nav {
    display: flex; flex-direction: column;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--hairline);
    padding: 18px var(--gutter); gap: 14px; z-index: 60;
  }
  body.nav-open .nav a:not(.nav__cta) { display: block; padding: 10px 0; border-bottom: 1px solid var(--hairline); }
  body.nav-open .nav a:not(.nav__cta):last-of-type { border-bottom: 0; }
}

/* Sub-page hero (slimmer than homepage hero) ---------------------- */
.sub-hero {
  padding-top: clamp(64px, 7vw, 96px);
  padding-bottom: clamp(56px, 6vw, 80px);
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  position: relative; overflow: hidden;
}
.sub-hero::before {
  content: ""; position: absolute;
  top: 0; right: -8%; width: 45%; height: 100%;
  background: linear-gradient(135deg, transparent 0%, var(--mist) 85%);
  opacity: 0.42; z-index: 0; pointer-events: none;
}
.sub-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.sub-hero h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  margin-top: 18px;
  letter-spacing: -0.012em; line-height: 1.08;
}
.sub-hero__lead {
  margin-top: 26px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  max-width: 680px;
}
.sub-hero .breadcrumb {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sub-hero .breadcrumb a { color: var(--muted); }
.sub-hero .breadcrumb a:hover { color: var(--steel); }
.sub-hero .breadcrumb .sep { margin: 0 10px; opacity: 0.45; }

/* Programme country page ------------------------------------------ */
.country__topfacts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  margin-top: 56px;
}
.country__topfacts > div {
  background: var(--paper);
  padding: 28px 24px;
}
.country__topfacts dt {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 8px;
}
.country__topfacts dd {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.3;
  color: var(--ink);
}
@media (max-width: 800px) {
  .country__topfacts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 440px) {
  .country__topfacts { grid-template-columns: 1fr; }
}

.country__body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 64px;
}
.country__body section { margin-bottom: 48px; }
.country__body section:last-child { margin-bottom: 0; }
.country__body h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  margin-bottom: 18px;
  letter-spacing: -0.006em;
}
.country__body h3 {
  font-size: 18px;
  margin-top: 28px; margin-bottom: 10px;
  font-family: var(--sans); font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
}
.country__body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  margin-bottom: 14px;
}
.country__body p:last-child { margin-bottom: 0; }
.country__body ul {
  list-style: none; padding: 0;
  margin: 0 0 14px 0;
}
.country__body ul li {
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid var(--hairline);
  position: relative;
  font-size: 15px;
  line-height: 1.55;
}
.country__body ul li::before {
  content: ""; position: absolute;
  left: 0; top: 18px;
  width: 12px; height: 1px;
  background: var(--steel);
}
.country__body ul li:last-child { border-bottom: 0; }

.country__aside {
  position: sticky; top: 100px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  padding: 32px;
}
.country__aside h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}
.country__aside dl { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.country__aside dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.country__aside dd {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  line-height: 1.35;
}
.country__aside .btn { width: 100%; justify-content: center; }
@media (max-width: 960px) {
  .country__body { grid-template-columns: 1fr; gap: 48px; }
  .country__aside { position: static; }
}

/* Programmes index — country card grid ---------------------------- */
.country-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.country-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 32px;
  display: flex; flex-direction: column;
  min-height: 260px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.country-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -20px rgba(10, 15, 26, 0.18);
}
.country-card__region {
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--steel);
  font-weight: 500; margin-bottom: 16px;
}
.country-card h3 { margin-bottom: 12px; }
.country-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.country-card__meta {
  margin-top: auto; padding-top: 22px;
  border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--ink);
}
.country-card__meta strong { font-weight: 600; }
@media (max-width: 900px) { .country-grid { grid-template-columns: 1fr; } }

/* Process page — large numbered stepper --------------------------- */
.stepper {
  margin-top: 56px;
  display: flex; flex-direction: column;
  gap: 0;
}
.stepper__row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 48px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--hairline);
}
.stepper__row:last-child { border-bottom: 1px solid var(--hairline); }
.stepper__num {
  font-family: var(--serif);
  font-size: 64px;
  color: var(--steel);
  line-height: 1;
  font-weight: 500;
}
.stepper__row h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-bottom: 14px;
  letter-spacing: -0.006em;
}
.stepper__row p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  max-width: 660px;
}
@media (max-width: 720px) {
  .stepper__row { grid-template-columns: 1fr; gap: 12px; }
  .stepper__num { font-size: 48px; }
}

/* Services index --------------------------------------------------- */
.services-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  margin-top: 16px;
}
.services-detail .service {
  background: var(--paper);
  padding: 48px 40px;
  min-height: 320px;
}
@media (max-width: 800px) { .services-detail { grid-template-columns: 1fr; } }

/* About page features --------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.feature h4 {
  margin-bottom: 12px;
  font-size: 16px;
}
.feature p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.feature__num {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--steel);
  line-height: 1;
  margin-bottom: 16px;
}
@media (max-width: 800px) { .features { grid-template-columns: 1fr; gap: 28px; } }

/* Insights index --------------------------------------------------- */
.insights-list {
  display: flex; flex-direction: column;
}
.insights-list .article {
  border-top: 1px solid var(--hairline);
  padding: 36px 0;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}
.insights-list .article:last-child { border-bottom: 1px solid var(--hairline); }
.insights-list .article__meta { flex-direction: column; gap: 6px; align-items: flex-start; }
.insights-list .article h3 { font-size: clamp(22px, 2.2vw, 26px); margin-bottom: 12px; }
.insights-list .article p { font-size: 15.5px; line-height: 1.6; max-width: 720px; }
@media (max-width: 720px) {
  .insights-list .article { grid-template-columns: 1fr; gap: 14px; }
}

/* Insight article page -------------------------------------------- */
.article-body {
  max-width: 720px; margin: 0 auto;
  padding-bottom: clamp(64px, 8vw, 96px);
}
.article-body p { font-size: 17px; line-height: 1.75; color: var(--body); margin-bottom: 22px; }
.article-body h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  margin-top: 48px; margin-bottom: 16px;
  letter-spacing: -0.006em;
}
.article-body blockquote {
  border-left: 2px solid var(--steel);
  padding: 6px 0 6px 24px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  margin: 32px 0;
  font-style: italic;
}

/* Contact page ----------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__form {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  padding: 40px;
}
.contact__form label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 18px 0 8px 0;
  font-weight: 500;
}
.contact__form label:first-of-type { margin-top: 0; }
.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  border-radius: 2px;
}
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: 0; border-color: var(--steel);
}
.contact__form textarea { min-height: 120px; resize: vertical; }
.contact__form .btn { margin-top: 24px; width: 100%; justify-content: center; }
.contact__info dl { display: flex; flex-direction: column; gap: 28px; }
.contact__info dt {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 6px;
}
.contact__info dd {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink);
}
.contact__info dd a { color: var(--ink); border-bottom: 1px solid var(--hairline); }
.contact__info dd a:hover { border-color: var(--steel); color: var(--steel); }
@media (max-width: 800px) {
  .contact { grid-template-columns: 1fr; gap: 48px; }
}

/* Client portal — login screen ------------------------------------ */
.portal-shell {
  min-height: calc(100vh - 76px);
  display: flex; align-items: center; justify-content: center;
  background: var(--canvas);
  padding: 60px var(--gutter);
}
.portal-login {
  width: 100%; max-width: 460px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 56px 48px;
  position: relative;
}
.portal-login::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--steel);
}
.portal-login__lock {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.portal-login__lock svg { flex-shrink: 0; }
.portal-login h1 {
  font-size: 28px;
  letter-spacing: -0.008em;
  margin-bottom: 8px;
}
.portal-login__sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.55;
}
.portal-login label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 20px 0 8px 0;
  font-weight: 500;
}
.portal-login input {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  border-radius: 2px;
}
.portal-login input:focus { outline: 0; border-color: var(--steel); }
.portal-login__row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px;
  font-size: 12.5px;
}
.portal-login__row a { color: var(--steel); }
.portal-login__row a:hover { text-decoration: underline; }
.portal-login .btn { width: 100%; justify-content: center; margin-top: 28px; }
.portal-login__foot {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}
.portal-login__foot a { color: var(--ink); border-bottom: 1px solid var(--hairline); }

/* Client portal — authenticated dashboard ------------------------- */
.portal-app {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 76px);
  background: var(--canvas);
}
.portal-side {
  background: var(--ink);
  color: var(--mist);
  padding: 36px 24px;
}
.portal-side__brand {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--paper);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.portal-side__sub {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-2);
  margin-bottom: 36px;
}
.portal-side ul { list-style: none; padding: 0; }
.portal-side ul li { margin-bottom: 4px; }
.portal-side ul li a {
  display: block;
  font-size: 13.5px;
  padding: 10px 14px;
  color: var(--mist);
  opacity: 0.7;
  border-radius: 2px;
  border-left: 2px solid transparent;
}
.portal-side ul li a:hover { opacity: 1; background: rgba(255,255,255,0.04); }
.portal-side ul li a.is-active {
  opacity: 1;
  border-left-color: var(--steel-2);
  background: rgba(255,255,255,0.04);
}
.portal-side__foot {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(201,210,220,0.18);
  font-size: 12px;
  color: var(--mist);
  opacity: 0.55;
  line-height: 1.5;
}

.portal-main {
  padding: 40px 48px;
}
.portal-main__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 40px;
  gap: 24px; flex-wrap: wrap;
}
.portal-main__head h1 {
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.008em;
  margin-bottom: 6px;
}
.portal-main__head p { color: var(--muted); font-size: 14px; }
.portal-main__advisor {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  min-width: 280px;
}
.portal-main__advisor-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--mist);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); color: var(--steel); font-size: 18px;
  flex-shrink: 0;
}
.portal-main__advisor strong {
  display: block; font-size: 14px; color: var(--ink); margin-bottom: 2px;
}
.portal-main__advisor span {
  display: block; font-size: 12px; color: var(--muted);
}

.portal-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.portal-card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 28px;
}
.portal-card h3 {
  font-size: 16px;
  font-family: var(--sans);
  font-weight: 600;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  letter-spacing: 0;
  color: var(--ink);
}
.portal-card__status {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.portal-card__pill {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--mist);
  color: var(--steel);
  padding: 5px 10px;
  border-radius: 2px;
  font-weight: 500;
}
.portal-card__pill.is-green { background: #E6F1EA; color: #1F6B3A; }
.portal-card__pill.is-amber { background: #FBF1DD; color: #8A6014; }

.progress {
  height: 6px; background: var(--mist);
  margin: 16px 0 10px 0; border-radius: 3px; overflow: hidden;
}
.progress__bar { height: 100%; background: var(--steel); }
.progress__label {
  font-size: 12.5px; color: var(--muted);
  display: flex; justify-content: space-between;
}

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist__item {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
}
.checklist__item:last-child { border-bottom: 0; }
.checklist__check {
  width: 18px; height: 18px;
  border: 1.5px solid var(--hairline);
  border-radius: 2px;
  position: relative;
}
.checklist__check.is-done {
  background: var(--steel); border-color: var(--steel);
}
.checklist__check.is-done::after {
  content: "✓"; position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--paper); font-size: 12px; font-weight: 600;
}
.checklist__date {
  font-size: 12px; color: var(--muted);
}

.docs { list-style: none; padding: 0; margin: 0; }
.docs li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
}
.docs li:last-child { border-bottom: 0; }
.docs li a { color: var(--steel); font-size: 12.5px; }
.docs__name { display: flex; align-items: center; gap: 12px; }
.docs__type {
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; background: var(--mist);
  color: var(--muted); border-radius: 2px;
}

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  display: grid; grid-template-columns: 90px 1fr; gap: 16px;
  padding: 12px 0;
  font-size: 13.5px;
  border-bottom: 1px solid var(--hairline);
}
.timeline li:last-child { border-bottom: 0; }
.timeline__date { font-size: 12px; color: var(--muted); }
.timeline__what { color: var(--body); }

.messages-stub {
  background: var(--canvas);
  border: 1px dashed var(--hairline);
  padding: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  border-radius: 2px;
}

@media (max-width: 900px) {
  .portal-app { grid-template-columns: 1fr; }
  .portal-side {
    padding: 20px 24px;
  }
  .portal-side ul { display: flex; gap: 4px; overflow-x: auto; padding-bottom: 6px; }
  .portal-side ul li { margin: 0; flex-shrink: 0; }
  .portal-side__foot { display: none; }
  .portal-main { padding: 28px 24px; }
  .portal-grid { grid-template-columns: 1fr; }
}

/* Page section variants ------------------------------------------- */
.section--tight {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.section--hairline { border-top: 1px solid var(--hairline); }
.section--canvas { background: var(--canvas); }

/* Side-by-side text+facts panel ----------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.split__panel {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  padding: 36px;
}
.split__panel dl { display: flex; flex-direction: column; gap: 18px; }
.split__panel dt {
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 4px;
}
.split__panel dd {
  font-family: var(--serif);
  font-size: 17px; color: var(--ink); line-height: 1.4;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
}

/* ==================================================================
   PHASE 3 — language switcher (EN / 中文)
   ================================================================== */
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0 4px;
}
.lang-switch__current {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.lang-switch__alt {
  color: var(--muted) !important;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.lang-switch__alt:hover {
  color: var(--ink) !important;
  border-bottom-color: var(--hairline);
}
.lang-switch__sep {
  color: var(--hairline);
  user-select: none;
}
@media (max-width: 840px) {
  .nav .lang-switch { display: none; }
  body.nav-open .nav .lang-switch {
    display: inline-flex;
    padding: 10px 0;
    border-bottom: 1px solid var(--hairline);
  }
}

/* ============================================================
   Phase 4 additions (2026-05-26)
   - Editorial "Journey" stepper for home process teaser
   - "How a conversation begins" intake stepper
   - Stat band on home page
   - Office grid for contact page
   - Disclaimer block for country pages
   - FAQ accordion
   ============================================================ */

/* --- Editorial Journey stepper (home page) --- */
.journey {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.journey::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: var(--hairline);
  z-index: 0;
}
.journey__node {
  position: relative;
  z-index: 1;
  padding: 0 16px;
  text-align: center;
}
.journey__num {
  font-family: var(--serif);
  font-size: 28px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--hairline);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}
.journey__node:hover .journey__num {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.journey__body h4 {
  margin-bottom: 8px;
  font-size: 16px;
  color: var(--ink);
}
.journey__body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 200px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .journey { grid-template-columns: 1fr; gap: 24px; }
  .journey::before { display: none; }
  .journey__node { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: start; text-align: left; padding: 0; }
  .journey__num { margin: 0; }
  .journey__body p { max-width: none; margin: 0; }
}

/* --- "How a conversation begins" intake stepper --- */
.intake-stepper {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: intake;
}
.intake-step {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 36px 28px;
  position: relative;
  transition: all 0.25s ease;
}
.intake-step:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.intake-step__num {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.intake-step h4 {
  margin-bottom: 10px;
  font-size: 16px;
}
.intake-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
}
.intake-note {
  margin-top: 36px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-weight: 500;
  padding: 16px 28px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  font-style: italic;
}
@media (max-width: 900px) {
  .intake-stepper { grid-template-columns: 1fr; gap: 16px; }
}

/* --- Stat band (home page) --- */
.stat-band > div .eyebrow {
  font-size: 11px;
}

/* --- Office grid (contact page) --- */
.office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.office {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 32px 28px;
}
.office__pin {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 20px;
}
.office h4 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 14px;
}
.office address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
}
@media (max-width: 880px) {
  .office-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* --- Disclaimer block (country pages) --- */
.disclaimer {
  background: var(--canvas);
  border-left: 3px solid var(--steel);
  padding: 28px 32px;
  margin: 48px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
}
.disclaimer strong { color: var(--ink); }

/* --- FAQ accordion --- */
.faq {
  border-top: 1px solid var(--hairline);
}
.faq__section {
  margin-bottom: 48px;
}
.faq__section-title {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  margin: 48px 0 24px;
  letter-spacing: -0.008em;
}
.faq__item {
  border-bottom: 1px solid var(--hairline);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--steel);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq__item[open] summary::after {
  content: '\2212'; /* minus */
}
.faq__answer {
  padding: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  max-width: 880px;
}
.faq__answer p + p { margin-top: 12px; }

/* --- Footer offices line --- */
.footer-offices { font-size: 13px; opacity: 0.85; }
