/* ============================================================
   WANDSPIRIT — HOME
   Dark editorial layout + scroll motion system.
   ============================================================ */

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

:root {
    --gold: #f5c400;
    --gold-dark: #c49a00;
    --black: #0b0b0a;
    --panel: #131312;
    --panel-2: #1a1a18;
    --line: rgba(255, 255, 255, 0.1);
    --white: #ffffff;
    --text: #e9e8e3;
    --muted: #8d8b83;

    --pad: clamp(1.25rem, 4vw, 4rem);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--black);
    color: var(--text);
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

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

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

/* ============================================================
   NAV
   ============================================================ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem var(--pad);
    border-bottom: 1px solid transparent;
    transition:
        background 0.5s var(--ease),
        backdrop-filter 0.5s var(--ease),
        border-color 0.5s var(--ease),
        padding 0.5s var(--ease);
}

nav.scrolled {
    background: rgba(11, 11, 10, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.nav-logo img {
    height: 26px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 2.4rem;
    list-style: none;
    justify-self: center;
}

.nav-links a {
    position: relative;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.82);
    padding-bottom: 3px;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s var(--ease);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-self: end;
}

.nav-lang {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: rgba(255, 255, 255, 0.85);
    font-family: inherit;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    padding: 0.42rem 0.75rem;
    cursor: pointer;
    transition:
        background 0.35s var(--ease),
        color 0.35s var(--ease),
        border-color 0.35s var(--ease);
}

.nav-lang:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 26px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 1.5px;
    width: 100%;
    background: var(--white);
    transition: transform 0.4s var(--ease), opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s var(--ease);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.5s var(--ease),
        transform 0.5s var(--ease);
}

.mobile-menu.open a {
    opacity: 1;
    transform: none;
}
.mobile-menu.open a:nth-child(1) {
    transition-delay: 0.1s;
}
.mobile-menu.open a:nth-child(2) {
    transition-delay: 0.18s;
}
.mobile-menu.open a:nth-child(3) {
    transition-delay: 0.26s;
}

/* ============================================================
   MOTION PRIMITIVES
   ============================================================ */

/* generic fade-up reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.9s var(--ease),
        transform 0.9s var(--ease);
}

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

/* staggered children: each child gets --i from JS */
[data-stagger] {
    perspective: 1400px;
}

[data-stagger] > * {
    opacity: 0;
    transform: translateY(48px) rotateX(9deg);
    transform-origin: 50% 100%;
    transition:
        opacity 0.95s var(--ease),
        transform 1.05s var(--ease);
    transition-delay: calc(var(--i, 0) * 110ms);
}

[data-stagger].is-in > * {
    opacity: 1;
    transform: none;
}

/* split text: masked line, each unit rises out */
.split-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.08em;
    margin-bottom: -0.08em;
}

.split-unit {
    display: inline-block;
    transform: translateY(110%) rotate(4deg);
    opacity: 0;
    transition:
        transform 1.05s var(--ease),
        opacity 0.7s var(--ease);
    transition-delay: calc(var(--i, 0) * 42ms);
    will-change: transform;
}

.is-in .split-unit,
.split-unit.is-in {
    transform: none;
    opacity: 1;
}

/* parallax layers are oversized so they never expose an edge */
[data-parallax] {
    will-change: transform;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    padding: 0 var(--pad) clamp(2rem, 5vw, 4rem);
}

.hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: -18%;
    left: 0;
    width: 100%;
    height: 136%;
}

/* The intro zoom lives on a pseudo-element: a `forwards` animation on
   .hero-img itself would outrank the inline transform the parallax
   engine writes and freeze the layer in place. */
.hero-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(/static/img/new-hero-wandspirit.jpg) center/cover no-repeat;
    transform: scale(1.12);
    animation: heroIn 2.4s var(--ease) forwards;
}

@keyframes heroIn {
    to {
        transform: scale(1);
    }
}

.hero-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 11, 10, 0.55) 0%,
        rgba(11, 11, 10, 0.08) 35%,
        rgba(11, 11, 10, 0.72) 88%,
        var(--black) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: clamp(1.1rem, 2.5vw, 1.8rem);
}

