/* About: Bearing. Scene palette and font tokens are centralised in site.css; geometry stays here.
   The shared header and footer replace the workshop chrome. */

html { background: #070b14; }
.bearing {
  --pad: clamp(20px, 5.4vw, 88px);
  color-scheme: dark;
  color: var(--b-bone); font: 400 17px/1.55 var(--b-text); -webkit-font-smoothing: antialiased;
}
.bearing ::selection { background: var(--amber); color: #1a0e02; }
.bearing a { color: inherit; text-decoration-color: currentColor; text-underline-offset: auto; transition: none; }
.bearing :focus-visible { outline: 2px solid var(--teal-2); outline-offset: 4px; border-radius: var(--radius-sm); }
/* site.css element rules Bearing was not written against */
.bearing :where(h1, h2, h3, h4) { color: inherit; letter-spacing: normal; max-width: none; text-wrap: wrap; font-weight: 400; }
.bearing :where(p, li) { text-wrap: wrap; }
.bearing a:active { opacity: 1; }
.bearing :where(canvas) { max-width: none; }

/* film grain over the page, under the shared header */
.grain { position: fixed; inset: -2px; z-index: 39; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* The header over the lit planet: Bearing's own header sat on a soft dark fade, so the shared header gets the same
   fade behind its bar on this page. The footer meets the night ground directly. */
body[data-page="about"] .site-header::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 132px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 11, 20, .86) 0%, rgba(7, 11, 20, .6) 52%, rgba(7, 11, 20, 0) 100%); }
body[data-page="about"] .site-footer { margin-top: 0; }

/* Keep the footer below the first viewport while the browser builds the story. */
.js body[data-page="about"] > main, .js .bearing #story { min-height: 100svh; }

/* the plain-text story for visitors without JavaScript */
.about-text { position: relative; z-index: 9; max-width: 44rem; padding: calc(var(--bar-h) + 96px) var(--pad) 64px; }
.about-text h1 { font: 800 clamp(40px, 5vw, 72px)/.95 var(--display); }
.about-text h2 { margin-top: 2em; font: 800 clamp(26px, 2.6vw, 38px)/1.05 var(--display); }
.about-text p, .about-text ul { margin-top: .8em; color: var(--bone-2); }
.about-text a { color: var(--amber); }

@media (max-width: 760px) {
  .bearing { --pad: 20px; font-size: 16px; }
}

/* About page (Bearing). Everything is scoped to .bearing; state classes live on <html>:
   ready, loc (globe is the locator), is-low (the low view), hud-on (a journey is drawing), still (stills page). */

.bearing { --col: min(470px, 35vw); --loc: 176px; position: relative; }
.bearing h1, .bearing h2, .bearing h3, .bearing p, .bearing ul, .bearing figure { margin: 0; padding: 0; }
.bearing ul { list-style: none; }
.bearing img { display: block; max-width: 100%; }

/* ---------- the world: photographic ground, globe and shade ---------- */
.bearing .world { position: fixed; inset: 0; height: 100lvh; z-index: 0; overflow: hidden; background: #070b14; --globe-o: 1; --shade-o: 0; }
.bearing .world::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: #070b14 url('/media/about/globe-opening-desktop.jpg') center / cover no-repeat;
  transform: scale(var(--preview-zoom, 1)); transform-origin: 50% 45%; }
.bearing .world.globe-painted::before { display: none; }
@media (max-width: 760px) { .bearing .world::before { background-image: url('/media/about/globe-opening-mobile.jpg'); } }
.bearing #globe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 2; opacity: 0; }
.ready .bearing #globe { opacity: var(--globe-o); }
.bearing .shade { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: var(--shade-o);
  /* feathered, never boxed: dark enough under the text column and the bottom readouts for 4.5:1 on white cloud */
  background: linear-gradient(90deg, rgba(7, 11, 20, .86) 0%, rgba(7, 11, 20, .8) 22%, rgba(7, 11, 20, .55) 34%, rgba(7, 11, 20, 0) 50%),
              linear-gradient(0deg, rgba(7, 11, 20, .82) 0%, rgba(7, 11, 20, .5) 13%, rgba(7, 11, 20, 0) 26%),
              linear-gradient(180deg, rgba(7, 11, 20, .7) 0%, rgba(7, 11, 20, 0) 20%); }
