/* ==========================================================================
   MOVE SYSTEM — Design system
   Brand kit derived from the MOVE System deck (05 Apr 2026)
   Primary: deep burgundy   #7A1F2E
   Ground : warm cream      #F5F2EE
   Ink    : graphite         #1A1A1A
   Grid   : faint dots       #D8D2C8
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/inter-300.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-700.ttf") format("truetype");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-400.ttf") format("truetype");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-600.ttf") format("truetype");
}

:root {
  --burgundy: #7A1F2E;
  --burgundy-dark: #4E121C;
  --burgundy-soft: #B8606D;
  --cream: #F5F2EE;
  --cream-dark: #EDE7DD;
  --ink: #1A1A1A;
  --ink-soft: #3A3A3A;
  --muted: #6E6760;
  --grid: #D8D2C8;
  --gold: #B89264;
  /* subtle accent for data highlights */

  --font-display: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Consolas", monospace;

  --nav-h: 64px;
  --radius-sm: 2px;
  --radius-md: 6px;
  --max-w: 1280px;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  background-image:
    radial-gradient(circle at 1px 1px, var(--grid) 1px, transparent 0);
  background-size: 22px 22px;
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--burgundy);
  text-decoration: none
}

a:hover {
  color: var(--burgundy-dark)
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none
}

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

/* ---------- responsive research framework panels ---------- */
.research-framework {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .75fr);
  gap: 1rem;
  align-items: stretch;
}

.rf-streams {
  display: grid;
  gap: .75rem;
}

.rf-stream {
  border: 1px solid rgba(245, 242, 238, .14);
  background: rgba(245, 242, 238, .045);
  border-left: 3px solid var(--rf-color, #B89264);
  padding: 1rem 1.05rem;
  min-height: 92px;
}

.rf-stream-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .45rem;
}

.rf-stream h3,
.rf-platform h3 {
  margin: 0;
  color: var(--rf-color, #B89264);
  font-size: .92rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.rf-code {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  color: rgba(245, 242, 238, .38);
  font-size: .68rem;
  letter-spacing: .12em;
}

.rf-stream p,
.rf-platform p,
.rf-output p {
  margin: 0;
  color: rgba(245, 242, 238, .55);
  font-size: .86rem;
  line-height: 1.6;
}

.rf-platform {
  border: 1px solid rgba(245, 242, 238, .16);
  background: linear-gradient(160deg, rgba(122, 31, 46, .25), rgba(0, 0, 0, .14));
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.rf-platform::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(245, 242, 238, .08);
  pointer-events: none;
}

.rf-platform h3 {
  text-align: center;
  margin-bottom: .6rem;
}

.rf-platform p {
  text-align: center;
}

.rf-output-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .55rem;
  margin-top: 1rem;
}

.rf-output {
  border: 1px solid rgba(245, 242, 238, .12);
  background: rgba(245, 242, 238, .045);
  padding: .7rem .55rem;
  text-align: center;
}

.rf-output strong {
  display: block;
  color: var(--rf-color, #B89264);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .25rem;
}

.rf-output p {
  font-size: .72rem;
  line-height: 1.45;
}

.rf-note {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, .22);
}

@media (max-width: 900px) {
  .research-framework {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .rf-stream-head,
  .rf-output-grid {
    grid-template-columns: 1fr;
  }
  .rf-output-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0 0 .4em
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -.02em
}

h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 500
}

h3 {
  font-size: 1.15rem;
  font-weight: 600
}

.eyebrow {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  text-shadow: 0 1px 8px rgba(245, 242, 238, 0.95);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--burgundy)
}

.kicker {
  color: var(--muted);
  font-size: .95rem
}

.serif {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--burgundy)
}

/* ---------- layout ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem)
}

section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem
}

@media (max-width:900px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr
  }
}

/* ---------- global nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: rgba(245, 242, 238, .78);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-bottom: 1px solid rgba(122, 31, 46, .08);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-brand .logo-box {
  background: var(--ink);
  color: var(--cream);
  padding: 5px 9px;
  font-size: .72rem;
  letter-spacing: .12em;
  font-weight: 700;
  flex-shrink: 0;
}

.nav-brand .logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-brand .logo-wordmark {
  font-weight: 700;
  font-size: .86rem;
  color: var(--burgundy);
  line-height: 1.1;
}

.nav-brand .logo-caption {
  color: var(--muted);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2.3rem);
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--burgundy);
  transition: all .25s;
  transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--burgundy)
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--burgundy);
  border-radius: 999px;
  overflow: hidden;
  font-size: .68rem;
  letter-spacing: .12em;
  font-weight: 700;
}

.lang-toggle button {
  padding: 5px 11px;
  color: var(--burgundy);
  transition: all .2s;
}

.lang-toggle button.active {
  background: var(--burgundy);
  color: var(--cream)
}

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  overflow: hidden;
}

#hub3d {
  position: absolute;
  inset: 0;
  z-index: 1
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem clamp(1rem, 4vw, 3rem) clamp(5rem, 12vh, 8rem);
  pointer-events: none;
  /* Soft vignette over white architectural canvas */
  background: radial-gradient(ellipse 72% 60% at 50% 50%,
      rgba(250, 248, 245, 0.88) 0%,
      rgba(250, 248, 245, 0.65) 42%,
      rgba(250, 248, 245, 0.20) 70%,
      transparent 100%);
}

