/*
 * Slant Hall: design tokens
 * A program board in a concrete hall after dark. Warm near-black walls, big charcoal panels
 * cut on a slant (no panel is a true rectangle), a fixed column on the left for the name and
 * the plain links, and a grid of flat program tiles split by hairline gaps. Titles are set
 * bold in mustard, dates in a small mono. One painted mural per page, drawn in SVG.
 * Square corners, no shadows, no gradients, no glow.
 *
 * Fonts (all free on Google Fonts):
 *   <link href="https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap" rel="stylesheet">
 */
:root {
  /* Surfaces: the wall, the slanted panel, the tiles */
  --sh-wall: #141312;         /* the page */
  --sh-panel: #22211f;        /* the big slanted panel that holds the content */
  --sh-tile: #2b2a27;         /* a program tile, inputs, plan cards */
  --sh-tile-hover: #35332f;   /* hover on a tile */
  --sh-hairline: #403d38;     /* 1px rules and input borders */

  /* Text */
  --sh-bone: #ebe5d8;         /* main text */
  --sh-muted: #a39d91;        /* secondary text, day labels */
  --sh-faint: #6e695f;        /* captions, footer small print */

  /* Accent: mustard for titles and the one main action */
  --sh-mustard: #e0b63d;
  --sh-mustard-deep: #b98f22; /* hover on mustard buttons */
  --sh-on-mustard: #171511;   /* text on mustard */

  /* Mural paint, only inside the drawn mural and tiny status marks */
  --sh-ochre: #c9762f;        /* the mural ground, "almost full" status */
  --sh-rust: #a5452b;         /* mural shapes, "full" status */
  --sh-slate: #4d6b78;        /* mural water, cool contrast */
  --sh-sage: #a9bb7c;         /* mural line work, "open" status */

  /* Type */
  --sh-sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --sh-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --sh-text-display: clamp(38px, 6vw, 76px);
  --sh-text-h2: clamp(26px, 3.4vw, 40px);
  --sh-text-h3: 22px;          /* tile titles */
  --sh-text-lead: 19px;
  --sh-text-body: 16px;
  --sh-text-small: 14px;
  --sh-text-micro: 12px;

  --sh-weight-title: 700;
  --sh-track-tight: -0.02em;   /* display and h2 */
  --sh-track-mono: 0.02em;

  /* Shape: square and flat, the slant comes from clip-path with fixed pixel offsets,
     so a tall panel leans as much as a short one and never cuts its text */
  --sh-radius: 0;
  --sh-border: 1px solid var(--sh-hairline);
  --sh-gap-hair: 2px;          /* the gap between tiles, the wall shows through */
  --sh-slant-a: polygon(0 30px, 100% 0, calc(100% - 12px) 100%, 12px calc(100% - 24px));   /* the big panel */
  --sh-slant-b: polygon(20px 0, 100% 26px, 100% 100%, 0 calc(100% - 26px));                /* the mural */
  --sh-slant-c: polygon(0 0, 100% 22px, calc(100% - 10px) 100%, 0 100%);                 /* small panels, pull quotes */

  /* Space */
  --sh-sidebar: 232px;         /* the fixed left column */
  --sh-container: 1080px;
  --sh-narrow: 680px;
  --sh-section: clamp(56px, 8vw, 104px);
  --sh-gap: 24px;
  --sh-tile-pad: 20px;

  /* Motion: short and plain */
  --sh-ease: 160ms ease-out;
}
