:root {
  color-scheme: dark;
  --bg: #030303;
  --bg-soft: #08090a;
  --ink: #f2f2ef;
  --muted: #9a9b96;
  --dim: #555753;
  --line: rgba(242, 242, 239, 0.22);
  --line-strong: rgba(242, 242, 239, 0.48);
  --acid: #d7ff53;
  --ice: #b8e7ff;
  --ember: #c56a49;
  --danger: #ff533d;
  --panel: rgba(255, 255, 255, 0.035);
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --page-pad: clamp(16px, 4vw, 54px);
  --header-height: 74px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(184, 231, 255, 0.12), transparent 31vw),
    radial-gradient(circle at 79% 7%, rgba(215, 255, 83, 0.07), transparent 28vw),
    linear-gradient(180deg, #020202 0%, #070807 48%, #020202 100%);
  color: var(--ink);
  font-family: var(--font-sans);
  letter-spacing: 0;
}

body.is-locked {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

::selection {
  background: var(--acid);
  color: #050505;
}

.noise,
.scanline {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 60;
}

.noise {
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.66'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.scanline {
  opacity: 0.12;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 7px,
    rgba(255, 255, 255, 0.12) 8px
  );
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #030303;
  transition:
    opacity 760ms var(--ease),
    visibility 760ms var(--ease);
}

.intro.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.intro__frame {
  width: min(440px, calc(100vw - 48px));
  min-height: 180px;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--line);
  padding: 22px;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.intro__frame span {
  font-size: 14px;
}

.intro__frame strong {
  font-size: clamp(28px, 8vw, 64px);
  font-weight: 400;
  line-height: 0.92;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid rgba(242, 242, 239, 0.12);
  background: rgba(3, 3, 3, 0.6);
  backdrop-filter: blur(18px);
  transition:
    transform 380ms var(--ease),
    background 380ms var(--ease);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.brand {
  display: inline-grid;
  gap: 4px;
  min-width: 112px;
  font-family: var(--font-mono);
}

.brand span {
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.14em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.main-nav a,
.mobile-panel a {
  position: relative;
  transition: color 220ms var(--ease);
}

.main-nav a::after,
.mobile-panel a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--acid);
  transition: transform 260ms var(--ease);
}

.main-nav a:hover,
.mobile-panel a:hover,
.main-nav a.is-active {
  color: var(--ink);
}

.main-nav a:hover::after,
.mobile-panel a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 18px;
  height: 1px;
  background: var(--ink);
  transition: transform 240ms var(--ease);
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle.is-open span:first-child {
  transform: rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  top: var(--header-height);
  left: var(--page-pad);
  right: var(--page-pad);
  z-index: 69;
  display: none;
  grid-template-columns: 1fr;
  gap: 2px;
  border: 1px solid var(--line);
  background: rgba(3, 3, 3, 0.92);
  transform: translateY(-16px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 260ms var(--ease),
    opacity 260ms var(--ease);
}

.mobile-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-panel a {
  padding: 18px;
  border-bottom: 1px solid rgba(242, 242, 239, 0.1);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
}

.app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: calc(var(--header-height) + 32px) var(--page-pad) 80px;
}

.route {
  animation: routeIn 720ms var(--ease) both;
}

@keyframes routeIn {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.frame {
  width: min(1480px, 100%);
  margin: 0 auto 12px;
  border: 1px solid var(--line);
  background: rgba(2, 2, 2, 0.56);
}

.frame--hero {
  min-height: calc(100vh - var(--header-height) - 96px);
}

.hero {
  position: relative;
  display: grid;
  min-height: inherit;
  overflow: hidden;
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__image img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: scale(1);
  transition:
    filter 1100ms var(--ease),
    transform 1100ms var(--ease);
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(0, 0, 0, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.05) 42%, rgba(0, 0, 0, 0.42)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.02) 48%, rgba(0, 0, 0, 0.56));
  opacity: 0;
  transition: opacity 1150ms var(--ease);
}

.hero__top,
.hero__coords,
.hero__needle,
.hero__actions {
  position: relative;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 1050ms var(--ease),
    transform 1150ms var(--ease);
}

.hero__top {
  transform: translateY(-14px);
}

.hero__coords {
  transform: translateY(18px);
}

.hero__needle,
.hero__actions {
  transform: translateY(16px);
}

.hero__top {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.hero__top strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}

.hero__coords {
  place-self: center;
  width: min(980px, 90%);
  text-align: center;
}