.hero-content>* {
  pointer-events: auto;

}

.hero-title {
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 300;
  color: var(--burgundy);
  letter-spacing: -.03em;
  line-height: .95;
  margin: 0;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.90),
    0 2px 16px rgba(250, 248, 245, 0.95);
}

.hero-title em {
  font-style: normal;
  color: var(--burgundy-dark);
  font-weight: 500;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.90),
    0 2px 16px rgba(250, 248, 245, 0.95);
}

.hero-sub {
  margin-top: 1rem;
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  color: var(--ink);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 0 rgba(255,255,255,0.95), 0 2px 12px rgba(250,248,245,0.90);
}

.hero-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .72rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 3;
  white-space: nowrap;
}

.hero-hint::after {
  content: "";
  display: block;
  margin: .6rem auto 0;
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--burgundy), transparent);
  animation: hint 2.4s ease-in-out infinite;
}

@keyframes hint {

  0%,
  100% {
    opacity: .3;
    transform: scaleY(.7)
  }

  50% {
    opacity: 1;
    transform: scaleY(1)
  }
}

/* ---------- lab cards ---------- */
.lab-card {
  border: 1px solid rgba(122, 31, 46, .2);
  background: rgba(255, 253, 250, .6);
  padding: 1.6rem 1.4rem 1.8rem;
  transition: all .3s;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.lab-card:hover {
  background: var(--cream);
  border-color: var(--burgundy);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(122, 31, 46, .25);
}

.lab-card .num {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--burgundy);
  letter-spacing: .18em;
  margin-bottom: .8rem;
}

.lab-card h3 {
  color: var(--burgundy);
  margin-bottom: .3rem
}

.lab-card p {
  font-size: .9rem;
  color: var(--ink-soft);
  margin: 0
}

.pillar-topic-list {
  list-style: none;
  padding: .85rem 0 0;
  margin: .95rem 0 0;
  border-top: 1px solid rgba(122, 31, 46, .12);
  display: grid;
  gap: .55rem;
}

.pillar-topic-list li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--ink-soft);
  font-size: .82rem;
  line-height: 1.45;
}

.pillar-topic-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 146, 100, .12);
}

.lab-card .arrow {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  font-size: 1.2rem;
  color: var(--burgundy);
  transition: transform .3s;
}

.lab-card:hover .arrow {
  transform: translateX(6px)
}

/* ---------- stats / stat cards ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0
}

@media (max-width:900px) {
  .stat-row {
    grid-template-columns: repeat(2, 1fr)
  }
}

.stat {
  border-left: 2px solid var(--burgundy);
  padding: .8rem 0 .8rem 1.1rem;
}

.stat .val {
  font-size: 2rem;
  font-weight: 300;
  color: var(--burgundy);
  line-height: 1
}

.stat .lbl {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .3rem
}

/* ---------- feature rows ---------- */
.feature-row {
  display: flex;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--grid);
}

.feature-row:last-child {
  border-bottom: 1px solid var(--grid)
}

.feature-row .idx {
  font-family: var(--font-mono);
  color: var(--burgundy);
  font-size: .78rem;
  letter-spacing: .1em;
  min-width: 60px;
  padding-top: 3px;
}

.feature-row h4 {
  margin: 0 0 .25rem;
  font-size: 1rem;
  font-weight: 600
}

.feature-row p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem
}

/* ---------- research model ---------- */
.research-model {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.research-model article {
  border: 1px solid rgba(122, 31, 46, .12);
  background: rgba(255, 255, 255, .48);
  padding: 1rem;
}

.research-model span {
  display: block;
  margin-bottom: .65rem;
  font-family: var(--font-mono);
  color: var(--burgundy);
  font-size: .74rem;
  letter-spacing: .14em;
}

.research-model h3 {
  margin: 0 0 .35rem;
  color: var(--burgundy-dark);
  font-size: 1rem;
}

.research-model p {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.58;
}

@media (max-width:900px) {
  .research-model {
    grid-template-columns: 1fr;
  }
}

/* ---------- people ---------- */
.person-card {
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(122, 31, 46, .12);
  transition: all .25s;
}

.person-card:hover {
  border-color: var(--burgundy);
  transform: translateY(-2px)
}

.person-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
  color: var(--cream);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: .9rem;
  border: 2px solid var(--cream);
  box-shadow: 0 0 0 1px var(--burgundy);
}

.person-card .role {
  color: var(--burgundy);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .2rem
}

.person-card h4 {
  margin: .1rem 0 .3rem;
  font-size: 1rem
}

.person-card .email {
  font-size: .78rem;
  color: var(--muted);
  word-break: break-all;
  font-family: var(--font-mono)
}

.person-note {
  margin: .85rem 0 0;
  padding-top: .75rem;
  border-top: 1px solid rgba(122, 31, 46, .12);
  color: var(--ink-soft);
  font-size: .82rem;
  line-height: 1.5;
}

