/* ─── TOKENS ─── */
:root {
  --bg:       #f9f8f5;
  --white:    #ffffff;
  --ink:      #111318;
  --ink2:     #2a2d38;
  --muted:    #7a7f8e;
  --rule:     rgba(0,0,0,0.06);
  --accent:   #1a46c8;
  --accent-l: #eef3fd;
  --green:    #047857;
  --green-l:  #ecfdf5;
  --amber:    #a16207;
  --amber-l:  #fefce8;
  --red:      #b91c1c;
  --red-l:    #fef2f2;
  --radius:   12px;
  --shadow-s: 0 1px 8px rgba(0,0,0,0.05);
  --shadow-m: 0 4px 24px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 22px clamp(20px, 5vw, 60px);
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
nav.stuck {
  background: rgba(249,248,245,0.95);
  backdrop-filter: blur(12px);
  padding: 14px clamp(20px, 5vw, 60px);
  box-shadow: 0 1px 0 var(--rule);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 600;
  color: var(--ink); text-decoration: none;
  letter-spacing: 0.01em;
  align-items: center; display: flex; gap: 6px;
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.8rem; font-weight: 500; color: var(--muted);
  text-decoration: none; letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta-btn {
  padding: 8px 20px;
  background: var(--ink); color: #fff !important;
  border-radius: 6px; font-weight: 600 !important;
  font-size: 0.78rem !important; letter-spacing: 0.01em;
  transition: background 0.2s !important;
  text-decoration: none;
}
.nav-cta-btn:hover { background: var(--accent) !important; }

.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 4px; color: var(--ink);
}
.mobile-menu {
  display: none; position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 850;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 600;
  color: var(--ink); text-decoration: none;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; cursor: pointer; color: var(--ink);
}

/* ─── SHARED ─── */
.sec {
  min-height: 100svh;
  display: flex; align-items: center;
  padding: clamp(80px, 12vh, 120px) clamp(20px, 5vw, 60px);
  position: relative;
}
.inner { width: 100%; max-width: 1060px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
  font-family: 'DM Mono', monospace;
}
.h1-serif {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.025em; color: var(--ink);
}
.h2-serif {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--ink);
}
.lead {
  font-size: clamp(0.92rem, 1.6vw, 1.02rem);
  color: var(--muted); line-height: 1.8;
  max-width: 520px;
}
.divider { width: 28px; height: 2px; background: var(--accent); border-radius: 2px; margin: 16px 0; }

/* ─── ANIM ─── */
.will-fade  { opacity: 0; transform: translateY(24px); }
.will-left  { opacity: 0; transform: translateX(-24px); }
.will-right { opacity: 0; transform: translateX(24px); }
.will-scale { opacity: 0; transform: scale(0.97); }

/* ─── BUTTONS ─── */
.btn-dark {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; background: var(--ink); color: white;
  border-radius: 6px; font-weight: 600; font-size: 0.85rem;
  text-decoration: none; transition: all 0.2s;
}
.btn-dark:hover { background: var(--accent); transform: translateY(-1px); }
.btn-light {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border: 1px solid rgba(0,0,0,0.12); color: var(--ink);
  border-radius: 6px; font-weight: 500; font-size: 0.85rem;
  text-decoration: none; transition: all 0.2s; background: transparent;
}
.btn-light:hover { border-color: var(--ink); background: var(--ink); color: white; }

/* ─── 1. HERO ─── */
#hero { background: var(--white); overflow: hidden; }
.hero-rule {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 20%, transparent 100%);
  opacity: 0.7;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 4px;
  background: var(--accent-l); border: 1px solid rgba(26,70,200,0.15);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 22px; font-family: 'DM Mono', monospace;
}
.hero-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green);
  animation: blink 2.5s ease infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }
.hero-sub {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--muted); line-height: 1.8;
  margin: 16px 0 32px; max-width: 420px;
}
.hero-stats {
  display: flex; align-items: center; gap: 24px;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
 }
 
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 700; color: var(--ink); line-height: 1;
}
.stat-caption { font-size: 0.68rem; color: var(--muted); margin-top: 3px; font-family: 'DM Mono', monospace; }
.stat-divider { width: 1px; height: 30px; background: var(--rule); flex-shrink: 0; }

