/* ================================================================
   premium.css — Private Residence, Panorama Voula
   Estates by LevD&C — using full design system tokens
   ================================================================ */

/* ── Resets ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }

/* ── Skip link ───────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-label);
  font-size: var(--text-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ────────────────────────────────────────────────────────────── */
/* ── NAVIGATION ────────────────────────────────────────────── */
/* ────────────────────────────────────────────────────────────── */

#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition:
    background 220ms var(--ease),
    backdrop-filter 220ms var(--ease);
}
#nav.scrolled {
  background: rgba(26, 22, 18, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pnav-inner {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Default: dark ink over light hero */
.estates-wordmark {
  font-family: var(--display);
  font-size: 1.125rem;
  font-weight: var(--w-light);
  letter-spacing: 0.05em;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 220ms var(--ease), color 220ms var(--ease);
  line-height: 1;
}
.estates-wordmark em { font-style: italic; }
.estates-wordmark:hover { opacity: 0.55; }
#nav.scrolled .estates-wordmark { color: var(--white); }

.btn-ghost-nav {
  font-family: var(--font-label);
  font-size: var(--text-label);
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(20, 17, 13, 0.3);
  padding: 0 1.5rem;
  height: 44px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition:
    background 220ms var(--ease),
    border-color 220ms var(--ease),
    color 220ms var(--ease);
}
.btn-ghost-nav:hover {
  background: rgba(20, 17, 13, 0.06);
  border-color: rgba(20, 17, 13, 0.55);
}
.btn-ghost-nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
#nav.scrolled .btn-ghost-nav {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}
#nav.scrolled .btn-ghost-nav:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.65);
}
#nav.scrolled .btn-ghost-nav:focus-visible {
  outline-color: var(--champagne);
}

/* ────────────────────────────────────────────────────────────── */
/* ── HERO  (bone — light & airy) ───────────────────────────── */
/* ────────────────────────────────────────────────────────────── */

.hero {
  min-height: 84vh;
  background: var(--bg);
  display: grid;
  grid-template-columns: 6fr 5fr;
  overflow: hidden;
}

/* Text fills the full column — no max-width or auto margin
   that would create dead space at the left edge */
.hero-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  padding: calc(var(--nav-h) + var(--space-6)) var(--space-6) var(--space-7) var(--space-6);
}

.hero-eyebrow {
  color: var(--ink-muted);
}

/* h1: Cormorant light, dark ink — italic em in olive bronze */
.hero-text-col h1 {
  font-size: var(--text-display);
  line-height: var(--lh-hero);
  letter-spacing: var(--ls-display);
  color: var(--ink);
  font-weight: var(--w-light);
  margin: 0;
  overflow-wrap: break-word;
}
.hero-text-col h1 em {
  font-style: italic;
  font-weight: var(--w-light);
  color: var(--accent);  /* Olive Bronze — DS rule: accent on light bg */
}

