/* ==========================================================================
   La Joconde Hospital — "Coming Soon"
   Design language: a museum portrait-plaque, quietly confident, French.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Color tokens */
  --ink: #12201A;
  --wall-green: #1B3A2F;
  --wall-green-deep: #132821;
  --plaster: #F6F1E7;
  --plaster-dim: #EDE6D5;
  --gold: #C9A661;
  --gold-bright: #E1C58A;
  --blush: #E8C4B8;
  --blush-soft: #F0DAD1;
  --line: rgba(201, 166, 97, 0.35);

  /* Type */
  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Rhythm */
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}

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

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

::selection {
  background: var(--gold);
  color: var(--wall-green-deep);
}

/* Focus visibility — kept even though palette is quiet */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

/* ==========================================================================
   Utility: the "wall label" eyebrow system — museum didactic panel language
   ========================================================================== */

.wall-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.wall-label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.wall-label--dark {
  color: var(--wall-green);
}
.wall-label--dark::before {
  background: var(--wall-green);
}

/* ==========================================================================
   Grain / canvas texture overlay — replaces generic gradient blobs
   ========================================================================== */

.canvas-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem var(--gutter);
  transition: padding 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.5s ease,
              backdrop-filter 0.5s ease;
}

.site-header.is-scrolled {
  padding: 1rem var(--gutter);
  background: rgba(246, 241, 231, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--plaster);
  transition: color 0.5s ease;
}

.site-header.is-scrolled .brand {
  color: var(--wall-green);
}

.brand svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-top: 0.15rem;
}

.header-cta {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--plaster);
  border: 1px solid rgba(246, 241, 231, 0.4);
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled .header-cta {
  color: var(--wall-green);
  border-color: var(--wall-green);
}

.header-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--wall-green-deep);
}

/* ==========================================================================
   Hero — the portrait gallery
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--wall-green);
  overflow: hidden;
}

/* Layered "gallery wall" backdrop — parallax layers */
.hero-backdrop {
  position: absolute;
  inset: -10%;
  z-index: 0;
}

.hero-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-layer--wash {
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(201, 166, 97, 0.16), transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 75%, rgba(232, 196, 184, 0.10), transparent 65%),
    linear-gradient(160deg, #1B3A2F 0%, #14291F 55%, #0F211A 100%);
}

.hero-layer--vignette {
  background: radial-gradient(ellipse 80% 70% at 50% 45%, transparent 40%, rgba(10, 20, 15, 0.55) 100%);
}

/* Museum spotlight sweep — a slow-moving light, like gallery track lighting */
.hero-layer--spotlight {
  background: conic-gradient(from 200deg at 65% 30%, transparent 0deg, rgba(233, 220, 192, 0.05) 40deg, transparent 90deg);
  animation: sweep 18s ease-in-out infinite;
  transform-origin: 65% 30%;
}

@keyframes sweep {
  0%, 100% { opacity: 0.6; transform: rotate(0deg); }
  50% { opacity: 1; transform: rotate(8deg); }
}

/* The frame — a large architectural arch echoing the logo, holds the content like a plaque */
.hero-frame {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: min(64vw, 780px);
  aspect-ratio: 1 / 1.18;
  border: 1px solid rgba(201, 166, 97, 0.22);
  border-radius: 50% 50% 4px 4px / 42% 42% 4px 4px;
  z-index: 0;
}

.hero-frame::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(201, 166, 97, 0.13);
  border-radius: 50% 50% 2px 2px / 42% 42% 2px 2px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--gutter);
  padding-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  color: var(--gold-bright);
  opacity: 0;
  animation: riseIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.hero-eyebrow::before { background: var(--gold-bright); }

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  color: var(--plaster);
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-top: 1.6rem;
  opacity: 0;
  animation: riseIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-bright);
}

.hero-subtitle {
  font-family: var(--body);
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--plaster-dim);
  max-width: 34rem;
  margin-top: 1.6rem;
  opacity: 0;
  animation: riseIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.75s forwards;
}

