/* ==========================================================================
   Outwest FM Theme — design tokens
   --------------------------------------------------------------------------
   Overrides the tokens defined by the base theme (apebox_theme/css/styles.css
   and dark-mode.css). Everything the base theme styles reads these custom
   properties, so changing a value here re-skins the whole site.

   Scheme model (inherited from the base theme + the darkmode module):
   - :root holds the DARK scheme (the default).
   - The LIGHT scheme is the --lightmode-* set; the base theme maps it onto
     the --color-* tokens when <html data-dark-mode="light"> (or the OS
     prefers light and no marker is set). Only redefine --lightmode-* here —
     never set --color-* inside a light-mode selector.

   Keep these selectors as plain :root. A more specific selector would beat
   the base theme's light-mode mapping and break the light scheme.

   The COLOUR values below are placeholders until the Outwest FM brand
   palette is chosen. Typography follows the Arizto site (Inter).
   ========================================================================== */

:root {
  /* ---- Brand / accent (dark scheme) ---- */
  --color-primary: #f0a23b;
  --color-primary-hover: #f6b860;

  /* "Paper" surface: a raised surface in the dark scheme (the base theme
     flips it to real white in light mode). It is NOT literal white. */
  --color-white: #24262b;

  /* ---- Text (dark scheme) ---- */
  --color-text-primary: #d9dbe0;
  --color-text-secondary: #a3a7b0;
  --color-text-muted: #6f747d;
  /* Ink on accent-coloured backgrounds. */
  --color-text-inverse: #15161a;

  /* ---- Surfaces (dark scheme) ---- */
  --color-bg-primary: #17181c;
  --color-bg-secondary: #1d1f24;
  --color-bg-tertiary: #282a31;
  /* Header, nav, breadcrumb and footer bands. */
  --color-bg-chrome: #101114;

  /* ---- Borders (dark scheme) ---- */
  --color-border-light: #26282e;
  --color-border-medium: #3b3e46;

  /* ---- Links (dark scheme) ---- */
  --color-link: #5fc3c9;
  --color-link-hover: #8adade;

  /* ---- Light scheme ---- */
  --lightmode-primary: #a85508;
  --lightmode-primary-hover: #8f4706;
  --lightmode-text-primary: #24262b;
  --lightmode-text-secondary: #4d525c;
  --lightmode-text-muted: #858a94;
  --lightmode-text-inverse: #ffffff;
  --lightmode-bg-primary: #ffffff;
  --lightmode-bg-secondary: #f4f4f2;
  --lightmode-bg-tertiary: #e9e9e6;
  --lightmode-bg-chrome: #f0efec;
  --lightmode-border-light: #e2e2de;
  --lightmode-border-medium: #c2c2bc;
  --lightmode-link: #0b6f78;
  --lightmode-link-hover: #095860;

  /* ---- Fonts ----
     Inter, self-hosted (@font-face in styles.css), replaces the base theme's
     monospace stack. --font-family-heading is new in this theme (applied in
     styles.css). */
  --font-family-base: "Inter", sans-serif;
  --font-family-heading: var(--font-family-base);

  /* ---- Type scale (rem of the 14px root set by the base theme) ----
     Same steps as the Arizto site; the base theme's flat terminal scale
     (lg = md, xxl = xl) is opened up. */
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  /* Reading text (paragraphs), ~16px. */
  --font-size-body: 1.1429rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  /* The base theme sizes h1 with xxl. */
  --font-size-xxl: 2rem;
  --font-size-display: 2rem;

  /* ---- Line heights ---- */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;

  /* ---- Layout ----
     Height of the fixed top menu, and the offset given to the content
     below it (see styles.css). */
  --header-height: 5rem;
  /* Content cap: 1680px at the 14px root (the base theme uses 1920px). */
  --max-page-width: 120rem;

  /* ---- Spacing and shape (Arizto metrics) ----
     The base theme sizes boxes on a terminal grid (rows and character
     cells); these put the shared tokens back on the rem spacing scale.
     Component-level sizes are in components.css. */
  /* Region bands: no vertical padding of their own, one step at the sides. */
  --container-pad-y: 0;
  --container-pad-x: var(--space-md);
  --button-padding-y: var(--space-sm);
  --button-padding-x: var(--space-xl);
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.625rem;
  --radius-xl: 0.625rem;

  /* ---- Tokens the home_hero_block module expects from its theme ---- */
  /* Darkens the footage behind the hero text (text sits bottom-left). */
  --hero-scrim: linear-gradient(
    to top,
    rgb(0 0 0 / 0.7) 0%,
    rgb(0 0 0 / 0.3) 50%,
    rgb(0 0 0 / 0.15) 100%
  );
  /* Width cap for the hero text and link bar: lines up with .container. */
  --content-max-width: var(--max-page-width);
  /* Icon ink on the primary-coloured link end cap. */
  --color-brand-teal: var(--color-text-inverse);
  /* Header surface, used as the tint of the translucent header (follows the
     scheme). */
  --color-layout-5: var(--color-bg-chrome);
  /* Panel behind the banner block's white title when it has no image: fixed
     dark in both schemes. */
  --color-layout-10: #17181c;
}
