/* ==========================================================
   Daily Purgatory — front page
   The page climbs the mountain: night at the top, dawn below.
   ========================================================== */

:root {
    --night: #0a1120;
    --night-2: #111a2e;
    --night-3: #1a2340;
    --gold: #d6b06a;
    --gold-bright: #f1d391;
    --gold-deep: #a9823f;
    --ember: #b4423a;
    --parchment: #f6eddd;
    --parchment-2: #ecdec4;
    --text-light: #ece6d8;
    --muted-light: #a8afc0;
    --text-dark: #2b241d;
    --muted-dark: #6d5f50;

    --serif-display: 'Cormorant Garamond', Georgia, serif;
    --serif-body: 'EB Garamond', Georgia, serif;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --wrap: 1120px;
    --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--night);
    color: var(--text-light);
    font-family: var(--serif-body);
    font-size: clamp(18px, 1.1vw + 12px, 20px);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a { color: var(--gold-bright); }

section {
    position: relative;
    z-index: 1;
    padding: clamp(72px, 10vw, 140px) var(--gutter);
}

/* ---------- starfield ---------- */
#stars {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---------- shared type ---------- */
.eyebrow {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin: 0 0 1rem;
}

.section-title {
    font-family: var(--serif-display);
    font-weight: 500;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    line-height: 1.1;
    text-align: center;
    margin: 0 auto 3.5rem;
    max-width: 22ch;
}

.section-lede {
    max-width: 720px;
    margin: -1.5rem auto 3rem;
    text-align: center;
    color: var(--muted-dark);
}
.section-lede.small { font-size: 0.95em; font-style: italic; margin: 3rem auto 2rem; }

.fine {
    font-family: var(--sans);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    opacity: 0.75;
    margin-top: 1rem;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--sans);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.95rem 1.9rem;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-gold {
    color: #20170a;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
    box-shadow: 0 8px 30px rgba(214, 176, 106, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-gold:hover { box-shadow: 0 12px 40px rgba(241, 211, 145, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6); }

.btn-dark {
    color: var(--parchment);
    background: var(--night);
    box-shadow: 0 10px 30px rgba(10, 17, 32, 0.35);
}
.btn-dark:hover { background: var(--night-3); }

.btn-large { font-size: 1.05rem; padding: 1.15rem 2.4rem; }
.btn-small { font-size: 0.8rem; padding: 0.6rem 1.2rem; }

/* ---------- top bar ---------- */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.7rem var(--gutter);
    background: rgba(10, 17, 32, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(214, 176, 106, 0.15);
    transform: translateY(-100%);
    transition: transform .4s ease;
}
.topbar.visible { transform: translateY(0); }

.topbar-brand {
    font-family: var(--serif-display);
    font-size: 1.35rem;
    color: var(--text-light);
    text-decoration: none;
    white-space: nowrap;
}
.topbar-brand em { color: var(--gold); }

.topbar-links { display: flex; gap: 1.6rem; margin-left: auto; }
.topbar-links a {
    font-family: var(--sans);
    font-size: 0.8rem;
    color: var(--muted-light);
    text-decoration: none;
    transition: color .2s;
}
.topbar-links a:hover { color: var(--gold-bright); }

/* ---------- hero ---------- */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero-bg {
    position: absolute;
    inset: -4%;
    background: url('/purgatory.jpg') center 35% / cover no-repeat;
    animation: kenburns 32s ease-in-out infinite alternate;
    will-change: transform;
}
@keyframes kenburns {
    from { transform: scale(1.02) translate(0, 0); }
    to   { transform: scale(1.14) translate(-1.5%, -2%); }
}

.hero-veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 45%, rgba(10, 17, 32, 0.25) 0%, rgba(10, 17, 32, 0.75) 70%),
        linear-gradient(to bottom, rgba(10, 17, 32, 0.35) 0%, rgba(10, 17, 32, 0.15) 40%, var(--night) 100%);
}

