@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');
/* Rae Shi — editorial motion layer. Original H2 renderer stays untouched. */
:root {
  --bg: #080a09;
  --panel: #0e1210;
  --ink: #eff2eb;
  --muted: #9aa29a;
  --line: #2a342d;
  --accent: #d5fb68;
  --acid: #d5fb68;
  --display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}
html { scroll-padding-top: 98px; }
body {
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
  background-image: linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
}
body::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 1100px;
  background: radial-gradient(ellipse 65% 50% at 73% 19%, #9ebe3930, transparent 72%);
  pointer-events: none;
}
::selection { background: var(--acid); color: #081007; }
.wrap { width: min(90%, 1420px); max-width: 1420px; }
.reading-progress { position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: 2px; pointer-events: none; background: #ffffff0d; }
.reading-progress span { display: block; height: 100%; width: 100%; background: var(--acid); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px #d5fb68a0; }
.cursor-light { position: fixed; inset: 0; z-index: 8; pointer-events: none; opacity: .65; background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 30%), #c9f85b0b, transparent 70%); mix-blend-mode: screen; }
.site-header {
  width: min(94%, 1540px);
  height: 88px;
  position: relative;
  z-index: 15;
  border-bottom: 1px solid #e8f7cc24;
}
.brand-mark { color: var(--acid); font-family: var(--mono); font-weight: 800; font-size: 39px; }
.brand-mark>span { color: #d1d6c3; }
.brand { gap: 18px; letter-spacing: 1.5px; font-weight: 700; }
.brand-sub { letter-spacing: 1.5px; font-size: 7px; color: #7b877a; }
.site-header nav { gap: clamp(18px, 3vw, 48px); font-family: var(--mono); }
.site-header nav a { position: relative; color: #b2bdad; transition: color .2s; }
.site-header nav a::after { content: ""; position: absolute; width: 0; height: 1px; left: 0; bottom: -10px; background: var(--acid); transition: width .3s ease; }
.site-header nav a:hover::after, .site-header nav a.active::after { width: 100%; }
.site-header nav a.active, .site-header nav a:hover { color: var(--acid); }
.site-header nav a>span { color: #7a8c70; }
.contact-nav { padding: 12px 16px; border: 1px solid #5f745333; font-size: 10px; color: #d4ded0; letter-spacing: .8px; transition: background .25s, border-color .25s; }
.contact-nav:hover { background: #d5fb6814; border-color: #d5fb68a0; color: var(--acid); }
.contact-nav span { color: var(--acid); margin-left: 14px; }

/* Hero: large type and the original full-resolution ASCII robot as the focal point. */
.hero {
  min-height: min(850px, calc(100svh - 90px));
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  gap: clamp(26px, 4vw, 76px);
  padding: 45px 0 80px;
  position: relative;
}
.hero::before { content: "R / 001"; position: absolute; right: 0; top: 21px; font-size: 9px; color: #64705e; letter-spacing: 2px; }
.hero-copy { z-index: 3; }
.hero-kicker { font-size: 10px !important; letter-spacing: 1.55px !important; color: var(--acid) !important; }
.hero-kicker .status-dot { background: var(--acid); width: 6px; height: 6px; box-shadow: 0 0 16px #d5fb68a0; border-radius: 50%; animation: status-glow 2.3s ease-in-out infinite; }
.kicker-index { color: #687565; margin-left: 6px; }
.hero h1 {
  margin-top: 33px;
  font: 500 clamp(75px, 8.4vw, 142px)/.91 var(--display);
  letter-spacing: -.083em;
  text-transform: uppercase;
}
.hero-line { display: block; white-space: nowrap; }
.hero h1 .hero-line-muted { color: #aab4a4; }
.hero h1 .title-dot { color: var(--acid); }
.hero-identity { display: flex; align-items: center; gap: 21px; margin-top: 46px; }
.identity-line { width: 42px; height: 1px; background: var(--acid); flex-shrink: 0; }
.hero-identity h2 { font: 500 20px/1.4 var(--sans); margin: 0; color: #f2f4eb; }
.hero-identity h2 span { color: #8e9b8b; font: 400 14px var(--display); }
.hero-identity p { color: #647266; margin-top: 8px; font-size: 9px; letter-spacing: 1.35px; }
.hero-description { margin-top: 30px; color: #a8b4a7; font: 13px/2.1 var(--sans); letter-spacing: .05px; }
.hero-description strong { color: #e3e9d9; font-weight: 500; font-family: var(--display); letter-spacing: .2px; }
.hero-actions { margin-top: 32px; gap: 25px; }
.hero-actions .button, .button {
  background: var(--acid); color: #141c0d; border: 1px solid var(--acid);
  border-radius: 2px; min-width: 150px; padding: 16px 20px; font-weight: 600;
  box-shadow: 0 10px 45px #d5fb6815;
  transition: color .25s, background .25s, box-shadow .25s, transform .25s;
}
.hero-actions .button:hover, .button:hover { background: #edffbb; border-color: #edffbb; box-shadow: 0 10px 55px #d5fb6840; }
.command-link { color: #a5b49c; letter-spacing: .1px; }
.command-link>span { color: var(--acid); }
.hero-meta { margin-top: 47px; gap: 42px; color: #63725e; font-size: 8px; }
.hero-meta b { color: #c2cfb7; font-size: 8px; }
.reference-note { font-size: 7px; color: #61705e; margin-top: 27px; }
.reference-note a { color: #909e87; border-bottom-color: #4a5e3f; }
.reference-note a:hover { color: var(--acid); }

/* Robot lab: stage HUD augments the existing canvas rather than replacing it. */
.robot-view { position: relative; isolation: isolate; transition: transform .18s linear; }
.robot-view::before { content: ""; position: absolute; inset: 65px 0 60px; border-radius: 50%; background: #b9df5721; filter: blur(80px); z-index: -1; }
.view-header { font-size: 9px; letter-spacing: 1.5px; border-bottom: 1px solid #2f422b; padding: 0 12px 16px; }
.view-header>span:first-child, .view-header b { color: #d0dfbe; }
.view-header i { border-radius: 50%; background: var(--acid); box-shadow: 0 0 8px #d5fb68b0; }
.ascii-stage {
  height: clamp(480px, 67svh, 730px);
  border-inline: 1px solid #273325;
  background: radial-gradient(ellipse at 50% 42%, #1b2917 0%, #0b100c 40%, #050706 78%);
}
.ascii-stage:after { background: radial-gradient(ellipse at 50% 52%, transparent 44%, #080a09ec 90%); }
.stage-grid { position: absolute; inset: 0; opacity: .3; z-index: 0; background-image: linear-gradient(#a9d78217 1px,transparent 1px),linear-gradient(90deg,#a9d78217 1px,transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(transparent,#000 25%,#000 75%,transparent); }
#ascii-robot { z-index: 1; mix-blend-mode: screen; opacity: .98; }
.reticle { width: 18px; height: 18px; border-color: #d5fb687a; position: absolute; z-index: 4; pointer-events: none; }
.reticle-tl { top: 19px; left: 17px; border-top: 1px solid; border-left: 1px solid; }
.reticle-tr { top: 19px; right: 17px; border-top: 1px solid; border-right: 1px solid; }
.reticle-bl { bottom: 19px; left: 17px; border-bottom: 1px solid; border-left: 1px solid; }
.reticle-br { bottom: 19px; right: 17px; border-bottom: 1px solid; border-right: 1px solid; }
.stage-side-label { position: absolute; z-index: 4; right: 12px; top: 55px; writing-mode: vertical-rl; font-size: 8px; color: #75846b; letter-spacing: 1.4px; }
.scene-status { z-index: 4; color: #b5c7a7; left: 20px; bottom: 20px; background: #0a0e0bac; padding: 8px 10px; border: 1px solid #283c2540; }
.scene-status-dot { background: var(--acid); box-shadow: 0 0 11px #d5fb68a0; }
.robot-view figcaption { border-color: #33402e; margin: 0; padding: 15px 12px; color: #80917a; }
#model-loading { color: #b9caa8; z-index: 4; }

/* An always moving but low-contrast signals ribbon. */
.ticker { overflow: hidden; border-color: #32412d; background: var(--acid); transform: rotate(-.35deg) scale(1.01); }
.ticker-track { display: flex; align-items: center; gap: 40px; width: max-content; padding: 17px 0; color: #10190b; font: 700 11px var(--mono); letter-spacing: 1.3px; animation: ticker-drift 32s linear infinite; }
.ticker-track span { white-space: nowrap; }
.ticker-track i { font-style: normal; font-size: 15px; color: #4c6c22; }
.evidence { border-bottom: 1px solid #2c3b28; padding-block: 47px 64px; display: grid; grid-template-columns: 1.18fr repeat(3, 1fr); gap: 28px; align-items: end; }
.evidence-intro { display: flex; flex-direction: column; gap: 18px; }
.evidence-intro>span { color: var(--acid); font-size: 9px; letter-spacing: 1.3px; }
.evidence-intro p { color: #a7b1a3; font: 12px var(--sans); }
.evidence-stat { padding-left: 26px; border-left: 1px solid #31412d; display: flex; flex-direction: column; gap: 14px; }
.evidence-stat strong { font: 500 clamp(25px, 3vw, 48px)/1 var(--display); letter-spacing: -2px; color: #edf5e3; white-space: nowrap; }
.evidence-stat strong span { font-size: .5em; letter-spacing: -.03em; color: var(--acid); }
.evidence-stat>span { font: 10px var(--sans); color: #7d9177; }

/* Every section gets a clear editorial rhythm. */
.section { padding-block: clamp(96px, 11vw, 160px); }
/* Soft typographic help so copy stays readable over the stroke field,
   without boxing sections in heavy black slabs. */
.about-grid h2,
.section-heading h2,
.research-grid h2,
.elsewhere-heading h2,
.process-heading h2 {
  text-shadow: 0 0 28px #000, 0 2px 18px #000c;
}
.about-grid>div>p:not(.eyebrow),
.section-heading p,
.research-grid>div>p:not(.eyebrow),
.elsewhere-heading > p,
.process-heading p {
  text-shadow: 0 1px 12px #000c, 0 0 18px #0009;
}
.section-label { text-shadow: 0 1px 10px #000c; }
.about-grid > div:first-child,
.research-grid > div:first-child {
  position: relative;
  isolation: isolate;
}
.about-grid > div:first-child::before,
.research-grid > div:first-child::before {
  content: "";
  position: absolute;
  inset: -28px -40px;
  background: radial-gradient(ellipse 75% 70% at 35% 40%, #0000007a, transparent 72%);
  pointer-events: none;
  z-index: -1;
}
.section-label { border-top: 1px solid #35462f; padding-top: 17px; margin-bottom: 60px; font-size: 10px; letter-spacing: 1.4px; }
.section-label>span:first-child { color: var(--acid); }
.section-label>span:last-child { color: #657560; }
.section h2 { font-size: clamp(31px, 3.7vw, 58px); line-height: 1.32; letter-spacing: -1px; }
.about-grid { grid-template-columns: 1fr .9fr; gap: clamp(60px, 10vw, 160px); }
.about-grid h2 { font-weight: 600; }
.about-grid>div>p:not(.eyebrow) { font-size: 13px; line-height: 2.25; color: #a5b1a2; max-width: 600px; }
.terminal { border: 1px solid #364934; background: #0c100d; box-shadow: 18px 18px 0 #111811; transform: translateY(6px); }
.terminal-bar { background: #172017; border-color: #364934; }
.terminal-bar>span:first-child { color: var(--acid); }
.terminal-body { padding: 36px; }
.terminal-body pre, .terminal-answer { color: #b1c2a7; }
.terminal-command>span:first-child, .terminal-cursor { color: var(--acid); }
.terminal-comment { color: #748c6d; }
.toolbox { margin-top: 88px; border-color: #35462e; }
.toolbox-label { color: var(--acid); }
.toolbox>div>span { border: 1px solid #33432d; color: #b7c5b1; background: #11181080; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.toolbox>div>span:hover { color: #18230f; background: var(--acid); border-color: var(--acid); transform: translateY(-4px); }

/* Projects: two-column case-study tiles, keeping details and real media. */
.projects-section { border-top: 0; }
.section-heading { margin-bottom: 50px; align-items: end; }
.section-heading h2 { font-size: clamp(40px, 5vw, 72px); font-weight: 600; letter-spacing: -2px; }
.section-heading p { max-width: 240px; font-size: 12px; color: #a3b09d; }
.accent { color: var(--acid); }
.project-table-head { display: none; }
.quest-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 25px; }
.card-shell { position: relative; min-width: 0; perspective: 1000px; }
.card-shell > .quest { width: 100%; height: 100%; }
.quest, .quest--media {
  display: flex; flex-direction: column; align-items: stretch;
  position: relative; overflow: hidden; min-width: 0; padding: 22px;
  gap: 0; text-align: left; border: 1px solid #2f412a;
  background: linear-gradient(140deg,#101811 0%,#0b0f0b 70%);
  border-radius: 2px; transform-style: preserve-3d;
  transition: border-color .32s ease, background .32s, box-shadow .32s, transform .25s ease;
}
.quest::before { content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(440px circle at var(--px,50%) var(--py,50%), #d5fb681a,transparent 60%); transition: opacity .4s; }
.quest:hover { background: #101a10; border-color: #a0c55d; box-shadow: 0 20px 75px #0007; }
.quest:hover::before { opacity: 1; }
.project-number { position: relative; order: 0; display: inline-flex; align-self: flex-start; padding: 0; margin-bottom: 14px; color: var(--acid); font-size: 11px; letter-spacing: 1px; }
.project-preview { position: relative; order: 1; width: 100%; height: auto; aspect-ratio: 16/9; border: 1px solid #32452e; background: #070c07; }
.project-preview img { filter: grayscale(1) contrast(1.13); transition: filter .6s, transform .7s cubic-bezier(.2,.8,.2,1); }
.quest:hover .project-preview img { transform: scale(1.075); filter: grayscale(.15) contrast(1.03); }
.project-preview>span:last-child { color: #e8f4dd; background: #061008c9; padding: 9px 12px; font-size: 8px; }
.project-content { order: 2; padding: 24px 0 20px; position: relative; z-index: 1; flex: 1; }
.project-status { font-size: 10px; color: #8da185; }
.project-content strong { display: block; font-size: clamp(20px,2vw,29px); line-height: 1.4; font-weight: 500; margin-top: 14px; color: #eff4e9; }
.project-description { font-size: 12px; color: #95a691; margin-top: 12px; }
.project-area { order: 3; display: block; border-top: 1px solid #30452a; padding-top: 15px; font: 9px/1.8 var(--mono); color: #728a69; letter-spacing: 1px; }
.project-arrow { position: absolute; right: 22px; top: 14px; color: var(--acid); font-size: 31px; z-index: 2; transition: transform .3s; }
.quest:hover .project-arrow { transform: translate(4px,-4px); color: var(--acid); }
.project-note { margin-top: 24px; color: #819179; font-size: 10px; }
.generative-preview { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 45%, #274122, #101b11 45%, #050b07 100%); overflow: hidden; }
.generative-preview::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(#bfd8891a 1px, transparent 1px),linear-gradient(90deg,#bfd8891a 1px, transparent 1px); background-size: 28px 28px; transform: perspective(200px) rotateX(26deg) scale(1.2); }
.preview-orbit { position: relative; width: 145px; height: 110px; transform: rotate(-8deg); transition: transform .5s ease; }
.quest:hover .preview-orbit { transform: rotate(3deg) translateY(-8px); }
.preview-orbit::before { content: "W/L"; display: grid; place-items: center; position: absolute; top: 18px; left: 35px; width: 80px; height: 56px; border: 1px solid #d5fb68b5; color: var(--acid); font: 600 22px var(--display); background: #101d12; box-shadow: 0 0 55px #d5fb6835; }
.preview-orbit i { position: absolute; display: block; width: 28px; height: 28px; border: 2px solid var(--acid); border-radius: 50%; bottom: 5px; background: #0a130b; }
.preview-orbit i:nth-child(1) { left: 18px; }.preview-orbit i:nth-child(2) { right: 18px; }.preview-orbit i:nth-child(3) { left: 62px; bottom: 67px; width: 14px; height: 14px; border-width: 1px; opacity: .55; }
.generative-preview>span:last-child { z-index: 2; }

/* Research diagrams use intentionally schematic traces, not experiment data. */
.research-section { border-top: 0; }
.research-grid { gap: clamp(50px, 10vw, 140px); }
.research-grid h2 { font-weight: 600; }
.research-grid>div>p:not(.eyebrow) { color: #a7b5a1; font-size: 13px; }
.research-status { color: var(--acid); font-size: 9px; }
.research-status .status-dot { background: var(--acid); }
.questions { border-color: #678057; }
.questions details { border-color: #31432e; }
.questions summary { color: #dbe6d2; padding: 31px 0; font-size: 16px; transition: color .25s, padding-left .25s; }
.questions summary:hover { color: var(--acid); padding-left: 8px; }
.questions summary>span { color: var(--acid); }
.questions summary>i { color: var(--acid); }
.questions details>p { color: #a5b39e; font-size: 12px; }
.signal-lab { margin-top: 100px; padding: 30px 34px 22px; border: 1px solid #3e5935; background: #0b110d; position: relative; overflow: hidden; }
.signal-lab::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 75% 20%, #d5fb680d,transparent 64%); }
.signal-lab-heading { position: relative; display: flex; align-items: baseline; gap: 27px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid #31452e; }
.signal-lab-heading span { font: 9px var(--mono); color: var(--acid); letter-spacing: 1.3px; }
.signal-lab-heading strong { font: 500 19px var(--sans); color: #e3ecda; }
.signal-lab-heading small { margin-left: auto; font: 8px var(--mono); color: #71836b; }
.signal-traces { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; padding: 37px 0; }
.signal-trace { display: flex; flex-direction: column; gap: 12px; }
.signal-trace>span { font-size: 10px; color: var(--acid); letter-spacing: 1px; }
.signal-trace>span em { font: 10px var(--sans); color: #869c7e; margin-left: 12px; font-style: normal; }
.signal-trace svg { width: 100%; height: 116px; overflow: visible; border-bottom: 1px solid #283828; background-image: linear-gradient(#4b6b4025 1px,transparent 1px),linear-gradient(90deg,#4b6b4025 1px,transparent 1px); background-size: 38px 27px; }
.signal-trace .baseline { fill: none; stroke: #66815b; stroke-width: 1; stroke-dasharray: 5 5; opacity: .65; }
.signal-trace .wave { fill: none; stroke: var(--acid); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.signal-lab.is-visible .wave { animation: draw-signal 1.9s .25s cubic-bezier(.4,0,.2,1) forwards; }
.signal-lab-footer { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid #31452e; padding-top: 17px; color: #7d9674; font-size: 9px; letter-spacing: 1px; }
.note-link { border-color: #415738; padding: 34px 15px; transition: background .25s, padding .25s; }
.note-link:hover { background: #d5fb680b; padding-inline: 25px; }
.note-link small, .note-link>b { color: var(--acid); }
.note-link strong { color: #e5eedd; }

/* Public profiles — one prominent, extensible destination for the known links. */
.elsewhere-section { padding-top: clamp(90px, 11vw, 145px); padding-bottom: clamp(110px, 12vw, 160px); }
.elsewhere-heading { display: grid; grid-template-columns: 1.12fr .66fr; gap: clamp(35px, 9vw, 140px); align-items: end; margin-bottom: clamp(38px, 5vw, 65px); }
.elsewhere-heading h2 { font: 600 clamp(39px, 5.4vw, 76px)/1.12 var(--display); letter-spacing: -.065em; color: #edf3e6; margin-top: 24px; }
.elsewhere-heading > p { color: #91a08e; font: 12px/2.1 var(--sans); max-width: 360px; padding-bottom: 8px; }
.social-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.social-card { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 310px; padding: clamp(24px,2.4vw,38px); border: 1px solid #344632; background: linear-gradient(155deg,#121b14 0%,#0b0f0c 72%); overflow: hidden; transition: border-color .25s ease, transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, background .35s; }
.social-card::before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(300px circle at var(--social-x,50%) var(--social-y,50%), #d5fb683a 0%, #8ac4400b 45%, transparent 75%); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.social-card::after { content: ''; position: absolute; left: -50%; top: 0; width: 50%; height: 1px; background: linear-gradient(90deg,transparent,#d5fb68,transparent); transition: left .65s ease; pointer-events: none; }
.social-card:hover, .social-card:focus-visible { border-color: #b1df63; transform: translateY(-8px); box-shadow: 0 22px 55px #0008, inset 0 0 0 1px #d5fb681a; }
.social-card:hover::before, .social-card:focus-visible::before { opacity: 1; }
.social-card:hover::after, .social-card:focus-visible::after { left: 100%; }
.social-index { font: 9px var(--mono); color: #91a884; letter-spacing: 1px; }
.social-name { color: #f0f6e9; font: 600 clamp(36px,4vw,57px)/1.15 var(--display); letter-spacing: -.055em; margin-top: auto; padding-top: 60px; transition: color .25s; }
.social-card:hover .social-name { color: #d5fb68; }
.social-description { font: 11px/1.9 var(--sans); color: #a4b39d; margin-top: 8px; }
.social-handle { font: 10px var(--mono); color: #74896f; margin-top: 30px; padding-top: 18px; border-top: 1px solid #334431; overflow-wrap: anywhere; }
.social-arrow { position: absolute; right: clamp(24px,2.4vw,38px); top: clamp(20px,2.4vw,34px); color: #d5fb68; font: 30px var(--display); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.social-card:hover .social-arrow { transform: translate(6px,-6px) rotate(8deg); }
.social-card--contact { background: linear-gradient(135deg,#172016,#11180f 75%); }
.social-card--rednote .social-name { font-family: var(--sans); font-size: clamp(31px,3.3vw,46px); letter-spacing: -.035em; }
.social-footnote { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 24px; color: #667b60; font: 9px/1.8 var(--mono); letter-spacing: .8px; }
.social-footnote > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.social-footnote i { height: 6px; width: 6px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 15px #d5fb6870; }
.social-footnote a { color: var(--acid); border-bottom: 1px solid #d5fb6860; }
.social-footnote a:hover { color: #f4ffc9; }
@media (max-width: 1150px) { .social-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 900px) { .elsewhere-heading { grid-template-columns: 1fr; gap: 15px; } .social-card { min-height: 275px; } }
@media (max-width: 600px) { .social-grid { grid-template-columns: 1fr; } .social-card { min-height: 225px; } .social-name { padding-top: 40px; } .social-footnote { align-items: flex-start; flex-direction: column; } .elsewhere-heading h2 { font-size: clamp(36px,9vw,54px); } }
@media (prefers-reduced-motion: reduce) { .social-card,.social-card:hover,.social-card:focus-visible { transform: none; transition: none; } .social-card::after { display: none; } }

/* Invitation to connect: unmistakable final action. */
.contact-section { background: #d5fb68; border: 0; color: #101a0b; position: relative; overflow: hidden; }
.contact-section::before { content: "CONNECT"; font: 900 24vw var(--display); letter-spacing: -2vw; position: absolute; bottom: -8vw; left: -3vw; color: #24400b0c; white-space: nowrap; pointer-events: none; }
.contact-inner { position: relative; padding-block: clamp(75px,10vw,140px); gap: 70px; }
.contact-inner .eyebrow, .contact-inner>div>p:not(.eyebrow) { color: #34491f; }
.contact-inner h2 { font: 600 clamp(53px,6vw,96px)/.98 var(--display); letter-spacing: -5px; color: #101a0b; }
.contact-inner .accent { color: #566e22; }
.contact-terminal { border-color: #536a2b; }
.contact-prompt { color: #213618; font-size: 17px; }
.contact-links a { border-color: #6a8544; }
.contact-links small { color: #42602c; }
.contact-links span, .contact-links b { color: #172b11; }
.contact-links a:hover span { color: #426e0f; }
.contact-comment { color: #526b34; }
footer { color: #7c9273; font-size: 9px; letter-spacing: 1px; }
footer>a { color: var(--acid); }
dialog { background: #0b100c; border-color: #648754; }
dialog::backdrop { background: #050a06e8; backdrop-filter: blur(14px); }
.dialog-content h2 { color: #edf5e4; }
.dialog-lead, .dialog-section p { color: #adbea4; }
.dialog-section { border-color: #34482d; }
.dialog-section h3 { color: var(--acid); }
.project-gallery figure { border-color: #3c5837; }
.project-gallery figcaption { color: #9bb492; }

/* Runtime reveal transforms; the page remains visible if JS is unavailable. */
.js-motion .reveal { opacity: 0; transform: translate3d(0,34px,0); transition: opacity .72s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js-motion .reveal.is-visible { opacity: 1; transform: translate3d(0,0,0); }
.js-motion .reveal[data-delay="1"] { transition-delay: .08s; }
.js-motion .reveal[data-delay="2"] { transition-delay: .16s; }
.js-motion .reveal[data-delay="3"] { transition-delay: .24s; }
.hero .hero-line { animation: word-arrive 1s cubic-bezier(.2,.8,.2,1) both; }
.hero .hero-line:nth-child(2) { animation-delay: .14s; }
.hero-identity,.hero-description,.hero-actions { animation: gentle-arrive 1s .24s both; }
@keyframes word-arrive { from { opacity: 0; transform: translateY(55px) skewY(4deg); filter: blur(10px); } to { opacity: 1; transform: translateY(0) skewY(0); filter: blur(0); } }
@keyframes gentle-arrive { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ticker-drift { to { transform: translateX(-45%); } }
@keyframes status-glow { 50% { box-shadow: 0 0 24px #d5fb68; } }
@keyframes draw-signal { to { stroke-dashoffset: 0; } }

@media (max-width: 1240px) {
  .hero { grid-template-columns: .9fr 1.1fr; min-height: 690px; gap: 18px; }
  .hero h1 { font-size: clamp(70px, 7.5vw, 98px); }
  .ascii-stage { height: clamp(450px,58svh,600px); }
  .hero-meta { gap: 18px; }
}
@media (max-width: 900px) {
  .wrap { width: 88%; }
  .site-header { width: 90%; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 52px 60px; }
  .hero h1 { font-size: clamp(75px, 13vw, 126px); }
  .hero-copy { max-width: 690px; }
  .hero-meta { display: flex; margin-top: 32px; }
  .robot-view { width: 100%; max-width: 680px; justify-self: center; }
  .ascii-stage { height: 620px; }
  .evidence { grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 35px 0 50px; }
  .evidence-intro { grid-column: 1 / -1; }
  .evidence-stat:first-of-type { padding-left: 0; border-left: 0; }
  .about-grid,.research-grid { grid-template-columns: 1fr; gap: 45px; }
  .terminal { max-width: 690px; }
  .contact-inner { gap: 40px; }
  .contact-inner h2 { letter-spacing: -3px; }
}
@media (max-width: 760px) {
  .site-header { height: 76px; }
  .brand { gap: 9px; }
  .brand-mark { font-size: 32px; }
  .brand-sub { font-size: 6px; }
  .site-header nav { gap: 17px; }
  .site-header nav a { font-size: 10px; }
  .hero { padding-top: 48px; gap: 30px; }
  .hero h1 { font-size: clamp(57px, 12vw, 86px); letter-spacing: -.08em; margin-top: 24px; }
  .hero-identity { margin-top: 31px; gap: 12px; }
  .identity-line { width: 25px; }
  .hero-identity h2 { font-size: 16px; }
  .hero-identity h2 span { font-size: 12px; }
  .hero-identity p { font-size: 7px; }
  .hero-description { font-size: 12px; margin-top: 19px; }
  .hero-actions { margin-top: 25px; }
  .hero-meta { display: none; }
  .reference-note { margin-top: 28px; }
  .robot-view { max-width: 540px; }
  .ascii-stage { height: min(540px,125vw); }
  .ticker-track { padding: 13px 0; font-size: 9px; gap: 28px; }
  .evidence { grid-template-columns: 1fr 1fr; gap: 25px; }
  .evidence-intro { margin-bottom: 5px; }
  .evidence-stat { padding-left: 15px; }
  .evidence-stat:nth-of-type(2) { border-left: 0; padding-left: 0; }
  .evidence-stat strong { font-size: 35px; }
  .evidence-stat>span { font-size: 9px; }
  .section { padding-block: 84px; }
  .section-label { margin-bottom: 42px; }
  .section h2 { font-size: 34px; }
  .about-grid>div>p:not(.eyebrow) { font-size: 12px; }
  .terminal { box-shadow: 9px 9px 0 #111811; }
  .terminal-body { padding: 24px; }
  .toolbox { margin-top: 58px; display: block; }
  .toolbox-label { display: block; margin-bottom: 18px; }
  .section-heading h2 { font-size: 42px; }
  .quest-list { grid-template-columns: 1fr; gap: 18px; }
  .quest,.quest--media { padding: 18px; }
  .quest--media .project-number,.quest--media .project-preview,.quest--media .project-content,.quest--media .project-arrow { grid-column: auto; grid-row: auto; }
  .project-preview { max-width: none !important; aspect-ratio: 16/9; }
  .project-content { padding: 22px 0 18px; }
  .project-content strong { font-size: 21px; }
  .project-area { display: block; }
  .project-arrow { right: 18px; top: 14px; }
  .research-grid { gap: 36px; }
  .questions summary { font-size: 13px; }
  .signal-lab { margin-top: 65px; padding: 22px 19px; }
  .signal-lab-heading { gap: 12px; }
  .signal-lab-heading strong { font-size: 15px; }
  .signal-lab-heading small { margin-left: 0; }
  .signal-traces { grid-template-columns: 1fr; gap: 32px; padding: 28px 0; }
  .signal-trace svg { height: 90px; }
  .signal-lab-footer { font-size: 7px; }
  .contact-inner { grid-template-columns: 1fr; padding-block: 75px; }
  .contact-inner h2 { font-size: clamp(54px, 12vw, 85px); }
  .contact-terminal { padding: 0 0 0 22px; }
}
@media (max-width: 410px) {
  .site-header nav { gap: 12px; }
  .brand-sub { max-width: 120px; line-height: 1.3; }
  .hero h1 { font-size: clamp(51px,12.7vw,64px); }
  .hero-description { font-size: 11px; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { min-width: 132px; padding: 13px 14px; }
  .command-link { font-size: 9px; }
  .evidence-stat strong { font-size: 30px; }
  .section h2 { font-size: 29px; }
}
@media (pointer: coarse) { .cursor-light { display: none; } .quest:hover { transform: none !important; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor-light { display: none; }
  .ticker-track { animation: none; }
  .hero .hero-line,.hero-identity,.hero-description,.hero-actions { animation: none; }
  .js-motion .reveal { opacity: 1; transform: none; transition: none; }
  .signal-trace .wave { stroke-dashoffset: 0; animation: none; }
  .robot-view { transform: none !important; }
}

/* A substantive, interactive methods section between background and projects. */
.process-section { border-top: 1px solid #33442b; }
.process-heading { display: grid; grid-template-columns: 1.45fr .55fr; column-gap: 80px; align-items: end; }
.process-heading .eyebrow { grid-column: 1 / -1; margin-bottom: 18px; color: #91a78b; }
.process-heading h2 { font: 600 clamp(43px, 5.4vw, 82px)/1.13 var(--sans); letter-spacing: -3.8px; }
.process-heading h2 em { color: var(--acid); font-style: normal; }
.process-heading>p:last-child { color: #9eae9a; font: 12px/2.25 var(--sans); max-width: 320px; padding-bottom: 8px; }
.approach-interactive { display: grid; grid-template-columns: .39fr .61fr; border: 1px solid #3a5233; margin-top: 60px; background: #0c120d; min-height: 450px; }
.method-tabs { display: flex; flex-direction: column; border-right: 1px solid #3a5233; }
.method-tab { width: 100%; display: flex; gap: 15px; align-items: center; padding: 29px 24px; min-height: 105px; background: transparent; border-bottom: 1px solid #2d4229; text-align: left; color: #899d82; font: 11px var(--mono); letter-spacing: .2px; transition: background .3s, color .3s, padding-left .3s; }
.method-tab:last-child { border-bottom: none; }
.method-tab span { color: #657d5b; font-size: 9px; }
.method-tab b { margin-left: auto; font: 19px var(--mono); color: #5d7953; transition: transform .2s; }
.method-tab:hover { color: #f0f7e8; padding-left: 32px; }
.method-tab:hover b { transform: translate(2px,-2px); }
.method-tab.is-selected { color: var(--acid); background: #1a2a16; border-left: 3px solid var(--acid); padding-left: 21px; }
.method-tab.is-selected span, .method-tab.is-selected b { color: var(--acid); }
.method-display { padding: 28px 33px 30px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.method-display-top { display: flex; justify-content: space-between; gap: 20px; color: #8b9d82; font: 9px var(--mono); letter-spacing: 1px; }
.method-display-status { color: #7c936f; display: flex; align-items: center; gap: 7px; }
.method-display-status i { width: 5px; height: 5px; background: var(--acid); border-radius: 50%; }
.method-visual { position: relative; background: radial-gradient(ellipse at 45% 50%,#1b2a19,#0b150d); border: 1px solid #30472a; overflow: hidden; padding: 22px; flex: 1; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; }
.method-visual::before { content: ""; position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(#b0d59020 1px, transparent 1px),linear-gradient(90deg,#b0d59020 1px,transparent 1px); background-size: 31px 31px; pointer-events: none; }
.method-visual-caption { position: relative; z-index: 2; color: #667e5b; font: 9px var(--mono); letter-spacing: 1px; }
.method-visual-caption b { color: #b4caaa; font-weight: 400; }
.method-pipeline { display: flex; position: relative; z-index: 2; justify-content: space-between; align-items: center; gap: 10px; }
.method-pipeline span { padding: 14px 9px; flex: 1; text-align: center; font: 10px/1.4 var(--mono); color: #e3efda; border: 1px solid #5d8054; background: #122011e8; transition: box-shadow .3s; }
.method-pipeline span:nth-of-type(2) { border-color: #c5f48e; color: var(--acid); box-shadow: 0 0 22px #d5fb6819; }
.method-pipeline b { font-weight: 400; color: var(--acid); font-size: 16px; }
.method-scan { position: absolute; width: 20%; height: 220%; top: -60%; left: -45%; transform: rotate(20deg); background: linear-gradient(90deg,transparent,#d5fb6817,transparent); animation: method-sweep 5s linear infinite; pointer-events: none; }
.method-summary h3 { color: #e9f0e2; font: 500 22px/1.4 var(--sans); }
.method-summary p { color: #97a991; font: 12px/2 var(--sans); margin-top: 12px; }
.method-summary>span { display: block; color: var(--acid); font: 9px var(--mono); letter-spacing: 1px; margin-top: 15px; }
.process-footer { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #36482e; padding: 22px 0; color: #69805e; font-size: 9px; letter-spacing: 1.2px; }
@keyframes method-sweep { to { left: 130%; } }
@media (max-width: 900px) {
  .process-heading { grid-template-columns: 1fr; gap: 20px; }
  .process-heading .eyebrow { margin-bottom: 0; }
  .process-heading h2 { font-size: clamp(37px,7vw,65px); letter-spacing: -2px; }
  .process-heading>p:last-child { max-width: 600px; }
  .approach-interactive { grid-template-columns: 1fr; }
  .method-tabs { border-right: 0; border-bottom: 1px solid #3a5233; flex-direction: row; }
  .method-tab { min-height: 95px; border-bottom: 0; border-right: 1px solid #2d4229; font-size: 10px; padding: 18px 13px; }
  .method-tab.is-selected { border-left: 0; border-top: 3px solid var(--acid); padding: 15px 13px 18px; }
  .method-tab:hover { padding-left: 13px; }
}
@media (max-width: 600px) {
  .process-heading h2 { font-size: 36px; }
  .approach-interactive { margin-top: 34px; }
  .method-tab { font-size: 8px; gap: 7px; min-height: 80px; padding: 14px 7px; flex-direction: column; align-items: start; }
  .method-tab b { display: none; }
  .method-tab.is-selected { padding: 11px 7px 14px; }
  .method-display { padding: 20px 15px; gap: 17px; }
  .method-display-top { font-size: 7px; }
  .method-visual { min-height: 200px; padding: 15px; }
  .method-pipeline { flex-wrap: wrap; justify-content: center; }
  .method-pipeline span { min-width: 34%; font-size: 9px; }
  .method-pipeline b:nth-of-type(2) { display: none; }
  .method-summary h3 { font-size: 18px; }
  .method-summary p { font-size: 11px; }
  .process-footer { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) { .method-scan { animation: none; } }

/* Foil collectible-card motion: depth layers and the moving reflected light. */
@media (hover: hover) and (pointer: fine) {
  .quest {
    overflow: hidden;
    will-change: transform;
    transform-origin: center center;
    transition: transform .65s cubic-bezier(.18,.78,.22,1), border-color .3s, box-shadow .45s;
  }
  .quest.is-tilting {
    z-index: 5;
    transition: transform .045s linear, border-color .2s, box-shadow .2s;
    border-color: #d5fb68;
    box-shadow: var(--shadow-x,0px) 30px 70px #000b, 0 0 0 1px #d5fb6850, inset 0 0 25px #d5fb680d;
  }
  .quest::after {
    content: "";
    pointer-events: none;
    position: absolute;
    z-index: 8;
    inset: 0;
    background:
      radial-gradient(ellipse 58% 52% at var(--foil-x,50%) var(--foil-y,50%), #ffffff76 0%, #e5fba83a 24%, transparent 68%),
      repeating-linear-gradient(var(--foil-angle,125deg), transparent 0px, #ecffce0d 2px, transparent 5px, #b9d4ff09 7px);
    opacity: 0;
    mix-blend-mode: screen;
    transition: opacity .35s;
  }
  .quest.is-tilting::after { opacity: .55; }
  .quest .project-preview, .quest .project-content, .quest .project-number, .quest .project-area {
    transform: translateZ(0px);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
  }
  .quest.is-tilting .project-preview { transform: translateZ(28px); }
  .quest.is-tilting .project-preview img {
    transform: translate3d(var(--parallax-x,0px),var(--parallax-y,0px),0) scale(1.1);
    transition: filter .35s, transform .06s linear;
  }
  .quest.is-tilting .project-content { transform: translateZ(35px); }
  .quest.is-tilting .project-number,.quest.is-tilting .project-area { transform: translateZ(18px); }
  .quest.is-tilting .project-preview img { filter: grayscale(.2) contrast(1.06) saturate(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .quest, .quest.is-tilting { transition: none; transform: none !important; }
  .quest::after { display: none; }
}

/* A continuously morphing, scroll-driven stroke morphology study lives behind
   the actual content. It never intercepts input or obscures the H2 simulator. */
.evolution-backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0; overflow: hidden; }
.evolution-backdrop canvas { display: block; width: 100%; height: 100%; opacity: 1; }
.evolution-backdrop::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 42% 58% at 50% 50%, #b9f45d08, transparent 78%); pointer-events: none; }
main,footer { position: relative; z-index: 1; }
/* Opaque footer so the HUD never bleeds through at the bottom of the page. */
footer { background: #050805; }
.evolution-hud { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(360px,70vw); padding: 14px 0; text-align: center; text-shadow: 0 2px 15px #050805, 0 0 18px #000; font: 9px var(--mono); letter-spacing: .9px; color: #a5c48d; }
.evolution-kicker { display: block; color: #829d73; letter-spacing: 1.4px; font-size: 8px; }
.evolution-hud strong { display: block; color: #d5fb68; margin: 9px 0 13px; font: 500 clamp(16px,1.75vw,25px) var(--display); }
.evolution-track { width: 100%; height: 2px; background: #54724963; overflow: hidden; }
.evolution-track i { display: block; width: 100%; height: 100%; background: #d5fb68; transform: scaleX(0); transform-origin: left; box-shadow: 0 0 14px #d5fb68; }
.evolution-chain { display: block; margin-top: 11px; font-size: 7px; color: #819c73; letter-spacing: .4px; }
.hero-kicker { white-space: normal; }
.hero-actions .command-link { max-width: 240px; line-height: 1.5; }
@media (max-width: 900px) { .evolution-backdrop canvas { opacity: .92; } .evolution-hud { width: min(320px,70vw); bottom: 20px; } }
@media (max-width: 600px) { .evolution-backdrop canvas { opacity: .85; } .evolution-hud { display: none; } .hero-actions .command-link { max-width: 170px; } }
@media (prefers-reduced-motion: reduce) { .evolution-backdrop { transition: none; } }

/* landing-page-design: a legible, consistent editorial system. The acidic
   interface accent and original H2 motion remain intentional portfolio cues. */
:root {
  --bg: #000000;
  --panel: #181818;
  --display: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  --sans: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  --motion: cubic-bezier(.22,1,.36,1);
}
body { background: var(--bg); background-image: none; font-family: var(--sans); }
body::before { display: none; }
:is(p,li,figcaption,summary) { text-wrap: pretty; }
:is(h1,h2,h3) { text-wrap: balance; }
.heading-1 { font: 600 60px/1 var(--display); }
.heading-2 { font: 600 48px/1 var(--display); }
.heading-3 { font: 600 36px/40px var(--display); }
.title-1 { font: 500 20px/28px var(--display); }
.body-3 { font: 400 16px/24px var(--sans); }
.body-6 { font: 400 14px/20px var(--sans); }
.button-md { font: 600 16px/24px var(--sans); }
.caption-3 { font: 600 12px/16px var(--mono); }

.site-header {
  position: sticky;
  top: 12px;
  height: 72px;
  margin: 12px auto 0;
  width: min(92%, 1180px);
  padding: 0 24px;
  background: #181818ed;
  border: 1px solid #3b4b37;
  border-radius: 12px;
  box-shadow: 0 16px 48px #0008;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 100;
}
.site-header nav a { font: 500 14px/20px var(--display); transition: color .3s var(--motion); }
.site-header nav a::after { transition: transform .5s var(--motion); width: 100%; transform: scaleX(0); transform-origin: left; }
.site-header nav a:hover::after,.site-header nav a.active::after { transform: scaleX(1); }
.brand { font-size: 14px; font-weight: 600; letter-spacing: .03em; }
.brand-mark { font-size: 36px; font-weight: 700; }
.brand-sub { font-size: 12px; letter-spacing: .05em; }
.contact-nav { font: 600 12px/16px var(--sans); border-radius: 8px; padding: 8px 12px; transition: background .3s var(--motion), border-color .3s var(--motion); }

.hero { min-height: 740px; padding-block: 48px 80px; }
.hero h1.heading-1 { font: 600 60px/1 var(--display); letter-spacing: -.052em; margin-top: 24px; }
.hero h1 .hero-line { background: linear-gradient(90deg,#fff 0%,#9b9b9b 92%); color: transparent; background-clip: text; -webkit-background-clip: text; }
.hero h1 .hero-line-muted { color: transparent; }
.hero h1 .title-dot { color: var(--acid); -webkit-text-fill-color: var(--acid); }
.hero-identity { margin-top: 32px; }
.hero-identity h2 { font: 600 24px/32px var(--sans); }
.hero-identity h2 span { font: 400 18px/28px var(--sans); }
.hero-identity p { font: 500 12px/16px var(--mono); letter-spacing: .04em; }
.hero-kicker { font: 600 12px/16px var(--mono) !important; letter-spacing: .04em !important; }
.hero-description.body-3 { font: 400 16px/24px var(--sans); max-width: 590px; margin-top: 24px; color: #b5c0b0; }
.hero-description strong { font: 600 16px/24px var(--sans); }
.hero-actions { margin-top: 32px; gap: 24px; }
.hero-actions .button.button-md { padding: 8px 12px; min-height: 48px; min-width: 190px; font: 600 16px/24px var(--sans); border-radius: 8px; transition: background .3s var(--motion), transform .5s var(--motion), box-shadow .3s var(--motion); }
.hero-actions .button:active { transform: scale(.98); }
.command-link { font: 500 14px/20px var(--sans); }
.command-link:hover { color: #efffc8; }
.hero-meta { margin-top: 40px; font-size: 12px; }
.hero-meta b { font-size: 12px; }
.reference-note { font-size: 12px; line-height: 20px; }
.view-header { font-size: 12px; letter-spacing: .03em; }
.robot-view figcaption { font-size: 12px; line-height: 20px; }

.section { padding-block: 96px; }
.section-label { font: 500 12px/16px var(--mono); letter-spacing: .03em; margin-bottom: 48px; }
.section h2 { font: 600 48px/1.12 var(--sans); letter-spacing: -.04em; }
.about-grid>div>p:not(.eyebrow),.research-grid>div>p:not(.eyebrow) { font: 400 16px/28px var(--sans); }
.process-heading h2 { font: 600 48px/1.12 var(--sans); letter-spacing: -.04em; }
.process-heading>p:last-child { font: 400 16px/28px var(--sans); }
.method-summary h3 { font: 600 24px/32px var(--sans); }
.method-summary p { font: 400 14px/24px var(--sans); }
.method-tab { font-size: 12px; }
.method-tab:hover { padding-left: 24px; }
.method-tab.is-selected { padding-left: 21px; }
.method-visual,.terminal,.quest,.social-card { background: #181818; }
.quest,.social-card { border-radius: 12px; }
.quest,.quest--media { transition: border-color .3s var(--motion), box-shadow .3s var(--motion), transform .5s var(--motion); }
.project-content strong { font: 600 24px/32px var(--sans); }
.project-description { font: 400 14px/20px var(--sans); }
.project-status { font: 500 12px/16px var(--sans); }
.section-heading p { font: 400 14px/20px var(--sans); max-width: 300px; }
.questions details>p { font: 400 14px/24px var(--sans); }
.questions summary { font: 500 18px/28px var(--sans); }
.signal-lab,.approach-interactive { background: #181818; }
.signal-lab-heading strong { font: 600 20px/28px var(--sans); }
.note-link strong { font: 600 20px/28px var(--sans); }
.note-link span>span { font: 400 14px/24px var(--sans); }
.elsewhere-heading h2 { font: 600 48px/1.12 var(--sans); letter-spacing: -.04em; }
.elsewhere-heading>p { font: 400 14px/24px var(--sans); }
.social-card { min-height: 280px; transition: border-color .3s var(--motion), transform .5s var(--motion), box-shadow .3s var(--motion); }
.social-name,.social-card--rednote .social-name { font: 600 36px/40px var(--sans); letter-spacing: -.04em; }
.social-description { font: 400 14px/20px var(--sans); }
.social-handle { font: 400 12px/16px var(--mono); }
.contact-inner h2 { font: 600 60px/1 var(--display); letter-spacing: -.04em; }
.contact-section::before { font-weight: 700; }
footer { font: 500 12px/16px var(--mono); }

/* Scroll chapter between the engineering process and the case studies. */
.tagline-section { position: relative; isolation: isolate; overflow: hidden; background: #181818; border-block: 1px solid #34452f; }
.tagline-inner { padding-block: 96px; }
.tagline-section .eyebrow { color: var(--acid); font: 600 12px/16px var(--mono); }
.tagline-words { margin-top: 40px; max-width: 1120px; font: 600 48px/1.3 var(--sans); letter-spacing: -.045em; }
.tagline-line { display: block; }
.tagline-word { display: inline-block; margin-right: .28em; opacity: .3; color: #f4f8ed; transition: opacity .5s var(--motion); }
.tagline-word.is-lit { opacity: 1; }
.tagline-caption { margin-top: 40px; color: #839a78; font: 500 12px/16px var(--mono); letter-spacing: .05em; }
.tagline-caption>span { color: var(--acid); margin-left: 8px; }

.button:focus-visible,.social-card:focus-visible,.quest:focus-visible,.method-tab:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }
.social-card:active,.method-tab:active { transform: scale(.98); }
.js-motion .reveal { transform: translate3d(0,32px,0); transition: opacity .7s var(--motion), transform .7s var(--motion); }
@media (max-width:900px) {
  .hero { min-height: 0; }
  .site-header { width: 92%; padding-inline: 16px; }
  .section h2,.process-heading h2,.elsewhere-heading h2 { font-size: 36px; line-height: 40px; }
  .social-card { min-height: 260px; }
}
@media (max-width:760px) {
  .site-header { top: 8px; margin-top: 8px; height: 64px; width: 94%; border-radius: 8px; padding-inline: 12px; }
  .site-header nav a { font-size: 12px; }
  .brand { font-size: 12px; }
  .brand-sub { display: none; }
  .hero { padding-block: 40px 48px; }
  .hero h1.heading-1 { font-size: 48px; line-height: 1; letter-spacing: -.045em; }
  .hero-description.body-3 { font-size: 14px; line-height: 24px; }
  .hero-description strong { font-size: 14px; }
  .hero-description br { display: none; }
  .hero-identity h2 { font-size: 20px; line-height: 28px; }
  .hero-identity h2 span { font-size: 14px; line-height: 20px; }
  .hero-identity p { font-size: 12px; }
  .hero-kicker { font-size: 12px !important; line-height: 20px !important; }
  .hero-actions .button.button-md { min-width: 160px; font-size: 14px; line-height: 20px; }
  .command-link { font-size: 12px; line-height: 16px; }
  .robot-view figcaption { font-size: 12px; }
  .section { padding-block: 80px; }
  .section h2,.process-heading h2,.elsewhere-heading h2 { font-size: 36px; line-height: 40px; }
  .about-grid>div>p:not(.eyebrow),.research-grid>div>p:not(.eyebrow) { font-size: 14px; line-height: 24px; }
  .process-heading>p:last-child { font-size: 14px; line-height: 24px; }
  .method-tab:hover { padding-left: 7px; }
  .method-tab.is-selected { padding-left: 7px; }
  .project-content strong { font-size: 20px; line-height: 28px; }
  .questions summary { font-size: 16px; line-height: 24px; }
  .tagline-inner { padding-block: 80px; }
  .tagline-words { font-size: 36px; line-height: 1.25; margin-top: 32px; }
  .tagline-caption { margin-top: 32px; }
  .social-name,.social-card--rednote .social-name { font-size: 36px; line-height: 40px; }
  .contact-inner h2 { font-size: 48px; line-height: 1; }
}
@media (max-width:410px) {
  .site-header nav { gap: 12px; }
  .hero h1.heading-1 { font-size: 48px; }
  .hero-actions { gap: 12px; }
  .hero-actions .button.button-md { min-width: 146px; padding-inline: 8px; }
  .tagline-words { font-size: 30px; line-height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .tagline-word { opacity: 1; transition: none; }
  .js-motion .reveal { transform: none; }
}
