:root {
  --surface: #f7f9f8;
  --surface-strong: #ffffff;
  --ink: #111111;
  --muted: #64748b;
  --line: #cfd5d3;
  --teal: #00bfae;
  --green: #0d7c46;
  --blue: #2e5bff;
  --mono: "JetBrains Mono", monospace;
  --display: "Hanken Grotesk", sans-serif;
  --body: "Inter", sans-serif;
}

* { box-sizing: border-box; }

html { height: 100%; scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

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

.topbar,
.deck-footer {
  position: fixed;
  z-index: 20;
  left: 0;
  width: 100%;
  display: grid;
  align-items: center;
  border-color: var(--line);
  background: rgba(247, 249, 248, 0.93);
  backdrop-filter: blur(16px);
}

.topbar {
  top: 0;
  height: 88px;
  grid-template-columns: 1fr auto 1fr;
  padding: 0 clamp(24px, 5vw, 80px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand img {
  display: block;
  width: auto;
  height: 40px;
}

.deck-nav { display: flex; gap: 32px; }
.deck-nav a,
.contact-button,
.microcopy,
.deck-footer,
.eyebrow,
.board-label,
.card-index,
.model-duration,
.visual-label,
.terminal-card { font-family: var(--mono); }

.deck-nav a {
  position: relative;
  padding: 10px 0;
  color: #343938;
  font-size: 14px;
}

.deck-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--ink);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.deck-nav a:hover,
.deck-nav a.is-active { color: var(--ink); }
.deck-nav a:hover::after,
.deck-nav a.is-active::after { transform: scaleX(1); }

.contact-button {
  justify-self: end;
  padding: 13px 22px;
  border: 1px solid var(--green);
  border-radius: 3px;
  color: white;
  background: var(--green);
  font-size: 13px;
  transition: color 180ms ease, background 180ms ease;
}

.contact-button:hover { color: white; background: #0a6b3c; }

.deck {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.ambient {
  position: absolute;
  z-index: -1;
  width: min(52vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  pointer-events: none;
  transition: transform 800ms ease;
}

.ambient-teal { top: 17%; left: 15%; background: var(--teal); }
.ambient-blue { right: 8%; bottom: 4%; background: var(--blue); }

.slide {
  position: absolute;
  inset: 88px 0 72px;
  overflow: auto;
  padding: clamp(36px, 5vw, 76px) clamp(24px, 7.5vw, 120px);
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 320ms ease, transform 420ms ease;
}

.slide::before {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

#shift::before,
#why-valens::before {
  top: 9%;
  right: 5%;
  width: min(34vw, 500px);
  height: min(34vw, 500px);
  border: 1px solid rgba(46,91,255,0.1);
  background: repeating-linear-gradient(90deg, transparent 0 31px, rgba(46,91,255,0.05) 31px 32px), repeating-linear-gradient(0deg, transparent 0 31px, rgba(13,124,70,0.04) 31px 32px);
  transform: rotate(7deg);
}

#problem::before {
  right: 18%;
  bottom: 8%;
  width: 220px;
  height: 220px;
  border: 42px solid rgba(46,91,255,0.035);
  border-radius: 50%;
}

#capabilities::before,
#use-cases::before,
#featured-clients::before,
#industries::before {
  top: 5%;
  right: 7%;
  width: 260px;
  height: 90px;
  border-top: 1px solid rgba(46,91,255,0.15);
  border-right: 1px solid rgba(46,91,255,0.15);
}

.slide.is-active { opacity: 1; transform: translateX(0); }
.slide.is-leaving { opacity: 0; transform: translateX(-28px); }

.slide-grid {
  width: min(1300px, 100%);
  min-height: 100%;
  margin: 0 auto;
  display: grid;
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}

.intro-grid,
.action-grid { grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); }
.content-grid { grid-template-columns: minmax(280px, 0.72fr) minmax(500px, 1.28fr); }
.process-grid,
.impact-grid { grid-template-columns: minmax(300px, 0.8fr) minmax(540px, 1.2fr); }
.split-grid,
.bridge-grid { grid-template-columns: minmax(360px, 0.95fr) minmax(480px, 1.05fr); }
.wide-grid { grid-template-rows: auto 1fr; align-content: center; gap: clamp(28px, 4vw, 52px); }
#capabilities .wide-grid { gap: clamp(22px, 3vw, 44px); }

.eyebrow {
  margin: 0 0 26px;
  color: #46607e;
  font-size: 13px;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 { margin-top: 0; font-family: var(--display); }

h1,
h2 {
  max-width: 830px;
  margin-bottom: 28px;
  font-size: clamp(46px, 5.5vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h2 { font-size: clamp(42px, 4.6vw, 70px); }

.gradient-text {
  color: var(--green);
  background: linear-gradient(100deg, var(--green), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  max-width: 690px;
  margin: 0;
  color: #3d4342;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
}

.intro-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
}

.primary-button,
.gradient-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 3px;
  color: white;
  background: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
}

.primary-button span,
.gradient-button span { font-size: 20px; transition: transform 180ms ease; }
.primary-button:hover span,
.gradient-button:hover span { transform: translateX(4px); }
.microcopy { color: var(--muted); font-size: 11px; letter-spacing: 0.04em; }

.system-visual {
  position: relative;
  width: min(42vw, 560px);
  aspect-ratio: 1;
  justify-self: end;
  overflow: visible;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.visual-label { position: absolute; top: 0; right: 0; color: var(--muted); font-size: 11px; }
/* Redesigned Cover Visual Styles */
.system-scanner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 191, 174, 0.4), var(--teal), rgba(0, 191, 174, 0.4), transparent);
  z-index: 5;
  pointer-events: none;
  animation: scan 5s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% { top: 0%; opacity: 0; }
  5%, 95% { opacity: 0.8; }
  50% { top: 100%; opacity: 0.8; }
}

.tech-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.25;
}

.t-line {
  position: absolute;
  background: var(--line);
}

.t-line-h {
  top: 50%;
  left: 5%;
  right: 5%;
  height: 1px;
}

.t-line-v {
  left: 50%;
  top: 5%;
  bottom: 5%;
  width: 1px;
}

.t-line-d1, .t-line-d2 {
  top: 15%;
  bottom: 15%;
  left: 50%;
  width: 1px;
  transform-origin: center;
}

.t-line-d1 {
  transform: rotate(45deg);
}

.t-line-d2 {
  transform: rotate(-45deg);
}

/* 3D Orbit Structure */
.sys-orbit-wrapper {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform-style: preserve-3d;
}

.outer-wrapper {
  transform: rotateX(60deg) rotateY(15deg);
}

.middle-wrapper {
  transform: rotateX(50deg) rotateY(-10deg);
}

.inner-wrapper {
  transform: rotateX(65deg) rotateY(-25deg);
}

.sys-orbit {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 50%;
  pointer-events: none;
  transform-style: preserve-3d;
}

.sys-orbit-outer {
  border: 1.5px solid rgba(46, 91, 255, 0.22);
  box-shadow: 0 0 15px rgba(46, 91, 255, 0.04), inset 0 0 15px rgba(46, 91, 255, 0.04);
  animation: orbit-spin-clockwise 32s linear infinite;
}

.sys-orbit-middle {
  border: 1px dashed rgba(13, 124, 70, 0.22);
  box-shadow: 0 0 12px rgba(13, 124, 70, 0.03), inset 0 0 12px rgba(13, 124, 70, 0.03);
  animation: orbit-spin-counter 26s linear infinite;
}

.sys-orbit-inner {
  border: 1.5px dashed rgba(0, 191, 174, 0.35);
  box-shadow: 0 0 10px rgba(0, 191, 174, 0.05), inset 0 0 10px rgba(0, 191, 174, 0.05);
  animation: orbit-spin-clockwise 20s linear infinite;
}

@keyframes orbit-spin-clockwise {
  from { transform: rotateZ(0deg); }
  to { transform: rotateZ(360deg); }
}

@keyframes orbit-spin-counter {
  from { transform: rotateZ(0deg); }
  to { transform: rotateZ(-360deg); }
}

.sys-satellite {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform-style: preserve-3d;
}

.sat-blue {
  top: -5px;
  left: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
}

.sat-teal {
  bottom: -5px;
  right: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px var(--teal);
}

.sat-green {
  top: -5px;
  left: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.sat-ink {
  top: -5px;
  left: 50%;
  background: var(--ink);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.hologram-core {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58%;
  animation: float 6s ease-in-out infinite;
}

.core-glow-layer {
  position: absolute;
  inset: -15%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 191, 174, 0.16) 0%, rgba(46, 91, 255, 0.09) 50%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

/* Concentric HUD compass rings behind logo */
.core-hud-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.core-hud-ring-1 {
  inset: -6%;
  border: 1px dashed rgba(0, 191, 174, 0.22);
  animation: hud-rotate-clockwise 45s linear infinite;
}

.core-hud-ring-2 {
  inset: -14%;
  border: 1px dotted rgba(46, 91, 255, 0.16);
  animation: hud-rotate-counter 65s linear infinite;
}

@keyframes hud-rotate-clockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hud-rotate-counter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.core-logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
}

.core-logo-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(15, 23, 42, 0.06));
}

