* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #000033;
  --blue: #1684fb;
  --orange: #f5a13a;
  --paper: #fbf9f5;
  --head: 76px;
  --pad: clamp(18px, 4vw, 56px);
  --display: "Outfit", system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: "Rubik", system-ui, sans-serif; background: var(--paper); color: var(--navy); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .brand { font-family: var(--display); }
h1, h2 { line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
em { font-style: normal; color: var(--orange); }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; transition: transform .2s, background-color .2s; }
.btn:hover { background: #0a6fdc; transform: translateY(-2px); }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 14px; }

.head { position: fixed; inset: 0 0 auto; z-index: 20; height: var(--head); padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fbf9f5eb; backdrop-filter: blur(10px); border-bottom: 1px solid #00003314; }
.brand { font-size: 24px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; line-height: 1; }
.brand span { display: block; font-size: 10px; font-weight: 500; letter-spacing: .42em; color: var(--blue); }
.head nav { display: flex; gap: 32px; font-size: 14px; }
.head nav a:hover { color: var(--blue); }

/* ---------- Scroll story ---------- */
.story { height: 640svh; position: relative; }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--navy); }
.rooms, .room, .layer, .layer > svg, .layer > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.layer > img { object-fit: cover; }
.room { visibility: hidden; }
.layer.dirty > svg.art { filter: saturate(.45) brightness(.74) sepia(.38) contrast(.92); }
.layer.clean { clip-path: inset(0 100% 0 0); }