.hero-img-col {
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-img-stack {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--bg);
  animation: heroCrossfade 6s ease-in-out infinite;
}
.hero-img:nth-of-type(2) {
  animation-delay: -3s;
}
@keyframes heroCrossfade {
  0%, 45%  { opacity: 1; }
  50%, 95% { opacity: 0; }
  100%     { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-img { animation: none; }
  .hero-img:nth-of-type(2) { opacity: 0; }
}

/* Ghost button on light bg — dark ink border */
.btn-ghost-hero {
  align-self: center;
  font-family: var(--font-label);
  font-size: var(--text-label);
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 0 2rem;
  height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: background 220ms var(--ease), color 220ms var(--ease);
}
.btn-ghost-hero::after {
  content: '→';
  transition: transform 300ms var(--ease);
}
.btn-ghost-hero:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-ghost-hero:hover::after {
  transform: translateX(4px);
}
.btn-ghost-hero:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ────────────────────────────────────────────────────────────── */
/* ── STATS STRIP ───────────────────────────────────────────── */
/* ────────────────────────────────────────────────────────────── */

.stats-strip {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-7) var(--space-5);
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:nth-child(2n) { border-right: none; }
.stat-item:nth-child(n+3) { border-top: 1px solid var(--border); }

.stat-num {
  font-family: var(--display);
  font-size: var(--text-lg);
  font-weight: var(--w-light);
  letter-spacing: var(--ls-display);
  line-height: 1;
  color: var(--ink);
}
.stat-num em {
  font-style: italic;
  font-size: 0.58em;
  color: var(--ink-soft);
  letter-spacing: 0;
}

.stat-label {
  font-family: var(--font-label);
  font-size: var(--text-caption);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Staggered entrance */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .stat-item:nth-child(1) { transition-delay: 0ms; }
  .js-reveal .stat-item:nth-child(2) { transition-delay: 80ms; }
  .js-reveal .stat-item:nth-child(3) { transition-delay: 160ms; }
  .js-reveal .stat-item:nth-child(4) { transition-delay: 240ms; }
  .js-reveal .stat-item:nth-child(5) { transition-delay: 320ms; }
  .js-reveal .stat-item:nth-child(6) { transition-delay: 400ms; }
}

/* ────────────────────────────────────────────────────────────── */
/* ── ARCHITECT'S NOTE  (bone — editorial pause) ───────────── */
/* ────────────────────────────────────────────────────────────── */

.note {
  background: var(--bg);
  padding: var(--space-8) var(--space-5);
}

.note-inner {
  max-width: var(--max-text);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.note-inner .eyebrow {
  color: var(--accent);
  margin-bottom: var(--space-1);
}

.note-inner h2 {
  font-size: var(--text-lg);
  line-height: 1.05;
  margin-bottom: var(--space-3);
}
.note-inner h2 em {
  font-style: italic;
  color: var(--accent);
}

/* ────────────────────────────────────────────────────────────── */
/* ── EDITORIAL  (warm stone) ───────────────────────────────── */
/* ────────────────────────────────────────────────────────────── */

.editorial {
  background: var(--bg-warm);
}

.editorial-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;    /* mobile: stacked */
  align-items: stretch;
}

/* DS pattern: text left (5fr), image right (7fr) */
.editorial-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-7) var(--space-6);
  order: 0;
}

.editorial-text-col .eyebrow {
  color: var(--accent);
  margin-bottom: var(--space-1);
}

/* Italic em in headings: olive bronze */
.editorial-text-col h2 {
  font-size: var(--text-lg);
  line-height: 1.05;
}
.editorial-text-col h2 em {
  font-style: italic;
  color: var(--accent);
}

.editorial-img-col {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  order: -1;                    /* image first on mobile */
}

.editorial-img-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

.editorial-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 900ms var(--ease-out);
  animation: editorialCrossfade 6s ease-in-out infinite;
}
.editorial-img:nth-of-type(2) {
  animation-delay: -3s;
}
@keyframes editorialCrossfade {
  0%, 45%  { opacity: 1; }
  50%, 95% { opacity: 0; }
  100%     { opacity: 1; }
}
.editorial-img-col:hover .editorial-img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .editorial-img { animation: none; }
  .editorial-img:nth-of-type(2) { opacity: 0; }
}

/* ────────────────────────────────────────────────────────────── */
/* ── INTERIOR GALLERY  (bone) ──────────────────────────────── */
/* ────────────────────────────────────────────────────────────── */

.gallery {
  background: var(--bg);
  padding: var(--space-8) var(--space-5);
  border-top: 1px solid var(--border);
}

.gallery-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.gallery-header {
  max-width: var(--max-text);
  margin-bottom: var(--space-7);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.gallery-header .eyebrow { color: var(--accent); }

.gallery-header h2 {
  font-size: var(--text-lg);
  line-height: 1.05;
}
.gallery-header h2 em {
  font-style: italic;
  color: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.gallery-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin: 0;
}

.gallery-img-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-deep);
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}

.gallery-item:hover .gallery-img-wrap img {
  transform: scale(1.03);
}

