:root,
.theme-tide {
    color-scheme: light;
    --sea: #0b3d4a;
    --lagoon: #1a7a6d;
    --sun: #e8a54b;
    --sand: #f2e6d4;
    --foam: #f7faf8;
    --ink: #14212b;
    --surface: #f7faf8;
    --surface-soft: #e8f0ec;
    --surface-deep: #0b3d4a;
    --ink-muted: #4a5c66;
    --line: color-mix(in srgb, var(--sea) 14%, transparent);
    --accent: var(--lagoon);
    --accent-deep: #146357;
    --accent-soft: color-mix(in srgb, var(--lagoon) 16%, white);
    --highlight: var(--sun);
    --overlay-hero: linear-gradient(
        105deg,
        rgba(11, 61, 74, 0.92) 0%,
        rgba(11, 61, 74, 0.72) 42%,
        rgba(26, 122, 109, 0.28) 100%
    );
    --overlay-band: linear-gradient(180deg, rgba(11, 61, 74, 0.55), rgba(11, 61, 74, 0.78));
    --shadow: 0 22px 50px rgba(11, 61, 74, 0.14);
    --header-bg: color-mix(in srgb, var(--foam) 88%, transparent);
    --button-primary-bg: var(--sun);
    --button-primary-fg: var(--sea);
    --button-ghost-border: color-mix(in srgb, white 55%, transparent);
    --theme-color: #1a7a6d;
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Source Sans 3", "Segoe UI", sans-serif;
    --shell: min(1120px, calc(100% - 2rem));
    --header-height: 78px;
    --radius: 18px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.theme-dusk {
    color-scheme: dark;
    --sea: #061e26;
    --lagoon: #2a9b8a;
    --sun: #f0b45c;
    --sand: #3a342c;
    --foam: #0e1c22;
    --ink: #e8f0ec;
    --surface: #0e1c22;
    --surface-soft: #132830;
    --surface-deep: #041418;
    --ink-muted: #9bb0b8;
    --line: color-mix(in srgb, white 12%, transparent);
    --accent: #2a9b8a;
    --accent-deep: #1a7a6d;
    --accent-soft: color-mix(in srgb, #2a9b8a 22%, #0e1c22);
    --highlight: #f0b45c;
    --overlay-hero: linear-gradient(
        105deg,
        rgba(6, 30, 38, 0.94) 0%,
        rgba(6, 30, 38, 0.78) 45%,
        rgba(20, 70, 75, 0.35) 100%
    );
    --overlay-band: linear-gradient(180deg, rgba(6, 30, 38, 0.62), rgba(6, 30, 38, 0.88));
    --shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
    --header-bg: color-mix(in srgb, #0e1c22 90%, transparent);
    --button-primary-bg: var(--sun);
    --button-primary-fg: #061e26;
    --button-ghost-border: color-mix(in srgb, white 35%, transparent);
    --theme-color: #0b3d4a;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--surface);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    transition: background-color .35s var(--ease), color .35s var(--ease);
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); }
button, input { font: inherit; }
h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.08;
}

::selection { background: var(--accent); color: #fff; }

.theme-dusk ::selection { color: #041418; }

::view-transition-old(root) { animation: .28s var(--ease) both theme-fade-out; }
::view-transition-new(root) { animation: .38s var(--ease) both theme-fade-in; }

@keyframes theme-fade-out {
    to { opacity: 0; transform: scale(.992); }
}
@keyframes theme-fade-in {
    from { opacity: 0; transform: scale(1.008); }
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--sea);
    color: #fff;
    text-decoration: none;
    transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.scroll-progress {
    position: fixed;
    z-index: 500;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--lagoon), var(--sun));
    transform: scaleX(0);
    transform-origin: left;
    will-change: transform;
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

/* ——— Header ——— */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 40;
    height: var(--header-height);
    border-bottom: 1px solid transparent;
    background: transparent;
    transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.site-header.is-scrolled {
    border-color: var(--line);
    background: var(--header-bg);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(11, 61, 74, 0.08);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.brand img { height: 42px; width: auto; }

.site-nav {
    display: flex;
    align-items: center;
    gap: .35rem 1rem;
}

.site-nav a {
    color: #f7faf8;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
}
.site-header.is-scrolled .site-nav a { color: var(--ink); }
.site-nav a.is-active { color: var(--sun); }
.site-header.is-scrolled .site-nav a.is-active { color: var(--accent); }

.site-nav .nav-cta {
    border: 1px solid var(--button-ghost-border);
    padding: .45rem .9rem;
    border-radius: 999px;
}
.site-header.is-scrolled .site-nav .nav-cta {
    border-color: var(--accent);
    color: var(--accent);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.menu-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: #fff;
    transition: transform .25s var(--ease), opacity .25s;
}
.site-header.is-scrolled .menu-toggle span:not(.sr-only) { background: var(--ink); }

.theme-switcher {
    display: flex;
    align-items: center;
    gap: .7rem;
}
.theme-switcher > span {
    color: rgba(255, 255, 255, .55);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.theme-switcher > div,
.theme-switcher--nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(0, 0, 0, .18);
    gap: 0;
}
.theme-switcher--nav { display: grid; }
.theme-switcher button {
    min-width: 64px;
    padding: 6px 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, .62);
    cursor: pointer;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.theme-switcher button.is-active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .2);
}
.site-header.is-scrolled .theme-switcher--nav {
    border-color: var(--line);
    background: var(--surface-soft);
}
.site-header.is-scrolled .theme-switcher--nav button { color: var(--ink-muted); }
.site-header.is-scrolled .theme-switcher--nav button.is-active { color: #fff; }

/* ——— Buttons ——— */
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }

.button {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .78rem 1.2rem;
    border-radius: .55rem;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
    background: var(--button-primary-bg);
    color: var(--button-primary-fg);
}
.button-ghost {
    background: transparent;
    color: #f7faf8;
    border-color: var(--button-ghost-border);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .72rem;
    font-weight: 700;
    opacity: .88;
    margin-bottom: .65rem;
}
.eyebrow.accent { color: var(--accent); opacity: 1; }

/* ——— Hero ——— */
.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    align-items: end;
    padding: calc(var(--header-height) + 3rem) 0 5.5rem;
    overflow: hidden;
    color: #f7faf8;
    background: var(--sea);
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}
.hero-media {
    z-index: 0;
    background: var(--hero-image) center / cover no-repeat;
    transform: scale(1.06);
    will-change: transform;
}
.hero-overlay {
    z-index: 1;
    background: var(--overlay-hero);
}
.hero-grid { position: relative; z-index: 2; }
.hero-copy { max-width: 40rem; }

