/* ═══════════════════════════════════════════════════════════════════
   MUSEUMS OF QUINTE — main.css
   Version 3.0
   Structure:
     1.  Design Tokens & Reset
     2.  Custom Cursor
     3.  Grain Overlay
     4.  Typography
     5.  Navigation
     6.  Hero
     7.  Marquee Strip
     8.  Section Shared Utilities
     9.  Exhibitions
     10. Museum Network Tiles
     11. Interactive Map
     12. Events
     13. Stories / Collections
     14. Education / Digital Experiences
     15. Botanical Gardens Feature
     16. Support / Membership
     17. Newsletter Banner
     18. Footer
     19. Scroll Reveal System
     20. Responsive Breakpoints
═══════════════════════════════════════════════════════════════════ */

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

:root {
  /* Core palette */
  --ink:        #18120d;
  --parchment:  #f3ede3;
  --cream:      #f8f4ed;
  --stone:      #897869;
  --bronze:     #9c6d32;
  --verdigris:  #375f50;
  --lake:       #294a64;
  --rust:       #7d3220;
  --gold:       #c6a240;
  --gold-lt:    #dfb95e;
  --gold-dim:   rgba(198, 162, 64, 0.18);
  --mist:       #d8d0c2;
  --navy:       #1c2d3e;
  --forest:     #1e3328;
  --copper:     #8b4513;

  /* Institution accent colours */
  --col-air:    #2e5480;
  --col-canada: #8b1a1a;
  --col-sci:    #1e4d3a;
  --col-nature: #4a6741;
  --col-planet: #1a1a3e;
  --col-art:    #5a2d5a;
  --col-garden: #2d5c3a;

  /* Spacing */
  --space-xs:  0.4rem;
  --space-sm:  0.8rem;
  --space-md:  1.6rem;
  --space-lg:  3.2rem;
  --space-xl:  5.5rem;

  /* Type scale */
  --text-xs:   0.54rem;
  --text-sm:   0.68rem;
  --text-base: 0.82rem;
  --text-md:   1rem;
  --text-lg:   1.2rem;
  --text-xl:   1.5rem;

  /* Easing */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io:   cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out:  cubic-bezier(0.33, 1, 0.68, 1);

  /* Transitions */
  --trans-fast:   0.18s;
  --trans-base:   0.28s;
  --trans-slow:   0.45s;
  --trans-reveal: 0.85s;

  /* Borders */
  --border-gold:  1px solid rgba(198, 162, 64, 0.18);
  --border-light: 1px solid rgba(255, 255, 255, 0.07);
  --border-ink:   1px solid rgba(24, 18, 13, 0.1);
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; }
button { font-family: inherit; }

/* ──────────────────────────────────────────────
   2. CUSTOM CURSOR
────────────────────────────────────────────── */
#cur {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition:
    width  var(--trans-slow) var(--ease-expo),
    height var(--trans-slow) var(--ease-expo),
    background var(--trans-fast),
    opacity var(--trans-base);
}

#curR {
  position: fixed;
  width: 38px; height: 38px;
  border: 1px solid rgba(198, 162, 64, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition:
    width   0.4s var(--ease-expo),
    height  0.4s var(--ease-expo),
    opacity var(--trans-slow),
    border-color var(--trans-base);
}

body.ch #cur  { width: 20px; height: 20px; background: var(--gold-lt); }
body.ch #curR { width: 58px; height: 58px; opacity: 0.45; }
body.cd #cur  { background: var(--ink); }
body.cd #curR { border-color: rgba(24, 18, 13, 0.35); }

/* ──────────────────────────────────────────────
   3. GRAIN OVERLAY
────────────────────────────────────────────── */
#grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 8999;
  opacity: 0.026;
  background-image: url('../images/grain.svg');
  background-size: 256px 256px;
}

/* ──────────────────────────────────────────────
   4. TYPOGRAPHY HELPERS
────────────────────────────────────────────── */
.t-display {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.1;
}

.t-italic {
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.t-serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.78;
}

.t-label {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ──────────────────────────────────────────────
   4b. SKIP LINK (accessibility — hidden until focused)
────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 99999;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0;
  transition: top 0.2s;
  white-space: nowrap;
}

.skip-link:focus {
  top: 1rem;
}

/* sr-only — screen reader text only, never visible */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ──────────────────────────────────────────────
   5. NAVIGATION
   IMPORTANT: All rules scoped to #nav to avoid
   bleeding into footer <nav> elements.
────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2.5rem;
  background: rgba(24, 18, 13, 0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid rgba(198, 162, 64, 0);
  transition:
    background      0.55s,
    backdrop-filter 0.55s,
    border-color    0.55s,
    padding         0.4s;
  animation: navIn 1s var(--ease-expo) both;
}