.people-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin: -1.25rem 0 1rem;
}

.people-overview article {
  position: relative;
  min-height: 116px;
  padding: 1.05rem;
  border: 1px solid rgba(122, 31, 46, .12);
  background:
    linear-gradient(145deg, rgba(255, 253, 250, .88), rgba(245, 242, 238, .58)),
    radial-gradient(circle at 100% 0, rgba(184, 146, 100, .18), transparent 42%);
  overflow: hidden;
}

.people-overview article::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -36px;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(122, 31, 46, .14);
  border-radius: 50%;
}

.people-overview span {
  display: block;
  color: var(--burgundy);
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 2.8vw, 2.2rem);
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1;
  margin-bottom: .7rem;
}

.people-overview p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink-soft);
  font-size: .86rem;
  line-height: 1.5;
}

.leadership-row {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lead-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 180px;
  padding: 1.2rem;
  border: 1px solid rgba(122, 31, 46, .16);
  background:
    linear-gradient(135deg, rgba(255, 253, 250, .92), rgba(245, 242, 238, .64)),
    radial-gradient(circle at 0 0, rgba(122, 31, 46, .12), transparent 44%);
  box-shadow: 0 18px 48px rgba(78, 18, 28, .07);
  overflow: hidden;
}

.lead-card--primary {
  background:
    linear-gradient(135deg, rgba(122, 31, 46, .95), rgba(78, 18, 28, .92)),
    radial-gradient(circle at 100% 0, rgba(184, 146, 100, .42), transparent 44%);
  color: var(--cream);
}

.lead-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(122, 31, 46, .08);
  pointer-events: none;
}

.lead-card--primary::after {
  border-color: rgba(245, 242, 238, .13);
}

.lead-card__photo,
.lead-card__avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  flex: 0 0 auto;
  overflow: hidden;
  border: 2px solid rgba(184, 146, 100, .65);
  box-shadow: 0 0 0 7px rgba(184, 146, 100, .12);
}

.lead-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.lead-card__avatar {
  display: grid;
  place-items: center;
  background: var(--burgundy);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 600;
}

.lead-card h3 {
  margin: .25rem 0 .35rem;
  color: var(--burgundy-dark);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.lead-card--primary h3 {
  color: var(--cream);
}

.lead-card p {
  margin: 0 0 .7rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.58;
}

.lead-card--primary p,
.lead-card--primary .eyebrow {
  color: rgba(245, 242, 238, .76);
}

.lead-card a {
  position: relative;
  z-index: 1;
  color: var(--burgundy);
  font-family: var(--font-mono);
  font-size: .78rem;
  word-break: break-all;
}

.lead-card--primary a {
  color: var(--gold);
}

.people-panel {
  border: 1px solid rgba(122, 31, 46, .12);
  background:
    linear-gradient(180deg, rgba(255, 253, 250, .94), rgba(255, 253, 250, .72)),
    radial-gradient(circle at 0 0, rgba(122, 31, 46, .06), transparent 46%);
  padding: clamp(1rem, 2vw, 1.7rem);
  margin-bottom: 1.35rem;
  box-shadow: 0 22px 60px rgba(78, 18, 28, .07);
}

.people-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.people-panel-head h3 {
  margin: .25rem 0 0;
  color: var(--burgundy-dark);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.people-panel-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.6;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(122, 31, 46, .10);
  background: rgba(255, 255, 255, .74);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
}

.table-wrap h4 {
  margin: 0;
  padding: .9rem 1rem;
  color: var(--cream);
  border-bottom: 1px solid rgba(122, 31, 46, .10);
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
  font-size: .92rem;
  letter-spacing: .04em;
}

.people-table {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .86rem;
  line-height: 1.42;
}

.people-table th,
.people-table td {
  border: 0;
  border-bottom: 1px solid rgba(122, 31, 46, .10);
  padding: .72rem .82rem;
  vertical-align: top;
}

.people-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(245, 242, 238, .98);
  color: var(--burgundy-dark);
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid rgba(122, 31, 46, .18);
}

.people-table td:first-child,
.people-table th:first-child {
  width: 54px;
  text-align: center;
  color: var(--burgundy);
  font-family: var(--font-mono);
  font-size: .8rem;
}

.people-table tbody tr:nth-child(even) {
  background: rgba(245, 242, 238, .42);
}

.people-table tbody tr:hover {
  background: rgba(184, 146, 100, .16);
}

.people-table--compact {
  min-width: 620px;
  font-size: .84rem;
}

.imob-panel {
  margin-top: 1rem;
}

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

html[lang="en"] .lang-vi-only,
html[lang="vi"] .lang-en-only {
  display: none !important;
}

@media (max-width:900px) {
  .people-overview,
  .leadership-row {
    grid-template-columns: 1fr;
  }

  .lead-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .lead-card__photo,
  .lead-card__avatar {
    width: 78px;
    height: 78px;
  }

  .people-panel-head {
    display: block;
  }

  .people-panel-head p {
    margin-top: .65rem;
  }

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

/* ---------- pills / chips ---------- */
.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .72rem;
  letter-spacing: .08em;
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  margin: 3px 4px 3px 0;
}