/* the globe becomes the locator: small, north-up, bottom right (top right on phones) */
.loc .bearing #globe { position: fixed; inset: auto 30px 30px auto; width: var(--loc); height: var(--loc); border-radius: 50%; z-index: 7; }
.bearing .eqline { position: absolute; left: 0; right: 0; top: 0; z-index: 4; height: 0; opacity: 0; border-top: 1px dashed rgba(237, 231, 219, .7); }
.bearing .eqline span { position: absolute; left: var(--pad); top: 6px; font: 600 11.5px/1 var(--b-text); letter-spacing: .14em; text-transform: uppercase; color: var(--b-bone); }

/* ---------- prints lying on the ground ---------- */
.bearing #prints { position: fixed; inset: 0; z-index: 6; pointer-events: none; overflow: hidden; }
.bearing .print { position: absolute; left: 0; top: 0; padding: 9px 9px 30px; background: #f1ece1; visibility: hidden; will-change: transform, opacity;
  box-shadow: 0 26px 40px -18px rgba(0, 0, 0, .7), 0 4px 10px rgba(0, 0, 0, .3); }
.bearing .print img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(.92) contrast(1.02); }
.bearing .print figcaption { position: absolute; left: 11px; bottom: 8px; font: 500 12px/1 var(--b-text); color: #3b3a36; }

/* ---------- instruments ---------- */
.bearing .hud { position: fixed; inset: 0; z-index: 8; pointer-events: none; color: var(--b-bone); text-shadow: 0 1px 2px rgba(7, 11, 20, .65), 0 0 14px rgba(7, 11, 20, .55); }
.bearing .hud > * { position: absolute; opacity: 0; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hud-on .bearing .hud-j, .hud-on .bearing .hud-geo { opacity: 1; }
.hud-on:not(.is-low) .bearing .strip { opacity: 1; }
.is-low .bearing .leg { opacity: 1; transform: none; }
.loc .bearing .loc-ring { opacity: 1; }

.bearing .hud-j { left: var(--pad); bottom: 30px; width: 236px; }
.bearing .j-h { display: flex; align-items: baseline; gap: 12px; }
.bearing .j-yr { font: 800 22px/1 var(--display); font-variant-numeric: tabular-nums; }
.bearing .j-t { font: 600 12px/1 var(--b-text); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2); }
.bearing .j-m { margin-top: 8px; font-size: 14px; color: var(--bone-2); }
.bearing .j-bar { position: relative; margin-top: 12px; height: 2px; background: rgba(237, 231, 219, .18); }
.bearing .j-bar i { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transform: scaleX(0); }
.bearing .j-day { margin-top: 9px; font: 600 13px/1 var(--b-text); letter-spacing: .04em; color: var(--b-bone); font-variant-numeric: tabular-nums; }

.bearing .hud-geo { left: calc(var(--pad) + 236px + 196px); bottom: 26px; display: flex; align-items: center; gap: 14px; }
.is-low .bearing .hud-geo { left: auto; right: calc(30px + var(--loc) + 22px); }
.bearing .compass { position: relative; width: 64px; height: 64px; color: var(--b-bone); }
.bearing .compass svg { display: block; }
.bearing .c-n { font: 700 9.5px/1 var(--b-text); fill: var(--b-bone); }
.bearing .needle { position: absolute; inset: 0; transition: transform .5s var(--ease); }
.bearing .needle i { position: absolute; left: 50%; top: 13px; width: 2px; height: 19px; margin-left: -1px; background: var(--amber); border-radius: 1px; }
.bearing .needle i::before { content: ''; position: absolute; left: -4px; top: -3px; border: 5px solid transparent; border-bottom: 7px solid var(--amber); border-top: 0; }
.bearing .c-read p { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bearing .c-pos { font: 600 15px/1.2 var(--b-text); letter-spacing: .02em; display: flex; gap: 10px; }
.bearing .c-head { margin-top: 6px; font: 500 12.5px/1 var(--b-text); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-2); display: flex; gap: 10px; }

.bearing .strip { left: calc(var(--pad) + 236px + 32px); bottom: 30px; width: 140px; }
.bearing .strip-win { position: relative; height: 34px; overflow: hidden; border: 1px solid rgba(237, 231, 219, .22); }
.bearing .strip-img { position: absolute; inset: -12px; background-size: 340px auto; background-position: center; filter: blur(1.4px) saturate(.9); opacity: 0; transition: opacity 1.1s var(--ease); animation: drift 26s linear infinite; }
.bearing .strip-img.on { opacity: 1; }
.bearing .strip-win::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--amber); opacity: .85; }
@keyframes drift { from { background-position: 0 0; } to { background-position: -340px 0; } }
.bearing .strip-k { margin-top: 8px; font: 600 11px/1 var(--b-text); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-3); }
.bearing .strip-l { margin-top: 5px; font: 600 14px/1.25 var(--b-text); color: var(--b-bone); }

