:root {
    --bg: #f8fafc;
    --surface: rgba(255, 255, 255, 0.74);
    --surface-strong: rgba(255, 255, 255, 0.9);
    --surface-soft: rgba(0, 0, 0, 0.04);
    --surface-accent: rgba(0, 243, 255, 0.08);
    --ink: #101517;
    --ink-soft: #526065;
    --page-ink: #101517;
    --page-ink-soft: rgba(16, 21, 23, 0.74);
    --line: rgba(16, 21, 23, 0.12);
    --line-strong: rgba(16, 21, 23, 0.2);
    --cyan: #00f3ff;
    --cyan-deep: #67e7ee;
    --cyan-text: #0f7f85;
    --header-bg: rgba(255, 255, 255, 0.68);
    --header-line: rgba(16, 21, 23, 0.1);
    --header-ink: rgba(16, 21, 23, 0.82);
    --header-shadow: 0 18px 40px rgba(12, 16, 21, 0.12);
    --shadow: 0 22px 56px rgba(12, 16, 21, 0.12);
    --shadow-strong: 0 32px 76px rgba(12, 16, 21, 0.16);
    --space-base: #fbfcfd;
    --space-accent-a: rgba(0, 0, 0, 0.012);
    --space-accent-b: rgba(0, 0, 0, 0.028);
    --space-vignette: rgba(0, 0, 0, 0.05);
    --space-sheen-a: rgba(0, 0, 0, 0.014);
    --space-sheen-b: rgba(255, 255, 255, 0);
    --galaxy-shift-x: 0px;
    --galaxy-shift-y: 0px;
    --shell: min(1140px, calc(100vw - 40px));
}

html[data-theme="dark"] {
    --bg: #03070d;
    --surface: rgba(10, 15, 22, 0.74);
    --surface-strong: rgba(13, 19, 27, 0.86);
    --surface-soft: rgba(255, 255, 255, 0.05);
    --surface-accent: rgba(0, 243, 255, 0.08);
    --ink: #edf4f5;
    --ink-soft: #a3b2b7;
    --page-ink: #f4fbfc;
    --page-ink-soft: rgba(244, 251, 252, 0.78);
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.16);
    --cyan-text: #95f6fb;
    --header-bg: rgba(4, 8, 14, 0.72);
    --header-line: rgba(255, 255, 255, 0.08);
    --header-ink: rgba(245, 251, 252, 0.86);
    --header-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
    --shadow: 0 28px 82px rgba(0, 0, 0, 0.34);
    --shadow-strong: 0 42px 104px rgba(0, 0, 0, 0.4);
    --space-base: #02050a;
    --space-accent-a: rgba(255, 255, 255, 0.008);
    --space-accent-b: rgba(46, 86, 255, 0.022);
    --space-vignette: rgba(0, 0, 0, 0.58);
    --space-sheen-a: rgba(255, 255, 255, 0.016);
    --space-sheen-b: rgba(0, 243, 255, 0.014);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--page-ink);
    font-family: "Manrope", sans-serif;
    transition: background-color 220ms ease, color 220ms ease;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
}

button {
    font: inherit;
}

.shell {
    width: var(--shell);
    margin: 0 auto;
}

.galaxy-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 22% 18%, var(--space-accent-a), transparent 24%),
        radial-gradient(circle at 78% 14%, var(--space-accent-b), transparent 28%),
        linear-gradient(180deg, var(--space-base) 0%, color-mix(in srgb, var(--space-base) 98%, black 2%) 100%);
}

.galaxy-background::before {
    content: "";
    position: absolute;
    inset: -6%;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.055) 0, rgba(255, 255, 255, 0.055) 0.6px, transparent 0.9px),
        radial-gradient(circle, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 0.42px, transparent 0.76px);
    background-size: 178px 178px, 132px 132px;
    background-position: 0 0, 58px 74px;
    mix-blend-mode: soft-light;
    opacity: 0.12;
    animation: grainDrift 42s linear infinite;
    transform: translate3d(calc(var(--galaxy-shift-x) * 0.28), calc(var(--galaxy-shift-y) * 0.28), 0);
    will-change: transform;
}

