/* ============================================================
   THE SPECIAL FX GUY — Brand book + landing shared styles
   Builds on the design system tokens in assets/colors_and_type.css
   ============================================================ */
@import url("../assets/colors_and_type.css");

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Display / type helpers ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--orange-500);
}
.eyebrow.muted { color: var(--ink-400); }

.display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.9;
  text-wrap: balance;
  margin: 0;
}
.display.xl { font-size: clamp(72px, 11vw, 220px); }
.display.lg { font-size: clamp(56px, 8vw, 144px); }
.display.md { font-size: clamp(40px, 5vw, 80px); }
.display.sm { font-size: clamp(28px, 3.4vw, 48px); }

.mono { font-family: var(--font-mono); }

.tag-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--ink-800);
  color: var(--ink-200);
  border-radius: 999px;
}
.tag-pill.orange {
  background: var(--orange-500); color: #0a0a0a;
  border-color: var(--orange-500);
}

.rule { height: 1px; background: var(--ink-800); border: 0; }
.rule.orange { background: var(--orange-500); height: 2px; }

/* ---------- Hazard stripe ---------- */
.hazard {
  background-image: repeating-linear-gradient(45deg,
    var(--orange-500) 0, var(--orange-500) 18px,
    var(--ink-950) 18px, var(--ink-950) 36px);
}
.hazard-thin {
  background-image: repeating-linear-gradient(45deg,
    var(--orange-500) 0, var(--orange-500) 8px,
    var(--ink-950) 8px, var(--ink-950) 16px);
}

/* ---------- Grain overlay ---------- */
.grain { position: relative; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em;
  border-radius: 2px; border: none; cursor: pointer;
  transition: background var(--dur-base) var(--ease-snap),
              box-shadow var(--dur-base) var(--ease-snap),
              transform var(--dur-fast),
              color var(--dur-base) var(--ease-snap);
  white-space: nowrap;
}
.btn-primary { background: var(--orange-500); color: #0a0a0a; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: var(--glow-md); }
.btn-primary:active { transform: scale(.98); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid var(--orange-500); padding: 12px 20px; }
.btn-ghost:hover { background: var(--orange-500); color: #0a0a0a; }

/* ---------- Containers ---------- */
.container { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
.container.narrow { max-width: 1100px; }
@media (max-width: 720px) { .container { padding: 0 24px; } }

/* ---------- Wordmark (drawn in HTML, no SVG so it scales fluidly) ---------- */
.wordmark {
  display: inline-flex; align-items: baseline; gap: 0.18em;
  font-family: var(--font-display); font-style: italic; font-weight: 900;
  text-transform: uppercase; letter-spacing: -0.015em; line-height: 0.9;
  white-space: nowrap;
  user-select: none;
}
.wordmark .w-the,
.wordmark .w-guy {
  font-size: 0.42em; color: #fff; font-weight: 800;
  letter-spacing: 0;
}
.wordmark .w-sfx { color: var(--orange-500); font-size: 1em; }
.wordmark .w-guy { display: inline-flex; align-items: baseline; gap: 1px; }
.wordmark .w-guy .w-dot { color: var(--orange-500); }
.wordmark .w-reg {
  font-size: 0.18em; vertical-align: super; color: #fff;
  margin-left: 2px; font-weight: 700; font-style: normal;
}
.wordmark.invert .w-the,
.wordmark.invert .w-guy,
.wordmark.invert .w-reg { color: #0a0a0a; }
.wordmark.invert .w-sfx { color: #0a0a0a; }
.wordmark.invert .w-guy .w-dot { color: var(--orange-500); }
.wordmark.solid-orange .w-the,
.wordmark.solid-orange .w-guy,
.wordmark.solid-orange .w-reg,
.wordmark.solid-orange .w-sfx { color: var(--orange-500); }
.wordmark.solid-orange .w-guy .w-dot { color: var(--orange-500); }
.wordmark.solid-white .w-the,
.wordmark.solid-white .w-guy,
.wordmark.solid-white .w-reg,
.wordmark.solid-white .w-sfx { color: #fff; }
.wordmark.solid-white .w-guy .w-dot { color: #fff; }

.wordmark-stack {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
}
.wordmark-stack .tagline {
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.115em; letter-spacing: 0.22em; color: var(--ink-400);
  text-transform: uppercase; text-align: center;
}

/* ---------- Sections ---------- */
section { position: relative; }

/* ---------- Don't checkmarks ---------- */
.tick-ok::before, .tick-no::before {
  content: ""; display: inline-block; width: 18px; height: 18px;
  border-radius: 999px; margin-right: 10px; vertical-align: -3px;
}
.tick-ok::before { background: #2fb56b; box-shadow: 0 0 0 3px rgba(47,181,107,0.18); }
.tick-no::before { background: var(--ember-500); box-shadow: 0 0 0 3px rgba(230,58,26,0.2); }

/* ---------- Particles drift ---------- */
@keyframes drift {
  0% { transform: translate(0,0) rotate(0); opacity: 0; }
  10% { opacity: .9; }
  100% { transform: translate(var(--dx, 0px), var(--dy, -120vh)) rotate(720deg); opacity: 0; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- No-scrollbar utility ---------- */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }
