:root {
    /* Deep navy base (from the logo) */
    --bg: #0a1826;
    --bg-alt: #0e2233;
    --surface: #12293c;
    --surface-alt: #1b3649;
    /* Logo dual tone: petrol/teal blue (primary) + aqua-cyan (secondary) */
    --accent: #2ea6c9;
    --accent-soft: rgba(46, 166, 201, 0.16);
    --accent-strong: #4bc0df;
    --accent-2: #5ad1e6;
    --accent-2-strong: #7fe0ec;
    --accent-2-soft: rgba(90, 209, 230, 0.16);
    --text: #eef5f9;
    --text-dim: #8fa3b8;
    --text-soft: rgba(230, 235, 248, 0.80);
    --border: rgba(255, 255, 255, 0.08);
    /* Translucent surfaces over the page backdrop */
    --section-a: rgba(10, 24, 38, 0.55);
    --section-b: rgba(10, 24, 38, 0.68);
    /* One background for the whole page — hero and footer included */
    --section-bg: linear-gradient(180deg, var(--section-a), var(--section-b));
    --card-bg: rgba(10, 24, 38, 0.72);
    --card-bg-strong: rgba(18, 41, 60, 0.9);
    --field-bg: rgba(18, 41, 60, 0.9);
    --menu-bg: rgba(10, 24, 38, 0.96);
    --success: #66d38a;
    --warning: #ffd166;
    --error: #ff6b6b;
    --shadow: 0 24px 60px -30px rgba(8, 20, 34, 0.72);
    --blur: blur(22px);
    /* Icon duotone gradient */
    --icon-grad: linear-gradient(135deg, var(--accent), var(--accent-2-strong));

    --font-sans: "Montserrat", "Segoe UI", sans-serif;
    --font-display: "Oswald", "Montserrat", sans-serif;
}

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

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text);
    background: radial-gradient(circle at top, #12324a 0%, #0a1826 55%, #050d16 100%);
    line-height: 1.6;
}

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

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

.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;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

.section {
    padding: 6rem 0;
}

.section-tag {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-block;
    margin-bottom: 1rem;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    margin-top: 0;
    color: var(--text);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--section-bg);
    backdrop-filter: var(--blur);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
}

.brand-mark {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(145deg, var(--accent), var(--accent-2));
    border-radius: 50%;
    font-family: var(--font-display);
    color: #071018;
    box-shadow: 0 20px 40px -22px rgba(46, 166, 201, 0.7);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dim);
    position: relative;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.6rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transition: width 0.25s ease;
}

.nav-links a:focus,
.nav-links a:hover {
    color: var(--text);
}

.nav-links a:focus::after,
.nav-links a:hover::after {
    width: 100%;
}

.nav-links .hub-link {
    color: var(--accent);
}

.nav-links .hub-link:hover,
.nav-links .hub-link:focus {
    color: var(--accent-strong);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.6rem;
    cursor: pointer;
}

/* Hero */
.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: center;
    overflow: hidden;
}

/* .gradient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(46, 166, 201, 0.45), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(255, 120, 79, 0.35), transparent 50%);
    mix-blend-mode: screen;
} */

.hero-content {
    position: relative;
    padding: 7rem 0;
}

.hero .eyebrow {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 1.5rem;
    color: var(--text-soft);
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 4rem);
    line-height: 1.05;
    margin: 0.8rem 0;
}

.hero-text {
    font-size: 1.05rem;
    max-width: 500px;
    color: var(--text-soft);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.4rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    border-radius: 999px;
    text-transform: uppercase;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #071018;
    box-shadow: 0 20px 40px -20px rgba(46, 166, 201, 0.65);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 26px 60px -22px rgba(46, 166, 201, 0.72);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.btn-outline:hover,
.btn-outline:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.55);
}

.hero-meta {
    display: flex;
    gap: 1.2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 1.2rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--text-soft);
    backdrop-filter: blur(12px);
}

.meta-item i {
    color: var(--accent);
}

