/* GSDT · Design D (Datum) · International Project Solutions · Concept R1
   01 Hero: the field survey — from one photograph of a remote mountain road to a planning view.
   04 Our Delivery Approach: one project area, from mobilisation to handover.
   Datum tokens only (charcoal, warm, cool, titanium, graphite + opacities); Inter; the 12-column grid. */

/* ---------------------------------------------------------------- 01 HERO */
.iph { position: relative; }
.iph__track { position: relative; height: 430vh; }
.iph__stage { position: sticky; top: 0; height: 100vh; min-height: 640px; overflow: hidden; background: var(--charcoal); }
.iph__gl, .iph__ov { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.iph__gl { z-index: 0; }
.iph__ov { z-index: 2; pointer-events: none; }
.iph__fallback { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
@media (orientation: portrait) { .iph__fallback { object-position: 84% 50%; } }
.iph.is-gl .iph__fallback { opacity: 0; transition: opacity .6s .2s; }
.iph__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(26, 27, 29, .78) 0, rgba(26, 27, 29, .55) 30%, rgba(26, 27, 29, 0) 58%),
    linear-gradient(0deg, rgba(26, 27, 29, .7) 0, rgba(26, 27, 29, 0) 34%),
    linear-gradient(180deg, rgba(26, 27, 29, .55) 0, rgba(26, 27, 29, 0) 18%); }

/* copy */
.iph__content { position: sticky; top: 0; z-index: 4; height: 100vh; min-height: 640px; margin-top: calc(-1 * max(100vh, 640px)); pointer-events: none; }
.iph__inner { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 34px; padding-top: calc(var(--header-h) + 24px); }
.iph__content a, .iph__content button { pointer-events: auto; }
.iph__text { grid-column: 1 / span 5; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.iph__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--cool); }
.iph__eyebrow .sl { color: var(--graphite); }
.iph__title { margin-top: 20px; color: var(--warm); }
.iph__title .ln { display: block; }
.iph__title .ln + .ln { color: var(--titanium); }
@media (min-width: 1081px) { .iph__title { font-size: min(var(--t-xl), 5vw, calc((max(100vh, 640px) - 470px) / 2.6)); } .iph__title .ln { white-space: nowrap; } }
.iph__lede { margin-top: 22px; max-width: 30em; color: var(--titanium); }
.iph__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.iph__quick { display: flex; flex-wrap: wrap; }
.iph__quick a { font-size: 13px; font-weight: 560; color: var(--titanium); padding: 8px 14px; border-left: 1px solid rgba(196, 197, 199, .24); transition: color var(--t-fast); }
.iph__quick a:first-child { border-left: 0; padding-left: 0; }
.iph__quick a:hover, .iph__quick a:focus-visible { color: var(--warm); }

/* the survey HUD: a thin frame of instruments around the picture */
.iph__hud { position: absolute; inset: 0; z-index: 3; pointer-events: none; color: var(--titanium); font-size: 11px; }
.hud-top { position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px));
  top: calc(var(--header-h) + 14px); display: flex; justify-content: space-between; align-items: center; gap: 16px; opacity: var(--hud-top, 0); }
.hud-tag { display: inline-flex; align-items: center; gap: 9px; letter-spacing: .14em; text-transform: uppercase; font-weight: 560; color: var(--warm); }
.hud-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 0 3px rgba(246, 243, 239, .14); }
.hud-read { font-variant-numeric: tabular-nums; letter-spacing: .08em; color: var(--cool); text-align: right; }
.hud-read b { color: var(--warm); font-weight: 560; }
.hud-side { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); top: calc(var(--header-h) + 52px); width: 292px; display: grid; gap: 10px;
  pointer-events: auto; opacity: var(--hud-side, 0); transform: translateX(calc((1 - var(--hud-side, 0)) * 24px)); visibility: var(--hud-vis, hidden); }
.hud-panel { background: rgba(26, 27, 29, .72); border: 1px solid rgba(196, 197, 199, .2); padding: 12px 14px 12px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hud-panel h3 { margin: 0 0 8px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--warm); display: flex; justify-content: space-between; gap: 10px; }
.hud-panel h3 span { color: var(--cool); font-weight: 500; letter-spacing: .08em; }
.hud-panel svg { display: block; width: 100%; height: auto; overflow: visible; }
.hud-layers { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.hud-layers button { display: flex; align-items: center; gap: 8px; text-align: left; font: inherit; font-size: 11.5px; color: var(--titanium); padding: 5px 0; cursor: pointer; }
.hud-layers button::before { content: ""; width: 9px; height: 9px; border: 1px solid var(--cool); flex: none; }
.hud-layers button[aria-pressed="true"] { color: var(--warm); }
.hud-layers button[aria-pressed="true"]::before { background: var(--warm); border-color: var(--warm); }
.hud-layers button:focus-visible { outline: 1px solid var(--warm); outline-offset: 2px; }
.hud-cap { position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: 12px;
  display: flex; justify-content: flex-end; gap: 16px; color: var(--cool); font-style: italic; font-size: 11px; letter-spacing: .01em; }
.hud-cap span { max-width: 62ch; text-align: right; }
.hud-state { position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); bottom: 12px; display: flex; gap: 10px; align-items: center;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--warm); font-weight: 560; opacity: var(--hud-top, 0); }
.hud-state .bar { width: 120px; height: 1px; background: rgba(196, 197, 199, .24); position: relative; }
.hud-state .bar i { position: absolute; inset: 0; background: var(--warm); transform-origin: left; transform: scaleX(var(--p, 0)); }
.iph svg .ink { stroke: var(--warm); }
.iph svg .soft { stroke: rgba(196, 197, 199, .35); }
.iph svg .txt { fill: var(--cool); font: 500 9.5px/1 var(--font); letter-spacing: .06em; }
.iph svg .txt-w { fill: var(--warm); font: 600 9.5px/1 var(--font); letter-spacing: .1em; }

/* the copy steps aside while the terrain model and the planning view take the screen (the header keeps the CTA) */
.iph.is-plan .iph__text { opacity: 0; transform: translateY(-18px); pointer-events: none; }
.iph.is-gl .iph__shade { opacity: calc(1 - var(--plan, 0) * .8); }

