/* ─── SHARED STYLES — MAKELA PARTNERS ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:   #ffffff;
  --off:     #f8f7f4;
  --stone:   #ede9e3;
  --mid:     #b8b0a4;
  --ink:     #1a1814;
  --ink2:    #3d3a35;
  --gold:    #c9a96e;
  --gold-lt: #e8d5b0;

  --fs-display: clamp(3.2rem, 7vw, 7rem);
  --fs-h2:      clamp(2rem, 3.5vw, 3.2rem);
  --fs-h3:      clamp(1.3rem, 1.8vw, 1.7rem);
  --fs-body:    clamp(0.9rem, 1.1vw, 1.05rem);
  --fs-label:   0.7rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 300;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}

/* CURSOR */
.cursor {
  position: fixed; top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--ink); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease), height 0.2s var(--ease), background 0.2s;
}
.cursor.hover {
  width: 36px; height: 36px;
  background: transparent; border: 1px solid var(--ink);
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 2rem 5vw;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 1.2rem 5vw; border-bottom: 1px solid var(--stone);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
}
.logo-placeholder {
  width: 36px; height: 36px;
  border: 1.5px dashed var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); flex-shrink: 0;
}
.logo-placeholder-dark {
  width: 36px; height: 36px;
  border: 1.5px dashed rgba(201,169,110,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(201,169,110,0.5); flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Cormorant Garamond', serif; font-weight: 400;
  font-size: 1.3rem; letter-spacing: 0.08em; color: var(--ink);
}
.nav-logo-text span { color: var(--gold); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a {
  font-size: var(--fs-label); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink2); text-decoration: none; position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width 0.4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  color: var(--white) !important; background: var(--ink);
  padding: 0.65rem 1.5rem !important; transition: background 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold) !important; }

/* MOBILE NAV */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: none; background: none; border: none; padding: 0.4rem;
}
.nav-burger span { display: block; width: 24px; height: 1px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--white); z-index: 98;
  flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 300;
  color: var(--ink); text-decoration: none; transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }

/* FOOTER */
footer {
  background: var(--ink); color: rgba(255,255,255,0.4);
  padding: 3.5vh 5vw; display: flex;
  justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap;
}
.footer-logo {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: #fff; letter-spacing: 0.08em;
}
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-size: var(--fs-label); letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: var(--fs-label); letter-spacing: 0.08em; }

/* SHARED UTILITIES */
.section-label {
  font-size: var(--fs-label); letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

.btn-primary {
  display: inline-block; padding: 0.9rem 2.2rem; background: var(--ink); color: var(--white);
  font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; transition: background 0.3s, transform 0.3s var(--ease);
}
.btn-primary:hover { background: var(--gold); transform: translateY(-2px); }

.btn-ghost {
  display: inline-block; color: var(--ink2); font-size: var(--fs-label);
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid var(--mid); padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }

.btn-gold {
  display: inline-block; padding: 1rem 2.4rem; background: var(--gold);
  color: var(--ink); font-size: var(--fs-label); letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none; font-weight: 500;
  transition: background 0.3s, transform 0.3s var(--ease);
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); }

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 18vh 6vw 10vh;
  background: var(--off);
  border-bottom: 1px solid var(--stone);
}
.page-hero-label {
  font-size: var(--fs-label); letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.page-hero-title {
  font-family: 'Cormorant Garamond', serif; font-size: var(--fs-h2);
  font-weight: 300; line-height: 1.1; max-width: 700px;
}
.page-hero-title em { font-style: italic; color: var(--gold); }

/* RESPONSIVE */
@media (max-width: 640px) {
  nav { padding: 1.5rem 6vw; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

/* KEYFRAMES */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes imgReveal { to { opacity: 1; transform: scale(1); } }
@keyframes lineScan { 0% { left: -100%; } 50% { left: 100%; } 100% { left: 100%; } }
