/* =============================================================================
   Immi Solution — "Tasmanian Gold" design system
   Deep navy + luminous gold from the logo, cinematic full-bleed photography,
   Clash Display headlines and Satoshi text (Fontshare, self-hosted).
   Motion lives in assets/js/main.js (GSAP + ScrollTrigger + Lenis).
   ============================================================================= */

/* ---------- Fonts ------------------------------------------------------------- */
@font-face {
    font-family: "Clash Display";
    src: url("../fonts/clash-display.woff2") format("woff2");
    font-weight: 200 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Satoshi";
    src: url("../fonts/satoshi.woff2") format("woff2");
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Satoshi";
    src: url("../fonts/satoshi-italic.woff2") format("woff2");
    font-weight: 300 900;
    font-style: italic;
    font-display: swap;
}

/* ---------- Tokens ------------------------------------------------------------- */
:root {
    --ink-950: #060c26;
    --navy-900: #0b1640;
    --navy-800: #13245e;
    --navy-700: #1c3277;
    --blue-600: #2557a0;
    --blue-500: #3a6fcf;
    --gold-300: #e6d3ad;
    --gold-400: #d4b98a;
    --gold-500: #c2a26c;
    --gold-600: #8a6b39;
    --paper: #f5f6fa;
    --paper-2: #eceff6;
    --white: #ffffff;
    --text: #0f1733;
    --text-soft: #4a5472;
    --text-mute: #6b7491;
    --line: #e1e6f0;
    --line-strong: #c4cddf;
    --on-dark: rgba(255, 255, 255, 0.92);
    --on-dark-soft: rgba(255, 255, 255, 0.7);
    --line-dark: rgba(255, 255, 255, 0.14);
    --success: #18764a;
    --success-bg: #e6f4ec;
    --error: #b42318;
    --error-bg: #fdeceb;

    --font-display: "Clash Display", "Satoshi", "Segoe UI", system-ui, sans-serif;
    --font-sans: "Satoshi", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    --container: 1280px;
    --gutter: clamp(18px, 4vw, 40px);
    --section-y: clamp(72px, 10vw, 140px);
    --header-h: 84px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-soft: 0 30px 60px -30px rgba(6, 12, 38, 0.35);
    --shadow-card: 0 18px 40px -24px rgba(6, 12, 38, 0.45);
}

/* ---------- Base --------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 20px);
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 450;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

img,
video {
    display: block;
}

a {
    color: var(--blue-600);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.22em;
    transition: color 0.2s var(--ease);
}

a:hover {
    color: var(--navy-900);
}

:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 3px;
    border-radius: 6px;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.5em;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--navy-900);
    letter-spacing: -0.01em;
    word-spacing: 0.06em;
    line-height: 1.05;
    text-wrap: balance;
}

h3,
h4 {
    letter-spacing: -0.012em;
    line-height: 1.2;
}

p {
    margin: 0 0 1em;
}

address {
    font-style: normal;
}

::selection {
    background: var(--gold-400);
    color: var(--navy-900);
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    vertical-align: -0.2em;
}

.icon--sm {
    width: 1em;
    height: 1em;
}

.icon--xs {
    width: 0.85em;
    height: 0.85em;
    margin-left: 0.3em;
}

.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: absolute;
    left: 16px;
    top: -80px;
    z-index: 200;
    padding: 12px 18px;
    background: var(--gold-400);
    color: var(--navy-900);
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.skip-link:focus {
    top: 12px;
}

main:focus {
    outline: none;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* Visa subclass numerals */
.code {
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums lining-nums;
    font-weight: 500;
    color: var(--gold-600);
    white-space: nowrap;
    letter-spacing: 0;
}

.code--sm {
    font-size: 0.95rem;
}

.code--lg {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    line-height: 1;
}

/* Kicker label (small line above section titles) */
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-600);
}

.kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
}

.on-dark .kicker,
.kicker--light {
    color: var(--gold-400);
}

/* ---------- Buttons ------------------------------------------------------------ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 52px;
    padding: 0.85rem 1.6rem;
    border: 1.5px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.005em;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    transform: translateY(101%);
    transition: transform 0.45s var(--ease);
}

.btn:hover::after {
    transform: translateY(0);
}

.btn .icon {
    transition: transform 0.35s var(--ease);
}

.btn:hover .icon {
    transform: translateX(3px);
}

.btn--primary {
    background: var(--gold-400);
    color: var(--ink-950);
}

.btn--primary::after {
    background: var(--white);
}

.btn--primary:hover {
    color: var(--ink-950);
}

.btn--dark {
    background: var(--navy-900);
    color: var(--white);
}

.btn--dark::after {
    background: var(--blue-600);
}

.btn--dark:hover {
    color: var(--white);
}

.btn--ghost {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--navy-900);
}

.btn--ghost::after {
    background: var(--navy-900);
}

.btn--ghost:hover {
    color: var(--white);
    border-color: var(--navy-900);
}

.btn--light {
    background: var(--white);
    color: var(--navy-900);
}

.btn--light::after {
    background: var(--gold-400);
}

.btn--light:hover {
    color: var(--ink-950);
}

.btn--outline-light {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--white);
    backdrop-filter: blur(6px);
}

.btn--outline-light::after {
    background: var(--white);
}

.btn--outline-light:hover {
    color: var(--navy-900);
    border-color: var(--white);
}

.btn--block {
    width: 100%;
}

.btn--sm {
    min-height: 44px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9375rem;
}

.btn[disabled],
.btn.is-busy {
    opacity: 0.7;
    cursor: progress;
}

.link-strong {
    font-weight: 700;
    color: var(--blue-600);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--navy-900);
    text-decoration: none;
    border-bottom: 1.5px solid var(--gold-500);
    padding-bottom: 2px;
}

.link-arrow:hover {
    color: var(--blue-600);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- Header --------------------------------------------------------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 80;
    color: var(--white);
    transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.45s var(--ease), color 0.4s var(--ease);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header.is-solid {
    background: rgba(255, 255, 255, 0.94);
    color: var(--navy-900);
    box-shadow: 0 10px 30px -18px rgba(6, 12, 38, 0.35);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
}

.topbar {
    border-bottom: 1px solid var(--line-dark);
    font-size: 0.8125rem;
    line-height: 1.3;
    overflow: hidden;
    max-height: 44px;
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease);
}

.site-header.is-solid .topbar {
    max-height: 0;
    opacity: 0;
    border-bottom-color: transparent;
}

.topbar__inner {
    display: flex;
    align-items: center;
    gap: 6px 26px;
    min-height: 40px;
}

.topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--on-dark-soft);
    text-decoration: none;
}

.topbar__item .icon {
    color: var(--gold-400);
    width: 1rem;
    height: 1rem;
}

a.topbar__item:hover {
    color: var(--white);
}

.topbar__phone {
    margin-left: auto;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

@media (max-width: 760px) {
    .topbar__address {
        display: none;
    }
}

@media (max-width: 560px) {
    .topbar__long {
        display: none;
    }
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: var(--header-h);
}

.brand {
    position: relative;
    display: block;
    flex: none;
    width: 210px;
}

.brand img {
    width: 100%;
    height: auto;
    transition: opacity 0.35s var(--ease);
}

.brand__logo--dark {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.site-header.is-solid .brand__logo--dark {
    opacity: 1;
}

.site-header.is-solid .brand__logo--light {
    opacity: 0;
}

@media (max-width: 420px) {
    .brand {
        width: 178px;
    }
}

.primary-nav {
    display: none;
    margin-left: auto;
}

.primary-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border: 0;
    border-radius: var(--radius-pill);
    background: none;
    color: inherit;
    font: inherit;
    font-size: 0.975rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

.primary-nav__link:hover,
.primary-nav__trigger[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.12);
    color: inherit;
}

.site-header.is-solid .primary-nav__link:hover,
.site-header.is-solid .primary-nav__trigger[aria-expanded="true"] {
    background: var(--paper);
}

.primary-nav__link.is-active {
    box-shadow: inset 0 -2px 0 var(--gold-400);
    border-radius: 0;
}

.primary-nav__trigger .icon {
    transition: transform 0.3s var(--ease);
}

.primary-nav__trigger[aria-expanded="true"] .icon {
    transform: rotate(180deg);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.btn--header {
    display: none;
    min-height: 46px;
    padding: 0.65rem 1.3rem;
    font-size: 0.9375rem;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.nav-toggle .icon {
    width: 24px;
    height: 24px;
}

.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
    display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
    display: inline-flex;
}

@media (min-width: 640px) {
    .btn--header {
        display: inline-flex;
    }
}

@media (min-width: 1180px) {
    .primary-nav {
        display: block;
    }
    .site-header__actions {
        margin-left: 6px;
    }
    .nav-toggle {
        display: none;
    }
    .brand {
        width: 230px;
    }
}

/* Mega menu */
.mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    color: var(--text);
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 40px 80px -40px rgba(6, 12, 38, 0.45);
}

.mega[hidden] {
    display: none;
}

.mega.is-open {
    animation: mega-in 0.35s var(--ease);
}

@keyframes mega-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.mega__inner {
    display: grid;
    grid-template-columns: minmax(220px, 290px) 1fr;
    gap: 56px;
    padding-block: 36px 44px;
}

.mega__title {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.05;
    color: var(--navy-900);
}

.mega__intro p:not(.mega__title) {
    color: var(--text-soft);
    font-size: 0.975rem;
}

.mega__groups {
    display: grid;
    gap: 36px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mega__groups--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega__groups--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mega__group-title {
    margin: 0 0 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-600);
}

.mega__group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mega__link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    color: var(--navy-900);
    font-size: 0.975rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.mega__link:hover .mega__label,
.mega__link[aria-current="page"] .mega__label {
    color: var(--blue-600);
}

.mega__link .code {
    color: var(--gold-600);
    font-size: 0.875rem;
}

/* Mobile navigation (full screen, dark) */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: calc(var(--header-h) + 64px) var(--gutter) 40px;
    background: var(--ink-950);
    color: var(--white);
}

.mobile-nav[hidden] {
    display: none;
}

.nav-open .site-header {
    background: var(--ink-950);
    color: var(--white);
    box-shadow: none;
}

.nav-open .site-header .brand__logo--dark {
    opacity: 0;
}

.nav-open .site-header .brand__logo--light {
    opacity: 1;
}

.mobile-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-nav__list > li {
    border-bottom: 1px solid var(--line-dark);
}

.mobile-nav__link,
.mobile-nav__group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 12px 2px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-decoration: none;
    cursor: pointer;
    list-style: none;
}

.mobile-nav__group > summary::-webkit-details-marker {
    display: none;
}

.mobile-nav__group[open] > summary .icon {
    transform: rotate(180deg);
}

.mobile-nav__group ul {
    margin: 0 0 14px;
    padding: 0 0 0 14px;
    list-style: none;
    border-left: 2px solid var(--gold-500);
}

.mobile-nav__group ul a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 8px;
    color: var(--on-dark-soft);
    text-decoration: none;
    font-size: 1.0625rem;
}

.mobile-nav__group ul a .code {
    color: var(--gold-400);
}

.mobile-nav__contact {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

@media (min-width: 1180px) {
    .mobile-nav {
        display: none !important;
    }
}

/* ---------- Generic sections ------------------------------------------------------ */
.section {
    position: relative;
    padding-block: var(--section-y);
}

.section--paper {
    background: var(--paper);
}

.section--mist {
    background: var(--paper);
}

.section--dark,
.on-dark {
    background: var(--ink-950);
    color: var(--on-dark);
}

.section--dark h2,
.section--dark h3,
.on-dark h2,
.on-dark h3 {
    color: var(--white);
}

.section__head {
    max-width: 820px;
    margin-bottom: clamp(36px, 5vw, 64px);
}

.section__head--split {
    display: grid;
    gap: 20px 64px;
    max-width: none;
    align-items: end;
}

@media (min-width: 960px) {
    .section__head--split {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.section__title {
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.015em;
    word-spacing: 0.07em;
}

.section__lead {
    margin: 0;
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    color: var(--text-soft);
    max-width: 58ch;
}

.on-dark .section__lead,
.section--dark .section__lead {
    color: var(--on-dark-soft);
}

/* Line-mask reveal wrappers created by main.js */
.split-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}

.split-line > span {
    display: inline-block;
    will-change: transform;
}

/* ---------- Home: hero --------------------------------------------------------------- */
.hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 100svh;
    padding: calc(var(--header-h) + 90px) 0 clamp(32px, 5vw, 56px);
    color: var(--white);
    background: var(--ink-950);
    overflow: hidden;
    isolation: isolate;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__media img,
.hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__media video {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s var(--ease);
}

.hero__media video.is-playing {
    opacity: 1;
}

.hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(6, 12, 38, 0.65) 0%, rgba(6, 12, 38, 0.1) 32%, rgba(6, 12, 38, 0.25) 55%, rgba(6, 12, 38, 0.92) 100%),
        linear-gradient(90deg, rgba(6, 12, 38, 0.7) 0%, rgba(6, 12, 38, 0) 65%);
}

.hero__content {
    max-width: 1020px;
}

.hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-pill);
    background: rgba(6, 12, 38, 0.35);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.chip .icon {
    width: 1rem;
    height: 1rem;
    color: var(--gold-400);
}

a.chip:hover {
    border-color: var(--gold-400);
    color: var(--white);
}

.hero__title {
    margin: 0 0 26px;
    font-size: clamp(3rem, 8.4vw, 7.6rem);
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.02em;
    word-spacing: 0.09em;
    color: var(--white);
}

.hero__title em {
    font-style: normal;
    color: var(--gold-400);
}

.hero__lead {
    max-width: 52ch;
    margin: 0 0 34px;
    font-size: clamp(1.0625rem, 1.5vw, 1.3rem);
    color: var(--on-dark);
}

.hero__trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: clamp(40px, 7vw, 88px);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius-md);
    background: var(--line-dark);
    overflow: hidden;
}

.hero__trust > div {
    padding: 18px 20px;
    background: rgba(6, 12, 38, 0.55);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.hero__trust strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--white);
}

.hero__trust span {
    font-size: 0.875rem;
    color: var(--on-dark-soft);
}

