/* ==========================================================================
   THE CITY CENTER — MARKETING MICROSITE
   styles.css
   Palette: Navy #0B1E42 · Gold #C8A24A · Ivory #F5F1E8 · Ink #0C1116
   Typography: Anton (display) · Archivo (headlines) · Fraunces (numerals/pull)
               · Inter (body/UI)
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Core palette */
  --navy:          #0B1E42;
  --navy-deep:     #081735;
  --navy-line:     #1C3461;
  --gold:          #C8A24A;
  --gold-deep:     #A8853A;
  --gold-tint:     #EFE6CF;
  --ivory:         #F5F1E8;
  --ivory-shade:   #EBE5D6;
  --ink:           #0C1116;
  --slate-muted:   #9AAAC6;
  --white:         #FFFFFF;

  /* Semantic usage */
  --bg-primary:    var(--navy);
  --bg-secondary:  var(--ivory);
  --text-on-navy:  var(--white);
  --text-body-ivory: var(--ink);

  /* Typography */
  --font-display:  'Anton', 'Arial Narrow', Arial, sans-serif;
  --font-headline: 'Archivo', 'Arial Black', Arial, sans-serif;
  --font-serif:    'Fraunces', 'Georgia', serif;
  --font-body:     'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Type scale */
  --text-hero:     clamp(2.75rem, 11vw, 7.5rem);
  --text-h2:       clamp(2rem, 5vw, 3.75rem);
  --text-h3:       clamp(1.5rem, 3vw, 2.25rem);
  --text-metric:   clamp(2.25rem, 6vw, 4rem);
  --text-lede:     clamp(1.15rem, 2.5vw, 1.5rem);
  --text-body:     clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  --text-ui:       0.9375rem;
  --text-caption:  0.8125rem;
  --text-eyebrow:  0.6875rem;

  /* Spacing */
  --section-pad-v: clamp(4rem, 8vw, 7rem);
  --section-pad-h: clamp(1.25rem, 5vw, 4rem);
  --max-width:     1280px;
  --col-gap:       clamp(2rem, 4vw, 5rem);

  /* Motion */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-smooth:   cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:      220ms;
  --dur-med:       400ms;
  --dur-slow:      700ms;
}

/* --------------------------------------------------------------------------
   1. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, iframe {
  display: block;
  max-width: 100%;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* Skip to main content — accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-ui);
  border-radius: 0 0 4px 4px;
  z-index: 9999;
  transition: top var(--dur-fast) var(--ease-smooth);
}
.skip-link:focus {
  top: 0;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   2. SCROLL PROGRESS BAR
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold);
  z-index: 9999;
  transform-origin: left;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   3. NAVIGATION
   -------------------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: transparent;
  transition: background var(--dur-med) var(--ease-smooth),
              box-shadow var(--dur-med) var(--ease-smooth),
              backdrop-filter var(--dur-med) var(--ease-smooth);
}

.site-nav.nav-scrolled {
  background: rgba(8, 23, 53, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--navy-line), 0 4px 24px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem var(--section-pad-h);
  gap: 1.5rem;
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand-line1 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase;
}
.nav-brand-line2 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--slate-muted);
  line-height: 1.3;
  text-transform: uppercase;
}

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

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-ui);
  color: var(--slate-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--dur-fast) var(--ease-smooth);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--dur-med) var(--ease-out-expo);
}
.nav-link:hover {
  color: var(--white);
}
.nav-link:hover::after {
  width: 100%;
}

.nav-link--cta {
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover {
  background: var(--gold);
  color: var(--navy);
}

.nav-mobile-cta {
  display: none;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-mobile-cta { display: flex; }
}

/* --------------------------------------------------------------------------
   4. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-smooth),
              color var(--dur-fast) var(--ease-smooth),
              border-color var(--dur-fast) var(--ease-smooth),
              transform 80ms ease;
  white-space: nowrap;
  position: relative;
}
.btn:active { transform: scale(0.98); }

.btn--sm  { padding: 0.6rem 1.25rem; font-size: 0.8125rem; }
.btn--lg  { padding: 1.1rem 2.5rem; font-size: 1rem; }
.btn--full { width: 100%; }

/* Gold outline (primary on navy) */
.btn--gold-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn--gold-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

