@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --ink: #10132f;
  --muted: #626985;
  --blue: #5134ff;
  --line: #e8e8f3;
  --paper: #ffffff;
  --header: 80px;
  --footer: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: #eff1f8;
  -webkit-font-smoothing: antialiased;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
}
button {
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: default;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible,
input:focus-visible {
  outline: 3px solid #866cff;
  outline-offset: 5px;
}
em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--blue);
  letter-spacing: -0.055em;
}
button {
  background: none;
}
button,
a {
  transition:
    background 0.25s,
    color 0.25s,
    box-shadow 0.25s,
    transform 0.3s var(--ease);
}
::selection {
  background: #dfd7ff;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 24px;
  padding: 14px;
  background: var(--blue);
  color: white;
  z-index: 50;
}
.skip-link:focus {
  top: 10px;
}
.site-shell {
  height: 100dvh;
  background: var(--paper);
  overflow: hidden;
  position: relative;
}
.site-header {
  height: var(--header);
  padding: 0 4.1%;
  display: flex;
  align-items: center;
  gap: 46px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #e9eaf3;
  position: relative;
  z-index: 10;
}
.wordmark {
  font-family: Manrope, sans-serif;
  font-size: 25px;
  letter-spacing: -1.3px;
  font-weight: 800;
  white-space: nowrap;
}
.brand-dot {
  color: var(--blue);
}
.primary-nav {
  display: flex;
  gap: 35px;
  align-items: center;
  font-size: 13px;
  font-weight: 550;
}
.primary-nav a {
  position: relative;
  padding: 14px 0;
}
.primary-nav a:after {
  content: "";
  position: absolute;
  bottom: 5px;
  height: 2px;
  left: 0;
  right: 100%;
  background: var(--blue);
  transition: right 0.3s;
}
.primary-nav a:hover:after,
.primary-nav a[aria-current]:after {
  right: 0;
}
.header-note {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 9px;
  align-items: center;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #31ac8b;
  box-shadow: 0 0 0 4px #31ac8b0c;
  display: inline-block;
  flex-shrink: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-radius: 12px;
  min-height: 52px;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.button svg {
  width: 18px;
  height: 18px;
}
.button-primary {
  background: linear-gradient(120deg, #593bff, #3921ef);
  color: white;
  box-shadow:
    0 5px 13px #4929ff25,
    inset 0 1px 0 #ffffff36;
  border: 1px solid #6348ff;
}
.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px #4929ff45;
}
.button-white {
  background: #ffffffdb;
  border: 1px solid #eaeaf7;
  box-shadow: 0 5px 20px #24275407;
}
.button-white:hover {
  background: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px #24275412;
}
.button-small {
  min-height: 42px;
  padding: 0 19px;
  border-radius: 10px;
  font-size: 12px;
}
.journey {
  height: calc(100dvh - var(--header) - var(--footer));
  position: relative;
  overflow: hidden;
  background: var(--paper);
}
.panel-track {
  height: 100%;
  width: 100%;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  position: relative;
  z-index: 1;
}
.panel-track::-webkit-scrollbar {
  display: none;
}
.panel {
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
  padding: 40px 4.1%;
  isolation: isolate;
}
.panel:focus {
  outline: none;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  line-height: 1.5;
  font-weight: 700;
  color: #626b93;
}
.tiny-line {
  width: 24px;
  height: 1px;
  background: #8a8eb4;
  display: inline-block;
  vertical-align: middle;
  margin-right: 9px;
}
.hero-panel {
  padding-top: 0;
}
.hero-copy {
  position: relative;
  z-index: 4;
  width: 57%;
  padding-top: clamp(40px, 7.7vh, 90px);
}
.hero-copy h1 {
  font-family: Manrope, sans-serif;
  font-size: clamp(54px, 5.1vw, 85px);
  line-height: 1.07;
  font-weight: 800;
  letter-spacing: -4.1px;
  margin: 23px 0 22px;
}
.hero-copy h1 em {
  font-size: 1.09em;
}
.desktop-break {
  display: none;
}
.hero-copy h2 {
  font-size: clamp(16px, 1.45vw, 23px);
  font-weight: 650;
  letter-spacing: -0.5px;
}
.hero-copy h2 span {
  margin: 0 9px;
  color: #9395a7;
}
.hero-description {
  font-size: 15px;
  line-height: 1.65;
  color: #555a75;
  margin-top: 16px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}
.portrait-stage {
  position: absolute;
  right: -1%;
  bottom: 0;
  width: 56%;
  height: 99%;
  z-index: 2;
  pointer-events: none;
}
.hero-portrait {
  position: absolute;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom;
  bottom: 0;
  right: 0;
  mask-image: linear-gradient(to bottom, #000 85%, transparent 100%);
}
.hero-aura {
  position: absolute;
  right: 0;
  bottom: 3%;
  width: 60%;
  height: 74%;
  z-index: -1;
  background: radial-gradient(ellipse at 65% 40%, #ece9ff88, transparent 63%);
}
.flow-pin {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}
.flow-pin span {
  margin: 0 0 10px 12px;
}
.flow-pin i {
  height: 85px;
  width: 1px;
  background: linear-gradient(currentColor, transparent);
  position: relative;
}
.flow-pin i:before {
  content: "";
  position: absolute;
  top: 0;
  left: -4px;
  border-radius: 50%;
  width: 9px;
  height: 9px;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
}
.pin-data {
  left: 44%;
  top: 55%;
  color: #069dff;
}
.pin-ai {
  left: 57%;
  top: 36%;
  color: #8943ff;
}
.pin-product {
  right: 4%;
  top: 29%;
  color: #ff8874;
}
.hero-front-flow {
  position: absolute;
  z-index: 3;
  left: -5%;
  bottom: -10%;
  width: 110%;
  height: 38%;
  pointer-events: none;
}
.hero-projects {
  position: absolute;
  left: 4.1%;
  bottom: 49px;
  width: 66%;
  display: flex;
  gap: 14px;
  z-index: 5;
}
.mini-project {
  padding: 17px 17px 17px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: #fffffff0;
  border: 1px solid white;
  border-radius: 17px;
  box-shadow: 0 7px 30px #37317910;
  flex: 1;
  min-width: 0;
}
.mini-project:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px #4833bb20;
}
.mini-project strong {
  font-size: 12px;
  letter-spacing: -0.15px;
  display: block;
  margin-bottom: 5px;
}
.mini-project small {
  display: block;
  font-size: 10px;
  line-height: 1.5;
  color: #636982;
}
.icon-tile {
  width: 43px;
  height: 46px;
  background: linear-gradient(135deg, #e8e2ff, #f5f1ff);
  border: 1px solid #fff;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--blue);
}
.icon-tile svg {
  width: 24px;
  height: 24px;
}
.icon-tile.pink {
  background: linear-gradient(135deg, #eedfff, #f8f1ff);
}
.icon-tile.coral {
  background: #ffe8e4;
  color: #f27866;
}
.round-arrow {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: #f0f1f8;
  border-radius: 50%;
  flex-shrink: 0;
  margin-left: auto;
}
.round-arrow svg {
  width: 16px;
  height: 16px;
}
.hero-caption {
  position: absolute;
  bottom: 20px;
  left: 4.1%;
  z-index: 5;
  font-size: 10px;
  letter-spacing: 0.3px;
  color: #626581;
}
.work-panel {
  display: grid;
  grid-template-columns: 235px 1fr;
  padding: 0;
  background: #fbfcffb8;
}
.work-sidebar {
  padding: 38px 24px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e6e4f5;
  background: linear-gradient(160deg, #f6f4ffed, #f1f4ffdc);
  position: relative;
  z-index: 2;
}
.project-tabs {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 20px -9px 26px;
}
.project-tabs button {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 12px;
  border-radius: 25px;
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
}
.project-tabs button > svg:first-child {
  width: 21px;
  height: 21px;
}
.project-tabs button > svg:last-child {
  width: 14px;
  height: 14px;
  margin-left: auto;
}
.project-tabs button[aria-selected="true"] {
  color: var(--blue);
  background: #e6e0ff;
  font-weight: 600;
}
.project-tabs button:hover {
  background: #e9e5fa;
}
.project-context {
  border-top: 1px solid #d5d4e7;
  padding-top: 23px;
}
.project-context h3 {
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.4px;
  margin: 11px 0 18px;
}
.project-context dl {
  margin: 0;
}
.project-context dl div {
  display: flex;
  font-size: 10px;
  margin-bottom: 17px;
  gap: 14px;
}
.project-context dt {
  color: #787d96;
  min-width: 32px;
}
.project-context dd {
  margin: 0;
  font-weight: 500;
}
.sidebar-note {
  padding: 19px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid white;
  background: #ffffff80;
  border-radius: 14px;
  margin-top: auto;
  box-shadow: 0 5px 15px #443c7b08;
}
.sidebar-note svg {
  color: #8d6aff;
  width: 30px;
  height: 30px;
}
.sidebar-note p {
  font-size: 11px;
  line-height: 1.7;
  color: #73728c;
}
.sidebar-note strong {
  color: #3c355e;
  font-weight: 550;
}
.sidebar-resume {
  margin-top: 15px;
  min-height: 47px;
  padding: 0 12px;
  font-size: 12px;
  gap: 20px;
}
.project-content {
  padding: 37px 3.2% 29px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  z-index: 2;
}
.project-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}
.project-heading h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(35px, 3.45vw, 57px);
  letter-spacing: -2.4px;
  font-weight: 800;
  line-height: 1.08;
  margin-top: 10px;
}
.project-heading > p {
  font-size: 12px;
  line-height: 1.7;
  max-width: 225px;
  padding-bottom: 3px;
  color: #60667f;
}
.project-heading .eyebrow span {
  color: #a2a5ba;
  margin-left: 7px;
}
.project-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex: 1;
  min-height: 230px;
  margin: 6px -2% 5px;
  padding: 5px 2% 27px;
  perspective: 1000px;
}
.diagram-flow {
  position: absolute;
  left: -8%;
  right: -6%;
  top: 27%;
  height: 55%;
  pointer-events: none;
  z-index: -1;
  filter: drop-shadow(0 12px 12px #7b4eff14);
}
.pipeline-node {
  position: relative;
  transition:
    transform 0.55s var(--ease),
    filter 0.55s;
}
.pipeline-node:hover {
  transform: translateY(-9px) rotate(0deg);
  filter: drop-shadow(0 13px 15px #5e39d225);
}
.node-caption {
  position: absolute;
  top: calc(100% + 19px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  white-space: nowrap;
  color: #77788d;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.document-stack {
  width: 22%;
  height: 175px;
  transform: rotate(-9deg);
  padding: 0;
  z-index: 2;
}
.paper {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(130deg, #fff, #f8f8ff);
  border: 1px solid white;
  border-radius: 4px;
  box-shadow: 6px 10px 18px #22244d17;
  position: absolute;
  inset: 0;
}
.paper-back {
  transform: translate(-17px, 6px) rotate(-8deg);
  background: #e9e9f4;
}
.paper-middle {
  transform: translate(-8px, 3px) rotate(-3deg);
  background: #f3f3fc;
}
.paper-front {
  text-align: left;
  padding: 18px 15px;
}
.paper-label {
  font-size: 8px;
  letter-spacing: 1px;
  color: #737a9e;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.paper-label svg {
  width: 17px;
  height: 17px;
}
.paper-front b {
  font-size: 12px;
  line-height: 1.4;
  display: block;
  margin: 15px 0 12px;
}
.paper-front i {
  display: block;
  width: 90%;
  height: 3px;
  margin: 6px 0;
  background: #dcdff0;
}
.paper-front i:nth-of-type(2) {
  width: 70%;
}
.paper-front i:nth-of-type(4) {
  width: 60%;
}
.paper-footer {
  font-size: 6px;
  letter-spacing: 1px;
  color: #9399b5;
  position: absolute;
  bottom: 15px;
}
.ai-engine {
  width: 24%;
  height: 217px;
  padding: 7px;
  border-radius: 24px;
  border: 2px solid #d1bdff;
  background: linear-gradient(
    130deg,
    #ffffffcc,
    #ba9cff9c 25%,
    #733af9a6 48%,
    #b995ff99 63%,
    #e8dcffb3
  );
  box-shadow:
    inset 0 0 0 2px #ffffffb0,
    inset -7px 0 7px #6e30ffc0,
    8px 10px 0 -5px #9363fb66,
    0 17px 25px #8351ff28;
  transform: rotateY(-17deg) rotate(-3deg);
  z-index: 2;
}
.engine-inner {
  height: 100%;
  border: 1px solid #fff9;
  border-radius: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #ffffff85, transparent 60%);
  position: relative;
  overflow: hidden;
}
.engine-inner:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff9;
  box-shadow: 0 0 20px 8px #fff4;
  animation: scan 4s linear infinite;
}
.engine-inner > svg {
  width: 34px;
  height: 34px;
  color: #5722ca;
  margin-bottom: 12px;
}
.engine-inner strong {
  font-family: Manrope, sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}
.engine-inner > span {
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 8px;
}
.engine-status {
  font-style: normal;
  font-size: 6px;
  letter-spacing: 1.5px;
  position: absolute;
  bottom: 17px;
  background: #ffffff75;
  border: 1px solid #fffa;
  border-radius: 20px;
  padding: 5px 9px;
}
.structured-card {
  width: 25%;
  min-height: 184px;
  padding: 17px 14px;
  border-radius: 12px;
  background: #ffffffdd;
  border: 1px solid white;
  box-shadow:
    5px 8px 0 #dbe6ff66,
    0 12px 25px #48359813;
  transform: rotate(4deg);
  z-index: 2;
  text-align: left;
}
.structured-title {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 650;
  margin-bottom: 18px;
}
.structured-title > span {
  background: #daf8ef;
  border-radius: 50%;
  color: #19a07b;
  padding: 0 4px;
}
.data-row {
  display: flex;
  font-size: 8px;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #5b6080;
}
.data-row > b {
  color: #447cff;
  font-size: 13px;
}
.data-row i {
  margin-left: auto;
  width: 28%;
  height: 9px;
  border-radius: 3px;
  background: #e5dfff;
  animation: row-pulse 4s ease-in-out infinite;
}
.data-row:nth-child(3) i {
  background: #bff1e6;
  animation-delay: 0.3s;
}
.data-row:nth-child(4) i {
  background: #ffe0c7;
  animation-delay: 0.6s;
}
.data-row:nth-child(5) i {
  animation-delay: 0.9s;
}
.output-formats {
  display: grid;
  gap: 10px;
  width: 16%;
  transform: rotateY(-10deg);
}
.output-formats > span {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #ffffffce;
  border: 1px solid white;
  border-radius: 9px;
  padding: 13px 10px;
  box-shadow: 7px 6px 0 #e8eafb80;
  font-size: 9px;
  white-space: nowrap;
}
.output-formats b,
.output-formats svg {
  color: #436dff;
  font-size: 17px;
  width: 17px;
  height: 17px;
}
.output-formats > span:nth-child(2) b {
  color: #0aaa79;
}
.output-formats > span:nth-child(3) svg {
  color: #8e4dff;
}
.project-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 7px 0 22px;
}
.project-bottom h3 {
  font-family: Manrope, sans-serif;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.tags > span {
  background: #ebe5ff;
  color: #673ace;
  border-radius: 30px;
  padding: 6px 13px;
  font-size: 9px;
  white-space: nowrap;
}
.tags > span:nth-child(2) {
  background: #dff4ff;
  color: #0885c9;
}
.tags > span:nth-child(3) {
  background: #dcf7ed;
  color: #198b68;
}
.tags > span:nth-child(4) {
  background: #fff0df;
  color: #b76420;
}
.project-bottom > .button {
  min-height: 43px;
  font-size: 11px;
  padding: 0 18px;
}
.next-project {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  border: 1px solid #ffd7d0;
  background: linear-gradient(115deg, #fff9f6d9, #ffe8e4da);
  border-radius: 13px;
  padding: 13px 17px;
}
.next-project:hover {
  transform: translateX(4px);
  box-shadow: 0 5px 16px #c3756214;
}
.next-project small {
  display: block;
  font-size: 7px;
  letter-spacing: 1.5px;
  color: #837591;
  margin-bottom: 5px;
}
.next-project strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}
.next-project > span > span {
  display: block;
  font-size: 10px;
  color: #747085;
}
.next-project .round-arrow {
  background: #ffffffcb;
  color: #f77566;
}
.next-project .icon-tile {
  height: 41px;
  width: 41px;
}
.section-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.quiet-label {
  font-size: 10px;
  color: #8a8ba1;
}
.section-intro {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  justify-content: space-between;
  margin: 22px 0 39px;
}
.section-intro h2,
.about-panel h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(38px, 3.8vw, 62px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -2.5px;
}
.section-intro > p {
  max-width: 260px;
  color: #666b85;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 4px;
}
.experience-panel {
  background: #fbfcffd1;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  position: relative;
}
.experience-grid:before {
  position: absolute;
  content: "";
  height: 1px;
  background: linear-gradient(90deg, #c7baff, #9471f7, #fac5b9);
  left: 0;
  right: 0;
  top: -12px;
}
.experience-card {
  background: #ffffffde;
  border: 1px solid #ececf4;
  border-radius: 17px;
  padding: 24px 25px;
  position: relative;
  box-shadow: 0 8px 22px #373b7505;
  transition:
    transform 0.35s,
    box-shadow 0.35s;
}
.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 13px 27px #62519311;
}
.timeline-node {
  position: absolute;
  top: -18px;
  left: 28px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #8661f9;
  box-shadow: 0 0 0 4px #f7f5ff;
  border: 2px solid #fff;
}
.experience-meta {
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  letter-spacing: 1.1px;
  color: #7b7b94;
}
.company-monogram {
  font-size: 45px;
  font-weight: 750;
  letter-spacing: -4px;
  display: block;
  margin: 18px 0;
  color: #423187;
}
.company-monogram > span {
  color: #c9b7ff;
}
.company-monogram.light {
  color: #9991b6;
}
.company-monogram.university {
  font-size: 34px;
  letter-spacing: -2px;
  margin: 24px 0;
}
.company-monogram.university > span {
  font-weight: 400;
  font-size: 30px;
  margin-left: 8px;
}
.experience-card h3 {
  font-size: 17px;
  letter-spacing: -0.5px;
  line-height: 1.4;
}
.experience-card h4 {
  font-size: 11px;
  font-weight: 500;
  margin: 5px 0 16px;
  color: #686984;
}
.experience-card p {
  font-size: 11px;
  color: #76798c;
  line-height: 1.8;
  min-height: 61px;
}
.experience-card .tags {
  margin: 17px 0 22px;
}
.experience-card .tags > span {
  font-size: 8px;
  padding: 5px 10px;
}
.text-button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  font-weight: 550;
  padding: 0;
  text-align: left;
}
.text-button svg {
  width: 16px;
  height: 16px;
}
.text-button:hover {
  color: var(--blue);
  transform: translateX(3px);
}
.experience-footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 23px;
  color: #7c7e91;
  font-size: 10px;
}
.experience-footnote > span,
.experience-footnote > a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.experience-footnote svg {
  width: 17px;
  height: 17px;
  color: #9372e8;
}
.about-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 8%;
  padding-top: 48px;
  background: #fbfcffbf;
}
.about-main h2 {
  margin: 23px 0;
  font-size: clamp(42px, 4.6vw, 72px);
}
.about-description {
  max-width: 435px;
  font-size: 13px;
  line-height: 1.8;
  color: #666b85;
}
.about-location {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  margin: 22px 0;
  color: #777d92;
}
.about-links {
  display: flex;
  gap: 25px;
  margin: 26px 0;
}
.skill-cloud {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  max-width: 460px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.skill-cloud > span {
  font-size: 10px;
  border: 1px solid #e2dfef;
  background: #ffffffb8;
  border-radius: 6px;
  padding: 7px 11px;
  color: #6c6782;
  transition:
    color 0.2s,
    transform 0.2s;
}
.skill-cloud > span:hover {
  color: var(--blue);
  transform: translateY(-3px);
}
.about-aside {
  padding-top: 7px;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.education-block {
  padding: 25px 28px;
  background: #ffffffcf;
  border: 1px solid #ecebf4;
  border-radius: 16px;
}
.education-block .eyebrow {
  font-size: 8px;
  margin-bottom: 20px;
}
.education-block h3 {
  font-size: 16px;
  letter-spacing: -0.4px;
}
.education-block p {
  font-size: 11px;
  color: #7c7d94;
  margin: 8px 0;
  line-height: 1.5;
}
.education-block > span {
  font-size: 9px;
  color: #a2a1b2;
}
.education-divider {
  height: 1px;
  background: #eceaf3;
  margin: 20px 0;
}
.research-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 25px 28px;
  background: linear-gradient(125deg, #eee8ffe6, #e4eaffc9);
  border: 1px solid white;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.research-card:after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid #ffffffaa;
  border-radius: 50%;
  right: -60px;
  top: -40px;
  box-shadow:
    0 0 0 28px #ffffff20,
    0 0 0 58px #ffffff18;
}
.research-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px #6e4bc617;
}
.research-card .eyebrow {
  font-size: 8px;
}
.research-number {
  font-size: 58px;
  font-weight: 600;
  color: #6340d8;
  letter-spacing: -4px;
  line-height: 1.1;
  margin: 13px 0;
}
.research-number > span {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: #83799b;
  margin-left: 15px;
}
.research-card > span:nth-child(3) {
  font-size: 10px;
  color: #756f8d;
}
.research-cta {
  margin-top: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #5437a0;
  position: relative;
  z-index: 1;
}
.research-cta svg {
  width: 18px;
  height: 18px;
}
.certificates-link {
  margin-left: 4px;
  color: #77758c;
}
.contact-panel {
  padding-top: 46px;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  background: #fbfcff77;
}
.contact-star {
  font-size: 61px;
  color: #7950fa;
  line-height: 1;
  margin: 28px 0 18px;
  animation: star-turn 25s linear infinite;
}
.contact-panel h2 {
  font-family: Manrope, sans-serif;
  font-size: clamp(43px, 5.4vw, 84px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -3.5px;
}
.contact-panel > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.7;
  color: #74768b;
  margin: 22px 0;
}
.email-link {
  font-size: 21px;
  letter-spacing: -0.6px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #b8a8ff;
  padding-bottom: 8px;
}
.email-link:hover {
  color: var(--blue);
}
.email-link svg {
  width: 20px;
  height: 20px;
}
.contact-actions {
  display: flex;
  gap: 11px;
  margin-top: 24px;
}
.contact-actions .button {
  min-height: 44px;
  font-size: 11px;
  padding: 0 18px;
}
.contact-footer {
  position: absolute;
  bottom: 27px;
  left: 4.1%;
  right: 4.1%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  color: #767c90;
}
.contact-footer a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-footer svg {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
}
.journey-controls {
  height: var(--footer);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.1%;
  background: #fff;
  position: relative;
  z-index: 10;
  border-top: 1px solid #e9eaf3;
}
.scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #86879b;
  font-size: 10px;
  width: 210px;
}
.scroll-hint > svg {
  width: 20px;
  color: #807399;
  margin-left: 8px;
  animation: hint-arrow 2s ease-in-out infinite;
}
.mouse-icon {
  height: 19px;
  width: 12px;
  border: 1px solid #a5a1b8;
  border-radius: 9px;
  position: relative;
}
.mouse-icon:after {
  content: "";
  width: 2px;
  height: 4px;
  position: absolute;
  left: 4px;
  top: 4px;
  background: #9b8ec4;
  border-radius: 2px;
  animation: mouse-scroll 2s ease-in-out infinite;
}
.chapter-nav {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 44px;
  margin-top: 13px;
}
.chapter-nav > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 45px;
  font-size: 8px;
  color: #85839a;
  z-index: 2;
}
.chapter-nav i {
  width: 8px;
  height: 8px;
  display: block;
  border: 1px solid #b3afcc;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px white;
  transition:
    background 0.3s,
    transform 0.3s;
}
.chapter-nav a[aria-current] {
  color: var(--blue);
  font-weight: 650;
}
.chapter-nav a[aria-current] i {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.2);
}
.chapter-nav a:hover i {
  background: #c8b7ff;
}
.chapter-line {
  height: 1px;
  position: absolute;
  top: 3px;
  left: 23px;
  right: 23px;
  background: #d7d3e6;
}
.chapter-line > span {
  display: block;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  height: 100%;
  background: var(--blue);
}
.navigation-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  width: 210px;
}
.page-count {
  font-size: 9px;
  color: #aeabbe;
  letter-spacing: 1px;
  white-space: nowrap;
  margin-right: 6px;
}
.page-count b {
  color: #595570;
  font-weight: 550;
}
.nav-arrow,
.motion-toggle {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #e6e3ef;
  border-radius: 50%;
  color: #6a617f;
}
.nav-arrow svg {
  height: 14px;
  width: 14px;
}
#previous-panel svg {
  transform: rotate(180deg);
}
.nav-arrow:hover:not(:disabled),
.motion-toggle:hover {
  background: #f1ecff;
  color: var(--blue);
}
.nav-arrow:disabled {
  opacity: 0.3;
}
.motion-toggle {
  border: 0;
  font-size: 12px;
  letter-spacing: 1px;
  color: #938ca8;
}
.assistant-toggle {
  position: fixed;
  right: 23px;
  bottom: calc(var(--footer) + 20px);
  width: 41px;
  height: 41px;
  display: grid;
  place-items: center;
  z-index: 12;
  background: #fff;
  border: 1px solid #e7e3f6;
  border-radius: 50%;
  box-shadow: 0 4px 18px #403e7912;
  color: #7954eb;
}
.assistant-toggle:hover {
  transform: rotate(20deg);
  box-shadow: 0 7px 22px #7854eb25;
}
.assistant-toggle svg {
  width: 20px;
  height: 20px;
}
.assistant-panel {
  position: fixed;
  bottom: calc(var(--footer) + 71px);
  right: 23px;
  width: 350px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border: 1px solid #e9e4f3;
  border-radius: 18px;
  padding: 17px;
  box-shadow: 0 12px 65px #24214a22;
  z-index: 20;
}
.assistant-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eeebf4;
  padding-bottom: 13px;
}
.assistant-header > span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
}
.assistant-header > span svg {
  width: 18px;
  color: #7954eb;
}
.icon-button {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f5f2fb;
  flex-shrink: 0;
}
.icon-button svg {
  width: 17px;
  height: 17px;
}
.chat-messages {
  height: 220px;
  overflow: auto;
  margin: 14px 0;
  overscroll-behavior: contain;
}
.chat-messages p {
  font-size: 12px;
  line-height: 1.6;
  border-radius: 12px;
  padding: 12px;
  margin: 8px 0;
  white-space: pre-wrap;
}
.assistant-message {
  background: #f4f1fb;
  color: #625877;
  margin-right: 16px !important;
}
.user-message {
  background: #ece8ff;
  color: #4c3586;
  margin-left: 16px !important;
}
.assistant-panel form {
  display: flex;
  gap: 8px;
  padding: 5px;
  border: 1px solid #e7e2f0;
  border-radius: 12px;
}
.assistant-panel input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 5px;
  outline-offset: 0;
  font-size: 12px;
}
.assistant-panel > small {
  font-size: 8px;
  display: block;
  text-align: center;
  color: #9993a8;
  margin-top: 10px;
}
dialog {
  width: 700px;
  max-width: calc(100vw - 32px);
  max-height: 85dvh;
  border: 1px solid #eee7ff;
  border-radius: 22px;
  padding: 28px 34px;
  box-shadow: 0 30px 100px #25165333;
  color: var(--ink);
  background: #fefeff;
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #19142b55;
  backdrop-filter: blur(9px);
}
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.dialog-top .eyebrow {
  font-size: 9px;
}
.dialog-top .icon-button {
  width: 34px;
  height: 34px;
}
#dialog-content h2 {
  font-family: Manrope, sans-serif;
  font-size: 32px;
  letter-spacing: -1.2px;
  line-height: 1.2;
  margin: 0 0 18px;
}
#dialog-content h3 {
  font-size: 15px;
  margin: 25px 0 10px;
}
#dialog-content p,
#dialog-content li {
  font-size: 13px;
  line-height: 1.85;
  color: #67647b;
}
#dialog-content ul {
  padding-left: 20px;
}
#dialog-content .tags {
  margin: 20px 0;
}
#dialog-content .button {
  margin-top: 23px;
  font-size: 12px;
  min-height: 44px;
}
.detail-list {
  display: grid;
  gap: 10px;
}
.detail-list a {
  padding: 17px;
  border: 1px solid #e9e4f5;
  background: #f7f5fb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  line-height: 1.5;
}
.detail-list a:hover {
  background: #eee8ff;
  color: var(--blue);
}
.detail-list a svg {
  width: 17px;
  height: 17px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gallery-grid a {
  border-radius: 8px;
  overflow: hidden;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.toast {
  position: fixed;
  bottom: 105px;
  left: 50%;
  transform: translate(-50%, 10px);
  background: #242039;
  color: white;
  font-size: 12px;
  padding: 12px 20px;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  z-index: 50;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes portrait-reveal {
  from {
    opacity: 0;
    transform: translate(22px, 15px);
  }
  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}
@keyframes ribbon-breathe {
  from {
    transform: translateY(-5px) scaleY(0.97);
  }
  to {
    transform: translateY(5px) scaleY(1.04);
  }
}
@keyframes glint-flow {
  to {
    stroke-dashoffset: -560;
  }
}
@keyframes scan {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }
  15%,
  75% {
    opacity: 1;
  }
  100% {
    transform: translateY(220px);
    opacity: 0;
  }
}
@keyframes row-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scaleX(0.85);
    transform-origin: left;
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}
@keyframes star-turn {
  to {
    transform: rotate(360deg);
  }
}
@keyframes hint-arrow {
  50% {
    transform: translateX(5px);
  }
}
@keyframes mouse-scroll {
  50% {
    transform: translateY(3px);
    opacity: 0.4;
  }
}
body.motion-paused *,
body.motion-paused *:before,
body.motion-paused *:after {
  animation-play-state: paused !important;
}
@media (min-width: 1600px) {
  :root {
    --header: 100px;
    --footer: 86px;
  }
  .hero-copy {
    padding-top: 9vh;
  }
  .hero-copy h1 {
    font-size: 90px;
  }
  .hero-description {
    font-size: 17px;
  }
  .hero-projects {
    bottom: 65px;
  }
  .mini-project {
    padding: 22px;
  }
  .mini-project strong {
    font-size: 15px;
  }
  .mini-project small {
    font-size: 12px;
  }
  .hero-caption {
    bottom: 30px;
  }
  .project-content {
    padding-top: 52px;
    padding-bottom: 45px;
  }
  .project-visual {
    padding-left: 5%;
    padding-right: 5%;
  }
  .document-stack {
    height: 215px;
  }
  .ai-engine {
    height: 280px;
  }
  .structured-card {
    min-height: 235px;
    padding: 25px 20px;
  }
  .data-row {
    font-size: 12px;
    margin-top: 16px;
  }
  .structured-title {
    font-size: 13px;
  }
  .paper-front {
    padding: 23px;
  }
  .paper-front b {
    font-size: 16px;
  }
  .paper-label {
    font-size: 10px;
  }
  .experience-panel {
    padding-top: 55px;
  }
  .experience-card {
    padding: 34px;
  }
  .experience-card h3 {
    font-size: 21px;
  }
  .experience-card p {
    font-size: 14px;
  }
  .experience-card h4 {
    font-size: 13px;
  }
  .experience-meta {
    font-size: 9px;
  }
  .experience-card .tags {
    margin-top: 25px;
  }
  .experience-card .text-button {
    font-size: 13px;
  }
  .about-panel {
    padding-top: 60px;
  }
  .about-description {
    font-size: 16px;
  }
  .about-aside {
    gap: 25px;
  }
  .education-block {
    padding: 35px;
  }
  .education-block h3 {
    font-size: 20px;
  }
  .education-block p {
    font-size: 14px;
  }
  .education-block > span {
    font-size: 12px;
  }
  .research-card {
    padding: 32px;
  }
  .contact-panel {
    padding-top: 60px;
  }
  .contact-star {
    margin: 40px 0 30px;
  }
}
@media (max-width: 1150px) {
  .site-header {
    gap: 30px;
  }
  .header-note {
    display: none;
  }
  .site-header > .button {
    margin-left: auto;
  }
  .hero-copy h1 {
    font-size: 5.4vw;
    letter-spacing: -3px;
  }
  .hero-copy {
    width: 64%;
  }
  .hero-projects {
    width: 79%;
  }
  .hero-description {
    font-size: 13px;
  }
  .hero-copy h2 {
    font-size: 16px;
  }
  .portrait-stage {
    right: -6%;
    width: 59%;
    height: 88%;
  }
  .pin-ai {
    left: 60%;
    top: 43%;
  }
  .pin-data {
    left: 45%;
    top: 59%;
  }
  .work-panel {
    grid-template-columns: 205px 1fr;
  }
  .work-sidebar {
    padding: 30px 19px;
  }
  .project-tabs button {
    font-size: 11px;
  }
  .project-heading h2 {
    font-size: 36px;
  }
  .project-heading > p {
    max-width: 180px;
    font-size: 10px;
  }
  .project-content {
    padding: 30px 3% 25px;
  }
  .output-formats {
    display: none;
  }
  .project-visual {
    gap: 25px;
    padding-left: 5%;
    padding-right: 5%;
  }
  .document-stack {
    width: 27%;
    height: 167px;
  }
  .ai-engine {
    width: 30%;
    height: 205px;
  }
  .structured-card {
    width: 31%;
  }
  .project-bottom h3 {
    font-size: 17px;
  }
  .experience-card {
    padding: 20px 18px;
  }
  .experience-meta {
    font-size: 6px;
    letter-spacing: 0.6px;
  }
  .experience-card h3 {
    font-size: 15px;
  }
  .experience-card p {
    font-size: 10px;
  }
  .experience-card .text-button {
    font-size: 10px;
  }
  .section-intro > p {
    max-width: 210px;
    font-size: 11px;
  }
  .section-intro h2 {
    font-size: 3.8vw;
  }
  .chapter-nav {
    gap: 25px;
  }
  .scroll-hint {
    width: 175px;
  }
  .navigation-actions {
    width: 175px;
    gap: 8px;
  }
  .about-panel {
    gap: 5%;
    padding-top: 35px;
  }
  .about-main h2 {
    font-size: 4.7vw;
  }
  .about-description {
    font-size: 12px;
  }
  .about-location {
    font-size: 9px;
  }
  .about-links {
    gap: 20px;
  }
  .about-links .text-button {
    font-size: 10px;
  }
  .education-block {
    padding: 21px;
  }
  .research-card {
    padding: 22px;
  }
  .contact-panel h2 {
    font-size: 6vw;
  }
}
@media ((min-width: 1025px) or ((min-width: 761px) and (orientation: landscape))) and (max-height: 750px) {
  :root {
    --header: 70px;
    --footer: 62px;
  }
  .hero-copy {
    padding-top: 34px;
  }
  .hero-copy h1 {
    margin: 17px 0;
    font-size: min(5.1vw, 67px);
  }
  .hero-description {
    margin-top: 12px;
  }
  .hero-actions {
    margin-top: 19px;
  }
  .hero-actions .button {
    min-height: 45px;
  }
  .hero-projects {
    bottom: 30px;
  }
  .hero-caption {
    bottom: 11px;
    font-size: 8px;
  }
  .mini-project {
    padding: 12px;
  }
  .hero-portrait {
    height: 100%;
  }
  .project-content {
    padding-top: 25px;
    padding-bottom: 20px;
  }
  .project-heading h2 {
    font-size: 35px;
  }
  .project-visual {
    min-height: 190px;
  }
  .ai-engine {
    height: 180px;
  }
  .document-stack {
    height: 150px;
  }
  .structured-card {
    min-height: 160px;
    padding: 13px;
  }
  .data-row {
    margin-top: 9px;
  }
  .project-bottom {
    margin: 0 0 14px;
  }
  .next-project {
    padding: 10px 14px;
  }
  .work-sidebar {
    padding-top: 25px;
    padding-bottom: 23px;
  }
  .project-tabs {
    margin: 14px -9px 20px;
  }
  .project-context {
    padding-top: 18px;
  }
  .sidebar-note {
    padding: 12px;
  }
  .experience-panel {
    padding-top: 27px;
  }
  .section-intro {
    margin: 17px 0 30px;
  }
  .section-intro h2 {
    font-size: 40px;
  }
  .experience-card {
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .company-monogram {
    font-size: 34px;
    margin: 12px 0;
  }
  .company-monogram.university {
    font-size: 29px;
    margin: 15px 0;
  }
  .experience-card h4 {
    margin-bottom: 12px;
  }
  .experience-card .tags {
    margin: 12px 0 16px;
  }
  .experience-footnote {
    margin-top: 17px;
  }
  .about-panel {
    padding-top: 30px;
  }
  .about-main h2 {
    font-size: 48px;
    margin: 17px 0;
  }
  .about-description {
    font-size: 12px;
  }
  .about-location {
    margin: 17px 0;
  }
  .about-links {
    margin: 19px 0;
  }
  .education-block {
    padding: 20px 25px;
  }
  .education-block .eyebrow {
    margin-bottom: 14px;
  }
  .education-divider {
    margin: 15px 0;
  }
  .research-card {
    padding: 20px 25px;
  }
  .research-number {
    font-size: 43px;
    margin: 9px 0;
  }
  .research-cta {
    margin-top: 15px;
  }
  .about-aside {
    gap: 13px;
  }
  .contact-panel {
    padding-top: 28px;
  }
  .contact-star {
    font-size: 47px;
    margin: 17px 0 14px;
  }
  .contact-panel h2 {
    font-size: 57px;
  }
  .contact-panel > p:not(.eyebrow) {
    margin: 17px 0;
  }
  .contact-actions {
    margin-top: 19px;
  }
  .contact-footer {
    bottom: 19px;
  }
}
@media ((max-width: 760px) or ((max-width: 1024px) and (orientation: portrait))) {
  :root {
    --header: 70px;
    --footer: 72px;
  }
  .site-header {
    padding: 0 23px;
    gap: 20px;
  }
  .wordmark {
    font-size: 22px;
  }
  .primary-nav {
    gap: 18px;
    margin-left: auto;
    font-size: 11px;
  }
  .site-header > .button {
    min-height: 36px;
    font-size: 10px;
    padding: 0 13px;
    gap: 8px;
    margin-left: 0;
  }
  .site-header > .button svg {
    width: 14px;
  }
  .panel {
    padding: 30px 26px;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: #d6cdf0 transparent;
  }
  .panel-track {
    scroll-snap-type: x mandatory;
  }
  .panel {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .hero-panel {
    min-height: 0;
    padding-top: 0;
    overflow: hidden;
  }
  .hero-copy {
    padding-top: 34px;
    width: 100%;
  }
  .hero-copy > .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .hero-copy h1 {
    font-size: clamp(39px, 8.2vw, 62px);
    letter-spacing: -2.5px;
    margin: 18px 0 16px;
    line-height: 1.08;
  }
  .hero-copy h2 {
    font-size: 13px;
    letter-spacing: -0.2px;
  }
  .hero-copy h2 span {
    margin: 0 5px;
  }
  .hero-description {
    font-size: 11px;
    line-height: 1.6;
    max-width: 65%;
    margin-top: 12px;
  }
  .hero-actions {
    gap: 8px;
    margin-top: 17px;
  }
  .hero-actions .button {
    font-size: 10px;
    min-height: 39px;
    padding: 0 13px;
    gap: 8px;
    border-radius: 9px;
  }
  .hero-actions .button svg {
    width: 15px;
  }
  .portrait-stage {
    height: 57%;
    width: 76%;
    right: -14%;
    bottom: 45px;
  }
  .hero-portrait {
    max-width: none;
    height: 100%;
  }
  .hero-projects {
    left: 26px;
    right: 26px;
    width: auto;
    bottom: 25px;
    gap: 9px;
  }
  .mini-project {
    padding: 11px;
    gap: 9px;
    border-radius: 12px;
  }
  .mini-project strong {
    font-size: 9px;
    margin-bottom: 3px;
    line-height: 1.4;
  }
  .mini-project small {
    font-size: 8px;
    line-height: 1.4;
  }
  .mini-project .icon-tile {
    width: 30px;
    height: 34px;
    border-radius: 8px;
  }
  .mini-project .icon-tile svg {
    width: 18px;
  }
  .mini-project .round-arrow {
    display: none;
  }
  .hero-caption {
    display: none;
  }
  .hero-front-flow {
    bottom: 0;
    height: 29%;
    width: 160%;
    left: -25%;
  }
  .pin-data {
    left: 14%;
    top: auto;
    bottom: 24%;
    font-size: 8px;
  }
  .pin-ai {
    left: 36%;
    top: auto;
    bottom: 36%;
    font-size: 8px;
  }
  .pin-product {
    right: 8%;
    top: auto;
    bottom: 47%;
    font-size: 8px;
  }
  .flow-pin i {
    height: 45px;
  }
  .flow-pin i:before {
    width: 6px;
    height: 6px;
    left: -2.5px;
  }
  .flow-pin span {
    margin: 0 0 6px 8px;
  }
  .work-panel {
    display: block;
    padding: 0;
    background: #fbfcffdf;
  }
  .work-sidebar {
    padding: 24px 26px 0;
    display: block;
    border: 0;
    background: transparent;
  }
  .work-sidebar > .eyebrow {
    font-size: 8px;
  }
  .project-tabs {
    flex-direction: row;
    margin: 12px 0 0;
    gap: 7px;
    border-bottom: 1px solid #e9e5f2;
    padding-bottom: 17px;
  }
  .project-tabs button {
    font-size: 10px;
    gap: 7px;
    padding: 10px 11px;
    flex: 1;
    justify-content: center;
  }
  .project-tabs button > svg:first-child {
    width: 16px;
    height: 16px;
  }
  .project-tabs button > svg:last-child {
    display: none;
  }
  .project-context,
  .sidebar-note,
  .sidebar-resume {
    display: none;
  }
  .project-content {
    padding: 23px 26px 34px;
    min-height: 560px;
  }
  .project-heading {
    align-items: flex-start;
    gap: 16px;
  }
  .project-heading .eyebrow {
    font-size: 8px;
  }
  .project-heading h2 {
    font-size: 34px;
    letter-spacing: -1.8px;
  }
  .project-heading > p {
    font-size: 10px;
    max-width: 150px;
    padding-top: 25px;
  }
  .project-visual {
    min-height: 255px;
    padding: 0 4% 20px;
    gap: 15px;
    margin-top: 8px;
  }
  .document-stack {
    height: 147px;
    width: 28%;
  }
  .paper-front {
    padding: 13px 9px;
  }
  .paper-label {
    font-size: 6px;
    letter-spacing: 0.4px;
  }
  .paper-label svg {
    width: 12px;
  }
  .paper-front b {
    font-size: 10px;
    margin: 14px 0 10px;
  }
  .paper-front i {
    height: 2px;
    margin: 5px 0;
  }
  .paper-footer {
    font-size: 5px;
    bottom: 12px;
  }
  .ai-engine {
    height: 180px;
    width: 29%;
    border-radius: 19px;
    padding: 5px;
  }
  .engine-inner {
    border-radius: 12px;
  }
  .engine-inner > svg {
    width: 26px;
    height: 26px;
  }
  .engine-inner strong {
    font-size: 24px;
  }
  .engine-inner > span {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .engine-status {
    font-size: 5px;
    letter-spacing: 0.5px;
    padding: 4px;
  }
  .structured-card {
    min-height: 143px;
    padding: 13px 9px;
    width: 30%;
  }
  .structured-title {
    font-size: 8px;
    gap: 3px;
    margin-bottom: 9px;
  }
  .structured-title > span {
    padding: 0 2px;
  }
  .data-row {
    font-size: 6px;
    gap: 5px;
    margin-top: 9px;
  }
  .data-row > b {
    font-size: 10px;
  }
  .data-row i {
    height: 6px;
  }
  .node-caption {
    font-size: 7px;
    top: calc(100% + 17px);
  }
  .project-bottom {
    margin: 0 0 22px;
    gap: 10px;
  }
  .project-bottom h3 {
    font-size: 16px;
  }
  .project-bottom > .button {
    font-size: 9px;
    min-height: 38px;
    padding: 0 12px;
    gap: 8px;
  }
  .project-bottom > .button svg {
    width: 14px;
  }
  .tags {
    gap: 5px;
  }
  .tags > span {
    font-size: 8px;
    padding: 5px 9px;
  }
  .next-project {
    padding: 12px;
    gap: 11px;
  }
  .next-project strong {
    font-size: 11px;
  }
  .next-project > span > span {
    font-size: 9px;
  }
  .next-project small {
    font-size: 6px;
  }
  .next-project .icon-tile {
    width: 34px;
    height: 37px;
  }
  .quiet-label {
    display: none;
  }
  .section-topline .eyebrow {
    font-size: 8px;
  }
  .section-intro {
    display: block;
    margin: 19px 0 33px;
  }
  .section-intro h2 {
    font-size: 38px;
    letter-spacing: -2px;
  }
  .section-intro > p {
    font-size: 11px;
    max-width: 330px;
    margin-top: 17px;
  }
  .experience-grid {
    display: flex;
    flex-direction: column;
    gap: 21px;
  }
  .experience-grid:before {
    top: 0;
    bottom: 0;
    left: -10px;
    right: auto;
    height: auto;
    width: 1px;
  }
  .experience-card {
    padding: 22px 24px;
  }
  .timeline-node {
    left: -16px;
    top: 25px;
  }
  .experience-meta {
    font-size: 7px;
  }
  .experience-card h3 {
    font-size: 19px;
  }
  .experience-card h4 {
    font-size: 12px;
  }
  .experience-card p {
    font-size: 12px;
    min-height: 0;
  }
  .experience-card .text-button {
    font-size: 11px;
  }
  .company-monogram {
    font-size: 36px;
    margin: 13px 0;
  }
  .company-monogram.university {
    font-size: 30px;
    margin: 17px 0;
  }
  .experience-footnote {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 25px;
    padding-bottom: 15px;
  }
  .about-panel {
    display: block;
  }
  .about-main h2 {
    font-size: 45px;
    margin-top: 22px;
  }
  .about-main > .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .about-description {
    font-size: 13px;
  }
  .about-location {
    font-size: 9px;
    line-height: 1.5;
  }
  .about-links {
    gap: 23px;
  }
  .about-links .text-button {
    font-size: 10px;
  }
  .skill-cloud {
    padding-top: 20px;
    margin-bottom: 30px;
  }
  .about-aside {
    gap: 17px;
  }
  .education-block {
    padding: 26px;
  }
  .education-block h3 {
    font-size: 17px;
  }
  .education-block p {
    font-size: 12px;
  }
  .education-block > span {
    font-size: 10px;
  }
  .research-card {
    padding: 26px;
  }
  .certificates-link {
    margin: 5px 0 20px;
  }
  .contact-panel {
    padding-top: 36px;
    display: block;
    min-height: 100%;
    text-align: left;
  }
  .contact-panel > .eyebrow {
    font-size: 8px;
  }
  .contact-star {
    display: block;
    font-size: 53px;
    margin: 36px 0 24px;
    width: 53px;
    text-align: center;
  }
  .contact-panel h2 {
    font-size: clamp(34px, 7.6vw, 54px);
    letter-spacing: -2px;
  }
  .contact-panel > p:not(.eyebrow) {
    font-size: 12px;
    margin: 22px 0;
  }
  .email-link {
    font-size: 19px;
    width: max-content;
    gap: 10px;
  }
  .contact-actions {
    gap: 9px;
    margin-top: 25px;
  }
  .contact-actions .button {
    font-size: 9px;
    padding: 0 12px;
    gap: 8px;
  }
  .contact-footer {
    position: relative;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 50px 0 15px;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 8px;
  }
  .contact-footer > span:nth-child(2) {
    display: none;
  }
  .journey-controls {
    padding: 0 23px;
    gap: 10px;
  }
  .scroll-hint {
    display: none;
  }
  .chapter-nav {
    gap: 12px;
    flex: 1;
    max-width: 360px;
    margin-top: 10px;
  }
  .chapter-nav > a {
    font-size: 7px;
    width: 37px;
  }
  .chapter-line {
    left: 18px;
    right: 18px;
  }
  .navigation-actions {
    width: auto;
    gap: 7px;
  }
  .page-count {
    display: none;
  }
  .motion-toggle {
    width: 24px;
  }
  .nav-arrow {
    width: 26px;
    height: 26px;
  }
  .assistant-toggle {
    right: 15px;
    bottom: calc(var(--footer) + 12px);
    width: 33px;
    height: 33px;
  }
  .assistant-toggle svg {
    width: 16px;
  }
  .assistant-panel {
    right: 15px;
    bottom: calc(var(--footer) + 54px);
  }
  dialog {
    padding: 23px;
  }
  #dialog-content h2 {
    font-size: 27px;
  }
  .gallery-grid {
    gap: 8px;
  }
}
@media (max-width: 430px) {
  .site-header {
    padding: 0 20px;
    gap: 15px;
  }
  .primary-nav {
    gap: 15px;
  }
  .primary-nav a {
    font-size: 10px;
  }
  .site-header > .button {
    font-size: 0;
    gap: 0;
    width: 34px;
    padding: 0;
    min-height: 34px;
  }
  .site-header > .button svg {
    width: 15px;
    height: 15px;
  }
  .hero-copy h1 {
    font-size: 40px;
    letter-spacing: -2.2px;
  }
  .hero-description {
    max-width: 76%;
    font-size: 10px;
  }
  .hero-portrait {
    right: 0;
  }
  .portrait-stage {
    right: -16%;
    height: 56%;
    bottom: 37px;
  }
  .hero-projects {
    left: 20px;
    right: 20px;
    bottom: 21px;
  }
  .mini-project {
    padding: 10px 8px;
    gap: 7px;
  }
  .mini-project small {
    font-size: 7px;
  }
  .mini-project strong {
    font-size: 8px;
  }
  .mini-project .icon-tile {
    width: 27px;
    height: 31px;
  }
  .project-heading {
    display: block;
  }
  .project-heading > p {
    max-width: 100%;
    padding-top: 12px;
    font-size: 10px;
    line-height: 1.5;
  }
  .project-heading h2 {
    font-size: 32px;
  }
  .project-heading h2 br {
    display: none;
  }
  .project-visual {
    min-height: 236px;
    margin: 2px -3% 0;
    gap: 12px;
  }
  .project-tabs button {
    padding: 10px 8px;
    font-size: 9px;
    gap: 5px;
  }
  .work-sidebar,
  .project-content {
    padding-left: 22px;
    padding-right: 22px;
  }
  .project-bottom {
    flex-wrap: wrap;
  }
  .project-bottom > .button {
    margin-top: 4px;
  }
  .project-content {
    min-height: 620px;
  }
  .project-bottom h3 {
    font-size: 16px;
  }
  .about-main h2 {
    font-size: 39px;
  }
  .contact-panel h2 {
    font-size: 35px;
  }
  .contact-actions .button {
    padding: 0 10px;
  }
  .journey-controls {
    padding: 0 17px;
    gap: 8px;
  }
  .chapter-nav {
    gap: 6px;
  }
  .chapter-nav > a {
    width: 32px;
  }
  .chapter-nav a:nth-child(3) > span {
    font-size: 6px;
  }
  .chapter-line {
    left: 16px;
    right: 16px;
  }
  .navigation-actions {
    gap: 5px;
  }
  .motion-toggle {
    width: 18px;
  }
  .hero-actions .button {
    min-height: 37px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
@media ((max-width: 760px) or ((max-width: 1024px) and (orientation: portrait))) and (max-height: 720px) {
  .hero-copy {
    padding-top: 23px;
  }
  .hero-copy h1 {
    font-size: 36px;
    margin: 13px 0;
  }
  .hero-description {
    margin-top: 10px;
  }
  .hero-actions {
    margin-top: 13px;
  }
  .portrait-stage {
    height: 52%;
    right: -18%;
    bottom: 30px;
  }
  .hero-projects {
    bottom: 15px;
  }
  .mini-project small {
    display: none;
  }
  .pin-ai {
    bottom: 33%;
  }
  .pin-data {
    bottom: 20%;
  }
  .hero-front-flow {
    bottom: -6%;
  }
  .contact-panel {
    padding-top: 26px;
  }
  .contact-star {
    margin: 23px 0 17px;
  }
  .contact-panel h2 {
    font-size: 34px;
  }
  .contact-footer {
    margin-top: 30px;
  }
}
@media ((min-width: 1025px) or ((min-width: 761px) and (orientation: landscape))) and (max-height: 600px) {
  .panel {
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
  .hero-panel {
    overflow-y: hidden;
  }
  .hero-copy {
    padding-top: 24px;
  }
  .hero-copy h1 {
    font-size: 43px;
    margin: 12px 0;
  }
  .hero-description {
    font-size: 12px;
    margin-top: 9px;
  }
  .hero-actions {
    margin-top: 14px;
  }
  .hero-actions .button {
    min-height: 37px;
  }
  .hero-projects {
    bottom: 17px;
  }
  .hero-caption {
    display: none;
  }
  .work-sidebar, .project-content {
    min-height: 470px;
  }
  .contact-footer {
    position: static;
    margin-top: 38px;
    width: 100%;
  }
}
.work-sidebar {
  z-index: 3;
  background: linear-gradient(160deg, #f6f4fffa, #f1f4fffa);
}
.project-content {
  overflow: clip;
}
@media ((max-width: 760px) or ((max-width: 1024px) and (orientation: portrait))) {
  .work-sidebar {
    background: transparent;
  }
}
/* Pre-rendered surfaces keep the supplied reflections without a drawing loop.
   Placement and ambient motion use separate elements so they cannot conflict. */
.hero-flow-placement {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: 116%;
  left: -8%;
  top: 42%;
  transform: translate3d(calc(var(--journey-progress, 0) * -32px), 0, 0);
}
.flow-ambient {
  animation: ribbon-float 14s ease-in-out infinite alternate;
}
.flow-ambient img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-front-flow {
  /* Only the lower central fold is visible in this foreground crop. */
  inset: auto 0 -2%;
  width: 100%;
  height: 16%;
  overflow: clip;
  mask-image: linear-gradient(transparent, #000 32%);
}
.hero-front-flow img {
  position: absolute;
  width: 116%;
  height: auto;
  left: -8%;
  bottom: -10%;
}
.hero-copy,
.portrait-stage,
.hero-projects {
  animation: none;
}
.mini-project {
  background: #fffffff7;
  border-color: #eeeaf8;
}
.diagram-flow {
  left: -8%;
  right: -8%;
  top: 0;
  bottom: 24px;
  height: auto;
  filter: none;
  overflow: clip;
}
.diagram-flow .flow-ambient {
  position: absolute;
  top: 50%;
  width: 100%;
}
.diagram-flow img {
  transform: translateY(-50%) rotate(9deg);
}
.project-visual {
  isolation: isolate;
}
.pipeline-node {
  transition: transform 0.3s var(--ease);
}
.pipeline-node:hover {
  filter: none;
}
.paper-back,
.paper-middle {
  text-align: left;
  padding: 22px 16px;
  font-size: 12px;
  color: var(--muted);
  background: linear-gradient(135deg, #fff 50%, #f4f3ff);
}
.paper-back {
  transform: translate(48px, -21px) rotate(8deg);
}
.paper-middle {
  transform: translate(24px, -11px) rotate(4deg);
}
.paper-back i,
.paper-middle i {
  display: block;
  height: 3px;
  background: #deddee;
  margin-top: 12px;
}
.paper-label {
  font-size: 12px;
  letter-spacing: 0;
  margin-bottom: 22px;
}
.paper-front i {
  margin: 10px 0;
}
.ai-engine {
  background:
    linear-gradient(126deg, #ffffffba 4%, #d8c6ff80 28%, #8d5ee64a 52%, #f4dbfc9e 77%, #a8e5ffbb);
  border: 2px solid #b89af1;
  box-shadow: inset 2px 2px 0 #fff, inset -5px -3px 0 #9565e9a0,
    5px 2px 0 #dfccff, 8px 3px 0 #8b55dd80, 0 15px 24px #6650911a;
  transform: perspective(800px) rotateY(-9deg) rotate(-2deg);
}
.engine-inner {
  background: linear-gradient(137deg, #ffffff99, transparent 42%, #faf4ff44 70%, #ffffff88);
  box-shadow: inset 0 0 0 2px #ffffff40;
}
.engine-inner:after {
  /* Fixed reflected edge. The stage labels remain stationary. */
  width: 32%;
  height: 130%;
  left: 21%;
  top: -15%;
  transform: rotate(32deg);
  background: linear-gradient(90deg, transparent, #ffffff38, transparent);
  box-shadow: none;
  animation: none;
}
.engine-inner strong {
  font-size: clamp(36px, 3.5vw, 60px);
  font-weight: 650;
  color: #282052;
}
.engine-inner > svg {
  width: 24px;
  height: 24px;
}
.engine-status {
  display: none;
}
.structured-card {
  background: #ffffffed;
  transform: rotate(2deg);
  border-color: #eeedf6;
}
.output-formats > span {
  background: #ffffffed;
  border-color: #eeedf6;
}
.data-row i {
  animation: none;
}
.node-caption {
  color: var(--muted);
  font-size: 12px;
}
.next-project {
  background: #fff5f1;
}
.project-content {
  overflow: visible;
}
.panel:not(.is-active) *,
.panel:not(.is-active) *::before,
.panel:not(.is-active) *::after,
[data-motion-paused="true"] *,
[data-motion-paused="true"] *::before,
[data-motion-paused="true"] *::after {
  animation-play-state: paused !important;
}
[data-motion-paused="true"] .hero-flow-placement {
  transform: none;
}
@keyframes ribbon-float {
  from { transform: translate3d(0, -5px, 0) rotate(-0.2deg); }
  to { transform: translate3d(0, 5px, 0) rotate(0.2deg); }
}
@media ((min-width: 1025px) or ((min-width: 761px) and (orientation: landscape))) {
  :root {
    --header: 80px;
    --footer: 64px;
  }
  .hero-copy {
    padding-top: clamp(34px, 6vh, 62px);
    width: 57%;
    max-width: 810px;
  }
  .hero-copy h1 {
    font-size: clamp(48px, min(5.05vw, 8.6vh), 82px);
    letter-spacing: -0.055em;
    margin: 22px 0;
  }
  .hero-copy h2 { font-size: clamp(17px, 1.6vw, 24px); }
  .hero-description { font-size: clamp(14px, 1.2vw, 18px); }
  .hero-projects {
    bottom: 37px;
    width: 66%;
  }
  .mini-project { padding: 19px 17px; }
  .mini-project strong { font-size: 14px; }
  .mini-project small { font-size: 12px; }
  .portrait-stage {
    height: 97%;
    width: 53%;
    right: -1%;
  }
  .hero-portrait { mask-image: linear-gradient(#000 89%, transparent); }
  .work-panel { grid-template-columns: 240px minmax(0, 1fr); }
  .work-sidebar { background: #f7f6ff; padding: 34px 24px; }
  .project-tabs button { font-size: 13px; }
  .project-context h3 { font-size: 17px; }
  .project-context dl div { font-size: 12px; gap: 10px; }
  .sidebar-note p { font-size: 12px; color: var(--ink); }
  .project-content { padding: 34px 3.2% 24px; }
  .project-heading { max-width: 1360px; width: 100%; gap: 40px; }
  .project-heading h2 { font-size: clamp(38px, min(3.7vw, 6.5vh), 58px); }
  .project-heading > p { font-size: 15px; max-width: 285px; }
  .project-visual { max-height: 440px; min-height: 240px; padding: 16px 2% 42px; }
  .document-stack { width: 17%; height: clamp(165px, 23vh, 215px); margin-right: 5%; }
  .ai-engine { width: 24%; height: clamp(220px, 30vh, 280px); }
  .structured-card { width: 27%; padding: 22px 18px; min-height: 212px; }
  .structured-title { font-size: 14px; }
  .data-row { font-size: 12px; margin-top: 13px; }
  .output-formats { width: 16%; gap: 12px; }
  .output-formats > span { font-size: 12px; padding: 16px 12px; }
  .project-bottom { margin: 10px 0 20px; }
  .project-bottom h3 { font-size: 23px; }
}
@media ((min-width: 1025px) or ((min-width: 761px) and (orientation: landscape))) and (max-width: 1150px) {
  .work-panel { grid-template-columns: 205px minmax(0, 1fr); }
  .work-sidebar { padding: 26px 18px; }
  .project-context dl div { font-size: 10px; }
  .project-heading { gap: 20px; }
  .project-heading h2 { font-size: 36px; }
  .project-heading > p { font-size: 12px; max-width: 190px; }
  .document-stack { width: 23%; }
  .ai-engine { width: 29%; }
  .structured-card { width: 31%; padding: 16px 12px; }
  .structured-title { font-size: 11px; }
  .data-row { font-size: 10px; }
  .hero-projects { width: 82%; }
  .mini-project strong { font-size: 12px; }
  .mini-project small { font-size: 10px; }
}
@media ((min-width: 1025px) or ((min-width: 761px) and (orientation: landscape))) and (max-height: 800px) {
  :root { --header: 70px; --footer: 58px; }
  .work-sidebar { padding-top: 26px; padding-bottom: 26px; }
  .hero-copy { padding-top: 30px; }
  .hero-copy h1 { font-size: min(5vw, 8.2vh); margin: 18px 0; }
  .hero-description { margin-top: 12px; }
  .hero-actions { margin-top: 20px; }
  .hero-projects { bottom: 27px; }
  .mini-project { padding: 15px; }
  .project-content { padding-top: 26px; padding-bottom: 18px; }
  .project-heading h2 { font-size: min(3.7vw, 6.1vh); }
  .project-heading > p { font-size: 13px; max-width: 245px; }
  .project-visual { min-height: 214px; padding-bottom: 35px; }
  .ai-engine { height: 190px; }
  .document-stack { height: 162px; }
  .structured-card { min-height: 185px; padding: 15px; }
  .data-row { margin-top: 10px; }
  .node-caption { font-size: 11px; top: calc(100% + 15px); }
  .output-formats > span { padding: 13px 10px; }
  .project-bottom { margin: 5px 0 14px; }
  .project-bottom h3 { font-size: 21px; }
}
@media ((max-width: 760px) or ((max-width: 1024px) and (orientation: portrait))) {
  .hero-panel {
    display: grid;
    grid-template-rows: auto 290px auto;
    align-content: start;
    overflow-y: auto;
    padding: 0 24px 28px;
  }
  .hero-copy { padding-top: 30px; width: 100%; }
  .hero-copy h1 { font-size: clamp(37px, 8.7vw, 60px); margin: 17px 0; }
  .hero-copy h2 { font-size: 14px; }
  .hero-description { max-width: 100%; font-size: 13px; }
  .hero-description .wide-break { display: none; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .button { min-height: 44px; font-size: 12px; }
  .portrait-stage {
    position: relative;
    grid-row: 2;
    width: 100%;
    height: 320px;
    right: auto;
    bottom: auto;
    margin-top: 5px;
  }
  .hero-portrait { right: -20px; height: 100%; max-width: none; }
  .hero-projects {
    position: relative;
    grid-row: 3;
    inset: auto;
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }
  .mini-project { padding: 13px; gap: 12px; min-height: 74px; }
  .mini-project strong { font-size: 13px; }
  .mini-project small { display: block; font-size: 11px; }
  .mini-project .icon-tile { width: 38px; height: 42px; }
  .mini-project .round-arrow { display: grid; }
  .hero-flow-placement { width: 850px; left: -240px; top: 400px; }
  .hero-front-flow { display: none; }
  .flow-pin { display: none; }
  .project-content { min-height: 0; padding: 24px 24px 64px; }
  .project-heading { display: block; }
  .project-heading h2 { font-size: 36px; }
  .project-heading > p { padding-top: 16px; font-size: 14px; max-width: 100%; }
  .project-tabs { gap: 4px; }
  .project-tabs button { font-size: 11px; padding: 12px 8px; }
  .project-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 54px 30px;
    margin: 36px 0 34px;
    padding: 15px 8px 30px;
    min-height: 0;
  }
  .diagram-flow { width: 100%; left: 0; top: 0; bottom: 0; right: 0; opacity: 0.8; }
  .diagram-flow .flow-ambient { width: 760px; left: -210px; }
  .document-stack { width: 75%; height: 155px; margin: 0 0 0 4px; }
  .paper-middle { transform: translate(12px, -8px) rotate(4deg); }
  .paper-back { transform: translate(24px, -15px) rotate(8deg); }
  .paper-label { font-size: 11px; margin-bottom: 15px; }
  .paper-back, .paper-middle { padding: 13px 9px; font-size: 10px; }
  .paper-front b { font-size: 12px; }
  .paper-front i { margin: 9px 0; }
  .ai-engine { width: 100%; height: 190px; }
  .engine-inner strong { font-size: 42px; }
  .engine-inner > span { font-size: 10px; }
  .structured-card { width: 100%; grid-column: 1 / -1; min-height: 215px; padding: 20px; transform: none; }
  .structured-title { font-size: 15px; }
  .data-row { font-size: 13px; margin-top: 14px; }
  .data-row i { width: 38%; height: 10px; }
  .output-formats { display: grid; grid-column: 1 / -1; width: 100%; grid-template-columns: repeat(4, 1fr); gap: 8px; transform: none; }
  .output-formats > span { flex-direction: column; font-size: 10px; gap: 7px; padding: 12px 3px; box-shadow: 2px 3px 0 #e8eafb80; }
  .node-caption { font-size: 11px; letter-spacing: 0; top: calc(100% + 14px); }
  .project-bottom { gap: 15px; margin-bottom: 22px; }
  .project-bottom h3 { font-size: 22px; }
  .project-bottom > .button { font-size: 13px; min-height: 46px; }
  .next-project { padding: 14px 12px; }
  .next-project strong { font-size: 13px; }
  .next-project > span > span { font-size: 11px; }
  .assistant-toggle { width: 38px; height: 38px; }
}
@media ((min-width: 1025px) or ((min-width: 761px) and (orientation: landscape))) and (max-height: 600px) {
  .hero-panel { overflow-y: auto; min-height: 0; }
  .hero-copy { min-height: 450px; }
  .hero-projects { position: relative; left: 0; bottom: auto; margin: 10px 0; }
  .work-sidebar, .project-content { min-height: 570px; }
}
/* The Work art is a text-free render. Semantic HTML sits on its blank surfaces. */
.work-scene { display: none; }
.document-names { display: none; }
@media ((min-width: 1025px) or ((min-width: 761px) and (orientation: landscape))) {
  .project-visual {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    container-type: size;
    place-items: center;
    padding: 0 0 25px;
    margin: 8px -12px 0;
    min-height: 214px;
  }
  .scene-frame {
    position: relative;
    container-type: inline-size;
    width: min(100cqw, 370cqh);
    aspect-ratio: 3.7;
  }
  .work-scene {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  .scene-frame .diagram-flow { display: none; }
  .scene-frame .pipeline-node,
  .scene-frame .pipeline-node:hover {
    position: absolute;
    margin: 0;
    min-height: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    transform: none;
    filter: none;
    border-radius: 14px;
  }
  .scene-frame .pipeline-node:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 5px;
  }
  .scene-frame .document-stack { left: 5%; top: 14%; width: 25%; height: 71%; }
  .scene-frame .paper { display: none; }
  .document-names { display: block; position: absolute; inset: 0; font-size: 1.15cqw; color: #636182; }
  .document-names span { position: absolute; transform: rotate(12deg); }
  .document-names span:nth-child(1) { left: 6%; top: 27%; transform: rotate(-15deg); }
  .document-names span:nth-child(2) { left: 24%; top: 14%; transform: rotate(-8deg); }
  .document-names span:nth-child(3) { left: 51%; top: 12%; }
  .scene-frame .ai-engine { left: 35.5%; top: 8%; width: 17.6%; height: 81%; padding: 0; }
  .scene-frame .engine-inner { border: 0; border-radius: 0; box-shadow: none; background: none; padding-bottom: 12%; }
  .scene-frame .engine-inner::after,
  .scene-frame .engine-inner > svg { display: none; }
  .scene-frame .engine-inner strong { font-size: 4.5cqw; }
  .scene-frame .engine-inner > span { font-size: 1.1cqw; letter-spacing: 0.14em; }
  .scene-frame .structured-card { left: 64%; top: 18%; width: 18%; height: 67%; padding: 1.9% 1.15%; }
  .scene-frame .structured-title { font-size: 1.2cqw; margin-bottom: 1cqw; white-space: nowrap; }
  .scene-frame .data-row { font-size: 1.06cqw; margin-top: 0.75cqw; gap: 0.55cqw; }
  .scene-frame .data-row > b { font-size: 1.25cqw; }
  .scene-frame .data-row i { width: 32%; height: 0.85cqw; }
  .scene-frame .output-formats { position: absolute; left: 86.5%; top: 17%; width: 11.2%; height: 68%; display: grid; grid-template-rows: repeat(4, 1fr); gap: 5%; transform: none; }
  .scene-frame .output-formats > span { background: none; border: 0; box-shadow: none; padding: 0 8%; font-size: 1.05cqw; gap: 0.7cqw; }
  .scene-frame .output-formats b,
  .scene-frame .output-formats svg { font-size: 1.65cqw; width: 1.65cqw; height: 1.65cqw; }
  .scene-frame .node-caption { font-size: clamp(10px, 1.12cqw, 14px); top: calc(100% + 15px); letter-spacing: 0; }
  .project-bottom { position: relative; z-index: 2; }
  .project-bottom .tags > span { font-size: 12px; }
  .project-bottom > .button { font-size: 14px; min-height: 48px; }
  .next-project small { font-size: 9px; }
  .next-project strong { font-size: 16px; }
  .next-project > span > span { font-size: 13px; }
  .chapter-nav > a { font-size: 11px; width: 60px; }
  .chapter-line { left: 30px; right: 30px; }
}
@media ((max-width: 760px) or ((max-width: 1024px) and (orientation: portrait))) {
  .project-visual { display: block; }
  .scene-frame {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 54px 30px;
    position: relative;
  }
  .scene-frame .ai-engine {
    background: url("assets/work-extraction-scene-1200.webp") 43% center / 510% 118% no-repeat;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    transform: none;
  }
  .scene-frame .engine-inner { background: none; border: 0; box-shadow: none; }
  .scene-frame .engine-inner::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
