body {
  --text-mute: #76817a;
}

.studio-nav a:not(.nav-contact) {
  font-size: 13px;
}

.hero-grid,
.hero-copy,
.hero-media {
  min-width: 0;
}

.mobile-break {
  display: none;
}

.hero-work-link {
  padding: 10px 0;
  border-bottom: 1px solid var(--text-soft);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.hero-work-link:hover,
.hero-work-link:focus-visible {
  border-bottom-color: var(--glow);
  color: var(--glow);
}

.hero-media {
  min-height: clamp(420px, 48vw, 590px);
}

.hero-frame-main {
  inset: auto;
  top: 45%;
  left: 0;
  width: 92%;
  aspect-ratio: 16 / 9;
  transform: translateY(-50%);
}

.hero-frame-main img {
  object-fit: cover;
}

.hero-frame-sub {
  right: 0;
  bottom: 3%;
  width: 42%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.hero-proof-link {
  display: block;
}

.hero-proof-link:focus-visible {
  outline: 2px solid var(--glow);
  outline-offset: 5px;
}

.hero-proof-cta {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  padding: 11px 14px;
  border: 1px solid var(--glow);
  color: var(--ink);
  background: var(--glow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-media-note {
  top: 4%;
  right: 0;
}

.work-body > p {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 14px;
}

.work-body .work-scope {
  color: var(--text-soft);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

.work-scope > span {
  display: inline-block;
  margin-right: 8px;
  color: var(--glow);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}

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

@media (max-width: 1040px) {
  .studio-nav a:not(.nav-contact) {
    font-size: 12px;
  }
}

@media (max-width: 820px) {
  html:not(.js-nav) .nav-toggle {
    display: none;
  }

  html:not(.js-nav) .studio-nav {
    position: static;
    visibility: visible;
    display: flex;
    padding: 0;
    opacity: 1;
    background: transparent;
  }

  html:not(.js-nav) .studio-nav a:not(.nav-contact) {
    display: none;
  }

  html:not(.js-nav) .studio-nav .nav-contact {
    margin: 0;
    padding: 10px 12px;
    font-size: 11px;
  }

  .js-nav .nav-toggle {
    display: inline-flex;
  }

  .js-nav .studio-nav {
    position: fixed;
    width: 100%;
    height: 100dvh;
    min-height: 100vh;
    visibility: hidden;
    overflow-y: auto;
    opacity: 0;
  }

  .js-nav .studio-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .hero-media {
    min-height: 430px;
  }

  .hero-frame-main {
    top: 43%;
    width: 94%;
  }

  .hero-frame-sub {
    width: 46%;
  }
}

@media (max-width: 580px) {
  .mobile-break {
    display: inline;
  }

  .hero-copy h1 {
    font-size: clamp(2.72rem, 13.7vw, 4.35rem);
    line-height: 1.02;
  }

  .studio-button,
  .hero-work-link {
    width: 100%;
  }

  .hero-work-link {
    text-align: center;
  }

  .hero-media {
    min-height: 332px;
  }

  .hero-frame-main {
    top: 0;
    width: 100%;
    transform: none;
  }

  .hero-frame-sub {
    right: 0;
    bottom: 0;
    width: 49%;
  }

  .hero-media-note {
    top: auto;
    right: auto;
    bottom: 3%;
    left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
  }
}
