@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap");

/* Villa Miami residences brand — cream + orange editorial (visual skin only) */
:root {
  --ink: #000000;
  --ink-soft: #1a1a1a;
  --ink-muted: #3d3830;
  --bone: #FBF4E6;
  --bone-warm: #F8F4E4;
  --paper: #FBF4E6;
  --line: #00000024;
  --line-soft: #d8cbb8;
  --bronze: #FF7E22;
  --bronze-light: #FF8F3D;
  --bronze-pale: #FFD4B3;
  --nav-underline: #FF7400;
  --white: #fff;
  --champagne: #FF7E22;
  --fg: var(--ink-muted);
  --fg-muted: var(--ink-muted);
  --bg: var(--bone);
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-sans: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", Times, serif;
  --step--1: clamp(0.78rem, 0.74rem + 0.18vw, 0.875rem);
  --step-0: clamp(0.95rem, 0.9rem + 0.22vw, 1.05rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.25rem + 1.1vw, 2.1rem);
  --step-3: clamp(1.9rem, 1.45rem + 2.1vw, 3.1rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem);
  --step-5: clamp(2.9rem, 1.7rem + 5.4vw, 6.2rem);
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(2.25rem, 4.5vw, 3.75rem);
  --maxw: 1400px;
  --measure: 68ch;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}
