/* Direction: Tinsel — warm cream paper, pine green, cranberry, a Fraunces 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: #fbf6ee;
  --surface: #fdfbf7;
  --surface-2: #f0eae2;
  --border: #dbd4ce;
  --border-strong: #b7aea9;
  --ink: #1f2a24;
  --muted: #646963;
  --accent: #a8222f;
  --accent-hover: #8f1d28;
  --accent-ink: #ffffff;
  --accent-text: #9b1f2b;
  --accent-strong: #a8222f;
  --accent-soft: #efd8d3;
  --accent-border: #d69798;
  --success: #2f7a4b;
  --success-ink: #ffffff;
  --success-soft: #e3e7da;
  --success-strong: #2b7045;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #f2e2d3;
  --warning-strong: #a64c08;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #f3dcd5;
  --danger-strong: #b91c1c;
  --chart-1: #a8222f;
  --chart-2: #987014;
  --chart-3: #145d0c;
  --chart-4: #1c8087;
  --chart-5: #1044a7;
  --chart-6: #a04bae;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius-card: 16px;
  --radius-btn: 999px;
  --display-tracking: -0.02em;
  --x-pine: #1f4a36;
  --x-on-pine: #fdf6e8;
  --x-on-pine-soft: rgba(255, 255, 255, 0.12);
  --x-on-photo: #fdf6e8;
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --display-weight: 700;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #110305;
  --surface: #291c1e;
  --surface-2: #1d1012;
  --border: #322628;
  --border-strong: #584f50;
  --ink: #fbf6ee;
  --muted: #9d9591;
  --accent: #a8222f;
  --accent-hover: #b5434e;
  --accent-ink: #ffffff;
  --accent-text: #c56e76;
  --accent-strong: #c56e76;
  --accent-soft: #320a0e;
  --accent-border: #551118;
  --success: #2f7a4b;
  --success-ink: #ffffff;
  --success-soft: #181d14;
  --success-strong: #5d9872;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #351506;
  --warning-strong: #c57a40;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #36090a;
  --danger-strong: #d16969;
  --chart-1: #c43f45;
  --chart-2: #b7860c;
  --chart-3: #37982e;
  --chart-4: #1a9ba4;
  --chart-5: #457be4;
  --chart-6: #ba64c8;
}

.band-pine,
.reveal-card {
  background: var(--x-pine);
  color: var(--x-on-pine);
}
.reveal-card { box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.5); }
.reveal-card .btn-secondary { background: var(--x-on-pine); color: var(--x-pine); }

/* soft snow drifting in the hero */
.snowfield::before,
.snowfield::after {
  content: "";
  position: absolute;
  inset: -200px 0 0 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, var(--accent) 0 2px, transparent 3px),
    radial-gradient(circle, var(--x-pine) 0 1.5px, transparent 2.5px);
  background-size: 180px 180px, 130px 130px;
  background-position: 20px 0, 90px 60px;
  opacity: 0.18;
  animation: drift 24s linear infinite;
}
.snowfield::after { background-size: 260px 260px, 210px 210px; opacity: 0.12; animation-duration: 38s; }
.snowfield > * { position: relative; z-index: 1; }
@keyframes drift { to { transform: translateY(180px); } }
html.reduced-motion .snowfield::before,
html.reduced-motion .snowfield::after { animation: none; }

.ex-card:hover .card-title { color: var(--accent-text); }
