:root {
  --navy-950: #04111f;
  --navy-900: #061a2d;
  --navy-850: #082136;
  --navy-800: #0b2a40;
  --teal-600: #0e8c72;
  --teal-500: #19b98f;
  --teal-400: #54d6b2;
  --teal-100: #ddf8ef;
  --gold-500: #d7ad55;
  --gold-300: #efd79d;
  --cream: #f6f4ec;
  --paper: #fbfaf6;
  --white: #ffffff;
  --ink: #132433;
  --muted: #64717d;
  --line: #dfe6e8;
  --shadow: 0 24px 70px rgba(4, 25, 42, 0.14);
  --shadow-soft: 0 15px 45px rgba(4, 25, 42, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1220px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--teal-400);
  color: var(--navy-950);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.section {
  padding: 110px 0;
  position: relative;
}

.section-heading {
  max-width: 690px;
}

.section-heading.centered {
  text-align: center;
  margin: 0 auto 58px;
}

.section-heading h2,
.research-intro h2,
.contact-info h2,
.audience-copy h2,
.expertise-profile h2 {
  margin: 12px 0 20px;
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.section-heading p,
.research-intro p,
.audience-copy p,
.expertise-profile > p,
.contact-info > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 650px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-600);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.section-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.section-kicker.light {
  color: var(--teal-400);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--teal-400), var(--teal-500));
  color: var(--navy-950);
  box-shadow: 0 14px 30px rgba(25, 185, 143, .25);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(25, 185, 143, .35);
}

.btn-ghost {
  color: #d9e9e4;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
}

.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.34);
}

.btn-outline {
  color: #dcece7;
  border-color: rgba(255,255,255,.25);
  background: transparent;
}

.btn-outline:hover {
  color: var(--navy-950);
  background: var(--teal-400);
  border-color: var(--teal-400);
}

.btn-outline-light {
  color: var(--white);
  border-color: rgba(255,255,255,.28);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy-950);
}

.btn-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: .88rem;
}

.btn-full {
  width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(4,17,31,.88);
  backdrop-filter: blur(18px);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 12px 35px rgba(0,0,0,.18);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  min-width: 230px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1.2rem;
  letter-spacing: .16em;
}

.brand-copy small {
  margin-top: 5px;
  color: rgba(255,255,255,.56);
  font-size: .56rem;
  letter-spacing: .07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  color: rgba(255,255,255,.72);
  font-size: .92rem;
  font-weight: 600;
  position: relative;
  transition: color .2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--teal-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}

.desktop-nav a:hover {
  color: var(--white);
}

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

.menu-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 0 52px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 20%, rgba(21,171,137,.18), transparent 32%),
    radial-gradient(circle at 85% 32%, rgba(215,173,85,.12), transparent 28%),
    linear-gradient(145deg, var(--navy-950), var(--navy-900) 52%, #092a3a 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 93%);
}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 49.9%, rgba(84,214,178,.08) 50%, transparent 50.1%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-orb-one {
  width: 420px;
  height: 420px;
  right: -180px;
  top: 100px;
  border: 1px solid rgba(84,214,178,.15);
  box-shadow: inset 0 0 80px rgba(84,214,178,.05);
}

.hero-orb-two {
  width: 250px;
  height: 250px;
  left: -80px;
  bottom: 60px;
  border: 1px solid rgba(215,173,85,.13);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: #b8d8d0;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 14px var(--teal-400);
}

.hero h1 {
  margin: 24px 0 24px;
  font-size: clamp(3rem, 5.7vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 690;
  max-width: 760px;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(120deg, var(--teal-400), var(--gold-300));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: rgba(239,248,245,.72);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.09);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-icon {
  color: var(--gold-300);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding-top: 2px;
}

.trust-item p {
  margin: 0;
  color: rgba(255,255,255,.53);
  font-size: .82rem;
  line-height: 1.55;
}

.trust-item strong {
  color: #eaf5f2;
  font-size: .88rem;
}

.hero-visual {
  position: relative;
}

.visual-frame {
  position: relative;
  min-height: 610px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)),
    rgba(4,18,31,.5);
  box-shadow: 0 35px 90px rgba(0,0,0,.35);
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.visual-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(84,214,178,.4), transparent 35%, transparent 65%, rgba(215,173,85,.28));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.visual-topline {
  position: absolute;
  top: 20px;
  left: 22px;
  right: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,.54);
  font-size: .65rem;
  letter-spacing: .13em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(84,214,178,.08);
  color: #a9ead8;
  letter-spacing: .08em;
}

.status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 8px var(--teal-400);
}

.city-network {
  width: 100%;
  height: 100%;
  min-height: 610px;
  display: block;
  animation: floatVisual 8s ease-in-out infinite;
}

@keyframes floatVisual {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.visual-metric {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(6,26,45,.88);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 35px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
}

.visual-metric span {
  color: var(--gold-300);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.visual-metric small {
  color: rgba(255,255,255,.62);
  line-height: 1.35;
  font-size: .65rem;
}

.metric-a {
  left: 18px;
  bottom: 22px;
}

.metric-b {
  right: 18px;
  bottom: 22px;
}

.hero-bottom {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 54px;
  border-top: 1px solid rgba(255,255,255,.11);
}

.hero-stat {
  padding: 28px 25px 0;
  border-right: 1px solid rgba(255,255,255,.1);
}

.hero-stat:first-child {
  padding-left: 0;
}

.hero-stat:last-child {
  border-right: 0;
}

.hero-stat strong,
.hero-stat > span {
  font-size: 2rem;
  color: #f3faf7;
  letter-spacing: -.04em;
}

.hero-stat > span {
  color: var(--teal-400);
  font-size: 1rem;
  margin-left: 2px;
}

.hero-stat p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.5);
  font-size: .78rem;
  line-height: 1.55;
  max-width: 230px;
}

.split-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;
  align-items: start;
}

.about {
  background: var(--paper);
}