@media (max-width: 1080px) {
  .iph__track { height: 400vh; }
  .iph__text { grid-column: 1 / span 9; }
  .hud-side { top: auto; bottom: 44px; width: auto; left: max(var(--gutter), env(safe-area-inset-left, 0px)); grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 1080px) and (orientation: landscape) {
  .hud-side { right: max(var(--gutter), env(safe-area-inset-right, 0px)); left: auto; width: 280px; top: calc(var(--header-h) + 40px); bottom: auto; grid-template-columns: 1fr; }
  .hud-side .hud-panel.is-plan { display: none; }
}
@media (max-width: 699px) {
  .iph__track { height: 380vh; }
  .iph__stage { height: 100svh; min-height: 0; }
  .iph__content { height: 100svh; min-height: 0; margin-top: -100svh; }
  .iph__inner { padding-bottom: 54px; }
  .iph__shade { background: linear-gradient(0deg, rgba(26, 27, 29, .92) 0, rgba(26, 27, 29, .74) 44%, rgba(26, 27, 29, .34) 68%, rgba(26, 27, 29, 0) 86%), linear-gradient(180deg, rgba(26, 27, 29, .6) 0, rgba(26, 27, 29, 0) 22%); }
  .iph__title { font-size: clamp(2.3rem, 1rem + 6.4vw, 3.3rem); margin-top: 16px; }
  .iph__lede { margin-top: 16px; font-size: 1rem; }
  .iph__ctas { margin-top: 20px; gap: 12px 18px; }
  .iph__quick a { padding: 6px 10px; font-size: 12.5px; }
  .hud-top { top: calc(var(--header-h) + 8px); }
  .hud-read { display: none; }
  .hud-side { grid-template-columns: 1fr; bottom: 40px; }
  .hud-side .hud-panel.is-plan, .hud-side .hud-panel.is-layers { display: none; }
  .hud-cap { bottom: 10px; font-size: 10.5px; }
  .hud-cap span { max-width: none; text-align: left; }
  .hud-state { display: none; }
}
@media (max-width: 699px) and (max-height: 620px) { .iph__lede { display: none; } }
@media (max-width: 440px) { .iph__eyebrow { gap: 7px; letter-spacing: .1em; } }

/* ---------------------------------------------------------------- sketches (02, 03): the page's rhythm, not yet developed */
.ips-sketch { position: relative; }
.sk-tag { display: inline-flex; gap: 8px; align-items: center; padding: 5px 10px; border: 1px dashed var(--rule-strong); color: var(--graphite); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 560; }
.band--dark .sk-tag { color: var(--cool); }
.ipd__grid { align-items: start; row-gap: 40px; }
.ipd__text { grid-column: 1 / span 6; }
.ipd__title { margin-top: 22px; max-width: 14ch; }
.ipd__p { margin-top: 28px; max-width: 34em; color: var(--graphite); }
.ipd__fig { grid-column: 8 / span 5; margin: 0; }
.ipd__strip { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--charcoal); }
.ipd__strip img { width: 100%; height: 100%; object-fit: cover; object-position: 63% 58%; display: block; filter: contrast(1.02); }
.ipd__strip svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ipd__fig figcaption { margin-top: 10px; font-size: 11.5px; color: var(--graphite); display: flex; justify-content: space-between; gap: 12px; }
.ipss__head { align-items: end; row-gap: 22px; }
.ipss__title { grid-column: 1 / span 6; max-width: 13ch; }
.ipss__intro { grid-column: 8 / span 5; color: var(--graphite); max-width: 32em; }
.ipss__list { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); }
.ipss__item { padding: 22px 22px 6px 0; border-right: 1px solid var(--rule); display: grid; gap: 14px; align-content: start; }
.ipss__item + .ipss__item { padding-left: 22px; }
.ipss__item:last-child { border-right: 0; }
.ipss__item .num { font-size: var(--t-label); letter-spacing: .15em; color: var(--graphite); font-weight: 560; }
.ipss__item svg { width: 64px; height: 64px; color: var(--charcoal); }
.ipss__item p { color: var(--graphite); margin: 0; }
@media (max-width: 1080px) {
  .ipd__text, .ipd__fig { grid-column: 1 / -1; }
  .ipd__strip { aspect-ratio: 16 / 9; }
  .ipss__title, .ipss__intro { grid-column: 1 / -1; }
  .ipss__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ipss__item:nth-child(2) { border-right: 0; }
  .ipss__item:nth-child(3) { padding-left: 0; }
  .ipss__item:nth-child(n + 3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 699px) {
  .ipss__list { grid-template-columns: 1fr; }
  .ipss__item, .ipss__item + .ipss__item { padding: 20px 0 8px; border-right: 0; }
  .ipss__item + .ipss__item { border-top: 1px solid var(--rule); }
}

/* ---------------------------------------------------------------- reduced motion: no pinning; the planning view is still */
@media (prefers-reduced-motion: reduce) {
  .iph__track { height: auto; }
  .iph__stage { position: relative; height: 100vh; min-height: 640px; }
  .iph__content { position: absolute; inset: 0; margin-top: 0; height: auto; }
  .iph.is-plan .iph__text { opacity: 1; transform: none; pointer-events: auto; }
}
.rm .iph__track { height: auto; }
.rm .iph__stage { position: relative; height: 100vh; min-height: 640px; }
.rm .iph__content { position: absolute; inset: 0; margin-top: 0; height: auto; }
.rm .iph.is-plan .iph__text { opacity: 1; transform: none; pointer-events: auto; }

/* ---------------------------------------------------------------- 04 OUR DELIVERY APPROACH: one project area,
   from mobilisation to handover. A pinned sequence on the same terrain as the hero: plan, route, field, record. */
.ipa { padding-top: var(--section-pad); }
.ipa__intro { align-items: end; row-gap: 22px; padding-bottom: clamp(40px, 5vw, 72px); }
.ipa__head { grid-column: 1 / span 6; }
.ipa__title { margin-top: 22px; max-width: 13ch; color: var(--warm); }
.ipa__lede { grid-column: 8 / span 5; color: var(--titanium); max-width: 30em; }
.ipa__track { position: relative; height: 520vh; }
.ipa__stage { position: sticky; top: 0; height: 100vh; min-height: 620px; overflow: hidden; background: var(--charcoal); }
.ipa__gl, .ipa__ov { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ipa__ov { z-index: 2; pointer-events: none; }
.ipa__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(26, 27, 29, .9) 0, rgba(26, 27, 29, .62) 24%, rgba(26, 27, 29, 0) 44%),
              linear-gradient(0deg, rgba(26, 27, 29, .8) 0, rgba(26, 27, 29, 0) 22%); }
