/* Contemporary research studio, with the precision and warmth of a phosphor terminal. */
@font-face { font-family: 'Narmox Mono'; src: url('assets/fonts/narmox-mono.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
:root { --mono: 'Narmox Mono', Consolas, monospace; --retro-type: var(--mono); }
.hero::after { animation: none; opacity: .55; }
.hero { padding-top: clamp(42px, 5vw, 78px); }
.hero-description { max-width: 46ch; }
.hero-lab .lab-window { transform: none; border-radius: 18px; border: 1px solid #d6dfd8; overflow: hidden; background: #f9fbf9; box-shadow: 0 24px 65px -30px #283e3c38, 0 2px 4px #19342705; }
.research-console { position: relative; }
.research-console::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(450px circle at var(--light-x,80%) var(--light-y,10%),#cadfd00e,transparent 65%); }
.research-console .window-chrome { display: flex; gap: 12px; padding: 12px 18px; min-height: 52px; height: auto; background: #f8faf8; color: #667c70; font: .64rem/1.3 var(--mono); border-bottom: 1px solid #dbe4db; }
.console-mark { font: 1.15rem/1 var(--mono); color: #244b37; }
.retro-toggle { margin-left: auto; min-height: 32px; padding: 6px 8px; border-color: #d9e2d9; font: .6rem/1 var(--mono); }
.retro-toggle b { font-weight: 400; }
.retro-toggle:disabled { opacity: .6; cursor: default; }
.console-screen { position: relative; isolation: isolate; margin: 10px; border-radius: 9px; overflow: hidden; padding: 19px 22px 13px; background: radial-gradient(ellipse at 65% 28%,#2b4237 0%,#14261e 65%,#13231c); color: #dce7d7; box-shadow: inset 0 0 0 1px #c4ddbf14; }
.console-screen::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: .26; background: repeating-linear-gradient(0deg,#00000018 0 1px,transparent 1px 4px); }
.console-screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 45%,#b5d5b505 50%,transparent 55%); background-size: 100% 240%; opacity: .6; }
html[data-retro-motion='on'] .research-console:not(.retro-offscreen) .console-screen::after { animation: console-sweep 12s linear infinite; }
@keyframes console-sweep { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
.console-caption { display: flex; justify-content: space-between; font: .55rem/1.5 var(--mono); color: #8ea78f; letter-spacing: .12em; }
.console-signal { color: #a7c98f; text-shadow: 0 0 9px #b9e99c60; }
.console-command { white-space: nowrap; margin-top: 15px; font: .75rem/1.6 var(--mono); color: #d1e5bf; }
.console-command > span:first-child { color: #8aa791; margin-right: 6px; }
.console-command .cursor { width: .58em; height: 1em; vertical-align: -.1em; background: #c9e2b2; box-shadow: 0 0 8px #b4d49930; }
.console-visual { position: relative; margin: 0 -10px 7px; }
.console-visual #lab-canvas { height: clamp(205px,18vw,275px); width: 100%; display: block; }
.console-visual-note { position: absolute; bottom: 4px; left: 10px; color: #92a995; font: .48rem/1.3 var(--mono); letter-spacing: .08em; }
.console-log { margin: 0; padding: 10px 0 3px; list-style: none; border-top: 1px solid #bad7b324; font: .75rem/1.5 var(--mono); }
.console-log li { display: grid; grid-template-columns: 22px 1fr 1.55fr; align-items: baseline; gap: 9px; padding: 5px 0; color: #8ea391; transition: color .3s; }
.console-log li > span:first-child { color: #66816c; font-size: .55rem; }
.console-log b { font-weight: 400; }
.console-log .log-result { color: #91a890; }
.console-log .is-complete { color: #adbea4; }
.console-log .is-active { color: #e0d3a4; }
.console-log .is-active > span:first-child { color: #d9bc84; }
.console-log .is-active .log-result { color: #d4e4c3; }
html[data-retro-motion='on'] .console-log .is-active .log-result { animation: log-print .45s steps(22,end) both; }
@keyframes log-print { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
.console-footer { display: flex; justify-content: space-between; gap: 6px; padding-top: 11px; margin-top: 9px; border-top: 1px solid #bad7b31c; font: .47rem/1.4 var(--mono); color: #90a18f; letter-spacing: .04em; }
.research-console .lab-modes { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 4px; padding: 0 11px 11px; margin-top: 0; }
.research-console .lab-modes button { font: .6rem/1.5 var(--mono); padding: 9px 3px; min-height: 40px; white-space: nowrap; }
.research-console .lab-modes button > span { font-size: .5rem; display: block; opacity: .65; }
.research-console .lab-modes button[aria-pressed='true'] { background: #eaf0e8; border-color: #cbdacb; }
.hero-lab-caption { font-size: .53rem; margin-top: 15px; }
.hero-facts { margin-top: 52px; }

/* Four stages, connected by a quiet trace. */
.steps { position: relative; }
.steps li { position: relative; padding-left: 8px; transition: background .5s; }
.steps li::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: #c6d4c8; }
.steps li::after { content: ''; position: absolute; left: -2px; top: 29px; width: 5px; height: 5px; border-radius: 50%; background: #c6d4c8; transition: background .5s,box-shadow .5s; }
.steps li > span { padding-left: 13px; }
.step-trace { display: block; width: fit-content; margin-top: 11px; color: #53735a; font: .6rem/1.6 var(--mono); }
html[data-retro-motion="on"] .step-active .step-trace { animation: log-print .65s steps(24,end) both; }
.steps .step-active { background: linear-gradient(90deg,#e4ede340,transparent); }
.steps .step-active::after { background: #547a59; box-shadow: 0 0 0 4px #83a07c18; }
.research-principle { font-size: .8rem; }

/* The layered asset stays still so the surrounding copy remains the focus. */
.behavior-case > .behavior-practice { grid-template-columns: 1fr 1.4fr .6fr; gap: clamp(28px,4vw,68px); padding-top: 38px; padding-bottom: 38px; }
.practice-device.analysis-layers { background: none; width: 100%; max-width: 430px; justify-self: center; }
.analysis-layers img { filter: none; }
.analysis-layers.motion-ready { transition: opacity .9s ease,transform 1.1s ease; }
.analysis-layers.motion-ready:not(.in-view) { transform: translateY(14px); filter: none; }
.measurement-key { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding: 17px 0; border-top: 1px solid #bacaba80; border-bottom: 1px solid #bacaba80; margin: 26px 0 9px; max-width: 510px; }
.measurement-key > span { font-size: .72rem; color: #67796b; }
.measurement-key b { display: block; font: .55rem/1.5 var(--mono); color: #3c6349; margin-bottom: 7px; }

/* Spear is evidence of technical reach; publications carry this section. */
.spear-introduction { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,5vw,70px); padding: clamp(28px,3.5vw,52px); }
.spear-introduction .eyebrow { font-size: .6rem; line-height: 1.8; }
.spear-introduction h3 { font-size: clamp(2rem,3vw,3.2rem); font-weight: 500; line-height: 1.12; letter-spacing: -.045em; margin: 22px 0 0; }
.spear-origin { display: flex; align-items: center; gap: 20px; margin-top: 32px; padding-top: 22px; border-top: 1px solid #dce5dd; max-width: 340px; }
.spear-origin strong { font: 400 clamp(2.3rem,3.5vw,3.5rem)/1 var(--mono); color: #385f45; letter-spacing: -.06em; }
.spear-origin span { color: #657869; font-size: .8rem; line-height: 1.65; }
.spear-overview p { color: #5e6c62; font-size: .95rem; line-height: 1.85; margin: 0 0 19px; }
.spear-overview strong { font-weight: 500; color: #293d30; }
.spear-overview .inline-link { display: inline-flex; gap: 18px; font-size: .8rem; margin-top: 3px; }
@media (max-width: 900px) { .spear-introduction { grid-template-columns: 1fr; } }
.research-domain.motion-ready { transition: opacity .65s ease,transform .65s ease; }
.archive-boot { font-size: .7rem; }

html[data-retro-motion='off'] *, html[data-retro-motion='off'] *::before, html[data-retro-motion='off'] *::after { animation: none !important; transition: none !important; }
html[data-retro-motion='off'] .motion-ready { opacity: 1; transform: none; filter: none; }
@media (max-width: 1100px) {
  .behavior-case > .behavior-practice { grid-template-columns: 1fr 1.4fr; }
  .console-screen { padding-inline: 16px; }
  .console-log { font-size: .7rem; }
  .console-log li { gap: 6px; grid-template-columns: 18px 1fr 1.55fr; }
  .console-command { font-size: .68rem; }
}
@media (max-width: 900px) and (min-width: 601px) {
  .hero-layout { gap: 30px; }
  .hero-lab { max-width: 600px; }
  .hero-copy { max-width: 680px; }
}
@media (max-width: 600px) {
  .hero { padding-top: 29px; }
  .hero-layout { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .hero-copy { display: contents; }
  .hero-eyebrow { order: 0; font-size: .6rem; letter-spacing: .025em; }
  .hero h1 { order: 1; font-size: clamp(2rem,10.15vw,3.6rem); margin: 20px 0; }
  .hero-description { order: 2; font-size: 1rem; line-height: 1.7; max-width: none; }
  .hero-lab { order: 3; margin-top: 24px; max-width: none; }
  .hero-actions { order: 4; margin-top: 20px; }
  .hero-actions .button { font-size: .85rem; }
  .hero-lab .lab-window { border-radius: 13px; }
  .research-console .window-chrome { min-height: 44px; padding: 8px 11px; gap: 7px; flex-wrap: nowrap; font-size: .6rem; }
  .research-console .window-chrome > span:nth-child(2) { font-size: .6rem; }
  .console-mark { font-size: .95rem; }
  .retro-toggle { padding: 6px; font-size: .55rem; }
  .console-screen { margin: 7px; padding: 13px 14px 11px; }
  .console-caption { font-size: .52rem; }
  .console-command { margin-top: 10px; font-size: .67rem; }
  .console-visual #lab-canvas { height: 176px; }
  .console-visual-note { font-size: .46rem; }
  .console-log { font-size: .72rem; padding-top: 8px; }
  .console-log li { padding: 4px 0; grid-template-columns: 17px 1fr 1.6fr; gap: 5px; }
  .console-footer { font-size: .43rem; padding-top: 8px; margin-top: 7px; }
  .research-console .lab-modes { padding: 0 7px 7px; gap: 3px; }
  .research-console .lab-modes button { min-height: 38px; font-size: .6rem; padding: 5px 2px; }
  .research-console .lab-modes button > span { display: none; }
  .hero-lab-caption { font-size: .48rem; gap: 4px; margin: 10px 2px 0; }
  .hero-facts { margin-top: 32px; }
  .behavior-case > .behavior-practice { grid-template-columns: 1fr; gap: 4px; padding: 20px 0 35px; }
  .practice-device.analysis-layers { width: min(280px,85%); }
  .measurement-key { gap: 8px; }
  .measurement-key > span { font-size: .72rem; }
  .measurement-key b { font-size: .54rem; }
}
@media (max-width: 360px) {
  .console-log { font-size: .65rem; }
  .console-command { font-size: .58rem; }
  .console-log li { grid-template-columns: 14px .95fr 1.55fr; }
  .research-console .window-chrome > span:nth-child(2) { font-size: .53rem; }
  .console-footer span:last-child { display: none; }
  .hero-lab-caption span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .console-screen::after { display: none; }
  .motion-ready { opacity: 1 !important; transform: none !important; filter: none !important; }
}
@media print { .research-console { display: none; } }

html:not(.js) .console-visual { display: none; }

/* Company identifiers belong next to the legal name, within the existing footer. */
.company-registers { display: flex; flex-wrap: wrap; gap: 0 16px; }
.company-registers > span { white-space: nowrap; }
@media (max-width: 600px) {
  .footer-row .company-details { width: 100%; text-align: left; }
  .footer-row .footer-code { text-align: left; }
}

/* Research archive: discrete instrument panels with the contribution in focus. */
.archive[open] { overflow: visible; border-color: transparent; box-shadow: none; }
.archive > summary { border-radius: 14px; }
.archive[open] > summary { border: 1px solid #dce4dd; }
.archive-content { background: #f1f3ef; color: var(--ink); color-scheme: light; border-top: 0; border-radius: 0 0 18px 18px; padding-top: 20px; }
.archive-command { margin: 0 20px; padding: 22px 26px; border: 1px solid #354a3c; border-radius: 11px; background: #18271e; color-scheme: dark; box-shadow: inset 0 1px 0 #d7e8cf0a; }
.archive-intro { padding: 29px 28px 26px; }
.archive-intro h3 { font-size: 1.55rem; color: #25372b; }
.archive-intro p { color: #637168; font-size: .9rem; max-width: 78ch; }
.publication-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 25px; padding: 0 20px 25px; }
.publication {
  position: relative; isolation: isolate; display: block; padding: 0; min-width: 0;
  background: linear-gradient(120deg,#1d2b24,#16231c 72%); color: #dfe6dc; color-scheme: dark;
  border: 1px solid #3d4c40; border-radius: 13px;
  box-shadow: 0 7px 15px -11px #192b2280, inset 0 1px 0 #e3efdc0c;
}
.publication:target { background: linear-gradient(120deg,#1d2b24,#16231c 72%); border-color: #829b69; }
.publication::before, .publication::after { content: ''; position: absolute; width: 5px; height: 5px; border-radius: 50%; border: 1px solid #536051; background: #101c15; box-shadow: inset 0 1px 1px #becab522; pointer-events: none; }
.publication::before { top: 20px; left: 12px; }
.publication::after { bottom: 15px; right: 13px; }
.archive[open] .publication { animation: none; }
.publication .publication-aside { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 15px; padding: 14px 30px; border-bottom: 1px solid #66775e30; border-radius: 12px 12px 0 0; background: #0d171120; }
.publication .index { margin: 0; color: #94a18f; font: .59rem/1.6 var(--mono); }
.publication .product-label { margin: 0 auto 0 0; color: #c0cdb5; font: .72rem/1.5 var(--mono); letter-spacing: .015em; }
.publication .product-label::before { color: #b5d98e; }
.publication .kind { border: 0; border-radius: 0; background: none; padding: 0; color: #96a196; font-size: .66rem; line-height: 1.5; }
.publication .publication-year { margin: 0; color: #96a196; font: .65rem/1.5 var(--mono); letter-spacing: 0; }
.publication .place { max-width: none; color: #96a196; font-size: .66rem; line-height: 1.5; }
.publication .publication-content { max-width: none; padding: clamp(23px,3vw,39px); }
.publication h3 { color: #dfe5da; font-size: clamp(1.12rem,1.65vw,1.5rem); font-weight: 500; line-height: 1.4; letter-spacing: -.025em; max-width: 70ch; margin: 0 0 24px; }
.publication .publication-role { position: relative; margin: 0 0 23px; padding: 23px 27px; border: 1px solid #accd7930; border-left: 2px solid #a2c471; border-radius: 6px; background: radial-gradient(ellipse at 0 0,#38502718,transparent 70%),#101c14; box-shadow: inset 0 2px 12px #0000001c; }
.publication .role-heading { margin-bottom: 12px; }
.publication .role-heading > span, .publication .publication-role > span { font: .65rem/1.5 var(--mono); color: #9cae8d; letter-spacing: .025em; }
.publication .publication-role p { max-width: 80ch; font-size: 1.05rem; line-height: 1.85; color: var(--terminal-lime); }
.publication .role-skip { color: #a1b397; font-size: .62rem; }
.publication .publication-context { color: #b1bdb1; font-size: .9rem; line-height: 1.8; max-width: 88ch; margin: 0 0 23px; }
.publication-source { border-top: 1px solid #77846c30; }
.publication-source > summary { display: flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; padding: 8px 3px; color: #a3af9f; font: .72rem/1.6 var(--mono); cursor: pointer; list-style: none; }
.publication-source > summary::-webkit-details-marker { display: none; }
.publication-source > summary::before { content: '+'; color: #b0c29e; font-size: 1rem; }
.publication-source[open] > summary::before { content: '−'; }
.publication-source > summary:hover { color: var(--terminal-lime); }
.publication-source-body { padding: 9px 0 3px; overflow-wrap: anywhere; }
.publication-provenance { padding-top: 0; border-top: 0; }
.publication .authors, .publication .publisher { color: #96a196; font-size: .72rem; line-height: 1.7; margin: 0 0 3px; }
.publication .evidence-tag { margin: 8px 0 0; padding: 0; background: none; border: 0; color: #96a196; font: .62rem/1.6 var(--mono); }
.publication .publication-bottom { margin-top: 13px; gap: 6px 20px; }
.publication .relation, .publication .citation-code { color: #96a196; font-size: .65rem; line-height: 1.7; }
.publication .relation i { background: #7c8e70; }
.publication .source-locator { color: #96a196; font-size: .65rem; line-height: 1.8; padding-top: 11px; }
.publication .source-locator > span { color: #96a196; }
.publication .originals { color: #96a196; font-size: .68rem; margin-top: 12px; gap: 5px 20px; }
.publication .originals a { text-decoration-color: #71826670; text-underline-offset: 4px; }
.publication .originals a:hover { color: #d3e6bc; }
.archive-end { background: transparent; border-top: 1px solid #d9e0d6; color: #647466; padding: 22px 28px; }
.archive-end .close-archive { color: #315d40; }
.archive-content :focus-visible { outline-color: #4c7757; }
.publication :focus-visible, .publication:focus-visible { outline-color: #c3f579; }
@media (max-width: 720px) {
  .publication .publication-aside { gap: 6px 12px; }
  .publication .product-label { flex: 1; }
  .publication .place { flex-basis: 100%; margin-left: 27px; }
}
@media (max-width: 540px) {
  .archive-content { padding-top: 12px; }
  .archive-command { margin: 0 9px; padding: 17px; }
  .archive-intro { padding: 25px 16px 22px; }
  .archive-intro h3 { font-size: 1.4rem; }
  .archive-intro p { font-size: .9rem; }
  .publication-list { gap: 19px; padding: 0 8px 20px; }
  .publication { border-radius: 10px; }
  .publication .publication-aside { padding: 13px 18px; gap: 7px 10px; }
  .publication::before { top: 18px; left: 7px; width: 3px; height: 3px; }
  .publication::after { right: 9px; bottom: 11px; width: 3px; height: 3px; }
  .publication .index { font-size: .57rem; }
  .publication .product-label { font-size: .68rem; }
  .publication .kind { font-size: .65rem; }
  .publication .place { margin-left: 23px; }
  .publication .publication-content { padding: 22px 16px; }
  .publication h3 { font-size: 1.14rem; margin-bottom: 19px; }
  .publication .publication-role { padding: 18px 14px; margin-inline: -3px; margin-bottom: 20px; }
  .publication .publication-role p { font-size: 1rem; line-height: 1.8; }
  .publication .role-heading { gap: 5px 12px; }
  .publication .role-heading > span { font-size: .64rem; }
  .publication .publication-context { font-size: .9rem; }
  .publication .authors, .publication .publisher { font-size: .72rem; }
  .publication .originals { font-size: .7rem; }
  .archive-end { padding: 19px 16px; }
}
@media print {
  .archive-content { background: #fff; }
  .publication { background: #fff; color: #202421; box-shadow: none; border: 1px solid #ccc; }
  .publication::before, .publication::after { display: none; }
  .publication .publication-aside, .publication .publication-role { background: none; box-shadow: none; }
  .publication h3, .publication .publication-role p { color: #202421; text-shadow: none; }
}

/* A visible invitation to the archive, even before its records are expanded. */
.archive > #archive-summary {
  display: block; padding: 0; overflow: hidden; color: #e3eadc;
  background: radial-gradient(ellipse at 5% 0,#39533740,transparent 65%),#16231c;
  border: 1px solid #40513d; border-radius: 14px; color-scheme: dark;
  box-shadow: inset 0 1px 0 #efffe112,0 15px 40px -25px #15271b70;
}
.archive > #archive-summary:hover { background-color: #1a2a20; border-color: #71875b; }
.archive > #archive-summary:focus-visible { outline: 3px solid #54803a; outline-offset: 5px; }
.archive-teaser-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 30px; border-bottom: 1px solid #a0bb8530; color: #a9b6a1; font: .66rem/1.6 var(--mono); letter-spacing: .025em; }
.archive-teaser-bar > span:first-child { display: flex; align-items: center; gap: 10px; }
.archive-teaser-bar i { width: 6px; height: 6px; background: #c3f579; border-radius: 50%; box-shadow: 0 0 10px #c3f54545; }
.archive-teaser-main { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: clamp(26px,4vw,64px); padding: clamp(26px,3.4vw,48px); }
.archive-teaser-copy { display: block; min-width: 0; }
.archive-teaser-command { display: flex; flex-wrap: wrap; gap: 4px 12px; color: #a9bd9b; font: .83rem/1.8 var(--mono); }
.archive-teaser-text { --terminal-lime: #c3f579; position: relative; display: block; max-width: 66ch; margin-top: 23px; padding-left: 20px; border-left: 2px solid #7d9a55; color: var(--terminal-lime); font: .94rem/1.85 var(--mono); text-shadow: 0 0 9px #b8ed6426; }
.archive-teaser-text .role-original { display: block; }
.archive-teaser-text .role-typewriter { display: none; position: absolute; inset: 0 0 0 20px; pointer-events: none; }
.archive-teaser-text.is-printing .role-original { opacity: 0; }
.archive-teaser-text.is-printing .role-typewriter { display: block; }
.archive-teaser-action { display: flex; flex-direction: column; gap: 14px; max-width: 330px; }
.archive-teaser-button { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 25px; border: 1px solid #dafab1; border-radius: 8px; background: #c3f579; color: #172411; box-shadow: 0 5px 0 #0e190e50,0 0 30px #b6e8740b; font-size: 1.13rem; font-weight: 600; line-height: 1.35; }
.archive-teaser-button i { font: normal 1.5rem/1 var(--mono); }
.archive-cta-subtitle { display: block; margin-top: 5px; font-size: .79rem; font-weight: 500; }
.archive-teaser-hint { text-align: center; color: #a1b098; font: .62rem/1.6 var(--mono); }
#archive-summary:hover .archive-teaser-button { background: #d1ff92; box-shadow: 0 5px 0 #0e190e50,0 0 28px #b6e87418; }
.archive[open] .archive-teaser-text, .archive[open] .archive-teaser-hint { display: none; }
.archive[open] .archive-teaser-button i { transform: rotate(180deg); }
@media (max-width: 900px) {
  .archive-teaser-main { grid-template-columns: minmax(0,1fr); gap: 27px; }
  .archive-teaser-action { max-width: 100%; align-items: start; }
  .archive-teaser-button { width: 100%; max-width: 420px; }
  .archive-teaser-hint { text-align: left; }
}
@media (max-width: 540px) {
  .archive-teaser-bar { padding: 15px 20px; font-size: .62rem; }
  .archive-teaser-bar > span:last-child { display: none; }
  .archive-teaser-main { padding: 27px 21px; }
  .archive-teaser-text { font-size: .9rem; padding-left: 14px; }
  .archive-teaser-text .role-typewriter { left: 14px; }
  .archive-teaser-button { padding: 19px; gap: 16px; }
}
@media print {
  .archive > #archive-summary { background: #fff; color: #202421; box-shadow: none; }
  .archive-teaser-text { color: #202421; text-shadow: none; }
  .archive-teaser-text .role-original { opacity: 1 !important; }
  .archive-teaser-text .role-typewriter, .archive-teaser-action { display: none !important; }
}

/* Contact stays within reach while browsing the long research archive. */
html { scroll-padding-bottom: 96px; }
.floating-contact {
  position: fixed; z-index: 15;
  right: max(24px,env(safe-area-inset-right)); bottom: calc(22px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 13px 21px; border-radius: 12px;
  border: 1px solid #273d1e; background: #c3f579; color: #172411;
  font-size: .9rem; font-weight: 600; line-height: 1.4;
  box-shadow: 0 6px 24px #0d211c2e, inset 0 1px 0 #ffffff70;
}
.floating-contact > span { font: 1rem/1 var(--mono); }
.floating-contact:hover { background: #d1ff92; }
.floating-contact:focus-visible { outline: 3px solid #246e4f; outline-offset: 4px; }
html:not(.js) footer { padding-bottom: 110px; }
@media (max-width: 540px) {
  .floating-contact { right: max(16px,env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); min-height: 52px; padding: 12px 17px; gap: 11px; font-size: .875rem; }
}
@media print { .floating-contact { display: none; } }

/* Small instrument details: a single startup, reading pointer and signal trace. */
.monitor-start { position: absolute; inset: 0; z-index: 2; border-radius: inherit; background: #c3f57930; border: 1px solid #c3f57980; box-shadow: inset 0 0 22px #c3f57918; pointer-events: none; }
.reading-marker { position: absolute; left: 7px; top: 76px; color: #c3f579; font: .7rem/1 var(--mono); opacity: 0; pointer-events: none; }
.publication.is-reading { border-color: #859d62; box-shadow: inset 2px 0 0 #c3f579,0 7px 15px -11px #192b2280; }
.publication.is-reading > .reading-marker { opacity: 1; text-shadow: 0 0 8px #c3f57955; }
.source-command { display: block; min-height: 1.7em; margin-bottom: 13px; color: #c3f579; font: .68rem/1.7 var(--mono); text-shadow: 0 0 8px #b8ed6426; }
.research-trace > span { border-radius: 3px; }
.contact-command { display: block; width: fit-content; max-width: 100%; margin: 24px auto 0; padding: 10px 15px; border: 1px solid #d5e1cb; border-radius: 6px; background: #edf3e7; color: #35532e; font: .78rem/1.7 var(--mono); }
.contact-command i { display: inline-block; width: .57em; height: 1em; margin-left: 6px; vertical-align: -.15em; background: #557b3c; }
html[data-retro-motion='on'] .contact-command.is-visible i { animation: retro-cursor 1.1s step-end infinite; }
@media (max-width: 540px) { .reading-marker { left: 4px; font-size: .6rem; } }
@media (prefers-reduced-motion: reduce) {
  .monitor-start { display: none; }
  html[data-retro-motion] .contact-command i { animation: none; }
}
@media print { .monitor-start, .reading-marker, .source-command, .contact-command { display: none; } }
