/* Webfonts — self-hosted (Cormorant Garamond 500, Jost 300/400) so no
   visitor data is ever sent to Google's servers. Rebuilt from Google
   Fonts at build time only; latin + latin-ext subsets cover PL + EN. */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/cormorant-garamond-500-latinext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/cormorant-garamond-500-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: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/jost-300-latinext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/jost-300-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: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jost-400-latinext.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jost-400-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;
}

:root {
  /* Base palette — "Porcelain & Graphite" theme (template default) */
  --ink: #15181c;          /* graphite near-black */
  --ink-soft: #23272d;     /* raised surfaces on dark */
  --ivory: #f3f4f2;        /* porcelain off-white */
  --ivory-soft: #e9eae7;   /* raised surfaces on light */
  --brass: #7c8896;        /* steel accent */
  --brass-bright: #a2adba; /* accent on dark grounds */

  /* Text */
  --text-on-light: var(--ink);
  --text-on-light-muted: #71767d;
  --text-on-dark: var(--ivory);
  --text-on-dark-muted: #8f959e;

  /* Surfaces */
  --surface-light: var(--ivory);
  --surface-dark: var(--ink);

  /* Hairlines */
  --hairline-on-light: rgba(21, 24, 28, 0.16);
  --hairline-on-dark: rgba(243, 244, 242, 0.2);

  /* Interactive */
  --link-on-light: var(--ink);
  --link-on-dark: var(--ivory);
  --link-hover: var(--brass);
  --link-hover-on-dark: var(--brass-bright);
}

:root {
  /* Families */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Jost", "Segoe UI", sans-serif;

  /* Display (headlines) */
  --display-size-xl: clamp(44px, 6.5vw, 92px);
  --display-size-lg: clamp(32px, 4vw, 56px);
  --display-weight: 500;
  --display-leading: 1.06;
  --display-tracking: 0.01em;

  /* Labels (uppercase, letter-spaced) */
  --label-size: 13px;
  --label-size-sm: 11px;
  --label-weight: 400;
  --label-tracking: 0.22em;

  /* Body / contact lines */
  --body-size: 17px;
  --body-weight: 300;
  --body-leading: 1.6;
  --body-tracking: 0.04em;
}

:root {
  /* Spacing scale — generous, airy */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
  --space-7: 144px;

  /* Page */
  --page-pad: clamp(32px, 6vw, 96px);

  /* Motion */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration: 300ms;

  /* Rules */
  --rule-w: 1px;
  --accent-rule-w: 32px; /* short brass rule used as an ornament */
}