.about-copy .large-copy {
  margin: 0 0 24px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.48;
  color: var(--ink);
  letter-spacing: -.02em;
}

.about-copy > p:not(.large-copy) {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.legal-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 30px;
  padding: 16px 18px;
  background: #edf8f4;
  border: 1px solid #cfece3;
  border-radius: 14px;
  color: #3d665b;
  font-size: .86rem;
}

.legal-note svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--teal-600);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 70px;
}

.value-card {
  position: relative;
  padding: 38px 34px 34px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.58);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.value-card::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(14,140,114,.16);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: #c2ddd6;
}

.value-index {
  color: var(--teal-600);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.value-card h3 {
  margin: 30px 0 12px;
  font-size: 1.3rem;
  letter-spacing: -.02em;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

.pillars {
  background: #ffffff;
}

.pillar-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.pillar-card {
  position: relative;
  min-height: 310px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: #bfded6;
}

.pillar-featured {
  grid-row: span 2;
  min-height: 640px;
  background:
    radial-gradient(circle at 85% 15%, rgba(84,214,178,.17), transparent 28%),
    linear-gradient(160deg, #effaf6, #f9f8f2 68%);
}

.pillar-featured::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  bottom: -130px;
  border-radius: 50%;
  border: 1px solid rgba(14,140,114,.14);
  box-shadow: 0 0 0 45px rgba(14,140,114,.035), 0 0 0 90px rgba(14,140,114,.02);
}

.pillar-dark {
  grid-column: 2 / span 2;
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.pillar-dark::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -40px;
  top: -70px;
  border: 1px solid rgba(84,214,178,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(84,214,178,.03), 0 0 0 80px rgba(84,214,178,.015);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e1f5ee;
  color: var(--teal-600);
}

.pillar-dark .pillar-icon {
  background: rgba(84,214,178,.1);
  color: var(--teal-400);
}

.pillar-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-label {
  display: block;
  margin-top: 25px;
  color: var(--teal-600);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.pillar-dark .card-label {
  color: var(--gold-300);
}

.pillar-card h3 {
  margin: 10px 0 14px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  max-width: 430px;
}

.pillar-featured h3 {
  font-size: clamp(2rem, 3vw, 3rem);
  max-width: 470px;
}

.pillar-card p {
  margin: 0;
  color: var(--muted);
  max-width: 570px;
}

.pillar-dark p {
  color: rgba(255,255,255,.6);
}

.pillar-card ul {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  gap: 14px;
}

.pillar-card li {
  position: relative;
  padding-left: 26px;
  color: #335449;
  font-weight: 600;
}

.pillar-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-600);
}

.text-link {
  position: absolute;
  left: 32px;
  bottom: 30px;
  color: var(--teal-600);
  font-size: .9rem;
  font-weight: 700;
}

.text-link span {
  display: inline-block;
  margin-left: 6px;
  transition: transform .2s var(--ease);
}

.text-link:hover span {
  transform: translateX(4px);
}

.tech-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.tech-tags span {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  color: #bfe9dd;
  font-size: .75rem;
}

.research-focus {
  background:
    radial-gradient(circle at 10% 10%, rgba(84,214,178,.12), transparent 30%),
    radial-gradient(circle at 90% 85%, rgba(215,173,85,.08), transparent 28%),
    var(--navy-900);
  color: var(--white);
  overflow: hidden;
}

.research-focus::before {
  content: "VIREED";
  position: absolute;
  left: -18px;
  bottom: -100px;
  color: rgba(255,255,255,.018);
  font-size: 18rem;
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: 1;
}

.research-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.research-intro {
  position: sticky;
  top: 130px;
}

.research-intro p {
  color: rgba(255,255,255,.58);
}

.research-intro .btn {
  margin-top: 30px;
}

.focus-list {
  border-top: 1px solid rgba(255,255,255,.12);
}

.focus-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: padding-left .3s var(--ease), background .3s var(--ease);
}

.focus-item:hover {
  padding-left: 12px;
}

.focus-item > span {
  color: var(--gold-300);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.focus-item h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  letter-spacing: -.02em;
}

.focus-item p {
  margin: 0;
  color: rgba(255,255,255,.5);
  font-size: .94rem;
}

.technology {
  background: var(--paper);
}

.technology-shell {
  display: grid;
  grid-template-columns: 330px 1fr;
  min-height: 600px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  border: 1px solid #e7ecec;
}

.tech-sidebar {
  padding: 32px 22px;
  background: var(--navy-900);
  color: var(--white);
}

.tech-sidebar-title {
  display: block;
  padding: 0 14px 22px;
  color: rgba(255,255,255,.4);
  font-size: .68rem;
  letter-spacing: .16em;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.tech-tab {
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 17px 14px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: rgba(255,255,255,.56);
  text-align: left;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}

.tech-tab span {
  color: var(--gold-300);
  font-size: .7rem;
  font-weight: 800;
}

.tech-tab:hover,
.tech-tab.active {
  background: rgba(84,214,178,.1);
  color: var(--white);
}

.tech-tab.active {
  transform: translateX(4px);
}

.tech-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(9,40,56,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9,40,56,.035) 1px, transparent 1px),
    #f9fbfa;
  background-size: 42px 42px;
}

.tech-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: center;
  padding: 62px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}

.tech-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.micro-label {
  color: var(--teal-600);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.tech-copy h3 {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.tech-copy > p {
  margin: 0;
  color: var(--muted);
}

.feature-checks {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.feature-checks span {
  position: relative;
  padding-left: 28px;
  color: #34554c;
  font-size: .9rem;
  font-weight: 600;
}

.feature-checks span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #dff4ed;
  box-shadow: inset 0 0 0 5px #dff4ed;
}

.feature-checks span::after {
  content: "✓";
  position: absolute;
  left: 3px;
  top: -1px;
  color: var(--teal-600);
  font-size: .8rem;
  font-weight: 800;
}

.dashboard-mock,
.content-studio-visual,
.data-visual,
.lab-visual {
  position: relative;
  min-height: 360px;
}

.dashboard-mock {
  border-radius: 24px;
  background: var(--navy-900);
  box-shadow: 0 26px 60px rgba(4,25,42,.25);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-7deg) rotateX(2deg);
}

.mock-header {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.45);
  font-size: .68rem;
}

