/* ============ ÜBER® — one page, one system ============ */

:root {
  --bg: #0a0a0b;
  --ink: #f2f0eb;
  --ink-dim: #93908a;
  --ink-soft: #b8b5ad;
  --line: rgba(242, 240, 235, 0.14);
  --rec: #ff453a;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "Archivo", sans-serif;
  --display: "Archivo Black", "Archivo", sans-serif;
  --pad: clamp(18px, 3vw, 44px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.playing { overflow: hidden; }
body.picking { cursor: pointer; }

/* Experience mode: the page is a viewport, not a document. Input flies the
   camera; sections are stations that fade in at their depth. */
/* The gesture belongs to the camera, not to the browser. Without this the phone
   claims the vertical swipe for panning and delivers only the first few pixels —
   a full-screen swipe moved the camera two metres down an 1800-metre building. */
html.gl, html.gl body, html.gl #room {
  touch-action: none;
  overscroll-behavior: none;
  -webkit-user-select: none;
  user-select: none;
}
html.gl body { overflow: hidden; height: 100vh; }
html.gl .station {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 5;
}
html.gl .station a, html.gl .station button { pointer-events: auto; }
html.gl .hero.station { justify-content: flex-end; padding-bottom: clamp(90px, 14vh, 150px); }
html.gl .footer.station { overflow: hidden; justify-content: center; border-top: none; }
/* The room replaces the list visually, but `display: none` also removes it from
   the accessibility tree, and the canvas is aria-hidden. That left the entire
   archive invisible to a screen reader. Hide it from sight only. */
html.gl .work {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* a keyboard user tabbing into it gets it back, full size */
html.gl .work:focus-within {
  position: static;
  width: auto; height: auto;
  margin: 0; padding: clamp(90px, 17vh, 190px) var(--pad);
  overflow: visible;
  clip-path: none;
  white-space: normal;
  background: rgba(8, 8, 10, 0.97);
  z-index: 40;
}
html.gl .statement.station, html.gl .services.station { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

.mono { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; line-height: 1.6; }
.display { font-family: var(--display); text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.92; }
.kicker { color: var(--ink-dim); }
::selection { background: var(--ink); color: var(--bg); }

a { color: inherit; }
:focus-visible { outline: 2px solid var(--rec); outline-offset: 3px; }

/* ---------- intro: the mark resolves into the wordmark ---------- */

#intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #08080a;
  display: grid;
  place-items: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}
#intro.done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-mark { position: relative; display: grid; place-items: center; }
.intro-mark img {
  display: block;
  width: auto;
  filter: drop-shadow(0 0 40px rgba(242, 240, 235, 0.14));
}
.intro-owl {
  height: clamp(64px, 11vh, 104px);
  animation: introOwl 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.intro-word {
  position: absolute;
  height: clamp(30px, 5.2vh, 52px);
  opacity: 0;
  animation: introWord 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
/* Hard cut, never a crossfade: the wordmark's first glyph is the owl, so showing
   both at once reads as a doubled mark rather than a transition. */
@keyframes introOwl {
  0%    { opacity: 0; transform: scale(0.88); }
  16%   { opacity: 1; transform: scale(1); }
  60%   { opacity: 1; transform: scale(1); }
  60.1% { opacity: 0; }
  100%  { opacity: 0; }
}
@keyframes introWord {
  0%, 60%  { opacity: 0; transform: scale(1.04); }
  60.1%    { opacity: 1; transform: scale(1); }
  100%     { opacity: 1; transform: scale(1); }
}
#introSkip {
  position: fixed;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  background: none;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 7px 16px;
  color: var(--ink-dim);
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}
#introSkip:hover { color: var(--ink); border-color: var(--ink); }
/* no motion, no gate: the mark is already the favicon and the header */
@media (prefers-reduced-motion: reduce) {
  #intro { display: none; }
}

/* ---------- the room ---------- */

#room {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 0;
  background: var(--bg);
}
/* without WebGL the page still reads — it just loses the room */
html.no-gl #room { display: none; }

main, .chrome, .hud, .footer { position: relative; z-index: 2; }

/* ---------- chrome ---------- */

.chrome {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px var(--pad);
  pointer-events: none;
}
/* One soft scrim across the top holds the header legible over a bright aurora.
   Per-glyph shadows were doing this job and read as a smudge behind every word. */
.chrome::before {
  content: "";
  position: absolute;
  inset: -10px 0 auto 0;
  height: 132px;
  background: linear-gradient(to bottom, rgba(6, 7, 9, 0.62), rgba(6, 7, 9, 0));
  pointer-events: none;
  z-index: -1;
}
.chrome a { pointer-events: auto; }
.brand img { display: block; height: 22px; width: auto; }

.nav { display: flex; gap: clamp(14px, 2vw, 30px); }
.nav a { color: var(--ink); text-decoration: none; opacity: 0.62; transition: opacity 0.25s; }
.nav a:hover { opacity: 1; }

/* A forced-colours / high-contrast environment paints an opaque backplate behind
   text drawn over imagery. Over the room that shows up as a grey box under every
   word in the header — opt the chrome out so it stays clean. */
@media (forced-colors: active) {
  .chrome, .chrome *, .sections, .sections * { forced-color-adjust: none; }
  .nav a, .brand img { background: none; }
}

/* ---------- section index (left edge) ---------- */

.sections {
  position: fixed;
  left: calc(var(--pad) * 0.6);
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: none;
  flex-direction: column;
  gap: 2px;
}
/* The index gets its own gutter rather than floating over the copy — every
   station is left-aligned, so an overlay would land on type at some depth. */
/* the two gutters cost ~350px; do not open them until the viewport can afford it */
@media (min-width: 1280px) {
  html.gl .sections { display: flex; }
  html.gl .rail-cats { display: flex; }
  /* must out-specify `html.gl .station`, which sets the shorthand */
  html.gl .station {
    padding-left: calc(var(--pad) + 104px);    /* section index */
    padding-right: calc(var(--pad) + 172px);   /* room shortcuts + flight rail */
  }
  html.gl .hall { left: calc(var(--pad) + 104px); }
  /* the two gutters take ~280px, so the display line has to come down with them
     or the last glyph is clipped by .hero .line's overflow */
  html.gl .hero h1 { font-size: clamp(44px, 7.7vw, 122px); }
}
.sections button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  transition: color 0.25s;
}
.sections button i {
  display: block;
  width: 14px; height: 1px;
  background: currentColor;
  opacity: 0.55;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s;
}
.sections button:hover { color: var(--ink); }
.sections button.on { color: var(--ink); }
.sections button.on i { width: 30px; opacity: 1; }
.sections button.ai.on, .sections button.ai:hover { color: var(--rec); }

.hud {
  position: fixed;
  left: var(--pad); right: var(--pad);
  bottom: 18px;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink-dim);
  pointer-events: none;
}
.hud button { pointer-events: auto; }
.rec-dot { color: var(--rec); animation: recblink 1s steps(2) infinite; }
@keyframes recblink { 50% { opacity: 0.25; } }

