/* V2: isolated cinematic interface. No third-party fonts or image hosts. */
:root {
  color-scheme: dark;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ink: #f1f0ee;
  --muted: #abb2c0;
  --quiet: #768194;
  --line: rgba(212, 218, 231, .15);
  --copper: #d9a47d;
  --cyan: #8cbdc6;
  --background: #07090f;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { background: var(--background); color: var(--ink); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 2px solid #f0c6a4; outline-offset: 4px; }
::selection { background: rgba(214, 162, 117, .4); color: white; }
[hidden] { display: none !important; }
.skip { position: absolute; top: -10rem; left: 1rem; z-index: 50; background: #fff; color: #111; padding: 12px 18px; }
.skip:focus { top: 1rem; }
.interface-shell { position: relative; width: 100%; height: 100vh; height: 100dvh; min-height: 0; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); display: grid; grid-template-rows: 76px minmax(0, 1fr) 42px; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 75% 50%, rgba(32, 38, 54, .47), transparent 45%), #07090f; }
.interface-shell::before { content: ""; position: absolute; z-index: 2; pointer-events: none; inset: 0; border: 1px solid rgba(211, 207, 215, .09); }
.atmosphere { position: absolute; pointer-events: none; inset: 0; z-index: 0; overflow: hidden; }
.smoke { position: absolute; width: 72vw; height: 90vh; min-width: 460px; min-height: 440px; border-radius: 50%; opacity: .52; filter: blur(64px); will-change: transform; animation: vapor-drift 24s ease-in-out infinite alternate; }
.smoke-amber { left: 12%; top: -52%; background: radial-gradient(ellipse at 53% 52%, rgba(167, 91, 64, .28) 0%, rgba(105, 64, 75, .17) 29%, transparent 69%); }
.smoke-cyan { right: -26%; bottom: -40%; background: radial-gradient(ellipse at 47% 48%, rgba(55, 107, 125, .32) 0%, rgba(42, 76, 107, .18) 32%, transparent 68%); animation-delay: -9s; animation-duration: 30s; }
.smoke-violet { left: 12%; bottom: -62%; background: radial-gradient(ellipse at 48% 50%, rgba(88, 71, 120, .3) 0%, transparent 69%); animation-delay: -17s; animation-duration: 35s; }
.grid-surface { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(194, 199, 219, .025) 1px, transparent 1px), linear-gradient(to bottom, rgba(194, 199, 219, .025) 1px, transparent 1px); background-size: 82px 82px; opacity: .5; mask-image: radial-gradient(ellipse at 72% 65%, #000, transparent 68%); }
.grain { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.007) 3px 4px); opacity: .6; }
@keyframes vapor-drift { 0% { transform: translate3d(-6%, -3%, 0) rotate(-9deg) scale(.95); } 100% { transform: translate3d(7%, 8%, 0) rotate(11deg) scale(1.13); } }