.mock-header i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
}

.mock-header span {
  margin-left: auto;
  margin-right: auto;
}

.mock-body {
  display: grid;
  grid-template-columns: 60px 1fr;
  min-height: 314px;
}

.mock-sidebar {
  padding: 20px 15px;
  border-right: 1px solid rgba(255,255,255,.07);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mock-sidebar b {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
}

.mock-sidebar b:first-child {
  background: rgba(84,214,178,.18);
  border: 1px solid rgba(84,214,178,.35);
}

.mock-main {
  padding: 24px;
}

.mock-row-top {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 14px;
}

.mock-score,
.mock-donut {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  min-height: 120px;
}

.mock-score {
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.mock-score small {
  color: rgba(255,255,255,.4);
  font-size: .58rem;
  letter-spacing: .12em;
}

.mock-score strong {
  color: var(--white);
  font-size: 2rem;
  margin: 5px 0 auto;
}

.mock-score em {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}

.mock-score em i {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-400));
}

.mock-donut {
  display: grid;
  place-items: center;
  position: relative;
}

.mock-donut::before {
  content: "";
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: conic-gradient(var(--gold-500) 0 76%, rgba(255,255,255,.08) 76% 100%);
  -webkit-mask: radial-gradient(circle 24px at center, transparent 98%, #000 100%);
  mask: radial-gradient(circle 24px at center, transparent 98%, #000 100%);
}

.mock-donut span {
  position: absolute;
  color: var(--white);
  font-weight: 700;
}

.mock-chart {
  height: 130px;
  margin-top: 18px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 18px 16px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}

.mock-chart span {
  flex: 1;
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(180deg, var(--teal-400), rgba(84,214,178,.15));
}

.content-studio-visual {
  display: grid;
  place-items: center;
}

.video-window {
  width: 92%;
  aspect-ratio: 16/10;
  position: relative;
  border-radius: 24px;
  background:
    linear-gradient(180deg, transparent 45%, rgba(4,17,31,.8)),
    radial-gradient(circle at 65% 35%, rgba(84,214,178,.24), transparent 25%),
    linear-gradient(135deg, #0b2a40, #174b57);
  box-shadow: 0 25px 60px rgba(4,25,42,.22);
  overflow: hidden;
}

.video-window::before,
.video-window::after {
  content: "";
  position: absolute;
  bottom: 70px;
  background: rgba(84,214,178,.18);
  border: 1px solid rgba(84,214,178,.3);
}

.video-window::before {
  left: 12%;
  width: 18%;
  height: 43%;
}

.video-window::after {
  left: 35%;
  width: 32%;
  height: 63%;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-left: 4px;
  background: var(--teal-400);
  color: var(--navy-950);
  box-shadow: 0 0 0 12px rgba(84,214,178,.12);
}

.video-caption {
  position: absolute;
  left: 24px;
  bottom: 20px;
  z-index: 2;
  color: var(--white);
  font-weight: 700;
}

.content-strip {
  width: 75%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: -16px;
  z-index: 2;
}

.content-strip span {
  height: 52px;
  border-radius: 10px;
  border: 5px solid #fff;
  background: linear-gradient(135deg, #d9efe8, #9fcfc1);
  box-shadow: 0 10px 22px rgba(4,25,42,.12);
}

.data-visual {
  display: grid;
  place-items: center;
}

.data-map {
  width: 90%;
  height: 310px;
  position: relative;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 30%, rgba(84,214,178,.16), transparent 30%),
    linear-gradient(150deg, #0b2a40, #123a4a);
  box-shadow: 0 24px 60px rgba(4,25,42,.2);
  overflow: hidden;
}

.data-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.data-map::after {
  content: "";
  position: absolute;
  width: 80%;
  height: 70%;
  left: 10%;
  top: 15%;
  border-radius: 44% 56% 48% 52% / 38% 43% 57% 62%;
  border: 1px solid rgba(84,214,178,.35);
  box-shadow: inset 0 0 60px rgba(84,214,178,.05);
}

.point {
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 0 7px rgba(215,173,85,.12), 0 0 20px rgba(215,173,85,.5);
}

.p1 { left: 25%; top: 35%; }
.p2 { left: 60%; top: 25%; }
.p3 { left: 72%; top: 62%; }
.p4 { left: 43%; top: 70%; }
.p5 { left: 50%; top: 46%; background: var(--teal-400); box-shadow: 0 0 0 9px rgba(84,214,178,.14), 0 0 25px rgba(84,214,178,.5); }

.data-card {
  position: absolute;
  right: 0;
  bottom: 8px;
  width: 210px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 40px rgba(4,25,42,.2);
}

.data-card small {
  display: block;
  color: var(--teal-600);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.data-card strong {
  display: block;
  margin: 6px 0;
  color: var(--ink);
  font-size: 2rem;
}

.data-card em {
  color: var(--muted);
  font-size: .72rem;
  font-style: normal;
}

.lab-visual {
  display: grid;
  place-items: center;
}

.lab-core {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--teal-400), var(--gold-300));
  font-size: 2rem;
  font-weight: 800;
  box-shadow: 0 0 0 18px rgba(84,214,178,.1), 0 0 65px rgba(84,214,178,.3);
  position: relative;
  z-index: 2;
}

.lab-visual::before,
.lab-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(14,140,114,.23);
}

.lab-visual::before {
  width: 250px;
  height: 250px;
}

.lab-visual::after {
  width: 340px;
  height: 340px;
  border-style: dashed;
}

.orbit {
  position: absolute;
  z-index: 3;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--white);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  box-shadow: 0 10px 25px rgba(4,25,42,.18);
}

.orbit-one { top: 33px; left: 50%; transform: translateX(-50%); }
.orbit-two { left: 26px; bottom: 70px; }
.orbit-three { right: 8px; bottom: 84px; }

.leadership {
  background: #fff;
}

.leader-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  gap: 20px;
  margin-top: 52px;
}

