:root {
  --void: #04070b;
  --deep: #071018;
  --ink: #101722;
  --panel: rgba(12, 20, 30, 0.82);
  --panel-solid: #111b27;
  --paper: #f4f7f8;
  --paper-soft: #e8eef2;
  --text: #f8fbff;
  --dark-text: #101722;
  --muted: #9ca8b8;
  --muted-strong: #cbd5df;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --dark-line: rgba(16, 23, 34, 0.16);
  --coral: #fb7d76;
  --teal: #79c7bb;
  --lavender: #9696c9;
  --electric: #dbfff8;
  --shadow: 0 32px 120px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  letter-spacing: 0;
  background:
    linear-gradient(rgba(121, 199, 187, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 150, 201, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, var(--void), #07101a 44%, #0d161f);
  background-size: 72px 72px, 72px 72px, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 44%, rgba(251, 125, 118, 0.08) 44% 44.35%, transparent 44.35%),
    linear-gradient(62deg, transparent 0 62%, rgba(121, 199, 187, 0.08) 62% 62.32%, transparent 62.32%),
    radial-gradient(ellipse at 78% 6%, rgba(121, 199, 187, 0.12), transparent 34%);
}

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

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

main > section {
  position: relative;
  scroll-margin-top: 124px;
}

.js main > section.reveal-section {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(8px);
  transition:
    opacity 700ms ease,
    transform 700ms ease,
    filter 700ms ease;
}

.js main > section.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

main > section.section-focus {
  animation: sectionFocus 1100ms ease both;
}

main > section.section-focus::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(100deg, transparent 0 36%, rgba(121, 199, 187, 0.16) 47%, rgba(251, 125, 118, 0.12) 54%, transparent 66%),
    linear-gradient(90deg, transparent, rgba(219, 255, 248, 0.18), transparent);
  mix-blend-mode: screen;
  animation: sectionSweep 1100ms ease both;
}

body.is-navigating .site-header::before {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--coral), var(--teal), transparent);
  animation: headerSweep 900ms ease both;
}

@keyframes sectionFocus {
  0% {
    transform: translateY(14px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes sectionSweep {
  0% {
    opacity: 0;
    transform: translateX(-42%);
  }
  28% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(42%);
  }
}

@keyframes headerSweep {
  0% {
    opacity: 0;
    transform: translateX(-35%);
  }
  28% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(35%);
  }
}

.site-header {
  position: fixed;
  top: 16px;
  left: clamp(14px, 4vw, 54px);
  right: clamp(14px, 4vw, 54px);
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 78px;
  padding: 10px 14px;
  color: var(--dark-text);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.96), rgba(232, 242, 240, 0.92) 52%, rgba(237, 236, 248, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 22px 90px rgba(0, 0, 0, 0.34);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  backdrop-filter: blur(22px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--lavender), var(--teal));
}

.logo-plate {
  display: inline-flex;
  align-items: center;
  width: clamp(210px, 18vw, 286px);
  height: 58px;
  padding: 0;
}

.logo-plate img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 32px);
  color: rgba(16, 23, 34, 0.82);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding: 9px 0;
  transition: color 180ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--teal));
  transition: right 180ms ease;
}

.nav a:hover::after {
  right: 0;
}

.nav a.is-current {
  color: #05070b;
}

.nav a.is-current::after {
  right: 0;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-action {
  min-width: 96px;
  color: var(--text);
  background: #101722;
  border-color: rgba(16, 23, 34, 0.92);
}

.header-action:hover {
  transform: translateY(-1px);
  background: #182433;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 454px);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: 150px clamp(18px, 5vw, 72px) 56px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 7, 11, 0.94) 0%, rgba(4, 7, 11, 0.82) 42%, rgba(4, 7, 11, 0.38) 76%, rgba(4, 7, 11, 0.72) 100%),
    linear-gradient(180deg, rgba(4, 7, 11, 0.22), rgba(4, 7, 11, 0.9));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.12) contrast(1.12);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.5;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, #000, transparent 86%);
}

.hero-scan {
  position: absolute;
  left: -20%;
  right: -20%;
  top: 33%;
  height: 2px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, var(--coral), var(--teal), transparent);
  opacity: 0.76;
  animation: scan 5.2s ease-in-out infinite;
}

@keyframes scan {
  0%, 100% {
    transform: translateY(-180px) rotate(-8deg);
    opacity: 0.18;
  }
  50% {
    transform: translateY(220px) rotate(-8deg);
    opacity: 0.86;
  }
}

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

