:root {
  color-scheme: light;
  --studio-primary: #b55828;
  --studio-secondary: #efdabc;
  --lab-primary: #414042;
  --lab-secondary: #ffffff;
  --ink: #251c17;
  --muted: #725f54;
  --canvas: #fffaf4;
  --line: rgba(37, 28, 23, 0.18);
  --focus: #175cd3;
  --container: 80rem;
  --gutter: clamp(1rem, 4vw, 4rem);
  --radius-small: 0.4rem;
  --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;
}

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

html {
  scroll-behavior: smooth;
}

body {
  --active-shell-background: var(--studio-secondary);
  --active-shell-foreground: var(--studio-primary);
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body[data-theme="lab"] {
  --active-shell-background: var(--lab-primary);
  --active-shell-foreground: var(--lab-secondary);
}

body,
button,
a {
  font-family: "Inter", sans-serif;
}

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

a {
  color: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin-block-start: 0;
}

h1,
h2,
h3 {
  line-height: 1.06;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  translate: 0 -200%;
  border-radius: var(--radius-small);
  background: var(--lab-secondary);
  color: var(--lab-primary);
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  translate: 0;
}

.section {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding: clamp(4.5rem, 9vw, 8rem) var(--gutter);
}

.eyebrow {
  margin-bottom: var(--space-4);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
