/* =========================================================================
   Design tokens — derived from design.md (Spotify-inspired system)
   Dark, content-first surfaces; a single functional accent; pill/circle
   geometry; heavy shadows for elevation on dark. Destination photography
   supplies the color — the UI itself stays achromatic.
   ========================================================================= */

:root {
    /* Surfaces — tiered tints of the brand deep navy (from the reference header) */
    --bg-base: #0a1a2e;
    --bg-surface: #0f2338;
    --bg-elevated: #15304a;
    --bg-card: #1e3c58;
    --bg-card-alt: #234465;

    /* Brand accent — the reference lime-chartreuse, functional only: CTAs, active states, links */
    --accent: #cfe94a;
    --accent-border: #b8d13f;
    --accent-ink: #0a1a2e;

    /* Text */
    --text-base: #ffffff;
    --text-loud: #ffffff;
    --text-muted: #94a6b8;
    --text-faint: #6b7f92;

    /* Semantic */
    --negative: #e0776f;
    --warning: #d9a84e;
    --announce: #6fa8d9;

    /* Borders */
    --border: #2f4d68;
    --border-soft: #1a3349;

    /* Shadows */
    --shadow-heavy: rgba(0, 0, 0, 0.5) 0px 8px 24px;
    --shadow-medium: rgba(0, 0, 0, 0.3) 0px 8px 8px;
    --shadow-inset: rgb(5, 14, 25) 0px 1px 0px, rgb(47, 77, 104) 0px 0px 0px 1px inset;

    /* Radius scale */
    --r-xs: 4px;
    --r-sm: 6px;
    --r-md: 8px;
    --r-lg: 16px;
    --r-pill: 9999px;

    /* Spacing (8px base) */
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 20px;
    --sp-6: 24px;
    --sp-8: 32px;
    --sp-10: 40px;
    --sp-12: 48px;
    --sp-16: 64px;

    --font-ui: 'Inter', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg-base);
    color: var(--text-base);
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    margin: 0 0 0.5em 0;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--text-loud);
}

h1, h2 { font-family: var(--font-display); letter-spacing: -0.02em; }

p { margin: 0 0 1em 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--sp-5);
}

/* =========================================================================
   Buttons — pill everywhere, uppercase labels on primary/secondary actions
   ========================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    border: none;
    cursor: pointer;
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: var(--r-pill);
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-accent {
    background: var(--accent);
    color: var(--accent-ink);
}
.btn-accent:hover { box-shadow: var(--shadow-medium); }

.btn-outline {
    background: transparent;
    color: var(--text-base);
    border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--text-muted); }

.btn-ghost {
    background: var(--bg-elevated);
    color: var(--text-base);
}
.btn-ghost:hover { background: var(--bg-card); }

.btn-sm { padding: 9px 18px; font-size: 12px; letter-spacing: 1px; }
.btn-block { width: 100%; }

/* =========================================================================
   Header
   ========================================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(10, 26, 46, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-6);
    /* Vertical only — the horizontal gutter comes from .container.
       (A `padding: var(--sp-4) 0` shorthand here would zero it out and glue
       the logo + burger to the screen edge.) */
    padding-top: var(--sp-4);
    padding-bottom: var(--sp-4);
}

/* The logo box. It carries the dimensions so .brand-logo can be a plain
   100%/100% — a percentage resolves against nothing on an auto-sized parent,
   so without these the image would fall back to its intrinsic 770x221 and
   blow the header open. Sized to the trimmed wordmark's own ratio (3.48:1),
   which puts cap height at ~21px against the 44px nav pills. */
.brand {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    width: 146px;
    height: 42px;
    flex: 0 0 auto;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-loud);
}

/* contain, not fill: the wordmark is 3.48:1, so stretching it to a box of
   any other ratio would squash it. If the logo file is ever replaced with a
   different shape, adjust .brand's width/height to match rather than letting
   it letterbox in here. */
.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    flex-wrap: nowrap;
}

/* Each nav entry = a pill (link + caret) with an absolutely-positioned dropdown. */
.nav-item {
    position: relative;
    flex-shrink: 0;
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    border-radius: var(--r-pill);
    background: var(--bg-elevated);
    overflow: hidden;
    transition: background 0.2s ease;
}

.nav-pill-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 8px 8px 16px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px 8px 4px;
    border: none;
    background: transparent;
    color: var(--text-faint);
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Caret-less pills keep their right padding */
.nav-pill-link:only-child { padding-right: 16px; }

.nav-pill:hover,
.nav-pill.active,
.nav-item.is-open .nav-pill { background: var(--bg-card); }

.nav-pill:hover .nav-pill-link,
.nav-pill.active .nav-pill-link,
.nav-item.is-open .nav-pill-link { color: var(--text-base); }

.nav-pill:hover .nav-caret,
.nav-item.is-open .nav-caret { color: var(--accent); }

.nav-item.is-open .nav-caret,
.nav-item:hover .nav-caret { transform: rotate(180deg); }

/* ---- Kreator Shop pill -------------------------------------------------
   The one commercial destination in the nav, so it gets the accent fill to
   separate it from the three editorial pills. Selectors are doubled up with
   :hover because the generic `.nav-pill:hover` above is a class+pseudo-class
   (specificity 0,2,0) and would otherwise repaint this back to --bg-card. */
.nav-pill--accent,
.nav-pill--accent:hover {
    background: var(--accent);
    box-shadow: 0 0 0 1px var(--accent-border) inset;
}

.nav-pill--accent .nav-pill-link,
.nav-pill--accent:hover .nav-pill-link {
    gap: 7px;
    color: var(--accent-ink);
    font-weight: 700;
}

.nav-pill--accent:hover { filter: brightness(1.08); }

/* Icon shouldn't squash when the nav gets tight at mid widths. */
.nav-pill--accent .nav-pill-link svg { flex-shrink: 0; }

/* Reduced-motion users still get the hover feedback (the colour change), just
   without the fill animating into place. */
@media (prefers-reduced-motion: reduce) {
    .nav-pill--accent { transition: none; }
}

/* ---- Dropdown panel ---------------------------------------------------
   The wrapper's padding-top is the hover "bridge" between pill and panel,
   so the menu doesn't snap shut while the cursor travels down to it. */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    padding-top: 10px;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-dropdown--wide { min-width: 320px; }

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.is-open .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.nav-dropdown-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-heavy);
    padding: var(--sp-4);
}

.nav-dropdown-label {
    display: block;
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: var(--sp-3);
}

.nav-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}
.nav-dropdown-grid--single { grid-template-columns: 1fr; }

.nav-dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    padding: 9px 12px;
    border-radius: var(--r-sm);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown-link:hover,
.nav-dropdown-link.active {
    background: var(--bg-elevated);
    color: var(--text-loud);
}
.nav-dropdown-link.active { color: var(--accent); }

.nav-dropdown-count {
    font-family: var(--font-mono, 'IBM Plex Mono', monospace);
    font-size: 11px;
    color: var(--text-faint);
    flex-shrink: 0;
}

.nav-dropdown-all {
    display: block;
    margin-top: var(--sp-3);
    padding-top: var(--sp-3);
    border-top: 1px solid var(--border-soft);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}
.nav-dropdown-all:hover { color: var(--text-loud); }

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    background: var(--bg-elevated);
    border: none;
    border-radius: var(--r-pill);
    width: 40px;
    height: 40px;
    color: var(--text-base);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* =========================================================================
   Promo banner — sitewide, dismissible, functional accent only
   ========================================================================= */

.promo-banner {
    background: var(--accent);
    color: var(--accent-ink);
}

.promo-banner-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    padding: 10px var(--sp-5);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    flex-wrap: wrap;
    position: relative;
}

.promo-banner-inner strong { font-weight: 800; }

