:root {
  color-scheme: dark;
  --ink: #f0ece3;
  --muted: #aaa59c;
  --quiet: #726e68;
  --black: #080809;
  --panel: #101011;
  --wine: #8d344b;
  --copper: #bd7953;
  --acid: #d1b97a;
  --line: rgba(240, 236, 227, 0.16);
  --sans: "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  cursor: default;
}

body.modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

main,
.hud {
  user-select: none;
}

img {
  max-width: 100%;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

::selection {
  background: var(--wine);
  color: white;
}

.skip-link {
  position: fixed;
  z-index: 500;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--black);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.hud {
  position: fixed;
  z-index: 150;
  inset: 0 0 auto;
  height: 68px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(18px, 3.6vw, 58px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 9, 0.82);
  backdrop-filter: blur(18px);
}

.hud-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 18px;
  font-weight: 780;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.hud-brand img {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(209, 185, 122, 0.55);
  border-radius: 50%;
}

.hud-status {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.hud-index {
  color: var(--copper);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 650;
}

.hud-name {
  transition: color 240ms ease, transform 240ms ease;
}

.hud-status.is-changing .hud-name {
  color: var(--ink);
  transform: translateY(-1px);
}

.hud nav {
  justify-self: end;
  display: flex;
  gap: 20px;
  font-size: 13px;
}

.hud nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-weight: 450;
  transition: color 220ms ease, font-weight 220ms ease;
}

.hud nav a:hover {
  color: var(--ink);
}

.hud nav a[aria-current] {
  color: var(--copper);
  font-weight: 750;
}

.menu-toggle {
  display: none;
  justify-self: end;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-transform: uppercase;
}

.hud-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
}

.hud-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--wine), var(--copper), var(--acid));
  transition: width 80ms linear;
}

.opening {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 112px clamp(22px, 6vw, 94px) 62px;
  overflow: hidden;
  isolation: isolate;
}

