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

html {
  min-width: 20rem;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  background: var(--background);
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: clip;
  color: var(--foreground);
  background: var(--background);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

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

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

button,
label,
summary,
a {
  -webkit-tap-highlight-color: var(--transparent);
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
ol,
blockquote {
  margin-top: 0;
}

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

p,
li {
  text-wrap: pretty;
}

address {
  font-style: normal;
}

::selection {
  color: var(--accent-ink);
  background: var(--accent);
}

:focus-visible {
  outline: 0.1875rem solid var(--accent);
  outline-offset: 0.25rem;
  box-shadow: 0 0 0 0.4rem var(--focus-ring);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: var(--radius-small);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease-out);
}

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

.shell {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: var(--section-space) var(--page-gutter);
}

.section--muted {
  background: var(--surface-muted);
}

.section--surface {
  background: var(--surface);
}

.eyebrow {
  margin-bottom: 1.1rem;
  color: var(--accent);
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.display-title {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.page-title {
  max-width: 15ch;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 5.5vw, 4.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.section-title {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-lede {
  max-width: var(--reading-width);
  margin-bottom: 0;
  color: var(--muted-foreground);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.text-link__arrow {
  transition: transform 180ms var(--ease-out);
}

.text-link:hover .text-link__arrow {
  transform: translateX(0.25rem);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.4rem);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