html[data-theme="light"] .galaxy-background::before {
    background-image:
        radial-gradient(circle, rgba(0, 0, 0, 0.06) 0, rgba(0, 0, 0, 0.06) 0.5px, transparent 0.84px),
        radial-gradient(circle, rgba(0, 0, 0, 0.03) 0, rgba(0, 0, 0, 0.03) 0.34px, transparent 0.68px);
    mix-blend-mode: multiply;
    opacity: 0.05;
}

#galaxy-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    transform: translate3d(var(--galaxy-shift-x), var(--galaxy-shift-y), 0) scale(1.026);
    will-change: transform;
}

.galaxy-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transform: translate3d(calc(var(--galaxy-shift-x) * 0.5), calc(var(--galaxy-shift-y) * 0.5), 0);
    will-change: transform;
}

.galaxy-vignette {
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 52%, var(--space-vignette) 100%);
}

.galaxy-sheen {
    background:
        radial-gradient(circle at 50% 42%, var(--space-sheen-a), transparent 22%),
        radial-gradient(circle at 30% 70%, var(--space-sheen-b), transparent 18%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 24%);
    mix-blend-mode: screen;
    opacity: 0.42;
}

html[data-theme="dark"] .hero-copy-block h1,
html[data-theme="dark"] .section-head h2,
html[data-theme="dark"] .closing-copy h2 {
    text-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
}

.site-header,
main,
.site-footer {
    position: relative;
    z-index: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 18px 0 0;
    transition: padding 180ms ease;
}

.site-header.is-scrolled {
    padding-top: 12px;
}

.header-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 14px 18px;
    border-radius: 999px;
    background: var(--header-bg);
    border: 1px solid var(--header-line);
    box-shadow: var(--header-shadow);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img,
.footer-meta img {
    width: 132px;
    height: auto;
}

.logo-light {
    display: none;
}

html[data-theme="light"] .logo-dark {
    display: none;
}

html[data-theme="light"] .logo-light {
    display: block;
}

html[data-theme="dark"] .logo-light {
    display: none;
}

.site-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
}

.site-nav a {
    position: relative;
    color: var(--header-ink);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: var(--cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: white;
}

html[data-theme="light"] .site-nav a:hover,
html[data-theme="light"] .site-nav a:focus-visible {
    color: var(--page-ink);
}

/* ── Nav dropdowns ───────────────────────────────── */

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown-trigger::before {
    /* chevron handled by ::after underline already on .site-nav a */
}

.nav-dropdown-arrow {
    width: 10px;
    height: 10px;
    margin-left: 2px;
    transition: transform 220ms ease;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-dropdown.is-open .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 210px;
    padding: 18px 0 10px;
    background: #fff;
    border: 1px solid var(--header-line);
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
    z-index: 30;
}

html[data-theme="dark"] .nav-dropdown-panel {
    background: #0c1018;
}

.nav-dropdown-panel::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.nav-dropdown.is-open .nav-dropdown-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-panel a {
    display: block;
    padding: 8px 20px;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--header-ink);
    transition: color 120ms ease, background 120ms ease;
    white-space: nowrap;
}

.nav-dropdown-panel a::after {
    display: none;
}

.nav-dropdown-panel a:hover,
.nav-dropdown-panel a:focus-visible {
    color: var(--cyan);
    background: rgba(255, 255, 255, 0.04);
}

html[data-theme="light"] .nav-dropdown-panel a:hover,
html[data-theme="light"] .nav-dropdown-panel a:focus-visible {
    color: var(--page-ink);
    background: rgba(0, 0, 0, 0.04);
}

.nav-dropdown-label {
    padding: 10px 20px 4px;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    pointer-events: none;
}

.nav-dropdown-label:first-child {
    padding-top: 4px;
}

.nav-dropdown-divider {
    height: 1px;
    margin: 6px 14px;
    background: var(--header-line);
}

/* ── Hide-on-scroll header ───────────────────────── */

.site-header {
    transition: padding 180ms ease, transform 320ms cubic-bezier(0.4, 0, 0.2, 1), opacity 320ms ease;
}

.site-header.is-nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    min-width: 150px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--header-ink);
    cursor: pointer;
}

.theme-toggle-track {
    position: relative;
    width: 58px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(16, 18, 22, 0.96) 0%, rgba(12, 14, 18, 0.94) 100%);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.14),
        inset 0 -5px 12px rgba(0, 0, 0, 0.26),
        inset 0 2px 4px rgba(255, 255, 255, 0.025);
    overflow: hidden;
    transition:
        background 260ms ease,
        border-color 220ms ease,
        box-shadow 260ms ease;
}