.eyebrow,
.section-kicker,
.mini-label {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.75vw, 82px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-text {
  max-width: 760px;
  color: var(--muted-strong);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button.primary {
  color: #071010;
  border-color: var(--teal);
  background: linear-gradient(90deg, var(--teal), var(--electric));
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

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

.command-panel {
  align-self: center;
  padding: 24px;
  border: 1px solid rgba(121, 199, 187, 0.36);
  background:
    linear-gradient(135deg, rgba(121, 199, 187, 0.13), rgba(150, 150, 201, 0.07)),
    rgba(5, 9, 14, 0.74);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
  backdrop-filter: blur(22px);
}

.panel-label {
  margin-bottom: 28px;
  color: var(--lavender);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.signal-row {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-row span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.signal-row strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.protocol-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(4, 7, 11, 0.88);
}

.protocol-strip div {
  position: relative;
  min-height: 154px;
  padding: 28px clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.protocol-strip div::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--teal), var(--lavender));
  transform: translateX(-74%);
  transition: transform 180ms ease;
}

.protocol-strip div:hover::after {
  transform: translateX(0);
}

.protocol-strip span {
  display: block;
  margin-bottom: 42px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
}

.protocol-strip strong {
  display: block;
  max-width: 260px;
  font-size: 19px;
  line-height: 1.3;
}

.framework-section,
.open-model-section,
.methodology-section,
.architecture-section,
.process-section,
.kiosk-section,
.research-section,
.team-section,
.office-section,
.leadership-section,
.contact-section {
  padding: clamp(82px, 11vw, 152px) clamp(18px, 5vw, 72px);
}

.section-intro {
  display: grid;
  grid-template-columns: 0.34fr minmax(0, 1fr);
  gap: clamp(28px, 6vw, 92px);
  margin-bottom: clamp(42px, 6vw, 76px);
}

.section-intro.compact {
  grid-template-columns: 1fr;
  max-width: 1050px;
}

.section-intro.has-visual {
  grid-template-columns: minmax(150px, 0.26fr) minmax(0, 0.9fr) minmax(230px, 0.34fr);
  align-items: center;
}

.section-intro.compact.has-visual {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.48fr);
}

.section-intro.has-visual .section-kicker {
  align-self: start;
}

.section-intro.compact.has-visual .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.scope-diagram {
  position: relative;
  min-height: 230px;
  border: 1px solid rgba(121, 199, 187, 0.2);
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, rgba(121, 199, 187, 0.08), rgba(150, 150, 201, 0.055));
  background-size: 28px 28px, 28px 28px, auto;
  overflow: hidden;
  opacity: 0.9;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
}

.scope-diagram::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(219, 255, 248, 0.16);
  transform: rotate(45deg);
}

.scope-diagram::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 36%, rgba(219, 255, 248, 0.14) 48%, transparent 62%);
  animation: scopeSweep 5.8s ease-in-out infinite;
}

@keyframes scopeSweep {
  0%, 100% {
    opacity: 0;
    transform: translateX(-45%);
  }
  45% {
    opacity: 0.75;
  }
  70% {
    opacity: 0;
    transform: translateX(45%);
  }
}

.agent-scope .scope-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 118px;
  height: 118px;
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
  border: 1px solid rgba(219, 255, 248, 0.42);
  background: rgba(7, 13, 19, 0.84);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  transform: translate(-50%, -50%);
}

.agent-scope .scope-dot {
  position: absolute;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 22px rgba(121, 199, 187, 0.58);
}

.agent-scope .d1 { left: 20%; top: 28%; background: var(--coral); }
.agent-scope .d2 { right: 18%; top: 34%; }
.agent-scope .d3 { left: 48%; bottom: 18%; background: var(--lavender); }

.agent-scope .scope-line {
  position: absolute;
  left: 22%;
  right: 18%;
  top: 48%;
  height: 1px;
  background: linear-gradient(90deg, var(--coral), var(--teal), var(--lavender));
  opacity: 0.55;
}

.agent-scope .l2 {
  transform: rotate(56deg);
}

.model-scope {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-content: center;
  padding: 28px;
}

.model-scope span,
.model-scope strong,
.method-scope span,
.modernization-scope span {
  position: relative;
  z-index: 2;
}

.model-scope span,
.model-scope strong {
  min-height: 42px;
  display: grid;
  place-items: center;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(4, 7, 11, 0.5);
}