.hero-kicker {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero-title {
    font-family: "Archivo", sans-serif;
    font-weight: 900;
    font-size: clamp(2.6rem, 9vw, 8rem);
    line-height: 0.88;
    letter-spacing: -0.02em;
    color: var(--white);
    text-transform: uppercase;
}

.hero-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-end;
    gap: 2rem;
}

.hero-desc {
    max-width: 52ch;
    font-size: clamp(0.92rem, 1.3vw, 1.05rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.86);
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-scroll {
    position: absolute;
    right: var(--pad);
    top: 52%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

.hero-scroll span {
    writing-mode: vertical-rl;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.scroll-line {
    width: 1px;
    height: 64px;
    background: rgba(255, 255, 255, 0.3);
    overflow: hidden;
    position: relative;
}

.scroll-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gold);
    animation: scrollPulse 2.1s var(--ease) infinite;
}

@keyframes scrollPulse {
    0% {
        transform: translateY(-100%);
    }
    60%,
    100% {
        transform: translateY(100%);
    }
}

/* ============================================================
   SHARED SECTION BITS
   ============================================================ */
section {
    position: relative;
}

.section-title {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: clamp(1.5rem, 3.4vw, 2.6rem);
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: var(--white);
}

.section-label {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}

.link-arrow {
    white-space: nowrap;
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.35s var(--ease);
}

.link-arrow:hover {
    color: var(--gold);
}

/* ============================================================
   EXPERIENCES
   ============================================================ */
#experiences {
    background: var(--black);
    padding: clamp(3.5rem, 8vw, 7rem) var(--pad) clamp(3rem, 7vw, 6rem);
}

.exp-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: clamp(1.8rem, 4vw, 3rem);
}

.exp-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.1rem;
}

.exp-card {
    grid-column: span 2;
    background: var(--panel);
    padding: 1rem 1rem 1rem;
    transform-style: preserve-3d;
    transition:
        background 0.5s var(--ease),
        box-shadow 0.6s var(--ease);
}

.exp-card-wide {
    grid-column: span 3;
}

.exp-card:hover {
    background: var(--panel-2);
    box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.9);
}

.exp-card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.exp-name {
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--white);
}

.exp-tag {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    transition: color 0.4s var(--ease);
}

.exp-card:hover .exp-tag {
    color: var(--gold);
}

.exp-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.exp-card-wide .exp-card-media {
    aspect-ratio: 16 / 9;
}

.exp-card-img {
    position: absolute;
    top: -8%;
    left: 0;
    width: 100%;
    height: 116%;
    background-size: cover;
    background-position: center;
    transition:
        transform 1.1s var(--ease),
        filter 0.8s var(--ease);
    filter: saturate(0.9);
}

.exp-card:hover .exp-card-img {
    transform: scale(1.07);
    filter: saturate(1.08);
}

/* dots belong to the phone carousel below */
.exp-dots {
    display: none;
}

.img-hikes {
    background-image: url(/static/img/hiking-trail.jpg);
}
.img-climb {
    background-image: url(/static/img/rock-climbing.jpg);
}
.img-trips {
    background-image: url(/static/img/trips-camps.jpg);
}
.img-city {
    background-image: url(/static/img/city-tour.jpg);
}
.img-women {
    background-image: url(/static/img/women-group.jpg);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials {
    background: var(--black);
    padding: clamp(3rem, 7vw, 6rem) var(--pad) clamp(4rem, 9vw, 8rem);
}

#testimonials .section-title {
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.testimonial-card {
    background: var(--black);
    padding: clamp(2rem, 4vw, 3.2rem) clamp(1.6rem, 3vw, 2.6rem);
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    transition: background 0.5s var(--ease);
}

.testimonial-card:hover {
    background: var(--panel);
}

.testimonial-quote {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 2.6rem;
    line-height: 0.7;
    color: var(--gold);
}

.testimonial-card blockquote {
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    line-height: 1.8;
    color: rgba(233, 232, 227, 0.88);
    flex: 1;
}

.testimonial-card figcaption {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
}

.author-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white);
}

.author-trip {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--muted);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how {
    --media-h: clamp(340px, 58vw, 640px);
    position: relative;
    background: var(--black);
    overflow: hidden;
    isolation: isolate;
}

