/* ==========================================================================
   Shadan & Co. — Chartered Accountants | NHS Global
   Theme taken from the corporate profile deck (navy / corporate blue / gold,
   Cambria-style serif headings, Calibri-style body).
   Modern CSS: native nesting, container queries, :has(), scroll-driven
   animations, cross-document view transitions, popover, color-mix().
   ========================================================================== */

@font-face { font-family: "Caladea"; src: url("../fonts/Caladea-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Caladea"; src: url("../fonts/Caladea-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Caladea"; src: url("../fonts/Caladea-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Carlito"; src: url("../fonts/Carlito-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Carlito"; src: url("../fonts/Carlito-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Carlito"; src: url("../fonts/Carlito-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

@view-transition { navigation: auto; }

:root {
  --navy: #0a2547;
  --navy-deep: #061a33;
  --navy-ink: #1b2a3d;
  --blue: #1b6fc4;
  --blue-soft: #7fb0e0;
  --sky: #eaf2fa;
  --sky-line: #c3d9ec;
  --mist: #f4f8fc;
  --gold: #e3b85a;
  --gold-deep: #c9962b;
  --muted: #5d6e80;
  --white: #fff;

  --serif: "Caladea", Cambria, Georgia, "Times New Roman", serif;
  --sans: "Carlito", Calibri, "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgb(10 37 71 / .06), 0 2px 8px rgb(10 37 71 / .05);
  --shadow: 0 6px 24px rgb(10 37 71 / .10);
  --shadow-lg: 0 18px 50px rgb(6 26 51 / .22);
  --wrap: min(1200px, 100% - 2.5rem);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  color-scheme: light;
  accent-color: var(--blue);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy-ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.18; margin: 0 0 .6em; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 1.3rem + 1.9vw, 2.75rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { padding-left: 1.15em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 999; background: var(--gold); color: var(--navy); padding: .6rem 1rem; border-radius: 6px; font-weight: 700; &:focus { top: 1rem; } }

.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding-block: clamp(4rem, 3rem + 4vw, 7rem); position: relative; }
.section--mist { background: var(--mist); }
.section--sky { background: var(--sky); }
.section--navy { background: var(--navy); color: #d6e4f3; & h2, & h3 { color: var(--white); } }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }

/* ---------- Eyebrows, section heads, gold rule ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 700 .82rem/1.2 var(--sans); letter-spacing: .32em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
  &::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
}
.section--navy .eyebrow, .on-dark .eyebrow { color: var(--gold); }
.sec-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  & p { color: var(--muted); font-size: 1.12rem; }
  &.center { margin-inline: auto; text-align: center; & .eyebrow { justify-content: center; } }
}
.section--navy .sec-head p { color: #b9cde4; }
.gold-rule { width: 92px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); margin: 1rem 0 1.5rem; border: 0; }
.lead { font-size: 1.2rem; color: var(--muted); }
.italic-sub { font-family: var(--serif); font-style: italic; color: var(--blue-soft); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: #fff; --bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 8px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 700 1rem/1 var(--sans); letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  &:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 24px color-mix(in srgb, var(--bg) 35%, transparent); background: color-mix(in srgb, var(--bg) 88%, #000); }
  & .arr { transition: transform .25s var(--ease); }
  &:hover .arr { transform: translateX(4px); }
}
.btn--gold { --bg: var(--gold); --bd: var(--gold); --fg: var(--navy-deep); }
.btn--navy { --bg: var(--navy); --bd: var(--navy); }
.btn--ghost { --bg: transparent; --fg: var(--white); --bd: rgb(255 255 255 / .55); &:hover { background: rgb(255 255 255 / .1); box-shadow: none; } }
.btn--outline { --bg: transparent; --fg: var(--navy); --bd: var(--navy); &:hover { background: var(--navy); --fg: #fff; } }
.btn--sm { padding: .62rem 1.05rem; font-size: .93rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; &:hover .arr { transform: translateX(4px); } & .arr { transition: transform .25s var(--ease); } }

/* ---------- Icons (deck icons used as CSS masks so they recolour) ---------- */
.ico {
  --c: currentColor; --s: 26px;
  display: inline-block; width: var(--s); height: var(--s); flex: none;
  background: var(--c);
  -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.ico-tile {
  --t: 54px;
  width: var(--t); height: var(--t); border-radius: 12px; flex: none;
  display: grid; place-items: center; background: var(--navy); color: var(--white);
  box-shadow: inset 0 -3px 0 var(--blue);
  & .ico { --s: calc(var(--t) * .5); }
  &.gold { background: linear-gradient(145deg, var(--gold), var(--gold-deep)); color: var(--navy-deep); box-shadow: none; }
  &.blue { background: var(--blue); box-shadow: none; }
  &.soft { background: var(--sky); color: var(--navy); box-shadow: inset 0 0 0 1px var(--sky-line); }
  &.round { border-radius: 50%; }
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-deep); color: #b9cde4; font-size: .88rem;
  & .wrap { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 40px; }
  & a { color: #d6e4f3; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; &:hover { color: var(--gold); } }
  & .ico { --s: 14px; --c: var(--blue-soft); }
  & .tb-left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
  & .tb-right { letter-spacing: .16em; text-transform: uppercase; font-size: .74rem; font-weight: 700; color: var(--gold); }
}
@media (max-width: 860px) { .topbar .tb-right, .topbar .hide-sm { display: none; } }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(255 255 255 / .92);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
  view-transition-name: site-header;
  &.is-stuck { box-shadow: 0 6px 24px rgb(10 37 71 / .09); border-color: var(--sky-line); }
  & .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); transition: min-height .3s; }
  &.is-stuck .wrap { min-height: 70px; }
}
.brand {
  display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; flex: none;
  & img { width: 54px; height: 54px; transition: transform .6s var(--ease); }
  &:hover img { transform: rotate(-12deg) scale(1.04); }
  & .b-name { font: 700 1.5rem/1 var(--serif); color: var(--navy); display: block; }
  & .b-sub { font: 700 .66rem/1 var(--sans); letter-spacing: .3em; color: var(--blue); text-transform: uppercase; display: block; margin-top: .35rem; }
}
.nav { display: flex; align-items: center; gap: .25rem; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .1rem; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .7rem .8rem; border-radius: 8px;
  color: var(--navy); font-weight: 700; font-size: 1rem; text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit;
  position: relative;
  &::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .35rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  &:hover, &[aria-current="page"], &.is-active { color: var(--blue); &::after { transform: scaleX(1); } }
  & .chev { width: 10px; height: 10px; transition: transform .25s; }
}
.nav-item:is(:hover, :focus-within, .open) > .nav-link .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; translate: -50% 8px;
  min-width: 270px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--sky-line); padding: .6rem;
  opacity: 0; visibility: hidden; transition: opacity .22s, translate .22s var(--ease), visibility .22s;
  &::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
  & ul { list-style: none; margin: 0; padding: 0; }
  & a { display: flex; gap: .75rem; align-items: center; padding: .62rem .8rem; border-radius: 10px; color: var(--navy-ink); text-decoration: none; font-weight: 700; font-size: .97rem;
    &:hover, &[aria-current="page"] { background: var(--sky); color: var(--blue); }
    & small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; line-height: 1.35; }
  }
}
.nav-item:is(:hover, :focus-within, .open) > .dropdown { opacity: 1; visibility: visible; translate: -50% 0; }
.nav-item.closed > .dropdown { opacity: 0 !important; visibility: hidden !important; }

.mega { width: min(940px, 92vw); padding: 1.2rem; display: grid; grid-template-columns: 1fr 280px; gap: 1rem; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem;
  & .ico-tile { --t: 40px; border-radius: 10px; }
}
.mega-feature {
  background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: #c8d9ec; border-radius: 12px; padding: 1.4rem; position: relative; overflow: hidden;
  & h4 { color: #fff; font-size: 1.25rem; }
  & p { font-size: .95rem; }
  & img { position: absolute; width: 150px; right: -40px; bottom: -40px; opacity: .25; }
  & .btn { position: relative; }
}

.header-cta { flex: none; }
.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 10px; border: 1.5px solid var(--sky-line); background: var(--white); cursor: pointer; place-items: center;
  & span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; box-shadow: 0 -7px 0 var(--navy), 0 7px 0 var(--navy); }
}

/* Mobile drawer (Popover API) */
.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; height: 100dvh; max-height: none; width: min(420px, 100vw);
  border: 0; padding: 0; background: var(--navy); color: #fff; overflow-y: auto; overscroll-behavior: contain;
  translate: 100% 0; transition: translate .4s var(--ease), display .4s allow-discrete, overlay .4s allow-discrete;
  &:popover-open { translate: 0 0; @starting-style { translate: 100% 0; } }
  &::backdrop { background: rgb(6 26 51 / .55); backdrop-filter: blur(3px); }
  & .d-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid rgb(255 255 255 / .1); }
  & .d-head img { width: 46px; }
  & .d-close { background: rgb(255 255 255 / .08); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 10px; font-size: 1.6rem; cursor: pointer; }
  & nav { padding: 1rem 1.25rem 2rem; }
  & ul { list-style: none; margin: 0; padding: 0; }
  & a { color: #e6eef8; text-decoration: none; display: flex; align-items: center; gap: .7rem; padding: .7rem 0; font-weight: 700; font-size: 1.08rem; border-bottom: 1px solid rgb(255 255 255 / .07); &[aria-current="page"] { color: var(--gold); } }
  & details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: .7rem 0; font-weight: 700; font-size: 1.08rem; border-bottom: 1px solid rgb(255 255 255 / .07); &::-webkit-details-marker { display: none; } &::after { content: "+"; color: var(--gold); font-size: 1.3rem; line-height: 1; } }
  & details[open] summary::after { content: "–"; }
  & details ul { padding-left: .5rem; & a { font-size: .98rem; font-weight: 400; } & .ico { --s: 18px; --c: var(--blue-soft); } }
  & .d-contact { padding: 1rem 1.25rem 2rem; font-size: .95rem; color: #b9cde4; & a { border: 0; padding: .3rem 0; font-weight: 400; font-size: .95rem; } }
}

@media (max-width: 1140px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: grid; }
}
@media (min-width: 1141px) { .drawer { display: none !important; } }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 500px at 85% 15%, rgb(27 111 196 / .35), transparent 60%),
    radial-gradient(700px 400px at 10% 110%, rgb(227 184 90 / .14), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #d6e4f3;
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem) clamp(3rem, 2rem + 3vw, 5rem);
  & h1 { color: #fff; }
  & h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
  & .lead { color: #b9cde4; max-width: 640px; }
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; border: 1px solid rgb(127 176 224 / .16); }
.hero::before { width: 820px; height: 820px; right: -260px; top: -300px; background: rgb(255 255 255 / .02); }
.hero::after { width: 520px; height: 520px; right: -60px; top: -120px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-tag { display: inline-flex; gap: .7rem; align-items: center; padding: .45rem .9rem .45rem .5rem; border-radius: 99px; background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14); font-size: .9rem; color: #d6e4f3; margin-bottom: 1.6rem;
  & b { background: var(--gold); color: var(--navy-deep); border-radius: 99px; padding: .15rem .6rem; font-size: .75rem; letter-spacing: .12em; }
}
.hero-quote { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; margin: 1.6rem 0 2rem; padding-left: 1rem; border-left: 3px solid var(--gold);
  & cite { display: block; font-style: normal; font-family: var(--sans); font-size: .88rem; color: #b9cde4; margin-top: .3rem; }
}
.hero-emblem { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%; }
.hero-emblem img { width: 72%; filter: drop-shadow(0 30px 50px rgb(0 0 0 / .45)); animation: float 7s ease-in-out infinite; position: relative; z-index: 2; }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgb(227 184 90 / .35); animation: spin 60s linear infinite; }
.orbit.o2 { inset: 9%; border: 1px solid rgb(127 176 224 / .25); animation-duration: 90s; animation-direction: reverse; }
.country-chip { position: absolute; z-index: 3; background: var(--white); color: var(--navy); font-weight: 700; font-size: .85rem; padding: .45rem .8rem; border-radius: 99px; box-shadow: var(--shadow); display: flex; gap: .4rem; align-items: center; white-space: nowrap;
  & i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
  &.c1 { top: 8%; left: 0; } &.c2 { top: 22%; right: -2%; } &.c3 { bottom: 18%; left: -4%; } &.c4 { bottom: 4%; right: 6%; }
  &.c1 i { background: var(--navy); } &.c3 i, &.c4 i { background: var(--gold); }
}
@keyframes float { 50% { translate: 0 -12px; } }
@keyframes spin { to { rotate: 360deg; } }

.stat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius-lg); overflow: hidden; margin-top: clamp(2.5rem, 4vw, 4rem); }
.stat { background: rgb(6 26 51 / .55); padding: 1.35rem 1rem; text-align: center;
  & strong { display: block; font: 700 clamp(1.8rem, 1.3rem + 1.4vw, 2.5rem)/1 var(--serif); color: #fff; }
  & span { display: block; margin-top: .45rem; color: var(--blue-soft); font-size: .88rem; font-weight: 700; letter-spacing: .04em; }
}
.badges { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: center; margin-top: 1.8rem; font-size: .76rem; letter-spacing: .2em; font-weight: 700; text-transform: uppercase; color: #9fbbd9;
  & span { display: inline-flex; gap: .55rem; align-items: center; } & span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
}

/* ---------- Page hero (inner pages) — mirrors the slide title bar ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #c8d9ec;
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem);
  border-bottom: 4px solid var(--blue);
  & h1 { color: #fff; max-width: 860px; view-transition-name: page-title; }
  & .italic-sub { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); max-width: 760px; margin-bottom: 0; }
  & .ph-logo { position: absolute; right: clamp(-120px, -6vw, -40px); top: 50%; translate: 0 -50%; width: clamp(240px, 30vw, 420px); opacity: .1; z-index: -1; }
  & .eyebrow { color: var(--gold); }
}
.page-hero::after { content: ""; position: absolute; width: 640px; height: 640px; border-radius: 50%; right: -200px; top: -260px; background: rgb(255 255 255 / .03); z-index: -1; }
.crumbs { font-size: .9rem; margin-bottom: 1.4rem; color: #9fbbd9;
  & ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
  & li + li::before { content: "›"; margin-right: .4rem; color: var(--gold); }
  & a { color: #d6e4f3; text-decoration: none; &:hover { color: var(--gold); } }
}
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem;
  & a { padding: .48rem .95rem; border-radius: 99px; border: 1px solid rgb(255 255 255 / .2); color: #e6eef8; text-decoration: none; font-size: .92rem; font-weight: 700; transition: background .2s, border-color .2s; &:hover { background: rgb(255 255 255 / .1); border-color: var(--gold); color: #fff; } }
}
.page-hero .stat-row { grid-template-columns: repeat(4, 1fr); margin-top: 2.5rem; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(1rem, .8rem + 1vw, 1.6rem); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.auto { grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
@media (max-width: 1024px) { .g4, .g5 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .g2, .g3, .g4, .g5 { grid-template-columns: 1fr; } }

.card {
  container-type: inline-size;
  background: var(--white); border: 1px solid var(--sky-line); border-radius: var(--radius-lg); padding: clamp(1.3rem, 1rem + 1vw, 1.8rem);
  position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  & h3 { margin-top: 1rem; }
  & p { color: var(--muted); font-size: 1rem; }
  & > :last-child { margin-bottom: 0; }
  &.gold-top { border-top: 4px solid var(--gold); }
  &.blue-top { border-top: 4px solid var(--blue); }
  &.navy { background: var(--navy); border-color: var(--navy); color: #c8d9ec; & h3, & h4 { color: #fff; } & p { color: #b9cde4; } & li { color: #d6e4f3; } }
  &.mist { background: var(--mist); }
}
a.card { text-decoration: none; color: inherit; display: flex; flex-direction: column;
  &:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-soft); }
  & .more { margin-top: auto; padding-top: .8rem; font-weight: 700; color: var(--blue); display: inline-flex; gap: .4rem; align-items: center; }
  &:hover .more .arr { translate: 4px 0; } & .arr { transition: translate .25s var(--ease); }
}
.card-head { display: flex; gap: 1rem; align-items: center; & h3, & h4 { margin: 0; } }
@container (max-width: 260px) { .card-head { flex-direction: column; align-items: flex-start; } }

.service-card { overflow: hidden;
  &::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
  &:hover::after { transform: scaleX(1); }
  & .ico-tile { transition: background .3s, rotate .5s var(--ease); }
  &:hover .ico-tile { background: var(--blue); rotate: -6deg; }
}

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem;
  & li { position: relative; padding-left: 1.6rem; line-height: 1.45; }
  & li::before { content: ""; position: absolute; left: 0; top: .28em; width: 1rem; height: 1rem; background: var(--blue); -webkit-mask: url("../icons/check-blue.png") center / contain no-repeat; mask: url("../icons/check-blue.png") center / contain no-repeat; }
  &.gold li::before { background: var(--gold-deep); }
  &.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; @media (max-width: 680px) { grid-template-columns: 1fr; } }
}
.card.navy .check-list li::before, .section--navy .check-list li::before { background: var(--gold); }
.dot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem;
  & li { position: relative; padding-left: 1.1rem; font-size: .98rem; color: var(--navy-ink); line-height: 1.45; }
  & li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
}

.chip-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 99px; background: var(--white); border: 1px solid var(--sky-line); font-weight: 700; font-size: .92rem; color: var(--navy);
  & i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
  &.dark { background: rgb(255 255 255 / .06); border-color: rgb(255 255 255 / .16); color: #e6eef8; & i { background: var(--gold); } }
}

/* Banner (Big Four band) */
.band {
  background: linear-gradient(100deg, var(--navy) 0%, #0e3466 60%, var(--blue) 140%); color: #d6e4f3; border-radius: var(--radius-lg); padding: clamp(1.6rem, 1rem + 2vw, 2.6rem);
  display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2rem; align-items: center; position: relative; overflow: hidden;
  & h3 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); }
  & p { margin: 0; color: #b9cde4; }
  & .firms { display: flex; flex-wrap: wrap; gap: .5rem; }
  & .firms span { font: 700 1rem/1 var(--serif); padding: .55rem .9rem; border-radius: 8px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); color: #fff; }
  @media (max-width: 900px) { grid-template-columns: 1fr; }
}

/* Feature pillars */
.pillar { display: flex; gap: 1rem; align-items: flex-start;
  & h4 { margin: .15rem 0 .3rem; }
  & p { margin: 0; color: var(--muted); font-size: .98rem; }
}

/* Split layouts */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }

/* Stat band (light) */
.stats-light { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.5rem;
  & .s { background: var(--white); border: 1px solid var(--sky-line); border-radius: var(--radius-lg); padding: 1.4rem; text-align: center;
    & strong { display: block; font: 700 2.3rem/1 var(--serif); color: var(--navy); }
    & span { display: block; margin-top: .5rem; color: var(--blue); font-weight: 700; font-size: .92rem; }
  }
  @media (max-width: 800px) { grid-template-columns: repeat(2, 1fr); }
}

/* Tabs (Why us) */
.tabs { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: start;
  @media (max-width: 860px) { grid-template-columns: 1fr; }
}
.tablist { display: grid; gap: .6rem;
  @media (max-width: 860px) { grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .4rem; & > * { scroll-snap-align: start; } }
}
.tab { text-align: left; display: flex; gap: .9rem; align-items: center; padding: 1rem 1.1rem; border-radius: 12px; border: 1px solid rgb(255 255 255 / .14); background: rgb(255 255 255 / .04); color: #d6e4f3; font: 700 1.05rem/1.25 var(--sans); cursor: pointer; transition: background .25s, border-color .25s;
  & .ico-tile { --t: 42px; background: rgb(255 255 255 / .08); box-shadow: none; }
  &[aria-selected="true"] { background: var(--white); color: var(--navy); border-color: var(--white); & .ico-tile { background: var(--navy); } }
  &:hover:not([aria-selected="true"]) { border-color: var(--gold); }
}
.tabpanel { background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.4rem);
  & h3 { color: #fff; }
  &[hidden] { display: none; }
  &:not([hidden]) { animation: fade-up .45s var(--ease); }
}
@keyframes fade-up { from { opacity: 0; translate: 0 14px; } }
.metric { background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); border-radius: 14px; padding: 1.3rem;
  & strong { display: block; font: 700 2rem/1 var(--serif); color: var(--gold); }
  & span { display: block; margin-top: .45rem; color: #c8d9ec; font-size: .95rem; }
}