.story-grid {
    display: grid;
    gap: 3.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.story-text h2 {
    font-size: clamp(2.1rem, 3.2vw, 2.7rem);
    margin-bottom: 1.5rem;
}

.story-text p {
    color: var(--text-soft);
    margin-bottom: 1.2rem;
}

.story-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 2.2rem;
}

.story-highlights h3 {
    font-size: 2.1rem;
    margin-bottom: 0.2rem;
    color: var(--accent);
}

.story-highlights p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.story-media {
    position: relative;
}

.story-media img {
    border-radius: 24px;
    box-shadow: 0 28px 60px -30px rgba(7, 4, 15, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-card {
    position: absolute;
    bottom: -2.5rem;
    right: 1rem;
    background: rgba(14, 34, 51, 0.92);
    padding: 1.6rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 40px -28px rgba(7, 4, 15, 0.9);
    width: min(340px, 85%);
}

.card-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.story-card h3 {
    font-size: 1.4rem;
    margin: 0.6rem 0;
}

.story-card p {
    margin-bottom: 0.8rem;
    color: var(--text-soft);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-strong);
    font-weight: 600;
}

.card-link:hover,
.card-link:focus {
    text-decoration: underline;
}

.tours h2 {
    font-size: clamp(2.2rem, 3.4vw, 2.8rem);
    text-align: center;
    margin-bottom: 3rem;
}

.tour-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.tour-card {
    background: var(--card-bg-strong);
    border-radius: 24px;
    padding: 2.4rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 36px -30px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.tour-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 30% 20%, rgba(46, 166, 201, 0.24), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tour-card:hover::after {
    opacity: 1;
}

.tour-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: rgba(46, 166, 201, 0.18);
    color: var(--accent);
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
}

.tour-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.9rem;
}

.tour-card p {
    color: var(--text-soft);
    margin-bottom: 1.6rem;
}

.tour-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem;
}

.tour-card li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--text-soft);
}

.tour-card li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0.2rem;
    top: 0.1rem;
    font-size: 1.3rem;
}

.card-cta {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    color: var(--accent);
}

.card-cta:hover,
.card-cta:focus {
    color: var(--accent-strong);
}

.highlights-grid {
    display: grid;
    gap: 2.8rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: start;
}

.highlight-intro h2 {
    font-size: clamp(2rem, 3.1vw, 2.7rem);
    margin-bottom: 1.2rem;
}

.highlight-intro p {
    color: var(--text-soft);
    margin-bottom: 1.1rem;
}

.highlight-intro p:last-child {
    margin-bottom: 0;
}

/* The "we are not a rental" point is the one thing visitors most often get
   wrong, so it reads as a callout rather than as one more paragraph. */
.highlight-intro p.highlight-note {
    padding: 1rem 1.15rem;
    border-radius: 14px;
    border: 1px solid var(--accent-2-soft);
    border-left: 3px solid var(--accent-2);
    background: var(--accent-2-soft);
    color: var(--text);
}

.highlight-intro p.highlight-note strong {
    color: var(--accent-2-strong);
}

.highlight-list {
    display: grid;
    gap: 1.4rem;
}

.highlight-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.4rem;
    padding: 1.6rem;
    background: var(--card-bg-strong);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.highlight-item i {
    font-size: 1.6rem;
    color: var(--accent);
}

.highlight-item h3 {
    margin-bottom: 0.3rem;
}

.highlight-item p {
    margin: 0;
    color: var(--text-soft);
}

.testimonials h2 {
    font-size: clamp(2.1rem, 3.2vw, 2.6rem);
    text-align: center;
    margin-bottom: 3rem;
}

.testimonial-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonial-card {
    margin: 0;
    padding: 2.4rem 2.2rem;
    border-radius: 20px;
    background: rgba(18, 41, 60, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.65);
}

.testimonial-card blockquote {
    margin: 0 0 1.8rem;
    font-size: 1rem;
    color: var(--text-soft);
    font-style: italic;
}