/* Ghost (secondary on navy) */
.btn--ghost {
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

/* Ghost light (on dark-but-lighter CTA band) */
.btn--ghost-light {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  background: transparent;
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.08);
}

/* Solid gold (contact card primary) */
.btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  font-weight: 700;
}
.btn--gold:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}

/* Outline on card (ivory card secondary) */
.btn--outline-card {
  border-color: var(--navy-line);
  color: var(--white);
  background: transparent;
}
.btn--outline-card:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   5. TYPOGRAPHY UTILITIES
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.25rem;
}
.eyebrow--navy-section {
  color: var(--gold);
}

.eyebrow-tick {
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.eyebrow--navy-section .eyebrow-tick {
  background: var(--gold);
}

.section-heading {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: var(--text-h2);
  line-height: 0.93;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.section-heading--navy {
  color: var(--white);
}

.section-lede {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--text-lede);
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 1.5rem;
  max-width: 62ch;
}
.section-lede--navy {
  color: rgba(255,255,255,0.9);
}

.body-text {
  font-size: var(--text-body);
  line-height: 1.70;
  color: rgba(12, 17, 22, 0.82);
  margin-bottom: 1.25rem;
  max-width: 66ch;
}
.body-text--navy {
  color: var(--slate-muted);
}

.gold-word {
  color: var(--gold);
}
.gold-word-ink {
  color: var(--gold-deep);
}

.fn-marker {
  font-family: var(--font-body);
  font-size: 0.7em;
  vertical-align: super;
  color: var(--gold-deep);
  text-decoration: none;
  font-weight: 600;
}
.fn-marker:hover { text-decoration: underline; }

.fn-inline {
  font-size: 0.85em;
  color: rgba(12, 17, 22, 0.55);
  font-style: italic;
}

.section-footnote {
  font-size: var(--text-caption);
  line-height: 1.55;
  color: rgba(12, 17, 22, 0.5);
  border-top: 1px solid var(--ivory-shade);
  padding-top: 1rem;
  margin-top: 2rem;
}
.section-footnote--navy {
  color: rgba(154, 170, 198, 0.6);
  border-top-color: var(--navy-line);
}

.br-desktop { display: none; }
.br-mobile  { display: block; }
@media (min-width: 768px) {
  .br-desktop { display: block; }
  .br-mobile  { display: none; }
}

/* --------------------------------------------------------------------------
   6. BULLET LISTS
   -------------------------------------------------------------------------- */
.bullet-list {
  list-style: none;
  margin-bottom: 1.75rem;
}
.bullet-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--text-body);
  line-height: 1.60;
  color: rgba(12, 17, 22, 0.8);
  margin-bottom: 0.625rem;
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.625em;
  width: 5px;
  height: 1px;
  background: var(--gold-deep);
}

.bullet-list--navy li {
  color: var(--slate-muted);
}
.bullet-list--navy li::before {
  background: var(--gold);
}

/* --------------------------------------------------------------------------
   7. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out-expo),
              transform var(--dur-slow) var(--ease-out-expo);
}
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease-out-expo),
              transform var(--dur-slow) var(--ease-out-expo);
}
.reveal-stagger.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delays driven by data-delay attribute */
.reveal-stagger[data-delay="0"]  { transition-delay: 0ms; }
.reveal-stagger[data-delay="1"]  { transition-delay: 80ms; }
.reveal-stagger[data-delay="2"]  { transition-delay: 160ms; }
.reveal-stagger[data-delay="3"]  { transition-delay: 240ms; }
.reveal-stagger[data-delay="4"]  { transition-delay: 320ms; }
.reveal-stagger[data-delay="5"]  { transition-delay: 400ms; }
.reveal-stagger[data-delay="6"]  { transition-delay: 480ms; }
.reveal-stagger[data-delay="7"]  { transition-delay: 560ms; }
.reveal-stagger[data-delay="8"]  { transition-delay: 640ms; }
.reveal-stagger[data-delay="9"]  { transition-delay: 720ms; }

