/* Tokens and base styles */
:root {
  --black: #080808;
  --white: #f5f5f2;
  --line-soft: rgba(255, 255, 255, 0.07);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

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

#app {
  position: relative;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
}

.noise {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

/* Landing page */
.landing {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  padding: 30px 42px;
  overflow: hidden;
  background: radial-gradient(circle at 70% 42%, #1b1b1b 0%, #0c0c0c 30%, #050505 72%);
  transition: opacity 800ms var(--ease), transform 1000ms var(--ease), visibility 800ms;
}

.landing.is-hidden {
  opacity: 0;
  transform: scale(1.04);
  visibility: hidden;
  pointer-events: none;
}

.landing-top,
.landing-bottom {
  position: relative;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand span,
.hub-brand span {
  color: #777;
}

.landing-status {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #666;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.landing-status i {
  display: inline-block;
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px rgba(255,255,255,.7);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1) translateZ(0);
  }
  50% {
    opacity: 0.25;
    transform: scale(0.7) translateZ(0);
  }
}

.landing-content {
  position: relative;
  z-index: 15;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(300px, 0.9fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 25px clamp(40px, 8vw, 150px);
  width: min(1350px, 100%);
  flex: 1;
  min-height: 0;
  margin: 0 auto;
  padding: 4vh 3vw;
}

.landing-copy {
  min-width: 0;
}

.micro-label {
  margin: 0 0 22px;
  color: #666;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.landing h1 {
  margin: 0;
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.085em;
}

.landing h1 em {
  color: #858585;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.landing-description {
  max-width: 360px;
  margin: 36px 0 0;
  color: #777;
  font-size: 0.82rem;
  line-height: 1.7;
}

.video-frame {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  justify-self: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 0 4px rgba(255, 255, 255, 0.75),
    0 0 12px rgba(255, 255, 255, 0.4),
    0 0 28px rgba(255, 255, 255, 0.18),
    inset 0 0 8px rgba(255, 255, 255, 0.12);
}

.video-frame::before,
.project-card.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--white), var(--white)) left 12px top 12px / 24px 1px no-repeat,
    linear-gradient(var(--white), var(--white)) left 12px top 12px / 1px 24px no-repeat,
    linear-gradient(var(--white), var(--white)) right 12px top 12px / 24px 1px no-repeat,
    linear-gradient(var(--white), var(--white)) right 12px top 12px / 1px 24px no-repeat,
    linear-gradient(var(--white), var(--white)) left 12px bottom 12px / 24px 1px no-repeat,
    linear-gradient(var(--white), var(--white)) left 12px bottom 12px / 1px 24px no-repeat,
    linear-gradient(var(--white), var(--white)) right 12px bottom 12px / 24px 1px no-repeat,
    linear-gradient(var(--white), var(--white)) right 12px bottom 12px / 1px 24px no-repeat;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.7));
  pointer-events: none;
}

.video-frame::before {
  z-index: 2;
}

.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 35% center;
  transform: scale(1.05);
  opacity: 0;
  transition: opacity 600ms ease;
}

.video-frame video.has-video {
  opacity: 1;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #777;
  background: radial-gradient(circle at 50% 50%, #242424, #0d0d0d 70%);
  transition: opacity 250ms ease;
}

.video-placeholder.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.placeholder-symbol {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
  border: 1px solid #444;
  border-radius: 50%;
  color: #aaa;
  font-size: 1.4rem;
}

.video-placeholder strong {
  color: #ddd;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
}

.video-placeholder small {
  color: #555;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.enter-button {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 50px 1fr 40px;
  align-items: center;
  width: min(700px, 100%);
  height: 62px;
  margin: 0 auto;
  padding: 0;
  border: 1px solid #333;
  background: rgba(255,255,255,.025);
  color: #fff;
  cursor: pointer;
  text-align: left;
  transition: background 350ms ease, border-color 350ms ease, transform 450ms var(--ease);
}

.enter-button:hover {
  background: #f5f5f2;
  border-color: #f5f5f2;
  color: #080808;
  transform: translateY(-4px);
}

.enter-number {
  padding-left: 20px;
  color: #666;
  font-size: 0.62rem;
}

.enter-button:hover .enter-number {
  color: #777;
}

.enter-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.enter-arrow {
  font-size: 1.2rem;
  transition: transform 350ms var(--ease);
}

.enter-button:hover .enter-arrow {
  transform: translate(5px, -5px);
}

.landing-bottom {
  color: #444;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.hub {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding: 30px 42px;
  overflow: hidden;
  background: radial-gradient(circle at 55% 45%, #1b1b1b 0%, #0c0c0c 45%, #050505 100%);
  opacity: 0;
  transform: scale(.97);
  pointer-events: none;
  transition: opacity 800ms var(--ease), transform 1000ms var(--ease);
}

.hub.is-visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hub-bg-number {
  position: absolute;
  right: -0.04em;
  bottom: -0.25em;
  z-index: 0;
  color: rgba(255,255,255,.025);
  font-size: min(55vw, 48rem);
  font-weight: 800;
  line-height: .75;
  letter-spacing: -.12em;
  user-select: none;
  pointer-events: none;
}

.hub-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
}

.hub-brand {
  justify-self: start;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.hub-title {
  text-align: center;
}

.hub-title span {
  color: #666;
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .15em;
}

.hub-title h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: .8;
  letter-spacing: -.07em;
}

.hub-title h2 span {
  color: #777;
  font-size: inherit;
}

.close-hub {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #666;
  cursor: pointer;
  font-size: .55rem;
  letter-spacing: .13em;
}

.close-hub b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #333;
  border-radius: 50%;
  color: #aaa;
  font-size: 1rem;
  font-weight: 300;
  transition: all 250ms ease;
}