#sndBtn {
  position: fixed;
  right: var(--pad);
  bottom: 18px;
  z-index: 31;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: rgba(10, 10, 11, 0.5);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 6px 14px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.25s, color 0.25s;
}
#sndBtn:hover { background: var(--ink); color: var(--bg); }

/* flight rail — where you are in the room */
.rail {
  position: fixed;
  right: calc(var(--pad) * 0.55);
  top: 50%;
  transform: translateY(-50%);
  height: min(46vh, 420px);
  z-index: 30;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--ink-dim);
}
html.gl .rail { display: flex; }
.rail-body { flex: 1; display: flex; align-items: stretch; gap: 11px; }
.rail-track { position: relative; width: 1px; background: var(--line); }

/* every room, one click away — and marked when it is in the building */
.rail-cats {
  display: none;                 /* narrow screens keep the bare progress track */
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0;                        /* no dead gaps between rows: every pixel belongs
                                    to a row, so a near miss still hits the room
                                    you were aiming at rather than nothing */
}
.rail-cats button {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: 100%;
  background: none;
  border: 0;
  /* the row, not the glyphs, is the target: ~26px tall and the full column wide */
  padding: 7px 6px 7px 10px;
  border-radius: 3px;
  cursor: pointer;
  color: var(--ink-dim);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.17em;
  white-space: nowrap;
  opacity: 0.55;
  transition: opacity 0.2s, color 0.2s, background 0.2s;
}
/* show the hit area on approach, so the target is where it looks */
.rail-cats button:hover { background: rgba(242, 240, 235, 0.07); }
.rail-cats button b {
  order: -1;
  min-width: 11px;
  font-weight: 400;
  opacity: 0.45;
  text-align: right;
}
.rail-cats button::after {
  content: "";
  width: 4px; height: 4px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.rail-cats button.ai { color: var(--rec); }
.rail-cats button.ai.on::after { background: currentColor; }
.rail-cats button.on { opacity: 1; color: var(--ink); }
.rail-cats button.on::after { background: currentColor; }
.rail-cats button.here { color: var(--rec); opacity: 1; }
.rail-cats button:hover { opacity: 1; color: var(--ink); }
.rail-ai { position: absolute; left: 0; width: 1px; background: var(--rec); opacity: 0.75; }
.rail-dot {
  position: absolute;
  left: 50%;
  width: 7px; height: 7px;
  transform: translate(-50%, -50%);
  background: var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(242, 240, 235, 0.6);
}
.rail-label { font-size: 8px; letter-spacing: 0.22em; writing-mode: vertical-rl; }
.rail-label-b { color: var(--rec); }

/* hovered work, follows the cursor */
#tip {
  position: fixed;
  top: 0; left: 0;
  z-index: 40;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  background: rgba(10, 10, 11, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.2s;
  max-width: 340px;
}
#tip.on { opacity: 1; }
#tip b { font-family: var(--display); font-weight: 400; font-size: 13px; letter-spacing: 0; text-transform: uppercase; }
#tip span { color: var(--ink-dim); }

/* ---------- shared section rhythm ---------- */

section { padding: clamp(90px, 17vh, 190px) var(--pad); }

/* The room is brightest at the mouth (the hero) and veils behind everything the
   visitor has to read, so type never competes with a passing panel. */
.statement, .work, .services {
  background: rgba(10, 10, 11, 0.80);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* ---------- hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(90px, 14vh, 150px);
}
.hero h1 { font-size: clamp(44px, 9vw, 152px); }
.hero .line { display: block; overflow: hidden; line-height: 0.96; }
.hero .line > span { display: inline-block; }
.hero-sub { margin-top: 28px; color: var(--ink-soft); font-size: 11px; letter-spacing: 0.17em; }
.hero-contact {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px clamp(14px, 2vw, 26px);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--ink-dim);
}
.hero-contact a { color: var(--ink); text-decoration: none; position: relative; }
.hero-contact a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-contact a:hover::after { transform: scaleX(1); }
.hero-scroll { margin-top: 14px; color: var(--ink-dim); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ---------- statement ---------- */

.statement-text {
  margin-top: 26px;
  font-size: clamp(26px, 4.2vw, 68px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.1;
  max-width: 26ch;
  text-wrap: balance;
}
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px;
  margin-top: clamp(46px, 8vh, 90px);
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 760px;
}
.stats > div {
  background: var(--bg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stats dt { color: var(--ink-dim); }
.stats dd { font-family: var(--display); font-size: clamp(26px, 3.4vw, 44px); letter-spacing: -0.02em; }

/* ---------- work ---------- */

.work-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  background: none;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 6px 13px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.filters button:hover { color: var(--ink); border-color: var(--ink-dim); }
.filters button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.work-list { list-style: none; }
.work-row {
  display: grid;
  grid-template-columns: 44px minmax(90px, 0.7fr) minmax(0, 2.2fr) minmax(120px, 0.9fr);
  align-items: baseline;
  gap: 18px;
  padding: clamp(13px, 1.8vh, 20px) 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.25s, padding-left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-row:hover { background: rgba(242, 240, 235, 0.045); padding-left: 12px; }
.w-idx { color: var(--ink-dim); }
.w-client { color: var(--rec); }
.w-title { font-size: clamp(17px, 2.1vw, 30px); }
.w-meta { color: var(--ink-dim); text-align: right; }
.tag-ai {
  background: var(--rec);
  color: #fff;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 2px;
  letter-spacing: 0.12em;
}
.work-note { margin-top: 22px; color: var(--ink-dim); }

/* ---------- services ---------- */

.service-list { list-style: none; margin-top: 26px; border-top: 1px solid var(--line); }
.service-list li {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: clamp(14px, 2.2vh, 26px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-list li:hover { padding-left: 12px; }
.s-num { color: var(--rec); }
.service-list h3 { font-size: clamp(22px, 3.6vw, 52px); }
.service-list em { font-style: normal; font-size: 0.4em; color: var(--ink-dim); vertical-align: 0.6em; margin-left: 0.5em; }
.services-line { margin-top: clamp(50px, 9vh, 100px); font-size: clamp(26px, 4.2vw, 64px); }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: clamp(70px, 12vh, 140px) var(--pad) 24px;
  overflow: hidden;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(22px, 4vw, 60px);
  margin-top: 20px;
}
.contact-card { display: flex; flex-direction: column; gap: 6px; }
.c-role { color: var(--rec); }
.c-name { font-size: clamp(18px, 2vw, 28px); color: var(--ink-soft); }
.c-mail {
  font-size: clamp(24px, 3.4vw, 54px);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: letter-spacing 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.c-mail:hover { letter-spacing: 0.005em; }
.c-tel { color: var(--ink-dim); text-decoration: none; }
.c-tel:hover { color: var(--ink); }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 24px;
  margin: clamp(40px, 7vh, 74px) 0 0;
  border-top: 1px solid var(--line);
  padding-top: 26px;
  color: var(--ink-dim);
}
.footer-grid > div { display: flex; flex-direction: column; gap: 9px; font-size: 12px; }
.footer-grid a { text-decoration: none; padding: 2px 0; transition: color 0.25s; }
.footer-grid a:hover { color: var(--ink); }
.f-label { font-family: var(--display); font-size: 14px; letter-spacing: 0.02em; color: var(--ink); margin-bottom: 6px; }

.footer-mark {
  display: block;
  width: clamp(56px, 7vw, 96px);
  height: auto;
  margin: clamp(24px, 4vh, 44px) auto 0;
  opacity: 0.18;
}
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 16px;
  color: var(--ink-dim);
}

/* ---------- player ---------- */

#player {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(6, 6, 7, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}
#player[hidden] { display: none; }
.player-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px var(--pad);
  color: var(--ink-dim);
}
#playerClose {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: none;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 8px 16px;
  cursor: pointer;
}
#playerClose:hover { background: var(--ink); color: var(--bg); }
.player-stage {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 0 var(--pad) var(--pad);
}
.player-stage img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  display: block;
}
.player-stage iframe, .player-stage video {
  width: min(100%, calc((100vh - 140px) * 16 / 9));
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  background: #000;
  display: block;
}

/* ---------- custom cursor ---------- */

html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor .work-row { cursor: none; }
.cur-ring {
  position: fixed; top: 0; left: 0;
  width: 30px; height: 30px;
  border: 1.5px solid #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  display: flex; align-items: center; justify-content: center;
  transition: width 0.3s cubic-bezier(0.22,1,0.36,1), height 0.3s cubic-bezier(0.22,1,0.36,1);
}
.cur-ring.mid { width: 48px; height: 48px; }
.cur-ring.big { width: 76px; height: 76px; }
.cur-tag { color: #fff; font-size: 9px; letter-spacing: 0.18em; }
.cur-dot {
  position: fixed; top: 0; left: 0;
  width: 5px; height: 5px;
  background: var(--rec);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
}

/* ---------- responsive ---------- */

@media (max-width: 760px) {
  .mono { font-size: 11px; }
  .brand img { height: 18px; }
  .nav { gap: 0; }
  .nav a { font-size: 10px; padding: 12px 5px; opacity: 0.85; }
  .rail { right: 6px; }
  .sections { display: none !important; }   /* the top nav is enough on a phone */
  .hud { bottom: 12px; }
  .hero-contact { font-size: 10px; gap: 6px 14px; }
  .hero h1 { font-size: clamp(28px, 9.4vw, 64px); }
  .work-row {
    grid-template-columns: 34px 1fr;
    grid-template-areas: "idx client" "idx title" "idx meta";
    gap: 4px 14px;
    row-gap: 3px;
  }
  .w-idx { grid-area: idx; }
  .w-client { grid-area: client; }
  .w-title { grid-area: title; }
  .w-meta { grid-area: meta; text-align: left; }
  .service-list li { gap: 14px; }
  .footer-base { flex-direction: column; }
  .player-stage { padding: 0 0 var(--pad); }
}

/* ---------- static / reduced motion ---------- */

html.static *, html.static *::before, html.static *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---------- about / leadership / ai vision stations ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
  gap: clamp(26px, 5vw, 80px);
  align-items: start;
  margin-top: 26px;
}
.about-lead { display: flex; flex-direction: column; gap: 18px; }
.about-body {
  font-size: clamp(14px, 1.35vw, 19px);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 62ch;
}
.about-body.small { font-size: clamp(13px, 1.1vw, 15px); }
.about-body.em { color: var(--ink); }
.about-body b { color: var(--ink); font-weight: 600; }
.about-aside {
  color: var(--ink-dim);
  border-left: 2px solid var(--rec);
  padding-left: 16px;
  line-height: 1.9;
}
.about-side { display: flex; flex-direction: column; gap: 14px; }
.about-grid .stats { grid-template-columns: repeat(2, 1fr); margin-top: 0; max-width: none; }
.side-label { color: var(--rec); }
.clients { color: var(--ink); line-height: 2.1; font-size: 11px; }
.clients-b { display: block; margin-top: 8px; color: var(--ink-dim); }

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(24px, 4vw, 64px);
  margin-top: 24px;
}
.person { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--ink); padding-top: 16px; }
.p-role { color: var(--rec); }
.person h3 { font-size: clamp(22px, 2.6vw, 40px); }
.built { margin-top: clamp(22px, 4vh, 44px); max-width: 70ch; }

