/* ---------- Self-hosted fonts (Latin subset) ---------- */
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-italic-400.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/instrument-serif-normal-400.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('../fonts/jetbrains-mono-variable.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/manrope-variable.woff2') format('woff2'); }

/* ==========================================================================
   MONROVIA SUPER MALL — Design System v2 "Atlantic Daylight"
   Paper ground, ink type, one accent (Atlantic teal), gold reserved for the mark.
   Night sections as bookends. Motion: panel wipes + masked line reveals only.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --paper: #f5f1ea;
  --paper-2: #ebe5da;
  --paper-3: #e2dbcd;
  --white: #ffffff;
  --ink: #14130f;
  --ink-2: #33312b;
  --muted: #6b675e;
  --dim: #9a958a;
  --line: rgba(20, 19, 15, 0.12);
  --line-strong: rgba(20, 19, 15, 0.26);

  --teal: #0f7c86;
  --teal-deep: #0a5b63;
  --teal-soft: #d8ecec;
  --teal-light: #6fd0d8;
  --teal-rgb: 15, 124, 134;
  --gold: #b8892b;

  --night: #151513;
  --night-2: #1f1f1c;
  --night-line: rgba(245, 241, 234, 0.12);
  --night-line-strong: rgba(245, 241, 234, 0.24);
  --night-muted: #a8a69f;

  --font-display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur: 450ms;
  --dur-slow: 900ms;

  --container: 82.4rem; /* 1400px at the 1920 design width; grows with the root up to ~1810px on 2500px+ screens */
  --gutter: clamp(1.25rem, 3.4vw, 3.8rem);
  --section: clamp(64px, min(10vw, 16vh), 150px);
  --radius: 0.35rem;
  --radius-lg: 0.6rem;
  --nav-h: 4.5rem;

  --z-content: 10;
  --z-nav: 50;
  --z-menu: 60;
  --z-modal: 70;
  --z-curtain: 80;
  --z-preloader: 90;
}