.hero-content { position: relative; max-width: 860px; }

.hero-italian {
    font-family: var(--serif-display);
    font-style: italic;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: var(--gold-bright);
    letter-spacing: 0.02em;
    opacity: 0.9;
    margin: 0 0 1.5rem;
}

.hero-title {
    font-family: var(--serif-display);
    font-weight: 500;
    font-size: clamp(3rem, 8vw, 6.4rem);
    line-height: 0.98;
    letter-spacing: -0.01em;
    margin: 0 0 1.75rem;
    color: #fff;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.55);
}

.hero-sub {
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}
.hero-sub strong { color: var(--gold-bright); font-weight: 500; }

.scroll-cue {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    width: 26px; height: 42px;
    margin-left: -13px;
    border: 1.5px solid rgba(241, 211, 145, 0.6);
    border-radius: 14px;
}
.scroll-cue span {
    position: absolute;
    left: 50%; top: 8px;
    width: 3px; height: 8px;
    margin-left: -1.5px;
    border-radius: 2px;
    background: var(--gold-bright);
    animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
    0%   { opacity: 0; transform: translateY(0); }
    40%  { opacity: 1; }
    100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- numbers ---------- */
.numbers { padding-top: 40px; }

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 900px;
    margin: 0 auto 4rem;
    border-top: 1px solid rgba(214, 176, 106, 0.25);
    border-bottom: 1px solid rgba(214, 176, 106, 0.25);
}
.number {
    text-align: center;
    padding: 2rem 0.5rem;
}
.number + .number { border-left: 1px solid rgba(214, 176, 106, 0.15); }
.num {
    display: block;
    font-family: var(--serif-display);
    font-size: clamp(2.6rem, 5vw, 4rem);
    line-height: 1;
    color: var(--gold-bright);
}
.number .label {
    display: block;
    margin-top: 0.6rem;
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted-light);
}

.intro-text { max-width: 680px; margin: 0 auto; text-align: center; }
.intro-text p { color: var(--text-light); font-size: 1.1em; }

/* ---------- manifesto ---------- */
.manifesto {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(180, 66, 58, 0.18), transparent 60%),
        linear-gradient(to bottom, transparent, rgba(17, 26, 46, 0.85) 20%, rgba(17, 26, 46, 0.85) 80%, transparent);
}
.ornament {
    text-align: center;
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}
.manifesto-body { max-width: 760px; margin: 0 auto; }
.manifesto-body p {
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    line-height: 1.75;
    color: var(--text-light);
    margin: 0 0 1.6rem;
}
.manifesto-body p:first-child::first-letter {
    float: left;
    font-family: var(--serif-display);
    font-size: 4.6em;
    line-height: 0.8;
    padding: 0.08em 0.12em 0 0;
    color: var(--gold);
}
.manifesto-close {
    font-family: var(--serif-display);
    font-style: italic;
    font-size: clamp(1.45rem, 2.2vw, 1.85rem) !important;
    line-height: 1.45 !important;
    color: var(--gold-bright) !important;
    text-align: center;
    margin-top: 3rem !important;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(214, 176, 106, 0.25);
}

/* ---------- journey ---------- */
.path {
    position: relative;
    max-width: var(--wrap);
    margin: 0 auto;
}
.path-line {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    background: rgba(214, 176, 106, 0.15);
}
.path-fill {
    width: 100%;
    height: calc(var(--progress, 0) * 100%);
    background: linear-gradient(to bottom, var(--gold-deep), var(--gold-bright));
    box-shadow: 0 0 14px rgba(241, 211, 145, 0.6);
}

.stop {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 96px 1fr;
    align-items: center;
    margin-bottom: clamp(4rem, 8vw, 7rem);
}
.stop:last-child { margin-bottom: 0; }

