/* ── CSS VARIABLES ── */
:root {
  --deep: #07110d;
  --deep2: #101a14;
  --card: #121f17;
  --border: #304437;
  --gold: #d4b46f;
  --gold-lt: #ead39a;
  --copper: #b78355;
  --sage: #9fbd9b;
  --ink: #fbf5ea;
  --cream: #fbf5ea;
  --muted: #d8c8b2;
  --soft: #18281f;
  --radius: 8px;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", sans-serif;
  --font-serif: "Playfair Display", serif;
  --nav-h: 68px;
}

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

html { scroll-behavior: auto; background: var(--deep); }

body {
  background: var(--deep);
  font-family: var(--font-body);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.preload-lock { overflow: hidden; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { text-decoration: none; color: inherit; cursor: pointer; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
input, select, textarea { font-family: inherit; }

::selection { background: rgba(201, 151, 58, 0.3); color: var(--ink); }

/* ── TYPOGRAPHY ── */
.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--cream);
  line-height: 1.15;
}

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

.section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 540px;
}

/* ── GLOBAL PROGRESS BAR ── */
.global-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--copper));
  z-index: 500;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ── MAIN LAYOUT ── */
.main-content { position: relative; z-index: 1; }
.section { position: relative; }

/* ── SCROLL SMOOTHER FIXES ── */
#smooth-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#smooth-content { position: relative; will-change: transform; }

/* ── FOOTER STICKER ── */
.footer-sticker {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 100;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201, 151, 58, 0.08);
  border: 1px solid rgba(201, 151, 58, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  pointer-events: none;
  opacity: 0;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: floatLeaf 4s ease-in-out infinite;
}

@keyframes floatLeaf {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 5, 0.92);
  z-index: 600;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-overlay.show { display: flex; }

.modal-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  animation: modalIn 0.35s ease forwards;
  position: relative;
}

@keyframes modalIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.3rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover { color: var(--gold); }
