@font-face {
  font-family: "Maffi Oswald";
  src: url("assets/fonts/oswald-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Maffi Oswald";
  src: url("assets/fonts/oswald-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Maffi Mono";
  src: url("assets/fonts/ubuntu-mono-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Maffi Distressed";
  src: url("assets/fonts/schist-black.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Maffi Druk";
  src: url("assets/fonts/druk-condensed-cyr-super.otf") format("opentype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Maffi Alumni";
  src: url("assets/fonts/alumni-sans-black.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --black: #030303;
  --panel: #111113;
  --panel-deep: #09090a;
  --white: #d8d8d5;
  --muted: #a5a4a7;
  --steel: #66676a;
  --steel-bright: #8e8f92;
  --red: #e00b10;
  --red-dark: #9f090d;
  --display: "Maffi Oswald", "Arial Narrow", sans-serif;
  --distressed: "Maffi Alumni", "Maffi Oswald", Impact, sans-serif;
  --mono: "Maffi Mono", "SFMono-Regular", Consolas, monospace;
  --button-cut: 19px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  min-width: 320px;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--black);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--red);
  font: 0.75rem/1 var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-120%);
  transition: transform 160ms ease;
}

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

.landing {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--black);
}

.artwork,
.texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.artwork {
  z-index: -3;
}

.artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.texture {
  z-index: 12;
  opacity: 0.21;
  mix-blend-mode: screen;
  background-image:
    repeating-linear-gradient(167deg, transparent 0 33px, rgba(255,255,255,0.018) 34px 35px),
    repeating-linear-gradient(12deg, transparent 0 78px, rgba(255,255,255,0.012) 79px 80px);
}

.header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  pointer-events: none;
}

.logo,
.menu-link {
  position: absolute;
  pointer-events: auto;
  text-decoration: none;
  text-transform: uppercase;
}

.logo {
  top: clamp(1.75rem, 4.6vh, 3rem);
  left: 3.58%;
  width: 12.2rem;
  color: #d7d7d4;
  font-family: Rockwell, "Rockwell Extra Bold", Georgia, serif;
  font-size: clamp(3.2rem, 3.9vw, 4.1rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-shadow: 2px 2px 0 #4b4b4d, -1px -1px 0 rgba(255,255,255,0.14);
}

.logo span {
  position: relative;
  display: block;
  color: #d1d1ce;
  -webkit-text-fill-color: currentColor;
  transform: scaleX(0.79);
  transform-origin: left center;
}

.logo span::after {
  position: absolute;
  inset: 0;
  content: attr(data-text);
  pointer-events: none;
  color: transparent;
  background: url("assets/text-distress.svg") 13% 47% / 210px 112px repeat;
  background-clip: text;
  opacity: 0.72;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo::after {
  position: absolute;
  right: 0;
  bottom: -0.9rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red-dark);
}

.logo::before {
  position: absolute;
  z-index: 2;
  bottom: -1.15rem;
  left: 50%;
  width: 0.48rem;
  height: 0.48rem;
  content: "";
  background: var(--red);
  box-shadow: 0 0 0 3px var(--black);
  transform: translateX(-50%) rotate(45deg);
}

.menu-link {
  top: 7.1vh;
  right: 3.92%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  width: 14.7rem;
  padding-bottom: 1.9rem;
  color: #c6c5c7;
  font: 1.17rem/1 var(--mono);
  letter-spacing: 0.17em;
}

.menu-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 16.4rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(224,11,16,0.08), var(--red-dark));
}

.menu-icon {
  display: grid;
  flex: 0 0 auto;
  gap: 0.28rem;
  width: 1.45rem;
}

.menu-icon i {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--red);
  transition: transform 180ms ease;
}

.menu-link:hover .menu-icon i:nth-child(1),
.menu-link:focus-visible .menu-icon i:nth-child(1) {
  transform: translateX(-0.2rem);
}

.menu-link:hover .menu-icon i:nth-child(3),
.menu-link:focus-visible .menu-icon i:nth-child(3) {
  transform: translateX(0.2rem);
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
}

