:root {
  --bg: #0b1020;
  --bg-soft: #11182c;
  --panel: #151e34;
  --panel-2: #0f1729;
  --text: #eef4ff;
  --muted: #9aa8bd;
  --line: rgba(255,255,255,.1);
  --green: #35d399;
  --cyan: #5fd7ff;
  --amber: #ffbd5b;
  --red: #ff5f57;
  --shadow: 0 24px 70px rgba(0,0,0,.32);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 20% 10%, rgba(95,215,255,.14), transparent 26%),
    radial-gradient(circle at 85% 20%, rgba(53,211,153,.12), transparent 24%),
    var(--bg);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.62;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11,16,32,.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(95,215,255,.35);
  border-radius: 8px;
  color: var(--green);
  background: rgba(95,215,255,.08);
  font-weight: 900;
  font-family: Consolas, Monaco, monospace;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 1px solid rgba(95,215,255,.35);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}

.brand strong,
.brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover { color: var(--green); }
.nav-action,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 850;
}

.nav-action,
.button.primary {
  color: #06111d;
  background: var(--green);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,.06);
}

.button.ghost {
  border: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.05);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero,
.page-hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero-grid {
  min-height: calc(92vh - 76px);
  padding: 68px 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 44px;
  align-items: center;
}

.page-hero {
  padding: 64px 0 34px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-family: Consolas, Monaco, monospace;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow::before,
.kicker::before { content: "// "; color: var(--cyan); }

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.role {
  color: var(--amber);
  font-weight: 850;
  font-size: 19px;
}

.lead,
.large-copy,
.page-hero p,
.article-copy {
  color: var(--muted);
  font-size: 17px;
  max-width: 820px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-proof span,
.hero-card-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 8px 10px;
  color: #dbeafe;
  background: rgba(255,255,255,.055);
  font-size: 13px;
  font-weight: 850;
}

.hero-proof i {
  color: var(--green);
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  background: rgba(255,255,255,.055);
  font-family: Consolas, Monaco, monospace;
  font-weight: 900;
  text-transform: uppercase;
}

.social-icons a:hover {
  border-color: rgba(53,211,153,.42);
  background: rgba(53,211,153,.1);
}

.code-card,
.meta-panel,
.contact-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(21,30,52,.96), rgba(15,23,41,.96));
  box-shadow: var(--shadow);
}

.profile-card {
  position: relative;
}

.profile-photo {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.terminal-bar {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,.04);
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
}

.terminal-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
}
.terminal-bar span:nth-child(2) { background: var(--amber); }
.terminal-bar span:nth-child(3) { background: var(--green); margin-right: 10px; }

pre {
  margin: 0;
  padding: 24px;
  white-space: pre-wrap;
}

.hero-card-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0 24px 24px;
}

code {
  color: #dbeafe;
  font-family: Consolas, Monaco, monospace;
  font-size: 15px;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.row-head {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.text-link {
  color: var(--green);
  font-weight: 850;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}

.stats-strip div {
  padding: 24px;
  background: rgba(255,255,255,.045);
}

.stats-strip strong {
  display: block;
  color: var(--green);
  font-size: 34px;
}

.stats-strip span { color: var(--muted); }

.cards {
  display: grid;
  gap: 18px;
}

.service-grid,
.project-grid,
.blog-grid { grid-template-columns: repeat(3, 1fr); }
.testimonials { grid-template-columns: repeat(2, 1fr); }

.public-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 22px;
}

.public-filter label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

.public-filter input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(255,255,255,.06);
  font: inherit;
}

.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  color: var(--muted);
  background: rgba(255,255,255,.04);
}

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

.pagination a {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255,255,255,.05);
  font-weight: 850;
}

.pagination a.active,
.pagination a:hover {
  color: #06111d;
  background: var(--green);
  border-color: var(--green);
}

.card,
.blog-card,
.project-card,
.skill,
.client-logo,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
}

.card { padding: 24px; }
.card p,
.blog-body p,
.project-body p,
blockquote { color: var(--muted); }

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  margin-bottom: 18px;
  color: #06111d;
  background: var(--green);
  font-family: Consolas, Monaco, monospace;
  font-weight: 900;
  font-size: 13px;
}

.card-icon i {
  font-size: 22px;
}

.split-section {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 42px;
  align-items: start;
}

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

.skills-grid.compact { grid-template-columns: 1fr; }

.skill {
  padding: 16px;
}

.skill div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.skill span { color: var(--muted); }

.bar {
  display: block;
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

.project-card { overflow: hidden; }
.project-cover {
  min-height: 210px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--green);
  background:
    linear-gradient(135deg, rgba(95,215,255,.1), rgba(53,211,153,.1)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 12px);
  font-family: Consolas, Monaco, monospace;
  font-weight: 900;
}

.media-cover {
  min-height: 210px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--green);
  background:
    linear-gradient(135deg, rgba(95,215,255,.1), rgba(53,211,153,.1)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 12px);
  font-family: Consolas, Monaco, monospace;
  font-weight: 900;
}

.project-cover img,
.media-cover img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.project-body { padding: 22px; }
.blog-card { overflow: hidden; }
.blog-body { padding: 22px; }
.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.post-card-meta .tag {
  margin-bottom: 0;
}

.post-card-meta small {
  color: var(--muted);
  font-weight: 800;
}
.project-body small {
  color: var(--cyan);
  font-family: Consolas, Monaco, monospace;
}

.post-media {
  padding-bottom: 0;
}

