/* Azizi Venice · Azizi Developments — Nova Luxury Homes
   DNA from the Venice brochure: LAMORE caps (→ Marcellus) and Raleway in navy #014873,
   the seafoam→teal→navy panel of the map spread, pale onyx, lagoon aqua, and the hairline
   wave ribbon of the cover mark. */

:root {
  --ink: #014873;
  --ink-d: #04385a;
  --deep: #062c47;
  --text: #24465f;
  --muted: #5b7487;
  --sea: #639b9b;
  --teal: #378799;
  --aqua: #50bcd2;
  --paper: #f5f8f9;
  --onyx: #e5edf0;
  --sand: #efe9df;
  --line: rgba(1, 72, 115, .14);
  --line-2: rgba(1, 72, 115, .26);
  --err: #b4412f;
  --panel: linear-gradient(160deg, #639b9b 0%, #378799 28%, #1e6685 55%, #044a74 86%, #03406a 100%);

  --f-d: 'Marcellus', 'Optima', Georgia, serif;
  --f-b: 'Raleway', 'Helvetica Neue', Arial, sans-serif;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);

  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --top-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 16px/1.7 var(--f-b);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }

/* ── type ─────────────────────────────────────────────── */
.hd { font-family: var(--f-d); font-weight: 400; color: var(--ink); text-transform: uppercase; letter-spacing: .07em; line-height: 1.16; margin: 0; text-wrap: balance; }
.hd--xl { font-size: clamp(2.6rem, 1.6rem + 4.2vw, 5.4rem); letter-spacing: .1em; line-height: 1.02; }
.hd--lg { font-size: clamp(1.7rem, 1.25rem + 1.7vw, 2.75rem); }
.hd--md { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); }
.hd--sm { font-size: clamp(1.05rem, .98rem + .3vw, 1.22rem); letter-spacing: .08em; }

.kicker { margin: 0 0 14px; font: 600 11px/1.4 var(--f-b); letter-spacing: .26em; text-transform: uppercase; color: var(--teal); }
.kicker--light { color: rgba(255, 255, 255, .78); }

/* ── buttons ──────────────────────────────────────────── */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 1px solid var(--bg); border-radius: 0;
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font: 600 12px/1 var(--f-b); letter-spacing: .2em; text-transform: uppercase;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 11px; }
.btn--block { width: 100%; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn[disabled] { cursor: progress; opacity: .8; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --bg: var(--ink-d); }
  .btn--light:hover { --bg: var(--onyx); }
  .btn--line:hover { --bg: rgba(1, 72, 115, .06); }
}
.btn__label { display: inline-block; transition: filter 160ms ease, opacity 160ms ease; }
.btn__label.is-swap { filter: blur(2px); opacity: 0; }

/* ── top bar ──────────────────────────────────────────── */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--top-h); transition: background-color 240ms ease, box-shadow 240ms ease, backdrop-filter 240ms ease; }
.topbar.is-solid { background: rgba(245, 248, 249, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.topbar__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: block; flex: none; }
.brand__word { width: auto; height: 30px; }
.topbar__nav { display: flex; gap: 28px; margin-left: auto; }
.topbar__nav a { position: relative; text-decoration: none; font: 600 11px/1 var(--f-b); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); padding: 8px 0; }
.topbar__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .topbar__nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.topbar__cta { flex: none; }
@media (max-width: 980px) { .topbar__nav { display: none; } .topbar__cta { margin-left: auto; } }

/* ── hero ─────────────────────────────────────────────── */
.hero { position: relative; min-height: max(680px, 100svh); display: flex; overflow: hidden; background: #cfe3ec; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
/* brochure-style haze: navy type sits on pale sky, never on a dark scrim */
.hero__img::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(240, 246, 248, .95) 0%, rgba(240, 246, 248, .86) 34%, rgba(240, 246, 248, .5) 50%, rgba(240, 246, 248, 0) 66%),
    linear-gradient(180deg, rgba(240, 246, 248, .55) 0%, rgba(240, 246, 248, 0) 26%);
}
.js .hero__img img { transform: scale(1.045); transition: transform 2400ms var(--ease-out); }
.js .hero.is-in .hero__img img { transform: none; }

