/* ==========================================================================
   HiEdge Consultants — 2026 design system
   Palette derived from the HiEdge logo: midnight ink, brand navy, antique gold.
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0a0c2b;
  --ink-2: #151843;
  --navy: #171a63;
  --navy-2: #252a8c;
  --gold: #b89457;
  --gold-2: #d7b877;
  --gold-3: #e6cd98;
  --gold-ink: #7a5b27;
  --gold-wash: #f5eddf;
  --paper: #faf8f3;
  --sand: #f3efe6;
  --white: #ffffff;
  --mist: #eef0f8;
  --text: #0a0c2b;
  --muted: #50546f;
  --line: #e7e2d8;
  --line-2: #d6d0c3;
  --ok: #146c43;
  --err: #b42318;
  --wa: #0f7d40;

  --r-sm: 10px;
  --r: 16px;
  --r-md: 22px;
  --r-lg: 28px;
  --r-xl: 36px;

  --shadow-sm: 0 1px 2px rgb(10 12 43 / .05), 0 2px 10px rgb(10 12 43 / .04);
  --shadow: 0 2px 4px rgb(10 12 43 / .04), 0 16px 40px -12px rgb(10 12 43 / .16);
  --shadow-lg: 0 40px 90px -30px rgb(10 12 43 / .45);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.1; font-weight: 600; letter-spacing: -.025em; text-wrap: balance; }
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--navy-2); outline-offset: 3px; border-radius: 6px; }
.bg-ink :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: var(--gold-2); }
::selection { background: var(--gold-3); color: var(--ink); }
[hidden] { display: none !important; }
main:focus { outline: none; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-white { background: var(--white); }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: #fff; }
.center { text-align: center; }
.mt-lg { margin-top: clamp(32px, 5vw, 56px); }
.icon { width: 1.25rem; height: 1.25rem; flex: none; }
.icon--xs { width: .875rem; height: .875rem; }
.icon--sm { width: 1rem; height: 1rem; }
.icon--lg { width: 1.5rem; height: 1.5rem; }

/* ---------- Typography ---------- */
.h1, .hero__title { font-size: clamp(2.5rem, 1.05rem + 4.7vw, 5.1rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; }
.h2, .sh h2 { font-size: clamp(1.95rem, 1.2rem + 2.5vw, 3.35rem); line-height: 1.06; letter-spacing: -.035em; }
.h3 { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); letter-spacing: -.02em; }
h1 em, h2 em, h3 em, .serif-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--gold-ink);
  padding-right: .04em;
}
.bg-ink h2 em, .bg-ink h3 em, .cta-band h2 em, .jc em, .svc-card--feature h3 em, .my-card h3 em, .dest-row--featured h2 em, .card--ink em, .aside-card em { color: var(--gold-2); }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--muted); line-height: 1.55; max-width: 40rem; }
.bg-ink .lead { color: rgb(255 255 255 / .74); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow--light, .bg-ink .eyebrow { color: var(--gold-2); }
.eyebrow--pill {
  text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .875rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); padding: 6px 14px 6px 8px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.eyebrow--pill::before { display: none; }
.eyebrow--pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 4px rgb(31 157 85 / .15); margin-left: 6px; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; transition: gap .25s var(--ease), color .2s; }
.text-link:hover { gap: .7rem; color: var(--navy-2); }
.bg-ink .text-link { color: #fff; }

/* Section heading */
.sh { display: grid; gap: .25rem; margin-bottom: clamp(32px, 5vw, 56px); max-width: 46rem; }
.sh p:not(.eyebrow) { color: var(--muted); font-size: 1.125rem; margin-top: .9rem; }
.bg-ink .sh p:not(.eyebrow) { color: rgb(255 255 255 / .72); }
.sh--center { margin-inline: auto; text-align: center; justify-items: center; }
.sh--split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; }
.sh--split > div { max-width: 44rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: 0 1.4rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-weight: 600; font-size: .9688rem; letter-spacing: -.005em; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { --btn-bg: var(--navy-2); box-shadow: 0 10px 24px -10px rgb(23 26 99 / .55); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn .icon:last-child:not(:first-child) { transition: transform .25s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn--sm { min-height: 44px; padding: 0 1.1rem; font-size: .9063rem; }
.btn--lg { min-height: 58px; padding: 0 1.75rem; font-size: 1.0313rem; }
.btn--block { width: 100%; }
.btn--gold { --btn-bg: var(--gold-2); --btn-fg: var(--ink); }
.btn--gold:hover { --btn-bg: var(--gold-3); box-shadow: 0 10px 28px -10px rgb(215 184 119 / .7); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn--ghost:hover { --btn-bg: var(--white); --btn-bd: var(--ink); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light:hover { --btn-bg: var(--gold-wash); box-shadow: none; }
.btn--glass { --btn-bg: rgb(255 255 255 / .06); --btn-fg: #fff; --btn-bd: rgb(255 255 255 / .24); }
.btn--glass:hover { --btn-bg: rgb(255 255 255 / .14); box-shadow: none; }
.btn--wa { --btn-bg: var(--wa); --btn-fg: #fff; }
.btn--wa:hover { --btn-bg: #0c6a36; box-shadow: 0 10px 24px -10px rgb(15 125 64 / .6); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgb(255 255 255 / .78); font-size: .8125rem; display: none; }
@media (min-width: 768px) { .topbar { display: block; } }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 38px; }
.topbar__note, .topbar__links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__links { display: flex; align-items: center; gap: 20px; list-style: none; padding: 0; }
.topbar a { text-decoration: none; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar__social { display: flex; gap: 12px; padding-left: 20px; border-left: 1px solid rgb(255 255 255 / .16); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(250 248 243 / .86);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgb(10 12 43 / .25); background: rgb(250 248 243 / .94); }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { width: 136px; height: auto; }
@media (min-width: 480px) { .brand img { width: 160px; } }
.site-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.menu-btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); transition: background .2s; }
.menu-btn:hover { background: var(--gold-wash); }
.hide-lt-xl { display: none; }
@media (max-width: 379px) { .site-header__actions .btn { padding: 0 .9rem; } .site-header__actions .btn .icon { display: none; } }

.nav { display: none; }
@media (min-width: 1100px) {
  .nav { display: block; margin-left: auto; }
  .site-header__actions { margin-left: 12px; }
  .menu-btn { display: none; }
}
@media (min-width: 1280px) { .hide-lt-xl { display: inline-flex; } }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; border-radius: 999px; font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: background-color .2s;
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: rgb(10 12 43 / .05); }
.nav__link[aria-current="page"]::after, .nav__link[data-active]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold);
}
.nav__trigger .icon { transition: transform .25s var(--ease); }
.nav__item.is-open .nav__trigger .icon { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 12px); left: 50%;
  width: min(780px, 90vw);
  display: grid; grid-template-columns: 1fr 250px; gap: 8px;
  padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-42%, 8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mega--compact { width: 380px; grid-template-columns: 1fr; transform: translate(-50%, 8px); }
.nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: translate(-42%, 0); transition-delay: 0s; }
.nav__item.is-open > .mega--compact { transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega__link { display: flex; gap: 12px; padding: 12px; border-radius: var(--r); text-decoration: none; transition: background-color .2s; }
.mega__link:hover { background: var(--paper); }
.mega__link strong { display: block; font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.mega__link small { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega__icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--gold-wash); color: var(--gold-ink); }
.mega__aside { background: var(--ink); color: #fff; border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.mega__aside .eyebrow { color: var(--gold-2); margin: 0; }
.mega__aside p:not(.eyebrow) { font-size: .9375rem; color: rgb(255 255 255 / .75); line-height: 1.5; margin-bottom: 6px; }
.mega__aside .btn { --btn-bg: var(--gold-2); --btn-fg: var(--ink); }
.mega__all { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; color: #fff; text-decoration: none; opacity: .85; }
.mega__all:hover { opacity: 1; text-decoration: underline; }

/* ---------- Mobile nav ---------- */
.m-nav {
  margin: 0; padding: 0; border: 0; width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh;
  background: var(--paper); color: var(--ink);
}
.m-nav[open] { display: flex; flex-direction: column; animation: sheet-in .35s var(--ease); }
.m-nav::backdrop { background: rgb(10 12 43 / .4); }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px); } }
.m-nav__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
.m-nav__body { flex: 1; overflow-y: auto; padding: 8px var(--gutter) 16px; overscroll-behavior: contain; }
.m-nav__link { display: flex; align-items: center; justify-content: space-between; min-height: 58px; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; text-decoration: none; border-bottom: 1px solid var(--line); cursor: pointer; list-style: none; }
.m-nav__link::-webkit-details-marker { display: none; }
.m-nav__group[open] summary .icon { transform: rotate(180deg); }
.m-nav__group summary .icon { transition: transform .25s var(--ease); }
.m-nav__sub { display: grid; padding: 6px 0 12px; border-bottom: 1px solid var(--line); }
.m-nav__sub a { display: flex; align-items: center; min-height: 46px; padding-left: 14px; color: var(--muted); text-decoration: none; font-size: 1.0625rem; border-left: 2px solid var(--line); }
.m-nav__sub a:hover { color: var(--ink); border-color: var(--gold); }
.m-nav__foot { display: grid; gap: 10px; padding: 16px var(--gutter) calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
.m-nav__quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.m-nav__quick a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 60px; border-radius: var(--r); border: 1px solid var(--line); font-size: .8125rem; font-weight: 600; text-decoration: none; }
.m-nav__quick a:hover { background: var(--paper); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 5vw, 72px); overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgb(10 12 43 / .09) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 25% 20%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 60% at 25% 20%, #000 10%, transparent 70%);
}
.hero::after { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgb(215 184 119 / .22), transparent 65%); }
.hero__grid { display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.08fr .92fr; } }
.hero__title { margin: 1.25rem 0 1.25rem; }
.hero__title .line { display: block; }
.hero__lead { max-width: 34rem; }
.hero .actions { margin-top: 2rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 2rem; padding: 0; list-style: none; }
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; color: var(--muted); }
.hero__proof .icon { color: var(--gold-ink); width: 1.1rem; height: 1.1rem; }
.hero__proof strong { color: var(--ink); font-weight: 600; }

