@font-face {
  font-family: "Bangers";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/bangers-400.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/open-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/open-sans-600.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/open-sans-700.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --neutral-primary-soft: #dfe7ff;
  --neutral-primary: #ffffff;
  --neutral-primary-medium: #c8d4ff;
  --neutral-secondary-soft: #1c202b;
  --neutral-tertiary-soft: #eff3ff;
  --neutral-tertiary: #dfe7ff;
  --heading: #1c202b;
  --body: #2f3645;
  --body-subtle: #4a5468;
  --white: #ffffff;
  --brand-softer: #ffe5ee;
  --brand-soft: #fbc0d2;
  --brand: #e22d6d;
  --brand-strong: #b11f55;
  --border-default: #1c202b;
  --border-buffer: #ffffff;
  --gradient-from: #ff512f;
  --gradient-to: #dd2476;
  --gradient-shadow: #1c202b;
  --focus: #e22d6d;
  --accent-purple: #a23ddb;
  --accent-sky: #2dc8e2;
  --accent-teal: #2dcfa0;
  --accent-orange: #ff8b2d;
  --grid-light: rgba(28, 32, 43, 0.08);
  --grid-dark: rgba(255, 255, 255, 0.06);
  --glint: inset rgba(255, 255, 255, 0.4) 0 6px 0 -5px;
  --spring-snappy: linear(
    0, 0.009, 0.035 2.1%, 0.141 4.4%, 0.723 12.9%,
    0.938 16.7%, 1.017 19.4%, 1.067 22.5%, 1.089 26%,
    1.079 30.3%, 1.049 36%, 1.024 42.6%, 1.011 50.3%,
    1.004 59.2%, 1.001 69.3%, 1
  );
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --neutral-primary: #14171f;
    --neutral-primary-medium: #262b38;
    --neutral-tertiary-soft: #1c202b;
    --neutral-tertiary: #262b38;
    --heading: #ffffff;
    --body: #dfe7ff;
    --body-subtle: #b7c4ed;
    --brand-softer: #36081c;
    --brand-soft: #5a0e2f;
    --brand: #ff4683;
    --brand-strong: #e22d6d;
    --border-default: #dfe7ff;
    --border-buffer: #1c202b;
    --focus: #ff4683;
    --glint: inset rgba(255, 255, 255, 0.18) 0 6px 0 -5px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--neutral-primary-soft);
  color: var(--body);
  font: 400 16px/1.65 "Open Sans", sans-serif;
}

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

a {
  color: var(--brand-strong);
  text-decoration-color: var(--brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand);
  text-decoration-color: var(--brand-strong);
}

a:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  top: -8rem;
  left: 1rem;
  z-index: 20;
  padding: 12px 16px;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
}

.skip:focus {
  top: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 16px;
  color: var(--heading);
  font-family: "Bangers", fantasy;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 1px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(44px, 7vw, 96px);
  letter-spacing: 2px;
}

h2 {
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: 1.5px;
}

h3 {
  font-size: clamp(28px, 3vw, 44px);
}

p {
  max-width: 65ch;
}

.mast {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  min-height: 96px;
  border-bottom: 4px solid var(--border-buffer);
  background-color: var(--neutral-secondary-soft);
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 32px 32px;
}

.brand {
  display: flex;
  align-items: center;
  padding: 16px 4vw;
  border-right: 4px solid var(--border-buffer);
}

.brand img {
  width: min(320px, 100%);
  filter: brightness(0) invert(1);
}

nav {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex-wrap: wrap;
}

nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 16px 24px;
  border-left: 2px solid var(--border-buffer);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 120ms, color 120ms;
}

nav a:hover {
  background: var(--brand);
  color: var(--white);
}

main {
  min-height: 70vh;
}