/* Reduced motion: make everything visible immediately */
@media (prefers-reduced-motion: reduce) {
  .reveal-item, .reveal-stagger {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   8. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  padding-top: 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-depth-wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, var(--navy) 0%, var(--navy-deep) 100%);
  opacity: 1;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: var(--section-pad-v) var(--section-pad-h);
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-eyebrow {
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 400; /* Anton is single-weight, reads ~900 */
  font-size: var(--text-hero);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.75rem;
}
.hero-headline-top {
  display: block;
  font-size: 0.55em;
  letter-spacing: 0.02em;
  color: var(--slate-muted);
}
.hero-headline-main {
  display: block;
}
.hero-headline-main .gold-word {
  color: var(--gold);
}

.hero-subhead {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  margin-bottom: 1.5rem;
  max-width: 48ch;
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-ui);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-muted);
  margin-bottom: 2.5rem;
}
.location-pin {
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero rendering */
.hero-rendering {
  width: 100%;
  max-width: 720px;
  align-self: center;
}

.rendering-frame {
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
  /* Tasteful contained treatment — avoid full-bleed upscale */
  border: 1px solid var(--navy-line);
}

.rendering-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
  /* Subtle color grade to sit inside the palette */
  filter: brightness(0.96) contrast(1.04) saturate(0.92);
}

.rendering-frame-border {
  position: absolute;
  inset: 0.625rem;
  border: 1px solid var(--gold);
  opacity: 0.25;
  pointer-events: none;
}

.rendering-caption {
  margin-top: 0.75rem;
  font-size: var(--text-caption);
  line-height: 1.5;
  color: var(--slate-muted);
  font-style: italic;
  padding: 0 0.25rem;
}

/* Desktop hero: side by side */
@media (min-width: 900px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: var(--col-gap);
    min-height: calc(100svh - 5rem);
  }
  .hero-content {
    flex: 1 1 45%;
    min-width: 0;
  }
  .hero-rendering {
    flex: 1 1 50%;
    max-width: none;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   9. METRICS BAR
   -------------------------------------------------------------------------- */
.metrics-bar {
  background: var(--navy-deep);
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
  padding: 3rem var(--section-pad-h);
}

.metrics-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.metric-divider {
  display: none;
}

@media (min-width: 640px) {
  .metrics-inner {
    grid-template-columns: 1fr 1px 1fr;
    gap: 0;
  }
  .metric-divider {
    display: block;
    width: 1px;
    background: var(--navy-line);
    margin: 0 2rem;
    align-self: stretch;
  }
}
@media (min-width: 1000px) {
  .metrics-inner {
    grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  }
  .metric-divider { margin: 0 1.5rem; }
}

.metric-card {
  padding: 1.5rem 2rem;
  text-align: center;
}

.metric-value {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--text-metric);
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1em;
  font-variant-numeric: tabular-nums;
}
.metric-value--text {
  font-family: var(--font-headline);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  text-transform: uppercase;
  line-height: 1;
}
.metric-approx {
  font-family: var(--font-body);
  font-size: 0.6em;
  color: var(--gold);
  font-weight: 600;
  vertical-align: baseline;
}
.metric-num {
  /* Fraunces for numerals */
}

