/* S.I.S project page system. Extracted unchanged from the S.I.S Florida page (the reference design) so every project page shares it. */
/* ==========================================================================
   DESIGN TOKENS — S.I.S BRAND LUXURY SYSTEM
   ========================================================================== */
:root {
  --garnet: #A21C40;
  --garnet-subtle: rgba(162, 28, 64, 0.18);
  --garnet-hairline: rgba(162, 28, 64, 0.35);
  --pewter: #6E6F71;
  --warm-white: #F3EFE7;
  --charcoal: #2A2723;
  --charcoal-deep: #1D1A18;
  --travertine: #E3D9C6;
  --limestone: #CFC5B4;
  --warm-concrete: #B9AFA0;
  --accent: #2D3A2D;
  
  --surface-page: var(--warm-white);
  --surface-card: #FFFFFF;
  --surface-sunken: var(--travertine);
  --surface-dark: var(--charcoal);
  --text-primary: var(--charcoal);
  --text-secondary: var(--pewter);
  --text-on-dark: var(--warm-white);
  --text-on-dark-muted: var(--limestone);
  --interactive: var(--garnet);
  --border-subtle: var(--limestone);
  --border-hairline: 1px solid rgba(207, 197, 180, 0.65);
  --border-on-dark: rgba(243, 239, 231, 0.18);
  --structure: var(--pewter);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px;
  --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 144px;
  --margin-page: clamp(28px, 6vw, 110px);
  --shadow-card: 0 1px 3px rgba(42, 39, 35, 0.04), 0 8px 24px rgba(42, 39, 35, 0.04);
  --shadow-lifted: 0 4px 12px rgba(42, 39, 35, 0.06), 0 20px 40px rgba(42, 39, 35, 0.08);

  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-cinematic: 800ms;
  --duration-fast: 220ms;

  --font-display: 'Faculty Glyphic', Georgia, serif;
  --font-text: 'Familjen Grotesk', Georgia, serif;
  --font-sans: 'Familjen Grotesk', 'Söhne', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Familjen Grotesk', 'Söhne Mono', ui-monospace, monospace;

  --text-display-xl: 400 clamp(2.75rem, 5vw, 4.75rem)/1.05 var(--font-display);
  --text-display-lg: 400 clamp(2.25rem, 3.6vw, 3.25rem)/1.1 var(--font-display);
  --text-display-md: 400 2rem/1.18 var(--font-display);
  --text-heading: 600 1.375rem/1.35 var(--font-sans);
  --text-subheading: 600 0.78rem/1.4 var(--font-sans);
  --text-body: italic 400 1.0625rem/1.75 var(--font-text);
  --text-body-sm: italic 400 0.9375rem/1.65 var(--font-text);
  --text-caption: 400 0.8125rem/1.5 var(--font-sans);
  --text-ui: 500 0.9375rem/1.3 var(--font-sans);
  --text-ui-sm: 500 0.8125rem/1.3 var(--font-sans);
  --text-numeral: 600 0.9375rem/1.2 var(--font-mono);
  --tracking-label: 0.14em;
}

/* ==========================================================================
   BASE STYLES & ARCHITECTURAL TACTILITY
   ========================================================================== */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--surface-page);
  /* Subtle archival paper texture overlay */
  background-image: radial-gradient(rgba(42, 39, 35, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
  color: var(--text-primary);
  overflow-x: hidden;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--interactive); text-decoration: none; transition: opacity 0.25s ease; }
a:hover { opacity: 0.75; }
img { max-width: 100%; display: block; }

/* Viewport Section Architecture (100vh Pacing) */
.snap-section {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px var(--margin-page) 64px;
  box-sizing: border-box;
}

.snap-section.on-sunken {
  background-color: var(--surface-sunken);
  background-image: radial-gradient(rgba(42, 39, 35, 0.035) 1px, transparent 0);
  background-size: 24px 24px;
}

.snap-section.on-dark {
  background-color: var(--surface-dark);
  background-image: radial-gradient(rgba(243, 239, 231, 0.03) 1px, transparent 0);
  background-size: 24px 24px;
  color: var(--text-on-dark);
}

.section-inner {
  max-width: 1380px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}
.kb-slow img { animation: kenburns 20s var(--ease-cinematic) infinite alternate; }

/* Scroll-reveal with slower, confident transitions */
[data-reveal-id] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--duration-cinematic) var(--ease-cinematic), transform var(--duration-cinematic) var(--ease-cinematic);
}
[data-reveal-id].is-revealed {
  opacity: 1;
  transform: none;
}
.img-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s var(--ease-cinematic);
}
[data-reveal-id].is-revealed .img-reveal {
  clip-path: inset(0 0 0 0);
}

/* ==========================================================================
   BUTTON SYSTEM & MICRO-INTERACTIONS (Authentic S.I.S Craft)
   ========================================================================== */
button.btn, a.btn {
  margin: 0;
  border-radius: 0px !important; /* Sharp architectural monograph corners */
  cursor: pointer;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-position 0.6s var(--ease-cinematic), box-shadow 0.4s, transform 0.2s, border-color 0.25s, opacity 0.2s;
  background-size: 200% auto;
  background-position: left center;
  font-family: var(--font-sans);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  padding-left: 24px !important;
  padding-right: 24px !important;
  font-weight: 600;
}

