/* ==========================================================================
   Clob Group — Luxury Residential Brokerage Design System
   Typography: Italiana (Display) + DM Sans (Editorial UI & Copy)
   ========================================================================== */

:root {
  --bg-obsidian: #111111;
  --bg-charcoal: #171717;
  --bg-panel-dark: #1d1d1d;
  --bg-alabaster: #f7f5f0;
  --bg-stone: #efece6;
  --bg-white: #ffffff;

  --ink: #141414;
  --ink-secondary: #4e4b46;
  --ink-muted: #706c65;
  --ink-light: #f4f1eb;
  --ink-light-secondary: rgba(244, 241, 235, 0.74);
  --ink-light-muted: rgba(244, 241, 235, 0.52);

  --clob-red: #b82025;
  --clob-red-hover: #96181c;

  --rule-dark: rgba(20, 20, 20, 0.12);
  --rule-dark-strong: rgba(20, 20, 20, 0.24);
  --rule-light: rgba(244, 241, 235, 0.14);
  --rule-light-strong: rgba(244, 241, 235, 0.28);

  --font-display: "Italiana", Georgia, "Times New Roman", serif;
  --font-editorial-italic: Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shell-max: 1280px;
  --shell-gutter: clamp(1.25rem, 4vw, 3.5rem);
  --header-height: 84px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background-color: var(--bg-obsidian);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background-color: var(--bg-alabaster);
  color: var(--ink);
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  background-color: #22211f;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

/* Accessibility Skip Link */
.skip-link {
  position: fixed;
  top: -120px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background-color: var(--clob-red);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* Layout Shell & Vertical Rhythm */
.shell {
  width: min(100% - (var(--shell-gutter) * 2), var(--shell-max));
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(4.75rem, 8vw, 7.75rem);
}

/* Eyebrows, Labels & Display Headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light-muted);
  font-variant-numeric: tabular-nums;
}

.eyebrow-dark {
  color: var(--ink-muted);
}

.red-rule {
  display: inline-block;
  width: 28px;
  height: 1px;
  background-color: var(--clob-red);
}

.eyebrow-separator {
  color: rgba(244, 241, 235, 0.35);
}

.section-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clob-red);
  margin-bottom: 0.85rem;
}

.display-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.35rem, 4.6vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.display-heading em,
#heroTitle em {
  font-family: var(--font-editorial-italic);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.display-heading-light {
  color: var(--ink-light);
}

/* Buttons & Editorial Links */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

.button-red {
  background-color: var(--clob-red);
  border-color: var(--clob-red);
  color: #ffffff;
}

.button-red:hover,
.button-red:focus-visible {
  background-color: var(--clob-red-hover);
  border-color: var(--clob-red-hover);
}

.button-quiet {
  background-color: rgba(17, 17, 17, 0.42);
  border-color: var(--rule-light-strong);
  color: var(--ink-light);
  backdrop-filter: blur(6px);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  background-color: rgba(244, 241, 235, 0.12);
  border-color: var(--ink-light);
}

.button-outline-light {
  background-color: transparent;
  border-color: var(--rule-light-strong);
  color: var(--ink-light);
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  background-color: var(--ink-light);
  border-color: var(--ink-light);
  color: var(--bg-obsidian);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.dark-link {
  color: var(--ink);
  border-bottom-color: var(--rule-dark-strong);
}

.dark-link:hover,
.dark-link:focus-visible {
  color: var(--clob-red);
  border-bottom-color: var(--clob-red);
}

/* ==========================================================================
   Site Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(17, 17, 17, 0.56);
  backdrop-filter: blur(12px);
  transition: background-color 0.28s ease, border-color 0.28s ease;
}

.site-header.is-scrolled {
  background-color: rgba(17, 17, 17, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--ink-light);
}

.brand-logo-frame {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: #161415;
  flex-shrink: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(2.35) translate(0.6%, -1.4%);
  transform-origin: center;
  background-color: #161415;
}

.brand-logo.is-fallback {
  transform: none;
}

.brand-wordmark {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
}

.brand-wordmark span {
  font-weight: 400;
  color: rgba(244, 241, 235, 0.68);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.primary-nav a {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.82);
  transition: color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: #ffffff;
}

.primary-nav .nav-cta {
  padding: 0.68rem 1.15rem;
  border: 1px solid rgba(244, 241, 235, 0.28);
  color: #ffffff;
  font-weight: 600;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
  background-color: var(--clob-red);
  border-color: var(--clob-red);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(244, 241, 235, 0.22);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background-color: #ffffff;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(92vh, 920px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-height) + 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.25rem);
  background-color: var(--bg-obsidian);
  color: var(--ink-light);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0.48) 0%,
    rgba(17, 17, 17, 0.28) 44%,
    rgba(17, 17, 17, 0.84) 100%
  );
  pointer-events: none;
}

.hero-controls-bar {
  position: absolute;
  top: calc(var(--header-height) + 1.5rem);
  left: 0;
  right: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-controls-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-video-toggle {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 235, 0.34);
  background-color: rgba(17, 17, 17, 0.36);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.hero-video-toggle:hover,
.hero-video-toggle:focus-visible {
  background-color: rgba(17, 17, 17, 0.68);
  border-color: #ffffff;
  outline: none;
}

.hero-video-toggle .icon-play {
  display: none;
  transform: translateX(0.5px);
}

.hero-video-toggle.is-paused .icon-pause {
  display: none;
}

.hero-video-toggle.is-paused .icon-play {
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  color: rgba(244, 241, 235, 0.86);
  margin-bottom: 1.35rem;
}

#heroTitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 8.2vw, 7.2rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rule-light);
}

.hero-location {
  max-width: 34rem;
}

.small-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.64);
  margin-bottom: 0.5rem;
}

.hero-location p {
  font-size: 0.98rem;
  color: rgba(244, 241, 235, 0.86);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-index {
  position: absolute;
  right: var(--shell-gutter);
  top: calc(var(--header-height) + 1.75rem);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.68);
  font-variant-numeric: tabular-nums;
}

.hero-index i {
  display: inline-block;
  width: 32px;
  height: 1px;
  background-color: rgba(244, 241, 235, 0.35);
}

.hero-bottom-rule {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--rule-light);
}

/* ==========================================================================
   Portfolio Index Bar
   ========================================================================== */
.portfolio-bar {
  background-color: var(--bg-obsidian);
  border-bottom: 1px solid var(--rule-light);
}

.portfolio-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.6rem 1.75rem;
  border-right: 1px solid var(--rule-light);
  color: var(--ink-light);
  transition: background-color 0.2s ease;
}

.portfolio-item:first-child {
  padding-left: 0;
}

.portfolio-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.portfolio-item:hover,
.portfolio-item:focus-visible {
  background-color: rgba(255, 255, 255, 0.03);
}

.portfolio-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-light-muted);
  font-variant-numeric: tabular-nums;
}