/* Journey card visual */
.hero__visual { position: relative; padding: 18px 0 30px; }
@media (min-width: 1024px) { .hero__visual { padding: 26px 0 40px 28px; } }
.jc { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--ink-2) 0%, var(--ink) 55%); color: #fff; border-radius: var(--r-xl); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-lg); isolation: isolate; }
.jc::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -140px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgb(37 42 140 / .75), transparent 70%); }
.jc__swoosh { position: absolute; z-index: -1; left: -10%; bottom: -8%; width: 125%; opacity: .9; pointer-events: none; }
.jc__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.jc__kicker { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; }
.jc__title { font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; margin-top: 4px; }
.jc__status { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); white-space: nowrap; }
.jc__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgb(61 220 132 / .6); animation: ping 2.4s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgb(61 220 132 / 0); } 100% { box-shadow: 0 0 0 0 rgb(61 220 132 / 0); } }
.jc__steps { list-style: none; padding: 0; display: grid; }
.jc__step { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid rgb(255 255 255 / .08); }
.jc__mark { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .8125rem; font-weight: 600; border: 1px solid rgb(255 255 255 / .22); color: rgb(255 255 255 / .6); }
.jc__step--done .jc__mark { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); }
.jc__step--done .jc__mark .icon { width: 15px; height: 15px; stroke-width: 2.5; }
.jc__step--now .jc__mark { border: 2px solid var(--gold-2); position: relative; }
.jc__step--now .jc__mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-2); animation: breathe 2s var(--ease) infinite; }
@keyframes breathe { 50% { transform: scale(.6); opacity: .6; } }
.jc__text strong { display: block; font-size: .9688rem; font-weight: 600; letter-spacing: -.01em; }
.jc__text small { display: block; font-size: .8125rem; color: rgb(255 255 255 / .62); }
.jc__tag { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgb(255 255 255 / .07); color: rgb(255 255 255 / .7); white-space: nowrap; }
.jc__step--done .jc__tag { background: rgb(215 184 119 / .14); color: var(--gold-3); }
.jc__step--now .jc__tag { background: var(--gold-2); color: var(--ink); }
.jc__bar { height: 4px; border-radius: 4px; background: rgb(255 255 255 / .1); margin-top: 8px; overflow: hidden; }
.jc__bar span { display: block; height: 100%; width: 68%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-3)); transform-origin: left; animation: grow 1.8s .6s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: rgb(255 255 255 / .96); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); animation: bob 7s ease-in-out infinite; }
.float-card strong { display: block; font-size: 1rem; line-height: 1.2; letter-spacing: -.01em; }
.float-card small { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.3; }
.float-card__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--gold-wash); color: var(--gold-ink); }
.float-card--a { left: -6px; bottom: 0; }
.float-card--b { right: 12px; bottom: 4px; animation-delay: -3.5s; padding: 10px 16px; }
.float-card--b strong { font-size: 1.5rem; color: var(--gold-ink); letter-spacing: -.03em; }
@media (max-width: 419px) { .float-card--b { display: none; } }
@media (min-width: 1024px) { .float-card--a { left: -8px; bottom: 6px; } .float-card--b { right: -14px; bottom: 14px; } }
@keyframes bob { 50% { transform: translateY(-7px); } }

