/* ==========================================================================
   Multiplex, Inc. - Elite Brand Stylesheet
   Refined luxury dark palette, high-contrast typography, GSAP compatibility
   ========================================================================== */

:root {
  --canvas: #0b1120;
  --deep: #060a12;
  --surface: #10192e;
  --surface-alt: #16223b;
  --surface-card: #131f36;
  --parchment: #f8fafc;
  --linen: #e2e8f0;
  --stone: #94a3b8;
  --blue: #245892;
  --blue-vivid: #2b6cb0;
  --blue-light: #38bdf8;
  --blue-glow: rgba(36, 88, 146, 0.35);
  --amber: #2b6cb0;
  --amber-hover: #38bdf8;
  --amber-glow: rgba(43, 108, 176, 0.28);
  --line: rgba(226, 232, 240, 0.12);
  --line-strong: rgba(226, 232, 240, 0.24);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --nav-height: 76px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--deep);
}

body {
  font-family: var(--sans);
  background-color: var(--canvas);
  color: var(--parchment);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

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

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--parchment);
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.muted {
  color: var(--stone);
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid var(--amber);
  color: var(--amber);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  background: var(--amber-glow);
}

/* ==========================================================================
   Loader & Scroll Progress Bar
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--deep);
  display: grid;
  place-items: center;
}

.loader .mark {
  font-family: var(--serif);
  font-size: clamp(38px, 8vw, 76px);
  letter-spacing: -0.04em;
  font-weight: 300;
  color: var(--parchment);
}

.loader .bar {
  width: min(200px, 45vw);
  height: 2px;
  background: var(--line);
  margin: 20px auto 0;
  overflow: hidden;
}

.loader .bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #245892, #38bdf8);
  transform: scaleX(0);
  transform-origin: left;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}

.progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #245892, #38bdf8);
  transform: scaleX(0);
  transform-origin: left;
}

/* ==========================================================================
   Header & Navigation (Presentable, Clean & Balanced)
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 32px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.solid {
  background: rgba(11, 17, 32, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav.nav-hidden {
  transform: translateY(-100%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 28px;
}

.brand-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: none;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  margin-left: auto;
}

.nav-links a {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--linen);
  text-transform: uppercase;
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--amber);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 12px;
  min-height: 42px;
  padding: 0 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.burger:hover {
  border-color: var(--amber);
  background: var(--amber-glow);
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--parchment);
  position: relative;
  transition: transform 0.25s, background 0.25s;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger span::before {
  top: -5px;
}

.burger span::after {
  top: 5px;
}

.burger[aria-expanded="true"] span {
  background: transparent;
}

.burger[aria-expanded="true"] span::before {
  transform: translateY(5px) rotate(45deg);
}

.burger[aria-expanded="true"] span::after {
  transform: translateY(-5px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--deep);
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 90px 32px 48px;
  overflow-y: auto;
}

.overlay.open {
  display: flex;
}

.overlay a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 8vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-decoration: none;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  color: var(--parchment);
}

.overlay a small {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber);
  text-transform: uppercase;
}

.overlay a:hover,
.overlay a.active {
  color: var(--amber);
}

.overlay .foot {
  margin-top: 32px;
  font-size: 13px;
  color: var(--stone);
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 0;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.btn.solid {
  background: var(--blue-vivid);
  border: 1px solid var(--blue-vivid);
  color: #ffffff !important;
  font-weight: 600;
}

.btn.solid:hover,
.btn.solid:focus-visible {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #0b1120 !important;
  box-shadow: 0 8px 24px rgba(43, 108, 176, 0.4);
}

.btn.btn-outline {
  border: 1px solid var(--linen);
  color: var(--linen) !important;
  background: transparent;
}

.btn.btn-outline:hover,
.btn.btn-outline:focus-visible {
  background: var(--blue-vivid) !important;
  border-color: var(--blue-vivid) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(43, 108, 176, 0.35);
}

.btn.btn-outline-amber,
.btn.btn-outline-blue {
  border: 1px solid var(--blue-light) !important;
  color: var(--blue-light) !important;
  background: transparent !important;
}

.btn.btn-outline-amber:hover,
.btn.btn-outline-amber:focus-visible,
.btn.btn-outline-blue:hover,
.btn.btn-outline-blue:focus-visible {
  background: var(--blue-vivid) !important;
  border-color: var(--blue-vivid) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgba(43, 108, 176, 0.35);
}

.nav-cta.solid {
  background: var(--blue-vivid);
  border: 1px solid var(--blue-vivid);
  color: #ffffff !important;
}

.nav-cta.solid:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #0b1120 !important;
}

/* ==========================================================================
   Typography & Masked Headline Reveals
   ========================================================================== */
.line {
  display: block;
  overflow: hidden;
  line-height: 1.05;
  padding: 0.06em 0 0.16em;
  margin: -0.06em 0 -0.1em;
}

.line > span {
  display: block;
  will-change: transform;
}

