/* Fonts ship with the template (SIL OFL, see assets/fonts/OFL-*.txt): no request to Google Fonts. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/cormorant-garamond-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: "Cormorant Garamond"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/cormorant-garamond-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: "Cormorant Garamond"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/cormorant-garamond-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: "Cormorant Garamond"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/cormorant-garamond-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: "Albert Sans"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(../fonts/albert-sans-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: "Albert Sans"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(../fonts/albert-sans-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: "Albert Sans"; font-style: italic; font-weight: 300 900; font-display: swap; src: url(../fonts/albert-sans-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: "Albert Sans"; font-style: italic; font-weight: 300 900; font-display: swap; src: url(../fonts/albert-sans-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; }
/* Turndown design tokens. Change --night (the evening ink: dark bands, headings) and --rose (buttons, links, the key tags)
 * to rebrand the template; every other colour derives from them. Neutrals carry a trace of the same evening hue. */
:root {
  /* color */
  --night:      oklch(24% 0.045 320);   /* dark bands, headings, the sky of the 3D suite at night */
  --night-2:    oklch(30% 0.05 320);
  --night-3:    oklch(38% 0.05 320);
  --rose:       oklch(52% 0.16 355);    /* buttons, links on paper, key tags (AA on paper) */
  --rose-deep:  oklch(44% 0.15 355);    /* hover */
  --rose-tint:  oklch(90% 0.04 355);    /* soft fills */
  --dusk:       oklch(80% 0.06 330);    /* the evening sky: decoration on dark bands only */
  --lamp:       oklch(85% 0.11 80);     /* lamp light: the 3D suite and the key hook; never a text colour */
  --paper:      oklch(97.5% 0.005 320);
  --wash:       oklch(94% 0.012 320);
  --ink:        oklch(22% 0.02 320);
  --ink-2:      oklch(40% 0.02 320);
  --muted:      oklch(50% 0.02 320);    /* 5.6:1 on paper */
  --rule:       oklch(87% 0.01 320);
  --on-dark:    oklch(96% 0.005 320);
  --on-dark-2:  oklch(80% 0.02 320);
  --focus:      oklch(60% 0.19 355);
  --error:      oklch(50% 0.18 27);
  --ok:         oklch(48% 0.12 152);
  /* gradients: every dark surface comes from here */
  --grad-dark: linear-gradient(165deg, oklch(20% 0.04 320) 0%, oklch(24% 0.045 320) 55%, oklch(30% 0.06 340) 100%);
  --grad-veil: linear-gradient(180deg, oklch(20% 0.04 320 / 0.1) 0%, oklch(20% 0.04 320 / 0.1) 35%, oklch(20% 0.04 320 / 0.78) 100%);
  --grad-tint: linear-gradient(180deg, var(--wash) 0%, var(--paper) 100%);
  /* type */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Albert Sans", -apple-system, system-ui, sans-serif;
  --text-sm: 0.875rem; --text-base: 1.0625rem; --text-md: 1.25rem; --text-lg: 1.6rem; --text-xl: 2.1rem; --text-2xl: 2.8rem;
  --text-display: clamp(2.9rem, 5.2vw + 1rem, 5.6rem); --text-display-s: clamp(2.3rem, 3.4vw + 1rem, 3.9rem);
  /* 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;
  /* motion: one signature curve, three durations; the key tags swing with --ease-swing */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); --ease-swing: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-micro: 150ms; --dur-short: 280ms; --dur-long: 700ms;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-modal: 400;
  --radius: 8px; --radius-s: 4px; --radius-pill: 999px;
  /* the one rounded corner: photos get it on the side that faces the text (see .photo--tl etc. in style.css) */
  --corner: clamp(2.5rem, 6vw, 5rem);
}
@media (prefers-reduced-motion: reduce) { :root { --dur-micro: 1ms; --dur-short: 1ms; --dur-long: 1ms; } }