.leader-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.leader-primary {
  background:
    radial-gradient(circle at 88% 12%, rgba(84,214,178,.14), transparent 28%),
    linear-gradient(150deg, #f0faf6, #f8f7f1);
}

.leader-avatar {
  width: 100%;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.leader-avatar::before,
.leader-avatar::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
}

.leader-avatar::before {
  width: 180px;
  height: 180px;
  right: -55px;
  top: -80px;
}

.leader-avatar::after {
  width: 110px;
  height: 110px;
  left: -35px;
  bottom: -50px;
}

.avatar-luong { background: linear-gradient(135deg, #0a3d48, #0f7e6c); }
.avatar-viet { background: linear-gradient(135deg, #0b2a40, #285c6f); }
.avatar-tuan { background: linear-gradient(135deg, #66512a, #a47e32); }

.leader-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 24px;
}

.leader-role {
  color: var(--teal-600);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.45;
}

.leader-card h3 {
  margin: 10px 0 12px;
  font-size: 1.65rem;
  line-height: 1.15;
  letter-spacing: -.03em;
}

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

.leader-tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 24px;
}

.leader-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf5f1;
  color: #42665c;
  font-size: .68rem;
  font-weight: 700;
}

.expertise {
  background: #eef4f1;
}

.expertise-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;
  align-items: center;
}

.expertise-quote {
  margin-top: 32px;
  padding: 24px 26px;
  border-left: 3px solid var(--gold-500);
  background: rgba(255,255,255,.66);
  color: #42544f;
  font-family: Georgia, serif;
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.7;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 82px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: #bdcec8;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 18px 0 24px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 77px;
  top: 30px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #bfd0ca;
  border: 3px solid #eef4f1;
  z-index: 1;
}

.timeline-item.active::before {
  background: var(--teal-500);
  box-shadow: 0 0 0 5px rgba(25,185,143,.12);
}

.timeline-item > span {
  color: var(--teal-600);
  font-size: .72rem;
  font-weight: 800;
  padding-top: 7px;
}

.timeline-item h3 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

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

.roadmap {
  background: #fff;
}

.roadmap-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 80px;
}

.roadmap-line {
  position: absolute;
  left: 11%;
  right: 11%;
  top: 29px;
  height: 2px;
  background: #dce5e2;
}

.roadmap-line i {
  display: block;
  width: 66%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal-500), var(--gold-500));
}

.roadmap-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.roadmap-node {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--teal-500);
  color: var(--teal-600);
  font-size: .82rem;
  font-weight: 800;
  box-shadow: 0 0 0 9px #f0f8f5;
}

.roadmap-step:nth-child(4) .roadmap-node {
  border-color: var(--gold-500);
  color: #a07421;
  box-shadow: 0 0 0 9px #fbf5e8;
}

.roadmap-step > span {
  color: var(--teal-600);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.roadmap-step h3 {
  margin: 10px 0 10px;
  font-size: 1.35rem;
}

.roadmap-step p {
  max-width: 310px;
  margin: 0 auto;
  color: var(--muted);
  font-size: .9rem;
}

.audience {
  padding-top: 0;
  background: #fff;
}

.audience-shell {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  padding: 70px;
  border-radius: var(--radius-xl);
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(215,173,85,.13), transparent 30%),
    radial-gradient(circle at 5% 85%, rgba(84,214,178,.13), transparent 28%),
    var(--navy-900);
  overflow: hidden;
}

.audience-copy p {
  color: rgba(255,255,255,.58);
}

.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  overflow: hidden;
}

.audience-grid div {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: rgba(4,17,31,.68);
  transition: background .25s ease;
}

.audience-grid div:hover {
  background: rgba(84,214,178,.08);
}

.audience-grid strong {
  color: var(--gold-300);
  font-size: .7rem;
  letter-spacing: .12em;
}

.audience-grid span {
  font-size: .95rem;
  line-height: 1.45;
  max-width: 190px;
}

.contact {
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(4,17,31,.98), rgba(7,35,51,.98)),
    var(--navy-950);
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(84,214,178,.08);
  right: -280px;
  top: -170px;
  box-shadow: 0 0 0 75px rgba(84,214,178,.02), 0 0 0 150px rgba(84,214,178,.01);
}

.contact-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  align-items: center;
}

.contact-info > p {
  color: rgba(255,255,255,.58);
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 38px;
}

.contact-list > a,
.contact-list > div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 15px;
  background: rgba(255,255,255,.03);
  transition: background .25s ease, border-color .25s ease;
}

.contact-list > a:hover {
  background: rgba(84,214,178,.07);
  border-color: rgba(84,214,178,.25);
}

.contact-list svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--teal-400);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-list span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-list small {
  color: rgba(255,255,255,.4);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-list strong {
  color: #eaf6f2;
  font-size: .91rem;
  font-weight: 650;
}

.contact-form {
  padding: 34px;
  border-radius: 26px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0,0,0,.32);
}

.form-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--teal-600);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.form-header i {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: block;
  margin-bottom: 15px;
}

