:root {
  --color-bg: #07111f;
  --color-bg-alt: #0b1730;
  --color-card: #10233f;
  --color-accent: #4cc9ff;
  --color-accent-2: #4f7cff;
  --color-text: #f5f8fc;
  --color-text-soft: #dbe7f5;
  --color-muted: #93a8c1;
  --color-success: #47c991;
  --color-risk: #ff6f78;
  --bg: var(--color-bg);
  --bg-1: var(--color-bg-alt);
  --bg-2: var(--color-card);
  --bg-3: #153052;
  --ink: var(--color-text);
  --ink-2: var(--color-text-soft);
  --muted: var(--color-muted);
  --line: rgba(140, 177, 219, 0.16);
  --line-2: rgba(76, 201, 255, 0.32);
  --accent: var(--color-accent);
  --accent-2: var(--color-accent-2);
  --accent-soft: rgba(76, 201, 255, 0.12);
  --glass-bg: rgba(16, 35, 63, 0.66);
  --glass-border: rgba(153, 205, 255, 0.2);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 1rem;
  --font-small: 0.875rem;
  --font-display: clamp(2.65rem, 5.5vw, 5rem);
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 32px);
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --section-space: clamp(100px, 9vw, 140px);
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-card: 0 24px 70px rgba(0, 6, 20, 0.3);
  --shadow-accent: 0 14px 36px rgba(79, 124, 255, 0.24);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: var(--font-body);
  overflow-x: hidden;
}

main { position: relative; z-index: 1; }

.no-js-notice {
  position: relative;
  z-index: 100;
  padding: 12px var(--gutter);
  background: #7a2f00;
  color: #fff;
  text-align: center;
  font-size: 14px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container, .wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.glass-card {
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--color-text);
  color: var(--color-bg);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .2s;
}

.skip-link:focus {
  transform: translateY(0);
}

.scroll-prog {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  z-index: 80;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 12px rgba(32, 157, 255, 0.68);
}

/* Header */
.site-header, .header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: auto;
  background: rgba(7, 17, 31, 0.58);
  border-bottom: 1px solid rgba(140, 177, 219, 0.08);
  backdrop-filter: blur(12px) saturate(1.08);
  -webkit-backdrop-filter: blur(12px) saturate(1.08);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.site-header.scrolled, .header.scrolled {
  background: rgba(7, 17, 31, 0.94);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border-color: var(--line);
  box-shadow: 0 12px 36px rgba(0, 6, 20, 0.22);
}

.header-inner, .site-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  transition: height 0.25s;
}

.site-header.scrolled .nav,
.header.scrolled .header-inner {
  height: 66px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line-2);
  flex-shrink: 0;
  background: var(--bg-2);
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.15);
}

.brand small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.menu, .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu a {
  position: relative;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color 0.2s;
}

.menu a:hover, .menu a.active { color: var(--ink); }

.menu a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 1px;
  width: 0;
  background: var(--accent);
  transition: width 0.25s;
}

.menu a:hover::after, .menu a.active::after { width: calc(100% - 24px); }

.menu a.nav-lab, .nav a.nav-lab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(32, 157, 255, 0.42);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.menu a.nav-lab::after { display: none; }

.menu a.nav-lab svg, .nav a.nav-lab svg {
  width: 16px; height: 16px;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}

.menu a.nav-lab:hover, .menu a.nav-lab.active {
  border-color: var(--accent);
  background: rgba(32, 157, 255, 0.2);
  color: #fff;
  box-shadow: 0 0 24px rgba(32, 157, 255, 0.22);
}

.nav-cta { display: flex; align-items: center; gap: 10px; }

.header-cta { display: none; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile {
  display: none;
  flex-direction: column;
  padding: 8px var(--gutter) 24px;
  gap: 4px;
  background: rgba(7, 17, 31, 0.98);
  border-bottom: 1px solid var(--line);
}

.mobile.open {
  display: flex;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.mobile a {
  padding: 12px 8px;
  color: var(--ink-2);
  font-size: 16px;
}

.mobile a.mobile-lab {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--accent);
}

.mobile a.mobile-lab small { color: var(--muted); font-size: 12px; }

.mobile .btn { margin-top: 12px; justify-content: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--sans);
}

.btn-lg { padding: 16px 28px; font-size: 16px; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 26px rgba(8, 110, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(32, 157, 255, 0.4);
}

.btn-secondary, .btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-secondary:hover, .btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-2);
}

.link-accent {
  color: var(--accent);
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 14px;
}

/* Hero */
.hero {
  position: relative;
  padding: 140px 0 48px;
  overflow: hidden;
  text-align: left;
}

.hero-stage, .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 72% 28%, rgba(32, 157, 255, 0.18), transparent 36%);
  pointer-events: none;
}

.hero-gridlines {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(32, 157, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 157, 255, 0.1) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, transparent 0 38%, #000 72%, transparent);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 24px;
  min-height: 560px;
  align-items: end;
}

.hero-copy { align-self: center; padding: 20px 0 48px; }

.hero h1, .hero-name {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: clamp(64px, 8vw, 108px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin: 0;
}

.hero-name span:last-child { color: var(--ink-2); }

.hero-role {
  margin-top: 22px;
  font-size: 18px;
  color: var(--accent);
  font-weight: 600;
}

.hero-dash {
  display: block;
  width: 42px;
  height: 1px;
  background: var(--accent);
  margin: 22px 0 0;
  opacity: 0.7;
}

.hero p, .tagline {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink-2);
  max-width: 34ch;
  margin: 22px 0 0;
  line-height: 1.5;
}

.hero-buttons, .hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.portrait {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 520px;
}

.portrait::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 88%;
  aspect-ratio: 1;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(32, 157, 255, 0.24), rgba(32, 157, 255, 0.05) 45%, transparent 68%);
  filter: blur(4px);
}

.portrait-photo {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 14%);
  mask-image: linear-gradient(to top, transparent 0%, #000 14%);
}

.portrait-photo img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: top center;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
}

.hero-stats {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 8px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: linear-gradient(100deg, rgba(10, 12, 15, 0.92), rgba(17, 21, 26, 0.88));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.hero-stat {
  padding: 22px 20px;
  text-align: center;
  position: relative;
}

.hero-stat + .hero-stat::before {
  content: "";
  position: absolute;
  left: 0; top: 22%;
  height: 56%;
  width: 1px;
  background: var(--line);
}

.stat-number, .hero-stat b {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.stat-label, .hero-stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.stats { padding: 0; }

/* Marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 22px 0;
  background: var(--bg-1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee .lbl {
  display: block;
  text-align: center;
  margin-bottom: 14px;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marq 34s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 26px;
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 26px);
  color: var(--ink-2);
  white-space: nowrap;
}

.marquee-item::after {
  content: "◆";
  color: var(--accent);
  font-size: 11px;
  opacity: 0.55;
}

@keyframes marq {
  to { transform: translateX(-50%); }
}

/* Sections */
.section, .sec {
  padding: var(--section-space) 0;
}

.section.alt, .sec.alt {
  background: linear-gradient(var(--bg), var(--bg-1));
}

.section-header, .sec-head {
  text-align: left;
  margin-bottom: 48px;
  max-width: 640px;
}

.section-header.center, .sec-head.center {
  text-align: center;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.section-label, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.eyebrow::before, .section-label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  opacity: 0.7;
}

.eyebrow.plain::before, .section-label.plain::before { display: none; }

.section-title, .sec-head h2, .sub-header h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-subtitle, .sec-head p, .sub-header p {
  font-size: 18px;
  color: var(--ink-2);
  line-height: 1.5;
}

.page-header, .page-hero {
  padding: calc(var(--header-h) + 72px) 0 40px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 700px; height: 500px;
  left: 50%; top: -220px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(32, 157, 255, 0.12), transparent 62%);
  pointer-events: none;
}

.page-header .container, .page-hero .container { position: relative; z-index: 2; }

.page-header h1, .page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 16px 0 0;
}

.page-header p, .page-hero p {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 60ch;
  margin-top: 20px;
}

.crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.crumbs a:hover { color: var(--accent); }

/* Cards */
.services-grid, .blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.service-card, .blog-card, .case-card, .pricing-card {
  background: linear-gradient(150deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.service-card:hover, .blog-card:hover, .case-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  background: var(--bg-3);
}

.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-icon svg { width: 24px; height: 24px; }

.service-card h3, .blog-card h3, .case-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.service-card p, .blog-card p, .case-desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
}

.cases-grid { display: grid; gap: 18px; }

.case-group-title {
  padding: 42px 0 8px;
}

.case-group-title:first-child { padding-top: 0; }

.case-group-title span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-group-title h2 {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
}

