/*
 * The site's own scale (work record landing_site, LS-Q3; frontend_visual_system.decisions.md §4):
 * the one stylesheet of the site where literal values are allowed. Everything else comes from HUB's
 * scale, which the build brings in as styles/scale.css; site.css takes var() only.
 *
 * Only what the site needs and HUB's app does not: display text, the ornaments' orange, the page's
 * width. A size that grows with the screen grows from a phone (390 px) to a desktop (1440 px).
 */
:root {
  /* TEXT */
  /* The motto and a section's heading (owner, LS-Q21: 32 px on a phone, 56 px on a desktop). */
  --site-font-size-display: clamp(32px, 23.09px + 2.286vw, 56px);
  /* A card's title, the words of the pills. */
  --site-font-size-title: clamp(24px, 18.06px + 1.524vw, 40px);
  /* JUST.STRUCT across the column until the script fits it exactly (owner, LS.2 review 3: 5a): the
     word measures about 6.6 of its size at weight 700 (owner, 2026-11-17: one step under 800). */
  --site-font-size-wordmark: clamp(49px, 14.64vw - 4.83px, 176px);
  /* The About text. */
  --site-font-size-lead: clamp(20px, 16.29px + 0.952vw, 30px);
  --site-line-height-display: 1.05;
  /* The About text: light, close lines (owner, LS.2 review 6a: weight 300, 1.15). */
  --site-line-height-lead: 1.15;
  --site-letter-spacing-display: -0.03em;
  /* The motto, one step thinner than bold on the font's own steps (owner, 2026-11-17: 2a); HUB's
     scale has no 600. */
  --site-font-weight-motto: 600;

  /* COLOUR */
  /* The first screen's plain grey, as the owner's reference draws it (LS.2 review 1, measured from
     Site_Plan.docx's first picture). */
  --site-palette-gray-hero: #d6d7dc;
  /* HUB's #d64000 at 75 % brightness (owner, LS-Q19): the Build pill's darker orange. */
  --site-palette-orange-dim: #a13000;
  /* HUB orange as metal (owner, LS.2 review 8a): lit at the top left, deep at the bottom right. */
  --site-palette-orange-lit: #de6633;
  --site-palette-orange-deep: #7a2400;

  /* METAL (owner, LS.2 review: "metallic tinge", 8a) */
  /* A soft white sheen across the top of a metal surface, and its lit and shaded rims. */
  --site-sheen: linear-gradient(rgb(255 255 255 / 0.28), rgb(255 255 255 / 0) 55%);
  --site-sheen-rim: inset 0 1px 0 rgb(255 255 255 / 0.35), inset 0 -1px 0 rgb(0 0 0 / 0.2);
  /* The card behind in the stack of black cards (9a; review 3: 7): 95 %, a little darker. */
  --site-cover-scale: 0.95;
  --site-cover-brightness: 0.7;

  /* GEOMETRY */
  /* The page's column on a wide screen. */
  --site-width-page: 1200px;
  /* A pill of "We Build → Structures": wider than high. */
  --site-ratio-pill: 5 / 3;
  /* A dot of the map of About, as a share of its cell (owner, LS.2: light grey dots, no orange). */
  --site-map-dot: 0.62;
  /* The HUB card's three screens (owner, LS.2; the reference's large, small and overlapping middle
     one): the frame's shape, each screen's width, and where the small and the middle one stand —
     shares of the frame, so it all scales with the card. */
  --site-ratio-screens: 100 / 93;
  --site-screen-big: 62%;
  --site-screen-small: 34%;
  --site-screen-small-top: 4.3%;
  --site-screen-medium: 50%;
  --site-screen-medium-top: 51.6%;
  --site-screen-medium-left: 6%;
}