.hero-copy {
  position: absolute;
  top: 29.68%;
  left: 3.35%;
  width: 22.2%;
  min-width: 22rem;
}

.hero-copy h1 {
  margin: 0;
  text-transform: uppercase;
}

.title-line {
  position: relative;
  display: block;
  width: max-content;
  max-width: none;
  color: #d4d4d1;
  font-family: var(--distressed);
  font-weight: 900;
  letter-spacing: -0.018em;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.86);
  -webkit-text-fill-color: currentColor;
  transform-origin: left center;
}

.title-line::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: attr(data-text);
  pointer-events: none;
  color: transparent;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  white-space: nowrap;
  background-image:
    radial-gradient(circle at 27% 31%, rgba(3,3,3,0.94) 0 1.2px, transparent 1.55px),
    radial-gradient(circle at 68% 72%, rgba(3,3,3,0.86) 0 0.9px, transparent 1.3px),
    url("assets/text-distress.svg");
  background-position: 0 0, 7px 11px, 7% 42%;
  background-repeat: repeat;
  background-size: 23px 29px, 31px 37px, 268px 134px;
  background-clip: text;
  opacity: 0.6;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.title-line--first {
  font-size: clamp(7rem, 10.05vw, 10.5rem);
  line-height: 0.78;
  transform: translateY(0.625rem) scaleX(0.79) scaleY(1.27);
}

.title-line--accent {
  margin-top: 0.875rem;
  color: #bd0b10;
  font-size: clamp(8.25rem, 11.72vw, 12.25rem);
  line-height: 0.76;
  -webkit-text-fill-color: currentColor;
  transform: translateY(0.625rem) scaleX(0.9) scaleY(1.27);
}

.title-line--last {
  margin-top: 1.3125rem;
  font-size: clamp(6.1rem, 8.73vw, 9.125rem);
  line-height: 0.75;
  transform: translateY(0.625rem) scaleX(0.755) scaleY(1.27);
}

.copy-rule {
  position: relative;
  width: 100%;
  height: 1px;
  margin-top: 2.5rem;
  background: var(--red-dark);
}

.copy-rule i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.48rem;
  height: 0.48rem;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--black);
  transform: translate(-50%, -50%) rotate(45deg);
}

.hero-copy p {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font: 1.25rem/1.32 var(--mono);
  letter-spacing: 0.15em;
}

.links-panel {
  position: absolute;
  z-index: 5;
  top: 23.17%;
  right: 3.05%;
  width: 22%;
  max-width: 23rem;
  min-width: 21rem;
}

.links-panel ol {
  display: grid;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.links-panel li {
  position: relative;
}

.links-panel li:nth-child(3)::after {
  position: absolute;
  z-index: 7;
  top: 63%;
  right: -18%;
  left: 34%;
  height: 1px;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--red) 26%, #ff353a 66%, transparent);
  box-shadow: 0 0 0.4rem var(--red), 0 0 1rem rgba(224,11,16,0.5);
}

.link-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 2.1rem 1px 1fr 2.35rem;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  min-height: 7.5rem;
  padding: 1rem 2rem 1rem 2.75rem;
  overflow: visible;
  color: var(--white);
  background: linear-gradient(135deg, #8b8c8f, #48494c 42%, #929396);
  clip-path: polygon(var(--button-cut) 0, calc(100% - var(--button-cut)) 0, 100% var(--button-cut), 100% calc(100% - var(--button-cut)), calc(100% - var(--button-cut)) 100%, 82% 100%, calc(82% - 8px) calc(100% - 5px), 18% calc(100% - 5px), calc(18% - 8px) 100%, var(--button-cut) 100%, 0 calc(100% - var(--button-cut)), 0 var(--button-cut));
  text-decoration: none;
  transition: filter 220ms ease, transform 220ms ease, background 220ms ease;
}