.post-media img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tag {
  display: inline-block;
  margin-bottom: 12px;
  border: 1px solid rgba(53,211,153,.28);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--green);
  background: rgba(53,211,153,.08);
  font-size: 12px;
  font-weight: 850;
}

.client-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.client-logo {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 16px;
  color: #dbeafe;
  font-weight: 850;
}

.client-logo img {
  max-width: 150px;
  max-height: 54px;
  object-fit: contain;
}

.avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 1px solid var(--line);
}

blockquote {
  margin: 0 0 18px;
  font-size: 18px;
}

figcaption { font-weight: 850; }
figcaption span {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 850;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.article-copy {
  border-left: 3px solid var(--green);
  padding-left: 22px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.breadcrumb a:hover {
  color: var(--green);
}

.breadcrumb strong {
  color: var(--text);
}

.detail-hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}

.detail-hero h1 {
  font-size: clamp(36px, 4.6vw, 58px);
}

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

.detail-actions,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.detail-actions .button,
.article-meta span {
  gap: 8px;
}

.article-meta span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: #dbeafe;
  background: rgba(255,255,255,.05);
  font-weight: 800;
}

.detail-summary {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255,255,255,.045);
}

.detail-summary div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.detail-summary div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.detail-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
}

.detail-media {
  width: min(var(--max), calc(100% - 32px));
  margin: 34px auto 0;
}

.detail-media img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.detail-layout {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: start;
}

.content-panel,
.sticky-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
}

.content-panel {
  padding: 30px;
}

.rich-content {
  color: #c9d6e8;
  font-size: 17px;
  line-height: 1.85;
}

.rich-content p,
.rich-content div {
  max-width: 860px;
}

.sticky-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0 22px;
}

.chip-list span {
  border: 1px solid rgba(53,211,153,.28);
  border-radius: 8px;
  padding: 7px 10px;
  color: var(--green);
  background: rgba(53,211,153,.08);
  font-size: 13px;
  font-weight: 850;
}

.side-cta {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 18px;
}

.side-cta p {
  color: var(--muted);
}

.side-link-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 18px;
}

.side-link-list a {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: #dbeafe;
  background: rgba(255,255,255,.045);
  font-weight: 800;
}

.side-link-list a:hover {
  border-color: rgba(53,211,153,.35);
  color: var(--green);
}

.meta-panel,
.contact-card {
  padding: 24px;
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 28px;
  align-items: start;
}

.contact-details {
  margin-top: 24px;
}

.lead-form {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(21,30,52,.98), rgba(15,23,41,.98));
  box-shadow: var(--shadow);
}

.form-body {
  padding: 24px;
}

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

.lead-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: #dbeafe;
  font-weight: 750;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--text);
  background: rgba(255,255,255,.06);
  font: inherit;
}

.lead-form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-error {
  color: #ff8a80;
  font-size: 13px;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  margin-bottom: 18px;
  border: 1px solid rgba(53,211,153,.28);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--green);
  background: rgba(53,211,153,.08);
  font-weight: 850;
}

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

.process-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255,255,255,.045);
}

.process-step strong {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #06111d;
  background: var(--cyan);
  font-family: Consolas, Monaco, monospace;
}

.proof-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 24px;
  align-items: stretch;
}

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

.proof-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255,255,255,.045);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(53,211,153,.25);
  border-radius: 8px;
  padding: 30px;
  background: rgba(53,211,153,.08);
}

.resume-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: start;
}

.timeline-list,
.resume-side {
  display: grid;
  gap: 16px;
}

.timeline-card,
.side-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255,255,255,.045);
}

.timeline-card span,
.mini-item span {
  display: block;
  color: var(--cyan);
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  margin-bottom: 8px;
}

.timeline-card p,
.mini-item p {
  color: var(--muted);
}

.side-panel h3 {
  margin-bottom: 18px;
}

.mini-item {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}

.mini-item:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.homepage-block {
  border-top: 1px solid var(--line);
}

.home-muted {
  background: rgba(255,255,255,.025);
}

.contact-card > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-card > p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.socials a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(255,255,255,.05);
  font-weight: 750;
}

.footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #080d18, #050812);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 26px;
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(150px, .6fr));
  gap: 34px;
  align-items: start;
}

.footer p { margin: 6px 0 0; color: var(--muted); }
.footer-brand p {
  max-width: 430px;
}
.footer-socials {
  margin-top: 14px;
}

.footer-column {
  display: grid;
  gap: 9px;
}

.footer-column h4 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 14px;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: #cbd5e1;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.footer-column a:hover {
  color: var(--green);
}

.footer-bottom {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 18px 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom a {
  color: var(--green);
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s ease, transform .45s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 940px) {
  .menu-button { display: block; }
  .nav-links {
    position: absolute;
    inset: 76px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0b1020;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .hero-grid,
  .split-section,
  .contact-layout,
  .detail-hero,
  .detail-layout,
  .proof-grid,
  .resume-layout,
  .skills-grid,
  .public-filter { grid-template-columns: 1fr; }
  .service-grid,
  .project-grid,
  .blog-grid,
  .testimonials,
  .client-grid,
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sticky-panel { position: static; }
}

@media (max-width: 640px) {
  h1 { font-size: 36px; }
  .hero-grid { min-height: auto; padding-top: 44px; }
  .section { padding: 46px 0; }
  .service-grid,
  .project-grid,
  .blog-grid,
  .testimonials,
  .client-grid,
  .process-grid,
  .form-grid,
  .stats-strip { grid-template-columns: 1fr; }
  .cta-panel { grid-template-columns: 1fr; }
  .row-head { align-items: flex-start; flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