.stop-image { grid-column: 1; grid-row: 1; margin: 0; }
.stop-marker { grid-column: 2; grid-row: 1; }
.stop-text { grid-column: 3; grid-row: 1; }

.stop:nth-child(odd) .stop-image { grid-column: 3; }
.stop:nth-child(odd) .stop-text { grid-column: 1; text-align: right; }

.stop-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(214, 176, 106, 0.2);
    transition: transform .8s ease;
}
.stop:hover .stop-image img { transform: scale(1.02); }

.stop-marker {
    justify-self: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--night);
    border: 1.5px solid var(--gold);
    display: grid;
    place-items: center;
    font-family: var(--serif-display);
    font-size: 1.05rem;
    color: var(--gold-bright);
    box-shadow: 0 0 0 6px var(--night), 0 0 30px rgba(214, 176, 106, 0.35);
    position: relative;
    z-index: 2;
}

.stop-cantos {
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 0.5rem;
}
.stop-text h3 {
    font-family: var(--serif-display);
    font-weight: 500;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1.1;
    margin: 0 0 0.9rem;
}
.stop-text p:last-child { color: var(--muted-light); margin: 0; }

/* ---------- sample letter ---------- */
.letter {
    max-width: 720px;
    margin: 0 auto;
    background: var(--parchment);
    color: var(--text-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(214, 176, 106, 0.35);
    transform: rotate(-0.6deg);
}
.letter-head {
    padding: 1rem 1.5rem;
    background: var(--parchment-2);
    border-bottom: 1px solid rgba(43, 36, 29, 0.1);
    font-family: var(--sans);
    font-size: 0.82rem;
}
.letter-from { display: flex; align-items: center; gap: 0.8rem; }
.letter-from strong { display: block; color: var(--text-dark); }
.letter-from span { color: var(--muted-dark); }
.letter-from .dot {
    width: 34px; height: 34px;
    flex: none;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--gold-bright), var(--gold-deep));
}
.letter-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.letter-body { position: relative; padding: 2.2rem clamp(1.4rem, 5vw, 3rem) 0; }

.tercet {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-bottom: 1.8rem;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid rgba(169, 130, 63, 0.35);
}
.tercet p { margin: 0; line-height: 1.5; }
.tercet-it { font-style: italic; color: var(--ember); }
.tercet-en { color: var(--text-dark); }

.letter-text { max-height: 18rem; overflow: hidden; }
.letter-text p { margin: 0 0 1.1rem; }
.dropcap::first-letter {
    float: left;
    font-family: var(--serif-display);
    font-size: 3.6em;
    line-height: 0.8;
    padding: 0.08em 0.1em 0 0;
    color: var(--gold-deep);
}

.letter-fade {
    position: relative;
    margin-top: -9rem;
    padding: 8rem 0 2.5rem;
    text-align: center;
    background: linear-gradient(to bottom, rgba(246, 237, 221, 0), var(--parchment) 60%);
}

/* ---------- highlights carousel ---------- */
.carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.quote-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    margin: 0;
    padding: 1rem clamp(1rem, 8vw, 5rem) 2rem;
    text-align: center;
}
.quote-label {
    font-family: var(--sans);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 1.5rem;
}
.quote-card blockquote {
    margin: 0 0 1.75rem;
    font-family: var(--serif-display);
    font-style: italic;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    line-height: 1.3;
    color: #fff;
}
.quote-card figcaption {
    max-width: 560px;
    margin: 0 auto;
    color: var(--muted-light);
}

.carousel-btn {
    position: absolute;
    top: 42%;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(214, 176, 106, 0.4);
    background: rgba(10, 17, 32, 0.6);
    color: var(--gold-bright);
    font-size: 1.1rem;
    cursor: pointer;
    transition: background .2s, border-color .2s;
    z-index: 2;
}
.carousel-btn:hover { background: rgba(214, 176, 106, 0.15); border-color: var(--gold); }
.carousel-btn.prev { left: -64px; }
.carousel-btn.next { right: -64px; }