.gallery-item figcaption {
  font-family: var(--font-label);
  font-size: var(--text-caption);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-top: var(--space-2);
  border-top: 1px solid var(--border-soft);
}

/* ────────────────────────────────────────────────────────────── */
/* ── IMAGE LIGHTBOX ────────────────────────────────────────── */
/* ────────────────────────────────────────────────────────────── */

.gallery-img-wrap { cursor: zoom-in; }
.gallery-img-wrap:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

body.lb-open { overflow: hidden; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 8, 10, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  opacity: 0;
  transition: opacity 220ms var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }

.lb-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  max-width: 92vw;
  max-height: 92vh;
}

.lb-img {
  max-width: 92vw;
  max-height: calc(92vh - 64px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lb-caption {
  font-family: var(--font-label);
  font-size: var(--text-caption);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}
.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.lb-close:focus-visible,
.lb-prev:focus-visible,
.lb-next:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.lb-close { top: var(--space-4); right: var(--space-4); }
.lb-prev  { left: var(--space-4); top: 50%; transform: translateY(-50%); }
.lb-next  { right: var(--space-4); top: 50%; transform: translateY(-50%); }

@media (max-width: 720px) {
  .lb-close { top: 12px; right: 12px; }
  .lb-prev  { left: 12px; }
  .lb-next  { right: 12px; }
}

/* ────────────────────────────────────────────────────────────── */
/* ── AMENITIES  (bone) ─────────────────────────────────────── */
/* ────────────────────────────────────────────────────────────── */

.amenities {
  background: var(--bg);
  padding: var(--space-8) var(--space-5);
}

.amenities-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.amenities-header {
  max-width: var(--max-text);
  margin-bottom: var(--space-7);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.amenities-header .eyebrow { color: var(--accent); }

.amenities-header h2 {
  font-size: var(--text-lg);
  line-height: 1.05;
}
.amenities-header h2 em {
  font-style: italic;
  color: var(--accent);
}

.amenities-note {
  font-family: var(--font-label);
  font-size: var(--text-caption);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: var(--space-1);
}

.amenities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.amenity-col h3 {
  font-family: var(--display);
  font-size: var(--text-body-l);
  font-weight: var(--w-regular);
  letter-spacing: var(--ls-heading);
  color: var(--ink);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}

.amenity-col ul { display: flex; flex-direction: column; }

.amenity-col li {
  font-family: var(--body);
  font-size: var(--text-body);
  color: var(--ink-soft);
  line-height: var(--lh-body);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* DS horizontal-rule bullet — champagne line (restrained use) */
.amenity-col li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--champagne);
  flex-shrink: 0;
  opacity: 0.65;
}

/* ────────────────────────────────────────────────────────────── */
/* ── ENQUIRE  (dark — the single dark moment) ──────────────── */
/* ────────────────────────────────────────────────────────────── */

.enquire {
  background: var(--bg-dark);
  padding: var(--space-8) var(--space-5);
}

.enquire-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Two-column layout: text+contact on the left, form on the right */
.enquire-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
}
@media (min-width: 900px) {
  .enquire-grid {
    grid-template-columns: 5fr 6fr;
    gap: var(--space-7);
    align-items: start;
  }
}

.enquire-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 560px;
}

.enquire-text .eyebrow { color: var(--champagne-soft); }

.enquire-text h2 {
  color: var(--white);
  font-size: var(--text-lg);
  line-height: 1.05;
}
.enquire-text h2 em {
  font-style: italic;
  color: var(--champagne-soft); /* DS: champagne italic on dark */
}

.enquire-text > p { color: var(--ink-muted); }

.contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-label);
  font-size: var(--text-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--champagne-soft);
  text-decoration: none;
  min-height: 56px;
  border-bottom: 1px solid var(--border-dark);
  cursor: pointer;
  transition: color 200ms var(--ease);
}
.contact-link:hover { color: var(--white); }
.contact-link:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 2px;
}
.contact-link svg {
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 200ms var(--ease);
}
.contact-link:hover svg { opacity: 0.85; }