.close-hub:hover {
  color: #fff;
}

.close-hub:hover b {
  border-color: #fff;
  color: #fff;
  transform: rotate(90deg);
}

.projects-area {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 260px;
  align-items: center;
  gap: 25px;
  min-height: 0;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* Project cards */
.project-meta {
  align-self: start;
  padding-top: 15vh;
  color: #666;
  font-size: .57rem;
  font-weight: 600;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.projects-track {
  position: relative;
  width: 100%;
  height: min(64vh, 590px);
  perspective: 1600px;
  touch-action: pan-y;
}

.project-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(520px, 80%);
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  background: #101010;
  box-shadow: 0 40px 100px rgba(0,0,0,.45);
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 700ms var(--ease), opacity 500ms ease, border-color 500ms ease, box-shadow 500ms ease;
}

.project-card.is-active {
  opacity: 1;
  transform: translateX(-50%) translateZ(0) rotateY(0) scale(1);
  z-index: 3;
  pointer-events: auto;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 0 4px rgba(255, 255, 255, 0.55),
    0 0 18px rgba(255, 255, 255, 0.16),
    0 40px 100px rgba(0, 0, 0, 0.45);
}

.project-card.is-active::after {
  z-index: 6;
}

.project-card.is-left {
  opacity: .25;
  transform: translateX(calc(-50% - 210px)) translateZ(-260px) rotateY(22deg) scale(.78);
  z-index: 1;
  pointer-events: auto;
}

.project-card.is-right {
  opacity: .25;
  transform: translateX(calc(-50% + 210px)) translateZ(-260px) rotateY(-22deg) scale(.78);
  z-index: 1;
  pointer-events: auto;
}

.project-card.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateZ(-400px) scale(0.5);
  z-index: 0;
  pointer-events: none;
}

.card-image {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.preview-frame {
  position: relative;
  display: grid;
  place-items: center;
  width: min(88%, 440px);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.025);
  box-shadow:
    0 0 5px rgba(255, 255, 255, 0.32),
    0 0 18px rgba(255, 255, 255, 0.1),
    inset 0 0 16px rgba(255, 255, 255, 0.035);
}

.preview-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 8px;
  background:
    linear-gradient(var(--white), var(--white)) left top / 16px 1px no-repeat,
    linear-gradient(var(--white), var(--white)) left top / 1px 16px no-repeat,
    linear-gradient(var(--white), var(--white)) right top / 16px 1px no-repeat,
    linear-gradient(var(--white), var(--white)) right top / 1px 16px no-repeat,
    linear-gradient(var(--white), var(--white)) left bottom / 16px 1px no-repeat,
    linear-gradient(var(--white), var(--white)) left bottom / 1px 16px no-repeat,
    linear-gradient(var(--white), var(--white)) right bottom / 16px 1px no-repeat,
    linear-gradient(var(--white), var(--white)) right bottom / 1px 16px no-repeat;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.7));
  pointer-events: none;
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255,255,255,.07), transparent 30%), linear-gradient(0deg, rgba(0,0,0,.2), transparent 60%);
  pointer-events: none;
}

