/* Homepage story landing (Duolingo rhythm + MapTap magnets / globe). */

.story-landing {
    background: #ffffff;
    color: #08172f;
}

.story-landing .site-footer {
    position: static;
    max-width: 74rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    border-radius: 2rem 2rem 0 0;
}

.story-landing .footer-tagline strong,
.story-landing .footer-tagline small {
    color: #fff;
}

.story-landing .footer-link {
    color: #fff;
}

.story-landing .footer-link:hover {
    color: #fff;
}

.story-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background: #ffffff;
    padding: calc(var(--site-navbar-height) + 1.25rem) 0 0;
}

.story-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 80rem; /* same as nav max-w-7xl */
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    flex: 1 1 auto;
    min-height: 0;
}

.story-copy {
    max-width: 34rem;
    padding-top: 0.35rem;
}

.story-title {
    margin: 0;
    color: #08172f;
    font-family: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.35rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.story-hero .story-title {
    color: #3a4758;
    font-size: clamp(1.9rem, 4.4vw, 3.35rem);
    line-height: 1.12;
    max-width: 12.5em;
}

.story-subtitle {
    margin: 1rem 0 0;
    color: #5b6b82;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 500;
    line-height: 1.45;
}

.story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.story-actions .travel-primary-button,
.story-actions .travel-secondary-button {
    scroll-margin-top: calc(var(--site-navbar-height) + 1rem);
}

/* Duolingo slab (shape + hard bottom shadow); MapTap colors stay. */
.story-landing .travel-primary-button,
.story-landing .travel-secondary-button {
    border-radius: 1.15rem;
    font-weight: 800;
    transition: transform 80ms ease, box-shadow 80ms ease, filter 80ms ease, background-color 80ms ease;
}

.story-landing .travel-primary-button {
    background: var(--maptap-blue);
    color: #fff;
    box-shadow: 0 4px 0 0 var(--maptap-blue-darker);
}

.story-landing .travel-secondary-button {
    border: 2px solid #e4ebf2;
    background: #fff;
    color: var(--maptap-blue-darker);
    box-shadow: 0 4px 0 0 #d5dee8;
}

.story-landing .travel-primary-button:hover,
.story-landing .travel-secondary-button:hover {
    transform: none;
}

.story-landing .travel-primary-button:hover {
    filter: brightness(1.05);
    box-shadow: 0 4px 0 0 var(--maptap-blue-darker);
}

.story-landing .travel-secondary-button:hover {
    background: #f7fafc;
}

.story-landing .travel-primary-button:active {
    transform: translateY(4px);
    filter: none;
    box-shadow: 0 0 0 0 var(--maptap-blue-darker);
}

.story-landing .travel-secondary-button:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 0 #d5dee8;
}

.story-magnets {
    position: relative;
    min-height: 16.5rem;
}

.story-magnet {
    position: absolute;
    margin: 0;
    filter: drop-shadow(0 18px 28px rgba(8, 23, 47, 0.16));
}

.story-magnet img {
    display: block;
    width: 100%;
    height: auto;
}

.story-magnet figcaption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.story-magnet--europe {
    z-index: 2;
    width: min(35vw, 9.4rem);
    left: 36%;
    top: 18%;
    animation: storyMagnetFloat 6.5s ease-in-out infinite;
}

.story-magnet--europe img {
    transform: rotate(7deg);
}

.story-magnet--zagreb {
    width: min(26vw, 6.5rem);
    left: 4%;
    top: 6%;
    animation: storyMagnetFloat 5.6s ease-in-out infinite 0.4s;
}

.story-magnet--zagreb img {
    transform: rotate(-9deg);
}

.story-magnet--paris {
    width: min(27.5vw, 7rem);
    right: 8%;
    top: 8%;
    left: auto;
    animation: storyMagnetFloat 7s ease-in-out infinite 0.8s;
}

.story-magnet--paris img {
    transform: rotate(11deg);
}