.contact-form label > span {
  display: block;
  margin-bottom: 7px;
  color: #455763;
  font-size: .75rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dfe6e8;
  border-radius: 12px;
  background: #f9fbfa;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form input,
.contact-form select {
  height: 48px;
  padding: 0 14px;
}

.contact-form textarea {
  padding: 12px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(25,185,143,.1);
  background: #fff;
}

.form-note {
  margin: 12px 0 0;
  color: #8a969e;
  font-size: .67rem;
  text-align: center;
}

.site-footer {
  padding: 44px 0 24px;
  color: var(--white);
  background: #03101c;
  border-top: 1px solid rgba(255,255,255,.07);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 40px;
  padding-bottom: 32px;
}

.footer-brand .brand-copy small {
  font-size: .62rem;
}

.footer-top > p {
  margin: 0;
  color: rgba(255,255,255,.46);
  text-align: center;
  font-size: .82rem;
}

.back-top {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  color: var(--teal-400);
  transition: background .2s ease, color .2s ease;
}

.back-top:hover {
  background: var(--teal-400);
  color: var(--navy-950);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.34);
  font-size: .68rem;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(360px, calc(100% - 48px));
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(0,0,0,.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.toast > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e0f5ee;
  color: var(--teal-600);
  font-weight: 800;
}

.toast p {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.4;
}

.toast strong {
  color: var(--ink);
  font-size: .9rem;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(84,214,178,.06), transparent 68%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .3s ease;
}

@media (pointer: fine) {
  body:hover .cursor-glow { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

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

.reveal-delay { transition-delay: .14s; }
.reveal-delay-1 { transition-delay: .09s; }
.reveal-delay-2 { transition-delay: .18s; }
.reveal-delay-3 { transition-delay: .27s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1120px) {
  .desktop-nav {
    gap: 19px;
  }

  .header-cta {
    display: none;
  }

  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .visual-frame,
  .city-network {
    min-height: 540px;
  }

  .technology-shell {
    grid-template-columns: 285px 1fr;
  }

  .tech-panel {
    padding: 42px;
  }

  .leader-grid {
    grid-template-columns: 1.1fr .9fr;
  }

  .leader-card:last-child {
    grid-column: 1 / -1;
    min-height: auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 26px;
  }

  .leader-card:last-child .leader-avatar {
    height: 100%;
    min-height: 220px;
  }
}

@media (max-width: 920px) {
  .section {
    padding: 88px 0;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .menu-toggle span {
    width: 19px;
    height: 1.5px;
    background: var(--white);
    transition: transform .25s ease, opacity .25s ease;
  }

  .menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .mobile-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    height: calc(100vh - 84px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 24px;
    background: rgba(4,17,31,.98);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }

  .mobile-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-nav > a:not(.btn) {
    width: 100%;
    padding: 18px 0;
    color: rgba(255,255,255,.8);
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 1.1rem;
  }

  .mobile-nav .btn {
    margin-top: 28px;
    width: 100%;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-layout,
  .split-layout,
  .research-layout,
  .expertise-layout,
  .audience-shell,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 55px;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero h1 {
    max-width: 800px;
  }

  .hero-visual {
    max-width: 720px;
    margin-inline: auto;
    width: 100%;
  }

  .visual-frame,
  .city-network {
    min-height: 590px;
  }

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

  .hero-stat:nth-child(2) {
    border-right: 0;
  }

  .hero-stat:nth-child(n+3) {
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .split-layout,
  .research-layout,
  .expertise-layout,
  .contact-shell {
    gap: 50px;
  }

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

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

  .pillar-featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 480px;
  }

  .pillar-dark {
    grid-column: 1 / -1;
  }

  .research-intro {
    position: relative;
    top: auto;
  }

  .technology-shell {
    grid-template-columns: 1fr;
    min-height: 820px;
  }

  .tech-sidebar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 16px;
  }

  .tech-sidebar-title {
    grid-column: 1 / -1;
    padding: 4px 4px 14px;
  }

  .tech-tab {
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: center;
    padding: 12px 8px;
    font-size: .72rem;
  }

  .tech-tab.active {
    transform: translateY(2px);
  }

  .tech-stage {
    min-height: 680px;
  }

  .tech-panel {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 40px;
    padding: 44px;
  }

  .dashboard-mock,
  .content-studio-visual,
  .data-visual,
  .lab-visual {
    min-height: 300px;
  }

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

  .leader-card:last-child {
    grid-column: 1 / -1;
  }

  .audience-shell {
    padding: 55px;
  }

  .contact-form {
    max-width: 720px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 30px, var(--container));
  }

  .section {
    padding: 74px 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand {
    min-width: auto;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-copy small {
    display: none;
  }

  .mobile-nav {
    top: 72px;
    height: calc(100vh - 72px);
  }

  .hero {
    padding: 112px 0 40px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
    line-height: 1;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .visual-frame,
  .city-network {
    min-height: 455px;
  }

  .visual-topline {
    font-size: .5rem;
  }

  .status-pill {
    display: none;
  }

  .visual-metric {
    padding: 9px 11px;
  }

  .visual-metric span {
    font-size: 1.2rem;
  }

  .visual-metric small {
    font-size: .56rem;
  }

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

  .hero-stat,
  .hero-stat:first-child {
    padding: 20px 0;
    border-right: 0;
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .hero-stat:first-child {
    border-top: 0;
  }

  .hero-stat p {
    max-width: none;
  }

  .section-heading h2,
  .research-intro h2,
  .contact-info h2,
  .audience-copy h2,
  .expertise-profile h2 {
    font-size: clamp(2.1rem, 10vw, 3.1rem);
  }

  .values-grid {
    margin-top: 42px;
  }

  .value-card {
    padding: 30px 26px;
  }

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

  .pillar-featured,
  .pillar-dark {
    grid-column: auto;
  }

  .pillar-featured {
    min-height: 520px;
  }

  .pillar-card {
    padding: 28px;
  }

  .text-link {
    left: 28px;
  }

  .focus-item {
    grid-template-columns: 44px 1fr;
  }

  .technology-shell {
    min-height: 900px;
    border-radius: 22px;
  }

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

  .tech-tab {
    min-height: 80px;
  }

  .tech-stage {
    min-height: 730px;
  }

  .tech-panel {
    padding: 32px 24px;
  }

  .tech-copy h3 {
    font-size: 2.35rem;
  }

  .dashboard-mock {
    transform: none;
  }

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

  .leader-card:last-child {
    grid-column: auto;
    display: flex;
  }

  .leader-card:last-child .leader-avatar {
    min-height: 150px;
  }

  .timeline::before {
    left: 64px;
  }

  .timeline-item {
    grid-template-columns: 88px 1fr;
  }

  .timeline-item::before {
    left: 59px;
  }

  .roadmap-track {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 50px;
  }

  .roadmap-line {
    left: 29px;
    right: auto;
    top: 25px;
    bottom: 25px;
    width: 2px;
    height: auto;
  }

  .roadmap-line i {
    width: 100%;
    height: 66%;
    background: linear-gradient(180deg, var(--teal-500), var(--gold-500));
  }

  .roadmap-step {
    text-align: left;
    padding-left: 88px;
    min-height: 145px;
  }

  .roadmap-node {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }

  .roadmap-step p {
    margin: 0;
  }

  .audience-shell {
    padding: 38px 24px;
    gap: 42px;
    border-radius: 24px;
  }

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

  .audience-grid div {
    min-height: 118px;
  }

  .contact-form {
    padding: 26px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .footer-top > p {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   MOTION LAYER
   Scroll progress, hero network, card spotlight, section motion.
   All of it degrades to static under prefers-reduced-motion
   (see the block at the end of this section).
   ============================================================ */

/* --- Scroll progress -------------------------------------- */

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}

.scroll-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal-400), var(--gold-500));
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

/* --- Hero atmosphere -------------------------------------- */

/* Scan line sweeping the grid instead of sitting frozen at 50%. */
.hero-grid::after {
  animation: gridScan 9s var(--ease) infinite;
}

@keyframes gridScan {
  0%   { transform: translateX(-45%); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translateX(45%); opacity: 0; }
}

.hero-orb {
  /* --py is written by the scroll parallax handler in script.js. */
  transform: translateY(var(--py, 0px));
}

.hero-orb-one { animation: orbDrift 15s ease-in-out infinite; }
.hero-orb-two { animation: orbDrift 19s ease-in-out infinite reverse; }

@keyframes orbDrift {
  0%, 100% { translate: 0 0; }
  50%      { translate: -18px 22px; }
}

/* --- Hero SVG network ------------------------------------- */

.net-links path {
  animation: dashDrift 3.2s linear infinite;
}

.net-links path:nth-child(2) {
  animation-direction: reverse;
  animation-duration: 4.1s;
}

@keyframes dashDrift {
  to { stroke-dashoffset: -26; }
}

/* A short dash chasing the link path reads as a data packet in transit. */
.net-flow path {
  stroke-dasharray: 3 640;
  opacity: .9;
  animation: packetTravel 4.6s cubic-bezier(.55,0,.45,1) infinite;
}

.net-flow path:nth-child(2) {
  animation-duration: 5.8s;
  animation-delay: 1.4s;
}

@keyframes packetTravel {
  0%      { stroke-dashoffset: 640; opacity: 0; }
  10%     { opacity: .9; }
  70%     { opacity: .9; }
  85%,
  100%    { stroke-dashoffset: 0; opacity: 0; }
}

.net-nodes circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 3.4s var(--ease) infinite;
}

.net-nodes circle:nth-child(2n)  { animation-delay: .5s; }
.net-nodes circle:nth-child(3n)  { animation-delay: 1.1s; }
.net-nodes circle:nth-child(5n)  { animation-delay: 1.7s; }
.net-nodes circle:nth-child(7n)  { animation-delay: 2.3s; }

@keyframes nodePulse {
  0%, 100% { scale: 1;    opacity: .85; }
  50%      { scale: 1.32; opacity: 1; }
}

/* Towers build upward once, on load. */
.towers > path {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: towerRise 1s var(--ease) backwards;
}

.towers > path:nth-child(1) { animation-delay: .30s; }
.towers > path:nth-child(2) { animation-delay: .40s; }
.towers > path:nth-child(3) { animation-delay: .50s; }
.towers > path:nth-child(4) { animation-delay: .58s; }
.towers > path:nth-child(5) { animation-delay: .22s; }
.towers > path:nth-child(6) { animation-delay: .16s; }
.towers > path:nth-child(7) { animation-delay: .64s; }

@keyframes towerRise {
  from { scale: 1 0; opacity: 0; }
  to   { scale: 1 1; opacity: 1; }
}

.tower-windows {
  animation: windowsFade 2.6s var(--ease) 1.1s backwards, windowsFlicker 7s ease-in-out 3.6s infinite;
}

@keyframes windowsFade {
  from { opacity: 0; }
}

@keyframes windowsFlicker {
  0%, 42%, 52%, 100% { opacity: 1; }
  47%                { opacity: .55; }
}

.net-label {
  animation: labelIn .8s var(--ease) backwards;
}

.net-label:nth-child(1) { animation-delay: .85s; }
.net-label:nth-child(2) { animation-delay: 1.0s; }
.net-label:nth-child(3) { animation-delay: 1.15s; }
.net-label:nth-child(4) { animation-delay: 1.3s; }

@keyframes labelIn {
  from { opacity: 0; translate: 0 10px; }
}

.net-floor {
  animation: floorFade 1.6s ease backwards;
}

@keyframes floorFade {
  from { opacity: 0; }
}

/* Status pill in the visual header. */
.status-pill i {
  animation: statusBlink 2.2s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .35; }
}

/* --- Hero metrics ----------------------------------------- */

.visual-metric {
  animation: metricIn .9s var(--ease) backwards;
}

.metric-a { animation-delay: 1.45s; }
.metric-b { animation-delay: 1.6s; }

@keyframes metricIn {
  from { opacity: 0; scale: .9; }
}

/* --- Pointer spotlight on cards --------------------------- */
/* --mx/--my are written by the spotlight handler in script.js. */

.value-card::before,
.pillar-card::before,
.leader-card::before,
.focus-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease);
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(25,185,143,.13),
    transparent 62%
  );
}

.value-card:hover::before,
.pillar-card:hover::before,
.leader-card:hover::before,
.focus-item:hover::before {
  opacity: 1;
}

.pillar-dark::before {
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(215,173,85,.16),
    transparent 62%
  );
}

/* Keep card content above the spotlight wash. */
.value-card > *,
.pillar-card > *,
.leader-card > *,
.focus-item > * {
  position: relative;
  z-index: 1;
}

.focus-item {
  transition: transform .3s var(--ease), background .3s var(--ease), padding-left .3s var(--ease);
}

.pillar-icon {
  transition: transform .35s var(--ease), color .35s var(--ease);
}

.pillar-card:hover .pillar-icon {
  transform: translateY(-3px) scale(1.06);
}

.value-card::after {
  transition: transform .5s var(--ease), border-color .35s var(--ease);
}

.value-card:hover::after {
  transform: scale(1.5);
  border-color: rgba(14,140,114,.32);
}

.leader-avatar {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.leader-card:hover .leader-avatar {
  transform: scale(1.05) rotate(-2deg);
}

/* --- Buttons ---------------------------------------------- */

.btn {
  position: relative;
  overflow: hidden;
}

.btn > * {
  position: relative;
  z-index: 1;
}

/* Light sweep across the primary CTA on hover. */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 55%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg);
  transition: left .65s var(--ease);
}

