/* HSM iMetal Works — generated from tokens.json */
:root, [data-theme="light"] {
  --navy: #00205b; /* Primary brand color (Navy Blue, RGB 0·32·91, CMYK* 100·85·24·11). Carries the identity: headlines, rules, navy panels. */
  --red: #bf0a30; /* Primary accent (Red, RGB 191·10·48, CMYK* 13·100·82·3). Eyebrows, short emphasis, thin accent lines. Use sparingly; never a background for long text. */
  --white: #ffffff; /* Support neutral. Default background; text and logo on navy. */
  --light-gray: #f4f5f7; /* Support neutral. Alternate section background and logo panels on light surfaces. */
  --steel-gray: #5b6675; /* Support neutral. Secondary text and captions on white or light gray (5.9:1 on white). Never replaces navy or red. */
  --dark-gray: #2a2f38; /* Support neutral. Body text on white; dark neutral background for the one-color white logo. */
  --surface: #ffffff; /* Page background. The layout alternates white and navy fields. */
  --surface-alt: #f4f5f7; /* Secondary panels on surface (cards, logo plates). */
  --field-strong: #00205b; /* Large solid fields that must contrast with surface (hero bands, covers). */
  --ink: #00205b; /* Headlines and subheads on surface. */
  --ink-body: #2a2f38; /* Body copy on surface and surface-alt. */
  --ink-muted: #5b6675; /* Captions, metadata and secondary text on surface. */
  --rule: #00205b; /* Hairline rules under section eyebrows and between list rows. */
  --accent: #bf0a30; /* Eyebrow labels, the short red tick before them, accent bars. On navy red text is only ~2.2:1: use it for bars and ticks there, or for display type the brand already sets that way ("BEST!") — never small text on navy. */
  --logo-red: #db0336; /* Red as drawn in the supplied logo SVG files. Logo files only — UI uses red (#BF0A30). */
  --logo-gray: #57687a; /* Gray as drawn in the supplied logo SVG files. Logo files only — UI uses steel-gray (#5B6675). */
}
[data-theme="navy"] {
  --surface: #00205b;
  --surface-alt: #2a2f38;
  --field-strong: #2a2f38;
  --ink: #ffffff;
  --ink-body: #ffffff;
  --ink-muted: #f4f5f7;
  --rule: #5b6675;
  --accent: #bf0a30;
}
:root {
  --space-1: 8px; /* Tight gaps: eyebrow tick to label, icon to text. */
  --space-2: 16px; /* Gap between list rows, card inner padding on mobile. */
  --space-3: 32px; /* Card padding, gap between grid columns. */
  --space-4: 48px; /* Section padding on screen; separates navy and white fields. */
  --space-5: 96px; /* Hero and cover padding. */
  --radius-none: 0px; /* Default for panels, cards, buttons and color fields: the brand is square-cut. */
  --radius-sm: 2px; /* Only small chips (status dots, the incorrect-usage ×) where a hard corner looks broken. */
  --font-display: "Apotek", "Barlow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-headline-xl: 700 64px/0.95 var(--font-display);
  --text-headline: 700 40px/1 var(--font-display);
  --text-subheading: 500 24px/1.2 var(--font-display);
  --text-eyebrow: 500 12px/16px var(--font-display);
  --text-body-lg: 400 20px/1.6 var(--font-body);
  --text-body: 400 16px/1.6 var(--font-body);
  --text-caption: 400 13px/1.5 var(--font-body);
}
.headline-xl {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0;
}
.headline {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}
.subheading {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0;
}
.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.3em;
}
.body-lg {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}
.caption {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
}
@font-face {
  font-family: "Apotek";
  src: url("../assets/fonts/Apotek-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Apotek";
  src: url("../assets/fonts/Apotek-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Apotek";
  src: url("../assets/fonts/Apotek-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
