:root {
  --red: #D40000;
  --ember-1: #E25200;
  --ember-2: #C35000;
  --ember-3: #A41E00;
  --ember-4: #7A1D00;
  --charcoal: #161614;
  --warm-grey: #5D5850;
  --bone: #D9D3CA;
  --muted: #A39C92;
  --void: #0C0C0B;
  --line: rgba(217, 211, 202, .18);
  --line-strong: rgba(217, 211, 202, .34);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: dark;
  font-family: "Manrope", "Avenir Next", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--void); scroll-behavior: auto; }
body { margin: 0; color: var(--bone); font-size: 16px; background: var(--void); -webkit-font-smoothing: antialiased; }
body.is-frozen { position: fixed; inset-inline: 0; width: 100%; overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
::selection { background: var(--red); color: #fff; }

.skip { position: fixed; z-index: 100; left: 24px; top: 12px; padding: 12px 18px; background: var(--bone); color: var(--void); transform: translateY(-160%); text-decoration: none; }
.skip:focus { transform: none; }
.universe { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--void); }
.universe canvas { display: block; width: 100%; height: 100%; }
.reading-shade { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(12, 12, 11, .92) 0, rgba(12, 12, 11, .75) 28%, rgba(12, 12, 11, .12) 55%, transparent 73%); opacity: 1; transition: opacity .45s var(--ease); }
body.is-docking .reading-shade, body.is-docked .reading-shade { opacity: .26; }

.loader { position: fixed; inset: 0; z-index: 30; pointer-events: none; background: linear-gradient(180deg, rgba(12, 12, 11, .16), rgba(12, 12, 11, .02)); opacity: 1; transition: opacity .45s var(--ease), visibility 0s linear .45s; }
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-status { position: absolute; right: 4.2vw; bottom: 74px; display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; pointer-events: auto; }
.loader-line { width: 72px; height: 1px; background: rgba(217, 211, 202, .2); overflow: hidden; }
.loader-line i { display: block; width: 100%; height: 100%; background: var(--bone); transform-origin: left; animation: load-line 2.2s var(--ease) forwards; }
#skip-loader { border: 0; border-bottom: 1px solid var(--line-strong); color: var(--bone); background: transparent; padding: 6px 0; font-size: inherit; letter-spacing: inherit; text-transform: inherit; }
@keyframes load-line { from { transform: scaleX(.05); } to { transform: scaleX(1); } }

.masthead { position: fixed; z-index: 12; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 28px 4.2vw; }
.brand { display: block; width: 142px; line-height: 0; }
.brand img { display: block; width: 100%; height: auto; }
.studio-label { margin-right: auto; margin-left: 4vw; font-size: 10px; letter-spacing: .04em; color: var(--muted); }
.contact-link { display: flex; align-items: center; gap: 20px; text-decoration: none; font-size: 11px; font-weight: 650; }
.contact-link span, .action span { color: var(--red); font-size: 20px; line-height: 1; }

.destinations { position: fixed; z-index: 12; left: 4.2vw; top: 50%; transform: translateY(-50%); display: grid; gap: 23px; }
.destinations::before { content: ""; position: absolute; left: 3px; top: 5px; bottom: 5px; width: 1px; background: var(--line); }
.rail-progress { position: absolute; left: 3px; top: 5px; width: 1px; height: calc((100% - 10px) * var(--rail, 0)); background: var(--red); transform-origin: top; }
.destinations a { position: relative; display: flex; align-items: center; gap: 16px; color: var(--muted); text-decoration: none; font-size: 9px; letter-spacing: .04em; }
.destinations a i { position: relative; z-index: 1; display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--warm-grey); box-shadow: 0 0 0 2px var(--void); }
.destinations a[aria-current] { color: var(--bone); }
.destinations a[aria-current] i { background: var(--red); }