.hero-grid,
.route-head,
.article-head,
.section,
.story-grid,
.article-body,
.guide-links,
.checklist {
  background-image:
    linear-gradient(var(--grid-light) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-light) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero-grid {
  position: relative;
  display: grid;
  place-items: end start;
  min-height: calc(100dvh - 96px);
  overflow: hidden;
  border-bottom: 8px dashed var(--border-default);
  background: var(--neutral-secondary-soft);
  isolation: isolate;
}

.hero-grid::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 23, 31, 0.82) 0%, rgba(20, 23, 31, 0.3) 58%, rgba(20, 23, 31, 0.06) 100%),
    linear-gradient(0deg, rgba(20, 23, 31, 0.64) 0%, transparent 58%);
  pointer-events: none;
  animation: hero-fade 420ms cubic-bezier(0.05, 0.7, 0.1, 1) both;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(920px, 84vw);
  padding: clamp(48px, 8vh, 96px) max(24px, 5vw);
  color: var(--white);
}

.hero-copy h1 {
  max-width: 12ch;
  margin: 10px 0 20px;
  color: var(--white);
  font-size: clamp(64px, 8vw, 132px);
  letter-spacing: -0.025em;
  line-height: 0.84;
  text-wrap: balance;
  text-shadow: 5px 5px 0 var(--gradient-shadow);
  animation: hero-rise 620ms var(--spring-snappy) 90ms both;
}

.hero-copy > p {
  max-width: 42ch;
  margin: 0;
  color: var(--neutral-tertiary);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
  animation: hero-rise 560ms var(--spring-snappy) 190ms both;
}

.hero-copy > .block-label {
  color: var(--brand-soft);
  animation: hero-rise 500ms var(--spring-snappy) 20ms both;
}

.hero-copy > .button {
  animation: hero-rise 500ms var(--spring-snappy) 290ms both;
}

.route-head p,
.route-head p,
.article-head p {
  max-width: 46rem;
  font-size: 20px;
  line-height: 1.65;
}

.block-label,
.section-heading > span {
  color: var(--brand-strong);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.button {
  align-self: flex-start;
  margin-top: 16px;
  padding: 14px 28px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(135deg, var(--gradient-from), var(--gradient-to));
  box-shadow: var(--glint), 6px 6px 0 0 var(--gradient-shadow);
  clip-path: polygon(calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px), 0 0);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 80ms ease-out, filter 120ms;
}

.button:hover {
  color: var(--white);
  filter: brightness(1.05);
}

.button:active {
  transform: translate(3px, 3px);
}

.hero-copy .button {
  transition:
    transform 420ms var(--spring-snappy),
    filter 240ms var(--ease-snap),
    box-shadow 420ms var(--spring-snappy);
}

.hero-copy .button:hover {
  transform: translateY(-3px);
  box-shadow: var(--glint), 9px 11px 0 0 var(--gradient-shadow);
}

.hero-copy .button:active {
  transform: translate(3px, 3px) scale(0.98);
}

.hero-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  margin: 0;
  background: var(--neutral-secondary-soft);
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.035);
  animation: hero-image-settle 760ms var(--spring-snappy) both;
  transition: transform 900ms var(--ease-out);
}

.hero-grid:hover .hero-photo img {
  transform: scale(1.055);
}