/* Industry tiles */
.ind-tile { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: 14px; background: var(--white); border: 1px solid var(--sky-line); text-decoration: none; color: var(--navy); font-weight: 700; line-height: 1.3; transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s;
  & .ico-tile { --t: 46px; }
  &:hover { transform: translateY(-4px); background: var(--navy); color: #fff; box-shadow: var(--shadow); & .ico-tile { background: var(--gold); color: var(--navy-deep); } }
}

/* Founder message */
.founder { display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  @media (max-width: 860px) { grid-template-columns: 1fr; }
}
.portrait { position: relative; max-width: 340px; margin-inline: auto;
  & img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--white); box-shadow: var(--shadow-lg); position: relative; z-index: 1; }
  &::before { content: ""; position: absolute; inset: -18px; border-radius: 50%; border: 2px dashed var(--gold); animation: spin 50s linear infinite; }
  & .creds { position: absolute; z-index: 2; bottom: 4%; left: 50%; translate: -50% 0; white-space: nowrap; background: var(--navy); color: #fff; font-weight: 700; font-size: .78rem; padding: .45rem .9rem; border-radius: 99px; letter-spacing: .04em; box-shadow: var(--shadow); }
}
blockquote.big { margin: 0; font: italic 400 clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem)/1.3 var(--serif); color: var(--navy);
  &::before { content: "“"; display: block; font-size: 5rem; line-height: .6; color: var(--gold); margin-bottom: .6rem; font-style: normal; }
}