.case-tag, .about-tag, .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.case-metrics {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.case-metric-value {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.case-metric-label { font-size: 13px; color: var(--muted); }

.case-link, .blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.case-link { border-top: 1px solid var(--line); padding-top: 20px; width: 100%; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-photo, .about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--r);
  background: var(--bg-2);
  overflow: hidden;
  border: 1px solid var(--line);
}

.about-photo img, .about-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.about-role {
  font-size: 16px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
}

.about-content p {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.about-tag {
  margin-bottom: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  text-transform: none;
  letter-spacing: 0;
}

.home-about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.regalia { display: flex; flex-direction: column; gap: 10px; }

.reg {
  background: var(--bg-1);
  padding: 20px 22px;
  display: flex;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.reg .rc { color: var(--accent); flex-shrink: 0; }

.reg h4 { font-size: 16px; margin-bottom: 4px; }
.reg p { font-size: 14px; color: var(--muted); }

/* Timeline */
.timeline { position: relative; padding-left: 32px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
}

.timeline-year {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-title { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.timeline-desc { font-size: 14px; color: var(--ink-2); }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: start;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 20px 50px rgba(32, 157, 255, 0.1);
}

.pricing-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 100px;
}

.pricing-card { position: relative; }

.pricing-name {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.pricing-period { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

.pricing-features li {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.pricing-card .btn { width: 100%; justify-content: center; margin-top: 24px; }

.blog-date { font-size: 13px; color: var(--muted); margin-bottom: 8px; }

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contacts-info h3 { font-size: 24px; font-weight: 600; margin-bottom: 16px; }
.contacts-info p { font-size: 16px; color: var(--ink-2); line-height: 1.6; margin-bottom: 32px; }

.contacts-links { display: flex; flex-direction: column; gap: 16px; }

.contacts-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
}

.contacts-link:hover { color: var(--accent); }
.about-call {
  margin-top: 32px;
  padding: 22px 24px;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(10, 36, 76, 0.72), rgba(4, 14, 34, 0.8));
}

.about-call h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.about-call p {
  margin-bottom: 18px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  display: flex;
  min-height: 140px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: linear-gradient(150deg, #0a1f40, #051127);
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s, border-color 0.25s;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card strong {
  color: var(--ink);
  font-size: clamp(18px, 2vw, 24px);
  word-break: break-word;
}

.trust-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.trust-card {
  display: block;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--bg-2), var(--bg-1));
  transition: transform 0.25s, border-color 0.25s;
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}

.trust-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-card h3 { margin: 10px 0 8px; font-size: 24px; }
.trust-card p { color: var(--ink-2); }
.trust-card b { display: inline-block; margin-top: 20px; color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--sans);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-1);
  color: var(--ink);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--sans);
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}

.faq-question svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.3s;
}

.faq-item.open .faq-question svg { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; }
.faq-item.open .faq-answer { max-height: 300px; padding-top: 12px; }
.faq-answer p { font-size: 15px; color: var(--ink-2); line-height: 1.6; }

/* CTA */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
  color: var(--ink);
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.cta-section h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 500px;
  margin: 0 auto 32px;
}

.testimonial {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  padding: 48px 32px;
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: var(--serif);
  font-size: 80px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.25;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-text {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author { font-size: 15px; font-weight: 600; }
.testimonial-role { font-size: 13px; color: var(--muted); }

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.process-step { text-align: center; counter-increment: step; }

.process-step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.process-step h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--ink-2); }

.sub-services { margin-bottom: 80px; }
.sub-services:last-child { margin-bottom: 0; }
.sub-header { margin-bottom: 40px; }

/* Tech direction redesign */
.tech-hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 72px;
  background:
    radial-gradient(circle at 78% 24%, rgba(8, 92, 223, 0.3), transparent 34%),
    radial-gradient(circle at 24% 74%, rgba(0, 179, 255, 0.09), transparent 30%),
    var(--bg);
}

.tech-gridlines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 126, 242, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 126, 242, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent);
  pointer-events: none;
}

.tech-orb {
  position: absolute;
  top: 80px;
  right: 7%;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(44, 151, 255, 0.14);
  border-radius: 50%;
  box-shadow: inset 0 0 110px rgba(8, 110, 255, 0.09), 0 0 100px rgba(8, 110, 255, 0.08);
}

.tech-hero .container {
  position: relative;
  z-index: 2;
}

.tech-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: clamp(30px, 6vw, 80px);
}

.tech-hero-copy {
  align-self: center;
  padding: 30px 0;
}

.tech-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #55baff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tech-kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  background: #28b8ff;
  box-shadow: 0 0 10px #28b8ff;
}

.tech-hero h1 {
  margin: 22px 0 20px;
  font-family: var(--sans);
  font-size: clamp(54px, 6.5vw, 90px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.tech-hero h1 span {
  color: #28b8ff;
  text-shadow: 0 0 28px rgba(16, 141, 255, 0.38);
}

.tech-lead {
  max-width: 650px;
  color: var(--ink-2);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
}

.tech-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
}

.tech-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 13px;
}

.tech-benefits span::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid #28b8ff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(40, 184, 255, 0.7);
}

.tech-portrait {
  position: relative;
  display: flex;
  min-height: 500px;
  align-items: flex-end;
  justify-content: center;
}

.tech-portrait::before {
  content: "";
  position: absolute;
  inset: 8% 0 0;
  border: 1px dashed rgba(69, 152, 255, 0.3);
  border-radius: 42px;
  background: linear-gradient(180deg, rgba(8, 36, 82, 0.36), rgba(3, 13, 35, 0.08));
}

.tech-portrait-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  height: 500px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 14%);
  mask-image: linear-gradient(to top, transparent 0, #000 14%);
}

.tech-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.6));
}

.tech-status {
  position: absolute;
  right: -8px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(4, 17, 41, 0.88);
  color: var(--ink-2);
  font-size: 12px;
  backdrop-filter: blur(14px);
}

.tech-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38dc9b;
  box-shadow: 0 0 10px #38dc9b;
}

.dashboard-demo {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid rgba(41, 151, 255, 0.42);
  border-radius: 20px;
  background:
    linear-gradient(130deg, rgba(9, 35, 73, 0.96), rgba(3, 14, 35, 0.96));
  box-shadow: 0 0 34px rgba(7, 109, 255, 0.15), inset 0 1px 0 rgba(139, 205, 255, 0.12);
}

