@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/bebas-neue-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-400.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-500.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-700.woff2') format('woff2');
}

:root {

  --black: #000000;
  --near-black: #0a0a0a;
  --near-black-2: #111111;
  --white: #ffffff;

  --w-100: rgba(255, 255, 255, 1);
  --w-70:  rgba(255, 255, 255, 0.70);
  --w-50:  rgba(255, 255, 255, 0.50);
  --w-25:  rgba(255, 255, 255, 0.25);
  --w-12:  rgba(255, 255, 255, 0.12);
  --w-08:  rgba(255, 255, 255, 0.08);
  --w-04:  rgba(255, 255, 255, 0.04);

  --k-100: rgba(0, 0, 0, 1);
  --k-70:  rgba(0, 0, 0, 0.70);
  --k-50:  rgba(0, 0, 0, 0.50);
  --k-25:  rgba(0, 0, 0, 0.25);
  --k-12:  rgba(0, 0, 0, 0.12);

  --bg: var(--black);
  --surface: var(--near-black);
  --surface-2: var(--near-black-2);
  --surface-card: var(--near-black);
  --surface-inset: #050505;

  --text: var(--white);
  --text-muted: var(--w-50);
  --text-faint: var(--w-25);
  --text-on-light: var(--black);

  --border: var(--w-08);
  --border-strong: var(--w-12);
  --border-hover: var(--w-25);

  --accent: var(--white);
  --accent-ink: var(--black);

  --focus-ring: var(--w-50);
  --selection-bg: var(--white);
  --selection-text: var(--black);
}

::selection {
  background: var(--selection-bg);
  color: var(--selection-text);
}

:root {

  --font-display: 'Bebas Neue', 'Druk Wide', 'Anton', Impact, sans-serif;
  --font-body: 'Inter', 'Neue Haas Grotesk', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --display-xxl: clamp(72px, 12vw, 160px);
  --display-xl: clamp(56px, 8vw, 112px);
  --display-lg: clamp(44px, 6vw, 80px);
  --display-md: 56px;
  --display-sm: 40px;

  --text-xl: 22px;
  --text-lg: 18px;
  --text-md: 16px;
  --text-base: 15px;
  --text-sm: 14px;
  --text-xs: 12px;

  --mono-lg: 16px;
  --mono-md: 14px;
  --mono-sm: 12px;
  --mono-xs: 11px;

  --lh-display: 0.92;
  --lh-tight: 1.1;
  --lh-snug: 1.35;
  --lh-body: 1.6;

  --ls-hero: -0.01em;
  --ls-display: 0.005em;
  --ls-normal: 0;

  --ls-label: 0.12em;
  --ls-label-wide: 0.24em;
  --ls-mono: 0.02em;

  --type-hero: var(--fw-regular) var(--display-xxl)/var(--lh-display) var(--font-display);
  --type-h1: var(--fw-regular) var(--display-xl)/var(--lh-display) var(--font-display);
  --type-h2: var(--fw-regular) var(--display-lg)/var(--lh-tight) var(--font-display);
  --type-body: var(--fw-regular) var(--text-md)/var(--lh-body) var(--font-body);
  --type-label: var(--fw-medium) var(--mono-sm)/1 var(--font-mono);
}

: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;
  --space-11: 192px;
  --space-12: 256px;

  --section-pad-y: clamp(80px, 12vh, 200px);
  --section-pad-x: clamp(24px, 6vw, 120px);

  --maxw-prose: 680px;
  --maxw-content: 1080px;
  --maxw-wide: 1440px;

  --control-h-sm: 36px;
  --control-h-md: 44px;
  --control-h-lg: 56px;
  --control-pad-x: 24px;

  --radius-0: 0;
  --radius-1: 2px;
  --radius-pill: 0;

  --bw: 1px;
  --bw-strong: 1.5px;
}

