/* ==========================================================================
   Fursys Theme — Design Tokens
   Colors, type scale, spacing, and base reset. Values ported 1:1 from the
   client design handoff (design_handoff_fursys_website/README.md).
   ========================================================================== */

@font-face {
  font-family: 'Fursys Sans';
  src: url('../fonts/FursysSans-Regular.woff2') format('woff2'),
       url('../fonts/FursysSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fursys Sans';
  src: url('../fonts/FursysSans-Medium.woff2') format('woff2'),
       url('../fonts/FursysSans-Medium.woff') format('woff');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --color-red: #E60012;
  --color-red-dark: #C4000F;

  /* Ink / dark surfaces */
  --color-ink: #1A1A1A;
  --color-header: #161616;
  --color-footer: #0E0E0E;
  --color-border-onDark-strong: #2A2A2A;
  --color-border-onDark: #262626;

  /* Page / card surfaces */
  --color-bg: #FAFAF8;
  --color-card: #FFFFFF;
  --color-well: #F4F3F1;

  /* Borders (light surfaces) */
  --color-border-card: #EAE8E5;
  --color-border-rule: #E2E0DC;
  --color-border-input: #D5D2CD;

  /* Text (muted scale) */
  --color-text: var(--color-ink);
  --color-text-body: #454239;
  --color-text-muted: #6E6A63;
  --color-text-secondary: #8A867E;
  --color-text-tertiary: #9B978F;
  --color-text-faint: #C9C5BE;
  --color-text-onDark-secondary: #B8B5B0;

  /* Type */
  --font-sans: 'Fursys Sans', Helvetica, Arial, sans-serif;
  --fs-h1-max: 64px;
  --fs-h1-min: 44px;
  --fs-h2-max: 40px;
  --fs-h2-min: 28px;
  --fs-eyebrow: 13px;
  --fs-body-max: 17px;
  --fs-body-min: 15px;
  --fs-small: 14px;
  --fs-xsmall: 13px;

  /* Spacing */
  --gutter: 72px;
  --gutter-mobile: 20px;
  --section-pad: 88px;
  --section-pad-mobile: 40px;
  --grid-gap: 22px;
  --grid-gap-mobile: 15px;

  /* Motion */
  --transition-fast: 160ms ease;

  /* Shadows */
  --shadow-drawer: -12px 0 40px rgba(0, 0, 0, 0.25);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.5;
}
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--color-ink); text-decoration: none; }
a:hover { color: var(--color-red); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select {
  font-family: var(--font-sans);
  font-size: 16px;
  color: inherit;
}
button { cursor: pointer; background: none; border: none; padding: 0; }
:focus-visible { outline: 2px solid var(--color-red); outline-offset: 2px; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-red);
  color: #fff;
  padding: 14px 22px;
  z-index: 999;
  font-weight: 500;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container { padding-left: var(--gutter); padding-right: var(--gutter); }
.eyebrow {
  margin: 0 0 10px;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-red);
  font-weight: 500;
}
.h1 { margin: 0 0 12px; font-size: var(--fs-h1-max); line-height: 1.06; font-weight: 700; text-wrap: pretty; }
.h2 { margin: 0; font-size: var(--fs-h2-max); font-weight: 700; text-wrap: pretty; }
.lede { font-size: var(--fs-body-max); line-height: 1.6; color: var(--color-text-muted); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--color-text-tertiary); margin-bottom: 28px; }
.breadcrumbs a { color: var(--color-text-tertiary); }
.breadcrumbs .current { color: var(--color-ink); }

.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

/* No border radius anywhere except circles/badges (per design tokens). */