/* Hero portrait remains a real image behind semantic, interactive content. */
.portrait-scene {
  position: absolute;
  inset: 76px clamp(205px, 21vw, 312px) 42px clamp(220px, 26vw, 425px);
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
  opacity: 1;
  transition: opacity .45s ease, filter .45s ease;
  mask-image: linear-gradient(90deg, transparent 0%, #000 13%, #000 84%, transparent 100%);
}
.portrait-halo {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(214, 155, 113, .18);
  border-radius: 50%;
  left: 63%;
  top: 42%;
  transform: translate(-50%, -50%) rotate(-16deg);
  box-shadow: 0 0 84px rgba(202, 126, 93, .075), inset 0 0 95px rgba(85, 150, 162, .05);
  transition: border-color .5s ease, box-shadow .5s ease;
}
.portrait-orbit {
  position: absolute;
  width: 90%;
  aspect-ratio: 1;
  left: 63%;
  top: 42%;
  transform: translate(-50%, -50%) rotate(-28deg) rotateX(65deg);
  border: 1px solid rgba(135, 179, 193, .14);
  border-radius: 50%;
}
.portrait-figure {
  position: absolute;
  top: 49%;
  left: 63%;
  width: min(56vw, 665px);
  height: auto;
  max-width: none;
  opacity: .91;
  transform: translate(-50%, -50%);
  filter: brightness(.76) contrast(1.12) saturate(.88) drop-shadow(0 18px 80px rgba(0,0,0,.48));
  animation: portrait-breathe 16s ease-in-out infinite alternate;
  will-change: transform;
}
.portrait-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5,7,13,.25), transparent 35%), linear-gradient(to bottom, transparent 58%, rgba(5,7,13,.23));
}
@keyframes portrait-breathe {
  0% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -49%) scale(1.024); }
}
.interface-shell[data-light="teal"] .portrait-halo { border-color: rgba(103, 210, 220, .38); box-shadow: 0 0 90px rgba(73, 197, 216, .17); }
.interface-shell[data-light="violet"] .portrait-halo { border-color: rgba(181, 144, 226, .39); box-shadow: 0 0 90px rgba(169, 109, 204, .17); }
.interface-shell[data-light="teal"] .portrait-figure { filter: brightness(.79) contrast(1.1) saturate(.92) hue-rotate(-8deg); }
.interface-shell[data-light="violet"] .portrait-figure { filter: brightness(.74) contrast(1.14) saturate(.86) hue-rotate(12deg); }
.interface-shell[data-view]:not([data-view="home"]) .portrait-scene { opacity: .15; filter: blur(3px); }
.topbar, .body-grid, .statusbar { position: relative; z-index: 3; min-width: 0; }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(19px, 3.2vw, 56px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(5, 7, 13, .8), rgba(5, 7, 13, .2)); }
.brand { display: inline-flex; align-items: center; gap: 14px; width: max-content; text-decoration: none; }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid rgba(227, 231, 237, .16); background: rgba(218, 206, 211, .045); }
.brand-mark img { opacity: .91; }
.brand-words { display: flex; flex-direction: column; gap: 5px; }
.brand-words strong { font-size: 12px; letter-spacing: .24em; font-weight: 660; }
.brand-words small { font-size: 9px; letter-spacing: .17em; color: var(--quiet); }
.topbar-version { color: #d9a681; }
.topbar-center { display: flex; gap: 12px; align-items: center; font-size: 9px; letter-spacing: .2em; color: #828b9a; white-space: nowrap; }
.topbar-center .line { width: 36px; height: 1px; background: var(--line); }
.topbar-right { display: flex; align-items: center; justify-content: flex-end; gap: 12px; font-size: 10px; letter-spacing: .15em; }
.system-dot { width: 6px; height: 6px; border-radius: 50%; background: #8ec6ad; box-shadow: 0 0 11px rgba(142, 198, 173, .55); }
.system-word { color: #98aeb4; }
.topbar time { border-left: 1px solid var(--line); padding-left: 16px; color: #d1d0d0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.body-grid { display: grid; grid-template-columns: clamp(156px, 15.7vw, 250px) minmax(0, 1fr) clamp(220px, 21vw, 312px); min-height: 0; }
.rail { border-right: 1px solid var(--line); padding: clamp(29px, 6vh, 74px) 0 30px clamp(24px, 3.2vw, 56px); display: flex; flex-direction: column; gap: 7px; min-height: 0; background: linear-gradient(to right, rgba(5, 7, 13, .42), transparent); }
.rail-heading { display: block; margin-bottom: clamp(20px, 4vh, 50px); color: #6f7c90; font-size: 9px; letter-spacing: .22em; }
.rail-tab { display: flex; gap: 15px; align-items: center; text-align: left; width: 100%; height: 53px; padding: 0 15px 0 0; background: none; color: #939eac; border: 0; cursor: pointer; transition: color .23s, transform .23s; position: relative; }
.rail-tab:hover { color: #f5f1ed; }
.rail-tab[aria-selected="true"] { color: #f1ebe5; transform: translateX(3px); }
.rail-number { color: #718094; font-size: 9px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.rail-label { font-size: 13px; letter-spacing: .055em; }
.rail-tab[aria-selected="true"] .rail-number { color: #dba47d; }
.tab-dash { width: 0; height: 1px; background: #d9a47d; transition: width .23s; margin-left: auto; }
.rail-tab[aria-selected="true"] .tab-dash { width: 19px; }
.rail-end { display: flex; flex-direction: column; gap: 19px; margin-top: auto; font-size: 8px; letter-spacing: .14em; color: #758194; line-height: 1.6; }
.rail-line { height: 1px; width: 34px; background: #b08c75; }
.interface-main { min-height: 0; min-width: 0; position: relative; }
.panel { position: absolute; inset: 0; min-width: 0; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-color: #6b6e78 transparent; scrollbar-width: thin; }
.panel-inner { min-height: 100%; padding: clamp(30px, 5vh, 65px) clamp(30px, 5vw, 90px); position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.eyebrow { display: flex; gap: 12px; align-items: center; color: #c9a38c; font-size: 9px; letter-spacing: .17em; font-weight: 600; line-height: 1.6; }
.eyebrow-line { width: 24px; height: 1px; flex: 0 0 24px; background: #c69b7f; }
.eyebrow-index { color: #6d778a; }
.hero-panel { max-width: 840px; }
.hero-overline { margin: clamp(29px, 7vh, 78px) 0 13px; font-size: 9px; letter-spacing: .23em; color: #bac6d0; }
h1, h2, p { margin-top: 0; }
.hero-panel h1 { font-size: clamp(68px, 7.8vw, 150px); font-weight: 640; line-height: .82; letter-spacing: -.081em; margin: 0 0 clamp(23px, 5vh, 52px); text-shadow: 0 10px 50px rgba(0,0,0,.3); }
.title-secondary { display: block; font-weight: 360; color: #9cabb7; letter-spacing: -.09em; font-style: italic; }
.title-last { display: block; }
.title-period { color: var(--copper); }
.hero-description { max-width: 500px; line-height: 1.8; font-size: clamp(13px, 1.15vw, 16px); color: #c0c5cf; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: clamp(12px, 2vh, 25px); }
.action { display: inline-flex; justify-content: space-between; gap: 25px; align-items: center; cursor: pointer; padding: 14px 18px; border: 1px solid rgba(220, 220, 225, .22); font-size: 11px; letter-spacing: .06em; transition: background .2s, border-color .2s, transform .2s; }
.action:hover { transform: translateY(-2px); }
.action-primary { background: #e9e7e5; color: #11141a; border-color: #e9e7e5; font-weight: 700; }
.action-primary:hover { background: #cfa788; border-color: #cfa788; }
.action-quiet { background: rgba(10, 13, 21, .32); color: #e7e3df; }
.action-quiet:hover { border-color: #d9a47d; background: rgba(220, 160, 116, .08); }
.hero-foot { margin-top: clamp(26px, 6vh, 70px); display: flex; align-items: center; gap: 15px; font-size: 8px; letter-spacing: .19em; color: #8390a1; }
.fine-rule { width: 40px; height: 1px; background: #a28d85; }
.section-panel { max-width: 990px; }
.section-panel h2 { font-size: clamp(45px, 5.8vw, 94px); line-height: .99; font-weight: 540; letter-spacing: -.065em; margin: clamp(20px, 4vh, 40px) 0 20px; }
.section-panel h2 em { font-weight: 370; font-style: normal; color: var(--copper); }
.section-intro { max-width: 560px; color: #b5bec9; font-size: clamp(13px, 1.15vw, 16px); line-height: 1.8; margin-bottom: 28px; }
.work-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 12px; max-width: 890px; }
.work-card { display: flex; min-height: 190px; flex-direction: column; text-decoration: none; padding: 19px 18px; border: 1px solid rgba(194, 204, 218, .18); background: linear-gradient(155deg, rgba(28, 34, 47, .79), rgba(10, 13, 20, .78)); backdrop-filter: blur(12px); transition: transform .2s, border-color .2s, background .2s; }
.work-card:hover { transform: translateY(-4px); border-color: rgba(219, 166, 125, .6); background: rgba(34, 37, 49, .91); }
.card-number, .card-open { color: #d7ae91; font-size: 8px; font-weight: 650; letter-spacing: .14em; }
.work-card strong { font-size: 17px; line-height: 1.3; margin: 20px 0 8px; font-weight: 560; }
.work-card small { color: #aab2bf; font-size: 11px; line-height: 1.65; }
.card-open { display: flex; justify-content: space-between; margin-top: auto; padding-top: 20px; }
.section-link { display: inline-flex; gap: 15px; margin-top: 26px; font-size: 11px; letter-spacing: .04em; text-decoration: none; border-bottom: 1px solid rgba(217,164,125,.6); padding-bottom: 7px; color: #e7c3a8; }
.section-link:hover { color: white; }
.world-card { position: relative; width: min(100%, 700px); min-height: 210px; overflow: hidden; background: radial-gradient(ellipse at 73% 48%, rgba(81, 90, 142, .26), transparent 58%), linear-gradient(120deg, rgba(18, 27, 43, .96), rgba(20, 19, 34, .91)); border: 1px solid rgba(168, 179, 210, .24); }
.world-copy { position: relative; z-index: 2; max-width: 470px; padding: 30px; }
.world-kicker { font-size: 9px; color: #baabba; letter-spacing: .16em; }
.world-copy strong { display: block; margin-top: 12px; font-size: clamp(30px, 3.8vw, 49px); letter-spacing: -.05em; font-weight: 550; }
.world-copy p { color: #bec5d3; font-size: 12px; line-height: 1.7; margin: 11px 0 20px; }
.world-copy a { font-size: 11px; color: #edc9b4; text-decoration: none; border-bottom: 1px solid #9c8179; padding-bottom: 5px; }
.world-orbit { position: absolute; right: -9%; top: -65%; width: 55%; aspect-ratio: 1; border: 1px solid #687eac55; border-radius: 50%; box-shadow: 0 0 80px #6577ac22, inset 0 0 50px #6577ac22; }
.world-orbit::after { content: ""; position: absolute; inset: 20%; border: 1px solid #a781ab66; border-radius: 50%; }
.section-note { margin: 17px 0 0; font-size: 10px; color: #929bac; line-height: 1.7; }
.research-matrix { width: min(100%, 740px); display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.research-matrix > div { background: rgba(11, 15, 24, .88); padding: 23px; display: flex; flex-direction: column; gap: 7px; min-height: 105px; }
.research-matrix span { color: #cb9d81; font-size: 9px; letter-spacing: .15em; }
.research-matrix strong { font-size: 16px; font-weight: 560; }
.research-matrix small { font-size: 11px; color: #919aaa; }
.contact-panel h2 { margin-bottom: 30px; }
.contact-link { font-size: clamp(17px, 2.25vw, 30px); font-weight: 480; letter-spacing: -.035em; text-decoration: none; padding: 0 0 12px; border-bottom: 1px solid #ac8b7e; }
.contact-link:hover { color: #f3c4a3; }
.copy-button { margin: 18px 0 40px; padding: 10px 0; border: 0; background: none; color: #c1a18d; cursor: pointer; font-size: 11px; }
.copy-button span { margin-left: 12px; }
.contact-lower { display: flex; flex-wrap: wrap; gap: 25px; }
.contact-lower a { font-size: 11px; color: #a9b4c3; text-decoration: none; }
.contact-lower a:hover { color: white; }
.telemetry { min-height: 0; display: flex; flex-direction: column; padding: clamp(26px, 5vh, 50px) clamp(17px, 2.25vw, 34px); border-left: 1px solid var(--line); background: linear-gradient(90deg, rgba(8, 10, 18, .18), rgba(8, 10, 18, .7)); backdrop-filter: blur(4px); }
.telemetry-top { display: flex; justify-content: space-between; align-items: center; color: #c2ced7; font-size: 9px; letter-spacing: .15em; font-weight: 600; }
.telemetry-top .muted, .telemetry-cross { color: #6d7e92; }
.telemetry-ring { width: min(100%, 185px); aspect-ratio: 1; position: relative; display: grid; place-items: center; margin: clamp(23px, 5vh, 56px) auto clamp(20px, 4vh, 42px); border: 1px solid rgba(151, 181, 195, .2); border-radius: 50%; background: radial-gradient(circle, rgba(70,100,120,.08), transparent 65%); }
.telemetry-ring::before, .telemetry-ring::after { content: ""; position: absolute; inset: 14%; border: 1px dashed rgba(180, 172, 197, .23); border-radius: 50%; }
.telemetry-ring::after { inset: -10%; border-style: solid; border-color: rgba(169, 178, 195, .08); }
.telemetry-ring img { opacity: .85; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 24%; mask-image: radial-gradient(circle,#000 47%,transparent 76%); }
.inner-ring { position: absolute; inset: 30%; border: 1px solid rgba(225, 169, 123, .34); border-radius: 50%; }
.telemetry-readout { padding-top: 15px; border-top: 1px solid var(--line); }
.readout-kicker { color: #caa58f; font-size: 8px; letter-spacing: .14em; }
.telemetry-readout h2 { font-size: 16px; font-weight: 520; margin: 11px 0 10px; }
.readout-value { font-size: clamp(35px, 4vw, 55px); font-weight: 500; letter-spacing: -.06em; margin: 0 0 6px; font-variant-numeric: tabular-nums; }
.readout-status, .readout-date { font-size: 11px; color: #afb8c5; line-height: 1.6; margin: 0; }
.readout-date { color: #818e9c; margin-top: 5px; font-size: 10px; }
.refresh-button, .engine-button { border: 1px solid rgba(190, 205, 219, .24); color: #cdd6dc; background: rgba(204, 214, 229, .045); font-size: 9px; letter-spacing: .07em; cursor: pointer; transition: background .2s, border-color .2s; }
.refresh-button { margin-top: 17px; padding: 10px 13px; }
.refresh-button:hover, .engine-button:hover { background: rgba(218, 165, 123, .12); border-color: #d4a782; }
.telemetry-note { color: #758293; font-size: 10px; line-height: 1.7; margin-top: 18px; }
.telemetry-bottom { margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: #7b8d9c; font-size: 9px; letter-spacing: .13em; }
.engine-button { padding: 9px 12px; }
.engine-status { color: #a3bbc1; font-size: 8px; }
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 0 clamp(19px, 3.2vw, 56px); border-top: 1px solid var(--line); background: rgba(4, 6, 11, .65); font-size: 8px; letter-spacing: .1em; color: #8593a4; gap: 12px; }
.tiny-square { display: inline-block; width: 5px; height: 5px; margin-right: 10px; background: #ae8b79; }
.bar-separator, .footer-slash { margin: 0 8px; color: #647186; }
.footer-controls { display: flex; align-items: center; }
.footer-controls button { border: 0; background: none; color: #c5b6aa; font-size: 8px; letter-spacing: .1em; cursor: pointer; padding: 10px; }
.statusbar-end { white-space: nowrap; }
.status-trace { display: inline-block; width: 21px; height: 1px; margin-left: 10px; background: #9c806d; vertical-align: middle; }
.announcement { position: fixed; z-index: 40; bottom: 58px; right: 30px; max-width: min(350px, 90vw); background: #1c202b; color: white; border: 1px solid #647484; padding: 13px 18px; font-size: 12px; opacity: 0; transform: translateY(9px); pointer-events: none; transition: opacity .2s, transform .2s; }
.announcement.visible { opacity: 1; transform: none; }
.nojs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; padding: 12px 25px; color: white; background: #34222d; font-size: 13px; text-align: center; }
.nojs a { color: white; }

@media(max-height: 820px) and (min-width: 761px) {
  .hero-overline { margin-top: 25px; }
  .hero-panel h1 { font-size: clamp(56px, 6.5vw, 105px); margin-bottom: 22px; }
  .hero-foot { margin-top: 25px; }
  .section-panel h2 { font-size: clamp(41px, 4.9vw, 74px); margin: 16px 0; }
  .section-intro { margin-bottom: 17px; }
  .work-card { min-height: 160px; }
  .telemetry-ring { width: min(100%, 120px); margin: 17px auto; }
  .telemetry-note { font-size: 9px; }
}
@media(max-width: 1150px) {
  .body-grid { grid-template-columns: 148px minmax(0,1fr) 220px; }
  .rail { padding-left: 22px; }
  .panel-inner { padding-left: 39px; padding-right: 34px; }
  .topbar-center { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .hero-panel h1 { font-size: clamp(65px, 7.2vw, 108px); }
  .work-cards { grid-template-columns: 1fr; }
  .work-card { min-height: 102px; gap: 4px; }
  .work-card strong { margin: 6px 0 0; font-size: 15px; }
  .card-open { padding-top: 4px; }
}
@media(max-width: 960px) {
  .interface-shell { grid-template-rows: 62px minmax(0,1fr) 34px; }
  .topbar { padding-inline: 17px; }
  .brand { gap: 9px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-words strong { font-size: 10px; letter-spacing: .16em; }
  .brand-words small { font-size: 7px; letter-spacing: .08em; }
  .system-word { display: none; }
  .topbar time { font-size: 10px; padding-left: 0; border: 0; }
  .body-grid { display: flex; flex-direction: column; }
  .rail { order: 2; flex: 0 0 59px; display: flex; flex-direction: row; padding: 4px 7px; gap: 2px; justify-content: space-around; align-items: stretch; border-right: 0; border-top: 1px solid var(--line); background: rgba(11,13,20,.88); }
  .rail-heading, .rail-end, .rail-number, .tab-dash { display: none; }
  .rail-tab { width: auto; height: auto; min-width: 0; flex: 1; justify-content: center; padding: 5px 2px; }
  .rail-tab[aria-selected="true"] { transform: none; box-shadow: inset 0 2px #d9a47d; }
  .rail-label { font-size: 10px; letter-spacing: .03em; }
  .interface-main { order: 1; flex: 1 1 auto; min-height: 0; }
  .telemetry { order: 3; flex: 0 0 84px; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; border-left: 0; border-top: 1px solid var(--line); }
  .telemetry-top, .telemetry-ring, .telemetry-note, .telemetry-bottom { display: none; }
  .telemetry-readout { flex: 1; min-width: 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr auto; grid-template-rows: repeat(3,auto); column-gap: 8px; align-items: center; }
  .readout-kicker { grid-column: 1; grid-row: 1; font-size: 7px; }
  .telemetry-readout h2 { grid-column: 1; grid-row: 2; margin: 2px 0; font-size: 12px; }
  .readout-value { grid-column: 2; grid-row: 1/3; margin: 0; font-size: 25px; text-align: right; }
  .readout-status { grid-column: 1; grid-row: 3; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .readout-date { display: none; }
  .refresh-button { grid-column: 2; grid-row: 3; margin: 0; padding: 5px 7px; font-size: 9px; min-height: 30px; }
  .panel-inner { padding: 26px clamp(24px, 7vw, 55px); }
  .hero-panel { justify-content: center; }
  .hero-panel h1 { font-size: clamp(70px, 15vw, 118px); }
  .hero-description { font-size: 13px; line-height: 1.7; max-width: 440px; }
  .hero-overline { margin-top: 24px; }
  .hero-foot { margin-top: 29px; }
  .section-panel h2 { font-size: clamp(50px, 9vw, 74px); }
  .portrait-scene { inset: 62px 0 155px 0; opacity: .56; mask-image: linear-gradient(180deg,#000 0%,#000 47%,transparent 98%); }
  .portrait-figure { width: min(104vw, 520px); top: 42%; left: 69%; filter: brightness(.68) contrast(1.1); }
  .portrait-halo, .portrait-orbit { left: 69%; top: 36%; }
  .interface-shell[data-view]:not([data-view="home"]) .portrait-scene { opacity: .1; }
  .statusbar { padding-inline: 16px; font-size: 7px; }
  .statusbar-end { display: none; }
  .footer-controls { margin-left: auto; }
}
@media(max-width: 460px) {
  .interface-shell { grid-template-rows: 55px minmax(0,1fr) 29px; }
  .topbar { padding-inline: 12px; }
  .brand-mark { height: 29px; width: 29px; }
  .brand-mark img { width: 28px; }
  .brand-words strong { font-size: 9px; }
  .topbar-version { display: none; }
  .topbar-right { gap: 5px; }
  .system-dot { width: 5px; height: 5px; }
  .topbar time { font-size: 9px; }
  .rail { flex-basis: 51px; }
  .rail-label { font-size: 11px; }
  .telemetry { flex-basis: 75px; padding: 8px 12px; }
  .panel-inner { padding: 21px 23px; }
  .eyebrow { font-size: 8px; letter-spacing: .075em; }
  .eyebrow-line { flex-basis: 16px; width: 16px; }
  .hero-overline { font-size: 8px; margin-top: 26px; }
  .hero-panel h1 { font-size: clamp(67px, 16vw, 88px); margin-bottom: 25px; }
  .hero-description { font-size: 12px; }
  .action { padding: 12px; font-size: 10px; gap: 10px; }
  .hero-actions { gap: 8px; }
  .hero-foot { font-size: 7px; margin-top: 28px; }
  .section-panel h2 { font-size: clamp(46px, 12.7vw, 66px); }
  .section-intro { font-size: 12px; line-height: 1.65; margin-bottom: 20px; }
  .work-card { padding: 11px 13px; min-height: 83px; }
  .work-card strong { font-size: 13px; }
  .work-card small { font-size: 10px; }
  .card-number, .card-open { font-size: 7px; }
  .card-open { padding-top: 2px; }
  .world-card { min-height: 185px; }
  .world-copy { padding: 19px; }
  .world-copy strong { font-size: 37px; }
  .world-copy p { font-size: 11px; }
  .research-matrix > div { padding: 14px; min-height: 82px; }
  .research-matrix strong { font-size: 13px; }
  .research-matrix small { font-size: 10px; }
  .section-link { font-size: 10px; margin-top: 18px; }
  .statusbar { font-size: 6.5px; }
  .footer-controls button { font-size: 7px; padding: 5px; min-height: 27px; }
  .footer-controls > span:last-child { display: none; }
  .footer-slash { display: none; }
}
@media(max-height: 615px) {
  .panel-inner { justify-content: flex-start; }
  .hero-overline { margin-top: 16px; }
}
@media(hover: none) { .work-card:hover, .action:hover { transform: none; } }
/* Reduced motion defaults to off until a visitor explicitly enables it in the site controls. */
.interface-shell[data-motion="off"] .smoke, .interface-shell[data-motion="off"] .portrait-figure { animation: none; }

@media (max-width: 460px) {
  .portrait-scene { inset: 55px 0 149px 0; opacity: .52; }
  .portrait-figure { width: min(117vw, 440px); left: 72%; top: 39%; filter: brightness(.76) contrast(1.1); }
  .portrait-halo, .portrait-orbit { left: 72%; top: 37%; }
}

/* Release QA: prevent the observatory sidebar from crowding portrait tablets. */
@media (min-width: 461px) and (max-width: 960px) {
  .hero-panel h1 { font-size: clamp(56px, 10vw, 95px); }
  .panel-inner { padding: 26px clamp(28px, 5.5vw, 60px); }
  .hero-foot { margin-top: clamp(15px, 3vh, 28px); }
}
/* Keep primary actions visible on narrow, short phone viewports. */
@media (max-width: 460px) and (max-height: 640px) {
  .interface-shell { grid-template-rows: 50px minmax(0,1fr) 27px; }
  .rail { flex-basis: 48px; }
  .telemetry { flex-basis: 56px; padding-block: 5px; }
  .telemetry-readout h2 { display: none; }
  .readout-kicker { font-size: 7px; }
  .panel-inner { padding: 12px 23px; }
  .hero-overline { margin: 11px 0 7px; }
  .hero-panel h1 { font-size: 58px; line-height: .84; margin-bottom: 15px; }
  .hero-description { font-size: 11px; line-height: 1.55; margin-bottom: 8px; }
  .hero-actions { gap: 7px; margin-top: 7px; }
  .action { padding: 10px 9px; }
  .hero-foot { display: none; }
}
@media (prefers-contrast: more) {
  .portrait-scene { opacity: .12; }
  .hero-description, .section-intro, .readout-status { color: #f3f3f3; }
  .rail-tab { color: #f3f3f3; }
  .action-quiet { background: #202734; }
}

/* iOS landscape / extreme browser chrome heights: keep navigation visible. */
@media (max-height: 380px) {
  .interface-shell { grid-template-rows: 48px minmax(0, 1fr) 25px; }
  .topbar { padding-inline: 12px; }
  .rail { flex-basis: 43px; }
  .telemetry { flex-basis: 46px; padding-block: 5px; }
  .telemetry-readout h2, .readout-date { display: none; }
  .telemetry-readout { align-content: center; }
  .panel-inner { justify-content: flex-start; padding-block: 18px; }
  .hero-overline { margin-top: 15px; }
  .hero-foot { margin-top: 18px; }
}
/* Reflow long headings, contact details and cards within the active panel. */
.panel-inner { min-width: 0; width: 100%; }
.eyebrow { flex-wrap: wrap; }
.hero-panel h1, .section-panel h2, .contact-link { max-width: 100%; overflow-wrap: anywhere; }
.hero-description, .section-intro, .section-note, .work-card, .world-card, .research-matrix { min-width: 0; overflow-wrap: anywhere; }
.hero-actions { max-width: 100%; }
.action { min-width: 0; }

/* Keep the home descriptor in view when visitors enlarge text. */
.hero-foot { max-width: 100%; flex-wrap: wrap; }
.hero-foot > span { min-width: 0; overflow-wrap: anywhere; }


/* The second portrait-light control keeps the same feature accessible on phones. */
.mobile-light { display: none; border: 1px solid rgba(214, 198, 193, .26); background: rgba(29, 27, 34, .52); border-radius: 50%; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-shrink: 0; }
.mobile-light-orb { display: block; width: 17px; height: 17px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #f2dccb, #bb8b72 39%, #5b3c43 73%); box-shadow: 0 0 13px rgba(218, 165, 125, .44); transition: background .2s, box-shadow .2s; }
.interface-shell[data-light="teal"] .mobile-light-orb { background: radial-gradient(circle at 34% 28%, #daf6f1, #6aabb6 43%, #21445a 82%); box-shadow: 0 0 13px rgba(105, 205, 225, .46); }
.interface-shell[data-light="violet"] .mobile-light-orb { background: radial-gradient(circle at 34% 28%, #efdef7, #9e7cc5 43%, #3a315b 82%); box-shadow: 0 0 13px rgba(176, 128, 217, .45); }
@media(max-width: 960px) {
  .mobile-light { display: flex; width: 44px; height: 44px; }
  .rail-tab { min-height: 44px; }
  .rail { flex-basis: 60px; }
}
@media(max-width: 460px) {
  .topbar-right { gap: 5px; }
  .rail { flex-basis: 54px; }
  .mobile-light { width: 44px; height: 44px; }
}
@media(max-height: 380px) {
  .rail { flex-basis: 47px; padding-block: 1px; }
  .mobile-light { width: 44px; height: 44px; }
}


/* V1.1.1: atmospheric motion and responsive tactile feedback.
 * Transform-driven wisps; no video, WebGL, trackers or external resources. */
.smoke {
  width: min(91vw, 1220px);
  height: min(92vh, 890px);
  min-width: 450px;
  min-height: 480px;
  opacity: .66;
  filter: blur(31px);
  transform-origin: 50% 50%;
  animation: vapor-wander 21s cubic-bezier(.42,0,.58,1) infinite alternate;
}
.smoke::before, .smoke::after {
  content: "";
  position: absolute;
  inset: 16% 2%;
  border-radius: 42% 58% 59% 41% / 51% 38% 62% 49%;
  background:
    radial-gradient(ellipse 64% 22% at 50% 52%, rgba(230,173,144,.34), transparent 91%),
    radial-gradient(ellipse 33% 64% at 40% 56%, rgba(157,187,201,.19), transparent 85%);
  opacity: .62;
  transform: rotate(-23deg) scaleX(1.1);
  animation: smoke-fold 13s ease-in-out infinite alternate;
}
.smoke::after {
  inset: 25% 4% 6% 9%;
  transform: rotate(25deg) scaleX(.9);
  opacity: .44;
  animation-delay: -7s;
  animation-duration: 17s;
}
.smoke-amber { left: -19%; top: -35%; background: radial-gradient(ellipse at 52% 56%, rgba(206,112,78,.5) 0%, rgba(125,71,89,.27) 33%, transparent 73%); }
.smoke-cyan { right: -35%; top: 1%; bottom: auto; background: radial-gradient(ellipse at 53% 49%, rgba(56,149,169,.36) 0%, rgba(36,91,126,.23) 38%, transparent 74%); animation-delay: -7s; animation-duration: 27s; }
.smoke-violet { left: 10%; bottom: -46%; background: radial-gradient(ellipse at 47% 38%, rgba(112,91,168,.32) 0%, rgba(57,76,134,.25) 34%, transparent 74%); animation-delay: -13s; animation-duration: 33s; }
@keyframes vapor-wander {
  0% { transform: translate3d(-12%, -5%, 0) rotate(-13deg) scale(.92); opacity: .48; }
  50% { transform: translate3d(3%, 4%, 0) rotate(-1deg) scale(1.07); opacity: .75; }
  100% { transform: translate3d(16%, 10%, 0) rotate(13deg) scale(1.17); opacity: .62; }
}
@keyframes smoke-fold {
  from { transform: translate3d(-6%,3%,0) rotate(-23deg) scaleX(1.09) scaleY(.92); opacity: .45; }
  to { transform: translate3d(8%,-5%,0) rotate(-10deg) scaleX(.89) scaleY(1.11); opacity: .74; }
}
.grid-surface { animation: grid-pulse 22s ease-in-out infinite alternate; }
@keyframes grid-pulse { 0% { opacity: .30; } 100% { opacity: .56; } }
.portrait-scene {
  transform: translate3d(var(--scene-shift-x,0px),var(--scene-shift-y,0px),0);
  transition: transform .85s ease-out, opacity .6s ease, filter .6s ease;
}
.portrait-halo { animation: halo-glow 10s ease-in-out infinite alternate; }
@keyframes halo-glow { 0% { opacity: .46; } 100% { opacity: .98; } }
.portrait-orbit { transform-origin: 50% 50%; animation: orbit-drift 66s linear infinite; }
@keyframes orbit-drift {
  from { transform: translate(-50%,-50%) rotate(-28deg) rotateX(65deg); }
  to { transform: translate(-50%,-50%) rotate(332deg) rotateX(65deg); }
}
.system-dot { animation: live-indicator 4.5s ease-in-out infinite; }
@keyframes live-indicator {
  0%,100% { opacity: .6; box-shadow: 0 0 7px rgba(142,198,173,.29); }
  50% { opacity: 1; box-shadow: 0 0 15px rgba(142,198,173,.7); }
}
.telemetry-ring::before { animation: telemetry-revolve 48s linear infinite; }
@keyframes telemetry-revolve { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.status-trace { transform-origin: left; animation: signal-drift 6s ease-in-out infinite; }
@keyframes signal-drift {
  0%,100% { transform: scaleX(.65); opacity: .46; }
  50% { transform: scaleX(1); opacity: 1; }
}
.panel:not([hidden]) .panel-inner > * { animation: panel-arrive .65s cubic-bezier(.2,.7,.22,1) both; }
.panel:not([hidden]) .panel-inner > :nth-child(2) { animation-delay: .075s; }
.panel:not([hidden]) .panel-inner > :nth-child(3) { animation-delay: .14s; }
.panel:not([hidden]) .panel-inner > :nth-child(4) { animation-delay: .19s; }
.panel:not([hidden]) .panel-inner > :nth-child(n+5) { animation-delay: .22s; }
@keyframes panel-arrive {
  from { opacity: 0; transform: translate3d(0,11px,0); }
  to { opacity: 1; transform: translate3d(0,0,0); }
}
.rail-tab { transition: color .35s ease, transform .35s cubic-bezier(.2,.7,.2,1), background-color .35s ease; }
.rail-tab[aria-selected="true"] { background-color: rgba(229,177,136,.032); }
.rail-tab[aria-selected="true"] .rail-label { text-shadow: 0 0 20px rgba(226,172,133,.3); }
.action { transition: transform .35s cubic-bezier(.22,.76,.3,1), border-color .35s ease, background-color .35s ease, box-shadow .35s ease; }
.action-primary:hover { box-shadow: 0 12px 34px rgba(200,137,107,.15); }
.action:active, .work-card:active { transform: translateY(1px) scale(.99); }
.work-card { transition: transform .42s cubic-bezier(.22,.76,.3,1), border-color .35s ease, background .35s ease, box-shadow .35s ease; }
.work-card:hover { box-shadow: 0 16px 35px rgba(3,6,15,.28), inset 0 0 44px rgba(216,163,125,.025); }
.copy-button, .section-link, .engine-button { transition: color .3s ease, border-color .3s ease, background-color .3s ease, transform .3s ease; }
@media(hover:hover) { .copy-button:hover, .section-link:hover { transform: translateY(-2px); } }
/* The default data-motion="off" prevents animation before JS checks the device
 * preference. Site-level opt-in can enable motion intentionally. */
.interface-shell[data-motion="off"] *,
.interface-shell[data-motion="off"] *::before,
.interface-shell[data-motion="off"] *::after {
  animation: none !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}
.interface-shell[data-motion="off"] .portrait-scene { transform: none; }
@media (max-width: 960px) {
  .smoke { filter: blur(25px); min-width: 410px; min-height: 440px; }
  .smoke-amber { left: -39%; top: -19%; }
  .smoke-cyan { right: -45%; top: 15%; }
  .smoke-violet { left: -12%; bottom: -48%; }
}


/* Featured current work: compact, accessible links within the cinematic home. */
.hero-feature { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: min(100%,520px); gap: 9px; margin-top: clamp(14px,2.5vh,24px); }
.hero-feature-link { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 12px 14px; text-decoration: none; border: 1px solid rgba(204,182,174,.25); background: linear-gradient(135deg,rgba(21,27,40,.84),rgba(17,18,29,.68)); transition: border-color .2s, background .2s; }
.hero-feature-link:hover,.hero-feature-link:focus-visible { border-color: #e0ac88; background: rgba(49,42,53,.9); }
.hero-feature-link > span { font-size: 8px; letter-spacing: .12em; color: #dfb394; line-height: 1.5; }
.hero-feature-link > strong { font-size: 18px; letter-spacing: .015em; color: #fff2e8; }
.hero-feature-link > small { font-size: 10px; line-height: 1.45; color: #bac6d1; }
@media (max-width: 700px) { .hero-feature { width: min(100%,430px); } .hero-feature-link { padding: 9px 10px; } .hero-feature-link > strong { font-size: 15px; } .hero-feature-link > small { font-size: 9px; } }
@media (max-width: 360px) { .hero-feature { grid-template-columns: 1fr; } .hero-feature-link > small { display: none; } }
@media (max-height: 640px) { .hero-feature { margin-top: 10px; } .hero-feature-link { padding-block: 7px; } }
@media (prefers-reduced-motion: reduce) { .hero-feature-link { transition: none; } }
/* A six-item portfolio should remain scannable without compressing card content. */
@media (min-width: 961px) { .work-cards { grid-template-columns: repeat(3,minmax(0,1fr)); } .work-card { min-height: 153px; } .work-card strong { margin-top: 11px; } .card-open { padding-top: 12px; } }
@media (min-width: 961px) and (max-height: 760px) { .section-panel { justify-content: flex-start; } }

/* Combined portfolio and activity: keep key signals readable on short devices. */
@media (max-width: 460px) and (max-height: 700px) {
  .hero-feature { gap: 7px; margin-top: 8px; }
  .hero-feature-link { padding: 8px 10px; }
  .hero-feature-link > small { display: none; }
  .hero-foot { display: none; }
}
@media (max-height: 380px) {
  .hero-feature { margin-top: 7px; }
  .hero-feature-link > small { display: none; }
}

/* Wide-screen first-fold fit: show featured engineering without hiding it below the panel. */
@media (min-width: 961px) and (max-height: 1000px) {
  .hero-panel { justify-content: flex-start; padding-top: clamp(24px, 4vh, 38px); padding-bottom: 18px; }
  .hero-overline { margin-top: clamp(18px, 3vh, 30px); }
  .hero-panel h1 { font-size: clamp(68px, 7vw, 110px); margin-bottom: clamp(16px, 2.5vh, 26px); }
  .hero-description { line-height: 1.6; }
  .hero-actions { margin-top: 12px; }
  .hero-feature { margin-top: 11px; }
  .hero-foot { display: none; }
}

/* One compact GPT signal in the persistent Observatory; no duplicate hero panel. */
.telemetry-profile-link {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 0;
  color: #f0c3a4;
  border-bottom: 1px solid rgba(215, 158, 121, .45);
  text-decoration: none;
  font-size: 10px;
  font-weight: 660;
  letter-spacing: .08em;
  transition: color .2s, border-color .2s;
}
.telemetry-profile-link:hover { color: #fff; border-color: #e8c1a9; }
.telemetry-profile-link:focus-visible { outline: 2px solid #e9bf9d; outline-offset: 4px; }
@media(max-width:960px) {
  .telemetry { flex-basis: 94px; }
  .telemetry-readout { grid-template-rows: 9px 22px 44px; }
  .refresh-button { display: none; }
  .telemetry-profile-link { grid-column: 2; grid-row: 3; display:flex; margin:0; min-height:44px; justify-content:flex-end; font-size:10px; white-space:nowrap; padding:7px 2px; }
}
@media(max-width:460px) {
  .telemetry { flex-basis: 88px; padding:5px 12px; }
  .telemetry-readout { grid-template-rows:9px 19px 40px; }
  .telemetry-profile-link { font-size:9px; min-height:40px; }
  .readout-status { font-size:9px; }
}
@media(max-height:380px) {
  .telemetry-profile-link { font-size:8px; padding:2px; }
}


/* V1.2.2 — accessible, dated GPT activity stream and consistent mobile cards. */
/* The scanning light is decoration, not a synthetic time-series or live feed. */
.telemetry { position: relative; isolation: isolate; }
.telemetry::before {
  content: ""; position: absolute; z-index: 1; top: 0; left: 0; right: 0;
  height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(210,158,123,.56) 36%, rgba(126,191,205,.5) 65%, transparent);
}
.telemetry-readout { position: relative; }
.feed-beam {
  position: absolute; left: 0; right: 0; top: -16px; height: 2px;
  background: rgba(126,151,171,.11); overflow: hidden; pointer-events: none;
}
.feed-beam span {
  display: block; height: 100%; width: 36%; opacity: .85;
  background: linear-gradient(90deg, transparent, #d8a67f, #a5d4d8, transparent);
  transform: translateX(-120%);
}
.telemetry-readout[data-feed-state="ready"] .feed-beam span {
  animation: gpt-feed-sweep 7.5s linear infinite;
}
@keyframes gpt-feed-sweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(380%); }
}
.readout-kicker { display: inline-flex; align-items: center; gap: 7px; color: #d4b6a3; }
.readout-kicker::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  flex: 0 0 5px; background: #7995a5;
}
.telemetry-readout[data-feed-state="ready"] .readout-kicker::before {
  background: #e7b78e; box-shadow: 0 0 10px rgba(225,167,121,.58);
}
.readout-value {
  font-variant-numeric: tabular-nums; color: #ffe9d9;
  text-shadow: 0 0 30px rgba(222,163,127,.2);
}
.readout-status { color: #bad2d7; }
.readout-date { text-transform: uppercase; letter-spacing: .055em; }
.telemetry-profile-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: max-content; max-width: 100%; min-height: 40px;
  margin-top: 13px; padding: 10px 13px; border: 1px solid rgba(218,170,132,.4);
  border-radius: 9px; background: linear-gradient(120deg,rgba(78,54,55,.42),rgba(37,52,66,.3));
  color: #ffe0c9; font-size: 10px; font-weight: 700; letter-spacing: .09em;
  text-decoration: none; white-space: nowrap; line-height: 1.2;
}
.telemetry-profile-link span { color: #eeb88f; }
.telemetry-profile-link:hover, .telemetry-profile-link:focus-visible {
  color: #fff; border-color: #efd4bb; background: rgba(132,100,93,.3);
}
.telemetry-note { max-width: 23rem; font-size: 9px; line-height: 1.6; }

@media (max-width: 960px) {
  .panel-home .hero-panel { justify-content: flex-start; padding-bottom: 40px; }
  .hero-feature { width: 100%; max-width: 480px; margin-top: 18px; }
  .hero-feature-link {
    position: relative; overflow: hidden; min-height: 94px; border-radius: 12px;
    border-color: rgba(218,179,148,.38); backdrop-filter: blur(10px);
  }
  .hero-feature-link::after {
    content: "↗"; position: absolute; top: 10px; right: 11px;
    color: #e5be9f; font-size: 13px; opacity: .8;
  }
  .hero-feature-link:first-child {
    background: linear-gradient(143deg,rgba(59,38,44,.86),rgba(23,34,46,.82));
  }
  .hero-feature-link:last-child {
    background: linear-gradient(143deg,rgba(25,52,61,.82),rgba(25,27,43,.85));
  }
  .telemetry {
    flex: 0 0 100px; padding: 10px 16px;
    background: linear-gradient(110deg,rgba(12,15,25,.96),rgba(29,30,45,.94));
    box-shadow: 0 -10px 22px rgba(4,7,13,.28);
  }
  .telemetry-readout {
    display: grid; width: 100%; min-width: 0; align-content: center;
    grid-template-columns: minmax(0,1fr) max-content;
    grid-template-rows: 12px 37px 16px; gap: 2px 12px;
    border: 0; padding: 0;
  }
  .feed-beam { top: -10px; }
  .readout-kicker { grid-column: 1; grid-row: 1; font-size: 8px; white-space: nowrap; }
  .telemetry-readout h2 { display: none; }
  .readout-value {
    grid-column: 1; grid-row: 2; align-self: center; justify-self: start;
    font-size: 35px; line-height: 1; margin: 0; white-space: nowrap; text-align: left;
  }
  .readout-status {
    grid-column: 1; grid-row: 3; min-width: 0; align-self: center;
    margin: 0; font-size: 9px; line-height: 1.25; letter-spacing: .015em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .readout-date {
    display: block; grid-column: 2; grid-row: 1; align-self: center;
    margin: 0; text-align: right; font-size: 8px; white-space: nowrap;
  }
  .refresh-button { display: none; }
  .telemetry-profile-link {
    grid-column: 2; grid-row: 2 / span 2;
    margin: 0; align-self: center; justify-self: end;
    padding: 10px 12px; min-height: 42px; font-size: 9px;
  }
}
@media (max-width: 460px) {
  .hero-feature { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 17px; }
  .hero-feature-link { min-height: 107px; padding: 12px 11px; gap: 5px; }
  .hero-feature-link > span {
    display: block; padding-right: 14px; font-size: 7px;
    letter-spacing: .07em; line-height: 1.35; overflow-wrap: normal;
  }
  .hero-feature-link > strong { font-size: 20px; line-height: 1.08; }
  .hero-feature-link > small { display: block; font-size: 9px; line-height: 1.42; color: #d0d9de; }
  .hero-foot { display: none; }
  .telemetry { flex-basis: 96px; padding: 8px 13px; }
  .telemetry-readout { grid-template-rows: 11px 34px 14px; gap: 2px 9px; }
  .readout-kicker { font-size: 7.5px; }
  .readout-value { font-size: 32px; }
  .readout-status { font-size: 8px; }
  .readout-date { font-size: 7px; }
  .telemetry-profile-link { min-height: 38px; padding: 9px 10px; font-size: 8.5px; }
}
@media (max-width: 360px) {
  .hero-feature { grid-template-columns: 1fr; }
  .hero-feature-link { min-height: 80px; }
  .readout-value { font-size: 29px; }
  .telemetry-profile-link { padding-inline: 8px; }
}
@media (max-width: 460px) and (max-height: 640px) {
  .telemetry { flex-basis: 69px; padding: 5px 12px; }
  .telemetry-readout { grid-template-rows: 9px 28px 10px; gap: 1px 8px; }
  .feed-beam { display: none; }
  .readout-value { font-size: 27px; }
  .readout-kicker, .readout-date, .readout-status { font-size: 7px; }
  .telemetry-profile-link { min-height: 32px; padding: 6px 8px; font-size: 8px; }
}
@media (max-height: 380px) {
  .telemetry { flex-basis: 48px; padding-block: 3px; }
  .telemetry-readout { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .readout-kicker, .readout-date, .readout-status, .feed-beam { display: none; }
  .readout-value { font-size: 24px; }
  .telemetry-profile-link { min-height: 30px; padding: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .telemetry-readout .feed-beam span { animation: none; transform: translateX(95%); }
}


/* Short portrait iPhones: keep both project cards fully above the fixed nav. */
@media (max-width: 460px) and (min-height: 641px) and (max-height: 760px) {
  .panel-home .hero-panel { padding-top: 14px; padding-bottom: 18px; }
  .hero-overline { margin-top: 13px; }
  .hero-panel h1 { margin-bottom: 12px; font-size: clamp(62px, 15vw, 82px); }
  .hero-description { line-height: 1.55; }
  .hero-actions { margin-top: 8px; }
  .hero-feature { margin-top: 9px; }
  .hero-feature-link { min-height: 93px; padding-block: 9px; }
}


/* V1.2.3 — selected work: editorial hierarchy, readable at phone width.
   Overrides only the legacy two-card presentation. All labels stay real text. */
.hero-feature {
  display: block;
  width: min(100%, 520px);
  max-width: 520px;
  margin-top: clamp(12px, 2vh, 19px);
}
.focus-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 0 2px 9px;
  margin-bottom: 9px;
  border-bottom: 1px solid rgba(190, 201, 217, .21);
}
.focus-heading h2 {
  margin: 0;
  color: #f1eae5;
  font-size: 12px;
  line-height: 1.25;
  letter-spacing: .02em;
  font-weight: 620;
}
.focus-heading > span {
  flex: 0 0 auto;
  color: #a6b2c2;
  font-size: 8px;
  line-height: 1.35;
  letter-spacing: .14em;
  font-weight: 600;
}
.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  width: 100%;
  min-width: 0;
}
.hero-feature .hero-feature-link {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 9px 7px;
  min-height: 103px;
  padding: 13px 14px 12px;
  border: 1px solid rgba(207, 180, 168, .36);
  border-radius: 11px;
  color: #f4f2ef;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(35, 32, 44, .91), rgba(16, 24, 36, .83));
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: border-color .22s ease, transform .22s ease, background .22s ease;
}
.hero-feature .hero-feature-link:nth-child(2) {
  border-color: rgba(141, 191, 205, .3);
  background: linear-gradient(135deg, rgba(20, 44, 55, .83), rgba(17, 22, 37, .88));
}
.hero-feature .hero-feature-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 92% 92%, rgba(218, 155, 120, .09), transparent 52%);
}
.hero-feature .hero-feature-link:nth-child(2)::before {
  background: radial-gradient(circle at 92% 92%, rgba(127, 194, 210, .1), transparent 52%);
}
.hero-feature .hero-feature-link::after { content: none; }
.hero-feature .hero-feature-link:is(:hover, :focus-visible) {
  transform: translateY(-2px);
  border-color: rgba(241, 204, 174, .83);
}
.hero-feature .hero-feature-link:focus-visible { outline: 2px solid #edc2a3; outline-offset: 3px; }
.hero-feature .hero-feature-link > span { min-width: 0; padding: 0; }
.focus-project-index {
  grid-column: 1;
  grid-row: 1;
  color: #b3a3a0;
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .09em;
  line-height: 1.4;
}
.hero-feature .focus-project-state {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d7c8ba;
  font-size: 9px;
  letter-spacing: .025em;
  white-space: nowrap;
  line-height: 1.4;
}
.focus-project-state::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex: 0 0 5px;
  background: #d8aa85;
  box-shadow: 0 0 10px rgba(231, 170, 119, .35);
}
.focus-project-research::before { background: #91c2cc; box-shadow: 0 0 10px rgba(121, 193, 213, .3); }
.hero-feature .focus-project-copy {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.hero-feature .focus-project-copy strong {
  color: #f9f0e9;
  font-weight: 570;
  font-size: 22px;
  line-height: 1.03;
  letter-spacing: -.045em;
}
.hero-feature .focus-project-copy small {
  color: #bbcad4;
  font-weight: 420;
  font-size: 10px;
  line-height: 1.32;
  letter-spacing: .006em;
  overflow-wrap: normal;
  text-wrap: pretty;
}
.hero-feature .focus-project-arrow {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: #dfb9a1;
  font-size: 12px;
  line-height: 1;
}
.hero-feature .focus-project-isl .focus-project-arrow { color: #a4ced2; }

/* A clear action in the dated GPT stream, rather than an all-caps metadata label. */
.telemetry-profile-link { text-transform: none; letter-spacing: .01em; }
.telemetry-profile-link .telemetry-profile-label {
  color: #fae7d8;
  font-size: 11px;
  font-weight: 620;
  letter-spacing: .005em;
  white-space: nowrap;
}
.telemetry-profile-link .telemetry-profile-arrow { color: #dfab88; font-size: 13px; line-height: 1; }

@media (max-width: 960px) {
  .hero-feature { width: min(100%, 480px); max-width: 480px; margin-top: 12px; }
  .focus-grid { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .hero-feature .hero-feature-link {
    grid-template-columns: 18px minmax(0, 1fr) auto 12px;
    grid-template-rows: 1fr;
    align-items: center;
    min-height: 63px;
    gap: 9px;
    padding: 10px 13px;
  }
  .hero-feature .focus-project-index { grid-column: 1; grid-row: 1; align-self: center; font-size: 9px; }
  .hero-feature .focus-project-copy { grid-column: 2; grid-row: 1; align-self: center; gap: 4px; }
  .hero-feature .focus-project-copy strong { font-size: 20px; line-height: 1; }
  .hero-feature .focus-project-copy small { font-size: 10px; line-height: 1.2; }
  .hero-feature .focus-project-state { grid-column: 3; grid-row: 1; align-self: center; font-size: 9px; }
  .hero-feature .focus-project-arrow {
    position: static;
    grid-column: 4;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    font-size: 12px;
  }
}
@media (max-width: 460px) {
  .hero-feature { margin-top: 10px; }
  .focus-heading { padding-bottom: 6px; margin-bottom: 6px; }
  .focus-heading h2 { font-size: 12px; }
  .focus-heading > span { font-size: 7px; letter-spacing: .1em; }
  .focus-grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .hero-feature .hero-feature-link {
    grid-template-columns: 14px minmax(0, 1fr) auto 10px;
    gap: 7px;
    min-height: 58px;
    padding: 9px 11px;
  }
  .hero-feature .focus-project-copy strong { font-size: 18px; }
  .hero-feature .focus-project-copy small { font-size: 9px; line-height: 1.16; }
  .hero-feature .focus-project-state { font-size: 8px; gap: 4px; }
  .hero-feature .focus-project-state::before { width: 4px; height: 4px; flex-basis: 4px; }
  .telemetry-profile-link .telemetry-profile-label { font-size: 10px; }
}
@media (max-width: 360px) {
  .hero-feature .hero-feature-link { min-height: 56px; padding: 8px 10px; gap: 6px; }
  .hero-feature .focus-project-copy small { font-size: 8.5px; }
  .hero-feature .focus-project-state { font-size: 8px; }
  .telemetry-profile-link .telemetry-profile-label { font-size: 9px; }
}
@media (max-width: 460px) and (min-height: 641px) and (max-height: 760px) {
  .hero-feature { margin-top: 3px; }
  .hero-feature .hero-feature-link { min-height: 46px; padding-block: 4px; }
  .focus-grid { gap: 5px; }
  .focus-heading { padding-bottom: 4px; margin-bottom: 4px; }
  .panel-home .hero-panel h1 { margin-bottom: 8px; }
  .panel-home .hero-overline { margin-top: 10px; }
}
@media (max-width: 460px) and (max-height: 640px) {
  .hero-feature .hero-feature-link { min-height: 52px; padding-block: 6px; }
}
@media (hover: none) {
  .hero-feature .hero-feature-link:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-feature .hero-feature-link { transition: none; }
}
.interface-shell[data-motion="off"] .hero-feature .hero-feature-link { transition: none; }

