/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --bg-primary:   #0c0b09;
  --bg-secondary: #131210;
  --bg-surface:   #1c1a16;
  --border:       #2a2520;
  --border-muted: #1e1b17;

  --text-primary:   #f0ece4;
  --text-secondary: #9e9280;
  --text-muted:     #5a5245;

  --accent:       #C4A47C;
  --accent-dark:  #a88860;

  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --container:  1200px;
  --container-narrow: 780px;

  --nav-h: 68px;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
}

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

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
  font-style: normal;
}
h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.8rem); font-weight: 700; }
h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 600; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0.04em; }

p { max-width: 60ch; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0.8;
}

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding-block: 7rem; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: #0c0b09;
}
.btn-primary:hover { background: var(--accent-dark); color: #0c0b09; }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--text-secondary); }

.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding-inline: 0;
  letter-spacing: 0.1em;
}
.btn-ghost::after { content: ' →'; }
.btn-ghost:hover { color: var(--text-primary); }

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s, backdrop-filter 0.3s, border-bottom 0.3s;
}
.nav.scrolled {
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-muted);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  text-transform: uppercase;
  display: flex;
  align-items: center;
}
.nav-logo span { color: var(--accent); }
.nav-logo img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--text-primary); }

.nav-cta {
  background: var(--accent);
  color: #0c0b09 !important;
  padding: 9px 20px;
  border-radius: var(--radius-sm);
}
.nav-cta:hover { background: var(--accent-dark); color: #0c0b09 !important; }

/* hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s, width 0.25s;
  transform-origin: left center;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translateY(-1px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translateY(1px); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: var(--bg-primary);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--text-primary); }
.nav-mobile a.cta-mobile {
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  color: var(--accent);
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-muted);
  padding-block: 48px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}
.footer-logo img {
  height: 22px;
  width: auto;
  display: block;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-secondary); }
.footer-copy {
  width: 100%;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ─── IMAGE PLACEHOLDER ──────────────────────────────────── */
.img-placeholder {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 240px;
}
.img-placeholder::after {
  content: attr(data-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── FADE-IN SCROLL ─────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── DIVIDER ────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border-muted);
  border: none;
}

/* ─── ACCENT LINE ────────────────────────────────────────── */
.accent-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 2rem;
}