.dash-demo-label {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 3;
  padding: 4px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(2, 8, 23, 0.86);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dash-side {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  padding: 18px 10px;
  border-right: 1px solid var(--line);
  background: rgba(4, 16, 39, 0.72);
}

.dash-side b {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #28b8ff, #086eff);
  font-size: 10px;
}

.dash-side i {
  width: 10px;
  height: 10px;
  border: 1px solid #397bbb;
  border-radius: 3px;
}

.dash-main {
  padding: 16px;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.dash-metrics article {
  position: relative;
  min-height: 126px;
  overflow: hidden;
  padding: 15px;
  border: 1px solid rgba(48, 126, 218, 0.2);
  border-radius: 12px;
  background: rgba(7, 27, 59, 0.8);
}

.dash-metrics span,
.dash-panels span {
  display: block;
  color: #87a4c7;
  font-size: 11px;
}

.dash-metrics strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(15px, 2vw, 22px);
}

.dash-metrics small {
  color: #38dc9b;
  font-size: 10px;
}

.spark {
  position: absolute;
  right: 12px;
  bottom: 16px;
  width: 62px;
  height: 28px;
  border-bottom: 2px solid #28b8ff;
  transform: skewY(-16deg);
  filter: drop-shadow(0 0 5px #28b8ff);
}

.spark::before,
.spark::after {
  content: "";
  position: absolute;
  border-bottom: 2px solid #28b8ff;
}

.spark::before {
  left: 8px;
  bottom: 5px;
  width: 22px;
  transform: skewY(30deg);
}

.spark::after {
  right: 5px;
  bottom: -2px;
  width: 22px;
  transform: skewY(-32deg);
}

.s2,
.s2::before,
.s2::after {
  border-color: #38dc9b;
}

.dash-ring {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  border: 8px solid #086eff;
  border-top-color: #28d8df;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(20, 150, 255, 0.32);
}

.dash-panels {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 10px;
  margin-top: 10px;
}

.dash-chart,
.dash-bars {
  min-height: 120px;
  padding: 15px;
  border: 1px solid rgba(48, 126, 218, 0.2);
  border-radius: 12px;
  background: rgba(7, 27, 59, 0.8);
}

.chart-lines {
  height: 72px;
  margin-top: 12px;
  background:
    linear-gradient(165deg, transparent 46%, #28b8ff 47%, #28b8ff 49%, transparent 50%),
    linear-gradient(195deg, transparent 48%, #616bff 49%, #616bff 51%, transparent 52%);
  opacity: 0.85;
  filter: drop-shadow(0 0 4px rgba(40, 184, 255, 0.5));
}

.dash-bars {
  position: relative;
  display: flex;
  align-items: end;
  gap: 10px;
}

.dash-bars span {
  position: absolute;
  align-self: flex-start;
}

.dash-bars i {
  width: 14%;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(#28b8ff, #086eff);
  box-shadow: 0 0 8px rgba(40, 184, 255, 0.35);
}

.data-flow-section {
  background:
    radial-gradient(circle at 50% 48%, rgba(8, 110, 255, 0.11), transparent 38%),
    var(--bg);
}

.data-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr auto) 1fr;
  align-items: center;
  gap: 10px;
}

.data-flow article {
  position: relative;
  min-height: 220px;
  padding: 24px 14px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(10, 39, 79, 0.86), rgba(3, 14, 35, 0.9));
  text-align: center;
  box-shadow: inset 0 0 32px rgba(8, 110, 255, 0.07);
}

.data-flow article > span {
  position: absolute;
  top: 12px;
  right: 14px;
  color: rgba(40, 184, 255, 0.32);
  font-size: 12px;
}

.flow-icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin: 14px auto 20px;
  place-items: center;
  border: 1px solid #28b8ff;
  border-radius: 50%;
  color: #72cdff;
  font-weight: 700;
  box-shadow: 0 0 22px rgba(40, 184, 255, 0.24), inset 0 0 16px rgba(40, 184, 255, 0.1);
}

.data-flow h3 {
  font-size: 16px;
}

.data-flow p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.data-flow > i {
  color: #28b8ff;
  font-size: 28px;
  font-style: normal;
  text-shadow: 0 0 12px #28b8ff;
}

.flow-note {
  width: fit-content;
  margin: 34px auto 0;
  padding: 11px 20px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(5, 24, 54, 0.75);
  color: var(--ink-2);
  font-size: 14px;
  text-align: center;
}

.directions-section {
  background: linear-gradient(180deg, var(--bg), #04112a 50%, var(--bg));
}

.directions-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.direction-card {
  position: relative;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(43, 152, 255, 0.45);
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 5%, rgba(18, 134, 255, 0.2), transparent 32%),
    linear-gradient(145deg, #0a244b, #041126 74%);
  box-shadow: 0 24px 80px rgba(0, 37, 100, 0.2), inset 0 1px 0 rgba(167, 220, 255, 0.12);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.direction-card:hover {
  transform: translateY(-7px);
  border-color: #28b8ff;
  box-shadow: 0 30px 90px rgba(0, 75, 180, 0.28), 0 0 28px rgba(40, 184, 255, 0.13);
}

.direction-no {
  position: absolute;
  top: 16px;
  right: 24px;
  color: rgba(69, 175, 255, 0.16);
  font-size: 64px;
  font-weight: 700;
}

.direction-icon,
.synergy-icon {
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 24px;
  place-items: center;
  border: 1px solid #28b8ff;
  border-radius: 18px;
  background: rgba(4, 22, 52, 0.75);
  color: #69caff;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(40, 184, 255, 0.2), inset 0 0 18px rgba(40, 184, 255, 0.1);
}

.direction-card h2 {
  margin: 18px 0 16px;
  font-family: var(--sans);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.direction-card > p {
  color: var(--ink-2);
  line-height: 1.65;
}

.direction-card ul {
  display: grid;
  gap: 11px;
  margin: 25px 0;
}

.direction-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d5e5f8;
  font-size: 14px;
}

.direction-card li::before {
  content: "✓";
  color: #38dc9b;
}

.direction-card > b {
  margin-top: auto;
  color: #58c3ff;
}

.direction-plus {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #28b8ff;
  font-size: 40px;
  text-shadow: 0 0 18px #28b8ff;
}

.synergy-section {
  background:
    radial-gradient(circle at 50% 60%, rgba(8, 110, 255, 0.16), transparent 38%),
    var(--bg);
}

.synergy-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.synergy-row article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(10, 38, 79, 0.88), rgba(3, 14, 35, 0.92));
  text-align: center;
}

.synergy-row article .synergy-icon {
  margin: 0 auto 22px;
}

.synergy-row h3 {
  font-size: 20px;
  text-transform: uppercase;
}

.synergy-row p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
}

.synergy-row > span {
  color: #28b8ff;
  font-size: 34px;
  text-shadow: 0 0 15px #28b8ff;
}

.synergy-arrow {
  margin: 24px 0 12px;
  color: #28b8ff;
  font-size: 46px;
  text-align: center;
  text-shadow: 0 0 18px #28b8ff;
}

.solution-card {
  display: flex;
  max-width: 760px;
  align-items: center;
  gap: 26px;
  margin: 0 auto;
  padding: 28px 36px;
  border: 1px solid #28b8ff;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(7, 47, 98, 0.96), rgba(3, 19, 48, 0.96));
  box-shadow: 0 0 34px rgba(40, 184, 255, 0.2), inset 0 0 30px rgba(40, 184, 255, 0.06);
}

.solution-card > span {
  color: #28b8ff;
  font-size: 44px;
}

.solution-card strong {
  display: block;
  font-size: clamp(23px, 3vw, 36px);
  line-height: 1;
  text-transform: uppercase;
}

.solution-card p {
  margin-top: 8px;
  color: var(--ink-2);
}

.cases-tech {
  background: linear-gradient(180deg, #030a1a, #06132a);
}

.tools-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 20%, rgba(40, 184, 255, 0.16), transparent 30%),
    linear-gradient(140deg, #0a244a, #041126);
  box-shadow: 0 24px 70px rgba(0, 35, 90, 0.2);
}

.tools-bridge h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.tools-bridge p {
  max-width: 650px;
  color: var(--ink-2);
}

.tools-actions {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

.direction-hero {
  position: relative;
  overflow: hidden;
  padding: 148px 0 88px;
  background:
    radial-gradient(circle at 78% 32%, rgba(8, 110, 255, 0.23), transparent 34%),
    var(--bg);
}

.direction-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.78fr);
  align-items: center;
  gap: 70px;
}

.direction-hero h1 {
  margin: 22px 0 20px;
  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.88;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.direction-hero h1 span {
  color: #28b8ff;
  text-shadow: 0 0 26px rgba(40, 184, 255, 0.34);
}

.direction-hero p {
  max-width: 640px;
  color: var(--ink-2);
  font-size: 19px;
}

.mini-dashboard,
.automation-console {
  padding: 22px;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: linear-gradient(150deg, rgba(10, 37, 76, 0.95), rgba(3, 14, 34, 0.96));
  box-shadow: 0 24px 80px rgba(0, 30, 90, 0.3), inset 0 1px 0 rgba(151, 213, 255, 0.12);
}

.mini-dash-head {
  display: flex;
  justify-content: space-between;
  color: #7596bc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mini-dash-head b {
  color: #38dc9b;
}

.mini-dash-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.mini-dash-metrics article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(3, 16, 39, 0.58);
}

.mini-dash-metrics span,
.mini-dash-foot {
  color: var(--muted);
  font-size: 11px;
}

.mini-dash-metrics strong {
  display: block;
  margin: 6px 0;
  font-size: 20px;
}

.mini-dash-metrics small {
  color: #38dc9b;
}

.mini-dash-chart {
  display: flex;
  height: 150px;
  align-items: end;
  justify-content: space-around;
  gap: 10px;
  margin-top: 12px;
  padding: 24px 18px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    repeating-linear-gradient(to top, rgba(72, 139, 226, 0.08) 0 1px, transparent 1px 32px),
    rgba(3, 16, 39, 0.58);
}

.mini-dash-chart i {
  width: 10%;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(#28b8ff, #086eff);
  box-shadow: 0 0 10px rgba(40, 184, 255, 0.28);
}

.mini-dash-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
}

.console-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 26px 0;
}

.console-flow article {
  padding: 22px 10px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(3, 16, 39, 0.58);
  text-align: center;
}

.console-flow b,
.console-flow span {
  display: block;
}

.console-flow b {
  color: #6bcaff;
  font-size: 21px;
}

.console-flow span {
  color: var(--muted);
  font-size: 10px;
}

.console-flow > i {
  color: #28b8ff;
  font-style: normal;
  text-shadow: 0 0 10px #28b8ff;
}

.console-log {
  display: grid;
  gap: 9px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(2, 10, 26, 0.72);
}

.console-log span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #91a9c8;
  font: 11px monospace;
}

.console-log i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38dc9b;
  box-shadow: 0 0 7px #38dc9b;
}

.tech-services .service-card {
  position: relative;
  overflow: hidden;
  min-height: 270px;
  border-color: rgba(41, 145, 255, 0.26);
  background:
    radial-gradient(circle at 94% 0, rgba(33, 146, 255, 0.12), transparent 32%),
    linear-gradient(150deg, #0a1f40, #051127);
  box-shadow: inset 0 1px 0 rgba(150, 213, 255, 0.06);
}

.tech-services .service-card:hover {
  border-color: #28b8ff;
  box-shadow: 0 18px 50px rgba(0, 66, 155, 0.22), 0 0 20px rgba(40, 184, 255, 0.09);
}

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

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

.outcome-grid article,
.automation-grid article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: linear-gradient(150deg, #0a1f40, #051127);
}

.outcome-grid article > span,
.automation-grid article > div {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid #28b8ff;
  border-radius: 14px;
  color: #61c6ff;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(40, 184, 255, 0.16);
}

.outcome-grid h3,
.automation-grid h3 {
  font-size: 20px;
}

.outcome-grid p,
.automation-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.cross-direction {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(28px, 5vw, 50px);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 20%, rgba(40, 184, 255, 0.16), transparent 28%),
    linear-gradient(140deg, #0a244a, #041126);
  transition: transform 0.25s, border-color 0.25s;
}

.cross-direction:hover {
  transform: translateY(-5px);
  border-color: #28b8ff;
}

.cross-direction h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.cross-direction p {
  max-width: 700px;
  color: var(--ink-2);
}

.cross-direction > b {
  flex: 0 0 230px;
  color: #54c2ff;
  text-align: right;
}

/* Pulse / Lab */
.lab-hero {
  position: relative;
  overflow: hidden;
  padding: 168px 0 96px;
  background: radial-gradient(circle at 76% 24%, rgba(32, 157, 255, 0.2), transparent 34%), var(--bg);
}

.lab-orb {
  position: absolute;
  right: 8%;
  top: 14%;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(32, 157, 255, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 80px rgba(32, 157, 255, 0.1), 0 0 100px rgba(32, 157, 255, 0.08);
  pointer-events: none;
}

.lab-orb::before, .lab-orb::after {
  content: '';
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(32, 157, 255, 0.16);
  border-radius: 50%;
}

.lab-orb::after {
  inset: 34%;
  background: var(--accent);
  box-shadow: 0 0 60px var(--accent);
  opacity: 0.28;
}

.lab-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 64px;
}

.lab-hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin: 18px 0 20px;
}