#nav.scrolled {
  background: rgba(24, 18, 13, 0.95);
  backdrop-filter: blur(20px);
  border-color: rgba(198, 162, 64, 0.12);
  padding: 0.75rem 2.5rem;
}

@keyframes navIn {
  from { opacity: 0; transform: translateY(-22px); }
  to   { opacity: 1; transform: none; }
}

/* Logo — never shrinks */
.nav-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.nav-logo-m {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--parchment);
  letter-spacing: 0.07em;
  line-height: 1;
}

.nav-logo-s {
  font-size: 0.52rem;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Nav links — centred, allowed to shrink, won't overflow */
.nav-links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
  overflow: hidden;
}

.nav-links a {
  font-size: 0.63rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 237, 227, 0.7);
  text-decoration: none;
  font-weight: 400;
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color var(--trans-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right 0.35s var(--ease-expo);
}

.nav-links a:hover { color: var(--parchment); }
.nav-links a:hover::after { right: 0; }

/* Right side — never shrinks, stays right-aligned */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-btn {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(198, 162, 64, 0.65);
  color: var(--gold);
  padding: 0.5rem 1.1rem;
  cursor: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--trans-base), color var(--trans-base), border-color var(--trans-base);
}

.nav-btn:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: none;
  background: none;
  border: none;
  padding: 3px;
}

.hamburger span {
  display: block;
  width: 23px; height: 1.5px;
  background: var(--parchment);
  transition: transform 0.35s var(--ease-expo), opacity 0.25s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Drawer */
.drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 92vw);
  height: 100vh;
  background: rgba(20, 14, 9, 0.98);
  /* NOTE: backdrop-filter removed — it causes Safari to paint the drawer
     visibly even when translated off-screen (stacking context bug).
     The high-opacity background compensates. */
  z-index: 590;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-expo), visibility 0s linear 0.5s;
  padding: 5.5rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(198, 162, 64, 0.12);
  /* Fully hidden from screen + pointer events when closed */
  visibility: hidden;
  pointer-events: none;
}

.drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.5s var(--ease-expo), visibility 0s linear 0s;
}

.drawer a {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--parchment);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  transition: color var(--trans-fast), padding-left 0.3s var(--ease-expo);
}

.drawer a:hover { color: var(--gold); padding-left: 0.6rem; }

.drawer-cta {
  margin-top: auto;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 1rem 2rem;
  cursor: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: block;
}

/* ──────────────────────────────────────────────
   6. HERO
────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-wash {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 90% 80% at 68% 28%, rgba(46, 84, 128, 0.38) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 12% 68%, rgba(43, 74, 100, 0.28) 0%, transparent 55%),
    linear-gradient(148deg, #1d3120 0%, #2e4a3a 18%, #274460 40%, #3e2910 65%, #18120d 100%);
  animation: washShift 22s ease-in-out infinite alternate;
  will-change: filter;
}

@keyframes washShift {
  0%   { filter: hue-rotate(0deg) brightness(1); }
  50%  { filter: hue-rotate(8deg) brightness(1.04); }
  100% { filter: hue-rotate(-6deg) brightness(0.97); }
}

.hero-wash::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(24, 18, 13, 0.93) 0%, rgba(24, 18, 13, 0.3) 42%, transparent 68%),
    linear-gradient(160deg, rgba(46, 84, 128, 0.35) 0%, transparent 40%);
}

/* Bokeh rings */
.bokeh { position: absolute; inset: 0; pointer-events: none; }

.bk {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(198, 162, 64, 0.09);
  animation: bkSpin linear infinite;
}

.bk1 { width: 380px; height: 380px; top: 8%; right: 10%; animation-duration: 28s; }
.bk2 { width: 560px; height: 560px; top: 2%; right: 5%; border-color: rgba(198,162,64,.045); animation-duration: 38s; animation-delay: -12s; }
.bk3 { width: 200px; height: 200px; top: 28%; right: 24%; animation-duration: 20s; animation-delay: -6s; }
.bk4 { width: 90px; height: 90px; bottom: 30%; left: 45%; border: none; background: radial-gradient(circle, rgba(198,162,64,.07) 0%, transparent 70%); animation-duration: 15s; animation-delay: -3s; }

@keyframes bkSpin { to { transform: rotate(360deg); } }

.hero-rule {
  position: absolute;
  left: 3.5rem;
  top: 10%; bottom: 10%;
  width: 1px;
  z-index: 2;
  background: linear-gradient(to bottom, transparent, rgba(198,162,64,.42) 30%, rgba(198,162,64,.42) 70%, transparent);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 3rem 8rem 5.5rem;
  max-width: 870px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.55s var(--ease-expo) forwards;
}

