:root {
  --bg: #030405;
  --panel: rgba(12, 16, 18, 0.82);
  --panel-strong: rgba(17, 23, 25, 0.95);
  --surface-soft: rgba(255, 255, 255, 0.035);
  --surface-line: rgba(255, 255, 255, 0.08);
  --topbar-bg: rgba(3, 4, 5, 0.7);
  --brand-bg: #070b0c;
  --field-bg: rgba(0, 0, 0, 0.32);
  --trusted-cell-bg: rgba(5, 7, 8, 0.92);
  --canvas-bg: #030405;
  --canvas-dot: 244, 247, 246;
  --grid-line: rgba(255, 255, 255, 0.035);
  --grid-line-strong: rgba(255, 255, 255, 0.03);
  --scanline: rgba(255, 255, 255, 0.025);
  --line: rgba(180, 255, 235, 0.16);
  --line-strong: rgba(117, 255, 220, 0.42);
  --text: #f4f7f6;
  --text-soft: #b8c7c3;
  --text-subtle: #c7d5d1;
  --inverse-text: #020303;
  --muted: #8b9c98;
  --cyan: #34f5ff;
  --green: #6dff9f;
  --amber: #ffca5f;
  --red: #ff5d73;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: #030405;
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-strong) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: repeating-linear-gradient(
    180deg,
    var(--scanline) 0,
    var(--scanline) 1px,
    transparent 1px,
    transparent 5px
  );
  opacity: 0.4;
}

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

button,
input,
textarea {
  font: inherit;
}

#signal-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  background: #030405;
}

.site-shell {
  width: calc(100% - 40px);
  max-width: 1180px;
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  margin: 14px 0 34px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--topbar-bg);
  color: var(--text);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 286px;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.brand-logo {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  padding: 10px 14px;
  color: var(--text-subtle);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-cta,
.primary-btn,
.secondary-btn,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  white-space: nowrap;
}

.nav-cta {
  min-width: 112px;
  padding: 0 18px;
  background: rgba(52, 245, 255, 0.1);
  color: var(--cyan);
  font-size: 14px;
}

.section-band,
.section-block,
.contact-section {
  scroll-margin-top: 110px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.82fr);
  gap: 48px;
  align-items: center;
  min-height: min(760px, calc(100svh - 150px));
  padding: 36px 0 68px;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  display: grid;
  max-width: 720px;
  margin-bottom: 22px;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-title {
  gap: 10px;
}

.hero-brand-name {
  font-size: clamp(42px, 5.8vw, 72px);
  font-weight: 800;
  line-height: 1;
}

.hero-service-line {
  color: var(--text-soft);
  font-size: clamp(23px, 3.1vw, 38px);
  font-weight: 700;
  line-height: 1.18;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--text-soft);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.primary-btn,
.secondary-btn {
  min-width: 148px;
  padding: 0 20px;
  font-weight: 700;
}

.primary-btn {
  gap: 12px;
  background: var(--text);
  color: var(--inverse-text);
}

.primary-btn:hover {
  background: var(--cyan);
}

.secondary-btn {
  background: var(--surface-soft);
  color: var(--text);
}

.btn-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.16);
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--surface-line);
  background: var(--surface-soft);
  color: var(--text-subtle);
  font-size: 13px;
}

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

.core-panel {
  width: min(100%, 480px);
  max-width: 100%;
  min-height: 570px;
  padding: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(150deg, rgba(52, 245, 255, 0.12), transparent 28%),
    linear-gradient(330deg, rgba(109, 255, 159, 0.1), transparent 34%),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--surface-line);
  color: var(--text-soft);
  font-size: 12px;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.radar {
  position: relative;
  display: grid;
  height: 390px;
  margin: 22px 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle, transparent 0 26%, rgba(52, 245, 255, 0.08) 26.2% 26.8%, transparent 27% 43%, rgba(109, 255, 159, 0.09) 43.2% 43.7%, transparent 44%),
    linear-gradient(90deg, transparent 49.8%, rgba(52, 245, 255, 0.18) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(52, 245, 255, 0.18) 50%, transparent 50.2%);
  overflow: hidden;
}

.radar::before {
  position: absolute;
  inset: 18%;
  content: "";
  border: 1px dashed rgba(255, 202, 95, 0.26);
  animation: rotate 18s linear infinite;
}

