/* Mount Seymour 雪地露营 — AI Page 样式（前缀 ms- / ap-） */
.ms { --pink: #f39bc0; --dusk: #8f7cf0; }

/* ---------- Hero ---------- */
.ms-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #05070d; }
.ms-hero__bg { position: absolute; inset: -4% 0 0; z-index: -3; will-change: transform; }
.ms-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: msKen 26s ease-in-out infinite alternate; }
.ms-hero__shade { position: absolute; inset: 0; z-index: -2; background:
    linear-gradient(0deg, var(--bg) 0%, rgba(7,10,18,.78) 32%, rgba(7,10,18,.15) 62%, rgba(7,10,18,.35) 100%),
    linear-gradient(90deg, rgba(7,10,18,.65), transparent 60%); }
.ms-hero__inner { position: relative; padding-top: 120px; padding-bottom: 8vh; }
.ms-hero h1 { margin: .4rem 0 1rem; font-family: var(--serif); font-weight: 600; font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1.08; color: #fff !important; text-shadow: 0 6px 40px rgba(0,0,0,.5); }
.ms-hero h1 span { display: block; margin-top: .5rem; font-family: var(--sans); font-weight: 300; font-size: .42em; letter-spacing: .08em; color: #ffd6e7; }
.ms-hero__lead { max-width: 44rem; color: #dbe3f0; font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.9; margin-bottom: 1.4rem; }
.ms-hero .ark-crumbs { margin-bottom: 1.4rem; }
.ms-hero__cue { position: absolute; right: 15px; bottom: 8vh; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 14px; }
.ms-hero__cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: msCue 1.8s ease-in-out infinite; }

/* ---------- 数字 + 要点 ---------- */
.ms-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 3.4rem; }
.ms-stats > div { padding: 1.2rem 1rem; border-left: 1px solid var(--line2); }
.ms-stats b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1; color: #fff; font-feature-settings: "lnum" 1; }
.ms-stats small { display: block; margin-top: .5rem; color: var(--mute); font: .74rem var(--mono); letter-spacing: .08em; }
.ap-summary { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.4rem; align-items: center; }
.ap-summary h2, .ark-prose.ap-narrow h2, .ap-cta h2, .ms-theme h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.ap-summary p { color: #d3dbe8; line-height: 1.9; }
.ap-facts { margin: 0; padding: 1.1rem 1.4rem; }
.ap-facts > div { display: flex; gap: 1.2rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.ap-facts > div:last-child { border-bottom: 0; }
.ap-facts dt { width: 4.8rem; flex-shrink: 0; color: var(--cyan); font: 500 .8rem var(--mono); }
.ap-facts dd { margin: 0; color: var(--ink); }

/* ---------- 一天的时间轴（sticky）：overflow:hidden 会让 sticky 失效，改用 clip ---------- */
.ark-sec.ms-day { overflow: clip; }
.ms-day__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.ms-day__stage { position: sticky; top: 90px; }
.ms-day__frames { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 14px; border: 1px solid var(--line2); background: #0b1222; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 80px -30px var(--glow, rgba(243,155,192,.6)); transition: box-shadow 1s ease; }
.ms-day__frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.1s ease, transform 6s ease; }
.ms-day__frame.is-on { opacity: 1; transform: scale(1); }
.ms-day__hud { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; font-family: var(--mono); color: var(--mute); font-size: .78rem; letter-spacing: .1em; }
.ms-day__time { font-size: 1.6rem; color: #fff; letter-spacing: .04em; min-width: 5.2rem; }
.ms-day__bar { flex: 1; height: 2px; background: var(--line2); border-radius: 2px; overflow: hidden; }
.ms-day__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f2b860, var(--pink), var(--dusk), var(--blue)); transition: width .8s var(--ease); }
.ms-day__steps { list-style: none; margin: 0; padding: 0; }
.ms-day__step { min-height: 52vh; display: flex; flex-direction: column; justify-content: center; padding-left: 1.4rem; border-left: 2px solid var(--line); opacity: .35; transition: opacity .5s ease, border-color .5s ease; }
.ms-day__step.is-on { opacity: 1; border-color: var(--pink); }
.ms-day__step .ark-mono { color: var(--pink); font-size: .9rem; }
.ms-day__step h3 { margin: .4rem 0 .6rem; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; }
.ms-day__step p { color: var(--text); line-height: 1.85; margin: 0 0 .6rem; }
.ms-day__step small { color: var(--mute); font: .74rem var(--mono); }
.ms-day__mobile { display: none; margin: .4rem 0 .8rem; }
.ms-day__mobile img { width: 100%; height: auto; border-radius: 10px; }

/* ---------- 主题区 ---------- */
.ms-theme__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem; align-items: center; }
.ms-theme.is-rev .ms-theme__text { order: 2; }
.ms-theme__text p:not(.ark-eyebrow) { color: var(--text); line-height: 1.95; }
.ms-theme--peaks .ark-eyebrow { color: var(--pink); }
.ms-theme--fog .ark-eyebrow { color: var(--amber); }
.ms-theme--camp .ark-eyebrow { color: #ff8a3d; }
.ms-theme__figs { display: grid; gap: 10px; }
.ms-theme__figs--3 { grid-template-columns: 1fr 1fr; }
.ms-theme__figs--3 .is-main { grid-column: 1 / -1; }
.ms-theme__figs--2 { grid-template-columns: 1fr; }
.ms-fig { margin: 0; position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: #0b1222; }
.ms-fig a { display: block; cursor: zoom-in; }
.ms-fig img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease), filter .5s ease; }
.ms-fig:hover img { transform: scale(1.04); }
.ms-fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .9rem .7rem; background: linear-gradient(0deg, rgba(4,6,12,.88), transparent); color: #fff; pointer-events: none; }
.ms-fig figcaption b { display: block; font-size: .92rem; font-weight: 500; }
.ms-fig figcaption span { font: .7rem var(--mono); color: #c3cde0; letter-spacing: .03em; }

/* ---------- 焦段对比 ---------- */
.ms-compare { --pos: 50%; position: relative; aspect-ratio: 3 / 2; max-width: 1000px; margin: 0 auto; overflow: hidden; border-radius: 14px; border: 1px solid var(--line2); user-select: none; }
.ms-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ms-compare__top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ms-compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ms-compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 16px rgba(255,255,255,.8); pointer-events: none; }
.ms-compare__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: rgba(7,10,18,.75); border: 1px solid rgba(255,255,255,.7); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.ms-compare__tag { position: absolute; top: 1rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(7,10,18,.6); color: #fff; font: .76rem var(--mono); pointer-events: none; }
.ms-compare__tag.is-l { left: 1rem; } .ms-compare__tag.is-r { right: 1rem; }
.ms-note { max-width: 1000px; margin: 1.2rem auto 2.4rem; color: var(--text); line-height: 1.85; }
.ms-table-wrap { max-width: 1000px; margin: 0 auto; overflow-x: auto; }
.ms-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ms-table th, .ms-table td { padding: .75rem .9rem; border-bottom: 1px solid var(--line); text-align: left; }
.ms-table th { color: var(--cyan); font: 500 .76rem var(--mono); letter-spacing: .08em; }
.ms-table td { color: var(--ink); }
.ms-table td:nth-child(3), .ms-table td:nth-child(4) { font-family: var(--mono); font-size: .82rem; color: var(--text); }
.ap-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.ap-card { padding: 1.5rem 1.4rem; }
.ap-card .ark-mono { color: var(--tone); }
.ap-card h3 { margin: .5rem 0; font-family: var(--serif); font-size: 1.5rem; color: var(--tone) !important; }
.ap-card p { margin: 0; color: var(--text); line-height: 1.8; }
.ap-card a { color: var(--ink); border-bottom: 1px solid var(--tone); }

/* ---------- 图集 ---------- */
.ms-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 15vw, 230px); grid-auto-flow: dense; gap: 10px; }
.ms-gal { position: relative; display: block; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); cursor: zoom-in; }
.ms-gal:nth-child(1), .ms-gal:nth-child(8) { grid-column: span 2; grid-row: span 2; }
.ms-gal:nth-child(13), .ms-gal:nth-child(16) { grid-column: span 2; }
.ms-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ms-gal span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .8rem .6rem; background: linear-gradient(0deg, rgba(4,6,12,.85), transparent); color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.ms-gal span b { display: block; font-size: .86rem; font-weight: 500; }
.ms-gal span small { font: .68rem var(--mono); color: #c3cde0; }
.ms-gal:hover img { transform: scale(1.06); }
.ms-gal:hover span, .ms-gal:focus-visible span { opacity: 1; transform: none; }

/* ---------- FAQ / CTA ---------- */
.ap-narrow { max-width: 46rem; }
.ms-related { margin-top: 2rem !important; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.ms-meta { color: var(--mute) !important; font-size: .82rem; }
.ap-cta { text-align: center; }
.ap-cta .ark-btn { margin: .4rem; }
.ms-cta { position: relative; overflow: hidden; isolation: isolate; padding: 7rem 0; }
.ms-cta__bg { position: absolute; inset: 0; z-index: -2; }
.ms-cta__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) brightness(.55); }
.ms-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg2), rgba(7,10,18,.35) 40%, rgba(7,10,18,.35) 60%, var(--bg)); }
.ms-cta p:not(.ark-eyebrow) { color: #dbe3f0; max-width: 34rem; margin: 0 auto 1.4rem; }
.ms-cta .ark-eyebrow { justify-content: center; color: var(--pink); }

@keyframes msKen { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
@keyframes msDraw { to { stroke-dashoffset: 0; } }
@keyframes msCue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 991.98px) {
    .ms-day__grid { grid-template-columns: 1fr; }
    .ms-day__stage { display: none; }
    .ms-day__step { min-height: 0; padding: 1.4rem 0 1.4rem 1.2rem; opacity: 1; }
    .ms-day__mobile { display: block; }
    .ms-theme__grid, .ap-summary { grid-template-columns: 1fr; gap: 1.6rem; }
    .ms-theme.is-rev .ms-theme__text { order: 0; }
    .ms-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) {
    .ms-stats { grid-template-columns: 1fr 1fr; }
    .ap-cards { grid-template-columns: 1fr; }
    .ms-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 38vw; }
        .ms-gal:nth-child(13), .ms-gal:nth-child(16) { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .ms-hero__bg img, .ms-hero__cue span { animation: none; }
        .ms-day__frame, .ms-fig img, .ms-gal img { transition: none; }
}

/* ---------- Seymour 追加 ---------- */
.ms-hero__stars { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.ms-hero h1 span { color: #ffc9a3; }
.ms-hero .ark-chip a { color: inherit; border-bottom: 1px dashed currentColor; }
.ms-gallery-sec .ark-en a { color: inherit; border-bottom: 1px solid currentColor; }
@media (max-width: 600px) {
    .ms-theme__figs--3 .ms-fig:not(.is-main) figcaption span { display: none; }
    .ms-theme__figs--3 .ms-fig:not(.is-main) figcaption b { font-size: .74rem; line-height: 1.4; }
}