.hero-eyebrow-line { width: 36px; height: 1px; background: var(--gold); }

.hero-eyebrow span {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.9rem, 5.6vw, 5.5rem);
  font-weight: 900;
  color: var(--parchment);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 1.6rem;
}

.hero-line { display: block; overflow: hidden; }

.hero-line-inner {
  display: block;
  opacity: 0;
  transform: translateY(62px);
  animation: lineUp 0.95s var(--ease-expo) forwards;
}

.hero-line:nth-child(1) .hero-line-inner { animation-delay: 0.72s; }
.hero-line:nth-child(2) .hero-line-inner { animation-delay: 0.86s; }
.hero-line:nth-child(3) .hero-line-inner { animation-delay: 1.0s; }

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

@keyframes lineUp { to { opacity: 1; transform: none; } }

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(243, 237, 227, 0.66);
  line-height: 1.78;
  max-width: 510px;
  margin-bottom: 2.8rem;
  opacity: 0;
  animation: fadeUp 0.9s 1.08s var(--ease-expo) forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 1.22s var(--ease-expo) forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  right: 3.5rem; bottom: 3.5rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  animation: fadeUp 1s 1.45s var(--ease-expo) forwards;
}

.scroll-track {
  width: 1px; height: 60px;
  background: rgba(243, 237, 227, 0.12);
  position: relative;
  overflow: hidden;
}

.scroll-track::after {
  content: '';
  position: absolute;
  top: -100%; left: 0; right: 0;
  height: 100%;
  background: var(--gold);
  animation: trackRun 2.4s ease-in-out infinite;
}

@keyframes trackRun { 0%{top:-100%} 50%{top:0} 100%{top:100%} }

.scroll-text {
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243, 237, 227, 0.38);
  writing-mode: vertical-rl;
}

/* Stats bar */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(24, 18, 13, 0.62);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(198, 162, 64, 0.1);
  opacity: 0;
  animation: fadeUp 0.9s 1.38s var(--ease-expo) forwards;
}

.stat-cell {
  padding: 1.3rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(198, 162, 64, 0.07);
  transition: background var(--trans-base);
}

.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: rgba(198, 162, 64, 0.06); }

.stat-n {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.22rem;
}

.stat-l {
  font-size: 0.54rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 237, 227, 0.38);
}

/* ──────────────────────────────────────────────
   7. MARQUEE STRIP
────────────────────────────────────────────── */
.marquee-strip {
  background: var(--ink);
  overflow: hidden;
  border-top: 1px solid rgba(198, 162, 64, 0.1);
  border-bottom: 1px solid rgba(198, 162, 64, 0.1);
  padding: 0.9rem 0;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeRoll 36s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marqueeRoll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0 2.4rem;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(243, 237, 227, 0.45);
  font-weight: 400;
  white-space: nowrap;
}

.marquee-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  opacity: 0.6;
}

/* ──────────────────────────────────────────────
   8. SECTION SHARED UTILITIES
────────────────────────────────────────────── */
.wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 3.5rem;
}

.sec-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding-top: 5.5rem;
}

.sec-header-l {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 500;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--bronze);
}

.eyebrow.lt { color: var(--gold); }
.eyebrow.lt::before { background: var(--gold); }

.sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.12;
}

.sec-title em { font-style: italic; color: var(--verdigris); }
.sec-title.lt { color: var(--parchment); }
.sec-title.lt em { color: var(--gold); }

.sec-link {
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--trans-base), gap var(--trans-base);
}

.sec-link::after { content: '→'; transition: transform 0.22s; }
.sec-link:hover  { color: var(--rust); gap: 0.8rem; }
.sec-link:hover::after { transform: translateX(3px); }
.sec-link.lt { color: rgba(198, 162, 64, 0.8); }
.sec-link.lt:hover { color: var(--gold); }

/* Buttons */
.btn-gold {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 0.95rem 2.2rem;
  cursor: none;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: transform var(--trans-fast);
}

.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-lt);
  transform: translateX(-101%);
  transition: transform 0.38s var(--ease-expo);
}

.btn-gold:hover::before { transform: translateX(0); }
.btn-gold span { position: relative; z-index: 1; }

.btn-line {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  background: transparent;
  color: var(--parchment);
  border: 1px solid rgba(243, 237, 227, 0.32);
  padding: 0.95rem 2.2rem;
  cursor: none;
  text-decoration: none;
  display: inline-block;
  transition: border-color var(--trans-base), color var(--trans-base);
}

.btn-line:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost-dark {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(24, 18, 13, 0.28);
  padding: 0.95rem 2.2rem;
  cursor: none;
  text-decoration: none;
  display: inline-block;
  transition: border-color var(--trans-base), color var(--trans-base), background var(--trans-base);
}