.hero-subtitle strong {
  color: var(--blush);
  font-weight: 500;
}

.hero-meta {
  margin-top: 2.75rem;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  opacity: 0;
  animation: riseIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.hero-meta-value {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

.hero-meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plaster-dim);
  opacity: 0.6;
}

.hero-meta-divider {
  width: 1px;
  height: 34px;
  background: rgba(246, 241, 231, 0.15);
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  bottom: 2.6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
  color: var(--plaster-dim);
  opacity: 0;
  animation: riseIn 1s ease 1.4s forwards;
}

.scroll-cue span {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
}

.scroll-cue-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-cue-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-bright);
  animation: drip 2.2s ease-in-out infinite;
}

@keyframes drip {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}

/* ==========================================================================
   Section shell
   ========================================================================== */

section {
  position: relative;
  padding: clamp(5rem, 10vw, 8.5rem) var(--gutter);
}

.section-head {
  max-width: 44rem;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-head .wall-label {
  justify-content: center;
}

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: var(--wall-green);
  margin-top: 1.2rem;
  line-height: 1.1;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-lede {
  font-weight: 300;
  font-size: 1.05rem;
  color: rgba(18, 32, 26, 0.68);
  margin-top: 1.2rem;
  line-height: 1.7;
}

/* Reveal-on-scroll base */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.24s; opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.36s; opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Provenance strip — "the name" story, museum wall-text style
   ========================================================================== */

.provenance {
  background: var(--plaster);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.provenance-plate {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(150deg, #24463A 0%, #1B3A2F 55%, #12251E 100%);
  border: 1px solid var(--line);
}

.provenance-plate-inner {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(201, 166, 97, 0.3);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.provenance-plate-mark {
  width: 34%;
  color: var(--gold);
  opacity: 0.85;
}

.provenance-plate-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 34px;
  text-align: center;
}

.provenance-plate-caption .wall-label {
  color: var(--gold-bright);
  justify-content: center;
}
.provenance-plate-caption .wall-label::before { background: var(--gold-bright); }

.provenance-text .section-title { margin-top: 1.1rem; text-align: left; }
.provenance-text .wall-label { margin: 0; }

.provenance-copy {
  margin-top: 1.4rem;
  font-weight: 300;
  color: rgba(18, 32, 26, 0.72);
  line-height: 1.85;
  font-size: 1.02rem;
}

.provenance-copy + .provenance-copy {
  margin-top: 1.1rem;
}

.provenance-copy strong {
  color: var(--wall-green);
  font-weight: 500;
}

/* ==========================================================================
   Services — two plaques (gynecology & pediatrics)
   ========================================================================== */

.services {
  background: var(--wall-green);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 15% 10%, rgba(201, 166, 97, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 90%, rgba(232, 196, 184, 0.06), transparent 60%);
  pointer-events: none;
}

.services .section-head .wall-label { color: var(--gold-bright); }
.services .section-head .wall-label::before { background: var(--gold-bright); }
.services .section-title { color: var(--plaster); }
.services .section-lede { color: var(--plaster-dim); }

.plaque-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 74rem;
  margin: 0 auto;
}

.plaque {
  position: relative;
  padding: clamp(2.4rem, 4vw, 3.4rem);
  background: rgba(246, 241, 231, 0.03);
  border: 1px solid rgba(201, 166, 97, 0.22);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.6s ease,
              background-color 0.6s ease;
}

.plaque:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 166, 97, 0.55);
  background: rgba(246, 241, 231, 0.05);
}

.plaque-number {
  font-family: var(--display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gold);
  opacity: 0.7;
}

.plaque-icon {
  width: 46px;
  height: 46px;
  margin-top: 1.6rem;
  color: var(--blush);
}

.plaque-icon svg { width: 100%; height: 100%; }

.plaque-title {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--plaster);
  margin-top: 1.5rem;
}

