/*
 * theme.css — Ram Verma Astrology. Cream parchment, ink serif, copper thread.
 * Old-money restraint (thin rules, 2px corners, near-flat shadow) with a
 * warm-craft hand (warm neutrals, a soft low shadow instead of none at all).
 */

:root {
  --canvas: #f5efe4;
  --surface: #fbf8f3;
  --surface-2: #efe4cf;
  --border: #ddd0b3;
  --border-strong: #c3af88;
  --ink: #211d18;
  --muted: #64605a;
  --accent: #5e2333;
  --accent-hover: #4a1c28;
  --accent-ink: #f8f2e6;
  --accent-text: #84582f;
  --accent-strong: #5e2333;
  --accent-soft: #f0e2c3;
  --accent-border: #d3bd90;
  --success: #3f6b3f;
  --success-ink: #ffffff;
  --success-soft: #e3ead9;
  --success-strong: #2f5530;
  --warning: #96591c;
  --warning-ink: #ffffff;
  --warning-soft: #f3e6d3;
  --warning-strong: #7a4716;
  --danger: #8c2f2f;
  --danger-ink: #ffffff;
  --danger-soft: #f3dede;
  --danger-strong: #7a2626;
  --chart-1: #5e2333;
  --chart-2: #84582f;
  --chart-3: #6b6b34;
  --chart-4: #2f6b64;
  --chart-5: #435a75;
  --chart-6: #6b3f5e;

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --display-weight: 600;
  --display-tracking: -0.01em;
  --eyebrow-tracking: 0.08em;

  --radius-btn: 2px;
  --radius-card: 2px;
  --radius-input: 2px;
  --border-w: 1px;
  --border-strong-w: 1px;
  --shadow-card: 0 1px 0 var(--border);
  --shadow-raised: 0 12px 32px -12px rgba(33, 25, 15, 0.28);
  --shadow-btn: none;
  --card-pad: 1.75rem;
  --caps: none;
  --caps-tracking: 0.08em;
  --btn-weight: 600;
  --measure: 62ch;
}

html[data-theme="dark"] {
  --canvas: #1b1611;
  --surface: #221b15;
  --surface-2: #2a2119;
  --border: #3c3123;
  --border-strong: #52432f;
  --ink: #f1e8d8;
  --muted: #b3a691;
  --accent: #9c4257;
  --accent-hover: #b04f65;
  --accent-ink: #fbf3e6;
  --accent-text: #dcaa5e;
  --accent-strong: #e2b063;
  --accent-soft: #3a2620;
  --accent-border: #5c4530;
  --success: #6f9a67;
  --success-ink: #12210f;
  --success-soft: #24301f;
  --success-strong: #9bc492;
  --warning: #c98a48;
  --warning-ink: #211405;
  --warning-soft: #332312;
  --warning-strong: #e3ac72;
  --danger: #c16565;
  --danger-ink: #240c0c;
  --danger-soft: #3a1f1f;
  --danger-strong: #e08e8e;
  --chart-1: #b3667a;
  --chart-2: #dcaa5e;
  --chart-3: #a9a563;
  --chart-4: #66a99c;
  --chart-5: #7d93b2;
  --chart-6: #a877a0;

  color-scheme: dark;
}

/*
 * app.css — THIS APP'S OWN CSS, for what no primitive and no utility covers:
 * the one screen that makes this app itself — a timer's dial, a kanban
 * board's columns, a seating plan, a game grid. Write those here, named for
 * what they are, in tokens only (var(--accent), var(--radius-card),
 * var(--font-display)). It loads last, after design.css and theme.css, and
 * wins. Ships empty.
 *
 * Not for restyling a primitive: those live in tailwind/components.css and
 * are yours to edit there. Not for colours: those live in theme.css.
 */

/* The one entrance on the page: the hero headline and its photograph settle
   into place from a small offset the first time they are seen. Both rest
   fully visible with no script at all — app.js only adds .is-in, it never
   controls whether the content shows. Nothing else on the page moves. */
[data-inview] {
  transform: translateY(20px);
  transition: transform 700ms var(--ease-out);
  will-change: transform;
}
[data-inview].is-in {
  transform: translateY(0);
}
html.reduced-motion [data-inview] {
  transform: none;
  transition: none;
}
