/*
  Design System — Global CSS (MUSEUM AESTHETIC)
  Soft, elegant, artsy design for a digital museum experience
  Typography, color tokens, spacing scale, components, interactions, and responsive rules
*/

/* Fonts are linked in HTML for better performance (preconnect + swap) */

/* Tokens - Warm, Inviting Palette */
:root {
  /* Colors - Warm, Museum-like Palette */
  --color-bg: #faf8f5;
  --color-bg-soft: #fffaf6;
  --color-text: #2a2520;
  --color-text-light: #6b6359;
  --color-muted: #9b8f83;
  --color-accent: #c4a080;
  --color-accent-warm: #d4a574;
  --color-subtle: #e8ddd2;

  /* Typography */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Work Sans', 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --lh-base: 1.8; /* Generous line-height for reading comfort */
  --ls-nav: 0.05em; /* Subtle letter spacing */

  /* Spacing scale (rem) */
  --space-075: 0.75rem;
  --space-150: 1.5rem;
  --space-300: 3rem;
  --space-450: 4.5rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Radii - Soft edges */
  --radius-xxs: 3px;
  --radius-xs: 8px;
  --radius-md: 12px;

  /* Motion - Gentle, breathing */
  --ease-standard: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 180ms var(--ease-smooth);
  --t-base: 300ms var(--ease-smooth);
  --t-slow: 500ms var(--ease-smooth);
}

/* Base & Reset-lite */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: var(--lh-base);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
svg { display: block; }

p, h1, h2, h3, h4, h5, h6 { margin: 0 0 var(--space-150); }
ul, ol { margin: 0 0 var(--space-150); padding-left: 1.25rem; }

a { color: inherit; text-decoration: none; transition: color var(--t-base), opacity var(--t-base); }
a:hover { opacity: 0.88; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid color-mix(in srgb, var(--color-text) 35%, transparent); outline-offset: 3px; border-radius: var(--radius-xs); }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); font-weight: 400; }
h1 strong, h2 strong, h3 strong { font-weight: 500; }

h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.2; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.3; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; letter-spacing: 0.02em; }
h6 { font-size: 0.95rem; letter-spacing: 0.03em; }

.label, .eyebrow, nav, .nav { text-transform: uppercase; letter-spacing: var(--ls-nav); font-size: 0.85rem; }
.eyebrow { color: var(--color-muted); display: inline-block; margin-bottom: var(--space-075); }

.text-muted { color: var(--color-muted); }
.text-secondary { color: var(--color-muted); }
.accent { color: var(--color-accent); }

/* Layout */
.container { width: min(1200px, 100% - 2*var(--gutter)); margin-inline: auto; }

.section { padding-block: var(--space-450); }
@media (max-width: 900px) { .section { padding-block: var(--space-300); } }
@media (max-width: 600px) { .section { padding-block: 2rem; } body { line-height: 1.8; } }

.section__intro { text-align: center; max-width: 60ch; margin: 0 auto var(--space-300); }
.section__title { font-family: var(--font-serif); font-weight: 400; }
.section__copy { font-family: var(--font-sans); color: var(--color-muted); }

/* Navigation */
.header { position: relative; padding-top: var(--space-300); padding-bottom: var(--space-150); }
.header--overlay { position: absolute; inset: 0 auto auto 0; width: 100%; z-index: 40; }
.nav { display: flex; justify-content: center; gap: clamp(0.75rem, 3vw, 2rem); align-items: center; }
.nav__link { opacity: 0.9; padding: 0.25rem 0.5rem; transition: opacity var(--t-base), color var(--t-base); }
.nav__link:hover { opacity: 0.7; }

/* Mobile overlay nav */
.hamburger { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius-xs); }
.overlay-nav { position: fixed; inset: 0; background: color-mix(in srgb, var(--color-text) 85%, transparent); color: #fff; display: none; z-index: 100; }
.overlay-nav__inner { height: 100%; display: grid; place-items: center; }
.overlay-nav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; text-align: center; }
.overlay-nav__link { text-transform: uppercase; letter-spacing: var(--ls-nav); font-size: 1.1rem; }
.overlay-nav.is-open { display: block; }

/* Hero Pattern */
.hero { position: relative; min-height: 70vh; display: grid; place-items: center; text-align: center; overflow: clip; }
.hero__inner { position: relative; z-index: 1; padding-inline: var(--gutter); }
.hero__title { font-size: clamp(2.8rem, 6vw, 4.4rem); }
.hero__sub { font-family: var(--font-sans); color: color-mix(in srgb, var(--color-bg) 20%, var(--color-text)); max-width: 60ch; margin-inline: auto; }

