/* fonts/fonts.css */
/* Lokal eingebundene Webfonts (Quicksand, Playfair Display, Allura) – keine Verbindung zu Google. Lizenz: SIL Open Font License 1.1 */
@font-face { font-family: 'Allura'; font-style: normal; font-weight: 400; font-display: swap; src: url('allura-normal-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: 'Allura'; font-style: normal; font-weight: 400; font-display: swap; src: url('allura-normal-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: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap; src: url('playfair-display-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: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap; src: url('playfair-display-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: 'Playfair Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('playfair-display-normal-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: 'Playfair Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('playfair-display-normal-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: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('playfair-display-normal-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: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('playfair-display-normal-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: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('playfair-display-normal-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: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('playfair-display-normal-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: 'Quicksand'; font-style: normal; font-weight: 300; font-display: swap; src: url('quicksand-normal-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: 'Quicksand'; font-style: normal; font-weight: 300; font-display: swap; src: url('quicksand-normal-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: 'Quicksand'; font-style: normal; font-weight: 400; font-display: swap; src: url('quicksand-normal-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: 'Quicksand'; font-style: normal; font-weight: 400; font-display: swap; src: url('quicksand-normal-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: 'Quicksand'; font-style: normal; font-weight: 500; font-display: swap; src: url('quicksand-normal-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: 'Quicksand'; font-style: normal; font-weight: 500; font-display: swap; src: url('quicksand-normal-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: 'Quicksand'; font-style: normal; font-weight: 600; font-display: swap; src: url('quicksand-normal-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: 'Quicksand'; font-style: normal; font-weight: 600; font-display: swap; src: url('quicksand-normal-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{--font-brand:"Quicksand","Helvetica Neue",sans-serif;--font-body:"Quicksand","Helvetica Neue",Arial,sans-serif;--font-rounded:"Quicksand","Helvetica Neue",Arial,sans-serif;--font-body-web:var(--font-rounded);--font-serif:"Playfair Display",Georgia,serif;--font-script:"Allura",cursive;--font-script-alt:"Allura",cursive}

/* tokens/colors.css */
:root {
  /* ---- Base palette (brand-defined) ---- */
  --morpho-900: #10303f;
  --morpho-700: #17475d;
  --morpho-500: #1f5c7a; /* Morpho-Blau — primary */
  --morpho-300: #4d8199;
  --morpho-100: #b9cdd6;
  --morpho-050: #e6eef2;

  /* Black is a BRAND colour (with beige/creme). The anthracite ramp below is a
     neutral scale for UI chrome only — never the ground of a branded surface. */
  --ink-900: #000000;
  --ink-800: #0a0a0a;
  --ink-700: #141414;

  --anthracite-900: #1c1c1c;
  --anthracite-700: #232323;
  --anthracite-500: #2e2e2e; /* Anthrazit — dark surface */
  --anthracite-300: #4a4a48;
  --anthracite-200: #6b6862; /* warm greige, alternate dark ground */

  --creme-500: #d9c9b8; /* Beige/Creme — warm ground tone */
  --creme-300: #e6dbcd;
  --creme-100: #f3ece4;
  --creme-700: #c0ab97;
  --creme-ink: #e8ddd3; /* cream text on dark */
  --creme-label: #c4b6a8; /* muted warm greige — series label on anthracite */
  --creme-label-rule: #a99c8e;

  --white: #ffffff;
  --black: #000000;

  /* ---- Semantic: surfaces ---- */
  --surface-dark: var(--ink-900);
  --surface-dark-warm: var(--anthracite-200);
  --surface-light: var(--creme-100);
  --surface-creme: var(--creme-500);
  --surface-page: var(--white);
  --surface-card: var(--white);
  --surface-card-dark: var(--ink-800);
  --surface-accent: var(--morpho-500);

  /* ---- Semantic: text ---- */
  --text-body: var(--black);
  --text-muted: #565656;
  --text-on-dark: var(--white);
  --text-on-dark-muted: var(--creme-ink);
  --text-accent: var(--morpho-500);
  --text-brand: var(--white);
  --text-inverse: var(--white);

  /* ---- Semantic: lines ---- */
  --line-hairline: rgba(0, 0, 0, 0.14);
  --line-hairline-dark: rgba(232, 221, 211, 0.45);
  --line-rule: var(--creme-700);
  --line-strong: var(--ink-900);

  /* ---- Semantic: interactive ---- */
  /* Aktions-Blau: leuchtendes Morpho-Blau, deutlich brillanter als das gedeckte
     #1F5C7A der Flächen. Nur für Buttons und Links, nie als Hintergrund. */
  --action-blue: #3047ea;
  --action-primary: var(--action-blue);
  --action-primary-hover: #2439c4;
  --action-primary-active: #1b2c9e;
  --action-quiet: transparent;
  --action-quiet-hover: rgba(48, 71, 234, 0.08);
  --focus-ring: var(--action-blue);
  --disabled-fg: rgba(0, 0, 0, 0.32);
  --disabled-bg: rgba(0, 0, 0, 0.06);

  /* ---- Semantic: status (derived, used sparingly) ---- */
  --status-success: #3f6b52;
  --status-warning: #a8762f;
  --status-error: #8e3b34;
  --status-info: var(--morpho-500);

  /* ---- Overlays / protection ---- */
  --scrim-dark: rgba(0, 0, 0, 0.6);
  --scrim-creme: rgba(217, 201, 184, 0.62);
  --scrim-thursday: rgba(150, 128, 112, 0.16); /* CopyThursday: barely-there warm veil under white copy */
  --scrim-gradient-bottom: linear-gradient(to top, rgba(28, 28, 28, 0.72), rgba(28, 28, 28, 0)); /* @kind color */
}

/* tokens/typography.css */
:root {
  /* ---- Scale (posts are authored at 1080px, so the scale runs large) ---- */
  --text-2xs: 0.6875rem; /* 11 */
  --text-xs: 0.75rem;    /* 12 */
  --text-sm: 0.875rem;   /* 14 */
  --text-md: 1rem;       /* 16 — body default */
  --text-lg: 1.125rem;   /* 18 */
  --text-xl: 1.375rem;   /* 22 */
  --text-2xl: 1.75rem;   /* 28 */
  --text-3xl: 2.25rem;   /* 36 */
  --text-4xl: 3rem;      /* 48 */
  --text-5xl: 4rem;      /* 64 */
  --text-6xl: 5.5rem;    /* 88 — post headline */

  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.55;
  --leading-loose: 1.8;

  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* ---- Tracking ---- */
  --tracking-brand: 0.22em;  /* COPYMORPHOSE wordmark */
  --tracking-label: 0.08em;  /* small caps UI labels */
  --tracking-normal: 0em;
  --tracking-tight: -0.01em;

  /* ---- Semantic roles ---- */
  --type-brandname-family: var(--font-brand);
  --type-brandname-weight: var(--weight-medium);
  --type-brandname-tracking: var(--tracking-brand);

  --type-slogan-family: var(--font-brand);
  --type-slogan-weight: var(--weight-regular);
  --type-slogan-tracking: 0.06em;

  --type-series-family: var(--font-serif);
  --type-series-weight: var(--weight-regular);

  --type-heading-family: var(--font-body);
  --type-heading-weight: var(--weight-light);

  --type-body-family: var(--font-body);
  --type-body-weight: var(--weight-regular);
  --type-body-size: var(--text-md);
  --type-body-leading: var(--leading-normal);

  --type-emphasis-family: var(--font-serif);
  --type-copyword-family: var(--font-script);
}

/* tokens/spacing.css */
:root {
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  /* Layout */
  --gutter: var(--space-5);
  --page-pad-x: var(--space-7);
  --section-pad-y: var(--space-9);
  --measure: 62ch;          /* long-form reading width */
  --measure-short: 34ch;    /* post copy / punchlines */
  --max-content: 1180px;

  /* Social post canvas (1080 x 1350) */
  --post-w: 1080px;
  --post-h: 1350px;
  --post-margin: 48px;
}

/* tokens/radii.css */
:root {
  /* The brand is square-cornered. Radius is an exception, never a default. */
  --radius-0: 0px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-pill: 999px;

  --radius-card: var(--radius-0);
  --radius-button: var(--radius-sm);
  --radius-input: var(--radius-sm);
  --radius-tag: var(--radius-pill);
  --radius-image: var(--radius-0);
}

/* tokens/elevation.css */
:root {
  /* Shadows are quiet and warm-neutral. Never coloured, never large-spread. */
  --shadow-none: none;
  --shadow-1: 0 1px 2px rgba(28, 28, 28, 0.06);
  --shadow-2: 0 2px 10px rgba(28, 28, 28, 0.08);
  --shadow-3: 0 12px 36px rgba(28, 28, 28, 0.14);
  --shadow-inset-hairline: inset 0 0 0 1px var(--line-hairline);

  --border-hairline: 1px solid var(--line-hairline);
  --border-hairline-dark: 1px solid var(--line-hairline-dark);
  --border-strong: 1px solid var(--line-strong);
  --rule-weight: 1px;

  --blur-veil: 10px;   /* soft-focus lifestyle photography */
  --blur-heavy: 24px;
}

/* tokens/motion.css */
:root {
  /* Calm and introspective: fades and small translations only. No bounce. */
  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1); /* @kind other */
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1); /* @kind other */
  --ease-in: cubic-bezier(0.4, 0, 1, 1); /* @kind other */

  --dur-instant: 90ms; /* @kind other */
  --dur-fast: 160ms; /* @kind other */
  --dur-base: 240ms; /* @kind other */
  --dur-slow: 420ms; /* @kind other */
  --dur-reveal: 700ms; /* @kind other */

  --transition-control: color var(--dur-fast) var(--ease-standard),
    background-color var(--dur-fast) var(--ease-standard),
    border-color var(--dur-fast) var(--ease-standard),
    opacity var(--dur-fast) var(--ease-standard);
  --transition-reveal: opacity var(--dur-reveal) var(--ease-out-soft),
    transform var(--dur-reveal) var(--ease-out-soft);
}

/* tokens/base.css */
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--type-body-family);
  font-weight: var(--type-body-weight);
  font-size: var(--type-body-size);
  line-height: var(--type-body-leading);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
h1, h2, h3, h4 {
  font-family: var(--type-heading-family);
  font-weight: var(--type-heading-weight);
  line-height: var(--leading-snug);
  margin: 0 0 var(--space-4);
}
p { margin: 0 0 var(--space-4); }
a { color: var(--action-blue); text-decoration: none; border-bottom: 1px solid rgba(48, 71, 234, 0.35); transition: var(--transition-control); }
a:hover { color: #2439c4; border-bottom-color: #2439c4; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
::selection { background: var(--creme-500); color: var(--black); }