.portfolio-item-direct .portfolio-tag {
  color: #e05257;
}

.portfolio-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.portfolio-sub {
  font-size: 0.84rem;
  color: var(--ink-light-secondary);
}

.property-separator {
  border-top: 2px solid var(--ink);
}

/* ==========================================================================
   Project Intro Sections
   ========================================================================== */
.project-intro {
  background-color: var(--bg-alabaster);
  border-bottom: 1px solid var(--rule-dark);
}

.intro-grid {
  display: grid;
  grid-template-columns: 3fr 9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.intro-side {
  padding-top: 0.35rem;
}

.side-note {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-dark);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.8;
  text-transform: uppercase;
  color: var(--ink-secondary);
}

.intro-copy-grid {
  margin-top: 2.25rem;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.intro-lead {
  font-size: clamp(1.15rem, 1.6vw, 1.38rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
}

.intro-support {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  align-items: flex-start;
  color: var(--ink-secondary);
  font-size: 0.98rem;
}

.intro-support .text-link {
  margin-top: 0.5rem;
}

/* ==========================================================================
   Residences Specifications & Floorplate Schedule
   ========================================================================== */
.residences-section {
  background-color: var(--bg-stone);
  border-bottom: 1px solid var(--rule-dark);
}

.section-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule-dark);
  margin-bottom: 2.5rem;
}

.section-note {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.residences-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.residences-heading p {
  max-width: 28rem;
  color: var(--ink-secondary);
  font-size: 0.96rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule-dark-strong);
  border-left: 1px solid var(--rule-dark);
  background-color: var(--bg-white);
}

.spec-card {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  display: flex;
  flex-direction: column;
  min-height: 250px;
}

.spec-index {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  margin-bottom: 1.75rem;
}

.spec-value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.5vw, 3.35rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 1.25rem;
}

.spec-value span {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-left: 0.35rem;
}

.status-word {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.8vw, 2.65rem);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.status-word span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--clob-red);
}