.model-scope strong {
  grid-column: span 2;
  color: #071010;
  background: linear-gradient(90deg, var(--teal), var(--electric));
}

.method-scope {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 24px;
}

.method-scope span {
  min-height: 31px;
  display: flex;
  align-items: center;
  padding-left: 16px;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  border-left: 3px solid var(--teal);
  background: linear-gradient(90deg, rgba(121, 199, 187, 0.14), transparent);
}

.method-scope span:nth-child(2) { border-left-color: var(--lavender); }
.method-scope span:nth-child(3) { border-left-color: var(--coral); }
.method-scope span:nth-child(4) { border-left-color: var(--teal); }
.method-scope span:nth-child(5) { border-left-color: var(--lavender); }

.modernization-scope {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  gap: 16px;
  padding: 28px;
}

.modernization-scope .legacy-block,
.modernization-scope .ai-block {
  min-height: 88px;
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(4, 7, 11, 0.56);
}

.modernization-scope .ai-block {
  color: #071010;
  border-color: rgba(121, 199, 187, 0.55);
  background: linear-gradient(90deg, var(--teal), var(--electric));
}

.modernization-scope .bridge-line {
  height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--teal));
  box-shadow: 0 0 18px rgba(121, 199, 187, 0.46);
}

.modernization-scope .pulse {
  position: absolute;
  z-index: 2;
  width: 24px;
  height: 24px;
  border: 1px solid var(--teal);
  transform: rotate(45deg);
}

.modernization-scope .p1 { left: 40%; top: 34%; }
.modernization-scope .p2 { right: 32%; bottom: 30%; border-color: var(--coral); }

.section-intro h2,
.framework-section h2,
.methodology-section h2,
.process-copy h2,
.kiosk-copy h2,
.leader-copy h2,
.contact-section h2 {
  margin-bottom: 0;
  max-width: 1080px;
  font-size: clamp(32px, 4.65vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.framework-section {
  position: relative;
  overflow: hidden;
}

.framework-section::before {
  content: "";
  position: absolute;
  inset: 8% 0 auto auto;
  width: 42%;
  height: 76%;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(121, 199, 187, 0.12), transparent 46%),
    linear-gradient(45deg, transparent 30%, rgba(150, 150, 201, 0.13) 30.2%, transparent 30.4%);
}

.framework-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(420px, 0.94fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.framework-copy {
  max-width: 720px;
}

.framework-copy p,
.process-copy p,
.kiosk-copy p,
.leader-copy p,
.system-node p,
.research-track p,
.site-footer p {
  color: var(--muted);
  line-height: 1.72;
}

.framework-copy p,
.process-copy p,
.kiosk-copy p,
.leader-copy p {
  font-size: 18px;
}

.framework-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.framework-points span {
  padding: 14px 15px;
  color: var(--muted-strong);
  border: 1px solid rgba(121, 199, 187, 0.24);
  background: rgba(255, 255, 255, 0.045);
}

.agentic-diagram {
  position: relative;
  min-height: 540px;
  border: 1px solid rgba(121, 199, 187, 0.26);
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, rgba(121, 199, 187, 0.1), rgba(150, 150, 201, 0.06)),
    rgba(7, 13, 19, 0.82);
  background-size: 42px 42px, 42px 42px, auto, auto;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 42px), calc(100% - 42px) 100%, 0 100%);
  box-shadow: var(--shadow);
}

.agentic-diagram::before,
.agentic-diagram::after {
  content: "";
  position: absolute;
  inset: 74px;
  border: 1px solid rgba(121, 199, 187, 0.32);
  transform: rotate(45deg);
}

.agentic-diagram::after {
  inset: 132px;
  border-color: rgba(251, 125, 118, 0.24);
  transform: rotate(-45deg);
}

.diagram-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 190px;
  min-height: 154px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 26px;
  text-align: center;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(121, 199, 187, 0.28), rgba(150, 150, 201, 0.16)),
    #0d1721;
  border: 1px solid rgba(219, 255, 248, 0.42);
  transform: translate(-50%, -50%) rotate(45deg);
}

.diagram-core span,
.diagram-core strong {
  display: block;
  transform: rotate(-45deg);
}

.diagram-core span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.13em;
}

.diagram-core strong {
  margin-top: 8px;
  font-size: 21px;
  line-height: 1.1;
}

.diagram-node {
  position: absolute;
  z-index: 3;
  min-width: 128px;
  padding: 13px 16px;
  text-align: center;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 9, 14, 0.82);
}