@media (min-width: 900px) {
    .hero__trust {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.hero__scroll {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(140px, 18vw, 210px);
    display: none;
    align-items: center;
    gap: 12px;
    color: var(--on-dark-soft);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.hero__scroll::after {
    content: "";
    width: 1px;
    height: 70px;
    background: linear-gradient(var(--gold-400), transparent);
    animation: scroll-cue 2.2s var(--ease) infinite;
}

@keyframes scroll-cue {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    51% {
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

@media (min-width: 1200px) {
    .hero__scroll {
        display: inline-flex;
    }
}

/* ---------- Marquee ------------------------------------------------------------------ */
.marquee {
    position: relative;
    overflow: hidden;
    background: var(--gold-400);
    color: var(--ink-950);
    padding-block: 18px;
    white-space: nowrap;
}

.marquee__track {
    display: inline-flex;
    gap: 0;
    animation: marquee 48s linear infinite;
    will-change: transform;
}

.marquee--slow .marquee__track {
    animation-duration: 70s;
}

.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding-right: 22px;
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.marquee__item::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--navy-900);
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

/* ---------- Statement with inline photos -------------------------------------------- */
.statement {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4.4vw, 4rem);
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: -0.012em;
    word-spacing: 0.06em;
    color: var(--navy-900);
    max-width: 1180px;
    margin: 0;
}

.statement__img {
    display: inline-block;
    width: 1.9em;
    height: 0.95em;
    margin: 0 0.12em;
    vertical-align: -0.1em;
    border-radius: var(--radius-pill);
    overflow: hidden;
    background: var(--paper-2);
}

.statement__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.statement .muted {
    color: #a7afc4;
}

.statement-meta {
    display: grid;
    gap: 28px;
    margin-top: clamp(36px, 5vw, 64px);
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.statement-meta p {
    margin: 0;
    color: var(--text-soft);
}

@media (min-width: 900px) {
    .statement-meta {
        grid-template-columns: 1fr 1fr auto;
        align-items: end;
    }
}

/* ---------- Bento services ---------------------------------------------------------- */
.bento {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

.bento__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 340px;
    padding: clamp(22px, 2.6vw, 32px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--white);
    text-decoration: none;
    isolation: isolate;
    background: var(--navy-900);
}

.bento__card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.bento__card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(6, 12, 38, 0) 30%, rgba(6, 12, 38, 0.88) 100%);
    transition: background 0.6s var(--ease);
}

.bento__card:hover img {
    transform: scale(1.06);
}

.bento__card:hover {
    color: var(--white);
}

.bento__tag {
    position: absolute;
    top: clamp(20px, 2.4vw, 28px);
    left: clamp(20px, 2.4vw, 28px);
}

.bento__title {
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 2.6vw, 2.3rem);
    color: var(--white);
}

.bento__text {
    margin: 0;
    max-width: 44ch;
    color: var(--on-dark);
    font-size: 1rem;
}

.bento__go {
    position: absolute;
    top: clamp(20px, 2.4vw, 28px);
    right: clamp(20px, 2.4vw, 28px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    color: var(--navy-900);
    transform: rotate(-45deg);
    transition: transform 0.5s var(--ease), background-color 0.4s var(--ease);
}

.bento__card:hover .bento__go {
    transform: rotate(0deg);
    background: var(--gold-400);
}

@media (min-width: 760px) {
    .bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .bento {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        grid-auto-rows: 300px;
    }
    .bento__card {
        min-height: 0;
        grid-column: span 4;
    }
    .bento__card--xl {
        grid-column: span 7;
        grid-row: span 2;
    }
    .bento__card--tall {
        grid-column: span 5;
        grid-row: span 2;
    }
    .bento__card--wide {
        grid-column: span 6;
    }
}

/* ---------- Route board (visa finder, dark) ------------------------------------------- */
.route-board {
    position: relative;
    background: var(--ink-950);
    color: var(--white);
    padding-block: var(--section-y);
    overflow: hidden;
}

.route-board__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line-dark);
}

.route {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "codes go"
        "label go"
        "desc go";
    gap: 4px 20px;
    align-items: center;
    padding: 24px 6px;
    border-bottom: 1px solid var(--line-dark);
    color: var(--white);
    text-decoration: none;
    transition: padding 0.5s var(--ease), background-color 0.4s var(--ease);
}

.route:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.03);
}

.route__codes {
    grid-area: codes;
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: transparent;
    -webkit-text-stroke: 1.2px var(--gold-400);
    transition: color 0.45s var(--ease);
}

.route:hover .route__codes {
    color: var(--gold-400);
}

.route__codes span + span::before {
    content: "/";
    margin: 0 0.1em;
    -webkit-text-stroke: 1.2px rgba(212, 185, 138, 0.45);
}

.route__label {
    grid-area: label;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.route__desc {
    grid-area: desc;
    color: var(--on-dark-soft);
    font-size: 0.975rem;
}

.route__go {
    grid-area: go;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease), color 0.3s;
}

.route:hover .route__go {
    background: var(--gold-400);
    border-color: var(--gold-400);
    color: var(--ink-950);
    transform: rotate(-45deg);
}

@media (min-width: 900px) {
    .route {
        grid-template-columns: minmax(280px, 380px) minmax(0, 1fr) auto;
        grid-template-areas:
            "codes label go"
            "codes desc go";
        column-gap: 44px;
        padding: 30px 10px;
    }
    .route:hover {
        padding-left: 22px;
    }
}

/* Floating preview image that follows the cursor over route rows (desktop) */
.route-preview {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 50;
    width: 300px;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
    transition: opacity 0.3s var(--ease);
    box-shadow: var(--shadow-soft);
}

.route-preview.is-visible {
    opacity: 1;
}

.route-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Plain rows (no numerals) and the light variant used on hub pages */
.route--plain {
    grid-template-areas:
        "label go"
        "desc go";
}

@media (min-width: 900px) {
    .route--plain {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "label go"
            "desc go";
    }
}

.route-board--light {
    background: transparent;
    color: var(--text);
    padding-block: 0;
    overflow: visible;
}

.route-board--light .route-board__list {
    border-top-color: var(--line);
}

.route-board--light .route {
    color: var(--navy-900);
    border-bottom-color: var(--line);
}

.route-board--light .route:hover {
    background: var(--paper);
    color: var(--navy-900);
}

.route-board--light .route__codes {
    -webkit-text-stroke: 1.2px var(--gold-600);
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.route-board--light .route:hover .route__codes {
    color: var(--gold-600);
}

.route-board--light .route__codes span + span::before {
    -webkit-text-stroke: 1.2px rgba(138, 107, 57, 0.45);
}

.route-board--light .route__desc {
    color: var(--text-soft);
}

.route-board--light .route__go {
    border-color: var(--line-strong);
}

.route-board--light .route:hover .route__go {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: var(--white);
}

/* ---------- Founder ------------------------------------------------------------------ */
.founder {
    display: grid;
    gap: clamp(36px, 6vw, 96px);
    align-items: center;
}

.founder__media {
    position: relative;
    margin: 0;
}

.founder__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.founder__media::before {
    content: "";
    position: absolute;
    inset: 22px -22px -22px 22px;
    z-index: -1;
    border: 1.5px solid var(--gold-500);
    border-radius: var(--radius-lg);
}

.founder__badge {
    position: absolute;
    left: -14px;
    bottom: 34px;
    display: flex;
    gap: 14px;
    align-items: center;
    max-width: 300px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    color: var(--navy-900);
}

.founder__badge .icon {
    width: 40px;
    height: 40px;
    color: var(--gold-500);
}

.founder__badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.2;
}

.founder__badge span {
    font-size: 0.8125rem;
    color: var(--text-soft);
}

.founder__name {
    margin: 0;
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
}

.founder__role {
    margin: 10px 0 26px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gold-600);
}

.founder__text {
    font-size: 1.125rem;
    color: var(--text-soft);
    max-width: 52ch;
}

@media (min-width: 960px) {
    .founder {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }
}

/* ---------- Horizontal destinations ------------------------------------------------ */
.hscroll {
    overflow: hidden;
}

.hscroll__track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    padding-inline: var(--gutter);
    scrollbar-width: none;
}

.hscroll__track::-webkit-scrollbar {
    display: none;
}

.js-motion .hscroll--pinned .hscroll__track {
    overflow: visible;
    scroll-snap-type: none;
    width: max-content;
}

.dest {
    position: relative;
    flex: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: min(82vw, 440px);
    height: min(115vw, 600px);
    padding: 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--white);
    text-decoration: none;
    scroll-snap-align: start;
    isolation: isolate;
}

.dest img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease);
}

.dest::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(6, 12, 38, 0.05) 35%, rgba(6, 12, 38, 0.9) 100%);
}

.dest:hover img {
    transform: scale(1.07);
}

.dest:hover {
    color: var(--white);
}

.dest__index {
    position: absolute;
    top: 24px;
    left: 28px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gold-400);
}

.dest__name {
    margin: 0 0 8px;
    font-size: clamp(2.2rem, 3.6vw, 3rem);
    line-height: 1;
    color: var(--white);
}

.dest__text {
    margin: 0 0 18px;
    color: var(--on-dark);
    font-size: 1rem;
}

.dest__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dest__links span {
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-pill);
    font-size: 0.8125rem;
    font-weight: 600;
}

/* ---------- Process ------------------------------------------------------------------ */
.process {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.process > li {
    counter-increment: step;
    position: relative;
    padding: 30px 28px 32px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.process > li:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.process > li::before {
    content: "0" counter(step);
    display: block;
    margin-bottom: 26px;
    font-family: var(--font-display);
    font-size: 4.2rem;
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--gold-500);
}

.process h3 {
    font-size: 1.45rem;
}

.process p {
    margin: 0;
    color: var(--text-soft);
    font-size: 1rem;
}

@media (min-width: 700px) {
    .process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .process {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- Photo marquee (real Immi Solution photos) -------------------------------- */
.photo-marquee {
    overflow: hidden;
    display: grid;
    gap: 16px;
}

.photo-marquee__row {
    display: flex;
    width: max-content;
    gap: 16px;
    animation: marquee 60s linear infinite;
}

.photo-marquee__row--reverse {
    animation-direction: reverse;
    animation-duration: 75s;
}

.photo-marquee figure {
    margin: 0;
    flex: none;
    width: clamp(260px, 30vw, 420px);
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.photo-marquee img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-marquee:hover .photo-marquee__row {
    animation-play-state: paused;
}

/* ---------- Home Tasmania: Hobart panorama with a route map card ----------
   Text never sits on the photo: the map is a solid navy card that overlaps the
   bottom edge of the panorama. Wide screens draw the routes across like a metro map;
   narrower screens draw them down the left. */
.tas__panorama {
    margin: 0;
    overflow: hidden;
    border-radius: 30px;
    aspect-ratio: 21 / 8;
    background: var(--paper-2);
}

.tas__panorama img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Keep kunanyi / Mount Wellington and the waterfront both in frame. */
    object-position: 50% 38%;
}

.tas__map {
    --map-gap: 36px;
    --branch: 44px;
    --line-190: var(--gold-400);
    --line-491: #6f97e8;
    position: relative;
    z-index: 1;
    display: grid;
    gap: 26px;
    margin: -64px clamp(12px, 4vw, 56px) 0;
    padding: clamp(24px, 3vw, 40px) clamp(20px, 3.4vw, 48px);
    border-radius: 28px;
    background: radial-gradient(120% 110% at 0% 0%, var(--navy-700) 0%, var(--navy-900) 45%, var(--ink-950) 100%);
    color: var(--on-dark);
    box-shadow: 0 50px 100px -50px rgba(6, 12, 38, 0.7);
}

.tas__start {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.tas__start p {
    display: grid;
    gap: 6px;
    margin: 0;
}

.tas__start strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    word-spacing: 0.05em;
    color: var(--white);
}

.tas__start span {
    font-size: 0.875rem;
    color: var(--on-dark-soft);
}

.tas__node {
    position: relative;
    z-index: 1;
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold-400);
    box-shadow: 0 0 0 6px rgba(212, 185, 138, 0.18), 0 0 24px rgba(212, 185, 138, 0.6);
}

.tas__routes {
    position: relative;
    display: grid;
    gap: 22px;
    margin: 0;
    padding: 0 0 0 var(--branch);
    list-style: none;
}

.tas__route {
    position: relative;
    display: flex;
    align-items: center;
}

/* Branch from the trunk to each line's first stop. */
.tas__route::before {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(-1 * var(--branch));
    width: var(--branch);
    height: 2px;
    margin-top: -1px;
}

.tas__route--190::before {
    background: var(--line-190);
}

.tas__route--491::before {
    background: var(--line-491);
}

/* Trunk: each route draws half of it, meeting in the gap between the two lines. */
.tas__route::after {
    content: "";
    position: absolute;
    left: calc(-1 * var(--branch));
    width: 2px;
    margin-left: -1px;
}

.tas__route--190::after {
    top: 50%;
    bottom: -11px;
    background: var(--line-190);
}

.tas__route--491::after {
    top: -11px;
    bottom: 50%;
    background: linear-gradient(var(--line-190), var(--line-491));
}

.tas__stop {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.tas__code {
    flex: none;
    display: grid;
    place-items: center;
    min-width: 76px;
    height: 58px;
    padding: 0 12px;
    border-radius: 16px;
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.tas__route--190 .tas__code {
    background: var(--gold-400);
    color: var(--ink-950);
    box-shadow: 0 12px 30px -12px rgba(212, 185, 138, 0.7);
}

.tas__route--491 > .tas__stop:first-child .tas__code {
    background: var(--blue-500);
    color: var(--white);
    box-shadow: 0 12px 30px -12px rgba(58, 111, 207, 0.8);
}

.tas__stop--pr .tas__code {
    border: 2px solid var(--gold-400);
    background: rgba(212, 185, 138, 0.08);
    color: var(--gold-300);
}

.tas__stop p {
    display: grid;
    gap: 2px;
    min-width: 0;
    margin: 0;
}

.tas__stop strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.2;
    word-spacing: 0.05em;
    color: var(--white);
}

/* Only the description lines (not the code badge, which is also a span). */
.tas__stop p > span {
    font-size: 0.875rem;
    color: var(--on-dark-soft);
}

.tas__stop em {
    margin-top: 2px;
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 700;
    color: var(--gold-300);
}

/* 491 to 191: a dashed line that flows towards permanent residence. */
.tas__link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tas__link::before {
    content: "";
    position: absolute;
    background-repeat: repeat;
}

.tas__link::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--gold-400);
    border-right: 2px solid var(--gold-400);
}

.tas__link span {
    position: relative;
    padding: 5px 11px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-pill);
    background: var(--navy-900);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: var(--on-dark);
}

