/* Spark Media — site design system (corporate, light).
   Generated pages live under /, /services/, /solutions/, /industries/, /about/, /contact/.
   Page HTML is built by tools/site/build.py; edit content there, not in the output files. */

:root {
  color-scheme: light;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --line-2: #CBD5E1;
  --bg: #FFFFFF;
  --bg-soft: #F4F7FA;
  --bg-tint: #EEF4FF;
  --navy: #0F172A;
  --navy-2: #16213A;
  --navy-line: #253248;
  --on-navy: #E2E8F0;
  --on-navy-muted: #94A3B8;
  --brand: #2563EB;
  --brand-ink: #1D4ED8;
  --brand-2: #22D3EE;
  --brand-soft: #E6EFFE;
  --grad: linear-gradient(100deg, #22D3EE 0%, #2563EB 100%);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 1px rgba(15, 23, 42, 0.04);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18), 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 30px 60px -24px rgba(15, 23, 42, 0.28);
  --wrap: 1180px;
  --gutter: 20px;
  --head-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.012em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}
.skip:focus { top: 12px; color: #fff; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 16px/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -12px rgba(37, 99, 235, 0.7); }
.btn-primary:hover { background: var(--brand-ink); color: #fff; box-shadow: 0 12px 26px -12px rgba(37, 99, 235, 0.8); }

.btn-dark { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-dark:hover { background: #1E293B; color: #fff; }

.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { color: var(--ink); border-color: var(--ink); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-soft); color: var(--ink); }

.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; }

.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 15px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--brand-ink);
  text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15, 23, 42, 0.35); }

.header-inner { display: flex; align-items: center; gap: 28px; height: var(--head-h); }

.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { width: 148px; height: auto; }

.nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-item { position: relative; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink-2);
  font: 500 15.5px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
}
.nav-link:hover, .nav-item.open > .nav-link { color: var(--ink); background: var(--bg-soft); }
.nav-link[aria-current="page"], .nav-link.current { color: var(--ink); }
.nav-link.current::after { content: ""; }
.nav-link .chev { width: 12px; height: 12px; transition: transform 0.2s ease; }
.nav-item.open > .nav-link .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  width: 360px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: none; }

.dropdown a {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 2px 12px;
  align-items: start;
  padding: 10px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}
.dropdown a:hover { background: var(--bg-soft); color: var(--ink); }
.dropdown .d-icon { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); }
.dropdown .d-icon svg { width: 18px; height: 18px; }
.dropdown strong { font-size: 15px; font-weight: 600; line-height: 1.3; }
.dropdown small { color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.dropdown .d-all { display: block; margin-top: 4px; padding: 10px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; color: var(--brand-ink); font-size: 14.5px; font-weight: 600; }

.header-cta { display: none; margin-left: auto; }

.menu-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }

