/* =============================================================================
   system.css : extract.sys restated (Impeccable / brand)
   Token NAMES stay. Values in oklch(). Neutrals tint toward acid (~121).
   No pure black. No pure white.
   ============================================================================= */

:root {
  /* --- canvas ------------------------------------------------------------- */
  --night: oklch(0.145 0.008 122);
  --night-wash: oklch(0.278 0.010 125);
  --grid: oklch(0.958 0.008 118 / 0.08);
  --ink: oklch(0.958 0.008 118);
  --muted: oklch(0.720 0.010 125);

  /* --- acento + invert ---------------------------------------------------- */
  --acid: oklch(0.940 0.208 120.85);
  --violet: oklch(0.612 0.231 291.89);
  --on-acid: oklch(0.175 0.008 119);
  --on-acid-ticket: oklch(0.182 0.014 121);

  /* --- texto secundário --------------------------------------------------- */
  --note: oklch(0.829 0.008 125);
  --note-strong: oklch(0.970 0.010 120);
  --turn-secondary: oklch(0.560 0.008 125);
  --turn-body: oklch(0.790 0.008 125);
  --fine: oklch(0.660 0.008 125);

  /* --- hairlines ---------------------------------------------------------- */
  --line: oklch(0.958 0.008 118 / 0.14);
  --orbit-ring: oklch(0.958 0.008 118 / 0.13);
  --line-on-acid: oklch(0.175 0.010 120 / 0.28);
  --dash-on-acid: oklch(0.175 0.010 120 / 0.45);
  --eyebrow-on-acid: oklch(0.175 0.010 119 / 0.62);
  --ring-on-acid: oklch(0.175 0.010 119 / 0.06);
  --contact-muted: oklch(0.220 0.016 120 / 0.70);

  /* --- décor -------------------------------------------------------------- */
  --orbit-glow: oklch(0.612 0.231 291.89 / 0.10);
  --ticket-shadow: oklch(0.145 0.008 122 / 0.55) 0 2.5rem 6.25rem;

  /* --- tipo --------------------------------------------------------------- */
  --font-display: "Bricolage Grotesk", Arial, sans-serif;
  --font-mono: "Azeret Mono", ui-monospace, monospace;

  /* --- espaço ------------------------------------------------------------- */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.25rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: clamp(4.5rem, 8vw, 7rem);
  --space-9: clamp(6rem, 12vw, 10rem);
  --inset: clamp(1rem, 2.4vw, 2.5rem);

  /* --- raios -------------------------------------------------------------- */
  --radius-artifact: 2px;
  --radius-invert: 0;
  --radius-invert-sm: 0;

  /* --- movimento ---------------------------------------------------------- */
  --orbit-slow: 16s;
  --orbit-fast: 11s;
  --duration-artifact: 0.45s;
  --duration-fade: 0.32s;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  font-optical-sizing: auto;
  overflow-x: hidden;
}

::selection {
  background: var(--acid);
  color: var(--on-acid);
}

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

a:focus-visible,
button:focus-visible,
.skip:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

/* --- skip ----------------------------------------------------------------- */
.skip {
  position: absolute;
  left: var(--space-2);
  top: var(--space-2);
  z-index: 40;
  padding: 0.5rem 0.75rem;
  background: var(--acid);
  color: var(--on-acid);
  font: 500 0.6875rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-180%);
  transition: transform var(--duration-fade) var(--ease-out-expo);
}

.skip:focus { transform: none; }

/* --- type roles ----------------------------------------------------------- */
.type-wordmark,
.wordmark {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.type-wordmark span,
.wordmark span { color: var(--acid); }

.type-display-xl {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.25rem, 9vw, 8rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: -0.05em;
}

.type-display-lg {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.type-display-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 10rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.type-display-price .currency,
.type-display-price span {
  display: inline-block;
  margin-right: 0.3em;
  font-size: 0.28em;
  vertical-align: top;
  transform: translateY(0.12em);
}

.type-lede {
  max-width: 28ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.type-lede em {
  color: var(--acid);
  font-style: normal;
}

.type-title-sm {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.type-body {
  margin: 0;
  max-width: 70ch;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.75;
}

.type-body-lg {
  margin: 0;
  max-width: 70ch;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.65;
}

.type-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acid);
}

.type-meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- plate index (foundry number, not a kicker costume) ------------------- */
.plate {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.plate-acid { color: oklch(0.175 0.008 119 / 0.22); }

/* --- reduced motion ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .skip { transition: none; }
}
