/*
  DESIGN TOKENS. The design phase changes THIS file (and site.css layout rules),
  nothing else. Everything visual on the site reads from these variables.
  Colours: the owner's palette (navy, yellow, pink, #F5F3EE), 2026-09-29.
*/
/* Fonts: self-hosted (no requests to Google), SIL Open Font License (fonts/OFL-*.txt).
   Oswald matches the logo's heavy condensed lettering: headings, buttons, prices, navigation.
   Barlow: running text. latin + latin-ext, so Latvian letters (ā, š, ņ …) work too. */
@font-face { font-family: "Oswald"; src: url("/fonts/oswald-latin.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; src: url("/fonts/oswald-latin-ext.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-400-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-600-latin-ext.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-700-latin.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-700-latin-ext.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Brand palette (owner, 2026-09-29). Navy is the main colour (~60 %); yellow for headings,
     highlights and section blocks (~30 %); pink ONLY for buy / call-to-action buttons (~10 %).
     #F5F3EE is the site's "white". */
  --navy: #0F1E35;
  --yellow: #F7CC41;
  --pink: #B85680;
  --white: #F5F3EE;

  /* Colours (what each part of the site uses) */
  color-scheme: dark;                /* dropdowns, checkboxes and scrollbars drawn dark */
  --color-bg: var(--navy);
  --color-surface: #172A47;          /* cards and boxes, a step lighter than the page */
  --color-deep: #0A1526;             /* footer, a step darker */
  --color-text: var(--white);        /* 15:1 on navy */
  --color-muted: #AEB7C9;            /* secondary text: 7:1 or more on navy and on cards */
  --color-line: #2A3F63;             /* thin lines on navy */
  --color-heading: var(--yellow);    /* 11:1 on navy */
  --color-highlight: var(--yellow);  /* stock, order number, hover, FAQ arrows */
  --color-focus: var(--yellow);      /* keyboard focus ring */
  --color-accent: var(--pink);       /* buy / call-to-action buttons only */
  --color-accent-frame: var(--yellow); /* the yellow frame around the pink buttons (owner, 2026-10-01) */
  --color-on-accent: var(--white);   /* 4:1 on pink: so button labels are large and bold (WCAG "large text") */
  --color-block-bg: var(--yellow);   /* yellow section blocks */
  --color-on-block: var(--navy);     /* 11:1 on yellow */
  --color-error: #FF8A80;            /* readable on navy (7:1) */
  --color-hero-text: var(--white);   /* text over the video */
  --color-hero-shade: rgba(0, 0, 0, 0.55);
  --color-sign-bg: var(--yellow);    /* hanging shipping sign */
  --color-sign-text: var(--navy);
  --color-sign-string: #C9C4B8;
  --color-header-bg: var(--navy);
  --color-header-text: var(--white);
  --color-header-line: rgba(245, 243, 238, 0.08);
  --color-header-accent: var(--pink);
  --color-on-header-accent: var(--white);

  /* Type */
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Oswald", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --text-base: 1rem;
  --text-small: 0.875rem;
  --text-lead: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  --text-h2: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem);   /* Oswald is narrow: a little larger */
  --text-price: clamp(1.5rem, 1.2rem + 1.5vw, 2.2rem);
  --text-btn: 1.1875rem;            /* 19 px bold = "large text": white on pink needs only 3:1 */

  /* Shape and space */
  --radius: 8px;
  --radius-btn: 999px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --content-max: 1100px;
  --gutter: max(16px, 4vw);

  /* Header and logo slots (ARCHITECTURE.md §15b). Any logo shape fits inside. */
  --header-h: 140px;        /* header transition on: the scene shrinks into a tall header */
  --logo-header-w: 320px;   /* mini-shop logo, centred: big enough to read the sign */
  --logo-header-h: 130px;
  --header-h-static: 88px;  /* header transition off (config/scene.yaml): slim bar with the logo */
  --logo-static-h: 60px;    /* the owner's logo (img/logo-header-v2.webp, made by studio/tools/make_logo_sizes.py) */

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 640px) {
  :root {
    --header-h: 84px;
    --logo-header-w: 170px;
    --logo-header-h: 76px;
    --header-h-static: 64px;
    --logo-static-h: 42px;
  }
}