.radar::after {
  position: absolute;
  width: 46%;
  height: 46%;
  content: "";
  background: conic-gradient(from 0deg, rgba(52, 245, 255, 0.28), transparent 42%);
  border-radius: 50%;
  animation: rotate 6s linear infinite;
}

.radar-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.65;
}

.radar-core {
  z-index: 2;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: var(--topbar-bg);
  color: var(--cyan);
  font-size: 28px;
  font-weight: 800;
  box-shadow: 0 0 42px rgba(52, 245, 255, 0.18);
}

.node {
  position: absolute;
  z-index: 2;
  min-width: 92px;
  padding: 9px 10px;
  border: 1px solid var(--surface-line);
  background: var(--topbar-bg);
  color: var(--text);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.node-a {
  top: 20%;
  left: 12%;
}

.node-b {
  top: 26%;
  right: 9%;
}

.node-c {
  right: 13%;
  bottom: 18%;
}

.node-d {
  bottom: 24%;
  left: 8%;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metrics div {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--surface-line);
  background: var(--surface-soft);
}

.metrics strong {
  display: block;
  margin-bottom: 6px;
  color: var(--amber);
  font-size: 26px;
}

.metrics span {
  color: var(--muted);
  font-size: 12px;
}

.trusted-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 1px;
  margin-bottom: 92px;
  border: 1px solid var(--surface-line);
  background: var(--surface-line);
}

.trusted-band span {
  display: grid;
  min-height: 78px;
  place-items: center;
  background: var(--trusted-cell-bg);
  color: var(--text-soft);
  text-align: center;
  font-size: 14px;
}

.section-block {
  padding: 24px 0 104px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
  max-width: 900px;
  margin-bottom: 34px;
}

.section-heading h2,
.contact-section h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.14;
  letter-spacing: 0;
}

.section-summary {
  max-width: 760px;
  margin: 4px 0 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.75;
}

.service-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-item,
.case-card {
  position: relative;
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--surface-line);
  background: var(--panel);
  overflow: hidden;
}

.service-item::after,
.case-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 90px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan));
}

.service-index {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.service-item h3,
.case-card h3,
.timeline-row h3 {
  margin-bottom: 14px;
  font-size: 22px;
  line-height: 1.3;
}

.service-item p,
.case-card p,
.contact-section p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.timeline-row p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.75;
}

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

.case-card {
  display: block;
  min-height: 470px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 38%),
    var(--panel);
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.case-card:hover,
.case-card:focus-visible {
  border-color: rgba(52, 245, 255, 0.34);
  background:
    linear-gradient(145deg, rgba(52, 245, 255, 0.08), transparent 40%),
    var(--panel-strong);
  transform: translateY(-3px);
  outline: none;
}

.case-card.featured {
  border-color: rgba(52, 245, 255, 0.36);
  background:
    linear-gradient(145deg, rgba(52, 245, 255, 0.12), transparent 38%),
    linear-gradient(315deg, rgba(255, 202, 95, 0.08), transparent 34%),
    var(--panel-strong);
}

.case-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-thumb {
  position: relative;
  height: 164px;
  margin-bottom: 22px;
  border: 1px solid var(--surface-line);
  background:
    linear-gradient(145deg, rgba(52, 245, 255, 0.08), transparent 42%),
    linear-gradient(330deg, rgba(255, 202, 95, 0.06), transparent 36%),
    rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.case-thumb::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, black, transparent 95%);
}

.case-thumb::after {
  position: absolute;
  right: -34px;
  bottom: -42px;
  width: 150px;
  height: 150px;
  content: "";
  background: radial-gradient(circle, rgba(52, 245, 255, 0.2), transparent 66%);
}

.case-thumb img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 220ms ease, opacity 220ms ease;
}

.trade-workbench-image {
  object-position: center top;
}

.concrete-optimization-image {
  object-position: center center;
}

.case-thumb .concrete-optimization-image {
  object-position: center bottom;
}

.fitness-analytics-image {
  object-position: center center;
}

.case-thumb .fitness-analytics-image {
  object-position: center 62%;
}

.freight-digital-employee-image {
  object-position: center center;
}

.case-thumb .freight-digital-employee-image {
  object-position: center 58%;
}

.audit-ai-image {
  object-position: center center;
}

.case-thumb .audit-ai-image {
  object-position: center center;
}

.video-agent-image {
  object-position: center top;
}

.case-thumb .video-agent-image {
  object-position: center 28%;
}

