:root {
  --plum: #2a1a35;
  --plum-deep: #1e1227;
  --purple: #3d2855;
  --purple-light: #4d3370;
  --gold: #c9a961;
  --gold-bright: #d8b973;
  --gold-dim: #9e8450;
  --cream: #f0ebe3;
  --lavender: #b8a6cc;
  --white: #ffffff;
  --ink: #130b19;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--plum);
  color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--white);
  font-weight: 500;
  letter-spacing: 0.5px;
}

a {
  color: inherit;
}

select.multi-select-native {
  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;
  opacity: 0 !important;
  pointer-events: none !important;
}
.multi-select {
  position: relative;
  width: 100%;
  font-family: 'Inter', sans-serif;
}
.multi-select-trigger {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(201, 169, 97, 0.25);
  border-radius: 2px;
  background: rgba(77, 51, 112, 0.55);
  color: var(--lavender);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.multi-select-trigger:hover,
.multi-select-trigger:focus-visible,
.multi-select.is-open .multi-select-trigger {
  outline: none;
  border-color: var(--gold);
  background: rgba(77, 51, 112, 0.82);
}
.multi-select.has-selection .multi-select-value {
  color: var(--cream);
}
.multi-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.multi-select-chevron {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.multi-select.is-open .multi-select-chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}
.multi-select-panel {
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  z-index: 80;
  width: max(100%, 240px);
  max-height: 280px;
  overflow-y: auto;
  padding: 7px;
  border: 1px solid rgba(201, 169, 97, 0.4);
  background: rgba(30, 18, 39, 0.98);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}
.multi-select-panel[hidden] {
  display: none;
}
.multi-select .multi-select-option {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  color: var(--cream);
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 0;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.multi-select-option:hover,
.multi-select-option:focus-within {
  background: rgba(201, 169, 97, 0.1);
  color: var(--gold-bright);
}
.multi-select-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.multi-select-check {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 169, 97, 0.55);
  background: var(--plum);
}
.multi-select-option input:checked + .multi-select-check {
  border-color: var(--gold);
  background: var(--gold);
}
.multi-select-option input:checked + .multi-select-check::after {
  content: '';
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--plum-deep);
  border-bottom: 2px solid var(--plum-deep);
  transform: rotate(-45deg) translateY(-1px);
}
.multi-select-option input:focus-visible + .multi-select-check {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

.gold-text {
  color: var(--gold);
}
.gold-line {
  height: 1px;
  background: var(--gold);
  width: 60px;
  display: block;
}

section {
  position: relative;
}

/* === NAV === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 60px;
  transition: all 0.4s ease;
}
nav.scrolled {
  background: rgba(30, 18, 39, 0.95);
  backdrop-filter: blur(12px);
  padding: 16px 60px;
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
  text-decoration: none;
}
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(14px, 1.8vw, 24px);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: clamp(1px, 0.23vw, 3px);
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-logo-text span {
  display: block;
  font-size: clamp(7px, 0.75vw, 10px);
  letter-spacing: clamp(1.5px, 0.45vw, 6px);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--lavender);
  margin-top: -4px;
}
.nav-logo-divider {
  width: 1px;
  height: 42px;
  background: rgba(201, 169, 97, 0.42);
}
.nav-logo-image {
  display: block;
  width: clamp(150px, 22vw, 260px);
  max-width: none;
  height: auto;
}
.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center;
}
.nav-menu a {
  color: var(--cream);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-menu a:hover {
  color: var(--gold);
}
.nav-menu a:hover::after {
  width: 100%;
}
.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 9px 24px;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-cta::after {
  display: none;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--plum) !important;
}
.nav-toggle {
  display: none;
  font-size: 24px;
  color: var(--gold);
  cursor: pointer;
  background: none;
  border: none;
}

/* === FOOTER === */
footer {
  background: var(--plum-deep);
  padding: 60px 60px 40px;
  border-top: 1px solid rgba(201, 169, 97, 0.15);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 30px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.footer-logo span {
  display: block;
  font-size: 10px;
  letter-spacing: 5px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--lavender);
  margin-top: -4px;
}
.footer-nav {
  display: flex;
  gap: 32px;
  list-style: none;
}
.footer-nav a {
  color: var(--lavender);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.footer-nav a:hover {
  color: var(--gold);
}
.footer-social {
  display: flex;
  gap: 18px;
}
.footer-social a {
  color: var(--lavender);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.footer-social a:hover {
  color: var(--gold);
}
.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(201, 169, 97, 0.1);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom p {
  color: var(--lavender);
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 300;
}
.footer-bottom p a {
  color: var(--gold);
  text-decoration: none;
}
.footer-bottom .creator-credit {
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 14px;
}
.footer-bottom .creator-credit a {
  color: var(--white);
  text-decoration: none;
}
.footer-bottom .creator-credit a:hover {
  text-decoration: underline;
}

@media (max-width: 1320px) {
  nav {
    padding: 18px 24px;
  }
  nav.scrolled {
    padding: 12px 24px;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: var(--plum-deep);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transition: right 0.4s ease;
    border-left: 1px solid rgba(201, 169, 97, 0.2);
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-toggle {
    display: block;
    z-index: 1001;
  }
  .footer-grid {
    flex-direction: column;
    text-align: center;
  }
  footer {
    padding: 50px 24px 30px;
  }
}

@media (max-width: 480px) {
  .nav-logo-text {
    font-size: clamp(12px, 4vw, 14px);
    letter-spacing: 1px;
  }
  .nav-logo-text span {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
  .nav-logo-divider {
    height: 34px;
  }
  .nav-logo-image {
    width: clamp(140px, 38vw, 150px);
  }
}

/* === DRAGONFLY GSAP MOMENT === */
.dragonfly-flight {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 900;
  width: clamp(84px, 10vw, 132px);
  aspect-ratio: 1;
  pointer-events: auto;
  cursor: pointer;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.34));
  opacity: 0;
  will-change: transform, opacity;
}
.dragonfly-hidden {
  display: none;
}
.dragonfly-svg-shell,
.dragonfly-svg,
.dragonfly-aura {
  position: absolute;
  display: block;
}
.dragonfly-svg-shell,
.dragonfly-svg {
  inset: 0;
  width: 100%;
  height: 100%;
}
.dragonfly-svg {
  overflow: visible;
}
.dragonfly-svg path,
.dragonfly-svg polygon,
.dragonfly-svg circle,
.dragonfly-svg ellipse,
.dragonfly-svg rect,
.dragonfly-svg line,
.dragonfly-svg polyline {
  fill: var(--gold) !important;
  stroke: rgba(216, 185, 115, 0.28) !important;
}
.dragonfly-svg [inkscape\:label="dragonfly-wing-left"],
.dragonfly-svg [inkscape\:label="dragonfly-wing-right"] {
  opacity: 0.76;
}
.dragonfly-svg [inkscape\:label="dragonfly-body"] {
  opacity: 0.96;
}
.dragonfly-aura {
  inset: 24%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(216, 185, 115, 0.36), rgba(216, 185, 115, 0));
  z-index: -1;
}

@media (max-width: 760px) {
  .dragonfly-flight {
    width: clamp(68px, 21vw, 86px);
    z-index: 900;
  }
}