.hero-photo-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-photo {
  width: 180%;
  max-width: 520px;
  height: auto;
  display: block;

  border: none;
  outline: none;
  box-shadow: none;

  transform: translateY(0);
  transition: transform 0.15s linear;

  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 65%,
    rgba(0,0,0,0) 100%
  );
  
  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 65%,
    rgba(0,0,0,0) 100%
  );
}
.hero-photo-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 35%;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(249,248,245,0),
    var(--bg)
  );
}

@media (max-width: 700px) {
      .hero-grid { grid-template-columns: 1fr; }
      .hero-photo { max-width: 180px; border-radius: 50%; }
    }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); animation: float 3s ease infinite;
  font-family: 'DM Mono', monospace;
}
@keyframes float { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(5px)} }
.scroll-cue svg { width: 14px; height: 14px; }

/* ─── 2. PROBLEM ─── */
#problem { background: var(--bg); }
.problem-cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: start;
}
.pain-item {
  display: flex; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.pain-item:last-child { border-bottom: none; }
.pain-icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--red-l); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.pain-title { font-weight: 600; font-size: 0.875rem; color: var(--ink); margin-bottom: 3px; }
.pain-body  { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }

.stat-card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; border: 1px solid var(--rule);
  box-shadow: var(--shadow-s); margin-bottom: 12px;
  transition: box-shadow 0.2s;
}
.stat-card:hover { box-shadow: var(--shadow-m); }
.stat-num-lg {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 700; line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 5px; line-height: 1.5; }

/* ─── 3. SOLUTION ─── */
#solution { background: var(--white); }
.solution-cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px); align-items: start;
}
.arch-list { display: flex; flex-direction: column; gap: 3px; }
.arch-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 8px;
  border: 1px solid var(--rule); background: var(--bg);
  transition: all 0.2s; cursor: default;
}
.arch-row:hover { border-color: rgba(26,70,200,0.18); background: var(--accent-l); transform: translateX(3px); }
.arch-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.arch-step { font-size: 0.68rem; font-family: 'DM Mono', monospace; color: var(--muted); flex-shrink: 0; width: 24px; }
.arch-row-title { font-weight: 600; font-size: 0.85rem; color: var(--ink); flex: 1; }
.arch-row-sub { font-size: 0.72rem; color: var(--muted); font-family: 'DM Mono', monospace; }
.arch-connector { width: 1px; height: 10px; background: var(--rule); margin-left: 15px; }

.stack-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.stack-pill {
  font-size: 0.72rem; padding: 4px 10px; border-radius: 4px;
  background: var(--bg); border: 1px solid var(--rule);
  color: var(--ink2); font-weight: 500; font-family: 'DM Mono', monospace;
}

.layer-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 8px; }
.layer-card {
  padding: 16px; border-radius: 8px;
  border: 1px solid var(--rule); background: var(--bg);
  text-align: center; transition: all 0.2s;
}
.layer-card:hover { border-color: rgba(26,70,200,0.2); background: var(--accent-l); }
.layer-num { font-size: 0.62rem; font-family: 'DM Mono', monospace; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 5px; }
.layer-title { font-weight: 700; font-size: 0.85rem; color: var(--ink); }
.layer-body { font-size: 0.73rem; color: var(--muted); margin-top: 3px; line-height: 1.5; }

/* ─── 4. CASE STUDY ─── */
#casestudy { background: var(--bg); align-items: flex-start; }

/* Company header */
.cs-company-bar {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1px solid var(--rule);
  border-radius: 8px; padding: 16px 20px;
  margin-bottom: 36px; box-shadow: var(--shadow-s);
}
.cs-company-logo {
  width: 36px; height: 36px; border-radius: 6px;
  background: var(--ink); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cs-company-name { font-weight: 700; font-size: 0.92rem; color: var(--ink); line-height: 1.2; }
.cs-company-sub { font-size: 0.75rem; color: var(--muted); font-family: 'DM Mono', monospace; }
.cs-badge {
  margin-left: auto;
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; font-family: 'DM Mono', monospace;
  padding: 4px 10px; border-radius: 4px;
  background: var(--green-l); color: var(--green);
  border: 1px solid rgba(4,120,87,0.18);
}

/* KPIs */
.cs-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px; margin-bottom: 48px;
}
.kpi-box {
  background: var(--white); border-radius: var(--radius);
  padding: 20px 16px; border: 1px solid var(--rule);
  box-shadow: var(--shadow-s); text-align: center;
}
.kpi-box:hover { box-shadow: var(--shadow-m); }
.kpi-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.85rem; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.kpi-lbl { font-size: 0.68rem; color: var(--muted); margin-top: 5px; line-height: 1.4; font-family: 'DM Mono', monospace; }