.image-placeholder {
  position: relative;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: radial-gradient(circle at 50% 45%, #282828 0, #111 38%, #080808 75%);
}

.image-placeholder span {
  color: rgba(255,255,255,.08);
  font-size: 14rem;
  font-weight: 800;
  line-height: .7;
  letter-spacing: -.12em;
}

.image-placeholder small {
  position: absolute;
  z-index: 2;
  color: #777;
  font-size: .52rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-align: center;
}

.card-image img {
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  display: block;
  object-fit: contain;
  object-position: center;
}

.card-bg-number {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 22px;
  color: rgba(255,255,255,.65);
  font-size: .6rem;
  letter-spacing: .1em;
}

.card-footer {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  color: #888;
  font-size: .55rem;
  letter-spacing: .12em;
}

.card-shine {
  position: absolute;
  z-index: 5;
  top: -100%;
  left: -40%;
  width: 40%;
  height: 300%;
  transform: translateX(0) rotate(25deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.05), transparent);
  transition: transform 900ms var(--ease);
}

.project-card.is-active:hover .card-shine {
  transform: translateX(425%) rotate(25deg);
}

.project-description {
  align-self: end;
  min-width: 0;
  padding-bottom: 9vh;
}

.project-description p {
  max-width: 250px;
  margin: 0 0 24px;
  color: #999;
  font-size: .75rem;
  line-height: 1.8;
}

.project-description a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #555;
  background: rgba(255, 255, 255, .025);
  color: #ddd;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .12em;
  transition: color 250ms ease, border-color 250ms ease, background 250ms ease, box-shadow 250ms ease;
}

.project-link-arrow {
  transition: transform 300ms var(--ease);
}

.project-description a:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 0 14px rgba(255, 255, 255, .12);
}

.project-description a:hover .project-link-arrow {
  transform: translateX(10px);
}

.project-description a.is-unavailable {
  opacity: .55;
  cursor: not-allowed;
}

.project-description a.is-unavailable:hover {
  border-color: #555;
  background: rgba(255, 255, 255, .025);
  box-shadow: none;
}

.project-description a.is-unavailable:hover .project-link-arrow {
  transform: none;
}

.hub-footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Project navigation */
.navigation {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navigation button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #333;
  border-radius: 50%;
  background: transparent;
  color: #aaa;
  cursor: pointer;
  transition: all 250ms ease;
}

.navigation button:hover {
  border-color: #fff;
  background: #fff;
  color: #000;
}

.navigation-line {
  width: 180px;
  height: 1px;
  background: #292929;
}

#navigation-progress {
  width: 100%;
  height: 100%;
  background: #fff;
  transform: scaleX(.333333);
  transform-origin: left;
  transition: transform 600ms var(--ease);
}

.keyboard-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #444;
  font-size: .5rem;
  letter-spacing: .12em;
}

.keyboard-hint kbd {
  display: grid;
  place-items: center;
  width: 22px;
  height: 20px;
  border: 1px solid #292929;
  color: #666;
  font-size: .6rem;
}

/* Responsive layouts */
@media (max-width: 900px) {
  .landing,
  .hub {
    padding: clamp(16px, 3vw, 22px);
  }

  .landing-content {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto auto;
    gap: clamp(14px, 2.5vh, 22px);
    padding: clamp(14px, 3vh, 24px) 0;
  }

  .landing-copy {
    text-align: center;
  }

  .landing h1 {
    font-size: clamp(3.5rem, 10vw, 6rem);
  }

  .landing-description {
    max-width: min(36rem, 100%);
    margin: clamp(14px, 2.5vh, 20px) auto 0;
  }

  .micro-label {
    margin-bottom: clamp(12px, 2vh, 18px);
  }

  .video-frame {
    width: clamp(210px, 38vw, 340px);
    max-width: 100%;
  }

  .enter-button {
    width: min(36rem, 100%);
  }

  .landing-bottom {
    display: none;
  }

  .projects-area {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 10px;
    min-width: 0;
  }

  .project-meta {
    position: absolute;
    top: 15px;
    left: 0;
    padding: 0;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .projects-track {
    height: min(52svh, 420px);
    min-height: 210px;
    max-width: 100%;
    margin-inline: auto;
  }

  .project-description {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 3vw, 24px);
    width: min(100%, 42rem);
    margin: 0 auto;
    padding: 0 0 clamp(8px, 1.5vh, 16px);
  }

  .project-description p {
    max-width: 42ch;
    margin: 0;
    font-size: clamp(.72rem, 1.5vw, .82rem);
    line-height: 1.55;
  }

  .project-description a {
    flex: 0 0 auto;
    font-size: .58rem;
  }

  .close-hub b,
  .navigation button {
    width: 44px;
    height: 44px;
  }

  .project-card.is-left {
    transform: translateX(calc(-50% - clamp(64px, 15vw, 120px))) translateZ(-200px) rotateY(16deg) scale(.75);
  }

  .project-card.is-right {
    transform: translateX(calc(-50% + clamp(64px, 15vw, 120px))) translateZ(-200px) rotateY(-16deg) scale(.75);
  }
}