.carousel-dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1rem; }
.carousel-dots button {
    width: 8px; height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(214, 176, 106, 0.3);
    cursor: pointer;
    transition: background .3s, transform .3s;
}
.carousel-dots button.active { background: var(--gold-bright); transform: scale(1.4); }

/* ---------- media ---------- */
.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: var(--wrap);
    margin: 0 auto;
    align-items: start;
}
.media-card {
    background: rgba(26, 35, 64, 0.55);
    border: 1px solid rgba(214, 176, 106, 0.18);
    border-radius: 12px;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    backdrop-filter: blur(6px);
}
.media-kind {
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 0.6rem;
}
.media-card h3 {
    font-family: var(--serif-display);
    font-weight: 500;
    font-size: 1.9rem;
    line-height: 1.15;
    margin: 0 0 1rem;
}
.media-card > p { color: var(--muted-light); font-size: 0.95em; }

.embed { margin: 1.5rem 0; border-radius: 12px; overflow: hidden; }
.embed iframe { display: block; border: 0; }
.embed-video { position: relative; aspect-ratio: 16 / 9; }
.embed-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

.media-note { font-style: italic; font-size: 0.92em !important; }

.media-more summary {
    cursor: pointer;
    font-family: var(--serif-display);
    font-size: 1.3rem;
    color: var(--gold-bright);
    list-style: none;
}
.media-more summary::-webkit-details-marker { display: none; }
.media-more summary::after { content: '  +'; color: var(--gold); }
.media-more[open] summary::after { content: '  −'; }
.media-more p { color: var(--muted-light); font-size: 0.95em; }

/* ---------- dawn ---------- */
.dawn {
    position: relative;
    z-index: 1;
    color: var(--text-dark);
    background: linear-gradient(to bottom,
        var(--night) 0,
        #2a2645 260px,
        #7a5163 520px,
        #d49a78 760px,
        #efd2a6 980px,
        var(--parchment) 1240px);
}
.dawn .eyebrow { color: var(--gold-deep); }
.dawn a { color: var(--ember); }

/* ---------- reviews ---------- */
.reviews { padding-top: clamp(140px, 18vw, 260px); }
.reviews .eyebrow { color: var(--gold-bright); }

.featured-review {
    max-width: 900px;
    margin: 0 auto 5rem;
    text-align: center;
}
.featured-review blockquote {
    margin: 0 0 2rem;
    font-family: var(--serif-display);
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 2px 30px rgba(90, 40, 50, 0.4);
}
.featured-review figcaption,
.review-card figcaption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 500;
}
.featured-review figcaption { color: #fff; }
.featured-review img,
.review-card img {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}
.review-card {
    margin: 0;
    padding: 2rem;
    background: rgba(255, 252, 245, 0.78);
    border: 1px solid rgba(169, 130, 63, 0.25);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(120, 80, 40, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.review-card blockquote {
    margin: 0 0 1.5rem;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-dark);
}
.review-card blockquote::before {
    content: '“';
    display: block;
    font-family: var(--serif-display);
    font-size: 3.5rem;
    line-height: 0.6;
    color: var(--gold);
    margin-bottom: 0.4rem;
}
.review-card figcaption { justify-content: flex-start; color: var(--muted-dark); }

/* ---------- communities ---------- */
.communities { padding-top: 40px; }
.communities .section-title { color: var(--text-dark); }

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
}
.community-card {
    display: flex;
    flex-direction: column;
    background: #fffaf0;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark) !important;
    box-shadow: 0 20px 50px rgba(120, 80, 40, 0.15);
    transition: transform .35s ease, box-shadow .35s ease;
}
.community-card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(120, 80, 40, 0.25); }
.community-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform .8s ease;
}
.community-card:hover .community-img { transform: scale(1.05); }
.community-body { padding: 1.8rem; position: relative; background: #fffaf0; flex: 1; display: flex; flex-direction: column; }
.community-body h3 {
    font-family: var(--serif-display);
    font-weight: 600;
    font-size: 1.9rem;
    margin: 0;
}
.community-body .motto { font-style: italic; color: var(--gold-deep); margin: 0.2rem 0 1rem; }
.community-body p { color: var(--muted-dark); }
.community-link {
    margin-top: auto;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ember);
}

