/* ============================================
   BASE — Reset, Variables, Typography, Global
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Surfaces */
  --warm-ivory: #F5F0EB;
  --linen: #EDE8E1;
  --soft-cream: #FAF8F5;

  /* Text */
  --charcoal: #2C2C2C;
  --warm-gray: #6B6560;
  --muted-gray: #9B9590;

  /* Accent */
  --gold: #C4A87C;
  --gold-hover: #B89A6E;
  --dusty-rose: #C9A9A6;

  /* Dark sections */
  --rich-dark: #1A1816;
  --dark-warm: #2A2622;

  /* Overlays */
  --overlay-photo: rgba(26, 24, 22, 0.3);
  --overlay-lightbox: rgba(26, 24, 22, 0.92);

  /* Fonts */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
  --font-script: 'Great Vibes', cursive;

  /* Spacing */
  --section-pad-mobile: 80px;
  --section-pad-desktop: 120px;
  --container-max: 1200px;
  --side-pad: 20px;

  /* Easing */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--charcoal);
  background-color: var(--warm-ivory);
  overflow-x: hidden;
  cursor: none;
}

/* --- Typography Base --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--charcoal);
}

h1 {
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  font-weight: 400;
}

p {
  color: var(--warm-gray);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

a, button, input, textarea, select, [role="button"], .nav__hamburger, .nav__overlay-close {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* --- Utility --- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: var(--gold);
  color: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
}

.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  padding: 16px 40px;
  background: transparent;
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--charcoal);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
}

.btn-secondary:hover {
  background: var(--charcoal);
  color: var(--warm-ivory);
}

.gold-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
}

.script-accent {
  font-family: var(--font-script);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--gold);
}

/* --- Selection --- */
::selection {
  background: var(--gold);
  color: #fff;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--warm-ivory);
}

::-webkit-scrollbar-thumb {
  background: var(--muted-gray);
}

/* --- Animation Initial States --- */
[data-animate] {
  opacity: 0;
}

[data-animate="fade-up"] {
  transform: translateY(30px);
}

[data-animate="reveal"] {
  clip-path: inset(100% 0 0 0);
}

/* --- Desktop --- */
@media (min-width: 768px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 96px;
  }

  h2 {
    font-size: 64px;
  }

  h3 {
    font-size: 36px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 13px;
  }

  .script-accent {
    font-size: 40px;
  }

  .container {
    padding: 0 40px;
  }

  :root {
    --side-pad: 40px;
  }
}
