/* A shared type scale keeps the hero and the product section in proportion. */
:root {
  --type-display: clamp(38px, min(5.3vw, 8.2svh), 104px);
  --type-group: clamp(26px, min(3.2vw, 5svh), 48px);
  --type-body: clamp(16px, min(1.405vw, 2.25svh), 24px);
  --type-button: clamp(14px, 1.15vw, 20px);
  --type-small: clamp(12px, .95vw, 16px);
}
.opening-screen {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(min-content, 1fr) auto;
  background: #fff;
}
.opening-screen > header {
  height: clamp(68px, 8svh, 104px);
  min-height: 0;
}
.opening-screen .brand { font-size: clamp(18px, 1.53vw, 30px); }
.opening-screen .desktop-nav { font-size: clamp(14px, 1.15vw, 20px); gap: clamp(16px, 2.45vw, 42px); }
.opening-screen .button {
  height: clamp(46px, 5.8svh, 64px);
  padding-inline: clamp(20px, 2.15vw, 38px);
  font-size: var(--type-button);
}
.opening-screen header .button {
  height: clamp(40px, 4.7svh, 54px);
  padding-inline: clamp(16px, 1.65vw, 30px);
  font-size: clamp(13px, 1.04vw, 18px);
}
.opening-screen > main { height: auto; min-width: 0; }
.opening-screen .copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(24px, 4svh, 56px) 5vw clamp(24px, 4svh, 56px) 4.05vw;
}
.opening-screen .eyebrow {
  font-size: var(--type-small);
  color: #686865;
  margin-bottom: clamp(20px, 3svh, 34px);
  letter-spacing: .19em;
}
.opening-screen h1 { order: 2; font-size: var(--type-display); letter-spacing: -.035em; }
.opening-screen .copy p {
  order: 3;
  font-size: var(--type-body);
  max-width: min(39.1vw, 740px);
  margin-top: clamp(22px, 3svh, 36px);
}
.opening-screen .actions { order: 4; margin-top: clamp(24px, 3.6svh, 42px); }
.opening-screen .scene {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 0;
}
.opening-screen .object {
  position: relative;
  width: min(48vw, 70svh);
  max-width: 100%;
  top: auto;
  left: auto;
  transform: none;
}
.opening-screen .benefits {
  height: auto;
  min-height: clamp(70px, 9svh, 100px);
  padding-block: 16px;
  font-size: clamp(14px, 1.06vw, 20px);
}
.opening-screen .benefits span { white-space: normal; }
.opening-screen .benefits b {
  width: clamp(28px, 2.6vw, 44px);
  height: clamp(28px, 2.6vw, 44px);
  font-size: clamp(12px, .94vw, 17px);
}

@media (min-width: 801px) and (max-height: 700px) {
  .opening-screen .copy { padding-block: 18px; }
  .opening-screen .eyebrow { margin-bottom: 16px; }
  .opening-screen .copy p { margin-top: 18px; }
  .opening-screen .actions { margin-top: 20px; }
}

@media (max-width: 800px) {
  :root {
    --type-display: clamp(39px, 7.7vw, 62px);
    --type-group: clamp(25px, 5vw, 36px);
    --type-body: 17px;
    --type-button: 14px;
    --type-small: 12px;
  }
  /* Let the stacked composition grow on short phones instead of clipping it. */
  .opening-screen > header { height: 72px; }
  .opening-screen > main { align-content: start; align-self: start; }
  .opening-screen .copy { padding: 16px 6% 36px; }
  .opening-screen h1 { letter-spacing: -.04em; }
  .opening-screen .eyebrow { letter-spacing: .12em; margin-bottom: 18px; }
  .opening-screen .copy p { max-width: 560px; margin-top: 24px; order: 4; }
  .opening-screen .actions { margin-top: 22px; order: 3; }
  .opening-screen .button { height: 48px; padding-inline: 22px; }
  .opening-screen .scene { height: clamp(220px, 68vw, 480px); margin: 0 6%; align-items: flex-start; overflow: visible; }
  .opening-screen .object { position: relative; width: 100%; height: calc(100% - 24px); aspect-ratio: auto; max-width: 100%; top: auto; left: auto; transform: none; }
  .opening-screen .benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 20px clamp(16px, 4vw, 28px);
    min-height: 0;
    padding: 22px 6%;
    font-size: 13px;
    line-height: 1.45;
  }
  /* Give the label its own shrinkable track instead of an anonymous flex item. */
  .opening-screen .benefits > span {
    display: grid;
    grid-template-columns: 29px minmax(0, 1fr);
    width: auto;
    min-width: 0;
    gap: 8px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .opening-screen .benefits b { width: 29px; height: 29px; font-size: 12px; }
}
@media (max-width: 380px) {
  :root { --type-display: clamp(32px, 10vw, 38px); --type-body: 16px; }
  .opening-screen .brand { font-size: 14px; }
  .opening-screen .actions .button { padding-inline: 16px; font-size: 13px; }
}
/* Keep the hero useful if a 3D download or graphics initialisation fails. */
.frame-fallback { position: absolute; inset: 15%; display: grid; place-items: center; perspective: 800px; }
.frame-fallback span { display: block; width: 80%; aspect-ratio: 1; border: clamp(24px, 5vw, 80px) solid #101010; transform: rotateX(14deg) rotateZ(12deg); }
#frame-3d[data-ready="true"]:not([data-renderer="static"]) .frame-fallback { display: none; }
.motion-toggle[hidden] { display: none; }
.skip-link { position: absolute; top: -100px; left: 24px; z-index: 1100; padding: 14px 18px; background: #101010; color: #fff; font-size: 16px; }
.skip-link:focus { top: 12px; }
.no-script-note { margin: 0; padding: 16px 6%; font-size: 16px; line-height: 1.5; }
.no-script-note a { text-decoration: underline; }
#hero-title:focus { outline: none; }