.btn-sm { padding: 11px 22px; font: 600 0.72rem/1 var(--font-sans); }
.btn-lg { padding: 16px 36px; font: 600 0.82rem/1 var(--font-sans); }

.btn-accent {
  background-image: linear-gradient(45deg, #7A1631 0%, #A21C40 51%, #7A1631 100%);
  color: var(--text-on-dark);
  border: 0;
  box-shadow: 0 4px 16px rgba(162, 28, 64, 0.35);
}
.btn-accent:hover {
  background-position: right center;
  box-shadow: 0 6px 22px rgba(162, 28, 64, 0.55);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--structure);
  color: var(--text-primary);
}
.btn-secondary.on-dark {
  border-color: var(--border-on-dark);
  color: var(--text-on-dark);
}
.btn-secondary:hover {
  border-color: var(--interactive);
  color: var(--interactive);
  background: rgba(162, 28, 64, 0.04);
}
.btn-secondary.on-dark:hover {
  border-color: var(--text-on-dark);
  color: var(--text-on-dark);
  background: rgba(243, 239, 231, 0.06);
}
.btn:active { transform: scale(0.97); }

/* Razor 1px Clockwise Sweep */
.btn-sweep { position: relative; display: inline-block; }
.btn-sweep button, .btn-sweep a { outline: none !important; }
.btn-sweep .btn-sweep-shine { position: absolute; inset: 0; pointer-events: none; }
.btn-sweep .btn-sweep-shine span { position: absolute; background: var(--interactive); }
.btn-sweep.on-dark .btn-sweep-shine span { background: var(--text-on-dark); }
.btn-sweep.on-fill .btn-sweep-shine span { background: #FFFFFF; }
.btn-sweep .btn-sweep-shine .side-top { top: 0; left: 0; height: 1.5px; width: 0; transition: width 0.24s ease; }
.btn-sweep .btn-sweep-shine .side-right { top: 0; right: 0; width: 1.5px; height: 0; transition: height 0.24s ease; }
.btn-sweep .btn-sweep-shine .side-bottom { bottom: 0; right: 0; height: 1.5px; width: 0; transition: width 0.24s ease; }
.btn-sweep .btn-sweep-shine .side-left { bottom: 0; left: 0; width: 1.5px; height: 0; transition: height 0.24s ease; }
.btn-sweep:hover .side-top { width: 100%; transition-delay: 0s; }
.btn-sweep:hover .side-right { height: 100%; transition-delay: 0.24s; }
.btn-sweep:hover .side-bottom { width: 100%; transition-delay: 0.48s; }
.btn-sweep:hover .side-left { height: 100%; transition-delay: 0.72s; }

.link-sweep {
  font: var(--text-ui-sm);
  color: var(--interactive);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 1px;
  padding-bottom: 3px;
  transition: background-size 0.5s var(--ease-cinematic), opacity 0.2s;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
}
.link-sweep:hover { background-size: 100% 1px; opacity: 1; }

/* ==========================================================================
   CANONICAL S.I.S HEADER & MOBILE MENU
   ========================================================================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px var(--margin-page);
  background: color-mix(in oklab, var(--charcoal) 35%, transparent);
  box-shadow: none;
  transform: translateY(0);
  transition: transform 0.45s var(--ease-cinematic), background 0.45s, box-shadow 0.45s;
}
#site-header.is-scrolled {
  background: color-mix(in oklab, var(--charcoal) 92%, transparent);
  box-shadow: 0 8px 32px color-mix(in oklab, var(--charcoal) 8%, transparent);
}
#site-header.is-hidden { transform: translateY(-100%); }

.menu-btn {
  justify-self: start;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 26px;
  position: relative;
  z-index: 110;
  background: none;
  border: 0;
  padding: 0;
}
.menu-btn span {
  display: block;
  height: 1px;
  background: var(--warm-white);
  transition: background 0.4s;
}

.logo-wrap { position: relative; width: 80px; height: 32px; justify-self: center; }
.logo-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); height: 100px; width: 100px;
  max-width: none;
}
.header-cta { justify-self: end; }

/* Canonical Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--charcoal) 96%, transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu-close {
  position: absolute;
  top: 34px;
  left: var(--margin-page);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  background: none;
  border: 0;
  padding: 0;
}
.mobile-menu-close span { display: block; height: 1px; background: var(--warm-white); }
.mobile-menu-close span:first-child { transform: translateY(3px) rotate(45deg); }
.mobile-menu-close span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-link { font: var(--text-display-md); color: var(--text-on-dark-muted); }
.mobile-link:hover { color: var(--warm-white); opacity: 1; }
.mobile-link.is-current { color: var(--text-on-dark); }

/* Sticky Sub-navigation */
.project-subnav {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 85;
  background: color-mix(in oklab, var(--charcoal) 95%, transparent);
  opacity: 0;
  transform: translateY(-100%);
  transition: transform .45s var(--ease-cinematic), opacity .45s, top .45s;
  pointer-events: none;
  border-bottom: 1px solid rgba(243, 239, 231, 0.1);
}
.project-subnav.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.project-subnav-inner {
  max-width: 1380px;
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--margin-page);
  display: flex;
  justify-content: center;
  gap: var(--space-7);
  overflow-x: auto;
  scrollbar-width: none;
}
.project-subnav-inner::-webkit-scrollbar { display: none; }
.project-subnav a {
  flex: 0 0 auto;
  padding: 14px 0;
  font: var(--text-ui-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  border-bottom: none;
  position: relative;
  transition: color .35s ease;
  white-space: nowrap;
}
.project-subnav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--interactive);
  transition: width 0.35s var(--ease-cinematic), left 0.35s var(--ease-cinematic);
}
.project-subnav a:hover { color: var(--warm-white); opacity: 1; }
.project-subnav a:hover::after,
.project-subnav a.is-active::after {
  width: 100%;
  left: 0;
}
.project-subnav a.is-active { color: var(--warm-white); }

