/* =========================================================
   PeakMotion — base.css  (tokens · reset · type · buttons ·
   header · footer · drawer · floats · marquee · utilities)
   ========================================================= */
:root {
  --ink: #0E0E0E; --graphite: #1C1C1C; --charcoal: #2A2A2A;
  --ivory: #F6F0DC; --offwhite: #FBF8F0; --gold: #C9A24B; --gold-light: #E3C778;

  --ink-80: rgba(14,14,14,.80);
  --ivory-70: rgba(246,240,220,.72); --ivory-45: rgba(246,240,220,.46);
  --ivory-25: rgba(246,240,220,.22); --ivory-12: rgba(246,240,220,.12);
  --charcoal-70: rgba(42,42,42,.72); --charcoal-12: rgba(42,42,42,.12); --charcoal-22: rgba(42,42,42,.22);
  --gold-glow: rgba(201,162,75,.34); --gold-line: rgba(201,162,75,.5);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mark: "Jost", "Space Grotesk", system-ui, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 60px);
  --header-h: 76px;
  --radius: 5px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration:.001ms !important; transition-duration:.001ms !important; }
}
body {
  font-family: var(--font-body); background: var(--ink); color: var(--ivory);
  line-height: 1.65; font-size: 17px; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img,svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.06; letter-spacing: -.015em; text-wrap: balance; }
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-display); font-size: 12.5px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
  display: inline-flex; align-items: center; gap: 13px;
}
.eyebrow::before { content:""; width: 28px; height: 1px; background: var(--gold-line); }
.section-title { font-size: clamp(2rem, 4.3vw, 3.3rem); letter-spacing: -.02em; }
.lede { font-size: clamp(1.04rem, 1.5vw, 1.2rem); line-height: 1.6; max-width: 58ch; }
.gold { color: var(--gold); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(64px, 9vw, 124px); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head p { margin-top: 20px; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

.s-dark { background: var(--ink); color: var(--ivory); }
.s-darker { background: #0A0A0A; color: var(--ivory); }
.s-graphite { background: var(--graphite); color: var(--ivory); }
.s-light { background: var(--offwhite); color: var(--charcoal); }
.s-ivory { background: var(--ivory); color: var(--charcoal); }
.s-light .eyebrow, .s-ivory .eyebrow { color: #9A7B2E; }
.s-light .lede, .s-ivory .lede { color: var(--charcoal-70); }
.s-dark .lede, .s-graphite .lede, .s-darker .lede { color: var(--ivory-70); }
.s-light, .s-ivory { border-top: 1px solid var(--charcoal-12); }
.s-dark, .s-graphite, .s-darker { border-top: 1px solid var(--ivory-12); }

/* ===================== BUTTONS ===================== */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .02em;
  line-height: 1; border-radius: 999px; isolation: isolate; white-space: nowrap;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
  will-change: transform;
}
.btn-label { position: relative; z-index: 2; }

/* Primary pill — gold, with arrow medallion + sheen */
.btn-pill {
  padding: 7px 8px 7px 26px; overflow: hidden;
  background: linear-gradient(118deg, var(--gold-light), var(--gold) 60%);
  color: var(--ink); box-shadow: 0 12px 30px -14px var(--gold-glow);
}
.btn-pill .btn-ico {
  position: relative; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: var(--gold-light); display: grid; place-items: center;
  overflow: hidden; transition: background .4s var(--ease);
}
.btn-pill .btn-ico svg { width: 17px; height: 17px; transition: transform .5s var(--ease-out); }
.btn-pill::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1;
  background: linear-gradient(110deg, transparent 32%, rgba(255,255,255,.5) 50%, transparent 68%);
  transform: translateX(-130%); transition: transform .8s var(--ease);
}
.btn-pill:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -16px var(--gold-glow); }
.btn-pill:hover::before { transform: translateX(130%); }
.btn-pill:hover .btn-ico svg { transform: translateX(4px); }
.header .btn-pill { padding: 6px 7px 6px 22px; font-size: 13px; }
.header .btn-pill .btn-ico { width: 34px; height: 34px; }

/* Ghost — outline fills gold from left */
.btn-ghost {
  padding: 16px 30px; color: var(--ivory); border: 1px solid var(--ivory-25);
  overflow: hidden;
}
.btn-ghost::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  background: linear-gradient(118deg, var(--gold-light), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.btn-ghost:hover { color: var(--ink); border-color: transparent; transform: translateY(-3px); }
.btn-ghost:hover::before { transform: scaleX(1); }
.s-light .btn-ghost, .s-ivory .btn-ghost { color: var(--charcoal); border-color: var(--charcoal-22); }
.s-light .btn-ghost:hover, .s-ivory .btn-ghost:hover { color: var(--ink); }

/* Text link */
.text-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 14px; font-weight: 500; letter-spacing: .03em;
  color: var(--gold); padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), gap .4s var(--ease);
}
.text-link:hover { border-color: var(--gold-line); gap: 14px; }