/* DS primary button on dark: paper/bone background, dark ink text */
.btn-primary-estates {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 3rem;
  height: 56px;
  background: var(--paper);     /* bone white — DS: paper bg on dark */
  color: var(--ink);
  font-family: var(--font-label);
  font-size: var(--text-label);
  letter-spacing: var(--ls-button);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 220ms var(--ease), color 220ms var(--ease);
}
.btn-primary-estates::after {
  content: '→';
  transition: transform 300ms var(--ease);
}
.btn-primary-estates:hover {
  background: var(--champagne-soft);
  color: var(--ink);
}
.btn-primary-estates:hover::after { transform: translateX(4px); }
.btn-primary-estates:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 3px;
}

/* Quiet variant of .contact-link — sits within prose, no row chrome */
.contact-link-quiet {
  align-self: flex-start;
  min-height: 0;
  border-bottom: 0;
  padding: var(--space-2) 0 0;
  margin-top: var(--space-2);
}

/* ────────────────────────────────────────────────────────────── */
/* ── ESTATES FORM  (within dark enquire section) ──────────── */
/* ────────────────────────────────────────────────────────────── */

.estates-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 560px;
  width: 100%;
  justify-self: end;
}

.ef-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 560px) {
  .ef-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }
}

.ef-field {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ef-field label {
  font-family: var(--font-label);
  font-size: var(--text-label);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--champagne-soft);
}
.ef-field label span[aria-hidden] {
  color: var(--champagne);
  margin-left: 0.25em;
}

.ef-field input,
.ef-field textarea {
  width: 100%;
  padding: 0.7rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-dark);
  color: var(--white);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0;
  transition: border-color 220ms var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.ef-field textarea {
  resize: vertical;
  min-height: 7rem;
  padding-top: 0.8rem;
}

.ef-field input::placeholder,
.ef-field textarea::placeholder {
  color: rgba(250, 247, 242, 0.32);
  font-style: italic;
}

.ef-field input:hover,
.ef-field textarea:hover {
  border-bottom-color: rgba(168, 148, 107, 0.45);
}
.ef-field input:focus,
.ef-field textarea:focus {
  outline: none;
  border-bottom-color: var(--champagne);
}

/* Autofill: keep dark theme — override the browser's white-yellow */
.ef-field input:-webkit-autofill,
.ef-field input:-webkit-autofill:focus,
.ef-field textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--white);
  -webkit-box-shadow: 0 0 0 1000px var(--bg-dark) inset;
  caret-color: var(--white);
  transition: background-color 99999s ease-out;
}

.ef-submit {
  margin-top: var(--space-2);
  align-self: flex-start;
}

.ef-note {
  font-family: var(--body);
  font-size: var(--text-body-s);
  font-style: italic;
  color: var(--ink-muted);
  line-height: 1.65;
  margin: 0;
  max-width: 48ch;
}

.ef-success {
  font-family: var(--display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--champagne-soft);
  letter-spacing: -0.005em;
  line-height: 1.5;
  padding: var(--space-4) 0 var(--space-2);
  border-top: 1px solid rgba(168, 148, 107, 0.22);
  margin-top: var(--space-3);
}

/* ────────────────────────────────────────────────────────────── */
/* ── FOOTER  (dark — flows from enquire) ───────────────────── */
/* ────────────────────────────────────────────────────────────── */

.pfoot {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: var(--space-7) var(--space-5) var(--space-6);
}

.pfoot-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.pfoot-brand { display: flex; flex-direction: column; gap: var(--space-2); }

.pfoot-wordmark {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--w-light);
  color: var(--white);
  letter-spacing: -0.035em;
  line-height: 1;
}
.pfoot-wordmark em {
  font-style: italic;
  color: var(--champagne-soft);
}

.pfoot-desc {
  font-family: var(--body);
  font-size: var(--text-body-s);
  color: rgba(250, 247, 242, 0.55);
  line-height: 1.7;
  max-width: 340px;
  margin: var(--space-2) 0 0;
}