.spec-card h3 {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.spec-card p:last-child {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.55;
  margin-top: auto;
}

.spec-footnote {
  margin-top: 1.5rem;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

/* Santo Domingo Architectural Floorplate Table */
.schedule-wrap {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--rule-dark-strong);
}

.schedule-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.schedule-sub {
  margin-top: 0.45rem;
  font-size: 0.94rem;
  color: var(--ink-secondary);
}

.schedule-table-scroll {
  overflow-x: auto;
  background-color: var(--bg-white);
  border: 1px solid var(--rule-dark);
}

.schedule-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.schedule-table th {
  padding: 1rem 1.15rem;
  background-color: var(--bg-alabaster);
  border-bottom: 1px solid var(--rule-dark-strong);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}

.schedule-table td {
  padding: 1.15rem 1.15rem;
  border-bottom: 1px solid var(--rule-dark);
  color: var(--ink-secondary);
  vertical-align: middle;
}

.schedule-table td strong {
  color: var(--ink);
  font-weight: 600;
}

.schedule-table tbody tr:last-child td {
  border-bottom: 0;
}

.schedule-table tbody tr:hover td {
  background-color: rgba(247, 245, 240, 0.65);
}

.plan-trigger {
  padding: 0.45rem 0.85rem;
  background-color: transparent;
  border: 1px solid var(--rule-dark-strong);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.plan-trigger:hover,
.plan-trigger:focus-visible {
  background-color: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

/* ==========================================================================
   Gallery Sections
   ========================================================================== */
.gallery-section {
  background-color: var(--bg-alabaster);
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.75rem;
}

.section-heading-row .eyebrow {
  margin-bottom: 0.75rem;
}

.section-summary {
  max-width: 27rem;
  font-size: 0.95rem;
  color: var(--ink-secondary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  grid-column: span 6;
  height: 350px;
  padding: 0;
  border: 1px solid var(--rule-dark);
  background-color: #1c1b1a;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
}

.gallery-item-large {
  grid-column: span 8;
  height: 450px;
}

.gallery-grid .gallery-item:nth-child(2) {
  grid-column: span 4;
  height: 450px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0) 52%, rgba(17, 17, 17, 0.78) 100%);
  pointer-events: none;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.035);
}

.gallery-caption {
  position: absolute;
  left: 1.15rem;
  bottom: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.72);
  font-variant-numeric: tabular-nums;
}

.gallery-caption span {
  color: #ffffff;
  font-weight: 500;
}

.gallery-open {
  position: absolute;
  right: 1.15rem;
  bottom: 0.95rem;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background-color: rgba(17, 17, 17, 0.48);
  color: #ffffff;
  font-size: 0.85rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.gallery-item:hover .gallery-open,
.gallery-item:focus-visible .gallery-open {
  background-color: var(--clob-red);
  border-color: var(--clob-red);
}

.image-note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Amenities Sections (Dark Obsidian Rhythm)
   ========================================================================== */
.amenities-section {
  background-color: var(--bg-obsidian);
  color: var(--ink-light);
}

.amenities-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}

.amenities-heading .eyebrow {
  margin-bottom: 1rem;
}

.amenities-heading p {
  margin-top: 1.35rem;
  margin-bottom: 2rem;
  color: var(--ink-light-secondary);
  font-size: 0.98rem;
  max-width: 26rem;
}

.amenities-content {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.amenity-group {
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-light);
}

.amenity-group-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e05257;
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}

.amenity-group ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.75rem;
}

.amenity-group li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.94rem;
  color: rgba(244, 241, 235, 0.88);
  line-height: 1.5;
}

.amenity-group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 5px;
  height: 1px;
  background-color: rgba(244, 241, 235, 0.55);
}

.amenities-footnote {
  padding-top: 1rem;
  border-top: 1px solid var(--rule-light);
  font-size: 0.8rem;
  color: var(--ink-light-muted);
}

/* ==========================================================================
   Due-Diligence / Buyer Brief Section
   ========================================================================== */
.offplan-section {
  background-color: var(--bg-stone);
  border-top: 1px solid var(--rule-dark);
}

.offplan-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 5.25rem);
  align-items: center;
}

.offplan-image {
  position: relative;
  border: 1px solid var(--rule-dark);
  background-color: #1c1b1a;
}

.offplan-image img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.image-stamp {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.75rem;
  background-color: rgba(17, 17, 17, 0.82);
  color: var(--ink-light);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.offplan-copy .eyebrow {
  margin-bottom: 0.85rem;
}

.offplan-copy > p {
  margin-top: 1.25rem;
  color: var(--ink-secondary);
  font-size: 0.98rem;
}

.buyer-checklist {
  list-style: none;
  padding: 0;
  margin-block: 1.75rem;
  border-top: 1px solid var(--rule-dark);
}

.buyer-checklist li {
  padding: 0.85rem 0 0.85rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--rule-dark);
  font-size: 0.94rem;
  color: var(--ink);
}

