/* ══════════════════════════════════════
   HOMEPAGE — HERO (Variation A)
══════════════════════════════════════ */
.hero-a {
  position: relative;
  height: 680px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-a-bg {
  position: absolute;
  inset: 0;
}
.hero-a-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-a-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,36,33,0.85) 0%, rgba(28,36,33,0.25) 50%, transparent 100%);
}
.hero-a-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--container-pad) 72px;
  max-width: 760px;
}
.hero-a-year {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--terra-light);
  margin-bottom: 18px;
}
.hero-a-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1.05;
  font-weight: 700;
  color: var(--warm-white);
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero-a-title em { font-style: italic; color: var(--sand); }
.hero-a-sub {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: rgba(251,247,242,0.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-a-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.hero-badge {
  position: absolute;
  right: var(--container-pad);
  bottom: 72px;
  z-index: 3;
  width: 110px;
  height: 110px;
  background: var(--terra);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
}
.hero-badge-year {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--warm-white);
  line-height: 1;
}
.hero-badge-label {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(251,247,242,0.8);
}

/* ── Stats strip ── */
.stats-strip {
  background: var(--teal);
  color: var(--warm-white);
  display: flex;
  align-items: stretch;
}
.stat-item {
  flex: 1;
  padding: 28px 0;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--sand);
  display: block;
  line-height: 1;
}
.stat-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240,217,181,0.65);
  margin-top: 6px;
  display: block;
}

/* ══════════════════════════════════════
   HOMEPAGE — INTRO
══════════════════════════════════════ */
.intro-section {
  padding: var(--space-8) var(--container-pad);
  display: flex;
  gap: 80px;
  align-items: center;
  max-width: var(--container-max);
  margin-inline: auto;
}
.intro-text { flex: 1; }
.intro-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.2;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 24px;
  margin-top: 14px;
  text-wrap: balance;
}
.intro-title em { font-style: italic; color: var(--teal); }
.intro-body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.intro-image {
  flex: 1;
  height: 420px;
  position: relative;
  overflow: hidden;
}
.intro-image-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 160px;
  height: 160px;
  background: var(--parchment);
  z-index: 0;
}
.intro-image-main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.intro-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ══════════════════════════════════════
   HOMEPAGE — BUILDINGS
══════════════════════════════════════ */
.buildings-section {
  background: var(--cream);
  padding: var(--space-8) var(--container-pad);
}
.buildings-header {
  text-align: center;
  margin-bottom: 56px;
}
.buildings-eyebrow { margin-bottom: 14px; }
.buildings-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.buildings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: var(--container-max);
  margin-inline: auto;
}
.building-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.building-card:hover .building-card-img img {
  transform: scale(1.04);
}
.building-card-img {
  height: 380px;
  overflow: hidden;
}
.building-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.building-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,36,33,0.88) 0%, transparent 60%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.building-card-num {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  color: rgba(240,217,181,0.22);
  line-height: 1;
  margin-bottom: 4px;
}
.building-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--warm-white);
}
.building-card-sub {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(240,217,181,0.7);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════
   HOMEPAGE — AMENITIES
══════════════════════════════════════ */
.amenities-strip {
  padding: 72px var(--container-pad);
  background: var(--warm-white);
}
.amenities-eyebrow {
  text-align: center;
  margin-bottom: 32px;
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  text-align: center;
  max-width: var(--container-max);
  margin-inline: auto;
}
.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.amenity-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.amenity-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.amenity-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ══════════════════════════════════════
   HOMEPAGE — TESTIMONIALS
══════════════════════════════════════ */
.testimonials-section {
  background: var(--teal);
  padding: var(--space-8) var(--container-pad);
}
.testimonials-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--sand);
  text-align: center;
  margin-bottom: 56px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--container-max);
  margin-inline: auto;
}
.testimonial-card {
  background: rgba(255,255,255,0.08);
  padding: 36px;
}
.testimonial-quote {
  font-family: Georgia, serif;
  font-size: 19px;
  font-style: italic;
  line-height: 1.7;
  color: var(--sand);
  margin-bottom: 24px;
}
.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }
.testimonial-author {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra-light);
}

/* ══════════════════════════════════════
   HOMEPAGE — CTA BANNER
══════════════════════════════════════ */
.cta-banner {
  position: relative;
  height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
}
.cta-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,36,33,0.72);
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--container-pad);
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--warm-white);
  margin-bottom: 8px;
}
.cta-title em { font-style: italic; color: var(--sand); }
.cta-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: rgba(251,247,242,0.75);
  letter-spacing: 0.1em;
  margin-bottom: 36px;
}

/* ══════════════════════════════════════
   ABOUT PAGE — HERO
══════════════════════════════════════ */
.generic-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  margin-top: var(--nav-height);
}
.generic-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
}
.generic-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,36,33,0.88) 0%, rgba(44,95,90,0.6) 100%);
}
.generic-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px var(--container-pad);
}
.generic-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  color: var(--warm-white);
  margin-bottom: 16px;
  margin-top: 14px;
}
.generic-hero-title em { font-style: italic; color: var(--sand); }
.generic-hero-sub {
  font-family: Georgia, serif;
  font-size: 20px;
  font-style: italic;
  color: rgba(240,217,181,0.8);
  max-width: 560px;
  line-height: 1.6;
}