.story-magnet--rome {
    width: min(24vw, 6.1rem);
    left: 12%;
    bottom: 4%;
    top: auto;
    animation: storyMagnetFloat 6.2s ease-in-out infinite 1.1s;
}

.story-magnet--rome img {
    transform: rotate(-6deg);
}

.story-globe {
    position: relative;
    z-index: 1;
    /* Tall enough that the sphere’s rounded top sits inside the clip (not a flat cut). */
    height: clamp(13rem, 32vh, 20rem);
    margin: -1.25rem 0 0;
    overflow: hidden;
    pointer-events: none;
}

.story-globe-disk {
    position: absolute;
    left: 50%;
    /* Keep the circle’s apex inside the frame so the top edge reads as a curve. */
    top: 7%;
    width: min(170vw, 82rem);
    height: min(170vw, 82rem);
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(circle at 36% 14%, rgba(255, 255, 255, 0.28), transparent 34%),
        radial-gradient(circle at 50% 38%, #6ec8ff 0%, #2eb4fc 38%, #0fa0fc 68%, #0b8fd9 100%);
    box-shadow:
        inset 0 1rem 2.2rem rgba(255, 255, 255, 0.18),
        0 -16px 36px rgba(15, 160, 252, 0.16);
    overflow: hidden;
}

.story-globe-map-layer {
    position: absolute;
    z-index: 1;
    width: 158%;
    left: 50%;
    top: 1%;
    transform: translateX(-50%);
}

.story-globe-map {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    filter: contrast(1.12);
}

.story-pin {
    position: absolute;
    z-index: 3;
    width: 1.5rem;
    height: 1.5rem;
    transform: translate(-50%, -88%);
    filter: drop-shadow(0 3px 4px rgba(8, 23, 47, 0.26));
}

.story-pin img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.story-band {
    background: #ffffff;
    padding: clamp(3.5rem, 8vw, 6.5rem) 1.25rem;
}

.story-band-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
    align-items: center;
    width: 100%;
    max-width: 68rem;
    margin: 0 auto;
}

.story-band-copy h2,
.story-photos-intro h2,
.story-cta h2 {
    margin: 0;
    color: var(--maptap-blue);
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.story-band-copy p,
.story-photos-intro p,
.story-cta p {
    max-width: 32rem;
    margin: 1rem 0 0;
    color: #66758a;
    font-size: 1.05rem;
    line-height: 1.65;
}

.story-band-copy a {
    color: inherit;
    text-decoration: none;
}

.story-band-copy a strong {
    font-weight: 600;
    color: #3d4f66;
}

.story-band-media {
    position: relative;
    min-height: 14rem;
}

.story-friends-band .story-friends-media {
    min-height: 0;
}

.story-posts {
    width: 100%;
    max-width: 22.5rem;
    margin-inline: auto;
}

.story-posts-track {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.15rem 0.1rem 0.35rem;
}

.story-posts-track::-webkit-scrollbar {
    display: none;
}

.story-post-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    margin: 0;
    overflow: hidden;
    border-radius: 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(15, 160, 252, 0.14);
    box-shadow: 0 18px 40px rgba(8, 23, 47, 0.08);
}

.story-post-card__header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0.9rem 0.55rem;
}

