/* Self-hosted fonts (SIL OFL; licenses in /fonts). Latin subset only. */
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/libre-baskerville-400.woff2') format('woff2'); }
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/libre-baskerville-700.woff2') format('woff2'); }
@font-face { font-family: 'Libre Baskerville'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/libre-baskerville-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/dm-mono-300.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/dm-mono-400.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/dm-mono-500.woff2') format('woff2'); }
@font-face { font-family: 'DM Mono'; font-style: italic; font-weight: 300; font-display: swap; src: url('/fonts/dm-mono-300-italic.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-400.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/instrument-serif-400-italic.woff2') format('woff2'); }

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

:root {
  --ink: #0f0e0b;
  --paper: #f5f0e8;
  --paper-warm: #ede8dc;
  --rust: #b0472a;
  --rust-light: #d4603e;
  --steel: #3a4a5c;
  --steel-light: #5a6e84;
  --gold: #c9a227;
  --muted: #706658;
  --border: rgba(15,14,11,0.12);
  --rust-dark: #8f3a21;

  --serif: 'Libre Baskerville', Georgia, serif;
  --display: 'Instrument Serif', 'Libre Baskerville', serif;
  --mono: 'DM Mono', 'Courier New', monospace;
}

html { scroll-behavior: smooth; }

/* ── ACCESSIBILITY ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip-link:focus { top: 12px; }

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

main:focus { outline: none; }

/* Gold has the contrast on ink that rust lacks */
.process-section :focus-visible, .cta-section :focus-visible, footer :focus-visible, .skip-link:focus-visible {
  outline-color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 9999;
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 48px;
  background: rgba(245,240,232,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  display: inline-block;
  padding: 12px 0;
}

.nav-logo span { color: var(--rust); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
  padding: 12px 0;
}

.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { border-bottom: 2px solid var(--rust); }

.nav-cta {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--rust);
  padding: 13px 22px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--rust-dark); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 80px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--rust);
}

.hero-headline {
  font-family: var(--display);
  font-size: clamp(52px, 6vw, 88px);
  line-height: 1.0;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--rust);
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 52px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.btn-primary {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  padding: 16px 36px;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: all 0.22s;
  display: inline-block;
}

.btn-primary:hover {
  background: transparent;
  color: var(--ink);
}

.btn-secondary {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.btn-secondary:hover { color: var(--ink); }

.btn-secondary::after {
  content: '→';
  font-family: var(--serif);
}

.hero-right {
  position: relative;
  border-left: 1px solid var(--border);
  overflow: hidden;
  background: var(--paper-warm);
}

.hero-right-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
}

.code-card {
  background: var(--ink);
  width: 100%;
  max-width: 440px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 16px 16px 0px rgba(184,74,44,0.15);
}

.code-card-bar {
  background: #1e1d1a;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.code-filename {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-left: 8px;
  letter-spacing: 0.04em;
}

.code-body {
  padding: 28px 28px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
}

.code-comment { color: rgba(255,255,255,0.55); font-style: italic; }
.code-keyword { color: #cf8e6d; }
.code-string { color: #6aab73; }
.code-fn { color: #56a8f5; }
.code-rust { color: #d4603e; }
.code-dim { color: rgba(255,255,255,0.55); }

.transform-badge {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.transform-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--rust);
}

.transform-arrow::before, .transform-arrow::after {
  content: '';
  display: block;
  height: 1px;
  width: 20px;
  background: var(--rust);
}

.stat-pills {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat-pill {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 8px 18px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-pill strong {
  color: var(--rust);
  font-weight: 500;
}

/* ── MARQUEE ── */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--ink);
  padding: 0;
}

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

.marquee-item {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.55);
  padding: 14px 44px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 44px;
}

.marquee-item span {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--rust);
  border-radius: 50%;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SECTION BASE ── */
section { padding: 120px 80px; }

.section-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--rust);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-title em { font-style: italic; color: var(--rust); }

/* ── THE GAP ── */
.gap-section {
  background: var(--paper-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.gap-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.gap-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: end;
}

.gap-header p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  padding-top: 16px;
}

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.challenge-card {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.2s;
}

.challenge-card:nth-child(3n) { border-right: none; }
.challenge-card:nth-child(n+4) { border-bottom: none; }
.challenge-card:hover { background: var(--paper); }

.challenge-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--rust);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  display: block;
}

.challenge-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.challenge-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── PROCESS ── */
.process-section {
  background: var(--ink);
  color: var(--paper);
}

.process-section .section-label, .cta-section .section-label { color: var(--rust-light); }
.process-section .section-label::before { background: var(--rust); }
.process-section .section-title { color: var(--paper); }
.process-section .section-title em { color: var(--gold); }

.process-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.process-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}

.process-header p {
  color: rgba(245,240,232,0.85);
  font-size: 17px;
  line-height: 1.7;
  padding-top: 16px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  padding: 40px 32px;
  background: #2a2720;
  border: 1px solid rgba(245,240,232,0.28);
  border-top: 3px solid var(--rust-light);
  position: relative;
}

.process-step-num {
  font-family: var(--mono);
  font-size: 48px;
  font-weight: 300;
  color: rgba(245,240,232,0.22);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

/* Purely decorative watermark (WCAG exempts it); generated content keeps it out of the text contrast scan */
.process-step-num::before { content: attr(data-num); }

.process-step-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--rust-light);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 16px;
}

.process-step-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.process-step-desc {
  font-size: 14px;
  color: rgba(245,240,232,0.88);
  line-height: 1.65;
}

.process-connector {
  position: absolute;
  top: 72px;
  right: -17px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--rust-light);
}