.more-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}
.more-links a {
    font-family: var(--sans);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-dark);
    padding: 0.6rem 1.1rem;
    border: 1px solid rgba(169, 130, 63, 0.4);
    border-radius: 999px;
    transition: background .2s, border-color .2s;
}
.more-links a:hover { background: rgba(214, 176, 106, 0.18); border-color: var(--gold-deep); }

/* ---------- final CTA ---------- */
.final {
    text-align: center;
    overflow: hidden;
    padding-bottom: clamp(100px, 12vw, 160px);
}
.sun {
    position: absolute;
    left: 50%; bottom: -380px;
    width: 760px; height: 760px;
    margin-left: -380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 236, 190, 0.95) 0%, rgba(241, 200, 130, 0.55) 35%, rgba(241, 200, 130, 0) 70%);
    animation: sunrise 6s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes sunrise {
    from { transform: translateY(20px) scale(0.97); opacity: 0.85; }
    to   { transform: translateY(0) scale(1.03); opacity: 1; }
}
.final > *:not(.sun) { position: relative; }
.final h2 {
    font-family: var(--serif-display);
    font-weight: 500;
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1;
    margin: 0 0 1.2rem;
}
.final p { max-width: 560px; margin: 0 auto 2.2rem; color: var(--muted-dark); }
.final .fine { color: var(--muted-dark); margin-top: 1rem; }

.site-footer {
    position: relative;
    text-align: center;
    padding: 2rem var(--gutter) 3rem;
    font-size: 0.9rem;
    color: var(--muted-dark);
    background: #f9e9c6;
}
.site-footer p { margin: 0; }

/* ---------- scroll reveal ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 1s ease, transform 1s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal.in { opacity: 1; transform: none; }
.js .letter.reveal.in { transform: rotate(-0.6deg); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .carousel-btn.prev { left: 0; }
    .carousel-btn.next { right: 0; }
}

@media (max-width: 860px) {
    .topbar-links { display: none; }
    .topbar { justify-content: space-between; }

    .numbers-grid { grid-template-columns: repeat(2, 1fr); }
    .number:nth-child(3) { border-left: 0; }
    .number:nth-child(n+3) { border-top: 1px solid rgba(214, 176, 106, 0.15); }

    .path-line { left: 26px; }
    .stop,
    .stop:nth-child(odd) {
        grid-template-columns: 52px 1fr;
        column-gap: 1.25rem;
        row-gap: 1.25rem;
        align-items: start;
    }
    .stop-marker,
    .stop:nth-child(odd) .stop-marker { grid-column: 1; grid-row: 1; }
    .stop-image,
    .stop:nth-child(odd) .stop-image { grid-column: 2; grid-row: 1; }
    .stop-text,
    .stop:nth-child(odd) .stop-text { grid-column: 2; grid-row: 2; text-align: left; }

    .tercet { grid-template-columns: 1fr; gap: 1rem; }

    .carousel-btn { display: none; }

    .media-grid,
    .review-grid,
    .community-grid { grid-template-columns: 1fr; }

    .sun { width: 520px; height: 520px; margin-left: -260px; bottom: -260px; }
}

@media (max-width: 480px) {
    .btn-large { padding: 1rem 1.5rem; font-size: 0.95rem; }
    .topbar-brand { font-size: 1.15rem; }
    .letter { transform: none; }
    .js .letter.reveal.in { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-bg, .sun, .scroll-cue span { animation: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .js .letter.reveal.in { transform: rotate(-0.6deg); }
}