.story-post-card__avatar {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(15, 160, 252, 0.14);
    color: #0b6fad;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

.story-post-card__meta {
    min-width: 0;
}

.story-post-card__name {
    margin: 0;
    color: #08172f;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.2;
}

.story-post-card__location {
    margin: 0.15rem 0 0;
    color: #66758a;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
}

.story-post-card__minimap {
    position: relative;
    margin: 0 0.75rem;
    height: 7.5rem;
    overflow: hidden;
    border-radius: 0.85rem;
    background:
        linear-gradient(180deg, #e8f4fc 0%, #d5e8f5 55%, #cfe0ec 100%);
}

.story-post-card__map {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-post-card__pin {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2.55rem;
    height: 2.55rem;
    /* Tip of the teardrop pin sits on the map center. */
    transform: translate(-50%, -92%);
    pointer-events: none;
    filter: drop-shadow(0 6px 10px rgba(8, 23, 47, 0.28));
}

.story-post-card__pin img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.story-post-card__photo {
    margin: 0.65rem 0.75rem 0;
    overflow: hidden;
    border-radius: 0.85rem;
    background: #eef4f8;
    aspect-ratio: 4 / 5;
}

.story-post-card__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-post-card__magnets {
    padding: 0.85rem 0.9rem 1rem;
}

.story-post-card__collected {
    margin: 0 0 0.55rem;
    color: #445268;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
}

.story-post-card__magnet-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    justify-content: center;
}

.story-post-card__magnet-row img {
    width: 4.15rem;
    height: 4.15rem;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(8, 23, 47, 0.12));
}

.story-post-card__magnet-more {
    margin-left: 0.15rem;
    color: #1a2b4a;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
}

.story-posts-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
}

.story-posts-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 160, 252, 0.22);
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}

.story-posts-dot:hover {
    background: rgba(15, 160, 252, 0.45);
}

.story-posts-dot.is-active {
    background: var(--maptap-blue);
    transform: scale(1.15);
}

.story-band-media--magnets {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}

.story-band-media__magnet-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.story-inline-magnet {
    width: 5.5rem;
    height: auto;
    filter: drop-shadow(0 14px 22px rgba(8, 23, 47, 0.14));
}

.story-inline-magnet--europe {
    width: 8.25rem;
}

.story-stick-band {
    position: relative;
    overflow: visible;
    padding-bottom: 0.25rem;
}

.story-map-band {
    padding-top: 0;
    margin-top: -1.25rem;
}

.story-stick-stage {
    position: relative;
    min-height: 20rem;
    padding-top: 1.25rem;
    padding-bottom: 2.5rem;
}

.story-stick-copy {
    position: relative;
    z-index: 2;
    max-width: 32rem;
    align-self: start;
}

.story-stick-board {
    position: absolute;
    inset: 0;
    min-height: 0;
    pointer-events: none;
    z-index: 1;
}

.story-stick-magnet {
    position: absolute;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    filter: drop-shadow(0 30px 26px rgba(8, 23, 47, 0.3));
    pointer-events: none;
}

.story-stick-magnet img {
    display: block;
    width: 100%;
    height: auto;
}