.case-card:hover .case-thumb img,
.case-card:focus-visible .case-thumb img {
  opacity: 1;
  transform: scale(1.035);
}

.case-thumb--image::before {
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 58%, rgba(3, 4, 5, 0.46)),
    linear-gradient(90deg, rgba(3, 4, 5, 0.22), transparent 42%);
  mask-image: none;
}

.case-thumb span {
  position: absolute;
  z-index: 1;
  display: block;
}

.thumb-axis {
  left: 28px;
  right: 26px;
  bottom: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.thumb-axis::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 88px;
  content: "";
  background: rgba(255, 255, 255, 0.18);
}

.thumb-curve {
  left: 34px;
  bottom: 40px;
  width: 148px;
  height: 78px;
  border-top: 3px solid var(--cyan);
  border-right: 3px solid var(--green);
  transform: skew(-26deg) rotate(-8deg);
  opacity: 0.82;
}

.thumb-chip {
  right: 34px;
  top: 34px;
  width: 72px;
  height: 52px;
  border: 1px solid rgba(52, 245, 255, 0.42);
  background: rgba(3, 4, 5, 0.52);
  box-shadow: inset 0 0 24px rgba(52, 245, 255, 0.12);
}

.thumb-chip::before,
.thumb-chip::after {
  position: absolute;
  content: "";
  background: rgba(109, 255, 159, 0.7);
}

.thumb-chip::before {
  top: 14px;
  left: 14px;
  width: 42px;
  height: 2px;
}

.thumb-chip::after {
  top: 28px;
  left: 14px;
  width: 28px;
  height: 2px;
}

.thumb-bar {
  bottom: 34px;
  width: 16px;
  border: 1px solid rgba(255, 202, 95, 0.36);
  background: rgba(255, 202, 95, 0.18);
}

.thumb-bar-a {
  right: 130px;
  height: 38px;
}

.thumb-bar-b {
  right: 106px;
  height: 62px;
}

.thumb-bar-c {
  right: 82px;
  height: 48px;
}

.thumb-bar-d {
  right: 58px;
  height: 76px;
}

.thumb-dashboard {
  inset: 30px 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(90deg, transparent 58%, rgba(52, 245, 255, 0.08) 58%),
    rgba(3, 4, 5, 0.44);
}

.thumb-dashboard::before,
.thumb-dashboard::after {
  position: absolute;
  left: 18px;
  content: "";
  background: rgba(255, 255, 255, 0.14);
}

.thumb-dashboard::before {
  top: 18px;
  width: 78px;
  height: 7px;
}

.thumb-dashboard::after {
  top: 36px;
  width: 52px;
  height: 7px;
}

.thumb-chart-line {
  right: 42px;
  top: 58px;
  width: 112px;
  height: 54px;
  border-top: 3px solid var(--cyan);
  border-right: 3px solid var(--green);
  transform: skew(-34deg);
}

.case-thumb--analytics .thumb-bar {
  bottom: 42px;
  width: 18px;
}

.case-thumb--analytics .thumb-bar-a {
  left: 46px;
  right: auto;
  height: 34px;
}

.case-thumb--analytics .thumb-bar-b {
  left: 72px;
  right: auto;
  height: 58px;
}

.case-thumb--analytics .thumb-bar-c {
  left: 98px;
  right: auto;
  height: 46px;
}

.case-thumb--analytics .thumb-bar-d {
  left: 124px;
  right: auto;
  height: 74px;
}

.thumb-route {
  top: 78px;
  left: 44px;
  right: 44px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--green), var(--amber));
}