.hero-photo figcaption,
.lead-image figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 8px 12px;
  background: var(--neutral-primary);
  color: var(--body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-photo figcaption {
  z-index: 3;
  right: max(20px, 3vw);
  bottom: max(20px, 3vw);
  border: 2px solid var(--border-default);
  box-shadow: 4px 4px 0 var(--gradient-shadow);
  animation: hero-fade 420ms cubic-bezier(0.05, 0.7, 0.1, 1) 360ms both;
}

.accent-block {
  position: absolute;
  z-index: 3;
  top: clamp(24px, 5vw, 72px);
  right: 0;
  width: clamp(18px, 2vw, 30px);
  height: clamp(120px, 22vh, 220px);
  border: 3px solid var(--border-default);
  border-right: 0;
  background: linear-gradient(var(--brand) 0 50%, var(--brand-soft) 50%);
  transform-origin: right center;
  animation: hero-register 540ms var(--spring-snappy) 260ms both;
}

@keyframes hero-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-image-settle {
  from {
    opacity: 0;
    transform: scale(1.09);
  }
  to {
    opacity: 1;
    transform: scale(1.035);
  }
}

@keyframes hero-register {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

.section {
  padding: 96px max(24px, 4vw) 48px;
  background-color: var(--neutral-secondary-soft);
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--neutral-primary-soft);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: end;
  max-width: 1200px;
  margin: 0 auto 48px;
  padding-bottom: 24px;
  border-bottom: 4px solid var(--brand);
}

.section-heading h2 {
  max-width: 14ch;
  margin: 0;
  color: var(--white);
  -webkit-text-stroke: 1px var(--neutral-secondary-soft);
}

.section-heading > span {
  color: var(--brand-soft);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  padding: 64px max(24px, 4vw) 104px;
  background-color: var(--neutral-primary-soft);
}

.section .story-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 8px 56px 0;
  background-color: transparent;
  background-image: none;
}

.story-card {
  grid-column: span 4;
  align-content: start;
  overflow: hidden;
  border: 8px dashed var(--border-default);
  border-radius: 4px;
  background: var(--neutral-primary);
  box-shadow: 8px 8px 0 0 var(--gradient-shadow);
  color: var(--body);
}

.story-card.t0 {
  grid-column: span 7;
}

.story-card.t1 {
  grid-column: span 5;
  background: var(--brand-softer);
  border-color: var(--brand);
}

.story-card.t2 {
  grid-column: span 4;
}

.story-card.t3 {
  grid-column: span 8;
}

.story-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-bottom: 4px solid var(--border-default);
  object-fit: cover;
}

.story-card > div {
  padding: 24px;
}

.story-card h2 {
  margin-top: 8px;
  font-size: clamp(22px, 2.5vw, 28px);
}

.story-card h2 a {
  color: var(--heading);
  text-decoration: none;
}

.story-card h2 a:hover {
  color: var(--brand-strong);
  text-decoration: underline;
  text-decoration-color: var(--brand);
}

.guide-links {
  display: grid;
  grid-template-columns: 2fr 3fr 3fr;
  gap: 24px;
  padding: 96px max(24px, 4vw);
  border-block: 8px dashed var(--border-buffer);
  background-color: var(--neutral-secondary-soft);
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 32px 32px;
}

.guide-links > * {
  margin: 0;
  padding: 24px;
  border: 8px dashed var(--border-buffer);
  border-radius: 4px;
  background: var(--neutral-primary-soft);
  box-shadow: 8px 8px 0 0 var(--brand);
}

.guide-links h2 {
  color: var(--heading);
  font-size: 32px;
}

.guide-links a {
  display: flex;
  align-items: center;
  color: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
}

.route-head,
.article-head {
  padding: 96px max(24px, 5vw);
  border-bottom: 8px dashed var(--border-default);
  background-color: var(--neutral-primary-soft);
}

.route-head h1,
.article-head h1 {
  max-width: 14ch;
  margin-top: 16px;
}

.lead-image {
  position: relative;
  margin: 0;
  padding: 32px max(24px, 5vw) 40px;
  border-bottom: 8px dashed var(--border-buffer);
  background-color: var(--neutral-secondary-soft);
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 32px 32px;
}

.lead-image img {
  width: 100%;
  max-height: 78vh;
  border: 8px dashed var(--border-buffer);
  border-radius: 4px;
  box-shadow: 8px 8px 0 0 var(--brand);
  object-fit: cover;
}

.lead-image figcaption {
  right: max(24px, 5vw);
  bottom: 40px;
}

.article-body {
  max-width: none;
  margin: 0 auto;
  padding: 96px max(24px, calc((100vw - 768px) / 2)) 120px;
  background-color: var(--neutral-primary-soft);
  font-size: 16px;
}