.testimonial-card .name {
    display: block;
    font-weight: 700;
    color: var(--accent);
}

.testimonial-card .role {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.gallery-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.gallery-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 13, 22, 0.95);
    backdrop-filter: blur(8px);
}

.gallery-modal-content {
    position: relative;
    width: min(1200px, 95vw);
    max-height: 90vh;
    background: rgba(18, 41, 60, 0.98);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 32px 80px -24px rgba(0, 0, 0, 0.9);
    padding: 2.5rem;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.gallery-modal.is-open .gallery-modal-content {
    transform: scale(1);
}

.gallery-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--card-bg-strong);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.25s ease;
    z-index: 10;
}

.gallery-modal-close i {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
}

.gallery-modal-close:hover,
.gallery-modal-close:focus {
    background: rgba(46, 166, 201, 0.2);
    border-color: var(--accent);
    color: var(--accent);
    transform: rotate(90deg);
}

.gallery-modal-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text);
}

.gallery-modal-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    align-items: start;
}

.gallery-modal-item {
    margin: 0;
    overflow: visible;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: rgba(10, 24, 38, 0.6);
    display: flex;
    flex-direction: column;
}

.gallery-modal-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -12px rgba(46, 166, 201, 0.4);
    border-color: rgba(46, 166, 201, 0.3);
}

.gallery-modal-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: saturate(1.05);
    border-radius: 16px;
}

.gallery-modal-item:hover img {
    transform: scale(1.05);
    filter: saturate(1.2) contrast(1.1);
}

/* Image Fullscreen View */
.image-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(5, 13, 22, 0.98);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 2rem;
}

.image-fullscreen.is-open {
    opacity: 1;
    visibility: visible;
}

.image-fullscreen img {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 32px 80px -24px rgba(0, 0, 0, 0.9);
}

.image-fullscreen-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(18, 41, 60, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.25s ease;
}

.image-fullscreen-close i {
    display: block;
    font-size: 1.4rem;
    line-height: 1;
}

.image-fullscreen-close:hover,
.image-fullscreen-close:focus {
    background: rgba(46, 166, 201, 0.25);
    border-color: var(--accent);
    color: var(--accent);
    transform: rotate(90deg);
}

/* CTA */
.cta {
    text-align: left;
}

.cta-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
}

.cta-intro h2 {
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.cta-intro p {
    color: var(--text-soft);
    margin-top: 1rem;
}

.cta-form {
    display: grid;
    gap: 1.4rem;
    padding: 2rem;
    border-radius: 20px;
    background: var(--card-bg-strong);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px -36px rgba(0, 0, 0, 0.8);
}

.form-group {
    display: grid;
    gap: 0.6rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.form-group input,
.form-group textarea {
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--field-bg);
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    width: 100%;
    max-width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 8rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(46, 166, 201, 0.2);
}

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

.cta-form button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-status {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid transparent;
}

.form-status:empty {
    display: none;
}

.form-status.is-success {
    color: var(--success);
    background: rgba(102, 211, 138, 0.12);
    border-color: rgba(102, 211, 138, 0.32);
}

.form-status.is-error {
    color: var(--error);
    background: rgba(255, 107, 107, 0.12);
    border-color: rgba(255, 107, 107, 0.32);
}

.form-status a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

.disclaimer {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-soft);
    margin: 3rem auto 0;
    width: min(620px, 92vw);
}