.theme-toggle-track::before,
.theme-toggle-track::after {
    content: "";
    position: absolute;
    pointer-events: none;
    transition:
        opacity 220ms ease,
        transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
        background 220ms ease;
}

.theme-toggle-track::before {
    inset: 3px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.theme-toggle-track::after {
    inset: auto;
    opacity: 0;
    transform: translateX(0);
}

.theme-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #85efea 0%, #cbfffb 100%);
    box-shadow:
        0 10px 20px rgba(0, 243, 255, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        inset 0 -1px 0 rgba(8, 49, 53, 0.16);
    transform: translate3d(0, 0, 0) rotate(0deg);
    transition:
        transform 600ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 260ms ease,
        background 260ms ease;
}

.theme-toggle-thumb::before,
.theme-toggle-thumb::after {
    content: "";
    position: absolute;
    pointer-events: none;
    transition:
        transform 260ms ease,
        opacity 260ms ease,
        background-color 220ms ease,
        box-shadow 220ms ease;
}

.theme-toggle-thumb::before {
    inset: 4px;
    border-radius: 50%;
    background: #e8ecf0;
    box-shadow:
        0 0 0 1px rgba(200, 206, 214, 0.16),
        0 0 8px rgba(200, 206, 214, 0.18);
    opacity: 1;
    transform: scale(1);
}

.theme-toggle-thumb::after {
    top: 4px;
    left: 11px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #121417;
    opacity: 0;
    transform: scale(0.88);
}

html[data-theme="dark"] .theme-toggle-thumb {
    transform: translate3d(26px, 0, 0) rotate(360deg);
}

html[data-theme="dark"] .theme-toggle-thumb::before {
    opacity: 0;
    transform: scale(0.72);
}

html[data-theme="dark"] .theme-toggle-thumb::after {
    opacity: 1;
    transform: scale(1);
}

html[data-theme="light"] .theme-toggle-track {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 246, 248, 0.98) 100%);
    border-color: rgba(200, 206, 214, 0.32);
    box-shadow:
        0 10px 22px rgba(12, 16, 21, 0.08),
        inset 0 -4px 10px rgba(12, 16, 21, 0.08),
        inset 0 0 0 1px rgba(200, 206, 214, 0.18);
}

html[data-theme="light"] .theme-toggle-track::before {
    border-color: rgba(200, 206, 214, 0.22);
}

