:root {
  --bg: #080c0a;
  --bg-2: #0e1511;
  --panel: #141c17;
  --panel-2: #1a241e;
  --paper: #f1ede4;
  --paper-2: #e4ded1;
  --ink: #172127;
  --cream: #eee8da;
  --muted: #aab5ae;
  --muted-dark: #657177;
  --green: #9ed4a7;
  --cyan: #78c9d1;
  --red: #a42c33;
  --red-hi: #c04b50;
  --gold: #d9b45d;
  --line: #35453c;
  --line-light: #aeb3ad;
  --shadow: 10px 10px 0 #182128;
  --radius: 2px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  transform: translateY(-150%);
  padding: 8px 12px;
  background: #fff;
  color: #111;
  border: 2px solid #111;
}
.skip-link:focus { transform: none; }

.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.wrap--narrow { width: min(860px, calc(100% - 40px)); margin-inline: auto; }
.mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }
.scan {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .055;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0,0,0,.5) 4px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(7, 11, 9, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-shell {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid #6c8673;
  color: var(--green);
  font: 800 .76rem/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .03em;
}
.brand-copy b { display: block; font-size: .94rem; line-height: 1.35; }
.brand-copy small {
  display: block;
  margin-top: 2px;
  color: #88968e;
  font: 700 .62rem/1.3 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .1em;
}
.primary-nav { display: flex; align-items: center; gap: 18px; }
.primary-nav a {
  padding: 10px 0;
  color: #dce2dc;
  font: 700 .68rem/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .075em;
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover,
.primary-nav a:focus-visible { color: var(--cyan); border-color: var(--cyan); }
.primary-nav .nav-contact { color: #fff; border: 1px solid #667b6d; padding: 10px 12px; }
.primary-nav .nav-contact:hover { border-color: var(--cyan); }
.menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  border: 1px solid #667b6d;
  background: transparent;
  padding: 9px 11px;
  cursor: pointer;
  font: 800 .68rem/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  width: 18px;
  height: 2px;
  display: block;
  position: relative;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

.hero {
  min-height: 760px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4,7,5,.99) 0%, rgba(4,7,5,.86) 42%, rgba(4,7,5,.27) 75%),
    url("assimilation.webp") center right / cover no-repeat;
  filter: saturate(.72) contrast(1.08);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 76% 45%, rgba(100, 199, 121, .12), transparent 26%),
    linear-gradient(to bottom, transparent 75%, rgba(8,12,10,.8));
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 56px; align-items: end; }
.hero-content { max-width: 770px; padding: 100px 0 86px; }
.label, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #617467;
  padding: 6px 9px;
  color: #b9c9bc;
  background: rgba(8, 13, 10, .76);
  font: 700 .66rem/1.2 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.label::before, .eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--green); }