.opening::before {
  content: "";
  position: absolute;
  z-index: -3;
  inset: 0;
  background:
    linear-gradient(110deg, #080809 0 57%, rgba(15, 9, 12, 0.96) 100%),
    radial-gradient(circle at 78% 42%, rgba(141, 52, 75, 0.22), transparent 35%);
}

.opening-aura {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 4%;
  width: min(52vw, 760px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.opening-aura span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(189, 121, 83, 0.16);
  border-radius: 50%;
  animation: breathe 8s ease-in-out infinite;
}

.opening-aura span:nth-child(2) {
  inset: 12%;
  animation-delay: -2.6s;
}

.opening-aura span:nth-child(3) {
  inset: 25%;
  animation-delay: -5.2s;
}

.opening-copy {
  position: relative;
  z-index: 3;
  width: min(59%, 860px);
}

.opening-name,
.chapter-mark {
  margin: 0;
  color: var(--copper);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.opening-name {
  color: #c98760;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 760;
  letter-spacing: 0.045em;
  line-height: 1.05;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.opening h1 {
  max-width: 850px;
  margin: 25px 0 0;
  font-family: var(--display);
  font-size: clamp(54px, 5.45vw, 82px);
  font-weight: 570;
  line-height: 0.97;
  letter-spacing: -0.045em;
}

.opening h1 span {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: title-in 900ms cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.opening h1 span:nth-child(2) {
  animation-delay: 120ms;
}

.opening h1 span:nth-child(3) {
  animation-delay: 240ms;
}

.opening-deck {
  max-width: 650px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
}

.opening-identity {
  max-width: 650px;
  margin: 13px 0 0;
  color: rgba(240, 236, 227, 0.88);
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 590;
  line-height: 1.45;
}

.opening-portrait {
  position: absolute;
  z-index: -1;
  inset: 68px 0 0 32%;
  width: auto;
  margin: 0;
  pointer-events: none;
}

.portrait-window {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.portrait-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--black) 0%, rgba(8, 8, 9, 0.92) 13%, rgba(8, 8, 9, 0.32) 45%, rgba(8, 8, 9, 0.06) 72%),
    linear-gradient(180deg, rgba(8, 8, 9, 0.18), transparent 28%, transparent 67%, var(--black) 100%),
    radial-gradient(circle at 73% 42%, transparent 0 23%, rgba(8, 8, 9, 0.22) 52%, rgba(8, 8, 9, 0.62) 100%);
  pointer-events: none;
}

.portrait-window img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 72% 42%;
  filter: grayscale(1) contrast(1.08) brightness(0.52);
  opacity: 0.82;
  transform: scale(1.02);
  animation: portrait-settle 1.4s cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.opening-portrait figcaption {
  position: absolute;
  right: clamp(22px, 4vw, 62px);
  bottom: 26px;
  display: grid;
  gap: 2px;
  margin: 0;
  color: var(--quiet);
  font-size: 13px;
  text-align: right;
}

.enter-link {
  position: absolute;
  bottom: 27px;
  left: clamp(22px, 6vw, 94px);
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 14px;
}

.enter-link i {
  position: relative;
  width: 64px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.enter-link i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--copper);
  animation: travel 2.2s ease-in-out infinite;
}

.dossier {
  position: relative;
  display: grid;
  grid-template-columns: minmax(380px, 0.76fr) minmax(0, 1.24fr);
  background: #0b0b0c;
  border-top: 1px solid var(--line);
}

.narrative {
  position: relative;
  z-index: 2;
  border-right: 1px solid var(--line);
}

.chapter {
  min-height: 78svh;
  display: flex;
  align-items: center;
  padding: clamp(58px, 7vw, 104px) clamp(28px, 5vw, 76px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 68px;
}

.chapter-experience,
.chapter-career,
.chapter-academic,
.chapter-foundations {
  align-items: flex-start;
}

.chapter-experience {
  min-height: 265svh;
}

.chapter-career {
  min-height: 195svh;
}

.chapter-academic {
  min-height: 165svh;
}

.chapter-foundations {
  min-height: 255svh;
}

.chapter-experience .chapter-copy,
.chapter-career .chapter-copy,
.chapter-academic .chapter-copy,
.chapter-foundations .chapter-copy {
  position: sticky;
  top: 112px;
}

.chapter-copy {
  width: min(100%, 620px);
  margin-inline: auto;
}

.chapter h2,
.contact h2 {
  margin: 17px 0 0;
  font-family: var(--display);
  font-size: clamp(48px, 4.6vw, 69px);
  font-weight: 590;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.chapter-lead {
  margin: 27px 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(21px, 1.8vw, 27px);
  font-weight: 480;
  line-height: 1.42;
}

.chapter-body {
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.lexicon {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.lexicon button {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.lexicon button:hover {
  border-color: rgba(189, 121, 83, 0.55);
  background: rgba(141, 52, 75, 0.12);
  color: var(--ink);
}

.chapter-lead blockquote,
.chapter blockquote {
  margin: 28px 0 0;
  padding-left: 20px;
  border-left: 2px solid var(--wine);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 480;
  line-height: 1.45;
}

.lead-lines {
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.lead-lines li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 4px 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.lead-lines span {
  color: var(--copper);
  font-size: 13px;
}

.lead-lines strong {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 620;
}

.lead-lines small {
  grid-column: 2;
  color: var(--quiet);
  font-size: 14px;
}

.case-title {
  margin: 28px 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(24px, 2.1vw, 31px);
  font-weight: 560;
  line-height: 1.3;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 30px;
  border-block: 1px solid var(--line);
}

.case-metrics p {
  margin: 0;
  padding: 14px 10px;
  border-right: 1px solid var(--line);
}

.case-metrics p:first-child {
  padding-left: 0;
}

.case-metrics p:last-child {
  border-right: 0;
}

.case-metrics strong,
.case-metrics span {
  display: block;
}

.case-metrics strong {
  font-family: var(--display);
  font-size: 25px;
  font-weight: 570;
}

.case-metrics span {
  color: var(--quiet);
  font-size: 13px;
}

.case-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 17px;
  margin-top: 24px;
  color: var(--muted);
}

.case-terms span {
  font-size: 14px;
}

.case-terms span::before {
  content: "—";
  margin-right: 7px;
  color: var(--copper);
}

.project-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.project-switcher button {
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}

.project-switcher button[aria-selected="true"] {
  border-color: var(--copper);
  background: rgba(141, 52, 75, 0.14);
}

.project-copy {
  display: none;
}

.project-copy.is-active {
  display: block;
  animation: copy-in 450ms ease both;
}

.project-credit {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 14px;
}

.mobile-experience-carousel {
  display: none;
}

.mobile-execute-flowchart {
  display: none;
}

.origin-thread {
  color: rgba(240, 236, 227, 0.84);
  font-size: 18px !important;
}

.career-record {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.career-record button {
  width: 100%;
  display: grid;
  gap: 4px;
  min-height: 62px;
  padding: 11px 12px 11px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}

.career-record button.is-active {
  padding-left: 13px;
  border-left: 2px solid var(--copper);
  color: var(--ink);
}

.career-record span {
  color: var(--copper);
  font-size: 13px;
}

.career-record strong {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 610;
}

.career-detail {
  display: none;
  margin-top: 25px;
}

.career-detail.is-active {
  display: block;
  animation: copy-in 400ms ease both;
}

.career-detail p {
  margin: 0;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 480;
  line-height: 1.42;
}

.career-detail ul {
  display: grid;
  gap: 5px;
  margin: 16px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.career-detail li::before {
  content: "—";
  margin-right: 7px;
  color: var(--copper);
}

.academic-record {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.academic-record article {
  position: relative;
  display: grid;
  gap: 5px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.38;
  transition: opacity 350ms ease, padding-left 450ms ease, border-color 350ms ease;
}

.academic-record article.is-active {
  padding-left: 14px;
  border-left: 2px solid var(--copper);
  opacity: 1;
}

.academic-record p {
  margin: 0 0 5px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.academic-record strong {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 560;
  line-height: 1.35;
}

.academic-inline-mark {
  display: none;
}

.origin-lines {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.origin-lines button {
  width: 100%;
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 18px;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  cursor: default;
  text-align: left;
  opacity: 0.42;
  transition: opacity 350ms ease, padding-left 350ms ease, border-color 350ms ease;
}

.origin-lines button.is-active {
  padding-left: 12px;
  border-left: 2px solid var(--copper);
  opacity: 1;
}

.origin-lines span {
  color: var(--quiet);
  font-size: 14px;
}

.origin-lines strong {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 620;
}

.mobile-origin-viewer {
  display: none;
}

.stage {
  position: relative;
}

.stage-frame {
  position: sticky;
  top: 68px;
  height: calc(100svh - 68px);
  overflow: hidden;
  background:
    radial-gradient(circle at var(--pointer-x, 70%) var(--pointer-y, 40%), rgba(141, 52, 75, 0.16), transparent 28%),
    #0e0e0f;
}

.stage-grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
}

.stage-glow {
  position: absolute;
  right: -15%;
  bottom: -30%;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgba(189, 121, 83, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(141, 52, 75, 0.025),
    0 0 0 160px rgba(141, 52, 75, 0.015);
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.scene {
  position: absolute;
  inset: 0;
  padding: clamp(36px, 5vw, 74px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 600ms ease,
    transform 800ms cubic-bezier(0.2, 0.75, 0.2, 1),
    visibility 0s 800ms;
}

.scene.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}

.scene-label {
  position: relative;
  z-index: 5;
  margin: 0;
  color: var(--copper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateX(calc(var(--scene-progress, 0.5) * 8px));
  transition: transform 120ms linear;
}

.scene-caption {
  position: absolute;
  right: clamp(36px, 5vw, 74px);
  bottom: 34px;
  left: clamp(36px, 5vw, 74px);
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 450;
}

.thinking-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(62vw, 650px);
  max-width: 74%;
  aspect-ratio: 1;
  transform:
    translate(-50%, -52%)
    rotate(calc((var(--scene-progress, 0.5) - 0.5) * 8deg))
    scale(calc(0.985 + (var(--scene-progress, 0.5) * 0.03)));
  transition: transform 120ms linear;
}

.thinking-orbit .orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(240, 236, 227, 0.24);
  border-radius: 50%;
  animation: orbit-turn 20s linear infinite;
}

.thinking-orbit .orbit::after {
  content: "";
  position: absolute;
  top: 12%;
  left: 11%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 26px rgba(189, 121, 83, 0.7);
}

.thinking-orbit .orbit-two {
  inset: 17%;
  animation-direction: reverse;
  animation-duration: 15s;
}

.thinking-orbit .orbit-two::after {
  top: auto;
  right: 0;
  bottom: 28%;
  left: auto;
  background: var(--wine);
}

.thinking-orbit .orbit-three {
  inset: 34%;
  animation-duration: 10s;
}

.thinking-orbit strong {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-size: clamp(27px, 3vw, 46px);
  font-weight: 560;
  letter-spacing: 0.09em;
}

.thinking-orbit i {
  position: absolute;
  color: var(--muted);
  font-family: var(--display);
  font-size: 18px;
  font-style: normal;
  font-weight: 450;
  padding: 4px 7px;
  border: 1px solid rgba(240, 236, 227, 0.12);
  background: rgba(14, 14, 15, 0.68);
  backdrop-filter: blur(6px);
}

.thinking-orbit i:nth-of-type(1) { top: 8%; left: 48%; }
.thinking-orbit i:nth-of-type(2) { top: 47%; right: -3%; }
.thinking-orbit i:nth-of-type(3) { bottom: 5%; left: 44%; }
.thinking-orbit i:nth-of-type(4) { top: 48%; left: -4%; }

.lead-map {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70%, 620px);
  aspect-ratio: 1;
  transform:
    translate(-50%, -52%)
    scale(calc(0.985 + (var(--scene-progress, 0.5) * 0.025)));
  transition: transform 120ms linear;
}

.lead-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lead-map path {
  fill: none;
  stroke: rgba(240, 236, 227, 0.22);
  stroke-width: 1;
  stroke-dasharray: 7 8;
  animation: dash 16s linear infinite;
}

.lead-map > span {
  position: absolute;
  min-width: 110px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  background: rgba(16, 16, 17, 0.82);
  text-align: center;
  font-size: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.lead-map .lead-core {
  z-index: 2;
  top: 50%;
  left: 50%;
  min-width: 150px;
  padding: 26px 14px;
  border-color: var(--copper);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 560;
}

.lead-map > span:nth-of-type(2) { top: 6%; left: 5%; }
.lead-map > span:nth-of-type(3) { top: 4%; right: 2%; }
.lead-map > span:nth-of-type(4) { top: 47%; right: -8%; }
.lead-map > span:nth-of-type(5) { right: 6%; bottom: 4%; }
.lead-map > span:nth-of-type(6) { bottom: 4%; left: 5%; }
.lead-map > span:nth-of-type(7) { top: 46%; left: -9%; }

.stage-image {
  position: absolute;
  top: 43%;
  left: 50%;
  width: min(82%, 940px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #070708;
  cursor: zoom-in;
  transform: translate(-50%, -50%);
}

.stage-image img {
  width: 100%;
  display: block;
}

.stage-image > span,
.experience-visual > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 9, 0.9);
  font-size: 14px;
}

.evidence-strip {
  position: absolute;
  right: 6%;
  bottom: 1.2%;
  left: 6%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.evidence-strip figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}

.evidence-strip img {
  width: 100%;
  height: clamp(170px, 18vh, 208px);
  display: block;
  object-fit: cover;
  filter: grayscale(0.38) saturate(0.72) brightness(0.76) contrast(1.03);
}

.evidence-strip figure:nth-child(1) img {
  object-position: center 52%;
}

.evidence-strip figure:nth-child(2) img {
  object-position: center 42%;
}

.evidence-strip figure:nth-child(3) img {
  object-position: center 38%;
}

.evidence-strip figcaption {
  position: absolute;
  right: 6px;
  bottom: 4px;
  padding: 2px 5px;
  background: rgba(8, 8, 9, 0.82);
  font-size: 14px;
}

.experience-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(82%, 900px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: transparent;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -49%) scale(0.96) rotate(-1deg);
  transition: opacity 500ms ease, transform 700ms ease, visibility 0s 700ms;
}

button.experience-visual {
  cursor: zoom-in;
}

.experience-visual.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -52%) scale(1) rotate(0);
  transition-delay: 0s;
}

.experience-visual img {
  width: 100%;
  max-height: 67vh;
  display: block;
  object-fit: cover;
  filter: saturate(0.7) brightness(0.72) contrast(1.04);
}

.experience-visual figcaption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 5px 8px;
  background: rgba(8, 8, 9, 0.84);
  font-size: 14px;
}

.broadcast-visual {
  min-height: min(62vh, 620px);
  border-color: rgba(189, 121, 83, 0.28);
  background: #0b0b0c;
}

.hybrid-media-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hybrid-media-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 9, 0.06), transparent 48%, rgba(8, 8, 9, 0.58)),
    linear-gradient(90deg, rgba(8, 8, 9, 0.18), transparent 32%);
  pointer-events: none;
}

.hybrid-media-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none !important;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  filter: saturate(0.68) brightness(0.68) contrast(1.05);
  transition: opacity 650ms ease, transform 1100ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.hybrid-media-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hybrid-media-slide[data-hybrid-slide="capture"] {
  object-position: center 48%;
}

.hybrid-media-slide[data-hybrid-slide="control"] {
  object-position: center 44%;
}

.hybrid-media-index {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 7px;
}

.hybrid-media-index span {
  min-width: 31px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 9, 0.58);
  color: var(--quiet);
  font-size: 11px;
  text-align: center;
  transition: border-color 350ms ease, color 350ms ease, background 350ms ease;
}

.hybrid-media-index span.is-active {
  border-color: rgba(189, 121, 83, 0.72);
  background: rgba(141, 52, 75, 0.2);
  color: var(--ink);
}

.career-map {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(72%, 680px);
  transform: translate(-50%, -52%);
}

.career-axis {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 38px;
  width: 1px;
  background: linear-gradient(var(--copper), var(--wine), var(--line));
}

.career-map article {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 3px 20px;
  padding: 23px 0;
  opacity: 0.34;
  transform: translateX(0);
  transition: opacity 350ms ease, transform 500ms ease;
}

.career-map article.is-active {
  opacity: 1;
  transform: translateX(18px);
}

.career-map i {
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--copper);
  font-family: var(--display);
  font-size: 25px;
  font-style: normal;
}

.career-map i::after {
  content: "";
  position: absolute;
  left: 32px;
  width: 13px;
  height: 13px;
  border: 2px solid var(--copper);
  border-radius: 50%;
  background: var(--panel);
}

.career-map strong {
  font-family: var(--display);
  font-size: clamp(26px, 2.7vw, 40px);
  font-weight: 580;
  letter-spacing: -0.025em;
}

.career-map small {
  color: var(--muted);
  font-size: 14px;
}

.academic-stage {
  position: absolute;
  inset: 0;
}

.academic-stage figure {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(62%, 610px);
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate(-47%, -47%) scale(0.96);
  transition:
    opacity 500ms ease,
    transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1),
    visibility 0s 700ms;
}

.academic-stage figure.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0s;
}