@keyframes tas-flow-x {
    to {
        background-position: 14px 0;
    }
}

@keyframes tas-flow-y {
    to {
        background-position: 0 14px;
    }
}

/* Proof of local presence under the map: a real photo of the office entrance. */
.tas__local {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px 24px;
    align-items: center;
    margin: clamp(28px, 4vw, 44px) clamp(12px, 4vw, 56px) 0;
}

.tas__office {
    width: 84px;
    height: 84px;
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
}

.tas__office img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tas__local-text {
    max-width: 62ch;
    margin: 0;
    color: var(--text-soft);
}

.tas__local-text strong {
    color: var(--navy-900);
}

.tas__actions {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    gap: 12px;
}

@media (min-width: 900px) {
    .tas__local {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .tas__actions {
        grid-column: auto;
    }
}

/* Wide screens: the routes run across, like a metro map. */
@media (min-width: 1180px) {
    .tas__map {
        grid-template-columns: minmax(0, 0.3fr) minmax(0, 1fr);
        column-gap: var(--map-gap);
        align-items: center;
        margin-top: -110px;
    }

    .tas__start {
        justify-content: space-between;
    }

    /* Connector from the start node to the trunk. */
    .tas__start::after {
        content: "";
        position: absolute;
        top: 50%;
        right: calc(-1 * var(--map-gap));
        width: var(--map-gap);
        height: 2px;
        margin-top: -1px;
        background: var(--line-190);
    }

    .tas__link {
        flex: 1 1 130px;
        align-self: stretch;
        min-width: 120px;
        margin: 0 16px;
    }

    .tas__link::before {
        top: 50%;
        right: 10px;
        left: 0;
        height: 2px;
        margin-top: -1px;
        background-image: repeating-linear-gradient(90deg, var(--line-491) 0 8px, transparent 8px 14px);
        animation: tas-flow-x 0.9s linear infinite;
    }

    .tas__link::after {
        top: 50%;
        right: 1px;
        transform: translateY(-50%) rotate(45deg);
    }

    .tas__link span {
        max-width: 150px;
    }
}

/* Narrower screens: the routes run down the left from the start node. */
@media (max-width: 1179px) {
    .tas__map {
        --branch: 30px;
    }

    .tas__start {
        flex-direction: row-reverse;
        justify-content: flex-end;
    }

    /* From the start node down to the first line. */
    .tas__start::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 9px;
        width: 2px;
        height: calc(50% + 26px);
        background: var(--line-190);
    }

    .tas__routes {
        margin-left: 10px;
    }

    .tas__route {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Badge at the top of each stop, so the branch line meets its centre. */
    .tas__stop {
        align-items: flex-start;
    }

    .tas__route::before {
        top: 29px;
    }

    .tas__route--190::after {
        top: 0;
        bottom: -11px;
    }

    .tas__route--491::after {
        top: -11px;
        bottom: auto;
        height: 41px;
    }

    .tas__link {
        justify-content: flex-start;
        min-height: 64px;
        margin: 8px 0 8px 37px;
        padding-left: 18px;
    }

    .tas__link::before {
        top: 0;
        bottom: 10px;
        left: 0;
        width: 2px;
        background-image: repeating-linear-gradient(180deg, var(--line-491) 0 8px, transparent 8px 14px);
        animation: tas-flow-y 0.9s linear infinite;
    }

    .tas__link::after {
        bottom: 1px;
        left: -4px;
        transform: rotate(135deg);
    }
}

@media (max-width: 640px) {
    .tas__panorama {
        aspect-ratio: 16 / 10;
        border-radius: 24px;
    }

    .tas__map {
        margin-top: -40px;
        border-radius: 22px;
    }

    .tas__code {
        min-width: 66px;
        height: 52px;
        font-size: 1.4rem;
    }

    .tas__route::before {
        top: 26px;
    }

    .tas__route--491::after {
        height: 38px;
    }

    .tas__link {
        margin-left: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tas__link::before {
        animation: none;
    }
}

.ticks {
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.ticks li {
    position: relative;
    padding: 14px 0 14px 40px;
    border-bottom: 1px solid var(--line);
}

.ticks li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 1.05em;
    width: 18px;
    height: 10px;
    border-left: 2.5px solid var(--gold-500);
    border-bottom: 2.5px solid var(--gold-500);
    transform: rotate(-45deg);
}

.on-dark .ticks li {
    border-bottom-color: var(--line-dark);
}

/* ---------- Tools / coaching cards ---------------------------------------------------- */
.tiles {
    display: grid;
    gap: 16px;
}

.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}

.tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: transparent;
    color: var(--text);
}

.tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: var(--paper);
    color: var(--blue-600);
}

.tile__icon .icon {
    width: 28px;
    height: 28px;
}

.tile__title {
    margin: 0;
    font-size: 1.5rem;
}

.tile p {
    margin: 0;
    color: var(--text-soft);
    font-size: 1rem;
}

.tile .link-arrow {
    margin-top: auto;
    align-self: flex-start;
}

.tile--feature {
    background: var(--navy-900);
    color: var(--on-dark);
    border-color: var(--navy-900);
}

.tile--feature .tile__title {
    color: var(--white);
}

.tile--feature p {
    color: var(--on-dark-soft);
}

.tile--feature:hover {
    color: var(--on-dark);
}

.tile--feature .tile__icon {
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-400);
}

.tile--feature .link-arrow {
    color: var(--white);
}

@media (min-width: 760px) {
    .tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .tiles {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- Cards (hubs, guides) ------------------------------------------------------ */
.card-grid {
    display: grid;
    gap: 28px 22px;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.card__media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    background: var(--paper-2);
}

.card__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

.card:hover .card__media img {
    transform: scale(1.06);
}

.card__codes {
    margin: 0 0 6px;
}

.card__title {
    display: block;
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--navy-900);
    transition: color 0.3s;
}

.card:hover .card__title {
    color: var(--blue-600);
}

.card__text {
    display: block;
    margin: 0;
    color: var(--text-soft);
    font-size: 1rem;
}

.card__meta {
    margin-top: 10px;
    font-size: 0.875rem;
    color: var(--text-mute);
}

/* ---------- Interior page hero ------------------------------------------------------- */
.page-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(460px, 62vh, 640px);
    padding: calc(var(--header-h) + 80px) 0 clamp(40px, 5vw, 64px);
    color: var(--white);
    background: radial-gradient(120% 120% at 85% 0%, var(--navy-700) 0%, var(--navy-900) 45%, var(--ink-950) 100%);
    overflow: hidden;
    isolation: isolate;
}

.page-hero--compact {
    min-height: 380px;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    margin: 0;
}

.page-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero--image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(6, 12, 38, 0.72) 0%, rgba(6, 12, 38, 0.3) 40%, rgba(6, 12, 38, 0.9) 100%),
        linear-gradient(90deg, rgba(6, 12, 38, 0.75) 0%, rgba(6, 12, 38, 0.1) 70%);
}

.page-hero:not(.page-hero--image)::after {
    content: "";
    position: absolute;
    right: -6%;
    top: 50%;
    z-index: -1;
    width: min(46vw, 560px);
    aspect-ratio: 1;
    transform: translateY(-42%);
    background: url("../img/brand/emblem.svg") center / contain no-repeat;
    opacity: 0.06;
}

.page-hero__inner {
    width: 100%;
}

.page-hero__copy {
    max-width: 920px;
}

.page-hero__title {
    margin: 0 0 18px;
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    line-height: 1;
    letter-spacing: -0.018em;
    word-spacing: 0.08em;
    color: var(--white);
}

.page-hero__lead {
    max-width: 60ch;
    margin: 0;
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: var(--on-dark);
}

.page-hero__codes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin: 18px 0 12px;
}

.page-hero__codes .code {
    color: var(--gold-400);
}

.page-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 24px 0 0;
    font-size: 0.9rem;
    color: var(--on-dark-soft);
}

.page-hero__meta .icon {
    color: var(--gold-400);
}

.page-hero__sep {
    padding-left: 12px;
    border-left: 1px solid var(--line-dark);
}

.page-hero__media {
    display: none;
}

/* Breadcrumbs */
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
    color: var(--on-dark-soft);
}

.breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.35);
}

.breadcrumbs a {
    color: var(--on-dark-soft);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--white);
}

/* Hub pages */
.hub__intro {
    margin-bottom: clamp(40px, 6vw, 72px);
}

.hub__after {
    margin-top: 64px;
}

/* ---------- Article layout ------------------------------------------------------------- */
.article {
    padding-block: clamp(48px, 6vw, 88px) var(--section-y);
}

.article__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
}

.article__aside {
    display: grid;
    gap: 22px;
    align-content: start;
}

@media (min-width: 1060px) {
    .article__layout {
        grid-template-columns: minmax(0, 760px) 320px;
        justify-content: space-between;
    }
    .article__aside {
        position: sticky;
        top: calc(var(--header-h) + 28px);
        max-height: calc(100vh - var(--header-h) - 56px);
        overflow-y: auto;
        scrollbar-width: thin;
    }
}

/* Long-form text */
.prose {
    max-width: 72ch;
    font-size: 1.0938rem;
}

.prose > :first-child {
    margin-top: 0;
}

.prose h2 {
    margin: 2.1em 0 0.6em;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -0.012em;
}

.prose h3 {
    margin: 1.7em 0 0.5em;
    font-size: 1.35rem;
}

.prose p,
.prose ul,
.prose ol {
    margin: 0 0 1.15em;
}

.prose ul,
.prose ol {
    padding-left: 1.3em;
}

.prose li {
    margin-bottom: 0.5em;
}

.prose li::marker {
    color: var(--gold-500);
}

.prose strong {
    color: var(--navy-900);
    font-weight: 700;
}

.prose a {
    font-weight: 600;
}

.prose blockquote {
    margin: 1.6em 0;
    padding: 6px 0 6px 22px;
    border-left: 3px solid var(--gold-500);
    font-family: var(--font-display);
    font-size: 1.4rem;
    line-height: 1.4;
    color: var(--navy-900);
}

.prose hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 2.5em 0;
}

.table-wrap {
    margin: 1.6em 0;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    -webkit-overflow-scrolling: touch;
}

.prose table,
.data {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.975rem;
    line-height: 1.5;
}

.prose caption {
    padding: 16px 18px 8px;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy-900);
}

.prose th,
.prose td {
    padding: 13px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}

.prose thead th {
    background: var(--navy-900);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.prose tbody tr:nth-child(even) {
    background: var(--paper);
}

.prose tbody tr:last-child th,
.prose tbody tr:last-child td {
    border-bottom: 0;
}

.prose tbody th {
    font-weight: 700;
    color: var(--navy-900);
}

.callout {
    display: grid;
    gap: 6px;
    margin: 1.7em 0;
    padding: 20px 22px;
    border-radius: var(--radius-md);
    background: #eef3fc;
    border-left: 4px solid var(--blue-600);
}

.callout > :last-child {
    margin-bottom: 0;
}

.callout--warn {
    background: #faf5ec;
    border-left-color: var(--gold-500);
}

.prose ol.steps {
    list-style: none;
    padding: 0;
    margin: 1.6em 0;
    counter-reset: s;
}

.prose ol.steps > li {
    position: relative;
    counter-increment: s;
    margin: 0;
    padding: 0 0 24px 66px;
    min-height: 50px;
}

.prose ol.steps > li::before {
    content: counter(s);
    position: absolute;
    left: 0;
    top: -4px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy-900);
    color: var(--gold-400);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
}

.prose ol.steps > li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 50px;
    bottom: 6px;
    width: 2px;
    background: var(--line);
}

.prose ol.steps > li > strong:first-child {
    display: block;
    margin-bottom: 2px;
    font-size: 1.125rem;
}

.prose ul.checklist {
    list-style: none;
    padding: 0;
}

.prose ul.checklist > li {
    position: relative;
    padding-left: 36px;
    margin-bottom: 0.75em;
}

.prose ul.checklist > li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 0.45em;
    width: 18px;
    height: 10px;
    border-left: 2.5px solid var(--success);
    border-bottom: 2.5px solid var(--success);
    transform: rotate(-45deg);
}

.figure {
    margin: 2em 0;
}

.figure img {
    width: 100%;
    border-radius: var(--radius-md);
}

.figure figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-mute);
}

.inline-cta {
    display: grid;
    gap: 16px;
    margin: 2.2em 0;
    padding: 26px 28px;
    border-radius: var(--radius-lg);
    background: var(--navy-900);
    color: var(--on-dark);
}

.inline-cta strong {
    color: var(--white);
}

.inline-cta__text {
    margin: 0;
}

.inline-cta .btn {
    justify-self: start;
}

@media (min-width: 720px) {
    .inline-cta {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

/* At a glance */
.glance {
    margin: 0 0 48px;
    padding: 28px clamp(20px, 3vw, 32px) 10px;
    border-radius: var(--radius-lg);
    background: var(--paper);
    border: 1px solid var(--line);
}

.glance__title {
    font-size: 1.7rem;
    margin-bottom: 14px;
}

.glance__list {
    margin: 0;
}

.glance__row {
    display: grid;
    gap: 2px 24px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
}

.glance__row dt {
    font-weight: 700;
    color: var(--gold-600);
    font-size: 0.9375rem;
}

.glance__row dd {
    margin: 0;
    color: var(--text);
}

@media (min-width: 640px) {
    .glance__row {
        grid-template-columns: minmax(150px, 0.75fr) 1.65fr;
    }
}

/* Table of contents */
.toc {
    padding: 22px 24px;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--line);
}

.toc__title {
    margin: 0 0 10px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy-900);
}

.toc__list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9375rem;
}

.toc__list a {
    display: block;
    padding: 7px 0 7px 14px;
    border-left: 2px solid var(--line);
    color: var(--text-soft);
    text-decoration: none;
    line-height: 1.35;
}

.toc__list a:hover,
.toc__list a.is-current {
    border-left-color: var(--gold-500);
    color: var(--navy-900);
}

.toc__list a.is-current {
    font-weight: 700;
}

.toc--mobile {
    margin-bottom: 30px;
}

.toc--mobile > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    cursor: pointer;
    list-style: none;
}

.toc--mobile > summary::-webkit-details-marker {
    display: none;
}