.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(22px, 4vw, 56px);
  margin: 24px 0;
}
.ai-vision .statement-text { max-width: 22ch; }
.ai-vision .kicker { color: var(--rec); }

/* which hall you are in */
.hall {
  position: fixed;
  left: var(--pad);
  bottom: 18px;
  z-index: 31;
  color: var(--ink);
  letter-spacing: 0.3em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s, transform 0.5s;
  display: none;
}
html.gl .hall { display: block; }
.hall.on { opacity: 1; transform: none; }
.hall::before { content: "◉ "; color: var(--rec); }

/* grouped fallback list */
.work-group { list-style: none; margin-top: 34px; }
.work-group > h3 { font-size: clamp(18px, 2vw, 26px); color: var(--ink-dim); border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.work-group ol { list-style: none; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 22px; }
  .about-grid .stats { grid-template-columns: repeat(2, 1fr); }
  .about-body { font-size: 14px; }
  html.gl .station { overflow-y: auto; padding-top: 74px; padding-bottom: 64px; justify-content: flex-start; }
  html.gl .hero.station { justify-content: flex-end; }
}

/* ---------- the archive menu ---------- */

.archive-title { font-size: clamp(30px, 5vw, 74px); margin-top: 8px; }
.archive-hint { margin-top: 12px; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 1px;
  margin: clamp(24px, 4vh, 44px) 0 22px;
  background: var(--line);
  border: 1px solid var(--line);
  max-width: 1100px;
}
.cat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(10, 10, 11, 0.72);
  border: 0;
  color: var(--ink-dim);
  cursor: pointer;
  text-align: left;
  transition: background 0.25s, color 0.25s, padding-left 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.cat:hover { color: var(--ink); padding-left: 28px; }