/* ---------- Course finder ---------- */
.finder { position: relative; z-index: 3; margin-top: clamp(36px, 5vw, 56px); }
.finder__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 10px; display: grid; gap: 4px; }
.finder__intro { padding: 12px 14px 6px; }
.finder__intro strong { display: block; font-size: 1.0625rem; letter-spacing: -.01em; }
.finder__intro span { font-size: .875rem; color: var(--muted); }
.finder__field { position: relative; display: grid; gap: 2px; padding: 10px 14px; border-radius: var(--r); transition: background .2s; }
.finder__field:hover, .finder__field:focus-within { background: var(--paper); }
.finder__field label { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.finder__field select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 32px; padding: 0 26px 0 0; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230a0c2b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 2px center; font-size: 1rem; font-weight: 500; cursor: pointer; }
.finder__field select:focus { outline: none; }
.finder__field:focus-within { box-shadow: inset 0 0 0 2px var(--navy-2); }
.finder .btn { margin: 4px; }
@media (min-width: 640px) { .finder__card { grid-template-columns: 1fr 1fr; } .finder__intro, .finder .btn { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .finder__card { grid-template-columns: 1.15fr 1fr 1fr 1.1fr auto; align-items: center; border-radius: 999px; padding: 8px 8px 8px 18px; }
  .finder__intro, .finder .btn { grid-column: auto; }
  .finder__intro { padding: 4px 12px 4px 10px; }
  .finder__field { border-left: 1px solid var(--line); border-radius: 0; padding: 6px 18px; }
  .finder__field:hover, .finder__field:focus-within { border-radius: 14px; }
  .finder .btn { margin: 0; min-height: 58px; }
}

/* ---------- Logo marquee ---------- */
.logos { padding: clamp(36px, 5vw, 56px) 0; }
.logos__title { text-align: center; font-size: .875rem; color: var(--muted); margin-bottom: 24px; }
.logos__title strong { color: var(--ink); font-weight: 600; }
.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; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; gap: clamp(36px, 5vw, 64px); padding-right: clamp(36px, 5vw, 64px); list-style: none; }
.marquee__list img { height: 46px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .72; mix-blend-mode: multiply; transition: filter .3s, opacity .3s; }
.marquee__list li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; width: auto; }
  .marquee__list { flex-wrap: wrap; justify-content: center; gap: 28px 40px; padding: 0; }
  .marquee__list[aria-hidden="true"] { display: none; }
}

