:root {
  --bg: #f4f1ea;
  --bg-alt: #ebe7dc;
  --ink: #0a0a0a;
  --muted: #5a5a5a;
  --line: #d8d3c4;
  --line-strong: #0a0a0a;
  --accent: #ff4a1c;
  --accent-soft: #ffe8df;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --serif: 'Fraunces', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--mono);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  background-attachment: fixed;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--bg);
  opacity: 0.92;
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- NAV ---------- */
nav {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(8px);
  z-index: 50;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
}

.logo {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo-accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 13px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}

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

.nav-cta {
  font-size: 13px;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  border-radius: 4px;
  transition: background .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent); }
.nav-cta .cta-short { display: none; }

/* hamburger — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  padding: 120px 0 100px;
  position: relative;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  color: var(--ink);
}

h1 .accent-word {
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
}

h1 .underline {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
  text-decoration-color: var(--accent);
}

.lead {
  max-width: 580px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 48px;
}

.lead strong { color: var(--ink); font-weight: 500; }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 24px;
  text-decoration: none;
  border-radius: 4px;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--bg);
}

.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- CODE BLOCK DECORATION ---------- */
.code-snippet {
  position: absolute;
  right: 32px;
  top: 140px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  opacity: 0.7;
  text-align: right;
  pointer-events: none;
}
.code-snippet .key { color: var(--accent); }
.code-snippet .str { color: var(--ink); }

/* ---------- STATS BANNER ---------- */
.stats {
  padding: 64px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

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

.stat {
  text-align: center;
  padding: 0 16px;
  border-right: 1px solid var(--line);
}

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

.stat-value {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 12px;
}

.stat-value .plus { color: var(--accent); }

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

/* ---------- SECTION HEADERS ---------- */
.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 56px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.section-num {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.section-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-desc {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
  max-width: 320px;
  text-align: right;
}

/* ---------- SERVICES TEASER (home) ---------- */
.services-teaser {
  padding: 80px 0;
}

.services-teaser-text {
  max-width: 720px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 32px;
}

/* ---------- SUBMIT FORM ---------- */
.form-wrapper {
  max-width: 760px;
}

.project-form {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 40px;
  position: relative;
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  margin: -40px -40px 32px;
  padding: 12px 40px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  letter-spacing: 0.05em;
}

.form-dots { display: flex; gap: 6px; }
.form-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line);
}
.form-dots span:first-child { background: var(--accent); }

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.field label .req { color: var(--accent); margin-left: 2px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--mono);
  font-size: 14px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(255, 74, 28, 0.15);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 16px 24px;
}

/* honeypot — visually hidden, accessible-name preserved */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* inline error message under the form */
.form-error {
  display: none;
  margin: 0 0 18px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 4px;
}
.form-error.show { display: block; }

/* sending state on the submit button */
.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- PAGE HERO (subpages) ---------- */
.page-hero {
  padding: 100px 0 40px;
}

.page-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 48px;
}

.page-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6.5vw, 80px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  color: var(--ink);
}

.page-title .accent-word {
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
}

.page-lead {
  max-width: 620px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- START PROJECT PAGE (split layout) ---------- */
.start-project {
  padding: 80px 0 100px;
}

.start-project-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.start-project-intro {
  position: sticky;
  top: 110px;
}

.start-project-intro .page-title {
  font-size: clamp(40px, 5.5vw, 72px);
}

/* ---------- PROCESS STEPS ---------- */
.process {
  padding: 80px 0 100px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-step {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 32px;
  position: relative;
}

.process-step .step-num {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.process-step h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}

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

.process-cta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.process-cta p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.process-cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- ABOUT PAGE ---------- */
.about-hero {
  padding: 80px 0 60px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.about-hero-text p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 16px;
}

.about-hero-text p:last-child { margin-bottom: 0; }

.about-section {
  padding: 60px 0;
  border-top: 1px solid var(--line);
}

.about-section--alt {
  background: var(--bg-alt);
}

.about-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.about-section-meta .section-num {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.about-section-meta .section-title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.about-section-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 16px;
}

.about-section-body p:last-child { margin-bottom: 0; }

.principles {
  list-style: none;
  padding: 0;
  margin: 0;
}

.principles li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}

.principles li:last-child { border-bottom: none; }

.principles strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.01em;
}

/* ---------- CONTACT PAGE ---------- */
.contact-page {
  padding: 80px 0 60px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-page-intro {
  position: sticky;
  top: 110px;
}

.contact-page-intro .page-title {
  font-size: clamp(40px, 5.5vw, 72px);
}

/* project CTA strip below the contact form */
.contact-project-cta {
  padding: 32px 0 80px;
}

.contact-project-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 32px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.contact-project-cta-inner h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.contact-project-cta-inner p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.contact-project-cta-inner .btn {
  flex-shrink: 0;
}

/* contact-submitted page actions */
.contact-submitted-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ---------- FAQ PAGE ---------- */
.faq-page {
  padding: 80px 0 100px;
}

.faq-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.faq-page-intro {
  position: sticky;
  top: 110px;
}

.faq-page-intro .page-title {
  font-size: clamp(40px, 5.5vw, 72px);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color .15s;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover .faq-q {
  color: var(--accent);
}

.faq-num {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  width: 36px;
}

.faq-q {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex: 1;
  line-height: 1.3;
  transition: color .15s;
}

.faq-toggle {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--muted);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
  transition: transform .25s ease;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-a {
  padding: 0 0 24px 52px;
}

.faq-a p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 12px;
}

.faq-a p:last-child { margin-bottom: 0; }

/* ---------- SERVICES PAGE ---------- */
.services-page {
  padding: 80px 0;
}

.services-page--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--line-strong);
  background: var(--bg);
}