/* ===================== HEADER ===================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; border-bottom: 1px solid transparent;
  transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s var(--ease);
}
.header.scrolled {
  background: rgba(9,9,9,.74); backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px); border-bottom-color: var(--ivory-12);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: auto; }
.wordmark {
  font-family: var(--font-mark); font-weight: 300; font-size: 19px;
  letter-spacing: .34em; text-transform: uppercase; color: var(--ivory); white-space: nowrap;
}
.wordmark b { font-weight: 500; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; padding: 9px 13px; font-size: 14px; color: var(--ivory-70); white-space: nowrap; transition: color .35s var(--ease); }
.nav a::after { content:""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover, .nav a.active { color: var(--ivory); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--ivory-12); border-radius: 999px; padding: 3px; }
.lang button { font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: .08em; padding: 6px 11px; border-radius: 999px; color: var(--ivory-45); transition: color .35s, background .35s; }
.lang button.active { color: var(--ink); background: var(--gold); }

.burger { display: none; width: 44px; height: 44px; position: relative; border: 1px solid var(--ivory-12); border-radius: var(--radius); }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--ivory); transition: transform .4s var(--ease), opacity .3s var(--ease); }
.burger span:nth-child(1){ top:17px; } .burger span:nth-child(2){ top:22px; } .burger span:nth-child(3){ top:27px; }
body.menu-open .burger span:nth-child(1){ transform: translateY(5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2){ opacity: 0; }
body.menu-open .burger span:nth-child(3){ transform: translateY(-5px) rotate(-45deg); }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 99; background: rgba(8,8,8,.97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: flex; flex-direction: column; justify-content: center; padding: var(--header-h) var(--gutter) 40px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s var(--ease); }
body.menu-open .drawer { opacity: 1; visibility: visible; }
.drawer nav { display: flex; flex-direction: column; gap: 2px; }
.drawer nav a { font-family: var(--font-display); font-size: clamp(1.7rem, 7vw, 2.5rem); font-weight: 500; letter-spacing: -.01em; color: var(--ivory); padding: 9px 0; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s var(--ease); }
.drawer nav a:hover { color: var(--gold); }
.drawer .drawer-cta { color: var(--gold); margin-top: 8px; }
body.menu-open .drawer nav a { opacity: 1; transform: none; }
body.menu-open .drawer nav a:nth-child(1){ transition-delay:.08s; }
body.menu-open .drawer nav a:nth-child(2){ transition-delay:.13s; }
body.menu-open .drawer nav a:nth-child(3){ transition-delay:.18s; }
body.menu-open .drawer nav a:nth-child(4){ transition-delay:.23s; }
body.menu-open .drawer nav a:nth-child(5){ transition-delay:.28s; }
body.menu-open .drawer nav a:nth-child(6){ transition-delay:.33s; }
.drawer-foot { margin-top: 38px; display: flex; flex-direction: column; gap: 6px; color: var(--ivory-45); font-size: 14px; }
.drawer-foot a:hover { color: var(--gold); }

/* ===================== FOOTER ===================== */
.footer { background: #080808; border-top: 1px solid var(--ivory-12); padding-top: clamp(56px, 7vw, 90px); }
.footer-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
  padding: clamp(34px, 5vw, 56px); border: 1px solid var(--ivory-12); border-radius: 14px;
  background: radial-gradient(120% 160% at 100% 0%, rgba(201,162,75,.12), transparent 55%), linear-gradient(180deg, rgba(255,255,255,.03), transparent);
  margin-bottom: clamp(48px, 6vw, 80px);
}
.footer-cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.footer-cta p { color: var(--ivory-70); margin-top: 12px; max-width: 46ch; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .wordmark { font-size: 17px; }
.f-tag { color: var(--ivory-70); font-size: 15px; max-width: 34ch; margin-top: 20px; }
.fcol h4 { font-family: var(--font-display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.fcol ul { display: grid; gap: 11px; }
.fcol a { font-size: 14.5px; color: var(--ivory-70); transition: color .3s var(--ease); }
.fcol a:hover { color: var(--ivory); }
.f-legal { color: var(--ivory-45); font-size: 13.5px; padding-bottom: 24px; border-bottom: 1px solid var(--ivory-12); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding: 24px 0 40px; font-size: 13.5px; color: var(--ivory-45); }

/* ===================== FLOATING ===================== */
.float-wa, .to-top { position: fixed; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; transition: transform .45s var(--ease-out), opacity .45s var(--ease), box-shadow .45s var(--ease), background .35s; }
.float-wa { right: 22px; bottom: 22px; background: #25D366; color: #073; box-shadow: 0 14px 30px -10px rgba(37,211,102,.5); }
.float-wa svg { color: #042b12; }
.float-wa:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 20px 40px -10px rgba(37,211,102,.6); }
.float-wa::after { content:""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.6s var(--ease) infinite; }
@keyframes ring { 0%{ transform: scale(1); opacity:.6; } 70%,100%{ transform: scale(1.5); opacity: 0; } }
.to-top { left: 22px; bottom: 22px; background: var(--ivory); color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(12px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.6); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); background: var(--gold); }

/* ===================== MARQUEE ===================== */
.marquee { overflow: hidden; border-block: 1px solid var(--ivory-12); padding-block: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; gap: 56px; white-space: nowrap; animation: marq 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--font-display); font-size: clamp(1.1rem, 2.2vw, 1.6rem); letter-spacing: .01em; color: var(--ivory-45); display: inline-flex; align-items: center; gap: 56px; }
.marquee-item::after { content: "✦"; color: var(--gold); font-size: .7em; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ===================== REVEAL ===================== */
.reveal { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.done { opacity: 1 !important; transform: none !important; transition: none !important; }
.reveal.d1{ transition-delay:.08s; } .reveal.d2{ transition-delay:.16s; } .reveal.d3{ transition-delay:.24s; }
.reveal.d4{ transition-delay:.32s; } .reveal.d5{ transition-delay:.40s; } .reveal.d6{ transition-delay:.48s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ===================== RESPONSIVE (chrome) ===================== */
@media (max-width: 1024px) {
  .nav, .header-actions .btn-pill { display: none; }
  .burger { display: block; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand-wrap, .fcol-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .fcol-brand { grid-column: 1 / -1; }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .float-wa, .to-top { width: 50px; height: 50px; }
}