.pill.dark {
  background: var(--burgundy);
  color: var(--cream)
}

/* ---------- section title block ---------- */
.section-head {
  margin-bottom: 3rem;
  max-width: 780px
}

.section-head p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin: 0
}

/* ---------- funding map ---------- */
.funding-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.funding-card {
  position: relative;
  min-height: 250px;
  padding: 1.35rem;
  border: 1px solid rgba(122, 31, 46, .16);
  background:
    linear-gradient(180deg, rgba(255, 253, 250, .82), rgba(255, 253, 250, .56)),
    radial-gradient(circle at 100% 0, var(--funding-glow, rgba(122, 31, 46, .12)), transparent 46%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.funding-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(122, 31, 46, .08);
  pointer-events: none;
}

.funding-card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 118px;
  height: 118px;
  border: 1px solid var(--funding-line, rgba(122, 31, 46, .25));
  border-radius: 50%;
  opacity: .7;
}

.funding-card--intl {
  --funding-glow: rgba(96, 144, 208, .16);
  --funding-line: rgba(96, 144, 208, .35);
}

.funding-card--national {
  --funding-glow: rgba(184, 146, 100, .18);
  --funding-line: rgba(184, 146, 100, .42);
}

.funding-card--private {
  --funding-glow: rgba(111, 207, 151, .16);
  --funding-line: rgba(111, 207, 151, .4);
}

.funding-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  position: relative;
  z-index: 1;
}

.funding-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  border-radius: 3px;
}

.funding-scale {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.funding-card h3 {
  position: relative;
  z-index: 1;
  margin: .15rem 0 0;
  color: var(--burgundy);
}

.funding-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.65;
}

.funding-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: auto;
}

.funding-tags span {
  border: 1px solid rgba(122, 31, 46, .18);
  background: rgba(245, 242, 238, .72);
  color: var(--burgundy);
  padding: .32rem .55rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  white-space: nowrap;
}

.funding-flow {
  margin-top: 1.4rem;
  border-top: 1px solid rgba(122, 31, 46, .16);
  border-bottom: 1px solid rgba(122, 31, 46, .16);
  padding: 1rem 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.funding-flow__item {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
}

.funding-flow__item span {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--burgundy);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: .72rem;
}

.funding-flow__item strong {
  color: var(--burgundy);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .funding-map,
  .funding-flow {
    grid-template-columns: 1fr;
  }
}

/* ---------- lab page hero ---------- */
.lab-hero {
  padding-top: calc(var(--nav-h) + 3.5rem);
  padding-bottom: 3rem;
  position: relative;
  border-bottom: 1px solid var(--grid);
}

.lab-hero .letters {
  position: absolute;
  top: 8vw;
  right: -3vw;
  font-size: clamp(10rem, 26vw, 28rem);
  font-weight: 300;
  color: rgba(122, 31, 46, .07);
  letter-spacing: -.05em;
  line-height: .8;
  pointer-events: none;
  user-select: none;
}

.lab-hero h1 {
  color: var(--burgundy);
  max-width: 900px;
  position: relative
}

.lab-hero .lead {
  max-width: 720px;
  font-size: 1.08rem;
  color: var(--ink-soft);
  position: relative
}

.btn {
  padding: 7px 16px;
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  background: transparent;
  font-size: .82rem;
  letter-spacing: .06em;
  transition: all .2s;
  font-weight: 500;
}

.btn:hover {
  background: var(--burgundy);
  color: var(--cream)
}

.btn.primary {
  background: var(--burgundy);
  color: var(--cream)
}

.btn.primary:hover {
  background: var(--burgundy-dark)
}

/* ---------- timeline ---------- */
.timeline {
  position: relative;
  padding-left: 1.8rem;
  margin-top: 1rem
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--burgundy);
}

.timeline-item {
  position: relative;
  margin-bottom: 1.6rem
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.8rem;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--burgundy);
}

.timeline-item .yr {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--burgundy);
  font-weight: 600;
}

.timeline-item h4 {
  margin: .2rem 0 .3rem;
  font-size: 1rem
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--grid);
  padding: 3rem 0 2rem;
  color: var(--muted);
  font-size: .88rem;
}

.footer .grid-2 {
  gap: 2rem
}

.footer a {
  color: var(--ink-soft)
}

.footer a:hover {
  color: var(--burgundy)
}

.footer .tiny {
  font-size: .76rem;
  color: var(--muted);
  margin-top: 1.5rem
}

/* ---------- helpers ---------- */
.hide {
  display: none !important
}

.mono {
  font-family: var(--font-mono)
}

.muted {
  color: var(--muted)
}

/* ---------- tech bento grid ---------- */
.tech-index {
  display: block;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
}

.tech-tools {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.tech-tools span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: .2rem .52rem;
  border: 1px solid rgba(122, 31, 46, .16);
  background: rgba(122, 31, 46, .05);
  color: var(--burgundy);
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tech-bento {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 300px 280px 270px;
  gap: .75rem;
  margin-top: 2rem;
}

.tech-tile--abm { grid-row: span 2; }
.tech-tile--twin { grid-column: span 2; }

.tech-tile {
  position: relative;
  overflow: hidden;
  background: #0e060a;
}

.tech-tile-media {
  position: absolute;
  inset: 0;
}

.tech-tile-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.tech-tile:hover .tech-tile-media img {
  transform: scale(1.04);
}

.tech-tile-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(
    to top,
    rgba(8, 3, 6, .94) 0%,
    rgba(8, 3, 6, .52) 52%,
    transparent 100%
  );
  color: #F5F2EE;
}