.academic-stage figure::before {
  content: "";
  position: absolute;
  inset: -44px;
  z-index: -1;
  border: 1px solid rgba(189, 121, 83, 0.11);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(141, 52, 75, 0.08);
}

.academic-stage img {
  width: 100%;
  max-height: 38vh;
  display: block;
  object-fit: contain;
  opacity: 0.58;
  filter: grayscale(1) contrast(0.92);
}

.academic-stage figcaption {
  display: grid;
  gap: 4px;
  margin-top: 25px;
  text-align: center;
}

.academic-stage figcaption strong {
  color: rgba(240, 236, 227, 0.82);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 560;
}

.academic-stage figcaption span {
  color: rgba(170, 165, 156, 0.72);
  font-size: 13px;
}

.academic-stamp {
  position: absolute;
  right: 9%;
  bottom: 11%;
  min-width: 178px;
  padding: 14px 20px 13px;
  border: 2px solid rgba(141, 52, 75, 0.66);
  border-radius: 50%;
  color: rgba(189, 121, 83, 0.82);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: 0.035em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transform: rotate(7deg) scale(0.9);
  transition:
    opacity 420ms ease,
    transform 620ms cubic-bezier(0.2, 0.75, 0.2, 1),
    visibility 0s 620ms;
}

.academic-stamp::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(141, 52, 75, 0.25);
  border-radius: inherit;
}

