/* ============================================================
   Kompendium — Design Tokens
   Quelle: design_handoff_homepage/design_reference/_ds/.../colors_and_type.css
   ============================================================ */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/CormorantGaramond-Regular-latin.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  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';
  src: url('../fonts/CormorantGaramond-Regular-latinext.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
  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';
  src: url('../fonts/CormorantGaramond-Italic-latin.woff2') format('woff2');
  font-weight: 400 500; font-style: italic; font-display: swap;
  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';
  src: url('../fonts/CormorantGaramond-Italic-latinext.woff2') format('woff2');
  font-weight: 400 500; font-style: italic; font-display: swap;
  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: 'Vollkorn';
  src: url('../fonts/Vollkorn-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vollkorn';
  src: url('../fonts/Vollkorn-Italic.ttf') format('truetype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Vollkorn';
  src: url('../fonts/Vollkorn-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Vollkorn';
  src: url('../fonts/Vollkorn-BoldItalic.ttf') format('truetype');
  font-weight: 700; font-style: italic; font-display: swap;
}

:root {
  /* Brand / Gold */
  --gold: #D8B33D;
  --gold-bright: #EFD175;
  --gold-deep: #9D7C20;
  --gold-soft: rgba(216,179,61,0.14);

  /* Ink / dark surfaces (page default) */
  --ink: #16120A;
  --ink-2: #211B0D;
  --charcoal: #2E2614;
  --ink-line: rgba(243,236,221,0.12);

  /* Paper / light surfaces */
  --cream: #F4EEE0;
  --parchment: #E8DDC6;
  --paper-line: rgba(20,17,11,0.14);

  /* Neutrals */
  --fg-1: #F4EEE0;
  --fg-2: #C9BCA0;
  --fg-3: #978A6F;
  --ink-1: #1B160E;
  --ink-2-fg: #4A4231;
  --sepia: #7A6E54;

  /* Semantic */
  --wine: #6E2B2B;
  --forest: #3C5138;
  --info: #4A5A6E;

  /* Type families */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Vollkorn', Georgia, 'Times New Roman', serif;
  --font-mono: 'SFMono-Regular', ui-monospace, 'Courier New', monospace;

  /* Type scale */
  --fs-display: 76px; --lh-display: 1.02;
  --fs-h1: 54px;      --lh-h1: 1.06;
  --fs-h2: 38px;      --lh-h2: 1.12;
  --fs-h3: 27px;      --lh-h3: 1.2;
  --fs-lead: 22px;    --lh-lead: 1.5;
  --fs-body: 18px;    --lh-body: 1.62;
  --fs-small: 15px;   --lh-small: 1.5;
  --fs-eyebrow: 13px; --tracking-eyebrow: 0.28em;

  /* Spacing (8px base) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --sp-9: 96px; --sp-10: 128px;

  /* Radii */
  --r-xs: 1px; --r-sm: 2px; --r-md: 3px; --r-lg: 5px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 28px rgba(0,0,0,0.45);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.55);
  --glow-gold: 0 0 0 1px rgba(216,179,61,0.38), 0 8px 30px rgba(216,179,61,0.14);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 320ms;
}

/* Light-theme override — scoped to the page-content wrapper on light pages
   (Philosophie, Texte, Küche, Kabinett, Portrait, Dokumente, Links).
   Header/footer stay on the dark :root tokens on every page. */
.theme-light {
  --ink: #F4EEE0;
  --ink-2: #EBE3D1;
  --charcoal: #DED4BC;
  --ink-line: rgba(20,17,11,.16);
  --fg-1: #1B160E;
  --fg-2: #4A4231;
  --fg-3: #7A6E54;
  --gold: var(--gold-deep);
  --shadow-sm: 0 1px 2px rgba(20,17,11,.10);
  --shadow-md: 0 10px 30px rgba(20,17,11,.16);
  --shadow-lg: 0 24px 60px rgba(20,17,11,.20);
}

.gl-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 0;
}

.gl-display { font-family: var(--font-display); font-size: var(--fs-display); line-height: var(--lh-display); font-weight: 600; letter-spacing: 0.005em; }
.gl-h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: 600; }
.gl-h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: var(--lh-h2); font-weight: 600; }
.gl-h3 { font-family: var(--font-display); font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: 500; }
.gl-lead { font-family: var(--font-body); font-size: var(--fs-lead); line-height: var(--lh-lead); font-style: italic; color: var(--fg-2); }
.gl-body { font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); color: var(--fg-1); }
.gl-small { font-family: var(--font-body); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--fg-3); }
.gl-rule { width: 56px; height: 1px; background: var(--gold); opacity: 0.8; }