.toc--mobile[open] > summary {
    margin-bottom: 12px;
}

.toc--mobile[open] > summary .icon {
    transform: rotate(180deg);
}

@media (max-width: 1059px) {
    .article__aside .toc--desktop {
        display: none;
    }
}

@media (min-width: 1060px) {
    .toc--mobile {
        display: none;
    }
}

/* Consultation card */
.consult-card {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: radial-gradient(130% 130% at 100% 0%, var(--navy-700) 0%, var(--navy-900) 50%, var(--ink-950) 100%);
    color: var(--on-dark-soft);
    overflow: hidden;
}

.consult-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 180px;
    height: 180px;
    background: url("../img/brand/emblem.svg") center / contain no-repeat;
    opacity: 0.08;
}

.consult-card__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
}

.consult-card__text {
    margin: 0;
    font-size: 0.975rem;
}

.consult-card__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    padding: 6px;
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}

.consult-card__phone:hover {
    color: var(--gold-400);
}

.consult-card__marn {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 2px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--line-dark);
    font-size: 0.85rem;
}

.consult-card__marn .icon {
    color: var(--gold-400);
}

/* FAQ */
.faq {
    margin-top: 64px;
}

.faq__title {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.faq__list {
    display: grid;
    gap: 12px;
}

.faq__item {
    border-radius: var(--radius-md);
    background: var(--paper);
    border: 1px solid var(--line);
    transition: background-color 0.3s var(--ease), border-color 0.3s;
}

.faq__item[open] {
    background: var(--white);
    border-color: var(--line-strong);
}

.faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.15rem;
    letter-spacing: 0;
    word-spacing: 0.05em;
    color: var(--navy-900);
    cursor: pointer;
    list-style: none;
}

.faq__q::-webkit-details-marker {
    display: none;
}

.faq__icon {
    flex: none;
    width: 34px;
    height: 34px;
    padding: 7px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--navy-900);
    transition: transform 0.4s var(--ease), background-color 0.3s;
}

.faq__item[open] .faq__icon {
    transform: rotate(180deg);
    background: var(--gold-400);
    border-color: var(--gold-400);
}

.faq__a {
    padding: 0 22px 22px;
    color: var(--text-soft);
    max-width: 72ch;
}

.faq__a > :last-child {
    margin-bottom: 0;
}

/* Sources */
.sources {
    margin-top: 64px;
    padding: 26px 28px;
    border-radius: var(--radius-lg);
    border: 1px dashed var(--line-strong);
}

.sources__title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.sources__intro {
    font-size: 0.975rem;
    color: var(--text-soft);
}

.sources__list {
    margin: 0;
    padding-left: 1.2em;
    font-size: 0.975rem;
}

.sources__list li {
    margin-bottom: 6px;
}

/* Related pages */
.related {
    padding-block: var(--section-y);
    background: var(--paper);
}

.related__title {
    font-size: clamp(2rem, 3.6vw, 3rem);
    margin-bottom: 28px;
}

.related__list {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.related__link {
    display: grid;
    gap: 6px;
    height: 100%;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.related__link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    color: var(--text);
}

.related__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: -0.015em;
    color: var(--navy-900);
}

.related__text {
    font-size: 0.95rem;
    color: var(--text-soft);
}

/* ---------- Final CTA ------------------------------------------------------------------ */
.cta-band {
    position: relative;
    padding-block: clamp(96px, 14vw, 180px);
    color: var(--white);
    background: var(--ink-950);
    overflow: hidden;
    isolation: isolate;
}

.cta-band__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    margin: 0;
}

.cta-band__bg img {
    width: 100%;
    height: 120%;
    object-fit: cover;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(6, 12, 38, 0.55) 0%, rgba(6, 12, 38, 0.82) 100%);
}

.cta-band__inner {
    display: grid;
    gap: 36px;
    justify-items: start;
}

.cta-band__title {
    margin: 0;
    max-width: 16ch;
    font-size: clamp(2.6rem, 7vw, 6.4rem);
    line-height: 0.98;
    letter-spacing: -0.02em;
    word-spacing: 0.09em;
    color: var(--white);
}

.cta-band__copy p {
    margin: 22px 0 0;
    max-width: 56ch;
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: var(--on-dark);
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- Footer ----------------------------------------------------------------------- */
.site-footer {
    position: relative;
    background: var(--ink-950);
    color: var(--on-dark-soft);
    font-size: 0.975rem;
    padding-top: clamp(64px, 8vw, 110px);
    overflow: hidden;
}

.site-footer a {
    color: var(--on-dark-soft);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--gold-400);
}

.site-footer__top {
    display: grid;
    gap: 28px;
    align-items: end;
    padding-bottom: clamp(48px, 6vw, 72px);
    margin-bottom: clamp(48px, 6vw, 72px);
    border-bottom: 1px solid var(--line-dark);
}

.site-footer__big {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6.5vw, 6rem);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.02em;
    word-spacing: 0.09em;
    color: var(--white);
}

.site-footer__big a {
    /* The address is one long word: shrink it on phones so it never clips. */
    font-size: min(1em, 7.6vw);
    color: var(--gold-400);
    text-decoration: none;
}

.site-footer__big a:hover {
    color: var(--white);
}

.site-footer__top .btn {
    white-space: nowrap;
}

@media (min-width: 960px) {
    .site-footer__top {
        grid-template-columns: 1fr auto;
    }

    .site-footer__top .actions {
        flex-direction: column;
        align-items: stretch;
    }
}

.site-footer__grid {
    display: grid;
    gap: 44px 32px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
    }
}

.site-footer__logo {
    width: 230px;
    height: auto;
    margin-bottom: 22px;
}

.site-footer__tagline {
    margin: 0 0 22px;
    max-width: 38ch;
}

.site-footer__contact {
    display: grid;
    gap: 12px;
}

.site-footer__contact a,
.site-footer__hours {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.site-footer__contact .icon {
    margin-top: 0.2em;
    color: var(--gold-400);
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.site-footer__social a {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    color: var(--white);
    transition: background-color 0.3s var(--ease), border-color 0.3s, color 0.3s;
}

.site-footer__social a:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    color: var(--ink-950);
}

.site-footer__heading {
    margin: 0 0 16px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
}

.site-footer__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__col li {
    margin-bottom: 10px;
}

.site-footer__legal {
    display: grid;
    gap: 12px;
    margin-top: 56px;
    padding-block: 30px 40px;
    border-top: 1px solid var(--line-dark);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.site-footer__legal p {
    margin: 0;
    max-width: 115ch;
}

.site-footer__legal a {
    text-decoration: underline;
}

.site-footer__marn {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--on-dark-soft);
}

.site-footer__marn .icon {
    color: var(--gold-400);
}

.site-footer__wordmark {
    margin: 0;
    padding-bottom: 10px;
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 15vw, 15rem);
    font-weight: 600;
    line-height: 0.8;
    letter-spacing: -0.01em;
    word-spacing: 0.12em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(212, 185, 138, 0.28);
    white-space: nowrap;
    text-align: center;
    user-select: none;
}

/* ---------- Forms --------------------------------------------------------------------- */
.form {
    display: grid;
    gap: 20px;
}

.form__row {
    display: grid;
    gap: 20px;
}

@media (min-width: 640px) {
    .form__row--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.field {
    display: grid;
    gap: 7px;
}

.field__label {
    font-weight: 700;
    color: var(--navy-900);
    font-size: 0.975rem;
}

.field__optional {
    font-weight: 500;
    color: var(--text-mute);
}

.field__hint {
    font-size: 0.9rem;
    color: var(--text-mute);
    margin: 0;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1.5px solid var(--line-strong);
    border-radius: 14px;
    background: var(--white);
    color: var(--text);
    font: inherit;
    font-size: 1.0625rem;
    line-height: 1.4;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1640' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px;
    padding-right: 46px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 4px rgba(37, 87, 160, 0.15);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
    border-color: var(--error);
}

.field__error {
    display: flex;
    gap: 6px;
    align-items: center;
    margin: 0;
    color: var(--error);
    font-size: 0.9rem;
    font-weight: 700;
}

.check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.975rem;
}

.check input {
    flex: none;
    width: 22px;
    height: 22px;
    margin-top: 3px;
    accent-color: var(--navy-900);
}

.form__hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--error-bg);
    color: var(--error);
    font-weight: 700;
}

.form-alert--success {
    background: var(--success-bg);
    color: var(--success);
}

.form-card {
    padding: clamp(24px, 3.4vw, 44px);
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.form-card__title {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    margin-bottom: 8px;
}

.form-card__intro {
    color: var(--text-soft);
    margin-bottom: 26px;
}

.form__privacy {
    font-size: 0.9rem;
    color: var(--text-mute);
    margin: 0;
}

fieldset.fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    display: grid;
    gap: 20px;
}

fieldset.fieldset > legend {
    padding: 0;
    margin-bottom: 6px;
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--navy-900);
}

.stepper {
    display: flex;
    gap: 8px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-mute);
}

.stepper li {
    flex: 1;
    padding-top: 12px;
    border-top: 4px solid var(--line);
}

.stepper li.is-done,
.stepper li.is-current {
    border-top-color: var(--gold-500);
    color: var(--navy-900);
    font-weight: 700;
}

.js .assessment__step:not(.is-active) {
    display: none;
}

.assessment__body {
    margin-top: 56px;
}

.assessment__nav {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 8px;
}

/* ---------- Contact ---------------------------------------------------------------------- */
.contact {
    display: grid;
    gap: clamp(36px, 5vw, 72px);
    padding-block: clamp(48px, 6vw, 88px) var(--section-y);
}

@media (min-width: 1000px) {
    .contact {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: start;
    }
}

.contact__list {
    display: grid;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.contact__list li {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.contact__list .icon {
    width: 26px;
    height: 26px;
    margin-top: 2px;
    color: var(--gold-600);
}

.contact__list strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--navy-900);
}

.contact__list a {
    font-weight: 700;
}

.map {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--paper-2);
    aspect-ratio: 4 / 3;
}

.map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map__load {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    box-shadow: var(--shadow-soft);
}

/* ---------- Points calculator ----------------------------------------------------------- */
.calc {
    display: grid;
    gap: 36px;
}

@media (min-width: 1000px) {
    .calc {
        grid-template-columns: minmax(0, 1fr) 340px;
        align-items: start;
    }
    .calc__total {
        position: sticky;
        top: calc(var(--header-h) + 28px);
    }
}

.calc__total {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: radial-gradient(130% 130% at 100% 0%, var(--navy-700) 0%, var(--navy-900) 50%, var(--ink-950) 100%);
    color: var(--on-dark-soft);
}

.calc__score {
    display: block;
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    font-size: clamp(5rem, 10vw, 7.5rem);
    font-weight: 600;
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: var(--gold-400);
}

.calc__label {
    margin: 0 0 8px;
    color: var(--white);
    font-weight: 700;
}

.calc__status {
    margin: 14px 0 0;
    font-size: 0.975rem;
}

.calc__breakdown {
    margin: 18px 0 0;
    padding: 14px 0 0;
    list-style: none;
    border-top: 1px solid var(--line-dark);
    font-size: 0.9rem;
}

.calc__breakdown li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 0;
}

.calc__total .btn {
    margin-top: 20px;
}

.calc__content {
    margin-top: clamp(56px, 7vw, 96px);
}

/* ---------- Guides list ----------------------------------------------------------------- */
.guide-list {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line);
}

.guide-row {
    display: grid;
    gap: 18px 36px;
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}

.guide-row__media {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.guide-row__media img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.guide-row:hover .guide-row__media img {
    transform: scale(1.05);
}

.guide-row__title {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    line-height: 1.08;
}

.guide-row__title a {
    color: var(--navy-900);
    text-decoration: none;
}

.guide-row__title a:hover {
    color: var(--blue-600);
}

.guide-row p {
    color: var(--text-soft);
    margin-bottom: 8px;
}

.guide-row__meta {
    font-size: 0.875rem;
    color: var(--text-mute);
}

@media (min-width: 760px) {
    .guide-row {
        grid-template-columns: 340px minmax(0, 1fr);
        align-items: center;
    }
}

/* ---------- About page extras ----------------------------------------------------------- */
.about-founder {
    background: var(--paper);
}

.gallery {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery figure {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.gallery img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 1s var(--ease);
}

.gallery figure:hover img {
    transform: scale(1.05);
}

.gallery figcaption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(6, 12, 38, 0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 600;
}

@media (min-width: 900px) {
    .gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .gallery figure:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }
}

/* ---------- Notices, site map --------------------------------------------------------- */
.notice {
    padding-block: calc(var(--header-h) + 100px) clamp(64px, 9vw, 130px);
    background: var(--paper);
}

.notice__title {
    font-size: clamp(2.6rem, 6vw, 5rem);
    max-width: 18ch;
}

.notice__lead {
    font-size: 1.2rem;
    color: var(--text-soft);
    max-width: 56ch;
}

.sitemap-list {
    columns: 1;
    column-gap: 48px;
    padding: 0;
    list-style: none;
}

.sitemap-list li {
    break-inside: avoid;
    margin-bottom: 6px;
}

@media (min-width: 760px) {
    .sitemap-list {
        columns: 2;
    }
}

@media (min-width: 1100px) {
    .sitemap-list {
        columns: 3;
    }
}

/* ---------- Motion helpers (initial states are only set when JS motion runs) ---------- */
.js-motion [data-reveal] {
    opacity: 0;
    transform: translateY(36px);
}

/* [data-clip] reveals are driven entirely by GSAP (start state set in JS). */

/* ---------- Print ---------------------------------------------------------------------- */
@media print {
    .site-header,
    .cta-band,
    .site-footer,
    .article__aside,
    .related,
    .marquee {
        display: none !important;
    }
    .page-hero {
        min-height: 0;
        color: #000;
        background: none;
        padding: 0;
    }
    .page-hero__title {
        color: #000;
    }
}

/* ---------- Reduced motion ------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .marquee__track,
    .photo-marquee__row {
        animation: none !important;
    }
}

/* Gallery actions spacing */
.gallery + .actions {
    margin-top: 32px;
}

/* Footer buttons keep their own colours (beat .site-footer a) */
.site-footer .btn--primary,
.site-footer .btn--primary:hover {
    color: var(--ink-950);
}

.site-footer .btn--outline-light {
    color: var(--white);
}

.site-footer .btn--outline-light:hover {
    color: var(--navy-900);
}

/* Destination track lines up with the page container */
.hscroll__track {
    padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
    scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}

@media (max-width: 959px) {
    .founder__media::before {
        inset: 14px -8px -14px 8px;
    }
    .founder__badge {
        left: 10px;
    }
}

/* Balanced 4-column gallery: one 2x2 feature, one tall, one wide */
@media (min-width: 900px) {
    .gallery {
        grid-auto-flow: dense;
    }
    .gallery figure.is-tall {
        grid-row: span 2;
    }
    .gallery figure.is-tall img {
        aspect-ratio: auto;
    }
    .gallery figure.is-wide {
        grid-column: span 2;
    }
    .gallery figure.is-wide img {
        aspect-ratio: 2 / 1;
    }
}

/* =============================================================================
   v3 — logo loader, spotlight cards, glowing borders, aurora, stats, testimonials,
   journey globe
   ============================================================================= */

/* ---------- Logo loader ---------- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.no-loader .loader {
    display: none;
}

.loader__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 90% at 50% 40%, #13245e 0%, #0b1640 45%, #060c26 100%);
}

/* Logo and progress are one centred unit: the progress line sits under the logo and
   spans exactly its width. */
.loader__stack {
    position: relative;
    display: grid;
    justify-items: center;
    gap: clamp(26px, 4.5vh, 44px);
    width: min(80vw, 640px);
}

.loader__logo {
    position: relative;
    width: 100%;
    aspect-ratio: 1412 / 224;
    will-change: transform;
}

.loader__layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.is-loading .loader__book {
    clip-path: inset(0 85.7% 0 14.3%);
}

.is-loading .loader__gold {
    clip-path: inset(100% 0 0 0);
}

.is-loading .loader__text {
    clip-path: inset(0 100% 0 0);
}

.loader__shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.95) 50%, transparent 62%);
    background-size: 260% 100%;
    background-position: 130% 0;
    -webkit-mask-image: url("../img/brand/loader-text.png"), url("../img/brand/loader-gold.png");
    mask-image: url("../img/brand/loader-text.png"), url("../img/brand/loader-gold.png");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    mix-blend-mode: soft-light;
}