.hero__coords h1 {
  margin: 0;
  font-size: clamp(44px, 9vw, 132px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero__coords p {
  width: min(660px, 92%);
  margin: 28px auto 0;
  color: rgba(242, 242, 239, 0.74);
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.6;
}

.hero__needle {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  width: 1px;
  height: 30vh;
  min-height: 170px;
  background: linear-gradient(180deg, transparent, rgba(242, 242, 239, 0.82), transparent);
}

.hero__needle::before,
.hero__needle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  border: 1px solid rgba(242, 242, 239, 0.52);
  transform: translateX(-50%);
}

.hero__needle::before {
  width: 22px;
  height: 42px;
}

.hero__needle::after {
  width: 82px;
  height: 1px;
  border-top: 0;
}

.hero__actions {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 10px;
}

.hero.is-zone-active .hero__image::after {
  opacity: 1;
}

.hero.is-zone-active .hero__top,
.hero.is-zone-active .hero__coords,
.hero.is-zone-active .hero__needle,
.hero.is-zone-active .hero__actions {
  opacity: 1;
  transform: translateY(0);
}

.hero.is-zone-active .hero__actions {
  pointer-events: auto;
}

.meta-button,
.ghost-button,
.filter-button,
.detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(2, 2, 2, 0.42);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  transition:
    border-color 240ms var(--ease),
    background 240ms var(--ease),
    color 240ms var(--ease),
    transform 240ms var(--ease);
}

.meta-button,
.ghost-button,
.detail-link {
  padding: 0 16px;
}

.meta-button:hover,
.ghost-button:hover,
.filter-button:hover,
.filter-button.is-active,
.detail-link:hover {
  border-color: var(--acid);
  background: var(--acid);
  color: #040404;
}

.ticker {
  display: flex;
  width: min(1480px, 100%);
  margin: 0 auto 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  color: rgba(242, 242, 239, 0.74);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.ticker__track {
  display: flex;
  gap: 42px;
  min-width: 100%;
  padding: 13px 0;
  animation: tickerMove 22s linear infinite;
}

.ticker__track span {
  white-space: nowrap;
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.6fr);
  gap: clamp(24px, 5vw, 74px);
  padding: clamp(22px, 4vw, 52px);
}

.section-grid--reversed {
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.9fr);
}

.section-kicker {
  margin: 0 0 20px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  max-width: 820px;
  font-size: clamp(38px, 7vw, 98px);
  font-weight: 400;
  line-height: 0.94;
  text-transform: uppercase;
}

.section-copy {
  max-width: 720px;
  color: rgba(242, 242, 239, 0.73);
  font-size: 15px;
  line-height: 1.75;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
  background: var(--line);
}

.stat {
  min-height: 112px;
  padding: 16px;
  background: #050505;
}

.stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 400;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  padding: 12px;
}

.work-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050505;
  isolation: isolate;
  cursor: pointer;
}

.work-card:nth-child(1) {
  grid-column: span 7;
}

.work-card:nth-child(2) {
  grid-column: span 5;
}

.work-card:nth-child(3),
.work-card:nth-child(4),
.work-card:nth-child(5) {
  grid-column: span 4;
  min-height: 360px;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.62) brightness(0.54) contrast(1.18);
  transform: scale(1.04);
  transition:
    transform 800ms var(--ease),
    filter 800ms var(--ease);
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(215, 255, 83, 0.2), transparent 23%),
    linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.85) 100%);
  opacity: 0.62;
  transition: opacity 420ms var(--ease);
}

.work-card:hover img {
  filter: saturate(0.88) brightness(0.78) contrast(1.22);
  transform: scale(1.12);
}

.work-card:hover::before {
  opacity: 1;
}

.work-card__index {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  color: rgba(242, 242, 239, 0.62);
  font-family: var(--font-mono);
  font-size: 11px;
  writing-mode: vertical-rl;
}

.work-card__meta {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.work-card__meta h3 {
  margin: 0;
  font-size: clamp(24px, 3.3vw, 52px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.work-card__meta p {
  margin: 0;
  max-width: 520px;
  color: rgba(242, 242, 239, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.work-card__tags span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(242, 242, 239, 0.22);
  color: rgba(242, 242, 239, 0.74);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.filter-button {
  min-width: 74px;
  padding: 0 14px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  padding: 12px;
}

.archive-card {
  position: relative;
  grid-column: span 3;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #050505;
  transition:
    border-color 260ms var(--ease),
    transform 260ms var(--ease),
    opacity 260ms var(--ease);
}

.archive-card.is-hidden {
  display: none;
}

.archive-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-6px);
}

.archive-card img {
  width: 100%;
  height: 238px;
  object-fit: cover;
  filter: grayscale(0.25) brightness(0.62) contrast(1.12);
  transition:
    filter 360ms var(--ease),
    transform 520ms var(--ease);
}

.archive-card:hover img {
  filter: grayscale(0) brightness(0.86) contrast(1.18);
  transform: scale(1.06);
}

.archive-card__body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.archive-card h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.archive-card p {
  margin: 0;
  color: rgba(242, 242, 239, 0.62);
  font-size: 12px;
  line-height: 1.52;
}

.archive-card__foot {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.split-image {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.68) contrast(1.1);
}

.split-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55));
}

.timeline {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.timeline__item {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 18px;
  padding: 18px;
  background: #050505;
  transition:
    background 260ms var(--ease),
    color 260ms var(--ease);
}

.timeline__item:hover {
  background: var(--ink);
  color: #050505;
}

.timeline__item time {
  font-family: var(--font-mono);
  font-size: 11px;
}

.timeline__item h3 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.02;
}