html[data-theme="light"] .theme-toggle-thumb {
    background: linear-gradient(135deg, #ffffff 0%, #f4f6f8 100%);
    box-shadow:
        0 10px 22px rgba(12, 16, 21, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(12, 16, 21, 0.08);
}

html[data-theme="light"] .theme-toggle-thumb::before {
    background: #e8ecf0;
    box-shadow:
        0 0 0 1px rgba(200, 206, 214, 0.16),
        0 0 8px rgba(200, 206, 214, 0.18);
}

html[data-theme="dark"] .theme-toggle-thumb::after {
    background: #131518;
    box-shadow: none;
}

html[data-theme="light"] .theme-toggle-track::after {
    opacity: 0;
    transform: translateX(8px);
}

html[data-theme="dark"] .theme-toggle-thumb::before {
    inset: 4px;
    background: #f7f8fb;
    box-shadow:
        0 0 0 1px rgba(220, 230, 245, 0.12),
        0 0 10px rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .theme-toggle-thumb {
    background: linear-gradient(135deg, #191b20 0%, #111318 100%);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.24);
}

.theme-toggle:hover .theme-toggle-thumb,
.theme-toggle:focus-visible .theme-toggle-thumb {
    box-shadow:
        0 12px 26px rgba(0, 243, 255, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        inset 0 -1px 0 rgba(8, 49, 53, 0.16);
}

.theme-toggle:hover .theme-toggle-track,
.theme-toggle:focus-visible .theme-toggle-track {
    box-shadow:
        0 12px 28px rgba(12, 16, 21, 0.12),
        inset 0 -5px 12px rgba(0, 0, 0, 0.24),
        inset 0 2px 4px rgba(255, 255, 255, 0.05);
}

.theme-toggle-label {
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    min-width: 78px;
    text-align: right;
}

html[data-theme="light"] .header-bar {
    backdrop-filter: blur(18px) saturate(135%);
}

.hero {
    min-height: calc(100svh - 104px);
    display: flex;
    align-items: center;
    padding: clamp(36px, 5.6vh, 72px) 0 clamp(28px, 4vh, 52px);
}

#approach,
#services {
    scroll-margin-top: 120px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 32px;
    align-items: center;
}

.hero-copy-block {
    max-width: 740px;
}

.eyebrow {
    margin: 0 0 16px;
    font-family: "Manrope", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cyan-text);
}

.hero-copy-block h1,
.section-head h2,
.closing-copy h2 {
    margin: 0;
    color: var(--page-ink);
    font-size: clamp(3rem, 7.2vw, 5.15rem);
    line-height: 0.93;
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.hero-copy {
    max-width: 620px;
    margin: 22px 0 0;
    font-size: 1.03rem;
    line-height: 1.72;
    color: var(--page-ink-soft);
}

.hero-actions,
.closing-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #74e0da 0%, #b8fffb 100%);
    color: #06282b;
    font-weight: 800;
    box-shadow: 0 20px 44px rgba(0, 243, 255, 0.16);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 24px 50px rgba(0, 243, 255, 0.24);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cyan-text);
    font-size: 0.95rem;
    font-weight: 700;
}

.text-link:hover,
.text-link:focus-visible {
    color: white;
}

html[data-theme="light"] .destination-card .text-link:hover,
html[data-theme="light"] .destination-card .text-link:focus-visible,
html[data-theme="light"] .service-card .text-link:hover,
html[data-theme="light"] .service-card .text-link:focus-visible,
html[data-theme="light"] .signal-item .text-link:hover,
html[data-theme="light"] .signal-item .text-link:focus-visible,
html[data-theme="light"] .closing-panel .text-link:hover,
html[data-theme="light"] .closing-panel .text-link:focus-visible {
    color: var(--ink);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.link-icon {
    display: inline-flex;
    transform: rotate(-45deg);
    transform-origin: 50% 55%;
    transition: transform 180ms ease;
}

.link-arrow:hover .link-icon,
.link-arrow:focus-visible .link-icon {
    transform: translate3d(5px, 0, 0) rotate(0deg);
}

.hero-panel,
.service-card,
.destination-card,
.closing-panel {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--surface-strong) 88%, transparent 12%) 0%, var(--surface) 100%);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

html[data-theme="dark"] .hero-panel,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .destination-card,
html[data-theme="dark"] .closing-panel {
    box-shadow:
        0 28px 82px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

html[data-theme="light"] .hero-panel,
html[data-theme="light"] .service-card,
html[data-theme="light"] .destination-card,
html[data-theme="light"] .closing-panel {
    box-shadow:
        0 24px 52px rgba(12, 16, 21, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

@supports (backdrop-filter: blur(18px)) {
    .hero-panel,
    .service-card,
    .destination-card,
    .closing-panel {
        backdrop-filter: blur(18px) saturate(125%);
    }
}

.hero-panel {
    position: relative;
    padding: 22px;
    border-radius: 24px;
    overflow: hidden;
}

.hero-panel-label {
    margin: 0 0 10px;
    font-family: "Manrope", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.hero-panel-title {
    margin: 0;
    color: var(--ink);
    font-size: 1.32rem;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.signal-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.signal-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 14px;
    align-items: start;
    padding: 15px 16px 15px 16px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface) 84%, transparent 16%);
    border: 1px solid var(--line);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.signal-item:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 243, 255, 0.26);
    box-shadow: 0 18px 38px rgba(0, 243, 255, 0.08);
}

.signal-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.76rem;
    color: var(--cyan-text);
    border: 1px solid rgba(0, 243, 255, 0.24);
    background: rgba(0, 243, 255, 0.06);
}

.signal-copy h3 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 0.97rem;
    letter-spacing: -0.02em;
}

.signal-copy p {
    margin: 0;
    line-height: 1.58;
    color: var(--ink-soft);
    font-size: 0.94rem;
}

.signal-band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(8px);
}

.signal-band-inner {
    display: grid;
    gap: 18px;
    padding: 28px 0;
}

.signal-band-header {
    display: grid;
    gap: 10px;
}

.signal-band-label {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cyan-text);
}

.signal-band-copy {
    margin: 0;
    max-width: 780px;
    line-height: 1.8;
    color: var(--page-ink-soft);
}