.ipa__ui { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  padding: calc(var(--header-h) + 28px) max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); }
.ipa__ui button, .ipa__ui a { pointer-events: auto; }

/* the stage copy: all four stages are in the list; the active one is open */
.ipa__now { position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); top: calc(var(--header-h) + 40px); width: min(380px, 30vw); }
.ipa__kicker { color: var(--cool); display: flex; gap: 6px; }
.ipa__kicker .num { color: var(--warm); }
.ipa__steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; }
.ipa__step { border-top: 1px solid rgba(196, 197, 199, .18); padding: 14px 0 12px; }
.ipa__step:last-child { border-bottom: 1px solid rgba(196, 197, 199, .18); }
.ipa__st { margin: 0; font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); line-height: 1.12; font-weight: 500; letter-spacing: -.02em; color: var(--graphite);
  transition: color .45s var(--ease-out); display: flex; gap: 14px; align-items: baseline; }
.ipa__st::before { content: attr(data-n); font-size: var(--t-label); letter-spacing: .15em; font-weight: 560; color: inherit; min-width: 1.6em; }
.ipa__sd { margin: 0; max-height: 0; overflow: hidden; opacity: 0; color: var(--titanium); font-size: var(--t-body); line-height: 1.55;
  transition: max-height .6s var(--ease-out), opacity .4s, margin .6s var(--ease-out); padding-left: calc(1.6em + 14px); }
.ipa__step.is-on .ipa__st { color: var(--warm); }
.ipa__step.is-on .ipa__sd { max-height: 9em; opacity: 1; margin-top: 10px; }

/* the stage card: the working list for the active stage, drawn from the stage's own words */
.ipa__card { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); top: calc(var(--header-h) + 40px); width: 300px;
  background: rgba(26, 27, 29, .78); border: 1px solid rgba(196, 197, 199, .2); padding: 14px 16px 12px; color: var(--titanium); font-size: 12px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ipa__card h4 { margin: 0 0 10px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--warm); display: flex; justify-content: space-between; gap: 10px; }