.journey { position: fixed; inset: 0; z-index: 3; pointer-events: none; }
.scene-copy { position: absolute; left: 16.8vw; top: 50%; width: min(42vw, 620px); transform: translateY(-46%); opacity: 0; visibility: hidden; pointer-events: none; will-change: opacity, transform; }
.scene-copy.is-current { visibility: visible; pointer-events: auto; }
.eyebrow { margin: 0 0 22px; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
h1, h2 { margin: 0; max-width: 11ch; color: var(--bone); font-weight: 500; font-size: clamp(47px, 4.9vw, 80px); line-height: 1.03; letter-spacing: -.06em; text-wrap: balance; }
h1 { font-size: clamp(64px, 6.1vw, 98px); }
.intro { max-width: 36ch; margin: 24px 0 0; color: var(--bone); font-size: clamp(15px, 1.18vw, 19px); line-height: 1.55; letter-spacing: -.02em; text-wrap: pretty; }
.support { max-width: 43ch; margin: 16px 0 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.action { display: inline-flex; align-items: center; justify-content: space-between; gap: 42px; margin-top: 25px; padding: 12px 0 10px; border-bottom: 1px solid var(--line-strong); color: var(--bone); font-size: 11px; font-weight: 700; text-decoration: none; transition: border-color .2s var(--ease), color .2s var(--ease); }
.action:hover { border-color: var(--red); color: #fff; }
.email { display: block; width: max-content; margin-top: 24px; color: var(--muted); font-size: 11px; text-underline-offset: 5px; }

.capability-list { display: grid; max-width: 390px; margin-top: 24px; border-top: 1px solid var(--line); }
.capability-list span { padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--bone); font-size: 11px; }
.project-list { display: grid; max-width: 430px; margin-top: 21px; border-top: 1px solid var(--line); }
.project-row { position: relative; display: grid; width: 100%; min-height: 55px; padding: 12px 32px 12px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--bone); text-align: left; }
.project-row::before { content: ""; position: absolute; left: -12px; top: 12px; bottom: 12px; width: 2px; background: transparent; }
.project-copy { display: grid; gap: 5px; }
.project-copy strong { font-size: 12px; font-weight: 650; }
.project-copy > span { color: var(--muted); font-size: 9px; }
.project-copy em { max-height: 0; overflow: hidden; color: var(--bone); font-size: 9px; font-style: normal; opacity: 0; transform: translateY(-3px); transition: max-height .3s var(--ease), opacity .2s var(--ease), transform .3s var(--ease); }
.project-row > i { position: absolute; right: 4px; top: 24px; width: 5px; height: 5px; border-radius: 50%; background: var(--warm-grey); }
.project-row[data-dock]:hover::before, .project-row[data-dock]:focus-visible::before, .project-row.is-targeted::before { background: var(--bone); }
.project-row[data-dock]:hover .project-copy em, .project-row[data-dock]:focus-visible .project-copy em, .project-row.is-targeted .project-copy em { max-height: 20px; opacity: 1; transform: none; }
.project-row[data-dock]:hover > i, .project-row[data-dock]:focus-visible > i, .project-row.is-targeted > i { background: var(--bone); }
.project-row[aria-disabled="true"] { cursor: default; opacity: .52; }

.object-labels { position: fixed; inset: 0; z-index: 6; pointer-events: none; }
.object-beacon { position: absolute; min-width: 132px; padding: 12px 14px 12px 40px; border: 1px solid var(--line); border-radius: 3px; background: rgba(22, 22, 20, .82); color: var(--bone); text-align: left; opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -50%); transition: background .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease); }
.object-beacon.is-visible { visibility: visible; pointer-events: auto; }
.object-beacon:hover, .object-beacon:focus-visible, .object-beacon.is-targeted { border-color: var(--line-strong); background: rgba(22, 22, 20, .96); }
.object-beacon.is-targeted, .object-beacon:hover, .object-beacon:focus-visible { min-width: 282px; }
.target-ring { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; border: 1px dashed var(--bone); border-radius: 50%; transform: translateY(-50%); opacity: .7; }
.target-ring::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--bone); transform: translate(-50%, -50%); }
.beacon-copy { display: grid; gap: 3px; }
.beacon-copy strong { font-size: 10px; font-weight: 700; }
.beacon-copy > span, .beacon-copy em { display: block; max-width: 0; overflow: hidden; white-space: nowrap; color: var(--muted); font-size: 8px; font-style: normal; opacity: 0; transition: max-width .35s var(--ease), opacity .2s var(--ease); }
.beacon-copy em { color: var(--bone); }
.object-beacon:hover .beacon-copy > span, .object-beacon:focus-visible .beacon-copy > span, .object-beacon.is-targeted .beacon-copy > span, .object-beacon:hover .beacon-copy em, .object-beacon:focus-visible .beacon-copy em, .object-beacon.is-targeted .beacon-copy em { max-width: 260px; opacity: 1; }