/* Gold focal moment: the primary land area figure earns full gold weight */
.metric-card:nth-child(1) .metric-num {
  color: var(--gold);
}
.metric-unit {
  font-family: var(--font-body);
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-left: 0.15em;
  align-self: flex-end;
  padding-bottom: 0.15em;
}
.metric-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-muted);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.metric-note {
  font-size: var(--text-caption);
  color: rgba(154, 170, 198, 0.55);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   10. SECTION SCAFFOLDING
   -------------------------------------------------------------------------- */
.section {
  padding: var(--section-pad-v) var(--section-pad-h);
}
.section--navy {
  background: var(--navy);
  /* Subtle radial depth: not flat, reads as lit from upper-right */
  background-image: radial-gradient(ellipse at 80% -10%, #12264f 0%, var(--navy) 55%);
}
.section--ivory {
  background: var(--ivory);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.section-inner--reversed {
  flex-direction: column;
}
.section-inner-full {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-text-col {
  flex: 1 1 50%;
  min-width: 0;
}
.section-diagram-col {
  flex: 1 1 45%;
  min-width: 0;
}

@media (min-width: 900px) {
  .section-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--col-gap);
  }
  .section-inner--reversed {
    flex-direction: row-reverse;
  }
}

/* --------------------------------------------------------------------------
   11. ASSEMBLAGE DIAGRAM
   -------------------------------------------------------------------------- */
.assemblage-diagram {
  background: var(--ivory-shade);
  border: 1px solid var(--gold);
  border-width: 0 0 0 3px;
  padding: 2rem;
  position: relative;
}

.diagram-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}

.diagram-title {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.diagram-title--navy { color: var(--white); }

.stack-intro {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  margin: -0.5rem 0 1.25rem;
  max-width: 38ch;
}

.assemblage-grid {
  display: grid;
  grid-template-areas:
    "broadway-label corner-block"
    ". e21st-label";
  grid-template-columns: 1.5rem 1fr;
  gap: 0;
  margin-bottom: 1.25rem;
}

.assemblage-street {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.assemblage-street--broadway {
  grid-area: broadway-label;
  transform: rotate(180deg);
}
.assemblage-street--e21st {
  grid-area: e21st-label;
  writing-mode: horizontal-tb;
  text-align: center;
  padding-top: 0.5rem;
  font-size: 0.625rem;
}

.assemblage-corner-block {
  grid-area: corner-block;
  display: grid;
  grid-template-areas:
    "broadway-lots interior"
    "broadway-lots e21st-lots";
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2.3fr);
  grid-template-rows: 1fr auto;
  border: 2px solid var(--gold);
}

.lot-column--broadway {
  grid-area: broadway-lots;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(168, 133, 58, 0.3);
}
.broadway-lot { flex: 1; justify-content: center; }

.lot-row--e21st {
  grid-area: e21st-lots;
  display: flex;
  flex-direction: row;
  border-top: 1px solid rgba(168, 133, 58, 0.3);
}

.lot-interior {
  grid-area: interior;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(168, 133, 58, 0.3);
  background:
    repeating-linear-gradient(
      -45deg,
      transparent 0,
      transparent 8px,
      rgba(168, 133, 58, 0.05) 8px,
      rgba(168, 133, 58, 0.05) 9px
    );
}
.lot-interior span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(168, 133, 58, 0.7);
  line-height: 1.6;
}
.lot-cell--corner {
  position: relative;
  background: rgba(200, 162, 74, 0.12);
}
.corner-badge {
  align-self: flex-start;
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--gold-deep);
  padding: 1px 6px;
  border-radius: 2px;
  margin-bottom: 4px;
}