/* Overlay gradient (6–18% range) */
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.18; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.66) 60%, rgba(0,0,0,0.0) 100%); transition: opacity var(--t-base); }
.hero--light::before { opacity: 0.06; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.0) 100%); }
.hero--photo { color: #fff; }
.hero--solid { color: var(--color-text); }

/* Grid & Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-300); }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.card { display: grid; gap: 0.75rem; }
.card__media-wrap { position: relative; width: 100%; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--radius-xxs); background: #ddd; }
.card__media-wrap img { width: 100%; height: 100%; object-fit: cover; }
.card__title { font-family: var(--font-serif); font-size: 1.1rem; }
.card__label { text-transform: uppercase; letter-spacing: var(--ls-nav); font-size: 0.78rem; color: var(--color-muted); }
.card:hover .card__media-wrap { filter: saturate(1.02); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.9rem 1.25rem; border-radius: var(--radius-xs); transition: background-color var(--t-base), color var(--t-base), border-color var(--t-base), opacity var(--t-base); }
.button--ghost { border: 1px solid color-mix(in srgb, var(--color-text) 22%, transparent); color: var(--color-text); background: transparent; text-transform: uppercase; letter-spacing: var(--ls-nav); padding: 0.95rem 1.35rem; }
.button--ghost:hover { background: color-mix(in srgb, var(--color-accent) 18%, transparent); border-color: color-mix(in srgb, var(--color-text) 35%, transparent); }

/* Interactions */
[data-hover], .hoverable { transition: opacity var(--t-base), transform var(--t-base), filter var(--t-base); }
.hoverable:hover { opacity: 0.9; }
.fade-in { opacity: 0; transform: translateY(6px); transition: opacity var(--t-base), transform var(--t-base); }
.fade-in.is-inview { opacity: 1; transform: translateY(0); }

/* Utilities */
.ratio-2x3 { aspect-ratio: 2 / 3; }
.visually-hidden, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.stack-sm > * + * { margin-top: 0.5rem; }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.5rem; }

/* Footer */
.site-footer { border-top: 1px solid color-mix(in srgb, var(--color-text) 10%, transparent); padding-block: var(--space-150); color: var(--color-muted); font-size: 0.9rem; }

/* Support: white text on photos, charcoal on solids */
.on-photo { color: #fff; }
.on-light { color: var(--color-text); }
/* ============================================
   KLUXE PRODUCTIONS - MASTER OF OPTICS
   Global Stylesheet - Obsidian & Alabaster
   ============================================ */

/* ========== ROOT VARIABLES ========== */
:root {
  /* Light Mode (Primary) - Warm, Inviting */
  --bg-primary: #faf8f5;
  --bg-secondary: #f5f0e8;
  --bg-tertiary: #efe8df;
  --bg-overlay: rgba(250, 248, 245, 0.92);
  
  --text-primary: #2a2520;
  --text-secondary: #5f5550;
  --text-muted: #9b8f83;
  
  --accent-warm: #c4a080;
  --accent-warm-glow: rgba(196, 160, 128, 0.15);
  --accent-warm-dim: rgba(196, 160, 128, 0.08);
  
  /* Soft accent colors */
  --gold-accent: #d4a574;
  --sage-accent: #8b9d84;
  --terracotta-accent: #b88a6f;
  
  /* Spacing & Sizing */
  --nav-height: 70px;
  --section-padding: 80px;
  --container-max: 1200px;
  --border-radius: 8px;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-gentle: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Effects - Soft, Subtle */
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-warm: 0 0 20px rgba(196, 160, 128, 0.1);
}

/* Dark Mode (Alternative) - Warm Dark */
[data-theme="dark"] {
  --bg-primary: #1f1a15;
  --bg-secondary: #2a241c;
  --bg-tertiary: #3a3227;
  --bg-overlay: rgba(31, 26, 21, 0.94);
  
  --text-primary: #f5f0e8;
  --text-secondary: #d4c8ba;
  --text-muted: #a89880;
  
  --accent-warm: #d4a574;
  --accent-warm-glow: rgba(212, 165, 116, 0.2);
  --accent-warm-dim: rgba(212, 165, 116, 0.1);
  
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-warm: 0 0 20px rgba(212, 165, 116, 0.15);
}

/* ========== BASE RESET ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  transition: background-color var(--t-base), color var(--t-base);
  overflow-x: hidden;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 500;
}

p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Soft, readable paragraphs */
p.lead,
p.hero-text,
.hero-subtitle,
.section-subtitle,
.tagline {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--text-secondary);
}

/* Feature callouts with soft styling */
p.feature-text,
.feature-description {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: -0.005em;
}

/* Philosophy card descriptions */
.philosophy-card p,
.service-item p {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Mode card descriptions */
.mode-card p {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--text-secondary);
}

/* Tagline styling */
.identity-tagline {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--text-secondary);
  margin-top: 1.5rem;
}

