/* Homepage */

/* ---------- 1. hero: inset cinematic frame, headline over the sky, caption tab on the bottom-right edge ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; padding: var(--head-h) 14px 14px; background: var(--graphite); }
.hero__frame { position: relative; height: 100%; border-radius: var(--corner); overflow: clip; background: var(--graphite-2); isolation: isolate; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide img { backface-visibility: hidden; }
.hero__slide { position: absolute; inset: 0; margin: 0; visibility: hidden; overflow: clip; }
.hero__slide.is-active, .hero__slide.is-next { visibility: visible; }
.hero__slide.is-next { z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; will-change: transform; }
.hero__ribbon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.hero__scrim { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(12, 15, 19, .78) 0%, rgba(12, 15, 19, .42) 30%, rgba(12, 15, 19, 0) 56%),
    linear-gradient(0deg, rgba(12, 15, 19, .45) 0%, rgba(12, 15, 19, 0) 26%); }
.hero__top { position: absolute; z-index: 4; top: clamp(26px, 5vh, 60px); left: clamp(22px, 4vw, 64px); right: clamp(22px, 4vw, 64px); }
.hero__title { font-size: clamp(2.7rem, min(6.4vw, 11.2vh), 6.5rem); line-height: 1; letter-spacing: -.005em; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); margin-bottom: clamp(14px, 2.4vh, 26px); }
.hero__line { display: inline-block; overflow: clip; padding: .24em .12em .2em; margin: -.24em -.12em -.2em; vertical-align: top; }
.hero__line > span { display: inline-block; }
.hero__line:last-child > span { position: relative; }
.hero__line:last-child > span::after { content: ''; position: absolute; left: .04em; right: .06em; bottom: -.04em; height: .07em; min-height: 4px; background: linear-gradient(90deg, var(--ribbon), var(--ribbon-hi) 45%, var(--ribbon)); transform-origin: left; transform: scaleX(var(--uline, 1)); }
.hero__lede { font-size: clamp(1.02rem, 1.25vw, 1.22rem); max-width: 36em; color: #e9ecef; text-shadow: 0 1px 14px rgba(0, 0, 0, .5); margin-bottom: clamp(18px, 3vh, 30px); }
.hero .btn--ghost { background: rgba(12, 15, 19, .72); }
.js .hero__line > span { transform: translateY(115%); }
.js .hero__title:not(.is-ready) { visibility: hidden; animation: failsafe-show 0s 4.2s forwards; }
.js [data-hero-in] { opacity: 0; }
.js .hero.is-in .hero__line > span { transform: none; }
.js .hero.is-in [data-hero-in] { opacity: 1; }
/* failsafe: if scripts never arrive the hero still shows */
.js .hero__line > span, .js [data-hero-in] { animation: hero-failsafe 0s 4.2s forwards; }
@keyframes hero-failsafe { to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .js .hero__line > span, .js [data-hero-in] { transform: none; opacity: 1; animation: none; } .js .hero__title { visibility: visible; animation: none; } }

.hero__panel { position: absolute; z-index: 5; right: 0; bottom: 0; width: min(560px, 100%); background: var(--graphite); border-radius: var(--corner); padding: 22px 26px 20px 30px; display: grid; gap: 14px; }
.hero__caption { min-height: 4.4em; }
.hero__place, .hero__line-text { overflow: clip; }
.hero__place span, .hero__line-text span { display: block; }
.hero__place { font-family: var(--display); font-size: 1.55rem; line-height: 1.2; color: var(--ivory); }
.hero__line-text { color: var(--chrome); font-size: 1rem; margin-top: 4px; }
.hero__controls { display: flex; align-items: center; gap: 10px; }
.hero__count { font-variant-numeric: tabular-nums; color: var(--chrome); font-size: .95rem; white-space: nowrap; margin-right: 6px; }
.hero__now { color: var(--ivory); font-weight: 600; }
.hero__progress { flex: 1; height: 2px; background: rgba(185, 192, 200, .25); position: relative; overflow: clip; margin-right: 8px; }
.hero__progress span { position: absolute; inset: 0; background: var(--ribbon); transform-origin: left; transform: scaleX(0); }
.hero__btn { flex: none; width: 46px; height: 46px; display: grid; place-items: center; background: transparent; border: 1px solid rgba(185, 192, 200, .4); border-radius: 0; cursor: pointer; transition: background .3s, border-color .3s; }
.hero__btn:hover { background: var(--ribbon); border-color: var(--ribbon); }
.hero__btn:hover svg { stroke: var(--ink); }
.hero__btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ivory); stroke-width: 2; stroke-linecap: square; }
.hero__btn .i-play { display: none; fill: var(--ivory); stroke: none; }
.hero.is-paused .hero__btn .i-pause { display: none; }
.hero.is-paused .hero__btn .i-play { display: block; }
.hero__btn:hover .i-play { fill: var(--ink); }

