/* =========================================================
   Akaay Immigration Services
   Direction: colour chapters (taste-skill), palette kept from the AIS logo.
   One typeface (Epilogue), flat fields, one radius, pill buttons.
   ========================================================= */

:root {
    /* Fields (kept from the brand's teal) */
    --paper: #f3f7f7;
    --mint: #cdeced;
    --teal: #12a1a9;
    --deep: #0a6a71;
    --ink: #0a2730;
    --ink-2: #12343e;       /* one tone off ink, for tiles on the ink field */
    --mint-2: #e2f3f3;      /* one tone off paper, for bands */

    /* Text */
    --text: #0a2730;
    --text-soft: #3c5860;
    --on-dark: #ffffff;
    --on-dark-soft: #cfe3e5;

    /* Action: marigold, the one warm colour; always ink text on it (8.4:1), never white */
    --action: #f4b23e;
    --action-strong: #e39a1b;
    --on-action: #0a2730;

    --radius: 8px;
    --gap: 8px;
    --margin: clamp(18px, 2.4vw, 32px);
    --max: 1320px;

    --font: 'Epilogue', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Five type steps */
    --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
    --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
    --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
    --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
    --step-giant: clamp(5rem, 30vw, 23.75rem);

    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);
    --ease-soft: cubic-bezier(.25, .8, .25, 1);
    --t-press: 120ms;
    --t-hover: 220ms;

    --z-float: 80;
    --z-header: 100;
    --z-skip: 200;
    --header-h: 76px;
}

/* ---------- Base ---------- */
:root { color-scheme: light; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-tap-highlight-color: transparent; }
@media (pointer: fine) { html { overscroll-behavior: none; } }
a, button, input, select, textarea, label { touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    font-family: var(--font);
    font-size: var(--step-body);
    font-weight: 400;
    line-height: 1.55;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-wrap: break-word;
    overflow-x: clip;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
    color: inherit;
    margin: 0;
    text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 0.07em; text-underline-offset: 0.2em; text-decoration-color: transparent; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration-color: currentColor; color: inherit; } }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--teal); color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.field-ink :focus-visible, .field-deep :focus-visible, .field-teal :focus-visible { outline-color: var(--paper); }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: max(var(--margin), env(safe-area-inset-left)) max(var(--margin), env(safe-area-inset-right)); }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: var(--z-skip); background: var(--ink); color: var(--on-dark); padding: 12px 18px; border-radius: var(--radius); font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Type helpers */
.t-lead { font-size: var(--step-lead); line-height: 1.3; letter-spacing: -0.01em; }
.t-small { font-size: var(--step-small); line-height: 1.45; }
.soft { color: var(--text-soft); }
.field-ink .soft, .field-deep .soft { color: var(--on-dark-soft); }

