:root {
  --carnival-red: #FF0000;
  --carnival-blue: #1E90FF;
  --carnival-yellow: #FFD700;
  --ink-black: #000000;
  --paper-light: #F5F5F5;
  --white: #FFFFFF;
  --focus-ring: #1E90FF;
  --font-heading: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Roboto Condensed", "Arial Narrow", sans-serif;
  --text-display: clamp(2rem, 5vw + 1rem, 3.5rem);
  --text-h1: clamp(1.75rem, 4vw + 0.75rem, 2.5rem);
  --text-h2: clamp(1.5rem, 3vw + 0.5rem, 1.75rem);
  --text-h3: clamp(1.25rem, 2vw + 0.5rem, 1.375rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
  --leading-display: 1.1;
  --leading-h1: 1.2;
  --leading-h2: 1.3;
  --leading-h3: 1.4;
  --leading-body: 1.6;
  --leading-small: 1.5;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --container-narrow: 720px;
  --container-default: 960px;
  --container-wide: 1200px;
  --border-thin: 2px solid var(--ink-black);
  --border-blue: 2px solid var(--carnival-blue);
  --radius-none: 0px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-flat: none;
  --shadow-hover: 0 4px 0 0 rgba(0, 0, 0, 0.2);
  --transition-fast: 150ms ease-in-out;
}
section {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--ink-black);
  background-color: var(--paper-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--carnival-red);
  margin-block-end: var(--space-3);
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1 {
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
}

h2 {
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
}

h3 {
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
}

h4 {
  font-size: var(--text-body);
  line-height: var(--leading-h3);
  color: var(--ink-black);
}

h5,
h6 {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--ink-black);
}

p {
  margin-block-end: var(--space-3);
  overflow-wrap: break-word;
}

p:last-child {
  margin-block-end: 0;
}

a {
  color: var(--carnival-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--carnival-red);
}

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

ul,
ol {
  margin-block-end: var(--space-3);
  padding-inline-start: var(--space-4);
}

ul:last-child,
ol:last-child {
  margin-block-end: 0;
}

blockquote {
  margin-block-end: var(--space-3);
  padding-inline-start: var(--space-4);
  border-inline-start: 4px solid var(--carnival-yellow);
  font-style: italic;
}

blockquote:last-child {
  margin-block-end: 0;
}

figure {
  margin-block-end: var(--space-3);
}

figure:last-child {
  margin-block-end: 0;
}

figcaption {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  margin-block-start: var(--space-2);
  color: var(--ink-black);
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-block-end: var(--space-3);
}

table:last-child {
  margin-block-end: 0;
}

caption {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  margin-block-end: var(--space-2);
  text-align: start;
}

th,
td {
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--ink-black);
  text-align: start;
  vertical-align: top;
}

th {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--carnival-yellow);
  color: var(--ink-black);
}

hr {
  border: none;
  border-block-start: var(--border-thin);
  margin-block: var(--space-4);
}

.container {
  width: 100%;
  max-width: var(--container-default);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  min-width: 0;
}

.flex > * {
  min-width: 0;
  flex-shrink: 1;
}

.flex-nowrap {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-3);
  min-width: 0;
}

.flex-nowrap > * {
  min-width: 0;
  flex-shrink: 1;
}

.flex-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}

.flex-column > * {
  min-width: 0;
  flex-shrink: 1;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  min-width: 0;
}

.flex-center > * {
  min-width: 0;
  flex-shrink: 1;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  min-width: 0;
}

.flex-between > * {
  min-width: 0;
  flex-shrink: 1;
}

.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: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 9999;
  background-color: var(--carnival-yellow);
  color: var(--ink-black);
  padding: var(--space-2) var(--space-3);
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--transition-fast);
}

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



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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}