.lab-hero p {
  max-width: 52ch;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.lab-console {
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: linear-gradient(160deg, #0a2145, #031027);
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.lab-console-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 18px;
}

.lab-console-top i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(32, 157, 255, 0.5);
  animation: pulse 2.6s infinite;
}

.lab-console-top b {
  margin-left: auto;
  color: var(--accent);
  font-size: 11px;
}

.lab-console-score { text-align: center; padding: 28px 12px; }
.lab-console-score span { color: var(--muted); font-size: 13px; }
.lab-console-score strong {
  display: block;
  font-family: var(--serif);
  font-size: 96px;
  line-height: 1;
  color: var(--ink);
}
.lab-console-score small { color: var(--muted); }

.lab-console-lines { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.lab-console-lines span {
  display: block;
  height: 6px;
  width: var(--w);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  opacity: 0.55;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(32, 157, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(32, 157, 255, 0); }
}

.lab-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.lab-service-card {
  position: relative;
  display: flex;
  min-height: 380px;
  flex-direction: column;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background: linear-gradient(145deg, #0b244a, #041127);
  color: var(--ink);
  transition: 0.25s;
}

.lab-service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 30px 80px rgba(20, 80, 60, 0.18);
}

.lab-service-no {
  position: absolute;
  right: 24px;
  top: 18px;
  color: rgba(32, 157, 255, 0.22);
  font-size: 54px;
  font-weight: 700;
}

.lab-service-card h3 {
  font-family: var(--serif);
  margin: 28px 0 16px;
  font-size: 32px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lab-service-card p { color: var(--ink-2); line-height: 1.65; flex: 1; }

.lab-service-card > div:last-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}

.lab-service-card b { color: var(--accent); }

.lab-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.lab-principles > div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: var(--bg-1);
}

.lab-principles strong { display: block; color: var(--accent); margin-bottom: 8px; }
.lab-principles span { display: block; font-weight: 600; margin-bottom: 8px; }
.lab-principles p { color: var(--muted); font-size: 14px; }

.lab-badges { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 8px; }

.lab-badges span {
  padding: 8px 13px;
  border: 1px solid var(--line-2);
  border-radius: 99px;
  background: rgba(18, 32, 26, 0.65);
  color: var(--accent);
  font-size: 12px;
}

.diag-points { margin: 28px 0 36px; display: flex; flex-direction: column; gap: 12px; }

.diag-points li {
  display: flex;
  gap: 12px;
  color: var(--ink-2);
}

.diag-points li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

.diag-note {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px dashed var(--line-2);
  border-radius: 14px;
  color: var(--ink-2);
  font-size: 14.5px;
  max-width: 64ch;
}

/* Calculators */
.calc-hero,
.calc-app-hero {
  position: relative;
  overflow: hidden;
  padding: 156px 0 76px;
  background:
    radial-gradient(circle at 76% 24%, rgba(32, 157, 255, 0.18), transparent 34%),
    var(--bg);
}

.calc-hero .container,
.calc-app-hero .container {
  position: relative;
  z-index: 2;
}

.calc-hero h1,
.calc-app-hero h1 {
  max-width: 900px;
  margin: 18px 0 20px;
  font-family: var(--serif);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.calc-hero p,
.calc-app-hero p {
  max-width: 720px;
  color: var(--ink-2);
  font-size: 19px;
  line-height: 1.6;
}

.calc-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.calc-hero-stats span {
  padding: 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(18, 32, 26, 0.66);
  color: var(--muted);
  font-size: 13px;
}

.calc-hero-stats strong {
  color: var(--accent);
  font-size: 15px;
}

.calc-catalog-section {
  padding-top: 58px;
}

.calc-group {
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.calc-group:first-child {
  padding-top: 0;
}

.calc-group:last-child {
  border-bottom: 0;
}

.calc-group-head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.7fr);
  align-items: end;
  gap: 42px;
  margin-bottom: 28px;
}

.calc-group-head h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.calc-group-head p {
  color: var(--muted);
  line-height: 1.6;
}

.calc-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.calc-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--bg-2), var(--bg-1));
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.calc-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-2);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.calc-card-num {
  position: absolute;
  top: 16px;
  right: 22px;
  color: rgba(32, 157, 255, 0.2);
  font-size: 50px;
  font-weight: 700;
}

.calc-card h3 {
  max-width: 76%;
  margin: 25px 0 13px;
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.calc-card p {
  max-width: 56ch;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.65;
}

.calc-card-foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 26px;
  color: var(--muted);
  font-size: 13px;
}

.calc-card-foot b {
  color: var(--accent);
}

.calc-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  margin-top: 56px;
  padding: clamp(26px, 5vw, 44px);
  border: 1px solid var(--line-2);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 20%, rgba(32, 157, 255, 0.15), transparent 32%),
    var(--bg-1);
}

.calc-promo h2 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.calc-promo p {
  max-width: 650px;
  color: var(--ink-2);
}

.calc-promo .btn {
  flex-shrink: 0;
}

.calc-app-hero {
  padding-bottom: 52px;
}

.calc-app-hero h1 {
  font-size: clamp(42px, 5vw, 66px);
}

.calc-workspace-section {
  padding: 0 0 96px;
}

.calc-workspace {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(380px, 1.15fr);
  gap: 20px;
  align-items: start;
}

.calc-form,
.calc-result {
  min-height: 480px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-1);
}

.calc-result {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  border-color: var(--line-2);
  background:
    radial-gradient(circle at 90% 0, rgba(32, 157, 255, 0.14), transparent 30%),
    linear-gradient(145deg, #121b17, #0c100e);
}

.calc-fields {
  display: grid;
  gap: 18px;
}

.calc-field {
  display: grid;
  gap: 7px;
}

.calc-field > span:first-child {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
}

.calc-input-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.calc-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.calc-input-wrap input {
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 500 16px var(--sans);
  font-variant-numeric: tabular-nums;
}

.calc-input-wrap em {
  padding: 0 14px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

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

.calc-form-error {
  min-height: 22px;
  margin-top: 14px;
  color: #ff8d92;
  font-size: 13px;
}

.calc-result-empty {
  display: grid;
  min-height: 410px;
  place-content: center;
  text-align: center;
}

.calc-result-empty span {
  font-family: var(--serif);
  font-size: 26px;
}

.calc-result-empty p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 14px;
}

.calc-result-head h2 {
  font-family: var(--serif);
  font-size: 32px;
}

.calc-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.calc-result-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 12, 15, 0.55);
}

.calc-result-grid span {
  display: block;
  min-height: 38px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.calc-result-grid strong {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.calc-result-grid small {
  margin-left: 5px;
  color: var(--muted);
  font-size: 11px;
}

.calc-insight {
  margin-top: 18px;
  padding: 17px 18px;
  border-left: 2px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--accent-soft);
}

.calc-insight.bad {
  border-left-color: #ff6f78;
  background: rgba(255, 80, 90, 0.08);
}

.calc-insight b {
  font-size: 13px;
}

.calc-insight p {
  margin-top: 5px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.55;
}

.calc-disclaimer {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
}

.calc-result-cta { margin-top: 18px; }

.calc-error {
  grid-column: 1 / -1;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink-2);
}

.calc-error a {
  color: var(--accent);
}

/* Footer */
.footer, .site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner, .foot-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.foot-col { display: flex; flex-direction: column; gap: 8px; min-width: 140px; }
.foot-col h5,
.foot-heading { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.foot-col a { font-size: 14px; color: var(--ink-2); }
.foot-col a:hover { color: var(--accent); }

.footer-copy, .foot-bottom {
  font-size: 14px;
  color: var(--muted);
}

.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: var(--ink-2); }
.footer-links a:hover { color: var(--accent); }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(10, 12, 15, 0.9);
  color: var(--accent);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 40;
}

.to-top.show { opacity: 1; pointer-events: auto; }

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible { opacity: 1; transform: none; }

/* Stage 5B: cases, materials, diagnostics */
.catalog-hero h1,
.case-detail-hero h1 {
  max-width: 1040px;
}