.brand-hero {
    font-size: clamp(3.6rem, 12vw, 7rem);
    margin: .15rem 0 .35rem;
    color: #fff;
}
.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    font-weight: 500;
    margin: 0 0 .75rem;
    color: var(--sun);
}
.hero-lead {
    max-width: 34rem;
    font-size: 1.12rem;
    line-height: 1.55;
    margin: 0;
    opacity: .95;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
}
.hero-proof li {
    border-top: 1px solid rgba(255, 255, 255, .28);
    padding-top: .65rem;
}
.hero-proof strong {
    display: block;
    font-size: .92rem;
}
.hero-proof span {
    display: block;
    font-size: .8rem;
    opacity: .75;
    margin-top: .15rem;
}

.section-angle { position: relative; }
.section-angle::after {
    content: "";
    position: absolute;
    z-index: 3;
    right: -3%;
    bottom: -1px;
    left: -3%;
    height: min(7vw, 100px);
    background: var(--surface);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    pointer-events: none;
}

.theme-dusk .section-angle::after,
.theme-dusk .hero.section-angle::after {
    clip-path: polygon(0 0, 100% 100%, 0 100%);
    height: min(5vw, 80px);
}

/* ——— Sections ——— */
.section { position: relative; padding: 5.5rem 0; }
.section-discover { background: var(--surface); }
.section-guide { background: var(--surface-soft); }
.section-guide.section-angle::after { background: var(--surface-deep); }
.section-destinations {
    background: var(--surface-deep);
    color: #f7faf8;
    padding-bottom: 4rem;
}
.section-destinations .section-heading h2,
.section-destinations .section-heading p { color: #f7faf8; }
.section-journey { background: var(--surface); }

.split-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 2.5rem;
    align-items: start;
}

.section-heading { max-width: 40rem; margin-bottom: 2rem; }
.section-heading h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: .6rem; }
.section-heading p { color: var(--ink-muted); margin: 0; }
.section-heading.dark p { color: rgba(247, 250, 248, .78); }

.section-intro h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.prose .lead {
    font-size: 1.2rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}
.prose p { color: var(--ink-muted); }
.prose .lead { color: var(--ink); }

.pillars {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.4rem;
}
.pillars span {
    padding: .4rem .75rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-deep);
    font-size: .82rem;
    font-weight: 700;
}
.theme-dusk .pillars span { color: var(--sun); }

.island-watermark {
    position: absolute;
    right: -40px;
    top: 10%;
    width: min(340px, 40vw);
    height: min(340px, 40vw);
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--sun) 35%, transparent), transparent 55%),
        radial-gradient(circle at 70% 60%, color-mix(in srgb, var(--lagoon) 28%, transparent), transparent 60%);
    opacity: .55;
    pointer-events: none;
}

.feature-list,
.method-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0;
}

.feature-list li,
.method-list li {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 1rem;
    padding: 1.35rem 0;
    border-top: 1px solid var(--line);
}
.feature-list li:last-child,
.method-list li:last-child { border-bottom: 1px solid var(--line); }

.feature-index,
.method-list > li > span {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--accent);
    font-weight: 700;
}
.feature-list h3,
.method-list h3 {
    margin-bottom: .35rem;
    font-size: 1.35rem;
}
.feature-list p,
.method-list p {
    margin: 0;
    color: var(--ink-muted);
}

/* ——— Slider ——— */
.destinations-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.slider-controls {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-shrink: 0;
    padding-bottom: .4rem;
}
.slider-controls button {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    cursor: pointer;
}
.slider-controls button:hover {
    background: var(--sun);
    border-color: var(--sun);
    color: var(--sea);
}
.slider-controls span {
    min-width: 3.2rem;
    text-align: center;
    font-weight: 700;
    font-size: .85rem;
}

.destination-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 72%);
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px max(1rem, calc((100vw - min(1120px, calc(100vw - 2rem))) / 2)) 2rem;
    margin-inline: calc(50% - 50vw);
    scrollbar-width: none;
    cursor: grab;
}
.destination-slider::-webkit-scrollbar { display: none; }
.destination-slider.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}
.destination-slider.is-dragging .destination-card { pointer-events: none; }

.destination-card {
    scroll-snap-align: start;
    display: grid;
    grid-template-rows: 1.1fr auto;
    min-height: 420px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    background: color-mix(in srgb, #041418 55%, transparent);
    box-shadow: var(--shadow);
}
.destination-image { min-height: 240px; overflow: hidden; }
.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.destination-copy { padding: 1.25rem 1.35rem 1.5rem; color: #f7faf8; }
.destination-type {
    display: inline-block;
    margin-bottom: .45rem;
    color: var(--sun);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.destination-copy h3 { color: #fff; margin-bottom: .4rem; }
.destination-copy p { margin: 0; color: rgba(247, 250, 248, .8); }

/* ——— Photo bands ——— */
.photo-band {
    position: relative;
    min-height: min(48vh, 420px);
    display: grid;
    align-items: end;
    padding: 4.5rem 0 5.5rem;
    color: #f7faf8;
    background: var(--band-image) center / cover no-repeat;
}
.photo-band-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-band);
}
.photo-band-copy { position: relative; z-index: 1; max-width: 36rem; }
.photo-band-copy h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: .5rem;
}
.photo-band-copy p { margin: 0; opacity: .9; }
.photo-band.section-angle::after { background: var(--surface); }
.photo-band--terraces.section-angle::after { background: var(--surface); }

/* ——— CTA ——— */
.cta-section {
    background:
        radial-gradient(circle at 15% 30%, color-mix(in srgb, var(--sun) 28%, transparent), transparent 35%),
        radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--lagoon) 35%, transparent), transparent 30%),
        linear-gradient(160deg, var(--sea), var(--lagoon));
    color: #f7faf8;
    padding: 5.5rem 0 6rem;
}
.cta-section.section-angle::after { background: var(--surface-deep); }
.cta-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 2rem;
    align-items: center;
}
.cta-copy h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: .7rem;
}
.cta-copy p { opacity: .92; max-width: 34rem; }
.cta-aside {
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
    background: rgba(0, 0, 0, .18);
    backdrop-filter: blur(10px);
}
.mini-label {
    display: block;
    margin-bottom: .75rem;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sun);
}
.cta-aside ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .55rem;
}
.cta-aside li {
    padding-left: 1rem;
    position: relative;
}
.cta-aside li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: var(--sun);
}