.btn-primary:hover::after {
  left: 130%;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn svg {
  transition: transform .25s var(--ease);
}

.btn:active {
  transform: translateY(0) scale(.985);
}

.text-link span {
  display: inline-block;
  transition: transform .25s var(--ease);
}

.text-link:hover span {
  transform: translateX(4px);
}

/* --- Technology section ----------------------------------- */

.tech-panel.active .tech-copy > * {
  animation: panelIn .6s var(--ease) backwards;
}

.tech-panel.active .tech-copy > *:nth-child(1) { animation-delay: .05s; }
.tech-panel.active .tech-copy > *:nth-child(2) { animation-delay: .12s; }
.tech-panel.active .tech-copy > *:nth-child(3) { animation-delay: .19s; }
.tech-panel.active .tech-copy > *:nth-child(4) { animation-delay: .26s; }

@keyframes panelIn {
  from { opacity: 0; translate: 0 12px; }
}

.tech-tab {
  position: relative;
  overflow: hidden;
}

.tech-tab::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 0;
  background: var(--teal-400);
  transform: translateY(-50%);
  transition: height .35s var(--ease);
}

.tech-tab.active::after {
  height: 62%;
}

/* Bars grow from the baseline each time the LMS panel is opened. */
.tech-panel.active .mock-chart span {
  transform-origin: bottom;
  animation: barGrow .85s var(--ease) backwards;
}