/* Case study two-col */
.cs-layout {
  display: grid; grid-template-columns: 1fr 380px;
  gap: clamp(32px, 5vw, 56px); align-items: start;
}

/* Timeline */
.timeline { position: relative; }
.timeline::before {
  content: ''; position: absolute;
  left: 14px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(to bottom, var(--accent), var(--green), rgba(0,0,0,0.08));
}
.tl-step { position: relative; padding-left: 44px; margin-bottom: 40px; }
.tl-step:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute; left: 7px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px rgba(26,70,200,0.2);
  background: var(--accent);
}
.tl-dot.green { background: var(--green); box-shadow: 0 0 0 2px rgba(4,120,87,0.2); }
.tl-dot.amber { background: var(--amber); box-shadow: 0 0 0 2px rgba(161,98,7,0.2); }
.tl-phase {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 4px; font-family: 'DM Mono', monospace;
}
.tl-phase.green { color: var(--green); }
.tl-phase.amber { color: var(--amber); }
.tl-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 600; color: var(--ink); margin-bottom: 8px;
}
.tl-body { font-size: 0.83rem; color: var(--muted); line-height: 1.75; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.tl-tag {
  font-size: 0.65rem; padding: 3px 9px; border-radius: 4px;
  font-weight: 500; letter-spacing: 0.04em;
  background: var(--accent-l); color: var(--accent);
  border: 1px solid rgba(26,70,200,0.14);
  font-family: 'DM Mono', monospace;
}
.tl-tag.green { background: var(--green-l); color: var(--green); border-color: rgba(4,120,87,0.18); }
.tl-tag.amber { background: var(--amber-l); color: var(--amber); border-color: rgba(161,98,7,0.18); }
.tl-tag.red   { background: var(--red-l);   color: var(--red);   border-color: rgba(185,28,28,0.15); }

.insight-box {
  background: var(--white); border: 1px solid var(--rule);
  border-left: 2px solid var(--accent);
  border-radius: 0 8px 8px 0; padding: 12px 16px; margin-top: 12px;
}
.insight-box.green { border-left-color: var(--green); }
.insight-box.amber { border-left-color: var(--amber); }
.insight-label {
  font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 3px;
  font-family: 'DM Mono', monospace;
}
.insight-label.green { color: var(--green); }
.insight-label.amber { color: var(--amber); }
.insight-text { font-size: 0.8rem; color: var(--ink); line-height: 1.55; font-weight: 500; }

/* Sidebar */
.cs-sidebar { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 14px; }
.sidebar-card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; border: 1px solid var(--rule); box-shadow: var(--shadow-s);
}
.sidebar-card-title {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 16px; font-family: 'DM Mono', monospace;
}

/* Before/After table */
.ba-table { width: 100%; border-collapse: collapse; }
.ba-table th {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); text-align: left;
  padding: 0 0 10px; font-family: 'DM Mono', monospace;
}
.ba-table th:last-child { text-align: right; }
.ba-table td {
  font-size: 0.78rem; color: var(--muted); padding: 8px 0;
  border-top: 1px solid var(--rule); line-height: 1.4; vertical-align: top;
}
.ba-table td:first-child { font-weight: 600; color: var(--ink); width: 35%; }
.ba-table td:nth-child(2) { color: var(--red); padding-right: 8px; }
.ba-table td:last-child { color: var(--green); font-weight: 600; text-align: right; }