.plaque-desc {
  margin-top: 0.9rem;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--plaster-dim);
  opacity: 0.85;
}

.plaque-list {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.plaque-list-item {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-size: 0.86rem;
  color: var(--plaster-dim);
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(246, 241, 231, 0.08);
}

.plaque-list-item:last-child { border-bottom: none; padding-bottom: 0; }

.plaque-list-item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  transform: translateY(-2px);
}

.services-footnote {
  text-align: center;
  margin-top: 2.6rem;
  font-size: 0.85rem;
  color: var(--plaster-dim);
  opacity: 0.55;
  font-style: italic;
}

/* ==========================================================================
   Progress — construction / opening timeline, honest "not open yet" section
   ========================================================================== */

.progress-section {
  background: var(--plaster);
}

.progress-rail {
  position: relative;
  max-width: 50rem;
  margin: 0 auto;
}

.progress-track {
  position: relative;
  padding-left: clamp(2rem, 5vw, 3.2rem);
}

.progress-track-line {
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line);
}

.progress-track-fill {
  position: absolute;
  left: 5px;
  top: 8px;
  width: 1px;
  background: var(--gold);
  height: 0%;
  transition: height 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-item {
  position: relative;
  padding-bottom: 3.2rem;
}
.progress-item:last-child { padding-bottom: 0; }

.progress-dot {
  position: absolute;
  left: calc(clamp(2rem, 5vw, 3.2rem) * -1 + 0.5px);
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--plaster);
  border: 1.5px solid var(--gold);
}

.progress-item.is-done .progress-dot {
  background: var(--gold);
}

.progress-item.is-current .progress-dot {
  background: var(--blush);
  border-color: var(--blush);
  box-shadow: 0 0 0 5px rgba(232, 196, 184, 0.25);
}

.progress-stage {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.progress-item.is-current .progress-stage { color: var(--blush); }
.progress-item:not(.is-done):not(.is-current) .progress-stage { color: rgba(18,32,26,0.35); }

.progress-title {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--wall-green);
  margin-top: 0.4rem;
}

.progress-item:not(.is-done):not(.is-current) .progress-title { color: rgba(18,32,26,0.4); }

.progress-desc {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(18, 32, 26, 0.6);
  max-width: 30rem;
}

/* ==========================================================================
   Countdown — the anticipation moment
   ========================================================================== */

.countdown-section {
  background: linear-gradient(180deg, var(--wall-green) 0%, var(--wall-green-deep) 100%);
  text-align: center;
}

.countdown-section .wall-label { color: var(--gold-bright); justify-content: center; }
.countdown-section .wall-label::before { background: var(--gold-bright); }
.countdown-section .section-title { color: var(--plaster); }

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 3vw, 2rem);
  margin-top: 3rem;
  flex-wrap: wrap;
}

.countdown-cell {
  width: clamp(80px, 12vw, 128px);
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 166, 97, 0.3);
  border-radius: 4px;
  background: rgba(246, 241, 231, 0.03);
  position: relative;
  overflow: hidden;
}

.countdown-cell::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 166, 97, 0.15);
  border-radius: 2px;
}

.countdown-value {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countdown-value--icon {
  color: rgba(225, 197, 138, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.4s ease;
}

.countdown-cell.is-status-active .countdown-value--icon {
  color: var(--gold-bright);
}

.countdown-cell.is-status-active {
  border-color: rgba(201, 166, 97, 0.55);
  background: rgba(246, 241, 231, 0.06);
}

.countdown-cell.is-status-active .countdown-label {
  color: var(--plaster);
  opacity: 0.85;
}

.countdown-label {
  margin-top: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plaster-dim);
  opacity: 0.6;
}

.countdown-lede {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--plaster-dim);
}

/* ==========================================================================
   Notify form — the "visitor's book"
   ========================================================================== */

