/* Direction: Wander & Co — sun-bleached expedition. Sand paper, terracotta
   sunset, deep jungle teal bands, a wide bold grotesque for headings. */
/* 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: #fdf7ef;
  --surface: #ffffff;
  --surface-2: #f7ead9;
  --border: #e7d6c0;
  --border-strong: #c9ae90;
  --ink: #22160f;
  --muted: #6a5343;
  --accent: #cf5320;
  --accent-hover: #b4420f;
  --accent-ink: #111110;
  --accent-text: #ad3f0e;
  --accent-strong: #8d3209;
  --accent-soft: #fbe4d4;
  --accent-border: #f0c3a5;
  --success: #1c6b45;
  --success-ink: #ffffff;
  --success-soft: #e2e6db;
  --success-strong: #1c6b45;
  --warning: #9a5b06;
  --warning-ink: #ffffff;
  --warning-soft: #f1e4d3;
  --warning-strong: #8e5406;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #f5ddd6;
  --danger-strong: #b91c1c;
  --chart-1: #cf5320;
  --chart-2: #9f8d0a;
  --chart-3: #127b52;
  --chart-4: #1397b7;
  --chart-5: #5753c2;
  --chart-6: #d362b1;

  --font-display: "Bricolage Grotesque", "Archivo", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 800;
  --display-tracking: -0.03em;
  --eyebrow-tracking: 0.18em;
  --radius-card: 22px;
  --radius-btn: 999px;
  --radius-input: 14px;
  --card-pad: 1.5rem;
  --shadow-card: 0 18px 40px -24px rgba(34, 22, 15, 0.35);
  --x-on-photo: #fffaf4;
  --x-on-photo-soft: rgba(255, 250, 244, 0.84);
  --x-line: rgba(255, 250, 244, 0.22);
  --x-deep: #123b38;
  --x-deep-2: #0c2b29;
  --x-sun: #f0a63c;
  --gradient-photo: linear-gradient(180deg, rgba(12, 43, 41, 0.62) 0%, rgba(12, 43, 41, 0.34) 36%, rgba(12, 43, 41, 0.88) 100%);
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
}

html[data-theme="dark"] {
  --canvas: #120803;
  --surface: #2a211c;
  --surface-2: #1e1410;
  --border: #332b26;
  --border-strong: #59524f;
  --ink: #fdf7ef;
  --muted: #9f9791;
  --accent: #cf5320;
  --accent-hover: #d66d41;
  --accent-ink: #1d0c04;
  --accent-text: #d76e42;
  --accent-strong: #d76e42;
  --accent-soft: #3c1909;
  --accent-border: #672a10;
  --success: #1c6b45;
  --success-ink: #ffffff;
  --success-soft: #141e12;
  --success-strong: #5c957b;
  --warning: #9a5b06;
  --warning-ink: #ffffff;
  --warning-soft: #301a04;
  --warning-strong: #b07f3d;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #370c09;
  --danger-strong: #d16969;
  --chart-1: #cf5320;
  --chart-2: #af9c02;
  --chart-3: #119765;
  --chart-4: #07a5c8;
  --chart-5: #706fe1;
  --chart-6: #da68b7;
}

html {
  scroll-behavior: smooth;
}

html.reduced-motion {
  scroll-behavior: auto;
}

.photo-scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-photo);
  pointer-events: none;
}

.grain {
  background-image: radial-gradient(rgba(34, 22, 15, 0.09) 1px, transparent 1px);
  background-size: 7px 7px;
}

.rule-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-tracking);
}

.rule-eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: currentColor;
  opacity: 0.6;
}

.ticker {
  display: inline-flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: wander-ticker 30s linear infinite;
}

html.reduced-motion .ticker {
  animation: none;
}

@keyframes wander-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