/* ---------- Fields (chapters) ---------- */
.chapter { position: relative; padding-block: clamp(56px, 6.5vw, 100px) clamp(64px, 7vw, 108px); overflow: hidden; }
.field-paper { background: var(--paper); color: var(--text); }
.field-mint { background: var(--mint); color: var(--text); }
.field-teal { background: var(--teal); color: var(--ink); }
.field-deep { background: var(--deep); color: var(--on-dark); }
.field-ink { background: var(--ink); color: var(--on-dark); }
.field-teal .soft { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 26px;
    border: 0; border-radius: 999px;
    font: 500 var(--step-body)/1 var(--font);
    background: var(--action); color: var(--on-action);
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.btn i { font-size: 1.15em; transition: transform var(--t-hover) var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn-ink { background: var(--ink); color: var(--on-dark); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-wa { background: #157f3d; color: #fff; }
@media (hover: hover) and (pointer: fine) {
    .btn:hover { background: var(--action-strong); color: var(--on-action); text-decoration: none; }
    .btn:hover i.ph-arrow-right, .btn:hover i.ph-arrow-up-right { transform: translateX(4px); }
    .btn-ink:hover { background: #000; color: var(--on-dark); }
    .btn-paper:hover { background: #fff; color: var(--ink); }
    .btn-wa:hover { background: #0f6a31; color: #fff; }
}
.btn-lg { min-height: 60px; padding: 0 32px; }
.btn-block { width: 100%; }

.text-link { font-weight: 500; text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 0.08em; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.text-link i { transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .text-link:hover i { transform: translateX(4px); } }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: var(--on-dark-soft); font-size: var(--step-small); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.topbar a:hover { color: var(--mint); }
.topbar i { color: var(--teal); font-size: 1.05rem; }
.topbar-right { display: flex; align-items: center; gap: 24px; }
@media (max-width: 767.98px) {
    .topbar .hide-sm { display: none !important; }
    .topbar .wrap { justify-content: center; }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: var(--paper); transition: box-shadow var(--t-hover) ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(10, 39, 48, .45); /* taste-skill-ignore: sticky bar */ }
.site-header .navbar { padding: 0; min-height: var(--header-h); }
.site-header .wrap { width: 100%; display: flex; align-items: center; flex-wrap: wrap; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { width: 52px; height: auto; }
.brand-name { display: block; font-weight: 900; font-size: 1.6rem; letter-spacing: -0.04em; line-height: 1; }
.brand-sub { display: block; font-size: var(--step-small); font-weight: 500; color: var(--text-soft); margin-top: 3px; }
.brand:hover { text-decoration: none; color: var(--ink); }

.site-header .navbar-nav { gap: 4px; align-items: center; }
.site-header .nav-link {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
    font-weight: 500; font-size: var(--step-body); color: var(--ink);
    padding: 8px 14px !important; border-radius: 999px; text-decoration: none;
    transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}
.site-header .nav-link:hover, .site-header .nav-link:focus-visible { background: var(--mint); color: var(--ink); text-decoration: none; }
.site-header .nav-link.active { background: var(--ink); color: var(--on-dark); }
.site-header .dropdown-toggle::after { display: none; }
.site-header .dropdown-toggle i { font-size: .85rem; transition: transform var(--t-hover) var(--ease-out); }
.site-header .dropdown:hover .dropdown-toggle i, .site-header .dropdown-toggle.show i { transform: rotate(180deg); }
.nav-cta { margin-left: 14px; }

.mega-menu {
    border: 0 !important; border-radius: var(--radius) !important;
    background: var(--paper) !important;
    box-shadow: 0 30px 60px -24px rgba(10, 39, 48, .45); /* taste-skill-ignore: real overlay menu */
    padding: 10px !important; min-width: 460px; margin-top: 0 !important;
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega-item {
    display: flex; align-items: center; gap: 12px; min-height: 56px;
    padding: 8px 12px; border-radius: var(--radius);
    background: var(--mint-2); color: var(--ink); text-decoration: none; font-weight: 500;
    transition: background-color var(--t-hover) ease;
}
.mega-item img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; transition: transform 400ms var(--ease-out); }
.mega-item:hover, .mega-item:focus-visible, .mega-item.active { background: var(--mint); color: var(--ink); text-decoration: none; }
.mega-item:hover img { transform: rotate(-10deg) scale(1.08); }
.mega-all { grid-column: 1 / -1; background: var(--ink); color: var(--on-dark); justify-content: space-between; }
.mega-all:hover, .mega-all:focus-visible { background: var(--ink-2); color: var(--on-dark); }

@media (min-width: 992px) {
    .site-header .dropdown { position: relative; }
    .site-header .dropdown .mega-menu {
        display: block; opacity: 0; visibility: hidden; left: 50%; top: 100%;
        transform: translate(-50%, 8px);
        transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
    }
    .site-header .dropdown:hover .mega-menu, .site-header .dropdown .mega-menu.show, .site-header .dropdown:focus-within .mega-menu {
        opacity: 1; visibility: visible; transform: translate(-50%, 0);
        transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s;
    }
    .site-header .dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
}

.nav-toggle {
    border: 0; background: var(--mint); color: var(--ink);
    width: 48px; height: 48px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.nav-toggle .ph-x { display: none; }
.nav-toggle[aria-expanded="true"] { background: var(--ink); color: var(--on-dark); }
.nav-toggle[aria-expanded="true"] .ph-x { display: inline; }
.nav-toggle[aria-expanded="true"] .ph-list { display: none; }

@media (max-width: 991.98px) {
    :root { --header-h: 68px; }
    .brand img { width: 44px; }
    .brand-name { font-size: 1.3rem; }
    .site-header .navbar-collapse { flex-basis: 100%; padding: 8px 0 22px; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
    .site-header .navbar-nav { align-items: stretch; gap: 6px; }
    .site-header .nav-link { width: 100%; min-height: 52px; border-radius: var(--radius); background: var(--mint-2); padding: 12px 16px !important; }
    .mega-menu { min-width: 0; box-shadow: none; /* taste-skill-ignore: removes the menu shadow */ padding: 6px 0 4px !important; background: transparent !important; }
    .nav-cta { margin: 12px 0 0; }
    .nav-cta .btn { width: 100%; }
}
@media (max-width: 420px) { .mega-grid { grid-template-columns: 1fr; } .brand-sub { display: none; } }

/* ---------- Hero: giant cropped shape ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    min-height: min(calc(100svh - var(--header-h) - 44px), 760px);
    display: flex; align-items: center;
    padding-block: 56px 72px;
}
.hero-shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.shape {
    position: absolute; border-radius: 50%;
    width: 120vh; height: 120vh; min-width: 760px; min-height: 760px;
    left: calc(78% - 60vh); top: calc(55% - 60vh);
}
.shape-a { background: var(--teal); }
.hero .shape-a { left: max(52%, calc(78% - 60vh)); }
.shape-b { background: var(--mint); mix-blend-mode: multiply; width: 64vh; height: 64vh; min-width: 400px; min-height: 400px; left: 50%; top: 62%; }
.hero .wrap { width: 100%; }
.hero-copy { position: relative; max-width: 46%; }
.hero h1 { font-size: var(--step-head); line-height: 0.9; letter-spacing: -0.03em; margin-bottom: 28px; }
.hero .t-lead { max-width: 22em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero-call { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--ink); font-weight: 500; line-height: 1.25; min-height: 44px; justify-content: center; }
.hero-call small { font-size: var(--step-small); color: var(--text-soft); font-weight: 400; }
.hero-proof { margin: 34px 0 0; color: var(--text-soft); font-size: var(--step-small); }
.hero-proof strong { color: var(--ink); font-weight: 900; }

/* The two services sit on the circles as the two paths */
.paths { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.path {
    display: inline-flex; align-items: center; gap: 12px; min-height: 54px;
    padding: 0 8px 0 20px; border-radius: 999px;
    background: var(--ink); color: var(--on-dark); text-decoration: none;
    font-weight: 500; font-size: var(--step-body);
    transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.path i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--action); color: var(--on-action); font-size: 1.2rem; transition: transform var(--t-hover) var(--ease-out); }
.path.alt { background: var(--mint); color: var(--ink); }
.path.alt i { background: var(--ink); color: var(--on-dark); }
.path:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
    .path:hover { text-decoration: none; color: var(--on-dark); background: #000; }
    .path.alt:hover { color: var(--ink); background: #fff; }
    .path:hover i { transform: rotate(-45deg); }
}

@media (max-width: 991.98px) {
    .hero { align-items: flex-start; min-height: 0; padding-block: 48px 0; flex-direction: column; }
    .hero-copy { max-width: none; }
    .hero .t-lead { font-size: var(--step-body); }
    .shape-a { width: 130vw; height: 130vw; min-width: 0; min-height: 0; left: -15vw; top: auto; bottom: -72vw; }
    .shape-b { width: 70vw; height: 70vw; min-width: 0; min-height: 0; left: auto; right: -14vw; top: auto; bottom: -10vw; }
    .paths { flex-direction: column; align-items: stretch; }
    .path { justify-content: space-between; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(48px, 6vw, 88px) clamp(56px, 7vw, 96px); min-height: 46svh; display: flex; align-items: center; }
.page-hero .wrap { width: 100%; }
.page-hero .shape-a { width: 96vh; height: 96vh; min-width: 620px; min-height: 620px; left: max(56%, calc(80% - 48vh)); top: calc(50% - 48vh); }
.page-hero .shape-flag { background-size: cover; background-position: center; background-color: var(--mint); }
.page-hero h1 { font-size: var(--step-head); line-height: 0.9; letter-spacing: -0.03em; margin-bottom: 24px; }
.page-hero .hero-copy { max-width: 50%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; padding: 0; margin: 0 0 26px; font-size: var(--step-small); }
.crumbs a { color: var(--text-soft); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--mint); color: var(--ink); font-size: var(--step-small); font-weight: 500; }
.chip i { color: var(--deep); }
@media (max-width: 991.98px) {
    .page-hero { min-height: 0; padding-bottom: 54vw; align-items: flex-start; }
    .page-hero .hero-copy { max-width: none; }
    .page-hero .shape-a { width: 110vw; height: 110vw; min-width: 0; min-height: 0; left: auto; right: -24vw; top: auto; bottom: -58vw; }
    .page-hero .shape-flag { background-size: auto 190%; background-position: 55% 92%; }
}

/* ---------- Ticker (services marquee) ---------- */
.ticker { background: var(--ink); color: var(--on-dark); overflow: hidden; padding: 22px 0; }
.ticker-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; flex-shrink: 0; }
.ticker-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-weight: 900; font-size: var(--step-lead); letter-spacing: -0.02em; white-space: nowrap; }
.ticker-item i { color: var(--teal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Pause control for anything that keeps moving (marquees, loops) */
.marquee { position: relative; display: block; }
.marquee-toggle {
    position: absolute; z-index: 2; right: max(var(--margin), env(safe-area-inset-right)); top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center;
    background: var(--paper); color: var(--ink); font-size: 1.1rem; cursor: pointer;
    transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.marquee-toggle:active { transform: translateY(-50%) scale(0.94); }
@media (hover: hover) and (pointer: fine) { .marquee-toggle:hover { background: #fff; } }
.marquee-toggle .ph-play { display: none; }
.marquee-toggle[aria-pressed="true"] .ph-play { display: inline; }
.marquee-toggle[aria-pressed="true"] .ph-pause { display: none; }
.marquee.is-paused .ticker-track, .marquee.is-paused .strip-track { animation-play-state: paused; }
.loop-wrap { width: 100%; height: 100%; }
.loop-wrap .marquee-toggle { top: auto; bottom: 12px; right: 12px; transform: none; }
.loop-wrap .marquee-toggle:active { transform: scale(0.94); }
@media (prefers-reduced-motion: reduce) { .marquee-toggle { display: none; } }

/* ---------- Mosaic (services) ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 96px; gap: var(--gap); }
.tile { position: relative; border-radius: var(--radius); padding: 24px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; color: inherit; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
a.tile:active { transform: scale(0.985); }
.tile .go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: var(--step-body); }
.tile .go i { transition: transform var(--t-hover) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { a.tile:hover { text-decoration: none; color: inherit; } a.tile:hover .go i { transform: translateX(5px); } }
.tile p { margin: 0; }
.tile .sentence { font-size: var(--step-lead); font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; }
.tile-heading { grid-column: 1 / 7; grid-row: 1 / 4; background: var(--ink-2); color: var(--on-dark); }
.tile-heading h2 { font-size: var(--step-head); margin-bottom: 18px; }
.tile-heading p { color: var(--on-dark-soft); max-width: 28em; }
.tile-s1 { grid-column: 1 / 4; grid-row: 4 / 6; background: var(--mint); color: var(--ink); }
.tile-s2 { grid-column: 4 / 7; grid-row: 4 / 6; background: var(--deep); color: var(--on-dark); }
.tile-photo { grid-column: 7 / 13; grid-row: 1 / 6; padding: 0; }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; }
.tile-s3 { grid-column: 1 / 7; grid-row: 6 / 9; background: var(--teal); color: var(--ink); }
.tile-s3 .sentence { max-width: 18em; }
.tile-figure { grid-column: 7 / 10; grid-row: 6 / 9; background: var(--paper); color: var(--ink); }
.tile-figure strong { font-size: var(--step-head); font-weight: 900; letter-spacing: -0.04em; line-height: 0.9; font-variant-numeric: lining-nums tabular-nums; }
.tile-figure span { display: block; margin-top: 10px; }
.tile-list { grid-column: 10 / 13; grid-row: 6 / 9; background: var(--mint); color: var(--ink); }
.tile-list h3 { font-size: var(--step-lead); letter-spacing: -0.02em; margin-bottom: 12px; }
.tile-list ul { list-style: none; padding: 0; margin: 0; font-size: var(--step-body); line-height: 1.5; }
@media (max-width: 991.98px) {
    .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 6px; }
    .tile { min-height: 180px; }
    .tile-heading, .tile-photo, .tile-s1, .tile-s2, .tile-s3 { grid-column: 1 / -1; grid-row: auto; }
    .tile-photo { aspect-ratio: 4 / 3; min-height: 0; }
    .tile-figure { grid-column: 1 / 2; grid-row: auto; }
    .tile-list { grid-column: 2 / 3; grid-row: auto; }
    .tile-heading { order: 1; } .tile-photo { order: 2; } .tile-figure { order: 3; } .tile-list { order: 4; } .tile-s1 { order: 5; } .tile-s2 { order: 6; } .tile-s3 { order: 7; }
}
@media (max-width: 480px) { .tile { padding: 18px; } .tile-figure, .tile-list { grid-column: 1 / -1; } }

/* Shutter: the signature move */
.shutter { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
    .js .shutter { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
    .js .shutter img { transform: scale(1.12); transition: transform 1500ms var(--ease-soft); }
    .js .shutter.is-visible { clip-path: inset(0); }
    .js .shutter.is-visible img { transform: none; }
}

/* ---------- Statement with highlighted words ---------- */
.statement { columns: 2; column-gap: 40px; font-size: var(--step-lead); line-height: 1.32; letter-spacing: -0.012em; }
.statement p { margin: 0 0 0.8em; }
.statement .name { font-weight: 900; }
.hl { padding: 0 0.12em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl-paper { background: var(--paper); color: var(--ink); }
.hl-mint { background: var(--mint); color: var(--ink); }
.hl-ink { background: var(--ink); color: var(--on-dark); }
.hl-deep { background: var(--deep); color: var(--on-dark); }
.statement .close { background: var(--ink); color: var(--on-dark); padding: 0 0.12em; text-decoration: none; -webkit-box-decoration-break: clone; box-decoration-break: clone; border-radius: 3px; font-weight: 500; }
.statement .close:hover { background: #000; color: var(--on-dark); text-decoration: underline; }
@media (max-width: 767.98px) {
    .statement { columns: 1; line-height: 1.3; }
    .statement .close { display: block; margin-top: 24px; padding: 14px 16px; border-radius: var(--radius); }
}

/* ---------- Destination tabs (the live thing) ---------- */
.dest-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.dest-head h2 { font-size: var(--step-head); }
.dest-head h2 .soft { display: block; }
.dest { display: grid; grid-template-columns: 190px 1fr; gap: 40px; align-items: start; }
.dest-tabs { display: flex; flex-direction: column; gap: 6px; position: sticky; top: calc(var(--header-h) + 20px); }
.dest-tab {
    display: flex; align-items: center; gap: 12px; min-height: 64px; width: 100%;
    padding: 8px 14px; border: 0; border-radius: var(--radius);
    background: var(--mint); color: var(--ink); text-align: left; cursor: pointer; text-decoration: none;
    font: 500 var(--step-body)/1.1 var(--font);
    transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.dest-tab img { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }
.dest-tab small { display: block; font-size: var(--step-small); font-weight: 400; color: var(--text-soft); margin-top: 3px; }
.dest-tab:active { transform: scale(0.98); }
.dest-tab[aria-selected="true"] { background: var(--ink); color: var(--on-dark); }
.dest-tab[aria-selected="true"] small { color: var(--on-dark-soft); }
@media (hover: hover) and (pointer: fine) { .dest-tab:not([aria-selected="true"]):hover { background: var(--teal); color: var(--ink); text-decoration: none; } }

.dest-panels { display: grid; gap: 48px; }
.dest-panel { display: grid; gap: 4px; scroll-margin-top: calc(var(--header-h) + 24px); }
.tabs-ready .dest-panels { gap: 0; }
.tabs-ready .dest-panel { grid-area: 1 / 1; align-self: start; visibility: hidden; opacity: 0; transition: opacity 450ms var(--ease-out), visibility 0s linear 450ms; }
.tabs-ready .dest-panel.is-active { visibility: visible; opacity: 1; transition: opacity 450ms var(--ease-out), visibility 0s; }

/* Auto-advance: the bar on the active tab is the timer */
.dest-tab { position: relative; overflow: hidden; }
.tab-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--action); transform: scaleX(0); transform-origin: left center; pointer-events: none; }
.tab-progress.run { animation: tab-progress 6s linear forwards; }
.is-paused .tab-progress.run { animation-play-state: paused; }
.is-stopped .tab-progress { opacity: 0; }
@keyframes tab-progress { to { transform: scaleX(1); } }
.dest-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.autoplay-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--mint); color: var(--ink); font: 500 var(--step-body)/1 var(--font); cursor: pointer; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.autoplay-btn:active { transform: scale(0.97); }
.autoplay-btn .ph-play { display: none; }
.autoplay-btn[aria-pressed="true"] .ph-play { display: inline; }
.autoplay-btn[aria-pressed="true"] .ph-pause { display: none; }
@media (hover: hover) and (pointer: fine) { .autoplay-btn:hover { background: var(--teal); } }
.dest-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; margin: 0 0 4px; }
.dest-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-soft); }
@media (hover: hover) { .dest-panel:hover .dest-photo img { transform: scale(1.03); } }
.dest-photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: var(--step-small); font-weight: 500; }
.band {
    display: grid; grid-template-columns: 170px 1fr auto; gap: 20px; align-items: center;
    min-height: 76px; padding: 14px 20px; border-radius: var(--radius);
    background: var(--mint-2);
}
.band:nth-of-type(even) { background: var(--mint); }
.band .k { font-size: var(--step-body); font-weight: 900; letter-spacing: -0.02em; }
.band .v { font-size: var(--step-body); font-weight: 500; max-width: 60ch; }
.band .v small { display: block; font-size: var(--step-small); font-weight: 400; color: var(--text-soft); margin-top: 2px; }
.band .end { justify-self: end; }
.band.band-action { background: var(--ink); color: var(--on-dark); }
.band.band-action .v small { color: var(--on-dark-soft); }
@media (max-width: 991.98px) {
    .dest { grid-template-columns: 1fr; gap: 18px; }
    .dest-tabs { position: static; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .band { grid-template-columns: 1fr; gap: 6px; padding: 16px; }
    .band .end { justify-self: start; }
    .dest-photo { aspect-ratio: 16 / 9; }
}

/* ---------- How it works: four even steps ---------- */
.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step4-media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.step4-media img, .step4-media video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 900ms var(--ease-soft); }
@media (hover: hover) { .step4:hover .step4-media img, .step4:hover .step4-media video { transform: scale(1.04); } }
.step4 h3 { font-size: var(--step-lead); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; margin: 22px 0 8px; }
.step4 p { margin: 0; color: var(--on-dark-soft); }
@media (max-width: 991.98px) { .steps4 { grid-template-columns: 1fr 1fr; gap: 40px 16px; } }
@media (max-width: 575.98px) { .steps4 { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- One figure owns the screen ---------- */
.figure-field { display: flex; flex-direction: column; justify-content: space-between; }
.figure-field .claim { font-size: var(--step-lead); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: clamp(32px, 7vh, 72px); max-width: 18em; }
.figure-num { display: block; font-size: var(--step-giant); font-weight: 900; line-height: 0.8; letter-spacing: -0.06em; font-variant-numeric: lining-nums; white-space: nowrap; }
.figure-num sup { font-size: 0.33em; vertical-align: top; position: relative; top: 0.08em; margin-left: 0.04em; letter-spacing: 0; }
.fig-note { margin-top: 28px; max-width: 32ch; }
.figure-num.fit { font-size: clamp(3.4rem, 10.5vw, 10.5rem); letter-spacing: -0.05em; }
@media (max-width: 767.98px) {
    .figure-num.fit { font-size: 13vw; }
    .fig-note { max-width: 80%; }
}

/* ---------- Contact: photo strip + three-cell bar ---------- */
.strip { overflow: hidden; margin-bottom: 44px; }
.strip-track { display: flex; gap: 8px; width: max-content; animation: marquee 80s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip-group { display: flex; gap: 8px; padding-right: 8px; flex-shrink: 0; }
.strip img, .strip video { height: 150px; border-radius: var(--radius); object-fit: cover; flex-shrink: 0; display: block; }
.strip .r34 { width: 113px; }
.strip .r11 { width: 150px; }
.strip .r32 { width: 225px; }
.contact-field h2 { font-size: var(--step-head); margin-bottom: 28px; }
.bar { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.cell { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 96px; padding: 12px 22px; border-radius: var(--radius); background: var(--mint); transition: background-color var(--t-hover) ease; }
.cell:focus-within { background: var(--paper); }
.cell label { font-size: var(--step-small); font-weight: 500; color: var(--text-soft); margin-bottom: 2px; }
.cell input { border: 0; background: transparent; padding: 4px 0; font: 500 var(--step-body)/1.3 var(--font); color: var(--ink); width: 100%; outline: none; }
.cell input::placeholder { color: #50696f; }
.cell .err { margin: 2px 0 0; }
.cell.has-error { background: #ffe9e7; }
.bar .submit { min-height: 96px; border: 0; border-radius: var(--radius); background: var(--action); color: var(--on-action); font: 900 var(--step-lead)/1 var(--font); letter-spacing: -0.02em; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.bar .submit:active { transform: scale(0.985); }
@media (hover: hover) and (pointer: fine) { .bar .submit:hover { background: var(--action-strong); } }
.bar-notes { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 14px; font-size: var(--step-body); }
.contact-field { padding-bottom: clamp(88px, 9vw, 128px); }
.bar-notes p { margin: 0; }
.bar-notes p:last-child { grid-column: 3; }
.bar-success { display: none; margin-top: 8px; padding: 24px; border-radius: var(--radius); background: var(--ink); color: var(--on-dark); }
.bar-success p { margin: 0 0 14px; }
.bar-success .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bar-form.is-sent .bar, .bar-form.is-sent .bar-notes { display: none; }
.bar-form.is-sent .bar-success { display: block; }
.bar-success:focus { outline: none; }
@media (max-width: 767.98px) {
    .strip { margin-bottom: 32px; }
    .strip img, .strip video { height: 110px; }
    .strip .r34 { width: 83px; } .strip .r11 { width: 110px; } .strip .r32 { width: 165px; }
    .contact-field h2 { margin-bottom: 28px; }
    .bar { grid-template-columns: 1fr; }
    .cell { min-height: 72px; }
    .bar .submit { min-height: 64px; }
    .bar-notes { grid-template-columns: 1fr; }
    .bar-notes p:last-child { grid-column: auto; }
}

/* ---------- Full enquiry form ---------- */
.form-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.form-layout h2 { font-size: var(--step-head); margin-bottom: 24px; }
.steps-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 8px; }
.steps-list li { padding: 20px 22px; border-radius: var(--radius); background: var(--mint-2); }
.steps-list li:nth-child(2) { background: var(--mint); }
.steps-list li:nth-child(3) { background: var(--teal); }
.steps-list h3 { font-size: var(--step-lead); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 6px; }
.steps-list p { margin: 0; }
.contact-lines { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; }
.contact-lines a { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 18px; border-radius: var(--radius); background: var(--mint); color: var(--ink); text-decoration: none; font-weight: 500; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.contact-lines a:active { transform: scale(0.985); }
.contact-lines a:hover { background: var(--teal); color: var(--ink); }
.contact-lines i { font-size: 1.4rem; color: var(--deep); }
.contact-lines a:hover i { color: var(--ink); }
.contact-lines a > span { min-width: 0; overflow-wrap: anywhere; }
.contact-lines small { display: block; font-size: var(--step-body); color: var(--text-soft); font-weight: 400; }

.form-card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); }
.form-card h3 { font-size: var(--step-lead); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 6px; }
.form-card .sub { color: var(--text-soft); margin-bottom: 26px; }
.field { position: relative; }
.field label { display: block; font-size: var(--step-body); font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.field .control {
    width: 100%; display: block; min-height: 54px;
    font: 400 var(--step-body)/1.4 var(--font); color: var(--ink);
    background: var(--mint-2); border: 2px solid transparent; border-radius: var(--radius);
    padding: 13px 16px; appearance: none; -webkit-appearance: none;
    transition: border-color var(--t-hover) ease, background-color var(--t-hover) ease;
}
.field .control::placeholder { color: #50696f; }
.field .control:focus { outline: none; border-color: var(--deep); background: #fff; }
.field select.control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 256 256'%3E%3Cpath fill='%230a2730' d='M213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field textarea.control { min-height: 120px; resize: vertical; }
.phone-wrap { display: flex; }
.phone-wrap .prefix { display: grid; place-items: center; padding: 0 14px; background: var(--mint); font-weight: 500; border-radius: var(--radius) 0 0 var(--radius); }
.phone-wrap .control { border-radius: 0 var(--radius) var(--radius) 0; }
.err { display: none; align-items: center; gap: 6px; margin: 6px 0 0; font-size: var(--step-small); font-weight: 500; color: #a8221a; }
.has-error .err { display: flex; }
.field.has-error .control { border-color: #c4352b; background: #fff6f5; }
.form-note { display: flex; gap: 8px; align-items: flex-start; font-size: var(--step-body); color: var(--text-soft); margin: 14px 0 0; }
.form-note i { color: #157f3d; font-size: 1.1rem; }
.form-success { display: none; padding: 32px 4px; }
.form-success h3 { font-size: var(--step-lead); margin-bottom: 10px; }
.form-success:focus { outline: none; }
.is-sent .form-body { display: none; }
.is-sent .form-success { display: block; }
@media (max-width: 991.98px) { .form-layout { grid-template-columns: 1fr; } }

/* ---------- Test tabs (study cafe) ---------- */
.test-hero { display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; padding: 28px; border-radius: var(--radius); background: var(--teal); color: var(--ink); margin-bottom: 4px; }
.test-hero strong { font-size: var(--step-head); font-weight: 900; letter-spacing: -0.04em; line-height: 0.9; }
.test-hero span { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; margin-top: 12px; }

/* ---------- Banded list (study cafe) ---------- */
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.list-head h2 { font-size: var(--step-head); }
.list-head h2 .soft { display: block; }
.rows { display: grid; gap: 4px; }
.row-b { display: grid; grid-template-columns: minmax(150px, 2fr) 5fr 3fr auto; gap: 24px; align-items: center; padding: 24px; border-radius: var(--radius); background: var(--mint-2); scroll-margin-top: calc(var(--header-h) + 24px); }
.row-b:nth-child(even) { background: var(--mint); }
.row-b:target { background: var(--teal); }
.row-b .code { font-size: var(--step-head); font-weight: 900; letter-spacing: -0.04em; line-height: 0.9; }
.row-b h3 { font-size: var(--step-body); font-weight: 900; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 6px; }
.row-b p { margin: 0; }
.row-b .who { font-size: var(--step-small); color: var(--text-soft); }
.row-b:target .who { color: var(--ink); }
@media (max-width: 991.98px) { .row-b { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Country pages ---------- */
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.reason { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--paper); }
.reason:nth-child(2), .reason:nth-child(3) { background: var(--mint-2); }
.reason h3 { font-size: var(--step-lead); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 12px; }
.reason p { margin: 0; }
@media (max-width: 767.98px) { .reasons { grid-template-columns: 1fr; } }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; align-items: end; margin-bottom: 36px; }
.split-head h2 { font-size: var(--step-head); }
@media (max-width: 991.98px) { .split-head { grid-template-columns: 1fr; } }

.help-cols { columns: 2; column-gap: 48px; list-style: none; padding: 0; margin: 0; }
.help-cols li { break-inside: avoid; padding-bottom: 24px; }
.help-cols h3 { font-size: var(--step-lead); font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 8px; }
.help-cols p { margin: 0; }
@media (max-width: 767.98px) { .help-cols { columns: 1; } }

.other-dest { display: flex; flex-wrap: wrap; gap: 8px; }
.other-dest a { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 20px 6px 8px; border-radius: 999px; background: var(--mint); color: var(--ink); text-decoration: none; font-weight: 500; transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.other-dest a img { width: 38px; height: 38px; border-radius: 50%; }
.other-dest a:active { transform: scale(0.97); }
.other-dest a:hover { background: var(--teal); color: var(--ink); }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step-small); margin-top: 28px; }

/* ---------- Footer: the mark, built large ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding-top: clamp(56px, 6vw, 88px); }
.wordmark { display: flex; align-items: flex-end; gap: 4px; height: 26svh; min-height: 180px; margin-bottom: 40px; }
.wordmark span {
    flex: 1; display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
    border-radius: var(--radius); color: var(--ink);
    font-weight: 900; line-height: 0.74; letter-spacing: -0.06em;
    font-size: var(--step-giant);
}
.wordmark span:nth-child(1) { height: 100%; background: var(--teal); }
.wordmark span:nth-child(2) { height: 76%; background: var(--mint); }
.wordmark span:nth-child(3) { height: 90%; background: var(--paper); }
.wordmark span:nth-child(4) { height: 64%; background: var(--teal); }
.wordmark span:nth-child(5) { height: 84%; background: var(--mint); }
.foot-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; }
.foot-links { grid-column: span 2; }
.foot-links.wide { grid-column: span 3; }
.foot-contact { grid-column: 9 / 13; }
.site-footer h3 { font-size: var(--step-body); font-weight: 900; letter-spacing: -0.01em; margin-bottom: 14px; color: var(--on-dark); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.site-footer a { color: var(--on-dark); font-size: var(--step-body); display: inline-flex; align-items: center; min-height: 32px; }
.site-footer a:hover { color: var(--mint); }
.site-footer .btn-paper, .site-footer .btn-paper:hover { color: var(--on-action); min-height: 52px; font-size: var(--step-body); }
.site-footer .btn-paper { background: var(--action); }
@media (hover: hover) and (pointer: fine) { .site-footer .btn-paper:hover { background: var(--action-strong); } }
.foot-contact p { margin: 0 0 14px; font-size: var(--step-body); color: var(--on-dark-soft); }
.foot-contact p a { font-size: var(--step-lead); font-weight: 900; letter-spacing: -0.02em; color: var(--on-dark); }
.foot-credit { text-decoration: underline !important; text-decoration-color: rgba(255,255,255,.45) !important; margin-left: 6px; font-size: inherit !important; min-height: 0 !important; display: inline !important; }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-block: 24px; color: var(--on-dark-soft); font-size: var(--step-body); }
.credits { font-size: var(--step-body); line-height: 1.6; color: var(--on-dark-soft); margin: 32px 0 0; max-width: 75ch; }
.credits a { font-size: inherit; min-height: 0; display: inline; color: var(--on-dark); text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); }
@media (max-width: 991.98px) {
    .wordmark { height: 22svh; min-height: 150px; }
    .foot-links, .foot-links.wide { grid-column: span 6; }
    .foot-contact { grid-column: 1 / -1; }
}

@media (max-width: 767.98px) {
    .wordmark { flex-wrap: wrap; height: auto; min-height: 0; }
    .wordmark span { flex: 0 0 calc(33.333% - 3px); }
    .wordmark span:nth-child(n+4) { flex-basis: calc(50% - 2px); }
    .wordmark span:nth-child(1) { height: 40vw; } .wordmark span:nth-child(2) { height: 31vw; } .wordmark span:nth-child(3) { height: 36vw; }
    .wordmark span:nth-child(4) { height: 28vw; } .wordmark span:nth-child(5) { height: 34vw; }
}

/* ---------- Floating actions ---------- */
.fab-whatsapp {
    position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: var(--z-float);
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    background: #157f3d; color: #fff; text-decoration: none;
    box-shadow: 0 16px 34px -14px rgba(10, 39, 48, .6); /* taste-skill-ignore: floats over the page */
    transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.fab-whatsapp i { font-size: 1.6rem; }
.fab-whatsapp span {
    position: absolute; right: calc(100% + 10px); top: 50%; white-space: nowrap;
    padding: 9px 14px; border-radius: 999px; background: var(--ink); color: #fff;
    font-size: var(--step-small); font-weight: 500; pointer-events: none;
    opacity: 0; transform: translate(6px, -50%);
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.fab-whatsapp:active { transform: scale(0.95); }
.fab-whatsapp:hover, .fab-whatsapp:focus-visible { color: #fff; background: #0f6a31; text-decoration: none; }
.fab-whatsapp:hover span, .fab-whatsapp:focus-visible span { opacity: 1; transform: translate(0, -50%); }

.to-top {
    position: fixed; right: calc(max(20px, env(safe-area-inset-right)) + 7px); bottom: calc(max(20px, env(safe-area-inset-bottom)) + 70px); z-index: var(--z-float);
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: var(--ink); color: #fff; text-decoration: none; font-size: 1.1rem;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out), visibility 0s linear 250ms, background-color var(--t-hover) ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out), visibility 0s; }
.to-top:hover { background: var(--deep); color: #fff; text-decoration: none; }

/* ---------- Entrances ---------- */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: var(--d, 0s); }
    .js [data-reveal].is-visible { opacity: 1; transform: none; }
    .js .shape-a { animation: shape-in 1400ms var(--ease-out) both; }
    .js .shape-b { animation: shape-in 1400ms var(--ease-out) 180ms both; }
    @keyframes shape-in { from { transform: translateX(14vw) scale(.9); } to { transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
    .ticker-track, .strip-track { animation: none; }
    .strip { overflow-x: auto; }
}

/* ---------- Maintenance page ---------- */
.maint { min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.maint .wrap { width: 100%; }
.maint .hero-copy { max-width: 560px; }
.maint img { width: 90px; margin-bottom: 28px; }
.maint h1 { font-size: var(--step-head); margin-bottom: 22px; }
.maint .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* Bootstrap leftovers: the bundled bootstrap.min.css zeroes .mb-4 and .mt-3 */
.mb-4 { margin-bottom: 1.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.maint { flex-direction: column; justify-content: center; }
.maint-strip { width: 100%; margin-top: 64px; }
.maint-strip .strip { margin-bottom: 0; }

.credit-thumb { width: 180px; height: 120px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.credit-row { grid-template-columns: 180px 1fr auto; }
.credits-field { padding-bottom: clamp(96px, 10vw, 140px); }
@media (max-width: 991.98px) { .credit-row { grid-template-columns: 1fr; } }

/* ---------- Hero scene: the immigration journey, drawn in code ---------- */
.hero .wrap { position: relative; }
.hero-scene.marquee { position: absolute; right: max(var(--margin), env(safe-area-inset-right)); top: calc(50% - 280px); width: min(600px, 47%); height: 560px; }
.scene { position: absolute; inset: 0; }
.scene .sc { position: absolute; border-radius: var(--radius); background: var(--paper); color: var(--ink); padding: 16px 18px; transform: rotate(var(--r, 0deg)); }
.orbit-ring { position: absolute; width: 340px; height: 340px; left: calc(56% - 170px); top: calc(50% - 170px); fill: none; stroke: var(--paper); stroke-width: 3; stroke-dasharray: 1 12; stroke-linecap: round; opacity: .8; }
.globe { position: absolute; width: 230px; height: 230px; left: calc(56% - 115px); top: calc(50% - 115px); border-radius: 50%; background: var(--deep); color: var(--mint); display: grid; place-items: center; font-size: 170px; line-height: 1; }
.globe i { display: block; }
.orbit { position: absolute; width: 320px; height: 320px; left: calc(56% - 160px); top: calc(50% - 160px); animation: orbit 14s linear infinite; }
.orbit-plane { position: absolute; left: 50%; top: 0; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--action); color: var(--on-action); display: grid; place-items: center; font-size: 28px; transform: rotate(45deg); }

.s-passport { left: 1%; top: 3%; width: 134px; height: 178px; --r: -9deg; background: var(--ink) !important; color: var(--mint) !important; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 18px 12px !important; animation: float 6s ease-in-out infinite; }
.pp-title { font-weight: 900; font-size: var(--step-body); letter-spacing: -0.01em; }
.s-passport i { font-size: 66px; }
.pp-sub { font-size: var(--step-small); color: var(--on-dark-soft); }

.s-title { display: block; font-weight: 900; font-size: var(--step-body); letter-spacing: -0.01em; margin-bottom: 8px; }
.s-check { right: 0; top: 1%; width: 222px; --r: 3deg; animation: float 7s ease-in-out -2s infinite; }
.s-check ul { list-style: none; margin: 0; padding: 0; }
.s-check li { position: relative; display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: var(--step-small); font-weight: 500; }
.s-check li::before { content: ""; position: absolute; left: 0; top: calc(50% - 10px); width: 20px; height: 20px; border-radius: 50%; background: var(--mint); }
.s-check li i { position: relative; z-index: 1; color: var(--deep); font-size: 20px; animation: tick 8s var(--ease-out) infinite; animation-delay: calc(var(--i) * .6s + .4s); }

.s-visa { left: 0; bottom: 13%; width: 232px; padding-bottom: 68px !important; --r: -4deg; animation: float 6.5s ease-in-out -1s infinite; }
.s-row { display: block; font-size: var(--step-small); line-height: 1.45; color: var(--text-soft); }
.stamp { position: absolute; right: 14px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 6px; border: 3px solid var(--action); background: var(--action); color: var(--on-action); font-weight: 900; font-size: var(--step-body); transform: rotate(-12deg); animation: stamp 8s var(--ease-out) 2.9s infinite; }
.stamp i { font-size: 20px; }

.s-ticket { right: 3%; bottom: 2%; width: 300px; display: flex; padding: 0 !important; overflow: hidden; --r: 2deg; animation: float 7.5s ease-in-out -3s infinite; }
.t-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; }
.t-stub { width: 74px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--action); }
.t-label { font-size: var(--step-small); color: var(--text-soft); }
.t-stub .t-label { color: var(--on-action); }
.t-route { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: var(--step-body); letter-spacing: -0.02em; line-height: 1.2; }
.t-route i { color: var(--deep); font-size: 18px; }
.t-dest { position: relative; display: inline-block; min-width: 124px; height: 1.2em; }
.t-dest span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; animation: dest 17.5s infinite; }
.t-dest span:nth-child(1) { opacity: 1; }
.t-dest span:nth-child(2) { animation-delay: 2.5s; } .t-dest span:nth-child(3) { animation-delay: 5s; } .t-dest span:nth-child(4) { animation-delay: 7.5s; }
.t-dest span:nth-child(5) { animation-delay: 10s; } .t-dest span:nth-child(6) { animation-delay: 12.5s; } .t-dest span:nth-child(7) { animation-delay: 15s; }
.t-seat { font-weight: 900; font-size: var(--step-body); }

.hero-scene .marquee-toggle { top: auto; bottom: 6px; left: 6px; right: auto; transform: none; }
.hero-scene .marquee-toggle:active { transform: scale(0.94); }
.hero-scene.is-paused .scene, .hero-scene.is-paused .scene * { animation-play-state: paused !important; }

@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: rotate(var(--r, 0deg)) translateY(0); } 50% { transform: rotate(var(--r, 0deg)) translateY(-12px); } }
@keyframes tick { 0% { opacity: 0; transform: scale(.3); } 6% { opacity: 1; transform: scale(1.18); } 9%, 84% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; transform: scale(.3); } }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-12deg) scale(1.9); } 4% { opacity: 1; transform: rotate(-12deg) scale(.9); } 7%, 82% { opacity: 1; transform: rotate(-12deg) scale(1); } 92%, 100% { opacity: 0; transform: rotate(-12deg) scale(1); } }
@keyframes dest { 0% { opacity: 0; transform: translateY(8px); } 2%, 13% { opacity: 1; transform: none; } 15%, 100% { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 1279.98px) and (min-width: 992px) {
    .globe { width: 190px; height: 190px; left: calc(56% - 95px); top: calc(50% - 95px); font-size: 162px; }
    .orbit-ring { width: 290px; height: 290px; left: calc(56% - 145px); top: calc(50% - 145px); }
    .orbit { width: 272px; height: 272px; left: calc(56% - 136px); top: calc(50% - 136px); }
    .s-passport { width: 112px; height: 150px; }
    .s-passport i { font-size: 52px; }
    .s-check { width: 196px; }
    .s-visa { width: 204px; }
    .s-ticket { width: 268px; }
    .t-dest { min-width: 110px; }
}
@media (max-width: 991.98px) {
    .hero { padding-bottom: 40px; }
    .hero-scene.marquee { position: relative; right: auto; top: auto; width: 100%; max-width: 480px; height: 460px; margin: 40px auto 0; }
}
@media (max-width: 575.98px) {
    .hero-scene.marquee { height: 380px; }
    .orbit-ring { stroke: var(--deep); opacity: .55; }
    .s-passport, .s-visa { display: none; }
    .globe { width: 160px; height: 160px; left: calc(38% - 80px); top: calc(44% - 80px); font-size: 118px; }
    .orbit-ring { width: 250px; height: 250px; left: calc(38% - 125px); top: calc(44% - 125px); }
    .orbit { width: 236px; height: 236px; left: calc(38% - 118px); top: calc(44% - 118px); }
    .orbit-plane { width: 44px; height: 44px; margin: -22px 0 0 -22px; font-size: 24px; }
    .s-check { width: 178px; padding: 12px 14px; }
    .s-check li { padding: 4px 0; }
    .s-visa { width: 188px; padding: 12px 14px 54px !important; }
    .s-ticket { width: 262px; right: 0; }
    .t-dest { min-width: 104px; }
    .t-stub { width: 62px; }
}
@media (prefers-reduced-motion: reduce) {
    .scene, .scene * { animation: none !important; }
}