.how-bg {
    position: absolute;
    top: -14%;
    left: 0;
    width: 100%;
    height: 128%;
    z-index: -2;
    background: url(/static/img/wildlife-1.jpeg) center/cover no-repeat;
}

#how::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(11, 11, 10, 0.55),
        rgba(11, 11, 10, 0.04) 42%,
        rgba(11, 11, 10, 0) 100%
    );
}

.how-media {
    position: relative;
    height: var(--media-h);
}

.how-title {
    position: absolute;
    left: var(--pad);
    top: clamp(2rem, 6vw, 4.5rem);
    z-index: 2;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 6.2vw, 5.4rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--white);
}

.how-band {
    position: relative;
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    padding: 0;

    /* frosted glass over the section image: a light tint only, so the
       photo stays readable through the blur */
    background: rgba(11, 11, 10, 0.22);
    backdrop-filter: blur(20px) saturate(1.05);
    -webkit-backdrop-filter: blur(20px) saturate(1.05);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--white);
}

.how-intro,
.how-step {
    padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.1rem, 2vw, 2rem);
}

.how-intro {
    padding-left: var(--pad);
    font-size: clamp(0.9rem, 1.35vw, 1.1rem);
    font-weight: 500;
    line-height: 1.55;
    color: var(--white);
}

.how-step {
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.how-step:last-child {
    padding-right: var(--pad);
}

.step-num {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    line-height: 1;
    color: var(--white);
}

/* fixed gap under the number, so all three labels share a baseline
   regardless of how long each description runs */
.step-title {
    padding-top: 0.85rem;
    font-size: clamp(0.82rem, 1.1vw, 0.95rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--white);
}

.step-desc {
    padding-top: 0.85rem;
    font-size: clamp(0.72rem, 0.9vw, 0.8rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
   ABOUT
   ============================================================ */
#about {
    background: var(--black);
    padding: clamp(4rem, 9vw, 8rem) var(--pad) clamp(3rem, 7vw, 6rem);
}

.about-head {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: start;
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.about-head .section-label {
    padding-top: 0.5rem;
}

.about-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
    align-items: stretch;
}

.about-visual {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.about-img {
    position: absolute;
    top: -12%;
    left: 0;
    width: 100%;
    height: 124%;
    background: url(/static/img/founders.jpg) center/cover no-repeat;
}

.about-panel {
    background: var(--panel);
    padding: clamp(1.5rem, 3.5vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
}

.about-copy {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.about-text {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    line-height: 1.8;
    color: var(--white);
    font-weight: 400;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.stat-num {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1;
    color: var(--white);
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--muted);
}

/* ============================================================
   FULL-BLEED BAND
   ============================================================ */
.bleed-band {
    position: relative;
    height: clamp(280px, 46vw, 560px);
    overflow: hidden;
    margin: 0 var(--pad);
}

.bleed-img {
    position: absolute;
    top: -22%;
    left: 0;
    width: 100%;
    height: 144%;
    background: url(/static/img/rocky-mountain.jpg) center/cover no-repeat;
}

/* ============================================================
   CTA
   ============================================================ */
#join {
    background: var(--black);
    padding: clamp(4rem, 9vw, 8rem) var(--pad) clamp(3rem, 6vw, 5rem);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-areas:
        "title desc"
        "btns  btns";
    gap: clamp(1.5rem, 4vw, 4rem) clamp(2rem, 6vw, 6rem);
    align-items: start;
}

.cta-title {
    grid-area: title;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4.4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--white);
}

.cta-desc {
    grid-area: desc;
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--muted);
    max-width: 38ch;
    justify-self: end;
}

.cta-btns {
    grid-area: btns;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: clamp(0.5rem, 1.5vw, 1.25rem);
}

.btn-primary,
.btn-ghost {
    position: relative;
    overflow: hidden;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.95rem 1.6rem;
    transition:
        color 0.45s var(--ease),
        border-color 0.45s var(--ease),
        transform 0.45s var(--ease);
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    font-weight: 500;
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--text);
}

/* wipe fill on hover */
.btn-primary::before,
.btn-ghost::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--white);
    transform: translateY(101%);
    transition: transform 0.55s var(--ease);
    z-index: -1;
}

.btn-ghost::before {
    background: var(--gold);
}