html, body { margin: 0; padding: 0; }
html.is-modal-open,
html.is-modal-open body {
  overflow: hidden;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 0.6em;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
address { font-style: normal; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--bone);
  padding: 0.75rem 1rem;
  z-index: 2000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap, .wrap-narrow {
  width: 100%;
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.wrap { max-width: var(--maxw); }
.wrap-narrow { max-width: 900px; }

.section { padding-block: var(--section-y); }
.section-tight { padding-block: var(--section-y); }
/* Consecutive cream sections share one band — do not stack two paddings */
.section:not(.section-dark) + .section:not(.section-dark) {
  padding-top: 0;
}
.section-dark { background: var(--ink); }
.section-dark, .section-dark h1, .section-dark h2, .section-dark h3 { color: var(--bone); }
.section-dark .eyebrow { color: var(--bronze-light); }
.section-dark .lede, .section-dark .muted { color: rgba(245, 237, 224, 0.72); }
.section-paper { background: var(--paper); }
.section-cream { background: var(--bone-warm); }

.eyebrow {
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 1.1rem;
  font-weight: 600;
  display: block;
}
.lede {
  font-family: var(--font-serif);
  font-size: var(--step-1);
  max-width: var(--measure);
  font-weight: 400;
  line-height: 1.55;
}
.lede, .muted { color: var(--fg-muted); }
.measure { max-width: var(--measure); }

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bone);
  --btn-bd: var(--ink);
  -webkit-appearance: none;
  appearance: none;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  font-family: var(--font-sans);
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  text-align: center;
  border-radius: 0;
  justify-content: center;
  align-items: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 1.05em 2.1em;
  font-weight: 600;
  display: inline-flex;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.btn:hover { --btn-bg: var(--bronze); --btn-bd: var(--bronze); --btn-fg: #fff; }
.btn-gold { --btn-bg: var(--bronze); --btn-fg: #fff; --btn-bd: var(--bronze); }
.btn-gold:hover { --btn-bg: var(--bronze-light); --btn-fg: #fff; --btn-bd: var(--bronze-light); }
.btn-gold-outline,
.btn-light,
.btn-ghost {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}
.btn-gold-outline {
  --btn-bg: transparent;
  --btn-fg: #f6f3ee;
  --btn-bd: #000;
  text-shadow: 0 1px 12px rgba(23, 18, 13, 0.55);
}
.btn-gold-outline:hover { --btn-bg: #000; --btn-fg: #fff; --btn-bd: #000; }
.btn-light { --btn-bg: transparent; --btn-fg: var(--bone); --btn-bd: #000; }
.btn-light:hover { --btn-bg: var(--bone); --btn-fg: var(--ink); --btn-bd: #000; }
.btn-solid-light { --btn-bg: var(--bone); --btn-fg: var(--ink); --btn-bd: var(--bone); }
.btn-solid-light:hover { --btn-bg: var(--bronze); --btn-fg: #fff; --btn-bd: var(--bronze); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: #000; }
.btn-ghost:hover { --btn-bg: #000; --btn-fg: var(--bone); --btn-bd: #000; }
.btn-block { width: 100%; }
.btn-row { flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; display: flex; }

/* Header */
.site-header {
  z-index: 100;
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw);
  padding-inline: var(--gutter);
  height: var(--header-h);
  justify-content: space-between;
  gap: 1.5rem;
  margin-inline: auto;
  align-items: center;
  display: flex;
}
.brand { flex-shrink: 1; min-width: 0; max-width: min(268px, calc(100vw - 8.5rem)); line-height: 0; }
.brand-lockup { display: block; height: 34px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.site-header:not(.is-solid) .brand-lockup-on-dark { filter: drop-shadow(0 1px 10px rgba(8, 12, 17, 0.45)); }
.site-header .brand-lockup-on-dark { display: block; }
.site-header .brand-lockup-on-light { display: none; }
.site-header.is-solid .brand-lockup-on-dark { display: none; }
.site-header.is-solid .brand-lockup-on-light { display: block; }

.nav-desktop { align-items: center; gap: clamp(0.75rem, 1.6vw, 1.7rem); display: flex; }
.nav-desktop a {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  padding-block: 0.4rem;
  font-size: 0.72rem;
  color: var(--bone);
}
.site-header.is-solid .nav-desktop a { color: var(--ink); }
.nav-desktop a.is-current, .nav-desktop a:hover { border-bottom-color: var(--nav-underline); }
.header-actions { flex-shrink: 0; align-items: center; gap: 1rem; display: flex; }
.header-phone {
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: 0.04em;
  white-space: nowrap;
  font-size: 0.9rem;
  color: var(--bone);
}
.site-header.is-solid .header-phone { color: var(--ink); }
.header-cta { min-height: 44px; padding: 0.8em 1.5em; }

.burger {
  display: none;
  cursor: pointer;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  position: relative;
}
.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--bone);
  margin: 5px auto;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.site-header.is-solid .burger span { background: var(--ink); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--paper);
  padding: 2rem var(--gutter);
  z-index: 99;
  flex-direction: column;
  gap: 1.1rem;
}
.site-header.is-open { z-index: 1000; }
.site-header.is-open .nav-mobile { display: flex; }
body:has(.site-header.is-open) .fab-stack,
body:has(.site-header.is-open) .sticky-bar,
body:has(.site-header.is-open) .chatbox,
body:has(.modal:not([hidden])) .fab-stack,
body:has(.modal:not([hidden])) .sticky-bar,
body:has(.modal:not([hidden])) .chatbox,
body.lb-open .fab-stack,
body.lb-open .sticky-bar,
body.lb-open .chatbox {
  visibility: hidden;
  pointer-events: none;
}
.nav-mobile a {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--step-2);
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 0.75rem;
}

@media (max-width: 980px) {
  .nav-desktop, .header-phone { display: none; }
  .burger { display: block; }
  .header-cta { display: none; }
}

/* Hero slideshow — full-bleed 100dvh cover, no letterbox.
   Copy/CTA stack matches Six Fisher: flex spacer pushes the block down. */
.hero {
  position: relative;
  height: 100svh;
  height: 100dvh;
  min-height: 100svh;
  min-height: 100dvh;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  color: #fff;
}
.hero-media, .hero-slide, .hero-slides { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide .media, .hero-slides .media {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Slide 1 helipad: keep the pad + helicopter in frame under cover. */
.hero-slide.is-helipad .media {
  background-position: 50% 58%;
}
/* Slide 2: 16:9 ExteriorHero2 plate already contains the full tower. */
.hero-slide.is-tower .media {
  background-position: center center;
}
.hero-overlay {
  pointer-events: none;
  background:
    linear-gradient(90deg, #080c11c7, #080c1180 32%, #080c1100 72%),
    linear-gradient(#080c1199, #080c1133 40%, #080c11d9);
  position: absolute;
  inset: 0;
  z-index: 1;
}
@media (max-width: 780px) {
  .hero-slide.is-helipad .media {
    background-position: 50% 42%;
  }
  .hero-slide.is-tower .media {
    background-image: url('/public/images/hero/villa-exterior-hero2.jpg') !important;
    background-position: 50% 32%;
  }
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
  padding-top: calc(var(--header-h) + 2rem);
  padding-inline: var(--gutter);
  margin-inline: auto;
}
.hero > .hero-inner {
  z-index: 3;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  min-height: 0;
  width: 100%;
  height: 100%;
  padding-top: calc(var(--header-h) + 1.1rem);
  padding-bottom: 4.75rem;
}
.hero > .hero-inner::before {
  content: "";
  flex: 1 1 auto;
  min-height: 0;
}
.hero h1, .hero-title {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 8.2vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 22ch;
  margin: 0 0 1.05rem;
  flex-shrink: 0;
  text-shadow: 0 2px 34px rgba(23, 18, 13, 0.65), 0 1px 4px rgba(23, 18, 13, 0.4);
}
.hero .eyebrow, .hero-eyebrow { color: var(--bronze-light); }
.hero .lede, .hero-sub { color: rgba(255, 255, 255, 0.96); }
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
  font-weight: 600;
  display: block;
  flex-shrink: 0;
  text-shadow: 0 1px 20px rgba(23, 18, 13, 0.9), 0 1px 3px rgba(23, 18, 13, 0.7);
}
.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(0.94rem, 1.6vw, 1.1rem);
  max-width: 56ch;
  margin: 0 0 1.6rem;
  font-weight: 400;
  line-height: 1.75;
  flex-shrink: 0;
  text-shadow: 0 1px 18px rgba(23, 18, 13, 0.85), 0 1px 3px rgba(23, 18, 13, 0.5);
}
.hero-sub-short { display: none; }

.hero-ctas, .hero-facts { flex-shrink: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-ctas .btn { flex: 0 1 auto; white-space: nowrap; }
.hero-ctas .btn { animation: heroCtaIlluminate 2.8s ease-in-out infinite; }
.hero-ctas .btn:nth-child(2) { animation-delay: 0.45s; }
.hero-ctas .btn:nth-child(3) { animation-delay: 0.9s; }
.hero-ctas .btn:focus-visible, .hero-ctas .btn:hover {
  animation: none;
  box-shadow: 0 0 16px 1px rgba(245, 237, 224, 0.42);
}
@keyframes heroCtaIlluminate {
  0%, to { box-shadow: 0 0 0 0 rgba(245, 237, 224, 0); }
  50% { box-shadow: 0 0 20px 3px rgba(245, 237, 224, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.2); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-ctas .btn { animation: none; }
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.85rem;
  margin: 1.45rem 0 0;
  padding: 1.05rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  list-style: none;
  max-width: 58rem;
}
.hero-facts li {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 14px rgba(23, 18, 13, 0.85);
}
.hero-facts li + li::before { content: "·"; margin-right: 0.85rem; opacity: 0.7; }

.hero-dots {
  position: absolute;
  bottom: clamp(1.6rem, 3vw, 2.6rem);
  left: var(--gutter);
  z-index: 4;
  display: flex;
  gap: 0.55rem;
}
.hero-dot {
  width: 26px;
  height: 2px;
  background: rgba(245, 237, 224, 0.28);
  cursor: pointer;
  transition: background 0.4s;
  border: none;
  padding: 0;
}
.hero-dot.is-active { background: var(--bronze); }
.hero-slide-label {
  position: absolute;
  bottom: clamp(1.5rem, 3vw, 2.5rem);
  right: var(--gutter);
  z-index: 4;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 14px rgba(23, 18, 13, 0.8);
  max-width: 40%;
  text-align: right;
}

.page-hero {
  min-height: clamp(46vh, 58vh, 640px);
  padding-top: var(--header-h);
  color: var(--bone);
  align-items: flex-end;
  display: flex;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-media { position: absolute; inset: 0; }
.page-hero .hero-media .media {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: "";
  background: linear-gradient(90deg, #080c11c7, #080c1180 32%, #080c1100 72%),
    linear-gradient(#080c1199, #080c1133 40%, #080c11d9);
  position: absolute;
  inset: 0;
  z-index: 1;
}
.page-hero .hero-inner { position: relative; z-index: 2; padding-bottom: clamp(2.5rem, 6vh, 4rem); }
.page-hero h1, .page-hero .lede { color: var(--bone); }
.page-hero .eyebrow { color: var(--bronze-light); }

/* Cards / grids */
.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.residences-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
@media (min-width: 1100px) {
  .residences-grid.is-featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1099px) and (min-width: 700px) {
  .residences-grid.is-featured { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .residences-grid { grid-template-columns: 1fr; }
}
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; direction: ltr; }
}

.media-frame { overflow: hidden; background: var(--ink); }
.media-frame img, .media-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.res-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.res-card:hover {
  border-color: var(--line);
  transform: translateY(-6px);
  box-shadow: 0 26px 60px #17120d24;
}
.res-media { background: var(--ink); position: relative; overflow: hidden; }
.res-media .media { aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.res-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform 1.1s var(--ease); }
.res-card:hover .res-media img, .res-card:hover .res-media .media { transform: scale(1.05); }
.res-body { padding: 1.4rem 1.35rem 1.55rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.res-kicker { font-family: var(--font-display); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); }
.res-card h3 { font-size: var(--step-1); margin: 0; }
.res-meta { font-size: var(--step--1); color: var(--ink-muted); letter-spacing: 0.04em; }
.res-price { margin-top: auto; padding-top: 0.85rem; font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze); }

.amenity-card { position: relative; overflow: hidden; min-height: 280px; color: var(--bone); }
.amenity-card .media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.amenity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, #080c11d4);
}
.amenity-card .copy { position: relative; z-index: 1; padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; }
.amenity-card h3 { color: var(--bone); margin: 0 0 0.25rem; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  margin-top: 2.5rem;
}
@media (max-width: 800px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat dt { font-family: var(--font-display); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); margin-bottom: 0.4rem; }
.stat dd { margin: 0; font-family: var(--font-display); font-size: var(--step-2); }

.team-card { text-align: left; }
.team-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; margin-bottom: 1rem; background: var(--bone); }
.team-card h3 { margin-bottom: 0.2rem; }
/* Mobile/tablet: 4:5 cover crops the Terra / One Thousand Group trio. */
@media (max-width: 980px) {
  .team-card-trio img {
    aspect-ratio: 403 / 375;
    height: auto;
    object-fit: contain;
    object-position: center;
    background: var(--bone);
  }
}
.team-role { font-family: var(--font-display); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.gallery-grid a, .gallery-grid figure { margin: 0; overflow: hidden; background: var(--ink); }
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.8s var(--ease);
}
.gallery-grid a:hover img { transform: scale(1.04); }
.gallery-grid a { cursor: zoom-in; }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Cream gallery lightbox — Delano-passed / Dario locked pattern */
.lb {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: var(--bone);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 3.5rem 1.25rem 1.1rem;
}
.lb[hidden] { display: none; }
.lb.is-closed {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.lb-close {
  position: absolute;
  top: 1.15rem;
  right: 1.6rem;
  z-index: 2;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  min-height: 44px;
  padding: 0.35rem 0.2rem;
}
.lb-close:hover { color: var(--bronze); }
.lb-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.75rem, 2.4vw, 2.4rem);
  width: min(1180px, 100%);
  margin: 0 auto;
  flex: 1 1 auto;
  min-height: 0;
}
.lb-figure {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: min(42vh, 280px);
}
.lb-image {
  display: block;
  width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 180px;
  max-width: 100%;
  max-height: min(64vh, 720px);
  object-fit: contain;
  border-radius: 22px;
  background: transparent;
}
.lb-nav {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}
.lb-nav:hover,
.lb-nav:focus-visible {
  border-color: var(--bronze);
  color: var(--bronze);
  outline: none;
}
.lb-nav svg { display: block; }
.lb-captions {
  width: min(1180px, 100%);
  margin: 1.05rem auto 0.85rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1rem;
  padding-inline: 4.5rem;
  min-height: 2.4rem;
}
.lb-kicker,
.lb-title {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
}
.lb-kicker {
  justify-self: start;
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.45;
}
.lb-kicker span { display: block; }
.lb-title {
  justify-self: center;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
}
.lb-captions::after { content: ""; }
.lb-strip {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.15rem 1.25rem 0.35rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.lb-strip::-webkit-scrollbar { display: none; }
.lb-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 48px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}
.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lb-thumb.is-active {
  border-color: var(--bronze);
  box-shadow: 0 0 0 1px var(--bronze);
}
.lb-thumb:hover { border-color: var(--ink); }

@media (max-width: 780px) {
  .lb { padding: 3.6rem 0.7rem 0.85rem; }
  .lb-close {
    top: 0.65rem;
    right: 0.85rem;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
  }
  .lb-stage {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "img img"
      "prev next";
    gap: 0.85rem 1.25rem;
    width: 100%;
  }
  .lb-figure { grid-area: img; }
  .lb-prev { grid-area: prev; justify-self: start; }
  .lb-next { grid-area: next; justify-self: end; }
  .lb-image {
    width: 100%;
    height: auto;
    min-width: 160px;
    min-height: 140px;
    max-height: min(56vh, 520px);
    border-radius: 16px;
  }
  .lb-nav { width: 48px; height: 48px; }
  .lb-captions {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding-inline: 0.5rem;
    margin-top: 0.55rem;
    gap: 0.35rem;
  }
  .lb-captions::after { display: none; }
  .lb-kicker,
  .lb-title { justify-self: center; }
  .lb-strip { justify-content: flex-start; padding-inline: 0.35rem; }
  .lb-thumb { width: 58px; height: 40px; }
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
th, td { text-align: left; padding: 0.95rem 1.1rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
th {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  background: var(--bone-warm);
}
tr:last-child td { border-bottom: 0; }

.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--step-1);
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  line-height: 1.3;
  list-style: none;
  display: flex;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { color: var(--bronze); transition: transform 0.35s var(--ease); flex-shrink: 0; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-answer { max-width: var(--measure); color: var(--fg-muted); padding-bottom: 1.5rem; }

.map-frame {
  min-height: 420px;
  background: var(--bone-warm);
  border: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}
.map-pin {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--ink);
}

.legal-copy p { font-size: var(--step--1); color: var(--ink-muted); }
.legal-copy h2 { font-size: var(--step-2); margin-top: 2rem; }

/* Cream / orange forms */
.enquire-panel, .form-card {
  background: var(--bone);
  border: 1px solid var(--line);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.lead-brand { display: flex; justify-content: flex-start; margin: 0 0 0.85rem; }
.lead-brand img { display: block; height: 28px; width: auto; max-width: min(240px, 100%); object-fit: contain; object-position: left center; }
.lead-form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.chips legend, .lead-form label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  text-transform: uppercase;
  color: var(--bronze);
  letter-spacing: 0.12em;
}
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form input[type="text"],
.lead-form select,
.lead-form textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  width: 100%;
  font-size: var(--step-0);
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  border-radius: 0;
}
.lead-form textarea { min-height: 110px; resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 1px solid var(--bronze);
  border-color: var(--bronze);
}
.chip-row { display: grid; gap: 1rem; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { opacity: 0; width: 0; height: 0; position: absolute; }
.chip span {
  border: 1px solid var(--line);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  min-height: 40px;
  padding: 0.6em 1.1em;
  line-height: 1.6;
  display: inline-block;
  background: var(--paper);
}
.chip input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}
.fineprint { font-size: 0.72rem; color: var(--ink-muted); margin: 0; }
.fineprint a { color: var(--bronze); text-decoration: underline; }
.form-note { font-family: var(--font-display); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze); margin: 1rem 0 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-success { display: none; color: var(--ink); }
.lead-form.is-success { display: none; }
.form-success.is-visible { display: block; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #f6f3eed1;
  font-size: var(--step--1);
  padding-block: clamp(3.5rem, 7vw, 6rem) clamp(2.5rem, 5vw, 3.5rem);
}
.footer-top {
  border-bottom: 1px solid #f6f3ee29;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer .brand-name { color: var(--bronze); font-size: 1.4rem; display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer .brand-sub { color: var(--bronze-light); display: block; letter-spacing: 0.26em; text-transform: uppercase; font-size: 0.58rem; margin-top: 0.35rem; font-family: var(--font-display); font-weight: 600; }
.footer-address { margin-top: 1.25rem; line-height: 1.8; }
.footer-h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin: 0 0 1rem;
}
.footer-nav { display: grid; gap: 0.55rem; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--bone); }
.footer-contact { display: grid; gap: 0.45rem; }
.footer-advisor { color: var(--bone); margin: 0 0 0.35rem; font-size: var(--step-0); }
.footer-legal { padding-top: 2rem; display: grid; gap: 1rem; }
.footer-legal p { margin: 0; color: #f6f3ee99; }
.footer-legal .upper { text-transform: uppercase; letter-spacing: 0.04em; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  border-top: 1px solid #f6f3ee29;
  margin-top: 1.75rem;
}
.footer-links { display: flex; gap: 0.75rem; align-items: center; }

/* Sticky bar — Mandarin / Six Fisher exact */
.sticky-bar {
  z-index: 500;
  padding: 0.9rem 3.5rem calc(1.05rem + env(safe-area-inset-bottom, 0px)) 1.9rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  transition: transform 0.45s var(--ease), padding-bottom 0.45s var(--ease);
  background: #17120df7;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateY(100%);
}
body.sticky-on .sticky-bar,
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar-text {
  color: #f5ede0b8;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.7rem;
  font-size: 0.8rem;
  display: flex;
}
.sticky-bar-text strong {
  font-family: var(--font-display);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze);
  font-size: 0.66rem;
  font-weight: 700;
}
.sticky-bar-ctas {
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  display: flex;
}
.sticky-bar-close {
  color: #f5ede080;
  cursor: pointer;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  line-height: 1;
  position: absolute;
  top: 0.9rem;
  right: 0.65rem;
}
.sticky-bar-close:hover { color: var(--bone); }

/* FAB */
.fab-stack {
  z-index: 950;
  transition: bottom 0.45s var(--ease);
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  display: flex;
  position: fixed;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  right: max(1.15rem, env(safe-area-inset-right, 0px));
}
body.sticky-on .fab-stack { bottom: calc(7.25rem + env(safe-area-inset-bottom, 0px)); }
.fab-round {
  cursor: pointer;
  width: 54px;
  height: 54px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border: none;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
  text-decoration: none;
}
.fab-round:hover { transform: scale(1.08); }
.fab-call { background: var(--ink); }
.fab-wa { background: #25d366; }
.fab-chat { background: var(--bone); border: 1px solid var(--line); }
.fab-tip {
  font-family: var(--font-display);
  font-weight: 600;
  white-space: nowrap;
  color: var(--bone);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  background: #17120df2;
  padding: 0.45rem 0.8rem;
  font-size: 0.6rem;
  position: absolute;
  top: 50%;
  right: calc(100% + 0.7rem);
  transform: translateY(-50%);
}
.fab-round:hover .fab-tip, .fab-round:focus-visible .fab-tip { opacity: 1; }

.chatbox {
  position: fixed;
  right: max(1.15rem, env(safe-area-inset-right, 0px));
  bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
  width: min(360px, calc(100vw - 2rem));
  background: var(--paper);
  border: 1px solid var(--line);
  z-index: 960;
  box-shadow: 0 24px 60px #17120d33;
}
body.sticky-on .chatbox { bottom: calc(12.5rem + env(safe-area-inset-bottom, 0px)); }
.chatbox[hidden] { display: none; }
.chat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.1rem;
  background: var(--ink);
  color: var(--bone);
}
.chat-name { font-family: var(--font-display); font-size: 1.15rem; }
.chat-status { font-size: 0.68rem; letter-spacing: 0.08em; color: var(--bronze-light); }
.chat-x { background: none; border: 0; color: var(--bone); font-size: 1.4rem; cursor: pointer; }
.chat-body { padding: 1.1rem; }
.chat-msg { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1rem; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chat-chip {
  background: var(--bone);
  border: 1px solid var(--line);
  padding: 0.45rem 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: #080c11b8;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.modal[hidden] { display: none; }
.modal-panel {
  background: var(--bone);
  width: min(460px, 100%);
  max-height: calc(100svh - 2.5rem);
  padding: 1.35rem 1.5rem 1.15rem;
  position: relative;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal-panel:focus { outline: none; }
.modal-close {
  cursor: pointer;
  color: var(--ink-muted);
  background: 0 0;
  border: 0;
  width: 36px;
  height: 36px;
  font-size: 1.45rem;
  line-height: 1;
  position: absolute;
  top: 0.55rem;
  right: 0.45rem;
}
.modal-kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 0.2rem;
}
.modal-title { font-size: 1.55rem; margin-bottom: 0.28rem; letter-spacing: 0.02em; }
.modal-blurb { font-family: var(--font-serif); font-size: 0.9rem; line-height: 1.4; margin-bottom: 0.9rem; color: var(--ink-muted); }
.modal .lead-brand { margin-bottom: 0.65rem; }
.modal .lead-brand img { height: 22px; }
.modal .lead-form { gap: 0.7rem; }
.modal .field { gap: 0.28rem; }
.modal .field-row { gap: 0.7rem; }
.modal .field-row.contact-row { grid-template-columns: 1fr 1fr; }
.modal .chips legend,
.modal .lead-form label { font-size: 0.62rem; letter-spacing: 0.12em; }
.modal .lead-form input[type="email"],
.modal .lead-form input[type="tel"],
.modal .lead-form input[type="text"],
.modal .lead-form select {
  padding: 0.55rem 0.7rem;
  min-height: 42px;
  font-size: 16px; /* iOS: <16px zooms the page and looks like shake */
  background: var(--bone);
}
.modal .phone-input {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  background: var(--bone);
  min-height: 42px;
}
.modal .phone-cc {
  display: flex;
  align-items: center;
  padding: 0 0.65rem;
  border-right: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--ink);
  flex-shrink: 0;
}
.modal .phone-input input[type="tel"] {
  border: 0;
  min-height: 40px;
  min-width: 0;
  flex: 1 1 auto;
}
.modal .phone-input:focus-within {
  outline: 1px solid var(--bronze);
  border-color: var(--bronze);
}
.modal .chip-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem 1rem;
  align-items: start;
}
.modal .chips { gap: 0.35rem; }
.modal .chip span {
  min-height: 30px;
  padding: 0.28em 0.7em;
  font-size: 0.66rem;
  line-height: 1.3;
  background: var(--bone);
}
.modal .btn-block { min-height: 46px; padding: 0.7em 1rem; font-size: 0.72rem; }
.modal .fineprint { font-size: 0.68rem; line-height: 1.4; }
.modal .form-note { display: none; }

@media (max-width: 640px) {
  .modal {
    place-items: start stretch;
    padding: 0;
  }
  .modal-panel {
    width: 100%;
    max-width: none;
    max-height: calc(100svh - 8vh);
    padding: 1.15rem 1.2rem 1.05rem;
  }
  .modal-close { top: 0.45rem; right: 0.35rem; }
  .modal .lead-brand { margin-bottom: 0.45rem; }
  .modal .lead-brand img { height: 20px; }
  .modal-title { font-size: 1.45rem; }
  .modal-blurb { margin-bottom: 0.75rem; }
  .modal .lead-form { gap: 0.65rem; }
  .modal .field-row.contact-row { grid-template-columns: 1fr; }
}

.breadcrumbs {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}
.breadcrumbs a { color: var(--bronze); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Orange header CTA — used on home Inquire Now + sticky */
.nav-cta, .sticky-bar-cta {
  background: var(--bronze);
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  min-height: 44px;
  transition: background 0.3s var(--ease);
  border: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.66rem;
  font-weight: 600;
  animation: ctaPulse 2.8s ease-in-out infinite;
  display: inline-flex;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.nav-cta::before, .sticky-bar-cta::before {
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #ffffff61, transparent);
  width: 60%;
  height: 100%;
  animation: ctaShimmer 2.8s ease-in-out infinite;
  position: absolute;
  top: 0;
  left: -100%;
}
.nav-cta > *, .sticky-bar-cta > * { z-index: 1; position: relative; }
.nav-cta:hover, .sticky-bar-cta:hover {
  background: var(--bronze-light);
  animation: none;
  box-shadow: 0 6px 28px #FF7E2299;
}
@keyframes ctaPulse {
  0%, to { box-shadow: 0 0 #FF7E2280; }
  50% { box-shadow: 0 0 0 10px #FF7E2200; }
}
@keyframes ctaShimmer {
  0% { left: -100%; }
  55%, to { left: 160%; }
}
@keyframes fabPulseGold {
  0%, to { box-shadow: 0 4px 14px rgba(255, 126, 34, 0.28); transform: scale(1); opacity: 1; }
  50% { box-shadow: 0 8px 22px rgba(255, 126, 34, 0.42), 0 0 0 7px rgba(255, 126, 34, 0.12); transform: scale(1.04); opacity: 0.92; }
}
@keyframes fabPulseGreen {
  0%, to { box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28); transform: scale(1); opacity: 1; }
  50% { box-shadow: 0 8px 22px rgba(37, 211, 102, 0.42), 0 0 0 7px rgba(37, 211, 102, 0.14); transform: scale(1.04); opacity: 0.92; }
}

.nav-mobile-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
.nav-mobile-actions .btn-light {
  --btn-fg: var(--ink);
  --btn-bd: #000;
}
.nav-mobile[hidden] { display: none; }

/* Desktop homepage: orange filled primary, italic serif outline secondaries */
@media (min-width: 641px) {
  .hero-ctas .btn-solid-light {
    --btn-bg: var(--bronze);
    --btn-fg: #fff;
    --btn-bd: var(--bronze);
  }
  .hero-ctas .btn-solid-light:hover {
    --btn-bg: var(--bronze-light);
    --btn-fg: #fff;
    --btn-bd: var(--bronze-light);
  }
  .hero-ctas .btn-light {
    --btn-bg: transparent;
    --btn-fg: #f6f3ee;
    --btn-bd: #000;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    text-shadow: 0 1px 12px rgba(23, 18, 13, 0.55);
  }
  .hero-ctas .btn-light:hover {
    --btn-bg: #000;
    --btn-fg: #fff;
    --btn-bd: #000;
  }
}

@media (max-width: 900px) and (min-width: 641px) {
  .hero-ctas { gap: 0.6rem; }
  .hero-ctas .btn { padding: 0.85em 1.35em; letter-spacing: 0.14em; }
}

@media (max-width: 980px) {
  .site-header .brand-lockup,
  .site-header img.brand-lockup {
    height: 28px !important;
    max-height: 28px !important;
    width: auto !important;
    max-width: 180px;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .sticky-bar {
    gap: 0.7rem;
    flex-wrap: nowrap;
    padding: 0.95rem 3rem calc(1.2rem + env(safe-area-inset-bottom, 0px)) 0.9rem;
  }
  .sticky-bar-text { display: none; }
  .sticky-bar-ctas {
    flex-wrap: nowrap;
    flex: 1 1 100%;
    align-items: stretch;
    gap: 0.6rem;
    width: 100%;
  }
  .sticky-bar-cta {
    letter-spacing: 0.08em;
    text-align: center;
    flex: 1 1 0;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
    padding: 0.75rem 0.4rem;
    font-size: 0.58rem;
  }
  .sticky-bar-cta span { white-space: nowrap; }
  .sticky-bar-close {
    position: absolute;
    top: 0.9rem;
    right: 0.65rem;
  }
  body.sticky-on .fab-stack { bottom: calc(8.5rem + env(safe-area-inset-bottom, 0px)); }
  body.sticky-on .chatbox { bottom: calc(14.5rem + env(safe-area-inset-bottom, 0px)); }
}

/* Villa mobile homepage — 390×844 / 375×812 */
@media (max-width: 640px) {
  .header-inner {
    gap: 0.45rem;
    padding-inline: 0.85rem 1.15rem;
  }
  body.home .site-header,
  body.home .site-header.is-solid {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  body.home .site-header .brand-lockup-on-dark { display: none; }
  body.home .site-header .brand-lockup-on-light { display: block; filter: none; }
  body.home .site-header .burger span { background: var(--ink); }
  body.home .header-cta {
    letter-spacing: 0.12em;
    white-space: nowrap;
    min-height: 44px;
    padding: 0.55rem 1rem;
    font-size: 0.62rem;
    display: inline-flex;
    flex-shrink: 0;
    margin-right: 0.2rem;
  }
  .header-actions { gap: 0.55rem; flex-shrink: 0; }
  /* Mandarin / Six Fisher mobile header — force measured 28px (HTML 193×47 + aspect-ratio was winning at ~36). */
  .site-header .brand-lockup,
  .site-header img.brand-lockup,
  body.home .brand-lockup {
    height: 28px !important;
    max-height: 28px !important;
    width: auto !important;
    max-width: 180px;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: left center;
  }
  body.home .brand {
    max-width: calc(100vw - 12.5rem);
    margin-inline-start: 0.65rem;
  }
  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }
  .burger span { width: 24px; height: 2px; margin: 0 auto; }
  body.home .site-header.is-open .burger span:first-child { transform: translateY(8px) rotate(45deg); }
  body.home .site-header.is-open .burger span:nth-child(2) { opacity: 0; }
  body.home .site-header.is-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  body.home .nav-mobile {
    inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0;
    background: var(--paper);
    padding: clamp(1.5rem, 6vw, 3rem) var(--gutter) 5rem;
    overflow-y: auto;
    flex-direction: column;
    gap: 0;
  }
  body.home .nav-mobile nav { display: flex; flex-direction: column; }
  body.home .nav-mobile nav a {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    padding-block: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .hero,
  .hero > .hero-inner {
    height: 100svh;
    height: 100dvh;
    min-height: 100svh;
    min-height: 100dvh;
  }
  .hero > .hero-inner {
    padding-top: calc(var(--header-h) + 0.55rem);
    padding-bottom: 5.6rem;
    padding-right: 4.35rem;
  }
  .hero h1, .hero-title {
    max-width: 18ch;
    font-size: clamp(2.05rem, 10.2vw, 2.85rem);
    margin: 0 0 0.5rem;
    line-height: 1.05;
    font-weight: 700;
    text-shadow: 0 2px 34px rgba(23, 18, 13, 0.65), 0 1px 4px rgba(23, 18, 13, 0.4);
  }
  .hero-eyebrow {
    letter-spacing: 0.2em;
    margin-bottom: 0.35rem;
    font-size: 0.58rem;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 1px 20px rgba(23, 18, 13, 0.9), 0 1px 3px rgba(23, 18, 13, 0.7);
  }
  .hero-sub {
    max-width: 28ch;
    margin-bottom: 0.7rem;
    font-size: 0.84rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 1px 18px rgba(23, 18, 13, 0.85), 0 1px 3px rgba(23, 18, 13, 0.5);
  }
  .hero-sub-full { display: none; }
  .hero-sub-short { display: inline; }
  .hero-ctas { gap: 0.6rem; flex-wrap: wrap; }
  .hero-facts {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    gap: 0.2rem 0.45rem;
    max-width: 34rem;
  }
  .hero-facts li { font-size: 0.48rem; letter-spacing: 0.12em; }
  .hero-facts li + li::before { margin-right: 0.45rem; }
  .hero-dots { bottom: 1.15rem; gap: 0.4rem; }
  .hero-dot { width: 18px; }
  .hero-slide-label { display: none; }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(23, 18, 13, 0.55) 0%, rgba(23, 18, 13, 0.28) 34%, rgba(23, 18, 13, 0.08) 60%, rgba(23, 18, 13, 0) 76%),
      linear-gradient(180deg, rgba(23, 18, 13, 0.22) 0%, rgba(23, 18, 13, 0.1) 32%, rgba(23, 18, 13, 0.18) 50%, rgba(23, 18, 13, 0.72) 100%);
  }

  .fab-round { width: 48px; height: 48px; }
  .fab-tip { display: none; }
  .fab-call { background: var(--champagne); animation: fabPulseGold 1.8s ease-in-out infinite; }
  .fab-wa { animation: fabPulseGreen 1.8s ease-in-out infinite; }
  .fab-chat {
    background: var(--ink);
    border: 1px solid rgba(255, 126, 34, 0.45);
    animation: fabPulseGold 1.8s ease-in-out infinite;
  }
  .fab-chat svg { stroke: var(--bronze); }

  body.home { --section-y: clamp(2rem, 5vw, 2.5rem); --gutter: 1.25rem; }
  body.home h2 { font-size: clamp(1.75rem, 8vw, 2.35rem); }
  body.home .lede { font-size: 1rem; line-height: 1.55; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-cta, .sticky-bar-cta, .fab-call, .fab-wa, .fab-chat { animation: none; }
  .nav-cta::before, .sticky-bar-cta::before { animation: none; }
}

/* Force measured ≥56px tap targets on phone + tablet. Do not require body.home.
   iOS ignores height on native <button>/<a> without appearance:none.
   max-height was removed so content cannot be clipped back to ~32px. */
@media (max-width: 980px) {
  .hero .hero-ctas {
    align-items: stretch;
  }
  .hero .hero-ctas .btn,
  .hero .hero-ctas a.btn,
  .hero .hero-ctas button.btn {
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 0 1.15rem !important;
    font-size: 0.74rem !important;
    line-height: 1 !important;
    letter-spacing: 0.1em !important;
    white-space: nowrap !important;
    transform: none !important;
    animation: none !important;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
}
