/* Fonts ship with the template (SIL OFL, see assets/fonts/OFL-*.txt): no request to Google Fonts.
 * Young Serif is one weight (400) per subset; Mulish is one variable file per subset and style (weights 200 to 1000). */
@font-face { font-family: "Mulish"; font-style: italic; font-weight: 200 1000; font-display: swap; src: url(../fonts/mulish-italic-var-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: "Mulish"; font-style: italic; font-weight: 200 1000; font-display: swap; src: url(../fonts/mulish-italic-var-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: "Mulish"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(../fonts/mulish-var-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: "Mulish"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url(../fonts/mulish-var-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: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/young-serif-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: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/young-serif-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; }
/* Quatrefoil design tokens. Change --brand to recolor the whole template: every accent, button, petal and the 3D
 * scene follow it. Laurel green on chalk paper with a peach highlight: calm, warm, nothing that shouts. */
:root {
  /* color */
  --brand:      oklch(50% 0.11 128);     /* laurel: the four petals, buttons, lit steps */
  --brand-hi:   oklch(57% 0.12 126);     /* hover: lighter, never darker */
  --brand-deep: oklch(40% 0.10 128);     /* laurel as text on chalk (AA) */
  --on-brand:   oklch(98% 0.006 95);     /* chalk on laurel */
  --tint:       oklch(93.5% 0.035 125);  /* pale laurel panel, the petal behind a card */
  --peach:      oklch(85% 0.075 55);     /* the highlight: the fourth petal, the lit layer, the claim step */
  --peach-deep: oklch(66% 0.13 45);      /* peach as text on chalk (AA) */
  --on-peach:   oklch(26% 0.02 50);
  --dark:       oklch(25% 0.025 130);    /* ink: dark laurel, nearly black */
  --dark-2:     oklch(29% 0.028 130);
  --dark-3:     oklch(35% 0.03 130);
  --rule-dark:  oklch(42% 0.025 130);
  --paper:      oklch(97.5% 0.008 95);   /* chalk */
  --wash:       oklch(94.5% 0.012 98);   /* the warmer band */
  --ink:        oklch(23% 0.02 130);
  --ink-2:      oklch(38% 0.02 130);
  --muted:      oklch(50% 0.015 130);
  --rule:       oklch(87% 0.01 110);
  --on-dark:    oklch(97% 0.008 95);
  --on-dark-2:  oklch(78% 0.015 110);
  --focus:      oklch(60% 0.15 128);
  --error:      oklch(52% 0.18 27);
  --ok:         oklch(52% 0.12 140);
  /* gradients: every dark surface comes from here */
  --grad-dark: linear-gradient(160deg, oklch(21% 0.02 130) 0%, oklch(25% 0.025 130) 55%, oklch(32% 0.05 128) 100%);
  --grad-veil: linear-gradient(180deg, transparent 0%, color-mix(in oklch, var(--dark) 86%, transparent) 100%);
  --grad-side: linear-gradient(90deg, color-mix(in oklch, var(--dark) 94%, transparent) 0%, color-mix(in oklch, var(--dark) 55%, transparent) 55%, transparent 100%);
  --grad-petal: radial-gradient(120% 90% at 0% 0%, var(--tint) 0%, var(--paper) 60%);
  /* the petal: one lobe of the quatrefoil (three round corners, one square). Photos, chips and markers share it. */
  --petal: 50% 50% 50% 12% / 50% 50% 50% 12%;
  /* type */
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Mulish", -apple-system, system-ui, sans-serif;
  --text-sm: 0.875rem; --text-base: 1.0625rem; --text-md: 1.3rem; --text-lg: 1.65rem; --text-xl: 2.1rem; --text-2xl: 2.6rem;
  --text-display: clamp(2.3rem, 3.1vw + 0.9rem, 3.9rem); --text-display-s: clamp(1.9rem, 2.4vw + 0.8rem, 3.1rem);
  /* 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; --space-4xl: 10rem;
  --wrap: 76rem;
  /* motion: a petal settling. Soft and decelerating; nothing bounces. */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); --ease-settle: cubic-bezier(0.2, 0.85, 0.25, 1);
  --dur-micro: 150ms; --dur-short: 260ms; --dur-long: 650ms;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-modal: 400;
  --radius: 10px; --radius-s: 6px; --radius-l: 18px; --radius-pill: 999px;
  --shadow: 0 1px 2px oklch(23% 0.02 130 / 0.06), 0 18px 40px -22px oklch(23% 0.02 130 / 0.3);
  --shadow-up: 0 2px 4px oklch(23% 0.02 130 / 0.06), 0 28px 48px -22px oklch(23% 0.02 130 / 0.38);
}
@media (prefers-reduced-motion: reduce) { :root { --dur-micro: 1ms; --dur-short: 1ms; --dur-long: 1ms; } }
