/* ═══════════════════════════════════════════════
   SKRIPTURA — Dark Academic Design System
   Inspired by ARETE Foundation aesthetic
   ═══════════════════════════════════════════════ */

/* 1. CSS VARIABLES & THEME
   ────────────────────────────────────── */
:root {
  --obsidian: #0a0a0a;
  --surface: #111111;
  --surface-elevated: #1a1a1a;
  --ivory: #f5f0e8;
  --copper: #c47d3b;
  --copper-light: #d4944f;
  --teal: #4ecdc4;
  --deep-red: #8b2500;
  --muted: #6b6560;
  --muted-light: #8a8480;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-mono: 'DM Mono', 'Courier New', monospace;
  --font-sans: 'DM Mono', 'Courier New', monospace;

  --text-primary: var(--ivory);
  --text-secondary: var(--muted-light);
  --text-muted: var(--muted-light);
  --text-faint: var(--muted);
  --bg-surface: var(--surface);
  --border: rgba(196, 125, 59, 0.12);
  --border-light: rgba(196, 125, 59, 0.12);
  --accent: var(--copper);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  --side-pad: clamp(24px, 5vw, 48px);
  --section-pad: clamp(80px, 10vh, 140px);
  --content-max: 720px;
  --content-wide: 960px;
  --content-full: 1200px;

  --radius-sm: 4px;
  --radius-md: 8px;

  --transition-fast: 0.3s ease;
  --transition-base: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--copper) var(--obsidian);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ivory);
  background: var(--obsidian);
  overflow-x: hidden;
}

::selection {
  background: var(--copper);
  color: var(--obsidian);
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--obsidian); }
::-webkit-scrollbar-thumb { background: var(--muted); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--copper); }

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

a {
  color: var(--copper);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--copper-light); }

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

/* 3. UTILITY CLASSES
   ────────────────────────────────────── */
.sk-container {
  max-width: var(--content-full);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}
.sk-container--narrow {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}
.sk-container--wide {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.text-center { text-align: center; }
.text-muted { color: var(--muted); }

/* 4. CURSOR LIGHT
   ────────────────────────────────────── */
.cursor-light {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 125, 59, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
}

/* 5. SCROLL PROGRESS
   ────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--copper), var(--teal));
  z-index: 10001;
  width: 0%;
  transition: width 0.1s linear;
}

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

/* 7. NAVIGATION
   ────────────────────────────────────── */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px var(--side-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#mainNav.scrolled {
  padding: 16px var(--side-pad);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(196, 125, 59, 0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--ivory);
  text-decoration: none;
  text-transform: uppercase;
}
.nav-logo span { color: var(--copper); }
.nav-logo-img { height: 36px; width: auto; display: block; }

@media (max-width: 768px) {
  .nav-logo { font-size: 16px; gap: 8px; letter-spacing: 0.15em; }
  .nav-logo-img { height: 28px; }
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-light);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--copper);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a:hover::after { width: 100%; }

.nav-search-btn {
  background: transparent;
  border: none;
  color: var(--muted-light);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.3s ease;
}
.nav-search-btn:hover { color: var(--ivory); }

.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--ivory);
  transition: all 0.3s ease;
}
.nav-menu-btn.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-menu-btn.active span:nth-child(2) { opacity: 0; }
.nav-menu-btn.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 8. PARTICLE CANVAS
   ────────────────────────────────────── */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* 9. HERO
   ────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--obsidian);
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: saturate(1.1) brightness(0.7);
  transition: transform 8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero:hover::before {
  transform: scale(1.05);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(10, 10, 10, 0.88) 0%,
    rgba(10, 10, 10, 0.35) 40%,
    rgba(10, 10, 10, 0.70) 100%
  );
  z-index: 1;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  pointer-events: none;
  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)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 8vw;
  max-width: 900px;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 90px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title .word:nth-child(1) { animation-delay: 0.5s; }
.hero-title .word:nth-child(2) { animation-delay: 0.65s; }
.hero-title .word:nth-child(3) { animation-delay: 0.8s; }
.hero-title .word:nth-child(4) { animation-delay: 0.95s; }
.hero-title .word:nth-child(5) { animation-delay: 1.1s; }
.hero-title .word:nth-child(6) { animation-delay: 1.25s; }
.hero-title .word:nth-child(7) { animation-delay: 1.4s; }
.hero-title .word:nth-child(8) { animation-delay: 1.55s; }

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

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 300;
  color: var(--muted-light);
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.5s forwards;
}