.bearing .leg { left: var(--pad); top: 96px; max-width: 560px; transform: translateY(-6px); }
.bearing .leg-t { font: 700 clamp(22px, 1.9vw, 30px)/1.1 var(--display); text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }
.bearing .leg-s { margin-top: 8px; font: 600 12px/1 var(--b-text); letter-spacing: .14em; text-transform: uppercase; color: var(--b-bone); opacity: .82; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }

.bearing .loc-ring { right: 30px; bottom: 30px; width: var(--loc); height: var(--loc); border-radius: 50%; border: 1px solid rgba(237, 231, 219, .4); }
.bearing .loc-n { position: absolute; left: 50%; top: -9px; transform: translateX(-50%); padding: 0 6px; background: rgba(7, 11, 20, .75); font: 700 11px/18px var(--b-text); letter-spacing: .08em; }
.bearing .loc-k { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); white-space: nowrap; font: 600 10.5px/1 var(--b-text); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2); text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }

/* ---------- the pinned story ---------- */
.bearing .b-main { position: relative; z-index: 9; }
.bearing .story { position: relative; }
.bearing .stage { position: sticky; top: 0; height: calc(var(--vh, 1vh) * 100); }
.bearing .track { position: relative; margin-top: calc(var(--vh, 1vh) * -100); pointer-events: none; }
.bearing .panel { background: none; border: 0; border-radius: 0; color: inherit; position: absolute; inset: 0; display: flex; align-items: center; padding: 96px var(--pad) 150px; opacity: 0; visibility: hidden; will-change: opacity, transform; pointer-events: none; }
.bearing .panel.live { pointer-events: auto; }
.bearing .txt { width: var(--col); }

.bearing .open-in { width: min(620px, 44vw); }
.bearing .open-h { font: 800 clamp(48px, 5.4vw, 90px)/.92 var(--display); letter-spacing: -.012em; text-wrap: balance; }
.bearing .open-p { margin-top: 28px; max-width: 30em; font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.55; color: var(--bone-2); text-wrap: pretty; }
.bearing .cue { position: absolute; left: var(--pad); bottom: 40px; display: inline-flex; align-items: center; gap: 14px; padding: 12px 0; text-decoration: none; font: 600 13.5px/1 var(--b-text); letter-spacing: .1em; text-transform: uppercase; color: var(--b-bone); }
.bearing .cue-line { position: relative; width: 1px; height: 38px; background: rgba(237, 231, 219, .25); overflow: hidden; }
.bearing .cue-line::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--amber); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }

.bearing .jt { font: 800 clamp(52px, 6vw, 100px)/.88 var(--display); letter-spacing: -.015em; text-wrap: balance; }
.bearing .jt-s { font-size: clamp(42px, 4.6vw, 74px); }
.bearing .route { margin-top: 18px; font: 500 15.5px/1.4 var(--b-text); letter-spacing: .02em; color: var(--b-bone); }
.bearing .txt .story { margin-top: 16px; font-size: clamp(17px, 1.25vw, 19px); line-height: 1.55; color: var(--bone-2); text-wrap: pretty; }
.bearing .stats { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 0; border-top: 1px solid var(--b-rule); padding-top: 14px; }
.bearing .stats li { font: 600 14px/1.3 var(--b-text); color: var(--b-bone); padding-right: 16px; margin-right: 16px; border-right: 1px solid var(--b-rule); }
.bearing .stats li:last-child { border-right: 0; }
.bearing .moment { font: 700 clamp(30px, 2.7vw, 44px)/1.08 var(--display); letter-spacing: -.005em; text-wrap: pretty; text-shadow: 0 2px 24px rgba(7, 11, 20, .55); }
.bearing .attr { margin-top: 18px; display: flex; align-items: center; gap: 12px; font: 600 12.5px/1 var(--b-text); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-2); }
.bearing .attr::before { content: ''; width: 28px; height: 1.5px; background: var(--amber); }