/* ══════════════════════════════════════
   ABOUT PAGE — STORY
══════════════════════════════════════ */
.story-section {
  padding: var(--space-8) var(--container-pad);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
  max-width: var(--container-max);
  margin-inline: auto;
}
.story-portrait { position: relative; }
.story-portrait-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  background: var(--parchment);
  z-index: 0;
}
.story-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.story-pull {
  font-family: Georgia, serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-style: italic;
  color: var(--teal);
  line-height: 1.4;
  margin-bottom: 32px;
  margin-top: 14px;
  border-left: 3px solid var(--terra);
  padding-left: 28px;
}
.story-body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-soft);
}
.story-body p { margin-bottom: 20px; }

/* ══════════════════════════════════════
   ABOUT PAGE — TIMELINE
══════════════════════════════════════ */
.timeline-section {
  padding: var(--space-8) 10%;
  background: var(--warm-white);
}
.timeline-heading {
  text-align: center;
  margin-bottom: 64px;
}
.timeline-heading-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 14px;
}
.timeline {
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
  position: relative;
}
.timeline-item.right .tl-text { order: 2; text-align: left; }
.timeline-item.right .tl-image { order: 1; }
.tl-text { text-align: right; padding-top: 8px; }
.tl-year {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 700;
  color: var(--teal);
  opacity: 0.22;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.tl-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.tl-body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.tl-image {
  height: 280px;
  overflow: hidden;
  position: relative;
}
.tl-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tl-dot {
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--terra);
  border: 3px solid var(--warm-white);
  box-shadow: 0 0 0 1px var(--terra);
  z-index: 1;
}

/* ══════════════════════════════════════
   ABOUT PAGE — THEN / NOW
══════════════════════════════════════ */
.then-now-section {
  padding: var(--space-8) var(--container-pad);
  background: var(--cream);
}
.then-now-header {
  text-align: center;
  margin-bottom: 56px;
}
.then-now-title {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  margin-top: 14px;
}
.then-now-sub {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink-soft);
}
.then-now-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  max-width: var(--container-max);
  margin-inline: auto;
}
.tn-card { position: relative; overflow: hidden; }
.tn-card-img {
  height: 400px;
  overflow: hidden;
}
.tn-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tn-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--teal);
  color: var(--warm-white);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 8px 16px;
}
.tn-tag.now { background: var(--terra); }
.tn-caption { padding: 24px 28px; background: var(--warm-white); }
.tn-caption-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.tn-caption-body {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ══════════════════════════════════════
   GALLERY PAGE
══════════════════════════════════════ */
.page-gallery {
  background: var(--ink);
  min-height: 100vh;
  padding-top: var(--nav-height);
}
.gallery-header {
  padding: 72px var(--container-pad) 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.gallery-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--sand);
  line-height: 1.1;
}
.gallery-title em { font-style: italic; color: var(--terra-light); }
.gallery-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid rgba(240,217,181,0.25);
  background: transparent;
  color: rgba(240,217,181,0.6);
  transition: all 0.2s;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: var(--warm-white);
}
.gallery-section-label {
  padding: 48px var(--container-pad) 20px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terra-light);
  display: flex;
  align-items: center;
  gap: 16px;
}
.gallery-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(240,217,181,0.1);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 3px;
  padding: 0 3px 3px;
}
.gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-item:hover .gallery-img img { transform: scale(1.06); }
.gallery-img {
  width: 100%;
  height: 100%;
}
.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item.tall  { grid-row: span 2; }
.gallery-item.wide  { grid-column: span 2; }
.gallery-item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(28,36,33,0.85) 0%, transparent 100%);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240,217,181,0.85);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-label { opacity: 1; }

/* hidden by gallery filter */
.gallery-item[hidden] { display: none; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .buildings-grid { grid-template-columns: 1fr; gap: 3px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
  .then-now-grid { grid-template-columns: 1fr; }
  .story-section { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .hero-a { height: 520px; }
  .hero-badge { display: none; }
  .stats-strip { flex-wrap: wrap; }
  .stat-item { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .intro-section { flex-direction: column; gap: 40px; padding: var(--space-7) var(--container-pad); }
  .intro-image { height: 280px; }
  .timeline-section { padding: var(--space-7) var(--container-pad); }
  .timeline::before { left: 16px; transform: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 20px; }
  .timeline-item.right .tl-text,
  .timeline-item .tl-text { order: 2; text-align: left; }
  .timeline-item .tl-image { order: 1; }
  .tl-dot { left: 16px; transform: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item.wide { grid-column: span 1; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .buildings-section,
  .amenities-strip,
  .testimonials-section,
  .cta-banner,
  .then-now-section,
  .story-section { padding-inline: var(--container-pad); }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.tall { grid-row: span 1; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════
   GALLERY LIGHTBOX
══════════════════════════════════════ */
.gallery-item[data-full] { cursor: zoom-in; }

.pcb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(28,36,33,0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.pcb-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.pcb-lightbox-img {
  max-width: min(92vw, 1280px);
  max-height: 88vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 12px 64px rgba(0,0,0,0.55);
  transform: scale(0.95);
  transition: transform 0.22s ease;
}
.pcb-lightbox.is-open .pcb-lightbox-img {
  transform: scale(1);
}

.pcb-lightbox-caption {
  margin-top: 14px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,217,181,0.55);
  text-align: center;
  max-width: 600px;
}

.pcb-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: 1px solid rgba(240,217,181,0.25);
  color: rgba(240,217,181,0.6);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.pcb-lightbox-close:hover {
  color: var(--sand);
  border-color: rgba(240,217,181,0.5);
}