/* Footer */
.site-footer {
    padding: 3.5rem 0 2.5rem;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-text {
    color: var(--text-soft);
    margin-top: 1rem;
    max-width: 280px;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

/* #contact is the nav's Contact target — keep it clear of the sticky header */
.footer-contact {
    scroll-margin-top: 6rem;
}

/* One number, three chat apps. Plain by default — the highlight only appears
   for a moment when "Contact to plan a trip" is clicked.
   Scoped to .footer-contact so it outranks the `.footer-contact li` flex rule. */
.footer-contact .contact-chat {
    display: grid;
    gap: 0.5rem;
    padding: 0.5rem;
    margin: 0 0 0.4rem -0.5rem;
    border-radius: 14px;
    background: transparent;
    border: 1px solid transparent;
}

.contact-chat-label {
    font-family: var(--font-display);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: var(--text-dim);
}

.contact-chat-number {
    color: var(--text);
    font-weight: 600;
    font-size: 1.15rem;
}

.contact-chat-number:hover,
.contact-chat-number:focus {
    color: var(--accent-2-strong);
}

.contact-chat-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.contact-chat-apps a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--text-soft);
    font-size: 0.8rem;
    font-weight: 600;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-chat-apps a:hover,
.contact-chat-apps a:focus {
    border-color: var(--accent-2-strong);
    color: var(--text);
}

.contact-chat-apps i {
    font-size: 1rem;
    color: var(--accent-2-strong);
}

/* Flashed by JS when "Contact to plan a trip" is clicked */
.contact-chat.is-flash {
    animation: contact-flash 1.1s ease 3;
}

@keyframes contact-flash {

    0%,
    100% {
        background: transparent;
        border-color: transparent;
    }

    50% {
        background: var(--accent-2-soft);
        border-color: var(--accent-2-strong);
    }
}

.footer-contact li {
    display: flex;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-soft);
}

.footer-contact i {
    color: var(--accent);
    margin-top: 0.2rem;
}

.footer-social .social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(18, 41, 60, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    transition: all 0.25s ease;
}

.footer-social a:hover,
.footer-social a:focus {
    background: rgba(46, 166, 201, 0.18);
    border-color: rgba(46, 166, 201, 0.4);
    color: var(--accent);
}