/* ---------- Intro + stats ---------- */
.intro { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 1024px) { .intro { grid-template-columns: 1fr 1fr; } }
.intro p.lead { margin-top: 1.25rem; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(20px, 3vw, 30px); }
.stat:nth-child(1) { background: var(--ink); color: #fff; border-color: var(--ink); }
.stat__num { display: block; font-size: clamp(2.5rem, 1.6rem + 3vw, 4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__num sup { font-size: .5em; vertical-align: top; position: relative; top: .25em; margin-left: 2px; color: var(--gold-ink); letter-spacing: 0; }
.stat:nth-child(1) .stat__num sup { color: var(--gold-2); }
.stat__label { display: block; margin-top: 10px; font-size: .9375rem; color: var(--muted); }
.stat:nth-child(1) .stat__label { color: rgb(255 255 255 / .7); }
.bg-ink .stat { background: rgb(255 255 255 / .04); border-color: rgb(255 255 255 / .1); color: #fff; }
.bg-ink .stat__label { color: rgb(255 255 255 / .7); }
.bg-ink .stat__num sup { color: var(--gold-2); }

/* ---------- Service cards / bento ---------- */
.bento { display: grid; gap: 14px; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } .svc-card--feature { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .svc-card--feature { grid-column: span 2; grid-row: span 2; }
  .bento__wide { grid-column: span 2; }
}
.svc-card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 2.6vw, 30px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.svc-card__icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--gold-wash); color: var(--gold-ink); margin-bottom: 14px; transition: background .3s, color .3s; }
.svc-card__icon .icon { width: 24px; height: 24px; }
.svc-card:hover .svc-card__icon { background: var(--ink); color: var(--gold-2); }
.svc-card__title { font-size: 1.25rem; letter-spacing: -.02em; }
.svc-card__title a { text-decoration: none; }
.svc-card p { color: var(--muted); font-size: .9688rem; }
.svc-card__more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: .9063rem; font-weight: 600; color: var(--gold-ink); }
.svc-card__more .icon { transition: transform .25s var(--ease); }
.svc-card:hover .svc-card__more .icon { transform: translateX(4px); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc-card--feature { background: var(--ink); color: #fff; border-color: var(--ink); overflow: hidden; isolation: isolate; justify-content: flex-start; }
.svc-card--feature::before { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -200px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, rgb(37 42 140 / .9), transparent 70%); }
.svc-card--feature .svc-card__icon { background: rgb(215 184 119 / .14); color: var(--gold-2); }
.svc-card--feature:hover .svc-card__icon { background: var(--gold-2); color: var(--ink); }
.svc-card--feature .svc-card__title { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.12; }
.svc-card--feature p { color: rgb(255 255 255 / .72); font-size: 1.0313rem; max-width: 34rem; }
.svc-card--feature .svc-card__more { color: var(--gold-2); }
.svc-card--feature:hover { border-color: var(--ink); }
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; margin: 10px 0 6px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .9688rem; }
.check-list .icon { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--gold-wash); color: var(--gold-ink); stroke-width: 3; margin-top: 2px; }
.svc-card--feature .check-list li { color: rgb(255 255 255 / .86); }
.svc-card--feature .check-list .icon { background: rgb(215 184 119 / .18); color: var(--gold-2); }
@media (min-width: 640px) { .check-list--2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; } }
.svc-card--cta { background: var(--gold-wash); border-color: #eadcc2; justify-content: space-between; }
.svc-card--cta h3 { font-size: 1.375rem; }
.svc-card--cta p { color: #5b4a2b; }
.svc-card--cta:hover { transform: none; box-shadow: none; }

/* ---------- Journey ---------- */
.journey { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: step; position: relative; }
.journey__step { position: relative; display: grid; grid-template-columns: 56px 1fr; align-content: start; gap: 18px; padding-bottom: 28px; }
.journey__step:last-child { padding-bottom: 0; }
.journey__step::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 1px; background: linear-gradient(var(--gold), rgb(255 255 255 / .12)); }
.journey__step:last-child::before { display: none; }
.journey__num { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgb(255 255 255 / .2); background: var(--ink); font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold-2); position: relative; z-index: 1; transition: background .3s, color .3s; }
.journey__step:hover .journey__num { background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); }
.journey__step h3 { font-size: 1.1875rem; margin: 6px 0 6px; }
.journey__step p { color: rgb(255 255 255 / .7); font-size: .9688rem; }
@media (min-width: 1024px) {
  .journey { grid-template-columns: repeat(5, 1fr); gap: 28px; }
  .journey__step { grid-template-columns: 1fr; gap: 14px; padding: 0; }
  .journey__step::before { left: 64px; right: -28px; top: 28px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--gold), rgb(255 255 255 / .12)); }
  .journey__step:last-child::before { display: none; }
}
.journey-foot { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 32px; border-top: 1px solid rgb(255 255 255 / .1); }
.journey-foot p { color: rgb(255 255 255 / .75); max-width: 36rem; }