.signal-marquee {
    position: relative;
    overflow: hidden;
    padding: 4px 0;
    mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.signal-marquee::before,
.signal-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 72px;
    z-index: 1;
    pointer-events: none;
}

.signal-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg) 0%, rgba(0, 0, 0, 0) 100%);
}

.signal-marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg) 0%, rgba(0, 0, 0, 0) 100%);
}

.signal-marquee-rail {
    display: flex;
    width: max-content;
    animation: signalMarquee 40s linear infinite;
    will-change: transform;
}

.signal-marquee:hover .signal-marquee-rail,
.signal-marquee:focus-within .signal-marquee-rail {
    animation-play-state: paused;
}

.signal-marquee-track {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 12px;
}

.signal-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-strong) 82%, transparent 18%);
    color: var(--page-ink-soft);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

html[data-theme="dark"] .signal-pill {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.services,
.destinations {
    padding: 70px 0 0;
}

.section-head {
    max-width: 740px;
}

.section-head h2 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
}

.section-copy {
    margin: 18px 0 0;
    max-width: 660px;
    line-height: 1.84;
    color: var(--page-ink-soft);
}

.section-head-slim {
    margin-bottom: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.service-card,
.destination-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: 24px;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover,
.destination-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 243, 255, 0.24);
    box-shadow: var(--shadow-strong);
}

.service-index {
    display: inline-block;
    margin-bottom: 16px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan-text);
}

.service-card h3,
.destination-card h3,
.closing-copy h2 {
    color: var(--ink);
}

.service-card h3,
.destination-card h3 {
    margin: 0;
    font-size: 1.42rem;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.service-card p,
.destination-card p,
.closing-copy p:last-child {
    color: var(--ink-soft);
}

.service-card p,
.destination-card p {
    margin: 14px 0 0;
    line-height: 1.8;
}

.service-card .text-link,
.destination-card .text-link {
    margin-top: auto;
    padding-top: 18px;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 30px;
}

.closing {
    padding: 72px 0 112px;
}

.closing-panel {
    display: grid;
    gap: 24px;
    align-items: start;
    padding: 28px;
    border-radius: 28px;
    margin-bottom: 12px;
}

.closing-copy {
    max-width: 760px;
}

.closing-copy h2 {
    font-size: clamp(2rem, 4.4vw, 2.9rem);
}

.closing-copy p:last-child {
    margin: 16px 0 0;
    max-width: 640px;
    line-height: 1.76;
}

.closing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.closing-item {
    padding: 18px 18px 20px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 82%, transparent 18%);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.closing-item:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 243, 255, 0.22);
    box-shadow: 0 18px 38px rgba(0, 243, 255, 0.06);
}

.closing-item-index {
    display: inline-block;
    margin-bottom: 14px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cyan-text);
}

.closing-item h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.08rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.closing-item p {
    margin: 12px 0 0;
    color: var(--ink-soft);
    line-height: 1.62;
    font-size: 0.92rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 28px 0 40px;
    background: rgba(5, 9, 17, 0.2);
    backdrop-filter: blur(10px);
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.footer-meta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 40px;
}

.footer-meta img {
    width: 108px;
}

.footer-copyright {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.4;
    color: var(--page-ink-soft);
    white-space: nowrap;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.footer-links a {
    color: var(--page-ink-soft);
    font-size: 0.84rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--page-ink);
}

.footer-cookie-link {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--page-ink-soft);
    font: inherit;
    font-size: 0.84rem;
    cursor: pointer;
}

.footer-cookie-link:hover,
.footer-cookie-link:focus-visible {
    color: var(--page-ink);
}

html[data-theme="dark"] .footer-links a:hover,
html[data-theme="dark"] .footer-links a:focus-visible,
html[data-theme="dark"] .footer-cookie-link:hover,
html[data-theme="dark"] .footer-cookie-link:focus-visible {
    color: white;
}

.footer-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-strong) 84%, transparent 16%);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.footer-icon-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-icon-link:hover,
.footer-icon-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(0, 243, 255, 0.26);
    box-shadow: 0 16px 34px rgba(0, 243, 255, 0.1);
}

html[data-theme="dark"] .footer-icon-link {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.cookie-consent {
    position: fixed;
    inset: auto 20px 20px;
    z-index: 60;
    display: grid;
    justify-items: end;
    pointer-events: none;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent-panel {
    width: min(560px, calc(100vw - 40px));
    display: grid;
    gap: 18px;
    padding: 22px 22px 20px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-strong) 88%, transparent 12%);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(20px);
    pointer-events: auto;
}