.hero h1 {
  margin: 24px 0 25px;
  font-size: clamp(3.5rem, 7.4vw, 7.8rem);
  line-height: .89;
  letter-spacing: -.065em;
  text-shadow: 5px 6px #000;
  text-wrap: balance;
}
.hero h1 span { display: block; color: var(--green); }
.hero-lead { max-width: 690px; margin: 0; color: #d3d8d1; font-size: 1.08rem; }
.hero-lead strong { color: #fff; }
.hero-lead-sub {
  display: inline-block;
  margin-top: .16em;
  font-size: .88em;
  line-height: 1.45;
  letter-spacing: .015em;
}
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid #6e8775;
  padding: 11px 17px;
  box-shadow: 4px 4px #000;
  font: 800 .72rem/1.3 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .04em;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.btn:hover, .btn:focus-visible { transform: translate(-2px, -2px); border-color: var(--cyan); }
.btn--primary { background: var(--red); border-color: var(--red-hi); color: #fff; }
.btn--light { background: var(--paper); color: var(--ink); border-color: #111; box-shadow: 4px 4px rgba(0,0,0,.55); }
.hero-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  color: #a7b3aa;
  font: 700 .66rem/1.4 "SFMono-Regular", Consolas, monospace;
}
.hero-status > span:not(.status-active) { display: inline-flex; align-items: center; }
.status-active {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: .48em;
  overflow: hidden;
  padding: .28em .68em .25em;
  border: 1px solid rgba(232, 62, 70, .86);
  background:
    linear-gradient(180deg, rgba(104, 8, 13, .68), rgba(24, 3, 5, .94)),
    repeating-linear-gradient(0deg, transparent 0 2px, rgba(255,255,255,.045) 2px 3px);
  color: #ff6c72;
  box-shadow: inset 0 0 12px rgba(255, 28, 38, .22), 0 0 11px rgba(164, 44, 51, .28);
  text-shadow: 0 0 8px rgba(255, 48, 58, .88);
  letter-spacing: .08em;
  animation: status-flicker 3.8s steps(1, end) infinite;
}
.status-active::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0 36%, rgba(255, 153, 153, .2) 49%, transparent 61%);
  transform: translateX(-145%);
  animation: status-scan 3.8s linear infinite;
}
.status-active b, .status-word, .status-led { position: relative; z-index: 1; }
.status-active b { color: #d59a9d; font: inherit; }
.status-led {
  width: .58em;
  height: .58em;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ff2028;
  box-shadow: 0 0 7px #ff2028, 0 0 15px rgba(255, 32, 40, .78);
  animation: status-led 1.45s steps(1, end) infinite;
}
@keyframes status-flicker {
  0%, 21%, 23%, 67%, 71%, 100% { opacity: 1; filter: brightness(1); }
  22%, 68% { opacity: .34; filter: brightness(.72); }
  69% { opacity: .08; filter: brightness(.55); }
  70% { opacity: 1; filter: brightness(1.42); }
}
@keyframes status-led {
  0%, 57%, 70%, 100% { opacity: 1; }
  59%, 68% { opacity: .12; box-shadow: none; }
}
@keyframes status-scan {
  0%, 52% { transform: translateX(-145%); }
  75%, 100% { transform: translateX(145%); }
}
.hero-proof {
  margin-bottom: 90px;
  border: 1px solid rgba(151, 181, 158, .55);
  background: rgba(5, 9, 7, .79);
  box-shadow: 8px 8px rgba(0,0,0,.6);
}
.hero-proof div { padding: 16px 18px; border-bottom: 1px solid #38473f; }
.hero-proof div:last-child { border-bottom: 0; }
.hero-proof b { display: block; color: #fff; font-size: 1.08rem; }
.hero-proof small { color: #98a79e; font: 700 .62rem/1.5 "SFMono-Regular", Consolas, monospace; letter-spacing: .05em; }

.metrics { background: #0d130f; border-bottom: 1px solid var(--line); }
.metric-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 14px;
  color: #91a097;
  font: 700 .65rem/1.5 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .06em;
}
.metric-intro strong { color: var(--green); }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.metric-grid--three {
  width: 75%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.record-metrics {
  margin-top: 30px;
  padding: 0 18px 18px;
  border: 1px solid var(--line);
}
.metric { min-height: 170px; padding: 25px 22px; background: #151c18; }
.metric .n { color: #e7e8e1; font: 900 clamp(2.8rem, 5vw, 4.9rem)/.95 Arial, sans-serif; letter-spacing: -.06em; }
.metric .n .unit { margin-left: 5px; color: var(--gold); font-size: .3em; letter-spacing: 0; }
.metric .u { margin-top: 9px; color: #8fb99b; font: 800 .66rem/1.35 "SFMono-Regular", Consolas, monospace; letter-spacing: .06em; }
.metric p { margin: 7px 0 0; color: #aeb8b1; font-size: .82rem; line-height: 1.55; }
.metrics-guide {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 16px;
  align-items: start;
  padding: 15px 0 18px;
  border-top: 1px solid #27332c;
  color: #929f97;
  font-size: .76rem;
  line-height: 1.7;
}
.metrics-guide-mark { color: var(--gold); font-weight: 900; }
.metrics-guide p { margin: 0; }
.metrics-guide a {
  color: #9fcaa8;
  font: 800 .64rem/1.7 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .03em;
  white-space: nowrap;
}
.metrics-guide a:hover { color: var(--cyan); }

.section { padding: 96px 0; }
.section--light { background: var(--paper); color: var(--ink); }
.section--paper2 { background: var(--paper-2); color: var(--ink); }
.section--dark { background: var(--bg); color: var(--cream); }
.section--panel { background: #101713; color: var(--cream); }
.kicker { color: var(--cyan); font: 800 .69rem/1.4 "SFMono-Regular", Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; }
.section--light .kicker, .section--paper2 .kicker { color: #4e747b; }
.section-title { margin: 12px 0 22px; font-size: clamp(2.2rem, 4.4vw, 4.6rem); line-height: 1.06; letter-spacing: -.05em; text-wrap: balance; }
#research .research-title-sub {
  display: block;
  margin-top: .72rem;
  max-width: 900px;
  color: rgba(229, 237, 230, .72);
  font-size: clamp(1rem, 1.7vw, 1.45rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: .01em;
  text-wrap: balance;
}
.lead { max-width: 850px; font-size: 1.06rem; }
.note { color: var(--muted-dark); font-size: .78rem; line-height: 1.7; }

.literacy-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  margin-top: 38px;
  border: 3px solid #1f2b31;
  background: #fff;
  box-shadow: var(--shadow);
}
.literacy-statement { padding: 38px; background: #12191d; color: #eee; }
.literacy-statement .huge { margin: 18px 0; color: #e4e0d5; font: 900 clamp(3.1rem, 6.7vw, 6.2rem)/.91 Arial, sans-serif; letter-spacing: -.06em; }
.literacy-copy { padding: 38px; }
.literacy-copy h3 { margin: 0 0 14px; font-size: 1.65rem; line-height: 1.35; }
.evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.evidence-card { border: 1px solid #718086; padding: 15px; background: #f5f2e9; }
.evidence-card b { display: block; margin-bottom: 2px; }
.evidence-card small { color: #5a686d; }

.research-feature { display: grid; grid-template-columns: 1.08fr .92fr; gap: 28px; margin-top: 38px; }
.research-visual { min-height: 440px; position: relative; overflow: hidden; border: 1px solid #405047; background: #fff; }
.research-visual img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: contain; background: #fff; }
.research-visual::after {
  content: "IMAGE-BASED INVERSE ANALYSIS";
  position: absolute;
  left: 16px;
  bottom: 14px;
  padding: 5px 8px;
  background: rgba(4,8,6,.86);
  color: var(--green);
  font: 800 .63rem/1.3 "SFMono-Regular", Consolas, monospace;
}
.research-copy { border: 1px solid #405047; background: #141b17; padding: 30px; }
.research-copy h3 { margin: 12px 0 14px; color: #ead9ad; font-size: 1.85rem; }
.research-copy p { color: #c4cbc5; }
.tag {
  display: inline-block;
  margin: 0 4px 5px 0;
  border: 1px solid #587261;
  padding: 3px 7px;
  color: #9fcaa8;
  font: 800 .61rem/1.3 "SFMono-Regular", Consolas, monospace;
}
.steps { margin-top: 20px; }
.step { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid #35443b; }
.step b { color: var(--cyan); font: 800 .78rem/1.6 "SFMono-Regular", Consolas, monospace; }
.paper-links { margin-top: 20px; border-top: 1px solid #35443b; }
.paper-links a { display: block; padding: 10px 0; border-bottom: 1px solid #35443b; color: #d9e8dd; font-size: .82rem; }
.paper-links a:hover { color: var(--cyan); }
.research-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.research-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #3d4c43; background: #151c18; }
.research-card img { width: 100%; height: 210px; object-fit: cover; background: #fff; }
.research-card:nth-child(2) img { object-fit: contain; }
.research-card img.research-card-image--contain { object-fit: contain; object-position: center; padding: 0; background: #fff; }
.research-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.research-card h3 { margin: 8px 0 10px; color: #e6d5aa; font-size: 1.25rem; }
.research-card p { margin: 0 0 17px; color: #bcc5be; font-size: .88rem; }
.research-links { display: grid; gap: 7px; margin-top: auto; padding-top: 2px; }
.link-arrow { color: var(--cyan); font: 800 .69rem/1.4 "SFMono-Regular", Consolas, monospace; }
.link-arrow:hover { color: #fff; }

.record-person-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35em .55em;
  margin: 18px 0 0;
  padding: 13px 16px;
  border-left: 5px solid var(--red);
  background: #172128;
  color: #fff;
  font: 900 clamp(1.05rem, 2vw, 1.45rem)/1.35 Arial, sans-serif;
  letter-spacing: .01em;
}
.record-person-title--secondary {
  margin-top: 60px;
  border-left-color: #5e929a;
}
.record-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 28px; margin-top: 36px; align-items: start; }
.paper-list { border-top: 2px solid #243137; }
.paper-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid #a9aaa3; }
.paper-year { font: 800 .75rem/1.5 "SFMono-Regular", Consolas, monospace; }
.paper-item h3 { margin: 0 0 5px; font-size: 1rem; line-height: 1.55; }
.paper-item p { margin: 0; color: #647075; font-size: .82rem; }
.paper-doi { color: #315f68; font: 800 .68rem/1.5 "SFMono-Regular", Consolas, monospace; white-space: nowrap; }
.paper-doi:hover { color: var(--red); }
.record-side { border: 2px solid #26343a; background: #fff; padding: 26px; box-shadow: 7px 7px #26343a; }
.record-side h3 { margin-top: 0; }
.award-item { padding: 13px 0; border-top: 1px solid #c7c2b7; }
.award-item b { display: block; }
.award-item small { color: #637076; }
.quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 28px; background: #a2a9a5; border: 1px solid #a2a9a5; }
.quick-fact { padding: 18px; background: #172128; color: #fff; }
.quick-fact strong { display: block; color: var(--gold); font: 900 2rem/1 Arial, sans-serif; }
.quick-fact span { color: #b7c1bd; font-size: .76rem; }
.funding-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.funding-card { border: 1px solid #79858a; background: rgba(255,255,255,.65); padding: 20px; }
.funding-card .amount { color: #172128; font: 900 clamp(1.8rem, 3vw, 2.7rem)/1 Arial, sans-serif; letter-spacing: -.04em; }
.funding-card b { display: block; margin-top: 10px; }
.funding-card small { color: #5f6c71; }
.current-projects { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.project { border-left: 5px solid #5e929a; background: #fff; padding: 16px 18px; }
.project b { display: block; }
.project small { color: #5f6c71; }

.faculty-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.faculty-card { border: 1px solid #425149; background: #161d19; padding: 30px; }
.faculty-card .role { color: var(--cyan); font: 800 .66rem/1.5 "SFMono-Regular", Consolas, monospace; letter-spacing: .05em; }
.faculty-card h3 { margin: 5px 0 10px; font-size: 1.9rem; }
.faculty-card .faculty-birth {
  margin: -4px 0 18px;
  color: #8fb99b;
  font: 800 .7rem/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .06em;
}
.faculty-card p { color: #c0c8c1; }
.faculty-card ul { padding-left: 1.1em; }
.faculty-card li { margin: 5px 0; }
.career-line { margin-top: 20px; border-top: 1px solid #425149; }
.career-line div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #35443b; font-size: .83rem; }
.career-line time { color: var(--gold); font: 800 .69rem/1.7 "SFMono-Regular", Consolas, monospace; }
.faculty-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.faculty-links a { border: 1px solid #5f7466; padding: 7px 10px; color: #b7d7bf; font: 800 .67rem/1.4 "SFMono-Regular", Consolas, monospace; }
.faculty-links a:hover { border-color: var(--cyan); color: #fff; }

.people-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
  gap: 18px;
  margin-top: 34px;
}
.people-photo {
  position: relative;
  min-width: 0;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 2px solid #26343a;
  background: #101713;
  box-shadow: 8px 8px #26343a;
}
.people-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}
.people-photo--group img { object-position: 50% 66%; filter: brightness(1.08) saturate(.94); }
.people-photo--work {
  isolation: isolate;
  background: #120f12;
  --labwork-progress: 0;
}
.people-photo--work .work-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  transition: none;
  filter: sepia(.16) saturate(.86) contrast(.94) brightness(1.04) hue-rotate(-8deg);
  will-change: opacity, transform, filter;
}
.people-photo--work .work-frame--base {
  opacity: calc(1 - var(--labwork-progress));
  transform: translate3d(0, calc(var(--labwork-progress) * -6px), 0) scale(calc(1 + var(--labwork-progress) * .01));
}
.people-photo--work .work-frame--pickup {
  object-position: 53% 50%;
  opacity: var(--labwork-progress);
  transform: translate3d(0, calc((1 - var(--labwork-progress)) * 10px), 0) scale(calc(1.018 - var(--labwork-progress) * .018));
  filter: sepia(.12) saturate(.95) contrast(.98) brightness(1.06) hue-rotate(-10deg);
}
.people-photo--work::before,
.people-photo--work::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.people-photo--work::before {
  z-index: 3;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 228, 192, .24), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(255, 124, 164, .18), transparent 22%),
    linear-gradient(135deg, rgba(255, 207, 167, .16), rgba(255,255,255,.04) 34%, rgba(92, 180, 214, .14) 68%, rgba(255, 120, 188, .10));
  mix-blend-mode: screen;
}
.people-photo--work::after {
  z-index: 4;
  opacity: .86;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.05) 0 1px, transparent 1px 3px),
    linear-gradient(to bottom, rgba(255,255,255,.08), rgba(17,8,24,.14) 46%, rgba(0,0,0,.2));
  mix-blend-mode: soft-light;
}
.people-photo--work:hover .work-frame--base {
  transform: translate3d(0, calc(var(--labwork-progress) * -7px), 0) scale(calc(1.006 + var(--labwork-progress) * .012));
}
.people-photo--work:hover .work-frame--pickup {
  transform: translate3d(0, calc((1 - var(--labwork-progress)) * 9px), 0) scale(calc(1.022 - var(--labwork-progress) * .016));
}
.people-photo:not(.people-photo--work):hover img { transform: scale(1.012); }
.people-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 18px; margin-top: 18px; align-items: stretch; }
.people-number { display: grid; align-content: end; min-height: 300px; background: #182026; color: #eee; padding: 34px; border: 2px solid #26343a; box-shadow: 7px 7px #26343a; }
.people-number .mono { color: #b8c6bd; font-size: .72rem; letter-spacing: .07em; }
.people-number .n { margin: 8px 0 10px; color: var(--gold); font: 900 clamp(5rem, 12vw, 9rem)/.8 Arial, sans-serif; letter-spacing: -.08em; }
.people-number p { margin: 0; color: #c4cbc6; }
.breakdown { display: grid; align-content: center; background: #fff; border: 2px solid #26343a; padding: 26px; box-shadow: 7px 7px #26343a; }
.bar-row { display: grid; grid-template-columns: 90px 1fr 38px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid #c7c2b7; }
.bar-row:last-child { border-bottom: 0; }
.bar { height: 11px; background: #ded9ce; }
.bar span { display: block; height: 100%; background: #4f9ca5; }

#outcomes .outcomes-title-with-note {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  max-width: 100%;
  gap: .08em;
  white-space: nowrap;
}
#outcomes .outcomes-title-note {
  flex: 0 0 auto;
  color: #8fb99b;
  font-size: .3em;
  line-height: 1.3;
  letter-spacing: .02em;
}

.outcomes-door {
  margin-top: 34px;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border: 1px solid #3d4c43;
  background: #151c18;
  box-shadow: 8px 8px rgba(0,0,0,.38);
}
.outcomes-door img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.outcome-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 26px; }
.outcome-card { border: 1px solid #3d4c43; background: #151c18; padding: 28px; }
.outcome-card .n { color: #e5d6ad; font: 900 5.5rem/1 Arial, sans-serif; letter-spacing: -.07em; }
.outcome-card h3 { color: #fff; }
.outcome-card p { color: #bcc5be; }
.career-callout { margin-top: 24px; border-left: 5px solid var(--cyan); background: #11191d; padding: 20px; color: #d9e0df; }
.career-callout strong { color: #90d4da; }
.company-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.company { border: 1px solid #536259; padding: 7px 9px; color: #cbd2cc; font: 800 .67rem/1.35 "SFMono-Regular", Consolas, monospace; }
.details { margin-top: 22px; border: 1px solid #3d4c43; background: #121815; }
.details summary,
.details-heading { padding: 15px 18px; color: #9ccdd1; font: 800 .71rem/1.5 "SFMono-Regular", Consolas, monospace; }
.details summary { cursor: pointer; }
.details--always-open .details-heading { border-bottom: 0; letter-spacing: .03em; }
.year-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 18px; border-top: 1px solid #35443b; font-size: .85rem; }
.year-row b { color: #d7b86b; }

.industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.scope { border: 1px solid #7d898e; background: #fff; padding: 20px; }
.scope b { display: block; margin-bottom: 8px; }
.industry-proof { display: grid; grid-template-columns: .72fr 1.28fr; gap: 24px; margin-top: 28px; align-items: stretch; }
.industry-number { background: #182026; color: #fff; padding: 27px; }
.industry-number strong { display: block; color: var(--gold); font: 900 clamp(3rem, 7vw, 5rem)/1 Arial, sans-serif; letter-spacing: -.06em; }
.industry-number span { color: #c5ccc7; }
.partner-panel { border: 2px solid #26343a; background: #fff; padding: 24px; }
.partner-panel h3 { margin-top: 0; }
.partner-list { display: flex; flex-wrap: wrap; gap: 8px; }
.partner-list span { border: 1px solid #8b9699; padding: 7px 9px; font-size: .78rem; }

.news-list { margin-top: 28px; border-top: 2px solid #243137; }
.news-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: start; padding: 15px 0; border-bottom: 1px solid #a9aaa3; }
.news-row time { font: 800 .7rem/1.7 "SFMono-Regular", Consolas, monospace; }
.news-row a { color: #315f68; font: 800 .66rem/1.7 "SFMono-Regular", Consolas, monospace; }
.news-row a:hover { color: var(--red); }

.cta { padding: 84px 20px; text-align: center; background: #d8d0bf; color: #172027; }
.cta h2 { margin: 0 0 15px; font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1.05; letter-spacing: -.05em; }
.cta p { margin: 0; font-size: 1.04rem; }
.cta .buttons { justify-content: center; }

.site-footer { padding: 34px 0; color: #8c9a91; font-size: .75rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.footer-links a { font: 800 .64rem/1.4 "SFMono-Regular", Consolas, monospace; }
.footer-links a:hover { color: var(--cyan); }

.page-hero {
  min-height: 410px;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5,9,7,.97), rgba(5,9,7,.68)),
    url("spring8_facility.webp") center / cover no-repeat;
}
.page-hero h1 { margin: 18px 0 10px; font-size: clamp(3rem, 7vw, 7rem); line-height: .95; letter-spacing: -.06em; }
.page-hero p { max-width: 720px; color: #d2d8d2; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
.contact-card { border: 2px solid #26343a; background: #fff; padding: 28px; box-shadow: 7px 7px #26343a; }
.contact-card h3 { margin-top: 0; }
.contact-card code { font-size: 1rem; color: #7e2025; }
.contact-card a { color: #315f68; font-weight: 800; }
.contact-card a:hover { color: var(--red); }
.contact-wide { grid-column: 1 / -1; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 9px 0; border-bottom: 1px solid #c7c2b7; }

.english-hero::before { background-position: center; }
.english-section-title { max-width: 900px; }

.reveal { opacity: 1; transform: none; }
html.reveal-effects-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
html.reveal-effects-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .primary-nav { gap: 12px; }
  .primary-nav a { font-size: .62rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-proof { display: none; }
  .record-layout { grid-template-columns: 1fr; }
  .funding-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .site-header { backdrop-filter: none; }
  .menu-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: auto;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    z-index: 89;
    padding: 26px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(8,12,10,.985);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 17px 2px; border-bottom: 1px solid #35443b; font-size: .82rem; }
  .primary-nav .nav-contact { margin-top: 14px; text-align: center; border: 1px solid #667b6d; }
  .hero { min-height: 700px; }
  .hero-content { padding: 86px 0 70px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid--three { width: 100%; }
  .literacy-grid,
  .research-feature,
  .faculty-grid,
  .people-grid,
  .industry-proof { grid-template-columns: 1fr; }
  .people-gallery { grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr); }
  .people-photo { min-height: 460px; }
  .literacy-statement { border-bottom: 3px solid #1f2b31; }
  .research-cards,
  .industry-grid { grid-template-columns: 1fr; }
  .research-card { display: grid; grid-template-columns: .85fr 1.15fr; }
  .research-card img { height: 100%; min-height: 250px; }
  .current-projects { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .wrap, .wrap--narrow { width: calc(100% - 24px); }
  .brand-copy small { display: none; }
  .brand-copy b { font-size: .82rem; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(4,7,5,.98) 0%, rgba(4,7,5,.9) 58%, rgba(4,7,5,.58) 100%),
      url("assimilation.webp") 58% center / cover no-repeat;
    filter: saturate(.68) contrast(1.08);
  }
  .hero h1 { font-size: clamp(3.15rem, 16vw, 4.7rem); }
  .hero-lead { max-width: 350px; color: #e5e9e4; font-size: .98rem; text-shadow: 0 2px 12px #000; }
  .hero-status { gap: 10px; font-size: .59rem; }
  .status-active { padding: .27em .56em .24em; }
  .metric-intro { display: block; }
  .metric-intro span { display: block; margin-top: 4px; }
  .record-metrics { padding: 0 10px 10px; }
  .metrics-guide { grid-template-columns: auto minmax(0, 1fr); gap: 6px 10px; }
  .outcomes-door { aspect-ratio: 4 / 3; box-shadow: 5px 5px rgba(0,0,0,.38); }
  .outcomes-door img { object-position: center 50%; }
  .metric-grid,
  .evidence-grid,
  .outcome-grid,
  .funding-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 76px 0; }
  .research-visual { min-height: 310px; }
  .research-card { display: flex; }
  .research-card img { height: 220px; min-height: 0; }
  .paper-item { grid-template-columns: 58px 1fr; }
  .paper-doi { grid-column: 2; }
  .quick-facts { grid-template-columns: 1fr; }
  .people-gallery { grid-template-columns: 1fr; gap: 14px; }
  .people-photo { min-height: 0; box-shadow: 5px 5px #26343a; }
  .people-photo--group { height: 290px; }
  .people-photo--work { height: 360px; }
  .people-photo--group img { object-position: 50% 67%; }
  .people-photo--work img { object-position: 50% 44%; }
  .people-number, .breakdown { box-shadow: 5px 5px #26343a; }
  .bar-row { grid-template-columns: 84px 1fr 30px; }
  .year-row, .news-row { grid-template-columns: 1fr; gap: 2px; }
  .news-row a { margin-top: 6px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .contact-wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .status-active, .status-active::after, .status-led { animation: none !important; }
  .status-active::after { display: none; }
}

/* Image mechanics: scroll-driven transition from restored structure to strain field */
.image-mechanics-transition {
  aspect-ratio: 1600 / 810;
  min-height: 0;
  isolation: isolate;
}
.image-mechanics-transition .image-mechanics-layer {
  object-fit: contain;
  transition: opacity .12s linear;
  will-change: opacity;
}
.image-mechanics-transition .image-mechanics-layer--base { z-index: 1; }
.image-mechanics-transition .image-mechanics-layer--strain {
  z-index: 2;
  opacity: var(--strain-opacity, 0);
}
.image-mechanics-transition::after { z-index: 3; }
@media (prefers-reduced-motion: reduce) {
  .image-mechanics-transition .image-mechanics-layer { transition: none; }
}
@media (max-width: 900px) {
  .image-mechanics-transition { min-height: 0; }
}

/* Student hometown distribution */
.hometown-panel {
  margin-top: 22px;
  padding: 30px;
  background: #f7f4ec;
  border: 2px solid #26343a;
  box-shadow: 7px 7px #26343a;
}
.hometown-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #c7c2b7;
}
.hometown-head .mono {
  color: #55635c;
  font-size: .72rem;
  letter-spacing: .08em;
}
.hometown-head h3 {
  margin: 4px 0 7px;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.15;
}
.hometown-head p {
  margin: 0;
  max-width: 650px;
  color: #55605a;
  font-size: .92rem;
}
.hometown-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  gap: 10px;
}
.hometown-summary > div {
  min-width: 108px;
  padding: 12px 14px;
  background: #182026;
  color: #eee;
  border: 1px solid #26343a;
}
.hometown-summary strong {
  display: block;
  color: var(--gold);
  font: 900 2.1rem/1 Arial, sans-serif;
}
.hometown-summary span {
  display: block;
  margin-top: 5px;
  color: #b8c6bd;
  font: 700 .64rem/1.2 Arial, sans-serif;
  letter-spacing: .08em;
}
.hometown-chart {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 0;
}
.hometown-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 26px;
  gap: 12px;
  align-items: center;
  min-height: 46px;
  border-bottom: 1px solid #d4d0c5;
}
.hometown-row:nth-last-child(-n+2) { border-bottom: 0; }
.hometown-bar {
  height: 11px;
  background: #d8d8d1;
  overflow: hidden;
}
.hometown-bar span {
  display: block;
  height: 100%;
  min-width: 8px;
  background: var(--gold);
}
.hometown-row strong {
  text-align: right;
  font: 800 1rem/1 Arial, sans-serif;
}

@media (max-width: 760px) {
  .hometown-panel { padding: 22px; box-shadow: 5px 5px #26343a; }
  .hometown-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .hometown-summary { width: 100%; }
  .hometown-chart { grid-template-columns: 1fr; }
  .hometown-row:nth-last-child(-n+2) { border-bottom: 1px solid #d4d0c5; }
  .hometown-row:last-child { border-bottom: 0; }
}

/* 2026-07 final visual corrections */
.hero-content > .hero-status { margin-top: 38px; }
/* Final visual corrections */
.bar-row { grid-template-columns: 118px minmax(0, 1fr) 38px; }
.bar-row b { white-space: nowrap; }
@media (max-width: 680px) {
  .bar-row { grid-template-columns: 112px minmax(0, 1fr) 30px; gap: 10px; }
}

/* ================================================================
   Scroll-triggered analogue display transitions
   ================================================================ */
.scroll-scene { position: relative; isolation: isolate; }
.scroll-scene > .scene-content {
  position: relative;
  z-index: 1;
  backface-visibility: hidden;
  transform-origin: 50% 18%;
}

/*
 * Preserve each section's space but hide its content until the analogue
 * transition begins. Student Outcomes stays visible so it can turn from
 * monochrome back to colour in place.
 */
html.scene-effects-ready .scroll-scene[data-screen-effect]:not([data-scene-visible]):not([data-screen-effect="monochrome"]):not(.is-scene-playing):not(.is-scene-complete) > .scene-content {
  opacity: 0;
  pointer-events: none;
}
html.scene-effects-ready .scroll-scene[data-screen-effect]:not([data-screen-effect="monochrome"]).is-scene-playing > .scene-content,
html.scene-effects-ready .scroll-scene[data-screen-effect]:not([data-screen-effect="monochrome"]).is-scene-complete > .scene-content {
  opacity: 1;
  pointer-events: auto;
}
.metrics-guide--static { grid-template-columns: auto minmax(0, 1fr); }

.screen-fx {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 86;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  background: #020303;
  color: #edf4ee;
  isolation: isolate;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.screen-fx.is-active { visibility: visible; }
.screen-fx__frame { position: absolute; inset: 0; overflow: hidden; }
.screen-fx__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  opacity: .28;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.06) 0 1px, transparent 1px 4px);
  mix-blend-mode: screen;
}
.screen-fx__frame::after {
  content: "";
  position: absolute;
  inset: -15%;
  z-index: 9;
  box-shadow: inset 0 0 18vw 8vw rgba(0,0,0,.96);
}
.screen-fx__noise {
  position: absolute;
  inset: -18%;
  z-index: 2;
  opacity: 0;
  background-image: url("noise.webp");
  background-size: 190px 190px;
  image-rendering: pixelated;
  mix-blend-mode: screen;
  will-change: transform, background-position, opacity;
}
.screen-fx__roll {
  position: absolute;
  z-index: 3;
  top: -28%;
  left: -8%;
  width: 116%;
  height: 22%;
  opacity: 0;
  background: linear-gradient(to bottom, transparent, rgba(239,255,242,.55) 46%, rgba(0,0,0,.95) 52%, transparent);
  filter: blur(2px);
}
.screen-fx__line {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 0;
  height: 2px;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: #f4fff5;
  box-shadow: 0 0 8px #fff, 0 0 34px rgba(183,255,201,.92), 0 0 80px rgba(183,255,201,.5);
}
.screen-fx__color-sync {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: -5%;
  width: 3px;
  opacity: 0;
  background: rgba(255,255,255,.92);
  box-shadow: -18px 0 28px rgba(219,0,0,.48), 18px 0 28px rgba(0,151,255,.52);
}
.screen-fx__caption {
  position: absolute;
  z-index: 10;
  top: clamp(18px, 4vw, 54px);
  right: clamp(18px, 5vw, 76px);
  min-width: 235px;
  opacity: 0;
  padding: 9px 12px 8px;
  border: 1px solid rgba(219,239,224,.72);
  background: rgba(1,5,3,.74);
  text-align: right;
  letter-spacing: .07em;
  text-shadow: 0 0 8px rgba(216,255,225,.85);
}
.screen-fx__caption span { display: block; font-size: clamp(.68rem, 1.1vw, .82rem); font-weight: 800; }
.screen-fx__caption small { display: block; margin-top: 3px; color: #a9b9ad; font-size: .55rem; letter-spacing: .16em; }
.screen-fx__signal {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  color: #d9e1dc;
  text-align: center;
  letter-spacing: .18em;
  text-shadow: 0 0 10px rgba(255,255,255,.65);
}
.screen-fx__signal b { display: block; font-size: clamp(1rem, 2.6vw, 2rem); }
.screen-fx__signal small { display: block; margin-top: 8px; font-size: .57rem; }
.screen-fx__diary-card { display: none; }

/* RESEARCH: CRT power-on from a central phosphor line. */
.screen-fx.fx-power-on.is-active { animation: fx-power-shell 1.94s linear both; }
.fx-power-on .screen-fx__line { animation: fx-power-line 1.76s cubic-bezier(.16,.84,.22,1) both; }
.fx-power-on .screen-fx__caption { animation: fx-caption-in 1.16s .52s steps(2, end) both; }
.fx-power-on .screen-fx__noise { animation: fx-noise-shift .085s steps(2, end) infinite, fx-power-noise 1.82s linear both; }
.scroll-scene.is-scene-playing[data-screen-effect="power-on"] > .scene-content {
  animation: scene-power-on 1.92s cubic-bezier(.16,.84,.22,1) both;
}
#research.is-scene-playing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    repeating-linear-gradient(to bottom, rgba(197,255,214,.055) 0 1px, transparent 1px 4px),
    radial-gradient(ellipse at center, rgba(13,31,20,.18) 0%, rgba(1,5,3,.82) 62%, #000 100%);
  animation: research-crt-dark-emerge 1.92s linear both;
}

/* RESEARCH RECORD: rotary channel change, snow, roll and horizontal tearing. */
.screen-fx.fx-channel.is-active { animation: fx-channel-shell 1.12s steps(1, end) both; }
.fx-channel .screen-fx__noise { opacity: .92; animation: fx-noise-shift .065s steps(2, end) infinite, fx-channel-noise 1.08s linear both; }
.fx-channel .screen-fx__roll { animation: fx-roll-down .34s linear 3 both; }
.fx-channel .screen-fx__caption { animation: fx-channel-caption 1.06s steps(1, end) both; }
.scroll-scene.is-scene-playing[data-screen-effect="channel"] > .scene-content {
  animation: scene-channel-switch 1.1s steps(1, end) both;
}

/* FACULTY: static resolves into an acquired signal. */
.screen-fx.fx-static.is-active { animation: fx-static-shell 1.42s linear both; }
.fx-static .screen-fx__noise { opacity: .96; animation: fx-noise-shift .055s steps(2, end) infinite, fx-static-noise 1.36s linear both; }
.fx-static .screen-fx__roll { animation: fx-static-roll 1.1s ease-out both; }
.fx-static .screen-fx__caption { animation: fx-static-caption 1.3s steps(2, end) both; }
.scroll-scene.is-scene-playing[data-screen-effect="static"] > .scene-content {
  animation: scene-static-resolve 1.4s cubic-bezier(.22,.72,.18,1) both;
}

/* PEOPLE: a complete signal loss followed by unstable recovery. */
.screen-fx.fx-dropout.is-active { animation: fx-dropout-shell 1.38s steps(1, end) both; }
.fx-dropout .screen-fx__signal { animation: fx-no-signal 1.28s steps(1, end) both; }
.fx-dropout .screen-fx__line { animation: fx-dropout-line 1.22s steps(1, end) both; }
.fx-dropout .screen-fx__noise { animation: fx-noise-shift .07s steps(2, end) infinite, fx-dropout-noise 1.34s steps(1, end) both; }
.scroll-scene.is-scene-playing[data-screen-effect="dropout"] > .scene-content {
  animation: scene-signal-dropout 1.36s steps(1, end) both;
}

/* STUDENT OUTCOMES: monochrome signal regains chroma. */
.screen-fx.fx-monochrome.is-active { animation: fx-mono-shell 1.84s linear both; background: rgba(5,8,6,.08); }
.fx-monochrome .screen-fx__caption { animation: fx-mono-caption 1.72s steps(2, end) both; }
.fx-monochrome .screen-fx__color-sync { animation: fx-color-sync 1.5s .22s cubic-bezier(.12,.72,.2,1) both; }
.fx-monochrome .screen-fx__noise { animation: fx-noise-shift .09s steps(2, end) infinite, fx-mono-noise 1.7s linear both; }
.scroll-scene.is-scene-playing[data-screen-effect="monochrome"] > .scene-content {
  animation: scene-monochrome-return 1.82s cubic-bezier(.18,.7,.2,1) both;
}

/* RECENT ACTIVITY: survival-horror archive / field diary. */
#activity.activity-diary {
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(113,44,33,.13), transparent 23%),
    radial-gradient(circle at 88% 76%, rgba(61,49,29,.12), transparent 28%),
    #777060;
}
#activity.activity-diary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .22;
  background-image: url("noise.webp");
  background-size: 240px 240px;
  mix-blend-mode: multiply;
}
#activity.activity-diary > .scene-content {
  width: min(1040px, calc(100% - 40px));
  padding: clamp(42px, 6vw, 72px) clamp(28px, 6vw, 72px) clamp(48px, 7vw, 82px);
  border: 1px solid #766c55;
  background:
    linear-gradient(90deg, transparent 0 52px, rgba(116,36,36,.18) 52px 54px, transparent 54px),
    repeating-linear-gradient(to bottom, transparent 0 35px, rgba(82,75,60,.14) 35px 36px),
    linear-gradient(105deg, #e3d8ba 0%, #eee5cc 48%, #d7c8a7 100%);
  color: #27231c;
  box-shadow: 14px 16px 0 rgba(23,20,15,.55), 0 22px 70px rgba(0,0,0,.34);
}
#activity.activity-diary > .scene-content::before {
  content: "FILE 07";
  position: absolute;
  top: 28px;
  right: 34px;
  padding: 7px 12px 6px;
  border: 3px double rgba(126,35,35,.72);
  color: rgba(126,35,35,.78);
  font: 900 .71rem/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .14em;
  transform: rotate(2.3deg);
}
#activity.activity-diary > .scene-content::after {
  content: "PROPERTY OF SOLID MECHANICS LAB.  /  FIELD LOG";
  position: absolute;
  right: clamp(26px, 5vw, 62px);
  bottom: 19px;
  color: rgba(53,48,39,.62);
  font: 800 .55rem/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .13em;
}
#activity.activity-diary .kicker {
  color: #842f31;
  font-family: "SFMono-Regular", Consolas, monospace;
  letter-spacing: .18em;
}
#activity.activity-diary .kicker::before { content: none; }
#activity.activity-diary .section-title {
  max-width: 760px;
  margin-top: 20px;
  padding-bottom: 24px;
  border-bottom: 2px solid rgba(57,51,41,.52);
  color: #252118;
  font-family: Georgia, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
  letter-spacing: -.025em;
  text-shadow: 0 1px rgba(255,255,255,.35);
}
#activity.activity-diary .news-list {
  counter-reset: diary-entry;
  margin-top: 30px;
  border-top: 0;
}
#activity.activity-diary .news-row {
  counter-increment: diary-entry;
  position: relative;
  grid-template-columns: 122px minmax(0, 1fr) auto;
  gap: 20px;
  min-height: 78px;
  padding: 20px 8px 18px 62px;
  border-bottom: 1px dashed rgba(72,65,51,.58);
}
#activity.activity-diary .news-row::before {
  content: counter(diary-entry, decimal-leading-zero);
  position: absolute;
  top: 18px;
  left: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(109,39,39,.6);
  color: #7d2c2e;
  font: 900 .66rem/1 "SFMono-Regular", Consolas, monospace;
  transform: rotate(-1.5deg);
}
#activity.activity-diary .news-row time {
  color: #6d292b;
  font-size: .73rem;
  letter-spacing: .04em;
}
#activity.activity-diary .news-row > div {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.9;
}
#activity.activity-diary .news-row a {
  color: #5d2526;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
#activity.activity-diary .news-row a:hover { color: #a42c33; }
.screen-fx.fx-diary.is-active { animation: fx-diary-shell 1.64s linear both; background: #080806; }
.fx-diary .screen-fx__noise { animation: fx-noise-shift .12s steps(2,end) infinite, fx-diary-noise 1.5s linear both; }
.fx-diary .screen-fx__diary-card {
  display: grid;
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  width: min(620px, calc(100% - 42px));
  min-height: 300px;
  place-content: center;
  transform: translate(-50%, -50%) rotate(-1.2deg);
  border: 1px solid #847657;
  background:
    repeating-linear-gradient(to bottom, transparent 0 30px, rgba(77,67,48,.13) 30px 31px),
    linear-gradient(112deg, #d8c9a6, #eee3c7 56%, #c9b78f);
  box-shadow: 18px 20px 0 rgba(0,0,0,.55);
  color: #29231a;
  text-align: center;
  animation: fx-diary-card 1.56s cubic-bezier(.16,.76,.2,1) both;
}
.screen-fx__diary-card span {
  justify-self: center;
  margin-bottom: 22px;
  padding: 7px 12px;
  border: 3px double #833638;
  color: #833638;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .17em;
}
.screen-fx__diary-card strong {
  font-family: Georgia, "Yu Mincho", serif;
  font-size: clamp(1.6rem, 4vw, 3.1rem);
  letter-spacing: .02em;
}
.screen-fx__diary-card small { margin-top: 12px; font-size: .62rem; letter-spacing: .18em; }
.scroll-scene.is-scene-playing[data-screen-effect="diary"] > .scene-content {
  animation: scene-diary-open 1.62s cubic-bezier(.16,.76,.2,1) both;
}
#activity.is-scene-playing .news-row { animation: diary-entry-in .48s ease-out both; }
#activity.is-scene-playing .news-row:nth-child(1) { animation-delay: .64s; }
#activity.is-scene-playing .news-row:nth-child(2) { animation-delay: .72s; }
#activity.is-scene-playing .news-row:nth-child(3) { animation-delay: .80s; }
#activity.is-scene-playing .news-row:nth-child(4) { animation-delay: .88s; }
#activity.is-scene-playing .news-row:nth-child(5) { animation-delay: .96s; }
#activity.is-scene-playing .news-row:nth-child(6) { animation-delay: 1.04s; }

@keyframes fx-noise-shift {
  0% { transform: translate3d(-3%, -2%, 0); background-position: 0 0; }
  25% { transform: translate3d(4%, 1%, 0); background-position: 37px -71px; }
  50% { transform: translate3d(-1%, 5%, 0); background-position: -83px 29px; }
  75% { transform: translate3d(5%, -4%, 0); background-position: 52px 101px; }
  100% { transform: translate3d(-4%, 3%, 0); background-position: -41px -33px; }
}
@keyframes fx-caption-in {
  0%, 15% { opacity: 0; transform: translateX(8px); }
  18%, 35% { opacity: .35; }
  38%, 72% { opacity: 1; transform: none; }
  73%, 78% { opacity: .25; }
  80%, 100% { opacity: 0; }
}
@keyframes fx-power-shell {
  0%, 17% { opacity: 1; background: #000; }
  30% { opacity: .97; background: rgba(0,2,1,.98); }
  43% { opacity: .86; background: rgba(0,6,3,.94); }
  56% { opacity: .65; background: rgba(0,8,4,.82); }
  70% { opacity: .40; background: rgba(0,9,4,.58); }
  84% { opacity: .16; background: rgba(0,8,3,.30); }
  100% { opacity: 0; background: transparent; }
}
@keyframes fx-power-line {
  0%, 10% { width: 0; height: 0; opacity: 0; }
  16% { width: 5px; height: 4px; border-radius: 50%; opacity: 1; }
  29% { width: 46%; height: 2px; border-radius: 0; opacity: 1; }
  40% { width: 94%; height: 2px; opacity: .96; }
  50% { width: 108%; height: 5px; opacity: .88; }
  62% { width: 112%; height: 28%; opacity: .52; }
  75% { width: 114%; height: 96%; opacity: .18; }
  88% { width: 116%; height: 112%; opacity: .06; }
  100% { width: 116%; height: 116%; opacity: 0; }
}
@keyframes fx-power-noise {
  0%, 16% { opacity: 0; }
  23% { opacity: .18; }
  32% { opacity: .38; }
  42% { opacity: .13; }
  53% { opacity: .27; }
  66% { opacity: .14; }
  80% { opacity: .06; }
  100% { opacity: 0; }
}
@keyframes research-crt-dark-emerge {
  0%, 22% { opacity: 1; }
  34% { opacity: .96; }
  46% { opacity: .82; }
  58% { opacity: .58; }
  70% { opacity: .34; }
  83% { opacity: .14; }
  100% { opacity: 0; }
}
@keyframes scene-power-on {
  0%, 20% {
    opacity: 0;
    transform: translateY(0) scaleX(.88) scaleY(.008);
    filter: brightness(.04) contrast(2.25) saturate(0) blur(1.7px);
  }
  29% {
    opacity: .035;
    transform: translateY(-2px) scaleX(.95) scaleY(.018);
    filter: brightness(.18) contrast(2.05) saturate(0) blur(1.4px);
  }
  37% {
    opacity: .11;
    transform: translateY(-5px) scaleX(.985) scaleY(.20);
    filter: brightness(.34) contrast(1.88) saturate(.16) sepia(.12) hue-rotate(68deg) blur(1.05px);
  }
  45% {
    opacity: .26;
    transform: translate(-5px, -19px) scaleX(1.022) scaleY(.86);
    filter:
      brightness(.54)
      contrast(1.68)
      saturate(.32)
      sepia(.10)
      hue-rotate(62deg)
      blur(.78px)
      drop-shadow(-16px 0 0 rgba(122,255,238,.48))
      drop-shadow(14px 0 0 rgba(255,110,166,.42));
  }
  52% {
    opacity: .48;
    transform: translate(4px, 15px) scaleX(1.017) scaleY(1.052);
    filter:
      brightness(.78)
      contrast(1.52)
      saturate(.46)
      blur(.52px)
      drop-shadow(-13px 0 0 rgba(122,255,238,.40))
      drop-shadow(11px 0 0 rgba(255,110,166,.35));
  }
  59% {
    opacity: .70;
    transform: translate(-3px, -12px) scaleX(1.012) scaleY(1.038);
    filter:
      brightness(1.01)
      contrast(1.38)
      saturate(.61)
      blur(.32px)
      drop-shadow(-9px 0 0 rgba(122,255,238,.29))
      drop-shadow(8px 0 0 rgba(255,110,166,.26));
  }
  66% {
    opacity: .86;
    transform: translate(2px, 9px) scaleX(1.007) scaleY(.982);
    filter:
      brightness(1.13)
      contrast(1.27)
      saturate(.74)
      blur(.18px)
      drop-shadow(-6px 0 0 rgba(122,255,238,.20))
      drop-shadow(5px 0 0 rgba(255,110,166,.18));
  }
  73% {
    opacity: .95;
    transform: translate(-1px, -6px) scaleX(1.003) scaleY(1.014);
    filter:
      brightness(1.15)
      contrast(1.18)
      saturate(.83)
      drop-shadow(-3px 0 0 rgba(122,255,238,.12))
      drop-shadow(3px 0 0 rgba(255,110,166,.10));
  }
  81% {
    opacity: .99;
    transform: translateY(3px) scaleY(.995);
    filter: brightness(1.10) contrast(1.10) saturate(.91);
  }
  89% {
    opacity: 1;
    transform: translateY(-1px) scaleY(1.003);
    filter: brightness(1.04) contrast(1.04) saturate(.97);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes fx-channel-shell {
  0%, 8% { opacity: .82; }
  9%, 15% { opacity: 1; }
  16%, 20% { opacity: .2; }
  21%, 52% { opacity: 1; }
  53%, 57% { opacity: .32; }
  58%, 77% { opacity: .92; }
  78%, 84% { opacity: .18; }
  85%, 100% { opacity: 0; }
}
@keyframes fx-channel-noise {
  0%, 55% { opacity: .94; filter: contrast(1.9) grayscale(1); }
  56%, 67% { opacity: .55; filter: contrast(2.4) grayscale(1); }
  78% { opacity: .16; }
  100% { opacity: 0; }
}
@keyframes fx-roll-down {
  0% { top: -28%; opacity: .2; }
  20% { opacity: .85; }
  100% { top: 108%; opacity: 0; }
}
@keyframes fx-channel-caption {
  0%, 16% { opacity: 0; }
  17%, 25% { opacity: 1; transform: translateX(-12px); }
  26%, 32% { opacity: .15; transform: translateX(9px); }
  33%, 64% { opacity: 1; transform: none; }
  65%, 72% { opacity: .28; }
  73%, 100% { opacity: 0; }
}
@keyframes scene-channel-switch {
  0%, 38% { opacity: 0; transform: translateX(-14px) skewX(-.7deg); filter: grayscale(1) contrast(2.3); clip-path: inset(0 0 72% 0); }
  44% { opacity: .16; transform: translateX(20px); clip-path: inset(42% 0 24% 0); }
  50% { opacity: 0; transform: translateX(-10px); clip-path: inset(70% 0 0 0); }
  58% { opacity: .58; transform: translateX(13px); filter: grayscale(1) contrast(2.1); clip-path: inset(8% 0 45% 0); }
  64% { opacity: .08; transform: translateX(-17px); clip-path: inset(46% 0 17% 0); }
  72% { opacity: .76; transform: translateX(7px); filter: grayscale(.78) contrast(1.55); clip-path: inset(0); }
  80% { opacity: .24; transform: translateX(-3px); filter: grayscale(.48) contrast(1.32); }
  88% { opacity: 1; transform: translateX(1px); filter: grayscale(.12); }
  100% { opacity: 1; transform: none; filter: none; clip-path: inset(0); }
}
@keyframes fx-static-shell {
  0%, 58% { opacity: 1; background: #040605; }
  72% { opacity: .75; }
  100% { opacity: 0; }
}
@keyframes fx-static-noise {
  0%, 42% { opacity: .96; filter: grayscale(1) contrast(2.3); }
  56% { opacity: .7; }
  70% { opacity: .28; filter: grayscale(.8) contrast(1.5); }
  100% { opacity: 0; }
}
@keyframes fx-static-roll {
  0% { top: -22%; opacity: 0; }
  24% { opacity: .8; }
  76% { top: 88%; opacity: .5; }
  100% { top: 112%; opacity: 0; }
}
@keyframes fx-static-caption {
  0%, 36% { opacity: 0; }
  43%, 61% { opacity: .45; transform: translateX(-7px); }
  66%, 80% { opacity: 1; transform: none; }
  100% { opacity: 0; }
}
@keyframes scene-static-resolve {
  0%, 34% { opacity: 0; transform: translateY(34px) scale(.982); filter: blur(6px) grayscale(1) contrast(1.8); }
  47% { opacity: .14; transform: translateY(25px) scale(.987); }
  64% { opacity: .72; transform: translateY(6px) scale(.997); filter: blur(1.4px) grayscale(.55) contrast(1.28); }
  78% { opacity: 1; transform: translateY(-3px); filter: blur(0) grayscale(.12) contrast(1.08); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes fx-dropout-shell {
  0%, 10% { opacity: 0; }
  11%, 48% { opacity: 1; background: #000; }
  49%, 55% { opacity: .22; }
  56%, 64% { opacity: .9; }
  65%, 72% { opacity: .08; }
  73%, 80% { opacity: .62; }
  81%, 88% { opacity: .12; }
  89%, 100% { opacity: 0; }
}
@keyframes fx-no-signal {
  0%, 17% { opacity: 0; }
  18%, 43% { opacity: .92; }
  44%, 49% { opacity: .12; }
  50%, 58% { opacity: .8; transform: translate(-49%, -50%); }
  59%, 100% { opacity: 0; }
}
@keyframes fx-dropout-line {
  0%, 46% { opacity: 0; width: 0; height: 2px; }
  48% { opacity: 1; width: 2%; height: 2px; }
  58% { opacity: .92; width: 72%; height: 2px; }
  68% { opacity: .35; width: 104%; height: 12%; }
  80%, 100% { opacity: 0; width: 110%; height: 100%; }
}
@keyframes fx-dropout-noise {
  0%, 44% { opacity: 0; }
  45%, 51% { opacity: .82; }
  52%, 56% { opacity: .08; }
  57%, 64% { opacity: .72; }
  65%, 70% { opacity: .12; }
  71%, 77% { opacity: .46; }
  78%, 100% { opacity: 0; }
}
@keyframes scene-signal-dropout {
  0%, 54% { opacity: 0; transform: translateX(0); filter: brightness(0); }
  58% { opacity: .08; transform: translateX(11px); filter: grayscale(1) contrast(2.3); }
  64% { opacity: 0; transform: translateX(-7px); }
  71% { opacity: .46; transform: translateX(5px); filter: grayscale(1) contrast(1.75); }
  77% { opacity: .1; transform: translateX(-3px); }
  84% { opacity: .82; transform: translateX(2px); filter: grayscale(.55) contrast(1.3); }
  91% { opacity: .48; transform: translateX(-1px); filter: grayscale(.22) contrast(1.12); }
  96% { opacity: 1; transform: translateX(1px); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes fx-mono-shell {
  0%, 58% { opacity: .36; }
  74% { opacity: .2; }
  100% { opacity: 0; }
}
@keyframes fx-mono-caption {
  0%, 11% { opacity: 0; }
  18%, 58% { opacity: .9; }
  66%, 100% { opacity: 0; }
}
@keyframes fx-color-sync {
  0% { left: -4%; opacity: 0; }
  10% { opacity: .9; }
  72% { left: 103%; opacity: .8; }
  100% { left: 112%; opacity: 0; }
}
@keyframes fx-mono-noise {
  0%, 48% { opacity: .22; filter: grayscale(1) contrast(1.8); }
  62% { opacity: .12; }
  100% { opacity: 0; }
}
@keyframes scene-monochrome-return {
  0%, 42% { filter: grayscale(1) saturate(0) contrast(1.24) brightness(.84); }
  55% { filter: grayscale(.92) saturate(.18) contrast(1.2) brightness(.9); }
  68% { filter: grayscale(.64) saturate(.52) contrast(1.15) brightness(.95); }
  80% { filter: grayscale(.24) saturate(1.25) contrast(1.08); }
  89% { filter: grayscale(0) saturate(1.42) contrast(1.04); }
  100% { filter: none; }
}
@keyframes fx-diary-shell {
  0%, 68% { opacity: 1; }
  82% { opacity: .68; }
  100% { opacity: 0; }
}
@keyframes fx-diary-noise {
  0%, 18% { opacity: .48; filter: sepia(.8) contrast(1.7); }
  32%, 70% { opacity: .08; }
  82% { opacity: .34; }
  100% { opacity: 0; }
}
@keyframes fx-diary-card {
  0% { opacity: 0; transform: translate(-50%, -47%) rotate(-2.8deg) scale(.86); filter: blur(5px); }
  18% { opacity: 1; transform: translate(-50%, -50%) rotate(-1.2deg) scale(1); filter: none; }
  67% { opacity: 1; transform: translate(-50%, -50%) rotate(-.5deg) scale(1); }
  82% { opacity: .42; transform: translate(-50%, -52%) rotate(.4deg) scale(1.045); }
  100% { opacity: 0; transform: translate(-50%, -55%) rotate(.8deg) scale(1.08); }
}
@keyframes scene-diary-open {
  0%, 35% { opacity: 0; transform: perspective(900px) rotateX(11deg) translateY(56px) scale(.95); filter: sepia(.65) brightness(.72) blur(3px); }
  55% { opacity: .58; transform: perspective(900px) rotateX(4deg) translateY(22px) scale(.98); filter: sepia(.4) brightness(.9) blur(1px); }
  75% { opacity: 1; transform: perspective(900px) rotateX(-1deg) translateY(-4px); filter: sepia(.12); }
  100% { opacity: 1; transform: none; filter: none; }
}
@keyframes diary-entry-in {
  0% { opacity: 0; transform: translateX(-12px); filter: blur(1px); }
  100% { opacity: 1; transform: none; filter: none; }
}

@media (max-width: 680px) {
  .screen-fx__caption { top: 14px; right: 12px; min-width: 190px; padding: 7px 9px; }
  #activity.activity-diary > .scene-content {
    width: calc(100% - 24px);
    padding: 56px 20px 58px 30px;
    background:
      linear-gradient(90deg, transparent 0 18px, rgba(116,36,36,.18) 18px 20px, transparent 20px),
      repeating-linear-gradient(to bottom, transparent 0 35px, rgba(82,75,60,.14) 35px 36px),
      linear-gradient(105deg, #e3d8ba 0%, #eee5cc 48%, #d7c8a7 100%);
    box-shadow: 7px 8px 0 rgba(23,20,15,.55), 0 16px 42px rgba(0,0,0,.32);
  }
  #activity.activity-diary > .scene-content::before { top: 19px; right: 18px; }
  #activity.activity-diary > .scene-content::after { right: 18px; bottom: 14px; font-size: .47rem; }
  #activity.activity-diary .news-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 17px 4px 17px 48px;
  }
  #activity.activity-diary .news-row::before { left: 1px; top: 16px; width: 30px; height: 30px; }
  #activity.activity-diary .news-row a { margin-top: 5px; }
  .screen-fx__diary-card { min-height: 250px; }
}

@media (prefers-reduced-motion: reduce) {
  .screen-fx { display: none !important; }
  .scroll-scene > .scene-content,
  .scroll-scene .news-row {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    animation: none !important;
  }
}

/* =========================================================
   Tuning update (2026-07-25):
   - People right-side photo gets a mid-1980s photo palette.
   - Student Outcomes swaps monochrome recovery for an analogue
     signal disturbance with noise / chroma jitter, then recovery.
   ========================================================= */

/* PEOPLE: right-side work photo with a mid-1980s print look. */
.people-photo--work {
  position: relative;
  isolation: isolate;
  background: #151115;
}
.people-photo--work img {
  object-position: 50% 48%;
  filter: sepia(.24) saturate(.82) hue-rotate(-12deg) contrast(.92) brightness(.98);
}
.people-photo--work::before,
.people-photo--work::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.people-photo--work::before {
  z-index: 1;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 231, 189, .18), transparent 28%),
    linear-gradient(140deg, rgba(227, 146, 118, .16), rgba(129, 88, 168, .08) 52%, rgba(52, 86, 128, .15));
  mix-blend-mode: screen;
}
.people-photo--work::after {
  z-index: 2;
  opacity: .72;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.045) 0 1px, transparent 1px 3px),
    linear-gradient(to bottom, rgba(255,255,255,.06), rgba(0,0,0,.12));
  mix-blend-mode: soft-light;
}

/* STUDENT OUTCOMES: visible before trigger, then analogue distortion and recovery. */
.outcomes-door {
  position: relative;
  isolation: isolate;
}
.outcomes-door::before,
.outcomes-door::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.outcomes-door::before {
  z-index: 2;
  background:
    linear-gradient(90deg,
      rgba(255, 0, 72, .22) 0%,
      rgba(255, 255, 255, .04) 18%,
      rgba(0, 196, 255, .18) 62%,
      rgba(255, 212, 0, .12) 100%);
  mix-blend-mode: screen;
}
.outcomes-door::after {
  inset: -7%;
  z-index: 3;
  background-image: url("noise.webp");
  background-size: 180px 180px;
  image-rendering: pixelated;
  mix-blend-mode: screen;
}

/* Replace the old monochrome return with a disturbed analogue-sync effect. */
.screen-fx.fx-monochrome.is-active {
  animation: fx-mono-shell 1.84s linear both;
  background: rgba(2, 6, 8, .16);
}
.fx-monochrome .screen-fx__caption {
  animation: fx-mono-caption 1.72s steps(2, end) both;
}
.fx-monochrome .screen-fx__color-sync {
  animation: fx-color-sync 1.52s .12s cubic-bezier(.12,.72,.2,1) both;
}
.fx-monochrome .screen-fx__noise {
  animation: fx-noise-shift .07s steps(2, end) infinite, fx-mono-noise 1.76s linear both;
}
.fx-monochrome .screen-fx__roll {
  animation: fx-mono-roll 1.2s linear both;
}
.scroll-scene.is-scene-playing[data-screen-effect="monochrome"] > .scene-content {
  animation: scene-monochrome-return 1.82s steps(1, end) both;
}
.scroll-scene.is-scene-playing[data-screen-effect="monochrome"] .outcomes-door img {
  animation: outcome-door-glitch 1.82s steps(1, end) both;
}
.scroll-scene.is-scene-playing[data-screen-effect="monochrome"] .outcomes-door::before {
  animation: outcome-door-rgb 1.82s steps(1, end) both;
}
.scroll-scene.is-scene-playing[data-screen-effect="monochrome"] .outcomes-door::after {
  animation: fx-noise-shift .075s steps(2, end) infinite, outcome-door-noise 1.82s steps(1, end) both;
}

@keyframes fx-mono-shell {
  0%, 69% { opacity: .44; }
  79% { opacity: .22; }
  100% { opacity: 0; }
}
@keyframes fx-mono-caption {
  0%, 8% { opacity: 0; }
  16%, 68% { opacity: .92; }
  78%, 100% { opacity: 0; }
}
@keyframes fx-color-sync {
  0% { left: -8%; opacity: 0; }
  8% { opacity: .92; }
  28% { left: 24%; opacity: .78; }
  48% { left: 62%; opacity: .96; }
  72% { left: 103%; opacity: .72; }
  100% { left: 112%; opacity: 0; }
}
@keyframes fx-mono-noise {
  0%, 15% { opacity: .54; filter: saturate(1.5) contrast(2.1) brightness(1.05); }
  28% { opacity: .34; }
  39% { opacity: .58; filter: saturate(1.75) contrast(2.3); }
  52% { opacity: .24; }
  64% { opacity: .4; }
  78% { opacity: .12; }
  100% { opacity: 0; }
}
@keyframes fx-mono-roll {
  0% { top: -28%; opacity: 0; }
  8% { opacity: .52; }
  18% { top: 8%; opacity: .36; }
  30% { top: 26%; opacity: .2; }
  46% { top: 48%; opacity: .28; }
  60% { top: 71%; opacity: .16; }
  100% { top: 118%; opacity: 0; }
}
@keyframes scene-monochrome-return {
  0%, 14% { filter: brightness(.86) contrast(1.22) saturate(1.42); transform: translateX(0); }
  18% { filter: brightness(.8) contrast(1.28) saturate(1.8); transform: translateX(-.7%); }
  24% { filter: brightness(1.04) contrast(1.36) saturate(.58); transform: translateX(.56%); }
  32% { filter: brightness(.92) contrast(1.24) saturate(1.56); transform: translateX(-.34%); }
  44% { filter: brightness(.96) contrast(1.16) saturate(1.18); transform: translateX(.2%); }
  58% { filter: brightness(1) contrast(1.08) saturate(1.04); }
  76% { filter: brightness(1.02) contrast(1.04) saturate(1.02); transform: none; }
  100% { filter: none; transform: none; }
}
@keyframes outcome-door-rgb {
  0%, 12% { opacity: .1; transform: translateX(0); }
  18% { opacity: .46; transform: translateX(-2.2%); }
  26% { opacity: .28; transform: translateX(1.4%); }
  36% { opacity: .5; transform: translateX(-1.6%); }
  49% { opacity: .22; transform: translateX(.9%); }
  62% { opacity: .16; transform: translateX(-.35%); }
  78% { opacity: .08; transform: none; }
  100% { opacity: 0; transform: none; }
}
@keyframes outcome-door-noise {
  0%, 16% { opacity: .56; transform: translateX(0) scaleY(1); }
  22% { opacity: .24; transform: translateX(-1.7%) scaleY(1.03); }
  33% { opacity: .62; transform: translateX(1.4%) scaleY(.99); }
  46% { opacity: .3; transform: translateX(-.8%) scaleY(1.02); }
  58% { opacity: .42; transform: translateX(.48%) scaleY(1); }
  72% { opacity: .14; transform: none; }
  100% { opacity: 0; transform: none; }
}
@keyframes outcome-door-glitch {
  0%, 12% {
    transform: translate(0, 0) scale(1.01);
    filter: saturate(1.54) contrast(1.18) brightness(.94);
  }
  18% {
    transform: translate(-1.4%, .2%) scaleX(1.03);
    filter: hue-rotate(-18deg) saturate(1.86) contrast(1.34) brightness(.9);
  }
  24% {
    transform: translate(.9%, -.4%) skewX(1.5deg) scaleY(1.01);
    filter: hue-rotate(22deg) saturate(.64) contrast(1.28) brightness(1.06);
  }
  31% {
    transform: translate(-.6%, .8%) scaleX(.99);
    filter: hue-rotate(-10deg) saturate(1.72) contrast(1.42) brightness(1.02);
  }
  40% {
    transform: translate(1.8%, -.2%) skewX(-1.8deg) scaleX(1.03);
    filter: hue-rotate(38deg) saturate(1.92) contrast(1.3) brightness(.98);
  }
  52% {
    transform: translate(-1.1%, .1%) scaleY(1.02);
    filter: hue-rotate(-26deg) saturate(1.62) contrast(1.28) brightness(1.04);
  }
  64% {
    transform: translate(.42%, 0) scale(1.008);
    filter: saturate(.92) contrast(1.14) brightness(1.05);
  }
  78% {
    transform: translate(-.18%, 0) scale(1.003);
    filter: saturate(1.12) contrast(1.06) brightness(1.01);
  }
  100% {
    transform: none;
    filter: none;
  }
}


/* =========================================================
   Vertical-hold + graduation-eye update (2026-07-25)
   ========================================================= */

/* Student Outcomes: transparent eye correction aligned with the base photo. */
.outcomes-door .outcomes-photo-base {
  position: relative;
  z-index: 0;
}
.outcomes-door .outcomes-eyes-open {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: var(--eye-open-opacity, 0);
  pointer-events: none;
  will-change: opacity;
  transition: opacity .12s linear;
}
.outcomes-door.eyes-open-complete .outcomes-eyes-open {
  opacity: 1;
}

/* FOR INDUSTRY: analogue vertical-hold failure that rolls and then locks. */
.screen-fx__vhold {
  display: none;
}
.screen-fx.fx-vertical-roll.is-active {
  animation: fx-vroll-shell 1.88s linear both;
  background: rgba(1, 5, 5, .46);
}
.fx-vertical-roll .screen-fx__frame::before {
  opacity: .42;
  background:
    repeating-linear-gradient(to bottom, rgba(225,255,236,.085) 0 1px, transparent 1px 4px),
    linear-gradient(to bottom, transparent 0 47%, rgba(255,255,255,.06) 50%, transparent 53%);
}
.fx-vertical-roll .screen-fx__noise {
  opacity: .48;
  animation: fx-noise-shift .065s steps(2, end) infinite, fx-vroll-noise 1.84s linear both;
}
.fx-vertical-roll .screen-fx__roll {
  animation: fx-vroll-band 1.68s linear both;
}
.fx-vertical-roll .screen-fx__caption {
  animation: fx-vroll-caption 1.72s steps(1, end) both;
}
.fx-vertical-roll .screen-fx__vhold {
  display: block;
  position: absolute;
  z-index: 10;
  left: clamp(16px, 4vw, 58px);
  bottom: clamp(18px, 5vw, 62px);
  opacity: 0;
  padding: 9px 12px 8px;
  border-left: 3px solid rgba(220,244,227,.82);
  background: rgba(1,5,3,.62);
  color: #dce8df;
  letter-spacing: .11em;
  text-shadow: 0 0 9px rgba(218,255,226,.72);
  animation: fx-vhold-label 1.72s steps(1, end) both;
}
.screen-fx__vhold b,
.screen-fx__vhold small {
  display: block;
}
.screen-fx__vhold b {
  font-size: clamp(.72rem, 1.25vw, .92rem);
}
.screen-fx__vhold small {
  margin-top: 3px;
  color: #a7b6ab;
  font-size: .54rem;
  letter-spacing: .17em;
}
#industry.is-scene-playing {
  overflow: hidden;
}
.scroll-scene.is-scene-playing[data-screen-effect="vertical-roll"] > .scene-content {
  animation: scene-vroll-settle 1.86s steps(1, end) both;
  will-change: transform, filter, opacity;
}

@keyframes fx-vroll-shell {
  0%, 70% { opacity: .54; }
  78% { opacity: .38; }
  88% { opacity: .18; }
  100% { opacity: 0; }
}
@keyframes fx-vroll-noise {
  0%, 18% { opacity: .46; filter: contrast(1.9) brightness(1.06); }
  31% { opacity: .34; }
  44% { opacity: .42; filter: contrast(1.7) brightness(.98); }
  58% { opacity: .24; }
  72% { opacity: .13; }
  86% { opacity: .08; }
  100% { opacity: 0; }
}
@keyframes fx-vroll-band {
  0% { top: -30%; opacity: 0; }
  4% { opacity: .72; }
  20% { top: 108%; opacity: .5; }
  20.1% { top: -26%; opacity: .64; }
  39% { top: 108%; opacity: .44; }
  39.1% { top: -20%; opacity: .54; }
  57% { top: 104%; opacity: .34; }
  57.1% { top: -11%; opacity: .42; }
  73% { top: 91%; opacity: .25; }
  82% { top: 57%; opacity: .16; }
  91% { top: 48%; opacity: .08; }
  100% { top: 50%; opacity: 0; }
}
@keyframes fx-vroll-caption {
  0%, 8% { opacity: 0; }
  12%, 62% { opacity: .92; }
  68% { opacity: .46; }
  72% { opacity: .86; }
  82%, 100% { opacity: 0; }
}
@keyframes fx-vhold-label {
  0%, 7% { opacity: 0; }
  12%, 58% { opacity: .86; transform: translateY(0); }
  62% { opacity: .28; transform: translateY(3px); }
  66% { opacity: .8; transform: translateY(-1px); }
  78%, 100% { opacity: 0; transform: translateY(5px); }
}
@keyframes scene-vroll-settle {
  0% {
    opacity: .28;
    transform: translateY(-72vh) scaleY(1.035);
    filter: brightness(.72) contrast(1.36) saturate(.68) blur(1.8px);
  }
  18% {
    opacity: .72;
    transform: translateY(66vh) scaleY(.99);
    filter: brightness(.92) contrast(1.28) saturate(.78) blur(.9px);
  }
  18.1% {
    opacity: .48;
    transform: translateY(-54vh) scaleY(1.026);
  }
  37% {
    opacity: .82;
    transform: translateY(49vh) scaleY(.995);
    filter: brightness(.98) contrast(1.22) saturate(.84) blur(.65px);
  }
  37.1% {
    opacity: .58;
    transform: translateY(-34vh) scaleY(1.018);
  }
  55% {
    opacity: .88;
    transform: translateY(29vh) scaleY(.998);
    filter: brightness(1) contrast(1.16) saturate(.9) blur(.42px);
  }
  55.1% {
    opacity: .7;
    transform: translateY(-18vh) scaleY(1.012);
  }
  70% {
    opacity: .94;
    transform: translateY(12vh) scaleY(1.002);
    filter: brightness(1.02) contrast(1.1) saturate(.96) blur(.22px);
  }
  70.1% {
    transform: translateY(-6.5vh) scaleY(1.006);
  }
  82% {
    opacity: 1;
    transform: translateY(3.6vh) scaleY(1.001);
    filter: brightness(1.01) contrast(1.05) saturate(.99);
  }
  89% {
    transform: translateY(-1.4vh);
  }
  95% {
    transform: translateY(.45vh);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 680px) {
  .fx-vertical-roll .screen-fx__vhold {
    left: 12px;
    bottom: 16px;
    padding: 7px 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .outcomes-door .outcomes-eyes-open {
    opacity: 1 !important;
    transition: none !important;
  }
}

/* =========================================================
   CONTACT transition: CRT power-off -> blackout -> warm power-on
   ========================================================= */

.crt-contact-exiting,
.crt-contact-entry {
  background: #000;
}
.crt-contact-exiting body {
  overflow: hidden;
}

.crt-contact-exit-fx,
.crt-contact-entry-fx {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  overflow: hidden;
  pointer-events: none;
  background: transparent;
  color: rgba(202, 236, 211, .82);
  isolation: isolate;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
.crt-contact-aperture {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  background: transparent;
  box-shadow: 0 0 0 120vmax #000;
  will-change: width, height, filter;
}
.crt-contact-phosphor {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: rgba(241, 255, 244, .98);
  box-shadow:
    0 0 5px rgba(255,255,255,.95),
    0 0 18px rgba(176,255,199,.88),
    0 0 54px rgba(122,232,155,.58);
}
.crt-contact-static,
.crt-contact-vignette {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.crt-contact-static {
  z-index: 3;
  inset: -14%;
  background-image: url("noise.webp");
  background-size: 180px 180px;
  image-rendering: pixelated;
  mix-blend-mode: screen;
}
.crt-contact-vignette {
  z-index: 4;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.05) 0 1px, transparent 1px 4px),
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,.34) 72%, rgba(0,0,0,.9) 100%);
}
.crt-contact-label {
  position: absolute;
  right: clamp(16px, 4vw, 54px);
  bottom: clamp(16px, 4vw, 42px);
  z-index: 5;
  opacity: 0;
  padding: 7px 10px;
  border: 1px solid rgba(152, 219, 173, .42);
  background: rgba(0, 9, 5, .62);
  font-size: clamp(.56rem, 1.1vw, .72rem);
  letter-spacing: .16em;
  text-shadow: 0 0 8px rgba(145,255,180,.48);
}

/* Exit: black shutters close from top and bottom, then the phosphor line collapses. */
.crt-contact-exit-fx .crt-contact-aperture {
  animation: crt-contact-power-off 1.08s cubic-bezier(.18,.74,.16,1) both;
}
.crt-contact-exit-fx .crt-contact-phosphor {
  animation: crt-contact-power-off-line 1.08s linear both;
}
.crt-contact-exit-fx .crt-contact-static {
  animation: crt-contact-exit-static .42s steps(3,end) both;
}
.crt-contact-exit-fx .crt-contact-vignette {
  animation: crt-contact-exit-vignette .82s linear both;
}
.crt-contact-exit-fx .crt-contact-label {
  animation: crt-contact-exit-label .78s steps(2,end) both;
}

@keyframes crt-contact-power-off {
  0%, 12% { width: 100vw; height: 100vh; filter: brightness(1); }
  48% { width: 100vw; height: 12px; filter: brightness(1.5); }
  64% { width: 100vw; height: 2px; filter: brightness(2.8); }
  82% { width: 42vw; height: 2px; filter: brightness(4); }
  94% { width: 4px; height: 2px; filter: brightness(7); }
  100% { width: 0; height: 0; filter: brightness(0); }
}
@keyframes crt-contact-power-off-line {
  0%, 34% { opacity: 0; width: 100%; }
  47% { opacity: .95; width: 100%; }
  64% { opacity: 1; width: 100%; }
  82% { opacity: .96; width: 42%; }
  94% { opacity: .82; width: 4px; height: 4px; border-radius: 50%; }
  100% { opacity: 0; width: 0; height: 0; }
}
@keyframes crt-contact-exit-static {
  0% { opacity: 0; transform: translate(0); }
  10% { opacity: .18; }
  22% { opacity: .52; transform: translate(-2%, 1%); }
  34% { opacity: .16; transform: translate(2%, -1%); }
  44%, 100% { opacity: 0; }
}
@keyframes crt-contact-exit-vignette {
  0% { opacity: .05; }
  34% { opacity: .35; }
  68%, 100% { opacity: .9; }
}
@keyframes crt-contact-exit-label {
  0%, 12% { opacity: 0; }
  20%, 50% { opacity: .72; }
  58%, 100% { opacity: 0; }
}

/* Contact page is hidden before the deferred script runs, preventing a bright flash. */
.crt-contact-entry body > :not(.crt-contact-entry-fx) {
  opacity: 0;
  filter: brightness(0) contrast(1.35) blur(2px);
}
.crt-contact-entry.crt-contact-entry-revealing body > :not(.crt-contact-entry-fx) {
  animation: crt-contact-page-warmup 2.7s linear both;
}
.crt-contact-entry-fx {
  background: transparent;
}
.crt-contact-entry-fx .crt-contact-aperture {
  width: 0;
  height: 2px;
  animation: crt-contact-power-on 2.66s cubic-bezier(.18,.76,.18,1) both;
}
.crt-contact-entry-fx .crt-contact-phosphor {
  animation: crt-contact-power-on-line 2.52s linear both;
}
.crt-contact-entry-fx .crt-contact-static {
  animation: crt-contact-entry-static 2.58s steps(3,end) both;
}
.crt-contact-entry-fx .crt-contact-vignette {
  animation: crt-contact-entry-vignette 2.66s linear both;
}
.crt-contact-entry-fx .crt-contact-label {
  animation: crt-contact-entry-label 2.54s steps(2,end) both;
}

@keyframes crt-contact-power-on {
  0%, 18% { width: 0; height: 0; filter: brightness(0); }
  24% { width: 5px; height: 3px; filter: brightness(8); }
  38% { width: 68vw; height: 2px; filter: brightness(4); }
  48% { width: 100vw; height: 3px; filter: brightness(2.5); }
  60% { width: 100vw; height: 11vh; filter: brightness(1.7); }
  72% { width: 100vw; height: 76vh; filter: brightness(1.22); }
  84% { width: 100vw; height: 103vh; filter: brightness(1.05); }
  91% { width: 100vw; height: 98vh; }
  96% { width: 100vw; height: 101vh; }
  100% { width: 100vw; height: 100vh; filter: none; }
}
@keyframes crt-contact-power-on-line {
  0%, 20% { opacity: 0; width: 0; height: 0; }
  25% { opacity: 1; width: 5px; height: 5px; border-radius: 50%; }
  39% { opacity: 1; width: 68%; height: 2px; border-radius: 0; }
  50% { opacity: .96; width: 100%; }
  61% { opacity: .52; }
  70%, 100% { opacity: 0; }
}
@keyframes crt-contact-entry-static {
  0%, 20% { opacity: 0; }
  24% { opacity: .66; transform: translate(-2%,1%); }
  32% { opacity: .18; transform: translate(2%,-1%); }
  41% { opacity: .52; }
  54% { opacity: .22; }
  69% { opacity: .12; }
  84%, 100% { opacity: 0; }
}
@keyframes crt-contact-entry-vignette {
  0%, 20% { opacity: 1; }
  42% { opacity: .86; }
  68% { opacity: .44; }
  88% { opacity: .16; }
  100% { opacity: 0; }
}
@keyframes crt-contact-entry-label {
  0%, 22% { opacity: 0; }
  28%, 66% { opacity: .76; }
  74% { opacity: .22; }
  82%, 100% { opacity: 0; }
}
@keyframes crt-contact-page-warmup {
  0%, 23% { opacity: 0; filter: brightness(0) contrast(1.4) blur(2px); }
  32% { opacity: .16; filter: brightness(1.8) contrast(1.55) saturate(.55) blur(1.4px); }
  39% { opacity: .05; filter: brightness(.45) contrast(1.7) saturate(.45) blur(1.2px); }
  47% { opacity: .48; filter: brightness(1.28) contrast(1.35) saturate(.72) blur(.8px); }
  55% { opacity: .24; filter: brightness(.74) contrast(1.45) saturate(.64) blur(.6px); }
  64% { opacity: .72; filter: brightness(1.12) contrast(1.2) saturate(.86) blur(.35px); }
  74% { opacity: .62; filter: brightness(.94) contrast(1.16) saturate(.9); }
  84% { opacity: .92; filter: brightness(1.04) contrast(1.08) saturate(.97); }
  92% { opacity: .86; filter: brightness(.98) contrast(1.06) saturate(.98); }
  100% { opacity: 1; filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .crt-contact-entry body > :not(.crt-contact-entry-fx) {
    opacity: 1 !important;
    filter: none !important;
    animation: none !important;
  }
  .crt-contact-exit-fx,
  .crt-contact-entry-fx {
    display: none !important;
  }
}

/* =========================================================
   CONTACT / RETRO TERMINAL SHELL PRESENTATION
   ========================================================= */

html.skip-scene-effects .scroll-scene[data-screen-effect] > .scene-content,
html.skip-scene-effects .scroll-scene[data-screen-effect]:not(.is-scene-playing):not(.is-scene-complete) > .scene-content {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
}

body.contact-dos-shell {
  --dos-black: #020303;
  --dos-blue: #0000aa;
  --dos-blue-hi: #0000d8;
  --dos-cyan: #00aaaa;
  --dos-cyan-hi: #55ffff;
  --dos-green: #00aa00;
  --dos-green-hi: #55ff55;
  --dos-white: #f4f2e8;
  --dos-gray: #c7c7be;
  --dos-dark-gray: #55554e;
  min-height: 100svh;
  margin: 0;
  padding: clamp(8px, 2vw, 22px);
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at center, #192124 0%, #090d0e 58%, #010202 100%);
  color: #050505;
  font-family: "MS Gothic", "Osaka-Mono", "Yu Gothic UI", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, monospace;
  font-size: 15px;
  line-height: 1.45;
  text-rendering: geometricPrecision;
}
body.contact-dos-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .22;
  background-image: url("noise.webp");
  background-size: 220px 220px;
  mix-blend-mode: screen;
}
.contact-dos-shell a { color: inherit; }
.contact-dos-shell .skip-link {
  z-index: 2147483600;
  background: var(--dos-white);
  color: #000;
  border-color: #000;
  font-weight: 700;
}

.dos-crt-glass {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  pointer-events: none;
  opacity: .3;
  background:
    repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0 2px, rgba(0,0,0,.22) 3px 4px),
    radial-gradient(ellipse at center, transparent 48%, rgba(0,0,0,.22) 78%, rgba(0,0,0,.68) 100%);
  mix-blend-mode: multiply;
}
.dos-crt-glass::before {
  content: "";
  position: absolute;
  inset: -18%;
  opacity: .12;
  background-image: url("noise.webp");
  background-size: 180px 180px;
  image-rendering: pixelated;
  animation: dos-crt-noise .14s steps(2, end) infinite;
}

.dos-machine {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  min-height: calc(100svh - clamp(16px, 4vw, 44px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 8px solid #242724;
  outline: 2px solid #050505;
  background: var(--dos-gray);
  box-shadow:
    0 0 0 1px #666b66,
    0 0 46px rgba(0, 255, 238, .13),
    inset 0 0 0 2px #050505;
}
.dos-machine::after {
  content: "SOLID MECHANICS LAB. / DISPLAY MODE 640×400";
  position: absolute;
  top: 5px;
  right: 10px;
  z-index: 3;
  color: rgba(255,255,255,.58);
  font-size: .67rem;
  letter-spacing: .04em;
  pointer-events: none;
}

.dos-shell-header {
  flex: 0 0 auto;
  border-bottom: 2px solid #000;
}
.dos-titlebar {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 4px 150px 4px 14px;
  background: var(--dos-blue);
  color: #fff;
  text-align: center;
  letter-spacing: .035em;
  text-shadow: 1px 1px #000;
}
.dos-titlebar strong { font-size: 1rem; }
.dos-titlebar span { color: #d7ffff; font-size: .76rem; }
.dos-menubar {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  border-top: 1px solid var(--dos-cyan-hi);
  border-bottom: 2px solid #000;
  background: var(--dos-cyan);
  color: #000;
  white-space: nowrap;
  scrollbar-width: thin;
}
.dos-menubar a {
  display: block;
  padding: 6px 14px;
  border-right: 1px solid rgba(0,0,0,.4);
  font-weight: 700;
}
.dos-menubar a:hover,
.dos-menubar a:focus-visible {
  outline: 0;
  background: var(--dos-black);
  color: var(--dos-cyan-hi);
}
.dos-menubar u { text-decoration-thickness: 1px; text-underline-offset: 2px; }

.dos-drivebar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 9px;
  background: var(--dos-white);
  color: #000;
}
.dos-drives { display: flex; gap: 8px; }
.dos-drive {
  min-width: 52px;
  display: inline-grid;
  place-items: center;
  padding: 3px 9px;
  border: 2px outset #fff;
  background: var(--dos-gray);
  font-weight: 800;
}
.dos-drive::before { content: "▰"; margin-right: 5px; }
.dos-drive.is-active {
  border-style: inset;
  background: var(--dos-blue);
  color: #fff;
}
.dos-system-id {
  min-width: 0;
  overflow: hidden;
  color: #222;
  font-size: .76rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dos-workspace {
  flex: 1 1 auto;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 8px;
  background: var(--dos-gray);
}
.dos-program-banner {
  border: 2px inset #fff;
  padding: 11px 14px 12px;
  background: #101010;
  color: var(--dos-green-hi);
  text-shadow: 0 0 7px rgba(85,255,85,.35);
}
.dos-program-banner > div {
  color: var(--dos-cyan-hi);
  font-size: .76rem;
}
.dos-program-banner h1 {
  margin: 3px 0 2px;
  color: #fff;
  font-size: clamp(1.24rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: .045em;
}
.dos-program-banner p { margin: 0; color: #d7ffd7; }
.dos-prompt { color: var(--dos-cyan-hi); font-weight: 800; }

.dos-window {
  position: relative;
  border: 2px solid #000;
  background: var(--dos-white);
  color: #000;
  box-shadow: inset 1px 1px #fff, inset -1px -1px #666;
}
.dos-window-title {
  min-height: 28px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-bottom: 2px solid #000;
  background: var(--dos-cyan);
  color: #fff;
  font-size: .94rem;
  line-height: 1.2;
  letter-spacing: .08em;
  text-shadow: 1px 1px #006060;
}
.dos-manager-grid {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.6fr);
  min-height: 190px;
}
.dos-tree {
  padding: 9px 7px;
  border-right: 2px solid #000;
  background: #fbfbf3;
  overflow: auto;
}
.dos-tree-root,
.dos-tree-branch,
.dos-tree-row {
  min-height: 29px;
  display: flex;
  align-items: center;
  padding: 3px 7px;
  white-space: nowrap;
}
.dos-tree-root { font-weight: 800; }
.dos-tree-branch { padding-left: 18px; font-weight: 800; }
.dos-tree-row { margin-left: 15px; }
.dos-tree-row:hover,
.dos-tree-row:focus-visible,
.dos-tree-row.is-selected {
  outline: 0;
  background: var(--dos-green-hi);
  color: #000;
}
.dos-file-pane {
  min-width: 0;
  overflow-x: auto;
  background: #fff;
}
.dos-file-head,
.dos-file-row {
  min-width: 640px;
  display: grid;
  grid-template-columns: minmax(175px, 1.25fr) minmax(125px, .85fr) 90px 110px;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 3px 9px;
}
.dos-file-head {
  border-bottom: 1px solid #000;
  background: #e7e7df;
  font-size: .72rem;
  font-weight: 800;
}
.dos-file-row {
  border-bottom: 1px dotted #888;
  font-size: .83rem;
}
.dos-file-row span:nth-child(3),
.dos-file-row span:nth-child(4) { text-align: right; }
.dos-file-row:hover,
.dos-file-row:focus-visible,
.dos-file-row.is-selected {
  outline: 0;
  background: var(--dos-green-hi);
  color: #000;
}

.dos-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #000;
}
.dos-contact-card {
  min-width: 0;
  min-height: 184px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-content: start;
  padding: 15px;
  background: var(--dos-white);
  color: #000;
  scroll-margin-top: 16px;
}
.dos-contact-card:focus { outline: none; }
.dos-contact-card.is-selected {
  box-shadow: inset 0 0 0 4px var(--dos-green-hi);
}
.dos-card-icon {
  width: 54px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 2px solid #000;
  background: var(--dos-blue);
  color: #fff;
  box-shadow: 3px 3px 0 #777;
  font-size: 1.4rem;
  font-weight: 900;
}
.dos-card-icon--map { background: var(--dos-cyan); color: #000; }
.dos-card-icon--request { background: var(--dos-green); color: #fff; }
.dos-card-file {
  display: inline-block;
  margin-bottom: 3px;
  padding: 1px 5px;
  background: var(--dos-blue);
  color: #fff;
  font-size: .69rem;
}
.dos-card-body h3 {
  margin: 0 0 5px;
  font-size: 1.08rem;
  line-height: 1.3;
}
.dos-card-body p { margin: 0 0 8px; line-height: 1.55; }
.dos-card-body code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 2px 5px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  font: inherit;
  font-weight: 800;
}
.dos-card-body small {
  display: block;
  margin-top: 5px;
  color: #333;
}
.dos-card-body ul { margin: 4px 0 0; padding-left: 1.35em; }
.dos-inline-link {
  display: inline-block;
  padding: 2px 5px;
  background: var(--dos-green-hi);
  color: #000;
  font-weight: 800;
}
.dos-inline-link:hover,
.dos-inline-link:focus-visible {
  outline: 2px solid #000;
  outline-offset: 1px;
  background: var(--dos-cyan-hi);
}

.dos-command-window {
  border: 2px inset #fff;
  padding: 8px 12px;
  background: #050505;
  color: var(--dos-green-hi);
  text-shadow: 0 0 6px rgba(85,255,85,.35);
}
.dos-command-window > div { color: var(--dos-cyan-hi); }
.dos-command-window p { margin: 2px 0 0; }
.dos-cursor { animation: dos-cursor-blink .72s steps(1,end) infinite; }

.dos-statusbar {
  position: sticky;
  bottom: 0;
  z-index: 6;
  min-height: 34px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 4px 8px;
  border-top: 2px solid #000;
  background: var(--dos-cyan);
  color: #000;
  font-size: .74rem;
  font-weight: 700;
}
.dos-status-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dos-status-actions a { padding: 2px 4px; }
.dos-status-actions a:hover,
.dos-status-actions a:focus-visible {
  outline: 0;
  background: #000;
  color: var(--dos-cyan-hi);
}
.dos-status-message {
  min-width: 0;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.dos-clock {
  min-width: 44px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

@keyframes dos-cursor-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes dos-crt-noise {
  0% { transform: translate(0,0); }
  25% { transform: translate(-1.3%, .8%); }
  50% { transform: translate(.7%, -1.1%); }
  75% { transform: translate(1.1%, .6%); }
  100% { transform: translate(0,0); }
}

@media (max-width: 820px) {
  body.contact-dos-shell { padding: 5px; font-size: 14px; }
  .dos-machine { min-height: calc(100svh - 10px); border-width: 5px; }
  .dos-machine::after { display: none; }
  .dos-titlebar { justify-content: flex-start; padding: 5px 9px; }
  .dos-titlebar span { display: none; }
  .dos-menubar a { padding-inline: 10px; }
  .dos-drivebar { align-items: flex-start; flex-direction: column; gap: 4px; }
  .dos-manager-grid { grid-template-columns: 1fr; }
  .dos-tree { border-right: 0; border-bottom: 2px solid #000; }
  .dos-contact-grid { grid-template-columns: 1fr; }
  .dos-contact-card { min-height: 0; }
  .dos-statusbar { grid-template-columns: 1fr auto; }
  .dos-status-message { display: none; }
}

@media (max-width: 520px) {
  .dos-workspace { padding: 5px; gap: 6px; }
  .dos-program-banner { padding: 9px 10px; }
  .dos-program-banner p { font-size: .82rem; }
  .dos-tree-row { margin-left: 7px; }
  .dos-contact-card { grid-template-columns: 46px minmax(0, 1fr); gap: 9px; padding: 11px 9px; }
  .dos-card-icon { width: 40px; height: 44px; font-size: 1rem; box-shadow: 2px 2px 0 #777; }
  .dos-card-body h3 { font-size: .98rem; }
  .dos-status-actions { gap: 3px; }
  .dos-status-actions a { font-size: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  .dos-crt-glass::before,
  .dos-cursor { animation: none !important; }
}

@media (max-width: 520px) {
  .dos-file-head,
  .dos-file-row {
    min-width: 0;
    grid-template-columns: minmax(150px, 1.25fr) minmax(88px, .75fr);
  }
  .dos-file-head span:nth-child(3),
  .dos-file-head span:nth-child(4),
  .dos-file-row span:nth-child(3),
  .dos-file-row span:nth-child(4) {
    display: none;
  }
}

/* =========================================================
   Ambient analogue interference after RESEARCH RECORD
   Brief low-opacity noise bursts occur only while scrolling.
   ========================================================= */

.ambient-analog-noise {
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 84;
  visibility: hidden;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  isolation: isolate;
  background: transparent;
  will-change: opacity;
}
.ambient-analog-noise.is-active { visibility: visible; }
.ambient-analog-noise__veil,
.ambient-analog-noise__snow,
.ambient-analog-noise__tear,
.ambient-analog-noise__roll,
.ambient-analog-noise__chroma {
  position: absolute;
  pointer-events: none;
}
.ambient-analog-noise__veil {
  inset: 0;
  opacity: 0;
  background: rgba(5, 13, 10, .08);
  -webkit-backdrop-filter: contrast(1.08) saturate(.82) brightness(.96);
  backdrop-filter: contrast(1.08) saturate(.82) brightness(.96);
}
.ambient-analog-noise__snow {
  inset: -15%;
  opacity: 0;
  background-image: url("noise.webp");
  background-size: 176px 176px;
  image-rendering: pixelated;
  mix-blend-mode: screen;
  will-change: opacity, transform, background-position;
}
.ambient-analog-noise__tear {
  top: 26%;
  left: -6%;
  width: 112%;
  height: clamp(22px, 7vh, 74px);
  opacity: 0;
  transform: translateX(0) skewX(0deg);
  background:
    repeating-linear-gradient(to bottom, rgba(239,255,244,.10) 0 1px, rgba(0,0,0,.16) 1px 3px, transparent 3px 5px),
    linear-gradient(90deg, rgba(255,38,54,.11), transparent 23%, rgba(0,211,255,.13) 72%, transparent);
  border-top: 1px solid rgba(229,255,235,.28);
  border-bottom: 1px solid rgba(0,0,0,.48);
  box-shadow: 0 -7px 18px rgba(0,0,0,.18), 0 8px 20px rgba(194,255,211,.07);
  -webkit-backdrop-filter: contrast(1.32) saturate(1.28) hue-rotate(4deg);
  backdrop-filter: contrast(1.32) saturate(1.28) hue-rotate(4deg);
  mix-blend-mode: screen;
  will-change: top, opacity, transform;
}
.ambient-analog-noise__roll {
  top: -18%;
  left: -4%;
  width: 108%;
  height: 18%;
  opacity: 0;
  background: linear-gradient(to bottom, transparent, rgba(220,255,229,.20) 44%, rgba(2,5,4,.44) 52%, transparent 70%);
  filter: blur(1px);
  will-change: top, opacity;
}
.ambient-analog-noise__chroma {
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(255,0,46,.07), transparent 18%, transparent 79%, rgba(0,205,255,.08)),
    repeating-linear-gradient(to bottom, transparent 0 3px, rgba(255,255,255,.035) 3px 4px);
  mix-blend-mode: screen;
  will-change: opacity, transform;
}

/* Quick snow and two horizontal tears. */
.ambient-analog-noise--a.is-active { animation: ambient-noise-shell-a .38s steps(1,end) both; }
.ambient-analog-noise--a .ambient-analog-noise__veil { animation: ambient-noise-veil-a .38s steps(1,end) both; }
.ambient-analog-noise--a .ambient-analog-noise__snow { animation: ambient-noise-snow-a .055s steps(2,end) infinite, ambient-noise-snow-level-a .38s steps(1,end) both; }
.ambient-analog-noise--a .ambient-analog-noise__tear { animation: ambient-noise-tear-a .38s steps(1,end) both; }
.ambient-analog-noise--a .ambient-analog-noise__chroma { animation: ambient-noise-chroma-a .38s steps(1,end) both; }

/* Brief vertical-hold slip with a softer colour wobble. */
.ambient-analog-noise--b.is-active { animation: ambient-noise-shell-b .54s linear both; }
.ambient-analog-noise--b .ambient-analog-noise__veil { animation: ambient-noise-veil-b .54s steps(1,end) both; }
.ambient-analog-noise--b .ambient-analog-noise__snow { animation: ambient-noise-snow-a .07s steps(2,end) infinite, ambient-noise-snow-level-b .54s linear both; }
.ambient-analog-noise--b .ambient-analog-noise__roll { animation: ambient-noise-roll-b .52s linear both; }
.ambient-analog-noise--b .ambient-analog-noise__tear { animation: ambient-noise-tear-b .54s steps(1,end) both; }
.ambient-analog-noise--b .ambient-analog-noise__chroma { animation: ambient-noise-chroma-b .54s steps(2,end) both; }

/* Very short tracking click. */
.ambient-analog-noise--c.is-active { animation: ambient-noise-shell-c .26s steps(1,end) both; }
.ambient-analog-noise--c .ambient-analog-noise__snow { animation: ambient-noise-snow-a .045s steps(2,end) infinite, ambient-noise-snow-level-c .26s steps(1,end) both; }
.ambient-analog-noise--c .ambient-analog-noise__tear { animation: ambient-noise-tear-c .26s steps(1,end) both; }
.ambient-analog-noise--c .ambient-analog-noise__chroma { animation: ambient-noise-chroma-c .26s steps(1,end) both; }

@keyframes ambient-noise-shell-a {
  0% { opacity: 0; }
  8%, 22% { opacity: .94; }
  23%, 36% { opacity: .22; }
  37%, 73% { opacity: .86; }
  74%, 100% { opacity: 0; }
}
@keyframes ambient-noise-veil-a {
  0%, 7%, 74%, 100% { opacity: 0; }
  8%, 22% { opacity: .48; }
  37%, 60% { opacity: .34; }
}
@keyframes ambient-noise-snow-level-a {
  0%, 7%, 74%, 100% { opacity: 0; }
  8%, 22% { opacity: .36; }
  23%, 36% { opacity: .08; }
  37%, 57% { opacity: .29; }
  58%, 73% { opacity: .13; }
}
@keyframes ambient-noise-tear-a {
  0%, 7%, 23%, 36%, 58%, 100% { opacity: 0; transform: translateX(0); }
  8%, 22% { top: 27%; opacity: .72; transform: translateX(-1.8%) skewX(-.8deg); }
  37%, 57% { top: 63%; opacity: .58; transform: translateX(1.3%) skewX(.55deg); }
}
@keyframes ambient-noise-chroma-a {
  0%, 7%, 74%, 100% { opacity: 0; transform: translateX(0); }
  8%, 22% { opacity: .66; transform: translateX(-.42%); }
  37%, 57% { opacity: .43; transform: translateX(.32%); }
}
@keyframes ambient-noise-shell-b {
  0% { opacity: 0; }
  8% { opacity: .82; }
  72% { opacity: .64; }
  100% { opacity: 0; }
}
@keyframes ambient-noise-veil-b {
  0%, 7%, 84%, 100% { opacity: 0; }
  8%, 47% { opacity: .30; }
  48%, 83% { opacity: .17; }
}
@keyframes ambient-noise-snow-level-b {
  0%, 7%, 100% { opacity: 0; }
  8% { opacity: .22; }
  38% { opacity: .34; }
  68% { opacity: .11; }
  86% { opacity: .18; }
  100% { opacity: 0; }
}
@keyframes ambient-noise-roll-b {
  0% { top: -18%; opacity: 0; }
  8% { opacity: .48; }
  43% { top: 38%; opacity: .38; }
  72% { top: 78%; opacity: .22; }
  100% { top: 112%; opacity: 0; }
}
@keyframes ambient-noise-tear-b {
  0%, 20%, 37%, 56%, 100% { opacity: 0; transform: translateX(0); }
  21%, 36% { top: 39%; opacity: .42; transform: translateX(.8%); }
  57%, 73% { top: 74%; opacity: .32; transform: translateX(-.55%); }
}
@keyframes ambient-noise-chroma-b {
  0%, 9%, 100% { opacity: 0; transform: translateX(0); }
  10%, 31% { opacity: .42; transform: translateX(.38%); }
  32%, 49% { opacity: .18; transform: translateX(-.24%); }
  50%, 76% { opacity: .31; transform: translateX(.18%); }
  77%, 100% { opacity: 0; transform: none; }
}
@keyframes ambient-noise-shell-c {
  0%, 8%, 100% { opacity: 0; }
  9%, 62% { opacity: .88; }
  63%, 78% { opacity: .24; }
}
@keyframes ambient-noise-snow-level-c {
  0%, 8%, 100% { opacity: 0; }
  9%, 34% { opacity: .32; }
  35%, 62% { opacity: .15; }
}
@keyframes ambient-noise-tear-c {
  0%, 8%, 36%, 55%, 100% { opacity: 0; transform: translateX(0); }
  9%, 35% { top: 48%; opacity: .76; transform: translateX(1.55%) skewX(.9deg); }
  56%, 74% { top: 51%; opacity: .36; transform: translateX(-.7%); }
}
@keyframes ambient-noise-chroma-c {
  0%, 8%, 75%, 100% { opacity: 0; transform: none; }
  9%, 35% { opacity: .52; transform: translateX(-.38%); }
  56%, 74% { opacity: .27; transform: translateX(.22%); }
}
@keyframes ambient-noise-snow-a {
  0% { transform: translate(0,0) scale(1.03); background-position: 0 0; }
  25% { transform: translate(-1.1%, .8%) scale(1.04); background-position: 37px -23px; }
  50% { transform: translate(.8%, -1.2%) scale(1.03); background-position: -29px 41px; }
  75% { transform: translate(1.2%, .5%) scale(1.04); background-position: 18px 67px; }
  100% { transform: translate(0,0) scale(1.03); background-position: -45px -31px; }
}

html.skip-scene-effects .ambient-analog-noise,
html.crt-contact-exiting .ambient-analog-noise,
html.crt-contact-entry .ambient-analog-noise {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .ambient-analog-noise { display: none !important; }
}


/* Activity-title internationalization update */
#activity.activity-diary .section-title.activity-title {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  white-space: nowrap;
  text-wrap: nowrap;
  font-size: clamp(2.15rem, 4.5vw, 4.7rem);
  line-height: 1;
  letter-spacing: -.055em;
}
#activity.activity-diary .section-title.activity-title--en {
  font-size: clamp(2.1rem, 4.25vw, 4.55rem);
  letter-spacing: -.035em;
}
@media (max-width: 680px) {
  #activity.activity-diary .section-title.activity-title {
    font-size: clamp(1.62rem, 7.15vw, 2.12rem);
    letter-spacing: -.075em;
  }
  #activity.activity-diary .section-title.activity-title--en {
    font-size: clamp(1.4rem, 6.15vw, 1.82rem);
    letter-spacing: -.045em;
  }
}


@media (prefers-reduced-motion: reduce) {
  .people-photo--work { --labwork-progress: 0 !important; }
}


/* Final override: 80s ad palette + scroll cross-fade for the People work photo. */
.people-photo--work {
  position: relative;
  isolation: isolate;
  background: #120f12;
  --labwork-progress: 0;
}
.people-photo--work .work-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  transition: none;
  filter: sepia(.16) saturate(.86) contrast(.94) brightness(1.04) hue-rotate(-8deg);
  will-change: opacity, transform, filter;
}
.people-photo--work .work-frame--base {
  z-index: 0;
  opacity: calc(1 - var(--labwork-progress));
  transform: translate3d(0, calc(var(--labwork-progress) * -6px), 0) scale(calc(1 + var(--labwork-progress) * .01));
}
.people-photo--work .work-frame--pickup {
  z-index: 1;
  object-position: 53% 50%;
  opacity: var(--labwork-progress);
  transform: translate3d(0, calc((1 - var(--labwork-progress)) * 10px), 0) scale(calc(1.018 - var(--labwork-progress) * .018));
  filter: sepia(.12) saturate(.95) contrast(.98) brightness(1.06) hue-rotate(-10deg);
}
.people-photo--work::before,
.people-photo--work::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.people-photo--work::before {
  z-index: 3;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 228, 192, .24), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(255, 124, 164, .18), transparent 22%),
    linear-gradient(135deg, rgba(255, 207, 167, .16), rgba(255,255,255,.04) 34%, rgba(92, 180, 214, .14) 68%, rgba(255, 120, 188, .10));
  mix-blend-mode: screen;
}
.people-photo--work::after {
  z-index: 4;
  opacity: .86;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.05) 0 1px, transparent 1px 3px),
    linear-gradient(to bottom, rgba(255,255,255,.08), rgba(17,8,24,.14) 46%, rgba(0,0,0,.2));
  mix-blend-mode: soft-light;
}
.people-photo--work:hover .work-frame--base {
  transform: translate3d(0, calc(var(--labwork-progress) * -7px), 0) scale(calc(1.006 + var(--labwork-progress) * .012));
}
.people-photo--work:hover .work-frame--pickup {
  transform: translate3d(0, calc((1 - var(--labwork-progress)) * 9px), 0) scale(calc(1.022 - var(--labwork-progress) * .016));
}
@media (prefers-reduced-motion: reduce) {
  .people-photo--work { --labwork-progress: 0 !important; }
}


/* Final override v2: later cross-fade trigger + bolder 1980s advertisement palette. */
.people-photo--work {
  --labwork-progress: 0;
  background: #140d12;
}
.people-photo--work .work-frame {
  filter: sepia(.24) saturate(1.04) contrast(1.08) brightness(1.05) hue-rotate(-14deg);
}
.people-photo--work .work-frame--base {
  opacity: calc(1 - var(--labwork-progress));
  transform: translate3d(0, calc(var(--labwork-progress) * -8px), 0) scale(calc(1 + var(--labwork-progress) * .012));
}
.people-photo--work .work-frame--pickup {
  object-position: 54% 50%;
  opacity: var(--labwork-progress);
  transform: translate3d(0, calc((1 - var(--labwork-progress)) * 12px), 0) scale(calc(1.03 - var(--labwork-progress) * .03));
  filter: sepia(.18) saturate(1.28) contrast(1.12) brightness(1.08) hue-rotate(-18deg);
}
.people-photo--work::before {
  z-index: 3;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 234, 201, .38), transparent 24%),
    radial-gradient(circle at 85% 16%, rgba(255, 96, 164, .26), transparent 24%),
    radial-gradient(circle at 64% 72%, rgba(255, 173, 108, .18), transparent 18%),
    linear-gradient(132deg, rgba(255, 215, 168, .24), rgba(255,255,255,.06) 30%, rgba(68, 213, 255, .22) 64%, rgba(255, 87, 184, .22));
  mix-blend-mode: screen;
}
.people-photo--work::after {
  z-index: 4;
  opacity: .94;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.065) 0 1px, transparent 1px 3px),
    linear-gradient(to bottom, rgba(255,250,240,.12), rgba(46, 8, 36, .12) 42%, rgba(0,0,0,.28)),
    radial-gradient(circle at 50% 50%, transparent 56%, rgba(18, 10, 18, .18) 100%);
  mix-blend-mode: soft-light;
}
.people-photo--work:hover .work-frame--base {
  transform: translate3d(0, calc(var(--labwork-progress) * -9px), 0) scale(calc(1.008 + var(--labwork-progress) * .014));
}
.people-photo--work:hover .work-frame--pickup {
  transform: translate3d(0, calc((1 - var(--labwork-progress)) * 11px), 0) scale(calc(1.034 - var(--labwork-progress) * .028));
}


/* Final override v3: much later cross-fade and size-matched pickup frame. */
.people-photo--work {
  --labwork-progress: 0;
  background: #130d12;
}
.people-photo--work .work-frame {
  object-position: 50% 50%;
  filter: sepia(.26) saturate(1.12) contrast(1.10) brightness(1.05) hue-rotate(-14deg);
}
.people-photo--work .work-frame--base {
  opacity: calc(1 - var(--labwork-progress));
  transform: translate3d(0, calc(var(--labwork-progress) * -8px), 0) scale(calc(1 + var(--labwork-progress) * .010));
}
.people-photo--work .work-frame--pickup {
  object-position: 50% 50%;
  opacity: var(--labwork-progress);
  transform: translate3d(0, calc((1 - var(--labwork-progress)) * 8px), 0) scale(calc(1.010 - var(--labwork-progress) * .010));
  filter: sepia(.22) saturate(1.38) contrast(1.14) brightness(1.09) hue-rotate(-20deg);
}
.people-photo--work::before {
  z-index: 3;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 245, 220, .42), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(255, 70, 166, .32), transparent 24%),
    radial-gradient(circle at 64% 74%, rgba(255, 190, 105, .24), transparent 18%),
    linear-gradient(132deg, rgba(255, 219, 169, .28), rgba(255,255,255,.08) 28%, rgba(42, 214, 255, .28) 62%, rgba(255, 70, 188, .28));
  mix-blend-mode: screen;
}
.people-photo--work::after {
  z-index: 4;
  opacity: .98;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.072) 0 1px, transparent 1px 3px),
    linear-gradient(to bottom, rgba(255,250,240,.14), rgba(50, 10, 42, .14) 42%, rgba(0,0,0,.28)),
    radial-gradient(circle at 50% 50%, transparent 54%, rgba(18, 10, 18, .24) 100%);
  mix-blend-mode: soft-light;
}

/* Final override v4: use corrected pickup trim and delay the People cross-fade further so the base image remains visible longer. */


/* Final override v5: use the two corrected work images and match their tone to the People group photo. */
.people-photo--work {
  --labwork-progress: 0;
  background: #151821;
}
.people-photo--work .work-frame {
  object-position: 50% 50%;
  filter: brightness(1.08) saturate(.94);
}
.people-photo--work .work-frame--base {
  opacity: calc(1 - var(--labwork-progress));
  transform: translate3d(0, calc(var(--labwork-progress) * -4px), 0) scale(calc(1 + var(--labwork-progress) * .006));
}
.people-photo--work .work-frame--pickup {
  opacity: var(--labwork-progress);
  object-position: 50% 50%;
  transform: translate3d(0, calc((1 - var(--labwork-progress)) * 4px), 0) scale(calc(1.006 - var(--labwork-progress) * .006));
  filter: brightness(1.08) saturate(.94);
}
.people-photo--work::before {
  z-index: 3;
  opacity: .16;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 34%, rgba(0,0,0,.12));
  mix-blend-mode: screen;
}
.people-photo--work::after {
  z-index: 4;
  opacity: .18;
  background: linear-gradient(to bottom, rgba(255,255,255,.04), rgba(0,0,0,.10));
  mix-blend-mode: soft-light;
}
.people-photo--work:hover .work-frame--base {
  transform: translate3d(0, calc(var(--labwork-progress) * -5px), 0) scale(calc(1.004 + var(--labwork-progress) * .008));
}
.people-photo--work:hover .work-frame--pickup {
  transform: translate3d(0, calc((1 - var(--labwork-progress)) * 4px), 0) scale(calc(1.008 - var(--labwork-progress) * .006));
}


/* Final override v6: swapped sequence and tone matched to the provided warm reference image. */
.people-photo--work {
  background: #1a1420;
}
.people-photo--work .work-frame,
.people-photo--work .work-frame--pickup,
.people-photo--work .work-frame--base {
  object-position: 50% 50%;
  filter: none;
}
.people-photo--work::before {
  opacity: .12;
  background: linear-gradient(180deg, rgba(255,243,223,.10), rgba(255,255,255,0) 34%, rgba(18,10,24,.08));
  mix-blend-mode: screen;
}
.people-photo--work::after {
  opacity: .10;
  background: linear-gradient(to bottom, rgba(255,255,255,.03), rgba(0,0,0,.08));
  mix-blend-mode: soft-light;
}

/* =========================================================
   Navigation and Recent Activity update — 2026-07-26
   ========================================================= */

/* Keep the expanded navigation on one line after adding FACULTY. */
@media (min-width: 901px) {
  .nav-shell { gap: 12px; }
  .brand { gap: 10px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy b { font-size: .86rem; }
  .brand-copy small { font-size: .56rem; letter-spacing: .075em; }
  .primary-nav { gap: clamp(7px, .8vw, 12px); }
  .primary-nav a {
    font-size: clamp(.56rem, .58vw, .65rem);
    letter-spacing: .045em;
    white-space: nowrap;
  }
  .primary-nav .nav-contact { padding: 9px 9px; }
}
@media (min-width: 1220px) {
  .brand-copy b { font-size: .92rem; }
  .brand-copy small { font-size: .6rem; }
  .primary-nav { gap: 14px; }
  .primary-nav a { font-size: .66rem; letter-spacing: .06em; }
  .primary-nav .nav-contact { padding-inline: 11px; }
}

/* Survival-horror archive presentation for Recent Activity. */
#activity.activity-diary > .scene-content {
  width: min(1120px, calc(100% - 40px));
}
#activity.activity-diary .activity-archive-list {
  display: grid;
  gap: 16px;
  counter-reset: diary-entry;
  margin-top: 32px;
  border: 0;
}
#activity.activity-diary .activity-entry {
  counter-increment: diary-entry;
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 104px;
  padding: 18px 18px 18px 64px;
  overflow: hidden;
  border: 1px solid #71654e;
  background:
    linear-gradient(100deg, rgba(27,24,19,.98), rgba(48,41,30,.97) 58%, rgba(30,26,20,.98)),
    url("noise.webp");
  color: #dfd2ad;
  box-shadow:
    inset 0 0 0 1px rgba(223,204,151,.07),
    inset 0 0 42px rgba(0,0,0,.42),
    5px 6px 0 rgba(51,43,31,.32);
}
#activity.activity-diary .activity-entry::before {
  content: counter(diary-entry, decimal-leading-zero);
  position: absolute;
  top: 17px;
  left: 10px;
  width: 40px;
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 4px 2px;
  border: 1px solid rgba(162,68,61,.78);
  color: #c56b61;
  background: rgba(24,18,15,.72);
  font: 900 .56rem/1.2 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .06em;
  text-align: center;
  transform: rotate(-1.5deg);
  text-shadow: 0 0 8px rgba(192,73,66,.25);
}
#activity.activity-diary .activity-entry::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background:
    repeating-linear-gradient(to bottom, rgba(255,244,207,.055) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, transparent, rgba(135,45,39,.07) 48%, transparent 72%);
  mix-blend-mode: screen;
}
#activity.activity-diary .activity-entry--text {
  grid-template-columns: 104px minmax(0, 1fr);
}
#activity.activity-diary .activity-entry--photo {
  grid-template-columns: 104px minmax(210px, 286px) minmax(0, 1fr);
  align-items: stretch;
  min-height: 190px;
}
#activity.activity-diary .activity-entry time {
  align-self: start;
  padding-top: 6px;
  color: #c2ae7c;
  font: 800 .72rem/1.5 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .035em;
}
#activity.activity-diary .activity-entry-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  min-width: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: .94rem;
  font-weight: 600;
  line-height: 1.85;
}
#activity.activity-diary .activity-entry-copy p { margin: 7px 0 0; }
#activity.activity-diary .activity-entry-copy a {
  display: inline-block;
  margin-top: 10px;
  color: #d08a78;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-decoration-color: rgba(208,138,120,.55);
}
#activity.activity-diary .activity-entry-copy a:hover { color: #efb09d; }
#activity.activity-diary .activity-entry-type {
  display: block;
  color: #9f967b;
  font: 800 .59rem/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .115em;
}

#activity.activity-diary .activity-photo {
  position: relative;
  z-index: 1;
  min-height: 150px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #857658;
  background: #0e0c09;
  box-shadow:
    inset 0 0 0 4px rgba(12,10,8,.58),
    4px 5px 0 rgba(9,8,6,.34);
  transform: rotate(-.35deg);
}
#activity.activity-diary .activity-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  object-position: center;
  filter: sepia(.28) saturate(.72) contrast(1.08) brightness(.88);
}
#activity.activity-diary .activity-photo--portrait img { object-position: center 28%; }
#activity.activity-diary .activity-photo--meal img { object-position: center 55%; }
#activity.activity-diary .activity-photo--wide img { object-position: center 46%; }
#activity.activity-diary .activity-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 38px 9px rgba(20,13,8,.58);
}
#activity.activity-diary .activity-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .36;
  background:
    repeating-linear-gradient(to bottom, rgba(255,236,190,.08) 0 1px, transparent 1px 4px),
    url("noise.webp");
  background-size: auto, 180px 180px;
  mix-blend-mode: soft-light;
}
#activity.activity-diary .activity-photo figcaption {
  position: absolute;
  z-index: 4;
  right: 8px;
  bottom: 7px;
  padding: 4px 6px;
  color: #d4c39a;
  background: rgba(15,12,9,.72);
  font: 800 .5rem/1.2 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
}

@media (max-width: 760px) {
  #activity.activity-diary > .scene-content {
    width: calc(100% - 24px);
    padding-inline: 18px;
  }
  #activity.activity-diary .activity-entry,
  #activity.activity-diary .activity-entry--photo {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 58px 14px 16px;
  }
  #activity.activity-diary .activity-entry time {
    position: absolute;
    top: 19px;
    left: 66px;
    padding: 0;
  }
  #activity.activity-diary .activity-photo { min-height: 210px; }
  #activity.activity-diary .activity-entry-copy { font-size: .88rem; line-height: 1.78; }
}
#activity.activity-diary .activity-entry::before { height: 42px; }
#activity.activity-diary .activity-entry > .activity-entry-copy {
  font-size: .94rem;
  line-height: 1.85;
}
#activity.is-scene-playing .news-row:nth-child(7) { animation-delay: 1.08s; }
#activity.is-scene-playing .news-row:nth-child(8) { animation-delay: 1.12s; }
#activity.is-scene-playing .news-row:nth-child(9) { animation-delay: 1.16s; }
#activity.is-scene-playing .news-row:nth-child(10) { animation-delay: 1.20s; }


/* Activity heading simplification: ARCHIVE / RECENT ACTIVITY. */
#activity.activity-diary .section-title.activity-title--archive {
  width: 100%;
  max-width: none;
  white-space: nowrap;
  text-wrap: nowrap;
  font-size: clamp(2.7rem, 5.3vw, 5.6rem);
  line-height: .96;
  letter-spacing: -.045em;
}
@media (max-width: 680px) {
  #activity.activity-diary .section-title.activity-title--archive {
    font-size: clamp(1.9rem, 9.2vw, 3.05rem);
    letter-spacing: -.055em;
  }
}


/* Activity effect update: gritty analog noise flood, then recovery. */
.screen-fx.fx-diary.is-active {
  animation: fx-archive-noise-shell 1.76s linear both;
  background: #060606;
}
.fx-diary .screen-fx__diary-card { display: none; }
.fx-diary .screen-fx__noise {
  opacity: 0;
  animation: fx-noise-shift .09s steps(2,end) infinite, fx-archive-noise-flood 1.72s linear both;
}
.fx-diary .screen-fx__roll {
  display: block;
  opacity: 0;
  background:
    linear-gradient(to bottom,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.08) 16%,
      rgba(255,255,255,.18) 32%,
      rgba(255,255,255,.08) 54%,
      rgba(255,255,255,0) 100%);
  animation: fx-archive-noise-band 1.72s cubic-bezier(.2,.7,.18,1) both;
}
.fx-diary .screen-fx__line {
  opacity: 0;
  display: block;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.7), transparent);
  height: 38%;
  animation: fx-archive-noise-line 1.72s linear both;
}
.fx-diary .screen-fx__color-sync {
  display: block;
  opacity: 0;
  animation: fx-archive-color-wobble 1.72s linear both;
}
.scroll-scene.is-scene-playing[data-screen-effect="diary"] > .scene-content {
  animation: scene-archive-recover 1.72s cubic-bezier(.16,.78,.18,1) both;
}
#activity.is-scene-playing .news-row {
  animation: archive-entry-return .42s ease-out both;
}
#activity.is-scene-playing .news-row:nth-child(1) { animation-delay: 1.02s; }
#activity.is-scene-playing .news-row:nth-child(2) { animation-delay: 1.06s; }
#activity.is-scene-playing .news-row:nth-child(3) { animation-delay: 1.10s; }
#activity.is-scene-playing .news-row:nth-child(4) { animation-delay: 1.14s; }
#activity.is-scene-playing .news-row:nth-child(5) { animation-delay: 1.18s; }
#activity.is-scene-playing .news-row:nth-child(6) { animation-delay: 1.22s; }
#activity.is-scene-playing .news-row:nth-child(7) { animation-delay: 1.26s; }
#activity.is-scene-playing .news-row:nth-child(8) { animation-delay: 1.30s; }
#activity.is-scene-playing .news-row:nth-child(9) { animation-delay: 1.34s; }
#activity.is-scene-playing .news-row:nth-child(10) { animation-delay: 1.38s; }

@keyframes fx-archive-noise-shell {
  0%, 72% { opacity: 1; }
  86% { opacity: .82; }
  100% { opacity: 0; }
}
@keyframes fx-archive-noise-flood {
  0% { opacity: 0; filter: grayscale(.25) contrast(1.1) brightness(.72); }
  12% { opacity: .68; filter: grayscale(.18) contrast(1.55) brightness(.9); }
  28% { opacity: .96; filter: grayscale(.08) contrast(2.15) brightness(1.12); }
  46% { opacity: .88; filter: grayscale(.1) contrast(2.45) brightness(1.05); }
  62% { opacity: .56; filter: grayscale(.05) contrast(1.75) brightness(.96); }
  82% { opacity: .18; filter: grayscale(0) contrast(1.15) brightness(.92); }
  100% { opacity: 0; filter: none; }
}
@keyframes fx-archive-noise-band {
  0% { opacity: 0; transform: translate3d(0,-32%,0) scaleY(.7); }
  16% { opacity: .38; transform: translate3d(0,-12%,0) scaleY(.9); }
  34% { opacity: .72; transform: translate3d(0,18%,0) scaleY(1.15); }
  52% { opacity: .62; transform: translate3d(0,40%,0) scaleY(1.05); }
  72% { opacity: .24; transform: translate3d(0,66%,0) scaleY(.92); }
  100% { opacity: 0; transform: translate3d(0,92%,0) scaleY(.85); }
}
@keyframes fx-archive-noise-line {
  0%, 8% { opacity: 0; transform: translate3d(0,-108%,0); }
  20% { opacity: .34; transform: translate3d(0,-36%,0); }
  40% { opacity: .68; transform: translate3d(0,12%,0); }
  58% { opacity: .46; transform: translate3d(0,56%,0); }
  74% { opacity: .18; transform: translate3d(0,88%,0); }
  100% { opacity: 0; transform: translate3d(0,120%,0); }
}
@keyframes fx-archive-color-wobble {
  0%, 14% { opacity: 0; transform: scale(1); }
  26% { opacity: .44; transform: translate3d(-10px, 3px, 0) scale(1.01); filter: blur(.3px); }
  42% { opacity: .34; transform: translate3d(9px, -2px, 0) scale(1.012); filter: blur(.2px); }
  60% { opacity: .18; transform: translate3d(-4px, 2px, 0) scale(1.006); filter: blur(.1px); }
  100% { opacity: 0; transform: none; filter: none; }
}
@keyframes scene-archive-recover {
  0% {
    opacity: .04;
    transform: perspective(900px) rotateX(8deg) translateY(22px) scale(.986);
    filter: brightness(.18) contrast(1.55) saturate(.55) blur(4px);
  }
  12% {
    opacity: .55;
    transform: perspective(900px) rotateX(6deg) translateY(16px) scale(.989);
    filter: brightness(.42) contrast(1.95) saturate(.72) blur(2.4px);
  }
  28% {
    opacity: .82;
    transform: perspective(900px) rotateX(4deg) translateY(12px) scale(.994) translateX(-3px);
    filter: brightness(.56) contrast(2.18) saturate(.8) blur(1.8px)
      drop-shadow(-8px 0 0 rgba(130, 224, 224, .16))
      drop-shadow(7px 0 0 rgba(255, 112, 158, .14));
  }
  48% {
    opacity: .96;
    transform: perspective(900px) rotateX(2deg) translateY(6px) scale(.998) translateX(2px);
    filter: brightness(.72) contrast(1.86) saturate(.88) blur(1.1px)
      drop-shadow(-4px 0 0 rgba(130, 224, 224, .10))
      drop-shadow(4px 0 0 rgba(255, 112, 158, .09));
  }
  68% {
    opacity: 1;
    transform: perspective(900px) rotateX(.5deg) translateY(1px) scale(1);
    filter: brightness(.9) contrast(1.24) saturate(.96) blur(.2px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@keyframes archive-entry-return {
  0% { opacity: 0; transform: translateY(10px); filter: blur(1.2px); }
  100% { opacity: 1; transform: none; filter: none; }
}


/* Activity refinement: keep the archive visible before and beneath the static. */
html.scene-effects-ready .scroll-scene[data-screen-effect="diary"]:not(.is-scene-playing):not(.is-scene-complete) > .scene-content {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.screen-fx.fx-diary.is-active {
  background: rgba(4, 5, 4, .10);
}
.fx-diary .screen-fx__frame::before {
  opacity: .18;
}
.fx-diary .screen-fx__frame::after {
  box-shadow: inset 0 0 14vw 4vw rgba(0, 0, 0, .22);
}

.scroll-scene.is-scene-playing[data-screen-effect="diary"] > .scene-content {
  animation: scene-archive-visible-under-noise 1.72s cubic-bezier(.16,.78,.18,1) both;
}
#activity.is-scene-playing .news-row,
#activity.is-scene-playing .news-row:nth-child(n) {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
}

@keyframes fx-archive-noise-flood {
  0% { opacity: 0; filter: grayscale(.18) contrast(1.08) brightness(.84); }
  12% { opacity: .42; filter: grayscale(.14) contrast(1.42) brightness(.96); }
  28% { opacity: .74; filter: grayscale(.08) contrast(1.95) brightness(1.08); }
  46% { opacity: .68; filter: grayscale(.08) contrast(2.15) brightness(1.04); }
  62% { opacity: .46; filter: grayscale(.04) contrast(1.62) brightness(.98); }
  82% { opacity: .16; filter: grayscale(0) contrast(1.12) brightness(.96); }
  100% { opacity: 0; filter: none; }
}

@keyframes scene-archive-visible-under-noise {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: brightness(.78) contrast(1.24) saturate(.82) blur(.65px);
  }
  18% {
    opacity: 1;
    transform: translate3d(-2px, 1px, 0);
    filter: brightness(.72) contrast(1.44) saturate(.78) blur(.85px)
      drop-shadow(-3px 0 0 rgba(130, 224, 224, .08))
      drop-shadow(3px 0 0 rgba(255, 112, 158, .07));
  }
  36% {
    opacity: 1;
    transform: translate3d(2px, -1px, 0);
    filter: brightness(.76) contrast(1.38) saturate(.84) blur(.6px)
      drop-shadow(-2px 0 0 rgba(130, 224, 224, .06))
      drop-shadow(2px 0 0 rgba(255, 112, 158, .05));
  }
  58% {
    opacity: 1;
    transform: translate3d(-1px, 0, 0);
    filter: brightness(.86) contrast(1.22) saturate(.91) blur(.3px);
  }
  78% {
    opacity: 1;
    transform: none;
    filter: brightness(.96) contrast(1.07) saturate(.98);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Activity stays visible before and during the analog-noise overlay. */
html.scene-effects-ready #activity.scroll-scene[data-screen-effect="diary"]:not(.is-scene-playing):not(.is-scene-complete) > .scene-content,
html.scene-effects-ready #activity.scroll-scene[data-screen-effect="diary"].is-scene-playing > .scene-content,
html.scene-effects-ready #activity.scroll-scene[data-screen-effect="diary"].is-scene-complete > .scene-content {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Keep the archive visible underneath the static rather than blacking it out. */
.screen-fx.fx-diary.is-active {
  background: rgba(5, 5, 5, .12);
}

.scroll-scene.is-scene-playing[data-screen-effect="diary"] > .scene-content {
  animation: scene-archive-visible-under-noise 1.72s cubic-bezier(.16,.78,.18,1) both;
}

#activity.is-scene-playing .news-row,
#activity.is-scene-playing .news-row:nth-child(n) {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none !important;
}

@keyframes scene-archive-visible-under-noise {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: brightness(.82) contrast(1.18) saturate(.88) blur(.35px);
  }
  24% {
    opacity: 1;
    transform: translate3d(-2px, 1px, 0);
    filter: brightness(.74) contrast(1.34) saturate(.82) blur(.55px)
      drop-shadow(-3px 0 0 rgba(130, 224, 224, .08))
      drop-shadow(3px 0 0 rgba(255, 112, 158, .07));
  }
  46% {
    opacity: 1;
    transform: translate3d(2px, -1px, 0);
    filter: brightness(.8) contrast(1.26) saturate(.9) blur(.35px);
  }
  70% {
    opacity: 1;
    transform: translate3d(-1px, 0, 0);
    filter: brightness(.92) contrast(1.1) saturate(.97) blur(.1px);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}


/* Activity visibility update: keep the archive visible beneath the analog snow. */
html.scene-effects-ready #activity.scroll-scene[data-screen-effect="diary"]:not(.is-scene-playing):not(.is-scene-complete) > .scene-content {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.screen-fx.fx-diary.is-active {
  background: rgba(6, 6, 6, .035);
}
.fx-diary .screen-fx__frame::before {
  opacity: .18;
}
.fx-diary .screen-fx__frame::after {
  box-shadow: inset 0 0 15vw 4vw rgba(0, 0, 0, .34);
}
.fx-diary .screen-fx__noise {
  mix-blend-mode: screen;
  animation: fx-noise-shift .09s steps(2,end) infinite, fx-archive-noise-over-content 1.72s linear both;
}
.scroll-scene.is-scene-playing[data-screen-effect="diary"] > .scene-content {
  opacity: 1;
  animation: scene-archive-visible-under-noise 1.72s cubic-bezier(.16,.78,.18,1) both;
}
#activity.is-scene-playing .news-row {
  opacity: 1;
  animation: none !important;
}

@keyframes fx-archive-noise-over-content {
  0% { opacity: 0; filter: grayscale(.15) contrast(1.05) brightness(.88); }
  12% { opacity: .38; filter: grayscale(.10) contrast(1.35) brightness(.98); }
  28% { opacity: .68; filter: grayscale(.04) contrast(1.82) brightness(1.08); }
  46% { opacity: .62; filter: grayscale(.06) contrast(2.05) brightness(1.02); }
  62% { opacity: .42; filter: grayscale(.03) contrast(1.55) brightness(.98); }
  82% { opacity: .14; filter: grayscale(0) contrast(1.10) brightness(.96); }
  100% { opacity: 0; filter: none; }
}
@keyframes scene-archive-visible-under-noise {
  0% {
    opacity: 1;
    transform: none;
    filter: brightness(.98) contrast(1.02) saturate(.98);
  }
  18% {
    opacity: 1;
    transform: translate3d(-1px, 1px, 0);
    filter: brightness(.84) contrast(1.18) saturate(.92) blur(.18px);
  }
  36% {
    opacity: 1;
    transform: translate3d(2px, -1px, 0);
    filter: brightness(.78) contrast(1.30) saturate(.88) blur(.32px)
      drop-shadow(-3px 0 0 rgba(130, 224, 224, .08))
      drop-shadow(3px 0 0 rgba(255, 112, 158, .07));
  }
  54% {
    opacity: 1;
    transform: translate3d(-1px, 0, 0);
    filter: brightness(.86) contrast(1.20) saturate(.92) blur(.18px);
  }
  72% {
    opacity: 1;
    transform: none;
    filter: brightness(.95) contrast(1.08) saturate(.98);
  }
  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}


/* =========================================================
   Activity proximity radio: visual snow follows the same
   scroll-derived level as the Web Audio radio noise.
   ========================================================= */
.activity-radio-visual {
  --activity-radio-level: 0;
  --activity-radio-snow-opacity: 0;
  --activity-radio-snow-opacity-secondary: 0;
  --activity-radio-veil-opacity: 0;
  --activity-radio-band-opacity: 0;
  --activity-radio-tear-opacity: 0;
  --activity-radio-scan-opacity: 0;
  --activity-radio-noise-size: 224px;
  --activity-radio-noise-size-secondary: 141px;
  --activity-radio-noise-speed: .14s;
  --activity-radio-noise-speed-secondary: .20s;
  --activity-radio-tear-offset: 0px;
  position: fixed;
  top: var(--header-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 83;
  visibility: hidden;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  isolation: isolate;
  transition: opacity .16s linear, visibility 0s linear .16s;
}
.activity-radio-visual.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity .14s linear, visibility 0s linear 0s;
}
.activity-radio-visual__veil,
.activity-radio-visual__snow,
.activity-radio-visual__band,
.activity-radio-visual__tear,
.activity-radio-visual__scan {
  position: absolute;
  pointer-events: none;
}
.activity-radio-visual__veil {
  inset: 0;
  opacity: var(--activity-radio-veil-opacity);
  background: rgba(8, 10, 9, .72);
  -webkit-backdrop-filter: contrast(1.04) saturate(.94) brightness(.985);
  backdrop-filter: contrast(1.04) saturate(.94) brightness(.985);
}
.activity-radio-visual__snow {
  inset: -18%;
  opacity: var(--activity-radio-snow-opacity);
  background-image: url("noise.webp");
  background-size: var(--activity-radio-noise-size) var(--activity-radio-noise-size);
  image-rendering: pixelated;
  mix-blend-mode: screen;
  will-change: transform, opacity, background-position;
}
.activity-radio-visual__snow--a {
  animation: activity-radio-snow-a var(--activity-radio-noise-speed) steps(2, end) infinite;
}
.activity-radio-visual__snow--b {
  opacity: var(--activity-radio-snow-opacity-secondary);
  background-size: var(--activity-radio-noise-size-secondary) var(--activity-radio-noise-size-secondary);
  mix-blend-mode: soft-light;
  animation: activity-radio-snow-b var(--activity-radio-noise-speed-secondary) steps(2, end) infinite;
}
.activity-radio-visual__band {
  top: -22%;
  left: -5%;
  width: 110%;
  height: 26%;
  opacity: var(--activity-radio-band-opacity);
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255,255,255,.03) 18%,
    rgba(255,255,255,.24) 46%,
    rgba(0,0,0,.13) 56%,
    transparent 100%);
  filter: blur(1.2px);
  animation: activity-radio-band 2.15s linear infinite;
}
.activity-radio-visual__tear {
  top: 58%;
  left: -4%;
  width: 108%;
  height: 7%;
  opacity: var(--activity-radio-tear-opacity);
  background:
    repeating-linear-gradient(to bottom,
      rgba(255,255,255,.11) 0 1px,
      transparent 1px 3px),
    linear-gradient(90deg,
      transparent,
      rgba(255,255,255,.10) 20%,
      rgba(255,255,255,.19) 56%,
      transparent);
  transform: translateX(var(--activity-radio-tear-offset));
  animation: activity-radio-tear .31s steps(2, end) infinite;
}
.activity-radio-visual__scan {
  inset: 0;
  opacity: var(--activity-radio-scan-opacity);
  background: repeating-linear-gradient(to bottom,
    rgba(255,255,255,.055) 0 1px,
    transparent 1px 4px);
  mix-blend-mode: screen;
}

@keyframes activity-radio-snow-a {
  0% { transform: translate3d(-3%, -2%, 0); background-position: 0 0; }
  25% { transform: translate3d(4%, 1%, 0); background-position: 41px -63px; }
  50% { transform: translate3d(-1%, 5%, 0); background-position: -79px 31px; }
  75% { transform: translate3d(5%, -4%, 0); background-position: 57px 97px; }
  100% { transform: translate3d(-4%, 3%, 0); background-position: -39px -29px; }
}
@keyframes activity-radio-snow-b {
  0% { transform: translate3d(3%, -4%, 0) scale(1.02); background-position: 23px -17px; }
  33% { transform: translate3d(-4%, 3%, 0) scale(1.04); background-position: -61px 73px; }
  66% { transform: translate3d(5%, 1%, 0) scale(1.01); background-position: 89px -41px; }
  100% { transform: translate3d(-2%, -3%, 0) scale(1.03); background-position: -37px 29px; }
}
@keyframes activity-radio-band {
  0% { transform: translate3d(0, -28%, 0) scaleY(.82); }
  48% { transform: translate3d(0, 190%, 0) scaleY(1.14); }
  100% { transform: translate3d(0, 430%, 0) scaleY(.9); }
}
@keyframes activity-radio-tear {
  0%, 28% { transform: translate3d(-3px, 0, 0) skewX(-.25deg); }
  29%, 54% { transform: translate3d(4px, 1px, 0) skewX(.35deg); }
  55%, 78% { transform: translate3d(-1px, -1px, 0) skewX(-.15deg); }
  79%, 100% { transform: translate3d(2px, 0, 0); }
}

html.skip-scene-effects .activity-radio-visual,
html.crt-contact-exiting .activity-radio-visual,
html.crt-contact-entry .activity-radio-visual,
body.menu-open .activity-radio-visual {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .activity-radio-visual { display: none !important; }
}


/* Activity radio refinement: stronger TV snow with multiple horizontal interference lines. */
.activity-radio-visual {
  --activity-radio-line-opacity: 0;
}
.activity-radio-visual__veil,
.activity-radio-visual__snow,
.activity-radio-visual__band,
.activity-radio-visual__tear,
.activity-radio-visual__line,
.activity-radio-visual__scan {
  position: absolute;
  pointer-events: none;
}
.activity-radio-visual__snow--a {
  mix-blend-mode: screen;
  filter: contrast(1.38) brightness(1.16);
}
.activity-radio-visual__snow--b {
  mix-blend-mode: difference;
  filter: grayscale(1) contrast(1.55) brightness(.92);
}
.activity-radio-visual__line {
  left: -3%;
  width: 106%;
  opacity: var(--activity-radio-line-opacity);
  transform: translateX(var(--activity-radio-tear-offset));
  will-change: transform, opacity;
  mix-blend-mode: screen;
}
.activity-radio-visual__line::before,
.activity-radio-visual__line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}
.activity-radio-visual__line::before {
  top: 0;
  height: 1px;
  background: rgba(255,255,255,.92);
  box-shadow:
    0 1px 0 rgba(255,255,255,.28),
    0 3px 0 rgba(0,0,0,.42),
    0 5px 7px rgba(255,255,255,.16);
}
.activity-radio-visual__line::after {
  top: 2px;
  height: var(--line-band-height, 5px);
  background: linear-gradient(to bottom,
    rgba(255,255,255,.18),
    rgba(0,0,0,.22) 55%,
    transparent);
  filter: blur(.35px);
}
.activity-radio-visual__line--1 {
  top: 13%;
  --line-band-height: 4px;
  animation: activity-radio-line-a .37s steps(2,end) infinite;
}
.activity-radio-visual__line--2 {
  top: 31%;
  --line-band-height: 8px;
  opacity: calc(var(--activity-radio-line-opacity) * .76);
  animation: activity-radio-line-b .46s steps(2,end) infinite;
}
.activity-radio-visual__line--3 {
  top: 49%;
  --line-band-height: 3px;
  opacity: calc(var(--activity-radio-line-opacity) * .92);
  animation: activity-radio-line-c .29s steps(2,end) infinite;
}
.activity-radio-visual__line--4 {
  top: 68%;
  --line-band-height: 7px;
  opacity: calc(var(--activity-radio-line-opacity) * .68);
  animation: activity-radio-line-d .52s steps(2,end) infinite;
}
.activity-radio-visual__line--5 {
  top: 84%;
  --line-band-height: 4px;
  opacity: calc(var(--activity-radio-line-opacity) * .84);
  animation: activity-radio-line-e .41s steps(2,end) infinite;
}
@keyframes activity-radio-line-a {
  0%, 32% { transform: translate3d(-7px, -1px, 0); }
  33%, 66% { transform: translate3d(5px, 1px, 0); }
  67%, 100% { transform: translate3d(-2px, 0, 0); }
}
@keyframes activity-radio-line-b {
  0%, 25% { transform: translate3d(3px, 0, 0) scaleY(.9); }
  26%, 61% { transform: translate3d(-8px, 2px, 0) scaleY(1.2); }
  62%, 100% { transform: translate3d(4px, -1px, 0) scaleY(1); }
}
@keyframes activity-radio-line-c {
  0%, 45% { transform: translate3d(-4px, 1px, 0); }
  46%, 73% { transform: translate3d(9px, -1px, 0); }
  74%, 100% { transform: translate3d(1px, 0, 0); }
}
@keyframes activity-radio-line-d {
  0%, 37% { transform: translate3d(6px, -2px, 0) scaleY(1.1); }
  38%, 70% { transform: translate3d(-5px, 1px, 0) scaleY(.86); }
  71%, 100% { transform: translate3d(2px, 0, 0) scaleY(1); }
}
@keyframes activity-radio-line-e {
  0%, 28% { transform: translate3d(-3px, 0, 0); }
  29%, 58% { transform: translate3d(7px, 2px, 0); }
  59%, 100% { transform: translate3d(-6px, -1px, 0); }
}


/* Activity radio visual v3: explicit black-and-white TV snow and horizontal interference bars over content. */
.activity-radio-visual__veil {
  background: rgba(6, 7, 7, .56);
  -webkit-backdrop-filter: contrast(1.02) saturate(.96) brightness(.99);
  backdrop-filter: contrast(1.02) saturate(.96) brightness(.99);
}
.activity-radio-visual__snow--a {
  mix-blend-mode: screen;
  filter: grayscale(1) contrast(1.75) brightness(1.22);
}
.activity-radio-visual__snow--b {
  mix-blend-mode: difference;
  filter: grayscale(1) contrast(2.05) brightness(.86);
}
.activity-radio-visual__tear { display: none !important; }
.activity-radio-visual__band {
  opacity: var(--activity-radio-band-opacity);
  height: 14%;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255,255,255,.025) 15%,
    rgba(255,255,255,.12) 42%,
    rgba(0,0,0,.12) 59%,
    transparent 100%);
  filter: blur(.55px);
}
.activity-radio-visual__line {
  z-index: 5;
  left: -5%;
  width: 110%;
  mix-blend-mode: screen;
  filter: blur(.12px);
}
.activity-radio-visual__line::before {
  height: 2px;
  background: rgba(250,252,250,.96);
  box-shadow:
    0 1px 0 rgba(255,255,255,.28),
    0 3px 0 rgba(0,0,0,.48),
    0 5px 9px rgba(255,255,255,.20);
}
.activity-radio-visual__line::after {
  background: linear-gradient(to bottom,
    rgba(255,255,255,.22),
    rgba(255,255,255,.06) 28%,
    rgba(0,0,0,.26) 62%,
    transparent);
}
.activity-radio-visual__line--1 { top: 12%; }
.activity-radio-visual__line--2 { top: 30%; }
.activity-radio-visual__line--3 { top: 49%; }
.activity-radio-visual__line--4 { top: 68%; }
.activity-radio-visual__line--5 { top: 85%; }
.activity-radio-visual__scan {
  z-index: 6;
  background: repeating-linear-gradient(to bottom,
    rgba(255,255,255,.072) 0 1px,
    transparent 1px 4px);
  mix-blend-mode: screen;
}


/* Activity radio visual v4: harsher horizontal tracking lines and coarser TV snow. */
.activity-radio-visual__snow {
  image-rendering: pixelated;
  background-repeat: repeat;
}
.activity-radio-visual__snow--a {
  filter: grayscale(1) contrast(2.08) brightness(1.30);
}
.activity-radio-visual__snow--b {
  filter: grayscale(1) contrast(2.40) brightness(.82);
  mix-blend-mode: difference;
}
.activity-radio-visual__band {
  height: 18%;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(255,255,255,.035) 10%,
    rgba(255,255,255,.19) 37%,
    rgba(0,0,0,.23) 55%,
    rgba(255,255,255,.08) 67%,
    transparent 100%);
  filter: blur(.35px) contrast(1.2);
}
.activity-radio-visual__line {
  left: -8%;
  width: 116%;
  z-index: 8;
  mix-blend-mode: normal;
  filter: contrast(1.28);
}
.activity-radio-visual__line::before {
  top: 0;
  height: 3px;
  background: rgba(255,255,255,.98);
  box-shadow:
    0 2px 0 rgba(255,255,255,.48),
    0 5px 0 rgba(0,0,0,.78),
    0 8px 0 rgba(255,255,255,.24),
    0 12px 12px rgba(255,255,255,.28),
    0 -3px 8px rgba(255,255,255,.22);
}
.activity-radio-visual__line::after {
  top: 3px;
  height: var(--line-band-height, 12px);
  background: linear-gradient(to bottom,
    rgba(255,255,255,.34) 0%,
    rgba(255,255,255,.12) 22%,
    rgba(0,0,0,.46) 56%,
    rgba(0,0,0,.18) 78%,
    transparent 100%);
  filter: blur(.22px);
}
.activity-radio-visual__line--1 {
  --line-band-height: 11px;
  opacity: var(--activity-radio-line-opacity);
}
.activity-radio-visual__line--2 {
  --line-band-height: 18px;
  opacity: calc(var(--activity-radio-line-opacity) * .88);
}
.activity-radio-visual__line--3 {
  --line-band-height: 9px;
  opacity: calc(var(--activity-radio-line-opacity) * 1.00);
}
.activity-radio-visual__line--4 {
  --line-band-height: 16px;
  opacity: calc(var(--activity-radio-line-opacity) * .82);
}
.activity-radio-visual__line--5 {
  --line-band-height: 13px;
  opacity: calc(var(--activity-radio-line-opacity) * .92);
}
.activity-radio-visual__scan {
  z-index: 9;
  background: repeating-linear-gradient(to bottom,
    rgba(255,255,255,.095) 0 1px,
    rgba(0,0,0,.025) 1px 2px,
    transparent 2px 5px);
  mix-blend-mode: screen;
}


/* Activity radio visual v5: explicit horizontal interference lines removed. */
.activity-radio-visual__line {
  display: none !important;
}


/* Activity radio visual v6: snow only; remove all horizontal bands and scan lines. */
.activity-radio-visual__band,
.activity-radio-visual__tear,
.activity-radio-visual__scan,
.activity-radio-visual__line {
  display: none !important;
}


/* ================================================================
   Reliability / progressive-enhancement safeguards
   Content is visible by default. Animation classes are enabled only
   after site.js has completed initialization. If initialization fails,
   this final rule restores every section immediately.
   ================================================================ */
html.effects-failsafe .reveal,
html.effects-failsafe .scroll-scene > .scene-content,
html.effects-failsafe .scroll-scene[data-screen-effect] > .scene-content {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
  pointer-events: auto !important;
  animation: none !important;
}
html.effects-failsafe .screen-fx { display: none !important; }

@media print {
  .reveal,
  .scroll-scene > .scene-content {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    animation: none !important;
  }
  .screen-fx { display: none !important; }
}


/* ================================================================
   Section-effect simplification — 2026-07-27
   RECORD and PEOPLE remain readable before their effects. FACULTY
   and FOR INDUSTRY are no longer animation scenes.
   ================================================================ */
html.scene-effects-ready .scroll-scene[data-scene-visible] > .scene-content,
html.scene-effects-ready .scroll-scene[data-scene-visible]:not(.is-scene-playing):not(.is-scene-complete) > .scene-content {
  opacity: 1;
  pointer-events: auto;
}

/* Disable the generic reveal fade in sections requested to be visible immediately. */
html.reveal-effects-ready #record .reveal,
html.reveal-effects-ready #faculty .reveal,
html.reveal-effects-ready #people .reveal,
html.reveal-effects-ready #industry .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Retain the former lower spacing after removing the metrics advisory note. */
.metrics .wrap { padding-bottom: 18px; }

/* RESEARCH RECORD: content remains visible beneath translucent analogue snow. */
.screen-fx.fx-record-snow.is-active {
  background: rgba(2, 5, 4, .08);
  animation: fx-record-snow-shell 1.38s linear both;
}
.fx-record-snow .screen-fx__frame::before {
  opacity: .18;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.055) 0 1px, transparent 1px 4px);
}
.fx-record-snow .screen-fx__frame::after {
  box-shadow: inset 0 0 13vw 4vw rgba(0,0,0,.22);
}
.fx-record-snow .screen-fx__noise {
  opacity: 0;
  background-size: 136px 136px;
  mix-blend-mode: screen;
  animation: fx-noise-shift .07s steps(2,end) infinite, fx-record-snow-noise 1.34s linear both;
}
.fx-record-snow .screen-fx__roll,
.fx-record-snow .screen-fx__line,
.fx-record-snow .screen-fx__color-sync,
.fx-record-snow .screen-fx__caption,
.fx-record-snow .screen-fx__signal,
.fx-record-snow .screen-fx__vhold,
.fx-record-snow .screen-fx__diary-card {
  display: none;
}
.scroll-scene.is-scene-playing[data-screen-effect="record-snow"] > .scene-content {
  animation: scene-record-snow-disturb 1.36s steps(1,end) both;
}

@keyframes fx-record-snow-shell {
  0% { opacity: 0; }
  9% { opacity: .72; }
  20%, 58% { opacity: 1; }
  78% { opacity: .46; }
  100% { opacity: 0; }
}
@keyframes fx-record-snow-noise {
  0% { opacity: 0; filter: grayscale(1) contrast(1.25); }
  10% { opacity: .28; filter: grayscale(1) contrast(1.55); }
  24% { opacity: .54; filter: grayscale(1) contrast(1.9); }
  39% { opacity: .36; filter: grayscale(1) contrast(1.72); }
  53% { opacity: .48; filter: grayscale(1) contrast(2.02); }
  69% { opacity: .24; filter: grayscale(1) contrast(1.48); }
  100% { opacity: 0; filter: none; }
}
@keyframes scene-record-snow-disturb {
  0%, 10% { transform: none; filter: none; }
  18% { transform: translateX(-2px); filter: brightness(.93) contrast(1.12); }
  25% { transform: translateX(2px); filter: brightness(.9) contrast(1.18); }
  33% { transform: translateX(-1px); filter: brightness(.96) contrast(1.08); }
  43% { transform: translateX(1px); filter: brightness(.91) contrast(1.15); }
  56% { transform: none; filter: brightness(.95) contrast(1.08); }
  73% { transform: translateX(-1px); filter: brightness(.98) contrast(1.04); }
  100% { transform: none; filter: none; }
}


/* Accessibility and metric-period additions. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.metric-period {
  display: block;
  margin-top: 7px;
  color: #d1b76d;
  font: 800 .67rem/1.45 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .025em;
}

.details-heading { margin: 0; }


@media (max-width: 680px) {
  .hero-lead-sub {
    font-size: .82em;
    line-height: 1.5;
  }
}


/* =========================================================
   RECENT ACTIVITY — film-era colour album
   Dark lab UI, aged colour prints, muted foggy grading.
   ========================================================= */
#activity.activity-album {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 10%, rgba(106,127,119,.08), transparent 28%),
    radial-gradient(circle at 86% 76%, rgba(116,92,68,.07), transparent 31%),
    linear-gradient(180deg, #111916 0%, #0e1513 48%, #101713 100%);
  color: var(--cream);
}
#activity.activity-album::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .095;
  background-image: url("noise.webp");
  background-size: 270px 270px;
  mix-blend-mode: soft-light;
}
#activity.activity-album::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.18), transparent 14%, transparent 86%, rgba(0,0,0,.18)),
    linear-gradient(180deg, transparent 0 68%, rgba(0,0,0,.14));
}
#activity.activity-album > .scene-content {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--cream);
}
#activity.activity-album > .scene-content::before,
#activity.activity-album > .scene-content::after {
  content: none;
}
#activity.activity-album .kicker {
  color: var(--cyan);
}
#activity.activity-album .section-title.activity-title--archive {
  margin-bottom: 30px;
  color: #e4e7df;
  font-family: inherit;
  text-shadow: 0 1px 0 rgba(255,255,255,.025);
}
#activity.activity-album .activity-archive-list {
  display: grid;
  gap: clamp(24px, 3.2vw, 38px);
  margin-top: 0;
  border: 0;
  counter-reset: diary-entry;
}
#activity.activity-album .activity-entry {
  counter-increment: diary-entry;
  position: relative;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-areas: "time copy";
  gap: 20px;
  align-items: start;
  min-height: 0;
  padding: 22px 24px;
  overflow: visible;
  border: 1px solid #35443b;
  background:
    linear-gradient(115deg, rgba(18,27,23,.97), rgba(21,30,26,.96) 58%, rgba(15,23,20,.98));
  color: #cbd1ca;
  box-shadow:
    inset 0 0 0 1px rgba(231,239,232,.025),
    7px 8px 0 rgba(4,8,6,.26),
    0 20px 45px rgba(0,0,0,.13);
}
#activity.activity-album .activity-entry::before {
  content: none;
}
#activity.activity-album .activity-entry::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background-image: url("noise.webp");
  background-size: 220px 220px;
  mix-blend-mode: screen;
}
#activity.activity-album .activity-entry--photo {
  grid-template-columns: 88px minmax(300px, .92fr) minmax(0, 1.08fr);
  grid-template-areas: "time photo copy";
  gap: clamp(20px, 3vw, 38px);
  align-items: center;
  min-height: 290px;
  padding: clamp(24px, 3vw, 34px);
}
#activity.activity-album .activity-entry--photo.activity-entry--reverse {
  grid-template-columns: 88px minmax(0, 1.08fr) minmax(300px, .92fr);
  grid-template-areas: "time copy photo";
}
#activity.activity-album .activity-entry time {
  grid-area: time;
  position: relative;
  align-self: start;
  padding-top: 7px;
  color: var(--gold);
  font: 800 .69rem/1.55 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .055em;
}
#activity.activity-album .activity-entry-copy {
  grid-area: copy;
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  color: #c7cec7;
  font-family: inherit;
  font-size: .94rem;
  font-weight: 400;
  line-height: 1.82;
}
#activity.activity-album .activity-entry-copy p {
  margin: 8px 0 0;
}
#activity.activity-album .activity-entry-type {
  display: block;
  color: #7fa6a5;
  font: 800 .59rem/1.45 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
}
#activity.activity-album .activity-entry-copy a {
  display: inline-block;
  margin-top: 11px;
  color: #91cdd0;
  font: 800 .66rem/1.45 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .05em;
  text-decoration-color: rgba(145,205,208,.46);
  text-underline-offset: 4px;
}
#activity.activity-album .activity-entry-copy a:hover {
  color: #c0edef;
}
#activity.activity-album .activity-photo {
  grid-area: photo;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: minmax(220px, 1fr) auto;
  min-height: 0;
  margin: 0;
  padding: 10px 10px 9px;
  overflow: visible;
  border: 0;
  background: #c9c3b4;
  box-shadow:
    0 1px 0 rgba(255,255,255,.25) inset,
    0 0 0 1px rgba(20,25,22,.65),
    10px 13px 27px rgba(0,0,0,.34);
  transform: rotate(-.7deg);
  transform-origin: 50% 50%;
}
#activity.activity-album .activity-entry--reverse .activity-photo {
  transform: rotate(.75deg);
}
#activity.activity-album .activity-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 230px;
  max-height: 330px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(31,38,33,.5);
  filter: none;
}
#activity.activity-album .activity-photo--portrait img { object-position: center 28%; }
#activity.activity-album .activity-photo--meal img { object-position: center 55%; }
#activity.activity-album .activity-photo--wide img { object-position: center 46%; }
#activity.activity-album .activity-photo::before {
  content: "";
  position: absolute;
  inset: 10px 10px 31px;
  z-index: 3;
  pointer-events: none;
  box-shadow:
    inset 0 0 34px rgba(7,14,13,.24),
    inset 0 0 0 1px rgba(225,220,201,.10);
}
#activity.activity-album .activity-photo::after {
  content: "";
  position: absolute;
  inset: 10px 10px 31px;
  z-index: 4;
  pointer-events: none;
  opacity: .18;
  background:
    radial-gradient(circle at 16% 12%, rgba(215,223,211,.16), transparent 26%),
    linear-gradient(180deg, rgba(121,143,135,.07), transparent 38%, rgba(75,54,39,.10)),
    url("noise.webp");
  background-size: auto, auto, 230px 230px;
  mix-blend-mode: soft-light;
}
#activity.activity-album .activity-photo figcaption {
  position: static;
  z-index: 5;
  display: block;
  padding: 8px 3px 0;
  color: #38423c;
  background: transparent;
  font: 800 .51rem/1.2 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .085em;
  text-align: left;
}
#activity.activity-album .activity-entry--text {
  width: min(920px, 92%);
  margin-inline: auto;
  background:
    linear-gradient(100deg, rgba(18,27,23,.97), rgba(25,34,29,.95), rgba(17,25,22,.98));
}
#activity.activity-album .activity-entry--text:nth-child(even) {
  transform: translateX(1.5%);
}
#activity.activity-album .activity-entry--text:nth-child(odd) {
  transform: translateX(-1.5%);
}

