/*
 * Bali Scenic homepage
 * Design decisions: the full-bleed coastal opening lets place lead; numbered,
 * alternating destination chapters create editorial pace without hiding facts;
 * Playfair Display carries the landscape narrative while Plus Jakarta Sans keeps
 * booking details readable; forest green is reserved for actionable emphasis.
 */
:root {
    --bs-primary: #123C24;
    --bs-primary-dark: #002e1b;
    --bs-intro-surface: #17452F;
    --bs-secondary: #F0EBE3;
    --bs-surface: #F0EBE3;
    --bs-surface-low: #F0EBE3;
    --bs-on-surface: #1b1c1c;
    --bs-on-surface-var: #414943;
    --bs-outline: #e0e2dc;
    --bs-on-dark: #fff;
    --bs-pressed-dark: #001d12;
    --bs-image-placeholder: #d9ded8;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
    --max-w: 1280px;
    --motion-ui: 220ms;
    --motion-chapter: 650ms;
    --ease-standard: cubic-bezier(.4, 0, .2, 1);
    --ease-enter: cubic-bezier(.16, 1, .3, 1);
}


/* The 64px photo edge clears the 48px fixed dot by 16px. */
body.page-home {
    --hp-dot-safe-left: calc(max(24px, env(safe-area-inset-left)) + 64px);
    --hp-photo-shift: max(0px, calc(var(--hp-dot-safe-left) - 48px));
}

.welcome-intro {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    overflow: hidden;
    place-items: center;
    background: var(--bs-intro-surface);
    visibility: hidden;
    pointer-events: none;
}

.welcome-intro[hidden] { display: none; }

html.welcome-intro-pending .welcome-intro,
html.welcome-intro-active .welcome-intro,
html.welcome-intro-closing .welcome-intro { visibility: visible; }

.welcome-intro__logo {
    display: block;
    width: min(70vw, 280px);
    height: auto;
}

html.welcome-intro-playing .welcome-intro__logo { visibility: hidden; }

.welcome-intro__canvas {
    position: absolute;
    z-index: 1;
    display: block;
    width: min(100%, 960px);
    height: auto;
    aspect-ratio: 4 / 3;
    visibility: hidden;
    pointer-events: none;
}

html.welcome-intro-playing .welcome-intro__canvas { visibility: visible; }
.welcome-intro__canvas[hidden] { display: none; }

/* Reveal is progressive enhancement: content remains visible without JS. */
.hp-reveal-ready .hp-reveal {
    opacity: 0;
    /* Keep the reveal transform from changing the browser's restored scroll anchor. */
    overflow-anchor: none;
    transform: translateY(16px);
    transition: opacity var(--motion-chapter) var(--ease-standard),
                transform var(--motion-chapter) var(--ease-enter);
}
.hp-reveal-ready .hp-reveal.hp-visible { opacity: 1; transform: none; }
.hp-reveal-ready .hp-reveal-d1 { transition-delay: 45ms; }
.hp-reveal-ready .hp-reveal-d2 { transition-delay: 90ms; }
.hp-reveal-ready .hp-reveal-d3 { transition-delay: 135ms; }

