/* Fonts ship with the template (SIL OFL, see assets/fonts/OFL-*.txt): no request to Google Fonts. */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/newsreader-latin.woff2) format("woff2"); 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: "Newsreader"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/newsreader-latin-ext.woff2) format("woff2"); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/newsreader-italic-latin.woff2) format("woff2"); 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: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/newsreader-italic-latin-ext.woff2) format("woff2"); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/hanken-grotesk-latin.woff2) format("woff2"); 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: "Hanken Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/hanken-grotesk-latin-ext.woff2) format("woff2"); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Curavia design tokens. Change --brand (and --brand-deep) to recolor the template: buttons, links, icons,
 * the body map highlight and the dark bands all derive from it. Neutrals lean toward the sage on purpose. */
:root {
  /* color */
  --brand:      oklch(47% 0.05 140);    /* sage: links, icons, small titles */
  --brand-deep: oklch(38% 0.045 140);   /* buttons (white text passes AA) */
  --sage:       oklch(62% 0.045 135);   /* decoration only */
  --tint:       oklch(89% 0.03 135);    /* soft sage panels */
  --glow:       oklch(80% 0.09 150);    /* the body map highlight; only the 3D scene and the map use it */
  --paper:      oklch(97.4% 0.006 100);
  --wash:       oklch(94% 0.011 110);
  --ink:        oklch(24% 0.014 140);
  --ink-2:      oklch(39% 0.014 140);
  --muted:      oklch(48% 0.014 140);
  --rule:       oklch(87.5% 0.014 120);
  --dark:       oklch(24% 0.02 150);
  --dark-2:     oklch(29% 0.022 150);
  --dark-3:     oklch(38% 0.024 150);
  --on-dark:    oklch(96% 0.008 120);
  --on-dark-2:  oklch(80% 0.016 130);
  --focus:      oklch(58% 0.12 150);
  --error:      oklch(51% 0.17 27);
  --ok:         oklch(48% 0.1 152);
  /* gradients: every dark surface and veil comes from here */
  --grad-dark: linear-gradient(165deg, oklch(20% 0.018 150) 0%, oklch(25% 0.022 150) 55%, oklch(31% 0.035 140) 100%);
  --grad-veil: linear-gradient(90deg, color-mix(in oklch, var(--dark) 88%, transparent) 0%, color-mix(in oklch, var(--dark) 40%, transparent) 60%, transparent 100%);
  --grad-tint: linear-gradient(180deg, var(--wash) 0%, var(--paper) 100%);
  /* type */
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-body: "Hanken Grotesk", -apple-system, "Segoe UI", system-ui, sans-serif;
  --text-sm: 0.875rem; --text-base: 1.0625rem; --text-md: 1.3rem; --text-lg: 1.6rem; --text-xl: 2.05rem; --text-2xl: 2.65rem;
  --text-display: clamp(2.5rem, 4.2vw + 1rem, 4.6rem); --text-display-s: clamp(2rem, 3vw + 0.9rem, 3.3rem);
  /* space */
  --space-2xs: .25rem; --space-xs: .5rem; --space-sm: .75rem; --space-md: 1rem; --space-lg: 1.5rem; --space-xl: 2.5rem; --space-2xl: 4rem; --space-3xl: 6.5rem;
  /* the signature: photos keep three square corners and round one (the one that faces the text) */
  --corner: clamp(1.75rem, 4vw, 3.5rem);
  --radius: 10px; --radius-s: 6px; --radius-pill: 999px;
  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-spring: cubic-bezier(0.2, 0.7, 0.2, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --dur-micro: 140ms; --dur-short: 260ms; --dur-long: 700ms;
  --z-base: 1; --z-raised: 10; --z-sticky: 200; --z-modal: 400;
}
@media (prefers-reduced-motion: reduce) { :root { --dur-micro: 1ms; --dur-short: 1ms; --dur-long: 1ms; } }