@media (max-width: 900px) {
  #activity.activity-album .activity-entry--photo,
  #activity.activity-album .activity-entry--photo.activity-entry--reverse {
    grid-template-columns: 74px minmax(245px, .9fr) minmax(0, 1.1fr);
    grid-template-areas: "time photo copy";
    gap: 20px;
  }
}
@media (max-width: 720px) {
  #activity.activity-album > .scene-content {
    width: calc(100% - 24px);
  }
  #activity.activity-album .activity-archive-list {
    gap: 24px;
  }
  #activity.activity-album .activity-entry,
  #activity.activity-album .activity-entry--photo,
  #activity.activity-album .activity-entry--photo.activity-entry--reverse {
    grid-template-columns: 1fr;
    grid-template-areas:
      "time"
      "photo"
      "copy";
    gap: 13px;
    padding: 28px 15px 17px;
    transform: none;
  }
  #activity.activity-album .activity-entry--text {
    width: 100%;
    grid-template-areas:
      "time"
      "copy";
  }
  #activity.activity-album .activity-entry time {
    position: static;
    padding: 0;
  }
  #activity.activity-album .activity-photo,
  #activity.activity-album .activity-entry--reverse .activity-photo {
    transform: rotate(-.35deg);
  }
  #activity.activity-album .activity-photo img {
    min-height: 220px;
    max-height: 310px;
  }
  #activity.activity-album .activity-entry-copy {
    font-size: .88rem;
    line-height: 1.75;
  }
}