.case-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.case-filter button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgba(16, 35, 63, 0.62);
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}

.case-filter button:hover,
.case-filter button.active {
  border-color: rgba(76, 201, 255, .72);
  background: rgba(76, 201, 255, .12);
  color: var(--text);
}

.filter-note {
  max-width: 74ch;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 13px;
}

.case-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.catalog-case {
  min-width: 0;
  overflow: hidden;
}

.catalog-case-visual {
  position: relative;
  display: flex;
  aspect-ratio: 16 / 7;
  min-height: 190px;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  overflow: hidden;
  padding: 26px;
  border-bottom: 1px solid var(--glass-border);
  background:
    linear-gradient(rgba(76, 201, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 201, 255, .055) 1px, transparent 1px),
    radial-gradient(circle at 78% 28%, rgba(76, 201, 255, .24), transparent 34%),
    linear-gradient(140deg, rgba(16, 35, 63, .94), rgba(7, 17, 31, .92));
  background-size: 28px 28px, 28px 28px, auto, auto;
}

.catalog-case-visual span,
.case-placeholder span {
  color: var(--color-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.catalog-case-visual strong {
  font-size: clamp(20px, 3vw, 30px);
}

.catalog-case-body {
  padding: clamp(24px, 4vw, 34px);
}

.catalog-case-body h2 {
  margin: 10px 0 22px;
  font-size: clamp(24px, 3vw, 34px);
}

.catalog-case-body dl,
.detail-facts dl {
  display: grid;
  gap: 15px;
}

.catalog-case-body dl div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--glass-border);
}

.catalog-case-body dt,
.detail-facts dt {
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.catalog-case-body dd,
.detail-facts dd {
  min-width: 0;
  color: var(--muted);
  line-height: 1.55;
}

.catalog-case-body .text-link {
  margin-top: 24px;
}

.catalog-case-cfo {
  border-left-color: rgba(99, 230, 190, .42);
}

.service-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 5vw, 50px);
}

.service-bridge > div:first-child {
  max-width: 720px;
}

.service-bridge h2 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 4vw, 44px);
}

.service-bridge p {
  color: var(--muted);
}

.detail-summary-grid,
.detail-columns {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

.detail-facts {
  padding: clamp(26px, 4vw, 40px);
}

.detail-facts dl div + div {
  padding-top: 20px;
  border-top: 1px solid var(--glass-border);
}

.detail-facts dt {
  margin-bottom: 7px;
}

.detail-columns section {
  min-width: 0;
}

.detail-columns h2 {
  margin: 10px 0 20px;
  font-size: clamp(28px, 4vw, 42px);
}

.detail-columns p {
  color: var(--muted);
  line-height: 1.7;
}

.detail-list {
  display: grid;
  gap: 12px;
}

.detail-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}

.detail-list li::before {
  content: "";
  position: absolute;
  top: .7em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 14px rgba(76, 201, 255, .55);
}

.case-detail-visual {
  overflow: hidden;
  padding: 18px;
}

.case-placeholder {
  display: grid;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  place-content: center;
  gap: 10px;
  padding: 24px;
  border: 1px dashed rgba(76, 201, 255, .38);
  border-radius: var(--r);
  background:
    linear-gradient(rgba(76, 201, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 201, 255, .055) 1px, transparent 1px),
    radial-gradient(circle at 70% 30%, rgba(79, 124, 255, .2), transparent 35%),
    var(--color-bg);
  background-size: 30px 30px, 30px 30px, auto, auto;
  text-align: center;
}

.case-placeholder b {
  overflow-wrap: anywhere;
  color: var(--text);
}

.case-detail-visual figcaption {
  padding: 14px 6px 2px;
  color: var(--muted);
  font-size: 12px;
}

.visual-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 180px;
  padding: 28px 22px;
  border: 1px dashed rgba(76, 201, 255, 0.42);
  border-radius: var(--r);
  background:
    linear-gradient(rgba(76, 201, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 201, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 70% 30%, rgba(79, 124, 255, 0.18), transparent 35%),
    rgba(7, 17, 31, 0.72);
  background-size: 28px 28px, 28px 28px, auto, auto;
  text-align: center;
}

.visual-slot__label {
  max-width: 42ch;
  margin: 0;
  color: var(--ink-2);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 600;
  line-height: 1.45;
}

.visual-slot__file {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(7, 17, 31, 0.55);
  color: var(--muted);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 11px;
  line-height: 1.4;
}

.case-visual .visual-slot,
.catalog-case-visual .visual-slot {
  position: absolute;
  inset: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
}

.case-detail-visual .visual-slot {
  aspect-ratio: 16 / 9;
  min-height: 260px;
}

.hero-system .visual-slot {
  position: static;
  order: 4;
  z-index: 3;
  width: 100%;
  max-width: none;
  min-height: 84px;
  aspect-ratio: auto;
  padding: 14px 16px;
  margin-top: 4px;
}

.hero-system .visual-slot__label {
  max-width: none;
  font-size: 12px;
}

.future-visual .visual-slot {
  position: static;
  inset: auto;
  width: 100%;
  min-height: 92px;
  aspect-ratio: auto;
  margin: 0;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}