.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: calc(var(--top-h) + 48px); padding-bottom: 56px; }
.hero__text { max-width: 600px; }
.hero__text .kicker { color: var(--teal); }
.hero__sub { margin: 18px 0 0; font: 400 clamp(1.05rem, .95rem + .45vw, 1.35rem)/1.35 var(--f-d); letter-spacing: .06em; color: var(--teal); text-transform: uppercase; }
.hero__lede { margin: 20px 0 0; max-width: 520px; font-size: 1.04rem; color: var(--text); }
.hero__facts { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; border-top: 1px solid var(--line-2); max-width: 560px; }
.hero__facts li { flex: 1 1 0; min-width: 140px; padding: 18px 20px 0 0; }
.hero__facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.hero__facts b { display: block; font: 400 1.28rem/1.2 var(--f-d); letter-spacing: .06em; color: var(--ink); white-space: nowrap; }
.hero__facts span { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }

/* entrance: copy lands after the photo, 70ms stagger */
.js .hero__in { opacity: 0; transform: translateY(14px); }
.js .hero.is-in .hero__in { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms + 120ms); }

/* ── form ─────────────────────────────────────────────── */
.form { position: relative; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); padding: 30px 30px 24px; box-shadow: 0 30px 60px -30px rgba(4, 56, 90, .45), 0 0 0 1px rgba(1, 72, 115, .06); transition: opacity 190ms ease, filter 190ms ease, transform 190ms var(--ease-out); }
.form.is-leaving { opacity: 0; filter: blur(3px); transform: translateY(4px); }
.form .anchor { position: absolute; top: calc(-1 * var(--top-h) - 20px); }
.form__head { margin-bottom: 18px; }
.form__head .kicker { margin-bottom: 8px; }
.form__body { display: grid; gap: 14px; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field legend { display: block; margin-bottom: 6px; padding: 0; font: 600 10.5px/1.3 var(--f-b); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.field .opt { font-weight: 400; letter-spacing: .06em; text-transform: none; color: var(--muted); }
.field input[type=text], .field input[type=tel], .field input[type=email] {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 0; background: #fff;
  font: 500 15px/1 var(--f-b); color: var(--deep);
  transition: border-color 160ms ease, box-shadow 160ms ease;
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: #9aacb9; font-weight: 400; }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(80, 188, 210, .28); }
.field.has-error input { border-color: var(--err); }
.err { margin: 5px 0 0; min-height: 0; font-size: 12.5px; line-height: 1.35; color: var(--err); }
.err:empty { display: none; }

.pills__set { display: flex; flex-wrap: wrap; gap: 6px; }
.pills label { position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.field .pills__set input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pills__set span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--line-2); font: 500 13px/1 var(--f-b); color: var(--ink); background: #fff; transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 140ms var(--ease-out); }
.pills__set label:active span { transform: scale(.96); }
.pills__set input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pills__set input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .pills label:hover input:not(:checked) + span { border-color: var(--ink); } }
#unit-field.is-picked .pills__set { animation: pick 1.4s var(--ease-out); }
@keyframes pick { 0%, 30% { box-shadow: 0 0 0 4px rgba(80, 188, 210, .35); } 100% { box-shadow: 0 0 0 4px rgba(80, 188, 210, 0); } }

.field--check { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.field--check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.field.field--check label { margin: 0; font: 400 12.5px/1.5 var(--f-b); letter-spacing: 0; text-transform: none; color: var(--muted); }
.cnt-off #consent-block { display: none; }
.form .btn--block { margin-top: 4px; min-height: 54px; }
.status { margin: 0; font-size: 13px; line-height: 1.45; }
.status:empty { display: none; }
.status.is-err { color: var(--err); }
.form__fine { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); }

.sent { text-align: left; outline: none; }
.sent__mark { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--ink); fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.sent p { margin: 10px 0 0; }
.sent__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sent__act .btn { flex: 1 1 auto; padding: 0 18px; }
.js .sent:not([hidden]) { animation: sentIn 420ms var(--ease-out) both; }
@keyframes sentIn { from { opacity: 0; transform: translateY(6px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) { .js .sent:not([hidden]) { animation: none; } }

/* ── scroll reveals ───────────────────────────────────── */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .rv.is-in { opacity: 1; transform: none; }
/* image reveal: the clip lives on the img, the wrapper is what IO watches */
.js .rv--img { transform: none; opacity: 1; }
.js .rv--img img { clip-path: inset(100% 0 0 0); transform: scale(1.06); transition: clip-path 1200ms var(--ease-io), transform 1600ms var(--ease-out); }
.js .rv--img.is-in img { clip-path: inset(0 0 0 0); transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { transform: none; transition: opacity 400ms ease; }
  .js .rv--img img { clip-path: none; transform: none; transition: none; }
  .js .hero__in, .js .hero__img img { transform: none !important; }
}

/* ── intro ────────────────────────────────────────────── */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: 620px; background: var(--ink); }
.intro__panel { position: relative; overflow: hidden; background: var(--panel); color: rgba(255, 255, 255, .86); display: flex; align-items: center; }
.intro__copy { position: relative; z-index: 1; padding: clamp(56px, 7vw, 110px) clamp(28px, 5vw, 80px); max-width: 600px; margin-left: auto; }
.intro__copy .hd { color: #fff; margin-bottom: 24px; }
.intro__copy p:not(.kicker) { margin: 0 0 16px; font-size: 1.02rem; }
.intro__img { position: relative; overflow: hidden; }
.intro__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* hairline wave ribbon — echoes the Venice mark; draws itself once when revealed */
.waves { position: absolute; left: -10%; width: 120%; height: 64%; bottom: -6%; fill: none; stroke: #fff; stroke-width: .8; opacity: .3; pointer-events: none; }
.waves path { vector-effect: non-scaling-stroke; }
.js .waves path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .waves.is-in path { stroke-dashoffset: 0; transition: stroke-dashoffset 2200ms var(--ease-out); transition-delay: calc(var(--k) * 35ms); }
@media (prefers-reduced-motion: reduce) { .js .waves path { stroke-dashoffset: 0; transition: none !important; } }

/* ── figures ──────────────────────────────────────────── */
.figs { background: var(--onyx) url(/assets/water.webp) center/cover no-repeat; position: relative; }
.figs::before { content: ''; position: absolute; inset: 0; background: rgba(240, 246, 248, .72); }
.figs__list { position: relative; list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 56px; padding-bottom: 56px; }
.figs__list li { padding: 6px 24px; text-align: center; }
.figs__list li + li { border-left: 1px solid var(--line-2); }
.figs__list b { display: block; font: 400 clamp(1.8rem, 1.3rem + 1.6vw, 2.7rem)/1.1 var(--f-d); letter-spacing: .04em; color: var(--ink); }
.figs__list span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.figs__list li:nth-child(2) { --d: 60ms; } .figs__list li:nth-child(3) { --d: 120ms; } .figs__list li:nth-child(4) { --d: 180ms; } .figs__list li:nth-child(5) { --d: 240ms; }

/* ── section heads ────────────────────────────────────── */
.sec-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 720px; }
.sec-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; align-items: end; }
.sec-head--split > p { margin: 0; color: var(--muted); }

/* ── residences ───────────────────────────────────────── */
.res { padding: clamp(72px, 9vw, 130px) 0; background: var(--paper); }
.seg { position: relative; display: inline-flex; padding: 4px; border: 1px solid var(--line-2); background: #fff; margin-bottom: clamp(26px, 3.5vw, 40px); }
.seg__b { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; padding: 0 22px; height: 44px; font: 600 11px/1 var(--f-b); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); transition: color 220ms ease; -webkit-tap-highlight-color: transparent; }
.seg__b[aria-selected="true"] { color: #fff; }
.seg__b:active { transform: scale(.98); }
.seg__ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: var(--w, 0); background: var(--ink); transform: translateX(var(--x, 0)); transition: transform 320ms var(--ease-io), width 320ms var(--ease-io); }
.seg__ind.is-instant { transition: none; }

.panel { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.js .panel.is-enter { animation: panelIn 320ms var(--ease-out) both; }
@keyframes panelIn { from { opacity: 0; filter: blur(3px); transform: translateY(6px); } to { opacity: 1; filter: none; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .panel.is-enter { animation: fadeOnly 200ms ease both; } @keyframes fadeOnly { from { opacity: 0; } } }

.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; gap: 8px; }
.mosaic figure { overflow: hidden; background: var(--onyx); aspect-ratio: 4 / 3; }
.mosaic .mosaic__a { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }

.panel__price { margin: 0 0 12px; font: 400 1.5rem/1.2 var(--f-d); letter-spacing: .05em; color: var(--ink); text-transform: uppercase; }
.panel__price span { display: block; margin-bottom: 4px; font: 600 10.5px/1 var(--f-b); letter-spacing: .24em; text-transform: uppercase; color: var(--teal); }
.panel__copy .hd { margin-bottom: 16px; }
.panel__copy > p:not(.panel__price) { margin: 0 0 18px; }
.ticks { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 12px; height: 1px; background: var(--teal); }

/* ── destination rail ─────────────────────────────────── */
.dest { padding: clamp(72px, 9vw, 120px) 0; background: var(--sand) url(/assets/sand.webp) center/cover; position: relative; }
.dest::before { content: ''; position: absolute; inset: 0; background: rgba(245, 241, 234, .66); }
.dest > * { position: relative; }
.dest__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.rail__nav { display: flex; gap: 8px; margin-bottom: clamp(28px, 4vw, 44px); }
.rail__btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .6); cursor: pointer; color: var(--ink); transition: background-color 200ms ease, opacity 200ms ease, transform 160ms var(--ease-out); }
.rail__btn svg { width: 20px; height: 20px; }
.rail__btn:active { transform: scale(.95); }
.rail__btn[disabled] { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .rail__btn:not([disabled]):hover { background: #fff; } }

.rail {
  list-style: none; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(270px, 31vw, 420px); gap: clamp(16px, 2vw, 28px);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2)) 8px;
  scroll-padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2));
}
.rail::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; }
.card figure { overflow: hidden; aspect-ratio: 6 / 5; background: var(--onyx); margin-bottom: 18px; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .card:hover img { transform: scale(1.035); } }
.card__k { margin: 0 0 8px; font: 600 10.5px/1.3 var(--f-b); letter-spacing: .24em; text-transform: uppercase; color: var(--teal); }
.card .hd { margin-bottom: 10px; }
.card p:last-child { margin: 0; font-size: 14.5px; line-height: 1.6; }