.btn-ghost-dark:hover { border-color: var(--ink); background: var(--ink); color: var(--parchment); }

/* ──────────────────────────────────────────────
   9. EXHIBITIONS
────────────────────────────────────────────── */
#exhibitions {
  background: var(--cream);
  padding-bottom: 6rem;
}

.ex-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.5fr 1.5fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  height: 620px;
}

.ex-card {
  position: relative;
  overflow: hidden;
  cursor: none;
}

.ex-card.main { grid-row: span 2; }

.ex-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.75s var(--ease-expo);
}

.ex-card:hover .ex-bg { transform: scale(1.055); }

.ex-card.main .ex-bg        { background: linear-gradient(148deg, #1d3825 0%, #1e3345 38%, #3b2212 72%, #18120d 100%); }
.ex-card:nth-child(2) .ex-bg { background: linear-gradient(138deg, #283a1a 0%, #3e2e0a 100%); }
.ex-card:nth-child(3) .ex-bg { background: linear-gradient(138deg, #182e42 0%, #101d2e 100%); }
.ex-card:nth-child(4) .ex-bg { background: linear-gradient(138deg, #3c1c1a 0%, #221010 100%); }
.ex-card:nth-child(5) .ex-bg { background: linear-gradient(138deg, #222a1e 0%, #171e12 100%); }

.ex-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 130% 100% at 22% 14%, rgba(198, 162, 64, 0.11) 0%, transparent 52%);
  transition: opacity 0.5s;
}

.ex-card:hover .ex-bg::after { opacity: 1.8; }

.ex-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(24,18,13,.93) 0%, rgba(24,18,13,.22) 52%, transparent 100%);
  transition: opacity 0.4s;
}

.ex-card:hover .ex-ov { opacity: 0.88; }

.ex-body {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
}

.ex-badge {
  position: absolute;
  top: 1.4rem; left: 1.4rem;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  padding: 0.28rem 0.72rem;
  font-weight: 700;
}

.ex-badge.new { background: var(--verdigris); color: #fff; }

.ex-inst {
  font-size: 0.57rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.ex-title {
  font-family: 'Playfair Display', serif;
  color: var(--parchment);
  line-height: 1.25;
  margin-bottom: 0.45rem;
  transition: color 0.3s;
}

.ex-card.main .ex-title     { font-size: 1.9rem; font-weight: 700; }
.ex-card:not(.main) .ex-title { font-size: 1.05rem; font-weight: 600; }
.ex-card:hover .ex-title    { color: var(--gold-lt); }

.ex-date { font-size: 0.6rem; color: rgba(243, 237, 227, 0.48); }

.ex-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.85rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.32s, transform 0.32s;
}

.ex-cta::after { content: '→'; transition: transform 0.22s; }
.ex-card:hover .ex-cta { opacity: 1; transform: none; }
.ex-card:hover .ex-cta::after { transform: translateX(4px); }

/* ──────────────────────────────────────────────
   10. MUSEUM NETWORK TILES
────────────────────────────────────────────── */
#museums {
  background: var(--ink);
  padding-bottom: 6.5rem;
}

.museum-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 2px;
}

.museum-tile {
  position: relative;
  overflow: hidden;
  cursor: none;
  padding: 2.2rem 1.6rem 2rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.museum-tile:nth-child(1) { background: var(--col-air); }
.museum-tile:nth-child(2) { background: var(--col-canada); }
.museum-tile:nth-child(3) { background: var(--col-sci); }
.museum-tile:nth-child(4) { background: var(--col-nature); }
.museum-tile:nth-child(5) { background: var(--col-planet); }
.museum-tile:nth-child(6) { background: var(--col-art); }
.museum-tile:nth-child(7) { background: var(--col-garden); }

.museum-tile::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 160% 120% at 20% 10%, rgba(255,255,255,.1) 0%, transparent 55%);
  transition: opacity 0.4s;
}

.museum-tile::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 3px;
  background: var(--gold);
  transition: right 0.45s var(--ease-expo);
}

.museum-tile:hover::after { right: 0; }

.tile-icon {
  width: 44px; height: 44px;
  margin-bottom: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  font-size: 1.3rem;
  transition: transform 0.35s var(--ease-expo), border-color 0.3s;
  position: relative;
  z-index: 1;
}

.museum-tile:hover .tile-icon {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.4);
}

.tile-num {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.tile-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 1;
  transition: color 0.25s;
}

.museum-tile:hover .tile-name { color: var(--gold-lt); }

.tile-loc {
  font-size: 0.56rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  position: relative;
  z-index: 1;
}

.tile-arrow {
  display: block;
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1.2rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
  position: relative;
  z-index: 1;
}

.museum-tile:hover .tile-arrow { opacity: 1; transform: none; }

/* Museum tabs */
.museum-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.museum-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.055);
  padding: 1rem 1rem 0.85rem;
  cursor: none;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  font-family: 'DM Sans', sans-serif;
  transition: background 0.25s, color 0.25s;
  text-align: left;
}