.loader__progress {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    will-change: opacity, transform;
}

.loader__bar {
    position: relative;
    flex: 1;
    height: 2px;
    overflow: hidden;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.12);
}

/* The fill is driven by JavaScript (logo build + real page loading). The CSS animation
   is only a fallback for when JavaScript does not run. */
.loader__bar span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #c2a26c, #e6d3ad);
    box-shadow: 0 0 12px rgba(230, 211, 173, 0.6);
    transform-origin: left;
    transform: scaleX(0);
    animation: loader-bar 2.2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.loader__count {
    min-width: 4.2ch;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    text-align: right;
    color: var(--gold-300);
}

@keyframes loader-bar {
    to {
        transform: scaleX(1);
    }
}

/* Failsafes: if JavaScript never runs, the loader still clears and the logo returns. */
.is-loading .brand {
    opacity: 0;
    animation: loader-failsafe-in 0.4s 4.5s forwards;
}

.is-loading .loader {
    animation: loader-failsafe-out 0.5s 4.2s forwards;
}

@keyframes loader-failsafe-out {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes loader-failsafe-in {
    to {
        opacity: 1;
    }
}

.is-loading body {
    overflow: hidden;
}

/* ---------- Spotlight (cursor-follow glow on cards) ---------- */
[data-spot] {
    position: relative;
    isolation: isolate;
}

[data-spot]::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 185, 138, 0.22), transparent 42%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

[data-spot]:hover::after {
    opacity: 1;
}

[data-spot] > * {
    position: relative;
    z-index: 1;
}

/* ---------- Animated glowing border ---------- */
@property --spin {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.glow-border {
    position: relative;
}

.glow-border::before {
    content: "";
    position: absolute;
    inset: -1.5px;
    z-index: 2;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(from var(--spin), transparent 0 62%, rgba(230, 211, 173, 0.95) 78%, rgba(37, 87, 160, 0.9) 88%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: spin-border 4.5s linear infinite;
    pointer-events: none;
}

@keyframes spin-border {
    to {
        --spin: 360deg;
    }
}

/* ---------- Aurora glow for dark sections ---------- */
.aurora {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.aurora::before,
.aurora::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 60vw;
    height: 60vw;
    max-width: 820px;
    max-height: 820px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.32;
    pointer-events: none;
    animation: aurora-drift 18s ease-in-out infinite alternate;
}

.aurora::before {
    top: -20%;
    left: -10%;
    background: radial-gradient(circle, #2557a0 0%, transparent 70%);
}

.aurora::after {
    right: -15%;
    bottom: -30%;
    background: radial-gradient(circle, #c2a26c 0%, transparent 70%);
    animation-duration: 22s;
    animation-direction: alternate-reverse;
}

@keyframes aurora-drift {
    to {
        transform: translate3d(8vw, 6vw, 0) scale(1.15);
    }
}

/* Subtle grid texture for light sections */
.texture-grid {
    background-image:
        linear-gradient(rgba(11, 22, 64, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(11, 22, 64, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    background-position: center top;
}

/* ---------- 3D tilt cards ---------- */
[data-tilt] {
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

/* ---------- Testimonials ---------- */
.testimonials {
    display: grid;
    gap: 18px;
}

@media (min-width: 900px) {
    .testimonials {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.quote {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 30px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
}

.quote__stars {
    display: flex;
    gap: 3px;
    color: var(--gold-500);
}

.quote__stars .icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.quote blockquote {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    line-height: 1.45;
    color: var(--navy-900);
}

.quote figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    font-size: 0.9375rem;
    color: var(--text-soft);
}

.quote figcaption img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.quote figcaption strong {
    display: block;
    color: var(--navy-900);
}

.reviews-cta {
    display: grid;
    gap: 22px;
    align-items: center;
    padding: clamp(28px, 4vw, 48px);
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--line);
}

.reviews-cta__title {
    margin: 0 0 6px;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}

.reviews-cta p {
    margin: 0;
    color: var(--text-soft);
}

@media (min-width: 900px) {
    .reviews-cta {
        grid-template-columns: 1fr auto;
    }
}

.process > li,
.tile,
.related__link {
    overflow: hidden;
}

/* ---------- Home: guide showcase (one lead story, three rows) ---------- */
.guide-showcase {
    display: grid;
    gap: 24px;
}

.guide-lead {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 440px;
    overflow: hidden;
    isolation: isolate;
    border-radius: var(--radius-lg);
    background: var(--navy-900);
    color: var(--white);
    text-decoration: none;
}

.guide-lead__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.guide-lead__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease);
}

.guide-lead:hover .guide-lead__media img {
    transform: scale(1.05);
}

.guide-lead::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(6, 12, 38, 0) 20%, rgba(6, 12, 38, 0.6) 55%, rgba(6, 12, 38, 0.94) 100%);
}

.guide-lead__body {
    display: grid;
    gap: 12px;
    max-width: 620px;
    padding: clamp(24px, 3.2vw, 44px);
}

.guide-lead__meta {
    font-size: 0.875rem;
    color: var(--gold-300);
}

.guide-lead__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.7rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.01em;
    word-spacing: 0.06em;
}

.guide-lead__text {
    color: var(--on-dark-soft);
}

.guide-lead__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    font-weight: 700;
    color: var(--gold-400);
}

.guide-lead__more .icon {
    transition: transform 0.4s var(--ease);
}

.guide-lead:hover .guide-lead__more .icon {
    transform: translateX(4px);
}

.guide-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-row {
    position: relative;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    height: 100%;
    padding: 14px 18px 14px 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.guide-row:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.guide-row__media {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.guide-row__media img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

.guide-row:hover .guide-row__media img {
    transform: scale(1.08);
}

.guide-row__body {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.guide-row__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.15;
    word-spacing: 0.05em;
    color: var(--navy-900);
}

.guide-row__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.9375rem;
    color: var(--text-soft);
}

.guide-row__go {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--navy-900);
    transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.45s var(--ease);
}

.guide-row:hover .guide-row__go {
    background: var(--gold-400);
    border-color: var(--gold-400);
    transform: rotate(45deg);
}

@media (max-width: 560px) {
    .guide-row {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .guide-row__go {
        display: none;
    }
}

@media (min-width: 1024px) {
    .guide-showcase {
        grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
        gap: 28px;
    }

    .guide-lead {
        min-height: 560px;
    }

    .guide-list {
        grid-template-rows: repeat(3, 1fr);
    }
}

/* ---------- Home: FAQ with a sticky help card ---------- */
.faq-split {
    display: grid;
    gap: 40px;
}

.faq--bare {
    margin-top: 0;
}

.faq-help {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px 18px;
    align-items: center;
    margin-top: 32px;
    padding: 22px;
    border-radius: var(--radius-lg);
    background: var(--navy-900);
    color: var(--on-dark);
}

.faq-help__avatar {
    display: block;
    width: 64px;
    height: 64px;
    overflow: hidden;
    border: 2px solid var(--gold-400);
    border-radius: 50%;
}

.faq-help__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 20%;
}

.faq-help__text {
    display: grid;
    gap: 4px;
    font-size: 0.9375rem;
    color: var(--on-dark-soft);
}

.faq-help__text strong {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    word-spacing: 0.05em;
    color: var(--white);
}

.faq-help__actions {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    gap: 10px;
}

@media (min-width: 1024px) {
    .faq-split {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: clamp(48px, 6vw, 96px);
        align-items: start;
    }

    .faq-split__aside {
        position: sticky;
        top: calc(var(--header-h) + 32px);
    }
}

/* ---------- Office directory (contact page, office pages) ---------- */
.offices {
    background: var(--paper);
}

.offices__grid {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.offices__item {
    display: flex;
    min-width: 0;
}

.office {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.office:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-card);
    transform: translateY(-3px);
}

.office__media {
    margin: 0;
    overflow: hidden;
}

.office__media img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.office:hover .office__media img {
    transform: scale(1.05);
}

.office__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: clamp(22px, 2.4vw, 30px);
}

.office__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gold-600);
}

.office__code {
    display: inline-grid;
    place-items: center;
    min-width: 36px;
    height: 24px;
    padding: 0 8px;
    border: 1px solid var(--gold-400);
    border-radius: var(--radius-pill);
    background: rgba(212, 185, 138, 0.14);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: var(--navy-900);
}

.office__name {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 600;
    line-height: 1.05;
    word-spacing: 0.05em;
    color: var(--navy-900);
}

.office__addr {
    margin: 0;
    font-weight: 500;
    color: var(--text);
}

.office__text {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-soft);
}

.office__lines {
    display: grid;
    gap: 8px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.office__lines li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.office__lines .icon {
    flex: none;
    color: var(--gold-600);
}

.office__lines a {
    font-weight: 700;
    color: var(--navy-900);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.office__lines a:hover {
    color: var(--blue-600);
    text-decoration: underline;
}

.office__tag {
    padding: 2px 9px;
    border-radius: var(--radius-pill);
    background: var(--paper-2);
    font-size: 0.75rem;
    color: var(--text-mute);
}

.office__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.office__time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-mute);
    font-variant-numeric: tabular-nums;
}

.office__pulse {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2f9e6a;
    animation: office-pulse 2.4s ease-out infinite;
}

@keyframes office-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(47, 158, 106, 0.5);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(47, 158, 106, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(47, 158, 106, 0);
    }
}

.office__links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}

.office__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--navy-900);
    text-decoration: none;
}

.office__link:hover {
    color: var(--blue-600);
}

.office__link .icon {
    transition: transform 0.35s var(--ease);
}

.office__link:hover .icon {
    transform: translateX(3px);
}

/* Head office: a dark card with the Collins Street entrance. */
.office--head {
    border-color: var(--navy-900);
    background: var(--navy-900);
    color: var(--on-dark);
}

.office--head:hover {
    border-color: var(--navy-800);
}

.office--head .office__meta {
    color: var(--gold-300);
}

.office--head .office__code {
    background: rgba(212, 185, 138, 0.16);
    color: var(--white);
}

.office--head .office__name,
.office--head .office__addr,
.office--head .office__lines a,
.office--head .office__link {
    color: var(--white);
}

.office--head .office__lines a:hover,
.office--head .office__link:hover {
    color: var(--gold-300);
}

.office--head .office__text,
.office--head .office__time {
    color: var(--on-dark-soft);
}

.office--head .office__lines .icon {
    color: var(--gold-400);
}

.office--head .office__tag {
    background: rgba(255, 255, 255, 0.09);
    color: var(--on-dark-soft);
}

.office--head .office__foot {
    border-top-color: var(--line-dark);
}

@media (min-width: 700px) {
    .offices__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offices__item--head {
        grid-column: 1 / -1;
    }

    .office--head {
        flex-direction: row;
    }

    .office--head .office__media {
        flex: 0 0 38%;
    }

    .office--head .office__media img {
        aspect-ratio: auto;
        min-height: 100%;
    }
}

@media (min-width: 1100px) {
    .offices__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .offices__item--head {
        grid-column: span 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .office__pulse {
        animation: none;
    }
}

.contact__note {
    color: var(--text-mute);
    font-size: 0.875rem;
}

/* On office pages the directory follows the grey FAQ section: switch to white. */
.section--mist + .offices {
    background: var(--white);
}

/* Keep phone numbers on one line. */
.contact__list a[href^="tel:"],
.office__lines a[href^="tel:"] {
    white-space: nowrap;
}

/* =============================================================================
   Real photos: About highlights, gallery page, lightbox, client moments, photo strip
   ============================================================================= */

/* About page highlights: one 2x2 feature and eight tiles (fills 4 x 3 on desktop,
   2 x 6 on phones). Rows are shorter than columns are wide, so the mostly
   landscape photos are not cropped to squares. */
.gallery--highlights {
    grid-auto-rows: clamp(140px, 17vw, 230px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.gallery--highlights > li {
    min-width: 0;
}

.gallery--highlights > li:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery__link {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--paper-2);
}

.gallery--highlights img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: 50% 30%;
    transition: transform 1s var(--ease);
}

.gallery__link:hover img {
    transform: scale(1.05);
}

.gallery__caption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(6, 12, 38, 0.62);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 600;
}

