/*
  ═══════════════════════════════════════════
  THE DIGITAL HYPE — Brand System v3
  ═══════════════════════════════════════════

  PALETTE
  ───────────────────────────────────────────
  Ink          #0E0E0E   Page background
  Ink-soft     #161616   Card / section alt
  Ink-mid      #1F1F1F   Borders, dividers
  Smoke        #A0A0A0   Muted body text
  Ash          #6A6A6A   Placeholder / labels
  Chalk        #F0EDE8   Light text on dark
  Pure White   #FFFFFF   Headlines, key text
  Crimson      #C8102E   Primary accent
  Crimson-deep #A00D24   Hover state

  TYPOGRAPHY
  ───────────────────────────────────────────
  Display  : Clash Display 600/700 (CDN)
  Body     : Satoshi 400/500/700 (CDN)

  ═══════════════════════════════════════════
*/

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@600,700&f[]=satoshi@400,500,700&display=swap');

:root {
  --ink:        #0E0E0E;
  --ink-soft:   #161616;
  --ink-mid:    #1F1F1F;
  --smoke:      #A0A0A0;
  --ash:        #6A6A6A;
  --chalk:      #F0EDE8;
  --white:      #FFFFFF;
  --red:        #C8102E;
  --red-deep:   #A00D24;

  --font-display: 'Clash Display', sans-serif;
  --font-body:    'Satoshi', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r: 4px;
  --max: 1200px;
}

/* ── RESET ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: none; border: none; background: none; font-family: inherit; }

/* ── CUSTOM CURSOR ──────────────────── */
.cursor {
  width: 10px; height: 10px;
  background: var(--red);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform .1s, width .3s var(--ease), height .3s var(--ease), opacity .3s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(200,16,46,.4);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform .18s var(--ease), width .3s var(--ease), height .3s var(--ease), opacity .3s;
}
body:hover .cursor { opacity: 1; }
a:hover ~ .cursor,
button:hover ~ .cursor { width: 16px; height: 16px; }

/* ── LAYOUT ─────────────────────────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 48px; }

/* ── REVEAL ─────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ── LABEL / EYEBROW ───────────────── */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
}
.label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--red);
  display: block; flex-shrink: 0;
}

/* ── HEADINGS ───────────────────────── */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.0; letter-spacing: -.02em; }
h1 { font-size: clamp(48px, 7vw, 96px); font-weight: 700; }
h2 { font-size: clamp(36px, 5vw, 64px); font-weight: 700; }
h3 { font-size: clamp(22px, 2.5vw, 32px); font-weight: 600; }
p  { color: var(--smoke); line-height: 1.75; }

/* ── BUTTONS ────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px;
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  border-radius: var(--r);
  transition: all .25s var(--ease);
  position: relative; overflow: hidden;
}
.btn-red {
  background: var(--red); color: var(--white);
}
.btn-red:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(200,16,46,.3); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,.2); color: var(--white);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-ghost {
  color: var(--smoke); border: 1.5px solid var(--ink-mid);
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

/* ── NAV ────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(14,14,14,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ink-mid);
  transition: border-color .3s;
}
#nav.scrolled { border-color: rgba(200,16,46,.2); }
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  letter-spacing: -.01em;
  display: flex; align-items: center; gap: 6px;
}
.nav-logo .dot { color: var(--red); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  color: var(--smoke); letter-spacing: .04em;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.hamburger { display: none; flex-direction: column; gap: 6px; padding: 4px; }
.hamburger span { width: 24px; height: 1.5px; background: var(--white); transition: all .3s; }
.mob-menu {
  display: none; position: fixed;
  inset: 72px 0 0; background: var(--ink);
  z-index: 499; padding: 48px;
  flex-direction: column; gap: 40px;
  border-top: 1px solid var(--ink-mid);
}
.mob-menu.open { display: flex; }
.mob-menu a {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 56px); font-weight: 700;
  color: var(--white); transition: color .2s;
}
.mob-menu a:hover { color: var(--red); }

/* ── FOOTER ─────────────────────────── */
footer {
  background: var(--ink-soft);
  border-top: 1px solid var(--ink-mid);
  padding: 80px 0 40px;
}
.footer-top {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  gap: 64px; padding-bottom: 64px;
  border-bottom: 1px solid var(--ink-mid);
  margin-bottom: 40px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  margin-bottom: 16px;
}
.footer-logo .dot { color: var(--red); }
.footer-tagline { font-size: 14px; color: var(--ash); line-height: 1.7; max-width: 260px; }
.footer-col-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ash); margin-bottom: 24px;
}
.footer-links { display: flex; flex-direction: column; gap: 14px; }
.footer-links a { font-size: 14px; color: var(--smoke); transition: color .2s; }
.footer-links a:hover { color: var(--red); }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: var(--ash); }

/* ── BACK TO TOP ─────────────────────── */
.btt {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--red); color: var(--white);
  border-radius: 50%; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: all .3s var(--ease); z-index: 200;
}
.btt.show { opacity: 1; pointer-events: all; }
.btt:hover { background: var(--red-deep); transform: translateY(-4px); }

/* ── PAGE HERO (inner pages) ─────────── */
.page-hero {
  padding: 160px 0 80px;
  border-bottom: 1px solid var(--ink-mid);
}
.page-hero h1 { margin: 16px 0 20px; }
.page-hero .sub { font-size: 18px; color: var(--smoke); max-width: 560px; line-height: 1.75; }

/* ── HORIZONTAL RULE ─────────────────── */
.hr { width: 100%; height: 1px; background: var(--ink-mid); }

/* ── STAT NUMBERS ───────────────────── */
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700; letter-spacing: -.03em;
  line-height: 1; color: var(--white);
}
.stat-label { font-size: 13px; color: var(--ash); margin-top: 6px; }

/* ── CARD BASE ──────────────────────── */
.card {
  background: var(--ink-soft);
  border: 1px solid var(--ink-mid);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .3s, transform .3s var(--ease);
}
.card:hover { border-color: rgba(200,16,46,.4); transform: translateY(-4px); }

/* ── FORM ELEMENTS ──────────────────── */
.form-block {
  background: var(--ink-soft);
  border: 1px solid var(--ink-mid);
  border-radius: var(--r);
  padding: 48px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--ash); margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 14px 18px;
  background: var(--ink-mid); color: var(--white);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r);
  font-family: var(--font-body); font-size: 14px;
  outline: none;
  transition: border-color .2s;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--red); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ash); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; padding: 17px;
  background: var(--red); color: var(--white);
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--r);
  transition: background .2s, transform .2s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--red-deep); transform: translateY(-2px); }

/* ── RESPONSIVE ─────────────────────── */
@media (max-width: 960px) {
  .wrap { padding: 0 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}