/* ——— Footer ——— */
.site-footer {
    position: relative;
    background: var(--surface-deep);
    color: rgba(247, 250, 248, .86);
    padding: 4rem 0 1.75rem;
}
.footer-wave {
    position: absolute;
    inset: 0 0 auto;
    height: 120px;
    background:
        radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--lagoon) 30%, transparent), transparent 45%),
        radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--sun) 18%, transparent), transparent 40%);
    pointer-events: none;
}
.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.footer-brand img { height: 40px; width: auto; margin-bottom: .9rem; }
.footer-brand p { max-width: 28rem; color: rgba(247, 250, 248, .72); }
.footer-grid h2 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: .8rem;
    letter-spacing: 0;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: .4rem 0; }
.footer-grid a {
    color: rgba(247, 250, 248, .78);
    text-decoration: none;
}
.footer-grid a:hover { color: var(--sun); }
.footer-bottom {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .9rem;
}
.footer-bottom p { margin: 0; }

/* ——— Reveal ——— */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ——— Auth ——— */
.auth-stage {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
    overflow: hidden;
    color: #f7faf8;
}
.auth-media,
.auth-overlay {
    position: absolute;
    inset: 0;
}
.auth-media {
    background: var(--auth-image) center / cover no-repeat;
    transform: scale(1.04);
}
.auth-overlay { background: var(--overlay-hero); }
.auth-shell {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.auth-brand img {
    width: 88px;
    height: 88px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}
.brand-hero--auth {
    font-size: clamp(2.6rem, 6vw, 3.8rem);
    margin-bottom: .4rem;
}
.auth-lede {
    max-width: 22rem;
    opacity: .9;
    margin-bottom: 1.25rem;
}
.theme-switcher--auth {
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    width: fit-content;
}
.auth-panel {
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: var(--radius);
    padding: 1.6rem 1.5rem 1.4rem;
    background: color-mix(in srgb, var(--surface) 18%, transparent);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}
.auth-panel-title {
    color: #fff;
    font-size: 1.45rem;
    margin-bottom: 1rem;
}
.auth-form,
.login-form {
    display: grid;
    gap: .85rem;
}
.auth-form label,
.login-form label {
    display: grid;
    gap: .35rem;
    font-weight: 600;
    color: rgba(247, 250, 248, .92);
}
.auth-form input,
.login-form input {
    padding: .75rem .8rem;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: .5rem;
    background: rgba(255, 255, 255, .92);
    color: #14212b;
}
.theme-dusk .auth-form input,
.theme-dusk .login-form input {
    background: rgba(14, 28, 34, .85);
    color: #e8f0ec;
    border-color: rgba(255, 255, 255, .18);
}
.auth-form .button,
.login-form .button { justify-content: center; margin-top: .35rem; }
.auth-back {
    display: inline-block;
    margin-top: 1rem;
    color: rgba(247, 250, 248, .85);
    text-decoration: none;
    font-weight: 600;
}
.auth-back:hover { color: var(--sun); }
.error { color: #ffd0c8; margin: 0 0 .5rem; }

/* ——— Shared legacy helpers ——— */
.login-shell {
    min-height: 100vh;
    display: grid;
    place-content: center;
    gap: .75rem;
    padding: 2rem;
    background: linear-gradient(160deg, var(--sea), var(--lagoon));
    color: var(--foam);
}
.btn {
    display: inline-block;
    padding: .7rem 1.1rem;
    border-radius: .4rem;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}
.btn.primary { background: var(--sun); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--foam); border: 1px solid rgba(255,255,255,.5); }
.muted { opacity: .55; }

/* ——— Staff app (post-login) ——— */
.page-admin {
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--sun) 12%, transparent), transparent 28%),
        var(--surface);
}