.mobile-nav {
  position: fixed;
  inset: var(--head-h) 0 0 0;
  z-index: 49;
  overflow-y: auto;
  padding: 12px var(--gutter) 40px;
  background: #fff;
  border-top: 1px solid var(--line);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.menu-open .mobile-nav { visibility: visible; opacity: 1; transform: none; }
.menu-open { overflow: hidden; }

.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary, .mobile-nav > a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  color: var(--ink);
  font: 600 18px/1.2 var(--font-display);
  text-decoration: none;
  list-style: none;
  cursor: pointer;
}
.mobile-nav > a:not(.btn) { border-bottom: 1px solid var(--line); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.mobile-nav details[open] summary svg { transform: rotate(180deg); }
.mobile-nav details a { display: block; padding: 10px 2px 10px 14px; color: var(--ink-2); text-decoration: none; }
.mobile-nav details a:last-child { margin-bottom: 12px; }
.mobile-nav .btn { width: 100%; margin-top: 24px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: linear-gradient(180deg, var(--bg-tint), #fff); }
.section:not(.section-soft):not(.section-dark):not(.section-tint) + .section:not(.section-soft):not(.section-dark):not(.section-tint) { padding-top: 0; }
.section-soft + .section-soft { padding-top: 0; }

.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-navy-muted);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #67E8F9; }
.section-dark .eyebrow::before { background: #67E8F9; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--brand-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }

.lede { font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.6; color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head .lede { margin-top: 18px; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

.prose p + p { margin-top: 1.1em; }
.prose { color: var(--ink-2); }

.split { display: grid; gap: 32px; }
.split-top { align-items: start; }

.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; }
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 820px;
  height: 820px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.12), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -15%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.08), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { max-width: 620px; }
.hero .btn-row { margin-top: 32px; }

/* Connected-systems diagram */
.system {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
}
.system svg.links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.system .links path { fill: none; stroke: #CBD5E1; stroke-width: 1.5; }
.system .links path.flow {
  stroke: url(#flowGrad);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 10 190;
  animation: flow 3.2s linear infinite;
}
.system .links path.flow.d2 { animation-delay: -0.8s; }
.system .links path.flow.d3 { animation-delay: -1.6s; }
.system .links path.flow.d4 { animation-delay: -2.4s; }
@keyframes flow { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }

.node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.node .n-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-ink); }
.node .n-icon svg { width: 17px; height: 17px; }
.node small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }

.hub {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  text-align: center;
  box-shadow: 0 0 0 10px rgba(37, 99, 235, 0.08), 0 0 0 22px rgba(37, 99, 235, 0.05), var(--shadow-lg);
  transform: translate(-50%, -50%);
}
.hub::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  padding: 2px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.hub strong { display: block; font: 700 clamp(13px, 2.4vw, 16px)/1.2 var(--font-display); }
.hub span { display: block; margin-top: 4px; color: var(--on-navy-muted); font-size: clamp(10px, 1.8vw, 12px); }

.node.pulse::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  border: 2px solid var(--brand);
  opacity: 0;
  animation: node-pulse 6.4s ease-in-out infinite;
}
.node.pulse.p2::after { animation-delay: 1.6s; }
.node.pulse.p3::after { animation-delay: 3.2s; }
.node.pulse.p4::after { animation-delay: 4.8s; }
@keyframes node-pulse { 0%, 100% { opacity: 0; } 8%, 18% { opacity: 0.7; } 30% { opacity: 0; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 56px 0 64px; background: linear-gradient(180deg, var(--bg-tint) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -200px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.12), transparent 70%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.page-hero .lede { max-width: 720px; margin-top: 22px; }
.page-hero .btn-row { margin-top: 30px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: 20px; }
a.card { color: inherit; text-decoration: none; }
a.card:hover, .card.hoverable:hover { border-color: #BFD3FB; box-shadow: var(--shadow); transform: translateY(-3px); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.icon-tile svg { width: 24px; height: 24px; }
.section-dark .icon-tile { background: rgba(103, 232, 249, 0.12); color: #67E8F9; }

.card-num { display: block; margin-bottom: 18px; color: var(--brand-ink); font: 700 13px/1 var(--font); letter-spacing: 0.12em; }

.card-problem { padding-top: 26px; }
.card-problem .q { display: block; margin-bottom: 14px; color: var(--ink); font: 700 1.28rem/1.3 var(--font-display); letter-spacing: -0.015em; }
.card-problem .q::before { content: "“"; color: var(--brand); }
.card-problem .q::after { content: "”"; color: var(--brand); }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 34px; color: var(--ink-2); }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%231D4ED8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.panel {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.panel h3 { margin-bottom: 20px; font-size: 1.1rem; }
.panel .note { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 15px; }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font: 700 14px/1 var(--font);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); }
.section-soft .step { background: #fff; }

.steps-compact .step { padding: 22px; }
.steps-compact .step::before { width: 36px; height: 36px; margin-bottom: 14px; font-size: 13px; }
.steps-compact .step p { color: var(--ink-2); }

/* ---------- Journey ---------- */
.journey { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.journey li {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding-bottom: 22px;
}
.journey li::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--line-2), var(--line-2)) no-repeat;
}
.journey li:last-child { padding-bottom: 0; }
.journey li:last-child::before { display: none; }
.journey .j-dot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--brand-ink); box-shadow: var(--shadow-sm); }
.journey .j-dot svg { width: 20px; height: 20px; }
.journey strong { display: block; padding-top: 2px; color: var(--ink); font-weight: 600; }
.journey span { display: block; color: var(--muted); font-size: 15.5px; }

.photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-soft); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame { box-shadow: var(--shadow-lg); }

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

/* ---------- Stack feature (dark) ---------- */
.stack-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
.section-dark .lede, .section-dark .prose { color: var(--on-navy-muted); }
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 70%);
  pointer-events: none;
}

.tool-cloud { position: relative; display: flex; flex-wrap: wrap; gap: 10px; }
.tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--navy-2);
  border: 1px solid var(--navy-line);
  color: var(--on-navy);
  font-size: 14.5px;
  font-weight: 500;
}
.tool i { width: 8px; height: 8px; border-radius: 50%; background: #475569; }
.tool.on { border-color: rgba(103, 232, 249, 0.55); background: rgba(37, 99, 235, 0.18); }
.tool.on i { background: #67E8F9; box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.18); }
.tool.broken { border-style: dashed; color: var(--on-navy-muted); }
.tool.broken i { background: #F87171; }

.stack-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: var(--on-navy-muted); font-size: 13.5px; }
.stack-legend span { display: inline-flex; align-items: center; gap: 8px; }
.stack-legend i { width: 8px; height: 8px; border-radius: 50%; }

/* ---------- Industry rows ---------- */
.industry { display: grid; gap: 28px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.industry:first-child { border-top: 0; padding-top: 0; }
.industry .photo { aspect-ratio: 3 / 2; }
.industry h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.industry p { color: var(--ink-2); }
.industry .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding: 0; list-style: none; }
.industry .tags li { padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }

/* ---------- Principles ---------- */
.principle { display: grid; gap: 14px; padding: 32px 0; border-top: 1px solid var(--line); }
.principle:first-child { border-top: 0; padding-top: 0; }
.principle h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.principle p { color: var(--ink-2); }

/* ---------- Closing CTA ---------- */
.closing {
  position: relative;
  overflow: hidden;
  padding: 56px 28px;
  border-radius: 28px;
  background: var(--bg-tint);
  border: 1px solid #DBE6FB;
  text-align: center;
}
.closing h2 { max-width: 760px; margin: 0 auto; }
.closing p { max-width: 640px; margin: 18px auto 0; color: var(--muted); font-size: 1.1rem; }
.closing .btn-row { justify-content: center; margin-top: 30px; }

/* ---------- Related links ---------- */
.related { display: grid; gap: 12px; }
.related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.related a svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--brand-ink); transition: transform 0.2s ease; }
.related a:hover { border-color: #BFD3FB; box-shadow: var(--shadow); color: var(--ink); }
.related a:hover svg { transform: translateX(3px); }
.related-title { margin-bottom: 18px; font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 28px; align-items: start; }
.form-card { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: 8px; font-size: 1.5rem; }
.form-card > p { color: var(--muted); }
.form-embed { margin-top: 20px; min-height: 700px; }
.form-embed iframe { display: block; width: 100%; min-height: 924px; border: 0; border-radius: 10px; }
.consent { margin-top: 18px; padding: 18px 20px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.aside-card { padding: 26px; border-radius: var(--radius-lg); background: var(--navy); color: var(--on-navy-muted); }
.aside-card h3 { margin-bottom: 10px; color: #fff; }
.aside-card .btn { margin-top: 18px; }
.aside-card + .aside-card { margin-top: 16px; }
.aside-list { display: grid; gap: 14px; margin: 16px 0 0; padding: 0; list-style: none; }
.aside-list a { color: #fff; }
.aside-list span { display: block; color: var(--on-navy-muted); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.aside-soft { background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }
.aside-soft h3 { color: var(--ink); }

.booking-embed iframe { display: block; width: 100%; min-height: 720px; border: 0; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 18px; }
.legal h2 { margin: 2.2rem 0 0.6rem; font-size: 1.3rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 1em; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li + li { margin-top: 0.4em; }

/* ---------- 404 ---------- */
.notfound { padding: 120px 0; text-align: center; }
.notfound .code { display: inline-block; margin-bottom: 18px; font: 800 14px/1 var(--font); letter-spacing: 0.2em; color: var(--brand-ink); }
.notfound p { margin: 18px auto 0; max-width: 520px; color: var(--muted); font-size: 1.15rem; }
.notfound .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); }
.footer-cta { position: relative; overflow: hidden; padding: 80px 0 72px; border-bottom: 1px solid var(--navy-line); }
.footer-cta::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -60%;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.28), transparent 70%);
  pointer-events: none;
}
.footer-cta .wrap { position: relative; z-index: 1; display: grid; gap: 28px; align-items: end; }
.footer-cta h2 { max-width: 720px; color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.footer-cta p { max-width: 560px; margin-top: 16px; color: var(--on-navy-muted); font-size: 1.1rem; }

.footer-main { display: grid; gap: 40px; padding: 64px 0 40px; }
.footer-brand img { width: 150px; }
.footer-brand p { max-width: 360px; margin-top: 18px; font-size: 15px; }
.footer-col h3 { margin-bottom: 14px; color: #fff; font: 600 14px/1.2 var(--font); letter-spacing: 0.08em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a { color: var(--on-navy); font-size: 15px; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.footer-legal {
  display: grid;
  gap: 10px;
  padding: 24px 0 36px;
  border-top: 1px solid var(--navy-line);
  font-size: 13.5px;
  line-height: 1.6;
}
.footer-legal a { color: var(--on-navy); }
.footer-legal a:hover { color: #fff; }
.footer-legal .row { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------- v2: imagery & style ---------- */

/* Dark home hero */
.hero-dark { background: var(--navy); color: var(--on-navy-muted); padding: 72px 0 96px; }
.hero-dark::before { background: radial-gradient(closest-side, rgba(37, 99, 235, 0.35), transparent 70%); z-index: 0; }
.hero-dark::after { background: radial-gradient(closest-side, rgba(34, 211, 238, 0.22), transparent 70%); z-index: 0; }
.hero-bg, .section-bg, .band-bg, .closing-bg, .notfound-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero-bg { opacity: 0.9; }
.hero-dark h1 { color: #fff; }
.hero-dark .lede { color: #CBD5E1; }
.hero-dark .eyebrow { color: #67E8F9; }
.hero-dark .eyebrow::before { background: var(--grad); }
.hero-dark .grad-text { background: linear-gradient(100deg, #22D3EE 0%, #60A5FA 100%); -webkit-background-clip: text; background-clip: text; }
.hero-dark .system .links path { stroke: rgba(255, 255, 255, 0.16); }
.hero-dark .node { border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.6); }
.hero-dark .hub { background: #0B1120; box-shadow: 0 0 0 10px rgba(96, 165, 250, 0.12), 0 0 0 24px rgba(96, 165, 250, 0.06), 0 30px 60px -20px rgba(0, 0, 0, 0.7); }

/* Ticker */
.ticker { overflow: hidden; padding: 18px 0; background: #fff; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 28px; padding: 0 14px; color: var(--ink); font: 600 17px/1.2 var(--font-display); letter-spacing: -0.01em; white-space: nowrap; }
.ticker span::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Intro abstract art */
.intro-art { margin-top: 36px; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.intro-art img { width: 100%; height: 100%; object-fit: cover; }

/* Cards with image tops */
.card-media { padding: 0; overflow: hidden; }
.card-media .card-img { position: relative; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.card-media .card-img-clip { position: absolute; inset: 0; overflow: hidden; }
.card-media .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card-media:hover .card-img img { transform: scale(1.05); }
.card-media .card-img-clip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.35)); }
.card-media .icon-tile { position: absolute; left: 20px; bottom: -22px; z-index: 1; margin: 0; background: #fff; box-shadow: var(--shadow); }
.card-media .card-body { display: flex; flex: 1; flex-direction: column; padding: 38px 24px 24px; }
.card-media .card-body h3 { margin-bottom: 10px; }
.card-media .card-body p { color: var(--muted); }
.card-media .link-arrow { margin-top: auto; padding-top: 18px; }
.card-media.card-problem .q { font-size: 1.2rem; }

/* Photos with accent frame */
.photo-accent { position: relative; overflow: visible; }
.photo-accent::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border-radius: var(--radius-lg);
  background: var(--grad);
  opacity: 0.9;
}
.photo-accent img { border-radius: var(--radius-lg); }
.industry .photo-accent::before { inset: 14px -14px -14px 14px; opacity: 0.75; }
.industry:nth-child(even) .photo-accent::before { inset: 14px 14px -14px -14px; }

.journey-card { align-self: start; padding: 28px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.journey-card .caption-note { margin-top: 20px; }

/* Dark section with art */
.section-dark .section-bg { opacity: 0.5; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 70%); mask-image: linear-gradient(90deg, transparent 20%, #000 70%); }
.stack-panel { padding: 26px; border-radius: var(--radius-lg); background: rgba(15, 23, 42, 0.66); border: 1px solid var(--navy-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* Bento */
.bento { display: grid; gap: 16px; }
.bento-item { position: relative; display: block; min-height: 240px; overflow: hidden; border-radius: var(--radius-lg); color: #fff; text-decoration: none; }
.bento-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.bento-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 23, 42, 0) 35%, rgba(15, 23, 42, 0.85)); }
.bento-item:hover img { transform: scale(1.05); }
.bento-item:hover { color: #fff; }
.bento-cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; font: 700 1.2rem/1.25 var(--font-display); letter-spacing: -0.01em; }
.bento-cap small { display: block; margin-bottom: 6px; color: #67E8F9; font: 700 12px/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase; }

/* Steps with connecting line */
.steps-line { position: relative; }

/* Accent panel */
.panel-accent { position: relative; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.panel-accent::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--grad); }

/* Split page hero with media */
.page-hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-media { position: relative; }
.hero-photo { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border-radius: 24px;
  background: var(--grad);
  opacity: 0.85;
}
.hero-media-abstract { overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.hero-media-abstract::before { display: none; }
.hero-media-abstract img { width: 100%; height: 100%; object-fit: cover; }
.chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  animation: chip-float 6s ease-in-out infinite;
}
.chip .n-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-ink); }
.chip .n-icon svg { width: 17px; height: 17px; }
.chip small { display: block; color: var(--muted); font-size: 12px; font-weight: 500; }
.chip-1 { left: -14px; top: 12%; }
.chip-2 { right: -10px; bottom: 10%; animation-delay: -3s; }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Image band */
.band { position: relative; overflow: hidden; padding: 96px 0; background: var(--navy); color: #fff; }
.band-bg { opacity: 0.85; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 55%, rgba(15, 23, 42, 0.15) 100%); }
.band-inner { position: relative; z-index: 1; max-width: 720px; margin-left: max(var(--gutter), calc((100% - var(--wrap)) / 2)); }
.band h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); }
.band p { margin-top: 16px; color: #CBD5E1; font-size: 1.15rem; max-width: 560px; }
.band .eyebrow { color: #67E8F9; }

/* Closing card with art */
.closing { background: var(--navy); border: 0; color: #fff; }
.closing-bg { opacity: 0.75; }
.closing::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.78) 0%, rgba(15, 23, 42, 0.45) 70%); }
.closing-inner { position: relative; z-index: 1; }
.closing h2 { color: #fff; }
.closing p { color: #CBD5E1; }

/* Related mini cards */
.mini-cards { display: grid; gap: 14px; }
.mini-card {
  display: grid;
  grid-template-columns: 88px 1fr 18px;
  gap: 16px;
  align-items: center;
  padding: 12px 18px 12px 12px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.mini-card img { width: 88px; height: 66px; border-radius: 10px; object-fit: cover; }
.mini-card strong { display: block; font-weight: 600; }
.mini-card small { display: block; margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.mini-card svg { width: 16px; height: 16px; color: var(--brand-ink); transition: transform 0.2s ease; }
.mini-card:hover { border-color: #BFD3FB; box-shadow: var(--shadow); color: var(--ink); }
.mini-card:hover svg { transform: translateX(3px); }

/* Principles numbering */
.principle .p-num { display: block; margin-bottom: 10px; font: 800 14px/1 var(--font); letter-spacing: 0.12em; background: linear-gradient(100deg, #0891B2, #1D4ED8); -webkit-background-clip: text; background-clip: text; color: transparent; }


/* 404 */
.notfound { position: relative; overflow: hidden; }
.notfound-bg { opacity: 0.55; }
.notfound .wrap { position: relative; z-index: 1; }

@media (max-width: 520px) {
  .chip { padding: 7px 10px 7px 7px; font-size: 12px; }
  .chip .n-icon { width: 24px; height: 24px; }
  .chip small { display: none; }
  .chip-1 { left: -6px; }
  .chip-2 { right: -4px; }
  .hero-media::before { inset: 12px -10px -12px 10px; }
  .photo-accent::before { inset: 10px -8px -10px 8px; }
  .band { padding: 72px 0; }
}

@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .mini-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .page-hero.has-media .page-hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 64px; }
  .page-hero.has-media h1 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); }
  .bento { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 280px 280px; }
  .bento .b1 { grid-row: span 2; }
  .bento .b4 { grid-column: span 2; }
  .mini-cards { grid-template-columns: repeat(3, 1fr); }
  .band { padding: 128px 0; }
  .hero-dark { padding: 88px 0 120px; }
  .steps-line::before {
    content: "";
    position: absolute;
    left: 48px;
    right: 48px;
    top: 50px;
    height: 2px;
    background: linear-gradient(90deg, #22D3EE, #2563EB);
    opacity: 0.35;
  }
  .steps-line .step { position: relative; z-index: 1; }
  .principle { grid-template-columns: 0.9fr 1.1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .chip { animation: none; }
}

/* ---------- v3: home services, pricing, FAQ, insights ---------- */
.pill { display: inline-flex; align-self: flex-start; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font-size: 12.5px; font-weight: 600; }
.grid-5 { grid-template-columns: repeat(2, 1fr); }
.grid-5 .card-body { padding: 34px 18px 20px; }
.grid-5 .card-body h3 { font-size: 1.08rem; }
.card-tall .card-img { aspect-ratio: 4 / 5; }
.card-tall .card-img img { object-position: 50% 25%; }

.tiers { display: grid; gap: 20px; }
.tier { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.tier-featured { border: 2px solid var(--brand); box-shadow: 0 24px 50px -28px rgba(37, 99, 235, 0.55); }
.tier-label { color: var(--brand-ink); font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.tier h3 { font-size: 1.4rem; }
.tier-price { display: flex; align-items: baseline; gap: 4px; color: var(--ink); }
.tier-price strong { font: 800 3rem/1 var(--font-display); letter-spacing: -0.03em; }
.tier-price span { color: var(--muted); font-weight: 600; }
.tier-summary { color: var(--muted); }
.tier .checklist { margin: 6px 0 8px; }
.tier .btn-row { margin-top: auto; }

.faq { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.section-soft .faq-item { background: #fff; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; color: var(--ink); font: 600 1.05rem/1.35 var(--font-display); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--brand-ink); transition: transform 0.2s ease; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p { padding: 0 20px 20px; color: var(--ink-2); }

.post-meta { color: var(--muted); font-size: 14px; }
.card-media .post-meta { margin-top: 14px; }
.post-hero { padding: 56px 0 36px; background: linear-gradient(180deg, var(--bg-tint), #fff); }
.post-wrap { max-width: 820px; }
.post-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.post-hero .post-meta { margin-top: 16px; }
.post-cover { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 2 / 1; box-shadow: var(--shadow); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-body { margin-top: 40px; color: var(--ink-2); font-size: 1.08rem; line-height: 1.75; }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { margin-top: 2em; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.post-body h3 { margin-top: 1.6em; font-size: 1.25rem; }
.post-body ul { padding-left: 1.2em; }
.post-body li + li { margin-top: 0.5em; }
.post-body strong { color: var(--ink); }
.stat-highlight { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 2em 0; }
.stat-box { padding: 20px 16px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); text-align: center; }
.stat-box .number { color: var(--brand-ink); font: 800 1.9rem/1.1 var(--font-display); letter-spacing: -0.02em; }
.stat-box .label { margin-top: 6px; color: var(--muted); font-size: 13px; }

@media (min-width: 640px) {
  .tiers { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .tiers { max-width: 920px; }
  .post-hero { padding: 80px 0 44px; }
}

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-group > .reveal:nth-child(2) { transition-delay: 0.08s; }
.js .reveal-group > .reveal:nth-child(3) { transition-delay: 0.16s; }
.js .reveal-group > .reveal:nth-child(4) { transition-delay: 0.24s; }
.js .reveal-group > .reveal:nth-child(5) { transition-delay: 0.32s; }
.js .reveal-group > .reveal:nth-child(6) { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 520px) {
  .node { padding: 7px 10px 7px 7px; gap: 7px; font-size: 12px; border-radius: 11px; }
  .node .n-icon { width: 24px; height: 24px; border-radius: 7px; }
  .node .n-icon svg { width: 14px; height: 14px; }
  .node small { display: none; }
  .system { width: 80%; }
  .hub { width: 31%; }
  .hub strong { font-size: 10px; line-height: 1.15; }
  .hub span { display: none; }
  .btn-row .btn { flex: 1 1 100%; }
}

@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .related { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .closing { padding: 72px 48px; }
  .form-card { padding: 36px; }
}

@media (min-width: 960px) {
  :root { --head-h: 78px; }
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-btn, .mobile-nav { display: none; }
  .brand img { width: 158px; }

  .section { padding: 112px 0; }
  .hero { padding: 72px 0 104px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
  .page-hero { padding: 80px 0 88px; }

  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split-wide { grid-template-columns: 0.9fr 1.1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps-3 { grid-template-columns: repeat(3, 1fr); }
  .related { grid-template-columns: repeat(3, 1fr); }

  .stack-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .industry { grid-template-columns: 1fr 1fr; gap: 64px; padding: 64px 0; }
  .industry:nth-child(even) .photo { order: 2; }
  .principle { grid-template-columns: 0.9fr 1.1fr; gap: 64px; padding: 44px 0; }
  .contact-grid { grid-template-columns: 1.45fr 1fr; gap: 40px; }
  .aside-sticky { position: sticky; top: calc(var(--head-h) + 24px); }

  .footer-cta .wrap { grid-template-columns: 1fr auto; }
  .footer-main { grid-template-columns: 1.1fr 2fr; gap: 64px; }
  .footer-legal { grid-template-columns: 1fr auto; align-items: center; }
}

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