@media (max-width: 760px) {
  .hero { padding: var(--head-h) 8px 8px; min-height: 640px; }
  .hero__top { top: 22px; }
  .hero__title { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .hero__lede { font-size: 1rem; }
  .hero__panel { width: 100%; padding: 16px 18px 14px 20px; gap: 10px; }
  .hero__place { font-size: 1.25rem; }
  .hero__line-text { font-size: .95rem; }
  .hero__caption { min-height: 3.9em; }
  .hero__scrim { background:
    linear-gradient(180deg, rgba(12, 15, 19, .82) 0%, rgba(12, 15, 19, .55) 38%, rgba(12, 15, 19, 0) 62%); }
}
@media (max-height: 700px) and (min-width: 761px) { .hero__lede { display: none; } }

/* ---------- 2. intro ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.intro__title { margin-bottom: 26px; }
.intro__statement { font-family: var(--display); font-size: clamp(1.35rem, 1.9vw, 1.85rem); line-height: 1.38; color: var(--ink); margin-bottom: 24px; }
.intro__statement .w { color: #5d656d; transition: color .2s; }
.intro__lede { margin-bottom: 30px; }
.facts { list-style: none; margin: 0; padding: 22px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; border-top: 1px solid rgba(21, 25, 30, .14); }
.facts li { display: flex; flex-direction: column; gap: 4px; }
.facts strong { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1; color: var(--ribbon-deep); }
.facts li > span { color: var(--ink-soft); font-size: .98rem; line-height: 1.4; }
.intro__media { justify-self: end; width: min(38vw, calc(min(70vh, 640px) * .72)); padding-bottom: 40px; }
.intro__frame { aspect-ratio: 4 / 5; }
.intro__inset { position: absolute; left: clamp(-56px, -3.6vw, -24px); bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 6px solid var(--pearl); border-radius: var(--corner); }
.intro__media .cap { left: auto; right: 0; bottom: 40px; }
.intro__media.framed::after { top: 60px; bottom: 26px; right: -18px; }
@media (max-width: 900px) {
  .intro__grid { grid-template-columns: minmax(0, 1fr); }
  .intro__media { justify-self: center; width: min(100%, 460px); }
}
@media (max-width: 520px) { .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .facts li:last-child { grid-column: 1 / -1; } }

/* ---------- 3. drivers ---------- */
.drivers { background: radial-gradient(90% 60% at 80% 0%, rgba(29, 43, 59, .9), transparent 70%), var(--graphite); }
.drivers__lede { color: var(--chrome); }
.drivers__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.driver { position: relative; display: flex; flex-direction: column; justify-content: end; height: min(60vh, 560px); min-height: 380px; border-radius: var(--corner); overflow: clip; text-decoration: none; color: var(--ivory); isolation: isolate; transform-style: preserve-3d; }
.driver__img { position: absolute; inset: 0; z-index: -2; overflow: clip; }
.driver__img img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; transition: transform 1.4s var(--ease); }
.driver:hover .driver__img img { transform: scale(1.05); }
.driver::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 15, 19, 0) 35%, rgba(12, 15, 19, .92) 92%); }
.driver__body { padding: clamp(20px, 2.2vw, 32px); display: grid; gap: 8px; }
.driver__body h3 { font-size: clamp(1.5rem, 2vw, 2rem); }
.driver__body p { color: #d5dadf; }
.driver__go { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; margin-top: 6px; color: var(--ribbon-hi); }
.driver__go::after { content: ''; width: 34px; height: 2px; background: currentColor; transition: width .5s var(--ease); }
.driver:hover .driver__go::after { width: 64px; }
@media (max-width: 900px) {
  .drivers__grid { grid-template-columns: minmax(0, 1fr); }
  .driver { height: 380px; }
}

/* ---------- 4. pin-drop silence ---------- */
.silence { position: relative; background: #0e141c; }
.silence__stage { position: relative; height: 100vh; min-height: 640px; overflow: clip; padding-top: var(--head-h); }
.silence__sky { position: absolute; inset: 0; background: linear-gradient(180deg, #0b1119 0%, #16243a 46%, #2a3b52 70%, #3b4252 78%, #121519 100%); }
.silence__stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.silence__bridge { position: absolute; left: 0; right: 0; bottom: 21vh; width: 100%; height: 50vh; overflow: visible; }
.silence__bridge path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.sb-city path { stroke: rgba(185, 192, 200, .28); stroke-width: 1.5; }
.sb-arch { stroke: #c9d2db; stroke-width: 3; }
.sb-deck { stroke: rgba(201, 210, 219, .8); stroke-width: 2.2; }
.sb-hang { stroke: rgba(201, 210, 219, .45); stroke-width: 1.4; }
.sb-tower { stroke: rgba(201, 210, 219, .75); stroke-width: 2; }
.sb-water { stroke: rgba(26, 169, 174, .45); stroke-width: 1.5; }
.silence__road { position: absolute; left: 0; right: 0; bottom: 0; height: 21vh; background: linear-gradient(180deg, #1a1f26, #0c0f13); border-top: 1px solid rgba(185, 192, 200, .2); overflow: clip; }
.silence__road span { position: absolute; left: -10%; right: -10%; top: 5px; height: 3px; background: repeating-linear-gradient(90deg, rgba(246, 246, 243, .35) 0 70px, transparent 70px 150px); }
.silence__car { position: absolute; left: 0; bottom: calc(21vh - 1.6vw); width: min(66vw, 980px); aspect-ratio: 1800 / 588; z-index: 2; will-change: transform; }
.silence__car::after { content: ''; position: absolute; left: 4%; right: 6%; bottom: 2%; height: 12%; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .7), transparent 70%); z-index: -1; }
.silence__eqs { width: 100%; height: auto; }
.silence__wheel { position: absolute; width: 12.889%; height: auto; }
.silence__wheel--f { left: 9.444%; top: 55.612%; }
.silence__wheel--r { left: 74.556%; top: 55.102%; }
.silence__glow { position: absolute; left: -38%; top: 34%; width: 42%; height: 26%; background: radial-gradient(60% 50% at 100% 50%, rgba(220, 240, 255, .38), transparent 70%); filter: blur(6px); }
.silence__ui { position: static; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px clamp(30px, 5vw, 90px); align-items: end; padding-top: clamp(26px, 5vh, 56px); }
.silence__head, .silence__meter { position: relative; z-index: 3; }
.silence__head h2 { margin-bottom: 12px; }
.silence__head .lede { color: var(--chrome); }
.silence__facts { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; bottom: 0; height: 21vh; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 40px); align-items: start; z-index: 3; }
.sfact { display: grid; gap: 6px; padding-top: clamp(26px, 4.4vh, 46px); position: relative; }
.sfact::before { content: ''; position: absolute; left: 0; right: 0; top: clamp(12px, 2vh, 22px); height: 2px; background: rgba(185, 192, 200, .22); transform-origin: left; }
.sfact::after { content: ''; position: absolute; left: 0; right: 0; top: clamp(12px, 2vh, 22px); height: 2px; background: var(--ribbon-hi); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); box-shadow: 0 0 14px rgba(95, 211, 212, .7); }
.sfact.is-on::after { transform: scaleX(1); }
.sfact strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 1.7vw, 1.75rem); line-height: 1.1; color: #c4cbd2; transition: color .5s; }
.sfact span { color: #9aa3ad; font-size: 1rem; line-height: 1.45; transition: color .5s; }
.sfact.is-on strong { color: var(--ivory); }
.sfact.is-on span { color: #e3e8ec; }
.silence__meter { grid-column: 2; max-width: 560px; justify-self: end; width: 100%; }
.silence__label { display: flex; justify-content: space-between; font-size: .92rem; color: var(--chrome); margin-bottom: 6px; }
.silence__label .sl-in { color: var(--ribbon-hi); }
.silence__wave { width: 100%; height: 64px; overflow: visible; }
.silence__wave path { fill: none; stroke: var(--ribbon-hi); stroke-width: 2; stroke-linejoin: round; }
@media (max-width: 900px) {
  .silence__ui { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 22px; }
  .silence__meter { grid-column: 1; justify-self: start; }
  .silence__wave { height: 44px; }
  .silence__head .lede { font-size: 1rem; }
  .silence__road { height: 31vh; }
  .silence__facts { height: 31vh; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 16px; }
  .sfact { padding-top: 22px; gap: 2px; }
  .sfact::before, .sfact::after { top: 10px; }
  .sfact strong { font-size: 1.12rem; }
  .sfact span { font-size: .875rem; line-height: 1.35; }
  .silence__car { width: 94vw; bottom: calc(31vh - 3vw); }
  .silence__bridge { bottom: 31vh; height: 28vh; }
}

/* ---------- 5. packages ---------- */
.packages.section { padding: clamp(64px, 9vh, 110px) 0; }
.packages__wrap { position: relative; }
.packages__thread { position: absolute; left: -2%; width: 104%; top: 18%; height: 120px; z-index: 0; overflow: visible; }
.packages__thread path { fill: none; stroke: var(--ribbon); stroke-width: 4; stroke-linecap: round; }
.packages__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); }
.pack { background: #fff; border-radius: var(--corner); overflow: clip; display: flex; flex-direction: column; box-shadow: 0 20px 50px -30px rgba(18, 21, 25, .35); }
.pack__img { position: relative; aspect-ratio: 2 / 1; overflow: clip; }
.pack__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pack__body { padding: clamp(18px, 1.8vw, 28px); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pack__kind { font-size: .92rem; font-weight: 600; color: var(--ribbon-deep) !important; }
.pack h3 { font-size: clamp(1.45rem, 1.8vw, 1.85rem); color: var(--ink); }
.pack__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pack__num { font-family: var(--display); font-size: clamp(2.2rem, 3vw, 2.8rem); line-height: 1; color: var(--ink); }
.pack__price > span:last-child { color: var(--ink-soft); font-weight: 500; }
.pack__body > p:not([class]) { font-size: 1rem; }
.pack__actions { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 18px; }
.pack__more { color: var(--ribbon-deep); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.pack--feature { background: var(--graphite); }
.pack--feature h3, .pack--feature .pack__num { color: var(--ivory); }
.pack--feature .pack__kind { color: var(--ribbon-hi) !important; }
.pack--feature p, .pack--feature .pack__price > span:last-child { color: #d0d6dc !important; }
.pack--feature .pack__more { color: var(--ribbon-hi); }
@media (max-width: 1000px) { .packages__grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; } .packages__thread { display: none; } }

/* ---------- 6. on-board filmstrip ---------- */
.onboard { background: linear-gradient(180deg, var(--graphite), #0f1216); overflow: clip; }
.onboard.section { padding: clamp(64px, 9vh, 110px) 0 clamp(48px, 7vh, 80px); }
.strip-ctrl { display: flex; align-items: center; gap: 10px; flex: 0 1 420px; }
.strip-count { font-variant-numeric: tabular-nums; color: var(--chrome); white-space: nowrap; }
.strip-count span:first-child { color: var(--ivory); font-weight: 600; }
.strip-bar { flex: 1; height: 2px; background: rgba(185, 192, 200, .25); position: relative; margin: 0 8px; }
.strip-bar span { position: absolute; inset: 0; background: var(--ribbon); transform-origin: left; transform: scaleX(.125); }
.strip { overflow: clip; cursor: grab; touch-action: pan-y; }
.strip:active { cursor: grabbing; }
.strip__track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: clamp(14px, 1.6vw, 22px); width: max-content; }
.strip__frame { height: min(54vh, 520px); aspect-ratio: 3 / 4; margin: 0; }
.strip__frame img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.strip-hint { color: var(--chrome-dim); margin-top: 18px; font-size: .95rem; }
@media (max-width: 600px) { .strip__frame { height: 380px; } .strip-ctrl { flex-basis: 100%; } }

/* ---------- 7. hours ---------- */
.hours__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.hours__head { margin-bottom: clamp(20px, 3vh, 34px); }
.hours__text .lede { margin-bottom: 26px; }
.hours__kind { display: inline-flex; border: 1px solid var(--ink); margin-bottom: 26px; }
.hours__kind button { min-height: 48px; padding: 0 24px; background: transparent; border: 0; border-radius: 0; cursor: pointer; font-weight: 600; color: var(--ink); transition: background .35s, color .35s; }
.hours__kind button[aria-checked="true"] { background: var(--graphite); color: var(--ivory); }
.hours__label { display: block; font-weight: 500; margin-bottom: 12px; color: var(--ink); }
.hours__label strong { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--ribbon-deep); margin-left: 6px; }
.hours__range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; }
.hours__range::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--ribbon-deep) var(--pct, 18%), rgba(21, 25, 30, .2) var(--pct, 18%)); }
.hours__range::-moz-range-track { height: 4px; background: rgba(21, 25, 30, .2); }
.hours__range::-moz-range-progress { height: 4px; background: var(--ribbon-deep); }
.hours__range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -12px; background: var(--graphite); border: 3px solid var(--ribbon); border-radius: 0; }
.hours__range::-moz-range-thumb { width: 24px; height: 24px; background: var(--graphite); border: 3px solid var(--ribbon); border-radius: 0; }
.hours__viz { display: grid; gap: 22px; }
.hours__road { position: relative; padding-top: 70px; }
.hours__ticks { display: flex; justify-content: space-between; color: var(--ink-soft); font-size: .9rem; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.hours__ticks span { width: 2ch; text-align: center; }
.hours__lane { position: relative; height: 14px; background: #d7dbda; }
.hours__lane::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: repeating-linear-gradient(90deg, #fff 0 18px, transparent 18px 34px); animation: lane 1.2s linear infinite; }
@keyframes lane { to { background-position-x: -34px; } }
.hours__card { position: relative; overflow: clip; }
.hours__card::after { content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(95, 211, 212, .16), transparent); transform: skewX(-12deg); animation: sheen 5.5s var(--ease) infinite; pointer-events: none; }
@keyframes sheen { 0%, 55% { left: -40%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .hours__lane::after, .hours__card::after { animation: none; } }
.hours__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 25%; background: var(--ribbon); }
.hours__car { position: absolute; top: 4px; left: 0; width: 200px; height: auto; transform: translateX(-50%) scaleX(-1); filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .25)); }
.hours__card { background: var(--graphite); color: var(--ivory); border-radius: var(--corner); padding: clamp(22px, 2.4vw, 34px); display: grid; gap: 8px; justify-items: start; }
.hours__pkg { font-family: var(--display); font-size: 1.7rem; color: var(--ivory) !important; }
.hours__price { font-family: var(--display); font-size: clamp(2.4rem, 3.4vw, 3.2rem); line-height: 1; color: var(--ribbon-hi) !important; }
.hours__note { color: #d0d6dc !important; margin-bottom: 10px; }
.hours__card .btn--dark { background: var(--ribbon); color: var(--ink); }
.hours__card .btn--dark::before { background: var(--ivory); }
@media (max-width: 900px) { .hours__grid { grid-template-columns: minmax(0, 1fr); } .hours__car { width: 120px; } .hours__road { padding-top: 46px; } }