.tech-tile-overlay .tech-index {
  color: rgba(245, 242, 238, .48);
  margin-bottom: .3rem;
}

.tech-tile-overlay h3 {
  margin: 0 0 .55rem;
  font-size: clamp(1.05rem, 1.8vw, 1.42rem);
  line-height: 1.12;
  color: #F5F2EE;
}

.tech-tile-overlay p {
  margin: 0 0 .85rem;
  color: rgba(245, 242, 238, .68);
  font-size: .88rem;
  line-height: 1.55;
}

.tech-tile-overlay .tech-tools span {
  border-color: rgba(245, 242, 238, .2);
  background: rgba(245, 242, 238, .07);
  color: rgba(245, 242, 238, .72);
}

/* ML/AI card: invert the white-bg infographic for a dark-theme look */
.tech-tile--ai {
  background: #0a0f1a;
}

.tech-tile--ai .tech-tile-media img {
  filter: invert(1) brightness(.85);
  opacity: .92;
}

/* Digital Twin full-width layout */
.tech-tile--twin {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 270px;
  position: relative;
}

.tech-tile-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  background: #0e060a;
  overflow: hidden;
  height: 100%;
}

.tech-tile-images img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.tech-tile-images img:first-child {
  grid-row: span 2;
}

.tech-tile--twin:hover .tech-tile-images img {
  transform: scale(1.04);
}

.tech-tile-twin-copy {
  background: #12080c;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #F5F2EE;
}

.tech-tile-twin-copy .tech-index {
  color: rgba(245, 242, 238, .48);
  margin-bottom: .3rem;
}

.tech-tile-twin-copy h3 {
  margin: 0 0 .65rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  color: #F5F2EE;
  line-height: 1.15;
}

.tech-tile-twin-copy p {
  margin: 0 0 1rem;
  color: rgba(245, 242, 238, .65);
  font-size: .88rem;
  line-height: 1.6;
}

.tech-tile-twin-copy .tech-tools span {
  border-color: rgba(245, 242, 238, .2);
  background: rgba(245, 242, 238, .07);
  color: rgba(245, 242, 238, .72);
}

/* tech facilities bar */
.tech-facilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.tech-facilities > div {
  border-left: 3px solid var(--burgundy);
  background: rgba(255, 253, 250, .7);
  padding: 1rem 1.1rem;
}

.tech-facilities span {
  display: block;
  margin-bottom: .45rem;
  color: var(--burgundy);
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tech-facilities strong {
  display: block;
  color: var(--ink-soft);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .tech-bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .tech-tile--abm,
  .tech-tile--twin {
    grid-row: auto;
    grid-column: auto;
  }

  .tech-tile {
    min-height: 340px;
  }

  .tech-tile--twin {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .tech-tile-images {
    min-height: 260px;
  }

  .tech-tile-twin-copy {
    padding: 1.25rem;
  }

  .tech-facilities {
    grid-template-columns: 1fr;
  }
}

.divider {
  height: 1px;
  background: var(--grid);
  margin: 2.5rem 0
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--burgundy);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}

.back-link::before {
  content: "←"
}

/* ---------- about two-column ---------- */
.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  align-items: start;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .about-two-col {
    grid-template-columns: 1fr;
  }

  .about-divider {
    display: none;
  }

  .about-col-left {
    padding-right: 0 !important;
  }

  .about-col-right {
    padding-left: 0 !important;
    margin-top: 2rem;
  }
}

/* ---------- mobile nav ---------- */
@media (max-width:820px) {
  .nav-links {
    display: none
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--grid);
    z-index: 51;
  }
}

.burger {
  display: none;
  padding: .5rem;
  color: var(--burgundy);
  font-size: 1.3rem
}

@media (max-width:820px) {
  .burger {
    display: block
  }
}

/* ---------- SEE programme topics, products, intern proposal ---------- */
.see-programme-section {
  background:
    radial-gradient(circle at 14% 12%, rgba(184, 146, 100, .18), transparent 28rem),
    linear-gradient(180deg, rgba(122, 31, 46, .04), rgba(255, 253, 250, .88));
}

.see-topic-grid,
.package-topic-grid,
.intern-grid,
.why-grid {
  display: grid;
  gap: 1rem;
}

.see-topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.4rem;
}

.see-topic-card {
  min-height: 245px;
  padding: 1.45rem;
  border: 1px solid rgba(122, 31, 46, .15);
  background: rgba(255, 253, 250, .82);
  box-shadow: 0 24px 55px -42px rgba(78, 18, 28, .45);
  position: relative;
  overflow: hidden;
}

.see-topic-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--burgundy);
}

.see-topic-card.topic-two::before {
  background: var(--gold);
}

.see-topic-card.topic-three::before {
  background: #355c7d;
}