@media (prefers-reduced-motion: reduce) {
    .hp-reveal-ready .hp-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.hp-hero {
    position: relative;
    min-height: min(900px, 100svh);
    min-height: min(900px, 100dvh);
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    padding: 160px max(7vw, 32px) 120px;
    background: var(--bs-primary-dark);
    color: var(--bs-on-dark);
}
.hp-hero-bg,
.hp-hero-overlay { position: absolute; inset: 0; z-index: -1; }
.hp-hero-bg { overflow: hidden; background: var(--bs-primary-dark); }
.hp-hero-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 43%;
    transform: none;
}
.hp-hero-overlay {
    background: linear-gradient(90deg, rgba(0, 20, 12, .72) 0%, rgba(0, 20, 12, .4) 48%, rgba(0, 20, 12, .06) 100%),
                linear-gradient(0deg, rgba(0, 20, 12, .66) 0%, transparent 54%);
}
.hp-hero-content {
    width: min(780px, 100%);
    margin-top: clamp(24px, 6vh, 72px);
}
.hp-hero-kicker,
.hp-eyebrow,
.hp-chapter-number,
.hp-chapter-category {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.5;
    text-transform: uppercase;
}
.hp-hero-kicker {
    margin: 0 0 22px;
    color: var(--bs-on-dark);
    letter-spacing: .18em;
}
.hp-hero-title {
    max-width: 760px;
    margin: 0 0 22px;
    color: var(--bs-on-dark);
    font-family: var(--font-serif);
    font-size: clamp(48px, 7.2vw, 92px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .99;
    text-wrap: balance;
}
.hp-hero-subtitle {
    max-width: 570px;
    margin: 0 0 32px;
    color: var(--bs-on-dark);
    font-family: var(--font-sans);
    font-size: clamp(15px, 1.45vw, 18px);
    line-height: 1.75;
}
.hp-btn-primary,
.hp-chapter-link {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 13px 25px;
    border: 1px solid var(--bs-primary);
    border-radius: 3px;
    background: var(--bs-primary);
    color: var(--bs-on-dark);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background var(--motion-ui) var(--ease-standard), color var(--motion-ui) var(--ease-standard), border-color var(--motion-ui) var(--ease-standard);
}
.hp-btn-primary:hover,
.hp-chapter-link:hover { border-color: var(--bs-primary-dark); background: var(--bs-primary-dark); color: var(--bs-on-dark); }
.hp-btn-primary:active,
.hp-chapter-link:active { background: var(--bs-pressed-dark); }
.hp-btn-primary:focus-visible,
.hp-chapter-link:focus-visible,
.hp-view-all:focus-visible,
.hp-dest-card:focus-visible,
.hp-chapter-image:focus-visible,
.hp-story a:focus-visible {
    outline: 3px solid var(--bs-secondary);
    outline-offset: 4px;
}
.hp-inner { width: min(100%, var(--max-w)); margin: 0 auto; padding: 0 48px; }
.hp-journey { padding: 120px 0 136px; overflow: hidden; background: var(--bs-surface); }
.hp-journey-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 92px;
}
.hp-eyebrow { display: block; margin-bottom: 12px; color: var(--bs-primary); }
.hp-section-title {
    max-width: 720px;
    margin: 0;
    color: var(--bs-on-surface);
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.08;
    text-wrap: balance;
}
.hp-view-all {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--bs-primary);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
    text-transform: uppercase;
    white-space: nowrap;
}
.hp-view-all:hover { color: var(--bs-primary-dark); text-decoration-thickness: 2px; }
.hp-chapter {
    position: relative;
    display: grid;
    width: min(100%, 1500px);
    min-height: 560px;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, .75fr);
    align-items: center;
    margin: 0 auto 116px;
    padding: 0 48px;
}
.hp-chapter:last-of-type { margin-bottom: 0; }
.hp-chapter-image {
    position: relative;
    z-index: 0;
    display: block;
    height: 560px;
    overflow: hidden;
    background: var(--bs-image-placeholder);
}
.hp-chapter-image::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,.12);
    content: '';
    pointer-events: none;
}
.hp-chapter-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms var(--ease-standard);
}
.hp-chapter-image:hover img { transform: scale(1.02); }
.hp-chapter-copy {
    position: relative;
    z-index: 1;
    width: calc(100% + 88px);
    margin-left: -88px;
    padding: 54px 58px 50px;
    background: var(--bs-surface);
}

.hp-chapter-image-first .hp-chapter-copy { grid-column: 2; grid-row: 1; }
.hp-chapter-image-first .hp-chapter-image { grid-column: 1; grid-row: 1; }
.hp-chapter-image-first .hp-chapter-image {
    width: calc(100% - (var(--hp-dot-safe-left) - 48px));
    margin-left: calc(var(--hp-dot-safe-left) - 48px);
}
.hp-chapter-image-last { grid-template-columns: minmax(360px, .75fr) minmax(0, 1.45fr); }
.hp-chapter-image-last .hp-chapter-image { grid-column: 2; grid-row: 1; }
.hp-chapter-image-last .hp-chapter-copy { grid-column: 1; grid-row: 1; margin: 0 -88px 0 0; }
.hp-chapter-number { display: block; margin-bottom: 20px; color: var(--bs-primary); font-size: 13px; }
.hp-chapter-category { display: block; margin-bottom: 10px; color: var(--bs-on-surface-var); font-size: 12px; }
.hp-chapter-title {
    margin: 0;
    color: var(--bs-on-surface);
    font-family: var(--font-serif);
    font-size: clamp(34px, 4.1vw, 54px);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.08;
    text-wrap: balance;
}