.ipa__card h4 span { color: var(--cool); font-weight: 500; letter-spacing: .08em; }
.ipa__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ipa__card li { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; opacity: .38; transition: opacity .35s; }
.ipa__card li.is-on { opacity: 1; }
.ipa__card li i { width: 11px; height: 11px; border: 1px solid var(--cool); position: relative; }
.ipa__card li.is-done i { background: var(--warm); border-color: var(--warm); }
.ipa__card li.is-done i::after { content: ""; position: absolute; left: 3px; top: 0; width: 3px; height: 7px; border: solid var(--charcoal); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.ipa__card li b { font-weight: 500; color: var(--warm); }
.ipa__card li em { font-style: normal; color: var(--cool); font-variant-numeric: tabular-nums; font-size: 11px; }
.ipa__card .gantt { display: block; height: 4px; background: rgba(196, 197, 199, .14); position: relative; grid-column: 2 / -1; margin-top: -2px; }
.ipa__card .gantt s { position: absolute; top: 0; bottom: 0; background: var(--titanium); text-decoration: none; }
.ipa__card .bar { height: 2px; background: rgba(196, 197, 199, .2); margin-top: 12px; position: relative; }
.ipa__card .bar i { position: absolute; inset: 0; background: var(--warm); transform-origin: left; transform: scaleX(var(--k, 0)); }
.ipa__card .foot { margin-top: 10px; font-size: 10.5px; color: var(--cool); letter-spacing: .04em; }
.ipa__card .mini { display: none; margin: 0; color: var(--titanium); font-size: 11.5px; }
.ipa__card .mini b { color: var(--warm); font-weight: 560; font-variant-numeric: tabular-nums; }
.ipa__card .mini span { color: var(--warm); }

/* the project schedule: four phases, also the keyboard controls */
.ipa__rail { position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: 40px;
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: end; }
.ipa__rail-k { color: var(--cool); padding-bottom: 12px; }
.ipa__phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; }
.ipa__ph { position: relative; text-align: left; font: inherit; color: var(--cool); padding: 0 0 12px; cursor: pointer; display: flex; gap: 10px; align-items: baseline; font-size: 12.5px; }
.ipa__ph .num { font-size: 10.5px; letter-spacing: .14em; font-weight: 560; }
.ipa__ph .t { font-weight: 500; letter-spacing: -.005em; }
.ipa__ph i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(196, 197, 199, .16); overflow: hidden; }
.ipa__ph i::after { content: ""; position: absolute; inset: 0; background: var(--warm); transform-origin: left; transform: scaleX(var(--f, 0)); }
.ipa__ph.is-on, .ipa__ph:hover { color: var(--warm); }
.ipa__ph:focus-visible { outline: 1px solid var(--warm); outline-offset: 4px; }
.ipa__cap { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: 12px; margin: 0; color: var(--cool); font-style: italic; font-size: 11px; text-align: right; }

@media (max-width: 1080px) {
  .ipa__head { grid-column: 1 / -1; }
  .ipa__lede { grid-column: 1 / -1; }
  .ipa__track { height: 480vh; }
  .ipa__now { width: min(340px, 42vw); }
  .ipa__card { width: 260px; }
  .ipa__rail { grid-template-columns: 1fr; gap: 8px; }
  .ipa__rail-k { display: none; }
}
@media (max-width: 1080px) and (orientation: portrait) {
  .ipa__now { top: auto; bottom: 96px; width: auto; right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
  .ipa__shade { background: linear-gradient(0deg, rgba(26, 27, 29, .94) 0, rgba(26, 27, 29, .8) 30%, rgba(26, 27, 29, 0) 52%), linear-gradient(180deg, rgba(26, 27, 29, .6) 0, rgba(26, 27, 29, 0) 20%); }
  .ipa__step:not(.is-on) { display: none; }
  .ipa__step { border: 0 !important; padding: 0; }
  .ipa__steps { margin-top: 10px; }
  .ipa__card { top: calc(var(--header-h) + 18px); }
  .ipa__st::before { display: none; }
}
@media (max-width: 699px) {
  .ipa__track { height: 460vh; }
  .ipa__stage { height: 100svh; min-height: 0; }
  .ipa__card { left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px)); width: auto; padding: 9px 12px 10px; top: calc(var(--header-h) + 12px); }
  .ipa__card h4 { margin-bottom: 5px; }
  .ipa__card ul, .ipa__card .foot { display: none; }
  .ipa__card .mini { display: block; }
  .ipa__card .bar { margin-top: 8px; }
  .ipa__now { bottom: 100px; }
  .ipa__st { font-size: 1.35rem; }
  .ipa__sd { font-size: .95rem; padding-left: 0; }
  .ipa__st::before { min-width: 0; }
  .ipa__rail { bottom: 46px; }
  .ipa__ph { flex-direction: column; gap: 2px; font-size: 11px; padding-bottom: 9px; }
  .ipa__ph .t { display: none; }
  .ipa__ph.is-on .t { display: inline; white-space: nowrap; }
  .ipa__cap { left: max(var(--gutter), env(safe-area-inset-left, 0px)); bottom: 8px; font-size: 10px; line-height: 1.35; text-align: left; }
}
@media (max-width: 699px) and (max-height: 620px) { .ipa__card { display: none; } }

