/* Nudism.org static project tokens. Mirrors static-sites/docs/DESIGN_SYSTEM.md. */

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-variable.woff2") format("woff2-variations"),
       url("../fonts/inter-tight-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Baskervville";
  src: url("../fonts/baskervville-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Baskervville";
  src: url("../fonts/baskervville-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: optional;
}

:root {
  --brand-primary: #0081bd;
  --brand-accent: #1a1a1a;
  --brand-surface: #ffffff;
  --brand-ink: #2a2a2a;

  --color-text-primary: #2a2a2a;
  --color-text-secondary: #555555;
  --color-text-tertiary: #828282;
  --color-text-on-dark: #fafafa;
  --color-surface-page: #ffffff;
  --color-surface-container: #f2f2f2;
  --color-border-container: #cccccc;
  --color-frame-bg: #ffffff;
  --color-button-primary-bg: var(--brand-primary);
  --color-button-secondary-bg: var(--brand-accent);
  --color-button-neutral-bg: #eaeaea;
  --color-button-subtle-bg: #efefef;
  --color-button-white-bg: #ffffff;
  --color-button-text-on-primary: #ffffff;
  --color-button-text-on-secondary: #fafafa;
  --color-button-text-on-neutral: #000000;
  --color-state-hover: #f5f5f5;
  --color-state-active: #eaeaea;
  --color-overlay-light: rgba(255,255,255,0.08);
  --color-overlay-dark: rgba(0,0,0,0.06);
  --color-icon-muted: rgba(0,0,0,0.45);
  --color-modal-scrim: rgba(0,0,0,0.42);
  --color-divider-strong: rgba(0,0,0,0.55);
  --color-text-note: rgba(0,0,0,0.80);

  --color-n0: #ffffff;
  --color-n1: #fafafa;
  --color-n2: #f5f5f5;
  --color-n3: #eaeaea;
  --color-n4: #cccccc;
  --color-n5: #828282;
  --color-n6: #555555;
  --color-n7: #2a2a2a;
  --color-n8: #1a1a1a;
  --color-n9: #000000;
  --color-success: #2f7a3d;
  --color-success-bg: rgba(47,122,61,0.10);
  --color-warning: #c47e1f;
  --color-warning-bg: rgba(196,126,31,0.10);
  --color-danger: #b13a2e;
  --color-danger-bg: rgba(177,58,46,0.10);
  --color-info: #2f6b8c;
  --color-info-bg: rgba(47,107,140,0.10);

  --font-body: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-body);
  --font-quote: "Baskervville", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --letter-spacing-body: 0.014em;

  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --text-2xs: 0.625rem;
  --text-xs: 0.6875rem;
  --text-sm: 0.75rem;
  --text-base: 0.875rem;
  --text-normal: var(--text-base);
  --text-md: 1rem;
  --text-md2: 1.25rem;
  --text-lg: 1.375rem;
  --text-xlg: 1.8rem;
  --text-xxlg: 2rem;
  --text-xxxlg: 2.25rem;
  --text-xxxxlg: 3rem;
  --text-quote-max: 2.625rem;
  --text-code-inline: 0.95em;

  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-base: 1.55;
  --leading-loose: 1.75;

  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --space-11: 10rem;
  --space-12: 12rem;
  --space-quote-default: 1.875rem;

  --size-tab-height: 2.875rem;
  --size-tab-min-width: 6.5rem;
  --size-avatar: 2.375rem;
  --size-icon-circle: 2.75rem;
  --size-header-mobile: 4rem;
  --size-header-desktop: 5rem;
  --size-sidebar: 15rem;
  --size-drawer: 20rem;
  --size-icon: 1.25rem;
  --size-icon-sm: 1rem;
  --size-icon-graphic: 2.25rem;

  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-modal-cta: 1.125rem;
  --radius-lg: 1.5rem;
  --radius-pill: 9999px;
  --radius-circle: 50%;
  --border-thin: 1px;
  --border-medium: 2px;
  --outline-width: 2px;
  --outline-offset: 2px;
  --underline-offset-link: 2px;
  --focus-ring-primary: 0 0 0 3px rgba(0,129,189,0.20);
  --focus-ring-accent: 0 0 0 3px rgba(26,26,26,0.18);
  --shadow-low: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-medium: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-high: 0 12px 28px rgba(0,0,0,0.12);

  --bp-xs: 0;
  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
  --bp-xxl: 1800px;
  --max-content-width: 1440px;
  --measure-text: 68ch;
  --measure-narrow: 48ch;

  --z-base: 0;
  --z-content: 1;
  --z-sticky: 100;
  --z-sidebar: 110;
  --z-dropdown: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
  --motion-fast: 120ms;
  --motion-base: 200ms;
  --motion-slow: 320ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-emphasized: cubic-bezier(0.3, 0, 0, 1);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-fast: 1ms;
    --motion-base: 1ms;
    --motion-slow: 1ms;
  }
}
