/* PACE14: desktop controls share the existing motion curve. No scene geometry changes. */
@media (min-width:801px) {
  :root {
    /* AUTO 2: --eve-press and --eve-feedback come from the motion bible's scale (motion-tokens.css: 90 and 180 ms). */
    --eve-label-tracking:.15em;
  }

  :is(.masthead a,.inquiry,.world-steps a,.scene-nav a,.next,.email,.prepare summary,.other-chapters a) {
    cursor:pointer;
    transition:color var(--eve-feedback) var(--eve-ease),
      opacity var(--eve-feedback) var(--eve-ease),
      transform var(--eve-feedback) var(--eve-ease);
  }
  :is(.masthead a,.inquiry,.world-steps a,.scene-nav a,.next,.email,.prepare summary,.other-chapters a):focus-visible {
    outline:2px solid var(--gold);
    outline-offset:6px;
  }
  :is(.masthead nav a,.inquiry,.scene-nav a,.next,.email,.prepare summary,.other-chapters a):focus-visible {
    color:var(--gold);
  }
  :is(.masthead a,.inquiry,.world-steps a,.scene-nav a,.next,.email,.prepare summary,.other-chapters a):active {
    opacity:.78;
    transition-duration:var(--eve-press);
  }

  /* Keep surfaces and borders still; only ink, arrows and transforms respond. */
  .masthead nav a,.masthead nav a:hover,.masthead nav a[aria-current] {border-color:transparent}
  .masthead nav a {position:relative}
  .masthead nav a::after {
    content:"";position:absolute;left:0;right:0;bottom:3px;height:1px;
    background:var(--gold);transform:scaleX(0);transform-origin:left;
    transition:transform var(--eve-feedback) var(--eve-ease);
  }
  .masthead nav a[aria-current]::after,.masthead nav a:focus-visible::after {transform:scaleX(1)}
  .inquiry,.inquiry:hover,.inquiry:focus-visible {background:transparent;border-color:#ced6c860}
  .inquiry::before {display:none}
  html .inquiry:focus-visible {color:var(--gold)}
  html .world-steps a,html .world-steps a:hover,html .world-steps a:focus-visible {
    background:#0d221c;border-top-color:transparent;
  }
  html .world-steps a[aria-current] {background:#123026}
  html:not(.world-still) .world-steps a,html.world-still .world-steps a {
    transition:transform var(--eve-feedback) var(--eve-ease),opacity var(--eve-feedback) var(--eve-ease),color var(--eve-feedback) var(--eve-ease);
  }
  .world-steps b {transition:color var(--eve-feedback) var(--eve-ease)}
  html .world-steps a:focus-visible b {color:var(--gold)}
  :is(.inquiry,.email,.other-chapters a) > span,.world-steps .step-arrow,.scene-nav a > span,.prepare summary > span {
    display:inline-block;
    transition:transform var(--eve-feedback) var(--eve-ease);
  }
  :is(.inquiry,.email,.other-chapters a):focus-visible > span,.world-steps a:focus-visible .step-arrow {transform:translate(2px,-2px)}
  .scene-nav a:focus-visible > span {transform:scale(1.12)}
  .next:hover {background:#10292266}

  .eyebrow,.world-steps .step-number {letter-spacing:var(--eve-label-tracking)}
  .eyebrow,.step-number,.scene-nav,footer {font-variant-numeric:tabular-nums lining-nums}
  .world-copy h1,.scene-copy :is(h1,h2),.contact h2 {text-wrap:balance}
  .chapter[data-composition] .scene-copy {width:440px;max-width:440px}
  .heading-glue {white-space:nowrap}
}

@media (min-width:801px) and (hover:hover) {
  html :is(.masthead nav a,.inquiry,.scene-nav a,.next,.email,.prepare summary,.other-chapters a):hover {color:var(--gold)}
  .masthead nav a:hover::after {transform:scaleX(1)}
  html .world-steps a:hover b {color:var(--gold)}
  html:not(.world-still) .world-steps a:hover,html.world-still .world-steps a.is-on:hover {transform:translateY(-2px)}
  :is(.inquiry,.email,.other-chapters a):hover > span,.world-steps a:hover .step-arrow {transform:translate(2px,-2px)}
  .scene-nav a:hover > span {transform:scale(1.12)}
  .next:hover {transform:translateY(2px)}
}

/* Neutralize inherited hover-only rules on touch desktops; focus stays independent. */
@media (min-width:801px) and (hover:none) {
  html :is(.masthead nav a,.inquiry,.email,.prepare summary):hover:not(:focus-visible):not([aria-current]) {color:var(--paper)}
  .masthead nav a:hover:not(:focus-visible):not([aria-current])::after {transform:scaleX(0)}
}

@media (min-width:801px) {
  html:not(.world-still) .world-steps a:active,html.world-still .world-steps a.is-on:active {transform:translateY(0);transition-duration:var(--eve-press)}
  :is(.inquiry,.email,.other-chapters a):active > span,.world-steps a:active .step-arrow,.scene-nav a:active > span {transform:none;transition-duration:var(--eve-press)}
}
@media (min-width:801px) and (prefers-reduced-motion:reduce) {
  :is(.masthead a,.inquiry,.world-steps a,.world-steps b,.scene-nav a,.next,.email,.prepare summary,.other-chapters a),
  .masthead nav a::after,:is(.inquiry,.email,.other-chapters a,.prepare summary,.scene-nav a) > span,.world-steps .step-arrow {
    transition:none!important;
  }
  html:not(.world-still) .world-steps a:hover,html.world-still .world-steps a.is-on:hover,
  :is(.inquiry,.email,.other-chapters a):is(:hover,:focus-visible) > span,
  .world-steps a:is(:hover,:focus-visible) .step-arrow,.scene-nav a:is(:hover,:focus-visible) > span,.next:hover {transform:none}
}