.footer-copy {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-soft);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 960px) {

    /* backdrop-filter makes an element the containing block for any fixed
       descendant. With it on the header, the fixed menu panel below was being
       sized against the header instead of the viewport, so it collapsed to a
       thin strip. Drop the blur here; the panel carries its own. */
    .site-header {
        backdrop-filter: none;
        background: var(--menu-bg);
    }

    .nav-links {
        position: fixed;
        inset: 0 0 0 auto;
        width: clamp(240px, 70vw, 320px);
        flex-direction: column;
        justify-content: flex-start;
        gap: 1.6rem;
        padding: 6rem 2.5rem;
        background: var(--menu-bg);
        backdrop-filter: blur(26px);
        box-shadow: -24px 0 60px -28px rgba(0, 0, 0, 0.9);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1200;
    }

    /* Full brightness on the solid panel — --text-dim is for the desktop bar */
    .nav-links a {
        font-size: 1.05rem;
        color: var(--text);
    }

    .nav-links.is-open {
        transform: translateX(0);
    }

    /* Keep the toggle tappable above the open panel so it can close it */
    .nav-toggle {
        display: block;
        position: relative;
        z-index: 1300;
    }

    .story-card {
        position: static;
        margin-top: 2rem;
        width: 100%;
    }

    .story-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-meta {
        gap: 0.8rem;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 4.5rem 0;
    }

    .hero-content {
        padding: 5.2rem 0;
    }

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

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

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

    .cta-form {
        padding: 1.6rem;
    }

    .gallery-modal-content {
        padding: 1.5rem;
        max-height: 95vh;
    }

    .gallery-modal-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .gallery-modal-close {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 520px) {
    .story-highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tour-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* ==========================================================================
   3D / animation layer (hero spinner, tilt cards, scroll reveal, parallax)
   Reuses the existing color tokens — no new palette introduced.
   ========================================================================== */

/* Hero layout: copy + 360 spinner side by side, on a shared perspective */
.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 3rem;
    perspective: 1400px;
}

.hero-copy {
    position: relative;
    z-index: 2;
}

/* 360 spinner stage */
.hero-stage {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
}

.bike-spinner {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 35%, rgba(31, 60, 84, 0.85), rgba(10, 24, 38, 0.95));
    border: 1px solid var(--border);
    box-shadow: var(--shadow), 0 0 60px -18px rgba(46, 166, 201, 0.4);
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.bike-spinner.is-dragging {
    cursor: grabbing;
}

.bike-spinner-canvas,
.bike-spinner-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Canvas hidden until frames confirm loadable; JS reveals it */
.bike-spinner-canvas {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bike-spinner.is-ready .bike-spinner-canvas {
    opacity: 1;
}

.bike-spinner.is-ready .bike-spinner-fallback {
    opacity: 0;
}

/* No filter here: this shows the same file the canvas draws as frame one, so
   any tint would make the canvas fading in over it look like a colour jump. */
.bike-spinner-fallback {
    transition: opacity 0.4s ease;
}

.bike-spinner-loader {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(10, 24, 38, 0.55);
    backdrop-filter: blur(2px);
    transition: opacity 0.3s ease;
}

.bike-spinner.is-ready .bike-spinner-loader,
.bike-spinner.is-fallback .bike-spinner-loader {
    opacity: 0;
    pointer-events: none;
}

.bike-spinner-loader span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top-color: var(--accent);
    animation: spinner-rotate 0.9s linear infinite;
}

.bike-spinner-hint {
    position: absolute;
    bottom: 0.9rem;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-family: var(--font-display);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(10, 24, 38, 0.6);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bike-spinner.is-ready .bike-spinner-hint {
    opacity: 1;
}

.bike-spinner.is-interacted .bike-spinner-hint {
    opacity: 0;
}

/* Left / right rotate controls */
.bike-spin-btn {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 24, 38, 0.66);
    border: 1px solid var(--border);
    color: var(--accent-2-strong);
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    touch-action: manipulation;
    transform: translateY(-50%);
    transition: opacity 0.3s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

/* Only usable once the turntable frames have actually loaded */
.bike-spinner.is-ready .bike-spin-btn {
    opacity: 1;
    pointer-events: auto;
}

.bike-spin-btn:hover,
.bike-spin-btn:focus-visible {
    background: rgba(46, 166, 201, 0.32);
    color: var(--text);
    transform: translateY(-50%) scale(1.08);
}

.bike-spin-btn:active {
    transform: translateY(-50%) scale(0.96);
}

.bike-spin-prev {
    left: 0.8rem;
}

.bike-spin-next {
    right: 0.8rem;
}

.bike-spinner-hint i {
    color: var(--accent);
    margin-right: 0.45rem;
    display: inline-block;
    animation: hint-rotate 2.4s ease-in-out infinite;
}

@keyframes hint-rotate {

    0%,
    15% {
        transform: rotate(0deg);
    }

    55%,
    70% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinner-rotate {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll reveal — hidden until observed, then eased into place */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px) rotateX(6deg);
    transform-origin: center bottom;
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

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

/* 3D reveal variants — content "loads" in with depth as you scroll */
[data-reveal="left"] {
    transform: translateX(-64px) rotateY(14deg);
    transform-origin: left center;
}

[data-reveal="right"] {
    transform: translateX(64px) rotateY(-14deg);
    transform-origin: right center;
}

[data-reveal="zoom"] {
    transform: scale(0.82) translateY(30px);
}

[data-reveal="flip"] {
    transform: perspective(1000px) rotateX(-34deg) translateY(30px);
    transform-origin: center top;
}

[data-reveal].is-visible {
    transform: none;
}

/* Give the section grids depth so the variant rotations read as 3D */
.story-grid,
.tour-grid,
.highlights-grid,
.highlight-list {
    perspective: 1200px;
}

/* 3D tilt cards (tour cards) */
[data-tilt] {
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

[data-tilt].is-tilting {
    transition: box-shadow 0.3s ease;
}

.tour-card[data-tilt]:hover {
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 40px -18px rgba(46, 166, 201, 0.5);
    border-color: rgba(46, 166, 201, 0.28);
}

/* Lift the icon/heading off the card surface while tilting for depth */
[data-tilt] .tour-icon,
[data-tilt] h3 {
    transform: translateZ(38px);
}

@media (max-width: 960px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .hero-stage {
        order: -1;
        max-width: 460px;
    }
}

/* ---- Animated Sri Lanka map -------------------------------------------- */
.lk-map {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 420px;
    isolation: isolate;
}

.lk-map-glow {
    position: absolute;
    inset: 8% 12%;
    z-index: -1;
    background: radial-gradient(circle at 50% 45%, rgba(46, 166, 201, 0.34), transparent 62%);
    filter: blur(26px);
    animation: lk-breathe 6s ease-in-out infinite;
}

.lk-map-svg {
    width: min(340px, 78%);
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 24px 40px rgba(7, 4, 15, 0.7));
    animation: lk-float 7s ease-in-out infinite;
}

/* Island outline draws itself in when the map scrolls into view.
   pathLength="1" lets us animate the draw in normalized 0–1 units. */
.lk-island {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    fill-opacity: 0;
    transition: stroke-dashoffset 2.4s ease, fill-opacity 1.2s ease 1s;
}

.lk-map.is-visible .lk-island {
    stroke-dashoffset: 0;
    fill-opacity: 1;
}

/* Small outlying bits (Jaffna peninsula detail) fade in after the island */
.lk-islet {
    fill-opacity: 0;
    transition: fill-opacity 1s ease 1.2s;
}

.lk-map.is-visible .lk-islet {
    fill-opacity: 1;
}

/* Tour circuit joining the destinations. The dashes march along the route,
   so it reads as travel even before you notice the bike. */
.lk-route {
    stroke: var(--accent-2);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 14 18;
    opacity: 0;
    transition: opacity 0.9s ease 1.6s;
    animation: lk-route-march 2.4s linear infinite;
}

.lk-map.is-visible .lk-route {
    opacity: 0.65;
}

@keyframes lk-route-march {
    to {
        stroke-dashoffset: -32;
    }
}

/* The bike rides the circuit via <animateMotion> */
.lk-bike {
    fill: var(--accent-2-strong);
    opacity: 0;
    filter: drop-shadow(0 0 26px rgba(90, 209, 230, 0.9));
    transition: opacity 0.7s ease 2.2s;
}

.lk-map.is-visible .lk-bike {
    opacity: 1;
}

/* Destination pins — fade in once the outline has drawn itself */
.lk-pins {
    opacity: 0;
    transition: opacity 0.9s ease 1.8s;
}

.lk-map.is-visible .lk-pins {
    opacity: 1;
}

.lk-pin-dot {
    fill: var(--accent-2-strong);
}

.lk-pin-ring {
    fill: none;
    stroke: var(--accent-2);
    stroke-width: 4;
    opacity: 0.5;
}

/* Sizes are in SVG user units (viewBox is 1024 wide), so they scale with the map.
   The dark stroke under the fill keeps names legible over land or sea. */
.lk-pin-label {
    font-family: var(--font-display);
    font-size: 34px;
    letter-spacing: 2px;
    fill: var(--text);
    stroke: rgba(5, 13, 22, 0.85);
    stroke-width: 6;
    paint-order: stroke fill;
}

.lk-map-tag {
    position: absolute;
    bottom: 0.5rem;
    font-family: var(--font-display);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--accent);
    opacity: 0;
    transition: opacity 0.8s ease 1.6s;
}

.lk-map.is-visible .lk-map-tag {
    opacity: 1;
}

@keyframes lk-float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-14px) rotate(-1.5deg);
    }
}