.notify-form {
  margin-top: 3.2rem;
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.notify-input {
  width: min(320px, 70vw);
  padding: 1rem 1.3rem;
  background: rgba(246, 241, 231, 0.06);
  border: 1px solid rgba(201, 166, 97, 0.35);
  border-radius: 999px;
  color: var(--plaster);
  font-family: var(--body);
  font-size: 0.92rem;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.notify-input::placeholder { color: rgba(246, 241, 231, 0.4); }

.notify-input:focus {
  outline: none;
  border-color: var(--gold-bright);
  background: rgba(246, 241, 231, 0.1);
}

.notify-submit {
  padding: 1rem 1.9rem;
  background: var(--gold);
  color: var(--wall-green-deep);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.notify-submit:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.notify-note {
  margin-top: 1.1rem;
  font-size: 0.76rem;
  color: var(--plaster-dim);
  opacity: 0.5;
}

.notify-success {
  margin-top: 3.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  color: var(--gold-bright);
  font-size: 0.95rem;
}

.notify-success.is-shown {
  display: flex;
  animation: riseIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   Location strip
   ========================================================================== */

.location {
  background: var(--plaster);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.location-map {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, #EDE6D5 0%, #E4DAC2 100%);
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.location-map:hover,
.location-map:focus-within {
  border-color: var(--gold);
}

/* Quiet, slightly desaturated by default so Google's default palette doesn't
   fight the gallery colors around it — resolves to true color the moment
   someone actually engages with the map. */
.location-map-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) contrast(1.03);
  transition: filter 0.6s ease;
}

.location-map:hover .location-map-frame,
.location-map:focus-within .location-map-frame {
  filter: grayscale(0) contrast(1);
}

.location-map-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 0.55rem 1.1rem;
  background: rgba(27, 58, 47, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--plaster);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(18, 32, 26, 0.25);
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.location-map-badge:hover,
.location-map-badge:focus-visible {
  background: var(--gold);
  color: var(--wall-green-deep);
  transform: translateY(-2px);
}

.location-map-link {
  display: inline-block;
  margin-top: 0.4rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(201, 166, 97, 0.4);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.location-map-link:hover {
  color: var(--wall-green);
  border-color: var(--wall-green);
}

.location-copy .wall-label { margin: 0; }
.location-copy .section-title { margin-top: 1.1rem; text-align: left; }

.location-addr {
  margin-top: 1.4rem;
  font-weight: 300;
  color: rgba(18, 32, 26, 0.72);
  line-height: 1.8;
  font-size: 1.02rem;
}

.location-contacts {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.location-contact {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.92rem;
  color: var(--wall-green);
}

.location-contact svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--wall-green-deep);
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2.2rem;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(201, 166, 97, 0.15);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--plaster);
}

.footer-brand svg { width: 30px; height: 30px; }

.footer-tagline {
  max-width: 22rem;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--plaster-dim);
  opacity: 0.7;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.9rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 166, 97, 0.3);
  border-radius: 50%;
  color: var(--gold-bright);
  transition: all 0.35s ease;
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--wall-green-deep);
  transform: translateY(-3px);
}

.footer-social svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: 0.76rem;
  color: var(--plaster-dim);
  opacity: 0.45;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 860px) {
  .provenance,
  .location {
    grid-template-columns: 1fr;
  }
  .provenance-text .section-title,
  .location-copy .section-title {
    text-align: center;
  }
  .provenance-text,
  .location-copy {
    text-align: center;
  }
  .provenance-text .wall-label,
  .location-copy .wall-label {
    justify-content: center;
  }
  .location-contact {
    justify-content: center;
  }
  .provenance-plate {
    order: -1;
  }
}

@media (max-width: 720px) {
  .plaque-grid {
    grid-template-columns: 1fr;
  }
  .hero-meta {
    gap: 1.6rem;
  }
  .header-cta {
    display: none;
  }
}

@media (max-width: 480px) {
  .countdown-grid {
    gap: 0.6rem;
  }
  .countdown-cell {
    width: 68px;
  }
}