.promo-banner-close {
    position: absolute;
    right: var(--sp-4);
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--accent-ink);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
}
.promo-banner-close:hover { opacity: 1; }

/* =========================================================================
   Hero
   ========================================================================= */

.hero {
    padding: var(--sp-16) 0 var(--sp-12);
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: var(--r-pill);
    background: var(--bg-elevated);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: var(--sp-5);
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    max-width: 780px;
    margin: 0 auto var(--sp-4);
}

.hero p.lead {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 560px;
    margin: 0 auto var(--sp-6);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-3);
    flex-wrap: wrap;
}

/* =========================================================================
   Section headers
   ========================================================================= */

.section {
    padding: var(--sp-10) 0;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
    flex-wrap: wrap;
}

.section-head h2 {
    font-size: 26px;
    margin: 0;
}

.section-head p {
    color: var(--text-muted);
    margin: 4px 0 0;
}

.section-head .see-all {
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

/* =========================================================================
   Post cards / grid
   ========================================================================= */

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
}

.post-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-surface);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover {
    box-shadow: var(--shadow-medium);
}
/* Fallback lift for browsers/pages where JS hasn't attached data-tilt handlers yet */
.post-card:hover:not([data-tilt-active]) {
    transform: translateY(-4px);
}

.post-card-image {
    aspect-ratio: 4 / 3;
    background: var(--bg-elevated) center/cover no-repeat;
    position: relative;
}

.post-card-body {
    padding: var(--sp-4);
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    flex: 1;
}

.country-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.post-card-body h3 {
    font-size: 17px;
    margin: 0;
}

.post-card-body p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    margin-top: auto;
    padding-top: var(--sp-2);
    font-size: 12px;
    color: var(--text-faint);
}

/* Featured (large) card */
.featured-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--sp-8);
    align-items: center;
    background: var(--bg-surface);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: var(--sp-10);
}

.featured-card-image {
    aspect-ratio: 4 / 3;
    background: var(--bg-elevated) center/cover no-repeat;
    height: 100%;
}

.featured-card-body {
    padding: var(--sp-8) var(--sp-8) var(--sp-8) 0;
}

.featured-card-body h2 {
    font-size: clamp(24px, 3vw, 34px);
    margin: var(--sp-3) 0 var(--sp-3);
}

.featured-card-body p {
    color: var(--text-muted);
    font-size: 16px;
}

/* =========================================================================
   Signature element — promo "voucher" ticket
   A torn-stub boarding-pass card for Klook/Agoda-style promo codes.
   Kept inside the same dark/pill/functional-accent language as the rest
   of the system: the accent is the "stamp", everything else stays quiet.
   ========================================================================= */

.promo-ticket {
    display: grid;
    grid-template-columns: 1fr auto;
    background: var(--bg-elevated);
    border-radius: var(--r-md);
    position: relative;
    box-shadow: var(--shadow-medium);
}

.promo-ticket::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 132px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-base);
}
.promo-ticket::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 132px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-base);
}

.promo-ticket-main {
    padding: var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.promo-ticket-partner {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
}

.promo-ticket-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-loud);
}

.promo-ticket-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.promo-ticket-stub {
    width: 132px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: var(--sp-4);
    border-left: 2px dashed var(--border);
    text-align: center;
}

.promo-ticket-code {
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-base);
    background: var(--bg-card);
    border-radius: var(--r-xs);
    padding: 4px 8px;
    letter-spacing: 0.5px;
}

.promo-ticket-claim {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
}

/* =========================================================================
   Article / post show
   ========================================================================= */

.article-header {
    padding: var(--sp-10) 0 var(--sp-6);
}

.article-cover {
    width: 100%;
    aspect-ratio: 16/7;
    border-radius: var(--r-lg);
    background: var(--bg-elevated) center/cover no-repeat;
    margin-top: var(--sp-6);
}

.article-title {
    font-size: clamp(28px, 4vw, 44px);
    max-width: 820px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    color: var(--text-muted);
    font-size: 14px;
    margin-top: var(--sp-3);
}

.article-body {
    max-width: 720px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: #dbe4ec;
}

.article-body h2 { font-size: 24px; margin-top: 1.6em; }
.article-body h3 { font-size: 19px; margin-top: 1.4em; }
.article-body img { border-radius: var(--r-md); margin: var(--sp-5) 0; }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin-bottom: 1em; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body blockquote {
    border-left: 3px solid var(--accent);
    padding-left: var(--sp-4);
    color: var(--text-muted);
    font-style: italic;
    margin: var(--sp-5) 0;
}

.article-promos {
    max-width: 720px;
    margin: var(--sp-8) auto;
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

/* =========================================================================
   Subscribe / CTA blocks
   ========================================================================= */

.cta-band {
    background: var(--bg-surface);
    border-radius: var(--r-lg);
    padding: var(--sp-10) var(--sp-8);
    text-align: center;
}

.cta-band h2 { font-size: 28px; }
.cta-band p { color: var(--text-muted); max-width: 480px; margin: 0 auto var(--sp-5); }

.subscribe-form {
    display: flex;
    gap: var(--sp-2);
    max-width: 420px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.subscribe-form input[type="email"] {
    flex: 1;
    min-width: 220px;
    background: var(--bg-elevated);
    border: none;
    box-shadow: var(--shadow-inset);
    border-radius: var(--r-pill);
    padding: 14px 20px;
    color: var(--text-base);
    font-size: 14px;
    font-family: var(--font-ui);
}
.subscribe-form input[type="email"]::placeholder { color: var(--text-faint); }
.subscribe-form input[type="email"]:focus { outline: 1px solid var(--accent); }

.subscribe-hint {
    color: var(--text-faint);
    font-size: 12px;
    margin-top: var(--sp-3);
}

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* =========================================================================
   Flash messages
   ========================================================================= */

.flash {
    max-width: var(--container);
    margin: var(--sp-4) auto 0;
    padding: 0 var(--sp-5);
}

.flash-message {
    padding: 12px 20px;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--sp-3);
}
.flash-message.success { background: rgba(207, 233, 74, 0.12); color: var(--accent); border: 1px solid rgba(207, 233, 74, 0.3); }
.flash-message.error { background: rgba(224, 119, 111, 0.12); color: var(--negative); border: 1px solid rgba(224, 119, 111, 0.3); }

/* =========================================================================
   Search / filter bar
   ========================================================================= */

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-bottom: var(--sp-6);
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-elevated);
    box-shadow: var(--shadow-inset);
    border-radius: var(--r-pill);
    padding: 12px 20px;
    flex: 1;
    min-width: 220px;
    max-width: 360px;
}
.search-box input {
    border: none;
    background: transparent;
    color: var(--text-base);
    font-size: 14px;
    font-family: var(--font-ui);
    outline: none;
    width: 100%;
}
.search-box svg { flex-shrink: 0; color: var(--text-faint); }

.chip-row {
    display: flex;
    gap: var(--sp-2);
    flex-wrap: wrap;
}

.chip {
    padding: 8px 16px;
    border-radius: var(--r-pill);
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
}
.chip.active, .chip:hover { background: var(--accent); color: var(--accent-ink); }

/* =========================================================================
   Downloads / templates
   ========================================================================= */

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
}

.download-card {
    background: var(--bg-surface);
    border-radius: var(--r-md);
    padding: var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

.download-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-sm);
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
}

.gate-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--warning);
}

.gate-form {
    background: var(--bg-elevated);
    border-radius: var(--r-md);
    padding: var(--sp-6);
    max-width: 420px;
}

/* Generic form field styling for public-site forms (e.g. the download email
   gate). Layered one tier lighter than whatever surface it sits in — inside
   .gate-form (--bg-elevated) that's --bg-card, giving clear separation. */
.field {
    margin-bottom: var(--sp-4);
}