.sys-node {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  z-index: 5;
}

.sys-node-a { top: 10%; left: 49%; background: var(--ink); }
.sys-node-b { right: 8%; bottom: 30%; background: var(--blue); }
.sys-node-c { bottom: 10%; left: 24%; background: var(--teal); }
.sys-node-d { top: 35%; left: 8%; background: var(--muted); }


.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid currentColor;
  transform: translate(-50%, -50%);
  transform-origin: center;
  animation: ring-expand 2.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.sys-node-b .pulse-ring { color: var(--blue); }
.sys-node-c .pulse-ring { color: var(--teal); }

@keyframes float {
  0%, 100% { transform: translate(-50%, -52%); }
  50% { transform: translate(-50%, -48%); }
}

@keyframes ring-expand {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(2.8); opacity: 0; }
}

.section-heading { align-self: center; }
.section-heading h2 { font-size: clamp(42px, 4.3vw, 68px); }
.compact-heading { align-self: end; }
.compact-heading .eyebrow { margin-bottom: 16px; }
.compact-heading h2 { max-width: none; margin-bottom: 0; font-size: clamp(38px, 4vw, 62px); }

/* Statement panel — structured dark/light card */
.statement-panel { max-width: 720px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }

.statement-header {
  position: relative;
  padding: clamp(26px, 3.2vw, 44px) clamp(28px, 3.5vw, 48px);
  background: var(--ink);
  overflow: hidden;
}
.statement-header::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,0.032) 39px 40px),
    repeating-linear-gradient(0deg,  transparent 0 39px, rgba(255,255,255,0.032) 39px 40px);
}
.statement-header::after {
  position: absolute;
  right: clamp(28px, 3.5vw, 48px);
  bottom: clamp(26px, 3.2vw, 44px);
  width: 44px;
  height: 44px;
  content: "";
  border-right: 1px solid rgba(0,191,174,0.45);
  border-bottom: 1px solid rgba(0,191,174,0.45);
}
.statement-header .gradient-text {
  background-image: linear-gradient(100deg, var(--teal), var(--blue));
}
.statement-header .statement {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-family: var(--display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 600;
  line-height: 1.38;
}

.statement-body {
  padding: clamp(22px, 2.8vw, 38px) clamp(28px, 3.5vw, 48px) 0;
  background: rgba(255,255,255,0.72);
}
.statement-body > p { margin: 0; color: #4d5553; font-size: 16px; line-height: 1.72; }

.pillar-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: clamp(18px, 2.2vw, 28px) calc(clamp(28px, 3.5vw, 48px) * -1) 0;
  border-top: 1px solid var(--line);
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px 20px 20px;
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
}
.pillar:last-child { border-right: none; }
.pillar > i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0,191,174,0.12); }
.pillar-two > i { background: var(--blue); box-shadow: 0 0 0 4px rgba(46,91,255,0.1); }
.pillar-three > i { background: var(--green); box-shadow: 0 0 0 4px rgba(13,124,70,0.1); }
.pillar > span { color: #536a86; font-family: var(--mono); font-size: 8px; letter-spacing: 0.07em; text-transform: uppercase; }
.pillar > strong { font-family: var(--display); font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--ink); }