/* The Activity content remains visible beneath its existing translucent snow effect. */
.js #activity.activity-album:not(.is-scene-playing):not(.is-scene-complete) > .scene-content,
.js #activity.activity-album.is-scene-playing > .scene-content,
.js #activity.activity-album.is-scene-complete > .scene-content {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}


/* Activity photo grade: cool cyan instant-film prints, while preserving the site's shared dark panel and typography. */
#activity.activity-album .activity-photo {
  background: #b7c5c1;
  box-shadow:
    0 1px 0 rgba(255,255,255,.30) inset,
    0 0 0 1px rgba(18,29,27,.72),
    10px 13px 27px rgba(0,0,0,.34);
}
#activity.activity-album .activity-photo img { filter: none; }
#activity.activity-album .activity-photo::before {
  box-shadow:
    inset 0 0 36px rgba(5,20,22,.22),
    inset 0 0 0 1px rgba(211,232,228,.12);
}
#activity.activity-album .activity-photo::after {
  opacity: .16;
  background:
    radial-gradient(circle at 16% 12%, rgba(194,232,230,.18), transparent 28%),
    linear-gradient(180deg, rgba(55,125,130,.08), transparent 40%, rgba(18,52,58,.12)),
    url("noise.webp");
  background-size: auto, auto, 230px 230px;
  mix-blend-mode: soft-light;
}
#activity.activity-album .activity-photo figcaption { color: #314642; }


