:root {
  color-scheme: light;
  --paper: #f4f4f1;
  --white: #ffffff;
  --ink: #111113;
  --muted: #66666b;
  --line: #d7d7d2;
  --red: #ee304b;
  --red-dark: #c71732;
  --blue: #1769ff;
  --green: #0e8358;
  --charcoal: #171719;
  --soft-blue: #eaf1ff;
  --soft-green: #e9f3ee;
  --header-height: 68px;
  --shell: 1180px;
  --radius: 6px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.dialog-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
strong {
  letter-spacing: 0;
}

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.section {
  padding-block: 118px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
  padding-inline: max(24px, calc((100vw - var(--shell)) / 2));
  border-bottom: 1px solid rgba(17, 17, 19, 0.1);
  background: rgba(244, 244, 241, 0.9);
  backdrop-filter: blur(18px) saturate(150%);
  transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(17, 17, 19, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 14px;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--red);
  content: "";
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 14px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #45454a;
  font-size: 12px;
  font-weight: 650;
}

.availability i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(14, 131, 88, 0.12);
}

.icon-control {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.icon-control:hover {
  background: #ecece8;
}

.icon-control.dark {
  border-color: #48484d;
  color: #fff;
}

.icon-control.dark:hover {
  background: #2b2b2f;
}

.menu-button {
  display: none;
  align-content: center;
  gap: 6px;
}

.menu-button span {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
}

.mobile-nav {
  position: absolute;
  top: var(--header-height);
  right: 0;
  left: 0;
  padding: 18px 24px 26px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 34px rgba(17, 17, 19, 0.08);
}

.mobile-nav a {
  display: block;
  padding-block: 11px;
  border-bottom: 1px solid #ededeb;
  font-weight: 700;
}

.hero {
  position: relative;
  display: flex;
  min-height: 720px;
  height: calc(100svh - 42px);
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 40px;
  padding-block: 54px 42px;
}

.eyebrow,
.section-index {
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow.blue {
  color: var(--blue);
}

.eyebrow.red {
  color: var(--red);
}

.eyebrow.green {
  color: var(--green);
}

.hero h1 {
  margin-bottom: 6px;
  font-size: 88px;
  line-height: 1;
  font-weight: 850;
}

.hero-role {
  margin-bottom: 26px;
  font-size: 38px;
  line-height: 1.1;
  font-weight: 780;
}

.hero-summary {
  max-width: 550px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions,
.control-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.button-dark:hover {
  background: #303034;
}

.button-light,
.button-outline {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button-light:hover,
.button-outline:hover {
  border-color: #aaa;
  background: #f9f9f7;
}

.button-white {
  background: #fff;
  color: var(--ink);
}

.button.compact {
  min-height: 42px;
  padding-inline: 14px;
}

.button.full {
  width: 100%;
}

.portrait-stage {
  position: relative;
  align-self: stretch;
  min-height: 610px;
  z-index: 1;
  isolation: isolate;
  overflow: visible;
}

.game-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.game-float {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 68px;
  height: 68px;
  transform: translate(-50%, -50%);
}

.game-icon-shell {
  display: block;
  width: 68px;
  height: 68px;
  opacity: 0;
  transform: rotate(var(--tilt)) scale(0.34);
}

body:not(.intro-playing) .game-icon-shell {
  animation: game-icon-reveal 680ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--delay) forwards;
}

body:not(.intro-playing) .game-float {
  animation: game-float-bob 5.8s ease-in-out calc(var(--delay) + 1.2s) infinite;
}

.game-icon-shell img {
  width: 68px;
  height: 68px;
  border: 1px solid rgba(17, 17, 19, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 26px rgba(17, 17, 19, 0.14), 0 0 0 5px rgba(255, 255, 255, 0.42);
  object-fit: cover;
}

.portrait-stage > img {
  position: absolute;
  right: 50%;
  bottom: -42px;
  z-index: 2;
  width: min(100%, 540px);
  height: calc(100% + 18px);
  transform: translateX(50%);
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(0.92) contrast(1.02);
}

.scroll-cue {
  position: absolute;
  right: 32px;
  bottom: 24px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

.results {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.results-layout {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: stretch;
}

.results-mark {
  display: grid;
  min-width: 0;
  min-height: 118px;
  place-items: center;
  padding: 8px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.results-mark img {
  width: 100%;
  max-width: 116px;
  height: auto;
  max-height: 96px;
  object-fit: contain;
  object-position: center;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.metric {
  min-width: 0;
  padding: 30px 18px;
  border-right: 1px solid var(--line);
}

.metric:first-child {
  border-left: 1px solid var(--line);
}

.results-layout .metric:first-child {
  border-left: 0;
}

.metric span,
.metric small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.metric strong {
  display: block;
  margin-block: 8px 4px;
  font-size: 28px;
  line-height: 1;
  white-space: nowrap;
}

.section-index {
  color: #77777c;
}

.statement-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 100px;
}

.statement h2,
.section-head h2,
.case-heading h2,
.research-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 820;
}

.statement-copy > p {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 18px;
}

.position-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.position-list span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.experience {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 64px;
}

.section-head > p {
  margin-bottom: 4px;
  color: var(--muted);
}

.heart-title-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.heart-title-tag {
  color: var(--red);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
}

.timeline {
  border-top: 1px solid var(--ink);
}

.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 56px;
  gap: 42px;
  padding-block: 48px;
  border-bottom: 1px solid var(--line);
}

.timeline-date {
  display: grid;
  align-content: start;
  gap: 8px;
}

.timeline-date time {
  font-size: 14px;
  font-weight: 800;
}

.timeline-date span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
}

.timeline-content h3 {
  margin-bottom: 6px;
  font-size: 26px;
}

.timeline-lead {
  margin-bottom: 22px;
  color: var(--muted);
}

.timeline-content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.2em;
  color: #404045;
}

.timeline-number {
  justify-self: end;
  color: #aaa;
  font-size: 12px;
  font-weight: 800;
}

.master-case {
  background: var(--soft-blue);
}

.case-heading {
  max-width: 900px;
}

.case-heading h2 {
  max-width: 840px;
  font-size: 62px;
}

.case-heading > p:last-child {
  max-width: 680px;
  margin-top: 26px;
  color: #555a67;
  font-size: 18px;
}

.case-tabs {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 48px;
  padding: 4px;
  border: 1px solid #bdc9de;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.case-tabs button {
  min-width: 124px;
  min-height: 42px;
  padding: 8px 16px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.case-tabs button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}

.case-panel {
  margin-top: 42px;
}

.case-panel[hidden] {
  display: none;
}

.case-narrative {
  display: grid;
  grid-template-columns: 90px 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
  padding-block: 32px;
  border-top: 1px solid #aebbd2;
  border-bottom: 1px solid #aebbd2;
}

.case-narrative > span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.case-narrative h3 {
  font-size: 24px;
  line-height: 1.35;
}

.case-narrative p {
  margin-bottom: 0;
  color: #555a67;
}

.case-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-steps article {
  padding: 40px 34px 10px 0;
  border-right: 1px solid #bec9dd;
}

.case-steps article + article {
  padding-left: 34px;
}

.case-steps article:last-child {
  border-right: 0;
}

.case-steps strong {
  color: var(--blue);
  font-size: 12px;
}

.case-steps h3 {
  margin-block: 18px 12px;
  font-size: 21px;
}

.case-steps p {
  color: #555a67;
}

.system-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  padding-top: 32px;
  color: #555a67;
}

.heart-section {
  background: var(--charcoal);
  color: #fff;
}

.section-head.light > p,
.section-head.light .section-index {
  color: #aaaab1;
}

.heart-tool {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  min-height: 650px;
  overflow: hidden;
  border: 1px solid #3c3c42;
  border-radius: var(--radius);
  background: #0f0f11;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

.heart-stage {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-right: 1px solid #3c3c42;
  background: #f3f3f0;
  color: var(--ink);
}

.stage-topline,
.stage-footer {
  position: absolute;
  right: 28px;
  left: 28px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  color: #717177;
  font-size: 10px;
  font-weight: 800;
}

.stage-topline {
  top: 24px;
}

.stage-footer {
  bottom: 24px;
}

.live-state {
  color: var(--red-dark);
}

.heart-controls {
  display: grid;
  align-content: start;
  padding: 28px;
  background: #151518;
}

.control-head {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px solid #39393e;
}

.control-head > div:first-child {
  display: grid;
}

.control-head span,
.progress-label span,
.focus-control legend span {
  color: #929299;
  font-size: 10px;
}

.control-head strong {
  font-size: 15px;
}

.progress-control {
  padding-block: 28px;
  border-bottom: 1px solid #39393e;
}

.progress-label,
.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.progress-label strong {
  font-size: 15px;
}

.progress-label b {
  font-size: 30px;
}

.progress-track {
  height: 6px;
  margin-block: 13px 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #343438;
}

.progress-track span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: var(--red);
  transition: width 300ms ease;
}

.progress-meta {
  margin-bottom: 18px;
  color: #929299;
  font-size: 10px;
}

.heart-controls .button-outline {
  border-color: #48484d;
  background: transparent;
  color: #fff;
}

.heart-controls .button-outline:hover {
  background: #242428;
}

.focus-control {
  margin: 0;
  padding: 26px 0 0;
  border: 0;
}

.focus-control legend {
  display: flex;
  width: 100%;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 750;
}

.focus-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.focus-choice {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border: 1px solid #3d3d42;
  border-radius: 4px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
}

.focus-choice:hover {
  border-color: #6a6a70;
}

.focus-choice[aria-pressed="true"] {
  border-color: var(--red);
  background: rgba(238, 48, 75, 0.08);
}

.focus-choice b {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #333338;
}

.focus-choice[aria-pressed="true"] b {
  background: var(--red);
}

.focus-choice > span:last-child {
  color: #929299;
  font-size: 10px;
}

.demo-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  color: #929299;
  font-size: 10px;
}

.demo-note i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--red);
}