.hp-chapter-location {
    margin: 13px 0 23px;
    color: var(--bs-on-surface-var);
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.5;
}
.hp-chapter-description {
    max-width: 480px;
    margin: 0;
    color: var(--bs-on-surface-var);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.8;
}
.hp-chapter-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--bs-outline);
}
.hp-chapter-price {
    display: grid;
    gap: 3px;
    margin: 0;
    color: var(--bs-on-surface-var);
    font-family: var(--font-sans);
    font-size: 12px;
    line-height: 1.5;
}
.hp-chapter-price strong { color: var(--bs-on-surface); font-size: 16px; }
.hp-chapter-link { min-height: 46px; padding: 11px 17px; font-size: 12px; }
.hp-empty-state {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 48px;
    color: var(--bs-on-surface-var);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
}

/* The story is quieter and warmer to give the destination chapters room to land. */
.hp-story {
    padding: 116px 0;
    border-top: 1px solid var(--bs-outline);
    border-bottom: 1px solid var(--bs-outline);
    background: var(--bs-surface-low);
}
.hp-story-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 76px; align-items: center; }
.hp-story-media { position: relative; min-height: 590px; overflow: hidden; background: var(--bs-image-placeholder); }
.hp-story-media img { display: block; width: 100%; height: 100%; min-height: 590px; object-fit: cover; }
.hp-story-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 22px;
    background: rgba(251, 249, 248, .96);
}
.hp-story-caption-title { color: var(--bs-on-surface); font-family: var(--font-sans); font-size: 14px; font-weight: 700; }
.hp-story-caption-loc { color: var(--bs-on-surface-var); font-family: var(--font-sans); font-size: 12px; }
.hp-story-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hp-story-title {
    margin: 0 0 18px;
    color: var(--bs-on-surface);
    font-family: var(--font-serif);
    font-size: clamp(38px, 4.2vw, 58px);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.08;
}
.hp-story-title em { color: var(--bs-primary); font-weight: 400; }
.hp-story-text { margin: 0 0 28px; color: var(--bs-on-surface-var); font-family: var(--font-sans); font-size: 15px; line-height: 1.8; }
.hp-story-feats { display: grid; gap: 0; width: 100%; margin: 0 0 30px; border-top: 1px solid var(--bs-outline); }
.hp-story-feat { padding: 17px 0; border-bottom: 1px solid var(--bs-outline); }
.hp-story-feat i { display: none; }
.hp-story-feat-title { display: block; color: var(--bs-on-surface); font-family: var(--font-sans); font-size: 15px; font-weight: 700; }
.hp-story-feat-desc { display: block; margin-top: 4px; color: var(--bs-on-surface-var); font-family: var(--font-sans); font-size: 14px; line-height: 1.6; }
.hp-btn-cta {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    padding: 12px 21px;
    border: 1px solid var(--bs-primary);
    border-radius: 3px;
    background: transparent;
    color: var(--bs-primary);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background var(--motion-ui) var(--ease-standard), color var(--motion-ui) var(--ease-standard);
}
.hp-btn-cta:hover { background: var(--bs-primary); color: var(--bs-on-dark); }