@keyframes lk-breathe {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

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

/* Respect reduced-motion: drop all transforms/auto-motion, keep content usable */
@media (prefers-reduced-motion: reduce) {

    [data-reveal],
    [data-reveal].is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .bike-spinner-loader span,
    .bike-spinner-hint i {
        animation: none;
    }

    [data-tilt] {
        transition: none;
    }

    .lk-map-svg,
    .lk-map-glow {
        animation: none;
    }

    .lk-island {
        stroke-dashoffset: 0;
        fill-opacity: 1;
        transition: none;
    }

    .lk-islet,
    .lk-pins,
    .lk-bike,
    .lk-map-tag {
        opacity: 1;
        fill-opacity: 1;
        transition: none;
    }

    .lk-route {
        opacity: 0.65;
        transition: none;
        animation: none;
    }

    /* Still mark the number, just hold it steady instead of pulsing */
    .contact-chat.is-flash {
        animation: none;
        background: var(--accent-2-soft);
        border-color: var(--accent-2-strong);
    }
}

/* ==========================================================================
   WebGL world + scroll journey layering
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

/* One large logo watermark, fixed behind everything. Sections sit on top at
   ~0.6 alpha, so the effective strength on screen is well under the opacity
   set here — raise/lower this one value to taste. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url("assets/logo-icon.png") no-repeat center center;
    background-size: min(78vw, 78vh);
    opacity: 0.14;
}

/* Content floats above the watermark */
main,
.site-footer {
    position: relative;
    z-index: 1;
}

/* Every section uses the one page background — translucent glass, with no
   band changing tone from the next.
   (Overrides the earlier per-section gradients.) */
.hero,
.story,
.ride,
.tours,
.highlights,
.testimonials,
.cta,
.site-footer {
    position: relative;
    z-index: 1;
    background: var(--section-bg);
}

/* Keep text crisp over the moving backdrop */
.story-text,
.ride-intro,
.tours h2,
.highlight-intro {
    text-shadow: 0 2px 24px rgba(7, 4, 15, 0.6);
}

/* Story is now a centered narrative block */
.story-inner {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 12px rgba(46, 166, 201, 0.7);
    z-index: 2500;
    pointer-events: none;
}

/* Hero scroll-down cue */
.scroll-cue {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-soft);
    font-family: var(--font-display);
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-size: 0.7rem;
    z-index: 3;
}

