/* ================================
   FANTASY AS MEDICINE — Global Styles
   ================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&display=swap');

:root {
  --near-black: #0F0D11;
  --dark-berry: #5A1A3A;
  --dusty-rose: #C39EA0;
  --warm-cream: #E4DED7;
  --gold: #D4AF37;
  --white: #FFFFFF;

  --font-heading: 'Cinzel', serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
}

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

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

body {
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================================
   TYPOGRAPHY
   ================================ */

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--dusty-rose);
}

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

/* ================================
   LAYOUT
   ================================ */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--dark {
  background: var(--near-black);
  color: var(--warm-cream);
}

.section--berry {
  background: var(--dark-berry);
  color: var(--warm-cream);
}

.section--cream {
  background: var(--warm-cream);
  color: var(--near-black);
}

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

/* ================================
   GOLD LABEL
   ================================ */

.gold-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ================================
   BUTTONS
   ================================ */

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn--gold {
  background: var(--gold);
  color: var(--near-black);
}

.btn--gold:hover {
  background: var(--warm-cream);
  color: var(--near-black);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn--outline:hover {
  background: var(--gold);
  color: var(--near-black);
}

.btn--berry {
  background: var(--dark-berry);
  color: var(--warm-cream);
}

.btn--berry:hover {
  background: var(--gold);
  color: var(--near-black);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

/* ================================
   NAVIGATION
   ================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s, padding 0.3s;
}

.nav.scrolled {
  background: rgba(15, 13, 17, 0.95);
  padding: 12px 0;
  backdrop-filter: blur(10px);
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__brand {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
}

.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--warm-cream);
  text-decoration: none;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav__links a:hover {
  color: var(--gold);
}

.nav__links a:hover::after {
  width: 100%;
}

/* Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__arrow {
  font-size: 0.5rem;
  transition: transform 0.3s;
}

.nav__dropdown:hover .nav__arrow {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 12px;
  min-width: 200px;
  list-style: none;
}

.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(15,13,17,0.95);
}

.nav__dropdown-menu li {
  background: rgba(15,13,17,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__dropdown-menu li:first-child {
  border-radius: 6px 6px 0 0;
}

.nav__dropdown-menu li:last-child {
  border-radius: 0 0 6px 6px;
}

.nav__dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 0.65rem !important;
  letter-spacing: 2px !important;
  white-space: nowrap;
  border-bottom: 1px solid rgba(192,144,160,0.08);
  transition: background 0.2s, color 0.3s;
}

.nav__dropdown-menu li:last-child a {
  border-bottom: none;
}

.nav__dropdown-menu a:hover {
  background: rgba(107,30,58,0.3);
}

.nav__dropdown:hover .nav__dropdown-menu {
  display: block;
}

/* Mobile hamburger */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin: 5px 0;
  transition: all 0.3s;
}

/* Mobile overlay */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(90, 26, 58, 0.97);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.nav__overlay.active {
  display: flex;
}

.nav__overlay a {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--warm-cream);
  text-decoration: none;
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: color 0.3s, letter-spacing 0.3s;
}

.nav__overlay a:hover {
  color: var(--gold);
  letter-spacing: 6px;
}

.nav__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2rem;
  cursor: pointer;
  font-family: var(--font-body);
}

/* ================================
   BRAND BANGER — somatic layering quotes
   ================================ */

.brand-banger {
  text-align: center;
  padding: 48px 24px;
  position: relative;
  z-index: 1;
}

.brand-banger__text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
  color: var(--dusty-rose);
  opacity: 0.7;
  font-style: italic;
}

.brand-banger--dark {
  background: transparent;
}

.brand-banger--dark .brand-banger__text {
  color: var(--dusty-rose);
}

.brand-banger--cream {
  background: var(--warm-cream);
}

.brand-banger--cream .brand-banger__text {
  color: var(--dark-berry);
  opacity: 0.6;
}

/* ================================
   FOOTER
   ================================ */

.footer {
  background: var(--dark-berry);
  color: var(--dusty-rose);
  padding: 48px 0 32px;
  text-align: center;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;
}

.footer__links a {
  color: var(--dusty-rose);
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__cry {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--dusty-rose);
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer__copy {
  font-size: 0.7rem;
  color: var(--dusty-rose);
  opacity: 0.5;
  letter-spacing: 1px;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 768px) {
  html { font-size: 16px; }

  .section { padding: 60px 0; }

  .nav__links { display: none; }

  .nav__toggle { display: block; }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}