.museum-tab:hover,
.museum-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}

/* ──────────────────────────────────────────────
   11. INTERACTIVE MAP
────────────────────────────────────────────── */
#map-section {
  background: var(--ink);
  padding-bottom: 6rem;
}

.map-shell {
  position: relative;
  height: 420px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.map-grid-lines {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.018) 39px, rgba(255,255,255,.018) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,.018) 59px, rgba(255,255,255,.018) 60px);
}

.map-water {
  position: absolute;
  top: 32%; left: 10%; right: 7%;
  height: 28%;
  background: rgba(41, 74, 100, 0.48);
  clip-path: polygon(0% 42%,5% 20%,12% 36%,20% 12%,30% 30%,40% 8%,52% 26%,64% 6%,76% 22%,86% 10%,100% 26%,100% 100%,0% 100%);
  border-top: 1px solid rgba(100, 162, 218, 0.2);
}

.map-water-lbl {
  position: absolute;
  top: 45%; left: 36%;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: rgba(100, 162, 218, 0.48);
  letter-spacing: 0.22em;
  pointer-events: none;
  user-select: none;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: none;
}

.pin-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(243, 237, 227, 0.85);
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(198, 162, 64, 0.4);
  transition: transform 0.32s var(--ease-expo), box-shadow 0.32s;
  position: relative;
  z-index: 2;
}

.map-pin:hover .pin-dot,
.map-pin.active .pin-dot {
  transform: scale(1.45);
  box-shadow: 0 0 0 7px rgba(198, 162, 64, 0.2);
}

.pin-tail {
  width: 1px; height: 18px;
  background: linear-gradient(to bottom, rgba(198, 162, 64, 0.7), transparent);
}

.pin-tip {
  position: absolute;
  bottom: calc(100% + 9px);
  white-space: nowrap;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--parchment);
  background: rgba(24, 18, 13, 0.94);
  border: 1px solid rgba(198, 162, 64, 0.22);
  padding: 0.28rem 0.68rem;
  opacity: 0;
  transform: translateY(5px) scale(0.96);
  transition: opacity 0.25s, transform 0.25s var(--ease-expo);
  pointer-events: none;
}

.map-pin:hover .pin-tip,
.map-pin.active .pin-tip { opacity: 1; transform: none; }

/* Per-museum pin colours */
.map-pin[data-m="air"]    .pin-dot { background: var(--col-air); }
.map-pin[data-m="canada"] .pin-dot { background: var(--col-canada); }
.map-pin[data-m="sci"]    .pin-dot { background: var(--col-sci); }
.map-pin[data-m="nature"] .pin-dot { background: var(--col-nature); }
.map-pin[data-m="planet"] .pin-dot { background: var(--col-planet); }
.map-pin[data-m="art"]    .pin-dot { background: var(--col-art); }
.map-pin[data-m="garden"] .pin-dot { background: var(--col-garden); }

/* Map info panel */
.map-panel {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 240px;
  background: rgba(24, 18, 13, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(198, 162, 64, 0.18);
  padding: 1.4rem;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.32s, transform 0.32s var(--ease-expo);
  pointer-events: none;
  z-index: 20;
}

.map-panel.vis { opacity: 1; transform: none; pointer-events: auto; }

.panel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  margin-bottom: 0.8rem;
}

.panel-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--parchment);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.panel-loc {
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
}

.panel-desc { font-size: 0.72rem; color: var(--stone); line-height: 1.65; }

.panel-close {
  position: absolute;
  top: 0.6rem; right: 0.65rem;
  background: none;
  border: none;
  color: var(--stone);
  font-size: 1rem;
  cursor: none;
  transition: color var(--trans-fast);
  line-height: 1;
}

.panel-close:hover { color: var(--parchment); }

/* Pin positions */
.p-air    { left: 38%; top: 26%; }
.p-canada { left: 44%; top: 20%; }
.p-sci    { left: 30%; top: 32%; }
.p-nature { left: 52%; top: 24%; }
.p-planet { left: 60%; top: 38%; }
.p-art    { left: 48%; top: 46%; }
.p-garden { left: 41%; top: 14%; }

/* ──────────────────────────────────────────────
   12. EVENTS
────────────────────────────────────────────── */
#events {
  background: var(--parchment);
  padding-bottom: 6rem;
}

.events-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 4rem;
  align-items: start;
}

.events-sticky { position: sticky; top: 96px; }

.feature-card {
  background: var(--verdigris);
  padding: 2.4rem;
  position: relative;
  overflow: hidden;
}

