/* ==========================================================================
   ORBIS by EIPL · Landing page styles (mobile-first)
   Layout: alternating full-bleed bands (navy for the big moments, beige/cream
   for the detail, as in the brochure) on a 1200px content grid.
   Type scale: golden ratio 15 / 24 / 39 / 63 / 102 (same as the ad creatives).
   ========================================================================== */

/* Licensed brand fonts: drop the files in assets/fonts/ and uncomment.
@font-face { font-family: "Chaparral Pro"; src: url("../fonts/ChaparralPro-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Chaparral Pro"; src: url("../fonts/ChaparralPro-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bariol"; src: url("../fonts/Bariol-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bariol"; src: url("../fonts/Bariol-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
*/

:root {
  /* Colour */
  --navy: #222558;
  --navy-deep: #191b45;
  --navy-soft: #2e3270;
  --beige: #d3c4ba;
  --cream: #ede5df;
  --paper: #f7f3ef;
  --ink: #222558;
  --ink-muted: #55536f;
  --on-navy: #ffffff;
  --on-navy-muted: #c9c3d6;
  --line-navy: rgba(211, 196, 186, .45);
  --line-ink: rgba(34, 37, 88, .22);
  --error: #b3261e;

  /* Type */
  --f-display: "Chaparral Pro", "Zilla Slab", Georgia, "Times New Roman", serif;
  --f-body: "Bariol", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-15: 15px;
  --t-24: 24px;
  --t-39: 39px;
  --t-63: 63px;
  --t-102: 102px;

  /* Space + motion */
  --gutter: 16px;
  --max: 1200px;
  --band: clamp(56px, 9vw, 120px);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --bar-h: 70px;

  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--navy);
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--beige); outline-offset: 3px; }
.band--beige :focus-visible, .band--cream :focus-visible, .band--paper :focus-visible, .ff-panel :focus-visible { outline-color: var(--navy); }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1280px) { :root { --gutter: 40px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: .005em; }
h1 { font-size: clamp(34px, 5.2vw, var(--t-63)); }
h2 { font-size: clamp(28px, 3.6vw, var(--t-39)); text-transform: uppercase; letter-spacing: .02em; }
h3 { font-size: var(--t-24); }
p { margin: 0; }

.eyebrow {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
@media (min-width: 768px) { .eyebrow { font-size: 13px; } }
.eyebrow--beige { color: var(--beige); }
.lede { font-family: var(--f-display); font-size: clamp(19px, 2.2vw, var(--t-24)); line-height: 1.38; }
.muted { color: var(--ink-muted); }
.band--navy .muted { color: var(--on-navy-muted); }

.section-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: clamp(28px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.rule { width: 1px; height: 48px; background: currentColor; opacity: .7; }

/* ---------- Bands ---------- */
.band { padding-block: var(--band); position: relative; }
.band--navy { background: var(--navy); color: var(--on-navy); }
.band--beige { background: var(--beige); color: var(--ink); }
.band--cream { background: var(--cream); color: var(--ink); }
.band--paper { background: var(--paper); color: var(--ink); }

/* Flower-of-life texture, taken from the ORBIS mark */
.texture::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 260px;
  right: 0;
  top: 24px;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='70' viewBox='0 0 80 70'%3E%3Cg fill='none' stroke='%23a8907f' stroke-width='.8'%3E%3Ccircle cx='40' cy='35' r='20'/%3E%3Ccircle cx='60' cy='35' r='20'/%3E%3Ccircle cx='20' cy='35' r='20'/%3E%3Ccircle cx='30' cy='17.68' r='20'/%3E%3Ccircle cx='50' cy='17.68' r='20'/%3E%3Ccircle cx='30' cy='52.32' r='20'/%3E%3Ccircle cx='50' cy='52.32' r='20'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(to left, #000 30%, transparent);
  mask-image: linear-gradient(to left, #000 30%, transparent);
}
.band--navy.texture::after { opacity: .18; }
@media (min-width: 768px) { .texture::after { width: 240px; height: 420px; top: 48px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .2s var(--ease), box-shadow .25s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); box-shadow: 0 10px 24px -14px rgba(34, 37, 88, .8); }
.band--navy .btn-primary, .hero .btn-primary, .cta-band .btn-primary { background: var(--beige); color: var(--navy); }
.band--navy .btn-primary:hover, .hero .btn-primary:hover, .cta-band .btn-primary:hover { background: #fff; }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.band--beige .btn-ghost:hover, .band--cream .btn-ghost:hover, .band--paper .btn-ghost:hover { background: rgba(34, 37, 88, .06); }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-link { border: 0; background: none; padding: 0; font: inherit; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  z-index: 50;
  color: #fff;
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-solid { background: var(--navy); box-shadow: 0 1px 0 var(--line-navy); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 60px; }
.logo-eipl { height: 28px; width: auto; }
.logo-orbis { height: 34px; width: auto; }
.site-nav { display: none; gap: 26px; margin-left: auto; }
.site-nav a { text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; position: relative; padding-block: 6px; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--beige); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after { transform: scaleX(1); }
.header-end { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.header-call { display: none; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: .04em; white-space: nowrap; }
.header-call svg { width: 16px; height: 16px; }
@media (min-width: 641px) { .site-header .wrap { height: 72px; } .logo-eipl { height: 36px; } .logo-orbis { height: 42px; } .header-call { display: inline-flex; } }
@media (min-width: 1081px) { .site-nav { display: flex; } .header-end { margin-left: 24px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--navy);
  isolation: isolate;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(25, 27, 69, .6) 0, transparent 120px),
    linear-gradient(180deg, transparent 30%, rgba(25, 27, 69, .72) 58%, rgba(25, 27, 69, .94) 100%);
}
.hero-inner { min-height: min(calc(100svh - var(--bar-h)), 780px); display: flex; align-items: flex-end; padding-top: 110px; padding-bottom: 36px; }
.hero-copy { display: grid; gap: 16px; min-width: 0; position: relative; }
.hero-copy .eyebrow { color: var(--beige); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; text-shadow: 0 1px 10px rgba(15, 16, 45, .55); }
.hero-copy .eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--beige); }
.hero h1, .hero-sub { text-shadow: 0 2px 18px rgba(15, 16, 45, .45); }
.hero-sub { font-size: 17px; color: #eeeaf3; max-width: 34em; }
.hero-ctas { display: grid; gap: 10px; margin-top: 6px; }
@media (min-width: 600px) {
  .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
  .hero-inner { min-height: 640px; padding-bottom: 56px; }
}
/* Desktop: image runs edge to edge, copy overlays it on the left */
@media (min-width: 961px) {
  .hero-media img { object-position: 60% 55%; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(25, 27, 69, .6) 0, transparent 160px),
      linear-gradient(90deg, rgba(25, 27, 69, .9) 0%, rgba(34, 37, 88, .7) 32%, rgba(34, 37, 88, .18) 58%, transparent 75%),
      linear-gradient(0deg, rgba(25, 27, 69, .55) 0%, transparent 30%);
  }
  .hero-inner { min-height: min(100vh, 860px); padding-top: 140px; padding-bottom: 88px; }
  .hero-copy { max-width: 600px; gap: 20px; }
  .hero h1 { font-size: clamp(44px, 4.2vw, 60px); }
  .hero-sub { font-size: 19px; }
}

.approvals {
  display: inline-grid;
  grid-template-columns: auto auto;
  justify-self: start;
  border: 1px solid rgba(255, 255, 255, .5);
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: .02em;
  color: #e7e2ee;
}
.approvals div { padding: 8px 12px; min-width: 0; overflow-wrap: anywhere; }
.approvals div + div { border-left: 1px solid rgba(255, 255, 255, .5); }
.approvals b { display: block; font-size: 10px; letter-spacing: .12em; color: #fff; }
@media (min-width: 600px) { .approvals { font-size: 12px; } .approvals b { font-size: 11px; } .approvals div { padding: 8px 14px; } }

/* USP quartet: the gold-line 2x2 frame from the approved Sleek ad (B8) */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 560px;
}
.usp { padding: 14px 12px; display: grid; gap: 2px; align-content: start; min-width: 0; }
.usp:nth-child(1), .usp:nth-child(2) { border-bottom: 1px solid var(--line-navy); }
.usp:nth-child(odd) { border-right: 1px solid var(--line-navy); padding-left: 0; }
.usp:nth-child(even) { padding-right: 0; padding-left: 16px; }
.usp span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--beige); }
.usp strong { font-family: var(--f-display); font-weight: 400; font-size: 21px; line-height: 1.15; }
@media (min-width: 420px) { .usp { padding: 18px 20px; } .usp span { font-size: 13px; letter-spacing: .14em; } .usp strong { font-size: clamp(22px, 2.4vw, 30px); } .usp:nth-child(even) { padding-left: 20px; } }

/* ---------- Lead form ---------- */
.form-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 30px 60px -30px rgba(10, 10, 40, .6);
  display: grid;
  gap: 18px;
  min-width: 0;
}
.form-card h2, .form-card h3 { text-transform: none; letter-spacing: 0; font-size: var(--t-24); }
.form-note { font-size: 14px; color: var(--ink-muted); }
.lead-form { display: grid; gap: 12px; }
.field { display: grid; gap: 5px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field legend { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); padding: 0; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line-ink);
  border-radius: var(--radius);
  background: #fff;
  font-size: 17px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(34, 37, 88, .14); }