.research {
  background: var(--soft-green);
}

.research-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px 100px;
}

.research-heading h2 {
  font-size: 56px;
}

.research-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #9ebdad;
}

.research-flow article {
  padding: 28px 22px 0 0;
  border-right: 1px solid #b5ccbf;
}

.research-flow article + article {
  padding-left: 22px;
}

.research-flow article:last-child {
  border-right: 0;
}

.research-flow span {
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.research-flow h3 {
  margin-block: 16px 8px;
  font-size: 20px;
}

.research-flow p {
  color: #55635b;
  font-size: 13px;
}

.research-result {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.6fr 0.4fr 1fr;
  align-items: end;
  gap: 40px;
  padding-top: 42px;
  border-top: 1px solid #9ebdad;
}

.research-result strong {
  font-size: 64px;
  line-height: 1;
}

.research-result span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.research-result p {
  margin-bottom: 0;
  color: #55635b;
}

.work {
  background: var(--white);
}

.media-work {
  border-top: 1px solid var(--line);
  background: var(--white);
}

.work-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.work-label h3 {
  margin: 0;
  font-size: 18px;
}

.work-label span {
  color: #88888e;
  font-size: 10px;
  font-weight: 800;
}

.esports-list {
  border-top: 1px solid var(--ink);
}

.esports-row {
  display: grid;
  grid-template-columns: 52px 1.1fr 1fr 72px 30px;
  align-items: center;
  gap: 26px;
  min-height: 132px;
  border-bottom: 1px solid var(--line);
  transition: background-color 160ms ease, padding 160ms ease;
}

.esports-row:hover,
.esports-row:focus-visible {
  padding-inline: 14px;
  background: var(--paper);
}

.work-number,
.esports-row small {
  color: #88888e;
  font-size: 10px;
  font-weight: 800;
}

.esports-row h3 {
  margin: 4px 0 0;
  font-size: 20px;
}

.esports-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.esports-row img {
  width: 58px;
  height: 58px;
  object-fit: cover;
}

.row-arrow {
  font-size: 20px;
}

.media-label {
  margin-top: 80px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.media-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #111;
  color: #fff;
  cursor: pointer;
  text-align: left;
}

.media-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms ease, opacity 380ms ease;
}

.media-card.portrait-card > img {
  object-position: center 32%;
}

.media-card::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.76));
  content: "";
}

.media-card:hover > img,
.media-card:focus-visible > img {
  transform: scale(1.035);
  opacity: 0.9;
}

.media-play {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
}

.media-meta {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 2;
  display: grid;
}

.media-meta small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}

.media-meta strong {
  margin-top: 4px;
  font-size: 18px;
}