/* Editorial Typographic Device */
.eyebrow {
  display: block;
  font: var(--text-subheading);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.section-rule {
  width: 60px;
  height: 1.5px;
  background: var(--interactive);
  margin: 0 0 20px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ease-cinematic) 0.2s;
}
[data-reveal-id].is-revealed .section-rule { transform: scaleX(1); }

/* ==========================================================================
   01 HERO SECTION (100VH) — CINEMATIC PACING
   ========================================================================== */
.project-hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.project-hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.project-hero-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 26, 24, 0.3) 0%, transparent 40%, rgba(29, 26, 24, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-content-wrap {
  position: relative;
  z-index: 2;
  padding: 0 var(--margin-page) 54px;
  max-width: 1380px;
  margin: 0 auto;
  width: 100%;
}
.hero-badges {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-chip {
  display: inline-block;
  font: var(--text-ui-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-white);
  border: 1px solid var(--border-on-dark);
  padding: 7px 16px;
  background: rgba(42, 39, 35, 0.5);
  border-radius: 0px;
}
.hero-chip.is-accent {
  background: var(--garnet);
  border-color: var(--garnet);
}
.hero-h1 {
  font: var(--text-display-xl);
  letter-spacing: -0.025em;
  color: var(--warm-white);
  margin: 0 0 18px;
  max-width: 980px;
}
.hero-h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--travertine);
}
.hero-desc {
  font: var(--text-body);
  font-size: 1.05rem;
  color: color-mix(in oklab, var(--warm-white) 92%, transparent);
  margin: 0 0 28px;
  max-width: 660px;
}
.hero-action-row {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.sound-toggle {
  position: absolute;
  z-index: 3;
  left: var(--margin-page);
  bottom: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in oklab, white 30%, transparent);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--warm-white);
  background: rgba(42, 39, 35, 0.45);
  transition: border-color 0.3s, background 0.3s;
}
.sound-toggle:hover {
  border-color: var(--warm-white);
  background: rgba(42, 39, 35, 0.7);
}
.sound-toggle svg { display: none; }
.sound-toggle[data-sound="off"] .icon-on { display: block; }
.sound-toggle[data-sound="on"] .icon-off { display: block; }

/* ==========================================================================
   02 OVERVIEW (100VH) — HAIRLINE METRIC BAND
   ========================================================================== */
.overview-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.overview-editorial h1,
.overview-editorial h2 {
  font: var(--text-display-md);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 18px;
}
.overview-editorial h1 em,
.overview-editorial h2 em {
  font-style: italic;
  color: var(--interactive);
}
.overview-editorial p {
  font: var(--text-body);
  color: var(--text-secondary);
  margin: 0 0 24px;
  max-width: 580px;
}

