/* Fast Buds Cup — design tokens and shell primitives.
   Palette and type come from the cup brand sheet: gold on black, Montserrat.
   Font files are the shop's Montserrat subsets (shared docroot). */

@font-face {
  font-family: 'Montserrat';
  src: url('/src/tpl/fontsg/lat_normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/src/tpl/fontsg/lat_medium.woff2') format('woff2');
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('/src/tpl/fontsg/lat_bold.woff2') format('woff2');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold:        #BA9554;
  --gold-deep:   #8E6F3B;
  --gold-soft:   rgba(186, 149, 84, 0.18);
  --gold-line:   rgba(186, 149, 84, 0.34);
  --black:       #0E0E0E;
  --graphite:    #2A2A2A;
  --surface:     #151515;
  --white:       #F2F2F2;
  --muted:       #8E8E8E;

  --gold-gradient: linear-gradient(135deg, #DCC08A 0%, #BA9554 42%, #8E6F3B 100%);

  --wrap:        1180px;
  --gap:         clamp(18px, 2.4vw, 30px);
  --section-y:   clamp(64px, 9vw, 128px);
  --radius:      4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Montserrat', 'Open Sans', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-y) 0; }

/* ── Type scale ───────────────────────────────────────────────── */

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.h-section {
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}

.h-section span { color: var(--gold); }

.lead {
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 17px);
  max-width: 62ch;
}

.section-head { margin-bottom: clamp(34px, 5vw, 62px); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head .lead { margin-top: 16px; }

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── Shared bits ──────────────────────────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
  border: 1px solid var(--gold-line);
  border-radius: 40px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-soft);
}

.pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(186, 149, 84, 0.6);
  animation: cupPulse 2.6s infinite;
}

@keyframes cupPulse {
  70%  { box-shadow: 0 0 0 9px rgba(186, 149, 84, 0); }
  100% { box-shadow: 0 0 0 0 rgba(186, 149, 84, 0); }
}

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
  border: 0;
}

/* Reveal on scroll — no-JS safe (script adds .is-in). */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pill i { animation: none; }
}