.cookie-consent-copy {
    display: grid;
    gap: 10px;
}

.cookie-consent-copy .eyebrow {
    margin-bottom: 0;
}

.cookie-consent-copy h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.2rem, 2.1vw, 1.55rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.cookie-consent-copy p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.cookie-button {
    appearance: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface-strong) 86%, transparent 14%);
    color: var(--ink);
    padding: 12px 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

.cookie-button:hover,
.cookie-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(0, 243, 255, 0.32);
    box-shadow: 0 14px 28px rgba(0, 243, 255, 0.12);
}

.cookie-button-primary {
    border-color: rgba(0, 243, 255, 0.32);
    background: linear-gradient(135deg, color-mix(in srgb, var(--cyan) 68%, white 32%), color-mix(in srgb, var(--cyan) 82%, white 18%));
    color: #062528;
    box-shadow: 0 18px 38px rgba(0, 243, 255, 0.2);
}

.cookie-button-primary:hover,
.cookie-button-primary:focus-visible {
    box-shadow: 0 22px 44px rgba(0, 243, 255, 0.26);
}

.cookie-button-secondary {
    background: transparent;
}

.cookie-button-quiet {
    border-color: transparent;
    background: transparent;
    color: var(--cyan-text);
    padding-inline: 6px;
    box-shadow: none;
}

.cookie-button-quiet:hover,
.cookie-button-quiet:focus-visible {
    box-shadow: none;
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(8px);
}

.cookie-modal[hidden] {
    display: none;
}

.cookie-modal-panel {
    width: min(560px, calc(100vw - 40px));
    display: grid;
    gap: 20px;
    padding: 24px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-strong) 90%, transparent 10%);
    box-shadow: var(--shadow-strong);
}

.cookie-modal-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.cookie-modal-head h2 {
    margin: 8px 0 0;
    color: var(--ink);
    font-size: clamp(1.35rem, 2.3vw, 1.8rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.cookie-modal-head p {
    margin: 10px 0 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

.cookie-close {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-strong) 86%, transparent 14%);
    color: var(--ink);
    font-size: 1.2rem;
    cursor: pointer;
}

.cookie-options {
    display: grid;
    gap: 14px;
}

.cookie-option {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 86%, transparent 14%);
}

.cookie-option h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.cookie-option p {
    margin: 8px 0 0;
    color: var(--ink-soft);
    line-height: 1.62;
    font-size: 0.94rem;
}

.cookie-option-note {
    display: inline-block;
    margin-top: 10px;
    color: var(--cyan-text);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cookie-switch {
    position: relative;
    width: 60px;
    height: 34px;
}

.cookie-switch input {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.cookie-switch-ui {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface-soft) 78%, transparent 22%);
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.cookie-switch-ui::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--surface-strong);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    transition: transform 180ms ease, background-color 180ms ease;
}

.cookie-switch input:checked + .cookie-switch-ui {
    border-color: rgba(0, 243, 255, 0.3);
    background: color-mix(in srgb, var(--cyan) 35%, transparent 65%);
    box-shadow: 0 10px 22px rgba(0, 243, 255, 0.12);
}

.cookie-switch input:checked + .cookie-switch-ui::after {
    transform: translateX(26px);
    background: color-mix(in srgb, var(--cyan) 74%, white 26%);
}

.cookie-switch input:disabled + .cookie-switch-ui {
    opacity: 0.86;
}