/* Luxury Hairline Metric Band — Open Editorial Ribbon */
.hairline-metric-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 0;
  row-gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(162, 28, 64, 0.25);
  border-bottom: 1px solid rgba(162, 28, 64, 0.25);
}
.metric-cell {
  padding: 8px 16px 8px 0;
  border-right: 1px solid rgba(29, 26, 24, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.35s var(--ease-cinematic);
}
.metric-cell:hover {
  transform: translateY(-2px);
}
.metric-cell:nth-child(2n) { border-right: none; }
.metric-val {
  display: block;
  font: var(--text-display-md);
  letter-spacing: -0.02em;
  color: var(--interactive);
  margin-bottom: 4px;
  transition: text-shadow 0.35s ease;
}
.metric-cell:hover .metric-val {
  text-shadow: 0 0 12px rgba(162, 28, 64, 0.25);
}
.metric-tag {
  display: block;
  font: var(--text-ui-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ==========================================================================
   03 LOCATION (100VH) — ARCHITECTURAL CARTOGRAPHY
   ========================================================================== */
.location-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.transit-hairline-list {
  display: flex;
  flex-direction: column;
  margin: 22px 0 24px;
  border-top: var(--border-hairline);
}

/* ==========================================================================
   LOCATION ACCORDION DROPDOWN (S.I.S LUXURY BRAND SYSTEM)
   ========================================================================== */
#location {
  height: auto !important;
  min-height: 100vh;
  max-height: none !important;
  padding-top: 100px;
  padding-bottom: 72px;
}
#location .section-inner {
  max-height: none !important;
  height: auto !important;
}

.location-accordion {
  display: flex;
  flex-direction: column;
  border-top: var(--border-hairline);
  margin: 22px 0 24px;
}
.loc-acc-item {
  border-bottom: var(--border-hairline);
  transition: background-color 0.25s ease;
}
.loc-acc-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0 15px 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  color: var(--text-primary);
}
.loc-acc-header:hover {
  padding-left: 10px;
  background: rgba(162, 28, 64, 0.02);
}
.loc-acc-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
/* the location categories are marked by their icons only (the 01. 02. numbers are not shown) */
.loc-acc-num { display: none; }
.loc-acc-title {
  font: var(--text-ui);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  transition: color 0.25s ease;
}
.loc-acc-item.is-open .loc-acc-title {
  color: var(--interactive);
}
.loc-acc-chevron {
  width: 16px;
  height: 16px;
  color: var(--pewter);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  flex-shrink: 0;
  margin-right: 4px;
}
.loc-acc-item.is-open .loc-acc-chevron {
  transform: rotate(180deg);
  color: var(--interactive);
}
.loc-acc-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.3s ease;
  padding: 0 4px 0 36px;
}
.loc-acc-item.is-open .loc-acc-body {
  max-height: 380px;
  opacity: 1;
  padding: 4px 4px 16px 36px;
}
.loc-acc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.loc-acc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(207, 197, 180, 0.6);
  position: relative;
  transition: padding-left 0.25s ease;
}
.loc-acc-row:last-child {
  border-bottom: none;
}
.loc-acc-row:hover {
  padding-left: 6px;
}
.loc-place-name {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
}
.loc-place-meta {
  font: var(--text-numeral);
  font-size: 0.82rem;
  color: var(--interactive);
  font-weight: 600;
  white-space: nowrap;
  margin-left: 16px;
}
.transit-row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0 14px 18px;
  border-bottom: var(--border-hairline);
  position: relative;
  transition: padding-left 0.35s var(--ease-cinematic), background-color 0.35s ease;
}
.transit-row-item:hover {
  padding-left: 24px;
  background: rgba(162, 28, 64, 0.03);
}
.transit-row-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--interactive);
  border-radius: 50%;
  animation: dotPulse 3s infinite ease-in-out;
}
@keyframes dotPulse {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.8; box-shadow: 0 0 6px rgba(162, 28, 64, 0.4); }
  50% { transform: translateY(-50%) scale(1.4); opacity: 1; box-shadow: 0 0 12px rgba(162, 28, 64, 0.8); }
}
.transit-row-item span:first-child {
  font: var(--text-ui);
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
}
.transit-row-item:hover span:first-child {
  color: var(--interactive);
}
.transit-row-item span:last-child {
  font: var(--text-numeral);
  color: var(--interactive);
  font-weight: 600;
}

.map-frame-monograph {
  width: 100%;
  height: clamp(400px, 58vh, 520px);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(29, 26, 24, 0.15);
  position: relative;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.map-frame-monograph:hover {
  border-color: var(--interactive);
  box-shadow: 0 8px 24px rgba(162, 28, 64, 0.08);
}
#florida-map { position: absolute; inset: 0; z-index: 0; isolation: isolate; background: #F5F1E9; }
.map-proximity { min-width: 0; }
.map-frame-monograph { border: 1px solid rgba(185, 169, 138, 0.6); box-shadow: none; }
.map-frame-monograph:hover { border-color: rgba(185, 169, 138, 0.6); box-shadow: none; }
/* category tabs: one quiet line of text + hairline icon */
.fl-chips {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  display: flex; max-width: calc(100% - 72px); overflow-x: auto; scrollbar-width: none;
  background: rgba(255, 253, 248, 0.92); border: 1px solid rgba(185, 169, 138, 0.55);
}
.fl-chips::-webkit-scrollbar { display: none; }
.fl-chip {
  position: relative; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  padding: 8px 10px; border: 0; background: transparent; color: var(--pewter);
  font: var(--text-ui-sm); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  transition: color 0.25s ease;
}
.fl-chip i { display: inline-flex; }
.fl-chip svg { display: block; }
.fl-chip::after {
  content: ''; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; background: var(--garnet);
  transform: scaleX(0); transform-origin: left center; transition: transform 0.35s var(--ease-reveal, cubic-bezier(0.16, 1, 0.3, 1));
}
.fl-chip:hover { color: var(--charcoal); }
.fl-chip.is-active { color: var(--garnet); }
.fl-chip.is-active::after { transform: scaleX(1); }
.loc-acc-ico { display: inline-flex; align-self: center; color: var(--interactive); opacity: 0.85; transition: opacity 0.25s ease, transform 0.25s ease; }
.loc-acc-ico svg { display: block; }
.loc-acc-header:hover .loc-acc-ico, .loc-acc-item.is-open .loc-acc-ico { opacity: 1; transform: translateY(-1px); }
/* the site: a small garnet dot with a quiet pulse */
.fl-site { width: 0; height: 0; pointer-events: none; }
.fl-site-dot {
  position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; background: var(--garnet); border: 2px solid #fff; box-shadow: 0 1px 6px rgba(162, 28, 64, 0.45);
}
.fl-site-dot::after {
  content: ''; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid var(--garnet); animation: flSitePulse 2.8s infinite;
}
@keyframes flSitePulse { 0% { transform: scale(0.6); opacity: 0.8; } 70%, 100% { transform: scale(1.6); opacity: 0; } }
.fl-site-tag {
  position: absolute; left: 12px; top: -7px; white-space: nowrap;
  font: var(--text-subheading); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--garnet);
  text-shadow: 0 0 3px #F5F1E9, 0 0 3px #F5F1E9, 0 0 5px #F5F1E9;
}
.fl-note { margin: 10px 0 0; font: var(--text-caption); font-size: 0.72rem; color: var(--text-secondary); }
.fl-pop .maplibregl-popup-content {
  padding: 7px 11px; border-radius: 0; border: 1px solid rgba(185, 169, 138, 0.8);
  box-shadow: 0 6px 18px rgba(42, 39, 35, 0.14); font-family: var(--font-sans);
  display: flex; flex-direction: column; gap: 1px; background: #FFFDF8;
}
.fl-pop strong { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); }
.fl-pop span { font: var(--text-numeral); font-size: 0.74rem; color: var(--interactive); font-weight: 600; }
.loc-acc-row.is-hover { padding-left: 6px; background: rgba(162, 28, 64, 0.04); }