.see-topic-card span,
.package-kicker,
.story-label,
.intern-grid article span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.see-topic-card h3 {
  margin: .7rem 0 .8rem;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.25;
}

.see-topic-card p,
.package-topic-card p,
.product-story-copy p,
.intern-grid article p,
.flagship-intro p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.research-topic-label {
  margin-top: 1.05rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(122, 31, 46, .12);
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(122, 31, 46, .72);
}

.subtopic-status-list {
  list-style: none;
  padding: 0;
  margin: .55rem 0 0;
  display: grid;
  gap: .55rem;
}

.subtopic-status-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .7rem;
  padding: .55rem .65rem;
  border: 1px solid rgba(122, 31, 46, .12);
  background: rgba(255, 255, 255, .58);
}

.subtopic-status-list strong {
  font-size: .78rem;
  line-height: 1.35;
  color: var(--ink-soft);
  font-weight: 600;
}

.subtopic-status-list em {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: .18rem .42rem;
  font-style: normal;
  font-size: .64rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: 1px solid rgba(122, 31, 46, .18);
  color: var(--muted);
  background: rgba(245, 242, 238, .78);
}

.subtopic-status-list em.is-active {
  color: #0f6b3a;
  border-color: rgba(15, 107, 58, .25);
  background: rgba(15, 107, 58, .08);
}

.subtopic-status-list em.is-next {
  color: #8a5c12;
  border-color: rgba(184, 146, 100, .35);
  background: rgba(184, 146, 100, .12);
}

.subtopic-status-list em.is-proposed {
  color: var(--burgundy);
  background: rgba(122, 31, 46, .07);
}

.programme-map-card {
  display: grid;
  grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr);
  gap: 1.25rem;
  align-items: stretch;
  margin: 1.5rem 0;
  padding: 1rem;
  border: 1px solid rgba(122, 31, 46, .14);
  background: rgba(255, 255, 255, .58);
}

.programme-map-copy {
  padding: 1.1rem;
  border-right: 1px solid rgba(122, 31, 46, .12);
}

.programme-map-copy h3 {
  margin: .35rem 0 .65rem;
  color: var(--burgundy);
  font-size: 1.25rem;
}

.programme-map-copy p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.programme-map-figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: rgba(245, 242, 238, .55);
  overflow: hidden;
}

.programme-map-figure img {
  width: 100%;
  height: 100%;
  max-height: 430px;
  object-fit: contain;
  display: block;
}

.package-topic-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.2rem 0 2rem;
}

.package-topic-card {
  padding: 1.1rem;
  border: 1px solid rgba(122, 31, 46, .15);
  background: rgba(255, 253, 250, .78);
  display: flex;
  flex-direction: column;
  min-height: 255px;
}

.package-topic-card.flagship {
  border-color: rgba(122, 31, 46, .42);
  background: linear-gradient(180deg, rgba(122, 31, 46, .08), rgba(255, 253, 250, .86));
  box-shadow: 0 22px 48px -36px rgba(78, 18, 28, .5);
}

.package-topic-card.operating {
  border-color: rgba(184, 146, 100, .38);
}

.package-topic-card.lelp {
  grid-column: span 1;
}

.package-topic-card h3 {
  margin: .4rem 0 .55rem;
  color: var(--burgundy);
  font-size: 1rem;
}

.package-topic-card p {
  font-size: .86rem;
  margin: 0 0 auto;
}

.package-topic-card div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: 1rem;
}

.package-topic-card div:last-child span,
.package-topic-card div:last-child em {
  border: 1px solid rgba(122, 31, 46, .22);
  border-radius: 999px;
  padding: .22rem .48rem;
  font-size: .68rem;
  color: var(--burgundy);
  font-style: normal;
  background: rgba(255, 255, 255, .65);
}

.package-topic-card div:last-child em {
  color: var(--ink-soft);
  border-color: rgba(184, 146, 100, .35);
}

.flagship-intro {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 1.5rem;
  align-items: end;
  padding: 1.3rem 0 1rem;
  border-top: 1px solid rgba(122, 31, 46, .14);
}

.flagship-intro h3 {
  margin: .35rem 0 0;
  color: var(--ink);
  font-size: 1.45rem;
}

.research-to-lab-flow {
  margin: 1rem 0 1.5rem;
  padding: 1.15rem;
  border: 1px solid rgba(122, 31, 46, .16);
  background:
    radial-gradient(circle at 88% 18%, rgba(67, 212, 195, .13), transparent 24rem),
    linear-gradient(135deg, rgba(9, 16, 42, .04), rgba(255, 253, 250, .88));
}

.flow-heading {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 1.4rem;
  align-items: start;
  padding: .65rem .7rem 1rem;
}

.flow-heading h3 {
  margin: .35rem 0 0;
  color: var(--burgundy);
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  line-height: 1.12;
}

