/* ═══════════════════════════════════════════════════════════════════════════
   MUSEUMS OF QUINTE — SOON SITE
   Version 1.0
   Fonts: Cormorant Garamond (display) · Syne (UI)
   Brand: Navy #1B2A4A · Teal #2E8B8B · Gold #C9A84C
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── RESET & ROOT ──────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:        #1B2A4A;
  --navy-deep:   #0D1520;
  --navy-darker: #080D15;
  --teal:        #2E8B8B;
  --teal-muted:  #236969;
  --gold:        #C9A84C;
  --gold-light:  #E8C870;
  --gold-dim:    rgba(201,168,76,0.25);
  --cream:       #F5F0E8;
  --cream-dim:   rgba(245,240,232,0.55);
  --cream-ghost: rgba(245,240,232,0.08);

  --ff-d: 'Cormorant Garamond', 'Palatino Linotype', serif;
  --ff-u: 'Syne', 'Helvetica Neue', sans-serif;

  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--navy-darker);
  color: var(--cream);
  font-family: var(--ff-u);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ─── LOADER ─────────────────────────────────────────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { text-align: center; }

.loader-monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  animation: loaderGlow 2s ease-in-out infinite;
}
.loader-logo-img {
  height: 72px;
  width: auto;
  display: block;
}
@keyframes loaderGlow {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 18px rgba(201,168,76,0.45)); }
  50%       { opacity: 0.35; filter: none; }
}

.loader-bar {
  width: 180px;
  height: 1px;
  background: var(--gold-dim);
  margin: 0 auto 1.5rem;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: var(--gold);
  width: 0;
  animation: fillBar 2.5s var(--ease-expo) forwards;
}
@keyframes fillBar { to { width: 100%; } }

.loader-text {
  font-family: var(--ff-u);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* ─── SCROLL PROGRESS ────────────────────────────────────────────────────────── */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  z-index: 9999;
  pointer-events: none;
  transition: width 0.05s linear;
}

/* ─── CUSTOM CURSOR ──────────────────────────────────────────────────────────── */
#cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
}
.cursor-ring {
  position: absolute;
  width: 42px; height: 42px;
  border: 1px solid rgba(201,168,76,0.8);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-expo),
              height 0.4s var(--ease-expo),
              border-color 0.3s ease,
              opacity 0.3s ease;
}
.cursor-dot {
  position: absolute;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease;
}
body.cursor-hover .cursor-ring {
  width: 64px; height: 64px;
  border-color: var(--teal);
}
body.cursor-hover .cursor-dot {
  transform: translate(-50%, -50%) scale(0);
}

/* ─── NAVIGATION ─────────────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 3rem;
  transition: background 0.6s ease, padding 0.4s ease, border-color 0.6s ease;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(8,13,21,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1.1rem 3rem;
  border-bottom-color: rgba(201,168,76,0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(8,13,21,0.82);
}

.nav-logo { display: flex; align-items: center; padding: 0.15rem 0; }
.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
  /* SVG is white — no filter needed */
}
@media (max-width: 700px) { .nav-logo-img { height: 22px; } }

.nav-pill {
  display: inline-block;
  font-family: var(--ff-u);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(46,139,139,0.35);
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

.nav-right { display: flex; align-items: center; gap: 1.75rem; }

.lang-btn {
  background: none;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-family: var(--ff-u);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.lang-btn:hover { background: var(--gold); color: var(--navy-darker); }

.nav-cta {
  font-family: var(--ff-u);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(201,168,76,0.45);
  transition: background 0.3s, color 0.3s;
}
.nav-cta:hover { background: var(--gold); color: var(--navy-darker); border-color: var(--gold); }

/* ─── HERO ────────────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,13,21,0.12) 0%, rgba(8,13,21,0) 30%),
    linear-gradient(to bottom, rgba(8,13,21,0) 50%, rgba(8,13,21,0.96) 100%),
    linear-gradient(to right, rgba(8,13,21,0.7) 0%, rgba(8,13,21,0) 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(2rem, 5vw, 5rem) clamp(5rem, 8vh, 8rem);
  max-width: 1100px;
}

.hero-eyebrow {
  font-family: var(--ff-u);
  font-size: 0.62rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(16px);
}

.hero-headline {
  font-family: var(--ff-d);
  font-size: clamp(42px, 8.2vw, 118px);
  font-weight: 300;
  line-height: 0.90;
  letter-spacing: -0.025em;
  color: var(--cream);
  margin-bottom: 2.5rem;
  /* Allow word to extend beyond content max-width */
  margin-right: -10vw;
}
.hero-line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}
.hero-line > span {
  display: block;
  transform: translateY(105%);
}
.hl-gold { color: var(--gold); font-style: italic; }