.bearing .lace { width: min(620px, 44vw); }
.bearing .lace-h { font: 800 clamp(32px, 3.2vw, 52px)/1 var(--display); text-wrap: balance; }
.bearing .doors { margin-top: 30px; display: grid; gap: 0; }
.bearing .door { display: grid; gap: 8px; padding: 22px 0 24px; border-top: 1px solid var(--b-rule); text-decoration: none; }
.bearing .door:last-child { border-bottom: 1px solid var(--b-rule); }
.bearing .door-t { font: 800 clamp(26px, 2.2vw, 36px)/1 var(--display); transition: color .4s var(--ease); }
.bearing .door-p { font-size: 16px; line-height: 1.5; color: var(--bone-2); max-width: 34em; }
.bearing .door-c, .bearing .exit-d { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px/1 var(--b-text); letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.bearing .arr { transition: transform .5s var(--ease); }
.bearing .door:focus-visible .door-t { color: var(--amber); }
@media (hover: hover) and (pointer: fine) {
  .bearing .door:hover .door-t { color: var(--amber); }
}
@media (hover: hover) and (pointer: fine) {
  .bearing .door:hover .arr, .bearing .exit:hover .arr { transform: translateX(6px); }
}

.bearing .man { width: min(580px, 42vw); position: relative; }
.bearing .mark { font: 800 clamp(30px, 2.8vw, 46px)/1 var(--display); margin-bottom: 22px; }
.bearing .man.quiet .mark { color: var(--amber); }
.bearing .read { font-size: clamp(18px, 1.42vw, 21px); line-height: 1.68; text-wrap: pretty; }
.bearing .por { margin-top: 28px; width: 160px; padding: 8px 8px 10px; background: #f1ece1; transform: rotate(-2.2deg); box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .8); visibility: hidden; }
.bearing .por.ok { visibility: visible; }
.bearing .por img { width: 100%; height: auto; aspect-ratio: 652 / 624; object-fit: cover; }

.bearing .exits-in { width: min(660px, 48vw); }
.bearing .exit { display: block; padding: 18px 0 20px; border-top: 1px solid var(--b-rule); text-decoration: none; }
.bearing .exit-list li:last-child { border-bottom: 1px solid var(--b-rule); }
.bearing .exit-l { display: block; font: 800 clamp(34px, 3.2vw, 52px)/.94 var(--display); letter-spacing: -.012em; transition: color .4s var(--ease); }
.bearing .exit:focus-visible .exit-l { color: var(--amber); }
@media (hover: hover) and (pointer: fine) {
  .bearing .exit:hover .exit-l { color: var(--amber); }
}
.bearing .exit-n { display: block; margin-top: 10px; max-width: 38em; font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; color: var(--bone-2); }
.bearing .exit-d { margin-top: 10px; }
.bearing .exit-more { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 0 0 16px; margin-top: -6px; }
.bearing .exit-more a { font-size: 15px; color: var(--b-bone); text-decoration: none; border-bottom: 1px solid rgba(255, 173, 77, .45); padding: 6px 0 2px; }
@media (hover: hover) and (pointer: fine) {
  .bearing .exit-more a:hover { color: var(--amber); }
}

/* ---------- phones: full-bleed scene, text in the lower third, locator top right ---------- */
@media (max-width: 760px) {
  .bearing { --col: 100%; --loc: 100px; }
  .bearing .panel { align-items: flex-end; padding: 0 var(--pad) calc(30px + env(safe-area-inset-bottom)); }
  .bearing .open-in, .bearing .lace, .bearing .man, .bearing .exits-in { width: 100%; }
  .bearing .open-h { font-size: clamp(34px, 9.6vw, 42px); }
  .bearing .open-p { margin-top: 14px; font-size: 16px; line-height: 1.5; }
  .bearing .p-open .open-in { margin-bottom: 52px; }
  .bearing .cue { bottom: 18px; font-size: 12.5px; }
  .bearing .cue-line { height: 26px; }
  .bearing .jt { font-size: clamp(40px, 11.4vw, 48px); }
  .bearing .jt-s { font-size: 36px; }
  .bearing .route { margin-top: 10px; font-size: 16px; }
  .bearing .txt .story { margin-top: 10px; font-size: 16px; line-height: 1.5; }
  .bearing .stats { margin-top: 12px; padding-top: 10px; }
  .bearing .stats li { font-size: 13px; padding-right: 10px; margin-right: 10px; }
  .bearing .moment { font-size: 26px; line-height: 1.12; }
  .bearing .attr { margin-top: 12px; font-size: 11.5px; }
  .bearing .lace-h { font-size: 28px; }
  .bearing .doors { margin-top: 14px; }
  .bearing .door { padding: 14px 0 16px; gap: 6px; }
  .bearing .door-t { font-size: 24px; }
  .bearing .door-p { font-size: 16px; }
  .bearing .mark { font-size: 24px; margin-bottom: 10px; }
  .bearing .read { font-size: 16px; line-height: 1.55; }
  .bearing .por { display: none; }
  .bearing .p-exits { padding-top: 0; background: linear-gradient(180deg, rgba(7, 11, 20, 0) 0%, rgba(7, 11, 20, .9) 26%, rgba(7, 11, 20, .96) 100%); }
  .bearing .exit { padding: 12px 0 13px; }
  .bearing .exit-l { font-size: 27px; }
  .bearing .exit-n { margin-top: 8px; font-size: 16px; line-height: 1.45; }
  .bearing .exit-d { margin-top: 8px; font-size: 11.5px; }
  .bearing .exit-more { padding-bottom: 12px; gap: 2px 18px; }

  .bearing .hud::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 150px; opacity: 0; transition: opacity .7s var(--ease);
    background: linear-gradient(180deg, rgba(7, 11, 20, .78) 0%, rgba(7, 11, 20, .45) 60%, rgba(7, 11, 20, 0) 100%); }
  .hud-on .bearing .hud::before { opacity: 1; }
  .bearing .shade { background: linear-gradient(0deg, rgba(7, 11, 20, .82) 0%, rgba(7, 11, 20, .5) 30%, rgba(7, 11, 20, 0) 48%), linear-gradient(180deg, rgba(7, 11, 20, .55) 0%, rgba(7, 11, 20, 0) 18%); }
  .loc .bearing #globe { inset: 66px 18px auto auto; }
  .bearing .loc-ring { right: 18px; top: 66px; bottom: auto; }
  .bearing .loc-n { top: -9px; }
  .bearing .loc-k { display: none; }
  .bearing .hud-geo { left: var(--pad); right: auto; top: 64px; bottom: auto; gap: 10px; }
  .is-low .bearing .hud-geo { right: auto; }
  .bearing .compass { width: 44px; height: 44px; }
  .bearing .compass svg { width: 44px; height: 44px; }
  .bearing .needle i { top: 9px; height: 13px; }
  .bearing .c-pos { font-size: 13px; gap: 8px; }
  .bearing .c-head { font-size: 11px; margin-top: 4px; }
  .bearing .hud-j { left: auto; right: var(--pad); top: 64px; bottom: auto; width: 128px; text-align: right; }
  .is-low .bearing .hud-j { opacity: 0; }
  .bearing .j-h { justify-content: flex-end; gap: 0; }
  .bearing .j-t, .bearing .j-m { display: none; }
  .bearing .j-yr { font-size: 16px; }
  .bearing .j-bar { margin-top: 7px; }
  .bearing .j-day { margin-top: 6px; font-size: 11.5px; }
  .bearing .strip { display: none; }
  .bearing .leg { top: 120px; right: calc(var(--loc) + 34px); }
  .bearing .leg-t { font-size: 19px; }
  .bearing .leg-s { font-size: 10.5px; line-height: 1.3; }
}

/* ---------- stills: reduced motion, no WebGL, weak device. A sequence of plates and a normal page ---------- */
.still .bearing .world, .still .bearing .hud, .still .bearing #prints { display: none; }
.still .bearing .stage { position: static; height: auto; }
.still .bearing .track { display: none; }
.still .bearing .panel { position: relative; inset: auto; opacity: 1 !important; visibility: visible !important; transform: none !important; pointer-events: auto; display: block; padding: 7vh var(--pad); }
.still .bearing .panel.p-open { min-height: 92vh; display: flex; align-items: flex-end; padding-top: 120px; }
.still .bearing .cue { display: none; }
.still .bearing .panel:has(.plate) { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 560px); gap: 4vh 6vw; align-items: center; }
.still .bearing .panel:has(.plate) .txt { grid-column: 1; grid-row: 1; }
.still .bearing .plate { grid-column: 2; grid-row: 1; display: block; width: 100%; margin: 0; }
@media (max-width: 760px) {
  .still .bearing .panel:has(.plate) { grid-template-columns: 1fr; }
  .still .bearing .panel:has(.plate) .txt, .still .bearing .plate { grid-column: 1; grid-row: auto; }
  .still .bearing .plate { order: -1; }
}
.still .bearing .plate canvas, .still .bearing .plate .aerial { display: block; width: 100%; height: auto; }
.still .bearing .plate figcaption { margin-top: 10px; font: 600 12px/1.4 var(--b-text); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-2); }
.still .bearing .aerial { position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: #2a2a24; }
.still .bearing .aerial i { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(2px) saturate(.9); }
.still .bearing .aerial svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.still .bearing .still-prints { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 26px; }
.still .bearing .still-prints .print { position: relative; visibility: visible; width: min(360px, 80vw); }
.still .bearing .txt { width: min(640px, 100%); }
.still .bearing .open-in { width: min(720px, 100%); }

/* Readouts stay crisp against both cloud and ground. The small locator marks the real projected head. */
.bearing .c-pos, .bearing .j-day, .bearing .j-yr { color: #fff9e9; text-shadow: 0 1px 3px #070b14, 0 0 8px #070b14; }
.bearing .hud > * { transition-duration: .25s; }
.bearing .loc-marker { position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #99cccc; border: 2px solid #f3ecd6; box-shadow: 0 0 0 2px #0a2425; }
.bearing .loc-marker i { position: absolute; inset: -5px; border: 2px solid #99cccc; border-radius: 50%; animation: locator-ping 2s var(--ease) infinite; }
@keyframes locator-ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(2); opacity: 0; } }
@media (max-width: 760px) {
  body[data-page="about"] .site-header::before { height: 62px; }
  .bearing .hud-geo { top: 74px; }
  .bearing .hud-j { top: 78px; }
  .bearing .c-pos { font-size: 14px; }
  .bearing .j-day { font-size: 12px; line-height: 1.3; }
  .is-low .bearing .hud-j { opacity: 1; left: var(--pad); right: auto; top: 128px; width: 210px; text-align: left; }
  .is-low .bearing .j-h { justify-content: flex-start; }
  .is-low .bearing .j-bar { display: none; }
  .is-low .bearing .j-day { display: inline; margin-left: 8px; }
  .is-low .bearing .hud-j .j-h { display: inline-flex; }
  .bearing .leg { top: 166px; max-width: 100%; right: var(--pad); }
}
@media (prefers-reduced-motion: reduce) {
  .bearing .loc-marker i { animation: none; opacity: .75; }
  .bearing .hud > *, .bearing .print, .bearing .cue { transition: none; }
}

/* Short landscape screens keep the opening below the shared header. */
@media (max-width: 1000px) and (max-height: 500px) and (orientation: landscape) {
  .bearing { --pad: 24px; --col: min(440px, 54vw); }
  .bearing .panel { padding: 82px var(--pad) 28px; }
  .bearing .open-in { width: min(440px, 54vw); }
  .bearing .open-h { font-size: 34px; }
  .bearing .open-p { margin-top: 12px; font-size: 16px; line-height: 1.4; }
  .bearing .cue { bottom: 10px; }
  .bearing .lace, .bearing .exits-in { width: 100%; }
  .bearing .lace-h { font-size: 26px; }
  .bearing .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 12px; }
  .bearing .door { padding: 10px 0; }
  .bearing .door-t { font-size: 24px; }
  .bearing .door-p { font-size: 16px; }
  .bearing .exit-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .bearing .exit { padding: 12px 0; }
  .bearing .exit-l { font-size: 27px; }
  .bearing .exit-n { font-size: 16px; line-height: 1.4; margin-top: 8px; }
  .bearing .exit-d { margin-top: 8px; }
  .bearing .exit-more { gap: 4px 16px; }
  .bearing .mark { font-size: 24px; }
  .bearing .read { font-size: 16px; line-height: 1.4; }
  .bearing .por { display: none; }
}

/* Honour material preferences without changing the default cinematic treatment. */
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .bearing .txt { background: var(--b-night); box-shadow: 0 0 0 12px var(--b-night); }
  .bearing .open-p, .bearing .txt .story, .bearing .read, .bearing .door-p,
  .bearing .exit-n, .bearing .attr { color: var(--b-bone); }
  .bearing .hud::before { background: var(--b-night); }
  .grain { display: none; }
}

