/* =============================================================================
   system.css - kit tokens for the TASTE specimen
   Token NAMES match the extracted grok.bot kit so comparison stays fair.
   Dark only. Brand insists on night. No light theme is shipped.
   Tailwind and React were declined: this is a static kit specimen.
   ============================================================================= */

@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("fonts/dmmono-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("fonts/dmmono-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- canvas ------------------------------------------------------------- */
  --night: #08090b;
  --night-wash: rgb(40, 39, 48);
  --grid: rgba(255, 255, 255, 0.024);
  --ink: #f3f2ee;
  --muted: #9a9aa4;

  /* --- acento + invert ---------------------------------------------------- */
  --acid: #d8ff3e;
  --violet: #8c5bff;                      /* atmosfera so. Nunca UI. */
  --on-acid: #10110d;
  --on-acid-ticket: #11130c;

  /* --- texto secundario --------------------------------------------------- */
  --note: rgb(199, 198, 202);
  --note-strong: #fff;
  --turn-secondary: rgb(111, 111, 119);
  --turn-body: rgb(183, 182, 188);
  --fine: rgb(119, 119, 127);

  /* --- hairlines ---------------------------------------------------------- */
  --line: rgba(255, 255, 255, 0.14);
  --orbit-ring: rgba(255, 255, 255, 0.13);
  --line-on-acid: rgba(0, 0, 0, 0.28);
  --dash-on-acid: rgba(0, 0, 0, 0.45);
  --eyebrow-on-acid: rgba(16, 17, 13, 0.6);
  --ring-on-acid: rgba(16, 17, 13, 0.06);
  --contact-muted: rgba(0, 0, 0, 0.55);

  /* --- decor -------------------------------------------------------------- */
  --orbit-glow: rgba(140, 91, 255, 0.1);
  --ticket-shadow: rgba(0, 0, 0, 0.55) 0 40px 100px;

  /* --- tipo. Manrope kept as identity-preservation. Not Inter. ------------ */
  --font-display: Manrope, Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;

  /* --- espaco ------------------------------------------------------------- */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 36px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 110px;
  --space-9: 140px;

  /* SHAPE RULE: all-soft 16px.
     Images, artifact, invert, swatches, and interactive surfaces share one
     radius. No mixed 6/22. No pills. */
  --radius-soft: 16px;
  --radius-artifact: var(--radius-soft);
  --radius-invert: var(--radius-soft);
  --radius-invert-sm: var(--radius-soft);

  /* --- movimento. Fluid CSS, cubic-bezier(0.16,1,0.3,1). ------------------ */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --orbit-slow: 16s;
  --orbit-fast: 11s;
  --duration-artifact: 0.35s;
  --duration-fade: 0.2s;

  /* --- wrap --------------------------------------------------------------- */
  --wrap-max: 1200px;
  --wrap-gutter: 48px;
  --wrap-gutter-sm: 28px;

  /* z-scale: atmosphere 0, content 1, artifact 2, grain 4, skip 20 */
}

*, *::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;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap-max), 100% - var(--wrap-gutter));
  margin-inline: auto;
}

/* Atmosphere: night wash + kit graph paper. No violet mesh blobs. */
.atmosphere {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
}
.atmosphere::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 18% -10%, var(--night-wash) 0, var(--night) 42%);
}

.type-wordmark {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--ink);
}
.type-wordmark span,
.wordmark span { color: var(--acid); }

.type-display-xl {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(76px, 10.5vw, 164px);
  font-weight: 800;
  line-height: 0.81;
  letter-spacing: -0.095em;
}

.type-display-lg {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 102px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.type-display-price {
  font-family: var(--font-display);
  font-size: clamp(110px, 15vw, 208px);
  font-weight: 800;
  line-height: 0.75;
  letter-spacing: -0.1em;
  white-space: nowrap;
}
.type-display-price .currency,
.type-display-price span {
  display: inline-block;
  margin-right: 5px;
  font-size: 0.26em;
  vertical-align: top;
  transform: translateY(-4px);
}

.type-lede {
  max-width: 610px;
  margin: 38px 0 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 43px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.05em;
}
.type-lede em {
  color: var(--acid);
  font-style: italic;
  font-weight: 500;
}

.type-title-sm {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.type-body {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
}
.type-body-lg {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
}

.type-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.type-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.invert-panel {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  color: var(--on-acid);
  background: var(--acid);
  border-radius: var(--radius-invert);
}
.invert-panel a:focus-visible { outline-color: var(--on-acid); }

.contact-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 16px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line-on-acid);
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
  transition: transform var(--duration-artifact) var(--ease-out);
}
.contact-row:hover { transform: translateX(4px); }
.contact-row:active { transform: scale(0.98); }
.contact-row span {
  color: var(--contact-muted);
  font: 500 9px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-row small {
  color: var(--contact-muted);
  font: 500 9px/1.2 var(--font-mono);
  letter-spacing: 0.04em;
}
.contact-row svg { grid-area: 1 / 2 / 4; width: 22px; height: 22px; }

.artifact {
  position: relative;
  z-index: 2;
  width: 260px;
  padding: var(--space-3);
  color: var(--on-acid);
  background: var(--acid);
  border-radius: var(--radius-artifact);
  box-shadow: none;
  filter: drop-shadow(0 40px 100px rgba(0, 0, 0, 0.55));
  transform: rotate(-5deg);
  transition: transform var(--duration-artifact) var(--ease-out);
}
.artifact:hover { transform: rotate(0deg) scale(1.03); }
.artifact:active { transform: rotate(0deg) scale(0.98); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .artifact,
  .contact-row { transition: none; }
}

@media (max-width: 768px) {
  .wrap { width: min(100% - var(--wrap-gutter-sm), var(--wrap-max)); }
  .type-display-price { font-size: clamp(96px, 28vw, 160px); }
}

@media (max-width: 600px) {
  .type-display-xl { font-size: clamp(74px, 25vw, 120px); }
  .type-lede { margin-top: 20px; }
  .type-display-lg { font-size: clamp(42px, 14vw, 72px); }
  .type-body-lg { font-size: 17px; }
  .invert-panel { border-radius: var(--radius-invert-sm); }
  .artifact { width: 168px; padding: 16px; }
}