/* Background Typographic Watermark (Renamed to avoid button collision) */
.hero-watermark {
  position: absolute;
  left: -1vw;
  bottom: -2vw;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(100px, 22vw, 280px);
  line-height: 0.75;
  letter-spacing: -0.06em;
  color: rgba(216, 203, 184, 0.04);
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  user-select: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 90vh;
  min-height: 90svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--deep);
}

.hero.compact {
  min-height: 56vh;
  min-height: 56svh;
}

.hero-media {
  position: absolute;
  inset: -8% 0;
  z-index: 0;
  will-change: transform;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.48) saturate(0.9);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(26, 25, 24, 0.55) 0%, rgba(26, 25, 24, 0.15) 35%, rgba(38, 36, 35, 0.7) 75%, var(--canvas) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 140px 32px 84px;
  max-width: 1280px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(52px, 9.5vw, 120px);
  margin: 16px 0 22px;
}

.hero p.lead {
  max-width: 620px;
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--linen);
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero .btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Marquee
   ========================================================================== */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  background: var(--canvas);
}

.m-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}

.m-track span {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 4vw, 48px);
  letter-spacing: -0.03em;
  padding-right: 44px;
  color: var(--linen);
}

.m-track span::after {
  content: "\2022";
  color: var(--amber);
  padding-left: 44px;
}

/* ==========================================================================
   Sections & Cards
   ========================================================================== */
.section {
  padding: 96px 0;
  position: relative;
}

.section.alt {
  background: var(--deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: 52px;
  max-width: 860px;
}

.section-head h2 {
  font-size: clamp(34px, 5.5vw, 64px);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--stone);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

/* Cards */
.card {
  background: var(--surface-card);
  border: 1px solid var(--line);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.card:hover {
  border-color: var(--amber);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.card h3 {
  font-size: clamp(22px, 3.2vw, 32px);
  margin-bottom: 12px;
}

.card p {
  color: var(--stone);
  font-size: 15px;
  line-height: 1.7;
}

/* Reveal Image */
.reveal-img {
  position: relative;
  overflow: hidden;
  background: #111;
  aspect-ratio: 4 / 3;
}

.reveal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(0.88) saturate(0.98);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.reveal-img:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

/* Quotes */
.quote-block {
  margin: 44px 0;
  padding: 36px 44px;
  border-left: 3px solid var(--amber);
  background: var(--surface);
  position: relative;
}

.quote-block blockquote {
  font-family: var(--serif);
  font-size: clamp(22px, 3.4vw, 38px);
  line-height: 1.25;
  color: var(--parchment);
  font-style: italic;
  margin-bottom: 16px;
}

.quote-block cite {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  font-style: normal;
  font-weight: 600;
  display: block;
}

/* Certifications Showcase Card */
.cert-card {
  border: 1px solid var(--blue-vivid);
  background: linear-gradient(135deg, rgba(36, 88, 146, 0.22) 0%, rgba(11, 17, 32, 0.95) 100%);
  padding: 44px;
  margin: 36px 0;
}

/* Archival Historical Early Days Display */
.archival-feature {
  background: var(--deep);
  border: 1px solid var(--line);
  padding: 44px 32px;
  margin: 52px 0;
}

.archival-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 28px 0 18px;
}

.archival-photo-item {
  position: relative;
  background: #111;
  border: 1px solid var(--line);
  padding: 10px;
}

.archival-photo-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.9);
}

.archival-caption {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  text-align: center;
  margin-top: 16px;
  font-weight: 500;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 36px;
  margin: 52px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 9px;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  margin-bottom: 44px;
}

.timeline-dot {
  position: absolute;
  left: -36px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--canvas);
  border: 2px solid var(--amber);
  box-shadow: 0 0 0 6px var(--canvas);
}

.timeline-year {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--amber);
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 8px;
  color: var(--parchment);
}

.timeline-desc {
  color: var(--stone);
  font-size: 15px;
  line-height: 1.7;
  max-width: 800px;
}

/* Stacking Cards */
.history-stack {
  position: relative;
}

.stack-card {
  position: sticky;
  top: calc(96px + var(--i) * 20px);
  margin-bottom: 16vh;
  min-height: clamp(300px, 48vh, 440px);
  padding: 56px 36px 36px;
  border: 1px solid var(--line-strong);
  border-top: 2px solid var(--amber);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--surface-card);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  will-change: transform, opacity;
}