.flow-heading p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.problem-statement-card {
  display: grid;
  grid-template-columns: .9fr 1.35fr;
  gap: 1.1rem;
  margin: .35rem .7rem 1rem;
  padding: clamp(1.25rem, 2.6vw, 2.1rem);
  border: 1px solid rgba(122, 31, 46, .18);
  background:
    radial-gradient(circle at 92% 10%, rgba(67, 212, 195, .10), transparent 22rem),
    linear-gradient(135deg, rgba(255, 253, 250, .96), rgba(245, 242, 238, .72));
  box-shadow: 0 30px 80px -60px rgba(78, 18, 28, .55);
}

.problem-statement-card span {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.problem-statement-card h4 {
  margin: .65rem 0 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.7vw, 2.25rem);
  line-height: 1.1;
}

.problem-ladder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
}

.problem-ladder article {
  padding: .95rem;
  border: 1px solid rgba(122, 31, 46, .13);
  background: rgba(255, 255, 255, .62);
  display: grid;
  gap: .35rem;
  position: relative;
}

.problem-ladder article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -.48rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(122, 31, 46, .55);
  z-index: 1;
}

.problem-ladder article.failure {
  border-color: rgba(67, 212, 195, .42);
  background: rgba(67, 212, 195, .08);
}

.problem-ladder b {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(122, 31, 46, .08);
  color: var(--burgundy);
  font-family: var(--font-mono);
  font-size: .75rem;
}

.problem-ladder strong {
  color: var(--ink);
  line-height: 1.25;
}

.problem-ladder em {
  color: var(--ink-soft);
  font-style: normal;
  font-size: .82rem;
  line-height: 1.45;
}

.flow-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}

.designed-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.designed-flow-card {
  display: grid;
  grid-template-rows: 215px 1fr;
  border: 1px solid rgba(122, 31, 46, .16);
  background: rgba(255, 253, 250, .88);
  box-shadow: 0 28px 70px -52px rgba(9, 16, 42, .48);
  overflow: hidden;
  min-height: 455px;
}

.designed-flow-card.text-only {
  grid-template-rows: 1fr;
  min-height: 315px;
}

.designed-flow-card.text-only .flow-content {
  justify-content: center;
}

.designed-flow-card.highlight {
  border-color: rgba(67, 212, 195, .38);
  background:
    radial-gradient(circle at 18% 50%, rgba(67, 212, 195, .10), transparent 19rem),
    rgba(255, 253, 250, .9);
}

.designed-flow-card.proposed-product {
  border-color: rgba(184, 146, 100, .42);
  background:
    radial-gradient(circle at 20% 15%, rgba(184, 146, 100, .12), transparent 18rem),
    rgba(255, 253, 250, .9);
}

.product-status-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
}

.product-status-row em,
.product-status-row strong {
  border-radius: 999px;
  padding: .3rem .58rem;
  font-size: .72rem;
  line-height: 1.2;
}

.product-status-row em {
  font-style: normal;
  background: rgba(184, 146, 100, .16);
  border: 1px solid rgba(184, 146, 100, .38);
  color: #8a5c12;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-family: var(--font-mono);
}

.product-status-row strong {
  font-weight: 500;
  color: var(--ink-soft);
  border: 1px solid rgba(122, 31, 46, .12);
  background: rgba(255, 255, 255, .6);
}

.flow-visual {
  min-height: 0;
  height: 215px;
  padding: .7rem;
  background:
    linear-gradient(135deg, rgba(245, 242, 238, .92), rgba(255, 253, 250, .98));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}

.flow-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border: 1px solid rgba(122, 31, 46, .10);
  background: rgba(255, 255, 255, .72);
}

.flow-visual.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.flow-visual.split img {
  height: 100%;
  min-width: 0;
}

.flow-content {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.flow-content span {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.flow-content h4 {
  margin: .55rem 0 .75rem;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.18;
}

.flow-content p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.58;
  font-size: .9rem;
}

.flow-step-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  border: 1px solid rgba(122, 31, 46, .14);
  background: rgba(255, 253, 250, .86);
  overflow: hidden;
  box-shadow: 0 24px 55px -44px rgba(9, 16, 42, .45);
}

.flow-step-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: .75rem;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 12% 16%, rgba(67, 212, 195, .10), transparent 15rem),
    linear-gradient(135deg, rgba(245, 242, 238, .9), rgba(255, 253, 250, .96));
}

.flow-step-card figcaption {
  padding: .9rem .95rem 1rem;
  display: grid;
  gap: .25rem;
}

.flow-step-card figcaption span {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .16em;
  color: var(--burgundy);
}

.flow-step-card figcaption strong {
  color: var(--ink);
  font-size: .96rem;
}

.flow-step-card figcaption em {
  color: var(--muted);
  font-style: normal;
  font-size: .82rem;
  line-height: 1.45;
}

.e401-zone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  margin-top: .9rem;
}

.e401-zone-grid article {
  padding: 1rem;
  border: 1px solid rgba(67, 212, 195, .25);
  background: linear-gradient(135deg, rgba(67, 212, 195, .08), rgba(255, 255, 255, .72));
}

.e401-zone-grid article:nth-child(2) {
  border-color: rgba(122, 31, 46, .14);
  background: rgba(255, 255, 255, .65);
}