.lot-cell {
  padding: 0.5rem 0.625rem;
  border-bottom: 1px solid rgba(168, 133, 58, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  cursor: default;
  transition: background var(--dur-fast) var(--ease-smooth);
}
.lot-cell:last-child { border-bottom: none; }
.lot-cell:hover { background: rgba(200, 162, 74, 0.08); }

.e21-lot {
  flex: 1;
  border-bottom: none;
  border-right: 1px solid rgba(168, 133, 58, 0.2);
}
.e21-lot:last-child { border-right: none; }

.lot-address {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6875rem;
  color: var(--ink);
  line-height: 1.2;
}
.lot-tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.diagram-note {
  font-size: var(--text-caption);
  line-height: 1.5;
  color: rgba(12, 17, 22, 0.5);
  font-style: italic;
}
.diagram-note--navy {
  color: rgba(154, 170, 198, 0.72);
}

/* --------------------------------------------------------------------------
   12. VERTICAL PROGRAM STACK
   -------------------------------------------------------------------------- */
.program-stack {
  padding: 2rem;
  background: rgba(28, 52, 97, 0.35);
  border: 1px solid var(--navy-line);
  border-left: 3px solid var(--gold);
  position: relative;
}

.stack-diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.25rem;
  /* Vertical gradient: lighter near rooftop, deeper at base */
  background: linear-gradient(180deg,
    rgba(28, 52, 97, 0.0) 0%,
    rgba(8, 23, 53, 0.25) 100%
  );
  border-top: 2px solid var(--gold);   /* cap line at rooftop */
  border-bottom: 2px solid rgba(154, 170, 198, 0.2); /* ground line at base */
  position: relative;
}

/* Thin left elevation rail with implicit floor rhythm */
.stack-diagram::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg,
    rgba(200, 162, 74, 0.55) 0%,
    rgba(200, 162, 74, 0.15) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.stack-tier {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid var(--navy-line);
  cursor: default;
  transition: background var(--dur-fast) var(--ease-smooth);
  position: relative;
  min-height: 52px;
}
.stack-tier:first-child { border-top: none; }
.stack-tier:hover { background: rgba(200, 162, 74, 0.05); }

/* Base tier is visibly heavier — it carries the building */
.stack-tier--base {
  min-height: 72px;
  background: rgba(8, 23, 53, 0.3);
}

/* Street-level retail gets a bit more weight too */
.stack-tier--retail {
  min-height: 64px;
}

/* Rooftop cap: subtle warm highlight */
.stack-tier--rooftop {
  background: rgba(200, 162, 74, 0.04);
}

.tier-badge {
  width: 5.5rem;
  flex-shrink: 0;
  padding: 0.625rem 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-muted);
  display: flex;
  align-items: center;
  border-right: 1px solid var(--navy-line);
  line-height: 1.3;
}

.tier-content {
  flex: 1;
  padding: 0.625rem 0.875rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tier-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 0.125rem;
}
.tier-desc {
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--slate-muted);
}

.tier-indicator {
  width: 3px;
  flex-shrink: 0;
  background: transparent;
  transition: background var(--dur-fast) var(--ease-smooth);
}
.stack-tier:hover .tier-indicator { background: var(--gold); }

/* Tier color coding by role */
.stack-tier--rooftop .tier-badge    { color: var(--gold); }
.stack-tier--upper .tier-badge      { color: #b8c8e0; }
.stack-tier--amenity .tier-badge    { color: #b8c8e0; }
.stack-tier--workspace .tier-badge  { color: #9AAAC6; }
.stack-tier--health .tier-badge     { color: #9AAAC6; }
.stack-tier--community .tier-badge  { color: #9AAAC6; }
.stack-tier--dining .tier-badge     { color: var(--slate-muted); }
.stack-tier--entertainment .tier-badge { color: var(--slate-muted); }
.stack-tier--retail .tier-badge     { color: var(--slate-muted); }
.stack-tier--base .tier-badge       { color: rgba(154, 170, 198, 0.5); }

/* --------------------------------------------------------------------------
   13. LOCATION / MAP
   -------------------------------------------------------------------------- */
.map-container {
  display: flex;
  flex-direction: column;
}

.map-frame {
  position: relative;
  border: 1px solid var(--ivory-shade);
  overflow: hidden;
  background: var(--ivory-shade);
  margin-bottom: 0.75rem;
}
.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 280px;
  border: none;
}
.map-frame-border {
  position: absolute;
  inset: 0.5rem;
  border: 1px solid var(--gold);
  opacity: 0.2;
  pointer-events: none;
}

.map-caption {
  font-size: var(--text-caption);
  color: rgba(12, 17, 22, 0.5);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.map-open-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.map-open-link:hover { color: var(--ink); }
.map-open-link:hover svg { transform: translate(2px, -2px); }
.map-open-link svg {
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-smooth);
}

/* --------------------------------------------------------------------------
   14. MARKET CASE
   -------------------------------------------------------------------------- */
.section--market {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.market-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.market-intro {
  margin: 0 auto;
}

.market-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .market-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .market-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.market-point {
  border-top: 1px solid var(--navy-line);
  border-right: 1px solid var(--navy-line);
}
.market-point:nth-child(1),
.market-point:nth-child(2),
.market-point:nth-child(5),
.market-point:nth-child(6) {
  border-bottom: 1px solid var(--navy-line);
}
@media (min-width: 640px) {
  .market-point:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--navy-line);
  }
}
@media (min-width: 1024px) {
  .market-point:nth-last-child(-n+4) {
    border-bottom: 1px solid var(--navy-line);
  }
  .market-point:nth-child(1) { border-bottom: none; }
  .market-point:nth-child(2) { border-bottom: none; }
  .market-point:nth-child(5) { border-bottom: none; }
  .market-point:nth-child(6) { border-bottom: none; }
}

.market-point-inner {
  padding: 1.75rem 1.5rem;
  height: 100%;
}

.market-point-num {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 2.25rem;
  color: rgba(200, 162, 74, 0.18);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.market-point-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 0.625rem;
}

.market-point-detail {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--slate-muted);
  margin-bottom: 0.75rem;
}

.market-point-source {
  font-size: 0.6875rem;
  line-height: 1.45;
  color: rgba(154, 170, 198, 0.45);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   15. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--navy-deep);
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--navy-line);
  padding: 4rem var(--section-pad-h);
}

.cta-band-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .cta-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--col-gap);
  }
}

.cta-band-text {
  flex: 1;
}

.cta-pullquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.35;
  color: var(--white);
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
  margin-top: 0.75rem;
  quotes: none;
}

.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex-shrink: 0;
  min-width: 220px;
}

/* --------------------------------------------------------------------------
   16. PROCESS STEPS
   -------------------------------------------------------------------------- */
.process-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  list-style: none;
  counter-reset: process-counter;
}

@media (min-width: 640px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .process-steps { grid-template-columns: repeat(3, 1fr); }
}

.process-step {
  padding: 2rem 1.75rem;
  border-top: 1px solid var(--ivory-shade);
  border-right: 1px solid var(--ivory-shade);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-number {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--gold-deep);
  opacity: 0.55;
  font-variant-numeric: tabular-nums;
}

.step-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.3;
}

.step-detail {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(12, 17, 22, 0.65);
}

/* --------------------------------------------------------------------------
   17. CONTACT / AGENT
   -------------------------------------------------------------------------- */
.contact-section {
  background: linear-gradient(160deg, var(--navy) 60%, var(--navy-deep) 100%);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
@media (min-width: 768px) {
  .contact-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--col-gap);
  }
}

.contact-headline-col {
  flex: 1;
}

.contact-blurb {
  max-width: 50ch;
  margin-bottom: 0;
}

.agent-card-col {
  flex-shrink: 0;
  width: 100%;
  max-width: 380px;
}
@media (min-width: 768px) {
  .agent-card-col {
    width: 340px;
  }
}