.phone { display: flex; align-items: stretch; border: 1px solid var(--line-ink); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.phone:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(34, 37, 88, .14); }
.phone span { display: grid; place-items: center; padding: 0 12px; border-right: 1px solid var(--line-ink); font-weight: 700; background: var(--cream); }
.phone input { border: 0 !important; box-shadow: none !important; flex: 1; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; margin-bottom: 5px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips label span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-ink); border-radius: 999px; font-size: 15px; font-weight: 700; background: #fff; transition: background-color .2s, color .2s; }
.chips input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chips input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.field-error { font-size: 13px; color: var(--error); }
.field.is-invalid input, .field.is-invalid .phone { border-color: var(--error); }
.field.is-invalid { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.consent { font-size: 12px; line-height: 1.5; color: var(--ink-muted); }

/* ---------- Floating enquiry form ----------
   Mobile: a bottom bar that opens into a bottom sheet.
   Desktop: a docked card at bottom-right that minimises to a bar. */
.ff {
  position: fixed;
  z-index: 55;
  left: 0;
  right: 0;
  bottom: 0;
  transition: transform .4s var(--ease), opacity .4s;
}
.ff.is-away:not(.is-open) { transform: translateY(calc(100% + 40px)); opacity: 0; pointer-events: none; }
.ff-bar {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  background: var(--navy);
  border-top: 1px solid var(--line-navy);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  box-shadow: 0 -10px 30px -12px rgba(15, 16, 45, .5);
}
.ff-bar > a, .ff-bar > button {
  min-height: var(--bar-h);
  border: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 6px;
  color: #fff;
  background: transparent;
}
.ff-bar > * + * { border-left: 1px solid var(--line-navy); }
.ff-bar svg { width: 20px; height: 20px; flex: none; }
.ff-call svg, .ff-bro svg { color: var(--beige); }
.ff-main { background: var(--beige) !important; color: var(--navy) !important; border-left: 0 !important; }
.ff-main .ff-tag { display: none; }
.ff-main .ff-up { display: none; }
.ff-bar > *:active { filter: brightness(1.15); }
.ff.is-open .ff-bar { display: none; }

.ff-panel {
  display: none;
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -20px 50px -10px rgba(15, 16, 45, .45);
  max-height: 90dvh;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 0 max(20px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
}
.ff.is-open .ff-panel { display: grid; gap: 16px; animation: sheet-up .42s var(--ease) both; }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
.ff-head {
  position: sticky;
  top: 0;
  z-index: 1;
  margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px)));
  padding: 10px 20px 16px;
  background: var(--navy);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: start;
}
.ff-head::before { content: ""; grid-column: 1 / -1; justify-self: center; width: 40px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .35); margin-bottom: 6px; }
.ff-head h2 { font-size: 22px; text-transform: none; letter-spacing: 0; }
.ff-usps { grid-column: 1 / -1; font-size: 13px; color: var(--on-navy-muted); }
.ff-close { width: 44px; height: 44px; margin: -6px -10px 0 0; border: 0; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.ff-close:hover { background: rgba(255, 255, 255, .1); }
.ff-close svg { width: 22px; height: 22px; }

@media (min-width: 861px) {
  .ff { left: auto; right: max(24px, env(safe-area-inset-right, 0px)); bottom: max(24px, env(safe-area-inset-bottom, 0px)); width: 380px; }
  .ff.is-away:not(.is-open) { transform: translateY(140%); }
  .ff-bar { display: block; border: 0; padding: 0; background: none; }
  .ff-call, .ff-bro, .ff-main .ff-dl, .ff-main .ff-short { display: none !important; }
  .ff-main .ff-up { display: block; transition: transform .3s; }
  .ff-bar .ff-main {
    flex-direction: row;
    font-size: 14px;
    letter-spacing: .1em;
    width: 100%;
    justify-content: space-between;
    padding: 0 22px;
    border-radius: 6px;
    box-shadow: 0 18px 40px -16px rgba(15, 16, 45, .55);
    text-align: left;
    min-height: 66px;
  }
  .ff-main .ff-tag { display: grid; gap: 1px; }
  .ff-main .ff-tag small { font-size: 11px; letter-spacing: .16em; opacity: .75; }
  .ff-main .ff-tag b { font-family: var(--f-display); font-weight: 400; font-size: 20px; letter-spacing: 0; text-transform: none; }
  .ff-main:hover .ff-up { transform: translateY(-3px); }
  .ff-panel { border-radius: 6px; max-height: calc(100dvh - 110px); box-shadow: 0 30px 70px -20px rgba(15, 16, 45, .6); padding: 0 24px 22px; }
  .ff.is-open .ff-panel { animation: card-in .45s var(--ease) both; }
  @keyframes card-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
  .ff-head { margin-inline: -24px; padding: 18px 24px 16px; border-radius: 6px 6px 0 0; }
  .ff-head::before { display: none; }
  .ff .lead-form { gap: 10px; }
  .ff .field input[type="text"], .ff .field input[type="email"], .ff .phone input { min-height: 46px; }
  .ff .chips label span { min-height: 40px; }
}

/* ---------- Offer timeline ---------- */
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: clamp(32px, 5vw, 56px); }
.offer-price .big { font-family: var(--f-display); font-size: clamp(52px, 7vw, var(--t-102)); line-height: 1; }
.offer-price .lbl { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; max-width: 15em; line-height: 1.4; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 7px; width: 1px; background: var(--navy); opacity: .5; transform-origin: top; }
.timeline li { position: relative; padding-left: 40px; display: grid; gap: 6px; align-content: start; }
.timeline li::before { content: ""; position: absolute; top: 2px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 5px var(--beige); }
.timeline .when { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.timeline h3 { font-size: clamp(26px, 3vw, var(--t-39)); }
.timeline p { color: var(--ink-muted); max-width: 22em; }
.offer-cta { margin-top: clamp(32px, 5vw, 56px); display: grid; gap: 10px; }
@media (min-width: 600px) { .offer-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; } }
@media (min-width: 761px) {
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
  .timeline::before { top: 9px; bottom: auto; left: 0; right: 0; width: auto; height: 1px; transform-origin: left; }
  .timeline li { padding-top: 40px; padding-left: 0; padding-right: 28px; }
}