.stack-card:nth-child(1) { background: linear-gradient(180deg, #131f36 0%, #0d1526 100%); }
.stack-card:nth-child(2) { background: linear-gradient(180deg, #162440 0%, #0f192d 100%); }
.stack-card:nth-child(3) { background: linear-gradient(180deg, #19294a 0%, #121c33 100%); }
.stack-card:nth-child(4) { background: linear-gradient(180deg, #1c2e54 0%, #14203a 100%); }
.stack-card:last-child { margin-bottom: 0; }

.stack-step {
  position: absolute;
  top: 26px;
  left: 36px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}

.stack-big {
  position: absolute;
  right: 20px;
  top: -10px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(140px, 24vw, 260px);
  line-height: 0.75;
  letter-spacing: -0.06em;
  color: rgba(56, 189, 248, 0.12);
  pointer-events: none;
  user-select: none;
}

.stack-card h3 {
  font-size: clamp(28px, 4.2vw, 44px);
  color: #f7f3ee;
  margin-bottom: 14px;
}

.stack-card p {
  color: var(--linen);
  font-size: 16px;
  line-height: 1.7;
}

/* ==========================================================================
   Home Page Slider (Client Spec Requirement)
   ========================================================================== */
.home-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.slider-viewport {
  position: relative;
  width: 100%;
  height: clamp(480px, 62vh, 640px);
  overflow: hidden;
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(0.78);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-item.active img {
  transform: scale(1.05);
}

.slide-caption-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(28px, 5vw, 64px);
  background: linear-gradient(180deg, rgba(26,25,24,0.1) 0%, rgba(26,25,24,0.45) 45%, rgba(26,25,24,0.92) 100%);
}

.slide-content {
  max-width: 720px;
  margin-bottom: 30px;
}

.slide-content h3 {
  font-size: clamp(26px, 4vw, 42px);
  color: var(--parchment);
  margin-bottom: 10px;
  line-height: 1.15;
}

.slide-content p {
  font-size: clamp(14px, 1.35vw, 16.5px);
  color: var(--linen);
  line-height: 1.6;
}

/* Slider Controls */
.slider-nav-btns {
  position: absolute;
  right: clamp(20px, 4vw, 50px);
  bottom: clamp(24px, 5vw, 50px);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(8px);
  color: var(--parchment);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.25s ease;
}

.slider-arrow:hover {
  background: var(--blue-vivid);
  border-color: var(--blue-vivid);
  color: #ffffff;
}

.slider-dots {
  position: absolute;
  left: clamp(28px, 5vw, 64px);
  bottom: 24px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 28px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--amber);
  width: 44px;
}

/* Slider Quick Navigation Cards (Client Requirement: Navigation to About the Owner, Certifications, Contact) */
.slider-quick-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}

.quick-nav-card {
  padding: 28px 32px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease;
  position: relative;
}

.quick-nav-card:last-child {
  border-right: none;
}

.quick-nav-card:hover {
  background: var(--surface);
}

.quick-nav-card:hover h4 {
  color: var(--amber);
}

.quick-nav-card h4 {
  font-size: 19px;
  color: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.25s ease;
}

.quick-nav-card p {
  font-size: 13.5px;
  color: var(--stone);
  line-height: 1.6;
}

.quick-nav-card .arrow-ic {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.quick-nav-card:hover .arrow-ic {
  transform: translateX(4px);
  color: var(--amber);
}

/* Data Table */
.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--surface-card);
  margin: 32px 0;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  background: var(--deep);
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
}

.data-table tr:hover td {
  background: rgba(212, 150, 83, 0.04);
}

/* ==========================================================================
   Closing / Let's Talk Section (Full-Bleed Photographic Background)
   ========================================================================== */
.closing {
  position: relative;
  min-height: 82vh;
  min-height: 82svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  background: var(--deep);
}

.closing .bg {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
  will-change: transform;
}

.closing .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.36) saturate(0.85);
}

.closing::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at center, rgba(26, 25, 24, 0.35) 0%, rgba(26, 25, 24, 0.88) 100%);
  pointer-events: none;
}

.closing .in {
  position: relative;
  z-index: 2;
  padding: 96px 24px;
  max-width: 800px;
}

.closing h2 {
  font-size: clamp(56px, 12vw, 150px);
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.closing p {
  max-width: 480px;
  margin: 0 auto 34px;
  color: var(--linen);
  font-size: clamp(16px, 2.2vw, 20px);
  line-height: 1.6;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(15, 14, 13, 0.95);
  display: none;
  place-items: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.lightbox-modal.open {
  display: grid;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid var(--line);
}

.lightbox-caption {
  margin-top: 14px;
  color: var(--linen);
  font-size: 14px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--parchment);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 24px;
  transition: all 0.2s;
}

.lightbox-close:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* Contact Details & Form */
.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 15px;
  background: var(--deep);
  border: 1px solid var(--line);
  color: var(--parchment);
  font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-control:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 2px var(--amber-glow);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.site-footer {
  background: var(--deep);
  border-top: 1px solid var(--line);
  padding: 72px 0 36px;
  margin-top: auto;
  font-size: 14px;
  color: var(--stone);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  margin-bottom: 52px;
}

.footer-links-col h5 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: var(--linen);
  transition: color 0.2s;
}

.footer-links-list a:hover {
  color: var(--amber);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (min-width: 640px) {
  .archival-photos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 800px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1040px) {
  .nav-links {
    display: flex;
  }
  .burger {
    display: none;
  }
}
