:root {
  color-scheme: light;
  --paper: #f4f0e7;
  --paper-deep: #e8e0d2;
  --ink: #171b20;
  --ink-soft: #50545a;
  --line: #79766f;
  --navy: #17365d;
  --navy-soft: #d6e2ed;
  --coral: #a33d2d;
  --coral-soft: #f0d6cf;
  --violet: #664c82;
  --violet-soft: #e2d9e9;
  --focus: #005fcc;
  --white: #fffdf8;
  --sharpness: 28;
  --edge-radius: 5px;
  --edge-width: 1px;
  --zone-width: 10px;
  --edge-alpha: 0.72;
  --content: 72rem;
  --reading: 68ch;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 9rem;
}

body {
  margin: 0;
  min-width: 20rem;
  background:
    linear-gradient(115deg, transparent 0 48%, rgb(23 54 93 / 0.025) 48% 49%, transparent 49% 100%),
    linear-gradient(25deg, transparent 0 66%, rgb(163 61 45 / 0.025) 66% 67%, transparent 67% 100%),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

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

button,
input[type="radio"],
input[type="range"],
summary {
  cursor: pointer;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

p,
ul,
ol,
dl {
  margin-block: 0 1rem;
}

h1,
h2,
h3,
h4 {
  margin-block: 0;
  text-wrap: balance;
}

h1,
h2,
.motion,
.round-question,
.result-transition {
  font-family: var(--serif);
  font-weight: 500;
}

h1 {
  font-size: clamp(4.2rem, 15vw, 10rem);
  letter-spacing: -0.075em;
  line-height: 0.8;
}

h2 {
  font-size: clamp(2.3rem, 6vw, 5.3rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.15;
}

button {
  min-height: 2.75rem;
  border: var(--edge-width) solid rgb(23 27 32 / var(--edge-alpha));
  border-radius: var(--edge-radius);
  background: var(--ink);
  color: var(--paper);
  padding: 0.72rem 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 150ms ease, background-color 150ms ease;
}

input[type="range"] {
  min-height: 2.75rem;
}

button:hover:not(:disabled) {
  transform: translateY(-1px);
  background: #30353b;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.button-quiet {
  min-height: 2.75rem;
  border-color: transparent;
  background: transparent;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.button-quiet:hover:not(:disabled) {
  background: rgb(23 27 32 / 0.06);
  color: var(--ink);
}

.eyebrow,
.section-number,
.content-tag,
.side-label,
.exhibit-favors,
.status-tag {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.muted {
  color: var(--ink-soft);
}

.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;
}

[hidden] {
  display: none !important;
}

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

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