.hero {
  background:
    linear-gradient(90deg, #071a18e8 0%, #071a18cb 35%, #071a185c 66%, #071a1812 100%),
    #101b19 url("./media/quarry-hero.jpg") center 55% / cover no-repeat;
}
.hero::before { content: none; }
.hero-layout {
  display: flex;
  align-items: center;
  min-height: clamp(380px, 37vw, 560px);
  padding-block: clamp(40px, 6vw, 82px);
}
.hero-copy { max-width: min(650px, 72%); }
.hero-copy h1 { font-size: clamp(54px, 7.7vw, 118px); }
.hero-line { font-size: clamp(28px, 3.2vw, 46px); text-wrap: balance; }
.hero-line span, .nav-download { white-space: nowrap; }
.nav-play-short { display: none; }
.play-platform { margin-top: 13px; font-size: 12px; color: var(--muted); }
.play-platform a { display: inline-block; margin-left: 6px; text-decoration: underline; text-underline-offset: 3px; }
.gameplay-stripe {
  max-width: 106.66svh;
  margin-block: clamp(18px, 3vw, 42px);
  background: #0d1715;
  border-radius: 7px;
}
.hero-video {
  display: block;
  position: static;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
.gameplay-stripe figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 6px 12px;
}
.trailer-controls { position: static; display: flex; flex-wrap: wrap; max-width: 100%; gap: 6px; }
.trailer-controls .hero-motion { position: static; min-height: 36px; }
.watch-preview {
  display: grid;
  align-items: end;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #5a624c;
  border-radius: 5px;
  background: #081410;
}
.watch-preview img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.watch-preview-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  color: var(--ink);
  background: #111b17ef;
  border: 1px solid #9d835c;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}
.watch-preview:hover .watch-preview-label { background: #344234; }
.playtest-device {
  padding: 10px 12px;
  border-left: 2px solid var(--gold);
  background: #202e25;
}
.playtest-device strong { color: var(--ink); }
.invite-card {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}
.invite-card h3 { font: 650 28px / 1.1 var(--display); }
#invite-form { display: grid; gap: 10px; margin-top: 11px; }
#invite-form button { justify-self: start; }
.invite-trap { position: absolute; left: -9999px; width: 1px; height: 1px; }
.invite-note, #invite-status { color: var(--muted); font-size: 12px; margin-top: 9px; }
.invite-note a, .footer p a { text-decoration: underline; text-underline-offset: 3px; }
.footer { flex-wrap: wrap; padding-block: 20px; }
.footer .rights-notice { flex-basis: 100%; margin: 0; font-size: 13px; line-height: 1.7; }
#invite-status:empty { display: none; }
#google-sign-in { margin-top: 12px; }
#google-sign-in-button { margin-block: 10px; }
.agreement-note { padding: 14px; border: 1px solid var(--gold); border-radius: 5px; background: #202e25; }
.agreement-note h4 { margin: 0 0 7px; font-size: 17px; color: var(--ink); }
.agreement-note p { margin: 0; font-size: 14px; line-height: 1.65; }
#nda-details summary { font-size: 16px; font-weight: 700; line-height: 1.5; cursor: pointer; }
#nda-text { max-height: 24rem; font-size: 14px; line-height: 1.7; }
#nda-text p:first-child { font-size: 18px; font-weight: 700; }
.agreement-check { padding: 12px; border: 1px solid var(--line); border-radius: 4px; font-size: 15px; line-height: 1.6; }
.agreement-check input { flex-shrink: 0; width: 18px; height: 18px; }
.agreement-check a { color: var(--gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .hero {
    background:
      linear-gradient(0deg, #071a18f7 3%, #071a18eb 47%, #071a18ce 74%, #071a1855 93%, #071a1822),
      #101b19 url("./media/quarry-hero.jpg") 82% center / cover no-repeat;
  }
  .hero-layout { min-height: 480px; align-items: end; padding-block: 135px 35px; }
  .hero-copy { max-width: 100%; }
  .hero-copy .eyebrow { color: #ffe0a8; }
  .hero-copy h1 { font-size: clamp(57px, 11vw, 88px); }
}
@media (max-width: 630px) {
  .nav-play-long { display: none; }
  .nav-play-short { display: inline; }
  .hero-copy h1 { font-size: clamp(52px, 12vw, 73px); }
  .watch-preview-label { right: 8px; bottom: 8px; }
}

.gameplay-stripe:fullscreen {
  display: flex;
  flex-direction: column;
  max-width: none;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #0a100e;
}
.gameplay-stripe:fullscreen .hero-video {
  flex: 1 1 0;
  min-height: 0;
  aspect-ratio: auto;
}
.gameplay-stripe figcaption { flex-wrap: wrap; }

.signup-steps { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: step; }
.signup-steps li { position: relative; padding: 10px 12px 10px 50px; border: 1px solid var(--line); border-radius: 5px; background: var(--panel); color: var(--muted); font-size: 14px; counter-increment: step; }
.signup-steps li::before { content: counter(step); position: absolute; left: 12px; top: 10px; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #9d835c; border-radius: 50%; color: var(--gold); font-weight: 800; font-size: 13px; }
.signup-steps strong { color: var(--ink); }
#demo .invite-card { margin-top: 0; }
.signup-aside { color: var(--muted); font-size: 13px; }
.signup-aside a, .browser-playtest > p a { text-decoration: underline; text-underline-offset: 3px; }
.browser-playtest { margin-block: 26px 10px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; }
.browser-playtest > summary { font-weight: 700; }
.browser-playtest > p { max-width: 62ch; margin-bottom: 14px; }
.browser-playtest .downloads { max-width: 640px; color: var(--ink); font-size: 15px; }