/* ── ABOUT / CREDIBILITY ── */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 560px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-left {
  padding: 100px 80px;
  background: var(--paper-warm);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-right {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-right p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 24px;
}

.about-right p:first-of-type {
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink);
  font-style: italic;
  line-height: 1.5;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--border);
}

.stat-box {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat-box:last-child { border-right: none; }

.stat-num {
  font-family: var(--display);
  font-size: 52px;
  font-weight: 400;
  color: var(--rust);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── SERVICES ── */
.services-section { max-width: none; }

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 72px;
}

.services-header p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  padding-top: 16px;
}

.service-list { border: 1px solid var(--border); }

.service-item {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  gap: 0;
  padding: 36px 40px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.18s;
}

.service-item:last-child { border-bottom: none; }
.service-item:hover { background: var(--paper-warm); }

.service-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust);
}

.service-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.service-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 480px;
}

.service-arrow {
  font-size: 20px;
  color: var(--steel-light);
  transition: transform 0.2s;
}

.service-item:hover .service-arrow {
  transform: translateX(6px);
  color: var(--rust);
}

/* ── CTA ── */
.cta-section {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 140px 80px;
  position: relative;
  overflow: hidden;
}

.cta-bg-text {
  position: absolute;
  font-family: var(--display);
  font-size: clamp(120px, 18vw, 220px);
  font-weight: 400;
  color: rgba(255,255,255,0.025);
  white-space: nowrap;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  letter-spacing: -0.04em;
  font-style: italic;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.cta-section .section-label {
  justify-content: center;
}

.cta-section .section-label::before { display: none; }

.cta-title {
  font-family: var(--display);
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.cta-title em { font-style: italic; color: var(--gold); }

.cta-sub {
  font-size: 18px;
  color: rgba(245,240,232,0.55);
  margin-bottom: 52px;
  line-height: 1.65;
}

.contact-form {
  text-align: left;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span, .check {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.75);
}

.field em { font-style: normal; text-transform: none; letter-spacing: 0.02em; }

.field input, .field select, .field textarea {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--paper);
  background: rgba(245,240,232,0.06);
  border: 1px solid rgba(245,240,232,0.45);
  border-radius: 0;
  padding: 14px 16px;
  width: 100%;
}

.field input::placeholder { color: rgba(245,240,232,0.6); }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; }

.check { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 10px 0; }
.check input { width: 24px; height: 24px; accent-color: var(--rust); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-form button { cursor: pointer; justify-self: start; }

.form-note {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(245,240,232,0.7);
  line-height: 1.6;
}

.form-note a { color: var(--paper); display: inline-block; padding: 12px 0; }

.btn-rust {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--rust);
  padding: 16px 40px;
  text-decoration: none;
  border: 2px solid var(--rust);
  transition: all 0.22s;
  display: inline-block;
}

.btn-rust:hover {
  background: transparent;
  color: var(--rust-light);
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 80px 44px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  grid-column: 1 / 2;
}

.footer-logo {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 16px;
}

.footer-logo span { color: var(--rust-light); }

.footer-tagline {
  font-size: 13px;
  color: rgba(245,240,232,0.55);
  line-height: 1.65;
  max-width: 200px;
}

.footer-col-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.55);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-links a {
  display: inline-block;
  padding: 10px 0;
  font-size: 14px;
  color: rgba(245,240,232,0.5);
  text-decoration: none;
  transition: color 0.18s;
}

.footer-links a:hover { color: var(--paper); }

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

.footer-legal {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(245,240,232,0.55);
  letter-spacing: 0.04em;
}

.footer-legal a { color: rgba(245,240,232,0.55); text-decoration: none; display: inline-block; padding: 12px 6px; }
.footer-legal a:hover, .footer-legal a:focus-visible { color: var(--paper); text-decoration: underline; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow { animation: fadeUp 0.6s ease both 0.1s; }
.hero-headline { animation: fadeUp 0.7s ease both 0.25s; }
.hero-sub { animation: fadeUp 0.7s ease both 0.4s; }
.hero-actions { animation: fadeUp 0.7s ease both 0.55s; }
.hero-right { animation: fadeUp 0.8s ease both 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  /* Links drop to a second row so the offerings stay reachable without JS;
     Contact is omitted there because the CTA button points at the same place. */
  .site-nav { padding: 10px 24px 0; flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; gap: 12px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.03em; }
  .nav-links-contact { display: none; }
  .hero { padding-top: 64px; }

  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; }
  .hero-left { padding: 60px 28px 40px; }
  .hero-right { border-left: none; border-top: 1px solid var(--border); }
  .hero-right-inner { position: static; padding: 48px 24px; }
  .code-body { overflow-x: auto; }
  .hero-headline { font-size: 48px; }

  section { padding: 80px 28px; }

  .gap-header, .process-header, .services-header, .about-section { grid-template-columns: 1fr; gap: 24px; }
  .about-left, .about-right { padding: 60px 28px; }
  .about-section { grid-template-columns: 1fr; border: none; }

  .challenge-grid { grid-template-columns: 1fr; }
  .challenge-card { border-right: none !important; }
  .challenge-card:nth-child(n+4) { border-bottom: 1px solid var(--border) !important; }
  .challenge-card:last-child { border-bottom: none !important; }

  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-connector { display: none; }

  .service-item { grid-template-columns: 1fr; gap: 12px; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-box { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-box:last-child { border-bottom: none; }

  .cta-section { padding: 80px 24px; }
  .contact-form, .form-row { grid-template-columns: minmax(0, 1fr); }
  footer { grid-template-columns: 1fr 1fr; padding: 48px 24px 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 600px) {
  .process-steps { grid-template-columns: minmax(0, 1fr); }
}