/* ==========================================================================
   04 MASTER PLAN & ARCHITECTURE (100VH)
   ========================================================================== */
.masterplan-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.plan-monograph-frame {
  position: relative;
  width: min(100%, calc((100vh - 220px) * 1.7897));
  aspect-ratio: 1600 / 894;
  margin-inline: auto;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(29, 26, 24, 0.15);
  transition: border-color 0.4s ease;
}
/* pins ride the same slow zoom as the picture, so they stay on their buildings */
.plan-monograph-frame .spot-layer { position: absolute; inset: 0; animation: kenburns 20s var(--ease-cinematic) infinite alternate; }
.plan-monograph-frame:hover {
  border-color: var(--interactive);
}
.plan-monograph-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Minimalist Pin Markers */
.spot-pin {
  position: absolute;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
}
.spot-dot {
  width: 10px;
  height: 10px;
  background: var(--interactive);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 6px;
  box-shadow: 0 0 10px rgba(162, 28, 64, 0.5);
  transition: transform 0.3s var(--ease-cinematic);
}
.spot-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--interactive);
  opacity: 0.6;
  animation: pinPulse 2s infinite ease-out;
}
@keyframes pinPulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}
.spot-pin:hover .spot-dot, .spot-pin.active .spot-dot {
  transform: scale(1.4);
  background: var(--charcoal);
  border-color: var(--warm-white);
}

/* Unboxed Architectural Editorial Monograph with Animated Left Line Accent */
.hotspot-info-monograph {
  padding: 0 0 0 28px;
  position: relative;
  background: transparent;
  border-radius: 0px;
  box-shadow: none;
}
.hotspot-info-monograph::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2.5px;
  background: var(--interactive);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.8s var(--ease-cinematic) 0.3s;
}
[data-reveal-id="architecture"].is-revealed .hotspot-info-monograph::before {
  transform: scaleY(1);
}
.hotspot-info-monograph h3 {
  font: var(--text-display-md);
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0 0 10px;
}
.hotspot-info-monograph p {
  font: var(--text-body-sm);
  color: var(--text-secondary);
  margin: 0 0 24px;
  line-height: 1.7;
}
.hotspot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid rgba(29, 26, 24, 0.12);
  padding-top: 16px;
}
.hotspot-chip {
  padding: 6px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font: var(--text-ui-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
}
.hotspot-chip:hover {
  color: var(--text-primary);
}
.hotspot-chip.active {
  border-bottom-color: var(--interactive);
  color: var(--interactive);
  font-weight: 600;
}

/* ==========================================================================
   05 RESIDENCES & FLOOR PLAN CONFIGURATOR — AIRY LUXURY PORTFOLIO
   ========================================================================== */
#residences {
  height: auto;
  min-height: 100vh;
  max-height: none;
  overflow: visible;
  padding-top: 80px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#residences .section-inner {
  max-width: 1260px;
  margin: 0 auto;
  width: 100%;
  height: auto;
  max-height: none;
  display: flex;
  flex-direction: column;
}

/* Horizontal Architectural Header Ribbon (Grid-Aligned to Content Columns) */
.residence-header-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: flex-end;
  border-bottom: 1px solid rgba(29, 26, 24, 0.15);
  padding-bottom: 14px;
  margin-bottom: 24px;
  width: 100%;
}
.residence-header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.residence-header-left .eyebrow {
  margin-bottom: 4px;
  text-align: left;
}
.residence-header-left .section-rule {
  margin: 0 0 8px;
  transform-origin: left center;
}
.residence-section-title {
  font: var(--text-display-md);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
  text-align: left;
}