/* Gallery page: topic filter and a masonry of photos at their natural shape. */
.gallery-page__intro {
    max-width: 62ch;
    margin-bottom: 28px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 8px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-pill);
    background: var(--white);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--navy-900);
    cursor: pointer;
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.filter-chip:hover {
    border-color: var(--navy-900);
}

.filter-chip.is-active {
    border-color: var(--navy-900);
    background: var(--navy-900);
    color: var(--white);
}

.filter-chip__count {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 22px;
    padding: 0 7px;
    border-radius: var(--radius-pill);
    background: var(--paper-2);
    font-size: 0.75rem;
    color: var(--text-soft);
}

.filter-chip.is-active .filter-chip__count {
    background: var(--gold-400);
    color: var(--ink-950);
}

.masonry {
    columns: 1;
    column-gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.masonry__item {
    margin: 0 0 16px;
    break-inside: avoid;
}

.masonry__item[hidden] {
    display: none;
}

.masonry__link {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--paper-2);
}

.masonry__link img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 1.1s var(--ease);
}

.masonry__link:hover img {
    transform: scale(1.04);
}

.masonry__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 44px 16px 14px;
    background: linear-gradient(180deg, rgba(6, 12, 38, 0), rgba(6, 12, 38, 0.86));
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
}

.masonry__zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy-900);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.masonry__link:hover .masonry__zoom,
.masonry__link:focus-visible .masonry__zoom {
    opacity: 1;
    transform: none;
}

@media (hover: hover) {
    .masonry__caption {
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
    }

    .masonry__link:hover .masonry__caption,
    .masonry__link:focus-visible .masonry__caption {
        opacity: 1;
        transform: none;
    }
}

@media (min-width: 640px) {
    .masonry {
        columns: 2;
    }
}

@media (min-width: 1000px) {
    .masonry {
        columns: 3;
    }
}

.gallery-page__social {
    margin-top: 40px;
}

/* Scroll reveal for gallery photos (only when motion is allowed). */
.js-motion .masonry__item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js-motion .masonry__item.is-in {
    opacity: 1;
    transform: none;
}

/* Lightbox (native dialog). */
.lightbox {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: clamp(64px, 8vh, 88px) clamp(12px, 7vw, 110px);
    border: 0;
    background: rgba(4, 8, 26, 0.985);
    color: var(--white);
}

.lightbox[open] {
    display: grid;
    place-items: center;
}

.lightbox::backdrop {
    background: rgba(4, 8, 26, 0.6);
}

.lightbox__figure {
    display: grid;
    justify-items: center;
    gap: 14px;
    max-width: 100%;
    margin: 0;
}

.lightbox__img {
    width: auto;
    height: auto;
    max-width: min(100%, 1500px);
    max-height: calc(100dvh - 200px);
    border-radius: var(--radius-md);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s var(--ease);
}

.lightbox__img.is-loading {
    opacity: 0.2;
}

.lightbox__bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
    max-width: 70ch;
    text-align: center;
    font-size: 0.9375rem;
    color: var(--on-dark-soft);
}

.lightbox__caption {
    font-weight: 600;
    color: var(--white);
}

.lightbox__count {
    font-variant-numeric: tabular-nums;
}

.lightbox__close,
.lightbox__nav {
    position: fixed;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    cursor: pointer;
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.lightbox__close:hover,
.lightbox__nav:hover {
    border-color: var(--gold-400);
    background: var(--gold-400);
    color: var(--ink-950);
}

.lightbox__close {
    top: 16px;
    right: 16px;
}

.lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__nav--prev {
    left: clamp(8px, 2vw, 32px);
}

.lightbox__nav--prev .icon {
    transform: rotate(180deg);
}

.lightbox__nav--next {
    right: clamp(8px, 2vw, 32px);
}

@media (max-width: 640px) {
    .lightbox__nav {
        top: auto;
        bottom: 14px;
        transform: none;
    }

    .lightbox__img {
        max-height: calc(100dvh - 230px);
    }
}

html:has(.lightbox[open]) {
    overflow: hidden;
}

/* Home: real client moments above the reviews panel. */
.moments {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 14px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.moments__link {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--paper-2);
}

.moments__link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 28%;
    transition: transform 1.1s var(--ease);
}

.moments__link:hover img {
    transform: scale(1.05);
}

.moments__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 48px 14px 14px;
    background: linear-gradient(180deg, rgba(6, 12, 38, 0), rgba(6, 12, 38, 0.86));
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
}

@media (max-width: 899px) {
    .moments {
        grid-auto-columns: 62%;
        overflow-x: auto;
        padding-bottom: 6px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .moments::-webkit-scrollbar {
        display: none;
    }

    .moments > li {
        scroll-snap-align: start;
    }
}

/* Home photo strip: frames keep one height; portrait and square photos get
   narrower frames so faces are not cropped. */
.photo-marquee {
    --frame-w: clamp(260px, 30vw, 420px);
}

.photo-marquee figure {
    width: var(--frame-w);
}

.photo-marquee figure.is-square {
    width: calc(var(--frame-w) * 0.75);
    aspect-ratio: 1;
}

.photo-marquee figure.is-portrait {
    width: calc(var(--frame-w) * 0.5625);
    aspect-ratio: 3 / 4;
}

.photo-marquee figure.is-square img,
.photo-marquee figure.is-portrait img {
    object-position: 50% 28%;
}

.section__lead .link-arrow {
    white-space: nowrap;
}

/* =============================================================================
   Floating actions: "Enquire now" tab, WhatsApp chat, back to top, enquiry drawer
   ============================================================================= */

/* Right-edge tab, vertically centred. The text reads bottom to top. */
.enquire-tab {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 12px 18px 11px;
    border-radius: 0 14px 14px 0;
    background: var(--gold-400);
    color: var(--ink-950);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    box-shadow: 10px 0 30px -12px rgba(6, 12, 38, 0.45);
    transition: background-color 0.3s var(--ease), padding 0.3s var(--ease), opacity 0.3s var(--ease), translate 0.3s var(--ease), visibility 0.3s;
}

/* The tab itself is turned 180 degrees; turn the icon back so it stays upright. */
.enquire-tab .icon {
    transform: rotate(180deg);
}

.enquire-tab:hover,
.enquire-tab:focus-visible {
    padding-right: 17px;
    background: var(--gold-300);
}

/* Bottom-right stack: back to top above WhatsApp. */
.fab-stack {
    position: fixed;
    right: clamp(14px, 2vw, 28px);
    bottom: clamp(14px, 2.4vw, 28px);
    z-index: 70;
    display: grid;
    justify-items: end;
    gap: 14px;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.fab {
    position: relative;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 16px 34px -12px rgba(6, 12, 38, 0.5);
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), visibility 0.35s, background-color 0.3s var(--ease);
}

.fab:hover {
    transform: translateY(-3px);
}

.fab--wa {
    isolation: isolate;
    background: #25d366;
    color: var(--white);
}

.fab--wa > .fab__icon .icon {
    width: 30px;
    height: 30px;
}

/* A soft ring pulses out every few seconds to draw the eye, once motion is allowed. */
.fab--wa::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 50%;
    background: #25d366;
    animation: fab-pulse 3.2s ease-out infinite;
}

@keyframes fab-pulse {
    0% {
        opacity: 0.55;
        transform: scale(1);
    }
    70%,
    100% {
        opacity: 0;
        transform: scale(1.65);
    }
}

.fab--top {
    width: 50px;
    height: 50px;
    margin-right: 4px;
    background: var(--navy-900);
    color: var(--gold-300);
}

.fab--top:hover {
    background: var(--navy-800);
}

.fab--top:not(.is-visible) {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
}

.fab--top > .icon {
    width: 20px;
    height: 20px;
}

.fab__ring {
    position: absolute;
    inset: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    transform: rotate(-90deg);
    pointer-events: none;
}

.fab__ring circle {
    fill: none;
    stroke-width: 2.5;
}

.fab__ring-track {
    stroke: rgba(212, 185, 138, 0.16);
}

.fab__ring-progress {
    stroke: var(--gold-400);
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

/* "Chat with Junaid" card, shown on hover or keyboard focus (and once as a greeting). */
.fab__card {
    position: absolute;
    top: 50%;
    right: calc(100% + 14px);
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    padding: 9px 18px 9px 9px;
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--navy-900);
    box-shadow: 0 18px 40px -16px rgba(6, 12, 38, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translate(10px, -50%);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
    pointer-events: none;
}

.fab--wa:hover .fab__card,
.fab--wa:focus-visible .fab__card,
.fab--wa.is-greeting .fab__card {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

.fab__avatar {
    flex: none;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border: 2px solid #25d366;
    border-radius: 50%;
}

.fab__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 18%;
}

.fab__text {
    display: grid;
    line-height: 1.25;
}

.fab__text strong {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    word-spacing: 0.05em;
}

.fab__text span {
    font-size: 0.8125rem;
    color: var(--text-mute);
}

/* Hide floating actions while the mobile menu or a dialog is open. */
.nav-open .enquire-tab,
.nav-open .fab-stack,
html:has(dialog[open]) .enquire-tab,
html:has(dialog[open]) .fab-stack {
    opacity: 0;
    visibility: hidden;
}

/* Slide-in enquiry form (native dialog). */
.drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(520px, 100vw);
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 0;
    background: var(--white);
    color: var(--text);
    box-shadow: -30px 0 80px -30px rgba(6, 12, 38, 0.55);
}

.drawer[open] {
    animation: drawer-in 0.55s var(--ease);
}

@keyframes drawer-in {
    from {
        transform: translateX(100%);
    }
    to {
        transform: none;
    }
}

.drawer::backdrop {
    background: rgba(6, 12, 38, 0.55);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.drawer__panel {
    padding: clamp(22px, 4vw, 40px);
}

.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.drawer__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.1;
    word-spacing: 0.05em;
    color: var(--navy-900);
}

.drawer__close {
    flex: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    color: var(--navy-900);
    cursor: pointer;
    transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.drawer__close:hover {
    background: var(--navy-900);
    color: var(--white);
}

.drawer__intro {
    margin: 0 0 22px;
    color: var(--text-soft);
}

.drawer__alt {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.drawer__alt a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--navy-900);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.drawer__alt a:hover {
    color: var(--blue-600);
}

html:has(.drawer[open]) {
    overflow: hidden;
}

/* Phones have no side margin, so a side tab would cover text: show a pill at the
   bottom left instead, opposite the WhatsApp button and easy to reach. */
@media (max-width: 640px) {
    .enquire-tab {
        top: auto;
        right: auto;
        bottom: clamp(14px, 2.4vw, 28px);
        left: 14px;
        padding: 13px 18px;
        border-radius: var(--radius-pill);
        font-size: 0.875rem;
        writing-mode: horizontal-tb;
        transform: none;
        box-shadow: 0 16px 34px -12px rgba(6, 12, 38, 0.5);
    }

    .enquire-tab .icon {
        transform: none;
    }

    .enquire-tab:hover,
    .enquire-tab:focus-visible {
        padding-right: 18px;
    }

    /* Appears once the visitor scrolls past the first screen, so it never sits on top
       of the page's own "Book a consultation" button. */
    .enquire-tab:not(.is-shown) {
        opacity: 0;
        visibility: hidden;
        translate: 0 12px;
    }

    .fab {
        width: 54px;
        height: 54px;
    }

    .fab--top {
        width: 46px;
        height: 46px;
    }
}

@media (hover: none) {
    .fab__card {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fab--wa::before {
        animation: none;
        opacity: 0;
    }

    .drawer[open] {
        animation: none;
    }
}

@media print {
    .enquire-tab,
    .fab-stack {
        display: none;
    }
}

/* =============================================================================
   v4: clear surfaces. Text never sits on photos: photos live in frames, text lives
   on solid navy, white or paper. Split home hero with real photos, CSS service
   cards, destination cards with text under the image, split page headers.
   ============================================================================= */

/* ---------- Focus ring: slimmer and shaped like the control ---------- */
:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 3px;
}

.primary-nav__link:focus-visible,
.btn:focus-visible {
    outline-offset: 2px;
    border-radius: var(--radius-pill);
}

/* ---------- Home hero: headline and goal picker on navy, live globe on the right ---------- */
.hero {
    display: block;
    min-height: 0;
    padding: calc(var(--header-h) + clamp(28px, 3.6vw, 52px)) 0 clamp(56px, 7vw, 96px);
    background:
        radial-gradient(48% 58% at 80% 46%, rgba(37, 87, 160, 0.5), transparent 70%),
        radial-gradient(35% 45% at 4% 100%, rgba(194, 162, 108, 0.14), transparent 70%),
        linear-gradient(180deg, var(--navy-900) 0%, var(--ink-950) 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(70% 70% at 70% 45%, #000 10%, transparent 75%);
    mask-image: radial-gradient(70% 70% at 70% 45%, #000 10%, transparent 75%);
    pointer-events: none;
}

.hero__grid {
    display: grid;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero__status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 26px;
    padding: 8px 16px 8px 11px;
    border: 1px solid rgba(212, 185, 138, 0.35);
    border-radius: var(--radius-pill);
    background: rgba(212, 185, 138, 0.08);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-300);
}

.hero__status .icon {
    width: 18px;
    height: 18px;
    color: var(--gold-400);
}

.hero__title {
    margin: 0 0 22px;
    font-size: clamp(2.7rem, 4.7vw, 4.6rem);
    line-height: 1;
}

.hero__lead {
    max-width: 48ch;
    margin: 0;
}

/* Goal picker: one tap to the page that explains each goal. */
.goal {
    margin: 30px 0 0;
    padding: 18px 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
}

.goal__label {
    margin: 0 0 12px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--white);
}

.goal__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.goal__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-pill);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.goal__chip .icon {
    color: var(--gold-400);
    transition: color 0.3s var(--ease);
}

.goal__chip:hover,
.goal__chip:focus-visible {
    border-color: var(--gold-400);
    background: var(--gold-400);
    color: var(--ink-950);
    transform: translateY(-2px);
}

.goal__chip:hover .icon,
.goal__chip:focus-visible .icon {
    color: var(--ink-950);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
    margin-top: 26px;
}

.hero__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(212, 185, 138, 0.5);
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.hero__link .icon {
    color: var(--gold-400);
}

.hero__link:hover {
    border-color: var(--gold-300);
    color: var(--gold-300);
}

/* Globe stage with a slow orbit ring and floating glass cards. */
.hero__stage {
    position: relative;
    width: 100%;
    max-width: 640px;
    aspect-ratio: 1;
    margin-inline: auto;
}

.hero__globe {
    position: absolute;
    inset: 0;
}

.hero__globe::after {
    content: "";
    position: absolute;
    inset: 16%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 111, 207, 0.42), transparent 70%);
    filter: blur(40px);
}

