/*
 * AllIn Japan — design tokens and base styles.
 * Colors and type scale follow the approved design (Anton / Inter / Noto Sans JP,
 * warm cream background, deep near-black chrome, poker-red accent).
 *
 * Page components are in the numbered files beside this one (010-header.css …).
 * `stylesheet_link_tag :app` includes them in sorted filename order, which is the
 * cascade order — keep the number prefixes (#204).
 */

:root {
  --color-bg: oklch(0.97 0.01 60);
  --color-text: oklch(0.18 0 0);

  --color-accent: oklch(0.55 0.19 27);
  --color-accent-hover: oklch(0.42 0.19 27);

  --color-chrome: oklch(0.18 0 0);
  --color-hero-bg: oklch(0.15 0 0);
  --color-footer-bg: oklch(0.13 0 0);
  --color-footer-border: oklch(0.25 0 0);
  --color-alt-bg: oklch(0.95 0.005 90);

  --color-cream: oklch(0.97 0.01 60);
  --color-cream-bright: oklch(0.98 0.005 60);
  --color-cream-brightest: oklch(0.99 0.005 60);

  --color-border: oklch(0.9 0.005 90);
  --color-border-strong: oklch(0.85 0.005 90);

  --color-tag-bg: oklch(0.95 0.01 60);
  --color-tag-text: oklch(0.4 0.05 30);

  --gray-35: oklch(0.35 0.01 90);
  --gray-40: oklch(0.4 0.01 90);
  --gray-45: oklch(0.45 0.01 90);
  --gray-50: oklch(0.5 0.01 90);
  --gray-55: oklch(0.55 0.01 90);
  --gray-60: oklch(0.6 0.01 90);
  --gray-65: oklch(0.65 0.01 90);
  --near-black-30: oklch(0.3 0 0);

  --font-display: "Anton", sans-serif;
  --font-heading: "Noto Sans JP", "Inter", sans-serif;
  --font-body: "Inter", "Noto Sans JP", sans-serif;

  /* Photo-placeholder brand art (from the design zip's brand-placeholder.svg /
     brand-mark.svg, C2PA metadata stripped, inlined so Propshaft needn't
     resolve a url()). Wordmark for large slots, A-mark for small thumbnails. */
  --img-brand-placeholder: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20300%2090%22%20width=%22300%22%20height=%2290%22%3E%3Cg%20transform=%22translate%28150%2034%29%22%3E%3Crect%20x=%22-24%22%20y=%22-24%22%20width=%2248%22%20height=%2248%22%20rx=%2212%22%20fill=%22%23c23b2e%22%3E%3C/rect%3E%3Ctext%20x=%220%22%20y=%2212%22%20text-anchor=%22middle%22%20font-family=%22Anton,%20Impact,%20%27Arial%20Black%27,%20sans-serif%22%20font-size=%2237%22%20fill=%22%23fdf8f0%22%3EA%3C/text%3E%3C/g%3E%3Ctext%20x=%22150%22%20y=%2278%22%20text-anchor=%22middle%22%20font-family=%22Anton,%20Impact,%20%27Arial%20Black%27,%20sans-serif%22%20font-size=%2220%22%20letter-spacing=%221.5%22%20fill=%22%23fdf8f0%22%3EALLIN%20%3Ctspan%20fill=%22%23d9503f%22%3EJAPAN%3C/tspan%3E%3C/text%3E%3C/svg%3E");
  --img-brand-mark: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2060%2060%22%20width=%2260%22%20height=%2260%22%3E%3Crect%20x=%223%22%20y=%223%22%20width=%2254%22%20height=%2254%22%20rx=%2213%22%20fill=%22%23c23b2e%22%3E%3C/rect%3E%3Ctext%20x=%2230%22%20y=%2243%22%20text-anchor=%22middle%22%20font-family=%22Anton,%20Impact,%20%27Arial%20Black%27,%20sans-serif%22%20font-size=%2242%22%20fill=%22%23fdf8f0%22%3EA%3C/text%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-heading);
}

main {
  flex: 1 0 auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-hover);
}