.input {
    width: 100%;
    background: var(--bg-card);
    border: none;
    box-shadow: var(--shadow-inset);
    border-radius: var(--r-sm);
    padding: 12px 16px;
    color: var(--text-base);
    font-size: 14px;
    font-family: var(--font-ui);
}
.input::placeholder { color: var(--text-faint); }
.input:focus { outline: 1px solid var(--accent); }

.field-error {
    font-size: 12px;
    color: var(--negative);
    margin-top: 6px;
}

/* =========================================================================
   Pagination
   ========================================================================= */

.pagination-wrap { margin-top: var(--sp-8); display: flex; justify-content: center; }
.pagination-wrap nav > div { display: flex; gap: 6px; align-items: center; }
.pagination-wrap a, .pagination-wrap span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--r-pill);
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
}
.pagination-wrap .active span,
.pagination-wrap span[aria-current] { background: var(--accent); color: var(--accent-ink); }

/* =========================================================================
   Footer
   ========================================================================= */

.site-footer {
    border-top: 1px solid var(--border-soft);
    padding: var(--sp-12) 0 var(--sp-8);
    margin-top: var(--sp-12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: var(--sp-8);
    margin-bottom: var(--sp-10);
}

.footer-grid h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-faint);
    margin-bottom: var(--sp-3);
}

.footer-grid a {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    padding: 4px 0;
}
.footer-grid a:hover { color: var(--text-base); }

.footer-social {
    display: flex;
    gap: var(--sp-2);
    margin-top: var(--sp-3);
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--text-muted);
}
.footer-social a:hover { background: var(--accent); color: var(--accent-ink); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--sp-6);
    border-top: 1px solid var(--border-soft);
    color: var(--text-faint);
    font-size: 13px;
    flex-wrap: wrap;
    gap: var(--sp-3);
}

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 960px) {
    .post-grid, .download-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-card { grid-template-columns: 1fr; }
    .featured-card-body { padding: var(--sp-6); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .main-nav { display: none; }
    .nav-toggle { display: flex; }
    .main-nav.open {
        display: flex;
        position: absolute;
        top: calc(100% + 6px);
        left: var(--sp-3);
        right: var(--sp-3);
        flex-direction: column;
        align-items: stretch;
        gap: var(--sp-2);
        background: var(--bg-surface);
        border: 1px solid var(--border);
        border-radius: var(--r-lg);
        padding: var(--sp-3);
        box-shadow: var(--shadow-heavy);
        max-height: calc(100vh - 110px);
        overflow-y: auto;
    }

    /* Dropdowns expand inline on mobile instead of floating over the page,
       and only on tap (no hover state on touch). */
    .main-nav.open .nav-item { width: 100%; }
    .main-nav.open .nav-pill {
        width: 100%;
        justify-content: space-between;
        border-radius: var(--r-sm);
    }
    .main-nav.open .nav-pill-link { flex: 1; }
    .main-nav.open .nav-caret { padding: 10px 14px; }

    .main-nav.open .nav-dropdown {
        position: static;
        min-width: 0;
        padding-top: var(--sp-2);
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .main-nav.open .nav-item:hover .nav-dropdown { display: none; }
    .main-nav.open .nav-item.is-open .nav-dropdown { display: block; }

    .main-nav.open .nav-dropdown-panel {
        box-shadow: none;
        background: var(--bg-base);
    }
    .main-nav.open .nav-item:hover .nav-caret { transform: none; }
    .main-nav.open .nav-item.is-open .nav-caret { transform: rotate(180deg); }
}

@media (max-width: 640px) {
    .post-grid, .download-grid { grid-template-columns: 1fr; }
    .promo-ticket { grid-template-columns: 1fr; }
    .promo-ticket-stub { border-left: none; border-top: 2px dashed var(--border); }
    .promo-ticket::before, .promo-ticket::after { display: none; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .article-meta { flex-wrap: wrap; }
}

/* =========================================================================
   Animation — scroll reveals, hero text stagger, hover tilt

   Progressive enhancement: everything is fully visible by default. The
   hidden-until-revealed states only apply once `.js` is confirmed on <html>
   (swapped from `.no-js` by a blocking inline script in the layout head),
   so content never disappears for no-JS browsers, crawlers, or if a script
   fails to load. `prefers-reduced-motion` is also respected throughout.
   ========================================================================= */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(.16,.84,.44,1), transform 0.7s cubic-bezier(.16,.84,.44,1);
    transition-delay: var(--reveal-delay, 0ms);
}

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

/* Stagger grid items (post-grid / download-grid) without any JS timing logic */
.js .post-grid [data-reveal]:nth-child(1) { --reveal-delay: 0ms; }
.js .post-grid [data-reveal]:nth-child(2) { --reveal-delay: 80ms; }
.js .post-grid [data-reveal]:nth-child(3) { --reveal-delay: 160ms; }
.js .post-grid [data-reveal]:nth-child(4) { --reveal-delay: 0ms; }
.js .post-grid [data-reveal]:nth-child(5) { --reveal-delay: 80ms; }
.js .post-grid [data-reveal]:nth-child(6) { --reveal-delay: 160ms; }
.js .download-grid [data-reveal]:nth-child(1) { --reveal-delay: 0ms; }
.js .download-grid [data-reveal]:nth-child(2) { --reveal-delay: 80ms; }
.js .download-grid [data-reveal]:nth-child(3) { --reveal-delay: 160ms; }
.js .article-promos [data-reveal]:nth-child(1) { --reveal-delay: 0ms; }
.js .article-promos [data-reveal]:nth-child(2) { --reveal-delay: 90ms; }
.js .article-promos [data-reveal]:nth-child(3) { --reveal-delay: 180ms; }

/* Hero word-by-word stagger — runs once on load, not scroll-triggered */
.js .hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(18px);
    animation: hero-word-in 0.6s cubic-bezier(.16,.84,.44,1) forwards;
    animation-delay: calc(var(--i, 0) * 45ms + 120ms);
}

.js .hero-fade-in {
    opacity: 0;
    animation: hero-fade-in 0.7s ease forwards;
    animation-delay: var(--fade-delay, 0ms);
}

@keyframes hero-word-in {
    to { opacity: 1; transform: none; }
}

@keyframes hero-fade-in {
    to { opacity: 1; }
}

/* Hover tilt — cards tilt toward the cursor via JS-set custom properties */
.js [data-tilt] {
    transform: perspective(900px) rotateX(var(--tilt-ry, 0deg)) rotateY(var(--tilt-rx, 0deg)) translateY(var(--tilt-ty, 0px));
    transition: transform 0.15s ease-out, box-shadow 0.25s ease;
}

/* Smooth color/background transitions on interactive elements that lacked them */
.chip,
.country-pill,
.footer-social a,
.btn,
.a-btn {
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover,
.a-btn-primary:hover {
    transform: translateY(-1px) scale(1.02);
}

.promo-ticket {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.promo-ticket:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.download-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.download-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.featured-card {
    transition: box-shadow 0.25s ease;
}
.featured-card:hover {
    box-shadow: var(--shadow-heavy);
}

/* Respect reduced motion: disable all of the above, show everything as-is */
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal],
    .js .hero-word,
    .js .hero-fade-in {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
    .js [data-tilt] {
        transform: none !important;
        transition: none !important;
    }
    .btn:hover,
    .a-btn-primary:hover,
    .post-card:hover,
    .promo-ticket:hover,
    .download-card:hover {
        transform: none;
    }
    html.lenis, html.lenis body { scroll-behavior: auto; }
}

/* =========================================================================
   Embedded content — responsive video / maps, galleries, tables, preview bar
   Added for the rich-editor upgrade. Uses the same tokens as the rest of the
   system so embeds sit quietly inside article bodies.
   ========================================================================= */

/* Responsive 16:9 frame for YouTube + maps */
.egt-embed { margin: var(--sp-6) 0; }
.egt-embed--video,
.egt-embed--map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--bg-elevated);
    box-shadow: var(--shadow-medium);
}
.egt-embed--video iframe,
.egt-embed--map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.egt-embed--map { padding-top: 45%; }