.academic-stamp span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.academic-stamp.is-active {
  opacity: 1;
  visibility: visible;
  transform: rotate(7deg) scale(1);
  transition-delay: 0s;
}

.academic-stamp[data-academic-stamp="shandiz"] {
  right: 11%;
  transform: rotate(-6deg) scale(0.9);
}

.academic-stamp[data-academic-stamp="shandiz"].is-active {
  transform: rotate(-6deg) scale(1);
}

.archive-plane {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(68%, 620px);
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translate(-48%, -48%) rotate(-4deg) scale(0.96);
  transition:
    opacity 500ms ease,
    transform 750ms cubic-bezier(0.2, 0.75, 0.2, 1),
    visibility 0s 750ms;
}

.archive-plane.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) rotate(-2deg) scale(1);
  transition-delay: 0s;
}

.archive-plane::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(189, 121, 83, 0.35);
}

.archive-plane img {
  width: 100%;
  max-height: 65vh;
  display: block;
  object-fit: cover;
  object-position: top;
  filter: grayscale(1) sepia(0.1) contrast(0.95) brightness(0.72);
}

.archive-plane figcaption {
  display: grid;
  gap: 2px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 14px;
}

.archive-plane figcaption strong {
  color: var(--ink);
  font-size: 16px;
}

.archive-mark {
  width: min(38%, 370px);
  text-align: center;
  transform: translate(-50%, -46%) rotate(0) scale(0.92);
}