.cookie-modal-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 560ms ease,
        transform 560ms ease;
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes panelPulse {
    0%,
    100% {
        opacity: 0.42;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes signalMarquee {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes grainDrift {
    from {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(-1.8%, 1.2%, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .services-grid,
    .destinations-grid,
    .closing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    :root {
        --shell: min(1140px, calc(100vw - 24px));
    }

    #galaxy-canvas {
        display: none;
    }

    .galaxy-background::before {
        animation: none;
    }

    .galaxy-layer {
        will-change: auto;
        transform: none;
    }

    .site-header {
        padding-top: 8px;
    }

    .header-bar {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 10px 16px;
        border-radius: 18px;
    }

    .header-bar > .brand,
    .header-bar > .theme-toggle {
        /* pull logo and toggle into a shared row via an inner wrapper trick */
    }

    /* top row: logo left, toggle right */
    .header-bar {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
        gap: 0;
        padding: 10px 14px 8px;
        border-radius: 18px;
    }

    .brand { grid-column: 1; grid-row: 1; }
    .theme-toggle { grid-column: 2; grid-row: 1; justify-self: end; }

    .brand img,
    .header-bar .footer-meta img {
        width: 94px;
    }

    /* nav row: 4 equal columns, centered text */
    .site-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        justify-items: center;
        align-items: start;
        gap: 0;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid var(--header-line);
    }

    .site-nav a {
        font-size: 0.64rem;
        letter-spacing: 0.03em;
        text-align: center;
    }

    .site-nav > a,
    .site-nav > .nav-dropdown {
        width: 100%;
        text-align: center;
    }

    .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav-dropdown-panel {
        position: static;
        transform: none;
        min-width: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        backdrop-filter: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 250ms ease, opacity 200ms ease, padding 250ms ease;
    }

    .nav-dropdown.is-open .nav-dropdown-panel {
        transform: none;
        max-height: 400px;
        opacity: 1;
        padding: 4px 0 2px;
    }

    .nav-dropdown-panel a {
        padding: 3px 6px;
        font-size: 0.6rem;
        text-align: center;
    }

    .nav-dropdown-label {
        padding: 3px 6px 1px;
        font-size: 0.52rem;
    }

    .theme-toggle {
        justify-self: end;
        gap: 8px;
        min-width: auto;
    }

    .theme-toggle-label {
        display: none;
    }

    .theme-toggle-track {
        width: 44px;
        height: 24px;
    }

    .theme-toggle-thumb {
        width: 18px;
        height: 18px;
    }

    html[data-theme="dark"] .theme-toggle-thumb {
        transform: translate3d(20px, 0, 0) rotate(360deg);
    }

    .hero {
        min-height: auto;
        padding-top: 58px;
    }

    .hero-panel,
    .service-card,
    .destination-card {
        padding: 20px;
    }

    .signal-item {
        grid-template-columns: 1fr;
        padding-left: 22px;
    }

    .closing-panel {
        padding: 24px 20px;
        border-radius: 24px;
        margin-bottom: 8px;
    }

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

    .footer-meta {
        gap: 14px;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .cookie-consent {
        inset: auto 12px 12px;
    }

    .cookie-consent-panel,
    .cookie-modal-panel {
        width: min(100vw - 24px, 560px);
        padding: 20px;
        border-radius: 22px;
    }

    .cookie-consent-actions,
    .cookie-modal-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .cookie-option {
        grid-template-columns: 1fr;
    }

    .cookie-switch {
        justify-self: start;
    }
}

@media (min-width: 981px) and (max-height: 940px) {
    .hero {
        min-height: calc(100svh - 92px);
        padding: 28px 0 22px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) 344px;
        gap: 26px;
    }

    .eyebrow {
        margin-bottom: 12px;
    }

    .hero-copy-block h1 {
        font-size: clamp(2.75rem, 5.8vw, 4.55rem);
        line-height: 0.92;
    }

    .hero-copy {
        margin-top: 16px;
        font-size: 0.98rem;
        line-height: 1.62;
    }

    .hero-actions {
        margin-top: 18px;
    }

    .hero-panel {
        padding: 18px;
    }

    .hero-panel-title {
        font-size: 1.22rem;
    }

    .signal-list {
        margin-top: 18px;
        gap: 12px;
    }

    .signal-item {
        grid-template-columns: 48px 1fr;
        gap: 12px;
        padding: 13px 14px;
    }

    .signal-index {
        width: 36px;
        height: 36px;
        font-size: 0.72rem;
    }

    .signal-copy h3 {
        margin-bottom: 4px;
        font-size: 0.93rem;
    }

    .signal-copy p {
        font-size: 0.89rem;
        line-height: 1.5;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }

    .signal-marquee {
        overflow: visible;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .signal-marquee::before,
    .signal-marquee::after {
        display: none;
    }

    .signal-marquee-rail {
        width: auto;
        flex-wrap: wrap;
        animation: none;
        gap: 12px;
    }

    .signal-marquee-track {
        flex-wrap: wrap;
        padding-right: 0;
    }

    .signal-marquee-track[aria-hidden="true"] {
        display: none;
    }
}