/* Nav Tabs: Left-Aligned within Column 2 (Matching Specs Content Margin) */
.residence-nav-tabs {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 32px;
  border-bottom: none;
  padding-bottom: 0;
  margin: 0;
}
.res-tab-btn {
  background: transparent;
  border: none;
  padding: 4px 0 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  position: relative;
  transition: color 0.3s ease;
}
.res-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -15px; /* Sits precisely flush with the header border-bottom */
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--interactive);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease-cinematic);
}
.res-tab-btn.active::after,
.res-tab-btn:hover::after {
  transform: scaleX(1);
}
.res-tab-title {
  font: var(--text-heading);
  font-size: 1.05rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}
.res-tab-meta {
  font: var(--text-caption);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0.8;
  font-size: 0.74rem;
}
.res-tab-btn.active .res-tab-title {
  color: var(--text-primary);
  font-weight: 600;
}
.res-tab-btn.active .res-tab-meta {
  color: var(--interactive);
  font-weight: 600;
  opacity: 1;
}

/* 2-Column Grid: Specs Monograph on Left, 3D Stage on Right */
.residences-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  width: 100%;
}

.floorplan-frameless-stage {
  position: relative;
  width: 100%;
  /* header ribbon + section padding take ~260px, so the plan always fits one screen */
  height: clamp(300px, calc(100vh - 252px), 780px);
  height: clamp(300px, calc(100dvh - 252px), 780px);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: visible;
}
.floorplan-frameless-stage img.residence-render-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply; /* Knocks out white background completely to float directly on the page */
  filter: contrast(1.03);
  transform: none;
  transform-origin: center center;
  transition: transform 0.75s var(--ease-cinematic), filter 0.35s ease;
  position: relative;
  z-index: 2;
}
.floorplan-frameless-stage:hover img.residence-render-img {
  transform: scale(1.03);
}
.stage-ground-shadow {
  position: absolute;
  bottom: 8px;
  left: 6%;
  right: 6%;
  height: 38px;
  background: radial-gradient(ellipse at center, rgba(42, 39, 35, 0.22) 0%, rgba(42, 39, 35, 0.06) 50%, transparent 74%);
  pointer-events: none;
  z-index: 1;
  transition: transform 0.75s var(--ease-cinematic), opacity 0.35s ease;
}
.floorplan-frameless-stage:hover .stage-ground-shadow {
  transform: scale(1.14);
  opacity: 0.9;
}

.specs-editorial-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.residence-title-wrap {
  margin-bottom: 8px;
}
.residence-type-eyebrow {
  font: var(--text-caption);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--interactive);
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 0.72rem;
}
.residence-title-heading {
  font: var(--text-display-md);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
  font-size: 1.55rem;
}
.residence-desc-text {
  font: var(--text-body-sm);
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 6px 0 16px;
}

/* Hairline Unboxed Specification Ledger (2x2 Matrix) */
.residence-hairline-ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  padding: 14px 0;
  border-top: 1px solid rgba(29, 26, 24, 0.15);
  border-bottom: 1px solid rgba(29, 26, 24, 0.15);
  margin-bottom: 16px;
}
.ledger-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ledger-label {
  font: var(--text-caption);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-size: 0.68rem;
}
.ledger-val {
  font: var(--text-ui);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}
.ledger-val small {
  font-size: 0.75em;
  font-weight: 400;
  color: var(--text-secondary);
}

.residence-highlights-wrap {
  margin-bottom: 18px;
}
.highlights-heading {
  font: var(--text-caption);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
}
.residence-highlights-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.residence-highlights-list li {
  position: relative;
  padding-left: 18px;
  font: var(--text-body-sm);
  color: var(--text-secondary);
  line-height: 1.45;
  font-size: 0.86rem;
}
.residence-highlights-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: -2px;
  font-size: 1.1rem;
  color: var(--interactive);
}

.residence-action-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(29, 26, 24, 0.12);
  flex-wrap: wrap;
}
.residence-btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (min-width: 961px) and (max-height: 860px) {
  #residences { padding-top: 76px; padding-bottom: 24px; }
  .residence-header-row { margin-bottom: 16px; padding-bottom: 10px; }
  .residence-title-heading { font-size: 1.4rem; }
  .residence-desc-text { margin: 4px 0 10px; font-size: 0.86rem; line-height: 1.5; }
  .residence-hairline-ledger { gap: 10px 24px; padding: 10px 0; margin-bottom: 12px; }
  .ledger-val { font-size: 0.95rem; }
  .residence-highlights-wrap { margin-bottom: 12px; }
  .highlights-heading { margin-bottom: 6px; }
  .residence-highlights-list { gap: 4px; }
  .residence-highlights-list li { font-size: 0.82rem; line-height: 1.4; }
  .residence-action-footer { padding-top: 10px; }
}
@media (min-width: 961px) and (max-height: 720px) {
  .residence-highlights-list li:nth-child(n+3) { display: none; }
}