/* Hero message hierarchy: the material-time line sits directly below TRACE THE ORIGIN. */
.hero h1 {
  margin-bottom: 14px;
}
.hero-catchphrase {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .72em;
  max-width: 100%;
  margin: 0 0 25px;
  padding: .58em 1.02em .55em .82em;
  border-top: 1px solid rgba(179, 210, 188, .26);
  border-right: 1px solid rgba(179, 210, 188, .13);
  border-bottom: 1px solid rgba(179, 210, 188, .26);
  border-left: 3px solid rgba(216, 57, 65, .92);
  background:
    linear-gradient(90deg, rgba(42, 12, 16, .78), rgba(9, 20, 16, .70) 54%, rgba(9, 20, 16, .16)),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.025) 0 1px, transparent 1px 4px);
  box-shadow:
    inset 0 0 22px rgba(85, 180, 135, .055),
    4px 5px 0 rgba(0,0,0,.38);
  color: #eadbb1;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", Georgia, serif;
  font-size: clamp(1.02rem, 1.75vw, 1.46rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .13em;
  text-shadow: 0 0 13px rgba(220, 235, 208, .15), 2px 2px 0 #000;
}
.hero-catchphrase::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -18px;
  width: 31px;
  height: 1px;
  background: linear-gradient(90deg, rgba(103,199,151,.58), transparent);
  box-shadow: 0 0 8px rgba(103,199,151,.26);
}
.hero-catchphrase-icon {
  flex: 0 0 auto;
  color: #e54c54;
  font: 900 .66em/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: -.23em;
  text-shadow: 0 0 9px rgba(235, 55, 66, .66);
  transform: translateY(.04em);
}
.hero-catchphrase--en {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(.82rem, 1.34vw, 1.08rem);
  letter-spacing: .105em;
}
.hero-lead {
  margin-top: 0;
}