.hero__globe canvas {
    width: 100%;
    height: 100%;
    cursor: grab;
    contain: layout paint size;
}

/* Orbit ring with a plane flying round the globe. The ring turns clockwise, so the
   plane (fixed at nine o'clock on the ring, nose up) always points along its path,
   and the gold contrail drawn just behind it turns with it. */
.hero__orbit {
    position: absolute;
    inset: 2%;
    border: 1px dashed rgba(212, 185, 138, 0.24);
    border-radius: 50%;
    animation: orbit-spin 42s linear infinite;
    pointer-events: none;
}

.hero__orbit::before {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg 188deg, rgba(230, 211, 173, 0.04) 198deg, rgba(230, 211, 173, 0.85) 262deg, transparent 263deg 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
}

/* A large gold plane, nose along the orbit, with a soft glow. */
.hero__plane {
    position: absolute;
    top: 50%;
    left: 0;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    color: var(--gold-300);
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 12px rgba(212, 185, 138, 0.55)) drop-shadow(0 8px 14px rgba(0, 0, 0, 0.5));
}

.hero__plane .icon {
    width: 66px;
    height: 66px;
}

/* Immi Solution emblem pinned on Hobart; globe.js moves it with the turning globe. */
.globe-pin {
    position: absolute;
    z-index: 2;
    width: 0;
    height: 0;
    transition: opacity 0.4s var(--ease), scale 0.4s var(--ease);
    pointer-events: none;
}

.globe-pin.is-hidden {
    opacity: 0;
    scale: 0.6;
}

.globe-pin__logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    max-width: none; /* the pin box is 0 x 0, so the global img max-width must not apply */
    height: 70px;
    border: 3px solid var(--gold-400);
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 0 0 6px rgba(212, 185, 138, 0.18), 0 16px 34px -10px rgba(0, 0, 0, 0.7);
    object-fit: cover;
    transform: translate(-50%, -50%);
}

/* Beacon rings pulsing out from Hobart. */
.globe-pin__pulse,
.globe-pin__pulse::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 70px;
    border: 2px solid rgba(212, 185, 138, 0.7);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pin-pulse 2.6s ease-out infinite;
}

.globe-pin__pulse::after {
    content: "";
    animation-delay: 1.3s;
}

@keyframes pin-pulse {
    0% {
        opacity: 0.85;
        scale: 1;
    }
    100% {
        opacity: 0;
        scale: 2.1;
    }
}

.globe-pin__label {
    position: absolute;
    top: 46px;
    left: 0;
    display: grid;
    width: max-content;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(9, 18, 52, 0.78);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 0.75rem;
    line-height: 1.3;
    text-align: center;
    color: var(--on-dark-soft);
    transform: translateX(-50%);
}

.globe-pin__label strong {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
}

@media (max-width: 699px) {
    .hero__plane,
    .hero__plane .icon {
        width: 44px;
        height: 44px;
    }

    .globe-pin__logo,
    .globe-pin__pulse,
    .globe-pin__pulse::after {
        width: 50px;
        height: 50px;
    }

    .globe-pin__label {
        top: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .globe-pin__pulse,
    .globe-pin__pulse::after {
        animation: none;
        opacity: 0;
    }
}

@keyframes orbit-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Team photo behind the hero, toned navy so it reads as one with the brand. The
   gradient keeps the text side dark; the team shows through on the globe side. */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: var(--navy-900);
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 64%;
    filter: grayscale(1) contrast(1.06);
    mix-blend-mode: luminosity;
    opacity: 0.62;
}

.hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 12, 38, 0.97) 0%, rgba(6, 12, 38, 0.92) 36%, rgba(11, 22, 64, 0.74) 56%, rgba(11, 22, 64, 0.5) 76%, rgba(11, 22, 64, 0.4) 100%),
        linear-gradient(180deg, rgba(6, 12, 38, 0.78) 0%, rgba(6, 12, 38, 0) 30%, rgba(6, 12, 38, 0) 68%, rgba(6, 12, 38, 0.92) 100%);
}

@media (max-width: 1099px) {
    .hero__bg::after {
        background: linear-gradient(180deg, rgba(6, 12, 38, 0.9) 0%, rgba(6, 12, 38, 0.82) 55%, rgba(11, 22, 64, 0.55) 80%, rgba(6, 12, 38, 0.92) 100%);
    }
}

.hero__card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 11px 18px 11px 11px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(9, 18, 52, 0.62);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
    color: var(--on-dark-soft);
    font-size: 0.8125rem;
    line-height: 1.3;
    box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.75);
    animation: hero-float 7s ease-in-out infinite;
}

.hero__card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    word-spacing: 0.05em;
    color: var(--white);
}

.hero__card-icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 185, 138, 0.4);
    border-radius: 12px;
    background: rgba(212, 185, 138, 0.14);
    color: var(--gold-300);
}

.hero__card-icon .icon {
    width: 20px;
    height: 20px;
}

.hero__card--award {
    top: 17%;
    left: -3%;
}

.hero__card--offices {
    top: 2%;
    right: 5%;
    animation-delay: -2.4s;
}


/* Uses the separate translate property so it never fights GSAP transforms. */
@keyframes hero-float {
    0%,
    100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -8px;
    }
}

@media (min-width: 1100px) {
    .hero {
        display: grid;
        align-items: center;
        min-height: min(100svh, 1000px);
    }

    .hero__grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }

    /* Let the globe grow past the container edge for a bolder stage, but never past
       the window: the bleed is capped by the side margin that is actually free. */
    .hero__stage {
        --bleed: min(9vw, 170px, max(0px, (100vw - var(--container)) / 2 - 28px));
        width: calc(100% + var(--bleed));
        max-width: none;
        margin-right: calc(-1 * var(--bleed));
    }
}

@media (max-width: 699px) {
    .hero__stage {
        width: 108%;
        margin-left: -4%;
    }

    .hero__card {
        padding: 8px 12px 8px 8px;
        font-size: 0.75rem;
    }

    .hero__card strong {
        font-size: 0.875rem;
    }

    .hero__card-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
    }

    .hero__card--award {
        top: 12%;
        left: 4%;
    }

    .hero__card--offices {
        display: none;
    }


    .goal__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .goal__chip {
        width: 100%;
        padding: 9px 12px;
        font-size: 0.875rem;
    }
}

/* Very narrow phones: drop the chip icons so every goal fits on one line. */
@media (max-width: 420px) {
    .goal__chip .icon {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__orbit,
    .hero__card {
        animation: none;
    }
}

/* ---------- Home services: an explorer, not a grid of identical cards ----------
   Left: the services as a large typographic list. Right: one service at a time on
   navy, with its photo, what we handle, subclasses and a link. Without JavaScript the
   panels simply follow the list. */
.svx {
    display: grid;
    gap: 28px;
}

.svx__index {
    display: grid;
    align-content: start;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--line-strong);
}

.svx__tab {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 16px;
    padding: 24px 8px 24px 0;
    border-bottom: 1px solid var(--line-strong);
    color: var(--text-mute);
    text-decoration: none;
    transition: padding 0.45s var(--ease), background-color 0.3s var(--ease);
}

/* Gold bar that grows beside the selected service. */
.svx__tab::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 0;
    width: 3px;
    border-radius: 3px;
    background: var(--gold-400);
    transform: scaleY(0);
    transition: transform 0.45s var(--ease);
}

/* Unselected names stay readable: #7d86a3 on the paper background is above 3:1,
   the minimum for large text. */
.svx__tab-name {
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.3vw, 2.1rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.01em;
    word-spacing: 0.05em;
    color: #7d86a3;
    transition: color 0.3s var(--ease);
}

.svx__tab-hint {
    grid-column: 1;
    font-size: 0.9375rem;
    color: var(--text-soft);
}

.svx__tab-arrow {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
    width: 24px;
    height: 24px;
    color: var(--navy-900);
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s var(--ease), transform 0.45s var(--ease);
}

.svx__tab:hover .svx__tab-name,
.svx__tab:focus-visible .svx__tab-name {
    color: var(--navy-800);
}

.svx.is-tabs .svx__tab.is-active {
    padding-left: 22px;
}

.svx.is-tabs .svx__tab.is-active::before {
    transform: scaleY(1);
}

.svx.is-tabs .svx__tab.is-active .svx__tab-name {
    color: var(--navy-900);
}

.svx.is-tabs .svx__tab.is-active .svx__tab-arrow {
    opacity: 1;
    transform: none;
}

/* Before JavaScript runs (or without it) every service is shown in full. */
.svx:not(.is-tabs) .svx__tab-name {
    color: var(--navy-900);
}

.svx__side {
    display: grid;
    align-content: start;
    gap: 28px;
}

/* "Not sure which visa fits?" help under the list, with a real consultation photo. */
.svx__help {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
}

.svx__help-photo {
    width: 76px;
    height: 76px;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
}

.svx__help-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.svx__help-title {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    word-spacing: 0.05em;
    color: var(--navy-900);
}

.svx__help-text {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-soft);
}

.svx__help-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    margin-top: 16px;
}

.svx__help-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--navy-900);
    text-decoration: none;
    border-bottom: 1px solid var(--gold-400);
}

.svx__help-link:hover {
    color: var(--blue-600);
}

@media (max-width: 520px) {
    .svx__help {
        grid-template-columns: minmax(0, 1fr);
    }
}

.svx__stage {
    display: grid;
    gap: 22px;
}

.svx__panel {
    display: grid;
    align-content: start;
    overflow: hidden;
    border-radius: 30px;
    background: radial-gradient(120% 90% at 100% 0%, var(--navy-700) 0%, var(--navy-900) 50%, var(--ink-950) 100%);
    color: var(--on-dark);
}

.svx__panel[hidden] {
    display: none;
}

.svx__media {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 8;
}

.svx__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.svx__body {
    display: grid;
    gap: 16px;
    padding: clamp(24px, 3vw, 40px);
}

.svx__title {
    margin: 0;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    color: var(--white);
}

.svx__text {
    max-width: 58ch;
    margin: 0;
    color: var(--on-dark-soft);
}

.svx__list {
    display: grid;
    gap: 10px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.svx__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--on-dark);
}

.svx__list .icon {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    color: var(--gold-400);
}

.svx__codes,
.svx__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 0;
}

.svx__codes span {
    min-width: 52px;
    padding: 6px 12px;
    border: 1px solid rgba(212, 185, 138, 0.42);
    border-radius: 10px;
    background: rgba(212, 185, 138, 0.08);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    color: var(--gold-300);
}

.svx__tags span {
    padding: 6px 13px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--on-dark);
}

.svx__cta {
    justify-self: start;
    margin-top: 8px;
}

/* Switching animation (only with motion allowed). */
.js-motion .svx__panel.is-active {
    animation: svx-in 0.55s var(--ease);
}

.js-motion .svx__panel.is-active .svx__media img {
    animation: svx-zoom 1.4s var(--ease);
}

@keyframes svx-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes svx-zoom {
    from {
        transform: scale(1.08);
    }
    to {
        transform: none;
    }
}

@media (min-width: 1000px) {
    .svx.is-tabs {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: clamp(36px, 5vw, 72px);
        align-items: start;
    }

    .svx.is-tabs .svx__stage {
        position: sticky;
        top: calc(var(--header-h) + 24px);
    }

    /* A shorter photo keeps the panel about as tall as the list beside it. */
    .svx.is-tabs .svx__media {
        aspect-ratio: auto;
        height: clamp(220px, 20vw, 290px);
    }

    .svx.is-tabs .svx__body {
        gap: 14px;
        padding: 30px 36px 34px;
    }
}

/* Phones and tablets: the list becomes a row of tabs above the panel, and the help
   box moves below the panel. */
@media (max-width: 999px) {
    .svx.is-tabs .svx__side {
        display: contents;
    }

    .svx.is-tabs .svx__help {
        order: 2;
    }

    .svx.is-tabs .svx__index {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 6px;
        border: 0;
        scrollbar-width: none;
    }

    .svx.is-tabs .svx__index::-webkit-scrollbar {
        display: none;
    }

    .svx.is-tabs .svx__tab {
        display: inline-flex;
        flex: none;
        padding: 10px 16px;
        border: 1px solid var(--line-strong);
        border-radius: var(--radius-pill);
        background: var(--white);
    }

    .svx.is-tabs .svx__tab::before,
    .svx.is-tabs .svx__tab-hint,
    .svx.is-tabs .svx__tab-arrow {
        display: none;
    }

    .svx.is-tabs .svx__tab-name {
        font-family: var(--font-sans);
        font-size: 0.9375rem;
        font-weight: 700;
        color: var(--navy-900);
        white-space: nowrap;
    }

    .svx.is-tabs .svx__tab.is-active {
        padding-left: 16px;
        border-color: var(--navy-900);
        background: var(--navy-900);
    }

    .svx.is-tabs .svx__tab.is-active .svx__tab-name {
        color: var(--white);
    }

    .svx__media {
        aspect-ratio: 16 / 10;
    }
}

/* ---------- Study destinations: image on top, text below ---------- */
.dest {
    justify-content: flex-start;
    width: min(82vw, 400px);
    height: auto;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--text);
    transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.dest::before {
    content: none;
}

.dest:hover {
    border-color: rgba(194, 162, 108, 0.6);
    box-shadow: 0 30px 60px -34px rgba(6, 12, 38, 0.4);
    transform: translateY(-4px);
    color: var(--text);
}

.dest__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--paper-2);
}

.dest img {
    position: static;
    z-index: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dest:hover img {
    transform: scale(1.05);
}

.dest__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 24px 26px 26px;
}

.dest__name {
    margin: 0;
    font-size: clamp(1.8rem, 2.6vw, 2.2rem);
    color: var(--navy-900);
}

.dest__text {
    margin: 0;
    font-size: 1rem;
    color: var(--text-soft);
}

.dest__links span {
    border-color: var(--line);
    background: var(--paper);
    color: var(--text-soft);
}

.dest__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
    font-weight: 700;
    color: var(--navy-900);
}

.dest__more .icon {
    transition: transform 0.35s var(--ease);
}

.dest:hover .dest__more .icon {
    transform: translateX(4px);
}