.skills {
  border-top: 1px solid var(--line);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.skill-block {
  min-width: 0;
  padding: 32px 24px 10px 0;
  border-right: 1px solid var(--line);
}

.skill-block + .skill-block {
  padding-left: 24px;
}

.skill-block:last-child {
  border-right: 0;
}

.skill-block span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.skill-block h3 {
  margin-block: 18px 10px;
  font-size: 19px;
}

.skill-block p {
  color: var(--muted);
  font-size: 13px;
}

.education {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 70px;
  margin-top: 68px;
  padding-top: 38px;
  border-top: 1px solid var(--ink);
}

.education > div:first-child span,
.education > div:first-child p,
.education > p,
.education-score span {
  color: var(--muted);
  font-size: 12px;
}

.education h3 {
  margin-block: 8px 4px;
  font-size: 26px;
}

.education > p {
  grid-column: 1 / -1;
  margin: 0;
}

.education-score {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 2px 12px;
}

.education-score strong {
  font-size: 24px;
}

.contact {
  padding-block: 110px 28px;
  background: var(--ink);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: end;
  gap: 90px;
}

.contact h2 {
  font-size: 64px;
}

.contact-actions {
  display: grid;
  gap: 18px;
}

.contact-mail {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #55555c;
  font-size: 20px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.contact-actions .button {
  width: max-content;
}

.contact-actions p {
  margin: 0;
  color: #99999f;
  font-size: 11px;
}

.footer-line {
  display: flex;
  justify-content: space-between;
  margin-top: 90px;
  padding-top: 22px;
  border-top: 1px solid #3d3d42;
  color: #8d8d93;
  font-size: 11px;
}

.video-dialog {
  width: min(calc(100% - 32px), 1040px);
  max-height: calc(100svh - 40px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #3d3d42;
  border-radius: var(--radius);
  background: #111;
  color: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.video-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.dialog-head {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 22px;
  border-bottom: 1px solid #3d3d42;
}

.dialog-head h2 {
  margin: 0;
  font-size: 15px;
}

.dialog-head .icon-control {
  border-color: #4d4d52;
  color: #fff;
  font-size: 24px;
}

.video-dialog video {
  width: 100%;
  max-height: calc(100svh - 106px);
  background: #000;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(23, 105, 255, 0.5);
  outline-offset: 3px;
}

@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(238, 48, 75, 0.12); }
  50% { box-shadow: 0 0 0 11px rgba(238, 48, 75, 0.02); }
}

@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  18% { transform: scale(1.18); }
  34% { transform: scale(1); }
  48% { transform: scale(1.1); }
}

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

@keyframes game-icon-reveal {
  from {
    opacity: 0;
    transform: rotate(var(--tilt)) scale(0.34);
  }
  70% {
    opacity: 1;
    transform: rotate(var(--tilt)) scale(1.06);
  }
  to {
    opacity: 1;
    transform: rotate(var(--tilt)) scale(1);
  }
}

@keyframes game-float-bob {
  0%, 100% { transform: translate(-50%, -50%) translate3d(0, 0, 0); }
  50% { transform: translate(-50%, -50%) translate3d(0, -9px, 0); }
}

@media (max-width: 1080px) {
  .hero {
    min-height: 700px;
    height: auto;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  }

  .hero h1 {
    font-size: 72px;
  }

  .hero-role {
    font-size: 32px;
  }

  .portrait-stage {
    min-height: 570px;
  }

  .results-layout {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .results-mark img {
    max-width: 96px;
    max-height: 84px;
  }

  .metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric:nth-child(3) {
    border-right: 0;
  }

  .metric:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .metric:nth-child(4) {
    border-left: 1px solid var(--line);
  }

  .heart-tool {
    grid-template-columns: minmax(0, 1.2fr) 330px;
  }

}

@media (max-width: 820px) {
  :root {
    --header-height: 62px;
  }

  .shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  .section {
    padding-block: 84px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 18px;
  }

  .desktop-nav,
  .availability {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .brand-name {
    display: none;
  }

  .hero {
    min-height: 0;
    height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 46px 0;
  }

  .hero-copy {
    z-index: 2;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-role {
    font-size: 28px;
  }

  .hero-summary {
    max-width: 520px;
  }

  .portrait-stage {
    min-height: 520px;
  }

  .portrait-stage > img {
    right: 50%;
    width: min(90%, 460px);
    transform: translateX(50%);
  }

  .scroll-cue {
    display: none;
  }

  .statement-grid,
  .section-head,
  .research-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .statement h2,
  .section-head h2,
  .research-heading h2 {
    font-size: 42px;
  }

  .case-heading h2,
  .contact h2 {
    font-size: 48px;
  }

  .section-head {
    margin-bottom: 46px;
  }

  .heart-title-row {
    gap: 6px 12px;
  }

  .heart-title-tag {
    font-size: 11px;
  }

  .timeline-row {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 28px;
  }

  .timeline-number {
    display: none;
  }

  .case-narrative {
    grid-template-columns: 60px 1fr;
  }

  .case-narrative p {
    grid-column: 2;
  }

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

  .case-steps article,
  .case-steps article + article {
    padding: 26px 0;
    border-right: 0;
    border-bottom: 1px solid #bec9dd;
  }

  .system-principles {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .heart-tool {
    grid-template-columns: 1fr;
  }

  .heart-stage {
    min-height: 600px;
    border-right: 0;
    border-bottom: 1px solid #3c3c42;
  }

  .research-result {
    grid-template-columns: 1fr 1fr;
  }

  .research-result p {
    grid-column: 1 / -1;
  }

  .esports-row {
    grid-template-columns: 40px 1fr 60px 24px;
  }

  .esports-row p {
    display: none;
  }

  .skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skill-block:nth-child(2) {
    border-right: 0;
  }

  .skill-block:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .skill-block:nth-child(3) {
    padding-left: 0;
  }

  .contact {
    padding-top: 84px;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .section {
    padding-block: 70px;
  }

  .hero-grid {
    padding-top: 34px;
  }

  .eyebrow,
  .section-index {
    margin-bottom: 18px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero-role {
    font-size: 25px;
  }

  .hero-summary {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .button {
    min-width: 0;
    padding-inline: 12px;
  }

  .portrait-stage {
    min-height: 400px;
  }

  .portrait-stage > img {
    bottom: -24px;
    width: 340px;
    height: 420px;
  }

  .game-float,
  .game-icon-shell,
  .game-icon-shell img {
    width: 64px;
    height: 64px;
  }

  .results-layout {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .results-mark {
    min-height: 0;
    padding: 10px 7px;
  }

  .results-mark img {
    max-width: 58px;
    max-height: 78px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric,
  .metric:first-child,
  .metric:nth-child(4) {
    border-left: 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .metric:nth-child(even) {
    border-right: 0;
  }

  .metric:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .metric strong {
    font-size: 25px;
  }

  .statement h2,
  .section-head h2,
  .research-heading h2 {
    font-size: 34px;
  }

  .case-heading h2,
  .contact h2 {
    font-size: 40px;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 38px;
  }

  .timeline-content h3 {
    font-size: 22px;
  }

  .case-tabs {
    width: 100%;
  }

  .case-tabs button {
    min-width: 0;
  }

  .case-narrative {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-narrative p {
    grid-column: auto;
  }

  .heart-stage {
    min-height: 510px;
  }

  .heart-controls {
    padding: 22px;
  }

  .research-flow {
    grid-template-columns: 1fr;
  }

  .research-flow article,
  .research-flow article + article {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid #b5ccbf;
  }

  .research-result {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .research-result p {
    grid-column: auto;
    margin-top: 16px;
  }

  .research-result strong {
    font-size: 52px;
  }

  .esports-row {
    grid-template-columns: 34px 1fr 24px;
    gap: 14px;
    min-height: 112px;
  }

  .esports-row img {
    display: none;
  }

  .esports-row h3 {
    font-size: 17px;
  }

  .media-label {
    margin-top: 58px;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .skill-grid {
    grid-template-columns: 1fr;
  }

  .skill-block,
  .skill-block + .skill-block,
  .skill-block:nth-child(3) {
    padding: 25px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .education {
    grid-template-columns: 1fr;
  }

  .education > p {
    grid-column: auto;
  }

  .contact-mail {
    font-size: 16px;
  }

  .footer-line {
    margin-top: 64px;
  }
}

@media (max-width: 380px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .portrait-stage {
    min-height: 360px;
  }

  .portrait-stage > img {
    width: 300px;
    height: 370px;
  }

  .game-float,
  .game-icon-shell,
  .game-icon-shell img {
    width: 58px;
    height: 58px;
  }

}

@media (max-width: 820px) and (max-height: 720px) {
  .hero-grid {
    gap: 12px;
    padding-top: 18px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 8px;
    font-size: 10px;
  }

  .hero h1 {
    margin-bottom: 2px;
    font-size: 44px;
  }

  .hero-role {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .hero-summary {
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.5;
  }

  .hero-actions .button {
    min-height: 42px;
  }

  .portrait-stage {
    min-height: 220px;
  }

  .portrait-stage > img {
    bottom: -14px;
    width: 250px;
    height: 260px;
  }

}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Heart conversion sequence inspired by the live-system showcase. */
.heart-stage-canvas.signal-pipeline {
  position: absolute;
  top: 78px;
  right: 28px;
  left: 28px;
  z-index: 2;
  display: block;
  height: 280px;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid #2c3038;
  border-radius: 4px;
  background: #050608;
  box-shadow: 0 14px 34px rgba(17, 17, 19, 0.2);
}

.heart-stage-canvas.signal-pipeline > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(0.86) contrast(1.06);
}

.heart-stage-canvas .heart-stage-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, rgba(2, 3, 5, 0.22), rgba(2, 3, 5, 0.75));
}

.heart-stage-title {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(360px, 48%);
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}

.heart-stage-title small {
  display: block;
  margin-bottom: 8px;
  color: #ff8291;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.heart-stage-title strong {
  display: block;
  font-size: 16px;
  line-height: 1.35;
}

.heart-transform {
  --heart-accent: #ed3349;
  position: absolute;
  top: 15%;
  left: 7%;
  z-index: 4;
  width: 158px;
  height: 68px;
}

.heart-progress-ui {
  width: 100%;
  min-height: 68px;
  padding: 10px 11px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 3px solid var(--heart-accent);
  border-radius: 5px;
  background: rgba(15, 17, 21, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  transform-origin: left center;
}

.heart-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  font-weight: 750;
}

.heart-progress-head strong { color: #ff7183; }

.heart-progress-copy {
  margin-top: 6px;
  color: #aeb4bf;
  font-size: 8px;
}

.heart-progress-track {
  height: 5px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: #363b43;
}

.heart-progress-track span {
  position: relative;
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: var(--heart-accent);
  transition: width 280ms ease;
}

.heart-progress-track span::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  content: "";
  transform: translateX(-110%);
  animation: heart-progress-sprint 1.25s ease-in-out infinite;
}

.heart-particle-field,
.heart-live-reading {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.heart-particle {
  position: absolute;
  left: var(--particle-x);
  top: var(--particle-y);
  width: var(--particle-size);
  height: var(--particle-size);
  opacity: 0;
  border-radius: 50%;
  background: var(--heart-accent);
  box-shadow: 0 0 7px rgba(237, 51, 73, 0.65);
}

.heart-live-reading {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  opacity: 0;
  transform: translateX(-5px);
}

.heart-live-icon {
  color: var(--heart-accent);
  font-size: 39px;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(237, 51, 73, 0.55));
}

.heart-live-reading strong {
  font-size: 23px;
  line-height: 1;
}

.heart-live-reading small {
  align-self: flex-end;
  margin-bottom: 16px;
  color: #aeb4bf;
  font-size: 7px;
  font-weight: 750;
}

.heart-secondary-signal {
  position: absolute;
  top: 38%;
  right: 7%;
  z-index: 3;
  display: flex;
  min-width: 125px;
  align-items: center;
  gap: 5px;
  padding: 9px 10px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 3px solid #4d83ff;
  border-radius: 5px;
  background: rgba(15, 17, 21, 0.9);
  font-size: 8px;
}

.heart-secondary-signal span { margin-right: auto; }
.heart-secondary-signal i { color: #4d83ff; font-size: 17px; font-style: normal; animation: heart-beat 0.86s ease-in-out infinite; }
.heart-secondary-signal strong { font-size: 16px; }
.heart-secondary-signal small { color: #9fa5af; font-size: 6px; }

.heart-transform.is-filling .heart-progress-track span {
  animation: heart-fill-to-full 1.45s cubic-bezier(0.2, 0.75, 0.22, 1) forwards;
}

.heart-transform.is-shattering .heart-progress-ui {
  animation: heart-ui-shatter 0.42s ease-in forwards;
}

.heart-transform.is-shattering .heart-particle {
  animation: heart-particle-gather 1.65s cubic-bezier(0.4, 0, 0.25, 1) var(--particle-delay) forwards;
}

.heart-transform.is-gathering .heart-live-reading {
  animation: heart-reading-arrive 0.8s ease forwards;
}

.heart-transform.is-gathering .heart-live-icon {
  animation: heart-beat 0.78s ease-in-out 0.4s infinite;
}

.heart-transform.is-gathering .heart-live-reading strong,
.heart-transform.is-gathering .heart-live-reading small {
  animation: heart-number-reveal 0.9s ease 0.48s both;
}

.heart-stage-canvas.signal-pipeline.is-live .heart-live-reading {
  opacity: 1;
  transform: translateX(0);
}

.heart-conversion-panel {
  margin: -28px -28px 22px;
  padding: 22px 28px 20px;
  border-bottom: 1px solid #d7d9de;
  background: #fff;
  color: var(--ink);
}

.heart-conversion-panel .heart-panel-title { margin-bottom: 17px; }
.heart-panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 650; }
.heart-panel-title small { color: #858a92; font-size: 9px; font-weight: 700; }

.heart-step-list { margin: 0 0 18px; }
.heart-step-list > div { position: relative; min-height: 43px; display: grid; grid-template-columns: 27px 1fr; gap: 9px; color: #a2a6ad; }
.heart-step-list > div:not(:last-child)::after { position: absolute; top: 21px; bottom: 0; left: 10px; width: 1px; background: #dfe1e5; content: ""; }
.heart-step-list b { position: relative; z-index: 1; display: grid; width: 21px; height: 21px; place-items: center; border: 1px solid #d7d9de; border-radius: 50%; background: #fff; font-size: 8px; }
.heart-step-list span strong, .heart-step-list span small { display: block; }
.heart-step-list span strong { color: #777b82; font-size: 11px; }
.heart-step-list span small { margin-top: 2px; font-size: 8px; line-height: 1.35; }
.heart-step-list > div.active b, .heart-step-list > div.done b { color: #fff; border-color: var(--red); background: var(--red); }
.heart-step-list > div.active span strong, .heart-step-list > div.done span strong { color: var(--ink); }
.heart-step-list > div.done:not(:last-child)::after { background: var(--red); }

.heart-demo-button {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 0;
  border-radius: 5px;
  background: #1d1d1f;
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: background-color 180ms ease, transform 180ms ease;
}
.heart-demo-button:hover, .heart-demo-button:focus-visible { background: var(--red); transform: translateY(-1px); }
.heart-tech-row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.heart-tech-row span { padding: 4px 6px; border-radius: 3px; background: #f2f3f5; color: #777b82; font-size: 7px; font-weight: 700; }

@keyframes heart-progress-sprint { 0% { transform: translateX(-110%); } 75%, 100% { transform: translateX(115%); } }
@keyframes heart-fill-to-full { from { width: 68%; } to { width: 100%; } }
@keyframes heart-ui-shatter { 0% { opacity: 1; filter: blur(0); transform: scale(1); } 45% { opacity: 0.72; filter: blur(1px); transform: scaleX(1.02); } 100% { opacity: 0; filter: blur(5px); transform: scale(0.86); } }
@keyframes heart-particle-gather { 0% { opacity: 0; transform: translate(0, 0) scale(0.4); } 12% { opacity: 1; } 42% { opacity: 1; transform: translate(var(--particle-burst-x), var(--particle-burst-y)) scale(1); } 88% { opacity: 0.95; transform: translate(var(--particle-target-x), var(--particle-target-y)) scale(0.68); } 100% { opacity: 0; transform: translate(var(--particle-target-x), var(--particle-target-y)) scale(0.1); } }
@keyframes heart-reading-arrive { 0%, 38% { opacity: 0; transform: translateX(-5px) scale(0.72); } 64% { opacity: 1; transform: translateX(0) scale(1.08); } 100% { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes heart-number-reveal { from { opacity: 0; filter: blur(7px); transform: translateY(5px); } to { opacity: 1; filter: blur(0); transform: translateY(0); } }

@media (max-width: 1080px) {
  .heart-stage-canvas.signal-pipeline { right: 24px; left: 24px; }
}

@media (max-width: 820px) {
  .heart-tool { grid-template-columns: 1fr; }
  .heart-stage { border-right: 0; border-bottom: 1px solid #3c3c42; }
  .heart-controls { min-height: 0; }
  .heart-conversion-panel { margin: -28px -28px 22px; }
}

@media (max-width: 560px) {
  .heart-stage { min-height: 890px; }
  .heart-stage-canvas.signal-pipeline { top: 72px; right: 16px; left: 16px; height: 275px; }
  .heart-stage-title { width: 62%; }
  .heart-stage-title strong { font-size: 13px; }
  .heart-transform { top: 13%; left: 5%; transform: scale(0.9); transform-origin: left top; }
  .heart-secondary-signal { top: 48%; right: 5%; transform: scale(0.9); transform-origin: right top; }
  .heart-conversion-panel { margin-inline: -22px; padding-inline: 20px; }
}

@media (max-width: 380px) {
  .heart-stage-canvas.signal-pipeline { height: 260px; }
}

/* 2026 signal-led portfolio redesign */
.page-signal-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0 58%, var(--blue) 58% 100%);
  transform-origin: left center;
  transition: width 90ms linear;
}

.section {
  padding-block: 92px;
}

.hero {
  min-height: 680px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.04;
}

.hero-role {
  font-size: 29px;
  line-height: 1.18;
}

.statement h2,
.section-head h2,
.case-heading h2,
.research-heading h2,
.contact h2 {
  font-size: 36px;
  line-height: 1.2;
}

.case-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  align-items: end;
  gap: 24px 84px;
  max-width: none;
}

.case-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.case-heading h2 {
  max-width: 620px;
  font-size: 40px;
}

.case-heading > p:last-child {
  margin: 0 0 3px;
  font-size: 15px;
}

.case-heading-copy {
  min-width: 0;
}

.case-heading-copy > p {
  max-width: 680px;
  margin: 26px 0 0;
  color: #555a67;
  font-size: 15px;
  line-height: 1.65;
}

.case-replay {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) auto;
  min-width: 0;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid #aebbd2;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.case-replay:hover,
.case-replay:focus-visible {
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 16px 30px rgba(17, 17, 19, 0.12);
  transform: translateY(-2px);
}

.case-replay-art {
  display: block;
  width: 104px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  background: #5f5f5f;
}

.case-replay-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-replay-copy {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.case-replay-copy strong {
  font-size: 14px;
  line-height: 1.35;
}

.case-replay-copy small {
  color: #687185;
  font-size: 10px;
  line-height: 1.4;
}

.case-replay-arrow {
  align-self: start;
  color: var(--red);
  font-size: 22px;
  line-height: 1;
}

.research-heading h2,
.contact h2 {
  font-size: 40px;
}

.experience-console {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 530px;
  overflow: hidden;
  border: 1px solid #2e2e33;
  border-radius: var(--radius);
  background: #121214;
  color: #fff;
  box-shadow: 0 24px 70px rgba(17, 17, 19, 0.13);
}

.experience-switch {
  display: grid;
  grid-template-rows: auto auto 1fr;
  border-right: 1px solid #343439;
  background: #0d0d0f;
}

.experience-switch button {
  position: relative;
  display: grid;
  min-height: 132px;
  align-content: center;
  gap: 4px;
  padding: 24px 28px;
  border: 0;
  border-bottom: 1px solid #303035;
  background: transparent;
  color: #8f8f96;
  cursor: pointer;
  text-align: left;
}

.experience-switch button:hover,
.experience-switch button:focus-visible {
  background: #18181b;
  color: #fff;
}

.experience-switch button[aria-selected="true"] {
  background: #1c1c20;
  color: #fff;
}

.experience-switch button span,
.experience-switch button small,
.experience-legend {
  font-size: 10px;
  font-weight: 750;
}

.experience-switch button strong {
  font-size: 18px;
}

.experience-switch button i {
  position: absolute;
  top: 50%;
  right: -1px;
  width: 3px;
  height: 0;
  transform: translateY(-50%);
  background: var(--red);
  transition: height 180ms ease;
}

.experience-switch button[aria-selected="true"] i {
  height: 58px;
}

.experience-switch button:nth-child(2) i {
  background: var(--blue);
}

.experience-legend {
  display: grid;
  align-content: end;
  gap: 4px;
  padding: 26px 28px;
  color: #66666e;
}

.experience-legend b {
  color: #9a9aa1;
}

.experience-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
  padding: 38px 42px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #17171a;
  background-size: 30px 30px;
}

.experience-panel[hidden] {
  display: none;
}

.experience-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #39393f;
}

.experience-panel-head h3 {
  margin: 12px 0 4px;
  font-size: 27px;
}

.experience-panel-head p {
  margin: 0;
  color: #aaaab1;
  font-size: 13px;
}

.experience-panel-head time {
  flex: 0 0 auto;
  color: #a5a5ac;
  font-size: 11px;
  font-weight: 750;
}

.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff7487;
  font-size: 9px;
  font-weight: 800;
}

.panel-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(238, 48, 75, 0.12);
}

.panel-status.blue {
  color: #80a9ff;
}

.panel-status.blue i {
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(23, 105, 255, 0.14);
}

.mission-layout {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 38px;
  align-items: start;
  padding-block: 30px;
}

.mission-outcome {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-left: 3px solid var(--red);
  background: rgba(238, 48, 75, 0.08);
}

.mission-outcome.blue {
  border-color: var(--blue);
  background: rgba(23, 105, 255, 0.09);
}

.mission-outcome span {
  color: #9d9da5;
  font-size: 9px;
  font-weight: 800;
}

.mission-outcome strong {
  font-size: 36px;
  line-height: 1.1;
}

.mission-outcome p {
  margin: 0;
  color: #b7b7bd;
  font-size: 11px;
}

.mission-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mission-list li {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 0 0 17px;
  border-bottom: 1px solid #333338;
}

.mission-list li + li {
  padding-top: 17px;
}

.mission-list span {
  color: #8d8d95;
  font-size: 11px;
  font-weight: 750;
}

.mission-list p {
  margin: 0;
  color: #d3d3d7;
  font-size: 13px;
  line-height: 1.65;
}

.experience-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-inline: -42px;
  border-top: 1px solid #39393f;
}

.experience-signals span {
  display: grid;
  gap: 1px;
  padding: 17px 22px;
  border-right: 1px solid #39393f;
  color: #888890;
  font-size: 9px;
}

.experience-signals span:last-child {
  border-right: 0;
}

.experience-signals b {
  color: #fff;
  font-size: 18px;
}

.decision-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
  margin-top: 50px;
  padding-block: 14px;
  border-block: 1px solid #aebbd2;
}

.decision-path article {
  min-width: 0;
  padding: 17px 12px;
}

.decision-path article:first-child {
  padding-left: 0;
}

.decision-path article:last-child {
  padding-right: 0;
}

.decision-path > i {
  align-self: center;
  color: #8d9bb3;
  font-style: normal;
}

.decision-path span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 850;
}

.decision-path article[data-path-tone="signal"] span {
  color: var(--red-dark);
}

.decision-path article[data-path-tone="result"] span {
  color: var(--green);
}

.decision-path strong {
  display: block;
  margin-block: 8px 5px;
  font-size: 15px;
}

.decision-path p {
  margin: 0;
  color: #5d6270;
  font-size: 11px;
  line-height: 1.55;
}

.case-tabs {
  margin-top: 32px;
}

.case-panel {
  margin-top: 30px;
}

@media (max-width: 1080px) {
  .hero h1 { font-size: 52px; }
  .hero-role { font-size: 27px; }
  .decision-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
  .decision-path > i { display: none; }
  .decision-path article { border-bottom: 1px solid #c5cede; }
  .decision-path article:nth-last-child(-n + 2) { border-bottom: 0; }
}

@media (max-width: 820px) {
  .section { padding-block: 76px; }
  .hero h1 { font-size: 48px; }
  .hero-role { font-size: 26px; }
  .statement h2,
  .section-head h2,
  .research-heading h2,
  .case-heading h2,
  .contact h2 { font-size: 34px; }
  .case-heading { grid-template-columns: 1fr; gap: 16px; }
  .case-heading .eyebrow { grid-column: auto; }
  .experience-console { grid-template-columns: 190px minmax(0, 1fr); }
  .experience-switch button { min-height: 118px; padding: 20px; }
  .experience-panel { padding: 30px 28px 0; }
  .experience-panel-head { display: grid; }
  .mission-layout { grid-template-columns: 140px minmax(0, 1fr); gap: 24px; }
  .experience-signals { margin-inline: -28px; }
  .heart-stage { min-height: 630px; }
}

@media (max-width: 560px) {
  .section { padding-block: 64px; }
  .hero h1 { font-size: 42px; }
  .hero-role { font-size: 23px; }
  .statement h2,
  .section-head h2,
  .research-heading h2,
  .case-heading h2,
  .contact h2 { font-size: 30px; }
  .section-head { gap: 20px; margin-bottom: 34px; }
  .experience-console { grid-template-columns: 1fr; }
  .experience-switch {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    border-right: 0;
    border-bottom: 1px solid #343439;
  }
  .experience-switch button { min-height: 96px; padding: 16px; }
  .experience-switch button:first-child { border-right: 1px solid #303035; }
  .experience-switch button strong { font-size: 16px; }
  .experience-switch button i {
    top: auto;
    right: 16px;
    bottom: -1px;
    left: 16px;
    width: auto;
    height: 3px;
    transform: none;
  }
  .experience-switch button[aria-selected="true"] i { height: 3px; }
  .experience-legend { display: none; }
  .experience-panel { padding: 24px 18px 0; }
  .experience-panel-head { gap: 12px; padding-bottom: 20px; }
  .experience-panel-head h3 { font-size: 21px; }
  .mission-layout { grid-template-columns: 1fr; gap: 18px; padding-block: 20px; }
  .mission-outcome { grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 12px; padding: 13px 15px; }
  .mission-outcome span { grid-column: 1 / -1; }
  .mission-outcome strong { font-size: 26px; }
  .mission-list li { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; }
  .experience-signals { margin-inline: -18px; }
  .experience-signals span { padding: 13px 10px; }
  .experience-signals b { font-size: 14px; }
  .decision-path { grid-template-columns: 1fr; margin-top: 34px; }
  .decision-path article,
  .decision-path article:first-child,
  .decision-path article:last-child { padding: 15px 0; border-bottom: 1px solid #c5cede; }
  .decision-path article:last-child { border-bottom: 0; }
  .heart-stage { min-height: 800px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 38px; }
  .hero-role { font-size: 21px; }
  .experience-switch button small { font-size: 9px; }
  .experience-panel-head h3 { font-size: 19px; }
  .heart-stage { min-height: 780px; }
}

body.intro-playing {
  overflow: hidden;
}

.intro-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  background: #f8f8f5;
  color: #fff;
  animation: intro-scene-exit 650ms ease 2.25s forwards;
}

.intro-gate.is-dismissing {
  opacity: 0;
  pointer-events: none;
  animation: none;
  transition: opacity 500ms ease;
}

.intro-light {
  position: absolute;
  top: -12%;
  bottom: -20%;
  left: 50%;
  z-index: 1;
  width: 3px;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 0 36px 15px rgba(255, 255, 255, 0.82), 0 0 120px 46px rgba(222, 232, 255, 0.58);
  animation: intro-light-open 1.7s cubic-bezier(0.7, 0, 0.2, 1) 0.3s forwards;
}

.intro-light::after {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 120vw;
  height: 80vh;
  transform: translateX(-50%);
  clip-path: polygon(48% 0, 52% 0, 92% 100%, 8% 100%);
  background: rgba(255, 255, 255, 0.72);
  content: "";
}

.intro-door {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 50.1%;
  overflow: hidden;
  background: #111113;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.45);
  will-change: transform;
}

.intro-door::before,
.intro-door::after {
  position: absolute;
  content: "";
}

.intro-door::before {
  inset: 24px;
  border: 1px solid #303036;
}

.intro-door::after {
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: #2d2d32;
}

.intro-door i {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 44px;
  transform: translateY(-50%);
  border: 1px solid #55555d;
  border-radius: 2px;
}

.intro-door span {
  position: absolute;
  bottom: 42px;
  color: #6f6f77;
  font-size: 9px;
  font-weight: 800;
}

.intro-door-left {
  left: 0;
  transform-origin: left center;
  animation: intro-door-left-open 1.7s cubic-bezier(0.76, 0, 0.24, 1) 0.35s forwards;
}

.intro-door-left::after {
  right: 28%;
}

.intro-door-left i {
  right: 28px;
}

.intro-door-left span {
  left: 42px;
}

.intro-door-right {
  right: 0;
  transform-origin: right center;
  animation: intro-door-right-open 1.7s cubic-bezier(0.76, 0, 0.24, 1) 0.35s forwards;
}

.intro-door-right::after {
  left: 28%;
}

.intro-door-right i {
  left: 28px;
}

.intro-door-right span {
  right: 42px;
}

.intro-skip {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 5;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid #45454c;
  border-radius: 50%;
  background: rgba(17, 17, 19, 0.72);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
}

.intro-skip:hover,
.intro-skip:focus-visible {
  background: #2c2c31;
}

@keyframes intro-door-left-open {
  to { transform: perspective(1200px) translateX(-104%) rotateY(13deg); }
}

@keyframes intro-door-right-open {
  to { transform: perspective(1200px) translateX(104%) rotateY(-13deg); }
}

@keyframes intro-light-open {
  0% { width: 3px; opacity: 0.9; }
  58% { width: 20vw; opacity: 1; }
  100% { width: 116vw; opacity: 1; }
}

@keyframes intro-scene-exit {
  to { opacity: 0; visibility: hidden; }
}

@media (max-width: 560px) {
  .intro-door::before { inset: 14px; }
  .intro-door-left span { left: 24px; }
  .intro-door-right span { right: 24px; }
  .intro-skip { top: 14px; right: 14px; }
}

/* Product architecture map */
.signal-architecture {
  overflow: hidden;
  border: 1px solid #b9c5d9;
  background: rgba(255, 255, 255, 0.38);
}

.architecture-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #bdc8da;
}

.architecture-header div { display: grid; gap: 5px; }
.architecture-header span { color: var(--blue); font-size: 9px; font-weight: 850; }
.architecture-header strong { font-size: 19px; }
.architecture-header > b { color: #6f7d94; font-size: 9px; font-weight: 850; }
.signal-architecture.is-live .architecture-header > b { color: var(--red-dark); }

.architecture-row {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(210px, 0.78fr) minmax(280px, 1fr) 150px;
  gap: 20px;
  align-items: center;
  min-height: 122px;
  padding: 20px 24px;
  border-bottom: 1px solid #c9d2e1;
}

.architecture-row:last-child { border-bottom: 0; }
.architecture-row::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--blue);
  content: "";
  transition: transform 500ms ease;
}
.signal-architecture.is-running .architecture-row::before { transform: scaleX(0.35); }
.signal-architecture.is-live .architecture-row::before { transform: scaleX(1); background: var(--red); }

.architecture-index { align-self: start; padding-top: 2px; color: var(--red); font-size: 11px; font-weight: 850; }
.architecture-copy { display: grid; gap: 4px; }
.architecture-copy > span { color: #6c7b92; font-size: 9px; font-weight: 850; }
.architecture-copy strong { font-size: 18px; }
.architecture-copy p { max-width: 330px; margin: 0; color: #687082; font-size: 11px; line-height: 1.55; }

.architecture-nodes { display: flex; min-width: 0; align-items: center; gap: 8px; }
.architecture-node {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  border: 1px solid #bcc7d8;
  background: rgba(255, 255, 255, 0.53);
  color: #5d687a;
  font-size: 8px;
  font-weight: 850;
  white-space: nowrap;
}
.architecture-node i { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #7b8aa0; }
.architecture-nodes > b { color: #8794a8; font-size: 11px; font-weight: 400; }
.architecture-node.accent { border-color: rgba(238, 48, 75, 0.46); color: var(--red-dark); }
.architecture-node.accent i { background: var(--red); }
.architecture-node em { overflow: hidden; font-style: normal; text-overflow: ellipsis; }
.architecture-node.heart-node { border-color: rgba(238, 48, 75, 0.46); }
.architecture-node.heart-node i { width: auto; height: auto; color: var(--red); background: transparent; font-size: 12px; }
.architecture-status { justify-self: end; color: #7c8799; font-size: 8px; font-weight: 850; text-align: right; }

.signal-architecture.is-live .architecture-row[data-architecture-layer="device"] .architecture-node i,
.signal-architecture.is-live .architecture-row[data-architecture-layer="broadcast"] .architecture-node i { background: var(--red); box-shadow: 0 0 0 4px rgba(238, 48, 75, 0.1); }
.signal-architecture.is-live .architecture-row[data-architecture-layer="interaction"] .heart-node { background: rgba(238, 48, 75, 0.08); }
.signal-architecture.is-live .architecture-row[data-architecture-layer="interaction"] .heart-node i { animation: heart-beat 850ms ease-in-out infinite; }
.signal-architecture.is-live .architecture-status { color: var(--red-dark); }

.architecture-conversion {
  display: grid;
  grid-template-columns: 118px minmax(60px, 1fr) 136px minmax(60px, 1fr) 118px;
  align-items: center;
  gap: 12px;
  padding: 22px 24px;
  border-top: 1px solid #aebbd2;
  background: rgba(231, 238, 251, 0.66);
}
.conversion-endpoint { display: grid; gap: 2px; }
.conversion-endpoint span,
.conversion-endpoint small { color: #78869b; font-size: 8px; font-weight: 850; }
.conversion-endpoint strong { font-size: 21px; line-height: 1.1; }
.conversion-endpoint.output { text-align: right; }
.conversion-endpoint.output strong { color: #6e7a8d; font-size: 17px; }
.signal-architecture.is-live .conversion-endpoint.output strong,
.signal-architecture.is-live .conversion-endpoint.output small { color: var(--red-dark); }

.conversion-track { position: relative; height: 2px; background: #aab7ca; }
.conversion-track i { position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #8c9bb1; animation: architecture-packet 2.3s linear infinite; }
.conversion-track i:nth-child(2) { animation-delay: -0.46s; }
.conversion-track i:nth-child(3) { animation-delay: -0.92s; }
.conversion-track i:nth-child(4) { animation-delay: -1.38s; }
.conversion-track i:nth-child(5) { animation-delay: -1.84s; }
.conversion-track.output i { animation-direction: reverse; }
.signal-architecture.is-live .conversion-track i { background: var(--red); box-shadow: 0 0 0 4px rgba(238, 48, 75, 0.1); }

.conversion-hub {
  position: relative;
  display: grid;
  width: 136px;
  height: 76px;
  align-content: center;
  justify-items: center;
  border: 1px solid #aab8cd;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 24px rgba(47, 71, 105, 0.1);
}
.conversion-hub span,
.conversion-hub small { color: #75839a; font-size: 7px; font-weight: 850; }
.conversion-hub strong { color: var(--red); font-size: 19px; line-height: 1; }
.signal-architecture.is-live .conversion-hub { border-color: var(--red); box-shadow: 0 0 0 7px rgba(238, 48, 75, 0.08), 0 10px 24px rgba(47, 71, 105, 0.1); }
.signal-architecture.is-live .conversion-hub strong { animation: heart-beat 850ms ease-in-out infinite; }

@keyframes architecture-packet {
  from { transform: translateX(-5px); opacity: 0; }
  18%, 80% { opacity: 1; }
  to { transform: translateX(calc(100% + 5px)); opacity: 0; }
}

@media (max-width: 1080px) {
  .architecture-row { grid-template-columns: 34px minmax(190px, 0.7fr) minmax(230px, 1fr) 125px; gap: 14px; padding-inline: 18px; }
  .architecture-header, .architecture-conversion { padding-inline: 18px; }
  .architecture-node { padding-inline: 7px; }
}

@media (max-width: 820px) {
  .architecture-row { grid-template-columns: 34px 1fr; gap: 12px 16px; }
  .architecture-copy p { max-width: none; }
  .architecture-nodes { grid-column: 2; flex-wrap: wrap; }
  .architecture-status { grid-column: 2; justify-self: start; }
  .architecture-conversion { grid-template-columns: 1fr 32px 104px 32px 1fr; gap: 6px; }
  .conversion-hub { width: 104px; }
}

@media (max-width: 560px) {
  .architecture-header { display: grid; gap: 12px; padding: 18px 14px 15px; }
  .architecture-header strong { font-size: 16px; }
  .architecture-row { padding: 17px 14px; }
  .architecture-copy strong { font-size: 16px; }
  .architecture-nodes { gap: 5px; }
  .architecture-node { font-size: 7px; }
  .architecture-conversion { grid-template-columns: 1fr; gap: 10px; padding: 17px 14px; }
  .conversion-endpoint, .conversion-endpoint.output { text-align: left; }
  .conversion-track { width: 2px; height: 22px; justify-self: center; }
  .conversion-track i { top: 0; left: -3px; animation-name: architecture-packet-mobile; }
  .conversion-track.output i { animation-direction: normal; }
  .conversion-hub { width: 118px; height: 68px; justify-self: center; }
}

@keyframes architecture-packet-mobile {
  from { transform: translateY(-4px); opacity: 0; }
  18%, 80% { opacity: 1; }
  to { transform: translateY(26px); opacity: 0; }
}

/* Keep the heart demo focused on one live signal screen. */
.heart-tool {
  align-items: start;
  min-height: 0;
}

.heart-stage {
  height: 480px;
  min-height: 0;
  align-self: start;
}

.heart-stage-canvas.signal-pipeline {
  height: 320px;
}

.focus-control-wide {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  padding: 22px 28px 28px;
  border-top: 1px solid #3c3c42;
  background: #151518;
}

.heart-controls {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.focus-control-wide .focus-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

@media (max-width: 1080px) {
  .heart-stage {
    height: 460px;
  }

  .heart-stage-canvas.signal-pipeline {
    height: 300px;
  }
}

@media (max-width: 820px) {
  .heart-stage {
    height: 460px;
    min-height: 460px;
  }

  .heart-controls {
    grid-column: 1;
    grid-row: auto;
  }

  .focus-control-wide {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .heart-stage {
    height: 420px;
    min-height: 420px;
  }

  .heart-stage-canvas.signal-pipeline {
    height: 275px;
  }

  .focus-control-wide {
    padding: 20px 14px 22px;
  }

  .focus-control-wide .focus-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Keep the mobile reading rhythm close to the desktop hierarchy. */
@media (max-width: 560px) {
  .hero h1 { font-size: 42px; }
  .hero-role { font-size: 23px; }
  .statement h2,
  .section-head h2,
  .case-heading h2,
  .research-heading h2,
  .contact h2 { font-size: 30px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 38px; }
  .hero-role { font-size: 21px; }
  .statement h2,
  .section-head h2,
  .case-heading h2,
  .research-heading h2,
  .contact h2 { font-size: 28px; }
  .section { padding-block: 58px; }
}