.buyer-checklist li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--clob-red);
}

.offplan-disclaimer {
  font-size: 0.84rem !important;
  color: var(--ink-muted) !important;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   WhatsApp Enquiry Section
   ========================================================================== */
.enquiry-section {
  background-color: var(--bg-charcoal);
  color: var(--ink-light);
  border-top: 1px solid var(--rule-light);
}

.enquiry-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 5vw, 4.75rem);
  align-items: start;
}

.enquiry-intro .eyebrow {
  margin-bottom: 1rem;
}

.enquiry-intro > p {
  margin-top: 1.25rem;
  color: var(--ink-light-secondary);
  font-size: 0.98rem;
  max-width: 27rem;
}

.enquiry-project-ref {
  margin-top: 2.25rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--rule-light);
  background-color: rgba(255, 255, 255, 0.025);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.enquiry-project-ref span:first-child {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e05257;
}

.enquiry-project-ref strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.9rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.enquiry-project-ref strong a:hover {
  text-decoration: underline;
}

.enquiry-project-ref span:last-child {
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-light-muted);
}

.direct-wa-btn {
  margin-top: 1.25rem;
}

.enquiry-form {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background-color: var(--bg-obsidian);
  border: 1px solid var(--rule-light);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule-light);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-light-muted);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field span {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(244, 241, 235, 0.78);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  background-color: var(--bg-panel-dark);
  border: 1px solid var(--rule-light);
  color: #ffffff;
  font-size: 0.94rem;
  border-radius: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(244, 241, 235, 0.36);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink-light);
  background-color: #222222;
}

.form-field input.is-invalid,
.form-field select.is-invalid {
  border-color: #e05257;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--ink-light-secondary);
  cursor: pointer;
}

.consent-field input {
  margin-top: 0.25rem;
  accent-color: var(--clob-red);
}

.form-submit {
  width: 100%;
  padding-block: 1.05rem;
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.86rem;
  color: var(--ink-light);
}

.form-status[data-state="error"] {
  color: #f07478;
}

.form-status a {
  text-decoration: underline;
  color: #ffffff;
}

.form-privacy {
  font-size: 0.78rem;
  color: var(--ink-light-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background-color: #0b0b0b;
  color: #ffffff;
  border-top: 0;
}

.footer-brand,
.footer-brand .brand-wordmark,
.footer-brand .brand-wordmark span {
  color: #ffffff;
}

.footer-top {
  padding-top: 3rem;
  padding-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 0;
}

.footer-top p {
  font-size: 0.88rem;
  color: #ffffff;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.footer-whatsapp,
.footer-backtop {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.footer-whatsapp:hover,
.footer-backtop:hover {
  color: #ffffff;
  opacity: 0.78;
}

.footer-bottom {
  padding-top: 0.75rem;
  padding-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Lightbox Modal (<dialog>)
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  padding: clamp(1rem, 3vw, 2.25rem);
  border: 0;
  background-color: rgba(12, 12, 12, 0.96);
  color: var(--ink-light);
  z-index: 1000;
}

.lightbox[open] {
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: center;
}

.lightbox::backdrop {
  background-color: rgba(10, 10, 10, 0.92);
}

.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.lightbox-close {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--rule-light-strong);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background-color: var(--clob-red);
  border-color: var(--clob-red);
}

.lightbox-figure {
  max-width: min(1160px, 86vw);
  max-height: 80vh;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

#lightboxImage {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--rule-light);
}

#lightboxCaption {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light-secondary);
  text-align: center;
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: rgba(24, 24, 24, 0.85);
  border: 1px solid var(--rule-light-strong);
  color: #ffffff;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
}

.lightbox-arrow:hover {
  background-color: var(--clob-red);
  border-color: var(--clob-red);
}

.lightbox-prev {
  left: clamp(0.75rem, 2.5vw, 2rem);
}

.lightbox-next {
  right: clamp(0.75rem, 2.5vw, 2rem);
}

.noscript-note {
  margin: 0;
  padding: 1rem 1.5rem;
  background-color: var(--clob-red);
  color: #ffffff;
  text-align: center;
  font-size: 0.88rem;
}

.noscript-note a {
  text-decoration: underline;
  font-weight: 600;
}