/* Night sections swap the tokens so every component adapts */
.section-night, .footer, .cta-band, .menu, .price.featured, .calc-out, .hero, .page-hero, .marquee.section-night, .notfound {
  --paper: #151513; --paper-2: #1f1f1c; --paper-3: #2a2a26; --white: #1f1f1c;
  --ink: #f5f1ea; --ink-2: #d5d9df; --muted: #a8a69f; --dim: #7e7c74;
  --line: rgba(245, 241, 234, 0.12); --line-strong: rgba(245, 241, 234, 0.26);
  --teal: #6fd0d8; --teal-deep: #9be1e6; --teal-soft: rgba(111, 208, 216, 0.16);
  color: var(--ink);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: clamp(13px, 0.885vw, 22px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
@media (max-width: 1024px) { html { font-size: 15px; } }
@media (max-width: 860px) { html { font-size: 16px; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; min-height: 100vh; }
body.no-scroll { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: #d8ecec; color: #14130f; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 3px; }
[inert] { pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; background: #0f7c86; color: #fff; padding: 10px 16px; border-radius: 4px; font-weight: 700; }
.skip-link:focus { top: 16px; }

/* ---------- Typography ---------- */
.display, .h1, .h2, .h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: 0.98; text-wrap: balance; }
.display { font-size: clamp(2.8rem, min(8.4vw, 13.5vh), 8.4rem); line-height: 0.94; letter-spacing: -0.03em; }
.h1 { font-size: clamp(2.4rem, min(5.6vw, 9.5vh), 5.2rem); }
.h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.05; }
.h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.3; }
em, .it { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.display em, .h1 em, .h2 em, .h3 em { color: var(--teal); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.eyebrow.no-line::before { display: none; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 58ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.small { font-size: 0.9rem; }
.gold { color: var(--teal); }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ---------- Layout ---------- */
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section); z-index: var(--z-content); background: var(--paper); }
.section-sm { padding-block: calc(var(--section) * 0.6); }
.section-alt { background: var(--paper-2); }
.section-night { background: var(--paper); color: var(--ink); }
.section-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .h1 { font-size: clamp(2.2rem, min(4.8vw, 8.5vh), 4.6rem); }
.section-head.split { grid-template-columns: 1.15fr 1fr; align-items: end; gap: 48px; }
.section-head.center { text-align: center; justify-items: center; }
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.stack { display: grid; gap: 16px; }
.flex { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.divider { height: 1px; background: var(--line); }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-1 { margin-bottom: 12px; } .mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.center { text-align: center; }
.maxw { max-width: 62ch; }
.m-only { display: none; }
.mobile-bar { display: none; }

/* ---------- Preloader & curtain (the signature) ---------- */
.preloader { position: fixed; inset: 0; z-index: var(--z-preloader); background: #2a4749; display: grid; place-items: center; color: #f5f1ea; }
.preloader .mark { width: 64px; height: 64px; margin-bottom: 22px; }
.preloader .word { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase; color: #a8a69f; }
.preloader .bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 48px; height: 1px; background: rgba(245,241,234,0.14); }
.preloader .bar i { display: block; height: 100%; width: 0; background: #6fd0d8; }
.preloader .count { position: absolute; right: var(--gutter); bottom: 60px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; color: #a8a69f; }
.curtain { position: fixed; inset: 0; z-index: var(--z-curtain); pointer-events: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.curtain i { background: #2a4749; transform: scaleY(0); transform-origin: top; border-right: 1px solid rgba(111,208,216,0.35); }
/* Safety net: if scripts never arrive, the preloader and curtain still get out of the way */
html:not(.js-ready) .preloader { animation: preFade 0.6s ease 6s forwards; }
html.is-visited .curtain i { animation: curtainLift 0.55s var(--ease-expo) 0.05s forwards; }
html.is-visited .curtain i:nth-child(2) { animation-delay: 0.09s; }
html.is-visited .curtain i:nth-child(3) { animation-delay: 0.13s; }
html.is-visited .curtain i:nth-child(4) { animation-delay: 0.17s; }
html.is-visited .curtain i:nth-child(5) { animation-delay: 0.21s; }
@keyframes preFade { to { opacity: 0; visibility: hidden; } }
@keyframes curtainLift { from { transform: scaleY(1); } to { transform: scaleY(0); } }
.curtain i:last-child { border-right: 0; }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-nav); height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); border-bottom: 1px solid transparent; transition: background var(--dur), border-color var(--dur), transform 0.28s var(--ease-out); }
.nav { color: #f5f1ea; }
.nav .nav-links a { color: inherit; opacity: 0.85; }
.nav .nav-links a:hover, .nav .nav-links a[aria-current="page"] { opacity: 1; }
.nav .wordmark i { color: #6fd0d8; }
.nav .burger { border-color: rgba(245,241,234,0.3); }
.nav .burger i, .nav .burger i::before, .nav .burger i::after { background: #f5f1ea; }
.nav .burger.is-open i { background: transparent; }
.nav.is-scrolled { color: #14130f; background: rgba(245, 241, 234, 0.96); border-color: rgba(20,19,15,0.12); }
.nav.is-scrolled .wordmark i { color: #0f7c86; }
.nav.is-scrolled .burger { border-color: rgba(20,19,15,0.26); }
.nav.is-scrolled .burger i, .nav.is-scrolled .burger i::before, .nav.is-scrolled .burger i::after { background: #14130f; }
.nav.is-scrolled .burger.is-open i { background: transparent; }
.nav:has(.burger.is-open) { color: #f5f1ea; background: transparent; border-color: transparent; }
.nav:has(.burger.is-open) .burger i::before, .nav:has(.burger.is-open) .burger i::after { background: #f5f1ea; }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand svg { width: 2.3rem; height: 2.3rem; flex: none; }
.brand .wordmark { display: grid; line-height: 1; gap: 4px; }
.brand .wordmark b { font-weight: 700; font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; }
.brand .wordmark i { font-family: var(--font-body); font-style: normal; font-weight: 400; font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); }
.nav-links { display: flex; gap: 2px; }
.nav-links a { position: relative; display: inline-block; padding: 0.6rem 0.85rem; font-size: 0.86rem; font-weight: 500; line-height: 1.2; color: var(--ink-2); overflow: hidden; }
.nav-links a span { display: inline-block; transition: transform var(--dur) var(--ease-expo); }
.nav-links a::after { content: attr(data-text); position: absolute; left: 0.85rem; top: 0.6rem; line-height: 1.2; color: var(--teal); transform: translateY(220%); transition: transform var(--dur) var(--ease-expo); }
.nav-links a:hover span, .nav-links a:focus-visible span { transform: translateY(-220%); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: translateY(0); }
.nav-links a[aria-current="page"] { color: inherit; opacity: 1; }
.nav-links a[aria-current="page"]::before { content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.35rem; height: 2px; background: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 4px; place-items: center; border: 1px solid var(--line-strong); }
.burger i { display: block; width: 20px; height: 1.5px; background: var(--ink); position: relative; transition: background var(--dur-fast); }
.burger i::before, .burger i::after { content: ""; position: absolute; left: 0; width: 100%; height: 100%; background: var(--ink); transition: transform var(--dur) var(--ease-expo), top var(--dur) var(--ease-expo); }
.burger i::before { top: -6px; } .burger i::after { top: 6px; }
.burger.is-open i { background: transparent; }
.burger.is-open i::before { top: 0; transform: rotate(45deg); }
.burger.is-open i::after { top: 0; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: var(--z-menu); background: var(--paper); color: var(--ink); display: grid; grid-template-rows: auto 1fr auto; padding: 110px var(--gutter) 40px; transform: translateY(-100%); transition: transform 0.42s var(--ease-expo), visibility 0s 0.42s; visibility: hidden; will-change: transform; }
.menu.is-open { transform: none; visibility: visible; transition: transform 0.42s var(--ease-expo), visibility 0s; }
.menu-links { display: grid; gap: 2px; align-content: center; }
.menu-links a { font-family: var(--font-display); font-size: clamp(2.6rem, 9vw, 5rem); line-height: 1.05; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 18px; padding: 6px 0; transform: translateY(18px); opacity: 0; transition: transform 0.35s var(--ease-expo), opacity 0.3s; }
.menu-links a small { font-family: var(--font-mono); font-size: 0.66rem; color: var(--teal); letter-spacing: 0.2em; }
@media (hover: hover) { .menu-links a:hover { color: var(--teal); } }
.menu-links a[aria-current="page"] { color: var(--teal); }
.menu-links a[aria-current="page"]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); margin-left: 4px; align-self: center; }
.menu.is-open .menu-links a { transform: translateY(0); opacity: 1; }
.menu.is-open .menu-links a:nth-child(1){transition-delay:.12s}.menu.is-open .menu-links a:nth-child(2){transition-delay:.15s}.menu.is-open .menu-links a:nth-child(3){transition-delay:.18s}.menu.is-open .menu-links a:nth-child(4){transition-delay:.21s}.menu.is-open .menu-links a:nth-child(5){transition-delay:.24s}.menu.is-open .menu-links a:nth-child(6){transition-delay:.27s}.menu.is-open .menu-links a:nth-child(7){transition-delay:.3s}
.menu-foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line); padding-top: 22px; }
.menu-foot-links { display: flex; gap: 18px; }
.menu-foot-links a { color: var(--teal); font-weight: 600; }
.swipe-cue { display: none; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem; padding: 0.9rem 1.55rem; min-height: 3rem; border-radius: 4px; overflow: hidden; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.01em; color: #fff; background: #0f7c86; isolation: isolate; transition: color var(--dur), box-shadow var(--dur); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #14130f; transform: scaleX(0); transform-origin: right; transition: transform var(--dur-slow) var(--ease-expo); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn .arrow { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-expo); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: var(--paper); border-color: var(--ink); }
.btn-sm { padding: 0.6rem 1.1rem; min-height: 2.4rem; font-size: 0.8rem; }
.btn-lg { padding: 1.2rem 2rem; min-height: 3.7rem; font-size: 1rem; }
.section-night .btn::before, .cta-band .btn::before, .footer .btn::before, .hero .btn::before, .page-hero .btn::before { background: #f5f1ea; }
.section-night .btn:hover, .cta-band .btn:hover, .hero .btn:hover, .page-hero .btn:hover { color: #151513; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem; color: var(--teal); }
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease-expo); }
.link-arrow:hover svg { transform: translate(4px, -4px); }
.link-arrow .u { position: relative; }
.link-arrow .u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform var(--dur) var(--ease-expo); }
.link-arrow:hover .u::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Cards & surfaces ---------- */
.card { position: relative; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform var(--dur) var(--ease-expo), box-shadow var(--dur), border-color var(--dur); }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(20, 19, 15, 0.35); border-color: var(--line-strong); }
.card-pad { padding: clamp(22px, 3vw, 34px); }
.card .icon { width: 48px; height: 48px; border-radius: 6px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); margin-bottom: 20px; }
.card .icon svg { width: 22px; height: 22px; }
.card-num { position: absolute; top: 16px; right: 20px; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--paper-3); pointer-events: none; }
.glass { background: rgba(255,255,255,0.94); border: 1px solid rgba(20,19,15,0.12); border-radius: var(--radius-lg); box-shadow: 0 20px 40px -24px rgba(20,19,15,0.35); color: #14130f; }
.frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-expo); }
.frame:hover img { transform: scale(1.04); }
.frame.ratio-16-9 { aspect-ratio: 16/9; } .frame.ratio-4-3 { aspect-ratio: 4/3; } .frame.ratio-3-4 { aspect-ratio: 3/4; } .frame.ratio-1-1 { aspect-ratio: 1/1; }
.frame .caption { position: absolute; left: 16px; bottom: 14px; right: 16px; display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; z-index: 2; }
.frame .caption::before { content: ""; position: absolute; inset: -60px -16px -14px; background: linear-gradient(180deg, transparent, rgba(21,21,19,0.75)); z-index: -1; }

/* Image wipe reveal (same DNA as the curtain): a cover panel slides away on the compositor */
[data-wipe] { overflow: hidden; }
div[data-wipe]:not([class]) { position: relative; }
[data-wipe]::before { content: ""; position: absolute; inset: 0; z-index: 5; background: var(--paper); transform-origin: right center; transform: scaleX(1); transition: transform 0.8s var(--ease-expo); pointer-events: none; }
[data-wipe].is-shown::before { transform: scaleX(0); }
[data-wipe] img { transform: scale(1.08); transition: transform 1s var(--ease-expo); }
[data-wipe].is-shown img { transform: scale(1); }
.hero-media[data-wipe]::before { background: var(--paper); }
.reveal-img { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-3); }
.reveal-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); color: var(--ink); z-index: var(--z-content); }
.marquee-track { display: flex; width: max-content; will-change: transform; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > * { display: inline-flex; align-items: center; gap: 26px; padding: 0 26px; font-family: var(--font-display); font-size: clamp(1.3rem, 2.3vw, 1.9rem); white-space: nowrap; color: var(--ink-2); }
.marquee-track > * i { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); flex: none; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Hero (split: copy left, media bleeding right) ---------- */
.hero { position: relative; height: 100svh; min-height: 0; display: grid; align-items: center; padding: calc(var(--nav-h) + 0.5rem) 0 2.2rem; overflow: hidden; z-index: var(--z-content); background: var(--paper); }
.hero-copy { position: relative; z-index: 2; max-width: 54%; display: grid; gap: clamp(0.9rem, 2.4vh, 1.6rem); justify-items: start; }
.hero-kicker { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0.75rem 0.35rem 0.35rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 0.78rem; color: var(--ink-2); }
.hero-badge .chip { background: #6fd0d8; color: #151513; }
.hero-badge .chip { padding: 4px 10px; border-radius: 999px; background: #0f7c86; color: #fff; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; }
.hero-title { max-width: 12ch; }
.hero-copy .lede { max-width: 44ch; }
.hero-actions { display: flex; gap: 0.85rem; align-items: center; flex-wrap: wrap; }
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; overflow: hidden; z-index: 1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; backface-visibility: hidden; }
.hero-media[data-wipe] { overflow: hidden; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #151513, rgba(21,21,19,0) 28%), linear-gradient(180deg, rgba(21,21,19,0.15), rgba(21,21,19,0) 25%, rgba(21,21,19,0) 70%, rgba(21,21,19,0.55)); pointer-events: none; }
.hero-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(4px, 1.5vh, 16px); }
.hero-stats .glass { padding: 0.85rem 1.1rem; display: grid; gap: 2px; min-width: 10.5rem; }
.hero-stats .glass b { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vh, 2rem); line-height: 1; font-weight: 400; }
.hero-stats .glass span { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: #6b675e; }
.hero-stats .glass b { color: #14130f; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 28px; z-index: 3; display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase; color: #fff; }
.scroll-cue i { display: block; width: 44px; height: 1px; background: currentColor; overflow: hidden; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: #151513; animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* Page hero (inner pages): same structure, shorter */
.page-hero { position: relative; min-height: 70svh; display: grid; align-items: end; padding: calc(var(--nav-h) + 32px) 0 48px; overflow: hidden; z-index: var(--z-content); background: var(--paper); }
.page-hero .hero-copy { gap: 22px; }
.page-hero .display { max-width: 14ch; font-size: clamp(2.6rem, min(7.4vw, 12vh), 7.2rem); }
.crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--teal); }
.crumbs i { width: 4px; height: 4px; background: var(--teal); border-radius: 50%; }
.page-hero .hero-media { width: 42%; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 32px); border-right: 1px solid var(--line); display: grid; gap: 8px; }
.stat:last-child { border-right: 0; }
.stat b { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat b small { font-size: 0.42em; color: var(--teal); margin-left: 4px; font-family: var(--font-mono); }
.stat > span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* ---------- Editorial ---------- */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.editorial .sticky { position: sticky; top: calc(var(--nav-h) + 40px); }
.editorial .prose { display: grid; gap: 24px; }
.prose p { color: var(--ink-2); text-wrap: pretty; }
.prose p.big { font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.35; color: var(--ink); font-family: var(--font-display); }
.checklist { display: grid; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.checklist li svg { flex: none; width: 20px; height: 20px; color: var(--teal); margin-top: 3px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(200px, auto); gap: 14px; }
.bento > * { grid-column: span 2; }
.bento .span-3 { grid-column: span 3; } .bento .span-4 { grid-column: span 4; } .bento .span-6 { grid-column: span 6; }
.bento .row-2 { grid-row: span 2; }
.bento .card { display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; }
.bento .card .h4 { margin-bottom: 8px; }
.bento .card p { color: var(--muted); font-size: 0.95rem; }
.bento .card.has-img { color: #f5f1ea; background: #151513; }
.bento .card.has-img .bg { position: absolute; inset: 0; }
.bento .card.has-img .bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-expo); }
.bento .card.has-img:hover .bg img { transform: scale(1.05); }
.bento .card.has-img .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,21,19,0) 30%, rgba(21,21,19,0.88)); }
.bento .card.has-img .card-pad { position: relative; }
.bento .card.has-img .icon { background: rgba(21,21,19,0.55); color: #fff; }
.bento .card.has-img p { color: #a8a69f; }

/* ---------- Floors ---------- */
.floors { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.floor-tabs { display: grid; border-top: 1px solid var(--line); }
.floor-tab { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px 8px; border-bottom: 1px solid var(--line); text-align: left; width: 100%; position: relative; transition: padding-left var(--dur) var(--ease-expo), background var(--dur); }
.floor-tab::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 3px; background: var(--teal); transform: scaleY(0); transition: transform var(--dur) var(--ease-expo); }
.floor-tab .n { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--dim); min-width: 52px; transition: color var(--dur); }
.floor-tab .t { display: grid; gap: 3px; }
.floor-tab .t b { font-weight: 600; font-size: 1.02rem; }
.floor-tab .t span { font-size: 0.85rem; color: var(--muted); }
.floor-tab .a { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); white-space: nowrap; }
.floor-tab:hover .n, .floor-tab.is-active .n { color: var(--teal); }
.floor-tab.is-active { padding-left: 20px; background: var(--white); }
.floor-tab.is-active::before { transform: scaleY(1); }
.floor-tab.is-active .a { color: var(--teal); }
.floor-panel { display: none; }
.floor-panel.is-active { display: grid; gap: 18px; }
.blueprint { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 4/3; }
.blueprint img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5%; transform: rotate(90deg) scale(1.28); transform-origin: center; }
.blueprint.portrait img { transform: none; }
.blueprint .corner { position: absolute; width: 20px; height: 20px; border: 1px solid #0f7c86; }
.blueprint .corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; } .blueprint .corner.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; } .blueprint .corner.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; } .blueprint .corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; }
.blueprint .label { position: absolute; top: 15px; left: 42px; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: #0f7c86; }
.blueprint .scan { display: none; }
.section-night .blueprint { background: #1b1b18; border-color: var(--line); }
.section-night .blueprint img { filter: invert(1) brightness(0.95); opacity: 0.92; }
.section-night .blueprint .corner { border-color: #6fd0d8; }
.section-night .blueprint .label { color: #6fd0d8; }
.floor-data { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.floor-data .cell { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: grid; gap: 4px; }
.floor-data .cell b { font-family: var(--font-mono); font-weight: 500; font-size: 1.02rem; color: var(--teal); }
.floor-data .cell span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.8rem; color: var(--ink-2); background: var(--white); transition: border-color var(--dur-fast), color var(--dur-fast); }
.chips span:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- Horizontal store gallery (sticky stage, scroll-linked) ---------- */
.hscroll-section { padding: 0; min-height: 0; display: block; }
.hscroll-pin { position: relative; }
.hscroll-sticky { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--nav-h) + 1rem) 0 2rem; }
.hscroll-section .section-head { margin-bottom: clamp(20px, 3.5vh, 48px); }
.hscroll { position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll-section.is-pinned .hscroll { overflow: hidden; }
.hscroll-section:not(.is-pinned) .hscroll-sticky { position: static; min-height: 0; padding: var(--section) 0; }
.hscroll-track { display: flex; gap: clamp(14px, 1.8vw, 24px); padding: 0 var(--gutter); width: max-content; will-change: transform; }
.hscroll-section:not(.is-pinned) .hscroll-track { padding-right: var(--gutter); }
.hcard { position: relative; width: clamp(300px, 36vw, 600px); aspect-ratio: 3/2; border-radius: var(--radius-lg); overflow: hidden; background: #1f1f1c; flex: none; }
.hcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-expo); }
.hcard:hover img { transform: scale(1.05); }
.hcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(21,21,19,0.85)); pointer-events: none; }
.hcard .meta { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; justify-content: space-between; align-items: end; gap: 12px; z-index: 2; }
.hcard .meta b { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1; color: #fff; }
.hcard .meta span { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: #6fd0d8; }
.hcard.hcard-text { display: grid; align-content: end; padding: 28px; background: #0f7c86; color: #fff; width: clamp(280px, 26vw, 400px); }
.hcard.hcard-text::after { display: none; }
.hcard.hcard-text .eyebrow { color: rgba(255,255,255,0.8); }
.hcard.hcard-text .muted { color: rgba(255,255,255,0.85); }
.hcard.hcard-text .btn { background: #fff; color: #0f7c86; }
.hcard.hcard-text .btn::before { background: #151513; }
.hcard.hcard-text .btn:hover { color: #fff; }
.hscroll-progress { height: 1px; background: var(--line); margin: 26px var(--gutter) 0; position: relative; }
.hscroll-progress i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--teal); }

/* ---------- Compare slider ---------- */
.compare { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-3); user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; transform: translateX(-1px); z-index: 2; }
.compare .handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; border-radius: 50%; background: #0f7c86; transform: translate(-50%,-50%); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'><path d='M8 7l-4 5 4 5M16 7l4 5-4 5'/></svg>"); background-size: 24px; background-position: center; background-repeat: no-repeat; box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.compare .lbl { position: absolute; top: 16px; padding: 7px 11px; border-radius: 4px; background: rgba(21,21,19,0.7); font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; z-index: 2; color: #fff; }
.compare .lbl.l { left: 16px; } .compare .lbl.r { right: 16px; }
.compare input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; z-index: 3; }

/* ---------- Pricing ---------- */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.price { display: grid; gap: 16px; padding: clamp(26px, 3vw, 38px); align-content: start; }
.price .floor { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); }
.price .amt { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.02em; }
.price .amt small { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--muted); margin-left: 6px; }
.price ul { display: grid; gap: 8px; color: var(--muted); font-size: 0.92rem; }
.price ul li { display: flex; gap: 10px; align-items: baseline; }
.price ul li::before { content: ""; width: 5px; height: 5px; background: var(--teal); border-radius: 50%; flex: none; position: relative; top: -2px; }
.price.featured { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.fee-list { display: grid; }
.fee-list li { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.fee-list li b { font-family: var(--font-mono); font-weight: 500; color: var(--teal); white-space: nowrap; }
.fee-list li span { color: var(--ink-2); }
.fee-list li small { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 4px; }
.inline-ic { width: 18px; height: 18px; display: inline-block; vertical-align: -3px; margin-right: 8px; color: var(--teal); }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.calc-form { padding: clamp(26px, 3vw, 40px); display: grid; gap: 22px; border-right: 1px solid var(--line); align-content: start; }
.calc-out { padding: clamp(26px, 3vw, 40px); display: grid; gap: 16px; background: var(--paper); color: var(--ink); align-content: start; }
.calc-out .big { font-family: var(--font-display); font-size: clamp(2.6rem, 4vw, 3.8rem); line-height: 1; letter-spacing: -0.02em; }
.calc-out .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); }
.calc-out .row b { font-family: var(--font-mono); font-weight: 500; color: var(--ink); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 6px; background: var(--paper-2); border: 1px solid var(--line); }
.seg button { padding: 12px 8px; border-radius: 4px; font-size: 0.82rem; font-weight: 600; color: var(--muted); transition: background var(--dur-fast), color var(--dur-fast); display: grid; gap: 2px; text-align: center; }
.seg button small { font-family: var(--font-mono); font-weight: 400; font-size: 0.62rem; letter-spacing: 0.08em; }
.seg button.is-active { background: #0f7c86; color: #fff; }
.seg button.is-active small { color: rgba(255,255,255,0.8); }
.seg input:focus-visible + .btn { outline: 2px solid var(--teal); outline-offset: 3px; }
.seg label input:checked + .btn-ghost { background: #0f7c86; color: #fff; border-color: #0f7c86; }
.seg label input:not(:checked) + .btn { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #0f7c86 var(--fill, 20%), var(--paper-3) var(--fill, 20%)); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #0f7c86; border: 4px solid #fff; box-shadow: 0 0 0 1px #0f7c86; cursor: grab; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #0f7c86; border: 4px solid #fff; box-shadow: 0 0 0 1px #0f7c86; cursor: grab; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.field label b { color: var(--teal); font-weight: 500; }
.input { width: 100%; padding: 14px 16px; border-radius: 4px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); transition: border-color var(--dur-fast), box-shadow var(--dur-fast); min-height: 50px; }
.input::placeholder { color: var(--dim); }
.input:focus { outline: none; border-color: #0f7c86; box-shadow: 0 0 0 4px rgba(15,124,134,0.18); }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f7c86' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
textarea.input { min-height: 140px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-msg { padding: 14px 16px; border-radius: 4px; font-size: 0.9rem; display: none; }
.form-msg.is-ok { display: block; background: #d8ecec; border: 1px solid rgba(15,124,134,0.4); color: #0a5b63; }
.form-msg.is-err { display: block; background: #fbe4e0; border: 1px solid #e8a79c; color: #8d2c1b; }

/* ---------- Steps / timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 28px; height: 1px; background: var(--line); }
.step { position: relative; padding-top: 72px; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--paper); font-family: var(--font-display); font-size: 1.25rem; color: var(--teal); transition: background var(--dur), color var(--dur), border-color var(--dur); }
.step:hover::before { background: #0f7c86; color: #fff; border-color: #0f7c86; }
.step b { display: block; font-weight: 600; margin-bottom: 8px; font-size: 1rem; }
.step p { color: var(--muted); font-size: 0.92rem; }
.timeline { display: grid; }
.timeline li { display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.timeline li .d { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.1em; color: var(--teal); padding-top: 6px; }
.timeline li b { display: block; font-size: 1.12rem; font-weight: 600; margin-bottom: 6px; }
.timeline li p { color: var(--muted); }

/* ---------- Events ---------- */
.month-strip { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.month-strip::-webkit-scrollbar { display: none; }
.month-strip button { flex: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); transition: all var(--dur-fast); }
.month-strip button:hover { border-color: var(--teal); color: var(--teal); }
.month-strip button.is-active { background: #0f7c86; color: #fff; border-color: #0f7c86; }
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.event { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 24px; align-items: start; transition: opacity var(--dur), filter var(--dur), transform var(--dur) var(--ease-expo), box-shadow var(--dur); }
.event .date { display: grid; text-align: center; min-width: 62px; padding: 10px 8px; border-radius: 6px; background: var(--teal-soft); }
.event .date b { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--teal-deep); font-weight: 400; }
.event .date span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal-deep); }
.event h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; margin-bottom: 6px; }
.event p { color: var(--muted); font-size: 0.92rem; }
.event .icon { width: 38px; height: 38px; margin: 0 0 12px; }
.event .icon svg { width: 18px; height: 18px; }
.event.is-dim { opacity: 0.35; filter: grayscale(1); }

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; text-align: left; font-size: 1.08rem; font-weight: 600; transition: color var(--dur-fast); }
.acc-btn:hover { color: var(--teal); }
.acc-btn .plus { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; position: relative; transition: background var(--dur), border-color var(--dur), transform var(--dur) var(--ease-expo); }
.acc-btn .plus::before, .acc-btn .plus::after { content: ""; position: absolute; background: currentColor; transition: transform var(--dur) var(--ease-expo); }
.acc-btn .plus::before { width: 14px; height: 1.5px; } .acc-btn .plus::after { width: 1.5px; height: 14px; }
.acc-btn[aria-expanded="true"] .plus { background: #0f7c86; border-color: #0f7c86; color: #fff; transform: rotate(180deg); }
.acc-btn[aria-expanded="true"] .plus::after { transform: scaleY(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease-expo); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 4px 24px; color: var(--muted); max-width: 70ch; }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }

/* ---------- Directory ---------- */
.dir-tools { display: grid; grid-template-columns: 1fr auto; gap: 14px; margin-bottom: 24px; align-items: center; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: 0.8rem; font-weight: 500; color: var(--muted); transition: all var(--dur-fast); }
.filters button:hover { border-color: var(--teal); color: var(--teal); }
.filters button.is-active { background: #0f7c86; color: #fff; border-color: #0f7c86; }
.dir { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.unit { padding: 22px; display: grid; gap: 14px; align-content: start; }
.unit .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.unit .code { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--teal-deep); padding: 6px 10px; border-radius: 4px; background: var(--teal-soft); }
.unit .fl { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.unit h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; }
.unit .bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--muted); }
.unit .bottom b { font-family: var(--font-mono); font-weight: 500; color: var(--ink); }
.unit .cat { display: inline-flex; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.7rem; }
.unit.is-hidden { display: none; }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); display: none; }
.empty.is-shown { display: block; }
.legend-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.legend-row .cell { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: grid; gap: 6px; }
.legend-row .cell b { font-family: var(--font-mono); font-weight: 500; font-size: 1.05rem; color: var(--teal); }
.legend-row .cell span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Gallery & lightbox ---------- */
.masonry { columns: 3; column-gap: 14px; }
.masonry > * { break-inside: avoid; margin-bottom: 14px; }
.gitem { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-3); display: block; width: 100%; text-align: left; }
.gitem img { width: 100%; transition: transform 1.2s var(--ease-expo); }
.gitem:hover img { transform: scale(1.05); }
.gitem .cap { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; align-items: end; gap: 10px; transform: translateY(8px); opacity: 0; transition: transform var(--dur) var(--ease-expo), opacity var(--dur); z-index: 2; color: #fff; }
.gitem:hover .cap, .gitem:focus-visible .cap { transform: none; opacity: 1; }
.gitem .cap b { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; }
.gitem .cap span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: #6fd0d8; }
.gitem::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(21,21,19,0.85)); opacity: 0; transition: opacity var(--dur); pointer-events: none; }
.gitem:hover::after { opacity: 1; }
.gitem.is-hidden { display: none; }
.gitem.plan { background: #fff; border: 1px solid var(--line); }
.gitem.plan img { padding: 4%; }
.lightbox { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; place-items: center; padding: 24px; background: rgba(21,21,19,0.94); opacity: 0; visibility: hidden; transition: opacity var(--dur), visibility var(--dur); }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity var(--dur), visibility 0s; }
.lightbox figure { position: relative; max-width: min(1400px, 100%); max-height: 100%; display: grid; gap: 14px; transform: translateY(16px); transition: transform var(--dur-slow) var(--ease-expo); }
.lightbox.is-open figure { transform: none; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; object-fit: contain; border-radius: 6px; margin-inline: auto; }
.lightbox img.plan { background: #fff; padding: 20px; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 16px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: #a8a69f; }
.lightbox figcaption b { color: #f5f1ea; font-weight: 500; }
.lb-btn { position: fixed; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(245,241,234,0.25); background: rgba(31,31,28,0.7); display: grid; place-items: center; color: #f5f1ea; transition: background var(--dur-fast), border-color var(--dur-fast); z-index: 2; }
.lb-btn:hover { background: #0f7c86; border-color: #0f7c86; }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.person { padding: 26px; display: grid; gap: 14px; align-content: start; }
.person .avatar { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem; color: var(--teal-deep); background: var(--teal-soft); }
.person h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; }
.person .role { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); }
.person p { color: var(--muted); font-size: 0.9rem; }
.person .origin { font-size: 0.75rem; color: var(--dim); display: inline-flex; gap: 6px; align-items: center; }
.person .origin i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ---------- Location ---------- */
.location { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: stretch; }
.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; border: 1px solid var(--line); background: var(--paper-3); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map .pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); z-index: 2; pointer-events: none; }
.map .pin i { display: block; width: 14px; height: 14px; border-radius: 50%; background: #0f7c86; box-shadow: 0 0 0 5px rgba(15,124,134,0.25); position: relative; }
.map .pin i::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px solid #0f7c86; animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.contact-list { display: grid; }
.contact-list li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.contact-list li .ic { width: 46px; height: 46px; border-radius: 6px; display: grid; place-items: center; color: var(--teal); background: var(--teal-soft); }
.contact-list li .ic svg { width: 20px; height: 20px; }
.contact-list li > div > span { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
.contact-list li .link-arrow { font-family: var(--font-body); font-size: 0.9rem; margin-top: 8px; }
.contact-list li a { display: inline-block; font-family: var(--font-mono); font-size: 0.95rem; padding: 2px 0; transition: color var(--dur-fast); }
.contact-list li a:hover { color: var(--teal); }
.contact-list li p { color: var(--ink-2); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(56px, 8vw, 120px) clamp(24px, 5vw, 80px); text-align: center; background: var(--paper); color: var(--ink); isolation: isolate; }
.cta-band .bg { position: absolute; inset: 0; z-index: -1; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.cta-band .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,21,19,0.55), rgba(21,21,19,0.9)); }
.cta-band .display { max-width: 12ch; margin-inline: auto; margin-bottom: 20px; }
.cta-band .lede { margin: 0 auto 36px; color: var(--muted); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: var(--z-content); background: var(--paper); color: var(--ink); margin-top: var(--section); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: clamp(48px, 6vw, 80px) 0 40px; }
.footer h4 { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: 0.95rem; display: inline-block; transition: color var(--dur-fast), transform var(--dur) var(--ease-expo); }
@media (hover: hover) { .footer ul a:hover { color: var(--ink); transform: translateX(6px); } }
.footer .about { color: var(--muted); max-width: 40ch; margin-top: 18px; font-size: 0.95rem; }
.footer-wordmark { overflow: hidden; padding: 20px 0 0; border-top: 1px solid var(--line); }
.footer-wordmark { padding: 28px 0 8px; }
.footer-wordmark span { display: block; font-family: var(--font-display); font-size: min(11.5vw, 12rem); line-height: 0.9; letter-spacing: -0.03em; white-space: nowrap; color: #2b2b27; text-align: center; transition: color 0.8s var(--ease-expo); }
.footer-wordmark:hover span { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); }
.footer-bottom .clock { font-family: var(--font-mono); display: inline-flex; gap: 10px; align-items: center; }
.footer-bottom .clock i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.socials { display: flex; gap: 8px; }
.socials a { min-width: 42px; height: 42px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 0.85rem; font-weight: 600; transition: background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast); }
.socials .social-label { font-family: var(--font-mono); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.02em; }
.socials a svg { width: 17px; height: 17px; }
.socials a:hover { background: #0f7c86; border-color: #0f7c86; color: #fff; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: var(--z-nav); width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(20,19,15,0.26); background: rgba(245,241,234,0.92); display: grid; place-items: center; color: #14130f; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity var(--dur), transform var(--dur) var(--ease-expo), background var(--dur-fast), color var(--dur-fast); }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: #0f7c86; color: #fff; border-color: #0f7c86; }
.to-top svg { width: 18px; height: 18px; }
.to-top .ring-svg { position: absolute; inset: -1px; width: auto; height: auto; }
.to-top .ring-svg circle { fill: none; stroke: #0f7c86; stroke-width: 1.5; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); transform: rotate(-90deg); transform-origin: center; }
.whatsapp-fab { position: fixed; right: 22px; bottom: 84px; z-index: var(--z-nav); display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 999px; background: #1f8f5f; color: #fff; font-weight: 600; font-size: 0.85rem; box-shadow: 0 14px 30px -14px rgba(31,143,95,0.8); transition: transform var(--dur) var(--ease-expo); }
.whatsapp-fab:hover { transform: translateY(-3px); }
.whatsapp-fab svg { width: 22px; height: 22px; }
.whatsapp-fab span { display: none; }
@media (min-width: 900px) { .whatsapp-fab span { display: inline; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; position: relative; z-index: var(--z-content); }
.notfound .display { font-size: clamp(8rem, 30vw, 24rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px #0f7c86; }

/* ---------- Reveal system: CSS animates, JS only adds .is-in / .is-shown ---------- */
.line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.line > span { display: inline-block; transition: transform 1s var(--ease-expo), opacity 0.6s ease; }
.line:nth-child(2) > span { transition-delay: 0.10s; }
.line:nth-child(3) > span { transition-delay: 0.20s; }
.line:nth-child(4) > span { transition-delay: 0.30s; }

/* hidden states apply only once scripts are running (html.js-ready) so no-JS visitors see everything */
html.js-ready [data-reveal]:not([data-reveal="lines"]):not([data-reveal="stagger"]):not(.is-in) { opacity: 0; transform: translateY(22px); }
[data-reveal]:not([data-reveal="lines"]):not([data-reveal="stagger"]) { transition: opacity 0.7s ease, transform 0.9s var(--ease-expo); }
[data-reveal="fade"] { transform: none !important; }
html.js-ready [data-reveal="lines"]:not(.is-in) .line > span { transform: translateY(110%); }
html.js-ready [data-reveal="stagger"]:not(.is-in) > * { opacity: 0; transform: translateY(22px); }
[data-reveal="stagger"] > * { transition: opacity 0.7s ease, transform 0.9s var(--ease-expo); }
[data-reveal="stagger"] > *:nth-child(2) { transition-delay: 0.07s; }
[data-reveal="stagger"] > *:nth-child(3) { transition-delay: 0.14s; }
[data-reveal="stagger"] > *:nth-child(4) { transition-delay: 0.21s; }
[data-reveal="stagger"] > *:nth-child(5) { transition-delay: 0.28s; }
[data-reveal="stagger"] > *:nth-child(6) { transition-delay: 0.35s; }
[data-reveal="stagger"] > *:nth-child(7) { transition-delay: 0.42s; }
[data-reveal="stagger"] > *:nth-child(8) { transition-delay: 0.49s; }
[data-reveal="stagger"] > *:nth-child(9) { transition-delay: 0.56s; }
[data-reveal="stagger"] > *:nth-child(10) { transition-delay: 0.63s; }
[data-reveal="stagger"] > *:nth-child(11) { transition-delay: 0.70s; }
[data-reveal="stagger"] > *:nth-child(12) { transition-delay: 0.77s; }

/* hero entrance */
html.js-ready .hero:not(.is-in) .hero-title .line > span, html.js-ready .page-hero:not(.is-in) .hero-title .line > span { transform: translateY(115%); }
html.js-ready .hero:not(.is-in) [data-hero], html.js-ready .page-hero:not(.is-in) [data-hero] { opacity: 0; transform: translateY(18px); }
.hero [data-hero], .page-hero [data-hero] { transition: opacity 0.7s ease, transform 0.8s var(--ease-expo); }
.hero .hero-title .line:nth-child(2) > span, .page-hero .hero-title .line:nth-child(2) > span { transition-delay: 0.1s; }


/* ---------- Responsive ---------- */
@media (max-height: 640px) and (min-width: 1025px) {
  .hero-kicker .tag { display: none; }
  .scroll-cue { display: none; }
  .hero-copy .lede { max-width: 40ch; }
}
@media (max-width: 1024px) {
  .hero, .page-hero { height: auto; min-height: 0; display: block; padding-top: calc(var(--nav-h) + 28px); padding-bottom: 0; }
  .hero-copy, .page-hero .hero-copy { max-width: none; padding-bottom: 28px; }
  .hero-media, .page-hero .hero-media { position: relative; width: 100%; aspect-ratio: 16/9; height: auto; }
  .hero-media::after { background: linear-gradient(180deg, var(--paper), transparent 20%); }
  .scroll-cue { display: none; }
  .hero-title { max-width: none; }
}
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .nav-cta .btn { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .steps::before { display: none; }
  .bento > *, .bento .span-3, .bento .span-4 { grid-column: span 3; }
  .bento .span-6 { grid-column: span 6; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .dir, .events, .price-cards { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; }
}
@media (max-width: 860px) {
  :root { --nav-h: 60px; --section: 52px; --gutter: 18px; --radius-lg: 8px; }
  html { font-size: 16px; }
  body { font-size: 0.98rem; line-height: 1.55; padding-bottom: 68px; }
  .m-hide { display: none !important; }
  .m-only { display: block; }
  .lede { font-size: 1rem; line-height: 1.5; }
  .display { font-size: clamp(2.3rem, 10.5vw, 3.2rem); letter-spacing: -0.025em; }
  .h1, .section-head .h1 { font-size: clamp(1.9rem, 8vw, 2.5rem); }
  .h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .h3 { font-size: 1.4rem; }
  .h4 { font-size: 1.05rem; }
  .eyebrow { font-size: 0.62rem; }

  /* Nav */
  .nav { padding: 0 var(--gutter); transform: none !important; }
  .brand { gap: 10px; }
  .brand svg { width: 2.4rem; height: 2.4rem; }
  .brand .wordmark { gap: 4px; }
  .brand .wordmark b { font-size: 0.8rem; letter-spacing: 0.2em; }
  .brand .wordmark i { font-weight: 400; font-size: 0.8rem; letter-spacing: 0.2em; }

  /* Hero: picture first, then the words */
  .hero, .page-hero { height: auto; min-height: 0; display: flex; flex-direction: column; padding: var(--nav-h) 0 0; }
  .hero-media, .page-hero .hero-media { order: -1; position: relative; width: 100%; height: auto; aspect-ratio: 4/5; max-height: 62vh; }
  .hero-media img { object-position: 55% 50%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(21,21,19,0.35), rgba(21,21,19,0) 30%, rgba(21,21,19,0) 55%, var(--paper) 100%); display: block; }
  .hero > .container, .page-hero > .container { margin-top: -18vw; position: relative; z-index: 2; }
  .hero-copy, .page-hero .hero-copy { max-width: none; gap: 14px; padding-bottom: 28px; }
  .hero-kicker .tag { display: none; }
  .hero-badge { font-size: 0.7rem; }
  .hero-title { max-width: none; }
  .hero-copy .lede { max-width: none; }
  .hero-actions { width: 100%; gap: 12px; }
  .hero-actions .btn { width: 100%; padding: 1rem 1.2rem; min-height: 3.2rem; }
  .hero-actions .link-arrow { margin-inline: auto; }
  .hero-stats { margin: 4px 0 0; padding: 0; gap: 8px; }
  .hero-stats .glass { min-width: 0; flex: 1 1 45%; padding: 10px 12px; }
  .hero-stats .glass b { font-size: 1.35rem; }
  .hero-stats .glass span { font-size: 0.56rem; }
  .scroll-cue { display: none; }
  .page-hero .display { font-size: clamp(2.1rem, 10vw, 3rem); max-width: none; }
  .crumbs { font-size: 0.6rem; }

  /* Sections */
  .section-head { margin-bottom: 24px; gap: 10px; }
  .section-head.split, .editorial, .floors, .location, .calc { grid-template-columns: 1fr; gap: 20px; }
  .editorial .sticky { position: static; }
  .prose { gap: 16px; }
  .prose p.big { font-size: 1.15rem; line-height: 1.4; }
  .checklist li { padding: 10px 0; font-size: 0.92rem; }
  .marquee { padding: 12px 0; }
  .marquee-track > * { font-size: 1.05rem; padding: 0 14px; gap: 14px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 18px 14px; gap: 4px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .stat b { font-size: 1.9rem; }
  .stat > span { font-size: 0.56rem; }
  .card-pad { padding: 18px; }
  .card .icon { width: 40px; height: 40px; margin-bottom: 12px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 10px; }
  .frame.ratio-4-3 { aspect-ratio: 16/10; }

  /* Bento -> compact rows (icon left, text right), first card keeps its image */
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 8px; }
  .bento > *, .bento .span-3, .bento .span-4, .bento .span-6 { grid-column: span 1; grid-row: auto; }
  .bento .card.has-img:first-child { min-height: 220px; }
  .bento .card.has-img:not(:first-child) .bg { display: none; }
  .bento .card.has-img:not(:first-child) { color: var(--ink); background: var(--white); }
  .bento .card.has-img:not(:first-child) .icon { background: var(--teal-soft); color: var(--teal); }
  .bento .card:not(.has-img) .card-pad, .bento .card.has-img:not(:first-child) .card-pad { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; padding: 14px; align-items: start; }
  .bento .card:not(.has-img) .icon, .bento .card.has-img:not(:first-child) .icon { grid-row: 1 / span 2; margin: 0; }
  .bento .card .h4 { font-size: 0.95rem; margin: 0; }
  .bento .card p { font-size: 0.82rem; line-height: 1.45; }
  .bento .card.has-img:first-child .card-pad { padding: 14px; }
  /* Floors: list + chips, no thumbnail plan on phones */
  .floor-tab { grid-template-columns: auto 1fr; padding: 12px 6px; gap: 12px; }
  .floor-tab .n { font-size: 1.5rem; min-width: 34px; }
  .floor-tab .t b { font-size: 0.95rem; }
  .floor-tab .t span { font-size: 0.78rem; }
  .floor-tab .a { grid-column: 2; font-size: 0.64rem; }
  .floor-tab.is-active { padding-left: 14px; }
  .floor-stage .blueprint { display: none; }
  .floor-data { grid-template-columns: 1fr 1fr; gap: 8px; }
  .floor-data .cell { padding: 10px 12px; }
  .floor-data .cell b { font-size: 0.9rem; }
  .chips span { padding: 5px 10px; font-size: 0.74rem; }

  /* Stores strip: native swipe, shorter cards */
  .hscroll-section:not(.is-pinned) .hscroll-sticky { padding: var(--section) 0; }
  .hcard { width: min(76vw, 340px); }
  .hcard .meta b { font-size: 1.2rem; }
  .hcard.hcard-text { width: min(76vw, 300px); padding: 18px; }
  .hscroll-progress { margin-top: 14px; }

  /* Pricing: compact rows */
  .price-cards { grid-template-columns: 1fr; gap: 8px; }
  .price { grid-template-columns: 1fr auto; align-items: center; gap: 6px 14px; padding: 14px 16px; }
  .price .floor { grid-column: 1; }
  .price .amt { grid-column: 2; grid-row: 1 / span 2; font-size: 1.9rem; }
  .price ul { grid-column: 1; gap: 2px; font-size: 0.8rem; }

  /* Events, team, directory */
  .events { grid-template-columns: 1fr; gap: 8px; }
  .event { padding: 14px; gap: 12px; }
  .event .date { min-width: 52px; padding: 8px 6px; }
  .event .date b { font-size: 1.5rem; }
  .event .icon { display: none; }
  .event h3 { font-size: 0.95rem; }
  .event p { font-size: 0.85rem; }
  .team, .dir { grid-template-columns: 1fr; gap: 8px; }
  .person, .unit { padding: 16px; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .steps::before { display: none; }
  .step { padding-top: 0; padding-left: 52px; }
  .step::before { width: 40px; height: 40px; font-size: 1rem; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .calc-form { border-right: 0; border-bottom: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .legend-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .legend-row .cell { padding: 12px 14px; }
  .masonry { columns: 1; }
  .dir-tools { grid-template-columns: 1fr; }
  .contact-list li { padding: 14px 0; gap: 12px; }
  .map { min-height: 240px; }
  .cta-band { padding: 40px 18px; border-radius: 8px; }
  .cta-band .display { font-size: clamp(2rem, 10vw, 2.8rem); }
  .cta-band .lede { margin-bottom: 22px; }
  .cta-actions .btn { width: 100%; }

  /* Footer */
  .footer { margin-top: var(--section); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding: 36px 0 24px; }
  .footer-top > div:first-child { grid-column: span 2; }
  .footer .about { font-size: 0.88rem; }
  .footer-wordmark { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 0 20px; font-size: 0.72rem; }

  /* Floating controls -> bottom action bar */
  .whatsapp-fab, .to-top { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-nav); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(21,21,19,0.96); border-top: 1px solid rgba(245,241,234,0.12); }
  .mobile-bar a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 6px; border: 1px solid rgba(245,241,234,0.2); color: #f5f1ea; font-size: 0.78rem; font-weight: 600; }
  .mobile-bar a svg { width: 16px; height: 16px; }
  .mobile-bar a.primary { background: #0f7c86; border-color: #0f7c86; color: #fff; }
  /* Inputs at 16px so iOS does not zoom on focus; comfortable tap targets */
  .input { font-size: 1rem; }
  .filters button, .month-strip button { min-height: 44px; padding: 10px 16px; }
  .chips span { min-height: 36px; display: inline-flex; align-items: center; }
  /* Press feedback on touch */
  .btn:active, .card:active, .filters button:active, .month-strip button:active, .mobile-bar a:active, .floor-tab:active { transform: scale(0.985); transition-duration: 80ms; }
  /* Store strip: snap carousel with a peeking next card */
  .hscroll { scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter); }
  .hcard { scroll-snap-align: start; width: min(82vw, 360px); aspect-ratio: 4/3; }
  .hscroll-track { padding-right: calc(var(--gutter) + 10vw); }
  .swipe-cue { margin: 10px var(--gutter) 0; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
  .swipe-cue::before { content: ""; width: 26px; height: 1px; background: var(--teal); }
  /* Floors accordion: panel under its floor */
  .floor-tabs .floor-panel { display: none; }
  .floor-tabs .floor-panel.is-active { display: grid; gap: 12px; padding: 12px 0 18px; border-bottom: 1px solid var(--line); }
  .floor-stage:empty { display: none; }
  .menu-foot { flex-direction: column; gap: 8px; }
  .menu-foot-links { display: flex; gap: 18px; }
  .menu-foot-links a { color: var(--teal); font-weight: 600; }
  .lightbox { padding: 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 84px; transform: none; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
  .lb-close { top: 12px; right: 12px; }
  .menu { padding: 90px var(--gutter) 90px; }
}
@media (max-width: 380px) {
  .display { font-size: 2.15rem; }
  .hero-stats .glass { flex: 1 1 100%; }
  .bento { grid-template-columns: 1fr; }
  .bento .card.has-img:first-child { grid-column: span 1; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- Print ---------- */
@media print {
  .nav, .menu, .curtain, .preloader, .whatsapp-fab, .to-top, .mobile-bar, .marquee, .cta-band, .hscroll-section, .compare, .scroll-cue { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .section-night, .section-alt, .hero, .page-hero, .footer { background: #fff !important; color: #000 !important; padding: 16px 0 !important; }
  .hero-media, .page-hero .hero-media { position: static; width: 100%; max-height: 240px; }
  .card, .price, .unit, .event { border: 1px solid #ccc !important; box-shadow: none !important; break-inside: avoid; }
  a { color: #000; text-decoration: none; }
  [data-reveal], [data-reveal="stagger"] > *, .line > span, [data-hero] { opacity: 1 !important; transform: none !important; }
  [data-wipe]::before { display: none !important; }
}
