/* Keep page scrolling available without a visible scrollbar or reserved gutter. */
html,
body {
  scrollbar-width: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* Desktop rules stay in their original files. These layouts are only for compact
   screens and touch tablets, including landscape iPad widths. */
@media (max-width: 1100px),
  (max-width: 1400px) and (hover: none) and (pointer: coarse) {
  :root {
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --edge-inset: max(
      12px,
      env(safe-area-inset-left, 0px),
      env(safe-area-inset-right, 0px)
    );
    --page-gutter: max(
      clamp(16px, 4vw, 36px),
      env(safe-area-inset-left, 0px),
      env(safe-area-inset-right, 0px)
    );
  }
  html {
    scroll-padding-top: 96px;
  }
  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  button,
  a,
  input,
  select,
  summary {
    -webkit-tap-highlight-color: transparent;
  }
  button,
  a,
  summary {
    touch-action: manipulation;
  }

  /* Keep the complete navigation reachable in either orientation. */
  .menu-shell {
    top: calc(var(--safe-top) + 12px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .menu-shell,
  .menu-shell.music-playing {
    --assistant-slot-size: 32px;
    --assistant-slot-gap: 12px;
    --assistant-menu-width: 170px;
  }
  .menu-shell.music-playing {
    --assistant-menu-width: 214px;
  }
  body:not(.menu-open) .menu-shell {
    width: var(--assistant-menu-width);
    height: 50px;
    overflow: clip;
  }
  body:not(.menu-open) .menu-shell.music-playing {
    width: var(--assistant-menu-width);
  }
  body:not(.menu-open) .menu-shell.orb-away,
  body:not(.menu-open) .menu-shell.music-playing.orb-away {
    width: calc(
      var(--assistant-menu-width) - var(--assistant-slot-size) -
        var(--assistant-slot-gap)
    );
  }
  .menu-bar,
  body:not(.menu-open) .menu-bar,
  body:not(.menu-open) .music-playing .menu-bar {
    display: flex;
    height: 49px;
    padding: 0 10px;
    gap: 12px;
  }
  .menu-shell #assistant-open,
  .menu-shell .assistant-slot,
  body:not(.menu-open) #assistant-open,
  body:not(.menu-open) .assistant-slot {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
  .menu-shell #assistant-open::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
  }
  .menu-bar #menu-toggle,
  body:not(.menu-open) .menu-bar #menu-toggle,
  body:not(.menu-open) .music-playing .menu-bar #menu-toggle {
    min-height: 44px;
    min-width: 0;
    flex: 1;
    margin-left: auto;
    padding: 10px 12px;
    font-size: 14px;
    justify-content: center;
    gap: 12px;
  }
  /* Override the music layout too: neither state stretches the label/icon gap. */
  body:not(.menu-open) .menu-shell .menu-bar #menu-toggle,
  body:not(.menu-open) .menu-shell.music-playing .menu-bar #menu-toggle {
    flex: 0 0 104px;
    width: 104px;
    margin: 0;
    padding: 10px 12px;
    justify-content: center;
    gap: 12px;
  }
  .menu-bar .menu-symbol,
  body:not(.menu-open) .menu-symbol {
    width: 18px;
    height: 18px;
  }
  .menu-bar .menu-symbol i,
  body:not(.menu-open) .menu-symbol i {
    width: 16px;
    top: 5px;
  }
  .menu-bar .menu-symbol i + i,
  body:not(.menu-open) .menu-symbol i + i {
    width: 12px;
    top: 12px;
  }
  .menu-open .menu-bar .menu-symbol i {
    top: 8px;
  }
  .menu-open .menu-bar .menu-symbol i + i {
    width: 16px;
  }
  body:not(.menu-open) .menu-shell.music-playing .menu-bar .menu-audio-stop,
  .menu-bar .menu-audio-stop {
    flex: 0 0 32px;
    width: 32px;
    min-height: 44px;
  }
  .menu-open .menu-shell {
    right: auto;
    width: min(400px, calc(100vw - 24px));
    height: 500px;
    max-height: calc(100dvh - var(--safe-top) - var(--safe-bottom) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .menu-open .menu-bar {
    position: sticky;
    top: 0;
    z-index: 2;
    border-radius: 25px 25px 0 0;
    background: rgb(var(--surface) / 0.97);
  }
  .menu-open .menu-bar #menu-toggle {
    flex: 0 0 96px;
  }
  .menu-open .menu-wordmark {
    font-size: 10px;
    margin-left: 0;
  }
  .menu-open .music-playing .menu-wordmark {
    display: block;
  }
  #menu-content {
    padding: 10px 20px 20px;
  }
  .menu-intro {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .menu-link {
    padding: 15px 0;
    min-height: 78px;
    gap: 14px;
  }
  .menu-link-title {
    font-size: 25px;
  }
  .menu-link-title small {
    font-size: 13px;
    line-height: 1.45;
    margin-top: 6px;
  }
  .menu-bottom {
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  /* Retain the wordmark and reveal, with a tap equivalent for hover. */
  body > main.hero-brand {
    width: min(640px, 90vw);
    top: 44svh;
  }
  .hero-brand h1 {
    translate: 0 calc(var(--hero-logo-offset, 0px) * 0.55);
  }
  .hero-brand .hero-description {
    width: min(700px, calc(100vw - var(--page-gutter) * 2));
    top: calc(100% - 14px + var(--hero-text-offset, 0px) * 0.4);
  }
  .aperture-stage {
    height: 136px;
    touch-action: pan-y;
  }
  .aperture-stage h2 {
    font-size: clamp(27px, 5vw, 42px);
    letter-spacing: -0.055em;
  }
  .aperture-reveal > span {
    width: calc(100% - 30px);
    top: calc(50% + 29px);
    font-size: 12px;
    line-height: 1.5;
  }
  .aperture-stage.is-touch-revealed {
    --aperture-radius: 800px;
  }
  .aperture-stage.is-touch-revealed .aperture-base {
    visibility: hidden;
  }
  .scroll-cue {
    left: var(--page-gutter);
    top: calc(100svh - var(--safe-bottom) - 68px);
    min-height: 44px;
    font-size: 12px;
  }
  body > footer {
    padding: 0 var(--page-gutter) calc(24px + var(--safe-bottom));
    justify-content: flex-end;
  }
  body > footer .footnote {
    display: none;
  }

  /* Frame the enlarged computer with two feature pairs. */
  .nyx-sticky {
    padding: calc(var(--safe-top) + 80px) var(--page-gutter)
      calc(24px + var(--safe-bottom));
  }
  .nyx-title-row {
    gap: 16px;
    align-items: center;
  }
  .nyx-title-row h2 {
    font-size: clamp(34px, 5.2vw, 50px);
  }
  .nyx-byline {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .nyx-subtitle {
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.45;
  }
  .nyx-sequence {
    display: block;
    min-height: 0;
    overflow: hidden;
    overscroll-behavior-y: auto;
    scrollbar-width: thin;
    margin-top: 12px;
  }
  .nyx-sticky.is-reading .nyx-sequence {
    overflow-y: auto;
  }
  .nyx-film {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 8px 18px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    max-width: 620px;
    aspect-ratio: auto;
    margin: 0 auto;
    padding-bottom: 12px;
  }
  /* Fit the union of all 288 frame bounds, plus 16 source pixels of padding.
     Source extent: x192..1067, y92..655; safe window: 176,76 → 1083,671.
     The shared window keeps the laptop and its markers registered at every
     scroll position. Only empty source margins extend outside the window. */
  .nyx-media {
    display: grid;
    place-items: center;
    grid-area: 2/1/3/3;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: 100%;
    container-type: size;
  }
  .nyx-frame {
    display: block;
    position: relative;
    width: min(100cqw, calc(100cqh * 907 / 595));
    aspect-ratio: 907/595;
    overflow: clip;
  }
  #nyx-video,
  .nyx-hotspots {
    position: absolute;
    inset: auto;
    left: calc(-100% * 176 / 907);
    top: calc(-100% * 76 / 595);
    width: calc(100% * 1280 / 907);
    max-width: none;
    height: calc(100% * 720 / 595);
    aspect-ratio: auto;
    transform: none;
    margin: 0;
  }
  .nyx-hotspot {
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    font-size: 11px;
    border-radius: 11px;
  }
  .nyx-feature[data-order] {
    position: relative;
    inset: auto;
    width: auto;
    padding: 8px 4px;
    background: transparent;
    text-align: left;
  }
  .nyx-feature[data-order="1"] {
    grid-area: 1/1;
  }
  .nyx-feature[data-order="2"] {
    grid-area: 1/2;
  }
  .nyx-feature[data-order="3"] {
    grid-area: 3/1;
  }
  .nyx-feature[data-order="4"] {
    grid-area: 3/2;
  }
  .nyx-feature[data-order]::before {
    height: 3px;
    margin: 0 0 9px;
    transform: none;
  }
  .nyx-feature[data-order] p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
  }
  .nyx-feature[data-order] h3 {
    font-size: clamp(17px, 2.4vw, 22px);
    margin: 7px 0;
  }
  .nyx-feature > span {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .nyx-feature[role="button"] {
    cursor: pointer;
  }
  .nyx-feature[role="button"]:focus-visible {
    outline: 2px solid var(--nyx-ink);
    outline-offset: 2px;
    border-radius: 12px;
  }
  .nyx-scroll-note {
    flex-shrink: 0;
    font-size: 10px;
    gap: 12px;
    margin-top: 10px;
    letter-spacing: 0.07em;
  }
  body > .nyx-feature.is-expanded {
    position: fixed !important;
    z-index: 1100;
    grid-area: auto;
    max-width: calc(100vw - 24px);
    margin: 0;
    --nyx-ink: #375a66;
  }
  .nyx-detail-open .chapter-stage,
  .nyx-detail-open .menu-shell {
    pointer-events: none;
  }
  .nyx-panel-close {
    width: 44px;
    height: 44px;
    right: 16px;
    top: 16px;
  }
  .nyx-expanded-content p {
    font-size: 15px;
  }
  #nyx-load-error {
    grid-column: 1/-1;
  }

  /* Read both examples and reach the sculpture without clipped page content. */
  .clu-caption {
    top: calc(var(--safe-top) + 82px);
    left: var(--page-gutter);
    right: var(--page-gutter);
    font-size: 10px;
    letter-spacing: 0.1em;
  }
  .clu-intro {
    --clu-dock-left: calc(var(--page-gutter) + 6px + 5.2vw);
    --clu-dock-top: calc(var(--safe-top) + 125px);
  }
  .clu-title {
    padding: 90px 16px;
    transform: translate(
        calc(var(--clu-dock, 0) * (var(--clu-dock-left) - 50vw)),
        calc(var(--clu-dock, 0) * (var(--clu-dock-top) - 50svh))
      )
      scale(calc(1 - var(--clu-dock, 0) * 0.8));
  }
  .clu-title h2 {
    width: 94vw;
  }
  .clu-product {
    display: flex;
    flex-direction: column;
    padding: calc(var(--safe-top) + 108px) var(--page-gutter)
      calc(28px + var(--safe-bottom));
    overflow: clip;
  }
  .clu-product-top {
    flex: 0 0 auto;
    flex-wrap: wrap;
    min-height: 44px;
    padding: 0 0 16px calc(10.4vw + 26px);
    gap: 6px 20px;
    align-items: center;
  }
  .clu-product-top > span {
    display: block;
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: 0.06em;
  }
  .clu-product-top > span:first-child {
    line-height: 34px;
  }
  .clu-product-top .clu-version {
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: 0;
  }
  .clu-exhibit {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    width: 100%;
    max-width: none;
    margin: 6px 0 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior-y: auto;
    scrollbar-width: thin;
    padding: 4px 6px 18px;
  }
  .clu-exhibit-copy.clu-concepts {
    max-width: none;
    padding: 0;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-concept-stage {
    max-height: none;
    min-height: 0;
    overflow: visible;
    padding: 0;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-new-heading h3 {
    font-size: clamp(23px, 3.5vw, 30px);
    line-height: 1.2;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-new-heading > p {
    font-size: 14px;
    line-height: 1.55;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-xray-surface {
    height: 204px;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-route-map svg {
    height: auto;
    aspect-ratio: 2/1;
  }
  .clu-route-label {
    font-size: 12px;
    letter-spacing: 0.04em;
  }
  .clu-route-actions button {
    min-height: 44px;
    font-size: 14px;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-new-status {
    font-size: 13px;
    min-height: 40px;
  }
  .clu-concept-footer .clu-project-link {
    min-height: 44px;
    font-size: 14px;
  }
  .clu-concepts[data-clu-layout="stacked"] + .clu-object {
    height: clamp(360px, 62svh, 560px);
    min-height: 0;
    margin-top: 0;
    align-self: start;
    overflow: clip;
  }
  .clu-product > #clu-object-canvas {
    z-index: 2;
  }
  .clu-object-labels button > span {
    width: clamp(118px, 29vw, 180px);
    padding: 9px 10px;
    font-size: 13px;
  }
  .clu-object-labels button small {
    font-size: 11px;
    line-height: 1.45;
  }
  .clu-object-labels button {
    gap: 9px;
  }
  .clu-object-footer {
    padding-top: 10px;
    gap: 12px;
    font-size: 10px;
  }
  .clu-object-footer > span {
    font-size: 9px;
    max-width: 60%;
    letter-spacing: 0.04em;
  }
  .clu-object-footer button {
    min-height: 44px;
    font-size: 12px;
  }
  .clu-product-note {
    flex: 0 0 auto;
    margin: 12px 0 0;
    padding: 0;
    font-size: 11px;
    line-height: 1.5;
  }
  .clu-play {
    min-height: 44px;
    bottom: calc(32px + var(--safe-bottom));
  }
  .clu-continue {
    font-size: 18px;
  }

  /* The same compact chat stays above the on-screen keyboard. */
  .assistant-composer {
    --composer-width: min(560px, calc(100vw - var(--edge-inset) * 2));
  }
  .assistant-input-row {
    grid-template-columns: minmax(0, 1fr) 44px 44px;
    gap: 8px;
  }
  .assistant-pill {
    height: 48px;
  }
  .assistant-pill-content {
    padding: 6px 13px;
    gap: 7px;
  }
  .assistant-action-orb {
    width: 44px;
    height: 44px;
  }
  #assistant-message {
    font-size: 16px;
  }
  #assistant-message::placeholder {
    font-size: 12px;
    letter-spacing: 0.07em;
  }
  .assistant-view-toggle {
    left: calc(50% + var(--assistant-eye-x, 0px));
    width: 44px;
    height: 44px;
  }
  .assistant-bubble {
    max-width: min(252px, 84%);
    padding: 12px 19px;
  }
  .assistant-bubble p {
    font-size: 15px;
    line-height: 1.5;
  }
  .assistant-thread {
    padding-inline: 4px;
    touch-action: pan-y;
  }
  .assistant-conversation-space {
    bottom: calc(100% + var(--assistant-history-gap, 16px));
  }
  .assistant-motion-studio {
    max-height: calc(100dvh - 120px);
    width: min(300px, calc(100vw - 24px));
  }
  .assistant-motion-studio select {
    font-size: 16px;
    min-height: 44px;
  }
  .assistant-message-status {
    max-height: 72px;
    overflow: auto;
    margin-top: 6px;
    padding: 6px 10px;
  }
  .assistant-focus-panel {
    width: min(600px, calc(100vw - 12px));
  }
  .ares-type-block {
    left: var(--page-gutter);
    right: var(--page-gutter);
    top: clamp(150px, 24svh, 240px);
  }
  .ares-type-block h2 {
    font-size: clamp(17px, 3vw, 23px);
  }
  .ares-font-options {
    flex-wrap: wrap;
  }
  .ares-font-options button {
    min-height: 44px;
    font-size: 13px;
  }
}

@media (min-width: 900px) and (max-width: 1100px),
  (min-width: 900px) and (max-width: 1400px) and (hover: none) and (pointer: coarse) {
  .clu-exhibit {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 24px;
  }
  .clu-concepts[data-clu-layout="stacked"] + .clu-object {
    position: sticky;
    top: 0;
    height: max(400px, calc(100svh - 280px));
  }
}
@media (max-width: 700px) {
  .nyx-sequence {
    margin-top: var(--page-gutter);
    container-type: inline-size;
  }
  .nyx-sequence > .nyx-film {
    box-sizing: border-box;
    min-height: 100%;
    /* Cap the middle row at the complete laptop window, then share spare
       space equally around the card pairs and computer. */
    grid-template-rows:
      auto
      minmax(
        min(180px, max(0px, calc(100svh - 400px))),
        calc(100cqw * 595 / 907)
      )
      auto;
    align-content: space-evenly;
    row-gap: var(--page-gutter);
    padding-block: var(--page-gutter);
  }
  .nyx-scroll-note {
    margin-top: var(--page-gutter);
  }
  .nyx-hotspot {
    --nyx-marker-size: min(28px, 8cqw, calc(8cqh * 907 / 595));
    width: var(--nyx-marker-size);
    height: var(--nyx-marker-size);
    min-width: var(--nyx-marker-size);
    font-size: 10px;
    border-radius: 9px;
  }
  /* Compact feature pairs leave more room for the computer on phones. */
  .nyx-film .nyx-feature[data-order] {
    padding: 4px;
  }
  .nyx-film .nyx-feature[data-order]::before {
    width: 24px;
    height: 2px;
    margin-bottom: 6px;
  }
  .nyx-film .nyx-feature[data-order] > span {
    font-size: 9px;
    letter-spacing: 0.06em;
  }
  .nyx-film .nyx-feature[data-order] h3 {
    font-size: 15px;
    line-height: 1.25;
    margin: 5px 0;
  }
  .nyx-film .nyx-feature[data-order] p {
    font-size: 12px;
    line-height: 1.45;
  }
  /* Phones lead with the rule example; X-ray remains available on larger screens. */
  .clu-intro {
    --clu-dock-top: calc(var(--safe-top) + 105px);
  }
  #clu-video {
    object-fit: cover;
    object-position: center;
  }
  .clu-product {
    padding-top: calc(var(--safe-top) + 88px);
    padding-bottom: calc(24px + var(--safe-bottom));
  }
  .clu-product-top {
    padding-bottom: 8px;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-xray {
    display: none;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-circuit {
    margin: 0;
    padding: 0;
    border-top: 0;
  }
  .clu-exhibit {
    gap: 8px;
    grid-template-rows: max-content minmax(0, 1fr) max-content;
    align-content: stretch;
    margin-top: 4px;
    padding: 0 6px;
    overflow: visible;
  }
  .clu-exhibit-copy.clu-concepts {
    display: contents;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-concept-stage {
    order: 0;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-concept-footer {
    order: 2;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-new-heading h3 {
    font-size: clamp(18px, 2.6svh, 22px);
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-new-heading > p {
    font-size: 12px;
    line-height: 1.4;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-route-map {
    margin: 7px 0;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-route-map svg {
    height: clamp(72px, 12svh, 104px);
    aspect-ratio: auto;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-new-status {
    min-height: 32px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-concept-footer {
    margin: 0;
    padding: 0;
    border: 0;
  }
  .clu-concept-footer > span,
  .clu-object-footer,
  .clu-product-note {
    display: none;
  }
  .clu-concept-footer #clu-object-pause {
    min-height: 44px;
    padding: 0;
    background: none;
    color: #c6ab91;
    font-size: 11px;
    letter-spacing: 0;
  }
  .clu-concept-footer .clu-project-link {
    font-size: 11px;
    gap: 5px;
  }
  .clu-concept-footer .clu-project-link > span {
    font-size: 18px;
  }
  .clu-concepts[data-clu-layout="stacked"] + .clu-object {
    order: 1;
    height: 100%;
    align-self: stretch;
    width: calc(100% + 2 * (var(--page-gutter) + 6px));
    margin-inline: calc(-1 * (var(--page-gutter) + 6px));
  }
  .clu-frame-label {
    font-size: 16px;
    letter-spacing: 2px;
  }
  .clu-object-labels button > span {
    width: 104px;
    padding: 6px 7px;
    font-size: 10px;
    line-height: 1.25;
  }
  .clu-object-labels button small {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 9px;
    line-height: 1.4;
    margin-top: 4px;
  }
  .clu-object-labels button.selected small {
    -webkit-line-clamp: unset;
  }
  .clu-object-labels button.selected > span {
    width: 150px;
  }
  .clu-object-labels button {
    gap: 6px;
  }
  .clu-object-footer {
    padding-top: 6px;
    gap: 8px;
  }
  .clu-object-footer > span {
    font-size: 8px;
    line-height: 1.5;
  }
  .clu-object-footer button {
    font-size: 11px;
  }
  .clu-product-note {
    margin-top: 6px;
  }
}
@media (max-width: 420px) {
  .nyx-title-row {
    flex-wrap: nowrap;
    gap: 12px;
  }
  .nyx-film {
    gap: 8px 12px;
  }
  .clu-concept-footer > span {
    font-size: 9px;
  }
}
@media (max-width: 700px) and (max-height: 740px) {
  .nyx-sticky {
    padding-top: 76px;
    padding-bottom: 20px;
  }
  .nyx-sequence {
    margin-top: 12px;
  }
  .nyx-sequence > .nyx-film {
    row-gap: 8px;
    padding-block: 4px;
  }
  .nyx-film .nyx-feature[data-order] h3 {
    font-size: 14px;
  }
  .clu-intro {
    --clu-dock-top: calc(var(--safe-top) + 93px);
  }
  .clu-product {
    padding-top: calc(var(--safe-top) + 76px);
    padding-bottom: calc(20px + var(--safe-bottom));
  }
  .clu-product-top {
    min-height: 34px;
    padding-bottom: 0;
  }
  .clu-exhibit {
    gap: 4px;
    margin-top: 2px;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-new-heading h3 {
    margin-bottom: 4px;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-route-map {
    margin: 5px 0;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-route-map svg {
    height: 72px;
  }
  .clu-concepts[data-clu-layout="stacked"] .clu-concept-footer {
    padding-top: 0;
  }
  .clu-object-labels button > span {
    width: 92px;
    padding: 4px 5px;
  }
  .clu-object-labels button small {
    -webkit-line-clamp: 1;
    line-height: 1.3;
    margin-top: 2px;
  }
  .clu-object-labels button {
    gap: 4px;
  }
  .clu-object-footer {
    padding-top: 2px;
  }
  .clu-product-note {
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.4;
  }
}
@media (max-height: 540px) and (max-width: 1100px),
  (max-height: 540px) and (max-width: 1400px) and (hover: none) and (pointer: coarse) {
  body > main.hero-brand {
    top: 40svh;
    width: min(420px, 54vw);
  }
  .hero-brand .hero-description {
    width: min(550px, 72vw);
    top: calc(100% - 28px);
  }
  .aperture-stage {
    height: 84px;
  }
  .aperture-stage h2 {
    font-size: 27px;
  }
  .aperture-reveal > span {
    top: calc(50% + 20px);
    font-size: 11px;
  }
  .scroll-cue {
    top: calc(100svh - var(--safe-bottom) - 68px);
    left: var(--page-gutter);
    font-size: 10px;
  }
  .nyx-sticky {
    padding-top: 76px;
    padding-bottom: 20px;
  }
  .nyx-title-row h2 {
    font-size: 30px;
  }
  .nyx-subtitle {
    margin-top: 4px;
    font-size: 14px;
  }
  .nyx-sequence {
    margin-top: 8px;
  }
  .clu-product {
    padding-top: calc(var(--safe-top) + 84px);
    padding-bottom: 20px;
  }
  .clu-product-top {
    min-height: 34px;
    padding-bottom: 8px;
  }
  .clu-title {
    transform: translate(
        calc(var(--clu-dock, 0) * (var(--clu-dock-left) - 50vw)),
        calc(var(--clu-dock, 0) * (var(--safe-top) + 101px - 50svh))
      )
      scale(calc(1 - var(--clu-dock, 0) * 0.8));
  }
  .clu-product-note {
    margin-top: 6px;
    font-size: 10px;
  }
  .ares-type-block {
    top: 116px;
  }
}

/* In short landscape viewports the feature pairs flank the computer. Size the
   complete frame window against the actual remaining space, not a device size
   or a fixed zoom. The canvas never needs per-frame layout work. */
@media (min-aspect-ratio: 5/4) and (max-height: 700px) and (max-width: 1100px),
  (min-aspect-ratio: 5/4) and (max-height: 700px) and (max-width: 1400px) and (hover: none) and (pointer: coarse) {
  .nyx-sequence > .nyx-film {
    height: 100%;
    min-height: 0;
    max-width: none;
    padding: 0;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    align-content: stretch;
    align-items: center;
  }
  .nyx-media {
    grid-area: 1/2/3/3;
  }
  .nyx-feature[data-order="1"] {
    grid-area: 1/1;
  }
  .nyx-feature[data-order="2"] {
    grid-area: 1/3;
  }
  .nyx-feature[data-order="3"] {
    grid-area: 2/1;
  }
  .nyx-feature[data-order="4"] {
    grid-area: 2/3;
  }
  .nyx-film .nyx-feature[data-order] {
    padding: 2px;
  }
  .nyx-film .nyx-feature[data-order]::before {
    height: 2px;
    margin-bottom: 4px;
  }
  .nyx-film .nyx-feature[data-order] > span {
    font-size: 8px;
    letter-spacing: 0.04em;
  }
  .nyx-film .nyx-feature[data-order] h3 {
    font-size: 13px;
    line-height: 1.2;
    margin: 4px 0;
  }
  .nyx-film .nyx-feature[data-order] p {
    font-size: 11px;
    line-height: 1.35;
  }
  .nyx-hotspot {
    width: 26px;
    height: 26px;
    min-width: 26px;
    font-size: 9px;
    border-radius: 8px;
  }
}