.e401-zone-grid span {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.e401-zone-grid h4 {
  margin: .45rem 0 .45rem;
  color: var(--ink);
}

.e401-zone-grid p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.lab-connection-showcase {
  margin: 1rem 0 1.5rem;
  padding: 1rem;
  border: 1px solid rgba(122, 31, 46, .15);
  background:
    linear-gradient(135deg, rgba(245, 242, 238, .72), rgba(255, 253, 250, .9)),
    rgba(255, 255, 255, .72);
  overflow: hidden;
}

.showcase-copy {
  display: grid;
  grid-template-columns: .65fr 1.35fr;
  gap: 1.2rem;
  align-items: start;
  padding: .7rem .7rem 1rem;
}

.showcase-copy h3 {
  margin: .25rem 0;
  color: var(--burgundy);
  font-size: 1.35rem;
}

.showcase-copy p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.visual-slide-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, 42%);
  gap: .85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: .3rem .7rem 1rem;
}

.visual-slide-row figure {
  scroll-snap-align: start;
  margin: 0;
  min-height: 315px;
  border: 1px solid rgba(122, 31, 46, .14);
  background: rgba(255, 253, 250, .86);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.visual-slide-row img {
  width: 100%;
  height: 268px;
  object-fit: contain;
  display: block;
  padding: .75rem;
  box-sizing: border-box;
  background:
    radial-gradient(circle at 85% 15%, rgba(122, 31, 46, .06), transparent 14rem),
    linear-gradient(135deg, rgba(245, 242, 238, .88), rgba(255, 253, 250, .96));
}

.visual-slide-row figcaption {
  padding: .65rem .75rem;
  color: var(--burgundy);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.connection-flow {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  padding: .7rem;
  border-top: 1px solid rgba(122, 31, 46, .12);
}

.connection-flow span {
  border: 1px solid rgba(122, 31, 46, .18);
  border-radius: 999px;
  padding: .4rem .7rem;
  background: rgba(255, 255, 255, .72);
  color: var(--ink-soft);
  font-size: .8rem;
}

.connection-flow i {
  width: 28px;
  height: 1px;
  background: rgba(122, 31, 46, .38);
  position: relative;
}

.connection-flow i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid rgba(122, 31, 46, .5);
  border-right: 1px solid rgba(122, 31, 46, .5);
  transform: rotate(45deg);
}

.product-story {
  display: grid;
  grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
  gap: 1.25rem;
  align-items: stretch;
  margin: 1.25rem 0;
  padding: 1rem;
  border: 1px solid rgba(122, 31, 46, .16);
  background: rgba(255, 253, 250, .84);
  box-shadow: 0 30px 70px -50px rgba(78, 18, 28, .5);
}

.product-story.product-lelp {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
}

.product-story-media {
  min-height: 340px;
  background:
    linear-gradient(135deg, rgba(122, 31, 46, .07), rgba(184, 146, 100, .1)),
    rgba(245, 242, 238, .65);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-story-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-story-copy {
  padding: 1.15rem;
}

.product-story-copy h3 {
  margin: .45rem 0 .75rem;
  color: var(--burgundy);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
}

.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.why-grid div {
  padding: .95rem;
  border: 1px solid rgba(122, 31, 46, .12);
  background: rgba(255, 255, 255, .6);
}

.why-grid strong {
  color: var(--burgundy);
  font-size: .9rem;
}

.why-grid p {
  margin: .35rem 0 0;
  font-size: .84rem;
  line-height: 1.55;
}

.intern-proposal {
  margin-top: 2.2rem;
  padding: 2rem;
  border: 1px solid rgba(122, 31, 46, .14);
  background:
    linear-gradient(135deg, rgba(122, 31, 46, .07), rgba(184, 146, 100, .06)),
    rgba(255, 255, 255, .64);
}

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

.intern-grid article {
  background: rgba(255, 253, 250, .88);
  border: 1px solid rgba(122, 31, 46, .14);
  padding: 1.15rem;
}

.intern-grid article h3 {
  margin: .55rem 0 .55rem;
  color: var(--ink);
  font-size: 1rem;
}

.intern-grid article p {
  margin: 0 0 .9rem;
  font-size: .86rem;
}

.intern-grid article em {
  display: inline-flex;
  border-radius: 999px;
  padding: .25rem .55rem;
  background: rgba(122, 31, 46, .08);
  color: var(--burgundy);
  font-style: normal;
  font-size: .72rem;
}

@media (max-width: 1120px) {
  .package-topic-grid,
  .intern-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .see-topic-grid,
  .programme-map-card,
  .flagship-intro,
  .flow-heading,
  .problem-statement-card,
  .problem-ladder,
  .designed-flow-grid,
  .flow-step-grid,
  .e401-zone-grid,
  .showcase-copy,
  .product-story,
  .product-story.product-lelp,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .programme-map-copy {
    border-right: 0;
    border-bottom: 1px solid rgba(122, 31, 46, .12);
  }

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

  .flow-visual.split img {
    height: 100%;
  }

  .visual-slide-row {
    grid-auto-columns: minmax(280px, 86%);
  }
}

@media (max-width: 620px) {
  .package-topic-grid,
  .intern-grid {
    grid-template-columns: 1fr;
  }

  .intern-proposal {
    padding: 1.2rem;
  }
}