/* ---------- Study options ---------- */
.study { display: grid; gap: 14px; }
@media (min-width: 1024px) { .study { grid-template-columns: 1.1fr 1fr; } }
.my-card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); padding: clamp(26px, 4vw, 44px); background: linear-gradient(155deg, #1b1f6e 0%, var(--ink) 70%); color: #fff; display: flex; flex-direction: column; min-height: 100%; }
.my-card__bg { position: absolute; z-index: -1; right: -40px; bottom: -40px; width: 70%; opacity: .5; }
.my-card__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgb(215 184 119 / .16); color: var(--gold-3); margin-bottom: 18px; }
.my-card h3 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); letter-spacing: -.035em; line-height: 1.05; }
.my-card > p { color: rgb(255 255 255 / .74); margin: 14px 0 22px; max-width: 30rem; }
.my-card__points { list-style: none; padding: 0; display: grid; gap: 12px; margin-bottom: 28px; }
@media (min-width: 560px) { .my-card__points { grid-template-columns: 1fr 1fr; } }
.my-card__points li { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; color: rgb(255 255 255 / .88); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); padding: 12px 14px; border-radius: var(--r); }
.my-card__points .icon { color: var(--gold-2); margin-top: 2px; }
.my-card .actions { margin-top: auto; }
.dest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.dest {
  position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 176px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.dest:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.dest__code { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: .875rem; letter-spacing: .04em; margin-bottom: auto; transition: background .3s, color .3s; }
.dest:hover .dest__code { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.dest__arrow { position: absolute; right: 18px; top: 20px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); transition: transform .3s var(--ease), background .3s; }
.dest:hover .dest__arrow { background: var(--gold-wash); transform: rotate(45deg); }
.dest__name { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; margin-top: 18px; }
.dest__meta { font-size: .8438rem; color: var(--muted); }
@media (max-width: 479px) { .dest-grid { gap: 10px; } .dest { min-height: 150px; padding: 16px; } .dest__name { font-size: 1rem; } .dest__arrow { right: 10px; top: 14px; } }
.dest--levels { background: var(--gold-wash); border-color: #eadcc2; }
.level-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; align-items: center; }
.level-pills span { font-size: .9375rem; color: var(--muted); margin-right: 6px; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .9375rem; font-weight: 500; text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.pill:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Values / why ---------- */
.why { display: grid; gap: clamp(36px, 5vw, 72px); }
@media (min-width: 1024px) { .why { grid-template-columns: .9fr 1.1fr; align-items: start; } .why__sticky { position: sticky; top: calc(var(--header-h) + 40px); } }
.value-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .value-grid { grid-template-columns: 1fr 1fr; } }
.value { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.bg-sand .value, .bg-white .value { background: var(--white); }
.bg-white .value { background: var(--paper); }
.value__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); margin-bottom: 18px; }
.value h3 { font-size: 1.1875rem; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: .9688rem; }
.mission { margin-top: 28px; padding: 24px 26px; border-left: 3px solid var(--gold); background: var(--gold-wash); border-radius: 0 var(--r) var(--r) 0; }
.mission p { font-family: var(--serif); font-style: italic; font-size: 1.3125rem; line-height: 1.4; color: var(--ink); }
.mission small { display: block; margin-top: 10px; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink); }