.case-domain-note {
  max-width: 62ch;
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: rgba(76, 201, 255, 0.06);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

.diagnostic-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.diagnostic-card {
  padding: clamp(26px, 4vw, 40px);
}

.diagnostic-card h2 {
  margin: 12px 0;
  font-size: clamp(28px, 4vw, 40px);
}

.diagnostic-card > p,
.diagnostic-card li {
  color: var(--muted);
}

.diagnostic-card h3 {
  margin: 26px 0 12px;
  font-size: 16px;
}

.diagnostic-card ul {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
  padding-left: 20px;
}

.pricing-grid-static {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.pricing-grid-static .pricing-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.pricing-grid-static .pricing-card h2 {
  margin: 12px 0 20px;
  font-size: clamp(26px, 3vw, 36px);
}

.pricing-grid-static .price {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.1;
}

.pricing-grid-static .price-period {
  margin: 7px 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.pricing-grid-static ul {
  display: grid;
  flex: 1;
  gap: 10px;
}

.pricing-grid-static li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.pricing-grid-static li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}

.pricing-note {
  max-width: 80ch;
  margin: 28px auto 0;
  color: var(--muted);
  text-align: center;
}

.calc-legal-note {
  margin-top: 20px;
  padding-left: 14px;
  border-left: 2px solid var(--color-accent);
  color: var(--muted) !important;
  font-size: 13px !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .pricing-grid-static {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  .case-catalog-grid,
  .detail-summary-grid,
  .detail-columns,
  .diagnostic-choice-grid,
  .pricing-grid-static {
    grid-template-columns: 1fr;
  }

  .service-bridge {
    align-items: stretch;
    flex-direction: column;
  }

  .service-bridge .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .service-bridge .btn {
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .catalog-case-body dl div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .catalog-case-visual {
    aspect-ratio: auto;
    min-height: 180px;
  }

  .case-placeholder {
    aspect-ratio: auto;
    min-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track, .lab-console-top i { animation: none; }
  .fade-in { opacity: 1; transform: none; }
}

@media (max-width: 1180px) {
  .menu { display: none; }
  .burger { display: flex; }
  .site-header .nav-cta > .btn { display: none; }
}

@media (max-width: 1080px) {
  .menu { display: none; }
  .burger { display: flex; }
  .site-header .nav-cta > .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { text-align: center; padding: 0; display: flex; flex-direction: column; align-items: center; }
  .hero-dash { margin-inline: auto; }
  .hero-cta, .hero-buttons { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2)::before { display: none; }
  .lab-hero-grid, .home-about, .about-grid, .contacts-grid { grid-template-columns: 1fr; }
  .lab-console { display: none; }
  .lab-services, .lab-principles { grid-template-columns: 1fr; }
  .calc-workspace { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .tech-hero-grid, .direction-hero-grid { grid-template-columns: 1fr; }
  .tech-hero-copy { text-align: center; }
  .tech-kicker, .tech-benefits { justify-content: center; }
  .tech-lead { margin-inline: auto; }
  .tech-hero .hero-cta, .direction-hero .hero-cta { justify-content: center; }
  .tech-portrait { min-height: 460px; }
  .tech-status { right: calc(50% - 210px); }
  .data-flow { grid-template-columns: repeat(3, 1fr); }
  .data-flow > i { display: none; }
  .directions-grid { grid-template-columns: 1fr; }
  .direction-plus { margin: -8px auto; }
  .direction-card { min-height: 480px; }
  .synergy-row { grid-template-columns: 1fr; }
  .synergy-row > span { text-align: center; }
  .synergy-row article { min-height: 210px; }
  .outcome-grid { grid-template-columns: repeat(2, 1fr); }
  .automation-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools-bridge, .cross-direction { align-items: flex-start; flex-direction: column; }
  .cross-direction > b { flex-basis: auto; text-align: left; }
}

@media (max-width: 768px) {
  .hero { padding-top: 120px; }
  .portrait { min-height: 420px; }
  .portrait-photo img { max-height: 480px; }
  .hero-name { font-size: clamp(52px, 16vw, 76px); }
  .section, .sec { padding: 64px 0; }
  .pricing-card.featured { transform: none; }
  .footer-inner { flex-direction: column; }
  .calc-group-head { grid-template-columns: 1fr; gap: 12px; }
  .calc-catalog { grid-template-columns: 1fr; }
  .calc-promo { align-items: flex-start; flex-direction: column; }
  .calc-result-grid { grid-template-columns: 1fr; }
  .calc-result-grid span { min-height: 0; }
  .calc-actions { align-items: stretch; flex-direction: column; }
  .calc-actions .btn { justify-content: center; }
  .tech-hero { padding-top: 112px; }
  .tech-hero h1 { font-size: clamp(45px, 13vw, 66px); }
  .tech-benefits { align-items: flex-start; flex-direction: column; }
  .tech-portrait { min-height: 390px; }
  .tech-portrait-frame { height: 410px; }
  .tech-status { right: 8px; }
  .dashboard-demo { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-metrics { grid-template-columns: repeat(2, 1fr); }
  .dash-panels { grid-template-columns: 1fr; }
  .data-flow { grid-template-columns: 1fr; }
  .data-flow article { min-height: 190px; }
  .direction-card { min-height: 520px; }
  .synergy-row article { min-height: 230px; }
  .solution-card { align-items: flex-start; padding: 24px; }
  .tools-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .tools-actions .btn { justify-content: center; }
  .direction-hero { padding: 124px 0 68px; }
  .direction-hero h1 { font-size: clamp(48px, 14vw, 68px); }
  .mini-dashboard, .automation-console { padding: 16px; }
  .outcome-grid, .automation-grid { grid-template-columns: 1fr; }
  .console-flow { grid-template-columns: 1fr; }
  .console-flow > i { transform: rotate(90deg); text-align: center; }
  .contact-cards, .trust-links { grid-template-columns: 1fr; }
 }

/* Home: CFO × AI positioning */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 88px) 0 80px;
  background:
    radial-gradient(circle at 82% 28%, rgba(79, 124, 255, 0.2), transparent 34%),
    radial-gradient(circle at 14% 76%, rgba(76, 201, 255, 0.08), transparent 30%),
    var(--bg);
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(transparent, rgba(11, 23, 48, 0.34));
  pointer-events: none;
}

.home-hero-gridlines {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(140, 177, 219, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 177, 219, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, #000 42%, #000 92%, transparent);
  pointer-events: none;
}

.home-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(44px, 6vw, 84px);
}

.home-hero-copy {
  min-width: 0;
  max-width: 720px;
}

.home-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.home-hero h1 {
  max-width: min(16ch, 100%);
  margin: 24px 0;
  font-family: var(--sans);
  font-size: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.052em;
  overflow-wrap: anywhere;
}

.home-hero h1 span {
  color: var(--accent);
}

.home-hero-lead {
  max-width: 61ch;
  color: var(--ink-2);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.58;
}

.home-hero-tech {
  max-width: 68ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
}

.home-hero .hero-cta {
  margin-top: 32px;
}

.hero-system {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  padding: 24px;
}

.hero-system.has-visual {
  gap: 0;
  padding: 10px;
}

.hero-system-media {
  position: absolute;
  inset: 0;
  opacity: 0.8;
  background-image:
    linear-gradient(150deg, rgba(16, 35, 63, 0.46), rgba(7, 17, 31, 0.9)),
    var(--hero-cfo-ai),
    radial-gradient(circle at 70% 20%, rgba(76, 201, 255, 0.22), transparent 30%);
  background-position: center;
  background-size: cover;
}

.hero-system-media::before,
.hero-system-media::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-system-media::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(140, 177, 219, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 177, 219, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.hero-system-media::after {
  width: 220px;
  height: 220px;
  right: -70px;
  top: -70px;
  border: 1px solid rgba(76, 201, 255, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 60px rgba(79, 124, 255, 0.12);
}

.hero-system-head,
.hero-system-flow,
.hero-system-widgets {
  position: relative;
  z-index: 2;
}

.hero-system-head { order: 1; }
.hero-system-flow { order: 2; }
.hero-system-widgets { order: 3; }

.hero-system-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-system-head span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-system-head i {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.hero-system-head i::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
}

.hero-system-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin: clamp(28px, 5vw, 48px) 0 4px;
}

.hero-system-flow span {
  min-width: 0;
  color: var(--ink-2);
  font-size: clamp(7px, 0.72vw, 10px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
}

.hero-system-flow b {
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
}

.hero-system-widgets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.hero-system-widgets article {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 108px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(153, 205, 255, 0.16);
  border-radius: var(--r-sm);
  background: rgba(7, 17, 31, 0.72);
}

.hero-system-widgets article:last-child {
  grid-column: 1 / -1;
  min-height: 74px;
}

.hero-system-widgets small,
.hero-system-widgets strong,
.hero-system-widgets em {
  display: block;
}

.hero-system-widgets small {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-system-widgets strong {
  margin-top: 0;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.hero-system-widgets em {
  margin-top: 0;
  color: var(--color-success);
  font-size: 10px;
  font-style: normal;
}

.widget-line {
  display: block;
  height: 24px;
  margin-top: 9px;
  border-bottom: 2px solid var(--accent);
  transform: skewY(-8deg);
  opacity: 0.7;
}

.widget-bars {
  display: block;
  height: 28px;
  margin-top: 6px;
  background:
    linear-gradient(to top, var(--accent-2) 0 72%, transparent 72%) 0 100% / 13% 100% no-repeat,
    linear-gradient(to top, var(--accent) 0 46%, transparent 46%) 28% 100% / 13% 100% no-repeat,
    linear-gradient(to top, var(--accent-2) 0 86%, transparent 86%) 56% 100% / 13% 100% no-repeat,
    linear-gradient(to top, var(--accent) 0 60%, transparent 60%) 84% 100% / 13% 100% no-repeat;
  opacity: 0.72;
}

.proof-bar {
  position: relative;
  z-index: 3;
  border-block: 1px solid var(--line);
  background: rgba(11, 23, 48, 0.78);
}

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

.proof-grid article {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
  padding: 28px clamp(16px, 2.5vw, 30px);
}

.proof-grid article + article {
  border-left: 1px solid var(--line);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  color: var(--ink);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.2;
}

.proof-grid span {
  margin-top: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.burger.open span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.burger span {
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 1080px) {
  .home-hero {
    padding: calc(var(--header-h) + 72px) 0 64px;
  }

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

  .home-hero-copy {
    max-width: 780px;
  }

  .home-hero h1 {
    max-width: 100%;
  }

  .hero-system {
    width: min(100%, 680px);
  }
}

/* Home sections */
.home-section {
  position: relative;
  padding: var(--section-space) 0;
}

.home-section-alt {
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 20%, rgba(79, 124, 255, 0.08), transparent 30%),
    var(--bg-1);
}

.home-section-head {
  max-width: 900px;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.home-section-head.center {
  margin-inline: auto;
  text-align: center;
}

.home-section-head h2,
.split-heading h2,
.final-cta h2 {
  font-family: var(--sans);
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.home-section-head p,
.split-heading > p {
  max-width: 74ch;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.65;
}

.home-section-head.center p {
  margin-inline: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.text-link span {
  transition: transform 0.2s;
}

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

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.stagger > .fade-in:nth-child(2) { transition-delay: 70ms; }
.stagger > .fade-in:nth-child(3) { transition-delay: 140ms; }
.stagger > .fade-in:nth-child(4) { transition-delay: 210ms; }
.stagger > .fade-in:nth-child(5) { transition-delay: 280ms; }
.stagger > .fade-in:nth-child(6) { transition-delay: 350ms; }

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

.difference-card {
  position: relative;
  display: flex;
  min-height: 380px;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding: clamp(28px, 3.2vw, 42px);
}

.difference-card h3 {
  max-width: 15ch;
  margin: 54px 0 18px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.difference-card > p {
  color: var(--ink-2);
  line-height: 1.7;
}

.difference-card .text-link,
.difference-card .btn {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 28px;
}

.difference-card .btn {
  padding: 12px 22px;
  margin-top: 30px;
}

.card-index {
  position: absolute;
  top: 24px;
  right: 28px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.difference-card-main {
  grid-column: 1 / -1;
  min-height: 330px;
  padding-right: clamp(28px, 36vw, 470px);
  border-color: var(--line-2);
  background:
    radial-gradient(circle at 84% 44%, rgba(76, 201, 255, 0.2), transparent 22%),
    linear-gradient(130deg, rgba(16, 35, 63, 0.94), rgba(11, 23, 48, 0.8));
}

.difference-card-main::after {
  content: "FINANCE × AI";
  position: absolute;
  right: clamp(28px, 7vw, 90px);
  top: 50%;
  color: rgba(76, 201, 255, 0.2);
  font-size: clamp(32px, 5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.05em;
  transform: translateY(-50%);
}

.difference-card-main h3 {
  max-width: 18ch;
  margin-top: 34px;
}

.difference-card .card-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.transformation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 20px;
}

.state-card {
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(7, 17, 31, 0.54);
}

.state-card > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.state-card h3 {
  margin: 12px 0 24px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.1;
}

.state-card ul,
.domain-grid ul {
  display: grid;
  gap: 12px;
}

.state-card li,
.domain-grid li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
}

.state-card li::before,
.domain-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 1px;
  background: var(--accent);
}

.state-before {
  border-color: rgba(255, 111, 120, 0.22);
}

.state-before > span {
  color: var(--color-risk);
}

.state-after > span {
  color: var(--color-success);
}

.state-flow {
  display: flex;
  width: 86px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--muted);
}

.state-flow span {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.state-flow i {
  color: var(--accent);
  font-size: 30px;
  font-style: normal;
}

.future-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-top: 24px;
  background:
    linear-gradient(rgba(140, 177, 219, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 177, 219, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(79, 124, 255, 0.16), transparent 34%),
    var(--bg);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.future-picture:not([hidden]),
.future-picture:not([hidden]) img {
  display: block;
  width: 100%;
  height: 100%;
}

.future-picture:not([hidden]) {
  position: absolute;
  inset: 0;
}

.future-picture:not([hidden]) img {
  object-fit: cover;
}

.site-visual {
  display: block;
  width: 100%;
}

.site-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: rgba(7, 17, 31, 0.55);
  border-radius: calc(var(--r-lg) - 8px);
}

.visual-caption {
  margin: 0;
  padding: 10px 8px 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  text-align: center;
}

.hero-system.has-visual .site-visual img,
.future-visual.has-visual .site-visual img,
.case-detail-visual.has-visual .site-visual img {
  border-radius: calc(var(--r-lg) - 10px);
}

.future-visual.has-visual {
  aspect-ratio: auto;
  min-height: 0;
  padding: 10px 10px 8px;
  background: rgba(7, 17, 31, 0.45);
}

.future-visual.has-visual .visual-caption {
  padding: 10px 6px 2px;
}

.case-visual.has-visual,
.catalog-case-visual.has-visual {
  padding: 0;
  background: rgba(7, 17, 31, 0.72);
}

.case-visual.has-visual .site-visual,
.catalog-case-visual.has-visual .site-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-visual.has-visual img,
.catalog-case-visual.has-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.home-case-card > .visual-caption,
.catalog-case > .visual-caption {
  padding: 8px 16px 0;
}

.case-detail-visual.has-visual {
  padding: 10px;
}

.ai-visual.has-visual {
  min-height: 0;
}

.future-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 3vw, 30px);
  min-height: 200px;
  aspect-ratio: 2 / 1;
  padding: 40px;
}

.future-placeholder span {
  padding: 10px 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.72);
  color: var(--ink-2);
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 600;
  text-align: center;
}

.future-placeholder i {
  color: var(--accent);
  font-style: normal;
}

.future-placeholder.vertical {
  flex-direction: column;
  aspect-ratio: auto;
  min-height: 280px;
}

.future-visual figcaption {
  padding: 0 22px 16px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.home-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-case-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
}

.case-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(140, 177, 219, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 177, 219, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 72% 20%, rgba(76, 201, 255, 0.16), transparent 32%),
    var(--bg-1);
  background-size: 32px 32px, 32px 32px, auto, auto;
}

.case-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  padding: 22px;
}

.case-placeholder span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.case-placeholder b {
  max-width: 20ch;
  margin-top: 6px;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.2;
}

.case-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(24px, 2.5vw, 32px);
}

.case-content h3 {
  margin: 3px 0 24px;
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.case-content dl {
  display: grid;
  gap: 16px;
}

.case-content dl > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.case-content dt {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-content dd {
  display: block;
  margin-top: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.55;
}

.case-content .text-link {
  margin-top: auto;
  padding-top: 24px;
}

.method-pipeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.method-pipeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 43px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.45;
}

.method-pipeline li {
  position: relative;
  display: flex;
  min-height: 220px;
  flex-direction: column;
  gap: 10px;
  padding: 28px 22px;
}

.method-pipeline li > span,
.capability-grid article > span,
.format-grid article > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.method-pipeline h3 {
  margin: 8px 0 0;
  font-size: 18px;
}

.method-pipeline p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.method-quote {
  max-width: 850px;
  margin: 28px auto 0;
  padding: 28px clamp(24px, 4vw, 44px);
  text-align: center;
}

.method-quote p {
  color: var(--ink);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 600;
}

.method-quote footer {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  align-items: end;
  gap: 60px;
  margin-bottom: clamp(38px, 5vw, 64px);
}

.split-heading > p {
  margin: 0;
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 18px;
}

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

.capability-grid article,
.domain-grid article,
.format-grid article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
}

.capability-grid h3,
.format-grid h3 {
  margin: 8px 0 0;
  font-size: 20px;
}

.capability-grid p,
.format-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.ai-visual {
  aspect-ratio: auto;
  min-height: 100%;
  margin: 0;
}

.principle-strip,
.scope-note {
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--accent-soft);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}

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

.domain-grid h3 {
  margin-bottom: 20px;
  font-size: 23px;
}

.experience-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.experience-line::before {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  top: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  box-shadow: 0 0 14px rgba(76, 201, 255, 0.3);
}

.experience-line li {
  position: relative;
  padding-top: 52px;
}

.experience-line li > span {
  position: absolute;
  top: 7px;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent);
  font-size: 8px;
  box-shadow: 0 0 15px rgba(76, 201, 255, 0.22);
}

.experience-line h3 {
  font-size: 17px;
  line-height: 1.2;
}

.experience-line p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.material-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: clamp(25px, 3vw, 34px);
}

.material-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.material-source {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.rbc-brand {
  color: var(--ink);
}

.material-card time {
  color: var(--muted);
  font-size: 11px;
}

.material-card h3 {
  margin: 30px 0 16px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
}

.material-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.material-card .text-link {
  margin-top: auto;
  padding-top: 24px;
}

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

.format-grid article {
  min-height: 230px;
}

.format-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 18px;
  padding: clamp(26px, 4vw, 42px);
}

.format-summary p {
  color: var(--ink-2);
  font-size: 17px;
}

.format-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--accent);
  font-size: clamp(20px, 2.4vw, 30px);
}

.format-summary .section-actions {
  flex-shrink: 0;
  margin-top: 0;
}

.final-cta {
  padding: 0 0 var(--section-space);
}

.final-cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 84px);
  background:
    radial-gradient(circle at 88% 25%, rgba(76, 201, 255, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(16, 35, 63, 0.96), rgba(7, 17, 31, 0.9));
}