.hero-divider {
  width: 48px;
  height: 1px;
  background: var(--copper);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.3s forwards;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
  opacity: 0;
  animation: fadeUp 0.8s ease 2.1s forwards;
}

.hero-stat {
  font-family: var(--font-mono);
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--ivory);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-stat-divider {
  width: 1px;
  background: rgba(196, 125, 59, 0.2);
  align-self: stretch;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--copper);
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  animation: fadeUp 0.8s ease 1.8s forwards;
  position: relative;
  overflow: hidden;
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--teal);
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-cta:hover::before { transform: translateX(0); }
.hero-cta:hover { color: var(--obsidian); letter-spacing: 0.3em; }
.hero-cta span { position: relative; z-index: 1; }
.hero-cta .arrow {
  position: relative; z-index: 1;
  width: 20px; height: 1px;
  background: var(--obsidian);
  transition: width 0.4s ease;
}
.hero-cta:hover .arrow { width: 32px; }

.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.8s ease 2.2s forwards;
}
.scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--copper), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* 10. KEYFRAME ANIMATIONS
   ────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.d-none { display: none !important; }

/* Service index cards */
.services-card {
  text-decoration: none;
  border: 1px solid var(--surface-elevated);
  padding: 32px 24px;
  background: var(--surface-elevated);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.services-card:hover,
.services-card:focus-visible {
  border-color: var(--copper);
  transform: translateY(-2px);
}

/* Contact form field styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 640px;
  margin-top: 48px;
}
.contact-desc {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.8;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-field__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-field__input,
.contact-field__textarea {
  background: var(--surface-elevated);
  border: 1px solid rgba(196, 125, 59, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--ivory);
  outline: none;
  transition: border-color var(--transition-fast);
}
.contact-field__input:focus,
.contact-field__textarea:focus {
  border-color: var(--copper);
}
.contact-field__input::placeholder,
.contact-field__textarea::placeholder {
  color: var(--muted);
}
.contact-field__textarea {
  min-height: 160px;
  resize: vertical;
}
.contact-field__error {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgb(220, 38, 38);
}
.contact-form-error {
  padding: 16px 20px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius-sm);
  color: var(--ivory);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.contact-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 36px;
  font-size: 0.65rem;
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 8px;
}
.contact-submit:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}
.contact-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* A11y: missing focus-visible overrides */
.nav-search-btn:focus-visible,
.nav-menu-btn:focus-visible,
.search-overlay__close:focus-visible,
.mobile-drawer__close:focus-visible,
.philosophy-dots button:focus-visible,
.search-overlay__tag:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}
.content-card:focus-visible {
  border-color: var(--copper);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.exhibit-card:focus-visible .card-overlay {
  background: rgba(0,0,0,0.3);
}
.exhibit-card:focus-visible .card-status {
  transform: translateY(0);
  opacity: 1;
}
.exhibit-card:focus-visible .card-desc {
  max-height: 80px;
  opacity: 1;
  margin-top: 12px;
}
.exhibit-card:focus-visible .card-index {
  color: rgba(255,255,255,0.12);
}
.exhibit-card:focus-visible .card-bg {
  transform: scale(1.05);
}
.hero-cta:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}
.content-card a:focus-visible,
.footer-bottom a:focus-visible,
.footer-col a:focus-visible {
  outline: none;
}

/* Philosophy dots a11y */
.philosophy-dots button[aria-current="true"] {
  background: var(--copper);
  width: 48px;
}

/* 11. SECTION COMMON
   ────────────────────────────────────── */
section { position: relative; }

.section-pad {
  padding: var(--section-pad) 8vw;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}

.section-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 48px;
  max-width: 700px;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--copper);
  margin: 48px 0;
}

/* 12. MANIFESTO
   ────────────────────────────────────── */
.manifesto {
  background: var(--surface);
  border-top: 1px solid rgba(196, 125, 59, 0.08);
  border-bottom: 1px solid rgba(196, 125, 59, 0.08);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: start;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--ivory);
  position: relative;
  padding-left: 32px;
}

.manifesto-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--copper), var(--teal), transparent);
}

.manifesto-quote cite {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 24px;
}