.admin-shell {
    display: grid;
    grid-template-columns: 16.5rem 1fr;
    min-height: 100vh;
}

.admin-nav {
    background: linear-gradient(180deg, #0b3d4a 0%, #0f4f55 55%, #1a7a6d 100%);
    color: #f7faf8;
    padding: 1.25rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .85rem;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, .06);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    color: #fff;
    padding: .35rem .4rem .85rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.admin-brand img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
}
.admin-brand strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
    letter-spacing: -.02em;
}
.admin-brand small {
    display: block;
    margin-top: .1rem;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sun);
    font-weight: 700;
}

.admin-nav-label {
    margin: .35rem .4rem 0;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(247, 250, 248, .55);
}

.admin-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .2rem;
    flex: 1;
}
.admin-nav li a {
    display: block;
    padding: .55rem .7rem;
    border-radius: .55rem;
    color: rgba(247, 250, 248, .88);
    text-decoration: none;
    font-weight: 600;
    font-size: .94rem;
    transition: background .2s var(--ease), color .2s;
}
.admin-nav li a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.admin-nav-footer {
    display: grid;
    gap: .45rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.admin-logout,
.admin-public {
    display: block;
    padding: .55rem .7rem;
    border-radius: .55rem;
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
}
.admin-logout {
    background: var(--sun);
    color: #0b3d4a;
    text-align: center;
}
.admin-public {
    color: rgba(247, 250, 248, .8);
    text-align: center;
}
.admin-public:hover { color: #fff; }

.admin-main {
    padding: 1.75rem 1.75rem 2.5rem;
}
.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: .75rem;
}
.admin-topbar h1 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--sea);
}
.theme-dusk .admin-topbar h1 { color: var(--ink); }
.admin-user {
    margin: 0;
    color: var(--ink-muted);
    font-size: .95rem;
}
.admin-lead {
    max-width: 40rem;
    color: var(--ink-muted);
    margin: 0 0 1.5rem;
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .9rem;
    padding: 0;
    list-style: none;
    margin: 0;
}
.admin-cards li {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
}
.admin-cards a {
    display: grid;
    gap: .35rem;
    min-height: 110px;
    padding: 1.1rem 1.15rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 88%, white);
    box-shadow: 0 10px 28px rgba(11, 61, 74, 0.06);
    text-decoration: none;
    color: var(--ink);
    transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.admin-cards a:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--lagoon) 45%, transparent);
    box-shadow: var(--shadow);
}
.admin-cards span {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--sea);
}
.theme-dusk .admin-cards span { color: var(--sun); }
.admin-cards small {
    color: var(--ink-muted);
    font-size: .9rem;
    line-height: 1.4;
}

.theme-dusk .admin-cards a {
    background: var(--surface-soft);
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
    .split-layout,
    .cta-grid,
    .footer-grid,
    .auth-shell {
        grid-template-columns: 1fr;
    }
    .hero-proof { grid-template-columns: 1fr 1fr; }
    .destinations-head { flex-direction: column; align-items: start; }
    .destination-slider { grid-auto-columns: min(420px, calc(100vw - 2.5rem)); }
}