/* reduced motion: no pin; the stage buttons switch still frames (every stage's text stays in the list for assistive tech) */
@media (prefers-reduced-motion: reduce) {
  .ipa__track { height: auto; }
  .ipa__stage { position: relative; }
  .ipa__sd, .ipa__st { transition: none; }
}
.rm .ipa__track { height: auto; }
.rm .ipa__stage { position: relative; }
.rm .ipa__sd, .rm .ipa__st { transition: none; }
@media (max-width: 1080px) { .review-toggle { transition: opacity .25s, visibility 0s linear .25s; } .review-toggle.is-aside { opacity: 0; visibility: hidden; } }

/* ---------------------------------------------------------------- 05 closing: the approved CL-A row (same values as the AI and Procurement pages) */
.page-ips .final__row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.page-ips .related { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.page-ips .related a { font-size: 14.5px; font-weight: 560; color: var(--titanium); border-bottom: 1px solid var(--rule-strong); padding-bottom: 2px; }
.page-ips .related a:hover, .page-ips .related a:focus-visible { color: var(--warm); border-color: var(--warm); }

/* no WebGL 2: the photograph stands in for the terrain view; the stages, card and schedule still follow the scroll */
.ipa.no-gl .ipa__stage { background: var(--charcoal) url(ips-plate_1280.webp) 70% 50% / cover no-repeat; }
.ipa.no-gl .ipa__shade { background: rgba(26, 27, 29, .6); }
/* no WebGL 2 in the hero: the still photograph, without the pinned survey */
.iph.no-gl .iph__track { height: auto; }
.iph.no-gl .iph__stage { position: relative; }
.iph.no-gl .iph__content { position: absolute; inset: 0; margin-top: 0; height: auto; }
.iph.no-gl .iph__hud { display: none; }
/* short desktop windows (a laptop with toolbars, an embedded preview): the instrument column drops the plan, and the
   pinned stages fit the window instead of a 640 px minimum */
@media (min-width: 1081px) and (max-height: 760px) { .hud-side .hud-panel.is-plan { display: none; } }
@media (min-width: 700px) and (max-height: 660px) and (prefers-reduced-motion: no-preference) {
  html:not(.rm) .iph__stage, html:not(.rm) .iph__content { min-height: 0; }
  html:not(.rm) .iph__content { margin-top: -100vh; }
  html:not(.rm) .ipa__stage { min-height: 0; }
  .iph:not(.is-plan) .hud-top { opacity: 0; }
  .ipa__now { top: calc(var(--header-h) + 16px); }
  .ipa__step:not(.is-on) { display: none; }
  .ipa__step { border: 0 !important; padding: 0; }
  .ipa__steps { margin-top: 10px; }
}

/* INT R1.4 · portrait phones framed so low that the route profile would cover the OP marker or its label (ips-hero.js) */
@media (max-width: 699px) { .iph.no-profile .hud-side .hud-panel.is-profile { visibility: hidden !important; } }