.manifesto-text p {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 300;
  line-height: 2;
  color: var(--muted-light);
  margin-bottom: 20px;
}

.manifesto-text p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 300;
  float: left;
  line-height: 1;
  margin-right: 12px;
  margin-top: 4px;
  color: var(--copper);
}

/* 13. EXHIBITIONS
   ────────────────────────────────────── */
.exhibitions { background: var(--obsidian); }

.exhibitions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 64px;
}

.exhibit-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}

.exhibit-card .card-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.exhibit-card:hover .card-bg { transform: scale(1.05); }

.exhibit-card:nth-child(1) .card-bg { background: linear-gradient(135deg, #1a0a2e 0%, #0d1b2a 40%, #c47d3b 100%); }
.exhibit-card:nth-child(2) .card-bg { background: linear-gradient(135deg, #0d2b1a 0%, #1a0a2e 50%, #4ecdc4 100%); }
.exhibit-card:nth-child(3) .card-bg { background: linear-gradient(135deg, #2d0a0a 0%, #c47d3b 60%, #f5f0e8 100%); }
.exhibit-card:nth-child(4) .card-bg { background: linear-gradient(135deg, #0a0a0a 0%, #1e1e1e 40%, #3a3a3a 100%); }

.exhibit-card .card-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2) 0%, transparent 40%);
}

.exhibit-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  transition: all 0.5s ease;
}

.exhibit-card .card-status {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.exhibit-card:hover .card-status { transform: translateY(0); opacity: 1; }

.exhibit-card .card-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
}

.exhibit-card .card-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.exhibit-card .card-desc {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 300;
  color: var(--muted-light);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1.8;
}
.exhibit-card:hover .card-desc { max-height: 80px; opacity: 1; margin-top: 12px; }

.exhibit-card .card-index {
  position: absolute;
  top: 32px;
  right: 36px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 300;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  transition: color 0.5s ease;
}
.exhibit-card:hover .card-index { color: rgba(255,255,255,0.12); }

/* 14. PHILOSOPHY
   ────────────────────────────────────── */
.philosophy {
  background: var(--surface);
  border-top: 1px solid rgba(196, 125, 59, 0.08);
  border-bottom: 1px solid rgba(196, 125, 59, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.philosophy::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(196, 125, 59, 0.04);
  animation: breathe 8s ease-in-out infinite;
}

.philosophy::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 400px; height: 400px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(78, 205, 196, 0.03);
  animation: breathe 8s ease-in-out 2s infinite;
}

.philosophy-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 50px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: var(--ivory);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease;
}

.philosophy-quote .fade {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.philosophy-quote .fade.active { opacity: 1; }

.philosophy-author {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-top: 32px;
  min-height: 20px;
  transition: opacity 0.6s ease;
}

.philosophy-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.philosophy-dots button {
  width: 32px;
  height: 2px;
  border: none;
  background: var(--muted);
  cursor: pointer;
  transition: all 0.4s ease;
}
.philosophy-dots button.active {
  background: var(--copper);
  width: 48px;
}

/* 15. EVENTS LIST
   ────────────────────────────────────── */
.events { background: var(--obsidian); }

.events-list {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
}

.event-item {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid rgba(196, 125, 59, 0.08);
  cursor: pointer;
  transition: all 0.4s ease;
}
.event-item:first-child { border-top: 1px solid rgba(196, 125, 59, 0.08); }
.event-item:hover { padding-left: 20px; background: rgba(196, 125, 59, 0.02); }

.event-date {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--copper);
  letter-spacing: 0.05em;
}

.event-info h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 4px;
}

.event-info p {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.event-arrow {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--muted);
  transition: all 0.4s ease;
}
.event-item:hover .event-arrow {
  color: var(--copper);
  transform: translateX(8px);
}

/* 16. FOOTER
   ────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid rgba(196, 125, 59, 0.08);
  padding: 80px var(--side-pad) 48px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 20px;
}
.footer-logo-img { height: 60px; width: auto; margin-bottom: 20px; }

.footer-brand p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}

.footer-social a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}
.footer-social a:hover { color: var(--copper); }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 24px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }

.footer-col a {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-col a:hover { color: var(--ivory); }

.newsletter-input {
  display: flex;
  border: 1px solid rgba(196, 125, 59, 0.2);
  margin-top: 16px;
  transition: border-color 0.3s ease;
}
.newsletter-input:focus-within { border-color: var(--copper); }

.newsletter-input input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ivory);
  outline: none;
}
.newsletter-input input::placeholder { color: var(--muted); }

.newsletter-input button {
  background: var(--copper);
  border: none;
  padding: 12px 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--obsidian);
  cursor: pointer;
  transition: background 0.3s ease;
}
.newsletter-input button:hover { background: var(--teal); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(196, 125, 59, 0.06);
}

.footer-bottom p { font-size: 11px; color: var(--muted); }

.footer-bottom .footer-legal {
  display: flex;
  gap: 24px;
}
.footer-bottom .footer-legal a {
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-bottom .footer-legal a:hover { color: var(--copper); }

/* 17. REVEAL ANIMATIONS
   ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* 18. GOLDEN RATIO MARKER
   ────────────────────────────────────── */
.golden-section-marker {
  position: absolute;
  right: 8vw;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.15;
}
.golden-section-marker .phi {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  font-style: italic;
  color: var(--copper);
}
.golden-section-marker .line {
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--copper), transparent);
}