/* ---------- At a glance: counters ---------- */
.intro { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.intro-copy { display: grid; gap: 18px; }
.intro-copy p.muted { max-width: 34em; }
.counters {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 18px 8px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.counters::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 260px;
  height: 260px;
  z-index: -1;
  opacity: .12;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23d3c4ba' stroke-width='.6'%3E%3Ccircle cx='40' cy='40' r='14'/%3E%3Ccircle cx='54' cy='40' r='14'/%3E%3Ccircle cx='26' cy='40' r='14'/%3E%3Ccircle cx='33' cy='27.9' r='14'/%3E%3Ccircle cx='47' cy='27.9' r='14'/%3E%3Ccircle cx='33' cy='52.1' r='14'/%3E%3Ccircle cx='47' cy='52.1' r='14'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.counters-tag { display: flex; align-items: center; gap: 12px; color: var(--beige); margin-bottom: 6px; }
.counters-tag::after { content: ""; flex: 1; height: 1px; background: var(--line-navy); }
.counter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.counter { padding: 20px 10px 20px 14px; display: grid; gap: 6px; align-content: start; min-width: 0; border-bottom: 1px solid var(--line-navy); }
.counter:nth-child(1), .counter--wide { padding-left: 0; }
.counter:nth-child(1), .counter:nth-child(2) { border-right: 1px solid var(--line-navy); }
.counter--wide { grid-column: 1 / -1; border-bottom: 0; }
.counter .n { font-family: var(--f-display); font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.counter .u { display: block; font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--beige); margin-top: 8px; }
.counter .l { font-size: 14px; color: var(--on-navy-muted); line-height: 1.35; }
.signoff { margin-top: clamp(36px, 6vw, 72px); font-family: var(--f-display); font-size: clamp(20px, 2.2vw, var(--t-24)); }
@media (min-width: 420px) { .counter .n { font-size: 40px; } }
.counter--wide .n { font-size: 40px; }
@media (min-width: 861px) {
  .intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
  .counters { padding: 34px 36px 14px; }
  .counter { padding: 26px 16px 26px 22px; }
  .counter:nth-child(1), .counter--wide { padding-left: 0; }
  .counter .n { font-size: clamp(42px, 3.8vw, 56px); }
  .counter--wide .n { font-size: clamp(48px, 4.6vw, var(--t-63)); }
}

/* ---------- Gallery ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 20px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-navy);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  color: inherit;
  transition: background-color .25s, color .25s, border-color .25s;
}
.tab[aria-selected="true"] { background: var(--beige); color: var(--navy); border-color: var(--beige); }
.band--cream .tab, .band--paper .tab { border-color: var(--line-ink); }
.band--cream .tab[aria-selected="true"], .band--paper .tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
@media (min-width: 768px) { .tabs { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; } }

.gallery-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; }
.gallery-head .section-head { margin-bottom: 0; }
.gallery-nav { display: none; gap: 8px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-navy); background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .1); }
.icon-btn svg { width: 20px; height: 20px; }
@media (min-width: 768px) { .gallery-nav { display: flex; } }
.track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-top: 8px;
  margin-inline: calc(-1 * var(--gutter));
  padding-inline: var(--gutter);
  scroll-padding-inline: var(--gutter);
}
.track::-webkit-scrollbar { display: none; }
.track figure { margin: 0; scroll-snap-align: start; position: relative; }
.track .ph { overflow: hidden; border-radius: var(--radius); background: var(--navy-soft); }
.track img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--ease); }
.track figure:hover img { transform: scale(1.04); }
.track figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 14px; color: var(--on-navy-muted); }
.track figcaption span + span { display: none; }
.g-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-navy-muted); }
.g-dots { display: flex; gap: 6px; }
.g-dots i { width: 6px; height: 6px; border-radius: 6px; background: var(--line-navy); transition: width .3s var(--ease), background-color .3s; }
.g-dots i.on { width: 22px; background: var(--beige); }
@media (min-width: 768px) {
  .track { grid-auto-columns: min(78%, 880px); gap: 16px; margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .track img { aspect-ratio: 16 / 9; }
  .track figcaption span + span { display: inline; }
}

/* ---------- Clubhouse ---------- */
.club-top { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; margin-bottom: clamp(40px, 7vw, 88px); }
.club-top .big { font-family: var(--f-display); font-size: clamp(56px, 8vw, var(--t-102)); line-height: .95; }
.club-top .big small { display: block; font-size: 22px; letter-spacing: .06em; margin-top: 10px; }
.club-top .copy { display: grid; gap: 16px; }
.club-top .ph { overflow: hidden; border-radius: var(--radius); }
.club-top img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.am-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }
.am-head h3 { font-size: clamp(24px, 3vw, var(--t-39)); text-transform: uppercase; letter-spacing: .02em; }
.am-count { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.band--beige .tab { border-color: rgba(34, 37, 88, .3); }
.band--beige .tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.am-panel { display: grid; grid-template-columns: 1fr; gap: 18px; animation: fade .45s both; }
.am-photo { position: relative; overflow: hidden; border-radius: var(--radius); margin: 0; }
.am-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
.am-panel:hover .am-photo img { transform: scale(1.03); }
.am-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: #fff; background: linear-gradient(180deg, transparent, rgba(25, 27, 69, .85)); font-family: var(--f-display); font-size: 20px; line-height: 1.3; }
.am-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
.am-tile { background: var(--paper); border-radius: var(--radius); padding: 16px 14px; display: grid; gap: 10px; align-content: start; min-height: 108px; transition: transform .3s var(--ease), box-shadow .3s; }
.am-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
.am-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -18px rgba(34, 37, 88, .6); }
.am-tile svg { width: 30px; height: 30px; color: var(--navy); }
.am-tile span { font-family: var(--f-display); font-size: 17px; line-height: 1.25; }
.js .am-panel .am-tile { animation: rise .55s var(--ease) both; animation-delay: calc(var(--t, 0) * 70ms + 120ms); }
@media (min-width: 961px) {
  .club-top { grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 72px); }
  .club-top .big small { font-size: var(--t-24); }
  .am-panel { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
  .am-photo { height: 100%; }
  .am-photo img { height: 100%; aspect-ratio: auto; min-height: 420px; }
  .am-tiles { grid-auto-rows: 1fr; align-content: stretch; }
  .am-tile { padding: 20px 18px; min-height: 124px; }
  .am-tile svg { width: 34px; height: 34px; }
  .am-tile span { font-size: 19px; }
}

/* ---------- Floor plans ---------- */
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.plans > *, .intro > *, .final > *, .cta-inner > *, .faq-grid > *, .club-top > * { min-width: 0; }
.plans-copy { display: grid; gap: 18px; }
.plans-copy .size { font-family: var(--f-display); font-size: clamp(40px, 5vw, var(--t-63)); line-height: 1; }
.plans-copy .size small { display: block; font-size: 13px; font-family: var(--f-body); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-top: 10px; color: var(--ink-muted); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks li::before { content: ""; width: 9px; height: 9px; flex: none; border: 1px solid currentColor; transform: rotate(45deg) translateY(-1px); }
.plan-stage { position: relative; background: #fff; border: 1px solid var(--line-ink); border-radius: var(--radius); overflow: hidden; }
.plan-panel { display: grid; place-items: center; padding: 12px; animation: fade .4s both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.plan-panel img { max-height: 520px; width: auto; margin-inline: auto; }
.plan-panel--site img { max-height: none; width: 100%; }
.plan-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
  background: rgba(247, 243, 239, .55);
}
.plan-lock p { font-family: var(--f-display); font-size: 22px; max-width: 14em; }
.plan-lock svg { width: 32px; height: 32px; }
.plan-caption { font-size: 13px; color: var(--ink-muted); margin-top: 10px; }
@media (min-width: 901px) { .plans { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); } .plan-panel { padding: 16px; } .plan-panel img { max-height: 640px; } }

/* ---------- Location ---------- */
.reach { margin-top: clamp(16px, 4vw, 48px); }
.reach-arcs { display: none; width: 100%; height: auto; color: var(--beige); overflow: visible; }
.reach-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; position: relative; }
.reach-list::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 30px; width: 1px; background: var(--line-navy); }
.reach-list li { display: grid; gap: 4px; padding: 0 0 26px 36px; position: relative; }
.reach-list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--beige); }
.reach-list b { font-family: var(--f-display); font-weight: 400; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.25; }
.reach-list span { font-size: 14px; color: var(--on-navy-muted); }
.reach-list .origin b { color: var(--beige); }
.location-cta { margin-top: clamp(28px, 6vw, 64px); display: grid; gap: 10px; }
@media (min-width: 600px) { .location-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; } }
@media (min-width: 721px) {
  .reach-arcs { display: block; }
  .reach-list { grid-template-columns: repeat(5, minmax(0, 1fr)); text-align: center; margin-top: 16px; }
  .reach-list::before, .reach-list li::before { display: none; }
  .reach-list li { padding: 0 6px; }
  .reach-list b { font-size: 17px; }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(25, 27, 69, .86); z-index: -1; }