.thumb-route::before {
  position: absolute;
  inset: -26px 18px 0;
  content: "";
  border-top: 2px dashed rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.thumb-port {
  width: 18px;
  height: 18px;
  border: 2px solid var(--cyan);
  background: var(--bg);
  transform: rotate(45deg);
}

.thumb-port-a {
  top: 70px;
  left: 38px;
}

.thumb-port-b {
  top: 50px;
  left: 50%;
  border-color: var(--green);
}

.thumb-port-c {
  top: 70px;
  right: 38px;
  border-color: var(--amber);
}

.thumb-card-mini {
  width: 92px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(3, 4, 5, 0.5);
}

.thumb-card-mini::before,
.thumb-card-mini::after {
  position: absolute;
  left: 12px;
  height: 2px;
  content: "";
  background: rgba(255, 255, 255, 0.2);
}

.thumb-card-mini::before {
  top: 12px;
  width: 58px;
}

.thumb-card-mini::after {
  top: 22px;
  width: 38px;
}

.thumb-card-a {
  left: 28px;
  bottom: 24px;
}

.thumb-card-b {
  right: 28px;
  top: 24px;
}

.thumb-doc {
  top: 30px;
  width: 104px;
  height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(3, 4, 5, 0.56);
}

.thumb-doc::before,
.thumb-doc::after {
  position: absolute;
  left: 16px;
  height: 2px;
  content: "";
  background: rgba(255, 255, 255, 0.2);
}

.thumb-doc::before {
  top: 24px;
  width: 62px;
}

.thumb-doc::after {
  top: 42px;
  width: 44px;
  box-shadow: 0 18px 0 rgba(255, 255, 255, 0.14), 0 36px 0 rgba(255, 255, 255, 0.1);
}

.thumb-doc-a {
  left: 42px;
  transform: rotate(-4deg);
}

.thumb-doc-b {
  right: 42px;
  transform: rotate(5deg);
}

.thumb-check {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(109, 255, 159, 0.42);
  background: rgba(109, 255, 159, 0.08);
}

.thumb-check::before {
  position: absolute;
  top: 13px;
  left: 11px;
  width: 18px;
  height: 9px;
  content: "";
  border-bottom: 3px solid var(--green);
  border-left: 3px solid var(--green);
  transform: rotate(-45deg);
}

.thumb-check-a {
  left: 132px;
  top: 34px;
}

.thumb-check-b {
  right: 132px;
  bottom: 30px;
}

.thumb-alert {
  left: 50%;
  top: 58px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 202, 95, 0.52);
  background: rgba(255, 202, 95, 0.08);
  transform: translateX(-50%) rotate(45deg);
}

.thumb-frame {
  top: 30px;
  width: 72px;
  height: 104px;
  border: 1px solid rgba(52, 245, 255, 0.3);
  background:
    linear-gradient(180deg, rgba(52, 245, 255, 0.12), transparent 58%),
    rgba(3, 4, 5, 0.58);
}

.thumb-frame::before {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  height: 2px;
  content: "";
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 -12px 0 rgba(255, 255, 255, 0.12);
}

.thumb-frame-a {
  left: 54px;
  transform: rotate(-6deg);
}

.thumb-frame-b {
  left: 50%;
  transform: translateX(-50%);
}

.thumb-frame-c {
  right: 54px;
  transform: rotate(6deg);
}

.thumb-play {
  left: 50%;
  top: 68px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(109, 255, 159, 0.48);
  background: rgba(3, 4, 5, 0.72);
  border-radius: 50%;
  transform: translateX(-50%);
}

.thumb-play::before {
  position: absolute;
  top: 17px;
  left: 22px;
  width: 0;
  height: 0;
  content: "";
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid var(--green);
}

.thumb-wave {
  right: 34px;
  bottom: 24px;
  left: 34px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 14px, transparent 14px 24px);
  opacity: 0.7;
}

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

.case-tags span {
  padding: 8px 10px;
  border: 1px solid var(--surface-line);
  color: var(--text-subtle);
  font-size: 12px;
}

.case-more {
  display: inline-flex;
  margin-top: 28px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
}

.detail-main {
  padding-bottom: 72px;
}

.detail-hero {
  max-width: 980px;
  padding: 34px 0 56px;
}

.detail-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--text-soft);
  font-size: 14px;
}

.detail-back:hover {
  color: var(--cyan);
}

.detail-title {
  max-width: 920px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.08;
}

.detail-lede {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 18px;
  align-items: start;
}

.detail-panel,
.detail-block {
  border: 1px solid var(--surface-line);
  background: var(--panel);
}

.detail-panel {
  position: sticky;
  top: 110px;
  padding: 22px;
}

.detail-panel h2,
.detail-block h2 {
  margin-bottom: 16px;
  font-size: 22px;
}