.word { position: absolute; z-index: 2; left: 50%; top: calc(var(--head) + 1svh); translate: -50% 0; font-family: var(--display); font-weight: 800; font-size: min(17vw, 24svh); line-height: 1; letter-spacing: -.05em; white-space: nowrap; color: #fff; opacity: .3; pointer-events: none; }

.panel { position: absolute; z-index: 3; bottom: clamp(70px, 9svh, 100px); width: min(340px, 28vw); padding: 24px; border-radius: 22px; background: #fffffff0; box-shadow: 0 24px 60px #00003340; }
.cap { left: var(--pad); }
.facts { right: var(--pad); }
.cap h2 { font-size: clamp(26px, 2.8vw, 40px); margin-bottom: 12px; }
.cap p:last-child { font-size: 15px; opacity: .82; }
.facts h3 { font-size: 15px; margin-bottom: 6px; }
.facts li { padding: 9px 0 9px 22px; border-top: 1px solid #00003317; font-size: 14px; position: relative; }
.facts li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.facts small { display: block; margin-top: 8px; font-size: 11px; opacity: .55; }

.fog { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: radial-gradient(70% 60% at 30% 30%, #ffffffd9, transparent), radial-gradient(60% 70% at 75% 70%, #e8eef5d9, transparent), #d9e1ead9; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.intro { position: absolute; z-index: 6; inset: 0; display: grid; align-content: center; justify-items: center; text-align: center; padding: var(--head) var(--pad) 0; }
.intro h1 { font-size: clamp(44px, 8vw, 120px); font-weight: 800; }
.intro > p:last-child { margin-top: 20px; font-size: 18px; }
.intro .eyebrow { color: var(--navy); }
.intro em { color: var(--blue); }

.line { position: absolute; z-index: 7; top: 0; bottom: 0; left: 0; width: 6px; margin-left: -3px; background: linear-gradient(90deg, #9fd0ff, #fff, #9fd0ff); box-shadow: 0 0 30px 8px #ffffffa6; opacity: 0; pointer-events: none; }
.line i { position: absolute; top: 46%; left: 50%; translate: -50% 0; width: 22px; height: 120px; border-radius: 12px; background: var(--navy); border: 4px solid #fff; }
.bubbles { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.bubbles i { position: absolute; top: 0; left: 0; border-radius: 50%; border: 1.5px solid #ffffffd0; background: radial-gradient(circle at 32% 30%, #fff 0 12%, #bfe3ff55 40%, #ffffff22); opacity: 0; }

.finale { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: var(--head) var(--pad) 50px; background: var(--paper); text-align: center; visibility: hidden; }
.finale h2 { font-size: clamp(30px, 4.6vw, 64px); margin-bottom: 24px; }
.finale-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; width: min(760px, 100%, 90svh); margin-bottom: 26px; }
.finale-grid figure { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; }
.finale-grid svg, .finale-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rail { position: absolute; z-index: 9; left: 50%; bottom: 20px; translate: -50% 0; display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: #000033cc; color: #fff; font-size: 12px; white-space: nowrap; transition: opacity .3s; }
.rail li { padding: 5px 12px; border-radius: 999px; opacity: .6; }
.rail li.on { background: #fff; color: var(--navy); opacity: 1; }
.cue { position: absolute; z-index: 9; left: 50%; bottom: 24px; translate: -50% 0; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.cue span { display: inline-block; animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(5px); } }

/* ---------- Sections ---------- */
.block { padding: clamp(80px, 10vw, 140px) var(--pad); scroll-margin-top: 20px; }
.wrap { max-width: 1180px; margin: 0 auto; }
.block h2 { font-size: clamp(34px, 4.6vw, 62px); margin-bottom: 20px; }
.lead { max-width: 34rem; font-size: 17px; opacity: .8; }
.note { margin-top: 12px; font-size: 13px; opacity: .6; }

.build-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.picker fieldset { border: 0; margin-top: 28px; }
.picker legend { font-weight: 600; margin-bottom: 10px; }
.picker legend small { font-weight: 400; opacity: .55; margin-left: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: block; padding: 11px 18px; border-radius: 999px; border: 1.5px solid #00003326; font-size: 14px; transition: .2s; }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 3px; }
.ticket { position: sticky; top: calc(var(--head) + 20px); display: grid; gap: 16px; padding: 30px; border-radius: 26px; background: #fff; box-shadow: 0 30px 70px #00003318; border-top: 8px solid var(--orange); }
.ticket-label { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; opacity: .55; }
.ticket-message { font-size: 17px; white-space: pre-line; }
.btn-wa { justify-content: center; }
.ticket-alt { text-align: center; font-size: 14px; text-decoration: underline; }
.ticket-note { font-size: 12px; opacity: .5; text-align: center; }

.compare { background: #eef5fd; }
.slider { position: relative; margin-top: 10px; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; --x: 50%; }
.slider-before, .slider-after, .slider-before .room-static, .slider-after .room-static { position: absolute; inset: 0; }
.slider .layer.clean { clip-path: none; }
.slider-after { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.slider-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 16px #00003366; }
.slider-line::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; font-weight: 700; }
.slider input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.slider:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.tag { position: absolute; top: 16px; padding: 5px 14px; border-radius: 999px; background: #000033cc; color: #fff; font-size: 12px; }
.tag-a { left: 16px; }
.tag-b { right: 16px; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); }
.since { margin-top: 24px; font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--blue); }
.promises li { display: grid; gap: 2px; padding: 18px 0; border-top: 1px solid #00003320; }
.promises b { font-family: var(--display); font-size: 21px; }
.promises span { font-size: 15px; opacity: .72; }

.beyond { background: var(--navy); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 12px; }
.cards a { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 22px; border-radius: 20px; border: 1px solid #ffffff30; font-family: var(--display); font-size: 22px; transition: .2s; }
.cards a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-4px); }

.foot { padding: 80px var(--pad) 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; }
.foot-line { font-family: var(--display); font-size: clamp(36px, 5vw, 66px); font-weight: 700; line-height: 1; max-width: 8em; }
.foot h3 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.foot a { display: block; margin-bottom: 6px; overflow-wrap: anywhere; }
.foot-base { margin-top: 50px; padding-top: 20px; border-top: 1px solid #00003320; font-size: 13px; opacity: .6; }

@media (max-width: 900px) {
  :root { --head: 66px; }
  .head nav { display: none; }
  /* Rooms get their own area above the caption, so portrait screens crop less. */
  .room { background: var(--navy); }
  .room > .layer { top: var(--head); height: calc(100% - var(--head) - 250px); }
  .line, .bubbles { top: var(--head); bottom: 250px; overflow: hidden; }
  .line { overflow: visible; }
  .panel { left: 14px; right: 14px; width: auto; }
  .cap { bottom: 66px; padding: 18px; }
  .cap h2 { font-size: 24px; margin-bottom: 6px; }
  .cap .eyebrow { margin-bottom: 6px; }
  .cap p:last-child { font-size: 14px; }
  .facts { display: none; }
  .word { font-size: 21vw; top: calc(var(--head) + 4svh); }
  .rail { font-size: 11px; gap: 0; }
  .rail li { padding: 5px 8px; }
  .finale-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .finale-grid figure { aspect-ratio: 1; }
  .build-grid, .why-grid, .foot-grid { grid-template-columns: 1fr; }
  .ticket { position: static; }
  .slider { aspect-ratio: 4 / 5; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cue span { animation: none; }
  .bubbles { display: none; }
}
