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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-han);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body[data-band="ink"] {
  background: var(--band-ink);
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: var(--lh-tight);
  color: inherit;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-style: none;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

figure,
figcaption {
  margin: 0;
}

::selection {
  background: var(--red);
  color: #FFF8F0;
}

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

.wrap {
  width: 100%;
  max-width: var(--grid-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: 880px;
}

.section {
  padding-block: var(--sp-9);
}

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

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

.section--paper {
  background: var(--band-paper);
  color: var(--on-paper);
}

.section--paper-2 {
  background: var(--band-paper-2);
  color: var(--on-paper);
}

.section--tight {
  padding-block: clamp(36px, 4vw, 64px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--gold-ink);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--inv {
  color: var(--gold-on-ink);
}

.h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-display);
}

.h2 {
  font-size: var(--fs-h2);
  line-height: 1.18;
}

.h3 {
  font-size: var(--fs-h3);
  line-height: 1.4;
}

.lede {
  font-size: var(--fs-lede);
  line-height: 1.7;
  color: var(--on-paper-dim);
}

.lede--inv {
  color: var(--on-ink-dim);
}

.muted {
  color: var(--on-paper-dim);
}

.muted--inv {
  color: var(--on-ink-dim);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.rule {
  height: 1px;
  border: 0;
  background: var(--line);
}

.rule--inv {
  background: var(--line-inv);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.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;
  top: 10px;
  left: 50%;
  z-index: 200;
  transform: translate(-50%, -140%);
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--red);
  color: var(--on-red);
  font-size: var(--fs-small);
  transition: transform var(--dur-base) var(--ease);
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
}

.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--band-ink-3);
  border-radius: inherit;
}

.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--dur-slow) var(--ease), filter var(--dur-base) linear;
}

.media--poster {
  aspect-ratio: 2 / 3;
}

.media--wide {
  aspect-ratio: 16 / 9;
}

.media--tile {
  aspect-ratio: 3 / 2;
}

.media--banner {
  aspect-ratio: 21 / 9;
}

.media--thumb {
  aspect-ratio: 2 / 3;
  width: 56px;
  flex: 0 0 56px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