/* ── amenities ────────────────────────────────────────── */
.amen { padding: clamp(72px, 9vw, 130px) 0; background: var(--paper); }
.amen__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.amen__grid figure { overflow: hidden; aspect-ratio: 5 / 4; background: var(--onyx); }
.amen__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .amen__grid li:hover img { transform: scale(1.04); } }
.amen__grid span { display: block; padding-top: 12px; font: 600 10.5px/1.4 var(--f-b); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.amen__grid li:nth-child(5n+2) { --d: 50ms; } .amen__grid li:nth-child(5n+3) { --d: 100ms; } .amen__grid li:nth-child(5n+4) { --d: 150ms; } .amen__grid li:nth-child(5n+5) { --d: 200ms; }

/* ── location ─────────────────────────────────────────── */
.loc { padding: clamp(72px, 9vw, 130px) 0; background: var(--onyx); }
.loc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.loc__copy > p:not(.kicker) { margin: 18px 0 0; }
.loc__copy .hd { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.drive { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.drive li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 8px 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; transition: background-color 160ms ease, padding 0ms; }
.drive li[data-pin] { cursor: default; }
.drive b { font: 400 1rem/1.4 var(--f-d); letter-spacing: .05em; color: var(--ink); white-space: nowrap; }
.drive li.is-hot { background: linear-gradient(90deg, rgba(80, 188, 210, .14), rgba(80, 188, 210, 0)); }
.loc__src { font-size: 12px; color: var(--muted); }

.map { position: relative; min-width: 0; }
.map__scroll { overflow-x: auto; scrollbar-width: thin; box-shadow: 0 30px 60px -36px rgba(4, 56, 90, .5); }
.map__in { position: relative; min-width: 640px; }
.map__in img { width: 100%; }
.pin, .road { position: absolute; white-space: nowrap; pointer-events: none; }
.pin { display: flex; align-items: center; gap: 6px; transform: translate(-5px, -50%); font: 600 10.5px/1.2 var(--f-b); letter-spacing: .06em; color: var(--ink); text-shadow: 0 0 6px rgba(230, 240, 244, .95), 0 0 2px rgba(230, 240, 244, 1); transition: color 160ms ease; }
.pin i { width: 9px; height: 9px; border: 2px solid var(--ink); background: #fff; flex: none; transition: transform 200ms var(--ease-out), background-color 200ms ease; }
.pin--txt { transform: translate(-50%, 0); font-family: var(--f-d); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; font-size: 10.5px; color: var(--teal); }
.pin.is-hot i { transform: scale(1.5); background: var(--aqua); }
.road { transform: translate(-4px, -3px); padding: 4px 8px; background: var(--ink); color: #fff; font: 600 9px/1 var(--f-b); letter-spacing: .14em; text-transform: uppercase; transition: background-color 160ms ease; }
.road.is-hot { background: var(--teal); }
/* Venice plot: a slow ripple (decorative, stops for reduced motion) */
.map__here { position: absolute; width: 0; height: 0; }
.map__here::before, .map__here::after { content: ''; position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(1, 72, 115, .5); animation: ripple 3.6s var(--ease-out) infinite; }
.map__here::after { animation-delay: 1.8s; }
@keyframes ripple { from { transform: scale(.4); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map__here::before, .map__here::after { animation: none; opacity: .5; transform: scale(.9); } }
.map__hint { display: none; margin: 10px 0 0; font-size: 12px; color: var(--muted); }

/* ── closing ──────────────────────────────────────────── */
.close { position: relative; overflow: hidden; padding: clamp(80px, 10vw, 140px) 0 clamp(56px, 7vw, 90px); color: rgba(255, 255, 255, .84); text-align: center; background: var(--panel); }
.close__bg { position: absolute; inset: 0; background: url(/assets/caustics.webp) center/cover; mix-blend-mode: soft-light; opacity: .55; }
.waves--close { top: 0; bottom: auto; height: 70%; opacity: .22; }
.close__in { position: relative; z-index: 1; max-width: 760px; }
.close__lock { width: 220px; margin: 0 auto 36px; }
.close .hd { color: #fff; }
.close__in > p { margin: 18px auto 30px; max-width: 520px; }
.dev { margin: clamp(56px, 7vw, 90px) auto 0; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .22); display: grid; justify-items: center; gap: 16px; max-width: 620px; }
.dev__logo { width: 120px; height: auto; color: #fff; fill: currentColor; }
.dev p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .72); }

/* ── footer ───────────────────────────────────────────── */
.foot { background: var(--deep); color: rgba(255, 255, 255, .62); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 12.5px; line-height: 1.6; }
.foot__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: start; }
.foot__brand img { width: 130px; margin-bottom: 14px; }
.foot__brand p, .foot__fine { margin: 0; }

/* ── mobile sticky bar ────────────────────────────────── */
.fab { display: none; }

/* ── responsive ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 370px; }
  .amen__grid { grid-template-columns: repeat(4, 1fr); }
  .figs__list { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .figs__list li:nth-child(4) { border-left: 0; }
}

@media (max-width: 900px) {
  .hero { min-height: 0; display: block; }
  .hero__img { position: relative; height: min(118vw, 640px); }
  .hero__img img { object-position: 50% 0%; }
  .hero__img::after { background: linear-gradient(180deg, rgba(240, 246, 248, .95) 0%, rgba(240, 246, 248, .86) 38%, rgba(240, 246, 248, .4) 52%, rgba(240, 246, 248, 0) 68%); }
  .hero__grid { position: static; display: block; padding: 0; }
  .hero__text { position: absolute; z-index: 1; left: 0; right: 0; top: 0; padding: calc(var(--top-h) + 20px) var(--gut) 0; max-width: none; }
  .hero__lede { display: none; }
  .hero__facts { position: absolute; left: var(--gut); right: var(--gut); top: calc(min(118vw, 640px) - 104px); margin: 0; max-width: none; border: 0; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 14px 4px; }
  .hero__facts li { min-width: 0; padding: 0 12px; }
  .hero__facts li + li { padding-left: 12px; }
  .hero__facts b { font-size: 1.02rem; }
  .hero__facts span { font-size: 11px; }
  .form { margin: 24px var(--gut) 0; padding: 26px 22px 22px; box-shadow: 0 0 0 1px var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .hero { padding-bottom: 48px; background: var(--paper); }

  .intro { grid-template-columns: 1fr; min-height: 0; }
  .intro__copy { margin: 0; padding-bottom: 72px; }
  .intro__img { aspect-ratio: 16 / 10; }
  .waves { height: 46%; }

  .panel { grid-template-columns: 1fr; }
  .sec-head--split { grid-template-columns: 1fr; gap: 14px; }
  .amen__grid { grid-template-columns: repeat(2, 1fr); }
  .loc__grid { grid-template-columns: 1fr; }
  .map__hint { display: block; }
  .foot__in { grid-template-columns: 1fr; }
  .rail__nav { display: none; }

  .fab {
    display: block; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(245, 248, 249, .92);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line);
    transform: translateY(110%); transition: transform 360ms var(--ease-drawer);
  }
  .fab.is-on { transform: none; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (max-width: 560px) {
  :root { --top-h: 60px; }
  .brand__word { height: 24px; }
  .hd--xl { font-size: clamp(2.3rem, 1.2rem + 6.4vw, 3rem); }
  .hero__sub { font-size: .98rem; margin-top: 12px; }
  .hero__facts li:nth-child(3) { display: none; }
  .figs__list { grid-template-columns: repeat(2, 1fr); padding-top: 40px; padding-bottom: 40px; }
  .figs__list li { padding: 6px 12px; }
  .figs__list li:nth-child(odd) { border-left: 0; }
  .figs__list li:nth-child(4) { border-left: 1px solid var(--line-2); }
  .figs__list li:nth-child(5) { grid-column: 1 / -1; }
  .seg { display: flex; }
  .seg__b { flex: 1 1 0; padding: 0 8px; letter-spacing: .14em; font-size: 10.5px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic figure:nth-child(4) { display: none; }
  .sent__act .btn { flex-basis: 100%; }
}