.article-body > * {
  max-width: 65ch;
}

.article-body > p:first-child {
  font-size: 20px;
}

.article-body h2 {
  margin-top: 64px;
  font-size: clamp(36px, 5vw, 48px);
}

.article-body h3 {
  margin-top: 48px;
  font-size: clamp(28px, 4vw, 36px);
}

.article-body figure {
  max-width: none;
  margin: 48px -8vw;
  border: 8px dashed var(--border-default);
  border-radius: 4px;
  background: var(--neutral-primary);
  box-shadow: 8px 8px 0 0 var(--gradient-shadow);
}

.article-body figure img,
.article-body > img {
  width: 100%;
}

.article-body a {
  overflow-wrap: anywhere;
}

.notice,
.article-body > div {
  margin: 32px 0;
  padding: 20px;
  border: 4px dashed var(--brand);
  border-radius: 4px;
  background: var(--brand-softer);
  box-shadow: 6px 6px 0 0 var(--gradient-shadow);
  font-family: "Open Sans", sans-serif;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 96px max(24px, 4vw) 104px;
  background-color: var(--neutral-secondary-soft);
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 32px 32px;
}

.checklist section {
  min-height: 420px;
  padding: 32px;
  border: 8px dashed var(--border-buffer);
  border-radius: 4px;
  background: var(--neutral-primary);
  box-shadow: 8px 8px 0 0 var(--brand);
}

.checklist section:nth-child(2) {
  background: var(--neutral-primary-soft);
}

.checklist section:nth-child(3) {
  background: var(--brand-softer);
  border-color: var(--brand);
}

.checklist b {
  color: var(--brand);
  font-family: "Bangers", fantasy;
  font-size: 64px;
  font-weight: 400;
}

.checklist h2 {
  font-size: 32px;
}

.site-footer {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 32px;
  padding: 64px max(24px, 4vw);
  border-top: 4px solid var(--border-buffer);
  background-color: var(--neutral-secondary-soft);
  background-image:
    linear-gradient(var(--grid-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-dark) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--neutral-primary-soft);
}

.site-footer strong {
  color: var(--white);
  font-family: "Bangers", fantasy;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--brand-soft);
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  .mast {
    display: block;
  }

  .brand {
    min-height: 88px;
    border-right: 0;
  }

  nav {
    justify-content: flex-start;
    border-top: 2px solid var(--border-buffer);
  }

  nav a {
    flex: 1 0 50%;
    justify-content: center;
    padding: 12px;
    border: 1px solid var(--border-buffer);
  }

  .hero-grid {
    min-height: calc(100svh - 244px);
    place-items: end start;
  }

  .hero-copy {
    width: 100%;
    padding: 48px 24px 56px;
  }

  .hero-photo {
    height: auto;
    margin: 0;
  }

  .hero-photo img {
    object-position: 62% center;
  }

  .accent-block {
    top: 24px;
    width: 18px;
    height: 120px;
    border: 3px solid var(--border-default);
    border-right: 0;
  }

  .hero-photo figcaption {
    display: none;
  }

  .section,
  .route-head,
  .article-head,
  .article-body,
  .guide-links,
  .checklist {
    padding: 64px 24px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > span {
    display: block;
    margin-bottom: 16px;
  }

  .story-grid,
  .section .story-grid {
    display: block;
    padding: 48px 24px 64px;
  }

  .section .story-grid {
    padding: 0 8px 8px 0;
  }

  .story-card {
    margin-bottom: 32px;
  }

  .guide-links,
  .checklist,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .guide-links > * {
    min-height: 112px;
  }

  .article-body figure {
    margin: 40px 0;
  }

  .checklist section {
    min-height: 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  .hero-grid::after,
  .hero-copy > *,
  .hero-photo img,
  .hero-photo figcaption,
  .accent-block {
    animation: hero-fade 160ms linear both !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-grid:hover .hero-photo img,
  .hero-copy .button:hover,
  .hero-copy .button:active {
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