.capability-list { border-top: 1px solid var(--line); }
.capability-list div { display: grid; grid-template-columns: 34px 1fr 116px; align-items: center; gap: 14px; min-height: 72px; border-bottom: 1px solid var(--line); }
.capability-list > div > span {
  position: relative;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(46,91,255,0.45);
  transform: rotate(45deg);
}
.capability-list > div > span::after { position: absolute; inset: 3px; content: ""; background: linear-gradient(135deg, var(--teal), var(--blue)); }
.capability-list i { display: block; width: var(--signal); height: 2px; justify-self: end; background: linear-gradient(90deg, rgba(13,124,70,0.25), var(--blue)); transform-origin: right; }
.capability-list small { display: block; margin-top: 5px; color: #536a86; font-family: var(--mono); font-size: 8px; font-weight: 400; letter-spacing: 0.06em; }
.issue-grid span,
.use-case-grid span,
.industry-grid span,
.why-list span { color: var(--green); font-family: var(--mono); font-size: 10px; }
.capability-list p { margin: 0; font-family: var(--display); font-size: clamp(20px, 1.8vw, 27px); font-weight: 600; }

.issue-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.issue-grid article { position: relative; min-height: 118px; padding: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,255,255,0.65); }
.issue-grid article:nth-child(2),
.issue-grid article:nth-child(5) { transform: translateY(10px); }
.issue-grid article::after { position: absolute; right: -32px; bottom: -32px; width: 88px; height: 88px; border: 1px solid rgba(46,91,255,0.15); border-radius: 50%; content: ""; }
.issue-grid article > div { display: flex; align-items: center; gap: 9px; }
.issue-grid article i { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; box-shadow: 0 0 0 5px rgba(100,116,139,0.08); }
.issue-grid article:nth-child(3) i,
.issue-grid article:nth-child(4) i { background: var(--teal); }
.issue-grid article.accent-card i { background: var(--blue); }
.issue-grid article small { color: #536a86; font-family: var(--mono); font-size: 8px; letter-spacing: 0.06em; }
.issue-grid p { margin: 25px 0 0; max-width: 250px; font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.25; }

.bridge-visual { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: stretch; border: 1px solid var(--line); background: rgba(255,255,255,0.62); }
.bridge-side,
.bridge-core { display: flex; min-height: 330px; padding: 28px 22px; flex-direction: column; justify-content: space-between; }
.bridge-side span,
.bridge-core small { color: #536a86; font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; }
.bridge-side strong { font-family: var(--display); font-size: clamp(20px, 1.8vw, 26px); line-height: 1.6; }
.bridge-core { position: relative; color: white; background: linear-gradient(145deg, var(--green), var(--blue)); }
.bridge-core strong { font-family: var(--mono); font-size: clamp(14px, 1.3vw, 19px); font-weight: 500; line-height: 1.55; }
.bridge-core small { color: rgba(255,255,255,0.72); }
.bridge-core i { width: 10px; height: 10px; border-radius: 50%; background: white; box-shadow: 0 0 0 8px rgba(255,255,255,0.12); }
.bridge-visual > p { grid-column: 1 / -1; margin: 0; padding: 18px 22px; border-top: 1px solid var(--line); color: #4d5553; font-family: var(--mono); font-size: 10px; text-align: center; }

.card-stack { display: grid; gap: 14px; }
.quad-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-self: stretch; }
#capabilities .quad-grid { align-self: start; }
.technical-card {
  position: relative;
  padding: 26px 28px;
  border: 1px solid #d8dddb;
  border-radius: 6px;
  background: rgba(255,255,255,0.74);
}
#capabilities .quad-grid .technical-card {
  display: flex;
  min-height: clamp(340px, 39vh, 520px);
  padding: 28px 30px 24px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(203,213,225,0.95);
  border-radius: 13px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 14px 34px rgba(15,23,42,0.035);
}
#capabilities .quad-grid .technical-card h3 {
  max-width: 190px;
  margin: 30px 0 14px;
  color: #0f172a;
  font-size: clamp(23px, 1.75vw, 30px);
  line-height: 1.14;
  letter-spacing: -0.035em;
}
#capabilities .quad-grid .technical-card p {
  max-width: 245px;
  flex: 1 1 auto;
  color: #506482;
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.5;
}
.capability-card { overflow: hidden; }
#capabilities .capability-card::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; content: ""; background: transparent; }
#capabilities .capability-card:nth-child(2)::before { background: rgba(0,191,174,0.72); }
#capabilities .capability-card:nth-child(3)::before { background: rgba(99,102,241,0.82); }
#capabilities .capability-card:nth-child(4)::before { background: rgba(46,91,255,0.78); }
#capabilities .quad-grid .systems-card {
  border-color: rgba(99,102,241,0.2);
  background: rgba(238,242,255,0.58);
}
#capabilities .card-glyph {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-top: 0;
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 5px;
  background: rgba(248,250,252,0.85);
  color: #0f172a;
}
#capabilities .systems-card .card-glyph {
  border-color: rgba(99,102,241,0.28);
  background: rgba(255,255,255,0.88);
  color: #6366f1;
}
.card-glyph::before,
.card-glyph::after { position: absolute; content: ""; }
#capabilities .card-glyph::before,
#capabilities .card-glyph::after { display: none; }
#capabilities .card-glyph .icon-mask {
  display: block;
  width: 37px;
  height: 37px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