.feature-card::before,
.feature-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card::before { width: 220px; height: 220px; top: -55px; right: -55px; }
.feature-card::after  { width: 340px; height: 340px; top: -105px; right: -105px; border-color: rgba(255,255,255,.05); }

.fc-month {
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 0.18rem;
}

.fc-day {
  font-family: 'Playfair Display', serif;
  font-size: 4.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 1;
}

.fc-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.28rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.65rem;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.fc-meta {
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 1.8rem;
  line-height: 1.82;
  position: relative;
  z-index: 1;
}

.fc-btn {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: #fff;
  color: var(--verdigris);
  border: none;
  padding: 0.85rem 1.8rem;
  cursor: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  position: relative;
  z-index: 1;
  transition: background 0.2s;
}

.fc-btn:hover { background: var(--parchment); }

/* Event filter tabs */
.ev-filters {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

.ev-f {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(24, 18, 13, 0.18);
  color: var(--stone);
  padding: 0.42rem 0.95rem;
  cursor: none;
  font-family: 'DM Sans', sans-serif;
  transition: all var(--trans-base);
}

.ev-f.on { background: var(--ink); border-color: var(--ink); color: var(--parchment); }
.ev-f:hover:not(.on) { border-color: var(--ink); color: var(--ink); }

/* Event rows */
.ev-list { display: flex; flex-direction: column; }

.ev-row {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 1.4rem;
  align-items: center;
  padding: 1.35rem 0.5rem;
  border-bottom: 1px solid rgba(24, 18, 13, 0.08);
  cursor: none;
  transition: padding-left 0.28s var(--ease-expo);
  position: relative;
}

.ev-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--verdigris);
  opacity: 0.08;
  transition: width 0.3s var(--ease-expo);
}

.ev-row:hover { padding-left: 0.9rem; }
.ev-row:hover::before { width: 3px; }
.ev-row.hidden { display: none; }

.ev-date { background: var(--ink); padding: 0.6rem 0.5rem; text-align: center; flex-shrink: 0; }
.ev-mo   { font-size: 0.5rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.ev-dy   { font-family: 'Playfair Display', serif; font-size: 1.55rem; font-weight: 700; color: var(--parchment); line-height: 1; }
.ev-tag  { font-size: 0.52rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); margin-bottom: 0.22rem; }
.ev-name { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.18rem; }
.ev-where { font-size: 0.63rem; color: var(--stone); }

.ev-arr {
  font-size: 1.1rem;
  color: var(--mist);
  transition: color var(--trans-base), transform 0.22s;
}

.ev-row:hover .ev-arr { color: var(--bronze); transform: translateX(5px); }

/* ──────────────────────────────────────────────
   13. STORIES / COLLECTIONS
────────────────────────────────────────────── */
#stories {
  background: var(--cream);
  padding-bottom: 6rem;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.story { cursor: none; }

.story-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.4rem;
}

.story-fill {
  position: absolute; inset: 0;
  transition: transform 0.65s var(--ease-expo);
}

.story:hover .story-fill { transform: scale(1.06); }

.story:nth-child(1) .story-fill { background: linear-gradient(148deg, #382115 0%, #5a3818 45%, #281205 100%); }
.story:nth-child(2) .story-fill { background: linear-gradient(148deg, #182436 0%, #283e50 45%, #162e1a 100%); }
.story:nth-child(3) .story-fill { background: linear-gradient(148deg, #281525 0%, #3a1e3a 45%, #160e28 100%); }

.story-fill::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 110% 80% at 28% 24%, rgba(198,162,64,.13) 0%, transparent 52%);
  transition: opacity 0.5s;
}

.story:hover .story-fill::after { opacity: 1.5; }

.story-num {
  position: absolute;
  bottom: 0.8rem; right: 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: rgba(243, 237, 227, 0.07);
  line-height: 1;
  user-select: none;
}

.s-tag {
  font-size: 0.54rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.s-tag::before {
  content: '';
  display: inline-block;
  width: 16px; height: 1px;
  background: var(--bronze);
}

.s-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.38;
  margin-bottom: 0.7rem;
  transition: color 0.22s;
}

.story:hover .s-title { color: var(--verdigris); }

.s-excerpt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.04rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.78;
  margin-bottom: 0.9rem;
}

.s-meta {
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  color: var(--mist);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.s-meta::before {
  content: '';
  display: inline-block;
  width: 14px; height: 1px;
  background: var(--mist);
}

/* ──────────────────────────────────────────────
   14. EDUCATION / DIGITAL EXPERIENCES
────────────────────────────────────────────── */
#education {
  background: var(--cream);
  padding: 5.5rem 0;
  border-top: 1px solid var(--mist);
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.edu-card {
  background: #fff;
  border: 1px solid var(--mist);
  padding: 2rem 1.8rem;
  cursor: none;
  transition: border-color var(--trans-base), transform 0.28s var(--ease-expo), box-shadow 0.28s;
  position: relative;
  overflow: hidden;
}

.edu-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 2px;
  background: var(--gold);
  transition: right 0.4s var(--ease-expo);
}

.edu-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(24,18,13,.1); }
.edu-card:hover::before { right: 0; }

.edu-icon { font-size: 1.8rem; margin-bottom: 1.2rem; display: block; }

.edu-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.edu-desc { font-size: 0.76rem; color: var(--stone); line-height: 1.65; margin-bottom: 1.1rem; }

.edu-link {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: gap 0.2s, color 0.2s;
}

.edu-link::after { content: '→'; }
.edu-link:hover { gap: 0.7rem; color: var(--rust); }

/* ──────────────────────────────────────────────
   15. BOTANICAL GARDENS FEATURE
────────────────────────────────────────────── */
#gardens {
  background: var(--forest);
  overflow: hidden;
  position: relative;
}

.gardens-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

.gardens-left {
  padding: 6rem max(3.5rem, calc((100vw - 1260px)/2 + 3.5rem));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

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

.gardens-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.14;
  margin-bottom: 1rem;
}

.gardens-title em { font-style: italic; color: rgba(198, 162, 64, 0.92); }

.gardens-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 430px;
}