@media (max-width: 960px) {
  .residence-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .residences-layout {
    grid-template-columns: 1fr;
  }
}

/* Minimalist Unboxed EMI Calculator Strip */
.emi-monograph-card {
  background: transparent;
  border: none;
  border-top: 1px solid rgba(29, 26, 24, 0.12);
  border-bottom: 1px solid rgba(29, 26, 24, 0.12);
  padding: 14px 0;
  margin-bottom: 18px;
}
.emi-monograph-card .emi-top-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.emi-monograph-card .emi-label-tag {
  font: var(--text-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--interactive);
  font-weight: 600;
}
.emi-monograph-card .emi-numeric-val {
  font: var(--text-numeral);
  font-size: 1.35rem;
  color: var(--charcoal);
  font-weight: 600;
}
.emi-slider-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.emi-slider-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.emi-slider-cell label {
  display: flex;
  justify-content: space-between;
  font: var(--text-caption);
  color: var(--pewter);
}
.emi-slider-cell input[type=range] {
  accent-color: var(--garnet);
  height: 3px;
  cursor: pointer;
}

/* ==========================================================================
   06 CURATED AMENITIES (100VH — WARM WHITE MONOGRAPH)
   ========================================================================== */
.amenities-section {
  padding: 72px var(--margin-page) 24px;
  background-color: var(--warm-white);
}
.amenities-section .eyebrow {
  color: var(--interactive);
  text-align: center;
}
.amenities-section h2 {
  font: var(--text-display-md);
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 10px auto 22px;
  text-align: center;
}
.amenities-section h2 em {
  font-style: italic;
  color: var(--interactive);
}
.amenities-monograph-grid {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  /* rows of five; an incomplete last row is centred rather than left-aligned */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 14px;
  border-top: 1px solid rgba(162, 28, 64, 0.25);
}
.amenities-monograph-grid li {
  flex: 0 0 calc((100% - 56px) / 5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.amenity-circular-ico {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(42, 39, 35, 0.15);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .35s var(--ease-cinematic), background .35s, transform .35s var(--ease-cinematic);
}
.amenity-circular-ico svg {
  width: 22px;
  height: 22px;
  stroke: #5E5854;
  fill: none;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .35s;
}
.amenities-monograph-grid li span:last-child {
  font: var(--text-caption);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.4;
  max-width: 140px;
  transition: color .35s ease;
}
.amenities-monograph-grid li:hover .amenity-circular-ico {
  border-color: var(--interactive);
  background: rgba(162, 28, 64, 0.04);
  transform: translateY(-3px);
}
.amenities-monograph-grid li:hover .amenity-circular-ico svg {
  stroke: var(--interactive);
}
.amenities-monograph-grid li:hover span:last-child {
  color: var(--interactive);
}

/* ==========================================================================
   06B SIGNATURE AMENITIES (100VH) — PLAIN VIDEO WITH HEADING & SUBLINE
   ========================================================================== */
.signature-amenities-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #0B0A09;
  color: #FFFFFF;
  padding: 0;
  margin: 0;
}
.sig-stage-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}
.sig-stage-backdrop video,
.sig-stage-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sig-stage-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 10, 9, 0.78) 0%,
    rgba(11, 10, 9, 0.3) 35%,
    rgba(11, 10, 9, 0.05) 60%,
    rgba(11, 10, 9, 0.4) 100%
  );
  pointer-events: none;
}
.sig-plain-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: clamp(32px, 6vh, 64px) clamp(28px, 6vw, 72px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
}
.sig-text-block {
  max-width: 680px;
  pointer-events: auto;
}
.sig-video-eyebrow {
  display: block;
  font: var(--text-subheading);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.sig-video-heading {
  font: var(--text-display-md);
  letter-spacing: -0.02em;
  color: #FFFFFF;
  line-height: 1.18;
  margin: 0 0 10px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}
.sig-video-heading,
.sig-video-heading em {
  color: #FFFFFF;
}
.sig-video-subline {
  font: var(--text-body-sm);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin: 0;
  max-width: 540px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}
.sig-plain-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto;
  margin-bottom: 6px;
}
.sig-plain-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(14, 13, 12, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}
.sig-plain-btn:hover {
  background: var(--interactive);
  border-color: var(--interactive);
  transform: scale(1.08);
}
.sig-plain-btn svg {
  width: 18px;
  height: 18px;
}
.sig-plain-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.sig-pdot {
  width: 22px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}
.sig-pdot.active {
  background: #FFFFFF;
  width: 36px;
}
.sig-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 4;
}
.sig-progress-fill {
  height: 100%;
  background: var(--interactive);
  width: 0%;
}
@media (max-width: 768px) {
  .sig-plain-overlay {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }
}

/* ==========================================================================
   07 GALLERY (100VH) — ARCHITECTURAL TRIPTYCH
   ========================================================================== */