.cta-inner { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.cta-inner .lines { display: grid; gap: 16px; }
.cta-inner .roar { font-family: var(--f-display); font-size: 22px; color: var(--beige); letter-spacing: .06em; text-transform: uppercase; }
.cta-actions { display: grid; gap: 10px; margin-top: 8px; }
@media (min-width: 600px) { .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; } }
@media (min-width: 861px) { .cta-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); } }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-ink); border-bottom: 1px solid var(--line-ink); }
.trust > div { padding: 22px 0; display: grid; gap: 6px; align-content: start; min-width: 0; }
.trust > div + div { border-top: 1px solid var(--line-ink); }
.trust .k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.trust .v { font-family: var(--f-display); font-size: 22px; line-height: 1.2; overflow-wrap: anywhere; }
.trust a { font-size: 14px; }
@media (min-width: 600px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust > div { padding: 26px 22px 26px 0; }
  .trust > div + div { border-top: 0; }
  .trust > div:nth-child(even) { padding-left: 22px; border-left: 1px solid var(--line-ink); }
  .trust > div:nth-child(n+3) { border-top: 1px solid var(--line-ink); }
}
@media (min-width: 961px) {
  .trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust > div:nth-child(n+2) { padding-left: 24px; border-left: 1px solid var(--line-ink); }
  .trust > div:nth-child(n+3) { border-top: 0; }
  .trust .v { font-size: var(--t-24); }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 8px; align-items: start; }