.cat-name { font-size: clamp(14px, 1.5vw, 21px); }
.cat-n { font-size: 11px; }
.cat.on { background: var(--ink); color: var(--bg); }
.cat.on .cat-n { color: var(--rec); }

.archive-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.archive-actions button {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  background: none;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.archive-actions button:hover { color: var(--ink); border-color: var(--ink-dim); }
.archive-actions button.on { color: var(--ink); border-color: var(--ink); }
.archive-actions .primary { color: var(--ink); border-color: var(--rec); }
.archive-actions .primary:hover { background: var(--rec); border-color: var(--rec); color: #fff; }

/* the compile readout: what the room is fetching right now */
#compile {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 120px);
  z-index: 32;
  color: var(--rec);
  letter-spacing: 0.34em;
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
#compile.on { opacity: 1; }

/* in the room the cards do the talking; the DOM grid is the fallback */
.gl-only { display: none; }
html.gl .gl-only { display: block; }
html.gl .no-gl-only { display: none; }
/* the archive copy keeps the upper-left; the cards own the lower half */
html.gl .archive-menu { justify-content: flex-start; padding-top: 22vh; }
html.gl .archive-menu .archive-hint, html.gl .archive-menu .archive-title { max-width: 46ch; }
html.gl .cat-grid, html.gl #catAll { display: none; }