.btn-primary,
.btn-ghost {
    isolation: isolate;
}

.btn-primary:hover::before,
.btn-ghost:hover::before {
    transform: translateY(0);
}

.btn-ghost:hover {
    color: var(--black);
    border-color: var(--gold);
}

.btn-primary:hover,
.btn-ghost:hover {
    transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    padding: 1.6rem var(--pad);
    border-top: 1px solid var(--line);
}

.footer-logo img {
    height: 22px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    justify-self: center;
}

.footer-links a,
.footer-terms {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    transition: color 0.35s var(--ease);
}

.footer-links a:hover,
.footer-terms:hover {
    color: var(--gold);
}

.footer-terms {
    justify-self: end;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
    .exp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .exp-card,
    .exp-card-wide {
        grid-column: span 1;
    }
    .exp-card-wide .exp-card-media {
        aspect-ratio: 4 / 3;
    }
    .how-band {
        grid-template-columns: 1fr 1fr;
    }
    .how-intro {
        grid-column: 1 / -1;
    }
    /* two-up: children 2 and 4 land in the left column */
    .how-step:nth-child(2),
    .how-step:nth-child(4) {
        border-left: none;
    }
    .how-step:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        grid-column: 1 / -1;
    }
    .about-head {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    nav {
        grid-template-columns: 1fr auto;
    }

    #hero {
        padding-bottom: 3rem;
    }
    .hero-inner {
        gap: 1.2rem;
    }
    .hero-row {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 1.4rem;
    }
    /* At phone aspect ratios `cover` crops to the middle of the frame and
       loses the hiker, who sits ~67% across the source image. Shift the
       crop window right to keep him in shot. */
    .hero-img::before {
        background-position: 72% center;
    }

    .hero-title {
        font-size: clamp(2.8rem, 13vw, 5rem);
    }
    .hero-desc {
        /* let it run the full gutter-to-gutter width instead of the
           narrow measure the desktop column uses */
        max-width: none;
    }
    .hero-scroll {
        display: none;
    }

    /* ---- phone carousel ----
       The grid becomes a snapping horizontal track that bleeds to both
       screen edges, with scroll padding so the first and last card rest
       against the section gutter rather than the viewport edge. */
    .exp-grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--pad);
        gap: 0.75rem;
        margin-inline: calc(var(--pad) * -1);
        padding-inline: var(--pad);
        padding-bottom: 0.25rem;
        scrollbar-width: none;
        /* the entrance rotateX needs room or the track clips it */
        perspective: 900px;
    }
    .exp-grid::-webkit-scrollbar {
        display: none;
    }

    .exp-card,
    .exp-card-wide {
        flex: 0 0 82%;
        scroll-snap-align: start;
    }
    .exp-card-wide .exp-card-media {
        aspect-ratio: 4 / 3;
    }

    .exp-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1.25rem;
    }

    .exp-dot {
        width: 6px;
        height: 6px;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.24);
        cursor: pointer;
        transition:
            background 0.4s var(--ease),
            width 0.4s var(--ease);
    }

    .exp-dot.is-active {
        width: 18px;
        border-radius: 3px;
        background: var(--gold);
    }

    /* Stacked, the band is far taller than the image it sits under, so a
       section-height photo would push the elk out of the visible crop.
       Size the image to the media area and make the band solid instead. */
    .how-bg {
        top: calc(var(--media-h) * -0.14);
        height: calc(var(--media-h) * 1.28);
    }
    #how::after {
        bottom: auto;
        height: var(--media-h);
    }

    .how-band {
        grid-template-columns: 1fr;
        background: var(--black);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-top: none;
    }
    .how-intro,
    .how-step {
        padding-left: var(--pad);
        padding-right: var(--pad);
    }
    .how-step {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
    }
    .about-body {
        grid-template-columns: 1fr;
    }
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    #join {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "desc"
            "btns";
    }
    .cta-desc {
        justify-self: start;
    }

    footer {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 1.2rem;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.2rem;
    }
    .footer-terms {
        justify-self: center;
    }
}

/* ============================================================
   REDUCED MOTION — everything resolves to its resting state
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    [data-reveal],
    [data-stagger] > *,
    .split-unit {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero-img::before {
        transform: none;
    }
}