/* IG / TikTok blockquotes centre themselves; just give breathing room */
.egt-embed--ig,
.egt-embed--tiktok { margin: var(--sp-6) auto; }

/* Image gallery grid */
.egt-gallery {
    display: grid;
    gap: var(--sp-2);
    margin: var(--sp-6) 0;
    grid-template-columns: repeat(2, 1fr);
}
.egt-gallery--cols-3 { grid-template-columns: repeat(3, 1fr); }
.egt-gallery__item {
    display: block;
    border-radius: var(--r-sm);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--bg-elevated);
    cursor: zoom-in;
}
.egt-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.egt-gallery__item:hover img { transform: scale(1.05); }

/* Lightbox overlay */
.egt-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-5);
    cursor: zoom-out;
}
.egt-lightbox img {
    max-width: 92vw;
    max-height: 92vh;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-heavy);
}

/* Content tables */
.egt-table-wrap { margin: var(--sp-6) 0; overflow-x: auto; border-radius: var(--r-md); }
.egt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: var(--bg-surface);
    overflow: hidden;
}
.egt-table th,
.egt-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
}
.egt-table thead th {
    background: var(--bg-elevated);
    color: var(--text-loud);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.egt-table tbody tr:last-child td { border-bottom: none; }
.egt-table tbody tr:hover { background: var(--bg-elevated); }

/* In-content images uploaded via the editor */
.article-body .egt-gallery img,
.article-body img { border-radius: var(--r-md); }

/* Admin preview banner */
.preview-bar {
    max-width: var(--container);
    margin: var(--sp-4) auto 0;
    padding: 12px 20px;
    border-radius: var(--r-pill);
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    width: calc(100% - var(--sp-10));
}

@media (max-width: 640px) {
    .egt-gallery,
    .egt-gallery--cols-3 { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================================
   Voucher popup — HOMEPAGE ONLY, corner panel (not a blocking modal).
   Slides up from the bottom-left, leaves the page usable behind it, and
   keeps the boarding-pass ticket language: dashed stub, mono code chip,
   lime accent used functionally.
   ========================================================================= */
.promo-popup {
    position: fixed;
    left: var(--sp-6);
    bottom: var(--sp-6);
    z-index: 200;
    width: min(380px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.promo-popup[hidden] { display: none !important; }

.promo-popup.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.promo-popup-card {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 48px);
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.55) 0px 20px 50px;
}

/* Lime header strip — the one loud element, like the banner */
.promo-popup-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
    padding: 10px var(--sp-3) 10px var(--sp-5);
    background: var(--accent);
    color: var(--accent-ink);
    flex-shrink: 0;
}

.promo-popup-kicker {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.promo-popup-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border: none;
    border-radius: var(--r-pill);
    background: transparent;
    color: var(--accent-ink);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, background 0.2s ease;
}
.promo-popup-close:hover { opacity: 1; background: rgba(10, 26, 46, 0.15); }

.promo-popup-body {
    padding: var(--sp-5);
    overflow-y: auto;
}

.promo-popup-title {
    font-family: var(--font-display, 'Bricolage Grotesque', sans-serif);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-loud);
    margin: 0 0 6px;
}

.promo-popup-sub {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0 0 var(--sp-4);
}

.promo-popup-list {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
}

/* Ticket: content on top, perforated stub below (narrow panel = stacked) */
.pp-ticket {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-elevated);
    border-radius: var(--r-md);
    overflow: hidden;
}

.pp-ticket-main {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: var(--sp-3) var(--sp-4);
}

.pp-ticket-flag {
    align-self: flex-start;
    margin-bottom: 2px;
    padding: 2px 7px;
    border-radius: var(--r-xs);
    background: var(--accent);
    color: var(--accent-ink);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pp-ticket-partner {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent);
}

.pp-ticket-desc {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-loud);
    line-height: 1.3;
}

.pp-ticket-note {
    font-size: 12px;
    color: var(--text-faint);
}

/* Stub — separated by the perforation line + notches */
.pp-ticket-stub {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-4);
    border-top: 2px dashed var(--border);
}

.pp-ticket-stub::before,
.pp-ticket-stub::after {
    content: '';
    position: absolute;
    top: -8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-surface);
}
.pp-ticket-stub::before { left: -7px; }
.pp-ticket-stub::after { right: -7px; }

.promo-popup-code {
    flex: 1;
    padding: 8px 10px;
    border: 1px dashed var(--border);
    border-radius: var(--r-sm);
    background: var(--bg-card);
    color: var(--text-loud);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.promo-popup-code:hover { background: var(--bg-card-alt); }
.promo-popup-code.is-copied { background: var(--accent); color: var(--accent-ink); border-style: solid; }

.pp-ticket-claim {
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: var(--r-sm);
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: filter 0.2s ease;
}
.pp-ticket-claim:hover { filter: brightness(1.08); }

/* Best-deal ticket — inverted, accent-bordered */
.pp-ticket.is-best {
    background: var(--bg-card);
    box-shadow: inset 0 0 0 1px var(--accent-border);
}
.pp-ticket.is-best .pp-ticket-stub::before,
.pp-ticket.is-best .pp-ticket-stub::after { background: var(--bg-surface); }

.promo-popup-fineprint {
    margin: var(--sp-4) 0 0;
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-faint);
    text-align: center;
}

/* Mobile — full-width bottom sheet */
@media (max-width: 640px) {
    .promo-popup {
        left: var(--sp-3);
        right: var(--sp-3);
        bottom: var(--sp-3);
        width: auto;
    }
    .promo-popup-title { font-size: 22px; }
    .promo-popup-card { max-height: 80vh; }
}

@media (prefers-reduced-motion: reduce) {
    .promo-popup { transition: none; }
}

/* =========================================================================
   Site backdrop — decorative layer behind all content (vectors, blobs, grid)
   Fixed + z-index:-1 so it shows through --bg-base on every page; any card
   or panel with its own background naturally covers it. Gradients only for
   the glows (no filter:blur) to stay cheap on mobile.
   ========================================================================= */
.site-backdrop {
    position: absolute; /* inside .site-sheet (fixed would be hidden behind the sheet's bg) */
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Faint blueprint grid, fading out toward the bottom */
.bd-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(148, 166, 184, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(148, 166, 184, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.25) 55%, transparent 90%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), rgba(0,0,0,0.25) 55%, transparent 90%);
}

/* Soft glow blobs */
.bd-glow {
    position: absolute;
    border-radius: 50%;
}
.bd-glow--lime {
    background: radial-gradient(circle, rgba(207, 233, 74, 0.10) 0%, rgba(207, 233, 74, 0.035) 40%, transparent 70%);
}
.bd-glow--blue {
    background: radial-gradient(circle, rgba(111, 168, 217, 0.10) 0%, rgba(111, 168, 217, 0.035) 40%, transparent 70%);
}
.bd-glow-1 { width: 640px; height: 640px; top: -220px; right: -160px; }
.bd-glow-2 { width: 560px; height: 560px; top: 34%; left: -240px; }
.bd-glow-3 { width: 700px; height: 700px; bottom: -280px; right: 8%; }

/* Dashed flight path + plane, upper area */
.bd-flightpath {
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1100px, 120vw);
    color: var(--accent);
    opacity: 0.10;
}

/* Location-pin rings, bottom-left */
.bd-pins {
    position: absolute;
    bottom: 6%;
    left: 3%;
    width: 180px;
    color: var(--announce);
    opacity: 0.14;
}

/* Organic blob outline, right side */
.bd-blob {
    position: absolute;
    top: 52%;
    right: -70px;
    width: 300px;
    color: var(--accent);
    opacity: 0.10;
    animation: bd-drift 26s ease-in-out infinite alternate;
}

