/* Nowoczesna Plebania — design tokens. Light theme only; a dark theme overrides the colour block. */
@font-face { font-family: "Brygada 1918"; src: url("../fonts/Brygada1918-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Brygada 1918"; src: url("../fonts/Brygada1918-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Brygada 1918"; src: url("../fonts/Brygada1918-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Commissioner"; src: url("../fonts/Commissioner-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Commissioner"; src: url("../fonts/Commissioner-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

@layer tokens {
  :root {
    /* colour */
    --brand: #763d0e;
    --brand-strong: #5a2d08;
    --on-brand: #ffffff;
    --accent: #bd7b1e;
    --accent-strong: #8f5a12;
    --accent-on-brand: #ebb766;
    --ink: #241a13;
    --ink-muted: #62564a;
    --surface: #ffffff;
    --surface-alt: #f7f2ea;
    --surface-inverse: #2a1c12;
    --on-inverse: #ffffff;
    --on-inverse-muted: #d9cbbb;
    --border: #e3d9cb;
    --border-strong: #8a7a66;
    --sponsored-bg: #f6ead6;
    --success: #1e6a3c;
    --success-bg: #e7f3ea;
    --danger: #a32a1c;
    --danger-bg: #fbeae6;
    --overlay: rgba(36, 26, 19, 0.92);
    --focus: var(--ink);
    --focus-on-dark: var(--accent-on-brand);
    --btn-highlight: rgba(255, 255, 255, 0.24);
    --btn-highlight-on-dark: rgba(255, 255, 255, 0.38);
    --btn-depth-line: rgba(36, 26, 19, 0.28);
    --btn-depth-line-on-dark: rgba(0, 0, 0, 0.5);
    --btn-sheen: rgba(255, 255, 255, 0.08);
    --btn-sheen-pressed: rgba(36, 26, 19, 0.18);
    --btn-quiet-highlight: rgba(255, 255, 255, 0.9);
    --btn-quiet-highlight-on-dark: rgba(255, 255, 255, 0.18);
    /* type */
    --font-serif: "Brygada 1918", Georgia, "Times New Roman", serif;
    --font-sans: Commissioner, "Segoe UI", Roboto, Arial, sans-serif;
    /* spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;
    /* radius */
    --radius-sm: 2px;
    --radius-md: 3px;
    --radius-lg: 8px;
    /* shadow */
    --shadow-sm: 0 1px 2px rgba(36, 26, 19, 0.08);
    --shadow-md: 0 6px 24px rgba(36, 26, 19, 0.14);
    --btn-contact: 0 1px 2px rgba(36, 26, 19, 0.32);
    --btn-contact-hover: 0 2px 4px rgba(36, 26, 19, 0.3);
    --btn-pressed: inset 0 2px 4px rgba(36, 26, 19, 0.42);
    --btn-contact-on-dark: 0 1px 3px rgba(0, 0, 0, 0.6);
    --btn-contact-hover-on-dark: 0 3px 6px rgba(0, 0, 0, 0.6);
    --btn-pressed-on-dark: inset 0 2px 5px rgba(0, 0, 0, 0.6);
    --btn-quiet-contact: 0 1px 1px rgba(36, 26, 19, 0.12);
    --btn-quiet-hover: 0 2px 6px rgba(36, 26, 19, 0.16);
    --btn-quiet-pressed: inset 0 1px 3px rgba(36, 26, 19, 0.22);
    --btn-quiet-contact-on-dark: 0 1px 2px rgba(0, 0, 0, 0.5);
    --btn-quiet-hover-on-dark: 0 2px 8px rgba(0, 0, 0, 0.55);
    --btn-quiet-pressed-on-dark: inset 0 1px 4px rgba(0, 0, 0, 0.6);
    /* fontSize */
    --fs-xs: 0.8125rem;
    --fs-sm: 0.9375rem;
    --fs-md: 1.0625rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.375rem;
    --fs-h3: 1.5rem;
    --fs-h3-sm: 1.3125rem;
    --fs-h2: 1.875rem;
    --fs-h2-sm: 1.5625rem;
    --fs-h1: 2.75rem;
    --fs-h1-sm: 2rem;
    /* lineHeight */
    --lh-tight: 1.15;
    --lh-snug: 1.3;
    --lh-normal: 1.5;
    --lh-loose: 1.65;
    /* fontWeight */
    --fw-regular: 400;
    --fw-semibold: 600;
    /* layout */
    --container: 77.5rem;
    --content: 47.5rem;
    --measure: 40rem;
    --sidebar: 300px;
    --gutter: 1rem;
    --gutter-lg: 1.5rem;
    --tap: 2.75rem;
    --focus-width: 3px;
    --focus-offset: 2px;
    --rule: 3px;
    /* breakpoint */
    --bp-sm: 480px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1280px;
    /* zIndex */
    --z-header: 100;
    --z-dropdown: 200;
    --z-cookie: 300;
    --z-ribbon: 400;
    /* ad */
    --ad-billboard-w: 970px;
    --ad-billboard-h: 250px;
    --ad-billboard-h-m: 100px;
    --ad-rect-w: 300px;
    --ad-rect-h: 250px;
    --ad-half-h: 600px;
    --ad-inarticle-w: 336px;
    /* ad placeholder ("wydmuszka"): neutral grey, AA text on both greys */
    --ad-ph-bg: #e6e6e6;
    --ad-ph-hatch: #d9d9d9;
    --ad-ph-border: #6b6b6b;
    --ad-ph-ink: #2b2b2b;
    --ad-ph-ink-muted: #4a4a4a;
    --ad-gap: var(--space-6);
    /* duration */
    --dur-1: 120ms;
    --dur-2: 150ms;
    /* button */
    --btn-glow-rest: 0 6px 14px -6px;
    --btn-glow-hover: 0 10px 20px -8px;
    --btn-glow-strength: 42%;
    --btn-glow-strength-hover: 54%;
    --btn-glow-strength-on-dark: 22%;
    --btn-glow-strength-hover-on-dark: 30%;
    --btn-hover-brightness: 1.06;
    --btn-hover-brightness-on-dark: 1.1;
    --btn-lift: 1px;
  }
  @media (prefers-reduced-motion: reduce) {
    :root { --dur-1: 0ms; --dur-2: 0ms; --btn-lift: 0px; }
  }
}
