/* 橫走 SIDEWAY — design tokens
   Fluid root: 15px on phones, 18px on desktop, 22px on large screens.
   Everything else is rem, so the whole page scales with the reader's screen. */
:root{
  /* palette — three colours */
  --night: #0d0e10;
  --red: #e8472a;
  --white: #f4f4f2;
  --black: #000000;

  --bg: var(--night);
  --ink: var(--white);
  --accent: var(--red);

  /* derived tints */
  --line-faint: rgba(244,244,242,.18);
  --line-soft: rgba(244,244,242,.10);
  --scrim: rgba(0,0,0,.55);
  --caption-ink: rgba(244,244,242,.78);
  --ink-40: rgba(244,244,242,.4);

  /* type */
  --font: "Inter Tight", "Noto Sans TC", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-cjk: "Noto Sans TC", "Inter Tight", sans-serif;

  /* spacing */
  --px: clamp(16px, 3.2vw, 56px);
  --gap: clamp(12px, 1.4vw, 24px);
  --block: clamp(56px, 8vw, 140px);

  /* motion */
  --dur: .7s;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
}