.gardens-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2.5rem;
}

.gf-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
}

.gf-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.gardens-btn {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
  padding: 1rem 2.2rem;
  cursor: none;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  display: inline-block;
  align-self: flex-start;
  transition: background 0.25s, border-color 0.25s;
}

.gardens-btn:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.gardens-right { position: relative; overflow: hidden; }

.gardens-hex {
  position: absolute; inset: 0;
  opacity: 0.05;
  background-image: url('../images/hex-pattern.svg');
  background-size: 28px 49px;
}

.gardens-glow {
  position: absolute;
  top: 20%; right: 15%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(198,162,64,.14) 0%, transparent 70%);
  animation: gGlow 5.5s ease-in-out infinite;
}

@keyframes gGlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%       { transform: scale(1.08); opacity: 1; }
}

.gardens-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--forest) 0%, transparent 28%);
}

/* Animated badge */
.gardens-badge {
  position: absolute;
  top: 50%; right: 22%;
  transform: translate(50%, -50%);
  width: 210px; height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
  z-index: 3;
}

.gb-ring1, .gb-ring2 {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(198, 162, 64, 0.3);
  animation: ringPulse 3.5s ease-in-out infinite;
}

.gb-ring2 { inset: 18px; border-color: rgba(198,162,64,.16); animation-delay: -0.8s; }

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.06); opacity: 0.65; }
}

.gb-open { font-size: 0.5rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(198,162,64,.7); position: relative; z-index: 1; }
.gb-year { font-family: 'Playfair Display', serif; font-size: 3.2rem; font-weight: 900; color: rgba(255,255,255,.88); line-height: 1; position: relative; z-index: 1; }
.gb-name { font-size: 0.48rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,.4); position: relative; z-index: 1; text-align: center; }

/* ──────────────────────────────────────────────
   16. SUPPORT / MEMBERSHIP
────────────────────────────────────────────── */
#support {
  background: var(--ink);
  padding: 5.5rem 0;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.support-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 700;
  color: var(--parchment);
  line-height: 1.22;
  margin-bottom: 1rem;
}

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

.support-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(243, 237, 227, 0.62);
  line-height: 1.78;
  max-width: 420px;
  margin-bottom: 2rem;
}

.support-actions { display: flex; gap: 1rem; }

.membership-tiers {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.tier {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.3rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: none;
  transition: background 0.25s, border-color 0.28s;
  position: relative;
  overflow: hidden;
}

.tier::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.3s var(--ease-expo);
}

.tier:hover { background: rgba(255,255,255,.07); border-color: rgba(198,162,64,.25); }
.tier:hover::before { transform: scaleY(1); }

.tier-name  { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; color: var(--parchment); }
.tier-price { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--gold); }
.tier-desc  { font-size: 0.65rem; color: var(--stone); margin-top: 0.15rem; }

/* ──────────────────────────────────────────────
   17. NEWSLETTER BANNER
────────────────────────────────────────────── */
#newsletter {
  background: var(--gold);
  padding: 3.5rem 0;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.nl-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.nl-title em { font-style: italic; }

.nl-form {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}

.nl-input {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  background: rgba(24,18,13,.12);
  border: 1px solid rgba(24,18,13,.25);
  border-right: none;
  color: var(--ink);
  padding: 0.9rem 1.4rem;
  width: 260px;
  outline: none;
  transition: background var(--trans-base), border-color var(--trans-base);
}