.project-type {
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease;
}

.project-type:nth-child(2n) { border-right: none; }
.project-type:nth-last-child(-n+2) { border-bottom: none; }

.project-type:hover {
  background: var(--accent-soft);
}

.project-num {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.project-type h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.2;
}

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

/* platforms */
.platforms {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.platform-group-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.platform-group-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.platform-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.platform-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.platform-list li:last-child { border-bottom: none; }

.platform-list strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  flex-shrink: 0;
  min-width: 130px;
}

.platform-list span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.platform-list--secondary li {
  padding: 10px 0;
}

.platform-list--secondary strong {
  font-size: 16px;
  min-width: 0;
}

/* ---------- TERMS PAGE ---------- */
.terms-page {
  padding: 80px 0 100px;
}

.terms-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 80px;
  align-items: start;
}

.terms-page-intro {
  position: sticky;
  top: 110px;
}

.terms-page-intro .page-title {
  font-size: clamp(36px, 5vw, 64px);
}

.terms-meta {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.terms-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.terms-section h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  line-height: 1.2;
}

.terms-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.terms-section p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 14px;
}

.terms-section p:last-child { margin-bottom: 0; }

.terms-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px 0;
}

.terms-section ul li {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  padding: 8px 0 8px 16px;
  position: relative;
}

.terms-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 6px;
  height: 1px;
  background: var(--accent);
}

.terms-section strong {
  color: var(--ink);
  font-weight: 600;
}

.terms-footer {
  margin-top: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.terms-footer p {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

/* ---------- CTA BAND ---------- */
.cta-band {
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

.cta-band-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.1;
  color: var(--ink);
}

.cta-band-title .accent-word {
  font-style: italic;
  color: var(--accent);
}

.cta-band-text {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
}

/* ---------- FOOTER ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-size: 12px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner .logo { color: var(--ink); }
.footer-links { font-size: 12px; }
.footer-links a:hover { color: var(--accent); }

/* short logo in footer */
.logo--short {
  font-size: 13px;
}

/* ---------- ENTRANCE ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: reveal .7s cubic-bezier(.2,.7,.2,1) forwards;
}

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

.d1 { animation-delay: .05s; }
.d2 { animation-delay: .15s; }
.d3 { animation-delay: .25s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .code-snippet { display: none; }
  /* drop the decorative grid background — it creates visible lines on smaller screens */
  body { background-image: none; }
}

@media (max-width: 800px) {
  .field-row { grid-template-columns: 1fr; }
  .project-form { padding: 28px; }
  .form-header { margin: -28px -28px 24px; padding: 12px 28px; }

  /* stack the start-project two columns */
  .start-project-grid { grid-template-columns: 1fr; gap: 48px; }
  .start-project-intro { position: static; }

  /* stack about page columns */
  .about-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-section-grid { grid-template-columns: 1fr; gap: 24px; }

  /* stack contact page columns */
  .contact-page-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-page-intro { position: static; }
  .contact-project-cta-inner { flex-direction: column; align-items: flex-start; padding: 24px; }

  /* stack faq columns */
  .faq-page-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-page-intro { position: static; }

  /* services-page platforms stack */
  .platforms { grid-template-columns: 1fr; gap: 48px; }

  /* terms page stack */
  .terms-page-grid { grid-template-columns: 1fr; gap: 32px; }
  .terms-page-intro { position: static; }

  /* hamburger menu activates */
  .nav-toggle { display: flex; }
  /* compact CTA — shorter text, smaller padding */
  .nav-cta { font-size: 12px; padding: 7px 12px; }
  .nav-cta .cta-full { display: none; }
  .nav-cta .cta-short { display: inline; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 500px; }
  .nav-links a {
    padding: 16px 32px;
    font-size: 14px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-child { border-bottom: none; }
}

@media (max-width: 700px) {
  .section-header { flex-direction: column; gap: 8px; align-items: flex-start; }
  .section-desc { margin-left: 0; text-align: left; }
  .stats { padding: 48px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .stat { border-right: none; }
  .stats-grid .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .process-steps { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .project-type { border-right: none; }
  .project-grid .project-type:last-child { border-bottom: none; }
  .platform-list li { flex-direction: column; gap: 4px; }
  .platform-list strong { min-width: 0; }
  /* tighter header on mobile */
  nav { padding: 18px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero { padding: 80px 0 70px; }
  h1 { font-size: 42px; line-height: 1.02; }
  .lead { font-size: 14.5px; }
  .services-teaser, .services-page { padding: 60px 0; }
  .cta-band { padding: 70px 0; }
  .section-title { font-size: 28px; }
  .project-type { padding: 24px; }
  .project-form { padding: 22px; }
  .form-header { margin: -22px -22px 20px; padding: 12px 22px; }
  .nav-links a { padding: 16px 20px; }
  .page-hero { padding: 70px 0 40px; }
  .page-title { font-size: 40px; }
  .start-project { padding: 60px 0 80px; }
  .start-project-grid { gap: 40px; }
  .process { padding: 60px 0 80px; }
  .process-step { padding: 24px; }
}