@keyframes bd-drift {
    from { transform: translateY(-14px) rotate(-3deg); }
    to   { transform: translateY(14px) rotate(4deg); }
}

@media (max-width: 720px) {
    .bd-glow-1 { width: 420px; height: 420px; }
    .bd-glow-2, .bd-glow-3 { width: 380px; height: 380px; }
    .bd-blob { width: 200px; right: -60px; }
    .bd-pins { width: 120px; }
}

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

/* =========================================================================
   WANDER-style homepage sections — dark-theme translation of the reference:
   pitch + icon feature cards, live stats row, destinations panel, 1-2-3 steps
   ========================================================================= */

/* Why band — pitch left, stacked icon cards right */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--sp-10);
    align-items: start;
}

.why-pitch h2 { font-size: 28px; }
.why-pitch p { color: var(--text-muted); max-width: 44ch; }

.why-social {
    display: flex;
    gap: var(--sp-3);
    margin-top: var(--sp-4);
}
.why-social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: var(--r-pill);
    background: var(--bg-elevated);
    color: var(--text-muted);
    transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.why-social a:hover { color: var(--accent-ink); background: var(--accent); transform: translateY(-2px); }

.why-cards {
    display: grid;
    gap: var(--sp-4);
}

.why-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--sp-4);
    align-items: start;
    padding: var(--sp-5);
    background: var(--bg-elevated);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-medium);
}
.why-card h3 { font-size: 16px; margin: 2px 0 4px; }
.why-card p { font-size: 14px; color: var(--text-muted); margin: 0; }

.why-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: var(--r-md);
    background: var(--bg-card);
    color: var(--accent);
}

/* Middle card flipped to the accent, like the reference's highlighted card */
.why-card--accent { background: var(--accent); }
.why-card--accent h3 { color: var(--accent-ink); }
.why-card--accent p { color: rgba(10, 26, 46, 0.75); }
.why-card--accent .why-icon { background: rgba(10, 26, 46, 0.12); color: var(--accent-ink); }

/* Stats row with circular icons */
.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-5);
    margin-top: var(--sp-8);
    text-align: center;
}

.stat { display: grid; justify-items: center; gap: 4px; }

.stat-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: var(--r-pill);
    background: var(--bg-elevated);
    color: var(--accent);
    margin-bottom: var(--sp-2);
}

.stat strong {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-loud);
    letter-spacing: -0.02em;
}
.stat > span:last-child {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 22ch;
}

/* Destinations panel — the "Top Destinations" surface from the reference */
.dest-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-lg);
    padding: var(--sp-8) var(--sp-6);
}

.dest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--sp-4);
}

.dest-chip {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: var(--sp-3);
    padding: var(--sp-4);
    background: var(--bg-elevated);
    border-radius: var(--r-md);
    text-decoration: none;
    color: var(--text-base);
    transition: background 0.15s ease, transform 0.15s ease;
}
.dest-chip:hover { background: var(--bg-card); transform: translateY(-2px); }

.dest-pin {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: var(--r-pill);
    background: var(--bg-card);
    color: var(--accent);
}

.dest-info { display: grid; }
.dest-info strong { font-size: 15px; color: var(--text-loud); }
.dest-info span { font-size: 12px; color: var(--text-muted); }

.dest-arrow { color: var(--accent); font-weight: 700; opacity: 0; transform: translateX(-4px); transition: opacity 0.15s ease, transform 0.15s ease; }
.dest-chip:hover .dest-arrow { opacity: 1; transform: none; }

/* 1-2-3 steps band */
.steps-title { text-align: center; font-size: 26px; margin-bottom: var(--sp-8); }

.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
}

.step {
    position: relative;
    padding: var(--sp-6) var(--sp-5);
    background: var(--bg-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-lg);
}
.step h3 { font-size: 16px; margin: var(--sp-3) 0 var(--sp-2); }
.step p { font-size: 14px; color: var(--text-muted); margin: 0; }

.step-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: var(--r-pill);
    background: var(--bg-elevated);
    color: var(--accent);
}

.step-num {
    position: absolute;
    top: var(--sp-5);
    right: var(--sp-5);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent);
}

@media (max-width: 900px) {
    .why-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
    .steps-row { grid-template-columns: 1fr; }
    /* Tighter stacked stats on phones (client feedback: too much vertical
       air between icon / number / caption). Kept even though the homepage
       now uses .proof-strip, in case the numeric stats return. */
    .stat-row { grid-template-columns: 1fr; gap: var(--sp-5); }
    .stat { gap: 2px; }
    .stat-icon { width: 38px; height: 38px; margin-bottom: var(--sp-1); }
    .stat strong { font-size: 24px; }
}

/* =========================================================================
   WANDER exact-layout pass — framed sheet, photo hero, destination photo
   cards with carousel, packages band. Colors stay in the house palette.
   ========================================================================= */

/* Framed sheet — the whole site sits on a rounded surface over a darker canvas */
body { background: #050e19; }

.site-sheet {
    position: relative;
    overflow: clip;
    max-width: 1400px;
    margin: var(--sp-5) auto;
    background: var(--bg-base);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
}

/* Content stays above the (absolute) backdrop inside the sheet.
   .site-header excluded — it's position:sticky (already stacked at z-index 40),
   and forcing relative here would break the stickiness. */
.site-sheet > *:not(.site-backdrop):not(.site-header) { position: relative; z-index: 1; }

@media (max-width: 900px) {
    .site-sheet { margin: 0; border-radius: 0; border: none; }
}

/* Header actions get tighter on phones — the Subscribe pill was eating the row */
@media (max-width: 640px) {
    .header-actions { gap: var(--sp-2); }
    .header-actions .btn-sm {
        padding: 7px 12px;
        font-size: 10px;
        letter-spacing: 0.6px;
    }
    .nav-toggle { width: 34px; height: 34px; }
    .brand { width: 111px; height: 32px; }
    .site-header-inner {
        gap: var(--sp-3);
        padding-top: var(--sp-3);
        padding-bottom: var(--sp-3);
    }
}

/* Header search pill */
.header-search {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-pill);
    padding: 7px 14px;
    color: var(--text-muted);
}
.header-search input {
    border: none;
    background: transparent;
    color: var(--text-base);
    font-family: var(--font-ui);
    font-size: 13px;
    width: 210px;
    outline: none;
}
.header-search input::placeholder { color: var(--text-faint); }
@media (max-width: 1100px) { .header-search input { width: 130px; } }
@media (max-width: 900px) { .header-search { display: none; } }

/* Photo hero — rounded image with giant wordmark, like the reference */
.photo-hero {
    position: relative;
    margin-top: var(--sp-5);
    min-height: clamp(360px, 52vw, 560px);
    border-radius: 20px;
    overflow: hidden;
    background-color: var(--bg-card);
    background-image: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 60%, var(--bg-surface) 100%);
    background-size: cover;
    background-position: center;
    display: grid;
    place-items: center;
}

.photo-hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5, 14, 25, 0.15) 0%, rgba(5, 14, 25, 0.35) 60%, rgba(5, 14, 25, 0.65) 100%);
}

.photo-hero-content {
    position: relative;
    text-align: center;
    padding: var(--sp-10) var(--sp-4);
    max-width: 720px;
}

.photo-hero-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(52px, 11vw, 128px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 0.95;
    color: #ffffff;
    text-shadow: 0 4px 40px rgba(5, 14, 25, 0.45);
}

.photo-hero-sub {
    margin: var(--sp-4) auto var(--sp-6);
    max-width: 52ch;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    text-shadow: 0 2px 16px rgba(5, 14, 25, 0.6);
}

.photo-hero .hero-actions { justify-content: center; }