.link-card::before {
  position: absolute;
  z-index: -2;
  inset: 2px;
  content: "";
  background:
    linear-gradient(105deg, rgba(255,255,255,0.035), transparent 24%),
    linear-gradient(180deg, #18181a, #0d0d0f 82%);
  clip-path: inherit;
}

.link-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.24;
  background-image:
    repeating-linear-gradient(167deg, transparent 0 19px, rgba(255,255,255,0.035) 20px 21px),
    repeating-linear-gradient(9deg, transparent 0 31px, rgba(255,255,255,0.02) 32px 33px);
  clip-path: inherit;
}

.card-edge {
  position: absolute;
  z-index: 0;
  inset: 0.42rem;
  pointer-events: none;
  background: #45464a;
  clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 11px, 100% calc(100% - 11px), calc(100% - 11px) 100%, 11px 100%, 0 calc(100% - 11px), 0 11px);
}

.card-edge::after {
  position: absolute;
  inset: 1px;
  content: "";
  background: rgba(14,14,16,0.94);
  clip-path: inherit;
}

.link-number,
.link-divider,
.link-label,
.link-arrow {
  position: relative;
  z-index: 3;
}

.link-number {
  color: var(--red);
  font: 700 2.2rem/1 var(--display);
  letter-spacing: 0.02em;
}

.link-divider {
  width: 1px;
  height: 4rem;
  background: rgba(224,11,16,0.72);
}

.link-label {
  font: 400 1.85rem/1 var(--display);
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translateX(0.25rem);
}

.link-arrow {
  width: 2.25rem;
  overflow: visible;
  color: var(--red);
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2;
  transform: translateX(-0.35rem);
  transition: transform 220ms ease;
}

.link-card:hover,
.link-card:focus-visible,
.link-card.is-active {
  background: linear-gradient(135deg, #ff2026, #8f080d 48%, #ff2026);
  filter: drop-shadow(0 0 0.5rem rgba(224,11,16,0.15));
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateX(-0.3rem);
}

.link-card:hover .link-arrow,
.link-card:focus-visible .link-arrow {
  transform: translateX(0);
}

.link-card:focus-visible,
.menu-link:focus-visible,
.logo:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.link-card.is-active .card-edge,
.link-card:hover .card-edge,
.link-card:focus-visible .card-edge {
  background: var(--red-dark);
}

.scan-line {
  position: absolute;
  z-index: 4;
  top: 63%;
  right: -18%;
  left: 36%;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--red) 30%, #ff353a 68%, transparent);
  box-shadow: 0 0 0.4rem var(--red), 0 0 1rem rgba(224,11,16,0.5);
}

.footer {
  position: absolute;
  z-index: 4;
  bottom: 4.6%;
  left: 3.4%;
  color: #a2a1a4;
  font: 1.08rem/1 var(--mono);
  letter-spacing: 0.11em;
}