/* Team */
.person { text-align: center; padding-top: 2rem;
  & .avatar { width: 112px; height: 112px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; font: 700 2.6rem/1 var(--serif); color: #fff; background: radial-gradient(circle at 30% 25%, #1e4f8c, var(--navy)); border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--gold), var(--shadow); overflow: hidden;
    & img { width: 100%; height: 100%; object-fit: cover; }
  }
  & h3 { margin: 0 0 .2rem; font-size: 1.22rem; }
  & .role { color: var(--gold-deep); font-weight: 700; font-style: italic; font-size: .95rem; }
  & .firm { color: var(--blue); font-weight: 700; font-size: .9rem; margin: .5rem 0 .7rem; }
  & .quals { display: inline-block; background: var(--sky); border: 1px solid var(--sky-line); border-radius: 8px; padding: .35rem .7rem; font-size: .82rem; font-weight: 700; color: var(--navy); }
  & .meta { margin-top: .8rem; font-size: .9rem; color: var(--muted); line-height: 1.45; }
  & .meta b { color: var(--navy); }
}
.person.lead-person { text-align: left; display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: center; padding-top: clamp(1.3rem, 1rem + 1vw, 1.8rem);
  & .avatar { width: 220px; height: 220px; margin: 0; }
  @media (max-width: 720px) { grid-template-columns: 1fr; text-align: center; & .avatar { margin-inline: auto; width: 170px; height: 170px; } }
}