.timeline__item p {
  margin: 0;
  color: inherit;
  opacity: 0.72;
  font-size: 13px;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 36px;
  border: 1px solid var(--line);
  background: var(--line);
}

.contact-cell {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  padding: 18px;
  background: #050505;
}

.contact-cell span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.contact-cell strong {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 400;
  overflow-wrap: anywhere;
}

.detail {
  display: grid;
  gap: 12px;
}

.detail-hero {
  position: relative;
  min-height: calc(100vh - var(--header-height) - 96px);
  overflow: hidden;
  border: 1px solid var(--line);
}

.detail-hero img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.72) brightness(0.48) contrast(1.24);
}

.detail-hero__copy {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: clamp(22px, 4vw, 54px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.84));
}

.detail-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(46px, 10vw, 142px);
  font-weight: 400;
  line-height: 0.88;
  text-transform: uppercase;
}

.detail-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(242, 242, 239, 0.76);
  font-size: 16px;
  line-height: 1.7;
}

.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.detail-meta__cell {
  min-height: 116px;
  display: grid;
  align-content: space-between;
  padding: 16px;
  background: #050505;
}

.detail-meta__cell span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.detail-meta__cell strong,
.detail-meta__cell p {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
}

.detail-gallery button {
  position: relative;
  grid-column: span 4;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line);
  padding: 0;
  background: #050505;
  cursor: zoom-in;
}

.detail-gallery button:nth-child(1) {
  grid-column: span 7;
  min-height: 560px;
}

.detail-gallery button:nth-child(2) {
  grid-column: span 5;
  min-height: 560px;
}

.detail-gallery img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: brightness(0.68) contrast(1.13);
  transition:
    transform 560ms var(--ease),
    filter 560ms var(--ease);
}

.detail-gallery button:hover img {
  filter: brightness(0.92) contrast(1.2);
  transform: scale(1.06);
}

.route-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
}

.route-tools__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 58px var(--page-pad);
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 260ms var(--ease),
    visibility 260ms var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-height: 78vh;
  width: min(1200px, 100%);
  object-fit: contain;
  border: 1px solid var(--line);
}

.lightbox p {
  margin: 18px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: var(--page-pad);
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(0, 0, 0, 0.56);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 720ms var(--ease),
    transform 720ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.glitch {
  position: relative;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.glitch:hover::before {
  color: var(--ice);
  opacity: 0.8;
  transform: translate(-2px, -1px);
  animation: glitchA 420ms steps(2, end) infinite;
}

.glitch:hover::after {
  color: var(--danger);
  opacity: 0.7;
  transform: translate(2px, 1px);
  animation: glitchB 380ms steps(2, end) infinite;
}

@keyframes glitchA {
  50% {
    clip-path: inset(8% 0 72% 0);
  }
}

@keyframes glitchB {
  50% {
    clip-path: inset(68% 0 9% 0);
  }
}

@media (max-width: 1020px) {
  .section-grid,
  .section-grid--reversed {
    grid-template-columns: 1fr;
  }

  .work-card:nth-child(n),
  .archive-card {
    grid-column: span 6;
  }

  .detail-meta {
    grid-template-columns: 1fr;
  }

  .detail-gallery button,
  .detail-gallery button:nth-child(1),
  .detail-gallery button:nth-child(2) {
    grid-column: span 6;
    min-height: 400px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 66px;
    --page-pad: 14px;
  }

  body {
    cursor: auto;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle,
  .mobile-panel {
    display: grid;
  }

  .app {
    padding-top: calc(var(--header-height) + 14px);
  }

  .frame--hero {
    min-height: clamp(430px, 66svh, 590px);
  }

  .detail-hero {
    min-height: clamp(560px, 78svh, 680px);
  }

  .hero__top {
    padding: 16px;
    font-size: 10px;
  }

  .hero__top span {
    max-width: 160px;
    text-align: right;
  }

  .hero__coords {
    width: calc(100% - 32px);
    text-align: left;
  }

  .hero__coords h1 {
    font-size: clamp(38px, 13vw, 62px);
    line-height: 0.94;
  }

  .hero__coords p {
    width: 100%;
    margin-left: 0;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero__needle {
    display: none;
  }

  .hero__actions {
    right: 16px;
    left: 16px;
    bottom: 16px;
    justify-content: space-between;
  }

  .hero__actions .meta-button,
  .hero__actions .ghost-button {
    min-width: 0;
    flex: 1;
    padding: 0 10px;
  }

  .ticker {
    font-size: 10px;
  }

  .section-grid,
  .section-grid--reversed {
    padding: 18px;
  }

  .stats,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .work-card:nth-child(n),
  .archive-card,
  .detail-gallery button,
  .detail-gallery button:nth-child(1),
  .detail-gallery button:nth-child(2) {
    grid-column: span 12;
    min-height: 360px;
  }

  .archive-card img {
    height: 250px;
  }

  .timeline__item {
    grid-template-columns: 1fr;
  }

  .detail-hero__copy {
    padding: 18px;
  }

  .route-tools {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