.gallery-triptych-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 100%;
  max-height: 450px;
}
.gallery-triptych-tile {
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  border: var(--border-hairline);
  cursor: pointer;
  background: var(--surface-sunken);
}
.gallery-triptych-tile.is-hero { grid-row: span 2; }
.gallery-triptych-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-cinematic);
}
.gallery-triptych-tile:hover img { transform: scale(1.04); }
.gallery-tile-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(29, 26, 24, 0.8) 0%, transparent 60%);
  opacity: 0.85;
  transition: opacity 0.3s;
}
.gallery-triptych-tile:hover .gallery-tile-scrim { opacity: 1; }
.gallery-caption-overlay {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  font: var(--text-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-layout-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.faq-monograph-list {
  display: flex;
  flex-direction: column;
  border-top: var(--border-hairline);
}
.faq-monograph-row {
  border-bottom: var(--border-hairline);
  padding: 14px 10px;
  transition: background-color 0.35s ease, padding-left 0.35s var(--ease-cinematic);
}
.faq-monograph-row:hover {
  background: rgba(162, 28, 64, 0.02);
  padding-left: 16px;
}
.faq-monograph-row summary {
  cursor: pointer;
  font: var(--text-heading);
  font-size: 1.05rem;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-monograph-row summary::-webkit-details-marker { display: none; }
.faq-monograph-row summary::after {
  content: '+';
  font: 400 1.4rem/1 var(--font-display);
  color: var(--interactive);
  flex: 0 0 auto;
  transition: transform 0.35s var(--ease-cinematic);
}
.faq-monograph-row[open] summary::after { transform: rotate(45deg); }
.faq-monograph-row p {
  font: var(--text-body-sm);
  color: var(--text-secondary);
  margin: 10px 0 0;
  line-height: 1.6;
}

/* ==========================================================================
   09 VISIT / CLOSING BOOKEND (100VH)
   ========================================================================== */
.project-closing {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-9) var(--margin-page);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.project-closing-bg { position: absolute; inset: 0; z-index: -2; }
.project-closing-bg img { width: 100%; height: 100%; object-fit: cover; }
.project-closing-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(29, 26, 24, 0.9) 0%, rgba(29, 26, 24, 0.65) 60%, rgba(29, 26, 24, 0.45) 100%);
}
.project-closing .eyebrow { color: var(--interactive); text-align: center; }
.project-closing h2 {
  font: var(--text-display-md);
  letter-spacing: -0.02em;
  color: var(--text-on-dark);
  margin: 0 0 14px;
}
.project-closing p {
  font: var(--text-body);
  color: var(--text-on-dark-muted);
  margin: 0 auto 32px;
  max-width: 660px;
}
.project-closing-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}



.mobile-contact-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  background: var(--charcoal);
  border-top: 1px solid color-mix(in oklab, white 14%, transparent);
}
.mobile-contact-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  font: var(--text-ui-sm);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-on-dark);
}
.mobile-contact-bar a:first-child { border-right: 1px solid color-mix(in oklab, white 14%, transparent); }
.mobile-contact-bar a.is-accent { background: var(--garnet); color: var(--warm-white); }

/* S.I.S Brand Modal Dialog */
.sis-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(42, 39, 35, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-cinematic);
}
.sis-modal-overlay.open { opacity: 1; pointer-events: auto; }
.sis-modal-dialog {
  max-width: 840px;
  width: 100%;
  background: var(--warm-white);
  border: var(--border-hairline);
  border-radius: 0px;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lifted);
  transform: scale(0.96);
  transition: transform 0.35s var(--ease-cinematic);
}
.sis-modal-overlay.open .sis-modal-dialog { transform: scale(1); }
.sis-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 0px;
  background: var(--travertine);
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sis-modal-close:hover { background: var(--interactive); color: #FFFFFF; }
.modal-form-grid { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.modal-input {
  width: 100%;
  padding: 12px 14px;
  background: #FFFFFF;
  border: var(--border-hairline);
  border-radius: 0px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
}
.modal-input:focus { border-color: var(--interactive); }

/* Responsive Media Queries */
@media (max-width: 960px) {
  html { scroll-snap-type: none; }
  .snap-section { height: auto !important; max-height: none !important; min-height: 100vh; padding: 84px var(--margin-page) 44px; }
  .section-inner { max-height: none; }
  .overview-layout, .location-layout, .masterplan-layout, .residences-layout, .status-faq-layout {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .floorplan-frameless-stage { height: 420px !important; }
  .floorplan-frameless-stage img.residence-render-img { transform: scale(1) !important; }
  .gallery-triptych-grid { grid-template-columns: 1fr 1fr; max-height: none; }
  .gallery-triptych-tile.is-hero { grid-row: auto; grid-column: span 2; height: 260px; }
  .amenities-monograph-grid li { flex-basis: calc((100% - 28px) / 3); }
  .footer-cols { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 560px) {
  .amenities-monograph-grid li { flex-basis: calc((100% - 14px) / 2); }
  .hairline-metric-band { grid-template-columns: 1fr; }
  .metric-cell { border-right: none !important; border-top: var(--border-hairline); }
  .metric-cell:first-child { border-top: none; }
  .footer-cols { grid-template-columns: 1fr !important; }
  .footer-cta { flex-direction: column !important; align-items: flex-start !important; }
  
}