:root {

  --shadow-0: none;
  --shadow-1: 0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 24px 64px rgba(0, 0, 0, 0.7);
  --shadow-lift: 0 40px 120px rgba(0, 0, 0, 0.8);

  --hairline: 0 0 0 1px var(--w-08);
  --hairline-strong: 0 0 0 1px var(--w-12);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-cinema: cubic-bezier(0.22, 1, 0.36, 1);

  --dur-fast: 160ms;
  --dur-base: 280ms;
  --dur-slow: 520ms;
  --dur-cinema: 900ms;

  --blur-chrome: blur(20px) saturate(120%);
  --blur-overlay: blur(8px);
  --overlay-scrim: rgba(0, 0, 0, 0.72);

  --img-filter: grayscale(0.15) contrast(1.08) brightness(0.92);

  --img-protect: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.85) 100%);
}

:root {

  --gradient-accent: linear-gradient(90deg, #34D399 0%, #22D3EE 100%);
  --gradient-accent-from: #34D399;
  --gradient-accent-to: #22D3EE;

  --gradient-accent-light: linear-gradient(90deg, #10B981 0%, #06B6D4 100%);
  --gradient-accent-light-from: #10B981;
  --gradient-accent-light-to: #06B6D4;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: var(--type-body);
  letter-spacing: var(--ls-normal);
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: var(--fw-regular); }

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img, svg, video { display: block; max-width: 100%; }

button { font-family: inherit; }

.andrs-hero {
  font-family: var(--font-display);
  font-size: var(--display-xxl);
  line-height: var(--lh-display);
  letter-spacing: var(--ls-hero);
  text-transform: uppercase;
  margin: 0;
}
.andrs-h1 {
  font-family: var(--font-display);
  font-size: var(--display-xl);
  line-height: var(--lh-display);
  text-transform: uppercase;
  margin: 0;
}
.andrs-h2 {
  font-family: var(--font-display);
  font-size: var(--display-lg);
  line-height: var(--lh-tight);
  text-transform: uppercase;
  margin: 0;
}

.andrs-label {
  font-family: var(--font-mono);
  font-size: var(--mono-sm);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  color: var(--text-muted);
}

.andrs-index {
  font-family: var(--font-mono);
  font-size: var(--mono-sm);
  letter-spacing: var(--ls-label);
  color: var(--text-faint);
}

.andrs-rule { border: 0; border-top: var(--bw) solid var(--border); margin: 0; }

.andrs-gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.andrs-btn--primary:not(:disabled):hover { background: var(--w-70); border-color: var(--w-70); }
.andrs-btn--secondary:not(:disabled):hover { border-color: var(--white); }
.andrs-btn--ghost:not(:disabled):hover { color: var(--white); }
.andrs-btn--inverted:not(:disabled):hover { background: var(--surface-2); }
.andrs-btn:not(:disabled):active { transform: translateY(1px); }

.andrs-iconbtn--outline:not(:disabled):hover { border-color: var(--border-hover); background: var(--w-04); }
.andrs-iconbtn--ghost:not(:disabled):hover { color: var(--white); background: var(--w-04); }
.andrs-iconbtn--filled:not(:disabled):hover { background: var(--w-70); }

.andrs-input:focus { border-color: var(--border-hover) !important; }
.andrs-input--line:focus { border-bottom-color: var(--white) !important; }

.andrs-card--hover:hover { border-color: var(--border-hover); }

.andrs-tag:hover { border-color: var(--border-hover); }

.andrs-carousel button:hover { border-color: var(--white); background: var(--w-04); }

.andrs-carousel ::-webkit-scrollbar { display: none; }

[data-theme="light"] {

  --white: #000000;
  --black: #ffffff;
  --near-black: #f3f3f3;
  --near-black-2: #ececec;

  --w-100: rgba(0, 0, 0, 1);
  --w-70:  rgba(0, 0, 0, 0.70);
  --w-50:  rgba(0, 0, 0, 0.55);
  --w-25:  rgba(0, 0, 0, 0.30);
  --w-12:  rgba(0, 0, 0, 0.14);
  --w-08:  rgba(0, 0, 0, 0.10);
  --w-04:  rgba(0, 0, 0, 0.04);

  --surface-card: #ffffff;
  --surface-inset: #fafafa;

  --text-on-light: #000000;
}