/* Offices */
.office { display: flex; flex-direction: column; gap: .4rem;
  & .flag { font: 700 .74rem/1 var(--sans); letter-spacing: .26em; color: var(--blue); text-transform: uppercase; }
  & h3 { margin: .3rem 0 .4rem; font-size: 1.2rem; }
  & .firms { font-size: .92rem; color: var(--muted); margin-bottom: .4rem; }
  & .line { display: flex; gap: .55rem; align-items: flex-start; font-size: .97rem; color: var(--navy-ink); & .ico { --s: 16px; --c: var(--blue); margin-top: .25em; } & a { color: inherit; text-decoration: none; &:hover { color: var(--blue); } } }
  &.hq { border-top: 4px solid var(--gold); }
  & .tag { position: absolute; top: 1rem; right: 1rem; background: var(--gold); color: var(--navy-deep); font-size: .7rem; font-weight: 700; letter-spacing: .12em; padding: .25rem .55rem; border-radius: 6px; }
}

/* Network tree */
.net-root { background: var(--navy); color: #c8d9ec; border-radius: var(--radius-lg); padding: 1.5rem 1.8rem; display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; position: relative;
  & img { width: 74px; }
  & h3 { color: #fff; margin: 0 0 .2rem; }
  & p { margin: 0; font-style: italic; color: var(--blue-soft); }
  & ul { margin: 0 0 0 auto; color: #e6eef8; font-size: .95rem; }
}
.net-branches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; position: relative; padding-top: 2.2rem;
  &::before { content: ""; position: absolute; top: 1.1rem; left: 12.5%; right: 12.5%; height: 2px; background: var(--blue); }
  & > * { position: relative; &::before { content: ""; position: absolute; top: -1.1rem; left: 50%; width: 2px; height: 1.1rem; background: var(--blue); } }
  @media (max-width: 900px) { grid-template-columns: 1fr 1fr; &::before, & > *::before { display: none; } }
  @media (max-width: 560px) { grid-template-columns: 1fr; }
}
.net-node { background: var(--white); border: 1px solid var(--sky-line); border-radius: 14px; padding: 1.2rem; min-height: 100%;
  & .flag { font: 700 .74rem/1 var(--sans); letter-spacing: .22em; color: var(--blue); }
  & ul { margin: .7rem 0; padding-left: 1.1em; font-weight: 700; color: var(--navy); font-size: .97rem; }
  & small { color: var(--muted); }
  &.home { background: var(--navy); border-color: var(--navy); & .flag { color: var(--gold); } & ul { color: #fff; } & small { color: var(--blue-soft); } }
}

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 1rem; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start; padding: 1.1rem 1.2rem; background: var(--white); border: 1px solid var(--sky-line); border-radius: 14px;
  &::before { counter-increment: step; content: counter(step); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font: 700 1.15rem/1 var(--serif); box-shadow: 0 0 0 5px var(--sky); }
  & h4 { margin: .25rem 0 .25rem; }
  & p { margin: 0; color: var(--muted); font-size: .98rem; }
}
.steps.h { grid-template-columns: repeat(4, 1fr);
  & .step { grid-template-columns: 1fr; }
  @media (max-width: 980px) { grid-template-columns: 1fr 1fr; } @media (max-width: 600px) { grid-template-columns: 1fr; }
}

/* Service page layout */
.svc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
  @media (max-width: 1000px) { grid-template-columns: 1fr; }
}
.svc-main > section { padding-block: clamp(2rem, 1.5rem + 2vw, 3rem); border-bottom: 1px solid var(--sky-line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.svc-main > section:first-child { padding-top: 0; }
.svc-main > section:last-child { border-bottom: 0; }
.sidebar { position: sticky; top: calc(var(--header-h) + 1.25rem); display: grid; gap: 1.2rem;
  @media (max-width: 1000px) { position: static; }
  & .box { background: var(--mist); border: 1px solid var(--sky-line); border-radius: var(--radius-lg); padding: 1.3rem; }
  & h4 { font-size: .8rem; font-family: var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--blue); margin-bottom: .8rem; }
  & ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
  & a:not(.btn) { display: flex; gap: .6rem; align-items: center; padding: .48rem .6rem; border-radius: 8px; color: var(--navy-ink); text-decoration: none; font-weight: 700; font-size: .95rem; transition: background .2s, color .2s;
    &:hover { background: var(--white); color: var(--blue); }
    &.is-active, &[aria-current="page"] { background: var(--navy); color: #fff; & .ico { --c: var(--gold); } }
    & .ico { --s: 18px; --c: var(--blue); }
  }
  & .toc a { font-weight: 400; border-left: 2px solid var(--sky-line); border-radius: 0 8px 8px 0; &.is-active { background: var(--white); color: var(--blue); border-left-color: var(--gold); font-weight: 700; } }
  & .cta-box { background: var(--navy); color: #c8d9ec; border-radius: var(--radius-lg); padding: 1.5rem; & h3 { color: #fff; font-size: 1.25rem; } & p { font-size: .95rem; } }
}
.snapshot { display: grid; grid-template-columns: 1fr; border: 1px solid var(--sky-line); border-radius: var(--radius-lg); overflow: hidden;
  & div { display: grid; grid-template-columns: 220px 1fr; gap: 1rem; padding: 1rem 1.3rem; background: var(--white); &:nth-child(odd) { background: var(--mist); } }
  & dt { font-weight: 700; color: var(--navy); } & dd { margin: 0; color: var(--navy-ink); }
  @media (max-width: 600px) { & div { grid-template-columns: 1fr; gap: .2rem; } }
}
.deliverable { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  & .num { font: 700 1.7rem/1 var(--serif); color: var(--gold-deep); min-width: 2.2ch; }
  & h4 { margin: .1rem 0 .3rem; }
  & p { margin: 0; color: var(--muted); font-size: .98rem; }
}
.callout { display: flex; gap: 1.2rem; align-items: flex-start; background: var(--navy); color: #c8d9ec; border-radius: var(--radius-lg); padding: 1.5rem 1.6rem; border-left: 5px solid var(--gold);
  & h4 { color: #fff; margin: 0 0 .35rem; } & p { margin: 0; }
}
.tech { display: flex; flex-wrap: wrap; gap: .6rem;
  & > span { display: inline-flex; align-items: center; gap: .5rem; background: var(--white); border: 1px solid var(--sky-line); padding: .6rem .9rem; border-radius: 10px; font-weight: 700; color: var(--navy); font-size: .95rem; }
  & .ico { --s: 18px; --c: var(--navy); }
}
.risk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: .7rem;
  & > span { display: flex; gap: .6rem; align-items: center; padding: .85rem 1rem; background: var(--white); border: 1px solid var(--sky-line); border-radius: 10px; font-weight: 700; color: var(--navy); font-size: .95rem; line-height: 1.3; transition: border-color .2s, transform .2s;
    &::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); flex: none; box-shadow: 0 0 0 4px var(--sky); }
    &:hover { border-color: var(--blue); transform: translateY(-2px); }
  }
}
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  @media (max-width: 1000px) { grid-template-columns: repeat(2, 1fr); } @media (max-width: 560px) { grid-template-columns: 1fr; }
  & .card { padding: 1.3rem; & h4 { margin: .9rem 0 .35rem; } & p { margin: 0; font-size: .96rem; } }
  & .n { position: absolute; top: 1rem; right: 1.1rem; font: 700 1.1rem/1 var(--serif); color: var(--sky-line); }
}

/* FAQ — exclusive accordion via <details name> */
.faq { display: grid; gap: .8rem; max-width: 900px; margin-inline: auto; }
.faq details { background: var(--white); border: 1px solid var(--sky-line); border-radius: 14px; overflow: hidden; transition: border-color .25s, box-shadow .25s;
  &[open] { border-color: var(--blue-soft); box-shadow: var(--shadow-sm); }
  & summary { cursor: pointer; list-style: none; padding: 1.15rem 1.4rem; font: 700 1.1rem/1.35 var(--serif); color: var(--navy); display: flex; justify-content: space-between; gap: 1rem; align-items: center;
    &::-webkit-details-marker { display: none; }
    &::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--blue); font: 700 1.3rem/1 var(--sans); transition: rotate .3s var(--ease), background .3s; }
  }
  &[open] summary::after { rotate: 45deg; background: var(--blue); color: #fff; }
  & .a { padding: 0 1.4rem 1.3rem; color: var(--muted); & p:last-child { margin: 0; } }
}
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, var(--navy-deep), var(--navy) 55%, #0e3466); color: #c8d9ec; text-align: center; padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem);
  & h2 { color: #fff; max-width: 820px; margin-inline: auto; }
  & p { max-width: 660px; margin: 0 auto 2rem; color: #b9cde4; font-size: 1.12rem; }
  & .btn-row { justify-content: center; }
  & img { position: absolute; width: 380px; left: -110px; bottom: -150px; opacity: .08; z-index: -1; }
}
.cta-band::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -240px; border: 1px solid rgb(227 184 90 / .25); z-index: -1; }