.hero-rule {
  width: 0;
  height: 1px;
  background: linear-gradient(to right, var(--gold) 0%, rgba(201,168,76,0) 100%);
  margin-bottom: 1.75rem;
}

.hero-sub {
  font-family: var(--ff-u);
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  color: var(--cream-dim);
  max-width: 480px;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(20px);
  margin-bottom: 3.5rem;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
}
.scroll-bar {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollAnimate 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollAnimate {
  0%, 100% { transform: scaleY(0); opacity: 0; }
  20%       { opacity: 1; }
  60%       { transform: scaleY(1); opacity: 1; }
  80%, 100% { transform: scaleY(1); opacity: 0; }
}
.scroll-label {
  font-family: var(--ff-u);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.hero-corner-badge {
  position: absolute;
  right: clamp(2rem, 4vw, 4rem);
  bottom: clamp(4rem, 7vh, 6rem);
  z-index: 2;
  text-align: right;
  opacity: 0;
  border-right: 1px solid rgba(46,139,139,0.35);
  padding-right: 1.25rem;
}
.badge-line {
  display: block;
  font-family: var(--ff-d);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--teal);
  letter-spacing: 0.08em;
  line-height: 1.6;
}
.badge-line--dim { color: var(--cream-dim); font-style: normal; font-size: 0.7rem; }

.hero-count-badge {
  position: absolute;
  top: 50%;
  right: 4rem;
  transform: translateY(-50%);
  z-index: 2;
  text-align: center;
  opacity: 0;
}
.count-num {
  display: block;
  font-family: var(--ff-d);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 300;
  color: rgba(201,168,76,0.06);
  line-height: 1;
  letter-spacing: -0.04em;
}
.count-label {
  display: block;
  font-family: var(--ff-u);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.3);
}

/* ─── MANIFESTO ──────────────────────────────────────────────────────────────── */
#manifesto {
  background: var(--navy-darker);
  padding: clamp(6rem, 14vw, 14rem) clamp(2rem, 5vw, 5rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.manifesto-inner { max-width: 1400px; margin: 0 auto; }

.manifesto-headline {
  font-family: var(--ff-d);
  font-size: clamp(38px, 7.5vw, 128px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin-bottom: clamp(3rem, 5vw, 6rem);
}
.manifesto-headline em {
  font-style: italic;
  color: var(--gold);
}
.manifesto-headline .mw {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
}

.manifesto-body {
  font-family: var(--ff-u);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--cream-dim);
  max-width: 680px;
  line-height: 1.9;
  padding-left: 2rem;
  border-left: 2px solid var(--gold);
  opacity: 0;
  transform: translateX(-20px);
  margin-left: 2px;
}

/* ─── THE SEVEN ──────────────────────────────────────────────────────────────── */
#museums {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.museums-topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 4rem;
  background: linear-gradient(to bottom, rgba(8,13,21,0.8) 0%, transparent 100%);
}
.museums-toplabel {
  font-family: var(--ff-u);
  font-size: 0.6rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
}
.museums-progress-track {
  flex: 1;
  height: 1px;
  background: rgba(201,168,76,0.2);
  margin: 0 2rem;
  overflow: hidden;
}
.museums-progress-fill {
  height: 100%;
  background: var(--gold);
  width: 0;
  transition: width 0.05s linear;
}
.museums-counter {
  font-family: var(--ff-d);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--cream-dim);
  min-width: 40px;
  text-align: right;
}

.museums-track {
  display: flex;
  height: 100%;
  will-change: transform;
}

/* Museum Cards */
.museum-card {
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 3rem 4rem 5rem;
  overflow: hidden;
}
.museum-card:nth-child(odd)  { background: var(--navy-deep); }
.museum-card:nth-child(even) { background: #0a1018; }
.museum-card.has-photo {
  background-color: var(--navy-darker);
  background-size: cover;
  background-position: center;
}
.museum-card.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(8,13,21,0.94) 0%, rgba(8,13,21,0.7) 50%, rgba(8,13,21,0.3) 100%),
    linear-gradient(to top,    rgba(8,13,21,0.9) 0%,  rgba(8,13,21,0.0) 60%);
  z-index: 1;
}
.museum-card.has-photo .mc-bg-icon,
.museum-card.has-photo .mc-number,
.museum-card.has-photo .mc-content,
.museum-card.has-photo .mc-corner-mark { z-index: 2; }