.pfoot-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}
.pfoot-links a {
  font-family: var(--display);
  font-size: var(--text-body-s);
  letter-spacing: -0.005em;
  color: var(--white);
  text-decoration: none;
  transition: color 200ms var(--ease);
}
.pfoot-links a:hover { color: var(--champagne-soft); }
.pfoot-links a:focus-visible {
  outline: 2px solid var(--champagne);
  outline-offset: 2px;
}

.pfoot-copy {
  font-family: var(--font-label);
  font-size: var(--text-caption);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.35);
  margin: 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-dark);
}

/* ────────────────────────────────────────────────────────────── */
/* ── REVEAL ANIMATION ──────────────────────────────────────── */
/* ────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 700ms var(--ease-out),
      transform 700ms var(--ease-out);
  }
  .js-reveal .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ────────────────────────────────────────────────────────────── */
/* ── MOBILE  (max 767px) ───────────────────────────────────── */
/* ────────────────────────────────────────────────────────────── */

@media (max-width: 767px) {
  /* Hero: stack, image on top */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-img-col {
    height: 50vw;
    min-height: 220px;
    order: -1;
    aspect-ratio: unset;
    padding-top: 0;
  }
  .hero-text-col {
    padding: var(--space-6) var(--space-4) var(--space-7);
    gap: var(--space-4);
  }
  .btn-ghost-hero {
    align-self: stretch;
    justify-content: center;
  }

  /* Stats: 2×2 */
  .stat-item { padding: var(--space-5) var(--space-4); }

  /* Architect's Note */
  .note { padding: var(--space-7) var(--space-4); }

  /* Editorial */
  .editorial-text-col { padding: var(--space-6) var(--space-4); }

  /* Gallery */
  .gallery { padding: var(--space-7) var(--space-4); }
  .gallery-grid { gap: var(--space-4); }

  /* Amenities */
  .amenities { padding: var(--space-7) var(--space-4); }

  /* Enquire */
  .enquire { padding: var(--space-7) var(--space-4); }
  .btn-primary-estates { align-self: stretch; padding: 0; }
}

/* ────────────────────────────────────────────────────────────── */
/* ── TABLET  (768px+) ──────────────────────────────────────── */
/* ────────────────────────────────────────────────────────────── */

@media (min-width: 768px) {
  /* Editorial: text left, image right */
  .editorial-inner { grid-template-columns: 1fr 1fr; }
  .editorial-img-col {
    aspect-ratio: unset;
    min-height: 480px;
    order: 0;                   /* natural order: text left, image right */
  }
  .editorial-text-col { order: 0; }

  /* Gallery: 2-col */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }

  /* Amenities: 3-col */
  .amenities-grid { grid-template-columns: repeat(3, 1fr); }

  /* Enquire contacts: row */
  .enquire-contacts {
    flex-direction: row;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
  }
  .enquire-contacts .contact-link {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid var(--border-dark);
    padding: 0 var(--space-4);
  }
  .enquire-contacts .contact-link:last-child { border-right: none; }

  /* Footer: horizontal */
  .pfoot-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: var(--space-6);
  }
}

/* ────────────────────────────────────────────────────────────── */
/* ── DESKTOP  (1024px+) ────────────────────────────────────── */
/* ────────────────────────────────────────────────────────────── */

@media (min-width: 1024px) {
  /* DS editorial ratio: text 5fr, image 7fr */
  .editorial-inner { grid-template-columns: 5fr 7fr; }
  .editorial-img-col { min-height: 560px; }
  .editorial-text-col { padding: var(--space-8) var(--space-7); }

  /* Gallery: 3-col bento with breathing room */
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }

  /* Stats: single horizontal line */
  .stats-inner { grid-template-columns: repeat(4, 1fr); }
  .stat-item { padding: var(--space-7) var(--space-4); border-top: 0; border-right: 1px solid var(--border); }
  .stat-item:last-child { border-right: none; }
}