/* ---------- Home guides: the lead story has its image on top ---------- */
.guide-lead {
    justify-content: flex-start;
}

.guide-lead::before {
    content: none;
}

.guide-lead__media {
    position: relative;
    inset: auto;
    z-index: auto;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.guide-lead__body {
    flex: 1;
    align-content: start;
}

@media (min-width: 1024px) {
    .guide-lead {
        min-height: 0;
    }
}

/* ---------- Interior page headers: text on navy, photo in a frame ---------- */
.page-hero {
    display: block;
    min-height: 0;
    padding: calc(var(--header-h) + clamp(36px, 5vw, 72px)) 0 clamp(48px, 6vw, 84px);
}

.page-hero--image::before {
    content: none;
}

.page-hero__inner {
    display: grid;
    gap: clamp(36px, 5vw, 64px);
    align-items: center;
}

.page-hero__title {
    font-size: clamp(2.4rem, 4.8vw, 4.3rem);
}

.page-hero__media {
    position: relative;
    display: block;
    width: 100%;
    max-width: 560px;
    margin: 0;
    padding: 0 16px 16px 0;
}

.page-hero__media::before {
    content: "";
    position: absolute;
    inset: 16px 0 0 16px;
    border: 1px solid rgba(212, 185, 138, 0.35);
    border-radius: 30px;
    pointer-events: none;
}

.page-hero__frame {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 28px;
    background: var(--navy-800);
    box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.75);
}

.page-hero__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 960px) {
    .page-hero--image .page-hero__inner {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    }

    .page-hero__media {
        justify-self: end;
    }
}

@media (max-width: 959px) {
    .page-hero__frame {
        aspect-ratio: 16 / 10;
    }
}

/* ---------- Home "Your journey": text and regions, plus an offices departures board ---------- */
.journey__grid {
    display: grid;
    gap: clamp(44px, 6vw, 88px);
    align-items: center;
}

/* A slightly smaller, balanced heading for the narrower text column. */
.journey .section__title {
    font-size: clamp(2.3rem, 3.9vw, 3.5rem);
    text-wrap: balance;
}

.journey__label {
    margin: 30px 0 0;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--gold-300);
}

/* Regions as a quiet two-column list with hairlines. */
.regions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    margin: 12px 0 34px;
    padding: 0;
    list-style: none;
}

.regions li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line-dark);
    font-weight: 600;
    color: var(--on-dark);
}

.regions li::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-400);
    box-shadow: 0 0 10px rgba(212, 185, 138, 0.7);
}

/* The board: a bezel and a dark screen, like an airport departures display. */
.board {
    --board-cols: 108px minmax(0, 1fr) 128px 40px;
    position: relative;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
    box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.85);
}

.board__screen {
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-radius: 22px;
    background: radial-gradient(120% 80% at 50% 0%, #0d1638 0%, #050a1e 72%);
}

.board__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.board__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 1.3rem;
    color: var(--white);
}

/* The plane icon points up; turn it to fly to the right. */
.board__title .icon {
    width: 24px;
    height: 24px;
    color: var(--gold-400);
    transform: rotate(90deg);
}

.board__live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.8125rem;
    color: var(--on-dark-soft);
}

.board__cols {
    display: grid;
    grid-template-columns: var(--board-cols);
    gap: 18px;
    padding: 14px 24px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.45);
}

.board__rows {
    margin: 0;
    padding: 0;
    list-style: none;
}

.board__row {
    position: relative;
    display: grid;
    grid-template-columns: var(--board-cols);
    gap: 18px;
    align-items: center;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color 0.3s var(--ease);
}

.board__row:hover {
    background: rgba(255, 255, 255, 0.035);
}

.board__row.is-head::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--gold-400);
}

/* Split-flap tiles: each letter on a dark tile with a hinge line across the middle. */
.flap {
    display: inline-flex;
    gap: 4px;
}

.flap__cell {
    position: relative;
    display: grid;
    place-items: center;
    width: 30px;
    height: 40px;
    border-radius: 6px;
    background: linear-gradient(180deg, #1b2652 0%, #141e45 49.5%, #0e1736 50.5%, #0b132e 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 3px 6px rgba(0, 0, 0, 0.5);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1;
    color: var(--gold-300);
}

.flap__cell::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: rgba(0, 0, 0, 0.7);
}

.flap__cell.is-spinning {
    color: rgba(230, 211, 173, 0.7);
}

.board__office {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.board__office strong {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    word-spacing: 0.05em;
    color: var(--white);
}

.board__office a {
    width: max-content;
    font-size: 0.875rem;
    color: var(--on-dark-soft);
    text-decoration: none;
    white-space: nowrap;
}

.board__office a:hover {
    color: var(--gold-300);
}

.board__tag {
    padding: 2px 9px;
    border: 1px solid rgba(212, 185, 138, 0.5);
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 700;
    word-spacing: 0;
    color: var(--gold-300);
}

.board__time {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--gold-300);
}

.board__go {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: var(--white);
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.35s var(--ease);
}

.board__go .icon {
    width: 18px;
    height: 18px;
}

.board__row:hover .board__go,
.board__go:focus-visible {
    border-color: var(--gold-400);
    background: var(--gold-400);
    color: var(--ink-950);
}

.board__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
    margin: 0;
    padding: 16px 24px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.board__foot a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--gold-300);
    text-decoration: none;
}

.board__foot a:hover {
    color: var(--white);
}

@media (min-width: 1000px) {
    .journey__grid {
        grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    }
}

/* Phones: hide the column labels; the time moves under the office name. */
@media (max-width: 640px) {
    .board {
        padding: 6px;
        border-radius: 24px;
    }

    .board__screen {
        border-radius: 19px;
    }

    .board__head,
    .board__foot {
        padding-inline: 16px;
    }

    .board__cols {
        display: none;
    }

    .board__row {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas:
            "code office go"
            "code time go";
        gap: 4px 14px;
        padding: 14px 16px;
    }

    .board__code {
        grid-area: code;
    }

    .board__office {
        grid-area: office;
    }

    .board__time {
        grid-area: time;
        font-size: 0.875rem;
    }

    .board__go {
        grid-area: go;
        width: 36px;
        height: 36px;
    }

    .flap__cell {
        width: 24px;
        height: 32px;
        font-size: 1.05rem;
    }
}

/* =============================================================================
   Header v5: a top bar with the live Hobart time and WhatsApp, and the menu in a
   floating glass bar (dark over the page header, white once you scroll). Dropdowns
   open as floating cards that line up with the bar.
   ============================================================================= */
:root {
    --topbar-h: 40px;
    --bar-h: 70px;
    /* Height of the header once the top bar has gone: the bar plus its top margin. */
    --header-h: calc(var(--bar-h) + 14px);
}

@media (max-width: 1179px) {
    :root {
        --bar-h: 62px;
    }
}

/* The header box is full width; only the visible parts take clicks. */
.site-header {
    pointer-events: none;
}

.topbar,
.site-header__bar,
.mobile-nav {
    pointer-events: auto;
}

.site-header.is-solid {
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

/* ---------- Top bar ---------- */
.topbar {
    position: relative;
    max-height: var(--topbar-h);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(4, 8, 26, 0.45);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

/* A gold hairline along the very top of the page. */
.topbar::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(212, 185, 138, 0) 0%, var(--gold-400) 28%, var(--gold-300) 50%, var(--gold-400) 72%, rgba(212, 185, 138, 0) 100%);
}

.topbar__inner {
    gap: 6px 22px;
    min-height: var(--topbar-h);
}

.topbar__end {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.topbar__end > .topbar__item {
    margin-left: 18px;
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.topbar__end > .topbar__item:first-child {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
}

.topbar__phone {
    margin-left: 0;
}

.topbar__clock {
    font-variant-numeric: tabular-nums;
}

.topbar__wa .icon {
    color: #25d366;
}

@media (max-width: 1000px) {
    .topbar__clock {
        display: none;
    }

    .topbar__end > .topbar__wa {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 640px) {
    .topbar__wa {
        display: none;
    }

    .topbar__end > .topbar__phone {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }
}

/* ---------- Floating bar ---------- */
.site-header__inner {
    display: block;
    min-height: 0;
}

.site-header__bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: var(--bar-h);
    margin-top: 10px;
    padding: 0 10px 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: rgba(9, 18, 52, 0.42);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 50px -30px rgba(0, 0, 0, 0.6);
    transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), margin 0.4s var(--ease);
}

.site-header.is-solid .site-header__bar {
    margin-top: 12px;
    border-color: rgba(11, 22, 64, 0.08);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 44px -24px rgba(6, 12, 38, 0.45);
}

/* Menu links: a gold underline grows on hover and marks the current section. */
.primary-nav__link {
    position: relative;
    padding: 10px 13px;
    border-radius: 12px;
}

.primary-nav__link:hover,
.primary-nav__trigger[aria-expanded="true"],
.site-header.is-solid .primary-nav__link:hover,
.site-header.is-solid .primary-nav__trigger[aria-expanded="true"] {
    background: transparent;
}

.primary-nav__link::after {
    content: "";
    position: absolute;
    right: 13px;
    bottom: 4px;
    left: 13px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold-400);
    transform: scaleX(0);
    transition: transform 0.35s var(--ease);
}

.primary-nav__link:hover::after,
.primary-nav__trigger[aria-expanded="true"]::after,
.primary-nav__link.is-active::after {
    transform: scaleX(1);
}

.primary-nav__link.is-active {
    border-radius: 12px;
    box-shadow: none;
}

.site-header__actions {
    gap: 8px;
}

.site-header__bar .btn--header {
    min-height: 48px;
}

/* Round call and menu buttons. */
.header-call,
.nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: transparent;
    color: inherit;
    transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.header-call .icon {
    width: 19px;
    height: 19px;
}

.nav-toggle .icon {
    width: 22px;
    height: 22px;
}

.site-header.is-solid .header-call,
.site-header.is-solid .nav-toggle {
    border-color: var(--line-strong);
}

.header-call:hover,
.nav-toggle:hover {
    border-color: var(--gold-400);
    background: var(--gold-400);
    color: var(--ink-950);
}

/* On desktop the top bar already shows the phone; the call button appears once it
   has scrolled away. */
@media (min-width: 1180px) {
    .header-call {
        display: none;
    }

    .site-header.is-solid .header-call {
        display: grid;
    }

    .nav-toggle {
        display: none;
    }
}

@media (max-width: 1179px) {
    .brand {
        width: 190px;
    }

    .site-header__bar {
        gap: 12px;
        margin-top: 8px;
        padding: 0 8px 0 16px;
        border-radius: 18px;
    }

    .site-header.is-solid .site-header__bar {
        margin-top: 10px;
    }
}

@media (max-width: 420px) {
    .brand {
        width: 168px;
    }
}

/* ---------- Dropdowns: floating cards under the bar ---------- */
.mega {
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 40px 90px -40px rgba(6, 12, 38, 0.55);
}

.mega__inner {
    padding: 34px 40px 40px;
}

/* ---------- Phone menu ---------- */
.mobile-nav {
    padding-top: calc(var(--header-h) + var(--topbar-h) + 40px);
}

.nav-open .site-header {
    background: transparent;
}

.nav-open .site-header__bar {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.nav-open .header-call,
.nav-open .nav-toggle {
    border-color: rgba(255, 255, 255, 0.28);
}

.mobile-nav__quick {
    display: flex;
    gap: 10px;
}

.mobile-nav__quick .btn {
    flex: 1;
}

.mobile-nav__meta {
    display: grid;
    gap: 10px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--line-dark);
    font-size: 0.875rem;
    color: var(--on-dark-soft);
}

.mobile-nav__meta p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
}

.mobile-nav__meta .icon {
    flex: none;
    margin-top: 2px;
    color: var(--gold-400);
}

/* ---------- Space for the header at the top of pages ---------- */
.hero {
    padding-top: calc(var(--header-h) + var(--topbar-h) + clamp(24px, 3.4vw, 48px));
}

.page-hero {
    padding-top: calc(var(--header-h) + var(--topbar-h) + clamp(32px, 4.6vw, 64px));
}

/* Phones: keep the hero status pill on one line. */
@media (max-width: 480px) {
    .hero__status-long {
        display: none;
    }
}

/* While the phone menu is open, menu items that scroll up pass under a solid cover
   behind the top bar and the floating bar, so they never overlap the logo. The cover
   paints above the menu (z-index -1) and below the bars, which come later in the page. */
.nav-open .site-header::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 0;
    height: calc(var(--topbar-h) + var(--header-h));
    background: var(--ink-950);
}

/* Phones: the footer link lists sit two-up under the contact block, so the footer
   is about half as long. */
@media (max-width: 639px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 20px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

/* ---------- Seven menu items ----------
   Links stay on one line with slightly tighter spacing. The full menu shows from
   1320px; between 1180px and 1319px the menu button and drawer are used instead, and
   the scrolled-state call button only joins the bar where there is room (1440px+). */
.primary-nav__list {
    gap: 2px;
}

.primary-nav__link {
    padding-inline: 9px;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.primary-nav__link::after {
    right: 9px;
    left: 9px;
}

@media (min-width: 1180px) and (max-width: 1319px) {
    .primary-nav {
        display: none;
    }

    .site-header__actions {
        margin-left: auto;
    }

    .nav-toggle,
    .header-call {
        display: grid;
    }

    .site-header .mobile-nav:not([hidden]) {
        display: block !important;
    }

    .brand {
        width: 210px;
    }
}

@media (min-width: 1320px) {
    .brand {
        width: 200px;
    }

    .site-header__bar {
        gap: 16px;
    }
}

@media (min-width: 1320px) and (max-width: 1439px) {
    .site-header.is-solid .header-call {
        display: none;
    }
}

/* On tablets and laptops the open menu keeps a comfortable reading width. */
@media (min-width: 760px) {
    .mobile-nav > * {
        max-width: 680px;
    }
}

/* ---------- "About this page" credit (E-E-A-T) ---------- */
.credit {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-top: 40px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold-400);
    border-radius: 18px;
    background: var(--paper);
}

.credit__logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 0 0 1px var(--line);
}

.credit__title {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.25;
    word-spacing: 0.05em;
    color: var(--navy-900);
}

.credit__text {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-soft);
}

.credit__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-weight: 700;
    color: var(--navy-900);
    text-decoration: none;
}

.credit__link:hover {
    color: var(--blue-600);
}