.faq { border-top: 1px solid var(--line-ink); }
.faq details { border-bottom: 1px solid var(--line-ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-family: var(--f-display); font-size: 19px; line-height: 1.3; min-height: 64px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 28px; height: 28px; flex: none; border: 1px solid var(--line-ink); border-radius: 50%; transition: background-color .3s, border-color .3s, transform .35s var(--ease); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm { background: var(--navy); border-color: var(--navy); color: #fff; transform: rotate(180deg); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 44px 22px 0; color: var(--ink-muted); max-width: 40em; }
@media (min-width: 861px) { .faq-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); } .faq summary { font-size: 21px; } }

/* ---------- Final form ---------- */
.final { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.final .copy { display: grid; gap: 16px; }
@media (min-width: 901px) { .final { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(32px, 6vw, 96px); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); padding-block: 48px 36px; font-size: 14px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-logos { display: flex; align-items: center; gap: 28px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px 32px; color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .03em; }
.footer-contact a { text-decoration: none; }
.footer-legal { padding-top: 24px; display: grid; gap: 14px; }
.footer-legal .reg { text-align: left; color: #fff; display: grid; gap: 2px; font-size: 13px; letter-spacing: .02em; overflow-wrap: anywhere; }
.footer-legal .disclaimer { font-size: 12px; line-height: 1.6; max-width: 70em; }
.footer-legal .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; }
@media (min-width: 641px) { .footer-legal .reg { text-align: right; font-size: 14px; } }
@media (max-width: 860px) { body.has-ff { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); } }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.1); } to { transform: scale(1); } }
.js .hero-copy > * { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 150ms); }
.js .hero-media img { animation: settle 2.6s var(--ease) both; }
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 100ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .timeline::before { transform: scaleY(0); transition: transform 1.2s var(--ease) .2s; }
.js .timeline.in::before { transform: none; }
.js .timeline li::before { transform: scale(0); transition: transform .5s var(--ease); transition-delay: calc(var(--d, 0) * 260ms + 300ms); }
.js .timeline.in li::before { transform: none; }
@media (min-width: 761px) { .js .timeline::before { transform: scaleX(0); } .js .timeline.in::before { transform: none; } }
.js .reach-arcs .arc { stroke-dasharray: 1500; stroke-dashoffset: 1500; transition: stroke-dashoffset 1.8s var(--ease); }
.js .reach-arcs .arc:nth-child(2) { transition-delay: .15s; }
.js .reach-arcs .arc:nth-child(3) { transition-delay: .3s; }
.js .reach-arcs .arc:nth-child(4) { transition-delay: .45s; }
.js .reach.in .arc { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .timeline::before, .js .timeline li::before { transform: none; }
  .js .reach-arcs .arc { stroke-dashoffset: 0; }
}