.nl-input::placeholder { color: rgba(24,18,13,.5); }
.nl-input:focus { background: rgba(24,18,13,.18); border-color: rgba(24,18,13,.5); }

.nl-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--parchment);
  border: 1px solid var(--ink);
  padding: 0.9rem 1.6rem;
  cursor: none;
  font-weight: 600;
  transition: background var(--trans-base), color var(--trans-base);
}

.nl-btn:hover { background: var(--forest); }

/* ──────────────────────────────────────────────
   18. FOOTER
────────────────────────────────────────────── */
footer {
  background: #0e0904;
  padding: 5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  margin-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.f-name { font-family: 'Playfair Display', serif; font-size: 1.38rem; font-weight: 700; color: var(--parchment); margin-bottom: 0.18rem; }
.f-tag  { font-size: 0.54rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.3rem; }
.f-desc { font-family: 'Cormorant Garamond', serif; font-size: 0.96rem; color: var(--stone); line-height: 1.8; max-width: 280px; }

.f-col-title {
  font-size: 0.56rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.f-links { list-style: none; display: flex; flex-direction: column; gap: 0.58rem; }

.f-links a {
  font-size: 0.78rem;
  color: var(--stone);
  text-decoration: none;
  transition: color var(--trans-base), padding-left var(--trans-base);
  display: block;
}

.f-links a:hover { color: var(--parchment); padding-left: 3px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.f-copy   { font-size: 0.6rem; color: rgba(137,120,105,.42); }
.f-region { font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(137,120,105,.32); }

/* ──────────────────────────────────────────────
   19. SCROLL REVEAL SYSTEM
────────────────────────────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--trans-reveal) var(--ease-expo), transform var(--trans-reveal) var(--ease-expo);
}

.rvl {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity var(--trans-reveal) var(--ease-expo), transform var(--trans-reveal) var(--ease-expo);
}

.rv.in, .rvl.in { opacity: 1; transform: none; }

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }
.d6 { transition-delay: 0.6s; }

/* ──────────────────────────────────────────────
   20. RESPONSIVE BREAKPOINTS
────────────────────────────────────────────── */

/* ── 1200px: collapse museum tiles, 2-col edu ── */
@media (max-width: 1200px) {
  .museum-row   { grid-template-columns: repeat(4, 1fr); }
  .museum-tabs  { grid-template-columns: repeat(4, 1fr); }
  .museum-tile:nth-child(n+5),
  .museum-tab:nth-child(n+5) { display: none; }
  .ex-grid  { grid-template-columns: 1fr 1fr; height: auto; }
  .ex-card.main { grid-column: span 2; min-height: 340px; }
  .ex-card:not(.main) { min-height: 230px; }
  .edu-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
}

/* ── 1100px: hide nav links, show hamburger ──
   This is the critical breakpoint that prevents
   the nav text from overlapping on standard laptops */
@media (max-width: 1100px) {
  #nav         { padding: 1rem 2rem; }
  #nav.scrolled { padding: 0.75rem 2rem; }
  .nav-links   { display: none; }
  .nav-btn     { display: none; }
  .hamburger   { display: flex; }
}

/* ── 900px: layout adjustments ── */
@media (max-width: 900px) {
  .stories-grid { grid-template-columns: 1fr 1fr; }
  .events-layout { grid-template-columns: 1fr; }
  .events-sticky { position: static; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .nl-form { width: 100%; }
  .nl-input { flex: 1; width: auto; }
}

/* ── 768px: full mobile ── */
@media (max-width: 768px) {
  #nav         { padding: 0.9rem 1.4rem; }
  #nav.scrolled { padding: 0.7rem 1.4rem; }

  .hero-content { padding: 0 1.5rem 9rem 2rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-rule, .hero-scroll { display: none; }

  .wrap { padding: 0 1.5rem; }
  .sec-header { flex-direction: column; gap: 1rem; }

  .museum-row, .museum-tabs { grid-template-columns: repeat(2, 1fr); }
  .museum-tile, .museum-tab { display: flex !important; }

  .ex-grid { grid-template-columns: 1fr; height: auto; }
  .ex-card.main { grid-column: 1; min-height: 300px; }
  .ex-card:not(.main) { min-height: 200px; }

  .stories-grid { grid-template-columns: 1fr; }
  .gardens-layout { grid-template-columns: 1fr; }
  .gardens-right { display: none; }

  .edu-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  body { cursor: auto; }
  #cur, #curR { display: none; }
  button, a { cursor: pointer !important; }
}

/* ── 480px: small phones ── */
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .museum-row, .museum-tabs { grid-template-columns: 1fr; }
  .support-actions { flex-direction: column; }
}
