/* A computational portfolio: scale, connected paths, and inspectable work. */
:root {
  --bg: #10110f;
  --panel: #191b18;
  --panel-raised: #22251f;
  --line: #343830;
  --muted: #b1b5aa;
  --text: #f0eee7;
  --lime: #ff795e;
  --cyan: #b7d9b4;
  --amber: #f3cc84;
  --red: #ff9e98;
}
.container {
  width: min(1480px, calc(100% - 96px));
}
.site-header {
  height: 92px;
  border-color: #343830;
}
.monogram {
  background: transparent;
  border: 0;
  font-size: 28px;
  width: 42px;
}
.identity {
  gap: 8px;
}
.site-header nav {
  gap: 32px;
}
.command-trigger {
  border-radius: 0;
  background: transparent;
}
.button {
  border-radius: 0;
  background: var(--lime);
  border-color: var(--lime);
  color: var(--bg);
}
.button:hover {
  background: #ffad97;
  color: var(--bg);
}
.motion-toggle {
  background: #1a1d18ee;
  border-color: #575c51;
  color: #e0e4d8;
}
.reading-progress {
  background: var(--lime);
}
.signal {
  box-shadow: none;
}
.home .section {
  padding-block: 108px;
}
.home h2 {
  font-size: clamp(42px, 5.8vw, 86px);
  letter-spacing: -0.065em;
  line-height: 1.02;
}
.home .section-heading {
  align-items: end;
  gap: 40px;
  margin-bottom: 44px;
}
.home .section-heading .eyebrow {
  margin-bottom: 22px;
}
.home .section-heading > p {
  max-width: 360px;
  font-size: 15px;
  line-height: 1.7;
}

