/* brand-tokens.css – APK's designvariabler (farver, typografi, afstande, bevægelse).
   Git-sandhed; deployes til webworq-child/assets/css/ (handle apk-tokens, indlæses før divi-build.css).
   Porteret 1:1 fra prototype/assets/css/brand-tokens.css + v2-justeringerne fra prototype/a2/v2.css (06.01, WEB-363).
   Farverne findes også som Divi Design Variables (divi-snippets/design-variables.php), så builderen viser samme palette. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-standard-italic.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
/* Runde 2-feedback B, punkt 25 (WEB-479, Franz 6/11): brødteksten i apk2000.dk's skrift – Source Sans Pro (Total-temaets body_typography),
   i dag "Source Sans 3" (Adobe, SIL OFL 1.1; Fontsource @fontsource-variable/source-sans-3 5.3.1, latin). Overskrifterne (Archivo) er uændrede. */
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Inks */
  --apk-red: #e0242e;          /* field red: brand #e72832 deepened so white text passes AA (4.7:1) */
  --apk-red-brand: #e72832;    /* logo red, used only in the logo */
  --apk-red-text: #c4161f;     /* red on paper for small text (5.9:1) */
  --apk-red-deep: #8e0011;     /* depth field (statements) */
  --apk-ink: #141414;
  --apk-ink-2: #383838;        /* reading text on paper (11.9:1) */
  --apk-muted: #5c5c5c;        /* meta on paper (6.6:1) */
  --apk-paper: #fbfbfa;
  --apk-paper-2: #f0efec;
  --apk-rule: #d9d7d2;
  --apk-cream: #eae6d3;        /* Enhed og Kamp's own ground, only in its band */
  --apk-on-red: #ffffff;

  /* Type */
  --apk-font-display: "Archivo", "Arial Narrow", sans-serif;
  --apk-font-text: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif; /* punkt 25 (WEB-479) – før "Source Serif 4", Georgia, serif */
  --apk-stretch-numeral: 62%;
  --apk-stretch-display: 74%;
  --apk-stretch-title: 84%;
  --apk-stretch-ui: 100%;

  --apk-fs-meta: 0.8125rem;
  --apk-fs-ui: 0.9375rem;
  --apk-fs-text: 1.0625rem;
  --apk-fs-title: 1.1875rem;          /* v2 */
  --apk-fs-h3: clamp(1.5rem, 1.1rem + 1.1vw, 2rem);
  --apk-fs-h2: clamp(2rem, 1.3rem + 2vw, 3.25rem);          /* v2 */
  --apk-fs-cover: clamp(1.875rem, 1.05rem + 2.1vw, 2.875rem); /* v2 */
  --apk-fs-numeral: clamp(2.75rem, 1.8rem + 2.6vw, 4.5rem);

  /* Space: 4px base */
  --apk-s1: 0.25rem;
  --apk-s2: 0.5rem;
  --apk-s3: 0.75rem;
  --apk-s4: 1rem;
  --apk-s5: 1.5rem;
  --apk-s6: 2rem;
  --apk-s7: 3rem;
  --apk-s8: 4.5rem;
  --apk-s9: 6.5rem;

  --apk-wrap: 82.5rem;      /* 1320px */
  --apk-gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
  --apk-radius: 0;          /* square corners everywhere */

  --apk-shadow-cover: 0 18px 40px -12px rgba(20, 20, 20, 0.35), 0 2px 6px rgba(20, 20, 20, 0.12);

  /* Motion */
  --apk-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --apk-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --apk-ease-soft: cubic-bezier(0.22, 1, 0.36, 1);

  /* Luft mellem sektioner (v2) */
  --apk-section: 6.5rem;
}
@media (max-width: 900px) {
  :root { --apk-section: 4.5rem; }
}
@media (max-width: 640px) {
  :root { --apk-section: 3.5rem; --apk-fs-cover: 1.75rem; --apk-fs-h2: 2rem; }
}