.hp-section { padding: 104px 0 120px; }
.hp-reviews { background: var(--bs-surface); }
.hp-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 42px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--bs-outline);
}
.hp-reviews .hp-section-title { font-size: clamp(34px, 4.6vw, 54px); }
.hp-reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.hp-review-card { min-width: 0; padding: 26px 0 0; border-top: 2px solid var(--bs-primary); }
.hp-review-stars { display: flex; gap: 4px; margin-bottom: 17px; }
.hp-review-stars i { font-size: 13px; }
.hp-review-stars .is-filled { color: var(--bs-primary); }
.hp-review-stars .is-unfilled { color: var(--bs-outline); }
.hp-review-text { margin: 0 0 21px; color: var(--bs-on-surface); font-family: var(--font-serif); font-size: 19px; line-height: 1.55; }
.hp-review-author { margin: 0; color: var(--bs-primary); font-family: var(--font-sans); font-size: 13px; font-weight: 700; }
.hp-review-dest { margin: 5px 0 0; color: var(--bs-on-surface-var); font-family: var(--font-sans); font-size: 13px; }
.hp-review-incentive { margin: 0.7rem 0 0; color: var(--bs-on-surface-var); font-family: var(--font-sans); font-size: 0.72rem; font-style: italic; line-height: 1.55; }

/* The second destination section is a details-first editorial index, not another hero-card grid. */
.hp-more { padding: 104px 0 116px; background: var(--bs-surface-low); }
.hp-more-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.hp-more-list { border-top: 1px solid var(--bs-outline); }
.hp-more-item {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    padding: 30px 0;
    border-bottom: 1px solid var(--bs-outline);
}
.hp-more-image { display: block; min-width: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bs-image-placeholder); }
.hp-more-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 220ms var(--ease-standard); }
.hp-more-image:hover img { transform: scale(1.02); }
.hp-more-item--no-photo { grid-template-columns: minmax(0, 1fr); }
.hp-more-item--no-photo .hp-more-copy { max-width: 760px; }
.hp-more-copy { min-width: 0; }
.hp-more-title { margin: 0; color: var(--bs-on-surface); font-family: var(--font-serif); font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; letter-spacing: -.03em; line-height: 1.12; text-wrap: balance; }
.hp-more-location { margin: 10px 0 13px; color: var(--bs-on-surface-var); font-family: var(--font-sans); font-size: 14px; line-height: 1.5; }
.hp-more-description { max-width: 580px; margin: 0; color: var(--bs-on-surface-var); font-family: var(--font-sans); font-size: 14px; line-height: 1.75; }
.hp-more-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--bs-outline); }
.hp-more-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--bs-primary); font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-decoration-thickness: 1px; text-underline-offset: 5px; text-transform: uppercase; }
.hp-more-link:hover { color: var(--bs-primary-dark); text-decoration-thickness: 2px; }
.hp-more-link:active { text-decoration-thickness: 3px; }
.hp-more-link:focus-visible { outline: 3px solid var(--bs-secondary); outline-offset: 4px; }
.hp-more-image:focus-visible { outline: 3px solid var(--bs-secondary); outline-offset: 4px; }
.hp-more-link,
.hp-more-image { cursor: pointer; }
.hp-more-item--no-photo .hp-more-copy { grid-column: 1 / -1; }
.hp-btn-cta:active { background: var(--bs-pressed-dark); color: var(--bs-on-dark); }
.hp-closing .hp-btn-primary:active { border-color: var(--bs-pressed-dark); background: var(--bs-pressed-dark); color: var(--bs-on-dark); }
.hp-closing a:focus-visible { outline: 3px solid var(--bs-secondary); outline-offset: 5px; }