@keyframes card-arrive {
  from { opacity: 0; transform: translateX(1.2rem); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes beam-pulse {
  0%, 100% { opacity: 0.62; transform: scaleX(0.92); }
  50% { opacity: 1; transform: scaleX(1.04); }
}

@media (prefers-reduced-motion: no-preference) {
  .links-panel li {
    animation: card-arrive 520ms both cubic-bezier(0.2, 0.75, 0.2, 1);
  }

  .links-panel li:nth-child(1) { animation-delay: 90ms; }
  .links-panel li:nth-child(2) { animation-delay: 150ms; }
  .links-panel li:nth-child(3) { animation-delay: 210ms; }
  .links-panel li:nth-child(4) { animation-delay: 270ms; }

  .scan-line {
    animation: beam-pulse 2.2s ease-in-out infinite;
    transform-origin: right;
  }

  .links-panel li:nth-child(3)::after {
    animation: beam-pulse 2.2s ease-in-out infinite;
    transform-origin: right;
  }
}

@media (max-width: 1280px) and (min-width: 861px) {
  .hero-copy {
    min-width: 18.2rem;
  }

  .hero-copy p {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }

  .links-panel {
    min-width: 18.5rem;
  }

  .link-card {
    grid-template-columns: 2.8rem 1px 1fr 1.85rem;
    gap: 0.85rem;
    min-height: 6.2rem;
    padding-inline: 1.35rem;
  }

  .link-number { font-size: 2rem; }
  .link-divider { height: 3.4rem; }
  .link-label { font-size: 1.45rem; }
  .link-arrow { width: 1.8rem; }
}

@media (max-width: 860px) {
  .landing {
    min-height: 100dvh;
    overflow: clip;
    padding-bottom: 2rem;
  }

  .artwork {
    inset: 4.5rem -45vw auto;
    height: min(62dvh, 38rem);
  }

  .artwork img {
    object-fit: contain;
    object-position: center top;
  }

  .header {
    position: relative;
    height: 5rem;
  }

  .logo {
    top: 1.35rem;
    left: 1rem;
    font-size: 2.45rem;
  }

  .logo::after {
    bottom: -0.55rem;
  }

  .logo::before {
    bottom: -0.78rem;
    width: 0.38rem;
    height: 0.38rem;
  }

  .menu-link {
    top: 1.7rem;
    right: 1rem;
    gap: 0.7rem;
    width: auto;
    padding-bottom: 0.8rem;
    font-size: 0.76rem;
  }

  .menu-link::after {
    width: 100%;
  }

  .menu-icon {
    width: 1.2rem;
  }

  .hero {
    min-height: auto;
    padding: 0 1rem 1.5rem;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: min(100%, 25rem);
    min-width: 0;
    min-height: min(58dvh, 35rem);
  }

  .hero-copy::after {
    position: absolute;
    z-index: -1;
    inset: 35% -2rem -2rem;
    content: "";
    background: linear-gradient(0deg, var(--black) 34%, rgba(3,3,3,0.72) 72%, transparent);
  }

  .title-line--first { font-size: clamp(5.15rem, 23.5vw, 7.6rem); }
  .title-line--accent { font-size: clamp(6.1rem, 27.8vw, 8.9rem); }
  .title-line--last { font-size: clamp(4.6rem, 20.9vw, 6.75rem); }

  .title-line--first { transform: translateY(0.25rem) scaleX(0.77) scaleY(1.27); }
  .title-line--accent { transform: translateY(0.25rem) scaleX(0.84) scaleY(1.27); }
  .title-line--last { transform: translateY(0.25rem) scaleX(0.68) scaleY(1.27); }

  .copy-rule {
    width: min(100%, 24rem);
    margin-top: 1rem;
  }

  .hero-copy p {
    margin-top: 1rem;
    font-size: 0.82rem;
  }

  .links-panel {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 30rem);
    max-width: none;
    min-width: 0;
    margin: 2rem 0 0 auto;
  }

  .links-panel ol {
    gap: 0.8rem;
  }

  .link-card {
    grid-template-columns: 2.7rem 1px 1fr 1.9rem;
    gap: 0.8rem;
    min-height: 5.8rem;
    padding: 0.85rem 1.25rem;
  }

  .link-number { font-size: 2rem; }
  .link-divider { height: 3.3rem; }
  .link-label { font-size: clamp(1.5rem, 7vw, 2rem); }
  .link-arrow { width: 1.85rem; }

  .footer {
    position: relative;
    bottom: auto;
    left: auto;
    margin: 0.6rem 1rem 0;
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {
  .menu-link > span:first-child {
    font-size: 0;
  }

  .menu-link > span:first-child::after {
    content: "LINKS";
    font-size: 0.72rem;
  }

  .artwork {
    inset-inline: -77vw;
  }

  .hero-copy {
    min-height: 31rem;
  }

  .title-line--first { font-size: 5.05rem; }
  .title-line--accent { font-size: 5.95rem; }
  .title-line--last { font-size: 4.45rem; }

  .link-card {
    grid-template-columns: 2.35rem 1px 1fr 1.65rem;
    gap: 0.65rem;
    min-height: 5.35rem;
    padding-inline: 1rem;
  }

  .link-label { font-size: 1.45rem; }
  .scan-line { right: -6%; }
}

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

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