.mc-bg-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.07;
}
.mc-bg-icon svg {
  width: min(55vw, 600px);
  height: auto;
}
.museum-card--gold .mc-bg-icon { color: var(--gold); }
.museum-card--teal .mc-bg-icon { color: var(--teal); }

.mc-number {
  position: absolute;
  top: 50%;
  right: 4rem;
  transform: translateY(-50%);
  font-family: var(--ff-d);
  font-size: clamp(120px, 22vw, 300px);
  font-weight: 700;
  color: rgba(245,240,232,0.03);
  line-height: 1;
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
}

.mc-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.mc-index {
  font-family: var(--ff-u);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.mc-index::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
}
.museum-card--teal .mc-index,
.museum-card--teal .mc-index::before { color: var(--teal); background: var(--teal); }

.mc-name {
  font-family: var(--ff-d);
  font-size: clamp(36px, 5.8vw, 82px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--cream);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.mc-tagline {
  font-family: var(--ff-d);
  font-size: clamp(17px, 2vw, 28px);
  font-style: italic;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}
.museum-card--teal .mc-tagline { color: var(--teal); }

.mc-desc {
  font-family: var(--ff-u);
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  color: var(--cream-dim);
  line-height: 1.85;
  max-width: 500px;
}

/* ─── VISION ─────────────────────────────────────────────────────────────────── */
#vision {
  background: var(--navy);
  padding: clamp(6rem, 10vw, 12rem) clamp(2rem, 5vw, 5rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.vision-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}
@media (max-width: 900px) {
  .vision-inner { grid-template-columns: 1fr; }
}

.section-eyebrow {
  font-family: var(--ff-u);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--teal);
}

.vision-headline {
  font-family: var(--ff-d);
  font-size: clamp(32px, 4.5vw, 68px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}
.vision-body {
  font-family: var(--ff-u);
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  color: var(--cream-dim);
  line-height: 1.9;
  margin-bottom: 3rem;
}

.vision-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.stat-item {
  border-top: 1px solid rgba(201,168,76,0.3);
  padding-top: 1.25rem;
}
.stat-number {
  display: block;
  font-family: var(--ff-d);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--ff-u);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream-dim);
  line-height: 1.5;
}

/* Vision render frame */
.vision-visual { position: relative; }
.render-frame {
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201,168,76,0.15);
  position: relative;
  overflow: hidden;
}
.render-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(46,139,139,0.08) 0%, transparent 65%);
  animation: renderPulse 5s ease-in-out infinite alternate;
}
@keyframes renderPulse {
  from { opacity: 0.4; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1.15); }
}

.render-placeholder-inner {
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(201,168,76,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.render-label {
  font-family: var(--ff-d);
  font-size: 1.4rem;
  font-weight: 300;
  color: rgba(245,240,232,0.18);
  text-align: center;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

/* Corner cross decorations */
.render-cross {
  position: absolute;
  width: 12px; height: 12px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.4;
}
.render-cross--tl { top: 0.5rem; left: 0.5rem;  border-width: 1px 0 0 1px; }
.render-cross--tr { top: 0.5rem; right: 0.5rem; border-width: 1px 1px 0 0; }
.render-cross--bl { bottom: 0.5rem; left: 0.5rem;  border-width: 0 0 1px 1px; }
.render-cross--br { bottom: 0.5rem; right: 0.5rem; border-width: 0 1px 1px 0; }

.render-caption {
  font-family: var(--ff-u);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--cream-dim);
  margin-top: 0.85rem;
  opacity: 0.6;
}

/* Drop actual render image in here */
.render-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 5;
}

/* ─── COUNTDOWN ──────────────────────────────────────────────────────────────── */
#countdown {
  background: var(--navy-darker);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(4rem, 8vw, 8rem) 2rem;
}
.countdown-inner { width: 100%; max-width: 1400px; }

.countdown-eyebrow {
  justify-content: center;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  color: var(--teal);
}
.countdown-eyebrow::before { background: var(--teal); }

.countdown-display {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  flex-wrap: wrap;
}
.cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 clamp(0.75rem, 2.5vw, 3rem);
}
.cd-num {
  display: block;
  font-family: var(--ff-d);
  font-size: clamp(56px, 14vw, 210px);
  font-weight: 300;
  color: var(--gold);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.cd-label {
  display: block;
  font-family: var(--ff-u);
  font-size: 0.58rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 1rem;
}
.cd-colon {
  font-family: var(--ff-d);
  font-size: clamp(40px, 10vw, 150px);
  color: rgba(201,168,76,0.2);
  line-height: 0.88;
  padding-top: 0.05em;
  font-weight: 300;
  align-self: flex-start;
}

.countdown-sub {
  font-family: var(--ff-d);
  font-size: clamp(1.1rem, 2.2vw, 1.8rem);
  font-style: italic;
  color: var(--cream-dim);
  margin-bottom: 1.5rem;
}
.countdown-line {
  width: 60px;
  height: 1px;
  background: var(--gold-dim);
  margin: 0 auto 1.5rem;
}
.countdown-date {
  font-family: var(--ff-u);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.5);
}