.hp-steps { padding: 80px 0 116px; background: var(--bs-primary-dark); color: var(--bs-on-dark); }
.hp-steps-heading { max-width: 720px; margin-bottom: 64px; }
.hp-steps .hp-eyebrow { color: var(--bs-secondary); }
.hp-steps .hp-section-title { color: var(--bs-on-dark); }
.hp-steps-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 0; margin: 0; list-style: none; }
.hp-step { min-width: 0; padding: 23px 26px 0 0; border-top: 1px solid rgba(255,255,255,.42); }
.hp-step + .hp-step { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.22); }
.hp-step-number { display: block; margin-bottom: 25px; color: var(--bs-secondary); font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.hp-step h3 { margin: 0 0 10px; color: var(--bs-on-dark); font-family: var(--font-serif); font-size: clamp(22px, 2.5vw, 31px); font-weight: 500; line-height: 1.2; }
.hp-step p { max-width: 250px; margin: 0; color: rgba(255,255,255,.86); font-family: var(--font-sans); font-size: 14px; line-height: 1.7; }

.hp-closing { position: relative; display: grid; min-height: 560px; place-items: center; overflow: hidden; isolation: isolate; padding: 96px 24px; background: var(--bs-primary-dark); text-align: center; }
.hp-closing > img,
.hp-closing-overlay { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hp-closing > img { display: block; object-fit: cover; object-position: center 56%; }
/* A consistent deep scrim protects small ivory text across changing photo tones. */
.hp-closing-overlay { background: rgba(0, 20, 12, .74); }
.hp-closing-content { max-width: 820px; }
.hp-closing .hp-eyebrow { color: var(--bs-secondary); }
.hp-closing h2 { margin: 0 0 29px; color: var(--bs-on-dark); font-family: var(--font-serif); font-size: clamp(40px, 6vw, 72px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
.hp-closing .hp-btn-primary { border-color: var(--bs-on-dark); background: var(--bs-on-dark); color: var(--bs-primary-dark); }
.hp-closing .hp-btn-primary:hover { border-color: var(--bs-secondary); background: var(--bs-secondary); color: var(--bs-primary-dark); }
.hp-story-media,
.hp-more-image {
    width: calc(100% - var(--hp-photo-shift));
    margin-left: var(--hp-photo-shift);
}
body.page-home a[href] { cursor: pointer; }


@keyframes hp-copy-settle { from { transform: translateY(14px); } to { transform: none; } }

@media (min-width: 1280px) {
    body.page-home {
        --hp-photo-shift: max(0px, calc(var(--hp-dot-safe-left) - 48px - (50vw - 640px)));
    }
}

@media (max-width: 1000px) {
    .hp-hero { min-height: 780px; min-height: min(880px, 94svh); padding: 140px 40px 112px; }
    .hp-chapter { min-height: 470px; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); padding: 0 28px; margin-bottom: 86px; }
    .hp-chapter-image { height: 470px; }
    .hp-chapter-image-first .hp-chapter-image {
        width: calc(100% - (var(--hp-dot-safe-left) - 28px));
        margin-left: calc(var(--hp-dot-safe-left) - 28px);
    }
    .hp-chapter-image-last { grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); }
    .hp-chapter-copy { width: calc(100% + 56px); margin-left: -56px; padding: 38px 36px; }
    .hp-chapter-image-last .hp-chapter-copy { margin-right: -56px; }
    .hp-story-grid { gap: 44px; }
    .hp-story-media, .hp-story-media img { min-height: 500px; }
    .hp-steps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
    .hp-step:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 700px) {
    .hp-inner { padding: 0 22px; }
    .hp-hero {
        min-height: 100vh;
        min-height: 100svh;
        align-items: center;
        padding: 130px 24px calc(116px + 100svh - min(790px, 92svh));
    }
    .hp-hero-bg img { object-position: 57% center; }
    .hp-hero-content { margin-top: 34px; }

    .hp-hero-overlay { background: linear-gradient(90deg, rgba(0, 20, 12, .64), rgba(0, 20, 12, .15)), linear-gradient(0deg, rgba(0, 20, 12, .68), transparent 72%); }
    .hp-hero-kicker { margin-bottom: 16px; font-size: 12px; }
    .hp-hero-title { max-width: 560px; margin-bottom: 17px; font-size: clamp(46px, 12vw, 66px); line-height: 1.02; }
    .hp-hero-subtitle { max-width: 480px; margin-bottom: 24px; font-size: 15px; line-height: 1.65; }


    .hp-journey { padding: 78px 0 84px; }
    .hp-journey-heading { align-items: flex-start; margin-bottom: 48px; }
    .hp-journey-heading .hp-section-title { font-size: clamp(35px, 9vw, 48px); }
    .hp-view-all { font-size: 12px; }
    .hp-chapter,
    .hp-chapter-image-last {
        display: flex;
        min-height: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 0 22px;
        margin-bottom: 64px;
    }
    .hp-chapter-image { height: auto; aspect-ratio: 4 / 3; }
    .hp-chapter-image-first .hp-chapter-image,
    .hp-chapter-image-last .hp-chapter-image {
        width: calc(100% - (var(--hp-dot-safe-left) - 22px));
        margin-left: calc(var(--hp-dot-safe-left) - 22px);
    }
    body.page-home { --hp-photo-shift: calc(var(--hp-dot-safe-left) - 22px); }
    .hp-chapter-copy,
    .hp-chapter-image-last .hp-chapter-copy {
        width: 100%;
        margin: 0;
        padding: 26px 0 0;
        background: var(--bs-surface);
    }
    .hp-chapter-number { margin-bottom: 12px; }
    .hp-chapter-category { margin-bottom: 7px; }
    .hp-chapter-title { font-size: clamp(34px, 9vw, 46px); }
    .hp-chapter-location { margin: 8px 0 15px; }
    .hp-chapter-description { font-size: 14px; }
    .hp-chapter-bottom { align-items: flex-end; gap: 12px; margin-top: 22px; padding-top: 17px; }
    .hp-chapter-link { flex: 0 0 auto; max-width: none; white-space: nowrap; }
    .hp-empty-state { padding: 0 22px; }
    .hp-story { padding: 76px 0; }
    .hp-story-grid { grid-template-columns: 1fr; gap: 34px; }
    .hp-story-media { margin-left: 0; }
    .hp-story-media, .hp-story-media img { min-height: 0; aspect-ratio: 4 / 3; }
    .hp-story-caption { padding: 13px 15px; }
    .hp-story-caption-title { font-size: 12px; }
    .hp-story-caption-loc { font-size: 12px; }
    .hp-story-title { font-size: clamp(38px, 10vw, 50px); }
    .hp-story-text { font-size: 14px; }
    .hp-more { padding: 76px 0 84px; }
    .hp-more-heading { align-items: flex-start; margin-bottom: 30px; }
    .hp-more-item { grid-template-columns: minmax(0, 1fr); gap: 21px; padding: 22px 0; }
    .hp-more-image { aspect-ratio: 4 / 3; }
    .hp-more-item--no-photo { gap: 0; }
    .hp-more-title { font-size: clamp(28px, 8vw, 38px); }
    .hp-more-bottom { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
    .hp-steps { padding: 56px 0 84px; }
    .hp-steps-heading { margin-bottom: 42px; }
    .hp-steps-list { grid-template-columns: 1fr; row-gap: 0; }
    .hp-step,
    .hp-step + .hp-step,
    .hp-step:nth-child(3) { padding: 19px 0 22px; border-left: 0; }
    .hp-step-number { margin-bottom: 12px; }
    .hp-step h3 { font-size: 25px; }
    .hp-step p { max-width: 440px; }
    .hp-closing { min-height: 450px; padding: 76px 22px; }
    .hp-section { padding: 76px 0 86px; }
    .hp-section-header { margin-bottom: 31px; padding-bottom: 20px; }
    .hp-reviews .hp-section-title { font-size: clamp(35px, 9vw, 48px); }
    .hp-reviews-grid { grid-template-columns: 1fr; gap: 34px; }
    .hp-review-card { padding-top: 19px; }
    .hp-review-text { font-size: 18px; }
}

@media (max-width: 380px) {
    .hp-hero { padding-right: 20px; padding-left: 20px; }
    .hp-hero-title { font-size: 43px; }
    .hp-journey-heading,
    .hp-more-heading { flex-direction: column; align-items: flex-start; gap: 15px; }
    .hp-more-item { gap: 18px; }
    .hp-closing { min-height: 400px; }
    .hp-chapter, .hp-chapter-image-last { padding-right: 18px; padding-left: 18px; }
    .hp-chapter-image-first .hp-chapter-image,
    .hp-chapter-image-last .hp-chapter-image {
        width: calc(100% - (var(--hp-dot-safe-left) - 18px));
        margin-left: calc(var(--hp-dot-safe-left) - 18px);
    }
    .hp-chapter-bottom { align-items: stretch; flex-direction: column; }
    .hp-chapter-link { width: 100%; max-width: none; }
}


@media (prefers-reduced-motion: reduce) {
    .hp-hero-bg img,
    .hp-hero-content > * { animation: none; transform: none; }
    .hp-chapter-image img,
    .hp-more-image img,
    .hp-btn-primary,
    .hp-chapter-link,
    .hp-btn-cta { transition: none; }
}