/* 19. CONTENT CARDS (list pages, detail pages)
   ────────────────────────────────────── */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

.content-card {
  display: block;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(196, 125, 59, 0.08);
  transition: all var(--transition-base);
  cursor: pointer;
}
.content-card:hover {
  border-color: rgba(196, 125, 59, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.content-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--surface-elevated);
}

.content-card__image-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.content-card:hover .content-card__image-inner { transform: scale(1.04); }

.content-card__image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-card__body { padding: 24px; }

.content-card__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 8px;
  display: inline-block;
}

.content-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--ivory);
  transition: color var(--transition-fast);
}
.content-card:hover .content-card__title { color: var(--copper-light); }

.content-card__excerpt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 300;
  color: var(--muted-light);
  line-height: 1.8;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.content-card__date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

/* 20. ARTICLE / DETAIL PAGE
   ────────────────────────────────────── */
.article-page {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 140px var(--side-pad) 60px;
}

.article-page__header { margin-bottom: 48px; }

.article-page__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
  display: inline-block;
}

.article-page__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 300;
  line-height: 1.12;
  margin-bottom: 16px;
  color: var(--ivory);
}

.article-page__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.article-page__banner {
  margin-bottom: 48px;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.article-page__banner img { width: 100%; height: auto; max-height: 500px; object-fit: cover; border-radius: var(--radius-md); }

.article-page__content {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  color: var(--muted-light);
}

.article-page__content p { margin-bottom: 1.5em; }

.article-page__content h1,
.article-page__content h2,
.article-page__content h3,
.article-page__content h4,
.article-page__content h5,
.article-page__content h6 {
  font-family: var(--font-display);
  font-weight: 400;
  margin-top: 2em;
  margin-bottom: 0.75em;
  color: var(--ivory);
}

.article-page__content h1 { font-size: 34px; }
.article-page__content h2 { font-size: 28px; }
.article-page__content h3 { font-size: 22px; }
.article-page__content h4 { font-size: 19px; }
.article-page__content h5 { font-size: 16px; }
.article-page__content h6 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; }

.article-page__content blockquote {
  border-left: 2px solid var(--copper);
  padding: 16px 24px;
  margin: 2em 0;
  color: var(--ivory);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 18px;
  background: rgba(196, 125, 59, 0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-page__content blockquote p { margin-bottom: 0.5em; }

.article-page__content img {
  margin: 2em auto;
  border-radius: var(--radius-md);
  max-width: 100%;
  height: auto;
  display: block;
}

.article-page__content a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-page__content a:hover { color: var(--copper-light); }

.article-page__content ul,
.article-page__content ol {
  margin: 1.5em 0;
  padding-left: 24px;
}

.article-page__content ul li,
.article-page__content ol li {
  margin-bottom: 0.5em;
}

.article-page__content ul li::marker { color: var(--copper); }

.article-page__content ol li::marker { color: var(--copper); }

.article-page__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
  font-size: 13px;
}

.article-page__content table th,
.article-page__content table td {
  border: 1px solid rgba(196, 125, 59, 0.15);
  padding: 10px 14px;
  text-align: left;
}

.article-page__content table th {
  background: rgba(196, 125, 59, 0.08);
  color: var(--ivory);
  font-weight: 600;
}

.article-page__content table td { color: var(--muted-light); }

.article-page__content pre {
  background: rgba(0, 0, 0, 0.3);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  margin: 1.5em 0;
  border: 1px solid rgba(196, 125, 59, 0.08);
}

.article-page__content code {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.9em;
}

.article-page__content pre code {
  background: none;
  padding: 0;
  border-radius: 0;
}

.article-page__content hr {
  border: none;
  border-top: 1px solid rgba(196, 125, 59, 0.12);
  margin: 2.5em 0;
}

.article-page__content iframe {
  max-width: 100%;
  margin: 2em 0;
  border-radius: var(--radius-sm);
}

.article-page__file-content {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  color: var(--muted-light);
  margin-top: 1em;
}

.article-page__file-content p {
  margin-bottom: 1.5em;
}

.article-page__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
  margin: 48px 0;
  border-top: 1px solid rgba(196, 125, 59, 0.08);
  border-bottom: 1px solid rgba(196, 125, 59, 0.08);
}