.agent-card {
  background: rgba(28, 52, 97, 0.45);
  border: 1px solid var(--navy-line);
  border-top: 2px solid var(--gold);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.agent-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.agent-monogram {
  width: 3.25rem;
  height: 3.25rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.agent-id { flex: 1; }

.agent-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--white);
  line-height: 1.2;
}
.agent-role {
  font-size: var(--text-caption);
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.agent-brokerage {
  font-size: var(--text-caption);
  color: var(--slate-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agent-price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1rem 0;
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
}
.price-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-muted);
}
.price-value {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--white);
}

.agent-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.agent-email-link {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--slate-muted);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.agent-email-link:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--gold);
  padding: 4rem var(--section-pad-h) 2.5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 640px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-wordmark {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.footer-address, .footer-brokerage {
  font-size: var(--text-caption);
  color: var(--slate-muted);
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.footer-brokerage {
  margin-top: 0.25rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}
@media (min-width: 640px) { .footer-contact { text-align: right; } }

.footer-agent-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--white);
}
.footer-contact-link {
  font-size: var(--text-ui);
  color: var(--gold);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.footer-contact-link:hover { color: var(--gold-tint); }

.footer-rule {
  height: 1px;
  background: var(--navy-line);
  margin: 2rem 0;
}

/* Disclaimer */
.footer-disclaimer {
  padding: 2.5rem;
  background: rgba(8, 23, 53, 0.45);
  border: 1px solid var(--navy-line);
  border-left: 3px solid rgba(200, 162, 74, 0.3);
}

.disclaimer-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.disclaimer-intro {
  font-size: var(--text-caption);
  line-height: 1.65;
  color: var(--slate-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--navy-line);
}

.disclaimer-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--navy-line);
}
.disclaimer-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.disclaimer-section-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(154, 170, 198, 0.8);
  margin-bottom: 0.625rem;
}

.disclaimer-section p {
  font-size: var(--text-caption);
  line-height: 1.65;
  color: rgba(154, 170, 198, 0.82);
  margin-bottom: 0.75rem;
}
.disclaimer-section p:last-child { margin-bottom: 0; }

.disclaimer-section strong {
  color: rgba(154, 170, 198, 0.75);
}

.disclaimer-footnote-marker {
  font-size: var(--text-caption);
  color: rgba(200, 162, 74, 0.6) !important;
  font-style: italic;
  margin-top: 0.375rem !important;
}

/* Footer bottom */
.footer-bottom {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-legal-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-caption);
  color: rgba(154, 170, 198, 0.5);
  line-height: 1.6;
}

.equal-housing {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.footer-divider {
  opacity: 0.4;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(154, 170, 198, 0.35);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   19. RESPONSIVE ADJUSTMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 479px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    text-align: center;
    justify-content: center;
  }

  .assemblage-grid {
    font-size: 0.85em;
  }

  .market-point { border-right: none; }

  .cta-band-actions .btn {
    width: 100%;
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  .hero-inner {
    padding-top: 2rem;
  }
}

/* Large desktop: max constraint */
@media (min-width: 1440px) {
  :root {
    --section-pad-h: 5rem;
  }
}

/* --------------------------------------------------------------------------
   20. DOCUMENT-FRAME ACCENT LINE
       (1px gold hairline top border on ivory sections)
   -------------------------------------------------------------------------- */
.section--ivory::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  opacity: 0.3;
  width: 100%;
  margin-bottom: -1px;
  position: relative;
  z-index: 0;
}

/* --------------------------------------------------------------------------
   21. UTILITY — VISUALLY HIDDEN (for screen readers)
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   22. PRINT STYLES (basic)
   -------------------------------------------------------------------------- */