/* ---------- Testimonials ---------- */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 380px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; list-style: none; }
.reviews::-webkit-scrollbar { display: none; }
.reviews > li { scroll-snap-align: center; display: flex; }
@media (min-width: 768px) { .reviews { grid-auto-flow: row; grid-template-columns: 1fr 1fr; overflow: visible; margin: 0; padding: 0; } }
@media (min-width: 1200px) { .reviews { grid-template-columns: repeat(4, 1fr); } }
.review { display: flex; flex-direction: column; gap: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; width: 100%; }
.review__quote-icon { width: 34px; height: 34px; color: var(--gold); }
.review blockquote p { font-size: 1.0313rem; line-height: 1.55; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); font-weight: 600; font-size: .9375rem; letter-spacing: .02em; }
.review cite { font-style: normal; font-weight: 600; display: block; line-height: 1.3; }
.review small { color: var(--muted); font-size: .8438rem; line-height: 1.35; display: block; }
.scroll-hint { font-size: .8125rem; color: var(--muted); margin-top: 6px; }
@media (min-width: 768px) { .scroll-hint { display: none; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: .8fr 1.2fr; align-items: start; } .faq-layout__aside { position: sticky; top: calc(var(--header-h) + 40px); } }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); font-weight: 600; letter-spacing: -.015em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--navy-2); }
.faq__toggle { position: relative; width: 36px; height: 36px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); transition: background .25s, transform .35s var(--ease), border-color .25s; }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.faq__item[open] .faq__toggle { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }
.faq__item[open] .faq__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__body { padding: 0 56px 24px 0; color: var(--muted); }
@supports (interpolate-size: allow-keywords) {
  .faq__item { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}
.help-card { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.help-card p { color: var(--muted); font-size: .9688rem; }
.help-card .actions { margin-top: 0; }

/* ---------- Posts ---------- */
.post-card { position: relative; display: grid; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
@media (min-width: 900px) { .post-card { grid-template-columns: 1fr 1.1fr; } }
.post-cover { position: relative; min-height: 240px; background: linear-gradient(150deg, #1b1f6e, var(--ink) 70%); color: #fff; display: flex; align-items: flex-end; padding: 28px; overflow: hidden; isolation: isolate; }
.post-cover svg { position: absolute; inset: auto -10% -10% -10%; width: 120%; z-index: -1; opacity: .9; }
.post-cover__word { font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 2rem + 4vw, 5.5rem); line-height: .9; color: var(--gold-2); letter-spacing: -.03em; }
.post-cover__code { position: absolute; top: 24px; left: 28px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .7); }
.post-card__body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: .875rem; color: var(--muted); }
.post-meta .cat { font-weight: 600; color: var(--gold-ink); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-card h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -.03em; }
.post-card h3 a { text-decoration: none; }
.post-card p { color: var(--muted); }
.post-card .text-link { align-self: flex-start; }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(24px, 4vw, 48px) var(--section); }
.cta-band__inner { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 32px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(32px, 6vw, 72px); }
@media (min-width: 1024px) { .cta-band__inner { grid-template-columns: 1.35fr 1fr; gap: 64px; } }
.cta-band__inner::before { content: ""; position: absolute; z-index: -1; width: 640px; height: 640px; right: -180px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgb(37 42 140 / .85), transparent 68%); }
.cta-band__arc { position: absolute; z-index: -1; left: 0; bottom: 0; width: 100%; height: 100%; fill: none; stroke: var(--gold); stroke-width: 1.25; opacity: .45; }
.cta-band h2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.5rem); letter-spacing: -.04em; line-height: 1.04; }
.cta-band__copy > p:last-child { color: rgb(255 255 255 / .74); margin-top: 16px; font-size: 1.125rem; max-width: 34rem; }
.cta-band__actions { display: grid; gap: 12px; }
.cta-band__actions .btn { width: 100%; }
@media (min-width: 560px) and (max-width: 1023px) { .cta-band__actions { grid-template-columns: 1fr 1fr; } .cta-band__call { grid-column: 1 / -1; } }
.cta-band__call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; color: rgb(255 255 255 / .85); text-decoration: none; font-weight: 500; }
.cta-band__call:hover { color: #fff; text-decoration: underline; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 7vw, 96px); }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgb(215 184 119 / .2), transparent 65%); }
.page-hero__title { font-size: clamp(2.35rem, 1.25rem + 3.9vw, 4.4rem); letter-spacing: -.045em; line-height: 1.03; max-width: 16ch; margin: .5rem 0 1.25rem; }
.page-hero__title--wide { max-width: 22ch; }
.page-hero__arc { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; width: 100%; height: 150px; fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: .45; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; padding: 0; font-size: .875rem; color: var(--muted); margin-bottom: clamp(24px, 4vw, 44px); }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; }
.crumbs li + li::before { content: "/"; color: var(--line-2); margin: 0 4px; }
.crumbs a { text-decoration: none; padding: 6px 0; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- Split / prose ---------- */
.split { display: grid; gap: clamp(32px, 5vw, 80px); }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; align-items: start; } .split--wide-left { grid-template-columns: 1.3fr 1fr; } }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.03em; margin-top: 2.2em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.8em; }
.prose p, .prose li { color: #2f3350; }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: .5em; }
.prose ul li::marker { color: var(--gold); }
.prose a { color: var(--navy-2); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--ink); }
.prose strong { color: var(--ink); }
.prose .callout { padding: 22px 24px; background: var(--gold-wash); border-radius: var(--r); border-left: 3px solid var(--gold); }
.prose--lg p { font-size: 1.125rem; }

/* Cards grids generic */
.card-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .card-grid--2, .card-grid--3, .card-grid--4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px); }
.bg-white .card { background: var(--paper); }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .9688rem; }
.card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-wash); color: var(--gold-ink); margin-bottom: 18px; }
.card--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.card--ink p { color: rgb(255 255 255 / .72); }
.card--ink .card__icon { background: rgb(215 184 119 / .14); color: var(--gold-2); }
.bg-ink .card { background: rgb(255 255 255 / .04); border-color: rgb(255 255 255 / .1); }
.bg-ink .card p { color: rgb(255 255 255 / .72); }
.bg-ink .card__icon { background: rgb(215 184 119 / .14); color: var(--gold-2); }

/* Level cards */
.level { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: calc(var(--header-h) + 24px); }
.level__num { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold-ink); }
.level dl { display: grid; gap: 10px; margin: 8px 0 4px; padding: 16px 0; border-block: 1px solid var(--line); }
.level dt { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.level dd { margin: 2px 0 0; font-size: .9688rem; }
.level .text-link { margin-top: auto; align-self: flex-start; }
.chips-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.chips-list li { padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .9375rem; }

/* Destinations page */
.dest-row { display: grid; gap: 20px; padding: clamp(24px, 3vw, 36px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); scroll-margin-top: calc(var(--header-h) + 24px); }
@media (min-width: 900px) { .dest-row { grid-template-columns: 110px 1fr 1fr; align-items: start; gap: 36px; } }
.dest-row__code { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); font-size: 1.375rem; font-weight: 600; letter-spacing: .04em; }
.dest-row h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -.03em; }
.dest-row > div > p { color: var(--muted); margin-top: 10px; }
.dest-row__visa { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .875rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.dest-row--featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.dest-row--featured .dest-row__code { background: var(--gold-2); color: var(--ink); }
.dest-row--featured > div > p { color: rgb(255 255 255 / .74); }
.dest-row--featured .dest-row__visa { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .16); }
.dest-row--featured .check-list li { color: rgb(255 255 255 / .88); }
.dest-row--featured .check-list .icon { background: rgb(215 184 119 / .18); color: var(--gold-2); }