/* Frosted secondary button for use over photos */
.btn-glass {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(4px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.24); }

/* Featured-guide chip pinned to the hero's bottom-left */
.photo-hero-featured {
    position: absolute;
    left: var(--sp-5);
    bottom: var(--sp-5);
    display: grid;
    gap: 2px;
    padding: var(--sp-3) var(--sp-4);
    background: rgba(5, 14, 25, 0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--r-md);
    text-decoration: none;
    max-width: min(420px, 70%);
    transition: background 0.15s ease;
}
.photo-hero-featured:hover { background: rgba(5, 14, 25, 0.75); }
.phf-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
}
.phf-title { font-size: 13px; font-weight: 600; color: #ffffff; }

@media (max-width: 640px) {
    .photo-hero-featured { position: static; margin: 0 var(--sp-4) var(--sp-4); max-width: none; }
    .photo-hero { display: flex; flex-direction: column; justify-content: center; }
    .photo-hero-content { flex: 1; display: grid; place-content: center; }
}

/* Destinations panel — head with blurb right, photo-card carousel */
.dest-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--sp-6);
    margin-bottom: var(--sp-6);
}
.dest-panel-head h2 { font-size: 24px; margin: 0; }
.dest-panel-head p { margin: 0; color: var(--text-muted); font-size: 14px; max-width: 46ch; text-align: right; }
@media (max-width: 720px) {
    .dest-panel-head { flex-direction: column; align-items: flex-start; }
    .dest-panel-head p { text-align: left; }
}

.dest-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 250px);
    gap: var(--sp-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: var(--sp-2);
    scrollbar-width: none;
}
.dest-track::-webkit-scrollbar { display: none; }

.dest-card {
    position: relative;
    scroll-snap-align: start;
    aspect-ratio: 4 / 5;
    border-radius: var(--r-md);
    overflow: hidden;
    background-color: var(--bg-card);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.dest-card:hover { transform: translateY(-4px); }
.dest-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 14, 25, 0.82) 0%, rgba(5, 14, 25, 0.15) 55%, rgba(5, 14, 25, 0.05) 100%);
}

.dest-card-chip {
    position: absolute;
    top: var(--sp-3);
    right: var(--sp-3);
    z-index: 1;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent-ink);
    background: var(--accent);
    padding: 4px 10px;
    border-radius: var(--r-pill);
}

.dest-card-body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 3px;
    padding: var(--sp-4);
}
.dest-card-body strong { font-size: 18px; font-weight: 800; color: #ffffff; }
.dest-card-sub { font-size: 12px; color: rgba(255, 255, 255, 0.85); }
.dest-card-region {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
}

.dest-panel-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--sp-5);
}

.dest-arrows { display: flex; gap: var(--sp-2); }
.dest-arrow-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--r-pill);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-base);
    font-size: 16px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.dest-arrow-btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Packages band — text card + photo cards, like "Tour Packages" */
.pkg-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: var(--sp-4);
}

.pkg-text-card {
    display: grid;
    align-content: center;
    justify-items: start;
    gap: var(--sp-3);
    padding: var(--sp-8) var(--sp-6);
    background: var(--bg-card);
    border-radius: var(--r-lg);
}
.pkg-text-card h2 { font-size: 24px; margin: 0; }
.pkg-text-card p { margin: 0; color: var(--text-muted); font-size: 14px; }

.pkg-photo-card {
    position: relative;
    min-height: 300px;
    border-radius: var(--r-lg);
    overflow: hidden;
    background-color: var(--bg-elevated);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--sp-5);
    text-decoration: none;
    transition: transform 0.2s ease;
}
.pkg-photo-card:hover { transform: translateY(-4px); }
.pkg-photo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 14, 25, 0.85) 0%, rgba(5, 14, 25, 0.25) 55%, rgba(5, 14, 25, 0.1) 100%);
}

.pkg-icon {
    position: absolute;
    top: var(--sp-4);
    left: var(--sp-4);
    z-index: 1;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.pkg-photo-body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 4px;
}
.pkg-photo-body strong { font-size: 17px; font-weight: 800; color: #ffffff; }
.pkg-photo-body span { font-size: 13px; color: rgba(255, 255, 255, 0.82); }

@media (max-width: 900px) {
    .pkg-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   Travel-document labeling — the site's signature system, extended from the
   boarding-pass promo tickets: mono field labels like a flight coupon.
   ========================================================================= */
.field-label {
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: var(--sp-3);
}
.field-label::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--accent);
}
.field-label strong { color: var(--accent); font-weight: 600; }

/* Mono strip under the hero wordmark — reads like a ticket's route line */
.photo-hero-route {
    display: inline-block;
    margin-top: var(--sp-3);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 12px rgba(5, 14, 25, 0.6);
}
.photo-hero-route .sep { color: var(--accent); padding: 0 6px; }

/* ============================================================
   Hotel Reviews module
   ============================================================ */

.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.star-rating .star {
    color: var(--border);
}

.star-rating .star-filled {
    color: var(--warning);
}

.star-rating-value {
    margin-left: 6px;
    font-weight: 700;
    font-size: 0.85em;
    color: var(--text-muted);
}

.hotel-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2, 8px);
    flex-wrap: wrap;
}

.hotel-location {
    color: var(--text-faint);
    font-size: 13px;
    margin-top: -4px;
}

.hotel-review-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-4, 16px);
    flex-wrap: wrap;
    margin: var(--sp-3, 12px) 0;
}

.hotel-summary-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-muted);
    font-size: 14px;
}

.hotel-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4, 16px);
    max-width: 720px;
    margin: var(--sp-8, 32px) auto 0;
}

.hotel-pros-cons .pros-card,
.hotel-pros-cons .cons-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md, 12px);
    padding: var(--sp-5, 20px);
}

.hotel-pros-cons .pros-card {
    border-top: 3px solid var(--accent);
}

.hotel-pros-cons .cons-card {
    border-top: 3px solid var(--negative);
}

.hotel-pros-cons h3 {
    font-size: 15px;
    margin: 0 0 var(--sp-3, 12px);
}

.hotel-pros-cons ul {
    margin: 0;
    padding-left: 18px;
    color: var(--text-muted);
    font-size: 14px;
    display: grid;
    gap: 6px;
}

.hotel-verdict {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4, 16px);
    flex-wrap: wrap;
    max-width: 720px;
    margin: var(--sp-6, 24px) auto 0;
    background: var(--bg-elevated);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-md, 12px);
    padding: var(--sp-5, 20px) var(--sp-6, 24px);
}

.hotel-verdict h3 {
    margin: 0 0 var(--sp-2, 8px);
    font-size: 16px;
}

@media (max-width: 640px) {
    .hotel-pros-cons {
        grid-template-columns: 1fr;
    }

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

/* =========================================================================
   Subscribe modal (header Subscribe button)
   Blocking dialog + backdrop, boarding-pass ticket shape.
   ========================================================================= */

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

.subscribe-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-5);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.subscribe-modal[hidden] { display: none !important; }
.subscribe-modal.is-visible { opacity: 1; }

.subscribe-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 14, 25, 0.72);
    backdrop-filter: blur(4px);
}

.subscribe-modal-card {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 720px;
    max-height: 90vh;
    overflow: auto;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-heavy);
    transform: translateY(14px) scale(0.98);
    transition: transform 0.25s ease;
}
.subscribe-modal.is-visible .subscribe-modal-card {
    transform: translateY(0) scale(1);
}

.subscribe-modal-close {
    position: absolute;
    top: var(--sp-3);
    right: var(--sp-3);
    z-index: 2;
    display: grid;
    place-items: center;
    width: 30px; height: 30px;
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    background: var(--bg-elevated);
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}
.subscribe-modal-close:hover { color: var(--text-loud); background: var(--bg-card); }