@media (max-width: 560px) {
  .landing,
  .hub {
    padding: 14px clamp(14px, 5vw, 20px);
  }

  .landing-top {
    min-height: 24px;
  }

  .landing h1 {
    font-size: clamp(3.25rem, 15vw, 4.5rem);
  }

  .landing-status {
    display: none;
  }

  .landing-content {
    gap: clamp(12px, 2.5vh, 18px);
    padding-block: clamp(10px, 2vh, 16px);
  }

  .micro-label {
    font-size: clamp(.5rem, 2.4vw, .6rem);
    letter-spacing: .12em;
  }

  .landing-description {
    max-width: 34ch;
    font-size: clamp(.75rem, 3.5vw, .82rem);
    line-height: 1.55;
  }

  .video-frame {
    width: clamp(180px, 62vw, 280px);
  }

  .enter-button {
    grid-template-columns: 42px minmax(0, 1fr) 36px;
    width: 100%;
    min-height: 52px;
    height: auto;
  }

  .enter-number {
    padding-left: 14px;
  }

  .enter-text {
    font-size: clamp(.58rem, 2.8vw, .68rem);
    letter-spacing: .1em;
  }

  .enter-arrow {
    justify-self: center;
  }

  .hub-header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }

  .hub-title {
    display: none;
  }

  .hub-brand {
    font-size: .7rem;
  }

  .close-hub {
    min-height: 44px;
    gap: 8px;
  }

  .close-hub b {
    width: 36px;
    height: 36px;
  }

  .projects-area {
    width: 100%;
  }

  .project-meta {
    top: 12px;
    right: 0;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: .52rem;
  }

  .projects-track {
    width: 100%;
    height: min(42svh, 320px);
    min-height: 180px;
  }

  .project-card {
    width: min(340px, calc(100% - 24px));
  }

  .project-description {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-bottom: 8px;
  }

  .project-description p {
    max-width: 100%;
    font-size: .76rem;
  }

  .project-description a {
    align-self: flex-start;
  }

  .keyboard-hint {
    display: none;
  }

  .navigation {
    gap: 10px;
  }

  .navigation button {
    width: 44px;
    height: 44px;
  }

  .navigation-line {
    width: clamp(88px, 30vw, 140px);
  }

  .hub-footer {
    min-height: 44px;
  }
}

@media (max-width: 900px) and (max-height: 700px) {
  .landing,
  .hub {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .landing-content {
    gap: clamp(10px, 1.8vh, 14px);
    padding-top: 1svh;
    padding-bottom: 1svh;
  }

  .landing h1 {
    font-size: clamp(2.75rem, 9vw, 3.75rem);
  }

  .micro-label {
    margin-bottom: 10px;
  }

  .landing-description {
    margin-top: 10px;
  }

  .enter-button {
    min-height: 48px;
  }

  .video-frame {
    width: clamp(160px, 34vw, 260px);
  }

  .projects-track {
    height: min(46svh, 320px);
    min-height: 180px;
  }
}

@media (max-width: 560px) and (max-height: 620px) {
  .landing-content {
    gap: 8px;
    padding-block: 6px;
  }

  .landing h1 {
    font-size: clamp(2.5rem, 13vw, 3.25rem);
  }

  .micro-label {
    margin-bottom: 8px;
  }

  .landing-description {
    margin-top: 8px;
  }

  .video-frame {
    width: clamp(150px, 45vw, 220px);
  }

  .projects-track {
    height: min(38svh, 250px);
    min-height: 160px;
  }
}

@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .landing,
  .hub {
    padding: 10px clamp(16px, 3vw, 28px);
  }

  .landing-content {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 10px clamp(16px, 3vw, 28px);
    padding-block: 6px;
  }

  .landing-copy {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
  }

  .landing h1 {
    font-size: clamp(2rem, 8vh, 3rem);
  }

  .micro-label {
    margin-bottom: 8px;
  }

  .landing-description {
    max-width: 32ch;
    margin: 10px 0 0;
    font-size: .75rem;
  }

  .video-frame {
    grid-column: 2;
    grid-row: 1;
    width: min(100%, 48svh);
    align-self: center;
  }

  .enter-button {
    grid-column: 1 / -1;
    grid-row: 2;
    width: min(100%, 36rem);
    min-height: 44px;
  }

  .projects-track {
    height: min(34svh, 190px);
    min-height: 130px;
  }

  .project-description {
    gap: 8px;
    padding-bottom: 0;
  }

  .project-description p {
    font-size: .7rem;
    line-height: 1.4;
  }

  .project-description a {
    min-height: 40px;
  }
}

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

  .landing-status i {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}