.detail-list,
.detail-bullets {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li,
.detail-bullets li {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.75;
}

.detail-list strong {
  display: block;
  color: var(--text);
}

.detail-block {
  padding: 26px;
}

.detail-stack {
  display: grid;
  gap: 18px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.detail-tags span {
  padding: 8px 10px;
  border: 1px solid var(--surface-line);
  color: var(--text-subtle);
  font-size: 12px;
}

.case-media {
  margin: 30px 0 6px;
  border: 1px solid var(--surface-line);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), transparent 44%),
    rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.case-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.process-section {
  padding-bottom: 84px;
}

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

.timeline-row {
  display: grid;
  grid-template-columns: 118px minmax(180px, 0.45fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-row > span {
  color: var(--amber);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 800;
  line-height: 1;
}

.team-section {
  padding-bottom: 84px;
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: stretch;
}

.team-panel,
.team-point {
  border: 1px solid var(--surface-line);
  background: var(--panel);
}

.team-panel {
  min-height: 100%;
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(52, 245, 255, 0.1), transparent 42%),
    linear-gradient(330deg, rgba(255, 202, 95, 0.07), transparent 38%),
    var(--panel-strong);
}

.team-kicker {
  display: inline-flex;
  margin-bottom: 52px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.team-panel h3 {
  max-width: 460px;
  margin-bottom: 18px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
}

.team-panel p,
.team-point p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
}

.team-points {
  display: grid;
  gap: 12px;
}

.team-point {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  min-height: 132px;
  padding: 22px;
}

.team-point > span {
  color: var(--amber);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.team-point h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.35;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.75fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
  padding: 42px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background:
    linear-gradient(130deg, rgba(52, 245, 255, 0.12), transparent 36%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.contact-section h2 {
  color: var(--text);
}

.contact-section p {
  margin-top: 20px;
  max-width: 640px;
  color: var(--text-soft);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--text-soft);
  font-size: 13px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--surface-line);
  border-radius: 0;
  outline: none;
  background: var(--field-bg);
  color: var(--text);
}

.contact-form input {
  min-height: 46px;
  padding: 0 14px;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
}

.contact-form button {
  min-height: 48px;
  border-color: var(--line-strong);
  background: var(--cyan);
  color: var(--inverse-text);
  font-weight: 800;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.6;
}

.form-status[data-state="success"] {
  color: var(--green);
}

.form-status[data-state="error"] {
  color: var(--red);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--surface-line);
  color: #879692;
  font-size: 13px;
}

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

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

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

@media (max-width: 980px) {
  .site-shell {
    width: calc(100% - 28px);
    max-width: 760px;
  }

  .topbar {
    position: relative;
    top: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: space-between;
    order: 3;
    overflow-x: auto;
  }

  .nav-links a {
    min-width: 64px;
    text-align: center;
  }

  .hero,
  .section-heading,
  .detail-grid,
  .team-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    position: static;
  }

  .hero {
    min-height: auto;
    padding-top: 12px;
  }

  .core-panel {
    min-height: 510px;
  }

  .radar {
    height: 340px;
  }

  .trusted-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 70px;
  }

  .trusted-band span:last-child {
    grid-column: 1 / -1;
  }

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

  .timeline-row {
    grid-template-columns: 82px 1fr;
  }

  .timeline-row p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: calc(100% - 22px);
    max-width: 520px;
  }

  .topbar {
    min-height: 0;
    margin-top: 10px;
    padding: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    white-space: normal;
  }

  .brand small {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .hero-title {
    gap: 8px;
  }

  .hero-brand-name {
    font-size: clamp(34px, 11vw, 48px);
  }

  .hero-service-line {
    font-size: clamp(22px, 7vw, 30px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .signal-strip span {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
  }

  .core-panel {
    min-height: auto;
    padding: 12px;
  }

  .radar {
    height: 300px;
  }

  .node {
    min-width: 78px;
    font-size: 11px;
  }

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

  .trusted-band,
  .service-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding-bottom: 74px;
  }

  .section-heading h2,
  .contact-section h2 {
    font-size: clamp(26px, 8.2vw, 36px);
    line-height: 1.18;
  }

  .detail-title {
    font-size: clamp(32px, 10vw, 44px);
  }

  .detail-block,
  .detail-panel {
    padding: 20px;
  }

  .service-item,
  .case-card {
    min-height: 0;
    padding: 20px;
  }

  .case-topline {
    margin-bottom: 46px;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .team-panel {
    padding: 24px 20px;
  }

  .team-kicker {
    margin-bottom: 34px;
  }

  .team-point {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px;
  }

  .timeline-row > span {
    font-size: 32px;
  }

  .timeline-row p {
    grid-column: auto;
  }

  .contact-section {
    gap: 28px;
    padding: 24px 18px;
  }

  .footer {
    flex-direction: column;
  }
}

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