.archive-mark.is-active {
  transform: translate(-50%, -50%) rotate(0) scale(1);
}

.archive-mark::before {
  inset: -42px;
  border-color: rgba(189, 121, 83, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 80px rgba(141, 52, 75, 0.08),
    inset 0 0 70px rgba(8, 8, 9, 0.3);
}

.archive-mark img {
  height: min(31vh, 290px);
  object-fit: contain;
  object-position: center;
  opacity: 0.42;
  filter: grayscale(0.72) sepia(0.18) saturate(0.62) brightness(0.88) contrast(0.92);
}

.archive-mark-kharazmi img {
  height: min(26vh, 245px);
  opacity: 0.34;
}

.archive-mark figcaption {
  margin-top: 24px;
  text-align: center;
}

.archive-mark figcaption strong {
  color: rgba(240, 236, 227, 0.78);
}

.archive-mark figcaption span {
  color: rgba(170, 165, 156, 0.68);
}

.archive-stamp {
  position: absolute;
  right: 8%;
  bottom: 10%;
  padding: 18px;
  border: 2px solid rgba(141, 52, 75, 0.6);
  border-radius: 50%;
  color: rgba(189, 121, 83, 0.8);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 620;
  line-height: 1;
  text-align: center;
  transform: rotate(10deg);
}

.archive-stamp span {
  font-size: 14px;
}

.contact {
  position: relative;
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px clamp(22px, 6vw, 94px) 30px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 30%, rgba(141, 52, 75, 0.15), transparent 30%),
    var(--black);
  scroll-margin-top: 68px;
}

.contact h2 {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  max-width: 1080px;
  font-size: clamp(48px, 5.3vw, 79px);
  line-height: 1;
}

.contact-links {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  margin: 50px 0 0 auto;
  border-top: 1px solid var(--line);
}

.contact-links a,
.contact-links > p {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  min-height: 54px;
  align-items: center;
  margin: 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.contact-links span {
  color: var(--quiet);
}

.contact-links strong {
  overflow-wrap: anywhere;
}

.contact footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 14px;
}

.contact-field span {
  position: absolute;
  border: 1px solid rgba(189, 121, 83, 0.14);
  border-radius: 50%;
  animation: breathe 9s ease-in-out infinite;
}

.contact-field span:nth-child(1) {
  width: 520px;
  height: 520px;
  top: -15%;
  right: -6%;
}

.contact-field span:nth-child(2) {
  width: 340px;
  height: 340px;
  top: 6%;
  right: 1%;
  animation-delay: -3s;
}

.contact-field span:nth-child(3) {
  width: 170px;
  height: 170px;
  top: 22%;
  right: 7%;
  animation-delay: -6s;
}

.term-popover,
.lightbox {
  border: 0;
  color: var(--ink);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
}

.term-popover {
  position: fixed;
  z-index: 240;
  width: min(330px, calc(100vw - 28px));
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(141, 52, 75, 0.15), transparent 50%),
    #111012;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transform-origin: center bottom;
  animation: bubble-in 180ms ease both;
}

.term-popover > p {
  margin: 0;
  color: var(--copper);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.term-popover h2 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 590;
  letter-spacing: -0.025em;
}

