/* Homepage motion scenes. Other storefront pages retain the shared Atlas system. */
.atlas-home { --atlas-gutter: clamp(18px, 3.2vw, 64px); }
.atlas-home .atlas-header { min-height: 88px; }
.atlas-reading-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: #ae623c; transform: scaleX(0); transform-origin: left; z-index: 100; pointer-events: none; }
.atlas-home .atlas-cover { display: block; height: max(650px, calc(100svh - 112px)); max-height: 1000px; border-radius: 3px; background: #183d33; }
.atlas-home .atlas-photographs { position: absolute; inset: -5% 0; height: 110%; min-height: 0; z-index: -2; }
.atlas-home .atlas-photo img { object-position: 55% 60%; }
.atlas-home .atlas-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #081e18ed 0%, #0c251bc7 18%, #091e176b 42%, #10261900 70%); pointer-events: none; }
.atlas-home .atlas-photo figcaption { inset: auto 32px 8%; z-index: 1; background: transparent; padding: 0; justify-content: end; font-size: .8rem; }
.atlas-home .atlas-page { z-index: 2; height: 100%; padding: clamp(30px, 4vw, 64px); display: flex; justify-content: end; align-items: stretch; background: none; }
.atlas-home .atlas-page::before { display: none; }
.atlas-home .atlas-folio { position: absolute; top: 35px; left: clamp(30px, 4vw, 64px); background: #173c30; color: #f9f7ef; padding: 10px 13px; border-radius: 2px; font-size: .75rem; }
.atlas-home .atlas-controls { position: absolute; top: 28px; right: 28px; }
.atlas-home .atlas-controls a { background: #173c30db; border-color: #c4cfc1; }
.atlas-home .atlas-progress { display: none; }
.atlas-home .atlas-stories { margin: 0; padding: 0 0 48px; }
.atlas-home .atlas-story { display: grid; grid-template-columns: 1.6fr 1fr; align-items: end; gap: 0 clamp(25px, 4vw, 70px); }
.atlas-home .atlas-story h1 { font-size: clamp(64px, 8vw, 130px); line-height: .98; grid-row: 1 / 3; letter-spacing: -.047em; }
.atlas-home .atlas-story h1.atlas-custom-title { font-size: clamp(40px, 5vw, 76px); }
.atlas-home .atlas-title-mask { display: block; overflow: clip; padding-block: .10em; margin-block: -.10em; }
.atlas-home [data-title-line] { display: block; transform-origin: left bottom; }
.atlas-home .atlas-story p { align-self: end; color: #fff; font-size: 1rem; line-height: 1.65; margin: 0 0 24px; max-width: 34ch; }
.atlas-home .atlas-story .atlas-paper-button { justify-self: start; align-self: start; }
.atlas-scroll-cue { position: absolute; left: clamp(30px, 4vw, 64px); bottom: 24px; z-index: 3; display: inline-flex; align-items: center; min-height: 44px; color: #f9f7ef; text-decoration: none; gap: 12px; font-size: .78rem; }
.atlas-scroll-cue .icon { border: 1px solid #c5d0bf; border-radius: 50%; width: 38px; height: 38px; padding: 10px; }
.atlas-home .atlas-finder { position: relative; z-index: 4; margin-top: 24px; padding-block: 27px; background: #f0eee3; }
.atlas-home .atlas-selection { margin-block: clamp(75px, 10vw, 150px); scroll-margin-top: 35px; }
.atlas-home .atlas-selection .atlas-section-head { padding-bottom: 36px; }
.atlas-home .atlas-selection h2 { font-size: clamp(42px, 5vw, 78px); }
.atlas-home [data-card-motion] { min-width: 0; }
.atlas-home [data-card-motion]:nth-child(2) { padding-top: 72px; }
.atlas-home [data-card-motion]:nth-child(3) { padding-top: 28px; }
.atlas-home .atlas-card-image { aspect-ratio: .95; border-radius: 2px; }
.atlas-home .atlas-card { height: 100%; }
.atlas-home .atlas-card h3 { font-size: clamp(26px, 2.4vw, 38px); }
.atlas-home .atlas-card-meta { margin-top: 24px; font-size: .8rem; }
.atlas-home .atlas-card p { font-size: 1rem; line-height: 1.65; }
.atlas-home .atlas-card-bottom { margin-top: 14px; padding-top: 18px; }
.atlas-journey { position: relative; background: #163b30; color: #f9f7ef; }
.atlas-journey-stage { position: relative; }
.atlas-journey-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 34px var(--atlas-gutter); z-index: 5; position: relative; }
.atlas-journey-heading h2 { font-size: 1rem; margin: 0; font-weight: 500; }
.atlas-journey-heading > span { font: .8rem/1.4 ui-monospace, monospace; color: #f9f7ef; background: #163b30; padding: 5px 8px; border-radius: 2px; }
.atlas-chapter { position: relative; min-height: 650px; padding: 210px max(var(--atlas-gutter), calc((100vw - 1400px) / 2)) 80px; isolation: isolate; }
.atlas-chapter-image { position: absolute; inset: 0; overflow: hidden; z-index: -2; background: #254635; }
.atlas-chapter-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #0a2118f5 0%, #11291fc4 20%, #0c291a50 55%, #0e281a2e 80%), linear-gradient(90deg, #0a21187a, transparent 80%); }
.atlas-chapter-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.atlas-chapter-copy { max-width: 1000px; position: relative; z-index: 1; }
.atlas-chapter-place { display: block; font-size: 1rem; margin-bottom: 16px; }
.atlas-chapter h3 { font: 500 clamp(48px, 7.5vw, 110px)/1.04 var(--atlas-display); letter-spacing: -.045em; max-width: 11ch; margin-bottom: 24px; text-wrap: balance; }
.atlas-chapter-copy p { max-width: 40ch; font-size: 1rem; line-height: 1.6; margin-bottom: 25px; color: #ecf0e6; text-wrap: pretty; }
.atlas-journey-nav { position: relative; display: flex; gap: 0; padding: 12px var(--atlas-gutter) 24px; z-index: 6; background: #163b30; }
.atlas-journey-nav a { display: flex; justify-content: space-between; align-items: center; flex: 1; padding: 16px 20px; min-height: 52px; border-top: 1px solid #cad5c080; color: #e6ece0; text-decoration: none; }
.atlas-journey-nav a[aria-current="step"] { color: #fff; background: #ffffff1c; border-color: #f1c29e; }
.atlas-journey-line { position: absolute; bottom: 8px; left: var(--atlas-gutter); right: var(--atlas-gutter); height: 2px; background: #edbc91; transform: scaleX(0); transform-origin: left; }
.atlas-motion:not(.atlas-reduced) .atlas-journey { height: 310svh; }
.atlas-motion:not(.atlas-reduced) .atlas-journey-stage { position: sticky; top: 0; height: 100svh; overflow: clip; }
.atlas-motion:not(.atlas-reduced) .atlas-journey-heading { position: absolute; left: 0; right: 0; top: 0; background: linear-gradient(#0a211884, transparent); }
.atlas-motion:not(.atlas-reduced) .atlas-chapters { position: absolute; inset: 0; }
.atlas-motion:not(.atlas-reduced) .atlas-chapter { position: absolute; inset: 0; min-height: 0; display: flex; align-items: end; padding-top: 100px; padding-bottom: 135px; }
.atlas-motion:not(.atlas-reduced) .atlas-chapter + .atlas-chapter { opacity: 0; }
.atlas-motion:not(.atlas-reduced) .atlas-journey-nav { position: absolute; bottom: 0; left: 0; right: 0; background: none; }
.atlas-motion:not(.atlas-reduced) .atlas-journey[data-chapter-count="1"] { height: 100svh; }
.atlas-home .atlas-about { padding-block: clamp(60px, 7vw, 110px); border-top: 0; grid-template-columns: 1fr 1.2fr; align-items: center; }
.atlas-home .atlas-about p { font: 500 clamp(24px, 2.4vw, 38px)/1.5 var(--atlas-display); letter-spacing: -.02em; }
.atlas-home .atlas-about-map { width: 48px; height: 48px; }
.atlas-ending { padding: 0 0 clamp(70px, 8vw, 130px); overflow: clip; }
.atlas-route { width: 100%; height: clamp(100px, 15vw, 210px); overflow: visible; }
.atlas-route-base { stroke: #d1d3c3; stroke-width: 1; }
.atlas-route-stroke { stroke: #a64828; stroke-width: 2; }
.atlas-route circle { fill: #a64828; stroke: var(--atlas-paper); stroke-width: 3; }
.atlas-ending-content { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: end; padding-top: 30px; }
.atlas-ending-title { font: 500 clamp(50px, 7vw, 110px)/1.03 var(--atlas-display); letter-spacing: -.045em; margin: 0; }
.atlas-ending-contact { padding-bottom: 10px; max-width: 370px; }
.atlas-ending-contact p { font-size: 1rem; line-height: 1.65; color: var(--atlas-muted); text-wrap: pretty; }
.atlas-contact-link { display: flex; min-height: 62px; justify-content: space-between; gap: 25px; align-items: center; color: var(--atlas-ink); border-bottom: 1px solid var(--atlas-pine); font-size: clamp(22px, 2.5vw, 32px); text-decoration: none; }
.atlas-contact-link .icon-lg { width: 36px; height: 36px; }
.atlas-contact-phone { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; color: var(--atlas-muted); text-decoration: none; }
.atlas-home .atlas-footer { position: relative; overflow: clip; }
.atlas-home .atlas-footer::before { content: ""; position: absolute; inset: 0 0 0 60%; background: url("../images/acme-atlas/contours.png") right center / cover; opacity: .19; pointer-events: none; }
.atlas-home .atlas-footer .atlas-wrap { position: relative; }
.atlas-home .atlas-footer p { text-wrap: balance; }
@media (hover: hover) and (pointer: fine) {
    .atlas-home :is(.atlas-paper-button,.atlas-search-button,.atlas-reservation) { transition: background-color .18s, color .18s; }
    .atlas-home :is(.atlas-contact-link,.atlas-text-link,.atlas-paper-button) .icon,
    .atlas-home .atlas-contact-link .icon-lg { transition: transform .22s ease-out; }
    .atlas-home :is(.atlas-contact-link,.atlas-text-link,.atlas-paper-button):hover :is(.icon,.icon-lg) { transform: translate(3px, -3px); }
    .atlas-home .atlas-card-image img { transition: filter .2s; }
    .atlas-home .atlas-card:hover .atlas-card-image img { filter: saturate(1.13); }
    .atlas-journey-nav a:hover { background: #ffffff1c; }
}
@media (max-width: 1000px) {
    .atlas-home .atlas-story { grid-template-columns: 1.2fr 1fr; gap: 22px; }
    .atlas-home .atlas-story h1 { font-size: clamp(60px, 8.6vw, 100px); }
    .atlas-home .atlas-cover { height: max(630px, calc(100svh - 110px)); }
    .atlas-home [data-card-motion]:nth-child(2) { padding-top: 40px; }
}
@media (max-width: 640px) {
    .atlas-home { --atlas-gutter: 16px; }
    .atlas-home .atlas-header { min-height: 72px; }
    .atlas-home .atlas-cover { height: max(690px, calc(100svh - 90px)); max-height: none; }
    .atlas-home .atlas-page { padding: 24px; }
    .atlas-home .atlas-story { display: block; }
    .atlas-home .atlas-story h1 { font-size: clamp(50px, 13.5vw, 78px); line-height: 1.02; }
    .atlas-home .atlas-story p { margin: 20px 0; font-size: .94rem; max-width: 35ch; line-height: 1.55; }
    .atlas-home .atlas-stories { padding-bottom: 54px; }
    .atlas-home .atlas-title-mask, .atlas-home [data-title-line] { display: block; }
    .atlas-home .atlas-folio { top: 20px; left: 20px; font-size: .7rem; padding: 8px; }
    .atlas-home .atlas-controls { top: 18px; right: 18px; }
    .atlas-home .atlas-folio-rule { display: none; }
    .atlas-home .atlas-photographs { height: 110%; min-height: 0; }
    .atlas-home .atlas-photo img { object-position: 58% center; }
    .atlas-home .atlas-photo::after { background: linear-gradient(0deg, #0a2319 3%, #0d281de6 25%, #0a241b52 53%, #0a211810 80%); }
    .atlas-home .atlas-photo figcaption { display: none; }
    .atlas-scroll-cue { bottom: 16px; left: 24px; font-size: .75rem; }
    .atlas-home .atlas-finder { margin-top: 18px; padding: 16px; }
    .atlas-home .atlas-selection { margin-block: 65px; }
    .atlas-home .atlas-selection h2 { font-size: 40px; }
    .atlas-home .atlas-selection .atlas-section-head { padding-bottom: 20px; }
    .atlas-home .atlas-grid { gap: 40px; }
    .atlas-home [data-card-motion]:nth-child(n) { padding-top: 0; }
    .atlas-home .atlas-card-image { aspect-ratio: 1.2; }
    .atlas-home .atlas-card-meta { margin-top: 20px; }
    .atlas-home .atlas-card h3 { font-size: 30px; }
    .atlas-home .atlas-card p { font-size: .94rem; }
    .atlas-motion:not(.atlas-reduced) .atlas-journey { height: 280svh; }
    .atlas-motion:not(.atlas-reduced) .atlas-chapter { padding: 95px 24px 120px; }
    .atlas-chapter { padding: 180px 24px 55px; min-height: 620px; }
    .atlas-chapter h3 { font-size: clamp(48px, 13.5vw, 72px); margin-bottom: 18px; }
    .atlas-chapter-copy p { font-size: .94rem; max-width: 32ch; }
    .atlas-journey-heading { padding: 24px; }
    .atlas-journey-nav { padding: 10px 16px 18px; }
    .atlas-journey-nav a { font-size: .79rem; padding: 13px 8px; gap: 6px; min-height: 48px; }
    .atlas-journey-nav .icon { width: 14px; height: 14px; }
    .atlas-home .atlas-about { grid-template-columns: 1fr; gap: 26px; padding-block: 60px; }
    .atlas-home .atlas-about p { font-size: 26px; }
    .atlas-ending-content { grid-template-columns: 1fr; gap: 30px; padding-top: 16px; }
    .atlas-ending-title { font-size: clamp(46px, 13vw, 64px); }
    .atlas-ending-contact { max-width: none; }
}
@media (max-height: 540px) and (min-width: 641px) {
    .atlas-motion:not(.atlas-reduced) .atlas-journey { height: auto; }
    .atlas-motion:not(.atlas-reduced) .atlas-journey-stage { height: auto; position: relative; }
    .atlas-motion:not(.atlas-reduced) .atlas-chapters { position: relative; }
    .atlas-motion:not(.atlas-reduced) .atlas-chapter { position: relative; min-height: 650px; }
}
@media (prefers-reduced-motion: reduce) {
    .atlas-home *, .atlas-home *::before, .atlas-home *::after { scroll-behavior: auto !important; transition: none !important; }
}