.tech-panel.active .mock-chart span:nth-child(1) { animation-delay: .28s; }
.tech-panel.active .mock-chart span:nth-child(2) { animation-delay: .36s; }
.tech-panel.active .mock-chart span:nth-child(3) { animation-delay: .44s; }
.tech-panel.active .mock-chart span:nth-child(4) { animation-delay: .52s; }
.tech-panel.active .mock-chart span:nth-child(5) { animation-delay: .60s; }
.tech-panel.active .mock-chart span:nth-child(6) { animation-delay: .68s; }

@keyframes barGrow {
  from { transform: scaleY(0); opacity: .2; }
}

.tech-panel.active .mock-score em i {
  transform-origin: left;
  animation: barGrow2 1.1s var(--ease) .3s backwards;
}

@keyframes barGrow2 {
  from { transform: scaleX(0); }
}

.mock-header i:first-child {
  animation: statusBlink 2.8s ease-in-out infinite;
}

.tech-panel.active .mock-donut {
  animation: donutIn .9s var(--ease) .25s backwards;
}

@keyframes donutIn {
  from { opacity: 0; rotate: -35deg; scale: .85; }
}

/* Data map: points ping outward like live signals. */
.point::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid currentColor;
  color: var(--gold-300);
  opacity: 0;
  animation: ping 3s var(--ease) infinite;
}

.p5::after { color: var(--teal-400); }

.p1::after { animation-delay: 0s; }
.p2::after { animation-delay: .6s; }
.p3::after { animation-delay: 1.2s; }
.p4::after { animation-delay: 1.8s; }
.p5::after { animation-delay: 2.4s; }

@keyframes ping {
  0%       { scale: 1; opacity: .9; }
  70%, 100%{ scale: 3.6; opacity: 0; }
}

.data-map::after {
  animation: mapBreathe 9s ease-in-out infinite;
}

@keyframes mapBreathe {
  0%, 100% { scale: 1;    opacity: 1; }
  50%      { scale: 1.03; opacity: .75; }
}

.tech-panel.active .data-card {
  animation: metricIn .8s var(--ease) .3s backwards;
}

/* PropTech lab: rings and satellites orbit the AI core. */
.lab-visual::before { animation: spin 24s linear infinite; }
.lab-visual::after  { animation: spin 34s linear infinite reverse; }

@keyframes spin {
  to { rotate: 360deg; }
}

.lab-core {
  animation: corePulse 3.6s var(--ease) infinite;
}

@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(84,214,178,.35); }
  50%      { box-shadow: 0 0 0 14px rgba(84,214,178,0); }
}

.orbit {
  animation: orbitFloat 5s ease-in-out infinite;
}

.orbit-two   { animation-delay: .8s; }
.orbit-three { animation-delay: 1.6s; }

@keyframes orbitFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -9px; }
}

.play-button {
  animation: corePulse 3s var(--ease) infinite;
  transition: transform .3s var(--ease);
}

.video-window:hover .play-button {
  transform: scale(1.12);
}

