/* ============================================================
   Collection Africa, site styles
   Navy, gold and a ledger's discipline: hairlines, tabular
   numbers, plenty of air. Interactions are quiet and purposeful.
   ============================================================ */
:root {
  --ink: #12162e; --navy: #1b2149; --navy-deep: #0d1130; --blue: #2f6db4; --blue-deep: #235391;
  --gold: #a9761a; --gold-bright: #dcae37; --paper: #f4f6f9; --paper-2: #eaeef5;
  --rule: #dde2ec; --rule-strong: #b9c2d4; --muted: #5a6079; --white: #fff;
  --danger: #a3242b; --success: #17603f;
  --serif: "Source Serif 4", Cambria, Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shell: 1200px; --gutter: clamp(1.25rem, 4vw, 3rem); --band: clamp(4.5rem, 9vw, 8rem);
  --topbar-h: 38px; --nav-h: 78px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -.014em; color: var(--navy); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.1rem); letter-spacing: -.022em; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--blue-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--navy); color: #fff; }
button { font: inherit; }
.ico { flex-shrink: 0; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--navy); color: #fff; padding: .8rem 1.2rem; }
.skip-link:focus { left: .5rem; top: .5rem; }
.band { padding-block: var(--band); }
.band--tight { padding-block: calc(var(--band) * .55); }
.band--paper { background: var(--paper); }
.band--navy { background: var(--navy); color: #d5dbee; }
.band--navy h2, .band--navy h3 { color: #fff; }
.kicker { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--gold); margin-bottom: .8rem; }
.band--navy .kicker, .showcase .kicker { color: var(--gold-bright); }
.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: 56ch; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 { margin-bottom: .2em; }
.meta { font-size: .85rem; color: var(--muted); }
.h-sm { font-size: 1.5rem; }
.empty-note { color: var(--muted); text-align: center; padding: 2rem 0; }

/* ── Buttons, tags, chips ───────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 600 .86rem/1 var(--sans); letter-spacing: .01em; padding: 1rem 1.7rem; border: 1px solid transparent; border-radius: var(--radius); cursor: pointer; text-decoration: none; transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); color: #fff; box-shadow: 0 10px 24px rgba(27,33,73,.25); }
.btn--gold { background: var(--gold-bright); color: var(--navy-deep); }
.btn--gold:hover { background: #e8bd4a; color: var(--navy-deep); box-shadow: 0 10px 28px rgba(220,174,55,.32); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--rule-strong); }
.btn--outline:hover { border-color: var(--navy); background: var(--paper); color: var(--navy); }
.btn--ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); color: #fff; border-color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #eef1f8; color: var(--navy); }
.btn[disabled] { opacity: .6; cursor: progress; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; color: var(--blue-deep); background: #e8f0fa; padding: .25rem .6rem; border-radius: 2px; }
.tag--light { background: rgba(255,255,255,.14); color: #fff; }
.chips, .chips-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip, .chip-link { display: inline-flex; align-items: center; gap: .4rem; font: 500 .85rem/1 var(--sans); padding: .65rem 1rem; border: 1px solid var(--rule-strong); border-radius: 999px; background: #fff; color: var(--navy); cursor: pointer; text-decoration: none; transition: all .25s var(--ease); }
.chip:hover, .chip-link:hover { border-color: var(--navy); transform: translateY(-1px); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.count-pill { display: inline-grid; place-items: center; min-width: 1.15rem; height: 1.15rem; margin-left: .4rem; padding-inline: .3rem; background: var(--gold-bright); color: var(--navy-deep); border-radius: 999px; font-size: .68rem; font-weight: 700; line-height: 1; }
.notice { padding: 1rem 1.2rem; border-radius: var(--radius); font-size: .9rem; border: 1px solid; }
.notice--warn { background: #fff7e6; border-color: #f0d9a0; color: #6b4a08; }
.toasts { position: fixed; top: calc(var(--topbar-h) + var(--nav-h) + 12px); left: 50%; transform: translateX(-50%); z-index: 120; width: min(520px, calc(100vw - 2rem)); display: grid; gap: .5rem; }
.toast { margin: 0; padding: .9rem 1.2rem; border-radius: var(--radius); box-shadow: 0 12px 34px rgba(18,22,46,.18); font-size: .92rem; background: #fff; border-left: 4px solid var(--blue); animation: toastIn .5s var(--ease); }
.toast--ok { border-color: var(--success); } .toast--error { border-color: var(--danger); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* ── Scroll reveal and glow ─────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .85s var(--ease) var(--d, 0ms), transform .85s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-glow] { position: relative; overflow: hidden; }
[data-glow]::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(220,174,55,.14), transparent 60%); opacity: 0; transition: opacity .35s; pointer-events: none; z-index: 0; }
[data-glow]:hover::before { opacity: 1; }
[data-glow] > * { position: relative; z-index: 1; }

/* ── Header ─────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 70; background: #fff; border-bottom: 1px solid var(--rule); transition: background-color .35s, box-shadow .35s, border-color .35s; }
.topbar { background: var(--navy); color: #c4cce4; font-size: .75rem; height: var(--topbar-h); overflow: hidden; transition: height .35s var(--ease), background-color .35s; }
.topbar__row { display: flex; justify-content: space-between; align-items: center; height: var(--topbar-h); gap: 1rem; }
.topbar a { color: #c4cce4; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; margin-right: 1.25rem; }
.topbar a:hover { color: #fff; }
.site-header.is-scrolled .topbar { height: 0; }
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(18,22,46,.09); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--navy); color: #fff; font: 600 1rem var(--serif); letter-spacing: .02em; border-radius: 2px; position: relative; }
.brand-mark::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 6px; height: 2px; background: var(--gold-bright); }
.brand-name { font: 600 1.2rem/1.05 var(--serif); color: var(--navy); }
.brand-name small { display: block; font: 500 .66rem var(--sans); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; margin-top: .15rem; }
.brand-img { height: 42px; width: auto; }
.brand-img--light { display: none; }
.primary-nav { display: flex; align-items: center; gap: 2rem; }
.nav-link { position: relative; font-size: .9rem; font-weight: 500; color: var(--ink); text-decoration: none; padding-block: .4rem; display: inline-flex; align-items: center; gap: .3rem; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold-bright); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link:hover { color: var(--navy); }
.has-mega { position: relative; }
.has-mega .nav-link .ico { transition: transform .3s var(--ease); }
.has-mega:hover .nav-link .ico, .has-mega.is-open .nav-link .ico { transform: rotate(180deg); }
.mega { position: absolute; top: 100%; left: -1.25rem; width: min(760px, 90vw); padding-top: 1rem; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: .75rem; box-shadow: 0 24px 60px rgba(18,22,46,.16); }
.mega__grid a { display: flex; gap: .9rem; padding: .9rem; border-radius: 3px; text-decoration: none; color: var(--ink); transition: background-color .2s; }
.mega__grid a:hover { background: var(--paper); }
.mega__num { font-size: .72rem; font-weight: 700; color: var(--gold); padding-top: .25rem; }
.mega__grid strong { display: block; font: 600 1rem var(--serif); color: var(--navy); }
.mega__grid small { display: block; font-size: .78rem; line-height: 1.45; color: var(--muted); margin-top: .15rem; }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--rule); background: #fff; color: var(--navy); border-radius: var(--radius); cursor: pointer; transition: all .25s; }
.icon-btn:hover { border-color: var(--navy); }
.nav-burger { display: none; }
.nav-cta { padding: .85rem 1.3rem; }

.is-home .hero { margin-top: calc(-1 * (var(--topbar-h) + var(--nav-h))); }
.is-home .site-header:not(.is-scrolled) { background: transparent; border-color: transparent; }
.is-home .site-header:not(.is-scrolled) .topbar { background: rgba(8,12,38,.4); }
.is-home .site-header:not(.is-scrolled) .nav-link { color: #fff; }
.is-home .site-header:not(.is-scrolled) .icon-btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); color: #fff; }
.is-home .site-header:not(.is-scrolled) .brand-name, .is-home .site-header:not(.is-scrolled) .brand-name small { color: #fff; }
.is-home .site-header:not(.is-scrolled) .brand-mark { background: #fff; color: var(--navy); }
.is-home .site-header:not(.is-scrolled) .brand-img--light { display: block; }
.is-home .site-header:not(.is-scrolled) .brand-img--dark { display: none; }
.admin-bar .site-header { top: 32px; }

.search-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(9,13,40,.96); display: grid; align-content: center; backdrop-filter: blur(8px); animation: fade .3s; }
.search-overlay[hidden] { display: none; }
.search-overlay form { display: flex; gap: .75rem; }
.search-overlay input { flex: 1; font: 500 clamp(1.4rem, 3vw, 2.4rem) var(--serif); padding: 1rem 0; background: none; border: 0; border-bottom: 2px solid rgba(255,255,255,.4); color: #fff; outline: none; }
.search-overlay input:focus { border-color: var(--gold-bright); }
.search-hint { color: #aab4d2; margin-top: 1.2rem; font-size: .9rem; }
.search-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: 0; color: #fff; cursor: pointer; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.mobile-nav { position: fixed; inset: 0; z-index: 190; background: var(--navy-deep); color: #fff; overflow-y: auto; animation: fade .3s; }
.mobile-nav[hidden] { display: none; }
.mobile-nav__inner { display: grid; gap: 1.5rem; padding: 5rem var(--gutter) 3rem; max-width: 560px; margin: 0 auto; position: relative; }
.mobile-nav__close { position: absolute; top: 1.2rem; right: var(--gutter); background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.mobile-nav nav a, .mobile-nav summary { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; font: 600 1.5rem var(--serif); cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav__group div { display: grid; padding: .5rem 0 .5rem 1rem; }
.mobile-nav__group div a { font: 500 1rem var(--sans); color: #c4cce4; border: 0; padding: .6rem 0; }
.mobile-nav__phone { color: #c4cce4; display: inline-flex; gap: .5rem; align-items: center; text-decoration: none; }
body.nav-locked { overflow: hidden; }

@media (max-width: 980px) {
  .primary-nav, .nav-cta { display: none; }
  .nav-burger { display: grid; }
  :root { --nav-h: 68px; }
}
@media (max-width: 640px) { .topbar__hours { display: none; } .topbar a:nth-child(2) { display: none; } }

/* ── Hero slideshow ─────────────────────────────────────── */
.hero { position: relative; min-height: min(94vh, 880px); display: grid; color: #fff; background: radial-gradient(circle at 80% 20%, #235391 0%, var(--navy) 45%, var(--navy-deep) 100%); overflow: hidden; isolation: isolate; }
.hero-track { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s 1.1s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s var(--ease); z-index: 1; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.09); transition: transform 9s linear; }
.hero-slide.is-active .hero-media img { transform: scale(1); }
.hero-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9,13,40,.84) 0%, rgba(9,13,40,.52) 44%, rgba(9,13,40,.06) 100%), linear-gradient(180deg, rgba(9,13,40,.5), transparent 28%); }
.hero-copy { max-width: var(--shell); padding-top: calc(var(--topbar-h) + var(--nav-h) + 2rem); padding-bottom: 7.5rem; }
.hero-copy > * { max-width: 40rem; opacity: 0; transform: translateY(26px); }
.hero-slide.is-active .hero-copy > * { animation: rise 1s var(--ease) forwards; }
.hero-slide.is-active .hero-copy > :nth-child(1) { animation-delay: .25s; }
.hero-slide.is-active .hero-copy > :nth-child(2) { animation-delay: .4s; }
.hero-slide.is-active .hero-copy > :nth-child(3) { animation-delay: .55s; }
.hero-slide.is-active .hero-copy > :nth-child(4) { animation-delay: .7s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.hero-kicker { display: inline-flex; align-items: center; gap: .8rem; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-bright); margin-bottom: 1.4rem; }
.hero-kicker::before { content: ""; width: 44px; height: 2px; background: var(--gold-bright); }
.hero-title { font-size: clamp(2.6rem, 1.3rem + 5.2vw, 5.4rem); line-height: 1.04; letter-spacing: -.025em; color: #fff; margin-bottom: 1.2rem; }
.hero-sub { font-size: clamp(1.1rem, 1rem + .7vw, 1.5rem); line-height: 1.45; color: #d2d9ee; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero-ui { position: absolute; z-index: 5; left: 0; right: 0; bottom: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hero-dots { display: flex; gap: .5rem; }
.hero-dot { position: relative; width: 56px; height: 24px; background: none; border: 0; cursor: pointer; padding: 0; }
.hero-dot::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(255,255,255,.35); }
.hero-dot::after { content: ""; position: absolute; left: 0; top: 11px; height: 2px; width: 0; background: var(--gold-bright); }
.hero-dot.is-done::after { width: 100%; }
.hero-dot.is-active::after { animation: dotfill var(--dur, 6500ms) linear forwards; }
.hero.is-paused .hero-dot.is-active::after { animation-play-state: paused; }
@keyframes dotfill { to { width: 100%; } }
.hero-arrows { display: flex; align-items: center; gap: .6rem; }
.hero-count { font: 600 .85rem var(--sans); letter-spacing: .08em; color: #c4cce4; font-variant-numeric: tabular-nums; margin-right: .6rem; }
.hero-arrow { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.06); color: #fff; border-radius: 50%; cursor: pointer; backdrop-filter: blur(6px); transition: all .25s var(--ease); }
.hero-arrow:hover { background: #fff; color: var(--navy); border-color: #fff; }
.hero-arrow--prev .ico { transform: rotate(180deg); }
.hero-cue { position: absolute; z-index: 5; right: var(--gutter); bottom: 6rem; width: 24px; height: 40px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 12px; display: none; }
.hero-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 1100px) { .hero-cue { display: block; } }
@media (max-width: 700px) { .hero { min-height: 92vh; } .hero-arrows .hero-arrow { width: 42px; height: 42px; } .hero-dot { width: 36px; } .hero-count { display: none; } }

/* ── Stats and clients ──────────────────────────────────── */
.stats { padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--rule); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: .5rem 1.5rem; border-left: 1px solid var(--rule); display: grid; gap: .3rem; align-content: center; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num, .stat-word { font: 600 clamp(2.4rem, 1.6rem + 3vw, 4rem)/1 var(--serif); color: var(--navy); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat-word { font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); line-height: 1.2; }
.stat-label { font-size: .82rem; font-weight: 500; color: var(--muted); letter-spacing: .02em; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 1.8rem; } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }

.clients { padding-block: 2.5rem; border-bottom: 1px solid var(--rule); background: var(--paper); }
.clients-label { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.4rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 0; width: max-content; margin: 0; padding: 0; list-style: none; animation: scroll var(--marquee-t, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { padding-inline: 2.25rem; }
.marquee-track img { height: 44px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: all .3s; }
.marquee-track a:hover img { filter: none; opacity: 1; }
.client-name { font: 600 1.15rem var(--serif); color: var(--muted); white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ── Services showcase (tabs) ───────────────────────────── */
.showcase { background: var(--navy); color: #d5dbee; position: relative; overflow: hidden; }
.showcase::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px circle at 85% 0%, rgba(47,109,180,.35), transparent 60%); pointer-events: none; }
.showcase .shell { position: relative; }
.showcase h2, .showcase h3 { color: #fff; }
.showcase-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.showcase-tabs { border-top: 1px solid rgba(255,255,255,.18); }
.showcase-tab { display: flex; align-items: center; gap: 1.1rem; width: 100%; padding: 1.3rem 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.18); background: none; color: #9fabce; text-align: left; cursor: pointer; transition: color .3s, padding .4s var(--ease); }
.tab-num { font: 700 .75rem var(--sans); color: var(--gold-bright); font-variant-numeric: tabular-nums; }
.tab-name { flex: 1; font: 600 clamp(1.2rem, 1rem + .8vw, 1.6rem)/1.2 var(--serif); }
.showcase-tab .ico { opacity: 0; transform: translateX(-10px); transition: all .35s var(--ease); color: var(--gold-bright); }
.showcase-tab:hover { color: #fff; }
.showcase-tab[aria-selected="true"] { color: #fff; padding-left: .9rem; border-bottom-color: var(--gold-bright); }
.showcase-tab[aria-selected="true"] .ico { opacity: 1; transform: none; }
.showcase-panel { display: grid; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); overflow: hidden; }
.showcase-panel[hidden] { display: none; }
.showcase-panel.is-active { animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.panel-media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #235391, #1b2149); overflow: hidden; }
.panel-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.showcase-panel:hover .panel-media img { transform: scale(1.04); }
.panel-body { padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; gap: .8rem; justify-items: start; }
.panel-body h3 { margin: 0; }
.panel-body p { color: #c4cce4; margin: 0 0 .6rem; max-width: 46ch; }
@media (max-width: 900px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-tabs { display: flex; overflow-x: auto; gap: .5rem; border: 0; padding-bottom: .5rem; scrollbar-width: none; }
  .showcase-tab { width: auto; flex: 0 0 auto; padding: .8rem 1.1rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
  .showcase-tab[aria-selected="true"] { background: #fff; color: var(--navy); padding-left: 1.1rem; border-color: #fff; }
  .showcase-tab[aria-selected="true"] .tab-num, .showcase-tab .ico { display: none; }
  .tab-name { font-size: .95rem; font-family: var(--sans); font-weight: 600; white-space: nowrap; }
}

/* ── Process stepper ────────────────────────────────────── */
.stepper { position: relative; display: flex; justify-content: space-between; gap: .25rem; margin-bottom: 2.5rem; }
.stepper-line { position: absolute; top: 22px; left: calc(50% / var(--n, 6)); right: calc(50% / var(--n, 6)); height: 2px; background: var(--rule-strong); }
.stepper-fill { display: block; height: 100%; width: 0; background: var(--gold-bright); transition: width .7s var(--ease); }
.stepper-node { position: relative; z-index: 1; flex: 1; display: grid; justify-items: center; align-content: start; gap: .8rem; background: none; border: 0; cursor: pointer; padding: 0 .25rem; color: var(--muted); }
.node-dot { width: 44px; height: 44px; display: grid; place-items: center; background: #fff; border: 2px solid var(--rule-strong); border-radius: 50%; font: 700 .9rem var(--sans); transition: all .4s var(--ease); }
.node-title { font-size: .8rem; font-weight: 600; line-height: 1.3; text-align: center; max-width: 11ch; transition: color .3s; }
.stepper-node:hover .node-dot { border-color: var(--navy); color: var(--navy); }
.stepper-node[aria-selected="true"] .node-dot { background: var(--navy); border-color: var(--navy); color: #fff; transform: scale(1.14); box-shadow: 0 8px 20px rgba(27,33,73,.28); }
.stepper-node[aria-selected="true"] .node-title { color: var(--navy); }
.stepper-node.is-done .node-dot { border-color: var(--gold-bright); color: var(--gold); }
.stepper-panels { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); min-height: 9rem; }
.stepper-panel[hidden] { display: none; }
.stepper-panel.is-active { animation: panelIn .6s var(--ease); }
.stepper-panel h3 { margin-bottom: .4rem; } .stepper-panel p { color: var(--muted); max-width: 62ch; }
.process-link { margin-top: 1.5rem; } .process-link a { font-weight: 600; text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; }
@media (max-width: 760px) { .stepper { overflow-x: auto; padding-bottom: .6rem; scrollbar-width: none; } .stepper-node { min-width: 96px; flex: 0 0 auto; } .stepper-line { left: 48px; right: 48px; } }

/* ── Principles ─────────────────────────────────────────── */
.principles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.principle { padding: 2rem; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius); background: rgba(255,255,255,.04); transition: transform .4s var(--ease), border-color .3s; }
.principle:hover { transform: translateY(-4px); border-color: rgba(220,174,55,.6); }
.principle .ico { color: var(--gold-bright); margin-bottom: 1.2rem; }
.principle h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.principle p { color: #b9c2dd; margin: 0; font-size: .97rem; }
.principles-link { margin-top: 2.2rem; }

/* ── Cards: posts, services, team, offices ──────────────── */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.75rem; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(18,22,46,.12); border-color: var(--rule-strong); color: inherit; }
.post-card[hidden] { display: none; }
.post-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); display: block; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__art { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 80% 15%, #2f6db4 0, transparent 55%), linear-gradient(135deg, #1b2149, #0d1130); }
.post-card__art span { font: 600 4.5rem var(--serif); color: rgba(220,174,55,.8); }
.post-card__body { display: grid; gap: .6rem; padding: 1.5rem; align-content: start; flex: 1; }
.post-card__body .tag { justify-self: start; }
.post-card h3 { font-size: 1.3rem; margin: 0; }
.post-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.post-card__meta { font-size: .78rem; color: var(--muted); margin-top: .3rem; }
@media (min-width: 900px) { .post-grid--feature .post-card:first-child { grid-column: span 2; flex-direction: row; } .post-grid--feature .post-card:first-child .post-card__media { aspect-ratio: auto; flex: 1.1; } .post-grid--feature .post-card:first-child .post-card__body { flex: 1; padding: 2rem; align-content: center; } .post-grid--feature .post-card:first-child h3 { font-size: 1.8rem; } }
.section-more { margin-top: 2.5rem; text-align: center; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.75rem; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(18,22,46,.13); color: inherit; }
.service-card__media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #235391, #1b2149); overflow: hidden; display: block; position: relative; z-index: 1; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__body { display: grid; gap: .5rem; padding: 1.6rem; align-content: start; flex: 1; }
.service-card__num { font: 700 .75rem var(--sans); color: var(--gold); }
.service-card h2 { font-size: 1.5rem; margin: 0; }
.service-card p { color: var(--muted); font-size: .95rem; margin: 0; }
.service-card__more { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .88rem; color: var(--navy); margin-top: .5rem; }
.service-card:hover .service-card__more .ico { transform: translateX(4px); }
.service-card__more .ico { transition: transform .3s var(--ease); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.75rem; }
.team-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.6rem; }
.team-card__photo { aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden; background: linear-gradient(135deg, #235391, #1b2149); margin-bottom: 1.1rem; display: grid; place-items: center; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.05); }
.team-card__initials { font: 600 3.4rem var(--serif); color: rgba(255,255,255,.85); }
.team-card h3 { font-size: 1.3rem; margin: 0; }
.team-card__role { color: var(--gold); font-weight: 600; font-size: .85rem; margin: .2rem 0 .6rem; }
.team-card__bio { color: var(--muted); font-size: .92rem; }
.team-card__link { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; font-weight: 600; text-decoration: none; margin-top: .6rem; }

.office-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.office-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.8rem; }
.office-card__label { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.office-card h3 { margin: .3rem 0 .6rem; } .office-card p { color: var(--muted); font-size: .95rem; }
.office-card a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .88rem; text-decoration: none; }

/* ── Clients grid ── */
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 1rem; margin-top: 1.6rem; }
.client-card { display: grid; place-items: center; gap: .5rem; align-content: center; min-height: 130px; padding: 1.2rem; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); text-align: center; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.client-card:hover { border-color: var(--rule-strong); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(18,22,46,.09); }
.client-card[hidden] { display: none; }
.client-card img { max-height: 54px; max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .3s; }
.client-card:hover img { filter: none; opacity: 1; }
.client-card__name { font: 600 1.1rem var(--serif); color: var(--navy); }
.client-card small { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.client-card a { display: grid; place-items: center; text-decoration: none; }
.chips + .client-grid { margin-top: 1.6rem; }

/* ── Page head, prose, split layouts ────────────────────── */
.page-head { position: relative; background: var(--paper); border-bottom: 1px solid var(--rule); padding-block: clamp(3rem, 6vw, 5.5rem) clamp(2.2rem, 4vw, 3.5rem); overflow: hidden; }
.page-head::after { content: ""; position: absolute; right: -8%; top: -40%; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--rule-strong); box-shadow: 0 0 0 40px rgba(185,194,212,.18), 0 0 0 90px rgba(185,194,212,.1); opacity: .6; pointer-events: none; }
.page-head > .shell { position: relative; z-index: 1; }
.page-head h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.9rem); max-width: 18ch; margin-bottom: .6rem; }
.page-head .lede { margin-bottom: 0; }
.page-head--photo { background-image: linear-gradient(180deg, rgba(13,17,48,.9), rgba(27,33,73,.78)), var(--banner-image); background-size: cover; background-position: center; border-bottom: 0; }
.page-head--photo::after { display: none; }
.page-head--photo > .shell { display: flex; flex-direction: column; }
.page-head--left > .shell { align-items: flex-start; text-align: left; }
.page-head--center > .shell { align-items: center; text-align: center; }
.page-head--right > .shell { align-items: flex-end; text-align: right; }
.page-head--right .lede, .page-head--left .lede { max-width: 38ch; }
.page-head--photo.page-head--right { background-image: linear-gradient(270deg, rgba(13,17,48,.92) 0%, rgba(20,26,66,.74) 52%, rgba(27,33,73,.4) 100%), var(--banner-image); }
.page-head--photo.page-head--left { background-image: linear-gradient(90deg, rgba(13,17,48,.92) 0%, rgba(20,26,66,.74) 52%, rgba(27,33,73,.4) 100%), var(--banner-image); }
.page-head--photo.page-head--center { background-image: linear-gradient(180deg, rgba(13,17,48,.82), rgba(27,33,73,.72)), var(--banner-image); }
@media (max-width: 760px) { .page-head--photo.page-head--right, .page-head--photo.page-head--left { background-image: linear-gradient(180deg, rgba(13,17,48,.88), rgba(27,33,73,.8)), var(--banner-image); } }
.page-head--photo h1, .page-head--photo .lede, .page-head--photo .meta { color: #fff; }
.page-head--photo .crumbs, .page-head--photo .crumbs a { color: rgba(255,255,255,.75); }
.page-head--article { background: var(--navy); } .page-head--article h1, .page-head--article .meta, .page-head--article .crumbs, .page-head--article .crumbs a { color: #fff; }
.page-head--article h1 { max-width: 24ch; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); margin-top: 1rem; } .page-head--article .meta { opacity: .8; } .page-head--article::after { display: none; }
.crumbs { font-size: .8rem; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs span { margin-inline: .5rem; color: var(--rule-strong); }
.split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split-wide { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .split, .split-wide { grid-template-columns: 1fr; } }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 2.6rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.prose p, .prose li { line-height: 1.8; }
.prose ul, .prose ol { padding-left: 1.3rem; } .prose li { margin-bottom: .5rem; }
.prose blockquote { margin: 2rem 0; padding: .3rem 0 .3rem 1.5rem; border-left: 3px solid var(--gold-bright); font: 400 1.35rem/1.5 var(--serif); color: var(--navy); }
.prose blockquote p { margin: 0; }
.prose figure { margin: 2rem 0; } .prose figure img { border-radius: var(--radius); } .prose figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.prose img { border-radius: var(--radius); }
.aside-card { position: sticky; top: calc(var(--nav-h) + 1.5rem); background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.8rem; }
.aside-card--static { position: static; }
.aside-card h3 { font-size: 1.3rem; } .aside-card h4 { margin: 1.4rem 0 .6rem; font-size: 1rem; }
.aside-card .btn { margin-top: 1.2rem; }
.aside-stack { display: grid; gap: 1.25rem; align-content: start; }
@media (max-width: 900px) { .aside-card { position: static; } }
.marks { list-style: none; padding: 0; margin: 0; }
.marks li { position: relative; padding-left: 1.5rem; margin-bottom: .65rem; color: var(--muted); font-size: .95rem; }
.marks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--gold-bright); transform: rotate(45deg); }
.plain-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; font-size: .95rem; }
.plain-list li { display: flex; gap: .6rem; align-items: center; }
.glance { margin: 0 0 .5rem; } .glance div { display: flex; justify-content: space-between; padding: .75rem 0; border-bottom: 1px solid var(--rule); gap: 1rem; }
.glance dt { color: var(--muted); font-size: .9rem; } .glance dd { margin: 0; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; text-align: right; }
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1.2rem 0 0; }
.cap { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.3rem; }
.cap h3 { font-size: 1.1rem; margin: 0 0 .4rem; } .cap p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.6; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.2rem 0 0; border-top: 1px solid var(--rule-strong); }
.steps li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
.steps__n { font: 700 .85rem var(--sans); color: var(--gold); padding-top: .35rem; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.2rem; margin: 0 0 .25rem; } .steps p { color: var(--muted); font-size: .96rem; margin: 0; line-height: 1.65; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 46rem; border-left: 2px solid var(--rule-strong); margin-left: 4.5rem; }
.timeline li { position: relative; padding: .4rem 0 1.8rem 2rem; }
.timeline__year { position: absolute; left: -5.2rem; top: .25rem; width: 3.5rem; text-align: right; font: 600 1.15rem var(--serif); color: var(--navy); font-variant-numeric: tabular-nums; }
.timeline__dot { position: absolute; left: -7px; top: .75rem; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--gold-bright); transition: transform .3s var(--ease), background .3s; }
.timeline li:hover .timeline__dot { background: var(--gold-bright); transform: scale(1.35); }
.timeline p { margin: 0; color: var(--muted); }

/* ── FAQ, jobs, filters ─────────────────────────────────── */
.faq { border-top: 1px solid var(--rule-strong); margin-top: 1rem; }
.faq details, .job { border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; cursor: pointer; list-style: none; font: 600 1.15rem/1.35 var(--serif); color: var(--navy); }
.faq summary::-webkit-details-marker, .job summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 1.6rem/1 var(--sans); color: var(--gold); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 2rem 1.3rem 0; color: var(--muted); margin: 0; animation: fade .4s; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.filter-search { display: flex; align-items: center; gap: .6rem; border: 1px solid var(--rule-strong); border-radius: 999px; padding: 0 1.1rem; background: #fff; color: var(--muted); }
.filter-search input { border: 0; outline: 0; padding: .75rem 0; font: inherit; font-size: .9rem; min-width: 14rem; background: none; }
.job-list { margin-top: 1.4rem; border-top: 1px solid var(--rule-strong); }
.job[hidden] { display: none; }
.job summary { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: center; padding: 1.3rem 0; cursor: pointer; list-style: none; }
.job__title { font: 600 1.35rem var(--serif); color: var(--navy); }
.job__meta { grid-column: 1; font-size: .85rem; color: var(--muted); }
.job summary .ico { grid-column: 2; grid-row: 1 / span 2; transition: transform .3s var(--ease); color: var(--gold); }
.job[open] summary .ico { transform: rotate(180deg); }
.job__body { padding: 0 0 1.8rem; animation: fade .4s; }
.job__body h4 { margin: 1.4rem 0 .6rem; } .job__body .btn { margin-top: 1rem; }
.empty-card { background: var(--paper); border: 1px dashed var(--rule-strong); border-radius: var(--radius); padding: 2.2rem; display: grid; gap: .5rem; justify-items: start; }

/* ── Forms and drawer ───────────────────────────────────── */
.form { display: grid; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.15rem; }
.field { display: grid; gap: .4rem; }
.field > span { font-size: .8rem; font-weight: 600; color: var(--navy); }
.field small { font-size: .78rem; color: var(--muted); }
.field input:not([type="checkbox"]), .field select, .field textarea { font: inherit; font-size: .97rem; width: 100%; padding: .85rem 1rem; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,109,180,.16); outline: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { font-style: normal; font-size: .8rem; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .85rem; color: var(--muted); }
.check input { margin-top: .3rem; width: 1.05rem; height: 1.05rem; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: .92rem; } .form-status:empty { display: none; }
.form-status.is-ok { color: var(--success); font-weight: 600; } .form-status.is-bad { color: var(--danger); }
.narrow .form { max-width: 46rem; }
.office-tabs { border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: #fff; }
.office-tabs__list { display: flex; background: var(--paper); border-bottom: 1px solid var(--rule); }
.office-tabs__list button { flex: 1; padding: 1rem; border: 0; background: none; font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; transition: all .25s; }
.office-tabs__list button[aria-selected="true"] { background: #fff; color: var(--navy); border-bottom-color: var(--gold-bright); }
.office-tabs__panel { padding: 1.5rem; } .office-tabs__panel[hidden] { display: none; } .office-tabs__panel.is-active { animation: fade .4s; }
.office-tabs__panel p { margin: 0 0 .6rem; } .office-tabs__panel a { display: inline-flex; gap: .5rem; align-items: center; text-decoration: none; font-weight: 500; }
.drawer { position: fixed; inset: 0; z-index: 210; }
.drawer[hidden] { display: none; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(9,13,40,.6); backdrop-filter: blur(3px); animation: fade .3s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: #fff; padding: 1.8rem; overflow-y: auto; animation: slideIn .45s var(--ease); box-shadow: -20px 0 60px rgba(9,13,40,.25); }
.drawer__panel header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.drawer__panel h2 { font-size: 1.8rem; margin: 0; }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.search-form { display: flex; gap: .75rem; margin-bottom: 2.5rem; }
.search-form input { flex: 1; font: inherit; padding: .9rem 1.1rem; border: 1px solid var(--rule-strong); border-radius: var(--radius); }
.result-list { list-style: none; padding: 0; margin: 0 0 2rem; border-top: 1px solid var(--rule-strong); }
.result-list a { display: grid; gap: .2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
.result-list a:hover strong { color: var(--blue-deep); } .result-list strong { font: 600 1.2rem var(--serif); color: var(--navy); } .result-list span { color: var(--muted); font-size: .92rem; }

/* ── Article extras ─────────────────────────────────────── */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 100; background: transparent; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--gold-bright); }
.article-hero { margin-top: -2rem; position: relative; z-index: 2; } .article-hero img { width: 100%; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(18,22,46,.18); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 3rem 0; padding: 1.2rem 0; border-block: 1px solid var(--rule); font-size: .85rem; }
.share span { font-weight: 600; margin-right: .4rem; }
.share a, .share button { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .9rem; border: 1px solid var(--rule-strong); border-radius: 999px; background: #fff; color: var(--navy); text-decoration: none; cursor: pointer; font: 500 .82rem var(--sans); transition: all .25s; }
.share a:hover, .share button:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.cta-card { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.4rem); }
.cta-card p { color: var(--muted); }

/* ── CTA band and footer ────────────────────────────────── */
.cta-band { background: linear-gradient(120deg, var(--navy-deep), var(--navy) 55%, #235391); color: #fff; padding-block: clamp(3.5rem, 7vw, 6rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -10%; bottom: -60%; width: 50%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 50px rgba(255,255,255,.04), 0 0 0 110px rgba(255,255,255,.03); }
.cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; position: relative; }
.cta-band h2 { color: #fff; margin: 0; max-width: 18ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.cta-phone { display: inline-flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 600; }
.site-footer { background: var(--navy-deep); color: #aab4d2; padding-block: 4rem 1.6rem; }
.site-footer a { color: #aab4d2; text-decoration: none; } .site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 2.8rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-grid h4 { font: 700 .78rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; font-size: .9rem; }
.footer-grid li strong { display: block; color: #fff; font-weight: 600; }
.footer-brand .brand-mark { background: #fff; color: var(--navy); } .footer-brand .brand-name, .footer-brand .brand-name small { color: #fff; }
.brand-img--footer { height: 40px; }
.footer-brand p { font-size: .92rem; margin-top: 1.1rem; max-width: 30ch; }
.footer-social { display: inline-block; margin-top: .6rem; font-weight: 600; font-size: .88rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .8rem; }
.footer-base nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── Back to top ring and assistant ─────────────────────── */
.to-top { position: fixed; right: 1.25rem; bottom: 5.2rem; z-index: 85; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: #fff; color: var(--navy); border-radius: 50%; cursor: pointer; box-shadow: 0 8px 26px rgba(18,22,46,.2); opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .4s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg:first-child { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top__track { fill: none; stroke: var(--rule); stroke-width: 2.5; }
.to-top__bar { fill: none; stroke: var(--gold-bright); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: 132; }
.to-top:hover { background: var(--navy); color: #fff; }
.assistant-launch { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 86; display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.2rem; background: var(--navy); color: #fff; border: 0; border-radius: 999px; font: 600 .85rem/1 var(--sans); cursor: pointer; box-shadow: 0 10px 30px rgba(18,22,46,.3); transition: transform .3s var(--ease), background .3s; }
.assistant-launch:hover { background: var(--navy-deep); transform: translateY(-2px); }
.assistant { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 140; width: min(390px, calc(100vw - 2rem)); height: min(560px, calc(100dvh - 2.5rem)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule-strong); border-radius: 6px; box-shadow: 0 24px 70px rgba(18,22,46,.3); overflow: hidden; animation: panelIn .45s var(--ease); }
.assistant[hidden] { display: none; }
.assistant__head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .95rem 1.1rem; background: var(--navy); color: #fff; }
.assistant__head strong { font: 600 1rem var(--serif); display: block; } .assistant__head span { font-size: .72rem; color: #aeb8d6; }
.assistant__head button { background: none; border: 0; color: #fff; cursor: pointer; padding: .25rem; }
.assistant__log { flex: 1; overflow-y: auto; padding: 1rem; display: grid; gap: .8rem; align-content: start; }
.msg { font-size: .9rem; line-height: 1.55; padding: .7rem .9rem; border-radius: 4px; max-width: 92%; animation: fade .3s; }
.msg--bot { background: var(--paper); justify-self: start; } .msg--me { background: var(--navy); color: #fff; justify-self: end; }
.msg--bot a { color: var(--blue-deep); }
.msg--typing { display: inline-flex; gap: 4px; align-items: center; } .msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bounce 1s infinite; } .msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.assistant__seeds { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .8rem; }
.assistant__seeds button { font: 500 .78rem/1.3 var(--sans); padding: .45rem .75rem; border: 1px solid var(--rule-strong); background: #fff; border-radius: 999px; cursor: pointer; color: var(--navy); text-align: left; }
.assistant__seeds button:hover { background: var(--paper); }
.assistant__form { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--rule); }
.assistant__form input { flex: 1; font: inherit; font-size: .9rem; padding: .65rem .8rem; border: 1px solid var(--rule-strong); border-radius: 3px; }
.assistant__form button { padding: 0 1rem; background: var(--navy); color: #fff; border: 0; border-radius: 3px; cursor: pointer; }
.assistant__foot { font-size: .68rem; color: var(--muted); padding: 0 .8rem .7rem; margin: 0; }
@media (max-width: 480px) { .assistant { right: .5rem; left: .5rem; bottom: .5rem; width: auto; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-copy > * { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
@media print { .site-header, .site-footer, .to-top, .assistant-launch, .cta-band { display: none; } }