.final-cta h2 {
  max-width: 20ch;
}

.final-cta p {
  max-width: 600px;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 18px;
}

.final-cta small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer .foot-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(140px, 0.75fr));
}

.foot-brand .brand {
  font-size: 18px;
}

.foot-brand .footer-copy {
  max-width: 31ch;
  margin-top: 18px;
}

@media (max-width: 1080px) {
  .home-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .method-pipeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .method-pipeline::before {
    display: none;
  }

  .ai-layout,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .split-heading {
    gap: 20px;
  }

  .ai-visual {
    min-height: 430px;
  }

  .ai-visual.has-visual {
    min-height: 0;
  }

  .experience-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 36px;
  }

  .experience-line::before {
    display: none;
  }

  .experience-line li {
    padding: 46px 18px 0 0;
  }

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

  .format-summary {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 768px) {
  .home-section-head h2,
  .split-heading h2,
  .final-cta h2 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .difference-grid,
  .transformation-grid,
  .home-cases-grid,
  .method-pipeline,
  .capability-grid,
  .domain-grid,
  .materials-grid {
    grid-template-columns: 1fr;
  }

  .difference-card-main,
  .home-case-card:last-child {
    grid-column: auto;
  }

  .difference-card-main {
    padding-right: clamp(26px, 3vw, 38px);
  }

  .difference-card-main::after {
    display: none;
  }

  .state-flow {
    width: auto;
    height: 62px;
    flex-direction: row;
    gap: 12px;
  }

  .state-flow i {
    transform: rotate(90deg);
  }

  .future-visual {
    aspect-ratio: 4 / 3;
  }

  .future-visual.has-visual {
    aspect-ratio: auto;
  }

  .method-pipeline li {
    min-height: 0;
  }

  .method-pipeline h3 {
    margin-top: 24px;
  }

  .experience-line {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 34px;
  }

  .experience-line::before {
    display: block;
    left: 10px;
    right: auto;
    top: 12px;
    bottom: 12px;
    width: 1px;
    height: auto;
  }

  .experience-line li {
    min-height: 150px;
    padding: 4px 0 36px 24px;
  }

  .experience-line li > span {
    left: -34px;
    top: 0;
  }

  .format-summary .section-actions,
  .final-cta .section-actions {
    width: 100%;
    flex-direction: column;
  }

  .format-summary .btn,
  .final-cta .btn {
    justify-content: center;
  }

  .site-footer .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 430px) {
  .difference-card,
  .state-card,
  .case-content,
  .capability-grid article,
  .domain-grid article,
  .material-card,
  .format-grid article {
    padding: 22px;
  }

  .future-visual {
    aspect-ratio: auto;
  }

  .ai-visual {
    aspect-ratio: auto;
    min-height: 380px;
  }

  .ai-visual.has-visual {
    min-height: 0;
  }

  .future-placeholder {
    flex-direction: column;
    gap: 7px;
    padding: 26px;
  }

  .future-placeholder i {
    height: 12px;
    line-height: 12px;
    transform: rotate(90deg);
  }

  .future-visual figcaption {
    left: 14px;
    bottom: 12px;
    font-size: 9px;
  }

  .format-grid,
  .site-footer .foot-grid {
    grid-template-columns: 1fr;
  }

  .format-grid article {
    min-height: 200px;
  }
}

