/* Hallmark tokens · Atelier (deal 2/3) re-valued for the Renner brand: Renner blue is the one signal,
   oak only for frames and rules, red only for the "Free" badge. Every colour and font on the site reads from here. */
@font-face { font-family: "Sentient"; src: url("../fonts/sentient-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Sentient"; src: url("../fonts/sentient-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.5rem, 4.2vw + 1rem, 4.75rem);
  --text-section: clamp(2rem, 2.2vw + 1rem, 3.25rem); --text-title: clamp(1.25rem, 0.5vw + 1rem, 1.5rem); --text-lead: clamp(1.0625rem, 0.3vw + 1rem, 1.25rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --container: 1280px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --header-h: 84px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;

  /* Paper and ink */
  --color-paper: #f7f5f2;            /* warm off-white */
  --color-paper-2: #efebe5;          /* a step deeper, for split sections */
  --color-white: #fefdfb;            /* white, a breath warm */
  --color-ink: #16212e;              /* deep navy-charcoal: heads */
  --color-ink-2: #3a4552;            /* running text */
  --color-muted: #616b77;            /* 5:1 on paper */
  --color-rule: #ddd6cc;
  --color-rule-dark: rgb(255 255 255 / 0.22);
  --color-on-dark: #fffdf8;
  --color-on-dark-2: rgb(255 255 255 / 0.86);
  --color-veil: rgb(16 23 32 / 0.55); /* photo overlays */
  --color-veil-deep: rgb(16 23 32 / 0.78);
  --color-shadow: rgb(22 33 46 / 0.18);

  /* Brand */
  --color-accent: #0077b3;           /* Renner blue, accessible (4.9:1 with white) */
  --color-accent-deep: #005f8f;
  --color-accent-ink: #fffdf8;
  --color-logo: #00adf1;             /* the logo's own blue: logo and small marks only */
  --color-focus: #0077b3;
  --color-oak: #a9825a;              /* frames and dividers only */
  --color-oak-soft: #cdb497;
  --color-red: #d7192a;              /* the "Free" badge only */
  --color-wa: #1faf54;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);

  --font-display: "Sentient", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-outlier: var(--font-body);
  --radius-card: 0; --radius-pill: 3px; --rule-hair: 1px; --rule-head: 1px;
  --shadow-card: 0 1px 2px var(--color-shadow), 0 18px 40px -24px var(--color-shadow);
  --tracking-display: -0.018em; --tracking-statement: -0.022em; --display-weight: 300; --statement-weight: 300; --serif-small: 400;

  /* Legacy names used by the shop and inner-page styles (kept so those pages follow the new palette) */
  --rn-blue: var(--color-logo); --rn-blue-strong: var(--color-accent); --rn-navy: var(--color-ink); --rn-navy-soft: #2a3644;
  --rn-red: var(--color-red); --rn-ink: var(--color-ink-2); --rn-muted: var(--color-muted); --rn-line: var(--color-rule);
  --rn-grey: var(--color-paper); --rn-white: var(--color-white); --rn-wa: var(--color-wa);
  --rn-font-heading: var(--font-display); --rn-font-body: var(--font-body);
  --rn-navy-rgb: 22, 33, 46;
}