@media (max-width: 768px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-nav { min-height: auto; }
    .admin-topbar { flex-direction: column; align-items: start; }
    .menu-toggle { display: inline-block; }
    .site-nav {
        position: fixed;
        inset: var(--header-height) 0 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 1.25rem 2rem;
        background: color-mix(in srgb, var(--sea) 96%, black);
        overflow: auto;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a {
        padding: .85rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        color: #f7faf8 !important;
    }
    .site-nav .nav-cta {
        margin-top: 1rem;
        text-align: center;
        justify-content: center;
    }
    .theme-switcher--nav { margin: 1rem 0; width: fit-content; }
    .hero { align-items: center; padding-bottom: 4.5rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal,
    .hero-media,
    .button {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ——— Public landing v2 ——— */
.page-home {
    --landing-ink: #102b32;
    --landing-muted: #587078;
    --landing-ocean: #073b4c;
    --landing-teal: #0f766e;
    --landing-sand: #f3f0e8;
    --landing-gold: #f4b942;
    background: #fff;
    color: var(--landing-ink);
}

body.page-home .site-header {
    height: 88px;
    border-bottom: 1px solid rgba(7, 59, 76, .1);
    background: #fff;
    box-shadow: 0 1px 0 rgba(7, 59, 76, .04);
    backdrop-filter: none;
}

body.page-home .site-header.is-scrolled {
    border-bottom: 1px solid rgba(7, 59, 76, .1);
    background: #fff;
    box-shadow: 0 12px 32px rgba(7, 59, 76, .1);
    backdrop-filter: none;
}

.page-home .brand img {
    width: 218px;
    height: auto;
    filter: none;
}

.page-home .site-nav {
    gap: 1.8rem;
}

.page-home .site-nav a {
    color: var(--landing-ink);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.page-home .site-nav .nav-cta {
    padding: .6rem 1rem;
    border-color: var(--landing-ocean);
    border-radius: 4px;
    color: var(--landing-ocean);
}

.page-home .site-header.is-scrolled .site-nav a {
    color: var(--landing-ink);
}

.page-home .site-header.is-scrolled .site-nav .nav-cta {
    border-color: var(--landing-ocean);
    color: var(--landing-ocean);
}

.page-home .menu-toggle span:not(.sr-only),
.page-home .site-header.is-scrolled .menu-toggle span:not(.sr-only) {
    background: var(--landing-ink);
}

.page-home .hero {
    min-height: 100svh;
    align-items: center;
    padding: 9rem 0 6rem;
    background: var(--landing-ocean);
}

.page-home .hero-media {
    background-position: center 54%;
    filter: saturate(.9) contrast(1.04);
}

.page-home .hero-overlay {
    background: linear-gradient(90deg, rgba(3, 28, 36, .86) 0%, rgba(3, 28, 36, .56) 46%, rgba(3, 28, 36, .08) 78%);
}

.page-home .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 3rem;
    width: min(1240px, calc(100% - 4rem));
}

.page-home .hero-copy {
    max-width: 48rem;
}

.page-home .hero h1 {
    max-width: 760px;
    margin: 0 0 1.4rem;
    color: #fff;
    font-size: clamp(4.2rem, 9vw, 8.2rem);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: .88;
}

.page-home .hero .eyebrow {
    margin-bottom: 1.4rem;
    color: rgba(255, 255, 255, .78);
}

.page-home .hero-lead {
    max-width: 35rem;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.55;
}

.page-home .hero .button-row {
    align-items: center;
    gap: 1.35rem;
    margin-top: 2rem;
}

.page-home .button {
    padding: .9rem 1.25rem;
    border-radius: 4px;
    font-size: .88rem;
}

.page-home .button-primary {
    background: var(--landing-gold);
    color: var(--landing-ocean);
}

.page-home .hero-text-link {
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    text-decoration-color: rgba(255, 255, 255, .45);
    text-underline-offset: .35rem;
}

.page-home .hero-note {
    display: grid;
    align-self: end;
    min-width: 175px;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, .45);
    color: #fff;
}

.page-home .hero-note span {
    margin-bottom: .2rem;
    color: rgba(255, 255, 255, .62);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.page-home .hero-note strong {
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.page-home .hero-scroll {
    position: absolute;
    bottom: 1.8rem;
    left: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: .65rem;
    color: rgba(255, 255, 255, .68);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-decoration: none;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.page-home .hero-scroll span {
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
}

.page-home .section {
    padding: clamp(5rem, 9vw, 8.5rem) 0;
    scroll-margin-top: 88px;
}

.page-home .section-story {
    background: #fff;
}

.page-home .story-grid {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
}

.page-home .story-kicker {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding-top: 4.2rem;
    color: var(--landing-ocean);
}

.page-home .story-number {
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 6vw, 5.8rem);
    letter-spacing: -.06em;
    line-height: .8;
}

.page-home .story-label {
    padding-bottom: .15rem;
    color: var(--landing-muted);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.page-home .story-copy {
    max-width: 43rem;
}

.page-home .story-copy h2,
.page-home .guide-heading h2,
.page-home .section-heading h2 {
    color: var(--landing-ink);
    font-size: clamp(2.8rem, 5.6vw, 5rem);
    font-weight: 500;
    letter-spacing: -.05em;
    line-height: .98;
}

.page-home .story-copy .lead {
    margin-top: 2rem;
    color: var(--landing-ink);
    font-size: 1.2rem;
    line-height: 1.55;
}

.page-home .story-copy > p:not(.eyebrow):not(.lead) {
    max-width: 38rem;
    color: var(--landing-muted);
}

.page-home .eyebrow.accent {
    color: var(--landing-teal);
}

.page-home .text-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--landing-ocean);
    font-weight: 700;
    text-decoration-color: rgba(7, 59, 76, .35);
    text-underline-offset: .4rem;
}

.page-home .section-guide {
    background: var(--landing-sand);
}

.page-home .guide-heading {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 4rem;
}

.page-home .guide-heading > p {
    max-width: 25rem;
    margin: 0 0 .35rem;
    color: var(--landing-muted);
}

.page-home .feature-list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4rem;
}

.page-home .feature-list li {
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
    padding: 1.8rem 0;
    border-top: 1px solid rgba(7, 59, 76, .18);
}

.page-home .feature-list li:last-child {
    border-bottom: 0;
}

.page-home .feature-index {
    color: var(--landing-teal);
    font-family: var(--font-body);
    font-size: .72rem;
    letter-spacing: .08em;
}

.page-home .feature-list h3 {
    color: var(--landing-ink);
    font-family: var(--font-body);
    font-size: 1.12rem;
    letter-spacing: -.01em;
}

.page-home .feature-list p {
    max-width: 29rem;
    color: var(--landing-muted);
    font-size: .93rem;
}

.page-home .section-destinations {
    overflow: hidden;
    padding-bottom: clamp(5rem, 9vw, 8.5rem);
    background: #fff;
    color: var(--landing-ink);
}

.page-home .section-destinations .section-heading h2 {
    color: var(--landing-ink);
}

.page-home .section-destinations .section-heading p {
    color: var(--landing-muted);
}

.page-home .destinations-head {
    margin-bottom: 2rem;
}

.page-home .slider-controls button {
    border-color: rgba(7, 59, 76, .25);
    border-radius: 50%;
    background: transparent;
    color: var(--landing-ocean);
}

.page-home .slider-controls button:hover {
    border-color: var(--landing-ocean);
    background: var(--landing-ocean);
    color: #fff;
}

.page-home .destination-slider {
    grid-auto-columns: min(980px, 68vw);
    gap: 1.5rem;
    padding-bottom: 1rem;
}

.page-home .destination-card {
    grid-template-rows: minmax(400px, 62vh) auto;
    min-height: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.page-home .destination-image {
    min-height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.page-home .destination-image img {
    transition: transform .8s var(--ease);
}

.page-home .destination-card:hover .destination-image img {
    transform: scale(1.025);
}

.page-home .destination-copy {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 1.2rem 0 0;
    color: var(--landing-ink);
}

.page-home .destination-type {
    grid-column: 1 / -1;
    margin-bottom: .2rem;
    color: var(--landing-teal);
}

.page-home .destination-copy h3 {
    margin: 0;
    color: var(--landing-ink);
    font-size: 2rem;
    font-weight: 500;
}

.page-home .destination-copy p {
    align-self: end;
    margin: 0 0 .2rem;
    color: var(--landing-muted);
    font-size: .9rem;
}

.page-home .photo-band {
    min-height: min(82vh, 760px);
    align-items: center;
    padding: 7rem 0;
    background-position: center;
}

.page-home .photo-band-overlay {
    background: linear-gradient(90deg, rgba(3, 28, 36, .78), rgba(3, 28, 36, .16) 70%);
}

.page-home .photo-band-copy {
    max-width: 45rem;
}

.page-home .photo-band-copy h2 {
    font-size: clamp(3.2rem, 7vw, 6.5rem);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: .9;
}

.page-home .photo-band-copy p {
    max-width: 32rem;
    margin-top: 1.4rem;
}

.page-home .section-journey {
    background: #fff;
}

.page-home .journey-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(3rem, 8vw, 8rem);
}

.page-home .section-journey .section-heading {
    position: sticky;
    top: 130px;
    align-self: start;
}

.page-home .method-list li {
    grid-template-columns: 3rem 1fr;
    padding: 2.1rem 0;
    border-top-color: rgba(7, 59, 76, .15);
}

.page-home .method-list > li > span {
    color: var(--landing-teal);
    font-family: var(--font-body);
    font-size: .72rem;
}

.page-home .method-list h3 {
    color: var(--landing-ink);
    font-size: 1.6rem;
    font-weight: 500;
}

.page-home .method-list p {
    color: var(--landing-muted);
}

.page-home .cta-section {
    overflow: hidden;
    padding: clamp(5rem, 9vw, 8rem) 0;
    background: var(--landing-ocean);
}

.page-home .cta-grid {
    grid-template-columns: 1.25fr .75fr;
}

.page-home .cta-copy h2 {
    max-width: 48rem;
    font-size: clamp(3.3rem, 7vw, 6.4rem);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: .92;
}

.page-home .cta-copy p {
    max-width: 35rem;
    color: rgba(255, 255, 255, .75);
}

.page-home .cta-mark {
    width: min(360px, 34vw);
    margin-inline: auto;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .2));
}

.page-home .site-footer {
    padding-top: 4.5rem;
    background: #052e39;
}

.page-home .footer-brand img {
    width: 210px;
    height: auto;
    filter: brightness(0) invert(1);
}

.page-home .footer-brand p {
    font-family: var(--font-display);
    font-size: 1.15rem;
}

.page-home .footer-bottom {
    color: rgba(255, 255, 255, .52);
    font-size: .76rem;
}

@media (max-width: 900px) {
    .page-home .hero-grid,
    .page-home .story-grid,
    .page-home .guide-heading,
    .page-home .journey-grid {
        grid-template-columns: 1fr;
    }

    .page-home .hero-note {
        display: none;
    }

    .page-home .story-kicker {
        padding-top: 0;
    }

    .page-home .guide-heading {
        gap: 1.5rem;
    }

    .page-home .feature-list {
        grid-template-columns: 1fr;
    }

    .page-home .section-journey .section-heading {
        position: static;
    }
}

@media (max-width: 768px) {
    .page-home .site-header {
        height: 74px;
    }

    .page-home .brand img {
        width: 172px;
    }

    .page-home .site-nav {
        inset: 74px 0 0;
        background: var(--landing-ocean);
    }

    .page-home .hero {
        min-height: 88svh;
        align-items: end;
        padding: 7rem 0 5.5rem;
    }

    .page-home .hero-grid {
        width: min(100% - 2rem, 1240px);
    }

    .page-home .hero h1 {
        font-size: clamp(3.7rem, 18vw, 5.4rem);
    }

    .page-home .hero-overlay {
        background: linear-gradient(0deg, rgba(3, 28, 36, .9) 0%, rgba(3, 28, 36, .46) 62%, rgba(3, 28, 36, .1) 100%);
    }

    .page-home .hero .button-row {
        align-items: stretch;
        flex-direction: column;
    }

    .page-home .hero .button-primary {
        justify-content: center;
        width: 100%;
    }

    .page-home .hero-scroll {
        display: none;
    }

    .page-home .story-kicker {
        display: grid;
    }

    .page-home .destination-slider {
        grid-auto-columns: min(84vw, 390px);
    }

    .page-home .section {
        scroll-margin-top: 74px;
    }

    .page-home .destination-card {
        grid-template-rows: min(112vw, 510px) auto;
    }

    .page-home .destination-copy {
        grid-template-columns: 1fr;
    }

    .page-home .destination-copy p {
        margin-top: .3rem;
    }

    .page-home .photo-band {
        min-height: 72svh;
    }

    .page-home .cta-grid {
        grid-template-columns: 1fr;
    }

    .page-home .cta-mark {
        width: min(260px, 70vw);
        opacity: .8;
    }
}