/* Forms */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.4rem); box-shadow: var(--shadow-lg); color: var(--navy-ink); border-top: 5px solid var(--gold);
  & h3 { margin-bottom: .3rem; }
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem;
  & .full { grid-column: 1 / -1; }
  @media (max-width: 600px) { grid-template-columns: 1fr; }
}
.field { display: grid; gap: .35rem;
  & label { font-weight: 700; font-size: .92rem; color: var(--navy); }
  & label .req { color: #c0392b; }
  & :is(input, select, textarea) { width: 100%; font: inherit; font-size: 1rem; padding: .8rem .95rem; border: 1.5px solid var(--sky-line); border-radius: 10px; background: var(--mist); color: var(--navy-ink); transition: border-color .2s, box-shadow .2s, background .2s;
    &:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgb(27 111 196 / .14); }
  }
  & textarea { min-height: 130px; resize: vertical; field-sizing: content; }
  & .err { font-size: .84rem; color: #c0392b; min-height: 0; }
  &:has(:user-invalid) :is(input, select, textarea) { border-color: #c0392b; background: #fff6f5; }
}
.hp { position: absolute !important; left: -9999px !important; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: .8rem; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: 10px; font-weight: 700; display: none;
  &.ok { display: block; background: #e8f6ee; color: #1e6b3a; border: 1px solid #b6e0c4; }
  &.bad { display: block; background: #fff1ef; color: #a5321f; border: 1px solid #f2c2ba; }
}
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.steps3 { display: grid; gap: 1.2rem; margin-top: 2rem;
  & > div { display: flex; gap: 1rem; align-items: flex-start; }
  & b { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy-deep); font: 700 1.1rem/1 var(--serif); }
  & h4 { color: #fff; margin: .25rem 0 .2rem; } & p { margin: 0; color: #b9cde4; font-size: .98rem; }
}
.map { border: 0; width: 100%; aspect-ratio: 16 / 7; border-radius: var(--radius-lg); filter: saturate(.85); min-height: 300px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #9fbbd9; padding-top: clamp(3.5rem, 3rem + 3vw, 5rem); font-size: .97rem;
  & a { color: #c8d9ec; text-decoration: none; &:hover { color: var(--gold); } }
  & h4 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 1.1rem; }
  & ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
}
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem;
  @media (max-width: 980px) { grid-template-columns: 1fr 1fr; } @media (max-width: 560px) { grid-template-columns: 1fr; }
}
.f-brand { & .brand .b-name { color: #fff; } & p { margin-top: 1.1rem; } }
.f-contact li { display: flex; gap: .6rem; align-items: flex-start; & .ico { --s: 16px; --c: var(--gold); margin-top: .3em; } }
.f-strip { margin-top: 3rem; border-top: 1px solid rgb(255 255 255 / .08); padding-block: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; color: #7f9cbc; }
.f-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; & span { font-size: .7rem; letter-spacing: .14em; font-weight: 700; padding: .35rem .6rem; border: 1px solid rgb(227 184 90 / .4); color: var(--gold); border-radius: 6px; } }

.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; border: 2px solid var(--gold); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; translate: 0 20px; pointer-events: none; transition: opacity .3s, translate .3s var(--ease);
  &.show { opacity: 1; translate: 0 0; pointer-events: auto; }
  & svg { width: 18px; }
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: linear-gradient(90deg, var(--gold), var(--blue)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* Reveal on scroll: scroll-driven animations where supported, IO fallback otherwise */
.reveal { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.reveal.in { opacity: 1; translate: 0 0; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 1; translate: 0 0; transition: none; animation: reveal both linear; animation-timeline: view(); animation-range: entry 0px entry 180px; }
    @keyframes reveal { from { opacity: 0; translate: 0 30px; } }
  }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; translate: none; } }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* Utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.flex-between { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; }

@media print { .topbar, .site-header, .site-footer, .to-top, .cta-band, .progress { display: none !important; } .reveal { opacity: 1 !important; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-emblem { max-width: 340px; order: -1; }
  .stat-row, .page-hero .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-row .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .brand .b-name { font-size: 1.25rem; } .brand img { width: 46px; height: 46px; } .brand .b-sub { letter-spacing: .2em; }
  .country-chip { font-size: .75rem; }
}