a {
  color: var(--accent-warm);
  text-decoration: none;
  transition: all var(--t-base);
}

a:hover {
  color: var(--gold-accent);
  opacity: 0.85;
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-overlay);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(196, 160, 128, 0.15);
  z-index: 1000;
  transition: all var(--t-base);
  box-shadow: none;
}

/* Hide navbar when file viewer modal is open */
body.viewer-open .navbar {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.navbar.scrolled {
  box-shadow: var(--shadow-soft);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 32px;
  width: auto;
  display: block;
  opacity: 0.9;
  transition: opacity var(--t-base);
}

.logo-text {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  opacity: 0.75;
  transition: opacity var(--t-base);
}

.logo:hover img,
.logo:hover .logo-text {
  opacity: 1;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-primary);
  opacity: 0.8;
  transition: opacity var(--t-base);
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-warm);
  transition: width var(--t-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Theme Toggle */
.theme-toggle {
  background: transparent;
  border: 1px solid rgba(196, 160, 128, 0.25);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--t-base);
  color: var(--text-primary);
  font-size: 0.85rem;
}

.theme-toggle:hover {
  background: var(--accent-warm-dim);
  border-color: var(--accent-warm);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--t-base);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  font-family: 'Work Sans', sans-serif;
}

.btn-primary {
  background: var(--accent-warm);
  color: var(--bg-primary);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  box-shadow: var(--shadow-warm);
  transform: translateY(-2px);
  background: var(--gold-accent);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent-warm);
  color: var(--accent-warm);
}

.btn-outline:hover {
  background: var(--accent-warm-dim);
  color: var(--accent-warm);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(196, 160, 128, 0.2);
  color: var(--text-primary);
}

.btn-ghost:hover {
  background: var(--accent-warm-dim);
  border-color: var(--accent-warm);
}

/* ========== CONTAINERS ========== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ========== CARDS ========== */
.card {
  background: var(--bg-secondary);
  border: 1px solid rgba(196, 160, 128, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: rgba(196, 160, 128, 0.3);
  box-shadow: var(--shadow-soft);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hard);
  border-color: var(--kluxe-green);
}

.card:hover::before {
  transform: scaleX(1);
}

/* ========== GRID SYSTEMS ========== */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ========== ANIMATIONS ========== */
@keyframes pulse {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.fade-in {
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
  :root {
    --section-padding: 60px;
  }
  
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(8px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(-100%);
    transition: all var(--t-base);
    z-index: 999;
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 40px;
  }
  
  .container {
    padding: 0 1.25rem;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-warm);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-accent);
}

/* ========== SELECTION ========== */
::selection {
  background: var(--accent-warm);
  color: var(--bg-primary);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-secondary);
  padding: 4rem 0 0;
  margin-top: 4rem;
  border-top: 1px solid rgba(196, 160, 128, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  padding: 3rem 0 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(196, 160, 128, 0.1);
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer-col {
  position: relative;
}

.footer-col .logo {
  display: block;
  margin-bottom: 1rem;
}

.footer-col > p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--t-base);
  position: relative;
}

.footer-col ul li a:hover {
  color: var(--accent-warm);
}

.footer-col ul li {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: transparent;
  border: 1px solid rgba(196, 160, 128, 0.2);
  border-radius: var(--border-radius);
  transition: all var(--t-base);
  opacity: 0.7;
}

.social-links a:hover {
  background: var(--accent-warm-dim);
  border-color: var(--accent-warm);
  opacity: 1;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding: 2rem;
  background: rgba(196, 160, 128, 0.05);
}

.footer-bottom p {
  margin: 0.3rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-bottom p:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

/* ========== UNIVERSAL CUSTOM SELECT ========== */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select select {
  display: none;
}

.select-selected {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--text-primary) 18%, transparent);
  background: var(--bg-primary);
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color var(--t-base), box-shadow var(--t-base), background-color var(--t-base);
}

.select-selected::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  opacity: 0.85;
  transition: transform var(--t-fast);
}

.select-selected:hover,
.select-selected:focus-visible,
.select-selected.select-arrow-active {
  border-color: var(--accent-warm);
  box-shadow: 0 0 0 2px var(--accent-warm-dim);
}

.select-selected.select-arrow-active::after {
  transform: rotate(180deg);
}

.select-items {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 260px;
  overflow-y: auto;
  z-index: 1200;
  background: var(--bg-primary);
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--text-primary) 16%, transparent);
  box-shadow: var(--shadow-medium);
}

.select-items div {
  padding: 0.65rem 0.95rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast);
}

.select-items div:hover {
  background: var(--accent-warm-dim);
}

.select-items .same-as-selected {
  background: var(--accent-warm-dim);
  color: var(--text-primary);
  font-weight: 600;
}

.select-hide {
  display: none;
}