.dock-story { position: fixed; z-index: 16; left: 7vw; top: 50%; width: min(390px, 36vw); max-height: calc(100svh - 150px); padding: 30px 32px 28px; border: 1px solid var(--line-strong); background: rgba(22, 22, 20, .94); box-shadow: 0 24px 80px rgba(0, 0, 0, .42); opacity: 0; visibility: hidden; overflow: auto; pointer-events: none; transform: translateY(-46%) translateX(-18px); transition: opacity .38s var(--ease), transform .55s var(--ease), visibility 0s linear .55s; }
.dock-story.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(-46%) translateX(0); transition-delay: 0s; }
.dock-story h2 { max-width: 10ch; font-size: clamp(32px, 3vw, 48px); }
.dock-story .eyebrow { color: var(--muted); margin-top: 22px; margin-bottom: 14px; }
.detail-lead { margin: 20px 0 0; color: var(--bone); font-size: 12px; line-height: 1.7; }
.dock-story ul { margin: 20px 0 0; padding: 15px 0 0 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.9; }
.return-flight { display: inline-flex; gap: 9px; align-items: center; padding: 0; border: 0; background: transparent; color: var(--bone); font-size: 9px; letter-spacing: .04em; }
.return-flight span { color: var(--red); font-size: 16px; }
.sheet-handle { display: none; }
.signal-status { display: flex; align-items: center; gap: 8px; margin-top: 15px; color: var(--muted); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.signal-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--ember-1); }

