/* Direction: Brightloop — warm newsprint paper, hard black ink, a tangerine signal colour, grotesk display */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #f5f1e8;
  --surface: #fffdf8;
  --surface-2: #ebe5d6;
  --border: #d9d1bd;
  --border-strong: #b5aba3;
  --ink: #15130f;
  --muted: #5c564b;
  --accent: #e8430f;
  --accent-hover: #c5390d;
  --accent-ink: #200902;
  --accent-text: #b8330a;
  --accent-strong: #7a1f04;
  --accent-soft: #fbd9c9;
  --accent-border: #efa386;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #dae3d3;
  --success-strong: #116d34;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #eddecd;
  --warning-strong: #994607;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #eed7d0;
  --danger-strong: #b91c1c;
  --chart-1: #e8430f;
  --chart-2: #a38a14;
  --chart-3: #13834d;
  --chart-4: #1196ae;
  --chart-5: #5054e1;
  --chart-6: #db54c2;

  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 700;
  --display-tracking: -0.04em;
  --radius-card: 20px;
  --radius-btn: 999px;
  --radius-input: 999px;
  --x-band: #15130f;
  --x-on-photo: #fffaf0;
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #110502;
  --surface: #291e1b;
  --surface-2: #1d120f;
  --border: #322825;
  --border-strong: #58504e;
  --ink: #f5f1e8;
  --muted: #9a938c;
  --accent: #e8430f;
  --accent-hover: #eb5f33;
  --accent-ink: #200902;
  --accent-text: #ec6034;
  --accent-strong: #ec6034;
  --accent-soft: #401305;
  --accent-border: #722108;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #12200f;
  --success-strong: #499c68;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #351604;
  --warning-strong: #c57a40;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #360a08;
  --danger-strong: #d16969;
  --chart-1: #e8430f;
  --chart-2: #bca020;
  --chart-3: #1e985b;
  --chart-4: #1fadc9;
  --chart-5: #626bf9;
  --chart-6: #e961d0;
}

.hero-grid {
  background-image: radial-gradient(var(--border) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
}
.scribble {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.14em;
  animation: scribble 900ms 300ms cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes scribble {
  from { background-size: 0% 0.14em; }
  to { background-size: 100% 0.14em; }
}
.bar {
  transform-origin: bottom;
  animation: grow 900ms cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes grow {
  from { transform: scaleY(0.25); }
  to { transform: scaleY(1); }
}
.float-a { animation: bob 6s ease-in-out infinite; }
.float-b { animation: bob 7s 1s ease-in-out infinite reverse; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
html.reduced-motion .scribble,
html.reduced-motion .bar,
html.reduced-motion .float-a,
html.reduced-motion .float-b,
html.reduced-motion .marquee-track { animation: none; }