/* Performance bars */
.perf-row { margin-bottom: 14px; }
.perf-row:last-child { margin-bottom: 0; }
.perf-label-row {
  display: flex; justify-content: space-between;
  margin-bottom: 5px;
}
.perf-label { font-size: 0.78rem; color: var(--ink); font-weight: 500; }
.perf-value { font-size: 0.72rem; font-family: 'DM Mono', monospace; font-weight: 600; }
.bar-track {
  height: 3px; background: rgba(26,70,200,0.1);
  border-radius: 100px; overflow: hidden;
}
.bar-fill {
  height: 100%; border-radius: 100px;
  background: var(--accent); width: 0;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* CTA inline card */
.cta-card {
  background: var(--ink); border-radius: var(--radius);
  padding: 24px;
}
.cta-card-title { font-size: 0.88rem; font-weight: 700; color: white; margin-bottom: 6px; }
.cta-card-body { font-size: 0.75rem; color: rgba(255,255,255,0.45); line-height: 1.6; margin-bottom: 16px; }
.cta-card-btn {
  display: block; text-align: center;
  padding: 10px 18px; background: white; color: var(--ink);
  border-radius: 6px; font-weight: 700; font-size: 0.8rem;
  text-decoration: none; transition: all 0.2s;
}
.cta-card-btn:hover { background: var(--accent-l); color: var(--accent); }

/* ─── 5. PROCESS ─── */
#process { background: var(--white); }
.process-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0;
  border: 1px solid var(--rule); border-radius: 12px;
  overflow: hidden; margin-top: 44px;
}
.proc-step {
  padding: 28px 22px; background: var(--white);
  transition: background 0.2s; position: relative;
}
.proc-step:hover { background: var(--accent-l); }
.proc-step + .proc-step { border-left: 1px solid var(--rule); }
.proc-n {
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  color: var(--accent); letter-spacing: 0.1em; margin-bottom: 18px;
}
.proc-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.proc-title { font-weight: 700; font-size: 0.88rem; color: var(--ink); margin-bottom: 6px; }
.proc-body { font-size: 0.77rem; color: var(--muted); line-height: 1.65; }

/* ─── CTA ─── */
#cta { background: var(--ink); min-height: auto; padding: clamp(80px,12vh,120px) clamp(20px,5vw,60px); }
.cta-inner { text-align: center; max-width: 560px; margin: 0 auto; }
.cta-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 700; color: white; line-height: 1.15;
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.cta-sub { font-size: 0.95rem; color: rgba(255,255,255,0.4); line-height: 1.75; margin-bottom: 36px; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 6px;
  background: white; color: var(--ink);
  font-weight: 700; font-size: 0.9rem;
  text-decoration: none; transition: all 0.25s;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.cta-btn:hover { background: var(--accent-l); color: var(--accent); }
.cta-note { margin-top: 18px; font-size: 0.73rem; color: rgba(255,255,255,0.2); letter-spacing: 0.04em; font-family: 'DM Mono', monospace; }
.cta-pills { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.cta-pill {
  font-size: 0.68rem; padding: 5px 12px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.35); font-weight: 500;
  font-family: 'DM Mono', monospace;
}

/* ─── CONTACT / FOOTER ─── */
#contact { background: var(--bg); min-height: auto; padding: 56px clamp(20px, 5vw, 60px); }
.footer-inner { width: 100%; max-width: 1060px; margin: 0 auto; text-align: center; }
.footer-name {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: var(--ink);
  letter-spacing: -0.02em; margin-bottom: 6px;
}
.footer-role { font-size: 0.78rem; color: var(--muted); font-family: 'DM Mono', monospace; margin-bottom: 24px; }
.contact-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.contact-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 6px;
  background: var(--white); border: 1px solid var(--rule);
  font-size: 0.8rem; font-weight: 500; color: var(--ink);
  text-decoration: none; box-shadow: var(--shadow-s);
  transition: all 0.2s;
}
.contact-chip:hover { border-color: var(--accent); color: var(--accent); }
.footer-rule { width: 100%; height: 1px; background: var(--rule); margin: 32px auto; max-width: 1060px; }
.footer-copy { font-size: 0.7rem; color: var(--muted); font-family: 'DM Mono', monospace; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .cs-layout { grid-template-columns: 1fr; }
  .cs-sidebar { position: static; }
  .cs-kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .proc-step:nth-child(1),
  .proc-step:nth-child(2) { border-bottom: 1px solid var(--rule); }
  .proc-step:nth-child(3) { border-left: none; }
}
@media (max-width: 768px) {
  .hero-layout, .problem-cols, .solution-cols { grid-template-columns: 1fr; }
  .hero-card-stack { margin-top: 28px; }
  .cs-kpis { grid-template-columns: 1fr 1fr; }
  .layer-cards { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .proc-step + .proc-step { border-left: none; border-top: 1px solid var(--rule); }
  .nav-links { display: none; }
  .hamburger { display: block; }
}
@media (max-width: 480px) {
  .cs-kpis { grid-template-columns: 1fr; }
  .hero-stats { gap: 14px; }
}