/* ---------- Service detail ---------- */
.detail { display: grid; gap: clamp(36px, 5vw, 72px); }
@media (min-width: 1024px) { .detail { grid-template-columns: 1fr 380px; align-items: start; } .detail__aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.aside-card { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 30px; display: grid; gap: 14px; overflow: hidden; position: relative; isolation: isolate; }
.aside-card::before { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; right: -160px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgb(37 42 140 / .9), transparent 70%); }
.aside-card h2 { font-size: 1.5rem; letter-spacing: -.03em; }
.aside-card p { color: rgb(255 255 255 / .72); font-size: .9688rem; }
.aside-card .btn { width: 100%; }
.aside-card__list { list-style: none; padding: 14px 0 0; margin-top: 4px; border-top: 1px solid rgb(255 255 255 / .12); display: grid; gap: 4px; }
.aside-card__list a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: rgb(255 255 255 / .85); text-decoration: none; font-size: .9375rem; }
.aside-card__list a:hover { color: #fff; }
.aside-card__list .icon { color: var(--gold-2); }
.for-box { display: flex; gap: 16px; padding: 24px; background: var(--gold-wash); border-radius: var(--r-lg); margin-top: 32px; }
.for-box .icon { color: var(--gold-ink); width: 28px; height: 28px; }
.for-box h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.for-box p { color: #4f412a; }
.detail h2.block-title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.03em; margin: 44px 0 20px; }

/* ---------- Universities directory ---------- */
.dir-tools { display: grid; gap: 14px; margin-bottom: 28px; }
@media (min-width: 900px) { .dir-tools { grid-template-columns: minmax(280px, 380px) 1fr auto; align-items: center; } }
.search { position: relative; }
.search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 52px; padding: 0 16px 0 46px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font-size: 1rem; }
.search input:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgb(37 42 140 / .12); }
.filter { display: flex; flex-wrap: wrap; gap: 8px; }
.filter button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .9375rem; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.filter button:hover { border-color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.dir-count { font-size: .9375rem; color: var(--muted); }
.uni-grid { display: grid; gap: 14px; list-style: none; padding: 0; }
@media (min-width: 560px) { .uni-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .uni-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .uni-grid { grid-template-columns: repeat(4, 1fr); } }
.uni { height: 100%; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.uni:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.uni__logo { height: 128px; display: grid; place-items: center; padding: 20px 28px; border-bottom: 1px solid var(--line); background: #fff; }
.uni__logo img { max-height: 72px; width: auto; max-width: 100%; object-fit: contain; }
.uni__body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.uni__body h3 { font-size: 1.0313rem; letter-spacing: -.01em; line-height: 1.3; }
.uni__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }
.tag--gold { background: var(--gold-wash); border-color: #eadcc2; color: var(--gold-ink); }
.empty { padding: 48px 24px; text-align: center; background: var(--white); border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); }
.logo-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; padding: 0; }
@media (min-width: 640px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .logo-wall { grid-template-columns: repeat(6, 1fr); } }
.logo-wall li { display: grid; place-items: center; height: 96px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.logo-wall img { max-height: 52px; width: auto; object-fit: contain; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 24px); }
.form-card__head { margin-bottom: 26px; }
.form-card__head h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -.035em; }
.form-card__head p { color: var(--muted); margin-top: 8px; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; align-content: start; }
.field > label, .field legend { font-size: .9063rem; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field .req { color: var(--err); }
.input, .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--white); font-size: 1rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230a0c2b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 16px center; cursor: pointer; }
.field input::placeholder, .field textarea::placeholder { color: #8a8ca0; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9b3a5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgb(37 42 140 / .12); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--err); box-shadow: 0 0 0 4px rgb(180 35 24 / .08); }
.field__error { font-size: .8438rem; color: var(--err); font-weight: 500; }
.field__hint { font-size: .8438rem; color: var(--muted); }
fieldset.field { border: 0; padding: 0; min-width: 0; }
fieldset.field legend { margin-bottom: 10px; padding: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font-size: .9375rem; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, color .2s; user-select: none; }
.choice label:hover { border-color: var(--ink); }
.choice input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice input:focus-visible + label { outline: 3px solid var(--navy-2); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9063rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--ink); cursor: pointer; }
.consent a { color: var(--ink); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 8px; }
.form-foot small { color: var(--muted); font-size: .8438rem; display: inline-flex; gap: 6px; align-items: center; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn.is-loading .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); font-size: .9375rem; margin-bottom: 18px; }
.alert--error { background: #fdf0ee; border: 1px solid #f3c7c0; color: #8c1d13; }
.alert--ok { background: #e9f6ef; border: 1px solid #b9e0cb; color: #0f5634; }
.success { text-align: center; padding: clamp(12px, 3vw, 28px) 0; display: grid; justify-items: center; gap: 14px; }
.success__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); animation: pop .5s var(--ease); }
.success__icon .icon { width: 34px; height: 34px; stroke-width: 2.5; }
.success h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -.03em; }
.success p { color: var(--muted); max-width: 30rem; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

/* Stepper */
.stepper { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 28px; }
.stepper li { display: grid; gap: 8px; font-size: .8438rem; font-weight: 500; color: var(--muted); }
.stepper li::before { content: ""; height: 4px; border-radius: 4px; background: var(--line); transition: background .35s var(--ease); }
.stepper li.is-done::before, .stepper li.is-current::before { background: var(--ink); }
.stepper li.is-current { color: var(--ink); font-weight: 600; }
.stepper b { font-weight: 600; margin-right: 4px; color: var(--gold-ink); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step > legend { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); font-weight: 600; letter-spacing: -.03em; margin-bottom: 20px; padding: 0; }
.js .step:not(.is-active) { display: none; }
html:not(.js) .step + .step { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
html:not(.js) .step-nav [data-next], html:not(.js) .step-nav [data-prev], html:not(.js) .stepper { display: none; }
.step-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.step-nav .btn--ghost { margin-right: auto; }
[data-prev] .icon { transform: rotate(180deg); }
.js .step-nav [data-submit] { display: none; }
.js .step-nav.is-last [data-submit] { display: inline-flex; }
.js .step-nav.is-last [data-next] { display: none; }
.js .step-nav.is-first [data-prev] { visibility: hidden; }

/* Contact page */
.contact-layout { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.methods { display: grid; gap: 10px; }
.method { position: relative; display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
a.method:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.method__icon { width: 50px; height: 50px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--gold-2); }
.method--wa .method__icon { background: var(--wa); color: #fff; }
.method strong { display: block; font-size: 1.0313rem; letter-spacing: -.01em; }
.method strong + span { display: block; color: var(--muted); font-size: .9375rem; overflow-wrap: anywhere; }
.method > .icon:last-child { margin-left: auto; color: var(--muted); }
.map { position: relative; margin-top: 10px; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: #fff; display: grid; place-items: center; text-align: center; isolation: isolate; }
@media (min-width: 640px) { .map { aspect-ratio: 16 / 10; } }
.map svg.map__art { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__inner { display: grid; justify-items: center; gap: 12px; padding: 24px; }
.map__pin { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-2); color: var(--ink); box-shadow: 0 0 0 10px rgb(215 184 119 / .18), 0 0 0 22px rgb(215 184 119 / .08); }
.map__inner p { color: rgb(255 255 255 / .8); font-size: .9375rem; max-width: 22rem; }
.map__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* Article */
.article-head { max-width: 860px; }
.article-layout { display: grid; gap: 48px; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: 1fr 320px; align-items: start; } .article-layout aside { position: sticky; top: calc(var(--header-h) + 32px); } }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.toc h2 { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; display: grid; }
.toc a { display: block; padding: 8px 0; font-size: .9375rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.toc li:last-child a { border-bottom: 0; }
.toc a:hover { color: var(--navy-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgb(255 255 255 / .72); padding: clamp(56px, 8vw, 96px) 0 calc(24px + env(safe-area-inset-bottom)); font-size: .9688rem; }
.site-footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.5fr .9fr .9fr 1.3fr; gap: 48px; } }
.site-footer__brand img { width: 176px; }
.site-footer__brand p { margin: 20px 0 22px; max-width: 24rem; line-height: 1.6; }
.site-footer h2 { font-size: .8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer__col li a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer address { display: grid; gap: 6px; margin-bottom: 20px; }
.f-contact { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; text-decoration: none; line-height: 1.5; }
.f-contact .icon { margin-top: 3px; color: var(--gold-2); }
.social { display: flex; gap: 8px; }
.social a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgb(255 255 255 / .16); color: #fff; transition: background .25s, border-color .25s, color .25s; }
.social a:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .875rem; }
.site-footer__credit { margin-top: 12px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .06); text-align: center; font-size: .8125rem; color: rgb(255 255 255 / .55); }
.site-footer__credit a { color: rgb(255 255 255 / .8); text-decoration: underline; text-decoration-color: rgb(215 184 119 / .5); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.site-footer__credit a:hover { color: var(--gold-2); text-decoration-color: var(--gold-2); }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer__bottom a { display: inline-flex; min-height: 40px; align-items: center; text-decoration: none; }

/* ---------- Floating WhatsApp ---------- */
.wa-fab {
  position: fixed; z-index: 60; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, calc(env(safe-area-inset-bottom) + 12px));
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px; min-width: 58px; padding: 0 17px; border-radius: 999px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; font-size: .9375rem;
  box-shadow: 0 12px 30px -8px rgb(15 125 64 / .55), 0 2px 6px rgb(10 12 43 / .15);
  transition: transform .3s var(--ease), background .25s, box-shadow .3s;
}
.wa-fab .icon { width: 26px; height: 26px; }
.wa-fab:hover { background: #0c6a36; transform: translateY(-2px); }
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgb(15 125 64 / .5); animation: wa-pulse 2.6s 3s 3; pointer-events: none; }
@keyframes wa-pulse { 70% { box-shadow: 0 0 0 16px rgb(15 125 64 / 0); } 100% { box-shadow: 0 0 0 0 rgb(15 125 64 / 0); } }
.wa-fab__label { display: none; }
@media (min-width: 768px) { .wa-fab { padding: 0 22px 0 18px; } .wa-fab__label { display: inline; } }
.m-nav[open] ~ .wa-fab { display: none; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: .9s; }
.hero-arc path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.2s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.nf { text-align: center; padding-block: clamp(64px, 10vw, 140px); }
.nf__code { font-family: var(--serif); font-style: italic; font-size: clamp(6rem, 4rem + 10vw, 12rem); line-height: .9; color: var(--gold); letter-spacing: -.04em; }
.nf .actions { justify-content: center; }

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .wa-fab, .cta-band, .site-footer, .m-nav { display: none !important; }
  body { background: #fff; }
  .js .reveal { opacity: 1; transform: none; }
}