.story-stick-magnet__count {
    display: block;
    margin-top: 0.35rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #66758a;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.story-stick-magnet figcaption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/*
  Approved frame:
        TEXT           [London]
                 [Krk]  [North America]
*/
.story-stick-magnet--north-america {
    width: min(28vw, 6.4rem);
    left: 72%;
    top: 38%;
    z-index: 2;
}

.story-stick-magnet--north-america img {
    transform: rotate(5deg);
}

.story-stick-magnet--north-america .story-stick-magnet__count {
    margin-top: 0.12rem;
}

.story-stick-magnet--london {
    width: min(22vw, 5.3rem);
    left: 58%;
    top: 2%;
    z-index: 4;
}

.story-stick-magnet--london img {
    transform: rotate(-9deg);
}

.story-stick-magnet--krk {
    width: min(24vw, 5.6rem);
    left: auto;
    right: 6%;
    top: 6%;
    bottom: auto;
    z-index: 4;
}

.story-stick-magnet--krk img {
    transform: rotate(7deg);
}

.story-map-figure {
    width: 100%;
    max-width: 24rem;
    margin-inline: auto;
}

.story-map-card {
    position: relative;
    overflow: hidden;
    min-height: 0;
    width: 100%;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.story-map-attribution {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.28rem 0.45rem;
    margin: 0.15rem 0 0 0.15rem;
    padding: 0;
    color: rgba(8, 23, 47, 0.48);
    font-size: 0.55rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.story-map-attribution__logo {
    display: inline-flex;
    line-height: 0;
    opacity: 0.72;
    transition: opacity 0.15s ease;
}

.story-map-attribution__logo:hover,
.story-map-attribution__logo:focus-visible {
    opacity: 1;
}

.story-map-attribution__logo img {
    display: block;
    width: 3.1rem;
    height: auto;
}

.story-map-attribution__links a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.story-map-attribution__links a:hover,
.story-map-attribution__links a:focus-visible {
    color: rgba(8, 23, 47, 0.85);
}

.story-map-card-image,
.story-map-card-video {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin-inline: auto;
}

.story-map-card-video {
    background: #ffffff;
    object-fit: cover;
    /* Light trim: minimal L/R, slight crop at the top where the globe starts. */
    transform: scaleX(1.02) scaleY(1.035);
    transform-origin: center bottom;
}

.story-photo-pair,
.story-photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

.story-photo {
    margin: 0;
    overflow: hidden;
    border-radius: 1.25rem;
    background: #eef6fc;
    box-shadow: 0 16px 36px rgba(8, 23, 47, 0.08);
}

.story-photo img {
    display: block;
    width: 100%;
    height: 12.5rem;
    object-fit: cover;
}

.story-photo figcaption {
    padding: 0.55rem 0.85rem 0.7rem;
    color: #7b889c;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.story-photos {
    padding: 1rem 1.25rem clamp(3.5rem, 8vw, 6rem);
    background: #f7fbfe;
}

.story-photos-intro {
    max-width: 68rem;
    margin: 0 auto 1.75rem;
    text-align: center;
}

.story-photos-intro p {
    margin-left: auto;
    margin-right: auto;
}

.story-reviews {
    padding: clamp(3rem, 7vw, 5.5rem) 1.25rem;
    background: #f7fbfe;
}

.story-reviews-intro {
    max-width: 36rem;
    margin: 0 auto 2rem;
    text-align: center;
}

.story-reviews-intro h2 {
    margin: 0;
    color: var(--maptap-blue);
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.story-reviews-intro p {
    max-width: 28rem;
    margin: 0.85rem auto 0;
    color: #66758a;
    font-size: 1.05rem;
    line-height: 1.65;
}

.story-reviews-carousel {
    max-width: 72rem;
    margin: 0 auto;
}

.story-reviews-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: stretch;
}

.story-review {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 1.45rem 1.25rem 1.3rem;
    border-radius: 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(15, 160, 252, 0.12);
    box-shadow: 0 14px 32px rgba(8, 23, 47, 0.06);
    text-align: left;
}

.story-review__stars {
    display: inline-flex;
    gap: 0.12rem;
    margin-bottom: 0.85rem;
    color: #e5e7eb;
    font-size: 1.45rem;
    line-height: 1;
    letter-spacing: 0.02em;
}

.story-review__star.is-on {
    color: #f5b400;
}

.story-review__quote {
    margin: 0;
    flex: 1 1 auto;
    color: #08172f;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.story-review__author {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.15rem;
}

.story-review__avatar {
    display: inline-grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: rgba(15, 160, 252, 0.14);
    color: #0b6fad;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.story-review__avatar--ivana { background: #d9f0ff; color: #0b6fad; }
.story-review__avatar--eugen { background: #e4f7ef; color: #1f7a55; }
.story-review__avatar--klara { background: #f3e8ff; color: #6b3fa0; }
.story-review__avatar--priya { background: #fff0df; color: #a65b12; }

.story-review__author cite {
    font-style: normal;
    color: #445268;
    font-size: 0.88rem;
    font-weight: 700;
}

.story-reviews-dots {
    display: none;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
}

.story-reviews-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 160, 252, 0.28);
    cursor: pointer;
}

.story-reviews-dot:hover {
    background: rgba(15, 160, 252, 0.45);
}

.story-reviews-dot.is-active {
    background: var(--maptap-blue);
}

@media (min-width: 768px) {
    .story-reviews-track {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.1rem;
        overflow: visible;
        scroll-snap-type: none;
        padding: 0;
        margin: 0;
        max-width: none;
    }

    .story-review {
        flex: none;
        width: auto;
        max-width: none;
    }

    .story-reviews-dots {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .story-reviews-track {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.15rem;
    }

    .story-review {
        padding: 1.5rem 1.2rem 1.35rem;
    }

    .story-review__quote {
        font-size: 0.95rem;
    }
}

.story-cta {
    padding: clamp(3.5rem, 8vw, 6rem) 1.25rem;
    background: #ffffff;
    text-align: center;
}

.story-cta-inner {
    max-width: 36rem;
    margin: 0 auto;
}

.story-cta p {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.6rem;
}

.story-cta h2 {
    margin: 0 0 1.65rem;
}

.story-cta .travel-primary-button {
    margin-top: 0.15rem;
    margin-left: auto;
    margin-right: auto;
}

@keyframes storyMagnetFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (min-width: 768px) {
    .story-hero-grid {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        align-items: center;
        padding-bottom: 0.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .story-copy {
        padding-top: 0;
    }

    .story-magnets {
        min-height: 24rem;
    }

    .story-magnet--europe {
        width: 10.9rem;
        left: 34%;
        top: 16%;
    }

    .story-magnet--zagreb {
        width: 7.5rem;
        left: 6%;
        top: 8%;
    }

    .story-magnet--paris {
        width: 7.9rem;
        right: 10%;
        top: 10%;
    }

    .story-magnet--rome {
        width: 6.8rem;
        left: 14%;
        bottom: 8%;
    }

    .story-globe {
        height: clamp(16rem, 38vh, 24rem);
        margin-top: -1.5rem;
        margin-left: 0;
        margin-right: 0;
    }

    .story-globe-disk {
        top: 8%;
    }

    .story-band-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 4rem;
    }

    .story-friends-band .story-band-inner {
        align-items: start;
    }

    .story-friends-band {
        padding-top: clamp(2.5rem, 5vw, 4rem);
    }

    .story-friends-copy {
        max-width: 26rem;
        padding-top: 1.75rem;
    }

    .story-posts {
        max-width: 24rem;
        margin-inline: 0 0 auto;
    }

    .story-band--flip .story-band-copy {
        order: 2;
    }

    .story-band--flip .story-band-media {
        order: 1;
    }

    .story-photo-pair,
    .story-photo-grid {
        grid-template-columns: 1fr 1fr;
    }

    .story-photo img {
        height: 14rem;
    }

    .story-inline-magnet {
        width: 6.4rem;
    }

    .story-inline-magnet--europe {
        width: 9.5rem;
    }

    .story-stick-stage {
        min-height: 24rem;
        align-items: start;
        padding-top: 0.75rem;
        padding-bottom: 2.75rem;
    }

    .story-map-band {
        margin-top: -1.75rem;
    }

    .story-stick-copy {
        max-width: 30rem;
        grid-column: 1;
        padding-top: 0;
    }

    .story-stick-magnet--north-america {
        width: 7.8rem;
        left: 68%;
        right: auto;
        top: 36%;
    }

    .story-stick-magnet--london {
        width: 6.2rem;
        left: 54%;
        right: auto;
        top: 0;
    }

    .story-stick-magnet--krk {
        width: 6.6rem;
        left: auto;
        right: 8%;
        top: 4%;
        bottom: auto;
    }
}

@media (min-width: 1024px) {
    .story-hero-grid {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .story-band,
    .story-photos,
    .story-reviews,
    .story-cta {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .story-photo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .story-copy {
        text-align: center;
        max-width: none;
        margin: 0 auto;
    }

    .story-actions {
        justify-content: center;
    }

    .story-hero {
        padding-top: calc(var(--site-navbar-height) + 0.4rem);
    }

    .story-magnets {
        min-height: 11.5rem;
    }

    .story-magnet--europe {
        width: min(26vw, 6.6rem);
        left: 36%;
        top: 20%;
    }

    .story-magnet--zagreb {
        width: min(19vw, 4.7rem);
        left: 14%;
        top: 8%;
    }

    .story-magnet--paris {
        width: min(20vw, 4.9rem);
        right: 14%;
        top: 10%;
    }

    .story-magnet--rome {
        width: min(18vw, 4.5rem);
        left: 18%;
        bottom: 6%;
    }

    /* Magnets sit under copy in their own band — no text overlap. */
    .story-stick-stage {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        gap: 0.35rem;
        padding-top: 0.5rem;
        padding-bottom: 0.25rem;
    }

    .story-stick-copy {
        max-width: none;
        padding-right: 0;
    }

    .story-stick-board {
        position: relative;
        inset: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 4.6rem));
        justify-content: center;
        justify-items: center;
        align-items: start;
        column-gap: 1.75rem;
        row-gap: 0.55rem;
        width: 100%;
        height: auto;
        min-height: 0;
        margin-top: 1rem;
        padding: 0.25rem 0 0.15rem;
    }

    .story-stick-magnet--london,
    .story-stick-magnet--krk,
    .story-stick-magnet--north-america {
        position: static;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 4.45rem;
    }

    .story-stick-magnet--north-america {
        grid-column: 1 / -1;
        width: 5rem;
        margin-top: 0.1rem;
    }

    .story-stick-magnet__count {
        font-size: 0.65rem;
        margin-top: 0.28rem;
    }

    /* Even section gaps: magnets → globe copy → map → friends */
    .story-stick-band {
        padding-bottom: 0;
    }

    .story-map-band {
        margin-top: 0;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .story-map-band .story-band-inner {
        gap: 1.35rem;
    }

    .story-map-attribution {
        margin-top: 0.35rem;
        margin-bottom: 0;
    }

    .story-friends-band {
        padding-top: 2rem;
    }

    .story-reviews-track {
        display: flex;
        gap: 0.85rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0.15rem 1.25rem 0.35rem;
        margin: 0 -1.25rem;
        max-width: none;
    }

    .story-reviews-track::-webkit-scrollbar {
        display: none;
    }

    .story-review {
        flex: 0 0 min(86%, 19.5rem);
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .story-reviews-dots {
        display: flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    .story-magnet--europe,
    .story-magnet--zagreb,
    .story-magnet--paris,
    .story-magnet--rome {
        animation: none;
    }

    .story-landing .travel-primary-button:active,
    .story-landing .travel-secondary-button:active {
        transform: none;
        box-shadow: 0 4px 0 0 var(--maptap-blue-darker);
    }

    .story-landing .travel-secondary-button:active {
        box-shadow: 0 4px 0 0 #d5dee8;
    }
}

.story-page-hero {
    max-width: 46rem;
    margin: 0 auto;
    padding: calc(var(--site-navbar-height) + 2.5rem) 1.25rem 1.5rem;
}

.story-kicker {
    margin: 0 0 0.75rem;
    color: var(--maptap-blue);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.story-kicker a {
    color: inherit;
    text-decoration: none;
}

.story-kicker a:hover {
    text-decoration: underline;
}

.story-page-hero .story-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
}

.story-inline-links {
    margin-top: 1.25rem !important;
}

.story-inline-links a {
    color: var(--maptap-blue);
    font-weight: 700;
}

.story-video-section {
    padding: 0 1.25rem 1.5rem;
}

.story-video,
.story-video-placeholder {
    width: 100%;
    max-width: 42rem;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 1.35rem;
    background: #e7f5ff;
    aspect-ratio: 16 / 9;
}

.story-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1.5rem 1.25rem;
    border: 1px solid rgba(15, 160, 252, 0.16);
    background:
        radial-gradient(circle at 50% 35%, rgba(15, 160, 252, 0.14), transparent 55%),
        linear-gradient(180deg, #f4fbff 0%, #e8f4fc 100%);
    color: #445268;
    text-align: center;
}

.story-video-placeholder__play {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.15rem;
    border-radius: 999px;
    background: rgba(15, 160, 252, 0.14);
    color: var(--maptap-blue);
    box-shadow: 0 10px 24px rgba(8, 23, 47, 0.08);
}

.story-video-placeholder__title {
    margin: 0;
    color: #08172f;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.story-video-placeholder__hint {
    margin: 0;
    max-width: 18rem;
    color: #66758a;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.45;
}

.how-step-band {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.how-step-band__spacer {
    display: none;
}

.how-collections-band {
    padding-top: 6rem;
    padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .how-step-band {
        padding-top: 1.1rem;
        padding-bottom: 1.1rem;
    }

    .how-step-band .story-band-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 3rem;
        align-items: start;
    }

    .how-step-band__spacer {
        display: block;
        min-height: 1px;
    }

    .how-step-band.story-band--flip .story-band-copy {
        order: 2;
    }

    .how-step-band.story-band--flip .how-step-band__spacer {
        order: 1;
    }

    .how-step-band .story-band-copy {
        max-width: 28rem;
    }

    .how-step-band.story-band--flip .story-band-copy {
        margin-left: auto;
    }
}

.story-faq {
    max-width: 40rem;
    margin: 0 auto;
    padding: 1rem 1.25rem 4rem;
}

.story-faq h2 {
    margin: 0 0 1.25rem;
    color: var(--maptap-blue);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.story-faq-item {
    border-bottom: 1px solid rgba(15, 160, 252, 0.16);
    padding: 0.85rem 0;
}

.story-faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: #08172f;
}

.story-faq-item p {
    margin: 0.65rem 0 0;
    color: #66758a;
    line-height: 1.6;
}

.collection-grid-wrap,
.journal-list {
    max-width: 68rem;
    margin: 0 auto;
    padding: 0 1.25rem 4.5rem;
}

.journal-article {
    max-width: 46rem;
    margin: 0 auto;
    padding: calc(var(--site-navbar-height) + 2.5rem) 1.25rem 3rem;
}

.journal-article .story-title {
    margin: 0 0 1.25rem;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.12;
}

.collection-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.collection-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.collection-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border-radius: 1.25rem;
    background: #f7fbfe;
    padding: 1.1rem 1.15rem;
    color: #08172f;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(8, 23, 47, 0.06);
}

.collection-card strong {
    font-size: 1.05rem;
}

.collection-card span {
    color: var(--maptap-blue);
    font-size: 0.8rem;
    font-weight: 700;
}

.collection-card p {
    margin: 0.35rem 0 0;
    color: #66758a;
    font-size: 0.95rem;
    line-height: 1.5;
}

.collection-card-magnets {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.55rem;
    margin: 0.95rem 0 0;
}

.collection-card-magnets img {
    width: 4.25rem;
    height: 4.25rem;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(8, 23, 47, 0.1));
}

.collection-collected {
    margin: 0.15rem 0 0;
    max-width: 22rem;
    text-align: center;
    color: var(--maptap-blue);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.story-example-magnet {
    margin: 0;
    text-align: center;
}

.story-example-magnet img {
    width: 6.5rem;
    height: auto;
    filter: drop-shadow(0 12px 18px rgba(8, 23, 47, 0.12));
}

.story-example-magnet figcaption {
    margin-top: 0.4rem;
    color: #5b6b82;
    font-size: 0.82rem;
    font-weight: 700;
}

.journal-card {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(15, 160, 252, 0.14);
}

.journal-card h2 {
    margin: 0.2rem 0 0.55rem;
    font-size: 1.55rem;
}

.journal-card h2 a {
    color: #08172f;
    text-decoration: none;
}

.journal-card h2 a:hover {
    color: var(--maptap-blue);
}

.journal-article p {
    max-width: 40rem;
    color: #445268;
    font-size: 1.08rem;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .collection-grid {
        grid-template-columns: 1fr 1fr;
    }

    .story-page-hero,
    .story-video-section,
    .story-faq,
    .collection-grid-wrap,
    .journal-list,
    .journal-article {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}