/* The hero has one large typographic plane, above a five-part signal. */
.home .kinetic-hero {
  display: block;
  position: relative;
  padding: 34px 0 42px;
  min-height: 0;
  margin: 0;
  overflow: visible;
}
.hero-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.home .hero-copy {
  width: 100%;
  max-width: none;
  padding: 0;
}
.home .hero-copy h1 {
  font-size: clamp(64px, 11.2vw, 174px);
  font-weight: 800;
  line-height: 0.81;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  margin: 0;
  position: relative;
  z-index: 2;
}
.home .hero-copy h1 > span {
  display: block;
  color: var(--text);
}
.home .hero-copy h1 .title-second {
  margin-top: 10px;
  padding-left: 7.8%;
  color: #b8bbb2;
}
.title-period {
  color: var(--lime);
}
.hero-system {
  margin-top: 28px;
  position: relative;
}
.system-caption {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  padding-block: 12px;
  border-top: 1px solid var(--line);
}
.system-caption .eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
}
.signal-field {
  height: clamp(140px, 14.8vw, 224px);
  position: relative;
  margin: -8px 0 -8px;
  overflow: hidden;
}
.signal-sculpture {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.signal-bundle {
  stroke: #72796b;
  stroke-width: 0.6;
  opacity: 0.36;
  transform-origin: center;
  transform-box: fill-box;
  transition:
    opacity 650ms,
    stroke 650ms,
    transform 850ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-system[data-stage="0"] [data-bundle="0"],
.hero-system[data-stage="1"] [data-bundle="1"],
.hero-system[data-stage="2"] [data-bundle="2"],
.hero-system[data-stage="3"] [data-bundle="3"],
.hero-system[data-stage="4"] [data-bundle="4"] {
  stroke: url(#signal-ink);
  stroke-width: 0.85;
  opacity: 1;
  transform: scaleY(1.12);
}
.signal-crosshair {
  position: absolute;
  top: 46%;
  left: 49.5%;
  color: #bfc5b3;
  font: 15px var(--mono);
  opacity: 0.5;
}
.hero-stages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-stages button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  position: relative;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: #a8aea0;
  padding: 17px 18px;
  min-height: 58px;
  font-size: 14px;
  text-align: left;
  transition:
    background 250ms,
    color 250ms;
}
.hero-stages button:last-child {
  border-right: 0;
}
.hero-stages button > span:first-child {
  font: 10px var(--mono);
  opacity: 0.75;
}
.hero-stages button .stage-arrow {
  margin-left: auto;
  opacity: 0;
}
.hero-stages button[aria-pressed="true"] {
  color: var(--text);
  background: #242820;
  box-shadow: inset 0 2px var(--lime);
}
.hero-stages button[aria-pressed="true"] .stage-arrow {
  opacity: 1;
  color: var(--lime);
}
.hero-stages button:hover {
  color: var(--text);
  background: #22251f;
}
.hero-stages button:focus-visible {
  z-index: 2;
  outline-offset: -4px;
}
.hero-handoff {
  display: grid;
  grid-template-columns: 0.8fr 2fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px;
  min-height: 72px;
}
.handoff-label {
  color: var(--lime);
  font: 10px var(--mono);
  letter-spacing: 1px;
}
.hero-handoff p {
  color: var(--text);
  font-size: 13px;
}
.hero-handoff code {
  text-align: right;
  font: 11px var(--mono);
  color: #bfc5b3;
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr auto;
  gap: 32px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.hero-bottom > p {
  font-size: 17px;
  color: var(--text);
  line-height: 1.55;
}
.hero-bottom > p > span {
  color: var(--muted);
  font-size: 13px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  width: fit-content;
}
.hero-cta > span {
  display: grid;
  place-items: center;
  background: var(--lime);
  color: #10110f;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 27px;
  transition: transform 300ms;
}
.hero-cta:hover > span {
  transform: rotate(45deg);
}
.hero-scroll {
  font-size: 9px;
  letter-spacing: 1px;
}
.experience-strip {
  margin: 0;
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: transparent;
}
.experience-strip > span {
  font-size: 20px;
  color: #d5d8ce;
}

/* Compare Finance: an intentionally large walkthrough, with a visible handoff. */
.home .workflow-showcase {
  margin-top: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding-inline: 0;
  background: transparent;
}
.workflow-intro {
  grid-template-columns: 1.2fr 1fr;
  gap: 72px;
  padding: 0;
  margin-bottom: 48px;
}
.workflow-intro .eyebrow {
  margin-bottom: 22px;
}
.workflow-intro h3 {
  font-size: clamp(46px, 6vw, 86px);
  letter-spacing: -0.065em;
  line-height: 1.02;
}
.workflow-intro > div:last-child {
  max-width: 440px;
  align-self: end;
  padding-bottom: 4px;
}
.workflow-intro p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.7;
}
.workflow-intro .text-link {
  margin-top: 22px;
}
.workflow-console {
  position: relative;
  isolation: isolate;
  background: #1b1e18;
  border: 1px solid #404638;
  padding: 28px 32px 20px;
  overflow: hidden;
}
.workflow-watermark {
  position: absolute;
  right: -10px;
  top: -55px;
  font-size: 220px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.07em;
  color: #292e24;
  pointer-events: none;
  z-index: -1;
}
.walkthrough-heading {
  position: relative;
  padding: 0;
  border: 0;
}
.walkthrough-heading > div {
  font-size: 13px;
  color: var(--text);
}
.walkthrough-note {
  color: #aeb7a3;
  font-size: 10px;
  margin-top: 10px;
  padding: 0;
}
.workflow-rail {
  margin: 48px 0 32px;
  padding: 0;
}
.workflow-line {
  background: #4b5542;
}
.workflow-line > span {
  background: var(--lime);
}
.workflow-node {
  border-radius: 50%;
  background: #1b1e18;
  border-color: #68725b;
}
.workflow-rail button {
  background: transparent;
  color: #c6cebc;
}
.workflow-rail button[aria-pressed="true"] .workflow-node {
  background: var(--lime);
  border-color: var(--lime);
  color: #10110f;
  box-shadow: 0 0 0 9px #ff795e10;
}
.workflow-rail button[data-past="true"] .workflow-node {
  background: #383d30;
  border-color: #8d9c78;
  color: #dce7cd;
}
.workflow-rail button small {
  color: #adb7a1;
}
.workflow-detail {
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  background: transparent;
  border: 0;
  border-top: 1px solid #424a39;
  padding: 34px 0 22px;
  min-height: 252px;
}
.workflow-description h4 {
  font-size: clamp(25px, 2.7vw, 38px);
  letter-spacing: -1.3px;
  line-height: 1.15;
  max-width: 420px;
}
.workflow-description > p:last-child {
  color: #bfc8b2;
  max-width: 450px;
  font-size: 14px;
}
.workflow-artifact {
  background: #10140e;
  border-color: #46503d;
  transform: rotate(-1deg);
  align-self: center;
  box-shadow: 7px 9px 0 #303728;
  transition: transform 400ms;
}
.workflow-artifact:hover {
  transform: rotate(0);
}
.artifact-bar {
  background: #252d1e;
  border-color: #46503d;
}
.artifact-bar span:last-child {
  color: #adb99e;
}
.workflow-artifact li {
  color: #dce4d3;
}
.workflow-status {
  border: 0;
  color: #aeb7a3;
  padding: 12px 0 0;
  margin: 0;
}
#workflow-play {
  border: 1px solid #66735a;
  padding: 10px 14px;
  min-height: 44px;
  color: #e5eadf;
}

/* A native scrolling work reel. Touch, keyboard, buttons; no scroll hijacking. */
.home #work {
  --muted: #555c50;
  --text: #171b15;
  --line: #c7cdbf;
  --lime: #ae361f;
  color: var(--text);
  background: #e8ebdf;
  box-shadow: 0 0 0 100vmax #e8ebdf;
  clip-path: inset(0 -100vmax);
  border: 0;
  margin-top: 0;
}
.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 22px;
}
.gallery-instruction {
  font: 11px var(--mono);
  color: #555c50;
}
.gallery-navigation {
  display: flex;
  align-items: center;
  gap: 10px;
}
#gallery-position {
  margin-right: 18px;
  font: 11px var(--mono);
  color: #434b3e;
}
.gallery-navigation button {
  display: grid;
  place-items: center;
  font-size: 22px;
  width: 44px;
  height: 44px;
  border: 1px solid #98a18d;
  border-radius: 50%;
  background: transparent;
  color: #252c1e;
}
.gallery-navigation button:hover:not(:disabled) {
  background: #252c1e;
  color: #e8ebdf;
}
.gallery-navigation button:disabled {
  opacity: 0.35;
}
.project-gallery {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: #8e9882 #d4dacb;
  scrollbar-width: thin;
  padding: 0 0 24px;
}
.project-gallery:focus-visible {
  outline: 2px solid #ae361f;
  outline-offset: 5px;
}
.home .project-card {
  flex: 0 0 94%;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  scroll-snap-align: start;
  border: 1px solid #b8c0ae;
  background: #f3f5ed;
  box-shadow: none;
  transform: none;
  color: #171b15;
  min-width: 0;
  overflow: hidden;
}
.home .project-card:hover {
  transform: none;
  border-color: #929e84;
  background: #f3f5ed;
  box-shadow: none;
}
.home .project-card::after {
  display: none;
}
.home .project-content {
  padding: 48px 40px 34px;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.home .project-meta {
  color: #58634f;
  font-size: 10px;
  letter-spacing: 0.5px;
}
.home .project-content h3 {
  margin: 34px 0 24px;
  font-size: clamp(32px, 3.1vw, 48px);
  letter-spacing: -0.055em;
  line-height: 1.04;
}
.home .project-content h3 a {
  display: block;
}
.home .project-content h3 span {
  color: #ae361f;
  display: inline;
  font-size: 0.7em;
}
.home .project-content > p {
  color: #505b47;
  font-size: 15px;
  line-height: 1.7;
  max-width: 380px;
}
.home .project-tags {
  margin: 22px 0 35px;
  gap: 8px;
}
.home .project-tags span {
  color: #4e5a45;
  border: 1px solid #c4cdbb;
  border-radius: 0;
  background: transparent;
  font-size: 10px;
  padding: 4px 8px;
}
.case-link {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid #c4cdbb;
  margin-top: auto;
  font-size: 13px;
}
.case-link > span {
  color: #ae361f;
}
.home .diagram-caption {
  color: #565f4e;
  margin: 16px 0 0;
  font-size: 11px;
}
.home .kinetic-preview {
  --lime: #ff795e;
  --text: #f0eee7;
  --muted: #b1b5aa;
  height: auto;
  min-height: 490px;
  padding: 22px 24px;
  overflow: hidden;
  border: 0;
  background: #172015;
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.home .kinetic-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#a8c4943b 0.65px, transparent 0.65px);
  background-size: 16px 16px;
  z-index: -1;
  opacity: 0.6;
}
.preview-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font: 9px var(--mono);
  letter-spacing: 1px;
  color: #afbd9f;
}
.preview-verdict {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  min-height: 48px;
  border-top: 1px solid #4c5d3e;
  padding: 14px 0;
  color: #d3ddc8;
  font: 10px/1.7 var(--mono);
}
.verdict-dot {
  flex: 0 0 5px;
  height: 5px;
  background: #b6d795;
  border-radius: 50%;
}
.preview-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  width: 100%;
  background: #2c3d21;
  border: 1px solid #728b5d;
  color: #e0e9d6;
  font: 11px/1.5 var(--mono);
  padding: 13px 15px;
  min-height: 48px;
}
.preview-trigger:hover {
  background: #364a29;
  color: #fff;
}
.preview-trigger:focus-visible {
  outline-color: #ffc1a5;
  outline-offset: 3px;
}
.calibration-orbit {
  position: relative;
  width: 290px;
  height: 290px;
  margin: 18px auto 12px;
  display: grid;
  place-items: center;
}
.calibration-orbit > span:not(.orbit-label) {
  position: absolute;
  border: 1px solid #809e60;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform: rotateX(58deg) rotateZ(-28deg);
  transition:
    transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 600ms;
}
.calibration-orbit > span:nth-child(2) {
  transform: rotateY(58deg) rotateZ(32deg);
}
.calibration-orbit > span:nth-child(3) {
  width: 84%;
  height: 84%;
  border-style: dashed;
  opacity: 0.7;
  transform: rotate(-28deg);
}
.orbit-core {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: #1d2c17;
  border: 1px solid #708a5b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 0 60px #8dc86516;
}
.orbit-core small {
  color: #acc197;
  font: 9px var(--mono);
  letter-spacing: 2px;
}
.orbit-core strong {
  color: #e4eddc;
  font-size: 22px;
  letter-spacing: -0.7px;
}
.orbit-core > span {
  font: 18px var(--mono);
  color: #b7dc90;
}
.orbit-label {
  position: absolute;
  bottom: -4px;
  font: 9px var(--mono);
  letter-spacing: 4px;
  color: #abbf98;
}
.is-inspected .calibration-orbit > span:first-child {
  transform: rotateX(28deg) rotateZ(58deg);
  border-color: #ff795e;
}
.is-inspected .calibration-orbit > span:nth-child(2) {
  transform: rotateY(28deg) rotateZ(-52deg);
  border-color: #ff795e;
}
.is-inspected .calibration-orbit > span:nth-child(3) {
  transform: rotate(130deg);
  border-color: #ff795e;
}
.is-inspected .orbit-core {
  border-color: #ff795e;
  background: #30271c;
}
.is-inspected .orbit-core > span,
.is-inspected .orbit-core strong {
  color: #ffab91;
}
.is-inspected .verdict-dot {
  background: #ff795e;
}
.home .migration.kinetic-preview {
  background: #30201c;
}
.migration .preview-topline {
  color: #cbb0a2;
}
.migration.kinetic-preview::before {
  background-image: radial-gradient(#d2b0a14b 0.65px, transparent 0.65px);
}
.migration-scene {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex: 1;
  perspective: 800px;
  padding: 26px 0;
}
.migration-window {
  width: 42%;
  max-width: 180px;
  min-height: 225px;
  background: #392b23;
  border: 1px solid #967c68;
  padding: 16px;
  box-shadow: 8px 9px 0 #100b0738;
  transition:
    transform 750ms cubic-bezier(0.2, 0.7, 0.2, 1),
    background 600ms;
  transform: rotateY(16deg) rotate(-7deg);
}
.migration-window > span {
  font: 9px var(--mono);
  color: #c2ad9e;
}
.migration-window > strong {
  display: block;
  color: #e7d9cd;
  font-size: 22px;
  line-height: 1.2;
  margin: 14px 0 20px;
  letter-spacing: -0.7px;
}
.migration-window > i {
  display: block;
  width: 100%;
  height: 5px;
  margin-bottom: 8px;
  background: #806655;
}
.migration-window > i:nth-of-type(2) {
  width: 65%;
}
.migration-window > small {
  display: block;
  margin-top: 22px;
  font: 8px var(--mono);
  color: #c2ad9e;
}
.migration-window.modern {
  background: #dfbca8;
  transform: rotateY(-16deg) rotate(7deg) translateY(12px);
  border-color: #e8c7b2;
}
.migration-window.modern > span,
.migration-window.modern > small {
  color: #65412e;
}
.migration-window.modern > strong {
  color: #38251d;
}
.migration-bridge {
  color: #dca283;
  font: 24px var(--mono);
  transition: transform 600ms;
}
.mini-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  height: 48px;
}
.mini-layout i {
  background: #a8765c;
}
.mini-layout i:first-child {
  grid-row: span 2;
}
.migration .preview-verdict {
  border-color: #7e5f4d;
  color: #e5cbbb;
}
.migration .preview-trigger {
  background: #50362a;
  border-color: #ad7f66;
  color: #f1d9c9;
}
.migration .preview-trigger:hover {
  background: #624131;
}
.is-inspected .migration-window.legacy {
  transform: rotateY(0) rotate(0) translateY(-10px);
}
.is-inspected .migration-window.modern {
  transform: rotateY(0) rotate(0) translateY(-10px);
  background: #f2d9c9;
}
.is-inspected .migration-bridge {
  transform: translateX(4px);
}
.home .assessment.kinetic-preview {
  background: #1c252c;
}
.assessment.kinetic-preview::before {
  background-image: radial-gradient(#b1c8d54b 0.65px, transparent 0.65px);
}
.assessment .preview-topline {
  color: #a9bfce;
}
.assessment-scene {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 0;
}
.response-window {
  width: 88%;
  background: #172127;
  border: 1px solid #617d8c;
  transform: rotate(-5deg);
  box-shadow: 12px 12px 0 #0c121b55;
  transition: transform 650ms;
}
.response-window > div {
  padding: 9px 15px;
  border-bottom: 1px solid #415762;
  color: #b0c8d2;
  font: 10px var(--mono);
}
.response-window pre {
  font: 12px/1.9 var(--mono);
  color: #a7bdc9;
  padding: 18px;
  margin: 0;
}
.response-window em {
  color: #c0dfaa;
  font-style: normal;
  transition: opacity 500ms;
}
.response-shield {
  position: absolute;
  right: 4px;
  bottom: 60px;
  width: 92px;
  height: 105px;
  background: #b9d0da;
  border-radius: 3px 3px 36px 36px;
  color: #253c46;
  transform: rotate(8deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 7px 22px #0004;
  transition:
    transform 650ms,
    background 500ms;
}
.response-shield > span {
  font: 38px var(--mono);
}
.response-shield > small {
  font: 8px var(--mono);
}
.assessment .preview-verdict {
  color: #cbdce5;
  border-color: #4a6574;
}
.assessment .preview-trigger {
  background: #293f4b;
  border-color: #7798aa;
  color: #d6e4eb;
}
.assessment .preview-trigger:hover {
  background: #345363;
}
.is-inspected .response-window {
  transform: rotate(0);
}
.is-inspected .response-window em {
  opacity: 0.3;
  text-decoration: line-through;
}
.is-inspected .response-shield {
  transform: rotate(0);
  background: #efb39d;
}

/* The lab and biography return to a quiet, readable technical surface. */
.home .lab-section {
  padding-bottom: 100px;
}
.demo-console {
  border-color: #4b5342;
  background: #191e16;
  box-shadow: 10px 10px 0 #252b1e;
}
.demo-heading,
.demo-instruction,
.demo-note {
  border-color: #3e4933;
}
.demo-heading {
  background: #242c1e;
}
.question-preview {
  background: #11170d;
  border-color: #58674b;
}
.choices li {
  background: #1a2413;
  border-color: #465a36;
}
.challenges button {
  background: #202a19;
  color: #d4dfc9;
  border-color: #5e704e;
  border-radius: 0;
}
.challenges button:hover,
.challenges button[aria-pressed="true"] {
  background: #3b4b2d;
  border-color: #9aad86;
  color: #f0f4ea;
}
.response-change {
  background: #11170d;
  border-color: #46553a;
}
.change-pair > div {
  border-color: #3e4933;
}
#response-input {
  background: #10170c;
  border-color: #61744f;
}
.home .about-section {
  border-top: 1px solid #394130;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.about-heading > h2 {
  font-size: clamp(38px, 4.8vw, 68px);
}
.experience article {
  border-color: #394130;
}
.experience-marker {
  color: #ff967c;
}
.credential-row {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.more-grid {
  gap: 32px;
}
.more-grid article {
  background: transparent;
  border-width: 1px 0 0;
  padding: 28px 0 0;
}
.more-icon {
  color: var(--lime);
}
.outside {
  border-color: #394130;
}
.camera-mark {
  border-color: #677454;
  background: #20291a;
}
.home .footer {
  border-top: 1px solid var(--line);
  padding-top: 84px;
}
.home .footer h2 {
  font-size: clamp(52px, 8.2vw, 120px);
  letter-spacing: -0.065em;
}
.footer-bottom {
  border-color: var(--line);
}

/* No visual state depends on animation. */
html[data-motion="off"] .signal-bundle,
html[data-motion="off"] .calibration-orbit > span,
html[data-motion="off"] .migration-window,
html[data-motion="off"] .response-window,
html[data-motion="off"] .response-shield,
html[data-motion="off"] .workflow-artifact,
html[data-motion="off"] .hero-cta > span {
  transition: none;
}
html[data-motion="off"] .project-gallery {
  scroll-behavior: auto;
}
@media (prefers-reduced-motion: reduce) {
  .signal-bundle,
  .calibration-orbit > span,
  .migration-window,
  .response-window,
  .response-shield,
  .workflow-artifact,
  .hero-cta > span {
    transition: none;
  }
}
@media (min-width: 1700px) {
  .home .hero-copy h1 {
    font-size: 174px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 64px);
  }
  .site-header {
    gap: 22px;
  }
  .site-header nav {
    gap: 22px;
  }
  .hero-handoff {
    grid-template-columns: 0.7fr 1.8fr;
    gap: 16px;
  }
  .hero-handoff code {
    display: none;
  }
  .hero-scroll {
    display: none;
  }
  .hero-bottom {
    grid-template-columns: 1.3fr 1fr;
  }
  .hero-stages button {
    padding-inline: 12px;
    gap: 8px;
  }
  .workflow-intro {
    gap: 40px;
  }
  .workflow-detail {
    gap: 36px;
  }
  .home .project-card {
    flex-basis: 96%;
    grid-template-columns: 1fr 1fr;
  }
  .home .project-content {
    padding: 34px 28px;
  }
  .home .project-content h3 {
    font-size: 33px;
  }
  .home .kinetic-preview {
    padding: 20px;
    min-height: 470px;
  }
  .calibration-orbit {
    width: 250px;
    height: 250px;
  }
  .migration-window {
    padding: 12px;
  }
  .migration-window > strong {
    font-size: 19px;
  }
  .home .about-section {
    gap: 40px;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 78px;
  }
  .site-header nav {
    gap: 18px;
    font-size: 12px;
  }
  .site-header .command-trigger {
    display: none;
  }
  .site-header nav .nav-contact {
    display: none;
  }
  .home .kinetic-hero {
    padding-top: 28px;
    padding-bottom: 32px;
  }
  .hero-topline {
    margin-bottom: 26px;
  }
  .hero-topline > span {
    display: none;
  }
  .hero-topline .eyebrow {
    font-size: 9px;
  }
  .home .hero-copy h1 {
    font-size: 12.1vw;
    line-height: 0.88;
  }
  .home .hero-copy h1 .title-second {
    padding-left: 0;
    margin-top: 8px;
  }
  .hero-system {
    margin-top: 28px;
  }
  .system-caption {
    display: block;
    padding-block: 10px;
  }
  .system-caption .eyebrow {
    font-size: 8px;
    letter-spacing: 0.6px;
  }
  .system-caption > span:last-child {
    display: none;
  }
  .signal-field {
    height: 145px;
    margin-top: -12px;
    margin-bottom: -12px;
  }
  .signal-sculpture {
    width: 130%;
    max-width: none;
    margin-left: -15%;
  }
  .hero-stages {
    gap: 0;
  }
  .hero-stages button {
    min-height: 66px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 9px 3px;
    font-size: 10px;
    text-align: center;
  }
  .hero-stages button .stage-arrow {
    display: none;
  }
  .hero-stages button > span:first-child {
    font-size: 9px;
  }
  .hero-handoff {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
    padding: 18px 0;
    min-height: 100px;
  }
  .hero-handoff p {
    font-size: 13px;
    line-height: 1.55;
    max-width: 410px;
  }
  .handoff-label {
    font-size: 9px;
  }
  .hero-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 24px;
  }
  .hero-bottom > p {
    font-size: 16px;
  }
  .hero-bottom > p > span {
    font-size: 12px;
  }
  .hero-cta {
    font-size: 13px;
    gap: 18px;
  }
  .hero-cta > span {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  .experience-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 26px;
    padding-block: 25px;
  }
  .experience-strip > p {
    width: 100%;
    font-size: 9px;
  }
  .experience-strip > span {
    font-size: 17px;
  }
  .experience-strip > a {
    display: none;
  }
  .home .section {
    padding-block: 70px;
  }
  .home .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .home .section-heading > p {
    margin-top: 24px;
    font-size: 14px;
  }
  .home .section-heading .eyebrow {
    margin-bottom: 18px;
  }
  .home h2 {
    font-size: 48px;
  }
  .workflow-intro {
    display: block;
    margin-bottom: 30px;
  }
  .workflow-intro h3 {
    font-size: 52px;
  }
  .workflow-intro > div:last-child {
    margin-top: 24px;
  }
  .workflow-intro p:not(.eyebrow) {
    font-size: 14px;
  }
  .workflow-console {
    padding: 22px 18px 18px;
  }
  .workflow-watermark {
    font-size: 140px;
    top: 20px;
    right: -5px;
  }
  .walkthrough-heading {
    flex-direction: column;
    align-items: start;
    gap: 16px;
  }
  .walkthrough-heading > div {
    font-size: 11px;
  }
  #workflow-play {
    font-size: 11px;
    padding: 9px 12px;
  }
  .walkthrough-note {
    font-size: 9px;
    margin-top: 16px;
    line-height: 1.7;
    max-width: 250px;
  }
  .workflow-rail {
    margin: 26px 0 20px;
  }
  .workflow-rail button {
    min-width: 0;
    padding-inline: 0;
  }
  .workflow-rail button strong {
    font-size: 9px;
  }
  .workflow-rail button small {
    display: none;
  }
  .workflow-node {
    width: 34px;
    height: 34px;
    font-size: 10px;
  }
  .workflow-line {
    top: 17px;
  }
  .workflow-detail {
    display: block;
    padding-top: 26px;
    min-height: 365px;
  }
  .workflow-description h4 {
    font-size: 28px;
    letter-spacing: -1px;
  }
  .workflow-description > p:last-child {
    font-size: 13px;
  }
  .workflow-artifact {
    margin: 28px 4px 6px 0;
  }
  .artifact-bar {
    padding: 11px 12px;
    font-size: 10px;
  }
  .artifact-bar > span:last-child {
    font-size: 7px;
  }
  .workflow-artifact li {
    font-size: 11px;
  }
  .workflow-status {
    font-size: 10px;
  }
  .gallery-toolbar {
    gap: 12px;
    margin-bottom: 20px;
  }
  .gallery-instruction {
    max-width: 125px;
    font-size: 10px;
  }
  .gallery-navigation {
    gap: 6px;
  }
  #gallery-position {
    font-size: 10px;
    margin-right: 6px;
  }
  .gallery-navigation button {
    width: 40px;
    height: 40px;
  }
  .project-gallery {
    gap: 16px;
  }
  .home .project-card {
    display: flex;
    flex-direction: column;
    flex-basis: 94%;
  }
  .home .kinetic-preview {
    min-height: 420px;
    padding: 20px;
  }
  .preview-topline {
    font-size: 8px;
    letter-spacing: 0.5px;
  }
  .calibration-orbit {
    width: 230px;
    height: 230px;
    margin-block: 18px 20px;
  }
  .orbit-core {
    width: 130px;
    height: 130px;
  }
  .orbit-core strong {
    font-size: 20px;
  }
  .preview-verdict {
    font-size: 10px;
  }
  .preview-trigger {
    font-size: 10px;
  }
  .home .project-content {
    padding: 28px 24px;
    flex: 1;
  }
  .home .project-content h3 {
    font-size: 34px;
    margin: 22px 0 20px;
  }
  .home .project-content > p {
    font-size: 14px;
  }
  .home .project-tags {
    margin-bottom: 28px;
  }
  .home .project-meta {
    font-size: 9px;
  }
  .migration-scene {
    min-height: 270px;
    gap: 8px;
  }
  .migration-window {
    min-height: 200px;
    padding: 12px;
  }
  .migration-window > strong {
    font-size: 18px;
  }
  .migration-window > small {
    font-size: 7px;
  }
  .assessment-scene {
    min-height: 270px;
  }
  .response-window pre {
    font-size: 10px;
    padding: 15px;
  }
  .response-shield {
    width: 76px;
    height: 90px;
    bottom: 35px;
  }
  .home .about-section {
    display: block;
  }
  .home .about-heading h2 {
    font-size: 43px;
  }
  .experience {
    margin-top: 40px;
  }
  .credential-row {
    margin-top: 42px;
    padding: 35px 0;
  }
  .home .footer h2 {
    font-size: 56px;
  }
  .home .footer {
    padding-top: 64px;
  }
}
@media (max-width: 359px) {
  .container {
    width: calc(100% - 32px);
  }
  .site-header nav {
    gap: 12px;
  }
  .identity strong {
    font-size: 15px;
  }
  .identity .monogram {
    font-size: 23px;
    width: 32px;
  }
  .hero-stages button {
    font-size: 9px;
  }
  .hero-bottom > p {
    font-size: 14px;
  }
  .hero-bottom > p > span {
    font-size: 11px;
  }
  .home h2,
  .workflow-intro h3 {
    font-size: 42px;
  }
  .home .kinetic-preview {
    padding: 16px;
  }
  .calibration-orbit {
    width: 205px;
    height: 220px;
  }
  .home .project-content {
    padding: 26px 20px;
  }
  .home .project-content h3 {
    font-size: 30px;
  }
  .workflow-console {
    padding-inline: 14px;
  }
  .workflow-rail button strong {
    font-size: 8px;
  }
  .workflow-detail {
    min-height: 410px;
  }
  .home .footer h2 {
    font-size: 47px;
  }
}
/* Final composition and touch refinement. */
.home .hero-copy h1 {
  word-spacing: 0.06em;
}
.workflow-artifact {
  padding: 0;
  border: 1px solid #46503d;
}
.artifact-bar {
  padding: 9px 16px;
}
.workflow-artifact ul {
  margin: 0;
  padding: 12px 16px 16px;
}
.workflow-node {
  box-shadow: 0 0 0 7px #1b1e18;
  color: #d1d9c7;
}
.workflow-rail strong {
  color: #d1d9c7;
}
.workflow-description > p:not(.eyebrow) {
  color: #bfc8b2;
}
@media (max-width: 760px) {
  .system-caption {
    display: flex;
    flex-direction: column-reverse;
    gap: 5px;
  }
  .system-caption > span:last-child {
    display: block;
    color: #c8cdbf;
  }
  .system-caption > span:first-child {
    font-size: 7px;
  }
  .signal-field {
    height: 130px;
    margin: 0;
  }
  .signal-sculpture {
    width: 100%;
    margin-left: 0;
  }
  .home .project-content {
    order: -1;
    padding: 24px;
  }
  .home .project-content h3 {
    margin: 18px 0 14px;
    font-size: 32px;
  }
  .home .project-content > p {
    font-size: 13px;
    line-height: 1.6;
  }
  .home .project-tags {
    margin: 18px 0 20px;
  }
  .home .project-tags span {
    font-size: 8px;
    padding: 3px 6px;
  }
  .case-link {
    padding-top: 14px;
    font-size: 12px;
  }
  .home .kinetic-preview {
    min-height: 350px;
  }
  .calibration-orbit {
    width: 190px;
    height: 190px;
    margin-block: 10px 20px;
  }
  .orbit-core {
    width: 112px;
    height: 112px;
    gap: 7px;
  }
  .orbit-core strong {
    font-size: 17px;
  }
  .orbit-core small {
    font-size: 7px;
  }
  .orbit-label {
    font-size: 7px;
    letter-spacing: 3px;
    bottom: -5px;
  }
  .migration-scene,
  .assessment-scene {
    min-height: 230px;
    padding: 20px 0;
  }
  .migration-window {
    min-height: 175px;
  }
  .migration-window > strong {
    margin-block: 10px 15px;
  }
  .migration-window > small {
    margin-top: 15px;
  }
  .response-shield {
    bottom: 25px;
  }
  .walkthrough-heading > div {
    font-size: 11px;
    max-width: none;
  }
}
@media (max-width: 359px) {
  .home .project-content {
    padding: 22px 18px;
  }
  .home .project-content h3 {
    font-size: 28px;
  }
}