#capabilities .workflow-card .card-glyph { color: var(--teal); }
#capabilities .delivery-card .card-glyph { color: var(--green); }

.technical-card h3 { margin-bottom: 8px; font-size: 24px; }
.technical-card p { max-width: 610px; margin: 0; color: #4d5553; line-height: 1.55; }
#capabilities .card-index { position: absolute; top: 36px; right: 30px; color: #94a3b8; font-size: 10px; letter-spacing: 0.14em; }
#capabilities .systems-card .card-index { color: #6366f1; }
.accent-card { border-color: rgba(46,91,255,0.36); background: linear-gradient(110deg, rgba(13,124,70,0.06), rgba(46,91,255,0.08)); }
#capabilities .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 22px; }
#capabilities .tag-row span {
  padding: 6px 11px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  color: #53647d;
  background: rgba(248,250,252,0.74);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#capabilities .systems-card .tag-row span { border-color: rgba(99,102,241,0.18); background: rgba(255,255,255,0.72); }

.model-list { border-top: 1px solid var(--line); }
.model-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 142px;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}
.model-row:hover,
.model-row.is-highlighted { background: rgba(255,255,255,0.68); }
.model-row.is-highlighted { box-shadow: inset 3px 0 var(--green); }
.model-number { color: var(--green); font-family: var(--mono); font-size: 13px; }
.model-row h3 { margin-bottom: 7px; font-size: 29px; }
.model-row p { margin: 0; color: #4d5553; line-height: 1.5; }
.model-duration { color: var(--muted); font-size: 10px; letter-spacing: 0.05em; }

.use-case-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.use-case-grid article { position: relative; display: flex; min-height: 112px; padding: 18px; overflow: hidden; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.58); }
.use-case-grid strong { max-width: 220px; font-family: var(--display); font-size: 17px; line-height: 1.25; }
.use-case-grid .use-case-wide { grid-column: span 2; background: linear-gradient(110deg, rgba(13,124,70,0.06), rgba(46,91,255,0.08)); }
.use-case-grid i { position: absolute; right: 14px; bottom: 14px; width: 28px; height: 28px; border-right: 1px solid rgba(46,91,255,0.26); border-bottom: 1px solid rgba(46,91,255,0.26); transition: width 180ms ease, height 180ms ease; }
.use-case-grid article:nth-child(3n + 2) i { border-color: rgba(0,191,174,0.45); transform: rotate(45deg); }
.use-case-grid article:hover i { width: 40px; height: 40px; }

/* Redesigned Use Cases Layout */
.use-cases-layout {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 28px;
}

#use-cases .compact-heading {
  align-self: start;
}

/* Use Case Cards Grid */
.use-cases-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  overflow-y: auto;
  padding-bottom: 12px;
  max-height: calc(100vh - 210px);
}

/* Scrollbar styling for the grid container */
.use-cases-grid-container::-webkit-scrollbar {
  width: 6px;
}
.use-cases-grid-container::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.02);
}
.use-cases-grid-container::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.1);
  border-radius: 3px;
}

/* Redesigned Card Component */
.use-case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 110px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  overflow: hidden;
}

/* Glassmorphism styling when active/focused */
.use-case-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
  opacity: 0;
  transition: opacity 300ms ease;
  z-index: 0;
  pointer-events: none;
}

/* Glow Border & Drop Shadow */
.use-case-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(46, 91, 255, 0.06), 0 2px 4px rgba(46, 91, 255, 0.02);
}

.use-case-card:hover::before {
  opacity: 1;
}

/* Custom Grid wide element */
.use-case-card-wide {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(13, 124, 70, 0.02), rgba(46, 91, 255, 0.04));
  border-color: rgba(46, 91, 255, 0.2);
}

.use-case-card-wide:hover {
  border-color: var(--blue);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 245, 255, 0.95));
}

/* Card Header */
.uc-card-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 12px;
}