/* --- Ticket stub --- */
.subscribe-modal-stub {
    position: relative;
    flex: 0 0 190px;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    padding: var(--sp-6);
    background: var(--accent);
    color: var(--accent-ink);
    border-radius: var(--r-lg) 0 0 var(--r-lg);
    /* perforation */
    border-right: 2px dashed rgba(10, 26, 46, 0.35);
}
/* notches sa perforation line */
.subscribe-modal-stub::before,
.subscribe-modal-stub::after {
    content: "";
    position: absolute;
    right: -11px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--bg-surface);
}
.subscribe-modal-stub::before { top: -10px; }
.subscribe-modal-stub::after { bottom: -10px; }

.sm-stub-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.7;
}
.sm-stub-code {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--sp-2);
}
.sm-stub-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
}
.sm-stub-meta b { font-weight: 600; }
.sm-stub-barcode {
    margin-top: auto;
    height: 40px;
    border-radius: var(--r-xs);
    background-image: repeating-linear-gradient(
        90deg,
        var(--accent-ink) 0 2px,
        transparent 2px 4px,
        var(--accent-ink) 4px 5px,
        transparent 5px 9px
    );
    opacity: 0.75;
}

/* --- Body --- */
.subscribe-modal-body {
    flex: 1;
    padding: var(--sp-8);
    min-width: 0;
}

.subscribe-modal-kicker {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--sp-3);
}

.subscribe-modal-title {
    font-family: var(--font-display);
    font-size: 30px;
    line-height: 1.1;
    color: var(--text-loud);
    margin-bottom: var(--sp-2);
}

.subscribe-modal-sub {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--sp-5);
}

.subscribe-modal-form {
    display: flex;
    gap: var(--sp-2);
    flex-wrap: wrap;
}
.subscribe-modal-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    background: var(--bg-elevated);
    border: none;
    box-shadow: var(--shadow-inset);
    border-radius: var(--r-pill);
    padding: 13px 18px;
    color: var(--text-base);
    font-size: 14px;
    font-family: var(--font-ui);
}
.subscribe-modal-form input[type="email"]::placeholder { color: var(--text-faint); }
.subscribe-modal-form input[type="email"]:focus { outline: 1px solid var(--accent); }

.subscribe-modal-error {
    margin-top: var(--sp-3);
    font-size: 13px;
    color: var(--negative);
}

.subscribe-modal-perks {
    list-style: none;
    margin: var(--sp-6) 0 0;
    padding: var(--sp-4) 0 0;
    border-top: 1px solid var(--border-soft);
    display: grid;
    gap: var(--sp-2);
}
.subscribe-modal-perks li {
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    color: var(--text-muted);
}
.subscribe-modal-perks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

/* --- Success state --- */
.subscribe-modal-done { text-align: left; }
.sm-done-icon {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: var(--r-pill);
    background: var(--accent);
    color: var(--accent-ink);
    margin-bottom: var(--sp-4);
}

@media (max-width: 720px) {
    .subscribe-modal-card { flex-direction: column; max-width: 420px; }
    .subscribe-modal-stub {
        flex: 0 0 auto;
        flex-direction: row;
        align-items: center;
        gap: var(--sp-4);
        padding: var(--sp-4) var(--sp-5);
        border-right: none;
        border-bottom: 2px dashed rgba(10, 26, 46, 0.35);
        border-radius: var(--r-lg) var(--r-lg) 0 0;
    }
    .subscribe-modal-stub::before,
    .subscribe-modal-stub::after {
        right: auto;
        top: auto;
        bottom: -11px;
    }
    .subscribe-modal-stub::before { left: -10px; }
    .subscribe-modal-stub::after { right: -10px; }
    .sm-stub-code { margin-bottom: 0; }
    .sm-stub-meta:not(:last-of-type) { display: none; }
    .sm-stub-barcode { margin: 0 0 0 auto; width: 60px; height: 28px; }
    .subscribe-modal-body { padding: var(--sp-6) var(--sp-5); }
    .subscribe-modal-title { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .subscribe-modal,
    .subscribe-modal-card { transition: none; }
}

/* =========================================================================
   July 2026 feedback pass — proof strip + mobile vouchers menu item
   ========================================================================= */

/* Proof strip — replaces the count-based .stat-row on the homepage.
   Brand promises as compact mono chips in the boarding-pass label language;
   wraps tightly on mobile so it reads in one glance. */
.proof-strip {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-top: var(--sp-6);
    padding: 0;
    list-style: none;
}

.proof-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1px dashed var(--border);
    border-radius: var(--r-pill);
    background: var(--bg-elevated);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
}

.proof-chip svg {
    flex-shrink: 0;
    color: var(--accent);
}

@media (max-width: 640px) {
    .proof-strip { gap: var(--sp-1); margin-top: var(--sp-5); }
    .proof-chip {
        padding: 6px 11px;
        font-size: 10px;
        letter-spacing: 0.6px;
        white-space: normal;
    }
}

/* Vouchers item in the mobile hamburger menu — desktop never shows it
   (the left-edge tab handles desktop re-entry). */
.nav-item--vouchers { display: none; }

@media (max-width: 960px) {
    .main-nav.open .nav-item--vouchers { display: block; }
}

.nav-vouchers-btn {
    width: 100%;
    gap: var(--sp-2);
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-ui);
    text-align: left;
}
.nav-vouchers-btn svg { color: var(--accent); flex-shrink: 0; }

/* Hero photo framing — the brand shot (public/images/hero.jpg) is portrait,
   so on wide screens only a horizontal band is visible. Anchoring the crop
   ~a third down keeps Ed's face and the lit body of Taipei 101 in frame
   instead of the empty sky center-crop would show. */
.photo-hero { background-position: center 32%; }

/* =========================================================================
   Split hero — Isla-reference layout (Jul 2026): copy left, rounded portrait
   photo card right, featured guide as a floating card overlapping the photo.
   Replaces the full-bleed .photo-hero on the homepage; the old .photo-hero
   styles are kept above in case any page still uses them.
   ========================================================================= */

.split-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--sp-10);
    align-items: center;
    padding: var(--sp-10) 0 var(--sp-6);
    margin-top: var(--sp-2);
}

.split-hero-kicker {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--sp-4);
}
.split-hero-kicker .sep { color: var(--accent); padding: 0 6px; }

/* Client feedback (Jul 2026): personalised welcome line before the headline. */
.split-hero-welcome {
    display: block;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--sp-2);
}

.split-hero-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.6vw, 58px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--text-loud);
    margin: 0 0 var(--sp-4);
    max-width: 15ch;
}

.split-hero-sub {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.65;
    max-width: 46ch;
    margin: 0 0 var(--sp-6);
}

.split-hero-actions { justify-content: flex-start; }

.split-hero-media {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 480px;
}

.split-hero-photo {
    /* 3:4 matches hero.jpg's intrinsic ratio (1600x2133), so the full photo
       shows uncropped at every viewport. If the photo is ever swapped for a
       different ratio, update this to match the new file. */
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    background: var(--bg-card) center / cover no-repeat;
    box-shadow: var(--shadow-heavy);
}

/* Featured card — overlaps the photo's bottom-left corner like the
   reference's floating stat pill, in the house dark-card language. */
.split-hero-featured {
    position: absolute;
    left: calc(-1 * var(--sp-6));
    bottom: var(--sp-8);
    display: grid;
    gap: 2px;
    max-width: min(320px, 85%);
    padding: var(--sp-3) var(--sp-4);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-heavy);
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
}
.split-hero-featured:hover { transform: translateY(-2px); background: var(--bg-elevated); }

@media (max-width: 900px) {
    .split-hero {
        grid-template-columns: 1fr;
        gap: var(--sp-8);
        padding-top: var(--sp-8);
        text-align: left;
    }
    .split-hero-media { justify-self: stretch; max-width: 480px; margin: 0 auto; }
    /* No aspect override here — the photo keeps its 3:4 ratio on every device. */
    .split-hero-featured { left: var(--sp-3); bottom: var(--sp-3); }
}

