@font-face {
  font-family: "GT Mechanik Semi";
  src:
    url("assets/fonts/GT-Mechanik-Semi-Light.woff2") format("woff2"),
    url("assets/fonts/GT-Mechanik-Semi-Light.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "GT Mechanik Semi";
  src:
    url("assets/fonts/GT-Mechanik-Semi-Light-Oblique.woff2") format("woff2"),
    url("assets/fonts/GT-Mechanik-Semi-Light-Oblique.woff") format("woff");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "GT Mechanik Semi";
  src:
    url("assets/fonts/GT-Mechanik-Semi-Medium.woff2") format("woff2"),
    url("assets/fonts/GT-Mechanik-Semi-Medium.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "GT Mechanik Semi";
  src:
    url("assets/fonts/GT-Mechanik-Semi-Medium-Oblique.woff2") format("woff2"),
    url("assets/fonts/GT-Mechanik-Semi-Medium-Oblique.woff") format("woff");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

:root {
  --paper: #fbfbf9;
  --ink: #0d0d0d;
  --muted: #b8b8b8;
  --line: #d8d8d3;
  --hot: #ff4fbe;
  --flare: #ff6c48;
  --violet: #e047ff;
  --edge: 60px;
  --rail-width: 240px;
  --page-top: 42px;
  --rail-rule-gap: 38px;
  --rule-top: calc(var(--page-top) + 37px + var(--rail-rule-gap));
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "GT Mechanik Semi", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
}

.site-rail {
  position: fixed;
  top: var(--page-top);
  left: var(--edge);
  z-index: 2;
  width: var(--rail-width);
  height: calc(100svh - var(--page-top));
  pointer-events: none;
}

.brand {
  display: block;
  width: 90px;
  height: 37px;
  pointer-events: auto;
}

.brand picture,
.brand img {
  display: block;
}

.brand img {
  width: 90px;
  height: 37px;
}

.rail-rule {
  width: 100%;
  height: 1px;
  margin-top: var(--rail-rule-gap);
  background: var(--line);
}

.nav-links {
  display: grid;
  gap: 14px;
  margin-top: 38px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.15;
  pointer-events: auto;
}

.nav-item {
  position: relative;
  width: max-content;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-item:nth-child(3) {
  margin-top: 28px;
}

.nav-item:nth-child(6) {
  margin-top: 28px;
}

.is-disabled {
  cursor: default;
}

.is-disabled::after {
  position: absolute;
  top: 52%;
  left: -2px;
  width: calc(100% + 4px);
  height: 1px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links:hover .is-disabled,
.nav-links:focus-within .is-disabled {
  color: #d4d4d4;
  opacity: 0.72;
}

.nav-links:hover .is-disabled::after,
.nav-links:focus-within .is-disabled::after {
  opacity: 1;
  transform: scaleX(1);
}

.contact-link {
  color: var(--muted);
}

.nav-links:hover .contact-link,
.contact-link:hover,
.contact-link:focus-visible {
  color: #767676;
}

time,
.nav-links .nav-item,
.copy a {
  font-weight: 500;
}

.article-wrap {
  width: calc(100% - var(--edge) - var(--rail-width));
  min-height: 100vh;
  margin-left: calc(var(--edge) + var(--rail-width));
  padding-top: var(--rule-top);
  padding-right: clamp(24px, 5vw, 96px);
  padding-bottom: 96px;
}

.rule {
  width: min(100%, 736px);
  height: 2px;
  margin-bottom: 38px;
  background: linear-gradient(90deg, var(--flare), var(--hot) 62%, var(--violet));
}

time {
  display: block;
  color: #fc6957;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 96px;
}

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

.headline-art {
  display: block;
  width: 636px;
  height: auto;
  margin: 0 0 16px;
  transform: translateX(-5px);
}

.headline-art img {
  display: block;
  width: 100%;
  height: auto;
}

.copy {
  max-width: 660px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.82;
}

.copy p {
  margin: 0 0 24px;
}

.copy a {
  color: #ff4e96;
}

.copy .link-orange {
  color: #ff6c00;
}

.copy a:hover,
.copy a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.end-mark {
  display: grid;
  place-items: center;
  width: 9px;
  height: 9px;
  margin-top: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  cursor: pointer;
  transition: transform 180ms ease;
}

.end-mark img {
  display: block;
  width: 9px;
  height: 9px;
}

.end-mark:hover,
.end-mark:focus-visible {
  transform: scale(1.18);
}

.end-mark:focus-visible {
  outline: 2px solid var(--hot);
  outline-offset: 6px;
}

@media (prefers-reduced-motion: reduce) {
  .end-mark {
    transition: none;
  }

  .end-mark:hover,
  .end-mark:focus-visible {
    transform: none;
  }
}

.end-mark.is-launching {
  animation: end-launch 760ms cubic-bezier(0.18, 0.78, 0.24, 1);
}

.end-mark.is-spinning {
  animation: end-spin 820ms cubic-bezier(0.16, 0.84, 0.25, 1);
}

.end-mark.is-hopping {
  animation: end-hop 620ms cubic-bezier(0.2, 0.8, 0.24, 1);
}

.end-mark.is-wobbling {
  animation: end-wobble 680ms cubic-bezier(0.2, 0.8, 0.24, 1);
}

.end-mark.is-vanishing {
  animation: end-vanish 760ms ease;
}

.end-mark.is-flipping {
  animation: end-flip 820ms cubic-bezier(0.18, 0.78, 0.24, 1);
}

.end-mark.is-orbiting {
  animation: end-orbit 900ms cubic-bezier(0.25, 0.8, 0.24, 1);
}

.end-mark.is-squashing {
  animation: end-squash 640ms cubic-bezier(0.18, 0.78, 0.24, 1);
}

.end-mark.is-zigzagging {
  animation: end-zigzag 760ms cubic-bezier(0.18, 0.78, 0.24, 1);
}

.end-mark.is-pulsing {
  animation: end-pulse 700ms ease;
}

@keyframes end-launch {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }

  46% {
    transform: translateX(72px) rotate(270deg);
  }

  70% {
    transform: translateX(54px) rotate(360deg);
  }
}

@keyframes end-vanish {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  32% {
    opacity: 0;
    transform: scale(0.1) rotate(120deg);
  }

  58% {
    opacity: 0;
    transform: scale(0.1) rotate(120deg);
  }

  82% {
    opacity: 1;
    transform: scale(1.28) rotate(0deg);
  }
}

@keyframes end-flip {
  0%,
  100% {
    transform: rotateY(0deg) scale(1);
  }

  50% {
    transform: rotateY(180deg) scale(1.32);
  }
}

@keyframes end-orbit {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(20px, -20px) rotate(120deg);
  }

  50% {
    transform: translate(40px, 0) rotate(240deg);
  }

  75% {
    transform: translate(20px, 20px) rotate(360deg);
  }
}

@keyframes end-squash {
  0%,
  100% {
    transform: scale(1, 1);
  }

  22% {
    transform: scale(1.6, 0.52);
  }

  48% {
    transform: scale(0.68, 1.55);
  }

  72% {
    transform: scale(1.18, 0.84);
  }
}

@keyframes end-zigzag {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  18% {
    transform: translate(24px, -16px) rotate(80deg);
  }

  38% {
    transform: translate(-10px, -30px) rotate(-70deg);
  }

  62% {
    transform: translate(30px, -6px) rotate(150deg);
  }

  82% {
    transform: translate(8px, 12px) rotate(40deg);
  }
}

@keyframes end-pulse {
  0%,
  100% {
    filter: saturate(1) brightness(1);
    transform: scale(1);
  }

  35% {
    filter: saturate(1.75) brightness(1.22);
    transform: scale(1.65);
  }

  68% {
    filter: saturate(1.2) brightness(1.08);
    transform: scale(0.86);
  }
}

@keyframes end-spin {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  55% {
    transform: rotate(900deg) scale(1.34);
  }
}

@keyframes end-hop {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  34% {
    transform: translateY(-24px) scale(1.12);
  }

  64% {
    transform: translateY(3px) scale(0.94);
  }
}

@keyframes end-wobble {
  0%,
  100% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(-18deg) scale(1.16);
  }

  44% {
    transform: rotate(16deg) scale(1.08);
  }

  68% {
    transform: rotate(-8deg) scale(1.04);
  }
}

@media (max-width: 780px) {
  .page-shell {
    display: block;
    padding: 24px 18px 72px;
  }

  .site-rail {
    position: static;
    width: auto;
    height: auto;
    min-height: 0;
    pointer-events: auto;
  }

  .rail-rule {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .nav-item:nth-child(3),
  .nav-item:nth-child(6) {
    margin-top: 0;
  }

  .article-wrap {
    width: auto;
    min-height: 0;
    margin-left: 0;
    padding-top: 89px;
    padding-right: 0;
    padding-bottom: 0;
  }

  .rule {
    display: none;
  }

  time {
    margin-bottom: 27px;
  }

  .headline-art {
    width: 350px;
    margin-bottom: 21px;
    transform: translateX(-13px);
  }

}

@media (max-width: 460px) {
  .nav-links {
    grid-template-columns: repeat(2, max-content);
  }

  .copy {
    font-size: 14px;
    line-height: 29px;
  }
}
