*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  overflow-x: clip;
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) transparent;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background-color: var(--scroll-thumb-hover);
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
  background: transparent;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--cta);
  color: var(--cta-text);
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 12px;
  color: #c5b4f0;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow--on-dark {
  color: #c5b4f0;
}

.section__lead {
  margin-top: 14px;
  max-width: 38rem;
  color: var(--ink-muted);
  font-size: clamp(1.0625rem, 4.31vw, 1.47rem);
  font-weight: 400;
  line-height: 1.4;
}

.section__lead + .section__lead {
  margin-top: 0.85em;
}

.section__lead--on-dark {
  color: var(--action-muted);
}

@keyframes scene-intro-in {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(5px);
  }

  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html.js .scene-intro:not(.is-ready) > * {
    opacity: 0;
  }

  html.js .scene-intro.is-ready > * {
    animation: scene-intro-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  html.js .scene-intro.is-ready > :nth-child(2) { animation-delay: 0.08s; }
  html.js .scene-intro.is-ready > :nth-child(3) { animation-delay: 0.16s; }
  html.js .scene-intro.is-ready > :nth-child(4) { animation-delay: 0.24s; }
  html.js .scene-intro.is-ready > :nth-child(5) { animation-delay: 0.32s; }
  html.js .scene-intro.is-ready > :nth-child(n + 6) { animation-delay: 0.4s; }
}

.microcopy {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: center;
}

.microcopy--on-dark {
  color: var(--action-muted);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