.term-definition {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-width: 60px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 62px 24px 24px;
  background: rgba(5, 5, 6, 0.97);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox-viewport {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 92px);
  object-fit: contain;
  transform: translate3d(var(--pan-x, 0), var(--pan-y, 0), 0) scale(var(--zoom, 1));
  transform-origin: center;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes title-in {
  to { opacity: 1; transform: none; }
}

@keyframes portrait-settle {
  from { opacity: 0; transform: scale(1.1) translateX(24px); filter: grayscale(1) blur(7px) brightness(0.38); }
  to { opacity: 0.82; transform: scale(1.02); filter: grayscale(1) blur(0) contrast(1.08) brightness(0.52); }
}

@keyframes breathe {
  0%, 100% { transform: scale(0.97); opacity: 0.45; }
  50% { transform: scale(1.03); opacity: 0.9; }
}

@keyframes travel {
  0% { transform: translateX(-110%); }
  60%, 100% { transform: translateX(110%); }
}

@keyframes orbit-turn {
  to { transform: rotate(360deg); }
}

@keyframes dash {
  to { stroke-dashoffset: -150; }
}

@keyframes copy-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(7px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 821px) and (max-height: 720px) {
  body {
    font-size: 15px;
  }

  .hud {
    height: 58px;
    padding-inline: clamp(18px, 3vw, 44px);
  }

  .hud-brand {
    gap: 8px;
    font-size: 15px;
  }

  .hud-brand img {
    width: 30px;
    height: 30px;
  }

  .hud-status {
    gap: 9px;
    font-size: 11px;
  }

  .hud-index {
    font-size: 16px;
  }

  .hud nav {
    gap: 15px;
    font-size: 11px;
  }

  .hud nav a {
    min-height: 38px;
  }

  .opening {
    padding-top: 82px;
    padding-bottom: 36px;
  }

  .opening-name {
    font-size: clamp(25px, 2.4vw, 35px);
  }

  .opening h1 {
    max-width: 700px;
    margin-top: 16px;
    font-size: clamp(43px, 4.3vw, 62px);
  }

  .opening-deck {
    max-width: 590px;
    margin-top: 18px;
    font-size: clamp(15px, 1.35vw, 18px);
  }

  .opening-identity {
    max-width: 590px;
    font-size: clamp(14px, 1.1vw, 16px);
  }

  .opening-portrait {
    top: 58px;
  }

  .enter-link {
    bottom: 16px;
    font-size: 12px;
  }

  .chapter {
    min-height: max(88svh, 620px);
    padding: 42px clamp(28px, 4vw, 58px);
    scroll-margin-top: 58px;
  }

  .chapter-experience {
    min-height: 285svh;
  }

  .chapter-career {
    min-height: 215svh;
  }

  .chapter-academic {
    min-height: 185svh;
  }

  .chapter-foundations {
    min-height: 275svh;
  }

  .chapter-experience .chapter-copy,
  .chapter-career .chapter-copy,
  .chapter-academic .chapter-copy,
  .chapter-foundations .chapter-copy {
    top: 78px;
  }

  .chapter h2 {
    margin-top: 11px;
    font-size: clamp(38px, 3.6vw, 50px);
  }

  .chapter-mark,
  .scene-label {
    font-size: 11px;
  }

  .chapter-lead {
    margin-top: 18px;
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.36;
  }

  .chapter-body {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.48;
  }

  .lexicon {
    gap: 6px;
    margin-top: 18px;
  }

  .lexicon button {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .chapter-lead blockquote,
  .chapter blockquote {
    margin-top: 18px;
    font-size: 16px;
  }

  .lead-lines {
    margin-top: 18px;
  }

  .lead-lines li {
    padding: 8px 0;
  }

  .lead-lines strong {
    font-size: 15px;
  }

  .lead-lines small {
    font-size: 11px;
  }

  .case-title {
    margin-top: 18px;
    font-size: clamp(19px, 1.7vw, 23px);
  }

  .case-metrics {
    margin-top: 18px;
  }

  .case-metrics p {
    padding-block: 9px;
  }

  .case-metrics strong {
    font-size: 20px;
  }

  .case-metrics span,
  .case-terms span {
    font-size: 11px;
  }

  .case-terms {
    gap: 4px 12px;
    margin-top: 14px;
  }

  .project-switcher {
    gap: 7px;
    margin-top: 18px;
  }

  .project-switcher button {
    min-height: 36px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .project-credit {
    margin-top: 14px;
    padding-top: 12px;
    font-size: 11px;
  }

  .career-record,
  .academic-record,
  .origin-lines {
    margin-top: 18px;
  }

  .career-record button {
    min-height: 48px;
    padding-block: 7px;
  }

  .career-record span,
  .academic-record p,
  .origin-lines span {
    font-size: 10px;
  }

  .career-record strong,
  .academic-record strong,
  .origin-lines strong {
    font-size: 14px;
  }

  .career-detail {
    margin-top: 14px;
  }

  .career-detail p {
    font-size: 16px;
  }

  .career-detail ul {
    margin-top: 10px;
    font-size: 11px;
  }

  .academic-record article {
    padding-block: 12px;
  }

  .origin-lines button {
    padding-block: 8px;
  }

  .stage-frame {
    top: 58px;
    height: calc(100svh - 58px);
  }

  .scene {
    padding: 28px clamp(30px, 4vw, 54px);
    transform: translateY(10px) scale(0.995);
    transition:
      opacity 320ms ease,
      transform 420ms cubic-bezier(0.2, 0.75, 0.2, 1),
      visibility 0s 420ms;
  }

  .scene-caption {
    right: clamp(30px, 4vw, 54px);
    bottom: 18px;
    left: clamp(30px, 4vw, 54px);
    padding-top: 8px;
    font-size: 14px;
  }

  .thinking-orbit {
    width: min(58vw, 520px, 70vh);
    max-width: 72%;
  }

  .thinking-orbit strong {
    font-size: clamp(23px, 2.5vw, 34px);
  }

  .thinking-orbit i {
    font-size: 13px;
  }

  .lead-map {
    width: min(66%, 500px, 72vh);
  }

  .lead-map > span {
    min-width: 88px;
    padding: 6px 8px;
    font-size: 11px;
  }

  .lead-map .lead-core {
    min-width: 122px;
    padding: 20px 10px;
    font-size: 16px;
  }

  .stage-image {
    top: 39%;
    width: min(68%, 720px);
  }

  .stage-image > span,
  .experience-visual > span {
    min-height: 34px;
    padding: 5px 8px;
    font-size: 11px;
  }

  .evidence-strip {
    right: 7%;
    bottom: 2%;
    left: 7%;
    gap: 7px;
  }

  .evidence-strip img {
    height: clamp(82px, 15vh, 108px);
  }

  .evidence-strip figcaption,
  .experience-visual figcaption {
    font-size: 11px;
  }

  .experience-visual {
    width: min(72%, 720px);
  }

  .experience-visual img {
    max-height: 61vh;
    object-fit: contain;
  }

  .broadcast-visual {
    min-height: min(58vh, 430px);
  }

  .career-map {
    width: min(68%, 550px, 76vh);
  }

  .career-map article {
    grid-template-columns: 58px 1fr;
    gap: 2px 14px;
    padding: 13px 0;
  }

  .career-map i {
    font-size: 19px;
  }

  .career-map strong {
    font-size: clamp(20px, 2.1vw, 29px);
  }

  .career-map small {
    font-size: 11px;
  }

  .academic-stage figure {
    width: min(54%, 470px, 72vh);
  }

  .academic-stage figcaption {
    margin-top: 15px;
  }

  .academic-stage figcaption strong {
    font-size: 14px;
  }

  .academic-stage figcaption span {
    font-size: 11px;
  }

  .academic-stamp {
    right: 7%;
    bottom: 10%;
    min-width: 138px;
    padding: 10px 15px 9px;
    font-size: 14px;
  }

  .academic-stamp span {
    font-size: 9px;
  }

  .academic-stamp[data-academic-stamp="shandiz"] {
    right: 8%;
  }

  .archive-plane {
    width: min(56%, 480px, 70vh);
  }

  .archive-plane img {
    max-height: 54vh;
  }

  .archive-plane figcaption {
    font-size: 11px;
  }

  .archive-plane figcaption strong {
    font-size: 13px;
  }

  .archive-mark {
    width: min(30%, 280px, 48vh);
  }

  .archive-mark img {
    height: min(25vh, 190px);
  }

  .archive-stamp {
    right: 6%;
    bottom: 8%;
    padding: 12px;
    font-size: 14px;
  }

  .contact {
    min-height: max(100svh, 620px);
    padding-top: 76px;
    scroll-margin-top: 58px;
  }

  .contact h2 {
    font-size: clamp(40px, 4.2vw, 58px);
  }

  .contact-links {
    margin-top: 28px;
  }

  .contact-links a,
  .contact-links > p {
    min-height: 44px;
    font-size: 12px;
  }

  .contact footer {
    margin-top: 30px;
    font-size: 11px;
  }
}

@media (max-width: 1080px) {
  .hud {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    display: block;
  }

  .hud nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 8px 22px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 8, 9, 0.98);
  }

  .hud nav.is-open {
    display: grid;
  }

  .hud nav a {
    border-bottom: 1px solid var(--line);
  }

  .dossier {
    grid-template-columns: minmax(350px, 0.88fr) minmax(0, 1.12fr);
  }

  .scene {
    padding: 34px;
  }
}

@media (max-width: 820px) {
  .hud-status {
    display: none;
  }

  .hud {
    grid-template-columns: 1fr auto;
  }

  .hud-brand {
    font-size: 15px;
  }

  .opening-name {
    font-size: clamp(29px, 8.5vw, 40px);
  }

  .opening {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 112px 16px 72px;
  }

  .opening-copy {
    z-index: 3;
    width: 68%;
    padding-right: 0;
  }

  .opening h1 {
    max-width: 100%;
    font-size: clamp(38px, 10.3vw, 48px);
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .opening-portrait {
    position: absolute;
    z-index: 1;
    inset: 68px -62% 0 56%;
    width: auto;
    margin: 0;
    pointer-events: none;
  }

  .portrait-window {
    width: 100%;
    height: 100%;
  }

  .portrait-window::after {
    background:
      linear-gradient(90deg, var(--black) 0%, rgba(8, 8, 9, 0.96) 22%, rgba(8, 8, 9, 0.72) 43%, rgba(8, 8, 9, 0.18) 72%, rgba(8, 8, 9, 0.06) 100%),
      linear-gradient(180deg, rgba(8, 8, 9, 0.18), transparent 25%, transparent 66%, var(--black) 100%);
  }

  .portrait-window img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% center;
    filter: grayscale(1) contrast(1.08) brightness(0.62);
    opacity: 0.78;
  }

  .opening-portrait figcaption {
    right: 16px;
    bottom: 22px;
    display: grid;
    gap: 3px;
    text-align: right;
  }

  .enter-link {
    display: none;
  }

  .dossier {
    display: block;
  }

  .narrative {
    border-right: 0;
  }

  .chapter {
    min-height: auto;
    display: block;
    padding: 58px 16px 42px;
  }

  .chapter-experience,
  .chapter-career,
  .chapter-academic,
  .chapter-foundations {
    min-height: auto;
  }

  .chapter-copy {
    margin: 0;
  }

  .chapter-experience .chapter-copy,
  .chapter-career .chapter-copy,
  .chapter-academic .chapter-copy,
  .chapter-foundations .chapter-copy {
    position: static;
  }

  .chapter h2,
  .contact h2 {
    font-size: clamp(42px, 10.8vw, 55px);
    line-height: 1;
  }

  .chapter-lead {
    font-size: 24px;
  }

  .case-metrics {
    grid-template-columns: 1fr;
  }

  .case-metrics p,
  .case-metrics p:first-child {
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stage {
    position: static;
  }

  .stage-frame {
    position: relative;
    top: auto;
    height: auto;
    min-height: 540px;
  }

  .scene {
    position: relative;
    inset: auto;
    min-height: 540px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .scene.is-active {
    display: block;
  }

  .stage {
    display: none;
  }

  .chapter::after {
    content: "";
    display: block;
    height: 1px;
    margin-top: 38px;
    background: var(--line);
  }

  .chapter-execute {
    background:
      linear-gradient(180deg, transparent, rgba(141, 52, 75, 0.08)),
      var(--black);
  }

  .chapter-execute::after {
    height: min(66vw, 320px);
    margin-top: 34px;
    border: 1px solid var(--line);
    background:
      linear-gradient(rgba(8, 8, 9, 0.08), rgba(8, 8, 9, 0.3)),
      url("../assets/case-study/automated-lecture-recording-workflow-overview.webp") center / cover no-repeat;
  }

  .chapter-experience::after {
    display: none;
  }

  .chapter-foundations::after {
    display: none;
  }

  .chapter-academic::after {
    display: none;
  }

  .academic-record article {
    min-height: 132px;
    padding: 18px 92px 18px 0;
    opacity: 1;
  }

  .academic-record article.is-active {
    padding-left: 0;
    border-left: 0;
  }

  .academic-inline-mark {
    position: absolute;
    top: 50%;
    right: 0;
    width: 76px;
    height: 76px;
    display: block;
    object-fit: contain;
    opacity: 0.36;
    transform: translateY(-50%);
    filter: grayscale(1);
  }

  .mobile-experience-carousel {
    display: flex;
    gap: 12px;
    margin: 30px -16px 0;
    padding: 0 16px 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--copper) rgba(240, 236, 227, 0.08);
  }

  .mobile-experience-carousel figure {
    position: relative;
    flex: 0 0 min(86vw, 430px);
    min-height: min(72vw, 360px);
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #0e0e0f;
    scroll-snap-align: center;
  }

  .mobile-experience-carousel img {
    width: 100%;
    height: min(72vw, 360px);
    display: block;
    object-fit: cover;
    filter: saturate(0.7) brightness(0.72) contrast(1.04);
  }

  .mobile-experience-carousel .mobile-flowchart {
    width: 100%;
    height: min(72vw, 360px);
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    pointer-events: none;
  }

  .mobile-experience-carousel figure:nth-child(1) img {
    object-position: center;
  }

  .mobile-experience-carousel figure:nth-child(2) img {
    object-position: center;
  }

  .mobile-experience-carousel figure:nth-child(3) img {
    object-position: center 48%;
  }

  .mobile-experience-carousel figure:nth-child(4) img {
    object-position: center 44%;
  }

  .mobile-experience-carousel figcaption {
    position: absolute;
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 7px 9px;
    background: rgba(8, 8, 9, 0.78);
    color: var(--muted);
    font-size: 12px;
  }

  .mobile-experience-carousel figure.is-current {
    border-color: rgba(189, 121, 83, 0.56);
  }

  .origin-lines button {
    grid-template-columns: 1fr;
    gap: 3px;
    min-height: 62px;
    cursor: pointer;
  }

  .mobile-origin-viewer {
    position: relative;
    display: grid;
    min-height: min(112vw, 490px);
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid var(--line);
    background:
      radial-gradient(circle at 70% 20%, rgba(141, 52, 75, 0.14), transparent 40%),
      #0e0e0f;
  }

  .mobile-origin-viewer figure {
    grid-area: 1 / 1;
    align-self: center;
    margin: 0;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transition: opacity 420ms ease, transform 520ms ease, visibility 0s 520ms;
  }

  .mobile-origin-viewer figure.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .mobile-origin-viewer img {
    width: 100%;
    max-height: 390px;
    display: block;
    object-fit: contain;
    filter: grayscale(1) sepia(0.1) contrast(0.94) brightness(0.72);
  }

  .mobile-origin-viewer .mobile-origin-mark img {
    max-height: 245px;
    opacity: 0.5;
    filter: grayscale(0.68) sepia(0.15) saturate(0.62) brightness(0.88);
  }

  .mobile-origin-viewer figcaption {
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
  }

  .contact {
    min-height: auto;
    padding: 70px 16px 28px;
  }

  .contact-links a,
  .contact-links > p {
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 12px 0;
  }

  .contact footer {
    display: grid;
    gap: 4px;
  }
}

@media (max-width: 600px) {
  .opening-portrait {
    inset: 68px -50% 0 44%;
  }

  .portrait-window::after {
    background:
      linear-gradient(90deg, var(--black) 0%, rgba(8, 8, 9, 0.9) 20%, rgba(8, 8, 9, 0.58) 40%, rgba(8, 8, 9, 0.12) 68%, rgba(8, 8, 9, 0.03) 100%),
      linear-gradient(180deg, rgba(8, 8, 9, 0.14), transparent 24%, transparent 68%, var(--black) 100%);
  }

  .opening-portrait figcaption {
    right: calc(50vw + 16px);
    max-width: calc(100vw - 32px);
  }

  .chapter-execute::after {
    display: none;
  }

  .mobile-flowchart {
    position: relative;
    display: block;
    cursor: zoom-in;
    pointer-events: auto;
  }

  .mobile-experience-carousel .mobile-flowchart {
    pointer-events: auto;
  }

  .mobile-execute-flowchart {
    width: 100%;
    margin: 34px 0 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #070708;
  }

  .mobile-execute-flowchart img {
    width: 100%;
    display: block;
    filter: brightness(0.88);
  }

  .mobile-execute-flowchart span {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 6px 9px;
    background: rgba(8, 8, 9, 0.82);
    color: var(--muted);
    font-size: 12px;
  }

  .lightbox {
    padding: 58px 0 0;
  }

  .lightbox-viewport {
    touch-action: none;
    cursor: grab;
  }

  .lightbox-viewport.is-dragging {
    cursor: grabbing;
  }

  .lightbox img {
    max-width: 100%;
    max-height: calc(100dvh - 58px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