/* A shallow landscape viewport keeps the fact and the geographic locator clear. */
@media (max-width: 1000px) and (max-height: 500px) and (orientation: landscape) {
  .bearing .leg, .bearing .hud-j { display: none; }
  .bearing #prints .print { width: 110px !important; left: auto !important; right: 24px; top: 70px !important; }
  .bearing #prints .print:nth-child(2) { right: 150px; }
}

@media (max-width: 760px) and (max-height: 500px) and (orientation: landscape) {
  .loc .bearing #globe { top: auto; bottom: 20px; }
  .bearing .loc-ring { top: auto; bottom: 20px; }
}

/* Compact portrait screens keep the closing choices below the navigation. */
@media (max-width: 380px) and (max-height: 650px) and (orientation: portrait) {
  .bearing .lace-h { font-size: 26px; }
  .bearing .doors { margin-top: 16px; }
  .bearing .door { padding: 12px 0; gap: 6px; }
  .bearing .door-t { font-size: 24px; }
  .bearing .door-p { font-size: 15px; line-height: 1.35; }
  .bearing .exit { padding: 10px 0; }
  .bearing .exit-l { font-size: 27px; }
  .bearing .exit-n { font-size: 15px; line-height: 1.3; margin-top: 6px; }
  .bearing .exit-d { margin-top: 6px; font-size: 11px; }
  .bearing .exit-more { gap: 4px 14px; padding-bottom: 8px; }
}