.node-a { left: 50%; top: 38px; transform: translateX(-50%); }
.node-b { right: 42px; top: 150px; }
.node-c { right: 54px; bottom: 124px; }
.node-d { left: 50%; bottom: 38px; transform: translateX(-50%); }
.node-e { left: 42px; bottom: 124px; }
.node-f { left: 42px; top: 150px; }

.model-ecosystem {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
  margin-top: 54px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
}

.model-ecosystem h3 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.08;
}

.model-badges {
  display: grid;
  grid-template-columns: repeat(5, minmax(92px, 1fr));
  gap: 12px;
}

.model-badge {
  display: grid;
  min-height: 82px;
  place-items: center;
  padding: 14px;
  color: var(--text);
  font-size: clamp(16px, 1.35vw, 22px);
  font-weight: 950;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
    rgba(4, 7, 11, 0.62);
}

.model-badge.gpt { border-color: rgba(121, 199, 187, 0.5); }
.model-badge.kimi { border-color: rgba(150, 150, 201, 0.55); }
.model-badge.glm { border-color: rgba(251, 125, 118, 0.48); }
.model-badge.qwen { border-color: rgba(219, 255, 248, 0.45); }
.model-badge.flux { border-color: rgba(255, 255, 255, 0.34); }

.open-model-section {
  position: relative;
  background:
    linear-gradient(135deg, rgba(121, 199, 187, 0.09), transparent 34%),
    linear-gradient(225deg, rgba(251, 125, 118, 0.08), transparent 42%),
    rgba(4, 7, 11, 0.94);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.open-model-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.36;
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 58px 58px;
}

.open-model-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: linear-gradient(90deg, rgba(251, 125, 118, 0.46), rgba(121, 199, 187, 0.48), rgba(150, 150, 201, 0.46));
}

.model-strategy-card {
  min-height: 292px;
  padding: clamp(24px, 3.2vw, 40px);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018)),
    #101923;
}

.model-strategy-card.lead-card {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(121, 199, 187, 0.16), rgba(150, 150, 201, 0.08)),
    #0d1721;
}

.model-strategy-card span,
.office-card span {
  display: block;
  margin-bottom: 54px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.model-strategy-card h3,
.office-card h3 {
  margin-bottom: 16px;
  color: var(--text);
  font-size: 25px;
  line-height: 1.12;
}

.model-strategy-card p {
  color: var(--muted);
  line-height: 1.68;
}

.model-assurance {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
}

.model-assurance div {
  min-height: 170px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.model-assurance strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 20px;
}

.model-assurance p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.methodology-section {
  background:
    linear-gradient(180deg, rgba(4, 7, 11, 0.92), rgba(8, 17, 25, 0.96)),
    linear-gradient(rgba(121, 199, 187, 0.055) 1px, transparent 1px);
}

.method-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: linear-gradient(90deg, var(--coral), var(--teal), var(--lavender));
}

.method-board article {
  position: relative;
  min-height: 390px;
  padding: clamp(24px, 3vw, 38px);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.07), transparent 44%),
    var(--panel-solid);
  overflow: hidden;
}

.method-board article::after {
  content: "";
  position: absolute;
  top: 32px;
  right: -32px;
  width: 94px;
  height: 94px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: rotate(45deg);
}

.method-board span,
.process-rail span {
  display: inline-flex;
  margin-bottom: 74px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.method-board h3,
.system-node h3,
.research-track h3 {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 26px;
  line-height: 1.1;
}

.method-board p {
  color: var(--muted);
  line-height: 1.68;
}

.architecture-section {
  position: relative;
}

.system-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.system-map::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, var(--coral), var(--teal), var(--lavender));
  opacity: 0.66;
}

.system-node {
  position: relative;
  min-height: 390px;
  padding: clamp(26px, 3.6vw, 44px);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    var(--panel-solid);
  overflow: hidden;
}

.system-node::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  opacity: 0.35;
  transform: rotate(45deg);
}

.system-node.legacy { color: var(--coral); }
.system-node.ai { color: var(--teal); }
.system-node.product { color: var(--lavender); }
.system-node.edge { color: #e6f7f4; }

.system-node span,
.research-track span {
  display: block;
  margin-bottom: 82px;
  color: currentColor;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.52fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
  background: var(--paper-soft);
  color: var(--dark-text);
}

.process-section .section-kicker {
  color: #367d72;
}

.process-copy p {
  max-width: 560px;
  color: #54606f;
}

.process-rail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(16, 23, 34, 0.18);
}