.flight-bar { position: fixed; z-index: 12; left: 4.2vw; right: 4.2vw; bottom: 21px; display: flex; align-items: center; gap: 23px; color: var(--muted); font-size: 8px; }
.location { display: flex; align-items: center; gap: 9px; min-width: 145px; }
.location i { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.flight-message { margin-right: auto; }
.motion-toggle, .credits-button { padding: 8px 0; border: 0; background: transparent; color: var(--muted); font-size: inherit; }
.motion-toggle:hover, .credits-button:hover { color: var(--bone); }
.credits-panel { position: fixed; z-index: 24; right: 3vw; bottom: 56px; width: min(420px, calc(100vw - 40px)); padding: 28px; border: 1px solid var(--line-strong); background: rgba(22, 22, 20, .97); color: var(--muted); font-size: 10px; line-height: 1.7; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; }
.credits-panel.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.credits-panel a { color: var(--bone); text-underline-offset: 4px; }
.credits-close { position: absolute; right: 18px; top: 13px; padding: 5px; border: 0; background: none; color: var(--bone); font-size: 22px; }
.flight-track { height: 700svh; }
.flight-announcer { position: fixed; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.perf { position: fixed; z-index: 40; right: 14px; top: 82px; min-width: 150px; padding: 10px 12px; border: 1px solid var(--line); background: rgba(12, 12, 11, .88); color: var(--bone); font: 10px/1.6 ui-monospace, SFMono-Regular, monospace; white-space: pre; }

.no-webgl .universe { background: radial-gradient(circle at 70% 42%, #33231c, var(--void) 46%); }
.no-webgl .object-labels { display: none; }

@media (max-width: 1000px) {
  .studio-label { display: none; }
  .scene-copy { left: 18vw; width: 49vw; }
  .flight-message { display: none; }
  .location { margin-right: auto; }
}

@media (max-width: 700px) {
  .masthead { padding: 21px 22px; }
  .brand { width: 112px; }
  .contact-link { gap: 10px; font-size: 9px; }
  .loader-status { right: 22px; bottom: 125px; }
  .reading-shade { background: linear-gradient(0deg, rgba(12, 12, 11, .94) 0, rgba(12, 12, 11, .75) 39%, rgba(12, 12, 11, .06) 72%, transparent 86%); }
  body.is-docking .reading-shade, body.is-docked .reading-shade { opacity: .1; }
  .destinations { left: 22px; right: 22px; top: auto; bottom: 58px; display: flex; justify-content: space-between; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); transform: none; }
  .destinations::before, .rail-progress { display: none; }
  .destinations a { gap: 5px; font-size: 8px; }
  .destinations a i { width: 4px; height: 4px; box-shadow: none; }
  .scene-copy { left: 24px; right: 24px; top: 53%; width: auto; transform: translateY(-18%); }
  .scene-copy.work-copy { top: 49%; transform: translateY(-8%); }
  h1 { max-width: 8ch; font-size: clamp(50px, 13.4vw, 68px); }
  h2 { max-width: 10ch; font-size: clamp(38px, 10.4vw, 54px); }
  .eyebrow { margin-bottom: 16px; font-size: 7px; }
  .intro { max-width: 31ch; margin-top: 17px; font-size: 13px; }
  .support { max-width: 34ch; margin-top: 12px; font-size: 9px; }
  .action { margin-top: 17px; font-size: 10px; }
  .project-list { margin-top: 14px; }
  .project-row { min-height: 48px; padding-top: 9px; padding-bottom: 9px; }
  .project-copy strong { font-size: 11px; }
  .project-copy > span, .project-copy em { font-size: 8px; }
  .object-beacon { display: none; }
  .flight-bar { left: 22px; right: 22px; bottom: 15px; gap: 13px; font-size: 7px; }
  .location { min-width: 0; }
  .credits-panel { right: 20px; bottom: 50px; }
  .dock-story { left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 62svh; padding: 19px 24px calc(24px + env(safe-area-inset-bottom)); border-width: 1px 0 0; border-radius: 17px 17px 0 0; transform: translateY(105%); transition: opacity .2s var(--ease), transform .52s var(--ease), visibility 0s linear .52s; }
  .dock-story.is-visible { transform: none; }
  .dock-story h2 { font-size: 34px; }
  .dock-story .eyebrow { margin-top: 13px; }
  .detail-lead { font-size: 11px; }
  .dock-story ul { margin-top: 14px; padding-top: 10px; }
  .dock-story .action { margin-top: 12px; }
  .sheet-handle { display: block; width: 44px; height: 18px; margin: -10px auto 5px; padding: 0; border: 0; background: transparent; }
  .sheet-handle::after { content: ""; display: block; width: 35px; height: 3px; margin: auto; border-radius: 3px; background: var(--warm-grey); }
  body.is-docking .journey, body.is-docked .journey, body.is-docking .destinations, body.is-docked .destinations { opacity: 0; pointer-events: none; }
}

@media (max-height: 720px) and (min-width: 701px) {
  .scene-copy { transform: translateY(-41%); }
  h1 { font-size: 65px; }
  h2 { font-size: 52px; }
  .dock-story { max-height: calc(100svh - 100px); padding-block: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .scene-copy { will-change: auto; }
}

/* v2.1 review pass: the destination rail steps aside while docked so the story panel never covers it. */
.destinations { transition: opacity .3s var(--ease); }
body.is-docking .destinations, body.is-docked .destinations { opacity: 0; pointer-events: none; }

/* Digify story beats: each line lights as the scene performs it. */
.dock-story ul.story-beats { list-style: none; padding-left: 0; }
.story-beats li { position: relative; padding-left: 17px; color: var(--warm-grey); transition: color .5s var(--ease); }
.story-beats li::before { content: ""; position: absolute; left: 0; top: .78em; width: 5px; height: 5px; border-radius: 50%; background: var(--warm-grey); transition: background .5s var(--ease), box-shadow .5s var(--ease); }
.story-beats li.is-active { color: var(--muted); }
.story-beats li.is-active::before { background: var(--ember-1); }
.story-beats li.is-current { color: var(--bone); }
.story-beats li.is-current::before { box-shadow: 0 0 0 3px rgba(226, 82, 0, .22), 0 0 10px rgba(226, 82, 0, .7); }
.signal-status span { transition: opacity .3s var(--ease); }
.signal-status i { animation: status-pulse 1.6s ease-in-out infinite; }
@keyframes status-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .signal-status i { animation: none; } }

/* ---- Object labels: animated borders. Review options via ?label=trace | brackets | draw (default trace). ---- */
@property --trace { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --sweep { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@property --bracket { syntax: '<length>'; inherits: false; initial-value: 0px; }
.object-beacon { border-color: transparent; isolation: isolate; transition: background .25s var(--ease), min-width .35s var(--ease), box-shadow .35s var(--ease), opacity .2s var(--ease); }
.object-beacon::before, .object-beacon::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; }
/* Shared: a 1px ring drawn by a masked background, so its colour can move. */
.object-beacon::before { padding: 1px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.target-ring { transition: border-color .3s var(--ease), opacity .3s var(--ease); animation: ring-spin 9s linear infinite; }
.object-beacon:hover .target-ring, .object-beacon:focus-visible .target-ring, .object-beacon.is-targeted .target-ring { border-color: var(--ember-1); opacity: 1; animation-duration: 2.4s; }
.object-beacon:hover .target-ring::after, .object-beacon:focus-visible .target-ring::after, .object-beacon.is-targeted .target-ring::after { background: var(--ember-1); }
@keyframes ring-spin { to { transform: translateY(-50%) rotate(360deg); } }
.object-beacon:hover, .object-beacon:focus-visible, .object-beacon.is-targeted { border-color: transparent; box-shadow: 0 0 22px rgba(226, 82, 0, .16); }

/* A · Orbit trace: a faint ring with a short ember light travelling round it. */
:root[data-label="trace"] .object-beacon::before {
  background: conic-gradient(from var(--trace), rgba(217, 211, 202, .16) 0deg, rgba(217, 211, 202, .16) 250deg, rgba(226, 82, 0, .0) 260deg, #E25200 330deg, #FFD2A8 352deg, rgba(217, 211, 202, .16) 360deg);
  animation: trace-run 6s linear infinite;
}
:root[data-label="trace"] .object-beacon:hover::before, :root[data-label="trace"] .object-beacon:focus-visible::before, :root[data-label="trace"] .object-beacon.is-targeted::before {
  background: conic-gradient(from var(--trace), rgba(226, 82, 0, .45) 0deg, rgba(226, 82, 0, .45) 200deg, #E25200 300deg, #FFE2C4 350deg, rgba(226, 82, 0, .45) 360deg);
  animation-duration: 1.8s;
}
@keyframes trace-run { to { --trace: 360deg; } }

/* B · Targeting brackets: corner brackets breathe outside the box, then lock onto it in ember. */
:root[data-label="brackets"] .object-beacon::before { padding: 0; -webkit-mask: none; mask: none; border: 1px solid rgba(217, 211, 202, .1); }
:root[data-label="brackets"] .object-beacon::after {
  --c: rgba(217, 211, 202, .85);
  inset: calc(-1 * var(--bracket));
  background:
    linear-gradient(var(--c), var(--c)) top left / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) top left / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) top right / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom left / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) bottom right / 1px 12px no-repeat;
  animation: bracket-breathe 2.8s ease-in-out infinite;
  transition: --bracket .3s var(--ease);
}
:root[data-label="brackets"] .object-beacon:hover::after, :root[data-label="brackets"] .object-beacon:focus-visible::after, :root[data-label="brackets"] .object-beacon.is-targeted::after { --c: #E25200; animation: bracket-lock .35s var(--ease) forwards; }
:root[data-label="brackets"] .object-beacon:hover::before, :root[data-label="brackets"] .object-beacon:focus-visible::before, :root[data-label="brackets"] .object-beacon.is-targeted::before { border-color: rgba(226, 82, 0, .35); }
@keyframes bracket-breathe { 0%, 100% { --bracket: 3px; } 50% { --bracket: 7px; } }
@keyframes bracket-lock { from { --bracket: 8px; } to { --bracket: 0px; } }

/* C · Signal draw: the border draws itself round the box as it appears; on hover it redraws in ember. */
:root[data-label="draw"] .object-beacon::before {
  background: conic-gradient(from -90deg at 50% 50%, rgba(217, 211, 202, .55) var(--sweep), transparent var(--sweep));
}
:root[data-label="draw"] .object-beacon.is-visible::before { animation: draw-on 1.1s var(--ease) forwards; }
:root[data-label="draw"] .object-beacon:hover::before, :root[data-label="draw"] .object-beacon:focus-visible::before, :root[data-label="draw"] .object-beacon.is-targeted::before {
  background: conic-gradient(from -90deg at 50% 50%, #E25200 var(--sweep), rgba(217, 211, 202, .3) var(--sweep));
  animation: draw-on .7s var(--ease) forwards;
}
@keyframes draw-on { from { --sweep: 0deg; } to { --sweep: 360deg; } }

@media (prefers-reduced-motion: reduce) {
  .object-beacon::before, .object-beacon::after, .target-ring { animation: none !important; }
  :root[data-label="draw"] .object-beacon::before { --sweep: 360deg; }
  :root[data-label="brackets"] .object-beacon::after { --bracket: 0px; }
}

/* Compact at rest (name only); the description and "Approach" unfold on hover. */
.object-beacon { min-width: 0; padding: 10px 16px 10px 38px; }
.object-beacon.is-targeted, .object-beacon:hover, .object-beacon:focus-visible { min-width: 268px; }
.beacon-copy { gap: 0; }
.beacon-copy > span, .beacon-copy em { max-height: 0; transition: max-width .35s var(--ease), max-height .3s var(--ease), margin .3s var(--ease), opacity .2s var(--ease); }
.object-beacon:hover .beacon-copy > span, .object-beacon:focus-visible .beacon-copy > span, .object-beacon.is-targeted .beacon-copy > span,
.object-beacon:hover .beacon-copy em, .object-beacon:focus-visible .beacon-copy em, .object-beacon.is-targeted .beacon-copy em { max-height: 18px; margin-top: 4px; }
/* Trace: a longer, brighter light on a visible base ring. */
:root[data-label="trace"] .object-beacon::before {
  background: conic-gradient(from var(--trace), rgba(217, 211, 202, .22) 0deg, rgba(217, 211, 202, .22) 215deg, rgba(226, 82, 0, .15) 235deg, #E25200 320deg, #FFE2C4 354deg, rgba(217, 211, 202, .22) 360deg);
  padding: 1.5px;
}


/* ---- Mobile fixes ---- */
@media (max-width: 700px) {
  /* Copy sits on top of the section nav and grows upward, so it can never collide with it. */
  .scene-copy, .scene-copy.work-copy { top: auto; bottom: calc(112px + env(safe-area-inset-bottom)); transform: none; }
  .destinations { bottom: calc(46px + env(safe-area-inset-bottom)); background: linear-gradient(0deg, rgba(12, 12, 11, .9), rgba(12, 12, 11, .55)); }
  .flight-bar { bottom: calc(14px + env(safe-area-inset-bottom)); }
  /* A soft scrim under the header so craft never sit behind the logo or "Start a project". */
  .masthead { background: linear-gradient(180deg, rgba(12, 12, 11, .82) 0%, rgba(12, 12, 11, .45) 60%, rgba(12, 12, 11, 0) 100%); padding-bottom: 34px; }
  .return-flight:focus:not(:focus-visible) { outline: none; }
}
@media (max-width: 700px) and (max-height: 780px) {
  h1 { font-size: clamp(42px, 12vw, 56px); }
  h2 { font-size: clamp(32px, 9.4vw, 44px); }
  .eyebrow { margin-bottom: 10px; }
  .intro { margin-top: 12px; font-size: 12px; }
  .support { display: none; }
  .capability-list { margin-top: 14px; }
  .capability-list span { padding: 9px 0; }
  .project-row { min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
  .contact-copy .email { margin-top: 10px; }
  .dock-story { max-height: 64svh; }
  .dock-story h2 { font-size: 30px; }
}
