/* Peter Noyal — shared styles */
:root {
  --bg: #0b0a09;
  --bg-2: #121110;
  --bg-3: #1a1816;
  --ink: #ece7df;
  --ink-dim: #a39c91;
  --ink-faint: #6e6a62;
  --gold: #c9a36a;
  --gold-soft: #b3905c;
  --line: rgba(236, 231, 223, 0.12);
  --serif: "Marcellus", serif;
  --sans: "Jost", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--pad);
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 10, 9, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom-color: var(--line);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 9px 20px;
  border-radius: 999px;
  transition: background 0.25s, color 0.25s;
}
.nav-cta:hover { background: var(--gold); color: #14110c !important; }
.nav-cta svg { width: 15px; height: 15px; fill: currentColor; }

/* mobile nav */
.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  padding: 6px;
  cursor: pointer;
}
.nav-burger svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    background: rgba(11, 10, 9, 0.97);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
    gap: 34px;
  }
  .nav-links a { font-size: 17px; }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-burger { display: block; z-index: 110; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 34px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 999px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
  cursor: pointer;
  background: none;
}
.btn:hover { background: var(--gold); color: #14110c; transform: translateY(-2px); }
.btn.solid { background: var(--gold); color: #14110c; }
.btn.solid:hover { background: #dcb87e; }
.btn.ghost { border-color: var(--line); color: var(--ink); }
.btn.ghost:hover { border-color: var(--gold); background: none; color: var(--gold); }
.btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- shared blocks ---------- */
.section { padding: clamp(70px, 11vw, 150px) var(--pad); }
.kicker {
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.display {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.12;
}
.lede {
  color: var(--ink-dim);
  font-size: clamp(17px, 1.5vw, 20px);
  max-width: 56ch;
  text-wrap: pretty;
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s cubic-bezier(.2,.6,.2,1), transform 0.9s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vw, 100px) var(--pad) 40px;
  background: var(--bg-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
.footer h3 { font-size: 30px; margin-bottom: 16px; }
.footer-col p, .footer-col a { color: var(--ink-dim); font-size: 15px; }
.footer-col .col-title {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 18px;
}
.footer-col nav { display: grid; gap: 10px; }
.footer-col nav a:hover { color: var(--gold); }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  color: var(--ink-faint);
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* whatsapp floating */
.wa-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1f8a5b;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  transition: transform 0.25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 6, 5, 0.96);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img, .lightbox video {
  max-width: min(92vw, 1500px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 4px;
}
.lightbox .lb-close {
  position: absolute;
  top: 22px; right: 26px;
  background: none;
  border: none;
  color: var(--ink-dim);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 200;
}
.lightbox .lb-close:hover { color: var(--ink); }
.lightbox .lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  width: 52px; height: 52px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s, color 0.2s;
}
.lightbox .lb-arrow:hover { border-color: var(--gold); color: var(--gold); }
.lightbox .lb-prev { left: 26px; }
.lightbox .lb-next { right: 26px; }
.lightbox .lb-count {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: var(--ink-faint);
  font-size: 13px;
  letter-spacing: 0.2em;
}
@media (max-width: 700px) {
  .lightbox .lb-arrow { width: 42px; height: 42px; }
  .lightbox .lb-prev { left: 10px; }
  .lightbox .lb-next { right: 10px; }
}

::selection { background: var(--gold); color: #14110c; }
