/**
 * Homepage Styles — Fuchs Travels
 * Flat design, no gradients
 */

/* Tour Card Component Styles */
.tour-card-premium {
    position: relative;
    background: white;
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tour-card-premium:hover {
    transform: translateY(var(--hover-lift-card));
    box-shadow: var(--shadow-hover-card);
}

.tour-card-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.tour-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.tour-card-premium:hover .tour-card-image {
    transform: scale(var(--hover-image-scale));
}

/* Enhanced card hover micro-interactions */
.tour-card-premium .tour-card-badge {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card-premium:hover .tour-card-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(212, 146, 42, 0.5);
}

.tour-card-premium .tour-card-title {
    transition: color 0.3s ease;
}

.tour-card-premium:hover .tour-card-title {
    color: var(--color-primary, #D4922A);
}

.tour-card-premium .btn-aerial-primary {
    transition: all 0.3s ease;
}

.tour-card-premium:hover .btn-aerial-primary {
    background: var(--color-primary-dark, #B87A20);
    box-shadow: 0 6px 16px rgba(212, 146, 42, 0.4);
}

.tour-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: #F59E0B;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.tour-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tour-card-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary, #D4922A);
    margin-bottom: 0.5rem;
}

.tour-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.tour-card-description {
    color: #6B7280;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tour-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
    margin-top: auto;
}

.tour-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.tour-card-price-label {
    font-size: 0.75rem;
    color: #6B7280;
}

/* Button Styles */
.btn-aerial-primary {
    background: var(--color-primary, #D4922A);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-control);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(212, 146, 42, 0.3);
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-aerial-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 146, 42, 0.4);
}

.btn-aerial-outline {
    background: transparent;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-control);
    border: 2px solid white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.btn-aerial-outline:hover {
    background: white;
    color: var(--color-primary, #D4922A);
}

/* Section Header Component Styles */
.section-title {
    font-family: var(--font-display, 'Playfair Display', Georgia, serif);
    font-size: clamp(1.85rem, 3.75vw, 2.6rem);
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6B7280;
    line-height: 1.6;
    max-width: 48rem;
    margin: 0 auto;
}

/* Feature Card Component Styles */
.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-card);
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
}

.feature-card:hover {
    transform: translateY(var(--hover-lift-card));
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: var(--color-primary, #D4922A);
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-card__icon {
    transform: scale(var(--hover-image-scale));
}

.feature-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.feature-card__description {
    color: #6B7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Hero Section */
.hero-aerial {
    position: relative;
}

.hero-aerial-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    z-index: 1;
    transition: transform 0.1s ease-out;
}

.hero-aerial-content {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
    padding: clamp(1rem, 3vw, 2rem);
    padding-bottom: clamp(5rem, 10vh, 7rem);
}

.hero-copy-surface--home {
    width: min(100%, 42rem);
}

/* Hero CTA — refined, mixed-case, flat (matches /platform/ button) */
.btn-aerial-primary-hero {
    background: var(--color-primary, #D4922A);
    color: white;
    padding: 15px 34px;
    border-radius: var(--radius-control);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.0625rem;
    letter-spacing: 0;
    text-transform: none;
    transition: transform 0.2s cubic-bezier(0.22, 0.61, 0.36, 1),
                background-color 0.2s cubic-bezier(0.22, 0.61, 0.36, 1),
                box-shadow 0.2s cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-aerial-primary-hero:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(212, 146, 42, 0.35);
    background: var(--aerial-blue-dark, #B87A1E);
}

/* Scroll indicator */
.scroll-indicator {
    animation: gentleBounce 2.5s ease-in-out infinite;
    z-index: 12;
}

@keyframes gentleBounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* Stats Counter Animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stat-number {
    animation: countUp 1s ease-out;
}

.overlay-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

/* Tour Grid */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
    gap: 2rem;
}

/* =====================================================================
   JUSTIFIED-GALLERY OVERLAYS — shared by expeditions / galleries /
   contests / resources. Flat solid overlays, hover-revealed captions.
   ===================================================================== */
.homepage-gallery-item { cursor: pointer; flex-shrink: 0; }
.homepage-gallery-img { transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); width: 100%; height: 100%; object-fit: cover; }
.homepage-gallery-item:hover img { transform: scale(1.03); }
.homepage-gallery-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background-color 0.2s ease; display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; }
.homepage-gallery-item:hover .homepage-gallery-overlay { background: rgba(0, 0, 0, 0.35); }
.homepage-gallery-title,
.homepage-gallery-location { color: #fff; opacity: 0; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease; }
.homepage-gallery-title { font-weight: 600; }
.homepage-gallery-location { font-size: 0.875rem; opacity: 0; color: rgba(255, 255, 255, 0.85); }
.homepage-gallery-item:hover .homepage-gallery-title,
.homepage-gallery-item:hover .homepage-gallery-location { opacity: 1; transform: translateY(0); }

/* Operator attribution stays visible without hover so touch, keyboard, and
   assistive-technology users receive the same ownership information. */
.homepage-gallery-operator {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    max-width: calc(100% - 1.5rem);
    padding: 0.4rem 0.65rem;
    overflow-wrap: anywhere;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(15, 23, 42, 0.9);
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.25;
    text-transform: uppercase;
    white-space: normal;
}

.homepage-gallery-item:focus-visible {
    z-index: 3;
    outline: 3px solid var(--color-primary, #D4922A);
    outline-offset: 2px;
}

.homepage-gallery-item:focus-visible .homepage-gallery-overlay {
    background: rgba(0, 0, 0, 0.35);
}

.homepage-gallery-item:focus-visible .homepage-gallery-title,
.homepage-gallery-item:focus-visible .homepage-gallery-location {
    opacity: 1;
    transform: translateY(0);
}

.contest-gallery-item,
.article-gallery-item { cursor: pointer; flex-shrink: 0; position: relative; overflow: hidden; }
.contest-gallery-item img,
.article-gallery-item img { transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); width: 100%; height: 100%; object-fit: cover; display: block; }
.contest-gallery-item:hover img,
.article-gallery-item:hover img { transform: scale(1.03); }
.contest-gallery-overlay,
.article-gallery-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background-color 0.2s ease; display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; }
.contest-gallery-item:hover .contest-gallery-overlay,
.article-gallery-item:hover .article-gallery-overlay { background: rgba(0, 0, 0, 0.5); }
.contest-gallery-title,
.article-gallery-title { color: #fff; opacity: 0; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease; font-weight: 600; }
.contest-gallery-meta,
.article-gallery-meta { color: rgba(255, 255, 255, 0.85); font-size: 0.875rem; opacity: 0; transform: translateY(8px); transition: opacity 0.2s ease, transform 0.2s ease; margin-top: 0.25rem; }
.contest-gallery-item:hover .contest-gallery-title,
.article-gallery-item:hover .article-gallery-title,
.contest-gallery-item:hover .contest-gallery-meta,
.article-gallery-item:hover .article-gallery-meta { opacity: 1; transform: translateY(0); }

/* Instagram feed hover */
.insta-post { position: relative; cursor: pointer; }
.instagram-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s ease; }
.insta-post:hover .instagram-overlay { opacity: 1; }
.insta-post .overlay-stats { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.8); padding: 1rem; transform: translateY(100%); transition: transform 0.2s ease; }
.insta-post:hover .overlay-stats { transform: translateY(0); }

/* =====================================================================
   EDITORIAL POLISH — homepage-scoped, matches the /platform/ type system.
   Playfair Display display font, one ink/muted scale, 0.2s/0.45s motion.
   Flat design, solid colors — NO GRADIENTS.
   ===================================================================== */
.homepage {
    /* Literal Playfair Display (loaded via @font-face in platform-theme.css) —
       matches the /platform/ editorial display face, independent of the
       site's configurable --font-heading. */
    --hp-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

    --hp-ink: #1C1C1C;          /* primary dark surface + strongest text */
    --hp-ink-soft: #2D2D2D;     /* elevated dark panels */
    --hp-body: #4B5563;         /* body copy on light surfaces */
    --hp-muted: #6B7280;        /* secondary text / labels on light */
    --hp-faint: #9CA3AF;        /* tertiary captions */
    --hp-line: var(--color-border, #EDE4D9);   /* border on light surfaces */
    --hp-surface: var(--color-surface, #FBF6F0);
    --hp-gallery-bg: #16181D;   /* image placeholder behind photos */

    /* Aliases onto the sitewide scale in platform-theme.css — kept so any
       stray page-local usage stays in step with the rest of the site. */
    --hp-radius-card: var(--radius-card);
    --hp-radius-control: var(--radius-control);
    --hp-radius-pill: var(--radius-pill);
    --hp-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --hp-dur-micro: 0.2s;
    --hp-dur-reveal: 0.45s;

    --hp-space-3: 12px;
    --hp-space-4: 16px;
    --hp-space-5: 20px;
    --hp-space-6: 24px;
    --hp-space-7: 28px;
    --hp-space-8: 32px;
}

/* ---- Consistent vertical rhythm for the text (non-gallery) sections ---- */
.homepage .hp-section {
    padding-block: clamp(3.5rem, 7vw, 7rem);
}
.homepage .hp-section--tight {
    padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

/* ---------------------------------------------------------------------
   HERO — mixed-case Playfair headline, italic amber accent, no shadow.
   --------------------------------------------------------------------- */
.homepage .hero-aerial .hero-title {
    font-family: var(--hp-font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -0.02em;
    text-transform: none;
    text-shadow: none;
    margin-bottom: 1.5rem;
}

.homepage .hero-aerial .hero-title em,
.homepage .hero-aerial .hero-title .hero-accent {
    font-style: italic;
    font-weight: 500;
    color: var(--color-primary, #D4922A);
}

.homepage .hero-aerial .hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    max-width: 40rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2.25rem;
    text-shadow: none;
}

/* ---------------------------------------------------------------------
   SECTION LABEL — the tiny uppercase gallery labels (one class).
   --------------------------------------------------------------------- */
.homepage .section-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: var(--hp-space-4);
    padding-inline: 4px;
}

.homepage .section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--hp-muted);
    margin: 0;
}

.homepage .section-label__link {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--hp-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--hp-dur-micro) var(--hp-ease);
}
.homepage .section-label__link:hover {
    color: var(--color-primary, #D4922A);
}

.homepage .homepage-tour-intro {
    max-width: 52rem;
    margin: -0.25rem 4px 1rem;
    color: var(--hp-body);
    font-size: 0.9375rem;
    line-height: 1.55;
}

/* ---------------------------------------------------------------------
   SECTION TITLE accent — italic amber, consistent with the hero.
   --------------------------------------------------------------------- */
.homepage .section-title {
    font-family: var(--hp-font-display);
    letter-spacing: -0.01em;
    line-height: 1.15;
    text-transform: none;
}
.homepage .section-title__accent {
    font-style: italic;
    font-weight: 600;
    color: var(--color-primary, #D4922A);
}
.homepage .section-title--eyebrow {
    display: block;
    margin-bottom: 0.75rem;
}

/* ---------------------------------------------------------------------
   PLATFORM VALUE — verified product capabilities, never vanity counters.
   --------------------------------------------------------------------- */
.homepage .hp-platform-value__head {
    max-width: 52rem;
    margin: 0 auto clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.homepage .hp-platform-value__head p {
    margin: 0;
    color: #D1D5DB;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.homepage .hp-platform-value__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--hp-space-6);
}

.homepage .hp-platform-value__card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: var(--hp-space-4);
    align-content: start;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--hp-radius-card);
    background: var(--hp-ink-soft);
}

.homepage .hp-platform-value__icon {
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(212, 146, 42, 0.5);
    border-radius: 50%;
    background: rgba(212, 146, 42, 0.12);
    color: var(--color-primary, #D4922A);
}

.homepage .hp-platform-value__icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.homepage .hp-platform-value__card h3 {
    margin: 0 0 0.5rem;
    color: #FFFFFF;
    font-family: var(--hp-font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.homepage .hp-platform-value__card p {
    margin: 0;
    color: #C7CDD6;
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* Unified image placeholder behind justified-gallery photos */
.homepage .homepage-gallery-item,
.homepage .contest-gallery-item,
.homepage .article-gallery-item {
    background: var(--hp-gallery-bg);
}

/* ---------------------------------------------------------------------
   EXPLORE MAP — responsive canvas, refined chips + fallback cards.
   --------------------------------------------------------------------- */
.homepage .wt-map {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    max-height: 72vh;
    display: block;
    cursor: grab;
    outline: none;
    touch-action: pan-y;
    user-select: none;
}

.homepage .wt-map-stage {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #0D0D0D;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: var(--radius-card);
}

.homepage .wt-map:focus-visible {
    outline: 3px solid rgba(212, 146, 42, 0.7);
    outline-offset: -4px;
}

.homepage .wt-map-stage--zoomed .wt-map {
    cursor: grab;
}

.homepage .wt-map-stage--panning .wt-map {
    cursor: grabbing;
}

.homepage .wt-map__country {
    fill: #2A2A2A;
    stroke: #444;
    stroke-width: 0.5;
    vector-effect: non-scaling-stroke;
}

.homepage .wt-map__error {
    fill: #B8BEC9;
    font-family: var(--font-body);
    font-size: 16px;
    text-anchor: middle;
}

.homepage .wt-map-marker {
    cursor: pointer;
    outline: none;
    opacity: 1;
    transition: opacity var(--hp-dur-micro) var(--hp-ease);
}

.homepage .wt-map__active-marker,
.homepage .wt-map-marker--clone {
    pointer-events: none;
}

.homepage .wt-map__active-marker * {
    pointer-events: none !important;
}

.homepage .wt-map__markers--active > .wt-map-marker:not(.wt-map-marker--active) {
    opacity: 0.2;
}

.homepage .wt-map-marker__hit {
    fill: transparent;
    pointer-events: all;
}

.homepage .wt-map-marker__halo {
    fill: rgba(255, 255, 255, 0.09);
    stroke-width: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--hp-dur-micro) var(--hp-ease);
}

.homepage .wt-map-marker--active .wt-map-marker__halo,
.homepage .wt-map-marker:focus-visible .wt-map-marker__halo {
    opacity: 1;
}

.homepage .wt-map-marker__core {
    stroke: #fff;
    stroke-width: 2;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.38));
}

.homepage .wt-map-marker__pulse {
    fill: none;
    stroke-width: 2;
    opacity: 0.5;
    pointer-events: none;
}

.homepage .wt-map-marker__diamond {
    stroke: #fff;
    stroke-width: 1.5;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.homepage .wt-map-marker__cluster {
    fill-opacity: 0.86;
    stroke: #fff;
    stroke-width: 1;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

.homepage .wt-map-marker__count {
    fill: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: central;
    pointer-events: none;
}

.homepage .wt-map-marker__ring {
    fill: rgba(13, 13, 13, 0.18);
    stroke-width: 2.5;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.36));
}

.homepage .wt-map-controls {
    position: absolute;
    z-index: 20;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(24, 24, 24, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 7px;
    box-shadow: 0 7px 22px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
}

.homepage .wt-map-controls[hidden] {
    display: none;
}

.homepage .wt-map-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}

.homepage .wt-map-control:last-child {
    border-bottom: 0;
}

.homepage .wt-map-control:hover,
.homepage .wt-map-control:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    color: var(--color-primary, #D4922A);
}

.homepage .wt-map-control:focus-visible {
    position: relative;
    z-index: 1;
    outline: 2px solid var(--color-primary, #D4922A);
    outline-offset: -3px;
}

.homepage .wt-map-control:disabled {
    color: rgba(255, 255, 255, 0.3);
    cursor: default;
}

.homepage .wt-map-control:disabled:hover {
    background: transparent;
}

.homepage .wt-map-control--reset svg {
    width: 19px;
    height: 19px;
}

.homepage .wt-map-help {
    max-width: 72ch;
    margin: 0.65rem auto 0;
    color: #8F98A7;
    font-family: var(--font-body);
    font-size: 0.6875rem;
    line-height: 1.5;
    text-align: center;
}

.homepage .map-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 15px;
    border-radius: var(--hp-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: opacity var(--hp-dur-micro) var(--hp-ease),
                background-color var(--hp-dur-micro) var(--hp-ease),
                border-color var(--hp-dur-micro) var(--hp-ease);
}
.homepage .map-chip:hover,
.homepage .map-chip:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.38);
}

.homepage .map-chip:focus-visible {
    outline: 2px solid var(--color-primary, #D4922A);
    outline-offset: 2px;
}

.homepage .map-chip[aria-pressed="false"] {
    opacity: 0.4;
}
.homepage .map-chip__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}
.homepage .map-chip__count {
    opacity: 0.55;
    font-weight: 500;
    font-size: 0.6875rem;
    letter-spacing: 0.02em;
}

.homepage .wt-dest-card {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: var(--hp-space-4);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-card);
    text-decoration: none;
    transition: background-color var(--hp-dur-micro) var(--hp-ease),
                border-color var(--hp-dur-micro) var(--hp-ease);
}
.homepage .wt-dest-card:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: var(--color-primary, #D4922A);
}
.homepage .wt-dest-name {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}
.homepage .wt-dest-count {
    color: var(--hp-faint);
    font-size: 0.8125rem;
}

.map-tooltip {
    position: fixed;
    z-index: 1200;
    width: max-content;
    max-width: min(260px, calc(100vw - 24px));
    padding: 10px 12px;
    background: rgba(22, 22, 22, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 4px solid #64748B;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.78125rem;
    line-height: 1.42;
    pointer-events: none;
}

.map-tooltip--tours {
    border-left-color: #D4922A;
}

.map-tooltip--planner {
    border-left-color: #3A9E8F;
}

.map-tooltip--guides {
    border-left-color: #B87A1E;
}

.map-tooltip__eyebrow {
    margin-bottom: 2px;
    color: #929AA6;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.map-tooltip__operator {
    margin: 2px 0 5px;
    color: #F4C77B;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.map-tooltip__title {
    margin-bottom: 4px;
    color: #fff;
    font-weight: 750;
}

.map-tooltip__title--tours,
.map-tooltip__title--guides {
    color: #E7B25A;
}

.map-tooltip__title--planner {
    color: #79C7BB;
}

.map-tooltip__detail {
    margin-top: 2px;
    color: #E5E7EB;
}

.map-tooltip__detail--strong {
    color: #fff;
    font-weight: 650;
}

.map-tooltip__meta {
    margin-top: 3px;
    color: #B8BEC9;
}

.map-tooltip__action {
    margin-top: 5px;
    color: #CBD5E1;
    font-weight: 650;
}

.map-tooltip__action--planner {
    color: #79C7BB;
}

.map-tooltip__action--guide {
    color: #E7B25A;
}

@media (max-width: 640px) {
    .homepage .wt-map-controls {
        top: 0.55rem;
        right: 0.55rem;
    }

    .homepage .wt-map-control {
        width: 44px;
        height: 44px;
    }

    .homepage .wt-map-help {
        max-width: 46ch;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .homepage .wt-map-marker,
    .homepage .wt-map-marker__halo {
        transition: none;
    }

    .homepage .wt-map-marker__pulse {
        display: none;
    }
}

/* ---------------------------------------------------------------------
   PLAN YOUR EXPEDITION — content tiles (one radius/border/hover).
   --------------------------------------------------------------------- */
.homepage .expedition-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: var(--hp-space-6);
}

.homepage .expedition-plan-tile {
    display: flex;
    flex-direction: column;
    padding: var(--hp-space-8);
    background: #fff;
    border: 1px solid var(--hp-line);
    border-radius: var(--radius-card);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--hp-dur-micro) var(--hp-ease),
                transform var(--hp-dur-micro) var(--hp-ease),
                box-shadow var(--hp-dur-micro) var(--hp-ease);
}
.homepage .expedition-plan-tile:hover {
    border-color: var(--color-primary, #D4922A);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(28, 28, 28, 0.06);
    text-decoration: none;
}
.homepage .expedition-plan-icon {
    color: var(--color-primary, #D4922A);
    margin-bottom: var(--hp-space-5);
    flex-shrink: 0;
}
.homepage .expedition-plan-heading {
    font-family: var(--hp-font-display);
    font-size: 1.3125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--hp-ink);
    margin: 0 0 0.5rem;
}
.homepage .expedition-plan-subtext {
    font-size: 0.9375rem;
    color: var(--hp-muted);
    line-height: 1.55;
    margin: 0 0 var(--hp-space-6);
    flex-grow: 1;
}
.homepage .expedition-plan-cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary, #D4922A);
    letter-spacing: 0.01em;
}

/* Section heading shared by Plan / Newsletter blocks */
.homepage .hp-block-title {
    font-family: var(--hp-font-display);
    font-size: clamp(1.85rem, 3.75vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--hp-ink);
    text-align: center;
    margin: 0 0 clamp(2rem, 4vw, 2.75rem);
}

/* ---------------------------------------------------------------------
   OPERATOR UPSELL BAND — consistent cards, tokens, one CTA button.
   --------------------------------------------------------------------- */
.homepage .hp-operator__head {
    max-width: 720px;
    margin: 0 auto var(--hp-space-8);
    text-align: center;
}
.homepage .hp-operator__eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--color-primary, #D4922A);
    margin: 0 0 0.5rem;
}
.homepage .hp-operator__title {
    font-family: var(--hp-font-display);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--hp-ink);
    margin: 0 0 0.625rem;
}
.homepage .hp-operator__lede {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--hp-body);
    margin: 0;
}
.homepage .hp-operator__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--hp-space-6);
    max-width: 1200px;
    margin: 0 auto;
}
.homepage .hp-operator__card {
    display: flex;
    flex-direction: column;
    padding: var(--hp-space-7);
    background: #fff;
    border: 1px solid var(--hp-line);
    border-left: 3px solid var(--color-primary, #D4922A);
    border-radius: var(--radius-card);
    transition: transform var(--hp-dur-micro) var(--hp-ease),
                box-shadow var(--hp-dur-micro) var(--hp-ease);
}
.homepage .hp-operator__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(28, 28, 28, 0.07);
}
.homepage .hp-operator__kicker {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--color-primary, #D4922A);
    margin: 0 0 0.5rem;
}
.homepage .hp-operator__card-title {
    font-family: var(--hp-font-display);
    font-size: 1.3125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--hp-ink);
    margin: 0 0 0.375rem;
}
.homepage .hp-operator__price {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--hp-ink);
    margin: 0 0 0.25rem;
}
.homepage .hp-operator__price .sep {
    color: var(--hp-line);
}
.homepage .hp-operator__fine {
    font-size: 0.75rem;
    color: var(--hp-muted);
    margin: 0 0 var(--hp-space-3);
}
.homepage .hp-operator__list {
    list-style: none;
    margin: 0 0 var(--hp-space-5);
    padding: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--hp-body);
}
.homepage .hp-operator__list li {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}
.homepage .hp-operator__list li:last-child {
    margin-bottom: 0;
}
.homepage .hp-operator__check {
    color: var(--color-primary, #D4922A);
    font-weight: 700;
    flex-shrink: 0;
}
.homepage .hp-operator__link {
    color: var(--color-primary, #D4922A);
    text-decoration: underline;
}
.homepage .hp-operator__note {
    max-width: 1200px;
    margin: var(--hp-space-6) auto 0;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--hp-muted);
}

/* One button treatment shared by the band CTAs */
.homepage .hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-control);
    text-decoration: none;
    text-align: center;
    transition: transform var(--hp-dur-micro) var(--hp-ease),
                background-color var(--hp-dur-micro) var(--hp-ease),
                color var(--hp-dur-micro) var(--hp-ease),
                box-shadow var(--hp-dur-micro) var(--hp-ease);
}
.homepage .hp-btn--primary {
    background: var(--color-primary, #D4922A);
    color: #fff;
    border: 1px solid var(--color-primary, #D4922A);
}
.homepage .hp-btn--primary:hover {
    transform: translateY(-1px);
    background: var(--aerial-blue-dark, #B87A1E);
    border-color: var(--aerial-blue-dark, #B87A1E);
    box-shadow: 0 4px 12px rgba(212, 146, 42, 0.28);
}
.homepage .hp-btn--outline {
    background: #fff;
    color: var(--color-primary, #D4922A);
    border: 1px solid var(--color-primary, #D4922A);
}
.homepage .hp-btn--outline:hover {
    transform: translateY(-1px);
    background: var(--color-primary, #D4922A);
    color: #fff;
}

/* Newsletter band */
.homepage .hp-newsletter__title {
    font-family: var(--hp-font-display);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--hp-ink);
    margin: 0 0 0.5rem;
}
.homepage .hp-newsletter__text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--hp-muted);
    margin: 0 auto 1.75rem;
    max-width: 34rem;
}

/* ---------------------------------------------------------------------
   RESPONSIVE — unify on the 768px breakpoint.
   --------------------------------------------------------------------- */
@media (max-width: 768px) {
    .homepage .hp-platform-value__grid {
        grid-template-columns: 1fr;
    }

    .homepage .expedition-plan-grid {
        grid-template-columns: 1fr;
    }
    .homepage .homepage-gallery-item,
    .homepage .contest-gallery-item,
    .homepage .article-gallery-item {
        width: 100% !important;
        height: auto !important;
    }
    .homepage .homepage-gallery-img {
        height: auto;
        object-fit: initial;
    }
}

@media (max-width: 639px) {
    .homepage .hero-aerial {
        height: auto;
        min-height: 0;
        padding-top: var(--hero-mobile-photo-height);
        background: var(--hero-copy-surface-solid, #0F172A);
    }

    .homepage .hero-aerial-image,
    .homepage .hero-aerial > .hero-image-wash {
        height: var(--hero-mobile-photo-height);
    }

    .homepage .hero-aerial-content {
        display: block;
        height: auto;
        max-width: none;
        padding: 0;
    }

    .homepage .hero-copy-surface--home {
        width: 100%;
        max-width: none;
        border-radius: 0;
        background-color: var(--hero-copy-surface-solid, #0F172A);
    }

    .homepage .scroll-indicator {
        top: calc(var(--hero-mobile-photo-height) - 3rem);
        bottom: auto;
    }

    .homepage .hp-operator__grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .homepage .hp-operator__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage .hp-operator__card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: 100%;
        max-width: calc((100% - var(--hp-space-6)) / 2);
    }
}

/* ---------------------------------------------------------------------
   MOTION — honor reduced-motion.
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .homepage *,
    .homepage *::before,
    .homepage *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .homepage .scroll-indicator {
        animation: none;
    }
    .homepage .expedition-plan-tile:hover,
    .homepage .hp-operator__card:hover,
    .homepage .hp-btn:hover,
    .homepage .btn-aerial-primary-hero:hover {
        transform: none;
    }
}
