/* Andrew Wadsworth: personal brand tokens.
   Every colour here was sampled from the 12 February 2026 portrait shoot:
   the rainforest shade behind him, the denim shirt, the grey marle blazer. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-variable.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../fonts/literata-italic-variable.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* The three that carry the brand */
  --aw-forest: #141a10;        /* rainforest shade: text and dark surfaces */
  --aw-denim: #1f5f95;         /* the shirt: the one brand colour. Links, buttons, highlights */
  --aw-paper: #f3f5f0;         /* page background */

  /* Supporting, never used as a second brand colour */
  --aw-forest-raised: #1f2819; /* cards and bands on a forest surface */
  --aw-fern: #4b5c39;          /* understorey green: quiet labels and rules on paper */
  --aw-fern-light: #a9b796;    /* the same job on forest */
  --aw-denim-deep: #174a75;    /* hover and pressed, on paper */
  --aw-denim-light: #8fbfe6;   /* links and highlights on forest */
  --aw-marle: #5f626a;         /* blazer grey: secondary text on paper */
  --aw-white: #ffffff;         /* cards on paper */
  --aw-line: rgba(20, 26, 16, 0.14);
  --aw-line-dark: rgba(243, 245, 240, 0.16);

  /* The same colours by role, as Awesomate tools read them */
  --aw-primary: var(--aw-denim);
  --aw-on-primary: #ffffff;    /* 6.7:1 on denim */
  --aw-secondary: var(--aw-fern);
  --aw-accent: var(--aw-denim-light);
  --aw-dark: var(--aw-forest);
  --aw-light: var(--aw-paper);

  /* Type: Archivo for the name, headings and controls. Literata for reading. */
  --aw-font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --aw-font-text: "Literata", Georgia, "Times New Roman", serif;
  --aw-wdth-wordmark: 62;      /* Archivo's narrowest width: the name, set like a film title */
  --aw-wdth-heading: 78;       /* headings */
  --aw-wdth-ui: 100;           /* navigation, buttons, labels */
  --aw-wdth-open: 96;          /* a heading someone is pointing at */

  --aw-text-wordmark: clamp(4.5rem, 21vw, 13.5rem);
  --aw-text-h1: clamp(2.6rem, 6.4vw, 5.25rem);
  --aw-text-h2: clamp(2rem, 3.6vw, 3.1rem);
  --aw-text-h3: clamp(1.3rem, 1.7vw, 1.6rem);
  --aw-text-lead: clamp(1.2rem, 1.55vw, 1.45rem);
  --aw-text-body: 1.125rem;
  --aw-text-reading: clamp(1.125rem, 0.6vw + 1rem, 1.25rem);  /* one entry of writing, set for long reading */
  --aw-text-small: 0.9375rem;
  --aw-text-caption: 0.8125rem;
  --aw-measure: 68ch;

  /* Space: multiples of 8, with 4 and 12 for tight groups */
  --aw-space-1: 4px;
  --aw-space-2: 8px;
  --aw-space-3: 12px;
  --aw-space-4: 16px;
  --aw-space-5: 24px;
  --aw-space-6: 32px;
  --aw-space-7: 48px;
  --aw-space-8: 64px;
  --aw-space-9: 96px;
  --aw-space-10: 144px;
  --aw-page: 1240px;
  --aw-gutter: clamp(20px, 5vw, 64px);

  /* Corners, chosen once: pictures and cards are nearly square, controls are round */
  --aw-radius: 4px;
  --aw-radius-card: 4px;
  --aw-radius-control: 999px;

  /* Motion: one move, the letters widening. See brand/wordmark.html */
  --aw-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --aw-dur-ui: 220ms;
  --aw-dur-settle: 900ms;
}