@media (max-width: 680px) {
  .hero h1 { margin-bottom: 12px; }
  .hero-catchphrase {
    margin-bottom: 22px;
    padding: .58em .78em .55em .68em;
    font-size: clamp(.91rem, 4.35vw, 1.08rem);
    letter-spacing: .075em;
  }
  .hero-catchphrase::after { display: none; }
  .hero-catchphrase--en {
    font-size: clamp(.72rem, 3.4vw, .89rem);
    letter-spacing: .065em;
  }
}

@media (max-width: 460px) {
  #outcomes .outcomes-title-with-note { font-size: 7.2vw; }
}


/* Hero effects control. OFF keeps the three image cross-fades active. */
.effect-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: .48em;
  min-height: 27px;
  padding: .28em .68em .25em;
  border: 1px solid rgba(120, 171, 142, .78);
  background: rgba(7, 16, 11, .82);
  color: #a8c7b0;
  box-shadow: inset 0 0 10px rgba(84, 188, 119, .12);
  cursor: pointer;
  font: inherit;
  letter-spacing: .08em;
}
.effect-toggle:hover,
.effect-toggle:focus-visible {
  border-color: var(--cyan);
  color: #d8eee0;
  outline: 2px solid transparent;
}
.effect-toggle:focus-visible { box-shadow: 0 0 0 2px rgba(116, 201, 208, .35); }
.effect-toggle:disabled { cursor: wait; opacity: .55; }
.effect-toggle b { color: var(--green); font: inherit; }
.effect-toggle-led {
  width: .58em;
  height: .58em;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 7px rgba(112, 213, 139, .82);
}
.effect-toggle[data-effect-state="off"] {
  border-color: rgba(125, 134, 129, .68);
  color: #8d9991;
  box-shadow: none;
}
.effect-toggle[data-effect-state="off"] b { color: #b6bdb8; }
.effect-toggle[data-effect-state="off"] .effect-toggle-led {
  background: #616a64;
  box-shadow: none;
}

html.effects-off .scan,
html.effects-off .screen-fx,
html.effects-off .ambient-analog-noise,
html.effects-off .activity-radio-visual,
html.effects-off .crt-contact-exit-fx,
html.effects-off .crt-contact-entry-fx {
  display: none !important;
}
html.effects-off .reveal,
html.effects-off .scroll-scene > .scene-content,
html.effects-off .scroll-scene[data-screen-effect] > .scene-content {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
  pointer-events: auto !important;
  animation: none !important;
  transition: none !important;
}
html.effects-off .scroll-scene,
html.effects-off .scroll-scene *,
html.effects-off .scroll-scene::before,
html.effects-off .scroll-scene::after,
html.effects-off .scroll-scene *::before,
html.effects-off .scroll-scene *::after,
html.effects-off .status-active,
html.effects-off .status-active::after,
html.effects-off .status-led {
  animation: none !important;
}
html.effects-off .status-active::after { display: none !important; }