/* ---------- Thank-you page ---------- */
.ty-hero { padding-top: 120px; padding-bottom: var(--band); overflow: hidden; }
.ty-hero .wrap { display: grid; gap: 20px; max-width: 920px; }
.ty-mark { width: 64px; height: 64px; color: var(--beige); }
.ty-hero h1 { font-size: clamp(32px, 5vw, var(--t-63)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; counter-reset: s; border-top: 1px solid var(--line-ink); }
.steps li { counter-increment: s; padding: 24px 0; display: grid; gap: 8px; align-content: start; }
.steps li + li { border-top: 1px solid var(--line-ink); }
.steps li::before { content: "0" counter(s); font-family: var(--f-display); font-size: var(--t-39); line-height: 1; }
.steps h3 { font-size: 21px; }
.steps p { color: var(--ink-muted); }
@media (min-width: 761px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } .steps li { padding: 28px 28px 28px 0; } .steps li + li { padding-left: 28px; border-top: 0; border-left: 1px solid var(--line-ink); } }
.actions-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.action-card { background: var(--paper); border: 1px solid var(--line-ink); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.action-card svg.ic { width: 34px; height: 34px; color: var(--navy); }
.action-card h3 { font-size: var(--t-24); }
.action-card p { color: var(--ink-muted); font-size: 16px; }
.action-card .btn { margin-top: auto; }
.visit-form { display: grid; gap: 12px; }
.visit-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 901px) { .actions-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.plan-links a { display: grid; gap: 10px; text-decoration: none; }
.plan-links img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: var(--radius); border: 1px solid var(--line-ink); background: #fff; }
.plan-links span { font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
@media (min-width: 761px) { .plan-links { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

/* ---------- Google Maps popup ---------- */
.map-modal {
  border: 0;
  padding: 0;
  width: min(980px, calc(100vw - 24px));
  height: min(680px, calc(100dvh - 32px));
  max-width: none;
  max-height: none;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 40px 80px -20px rgba(10, 10, 35, .7);
}
.map-modal[open] { display: flex; flex-direction: column; animation: card-in .4s var(--ease) both; }
.map-modal::backdrop { background: rgba(15, 16, 45, .75); }
.map-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 12px 14px 20px; }
.map-head h2 { font-size: 20px; text-transform: none; letter-spacing: 0; }
.map-close { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.map-close:hover { background: rgba(255, 255, 255, .1); }
.map-close svg { width: 22px; height: 22px; }
.map-modal iframe { flex: 1; width: 100%; border: 0; display: block; background: var(--cream); }
@keyframes card-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Mobile floater: rounded pill inset from the screen edges ---------- */
@media (max-width: 860px) {
  :root { --bar-h: 92px; }
  .ff-bar > a, .ff-bar > button { white-space: normal; }
  .ff-bar span { text-wrap: balance; }
  .ff {
    left: max(12px, env(safe-area-inset-left, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    animation: pill-in .6s var(--ease) .8s both;
  }
  @keyframes pill-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  .ff.is-open { left: 0; right: 0; bottom: 0; }
  .ff-bar {
    grid-template-columns: .8fr 1.5fr 1fr;
    gap: 2px;
    padding: 6px;
    border: 0;
    border-radius: 16px;
    background: var(--navy);
    box-shadow: 0 16px 34px -12px rgba(15, 16, 45, .6), 0 0 0 1px rgba(211, 196, 186, .18);
  }
  .ff-bar > a, .ff-bar > button {
    min-height: 62px;
    padding: 8px 6px;
    gap: 6px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
    color: #fff;
    transition: background-color .2s;
  }
  .ff-bar > * + * { border-left: 0; }
  .ff-bar .ff-main { background: transparent !important; color: #fff !important; }
  .ff-bar > a:active, .ff-bar > button:active { background: rgba(255, 255, 255, .1); filter: none; }
  .ff-bar svg { width: 22px; height: 22px; color: #fff !important; }
  body.has-ff { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 360px) { .ff-bar > a, .ff-bar > button { font-size: 12px; } }

/* ---------- Thank-you: construction update video ---------- */
.cu { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.cu > * { min-width: 0; }
.cu-copy { display: grid; gap: 12px; }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--navy-deep); box-shadow: 0 30px 60px -30px rgba(5, 5, 25, .8); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: none; display: grid; place-items: center; }
.yt-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.yt-play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25, 27, 69, .1), rgba(25, 27, 69, .45)); }
.yt-icon { position: relative; z-index: 1; width: 76px; transition: transform .3s var(--ease); }
.yt-icon svg { display: block; width: 100%; height: auto; }
.yt-label { position: absolute; z-index: 1; left: 16px; bottom: 14px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.yt-play:hover img { transform: scale(1.03); }
.yt-play:hover .yt-icon, .yt-play:focus-visible .yt-icon { transform: scale(1.08); }
@media (min-width: 861px) { .cu { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); } }