.article-page__action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  transition: all var(--transition-fast);
}
.article-page__action-btn:hover { color: var(--ivory); }
.article-page__action-btn.liked { color: var(--copper); }

/* 21. COMMENTS
   ────────────────────────────────────── */
.comments-section {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 48px var(--side-pad) 80px;
}

.comments-section__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 32px;
  color: var(--ivory);
}

.comment {
  padding: 24px 0;
  border-bottom: 1px solid rgba(196, 125, 59, 0.06);
}

.comment__author {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 4px;
}

.comment__date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

.comment__text {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 300;
  color: var(--muted-light);
  line-height: 1.8;
}

/* 22. LIST PAGES
   ────────────────────────────────────── */
.list-page {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 140px var(--side-pad) 60px;
}

.list-page__header { margin-bottom: 48px; }

.list-page__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 8px;
  color: var(--ivory);
}

.list-page__subtitle {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}

.list-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}

/* 23. SIDEBAR
   ────────────────────────────────────── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar__widget {
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(196, 125, 59, 0.08);
}
.sidebar__widget:last-child { border-bottom: none; }

.sidebar__title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}

.sidebar__item {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(196, 125, 59, 0.06);
}
.sidebar__item:last-child { border-bottom: none; }

.sidebar__item-image {
  width: 60px;
  height: 60px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-elevated);
}
.sidebar__item-image img { width: 100%; height: 100%; object-fit: cover; }

.sidebar__item-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted-light);
  transition: color var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar__item-title:hover { color: var(--ivory); }

.sidebar__item-date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

/* 24. CATEGORY LIST & TAGS
   ────────────────────────────────────── */
.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(196, 125, 59, 0.06);
}

.category-list__link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-light);
  transition: color var(--transition-fast);
}
.category-list__link:hover { color: var(--copper); }

.category-list__count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 14px;
  background: var(--surface-elevated);
  border: 1px solid rgba(196, 125, 59, 0.1);
  color: var(--muted-light);
  transition: all var(--transition-fast);
}
.tag-cloud__tag:hover {
  border-color: var(--copper);
  color: var(--copper);
}

/* 25. PAGINATION
   ────────────────────────────────────── */
.pagination-nav {
  display: flex;
  justify-content: center;
  padding: 60px 0 80px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
}

.pagination__link {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 16px;
  border: 1px solid rgba(196, 125, 59, 0.15);
  color: var(--muted-light);
  transition: all var(--transition-fast);
}
.pagination__link:hover {
  border-color: var(--copper);
  color: var(--copper);
}

.pagination__link--active {
  background: var(--copper);
  color: var(--obsidian);
  border-color: var(--copper);
}
.pagination__link--active:hover { color: var(--obsidian); }

/* 26. GALLERY GRID
   ────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.gallery-grid__item,
.gallery-grid > div {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-elevated);
  position: relative;
  border-radius: var(--radius-md);
}
.gallery-grid__item:nth-child(1),
.gallery-grid > div:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

.gallery-grid__item img,
.gallery-grid > div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--radius-md);
}
.gallery-grid__item:hover img,
.gallery-grid > div:hover img { transform: scale(1.05); }

.gallery-grid__item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-grid__item:hover .overlay { background: rgba(0,0,0,0.3); }

.gallery-grid__item .overlay svg {
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition-base);
  color: #fff;
  width: 32px;
  height: 32px;
}
.gallery-grid__item:hover .overlay svg { opacity: 1; transform: scale(1); }

/* 27. CATALOGUE GRID
   ────────────────────────────────────── */
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* 28. EVENT ROW (detail page events)
   ────────────────────────────────────── */
