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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  margin: 0;

  font-family: var(--ah-font-text);
  font-size: var(--ah-step-0);
  line-height: 1.7;
  color: var(--ah-ink);
  background: var(--ah-lime);
  -webkit-font-smoothing: antialiased;
}

main { flex: 1 0 auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--ah-font-display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: var(--ah-track-tight);
  text-wrap: balance;
}

h1 { font-size: var(--ah-step-4); letter-spacing: var(--ah-track-tighter); }
h2 { font-size: var(--ah-step-3); }
h3 { font-size: var(--ah-step-1); }

p { margin: 0 0 var(--ah-space-s); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--ah-aegean);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--ah-aegean-deep); }

:focus-visible {
  outline: 2px solid var(--ah-aegean);
  outline-offset: 3px;
  border-radius: 2px;
}

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

img, video {
  height: auto;
  display: block;
}

[hidden] { display: none !important; }

ul, ol { margin: 0 0 var(--ah-space-s); padding-left: 1.2em; }

hr {
  height: 1px;
  margin: var(--ah-space-m) 0;
  border: 0;
  background: var(--ah-line);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--ah-step--1);
}

th, td {
  padding: 0.62rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid var(--ah-line);
  vertical-align: top;
}

th { font-weight: 600; }

.ah-container {
  width: 100%;
  max-width: var(--ah-container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.ah-container--narrow { max-width: var(--ah-container-narrow); }

.ah-section {
  padding-block: clamp(var(--ah-space-l), 10vw, var(--ah-space-2xl));
}

.ah-section--tight { padding-block: clamp(var(--ah-space-m), 5vw, var(--ah-space-l)); }

.ah-section--tinted { background: var(--ah-lime-deep); }

.ah-section--band {
  background: var(--ah-band);
  color: var(--ah-band-ink);
}

.ah-section--band h2 { color: var(--ah-band-ink); }
.ah-section--band a { color: var(--ah-band-accent); }
.ah-section--band .ah-eyebrow { color: var(--ah-band-accent); }
.ah-section--band .ah-lede { color: var(--ah-band-soft); }

.ah-eyebrow {
  margin: 0 0 var(--ah-space-s);
  font-size: var(--ah-step--2);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ah-sand-ink);
}

.ah-lede {
  max-width: var(--ah-measure);
  margin-top: var(--ah-space-s);
  font-size: var(--ah-step-1);
  line-height: 1.55;
  color: var(--ah-ink-soft);
}

.ah-prose {
  max-width: var(--ah-measure);
  margin-top: var(--ah-space-s);
}

h2 + .ah-prose,
h2 + .ah-lede { margin-top: var(--ah-space-s); }

.ah-prose p + p { margin-top: var(--ah-space-s); }

.ah-fineprint {
  font-size: var(--ah-step--2);
  line-height: 1.55;
  color: var(--ah-ink-faint);
}

.ah-figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--ah-radius-l);
  background: var(--ah-shell);
}

.ah-figure picture {
  display: block;
  width: 100%;
  height: 100%;
}

.ah-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ah-figure--wide { aspect-ratio: 16 / 10; }
.ah-figure--tall { aspect-ratio: 3 / 4; }
.ah-figure--square { aspect-ratio: 1 / 1; }
.ah-figure--cinema { aspect-ratio: 21 / 9; }

.ah-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.7rem 1.1rem;
  background: var(--ah-white);
  color: var(--ah-ink);
  border-radius: var(--ah-radius-s);
  z-index: 500;
}

.ah-skip:focus {
  left: var(--ah-space-s);
  top: var(--ah-space-s);
}

.ah-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
