:root {
  --paper: #f4f5f1;
  --paper-bright: #fffef9;
  --ink: #151821;
  --muted: #626773;
  --cobalt: #3157d5;
  --cobalt-soft: #cbd8ff;
  --coral: #f26b4d;
  --lemon: #f1dd67;
  --mint: #a8ddce;
  --line: rgba(21, 24, 33, 0.18);
  --header-offset: clamp(5.75rem, 10svh, 6.5rem);
  --page-gutter: clamp(1rem, 2.2vw, 2rem);
  --content-max: 73.75rem;
  --topbar-max: 72.5rem;
  --hero-layout-max: 85rem;
  --hero-stage-height: clamp(38.75rem, 100svh, 56.25rem);
  --hero-scroll-height: clamp(64rem, 170svh, 96rem);
  --work-overlap: clamp(-34rem, -55svh, -20rem);
  --hero-figure-max: clamp(23rem, 30vw, 26.875rem);
  --hero-copy-max: 38.75rem;
  --mentor-panel-max: clamp(39rem, 50vw, 45rem);
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  touch-action: manipulation;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(21, 24, 33, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 24, 33, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--lemon);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--lemon);
  color: var(--ink);
  font-weight: 850;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