.uc-card-cat {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.uc-card-badge {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(13, 124, 70, 0.08);
  color: var(--green);
}

.use-case-card[data-category="workflows"] .uc-card-badge {
  background: rgba(13, 124, 70, 0.08);
  color: var(--green);
}

.use-case-card[data-category="systems"] .uc-card-badge {
  background: rgba(0, 191, 174, 0.08);
  color: var(--teal);
}

/* Card Visual/SVG Area */
.uc-card-visual {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 64px;
  height: 64px;
  opacity: 0.15;
  transition: all 300ms ease;
  pointer-events: none;
  z-index: 0;
}

.use-case-card:hover .uc-card-visual {
  opacity: 0.85;
  transform: scale(1.1) rotate(2deg);
}

.uc-icon {
  width: 100%;
  height: 100%;
}

.uc-svg-stroke {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 300ms ease;
}

.use-case-card:hover .uc-svg-stroke {
  stroke: var(--green);
}

.use-case-card[data-category="workflows"]:hover .uc-svg-stroke {
  stroke: var(--green);
}

.use-case-card[data-category="systems"]:hover .uc-svg-stroke {
  stroke: var(--teal);
}

.uc-svg-fill {
  fill: var(--muted);
  transition: fill 300ms ease;
}

.uc-svg-fill-teal { fill: none; stroke: var(--teal); stroke-width: 1.5; }
.uc-svg-fill-blue { fill: none; stroke: var(--blue); stroke-width: 1.5; }
.uc-svg-fill-ink { fill: none; stroke: var(--ink); stroke-width: 1.5; }

.use-case-card:hover .uc-svg-fill {
  fill: var(--blue);
}

/* SVG Animations on Hover */
@keyframes dash {
  to {
    stroke-dashoffset: -20;
  }
}

.uc-svg-dash {
  stroke-dasharray: 4 3;
}

.use-case-card:hover .uc-svg-dash {
  animation: dash 1s linear infinite;
}

@keyframes pulse-scale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.use-case-card:hover .uc-svg-pulse {
  transform-origin: center;
  animation: pulse-scale 1.5s ease-in-out infinite;
}

/* Card Content */
.uc-card-content {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  margin-top: 4px;
}

.uc-card-content h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px 0;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.uc-card-content p {
  font-family: var(--body);
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
  max-width: 90%;
}

.use-case-card:hover .uc-card-content p {
  color: #3d4f5c;
}



/* Card Filtering Animations */
.fade-in {
  animation: cardFadeIn 300ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-out {
  animation: cardFadeOut 250ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cardFadeOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.service-grid span { position: relative; min-height: 74px; padding: 24px 18px 20px 42px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 18px; font-weight: 600; }
.service-grid span::before { position: absolute; top: 31px; left: 17px; width: 7px; height: 7px; border-radius: 50%; content: ""; background: linear-gradient(135deg, var(--teal), var(--blue)); }

.client-grid { grid-template-rows: auto 1fr; align-content: center; gap: clamp(20px, 2.2vw, 28px); }
.client-grid .compact-heading h2 { font-size: clamp(34px, 3.35vw, 50px); }
.client-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 18px;
  align-items: stretch;
}
.client-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.client-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-height: 136px;
  padding: 15px 17px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255,255,255,0.68);
}
.client-card::before {
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(46,91,255,0.12);
  border-radius: 50%;
  content: "";
}
.client-card::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--line);
}
.relin-card::after { background: linear-gradient(90deg, var(--green), var(--blue)); }
.bank-card::after { background: #f3c300; }
.revenue-card::after { background: var(--teal); }
.ip-card::after { background: var(--blue); }
.client-logo,
.client-mark {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 220px);
  height: 38px;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.06em;
}
.client-logo { overflow: visible; padding: 0; }
.client-logo img:not(.favicon-logo) { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.client-logo .favicon-logo {
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  border-radius: 7px;
  object-fit: contain;
}
.client-logo strong {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: -0.04em;
}
.client-logo-image {
  width: 92px;
  height: 58px;
  overflow: hidden;
  border-radius: 4px;
  background: #101720;
}
.client-logo.client-logo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.relin-card .client-mark { color: white; background: linear-gradient(145deg, var(--green), var(--blue)); }
.bank-card .client-mark { border-color: rgba(243,195,0,0.45); background: linear-gradient(145deg, #fff7cc, #ffffff); }
.revenue-card .client-mark { color: var(--green); border-color: rgba(0,191,174,0.35); }
.ip-card .client-mark { color: var(--green); }
.client-card h3 { margin: 0 0 6px; font-size: 21px; }
.client-card p { margin: 0; color: #4d5553; font-size: 12px; line-height: 1.34; }
.client-card h3,
.client-card p { position: relative; z-index: 1; }
.products-panel {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(46,91,255,0.24);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(13,124,70,0.08), rgba(46,91,255,0.1));
}
.products-panel::before {
  position: absolute;
  top: -42px;
  right: -42px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(46,91,255,0.18);
  border-radius: 50%;
  content: "";
}
.products-panel .board-label { margin-bottom: 4px; }
.products-panel article {
  position: relative;
  padding: 10px 14px 12px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 5px;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(12px);
}
.products-panel article::before {
  position: absolute;
  top: 16px;
  right: 14px;
  width: 24px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--teal), var(--blue));
}
.products-panel article img {
  display: block;
  width: min(148px, 72%);
  height: 20px;
  margin-bottom: 6px;
  object-fit: contain;
  object-position: left center;
}
.products-panel article img.product-icon {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 27px;
  height: 27px;
  margin: 0;
  object-fit: contain;
}
.products-panel span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.products-panel p { margin: 0; color: #4d5553; font-size: 10.8px; line-height: 1.28; }

.process-flow { position: relative; margin: 0; padding: 0; list-style: none; }
.process-flow::before { position: absolute; top: 9%; bottom: 9%; left: 20px; width: 1px; content: ""; background: linear-gradient(var(--teal), var(--blue)); }
.process-flow li { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 26px; align-items: center; min-height: 112px; }
.process-flow li > span { z-index: 1; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--muted); font-family: var(--mono); font-size: 10px; }
.process-flow li:nth-child(2) > span,
.process-flow li:nth-child(3) > span { color: white; border-color: transparent; background: linear-gradient(135deg, var(--green), var(--blue)); }
.process-flow h3 { margin-bottom: 5px; font-size: 25px; }
.process-flow p { margin: 0; color: var(--muted); }
.five-step li { min-height: 88px; }
.five-step h3 { font-size: 22px; }

.control-panel { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: rgba(255,255,255,0.66); }
.control-panel div { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; min-height: 61px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.control-panel div:last-child { border-bottom: 0; }
.control-panel span { font-family: var(--display); font-size: 17px; font-weight: 600; }
.control-panel small { color: #536a86; font-family: var(--mono); font-size: 9px; }
.status-on { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 5px rgba(0,191,174,0.1); }

.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.metric-grid article { display: flex; min-height: 190px; padding: 24px; flex-direction: column; justify-content: flex-end; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.58); }
.metric-grid .metric-primary { color: white; background: linear-gradient(145deg, var(--green), var(--blue)); }
.metric-grid strong { font-family: var(--display); font-size: clamp(48px, 5vw, 76px); line-height: 1; letter-spacing: -0.05em; }
.metric-grid span { margin-top: 10px; font-family: var(--mono); font-size: 10px; text-transform: uppercase; }
.metric-grid small { margin-top: 8px; color: var(--muted); font-family: var(--mono); font-size: 8px; }

.industry-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.industry-grid article { position: relative; min-height: 116px; padding: 18px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.56); }
.industry-grid h3 { margin: 26px 0 0; font-size: 19px; }
.industry-grid i { position: absolute; right: 20px; bottom: 20px; width: 34px; height: 1px; background: linear-gradient(90deg, var(--teal), var(--blue)); }
.industry-grid i::after { position: absolute; top: -3px; right: 0; width: 7px; height: 7px; border-radius: 50%; content: ""; background: var(--blue); }
.industry-grid article:nth-child(even) i { width: 56px; }

.environment-stack { display: grid; gap: 12px; }
.environment-stack article { position: relative; padding: 26px 28px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,0.68); }
.environment-stack h3 { margin-bottom: 8px; font-size: 24px; }
.environment-stack p { max-width: 650px; margin: 0; color: #4d5553; line-height: 1.55; }

.positioning-line { max-width: 580px; margin: 34px 0 0; padding: 22px 0 0 24px; border-top: 1px solid var(--line); border-left: 3px solid var(--blue); color: #3d4342; font-size: 17px; line-height: 1.6; }
.why-list { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.why-list div { display: grid; grid-template-columns: 34px 1fr; align-items: center; min-height: 86px; padding: 12px; border-bottom: 1px solid var(--line); }
.why-list p { margin: 0; font-family: var(--display); font-size: 17px; font-weight: 600; line-height: 1.25; }
.capability-network { position: relative; }
.capability-network::after { position: absolute; top: 10%; bottom: 10%; left: calc(50% - 1px); width: 1px; content: ""; background: linear-gradient(transparent, rgba(46,91,255,0.35), transparent); }
.capability-network div { position: relative; }
.capability-network div > span { width: 9px; height: 9px; border: 1px solid var(--blue); border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 5px rgba(46,91,255,0.06); }
.capability-network div:nth-child(3n) > span { border-color: var(--teal); background: var(--teal); }
.capability-network div:nth-child(4n) > span { border-radius: 0; transform: rotate(45deg); }

.impact-board { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: rgba(255,255,255,0.62); }
.impact-board article { min-height: 350px; padding: 28px 24px; border-right: 1px solid var(--line); }
.impact-board article:last-child { border-right: 0; }
.signal { display: block; width: 11px; height: 11px; margin-bottom: 110px; border-radius: 50%; box-shadow: 0 0 0 7px rgba(0,0,0,0.03); }
.signal-green { background: var(--teal); }
.signal-blue { background: var(--blue); }
.signal-dark { background: var(--ink); }
.board-label { margin: 0 0 10px; color: #536a86; font-size: 10px; letter-spacing: 0.06em; }
.impact-board h3 { margin-bottom: 10px; font-size: 26px; }
.impact-board article > p:last-child { margin: 0; color: #4d5553; line-height: 1.55; }

.action-panel { max-width: 680px; margin-top: 38px; padding: 28px; border: 1px solid white; border-radius: 8px; background: rgba(255,255,255,0.75); backdrop-filter: blur(16px); }
.next-step { display: flex; align-items: center; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.next-step p { margin: 0; font-family: var(--mono); font-size: 13px; }
.next-step .board-label { margin-bottom: 6px; font-size: 10px; }
.flag-icon { position: relative; width: 18px; height: 18px; border-top: 2px solid var(--teal); border-left: 2px solid var(--teal); }
.flag-icon::after { position: absolute; top: 3px; left: 5px; width: 11px; height: 7px; border: 2px solid var(--teal); border-left: 0; content: ""; }
.action-links { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; }
.email-link,
.website-link { font-family: var(--mono); font-size: 13px; }
.website-link { color: var(--green); }
.action-links .gradient-button { margin-left: auto; }
.gradient-button { background: linear-gradient(100deg, var(--green), var(--blue)); }

.terminal-card { position: relative; justify-self: end; width: min(100%, 350px); padding: 30px; border: 1px solid #ccd2d0; border-radius: 6px; background: rgba(255,255,255,0.9); box-shadow: 22px 22px 0 rgba(46,91,255,0.05); }
.terminal-label { position: absolute; top: 12px; right: 16px; margin: 0; color: #536a86; font-size: 10px; }
.terminal-icon { display: grid; width: 44px; height: 44px; margin-bottom: 38px; place-items: center; border: 1px solid var(--teal); border-radius: 50%; color: var(--teal); }
.code-lines { display: grid; gap: 11px; }
.code-lines span { height: 8px; border-radius: 2px; background: #e7eae9; }
.code-lines span:nth-child(2) { width: 76%; }
.code-lines span:nth-child(3) { width: 84%; }
.terminal-copy { display: grid; gap: 6px; }
.terminal-copy span { margin-top: 12px; color: #536a86; font-size: 9px; }
.terminal-copy strong { font-size: 12px; font-weight: 500; }
.terminal-status { display: flex; align-items: center; justify-content: space-between; margin-top: 34px; padding-top: 20px; border-top: 1px solid #e0e4e2; color: #536a86; font-size: 9px; }
.terminal-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: pulse 1.5s ease-in-out infinite; }

.deck-footer {
  bottom: 0;
  height: 72px;
  grid-template-columns: 1fr auto 1fr;
  padding: 0 clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.footer-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  align-self: center;
  justify-self: start;
  gap: 14px;
}
.footer-brand strong { font-family: var(--display); }
.footer-brand img { width: auto; height: 28px; }
.footer-brand span { color: #4d5553; line-height: 1; }
.deck-controls { display: flex; align-items: center; gap: 12px; }
.icon-button,
.fullscreen-button { border: 0; background: transparent; cursor: pointer; }
.icon-button { display: grid; width: 30px; height: 30px; place-items: center; font-size: 17px; }
.icon-button:disabled { opacity: 0.25; cursor: default; }
.icon-button,
.fullscreen-button,
.slide-counter { color: #536a86; }
.fullscreen-button { margin-left: 6px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.04em; }
.progress-track { width: 96px; height: 2px; overflow: hidden; background: #d6dcda; }
.progress-track span { display: block; width: 6.667%; height: 100%; background: linear-gradient(90deg, var(--green), var(--blue)); transition: width 280ms ease; }
.slide-counter { justify-self: end; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: 0.25; transform: scale(0.8); } }
@keyframes signal-in { from { transform: scaleX(0); opacity: 0; } }
@keyframes fade-up-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes pill-pop-in { from { opacity: 0; transform: translateY(8px) scale(0.92); } }
@keyframes panel-slide-in { from { opacity: 0; transform: translateY(10px); } }

.slide.is-active .signal-map i { animation: signal-in 620ms ease both; }
.slide.is-active .signal-map div:nth-child(2) i { animation-delay: 60ms; }
.slide.is-active .signal-map div:nth-child(3) i { animation-delay: 120ms; }
.slide.is-active .signal-map div:nth-child(4) i { animation-delay: 180ms; }
.slide.is-active .signal-map div:nth-child(5) i { animation-delay: 240ms; }
.slide.is-active .signal-map div:nth-child(6) i { animation-delay: 300ms; }

/* Who We Are — animated entrance */
#who-we-are.is-active .section-heading .eyebrow { animation: fade-up-in 400ms ease both; }
#who-we-are.is-active .section-heading h2 { animation: fade-up-in 480ms ease 80ms both; }
#who-we-are.is-active .statement-header { animation: panel-slide-in 480ms ease both; }
#who-we-are.is-active .statement-header .statement { animation: fade-up-in 500ms ease 100ms both; }
#who-we-are.is-active .statement-body { animation: fade-up-in 480ms ease 200ms both; }
#who-we-are.is-active .pillar { animation: pill-pop-in 340ms ease both; }
#who-we-are.is-active .pillar:nth-child(1) { animation-delay: 300ms; }
#who-we-are.is-active .pillar:nth-child(2) { animation-delay: 390ms; }
#who-we-are.is-active .pillar:nth-child(3) { animation-delay: 480ms; }

/* Pulsing dots on pillars */
#who-we-are.is-active .pillar > i { animation: pulse 2.8s ease-in-out infinite; }
#who-we-are.is-active .pillar:nth-child(2) > i { animation-delay: 0.9s; }
#who-we-are.is-active .pillar:nth-child(3) > i { animation-delay: 1.8s; }
/* Redesigned Industries Layout */
.industries-layout {
  /* Inherits from .content-grid: Left section-heading, Right industry-cards-container */
}

.industry-cards-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  max-height: calc(100vh - 260px);
  overflow-y: auto;
  padding-bottom: 24px;
}

.industry-cards-container::-webkit-scrollbar {
  width: 6px;
}
.industry-cards-container::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.02);
}
.industry-cards-container::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.1);
  border-radius: 3px;
}

.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 124px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  overflow: hidden;
}

.industry-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.25));
  opacity: 0;
  transition: opacity 300ms ease;
  z-index: 0;
  pointer-events: none;
}

.industry-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 20px rgba(0, 191, 174, 0.05), 0 2px 4px rgba(0, 191, 174, 0.02);
}

.industry-card:hover::before {
  opacity: 1;
}

.ind-card-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.ind-card-cat {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.ind-icon {
  width: 28px;
  height: 28px;
  opacity: 0.45;
  transition: all 300ms ease;
}

.industry-card:hover .ind-icon {
  opacity: 0.95;
  transform: scale(1.1);
}

.ind-svg-stroke {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 300ms ease;
}

.industry-card:hover .ind-svg-stroke {
  stroke: var(--teal);
}

.industry-card:nth-child(even):hover .ind-svg-stroke {
  stroke: var(--green);
}

.ind-svg-fill {
  fill: var(--muted);
  transition: fill 300ms ease;
}

.industry-card:hover .ind-svg-fill {
  fill: var(--teal);
}

.industry-card:nth-child(even):hover .ind-svg-fill {
  fill: var(--green);
}

.industry-card:hover .ind-svg-pulse {
  transform-origin: center;
  animation: pulse-node 1.5s ease-in-out infinite;
}

.ind-svg-dash {
  stroke-dasharray: 4 2;
}
.industry-card:hover .ind-svg-dash {
  animation: dash 1s linear infinite;
}

.ind-card-content {
  position: relative;
  z-index: 1;
}

.ind-card-content h3 {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.ind-card-content p {
  font-family: var(--body);
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

.industry-card:hover .ind-card-content p {
  color: #3d4f5c;
}

@keyframes pulse-node {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
}

@media (max-width: 900px) {
  .topbar { height: 72px; grid-template-columns: 1fr auto; }
  .deck-nav { display: none; }
  .brand { font-size: 25px; }
  .contact-button { padding: 10px 15px; }
  .slide { inset: 72px 0 62px; padding-top: 44px; padding-bottom: 44px; }
  .intro-grid,
  .action-grid,
  .content-grid,
  .client-showcase,
  .process-grid,
  .impact-grid,
  .split-grid,
  .bridge-grid { grid-template-columns: 1fr; align-content: center; gap: 42px; }
  .system-visual { display: none; }
  .card-stack { grid-template-columns: repeat(3, 1fr); }
  .quad-grid { grid-template-columns: repeat(2, 1fr); }
  .client-panel { grid-template-columns: repeat(2, 1fr); }
  .client-card { min-height: 170px; }
  .quad-grid .technical-card { min-height: 230px; }
  .use-case-grid { grid-template-columns: repeat(3, 1fr); }
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .metric-grid article { min-height: 155px; }
  .bridge-visual { max-width: 720px; }
  .capability-network::after { display: none; }
  .technical-card { min-height: 230px; padding: 22px 18px; }
  .technical-card h3 { padding-right: 20px; font-size: 21px; }
  .impact-board article { min-height: 280px; }
  .signal { margin-bottom: 60px; }
  .terminal-card { display: none; }
  .deck-footer { height: 62px; grid-template-columns: 1fr auto; }
  .footer-brand span,
  .fullscreen-button { display: none; }
  .deck-controls { display: none; }
  .use-cases-header { flex-direction: column; align-items: flex-start; gap: 14px; }
  .use-cases-grid-container { grid-template-columns: repeat(2, 1fr); max-height: none; }
  .use-case-card { min-height: auto; }
  .industry-cards-container { max-height: none; }
}

@media (max-width: 640px) {
  .slide { padding-right: 24px; padding-left: 24px; }
  h1, h2 { font-size: clamp(38px, 12vw, 54px); }
  .eyebrow { margin-bottom: 18px; }
  .lead { font-size: 16px; }
  .intro-actions { align-items: flex-start; flex-direction: column; gap: 14px; margin-top: 28px; }
  .card-stack { grid-template-columns: 1fr; }
  .quad-grid,
  .client-panel,
  .issue-grid,
  .service-grid,
  .industry-grid,
  .why-list { grid-template-columns: 1fr; }
  .use-case-grid { grid-template-columns: repeat(2, 1fr); }
  .client-card { grid-template-columns: 58px 1fr; min-height: 0; padding: 18px; }
  .client-mark,
  .client-logo { width: min(100%, 160px); height: 36px; font-size: 18px; }
  .client-logo-image { width: 112px; height: 44px; }
  .client-card h3 { font-size: 21px; }
  .client-card p,
  .products-panel p { font-size: 13px; }
  .products-panel { padding: 18px; }
  .products-panel span { font-size: 21px; }
  .use-case-grid .use-case-wide { grid-column: span 2; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-grid article { min-height: 140px; }
  .bridge-visual { grid-template-columns: 1fr; }
  .bridge-side,
  .bridge-core { min-height: 180px; }
  .bridge-visual > p { grid-column: auto; }
  .capability-list div { grid-template-columns: 28px 1fr 70px; }
  .issue-grid article:nth-child(2),
  .issue-grid article:nth-child(5) { transform: none; }
  .technical-card { min-height: 0; }
  .model-row { grid-template-columns: 34px 1fr; gap: 14px; min-height: 126px; padding: 18px 10px; }
  .model-duration { display: none; }
  .impact-board { grid-template-columns: 1fr; }
  .impact-board article { min-height: 0; padding: 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .impact-board article:last-child { border-bottom: 0; }
  .signal { margin-bottom: 24px; }
  .action-panel { padding: 22px; }
  .action-links { align-items: stretch; flex-direction: column; }
  .action-links .gradient-button { margin-left: 0; }
  .email-link { padding: 5px 0; }
  .website-link { padding: 5px 0; }
  .gradient-button { width: 100%; }
  .footer-brand { font-size: 10px; }
  .use-cases-grid-container { grid-template-columns: 1fr; }
  .use-case-card-wide { grid-column: span 1; }
  .industry-cards-container { grid-template-columns: 1fr; }
}

@media (max-height: 780px) and (min-width: 901px) {
  .slide { padding-top: 32px; padding-bottom: 32px; }
  h1, h2 { margin-bottom: 20px; }
  .eyebrow { margin-bottom: 16px; }
  .lead { font-size: 17px; line-height: 1.5; }
  .slide-grid { gap: 48px; }
  .client-grid { gap: 18px; }
  .client-showcase { gap: 14px; }
  .client-panel { gap: 12px; }
  .quad-grid .technical-card { min-height: 245px; }
  .quad-grid .technical-card h3 { margin-top: 22px; }
  .use-case-grid article { min-height: 88px; padding: 14px; }
  .metric-grid article { min-height: 150px; }
  .model-row { min-height: 112px; padding: 18px 22px; }
  .client-card { min-height: 150px; padding: 16px; }
  .client-card h3 { font-size: 22px; }
  .client-card p,
  .products-panel p { font-size: 13.5px; line-height: 1.28; }
  .products-panel article { padding: 12px 14px; }
  .five-step li { min-height: 76px; }
  .control-panel div { min-height: 51px; }
  .industry-grid article { min-height: 92px; }
  .industry-grid h3 { margin-top: 16px; }
  .environment-stack article { padding: 19px 24px; }
  .why-list div { min-height: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media print {
  @page {
    size: 16in 9in;
    margin: 0;
  }

  /* Hide headers, footers, navigation controls, and glowing background decorations */
  .topbar,
  .deck-footer,
  .fullscreen-button,
  .deck-controls,
  .ambient,
  .visual-label {
    display: none !important;
  }

  body {
    background: #f8faf9 !important;
    color: #111111 !important;
    overflow: visible !important;
    height: auto !important;
  }

  .deck {
    height: auto !important;
    overflow: visible !important;
  }

  /* Make each slide render as a separate printed page */
  .slide {
    position: relative !important;
    inset: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    page-break-after: always !important;
    break-after: page !important;
    height: 100vh !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .slide[hidden] {
    display: block !important;
  }

  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}