@media print {
  .site-nav, .scroll-progress, .cta-band { display: none; }
  body { background: white; color: black; }
  .section--navy { background: #f0f0f0; }
  .section--navy * { color: black !important; }
  a::after { content: " (" attr(href) ")"; font-size: 0.8em; }
  .hero { min-height: auto; padding: 2rem; }
  .carousel-arrow, .carousel-dots, .lightbox { display: none !important; }
}

/* --------------------------------------------------------------------------
   23. HERO CONCEPT CAROUSEL
   -------------------------------------------------------------------------- */
.carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--navy-deep);
}
.carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-slow) var(--ease-smooth);
}
.carousel-slide.is-active { opacity: 1; visibility: visible; }
.carousel-slide picture { display: block; width: 100%; height: 100%; }
.carousel-slide .rendering-img { width: 100%; height: 100%; object-position: center; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: none; border-radius: 50%;
  background: rgba(8, 23, 53, 0.55);
  color: #fff; font-size: 1.5rem; line-height: 1;
  cursor: pointer; z-index: 3;
  transition: background var(--dur-fast) var(--ease-smooth);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.carousel-arrow:hover { background: rgba(200, 162, 74, 0.9); }
.carousel-arrow--prev { left: 0.75rem; }
.carousel-arrow--next { right: 0.75rem; }
.carousel-dots {
  position: absolute; bottom: 0.85rem; left: 0; right: 0;
  display: flex; gap: 0.5rem; justify-content: center; z-index: 3;
}
.carousel-dot {
  width: 8px; height: 8px; padding: 0;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-smooth), transform var(--dur-fast) var(--ease-smooth);
}
.carousel-dot.is-active { background: var(--gold); transform: scale(1.3); }
.carousel-arrow:focus-visible, .carousel-dot:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .carousel-slide { transition: none; }
}

/* --------------------------------------------------------------------------
   24. INTERIORS GALLERY (masonry)
   -------------------------------------------------------------------------- */
.section--gallery .gallery-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section--gallery .section-lede { margin-top: 0.85rem; }
.gallery-grid {
  list-style: none;
  columns: 3;
  column-gap: 1rem;
}
.gallery-item { break-inside: avoid; margin: 0 0 1rem; }
.gallery-trigger {
  display: block; width: 100%; padding: 0;
  border: 1px solid var(--navy-line); background: var(--navy-deep);
  position: relative; cursor: zoom-in; overflow: hidden;
  border-radius: 2px;
}
.gallery-trigger img {
  display: block; width: 100%; height: auto;
  transition: transform var(--dur-slow) var(--ease-out-expo);
  filter: brightness(0.96) contrast(1.03);
}
.gallery-trigger:hover img, .gallery-trigger:focus-visible img { transform: scale(1.04); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1rem 0.7rem;
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.8125rem; letter-spacing: 0.04em;
  color: #fff; text-align: left;
  background: linear-gradient(to top, rgba(6, 12, 24, 0.85), rgba(6, 12, 24, 0));
}
.gallery-trigger:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 899px) { .gallery-grid { columns: 2; } }
@media (max-width: 539px) { .gallery-grid { columns: 1; } }

/* --------------------------------------------------------------------------
   25. LIGHTBOX
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(6, 10, 20, 0.93);
  display: grid; place-items: center; padding: 4vmin;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 0.85rem; }
.lightbox-img {
  max-width: 92vw; max-height: 80vh; width: auto; height: auto;
  object-fit: contain; border: 1px solid rgba(200, 162, 74, 0.4);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.lightbox-caption {
  color: rgba(245, 241, 232, 0.85); font-family: var(--font-body);
  font-size: 0.85rem; font-style: italic; letter-spacing: 0.02em; text-align: center;
}
.lightbox-close, .lightbox-nav {
  position: absolute; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.1); color: #fff;
  display: grid; place-items: center; line-height: 1;
  transition: background var(--dur-fast) var(--ease-smooth);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(200, 162, 74, 0.9); }
.lightbox-close { top: 1rem; right: 1.25rem; width: 44px; height: 44px; border-radius: 50%; font-size: 1.7rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; font-size: 1.9rem; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-close:focus-visible, .lightbox-nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 539px) { .lightbox-nav { width: 40px; height: 40px; } }