.scroll-cue i {
    animation: cue-bounce 1.8s ease-in-out infinite;
}

@keyframes cue-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* "Where We Ride" section */
.ride-grid {
    display: grid;
    gap: 3.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    perspective: 1200px;
}

.ride-intro h2 {
    font-size: clamp(2.1rem, 3.2vw, 2.7rem);
    margin-bottom: 1.2rem;
}

.ride-intro p {
    color: var(--text-soft);
    margin-bottom: 1.8rem;
}

.ride-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.ride-chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: rgba(90, 209, 230, 0.14);
    border: 1px solid rgba(90, 209, 230, 0.36);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform 0.25s ease, background 0.25s ease;
}

.ride-chips span:hover {
    transform: translateY(-3px);
    background: rgba(90, 209, 230, 0.26);
}

.ride-chips i {
    color: var(--accent-2-strong);
}

/* "Come ride with us" invitation closing the highlights section */
.join-cta {
    max-width: 700px;
    margin: 4.5rem auto 0;
    text-align: center;
}

.join-cta h2 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    margin: 0 0 1rem;
}

.join-cta p {
    color: var(--text-soft);
    margin: 0 auto 2rem;
}

/* Reuse the ride chips, centred under the invitation */
.join-cta .ride-chips {
    justify-content: center;
    margin-bottom: 2.2rem;
}

.join-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Make the map a touch larger as the section centerpiece */
.ride .lk-map {
    min-height: 460px;
}

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

    html {
        scroll-behavior: auto;
    }
}

/* ==========================================================================
   Duotone icons
   ========================================================================== */

/* Duotone (coral -> violet) icons */
.meta-item i,
.highlight-item i,
.footer-contact i {
    background: var(--icon-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

/* Smooth colour changes on hover / state changes */
body,
.site-header,
.tour-card,
.highlight-item,
.meta-item,
.site-footer,
.ride-chips span {
    transition: background-color 0.4s ease, background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}