.event-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(196, 125, 59, 0.08);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.event-row:first-child { border-top: 1px solid rgba(196, 125, 59, 0.08); }
.event-row:hover { padding-left: 16px; }

.event-row__day {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  color: var(--copper);
  text-align: center;
}

.event-row__month {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-top: 4px;
}

.event-row__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 4px;
}

.event-row__venue {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.event-row__time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* 29. SIDE-BY-SIDE LAYOUT
   ────────────────────────────────────── */
.side-by-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.side-by-side__sticky { position: sticky; top: 100px; }

/* 30. NEWSLETTER SECTION
   ────────────────────────────────────── */
.newsletter-section {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid rgba(196, 125, 59, 0.08);
  border-bottom: 1px solid rgba(196, 125, 59, 0.08);
}

.newsletter-section__inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--side-pad);
}

.newsletter-section__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 8px;
  color: var(--ivory);
}

.newsletter-section__desc {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.8;
}

.newsletter-section__form {
  display: flex;
  gap: 8px;
}

.newsletter-section__input {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(196, 125, 59, 0.2);
  color: var(--ivory);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition-fast);
}
.newsletter-section__input:focus { border-color: var(--copper); }
.newsletter-section__input::placeholder { color: var(--muted); }

.newsletter-section__submit {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--copper);
  border: none;
  padding: 12px 28px;
  cursor: pointer;
  transition: background var(--transition-fast);
  white-space: nowrap;
}
.newsletter-section__submit:hover { background: var(--teal); }

/* 31. SEARCH OVERLAY
   ────────────────────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}
.search-overlay.active { opacity: 1; pointer-events: all; }

.search-overlay__inner {
  width: 100%;
  max-width: 600px;
  padding: 0 var(--side-pad);
  transform: translateY(16px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}
.search-overlay.active .search-overlay__inner { transform: translateY(0); }

.search-overlay__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--muted);
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}
.search-overlay__close:hover { color: var(--ivory); }

.search-overlay__title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.search-overlay__input-wrap { position: relative; }

.search-overlay__input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(196, 125, 59, 0.2);
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 300;
  padding: 12px 0;
  outline: none;
  transition: border-color var(--transition-fast);
}
.search-overlay__input::placeholder { color: var(--muted); }
.search-overlay__input:focus { border-color: var(--copper); }

.search-overlay__hint {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-overlay__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 16px;
  border: 1px solid rgba(196, 125, 59, 0.15);
  color: var(--muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.search-overlay__tag:hover {
  border-color: var(--copper);
  color: var(--copper);
}

/* 32. MOBILE DRAWER
   ────────────────────────────────────── */
.mobile-drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1999;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}
.mobile-drawer__backdrop.active { opacity: 1; pointer-events: all; }

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  z-index: 2000;
  background: var(--surface);
  padding: 80px 32px 32px;
  transition: right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow-y: auto;
  border-left: 1px solid rgba(196, 125, 59, 0.08);
}
.mobile-drawer.active { right: 0; }

.mobile-drawer__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}
.mobile-drawer__close:hover { color: var(--ivory); }

.mobile-drawer__link {
  display: block;
  padding: 16px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
  border-bottom: 1px solid rgba(196, 125, 59, 0.06);
  transition: color var(--transition-fast);
}
.mobile-drawer__link:hover { color: var(--copper); }

/* 33. FOUNDATION / ABOUT PAGE
   ────────────────────────────────────── */
.foundation-page {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 140px var(--side-pad) 60px;
}

.foundation-page__header { text-align: center; margin-bottom: 64px; }

.foundation-page__content {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  color: var(--muted-light);
  max-width: var(--content-max);
  margin: 0 auto;
}

.foundation-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 48px 0;
  margin: 48px 0;
  border-top: 1px solid rgba(196, 125, 59, 0.08);
  border-bottom: 1px solid rgba(196, 125, 59, 0.08);
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 8px;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 34. FOUNDER DETAIL PAGE
   ────────────────────────────────────── */