.process-rail div {
  position: relative;
  min-height: 190px;
  padding: 24px;
  color: var(--dark-text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(244, 247, 248, 0.84));
  overflow: hidden;
}

.process-rail div::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 68px;
  height: 1px;
  background: linear-gradient(90deg, var(--coral), var(--teal));
}

.process-rail span {
  margin-bottom: 32px;
  color: #367d72;
}

.process-rail strong {
  display: block;
  margin-bottom: 8px;
  font-size: 21px;
  line-height: 1.12;
}

.process-rail p {
  margin: 0;
  color: #626d7b;
  line-height: 1.55;
}

.kiosk-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(330px, 0.78fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(4, 7, 11, 0.94), rgba(4, 7, 11, 0.72)),
    url("assets/ansyl-ai-kiosk-modernization-hero.png") center / cover;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.kiosk-copy p {
  max-width: 720px;
}

.kiosk-console {
  border: 1px solid rgba(121, 199, 187, 0.35);
  background: rgba(7, 12, 17, 0.86);
  box-shadow: var(--shadow);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
  overflow: hidden;
}

.console-header {
  display: flex;
  gap: 9px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.console-header span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}

.console-header span:nth-child(2) { background: var(--teal); }
.console-header span:nth-child(3) { background: var(--lavender); }

.console-lines {
  padding: 30px;
}

.console-lines p {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  margin: 0;
  padding: 16px 0;
  color: var(--muted-strong);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.console-lines p:last-child {
  border-bottom: 0;
}

.console-lines strong {
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 0.09em;
}

.research-section {
  background: #eef2f5;
  color: var(--dark-text);
}

.research-section .section-kicker {
  color: #367d72;
}

.research-section .section-intro h2,
.research-track h3 {
  color: var(--dark-text);
}

.research-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(11, 17, 25, 0.16);
}

.research-track article {
  min-height: 320px;
  padding: clamp(26px, 3.6vw, 42px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(235, 241, 246, 0.86));
  color: #367d72;
}

.research-track p {
  color: #5c6675;
}

.team-section {
  position: relative;
  background:
    linear-gradient(130deg, rgba(150, 150, 201, 0.1), transparent 42%),
    linear-gradient(310deg, rgba(121, 199, 187, 0.11), transparent 42%),
    #071019;
  border-top: 1px solid var(--line);
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.team-story p {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.team-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.team-values span {
  padding: 14px 15px;
  color: var(--muted-strong);
  border: 1px solid rgba(121, 199, 187, 0.24);
  background: rgba(255, 255, 255, 0.045);
}

.team-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.team-gallery figure {
  margin: 0;
}

.photo-placeholder {
  aspect-ratio: 0.78;
  display: grid;
  place-items: center;
  padding: 20px;
  color: rgba(248, 251, 255, 0.62);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(251, 125, 118, 0.16), transparent 42%),
    linear-gradient(315deg, rgba(121, 199, 187, 0.18), transparent 48%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #101923;
  background-size: auto, auto, 36px 36px, 36px 36px, auto;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
}

.team-gallery figcaption {
  margin-top: 12px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 800;
}

.office-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
  color: var(--dark-text);
  background:
    linear-gradient(135deg, rgba(121, 199, 187, 0.16), transparent 38%),
    var(--paper-soft);
}

.office-section .section-kicker {
  color: #367d72;
}

.office-copy p {
  max-width: 620px;
  color: #54606f;
  font-size: 18px;
  line-height: 1.72;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(16, 23, 34, 0.18);
}

.office-card {
  min-height: 270px;
  padding: clamp(24px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 248, 0.86));
}

.office-card.primary-office {
  grid-row: span 2;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(228, 239, 238, 0.88));
}

.office-card span {
  color: #367d72;
}

.office-card h3 {
  color: var(--dark-text);
}

.office-card p {
  color: #5d6876;
  line-height: 1.64;
}

.office-facts {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 23, 34, 0.14);
}

.office-facts strong {
  color: var(--dark-text);
  font-size: 32px;
  line-height: 1;
  white-space: nowrap;
}

