/* Fonts ship with the template (SIL OFL, see assets/fonts/OFL-*.txt): no request to Google Fonts. Both are variable
   files, so one file per subset covers every weight the pages use. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/archivo-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: "Archivo"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/archivo-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: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/onest-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: "Onest"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/onest-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; }
/* Frontage design tokens. Change --brand to recolor the whole template: every accent, link, pin and rule derives
 * from it. The neutrals are a warm paper and a blue-black ink on purpose (an architect's drawing set, not a screen). */
:root {
  /* color */
  --brand:      oklch(50% 0.13 248);    /* blueprint blue: links, the frontage line, the pins */
  --brand-hi:   oklch(58% 0.14 248);    /* hover on dark */
  --brand-deep: oklch(42% 0.12 250);    /* text-size blue on paper (AA) */
  --on-brand:   oklch(98% 0.005 85);
  --chalk:      oklch(86% 0.06 240);    /* the lit pin and the drawn edges in the 3D block */
  --tint:       oklch(94% 0.022 245);   /* pale blue panel */
  --dark:       oklch(21% 0.035 255);   /* the drawing table: blue-black ink */
  --dark-2:     oklch(25% 0.035 255);
  --dark-3:     oklch(31% 0.035 255);
  --rule-dark:  oklch(38% 0.03 255);
  --paper:      oklch(97.5% 0.006 85);  /* warm paper */
  --wash:       oklch(94.5% 0.008 85);  /* alternate band */
  --ink:        oklch(19% 0.03 255);
  --ink-2:      oklch(36% 0.025 255);
  --muted:      oklch(48% 0.02 255);
  --rule:       oklch(85% 0.012 80);
  --on-dark:    oklch(96.5% 0.006 85);
  --on-dark-2:  oklch(78% 0.015 245);
  --focus:      oklch(60% 0.17 248);
  --error:      oklch(52% 0.18 27);
  --ok:         oklch(50% 0.12 152);
  --sold:       oklch(60% 0.02 255);
  /* gradients: every dark surface and every veil comes from here */
  --grad-dark: linear-gradient(165deg, oklch(17% 0.03 258) 0%, oklch(21% 0.035 255) 55%, oklch(27% 0.05 250) 100%);
  --grad-veil: linear-gradient(180deg, transparent 0%, color-mix(in oklch, var(--dark) 84%, transparent) 100%);
  --grad-side: linear-gradient(90deg, color-mix(in oklch, var(--dark) 92%, transparent) 0%, color-mix(in oklch, var(--dark) 50%, transparent) 55%, transparent 100%);
  /* the drawing grid: hairlines every 4rem, a stronger line every 20rem (hero, dark bands) */
  --grid: linear-gradient(to right, oklch(100% 0 0 / 0.07) 1px, transparent 1px), linear-gradient(to bottom, oklch(100% 0 0 / 0.07) 1px, transparent 1px);
  /* type */
  --font-display: "Archivo", "Helvetica Neue", -apple-system, sans-serif;
  --font-body: "Onest", -apple-system, system-ui, sans-serif;
  --text-sm: 0.875rem; --text-base: 1.0625rem; --text-md: 1.3rem; --text-lg: 1.7rem; --text-xl: 2.2rem; --text-2xl: 2.9rem;
  --text-display: clamp(2.7rem, 5.2vw + 1rem, 5.6rem); --text-display-s: clamp(2.2rem, 3.4vw + 1rem, 4rem);
  /* 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: 80rem;
  /* motion: a drawing being traced. Long ease-outs, no bounce; photos reveal through a mask from the top. */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); --ease-draw: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 160ms; --dur-short: 280ms; --dur-long: 900ms;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-modal: 400;
  /* a catalogue of architecture: square corners everywhere */
  --radius: 0; --radius-s: 0; --radius-l: 0;
  --shadow: 0 1px 0 oklch(19% 0.03 255 / 0.06), 0 24px 48px -28px oklch(19% 0.03 255 / 0.3);
  --shadow-up: 0 2px 0 oklch(19% 0.03 255 / 0.06), 0 32px 60px -28px oklch(19% 0.03 255 / 0.4);
}
@media (prefers-reduced-motion: reduce) { :root { --dur-micro: 1ms; --dur-short: 1ms; --dur-long: 1ms; } }