/* ─── REGISTER ───────────────────────────────────────────────────────────────── */
#register {
  background: var(--navy);
  padding: clamp(6rem, 10vw, 12rem) clamp(2rem, 5vw, 5rem);
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.register-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}
@media (max-width: 900px) {
  .register-inner { grid-template-columns: 1fr; }
}

.register-left .section-eyebrow { color: var(--gold); }
.register-left .section-eyebrow::before { background: var(--gold); }

.register-headline {
  font-family: var(--ff-d);
  font-size: clamp(38px, 5.5vw, 90px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--cream);
  margin-bottom: 1.5rem;
  letter-spacing: -0.015em;
}
.register-sub {
  font-family: var(--ff-u);
  font-size: clamp(0.88rem, 1.3vw, 1.05rem);
  color: var(--cream-dim);
  line-height: 1.85;
}

.register-right { padding-top: 2rem; }

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-input {
  flex: 1;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(245,240,232,0.14);
  color: var(--cream);
  font-family: var(--ff-u);
  font-size: 0.85rem;
  padding: 1.1rem 1.4rem;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-input::placeholder { color: rgba(245,240,232,0.28); letter-spacing: 0.04em; }
.form-input:focus { border-color: var(--gold); background: rgba(201,168,76,0.04); }
.form-full { width: 100%; }

.form-submit {
  width: 100%;
  background: var(--gold);
  border: none;
  color: var(--navy-darker);
  font-family: var(--ff-u);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1.4rem 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  transition: background 0.3s, gap 0.3s;
  border-radius: 0;
}
.form-submit:hover { background: var(--gold-light); gap: 2rem; }
.form-submit.success { background: var(--teal); }
.form-submit.error   { background: #c0392b; }

.submit-text { transition: none; }
.submit-arrow { font-size: 1.1rem; }

.form-legal {
  font-family: var(--ff-u);
  font-size: 0.6rem;
  color: rgba(245,240,232,0.28);
  margin-top: 1rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.form-status {
  font-family: var(--ff-u);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  margin-top: 0.875rem;
  min-height: 1.2em;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.form-status--success { color: var(--teal); }
.form-status--error   { color: #e07070; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
#footer {
  background: var(--navy-darker);
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: clamp(4rem, 7vw, 6rem) clamp(2rem, 5vw, 5rem) 2.5rem;
}
.footer-inner { max-width: 1400px; margin: 0 auto; }

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: clamp(3rem, 5vw, 5rem);
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-name {
  font-family: var(--ff-d);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.footer-name-fr {
  font-family: var(--ff-d);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--cream-dim);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.footer-tagline-italic {
  font-family: var(--ff-d);
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(245,240,232,0.35);
}

.footer-moq-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}
.footer-badge-text {
  font-family: var(--ff-d);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(201,168,76,0.08);
  letter-spacing: 0.2em;
  line-height: 1;
}
.footer-badge-year {
  font-family: var(--ff-u);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: rgba(201,168,76,0.3);
  text-transform: uppercase;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  padding-top: 3rem;
  margin-bottom: 3rem;
  border-top: 1px solid rgba(245,240,232,0.06);
}
@media (max-width: 900px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .footer-cols { grid-template-columns: 1fr; } }

.footer-col-head {
  font-family: var(--ff-u);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-col-body {
  font-family: var(--ff-u);
  font-size: 0.82rem;
  color: var(--cream-dim);
  line-height: 1.85;
}
.footer-col-body a {
  text-decoration: none;
  transition: color 0.25s;
}
.footer-col-body a:hover { color: var(--cream); }

.footer-museums-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-museums-list li {
  font-family: var(--ff-u);
  font-size: 0.75rem;
  color: var(--cream-dim);
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(245,240,232,0.05);
  line-height: 1.4;
  transition: color 0.25s;
  cursor: default;
}
.footer-museums-list li:hover { color: var(--cream); }

/* footer-social — see appended block below */

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 2rem;
  border-top: 1px solid rgba(245,240,232,0.05);
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-legal, .footer-copy {
  font-family: var(--ff-u);
  font-size: 0.6rem;
  color: rgba(245,240,232,0.22);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* ─── UTILITY & ACCESSIBILITY ────────────────────────────────────────────────── */
.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;
}

/* ─── MOBILE ADJUSTMENTS ─────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  #nav { padding: 1.25rem 1.5rem; }
  #nav.scrolled { padding: 0.9rem 1.5rem; }
  .nav-center { display: none; }

  .hero-content { padding: 0 1.5rem 4.5rem; }
  .hero-corner-badge { display: none; }
  .hero-count-badge { display: none; }

  #manifesto { padding: 5rem 1.5rem; }
  .museums-topbar { padding: 1.25rem 1.5rem; }
  .museum-card { padding: 2rem 1.5rem 3.5rem; }

  #vision, #register { padding: 5rem 1.5rem; }
  .vision-stats { grid-template-columns: repeat(2, 1fr); }

  #countdown { padding: 5rem 1rem; }
  .cd-colon { display: none; }
  .countdown-display { gap: 1.5rem; }
  .cd-unit { padding: 0 1rem; }

  #footer { padding: 4rem 1.5rem 2rem; }

  .form-row { flex-direction: column; }
}

/* ─── PRINT ──────────────────────────────────────────────────────────────────── */
@media print {
  #loader, #cursor, #nav { display: none; }
  body { background: white; color: black; }
}


/* ─── HERO GRAIN OVERLAY ─────────────────────────────────────────────────────── */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 192px;
}

/* ─── HERO LINE — inner span support for GSAP clip reveal ───────────────────── */
.hero-line > span.inner {
  display: block;
  transform: translateY(105%);
}
/* Fallback: if no inner span, text shows directly */
.hero-line:not(:has(> span.inner)) {
  /* text already visible via static render */
}

/* ─── MUSEUM CARD PHOTO POLISH ───────────────────────────────────────────────── */
.has-photo .mc-desc {
  text-shadow: 0 1px 12px rgba(8,13,21,0.6);
}
.has-photo .mc-name {
  text-shadow: 0 2px 24px rgba(8,13,21,0.5);
}

/* ─── COUNTDOWN POLISH ───────────────────────────────────────────────────────── */
#countdown {
  position: relative;
}
#countdown::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── FOOTER LEGAL SEP ───────────────────────────────────────────────────────── */
.footer-legal-sep {
  margin: 0 0.5rem;
  color: var(--gold-dim);
}

/* ─── SMOOTH IMAGE LOAD ON CARDS ─────────────────────────────────────────────── */
.museum-card {
  transition: background-color 0.3s ease;
}

/* ─── NAV REFINEMENT ─────────────────────────────────────────────────────────── */
.nav {
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
}

/* ─── REGISTER SECTION POLISH ───────────────────────────────────────────────── */
.register-perks {
  list-style: none;
  margin-top: 2rem;
}
.register-perks li {
  font-family: var(--ff-u);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--cream-dim);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(245,240,232,0.06);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.register-perks li::before {
  content: '→';
  color: var(--gold);
  flex-shrink: 0;
}

/* ─── RENDER PLACEHOLDER ENHANCED ───────────────────────────────────────────── */
.render-placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.render-placeholder-icon {
  width: 52px;
  height: 52px;
  color: var(--gold);
  opacity: 0.55;
  margin-bottom: 0.5rem;
}
.render-sublabel {
  font-family: var(--ff-u);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0.75;
}

/* ─── SOCIAL ICONS — FULL ROW ────────────────────────────────────────────────── */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 0.5rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(245,240,232,0.14);
  border-radius: 50%;
  color: var(--cream-dim);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  text-decoration: none;
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.07);
}
.footer-social a svg {
  width: 15px;
  height: 15px;
  display: block;
}

/* ─── FOOTER CONTACT FIELDS ──────────────────────────────────────────────────── */
.footer-contact-address,
.footer-contact-phone,
.footer-contact-email,
.footer-contact-web {
  display: block;
  font-family: var(--ff-u);
  font-size: 0.72rem;
  line-height: 1.8;
  color: var(--cream-dim);
  text-decoration: none;
}
.footer-contact-phone:hover,
.footer-contact-email:hover {
  color: var(--gold);
}
.footer-contact-address {
  color: rgba(245,240,232,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.03em;
}
.footer-contact-web {
  font-size: 0.62rem;
  color: rgba(245,240,232,0.28);
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* ─── RENDER PHOTO (campus aerial) ──────────────────────────────────────────── */
.render-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  border-radius: inherit;
}
.render-frame {
  overflow: hidden;
}