.foundation__grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}

.foundation__left {
  position: sticky;
  top: 120px;
}

.foundation__right {
  min-width: 0;
}

@media (max-width: 1024px) {
  .foundation__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .foundation__left {
    position: static;
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  .foundation__left {
    max-width: 100%;
  }
}

/* 35. SKELETON LOADING
   ────────────────────────────────────── */
.skeleton {
  border-radius: var(--radius-sm);
  animation: shimmer 1.5s ease-in-out infinite;
  background: linear-gradient(90deg, var(--surface-elevated) 25%, var(--surface) 50%, var(--surface-elevated) 75%);
  background-size: 200% 100%;
}
.skeleton--text { height: 1em; width: 100%; }
.skeleton--heading { height: 1.5em; width: 70%; }

/* 35. RESPONSIVE BREAKPOINTS
   ────────────────────────────────────── */
@media (max-width: 1024px) {
  .manifesto-grid { grid-template-columns: 1fr; gap: 48px; }
  .exhibitions-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .event-item { grid-template-columns: 120px 1fr auto; gap: 24px; }
  .golden-section-marker { display: none; }
  .side-by-side { grid-template-columns: 1fr; gap: 40px; }
  .side-by-side__sticky { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
}

@media (max-width: 768px) {
  #mainNav { padding: 20px var(--side-pad); }
  #mainNav.scrolled { padding: 14px var(--side-pad); }

  .section-pad { padding: 80px 6vw; }
  .hero-content { padding: 160px 6vw 60px; }
  .hero { min-height: 100vh; align-items: flex-start; }
  .hero-title { font-size: clamp(32px, 9vw, 52px); }
  .hero-stats { gap: 20px; }
  .hero-stat-number { font-size: 22px; }

  .exhibit-card .card-overlay { padding: 28px; }

  .event-item { grid-template-columns: 1fr; gap: 8px; }
  .event-arrow { display: none; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }

  .philosophy-quote { min-height: 240px; }

  .content-grid { grid-template-columns: 1fr; }
  .list-page__grid { grid-template-columns: 1fr; }
  .catalogue-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid__item:nth-child(1) { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/9; }
  .foundation-stats { grid-template-columns: 1fr; gap: 24px; }
  .event-row { grid-template-columns: 60px 1fr; gap: 20px; }
  .event-row__time { display: none; }

  .article-page { padding: 120px var(--side-pad) 40px; }
  .list-page { padding: 120px var(--side-pad) 40px; }
  .foundation-page { padding: 120px var(--side-pad) 40px; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .newsletter-section__form { flex-direction: column; }
  .newsletter-section__submit { width: 100%; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid__item:nth-child(1) { grid-column: auto; aspect-ratio: 16/9; }
  .search-overlay { padding-top: 15vh; }
}

/* Flow Spacing (Owl Selector) */
main * + * {
  margin-top: 1.5em;
}

.layout--article > * + *,
.detail-content > * + *,
.post-content > * + *,
.page-content > * + * {
  margin-top: 1.5em;
}

/* 41. REDUCED MOTION
   ────────────────────────────────────── */
@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;
  }
  .cursor-light,
  .scroll-progress,
  #particles,
  .hero-noise,
  .hero-word { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-title-word { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero-title-word::after { animation: none !important; }
  .hero-cta, .hero-stats, .hero-scroll { animation: none !important; opacity: 1 !important; transform: none !important; }
  .philosophy::before, .philosophy::after { animation: none !important; }
  .exhibit-card .card-bg,
  .content-card,
  .event-item,
  .event-row,
  .gallery-grid__item img,
  .content-card .content-card__image-inner { transition: none !important; }
  .exhibit-card:hover .card-bg { transform: none !important; }
  .exhibit-card:hover .card-status { transform: none !important; }
  .exhibit-card:hover .card-desc { max-height: none !important; opacity: 1 !important; }
  .content-card:hover { transform: none !important; }
  .event-item:hover,
  .event-row:hover { transform: none !important; padding-left: 0 !important; }
  .gallery-grid__item:hover img,
  .gallery-grid > div:hover img,
  .content-card:hover .content-card__image-inner { transform: none !important; }
  .hero-title .word { animation: none !important; opacity: 1 !important; }
}