/* Direction and profile pages */
.service-page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 88px) 0 90px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 26%, rgba(79, 124, 255, 0.18), transparent 34%),
    var(--bg);
}

.service-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(42px, 6vw, 82px);
}

.service-page-hero .crumbs {
  margin-bottom: 28px;
}

.service-page-hero h1 {
  max-width: min(16ch, 100%);
  margin: 22px 0;
  font-family: var(--sans);
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.052em;
  overflow-wrap: anywhere;
}

.service-hero-lead {
  max-width: 62ch;
  color: var(--ink-2);
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.65;
}

.service-hero-lead strong {
  color: var(--ink);
}

.page-system-visual {
  position: relative;
  display: flex;
  aspect-ratio: 4 / 3;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(rgba(140, 177, 219, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 177, 219, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 74% 18%, rgba(76, 201, 255, 0.19), transparent 30%),
    var(--glass-bg);
  background-size: 38px 38px, 38px 38px, auto, auto;
}

.page-system-visual > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.page-visual-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.page-visual-flow b {
  min-width: 0;
  color: var(--ink-2);
  font-size: clamp(9px, 1vw, 12px);
  text-align: center;
}

.page-visual-flow i {
  color: var(--accent);
  font-style: normal;
}

.page-visual-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.page-visual-panels article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(7, 17, 31, 0.7);
  color: var(--muted);
  font-size: 11px;
}

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

.feature-grid article {
  min-height: 230px;
  padding: 28px;
}

.feature-grid h3 {
  margin-bottom: 14px;
  font-size: 23px;
}

.feature-grid p,
.scenario-grid p,
.compact-case-grid p,
.tool-case-grid p,
.profile-links p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

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

.competency-grid li,
.source-grid li {
  display: flex;
  min-height: 74px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(16, 35, 63, 0.62);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}

.competency-grid li::before,
.source-grid li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.compact-case-grid,
.scenario-grid,
.tool-case-grid,
.profile-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.compact-case-grid article,
.scenario-grid article,
.tool-case-grid article {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: clamp(25px, 3vw, 34px);
}

.tool-case-grid article {
  overflow: hidden;
}

.compact-case-grid article > span,
.scenario-grid article > span,
.profile-links a > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compact-case-grid h3,
.scenario-grid h3,
.tool-case-grid h3,
.profile-links h3 {
  margin: 24px 0 14px;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
}

.compact-case-grid .text-link,
.tool-case-grid .text-link {
  margin-top: auto;
  padding-top: 24px;
}

.work-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: work;
}

.work-steps.six-steps {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.work-steps li {
  min-height: 230px;
  padding: 26px;
}

.work-steps li > span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.work-steps h3 {
  margin: 35px 0 10px;
  font-size: 20px;
}

.work-steps p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.automation-bridge {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 48px;
  padding: clamp(30px, 5vw, 58px);
}

.automation-bridge h2 {
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.automation-bridge p {
  margin-top: 18px;
  color: var(--ink-2);
  line-height: 1.65;
}

.automation-bridge ul,
.criteria-list {
  display: grid;
  align-content: center;
  gap: 12px;
}

.automation-bridge li,
.criteria-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
}

.automation-bridge li::before,
.criteria-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 1px;
  background: var(--accent);
}

.automation-bridge .text-link {
  grid-column: 1 / -1;
}

.criteria-layout,
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
  align-items: start;
  gap: clamp(42px, 7vw, 90px);
}

.criteria-layout .home-section-head,
.story-grid .home-section-head {
  margin-bottom: 0;
}

.criteria-list {
  padding: clamp(28px, 4vw, 42px);
}

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

.tool-placeholder {
  display: grid;
  aspect-ratio: 16 / 7;
  place-items: center;
  margin: -34px -34px 8px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(140, 177, 219, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 177, 219, 0.07) 1px, transparent 1px),
    radial-gradient(circle, rgba(79, 124, 255, 0.18), transparent 45%),
    var(--bg);
  background-size: 30px 30px, 30px 30px, auto, auto;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.about-hero h1 {
  max-width: none;
}

.about-role-line {
  margin: -6px 0 18px;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}

.about-portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

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

.story-copy {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.75;
}

.story-copy > p + p {
  margin-top: 18px;
}

.story-copy .about-call {
  margin-top: 28px;
  background: var(--glass-bg);
}

.story-copy .about-call p {
  margin-top: 8px;
}

.profile-links a {
  display: block;
  min-height: 280px;
  padding: clamp(25px, 3vw, 34px);
}

.profile-links a > b {
  display: inline-block;
  margin-top: 24px;
  color: var(--accent);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
  }

  .service-page-hero h1 {
    max-width: 16ch;
  }

  .page-system-visual {
    width: min(100%, 680px);
  }

  .feature-grid,
  .compact-case-grid,
  .scenario-grid,
  .tool-case-grid,
  .profile-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-case-grid article:last-child,
  .scenario-grid article:last-child,
  .tool-case-grid article:last-child,
  .profile-links a:last-child {
    grid-column: 1 / -1;
  }

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

  .work-steps,
  .work-steps.six-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 768px) {
  .service-page-hero {
    padding: calc(var(--header-h) + 56px) 0 64px;
  }

  .service-page-hero h1 {
    max-width: 100%;
    font-size: clamp(32px, 9vw, 52px);
  }

  .page-system-visual {
    aspect-ratio: 4 / 3;
  }

  .feature-grid,
  .compact-case-grid,
  .scenario-grid,
  .tool-case-grid,
  .profile-links,
  .work-steps,
  .work-steps.six-steps,
  .criteria-layout,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .compact-case-grid article:last-child,
  .scenario-grid article:last-child,
  .tool-case-grid article:last-child,
  .profile-links a:last-child {
    grid-column: auto;
  }

  .feature-grid article,
  .compact-case-grid article,
  .scenario-grid article,
  .tool-case-grid article,
  .work-steps li,
  .profile-links a {
    min-height: 0;
  }

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

  .automation-bridge {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .automation-bridge .text-link {
    grid-column: auto;
  }

  .about-portrait {
    width: min(100%, 520px);
  }
}

@media (max-width: 430px) {
  .page-system-visual {
    aspect-ratio: auto;
    min-height: 390px;
  }

  .page-visual-flow {
    align-items: stretch;
    flex-direction: column;
  }

  .page-visual-flow i {
    height: 10px;
    line-height: 10px;
    text-align: center;
    transform: rotate(90deg);
  }

  .competency-grid,
  .source-grid {
    grid-template-columns: 1fr;
  }

  .tool-placeholder {
    margin: -25px -25px 8px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-space: clamp(60px, 16vw, 80px);
    --header-h: 68px;
  }

  .home-hero {
    padding: calc(var(--header-h) + 56px) 0 56px;
  }

  .home-hero-grid {
    gap: 44px;
  }

  .home-hero h1 {
    margin: 20px 0;
    max-width: 100%;
    font-size: clamp(32px, 9vw, 48px);
    line-height: 1.12;
  }

  .home-hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.09em;
  }

  .home-hero-lead {
    font-size: 17px;
  }

  .home-hero-tech {
    font-size: 12px;
  }

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

  .home-hero .hero-cta .btn {
    justify-content: center;
  }

  .hero-system {
    padding: 18px;
  }

  .hero-system.has-visual {
    padding: 8px;
  }

  .hero-system-flow {
    margin-top: clamp(38px, 12vw, 68px);
  }

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

  .proof-grid article {
    padding: 20px 16px;
  }

  .proof-grid article:nth-child(3) {
    border-left: 0;
  }

  .proof-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 430px) {
  .site-header .nav {
    gap: 12px;
  }

  .site-header .brand {
    font-size: 14px;
  }

  .site-header .brand small {
    font-size: 9px;
  }

  .site-header .nav-cta > .btn {
    display: none;
  }

  .hero-system {
    min-height: 0;
  }

  .hero-system-head i {
    display: none;
  }

  .hero-system-flow {
    align-items: stretch;
    flex-direction: column;
    margin: 34px 0 18px;
  }

  .hero-system-flow b {
    height: 12px;
    line-height: 12px;
    text-align: center;
    transform: rotate(90deg);
  }

  .hero-system-flow span {
    padding: 5px 8px;
    border: 1px solid rgba(153, 205, 255, 0.12);
    border-radius: 999px;
    background: rgba(7, 17, 31, 0.54);
    font-size: 8px;
  }

  .hero-system-widgets {
    display: none;
  }
}

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

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