/* base.css — brand tokens, reset, typography and buttons used by every section. */

:root {
  --charcoal: #141414;
  --charcoal-2: #1c1c1c;
  --charcoal-3: #262626;
  --ember: #c0392b;
  --ember-hot: #e04a3a;
  --amber: #e8a020;
  --amber-light: #f5b944;
  --cream: #f6efe4;
  --muted: #a39d94;
  --line: rgba(246, 239, 228, 0.10);
  --wa: #25d366;

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img, picture, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 0.95; letter-spacing: 0.005em; text-transform: uppercase; }
p { margin: 0; }
::selection { background: var(--amber); color: var(--charcoal); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(64px, 10vw, 128px); }
.section + .section { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--ember); }
.h-xl { font-size: clamp(56px, 11vw, 140px); }
.h-lg { font-size: clamp(44px, 7vw, 88px); }
.h-md { font-size: clamp(30px, 4vw, 48px); }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); max-width: 56ch; }
.amber { color: var(--amber); }
.ember { color: var(--ember-hot); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-wa { background: var(--wa); color: #06240f; box-shadow: 0 10px 30px rgba(37, 211, 102, .25); }
.btn-wa:hover { background: #2ee472; transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--charcoal); box-shadow: 0 10px 30px rgba(232, 160, 32, .25); }
.btn-amber:hover { background: var(--amber-light); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(246, 239, 228, .25); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); transform: translateY(-2px); }
.btn-ghost.is-disabled { opacity: .45; cursor: not-allowed; }
.btn-ghost.is-disabled:hover { transform: none; border-color: rgba(246, 239, 228, .25); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 16px; }

/* Reveal-on-scroll (ui.js adds .in) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