.content-strip span {
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.content-strip span:hover {
  transform: translateY(-4px);
  opacity: 1;
}

/* --- Roadmap ---------------------------------------------- */

/* The connector draws itself once the track scrolls into view. */
.roadmap-track.is-visible .roadmap-line i {
  transform-origin: left;
  animation: barGrow2 1.5s var(--ease) .25s backwards;
}

.roadmap-track.is-visible .roadmap-node {
  animation: nodeIn .7s var(--ease) backwards;
}

.roadmap-step:nth-child(2) .roadmap-node { animation-delay: .45s; }
.roadmap-step:nth-child(3) .roadmap-node { animation-delay: .8s; }
.roadmap-step:nth-child(4) .roadmap-node { animation-delay: 1.15s; }

@keyframes nodeIn {
  from { opacity: 0; scale: .5; }
}

.roadmap-node {
  transition: transform .3s var(--ease);
}

.roadmap-step:hover .roadmap-node {
  transform: translateY(-4px);
}

/* --- Timeline --------------------------------------------- */

.timeline.is-visible::before {
  transform-origin: top;
  animation: lineDrawY 1.3s var(--ease) backwards;
}

@keyframes lineDrawY {
  from { transform: scaleY(0); }
}

.timeline-item {
  transition: transform .3s var(--ease);
}

.timeline-item:hover {
  transform: translateX(4px);
}

.timeline-item.active::before {
  animation: corePulse 3s var(--ease) infinite;
}

/* --- Contact form ----------------------------------------- */

.contact-form label span {
  transition: color .25s var(--ease);
}

.contact-form label:focus-within span {
  color: var(--teal-400);
}

.form-header i {
  animation: statusBlink 2.4s ease-in-out infinite;
}

.contact-list a {
  transition: transform .3s var(--ease);
}

.contact-list a:hover {
  transform: translateX(5px);
}

.back-top {
  transition: transform .3s var(--ease), background .3s var(--ease);
}

.back-top:hover {
  transform: translateY(-4px);
}

/* --- Reveal refinement ------------------------------------ */

.reveal {
  filter: blur(5px);
  transition: opacity .75s var(--ease), transform .75s var(--ease), filter .75s var(--ease);
}

.reveal.is-visible {
  filter: blur(0);
}

/* Blurring these means repainting a filtered SVG or a full dashboard mock
   every frame of the reveal — they fade and slide only. */
.hero-visual.reveal,
.technology-shell.reveal,
.audience-shell.reveal {
  filter: none;
}

/* --- Reduced motion --------------------------------------- */
/* The earlier block already forces durations to ~0. These rules
   neutralise the transforms/filters this layer introduces so the
   page still lands in its finished state. */

@media (prefers-reduced-motion: reduce) {
  .reveal { filter: none; }
  .hero-orb { transform: none; }
  .net-flow, .hero-grid::after, .point::after { display: none; }
  .towers > path,
  .net-label,
  .visual-metric,
  .tech-panel.active .tech-copy > *,
  .tech-panel.active .mock-chart span,
  .roadmap-track.is-visible .roadmap-node {
    opacity: 1;
    scale: 1;
    translate: none;
    transform: none;
  }
}

/* ============================================================
   SCROLL-DRIVEN LAYER
   Values written by the rAF scroll handler in script.js:
   --py (parallax offset), --fade, --fill, --seq.
   ============================================================ */

/* Header retracts on the way down, returns on the way up. */
.site-header {
  transition: transform .45s var(--ease), background .3s var(--ease),
              box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

/* Hero layers travel at their own depth as the section scrolls away.
   Parallax uses `translate`, not `transform`: .reveal transitions transform
   over .75s, which would smear every scroll frame. `translate` is a separate
   property with no transition on it, so it tracks the scroll exactly. */
.hero-content,
.hero-visual {
  will-change: translate;
}

.hero-content.is-visible,
.hero-visual.is-visible {
  translate: 0 var(--py, 0px);
}

/* Roadmap connector tracks the scroll position instead of firing once.
   clip-path, not scaleX: scaling squashes the teal->gold gradient into the
   drawn portion, so the gold end would ride along with the tip. Clipping keeps
   the gradient fixed to the full line and uncovers it. */
.roadmap-track.is-visible .roadmap-line i {
  width: 100%;
  clip-path: inset(0 calc((1 - var(--fill, 0)) * 100%) 0 0);
  transition: clip-path .2s linear;
  animation: none;
}

.roadmap-step .roadmap-node {
  transition: transform .4s var(--ease), background .4s var(--ease),
              color .4s var(--ease), box-shadow .4s var(--ease);
}

.roadmap-step.reached .roadmap-node {
  background: var(--teal-500);
  color: #fff;
  box-shadow: 0 0 0 9px rgba(25,185,143,.12), 0 10px 26px rgba(25,185,143,.3);
}

.roadmap-step:nth-child(4).reached .roadmap-node {
  background: var(--gold-500);
  color: #3d2c07;
  box-shadow: 0 0 0 9px rgba(215,173,85,.14), 0 10px 26px rgba(215,173,85,.32);
}

.roadmap-step > span,
.roadmap-step h3 {
  transition: color .4s var(--ease);
}

/* Sequenced entries: timeline rows, hero stats, audience cells. */
.timeline-item,
.hero-stat,
.audience-grid > div {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--seq, 0) * 110ms);
}

.timeline-item.in-view,
.hero-stat.in-view,
.audience-grid > div.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* translateX(4px) on hover would cancel the entrance transform, so the hover
   shift is re-declared on top of the settled state. */
.timeline-item.in-view:hover {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .site-header.header-hidden { transform: none; }
  .hero-content.is-visible,
  .hero-visual.is-visible { translate: none; }
  .roadmap-track.is-visible .roadmap-line i { clip-path: none; }
  .timeline-item,
  .hero-stat,
  .audience-grid > div {
    opacity: 1;
    transform: none;
  }
}

/* --- Hero headline typewriter ----------------------------- */

.type-caret {
  display: inline-block;
  width: 3px;
  height: .82em;
  margin-left: .06em;
  vertical-align: baseline;
  translate: 0 .04em;
  border-radius: 2px;
  background: var(--teal-400);
  box-shadow: 0 0 12px rgba(84,214,178,.8);
  animation: caretBlink .9s steps(1) infinite;
}

.hero h1.typed .type-caret {
  animation: caretBlink .9s steps(1) 3, caretFade .4s ease 2.7s forwards;
}

@keyframes caretBlink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes caretFade {
  to { opacity: 0; visibility: hidden; }
}