@media (max-width: 640px) {
    .split-hero-title { font-size: clamp(30px, 9vw, 38px); }
    .split-hero-sub { font-size: 15px; }
    .split-hero-actions .btn { padding: 12px 20px; font-size: 13px; }
}

/* =========================================================================
   Hero social proof — client feedback (Jul 2026): the hero photo is replaced
   by a faceless metrics dashboard (socials / badges / track record) so the
   homepage answers "why trust ExplorEdd" without scrolling. Values come from
   Admin → Settings (stat_* / badge_* keys).
   ========================================================================= */

.hero-proof {
    display: grid;
    gap: var(--sp-3);
    width: 100%;
    max-width: 480px;
    padding: var(--sp-5);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-heavy);
}

.hero-proof-socials,
.hero-proof-metrics {
    display: grid;
    gap: var(--sp-3);
}
.hero-proof-socials { grid-template-columns: repeat(3, 1fr); }
.hero-proof-metrics { grid-template-columns: repeat(2, 1fr); }

.hp-card {
    display: grid;
    gap: 2px;
    padding: var(--sp-3) var(--sp-3);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    text-align: center;
}

.hp-card strong {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--accent);
    line-height: 1.1;
}

.hp-card span {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-proof-badges {
    /* Client feedback (Jul 2026): fixed 2×2 badge grid — Agoda + GetYourGuide
       on top, Klook + AirAsia (accent) below. Fixed 1fr 1fr, NOT auto-fit:
       auto-fit created a third column on desktop and clipped the labels. */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2);
}
@media (max-width: 360px) {
    /* Only on the narrowest phones the pills stack full-width so the longest
       label ("AirAsia Move Kreator") never overflows its half-width cell. */
    .hero-proof-badges { grid-template-columns: 1fr; }
}

.hp-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: 7px;
    padding: 8px 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-base);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    white-space: nowrap;
}
.hp-badge svg { flex-shrink: 0; }

.hp-badge--accent {
    background: var(--accent);
    border-color: var(--accent-border);
    color: var(--accent-ink);
}

.hero-proof-featured {
    display: grid;
    gap: 2px;
    padding: var(--sp-3) var(--sp-4);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
}
.hero-proof-featured:hover { transform: translateY(-2px); background: var(--bg-elevated); }

@media (max-width: 900px) {
    .hero-proof { max-width: none; padding: var(--sp-4); }
}

@media (max-width: 640px) {
    /* Feedback target: whole hero within ~1–1.5 phone screens. */
    .split-hero { padding-top: var(--sp-6); gap: var(--sp-6); }
    .split-hero > * { min-width: 0; }
    .split-hero-kicker { font-size: 11px; letter-spacing: 1.5px; overflow-wrap: anywhere; }
    .hero-proof { gap: var(--sp-2); }
    .hero-proof-socials, .hero-proof-metrics { gap: var(--sp-2); }
    .hp-card { padding: 10px 6px; }
    .hp-card strong { font-size: 19px; }
    .hp-card span { font-size: 10px; letter-spacing: 0.8px; }
    .hp-badge { font-size: 10.5px; padding: 7px 6px; gap: 5px; }
    .hp-badge svg { width: 11px; height: 11px; }
}

/* =========================================================================
   Slim promo banner — client feedback (Jul 2026): ~50% shorter, one line.
   .pb-desc (the "(10% off …)" part) disappears on small screens so
   partner + code always fit a single line.
   ========================================================================= */

.promo-banner--slim .promo-banner-inner {
    padding: 5px 44px 5px var(--sp-4);
    font-size: 12px;
    gap: var(--sp-2);
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
}

.promo-banner--slim .pb-label { font-weight: 800; }
.promo-banner--slim .pb-sep { opacity: 0.55; }
.promo-banner--slim .promo-banner-close { right: var(--sp-3); }

@media (max-width: 640px) {
    .promo-banner--slim .pb-desc { display: none; }
    .promo-banner--slim .promo-banner-inner {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .promo-banner--slim .promo-banner-inner::-webkit-scrollbar { display: none; }
}

/* =========================================================================
   Discount Codes page (/discount-codes)
   Reuses the popup's ticket styles, laid out as a grid instead of a
   single narrow column. Only the notch fill differs: on the page the
   tickets sit on --bg-base, not on the popup card.
   ========================================================================= */

.deal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--sp-4);
}

.deal-grid .pp-ticket-stub::before,
.deal-grid .pp-ticket-stub::after,
.deal-grid .pp-ticket.is-best .pp-ticket-stub::before,
.deal-grid .pp-ticket.is-best .pp-ticket-stub::after {
    background: var(--bg-base);
}

.deal-grid .pp-ticket {
    overflow: visible;
}

.deal-grid .pp-ticket-main {
    flex: 1;
}

.deal-fineprint {
    margin: var(--sp-5) 0 0;
    max-width: 68ch;
    font-size: 12px;
    line-height: 1.6;
    color: var(--text-faint);
}

/* Per-code page (/discount-codes/{slug}) */

.deal-ticket-link {
    color: var(--text-loud);
    transition: color 0.15s ease;
}
.deal-ticket-link:hover { color: var(--accent); }

.deal-ticket-more {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: var(--accent);
}
.deal-ticket-more:hover { text-decoration: underline; }

.deal-back {
    display: inline-block;
    margin-bottom: var(--sp-4);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}
.deal-back:hover { color: var(--accent); }

.deal-hero {
    padding: var(--sp-6);
    border-radius: var(--r-md);
    background: var(--bg-surface);
    box-shadow: inset 0 0 0 1px var(--accent-border);
}

.deal-hero-title {
    margin: 4px 0 0;
    font-size: 30px;
    line-height: 1.15;
    color: var(--text-loud);
}

.deal-hero-desc {
    margin: var(--sp-2) 0 0;
    font-size: 16px;
    color: var(--text-muted);
}

.deal-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-3);
    margin-top: var(--sp-5);
}

.deal-hero-actions .promo-popup-code { flex: 0 0 auto; }

.deal-hero-note {
    margin: var(--sp-3) 0 0;
    font-size: 12px;
    color: var(--text-faint);
}

.deal-steps { margin-top: var(--sp-8); }

.deal-h2 {
    margin: 0 0 var(--sp-3);
    font-size: 20px;
    color: var(--text-loud);
}

.deal-step-list {
    max-width: 72ch;
    margin: 0;
    padding-left: 1.2em;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* =========================================================================
   Activity recommendation cards — [activities ...] inside a guide.
   Three columns on desktop, one horizontally scrollable row on phones so a
   set of tours doesn't push the rest of the article down.
   ========================================================================= */

.egt-activities {
    display: grid;
    /* auto-fit so one or two cards fill the row instead of leaving a gap */
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: var(--sp-4);
    margin: var(--sp-6) 0;
}

.egt-activity {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.egt-activity-media {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--bg-elevated);
}

.egt-activity-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

a.egt-activity:hover .egt-activity-media img { transform: scale(1.04); }

.egt-activity-title {
    font-family: var(--font-display, inherit);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-loud);
}

a.egt-activity:hover .egt-activity-title {
    color: var(--accent);
    text-decoration: underline;
}

.egt-activity-meta,
.egt-activity-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.egt-activity-meta svg,
.egt-activity-rating svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.egt-activity-rating svg { color: var(--accent); }
.egt-activity-rating strong { color: var(--text-base); font-weight: 700; }
.egt-activity-rating span { color: var(--text-faint); }

@media (max-width: 720px) {
    .egt-activities {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: var(--sp-2);
        -webkit-overflow-scrolling: touch;
    }

    .egt-activity {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }
}