.office-facts span {
  margin: 0;
  color: #5d6876;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.leadership-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.leader-mark {
  aspect-ratio: 0.86;
  display: grid;
  place-items: center;
  border: 1px solid rgba(150, 150, 201, 0.42);
  background:
    linear-gradient(135deg, rgba(251, 125, 118, 0.18), transparent 42%),
    linear-gradient(315deg, rgba(121, 199, 187, 0.2), transparent 46%),
    rgba(255, 255, 255, 0.045);
  clip-path: polygon(0 0, 100% 0, 100% 84%, 84% 100%, 0 100%);
}

.leader-mark span {
  color: var(--text);
  font-size: clamp(76px, 11vw, 168px);
  font-weight: 950;
}

.leader-copy p {
  max-width: 940px;
}

.leader-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
}

.leader-metrics div {
  min-height: 132px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.055);
}

.leader-metrics strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(28px, 3.1vw, 46px);
  line-height: 1;
}

.leader-metrics span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contact-section {
  min-height: 62vh;
  display: grid;
  place-items: start;
  align-content: center;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(121, 199, 187, 0.13), transparent 38%),
    linear-gradient(45deg, rgba(251, 125, 118, 0.09), transparent 42%);
}

.contact-section h2 {
  max-width: 1120px;
  margin-bottom: 32px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--dark-text);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.96), rgba(232, 242, 240, 0.92) 52%, rgba(237, 236, 248, 0.94));
}

.footer-logo {
  width: 178px;
  height: 48px;
}

.site-footer p {
  max-width: 760px;
  margin: 0;
  color: rgba(16, 23, 34, 0.7);
  text-align: right;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

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

  .hero,
  .framework-grid,
  .process-section,
  .kiosk-section,
  .team-layout,
  .office-section,
  .leadership-section {
    grid-template-columns: 1fr;
  }

  .command-panel {
    max-width: 620px;
  }

  .agentic-diagram {
    min-height: 500px;
  }

  .system-map {
    grid-template-columns: repeat(2, 1fr);
  }

  .system-map::before {
    display: none;
  }

  .method-board {
    grid-template-columns: repeat(2, 1fr);
  }

  .open-model-grid,
  .team-gallery,
  .office-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .model-strategy-card.lead-card,
  .office-card.primary-office {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 880px) {
  .site-header {
    position: absolute;
    top: 12px;
    grid-template-columns: 1fr auto;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  }

  .nav {
    display: none;
  }

  .logo-plate {
    width: 190px;
    height: 52px;
  }

  .hero {
    min-height: 0;
    padding-top: 132px;
  }

  h1 {
    font-size: 44px;
    line-height: 0.98;
  }

  .protocol-strip,
  .section-intro,
  .section-intro.has-visual,
  .section-intro.compact.has-visual,
  .model-ecosystem,
  .model-badges,
  .open-model-grid,
  .model-assurance,
  .method-board,
  .system-map,
  .process-rail,
  .research-track,
  .team-gallery,
  .office-grid,
  .leader-metrics {
    grid-template-columns: 1fr;
  }

  .protocol-strip div {
    min-height: 112px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-intro.compact.has-visual .section-kicker {
    grid-column: auto;
  }

  .scope-diagram {
    min-height: 190px;
  }

  .protocol-strip span,
  .system-node span,
  .research-track span,
  .method-board span {
    margin-bottom: 30px;
  }

  .system-node,
  .method-board article {
    min-height: 300px;
  }

  .framework-points {
    grid-template-columns: 1fr;
  }

  .model-strategy-card.lead-card,
  .office-card.primary-office {
    grid-column: auto;
  }

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

  .agentic-diagram {
    min-height: 460px;
  }

  .diagram-node {
    min-width: 116px;
    padding: 11px 12px;
    font-size: 11px;
  }

  .console-lines p {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .site-header {
    left: 10px;
    right: 10px;
    gap: 10px;
    padding: 8px;
  }

  .header-action {
    min-width: 72px;
    padding: 10px 12px;
  }

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

  .button {
    width: 100%;
  }

  .command-panel {
    padding: 18px;
  }

  .signal-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .agentic-diagram {
    min-height: 540px;
  }

  .agentic-diagram::before,
  .agentic-diagram::after {
    inset: 104px 46px;
  }

  .diagram-core {
    width: 160px;
    min-height: 132px;
  }

  .node-a { top: 24px; }
  .node-b { right: 18px; top: 122px; }
  .node-c { right: 18px; bottom: 108px; }
  .node-d { bottom: 24px; }
  .node-e { left: 18px; bottom: 108px; }
  .node-f { left: 18px; top: 122px; }
}

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

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

  .js main > section.reveal-section {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
