:root {
  --color-milk-grey: #F0F3F8;
  --color-white: #FFFFFF;
  --color-graphite: #2D3142;
  --color-pixel-coral: #EF476F;
  --color-graphite-dark: #2D3142;
  --color-white-on-accent: #FFFFFF;

  --font-heading: "Press Start 2P", "Courier New", monospace;
  --font-body: "VT323", "Courier New", monospace;

  --text-hero: clamp(2rem, 5vw, 3rem);
  --text-h1: clamp(1.5rem, 3.5vw, 2rem);
  --text-h2: clamp(1.25rem, 2.5vw, 1.5rem);
  --text-h3: clamp(1.125rem, 2vw, 1.25rem);
  --text-body: 1.125rem;
  --text-caption: 0.875rem;

  --leading-hero: 1.2;
  --leading-h1: 1.3;
  --leading-h2: 1.4;
  --leading-h3: 1.4;
  --leading-body: 1.6;
  --leading-caption: 1.5;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;

  --container-max: 75rem;
  --container-padding: var(--space-lg);

  --border-width: 3px;
  --border-color: var(--color-graphite);
  --border-color-accent: var(--color-pixel-coral);

  --shadow-offset: 4px;
  --shadow-offset-sm: 2px;
  --shadow-color: var(--color-graphite);
  --shadow-hard: var(--shadow-offset) var(--shadow-offset) 0 var(--shadow-color);
  --shadow-hard-sm: var(--shadow-offset-sm) var(--shadow-offset-sm) 0 var(--shadow-color);

  --radius-none: 0;

  --transition-step: 100ms steps(2, end);
}

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

* {
  margin: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-graphite);
  background-color: var(--color-milk-grey);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(45, 49, 66, 0.02) 0px,
    rgba(45, 49, 66, 0.02) 1px,
    transparent 1px,
    transparent 3px
  );
}

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

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

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: var(--leading-h3);
  color: var(--color-graphite);
}

h1 {
  font-size: var(--text-h1);
  line-height: var(--leading-h1);
  margin-block-end: var(--space-md);
}

h2 {
  font-size: var(--text-h2);
  line-height: var(--leading-h2);
  margin-block-end: var(--space-md);
}

h3 {
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  margin-block-end: var(--space-sm);
}

h4,
h5,
h6 {
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  margin-block-end: var(--space-sm);
}

p {
  margin-block-end: var(--space-md);
}

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

blockquote {
  margin-block-end: var(--space-md);
  padding-inline-start: var(--space-lg);
  border-inline-start: var(--border-width) solid var(--color-pixel-coral);
}

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

figcaption {
  font-size: var(--text-caption);
  line-height: var(--leading-caption);
  color: var(--color-graphite);
  margin-block-start: var(--space-xs);
}

address {
  font-style: normal;
}

a {
  color: var(--color-pixel-coral);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color var(--transition-step);
}

a:hover {
  color: var(--color-graphite);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-pixel-coral);
  outline-offset: 2px;
}

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

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

.surface {
  background-color: var(--color-white);
  border: var(--border-width) solid var(--border-color);
  box-shadow: var(--shadow-hard);
  padding: var(--space-md);
}

.surface--accent {
  border-color: var(--color-pixel-coral);
}

.surface--flat {
  box-shadow: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: var(--space-sm) var(--space-md);
  background-color: var(--color-pixel-coral);
  color: var(--color-white-on-accent);
  border: var(--border-width) solid var(--color-graphite);
  box-shadow: var(--shadow-hard);
  text-decoration: none;
  transition: transform var(--transition-step), box-shadow var(--transition-step), background-color var(--transition-step);
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-hard-sm);
  color: var(--color-white-on-accent);
  background-color: var(--color-pixel-coral);
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: none;
}

.btn--graphite {
  background-color: var(--color-graphite);
  color: var(--color-white);
}

.btn--graphite:hover {
  background-color: var(--color-graphite);
  color: var(--color-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-graphite);
  border-color: var(--color-graphite);
}

.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-graphite);
}

.tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-caption);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: var(--space-xs) var(--space-sm);
  background-color: var(--color-pixel-coral);
  color: var(--color-white-on-accent);
  border: var(--border-width) solid var(--color-graphite);
  box-shadow: var(--shadow-hard-sm);
}

.icon {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  vertical-align: middle;
}

.icon--sm {
  width: 1.5rem;
  height: 1.5rem;
}

.icon--lg {
  width: 2.5rem;
  height: 2.5rem;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border: var(--border-width) solid var(--color-pixel-coral);
  box-shadow: var(--shadow-hard);
  background-color: var(--color-milk-grey);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(45, 49, 66, 0.06) 0px,
    rgba(45, 49, 66, 0.06) 1px,
    transparent 1px,
    transparent 4px
  );
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.media-frame--4-3 {
  aspect-ratio: 4 / 3;
}

.media-frame--1-1 {
  aspect-ratio: 1 / 1;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.flex--nowrap {
  flex-wrap: nowrap;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  align-items: center;
  justify-content: space-between;
}

.flex--column {
  flex-direction: column;
}

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

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.stack--sm {
  gap: var(--space-sm);
}

.stack--lg {
  gap: var(--space-lg);
}

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

.content-list {
  list-style: none;
  padding-inline-start: 0;
  margin-block-end: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.content-list li {
  margin-block-end: 0;
}

.content-list--spaced {
  gap: var(--space-md);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 1000;
  background-color: var(--color-white);
  color: var(--color-graphite);
  border: var(--border-width) solid var(--color-pixel-coral);
  box-shadow: var(--shadow-hard);
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-heading);
  font-size: var(--text-caption);
  text-transform: uppercase;
  text-decoration: none;
  transition: top var(--transition-step);
}

.skip-link:focus {
  top: var(--space-md);
}

@media (max-width: 48rem) {
  :root {
    --container-padding: var(--space-md);
    --space-xxl: var(--space-xl);
  }

  .container {
    padding-inline: var(--container-padding);
  }

  .flex {
    gap: var(--space-sm);
  }

  .stack {
    gap: var(--space-sm);
  }

  .stack--lg {
    gap: var(--space-md);
  }
}

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


p,
a,
li,
h1,
h2,
h3,
h4,
h5,
h6,
span {
  overflow-wrap: anywhere;
  word-break: normal;
}


.btn,
.btn-outline {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  text-align: center;
  line-height: 1.35;
}