/* ============================================================
   Wasatch Web — Clean modern. White, navy ink, cyan accent.
   1px rules. No shadows. No gradients. No glow. No noise.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
  /* Palette */
  --bg:           #FFFFFF;
  --bg-soft:      #FAFAFA;
  --bg-tile:     #F5F5F5;
  --ink:          #0A0A0A;
  --ink-2:        #404040;
  --ink-3:        #6B6B6B;
  --muted:        #9A9A9A;
  --rule:         #E5E5E5;
  --rule-mid:     #D4D4D4;
  --rule-strong:  #0A0A0A;
  --navy:         #1B3A5C;
  --accent:       #1FA0D2;
  --accent-deep:  #1480AB;

  /* Type */
  --f-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Scale */
  --t-hero:   clamp(44px, 6.2vw, 92px);
  --t-h1:     clamp(36px, 4.6vw, 64px);
  --t-h2:     clamp(28px, 3.4vw, 48px);
  --t-h3:     clamp(20px, 1.8vw, 24px);
  --t-h4:     17px;
  --t-body:   16px;
  --t-small:  14px;
  --t-micro:  12px;

  /* Layout */
  --max:      1320px;
  --gutter:   clamp(20px, 4vw, 48px);
  --row-pad:  clamp(56px, 7vw, 96px);
  --rule-w:   1px;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
img, svg, picture { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }
::selection { background: var(--ink); color: var(--bg); }

/* ─── Base ──────────────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.55;
  font-weight: 400;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ─── Containers ────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); position: relative; }
.row  { padding-block: var(--row-pad); }
.row--sm { padding-block: clamp(48px, 6vw, 80px); }
.bordered-top { border-top: 1px solid var(--rule); }

/* ─── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.025em; color: var(--ink); }
h1 { font-size: var(--t-hero); line-height: 1.02; letter-spacing: -0.035em; font-weight: 500; }
h2 { font-size: var(--t-h2); line-height: 1.05; letter-spacing: -0.028em; font-weight: 500; }
h3 { font-size: var(--t-h3); line-height: 1.2;  letter-spacing: -0.015em; font-weight: 500; }
h4 { font-size: var(--t-h4); line-height: 1.3;  letter-spacing: -0.005em; font-weight: 500; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}
.eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.body { font-size: var(--t-body); line-height: 1.6; color: var(--ink-2); }
.small { font-size: var(--t-small); line-height: 1.5; color: var(--ink-3); }
.mono { font-family: var(--f-mono); }

/* ─── Links ─────────────────────────────────────────────────── */
.link {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--ink);
  transform-origin: right center;
  transform: scaleX(1);
  transition: transform .35s cubic-bezier(.7,0,.3,1);
}
.link:hover::after { transform-origin: left center; transform: scaleX(0); animation: link-reverse .35s .15s cubic-bezier(.7,0,.3,1) forwards; }
@keyframes link-reverse { from { transform-origin: left center; transform: scaleX(0);} to { transform-origin: left center; transform: scaleX(1);} }
.link .arrow { transition: transform .25s ease; }
.link:hover .arrow { transform: translate(3px, -3px); }

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  font-family: var(--f-sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
  border: 1px solid var(--ink);
  background: var(--bg);
  color: var(--ink);
  border-radius: 0;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--navy); border-color: var(--navy); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ─── Utility bar (very thin top strip) ─────────────────────── */
.utility {
  border-bottom: 1px solid var(--rule);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  background: var(--bg);
}
.utility .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.utility .left, .utility .right { display: flex; align-items: center; gap: 24px; }
.utility .pulse {
  width: 6px; height: 6px;
  background: #16A34A;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  vertical-align: 1px;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; height: 100%; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav a:hover { color: var(--ink); }
.nav .portal {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  padding: 9px 16px;
  border: 1px solid var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s ease, color .2s ease;
}
.nav .portal:hover { background: var(--ink); color: var(--bg); }
.nav .portal .arrow { transition: transform .2s ease; font-family: var(--f-mono); }
.nav .portal:hover .arrow { transform: translate(2px, -2px); }

.nav-toggle { display: none; width: 36px; height: 36px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 1px; background: var(--ink);
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after  { top:  7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  padding-block: clamp(72px, 9vw, 144px) clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 -10% 0 auto;
  width: 72%;
  background: url('/assets/img/hero-bg.webp') right center / cover no-repeat;
  opacity: 0.55;
  z-index: -1;
  pointer-events: none;
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 95%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 95%);
}

.hero h1 {
  max-width: 19ch;
  margin-bottom: 0;
}
.hero h1 .accent {
  color: var(--accent);
}

.hero-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.hero-body .lede { margin: 0; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 28px;
  column-gap: 24px;
}
.hero-stats .cell .k {
  font-family: var(--f-mono); font-size: 11.5px;
  color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.hero-stats .cell .v {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}

/* ─── Logos / Trust bar ─────────────────────────────────────── */
.trustbar {
  border-block: 1px solid var(--rule);
  padding: 28px 0;
  background: var(--bg-soft);
}
.trustbar .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.trustbar .label {
  font-family: var(--f-mono); font-size: 11.5px;
  color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em;
  white-space: nowrap;
}
.trustbar .clients {
  display: flex; gap: 40px; align-items: center; flex-wrap: wrap;
}
.trustbar .clients span {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink-2);
  white-space: nowrap;
}

/* ─── Section heads (left-aligned, stacked) ─────────────────── */
.section-head {
  padding-bottom: 40px;
}
.section-head .bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}
.section-head .bar .meta {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.section-head h2 { max-width: none; margin: 0 0 18px; }
.section-head h2.constrained { max-width: 24ch; }
.section-head .desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 64ch;
}

/* ─── Services (2×2 grid, comprehensive deliverables) ───────── */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.service {
  padding: 48px 40px 44px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: column;
  background: var(--bg);
  transition: background .25s ease;
  position: relative;
}
.service:nth-child(2n) { border-right: 0; }
.service:nth-last-child(-n+2) { border-bottom: 0; }
.service:hover { background: var(--bg-soft); }

.service .head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}
.service .title-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}
.service .app-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  flex-shrink: 0;
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
.service:hover .app-icon { transform: translateY(-2px) scale(1.03); }
.service .app-icon.ico-websites    { background: linear-gradient(135deg, #22D3EE 0%, #0284C7 100%); }
.service .app-icon.ico-apps        { background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%); }
.service .app-icon.ico-automations { background: linear-gradient(135deg, #FB923C 0%, #EF4444 100%); }
.service .app-icon.ico-custom      { background: linear-gradient(135deg, #10B981 0%, #0E7490 100%); }
.service .title-row h3 { margin: 0; flex: 1; }
.service .num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.service .price {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.service h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.2vw, 30px);
  letter-spacing: -0.025em;
}
.service .desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 48ch;
}
.service .deliv {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.service .deliv-label {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.service .deliv ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  row-gap: 2px;
}
.service .deliv ul li {
  font-size: 14.5px;
  line-height: 1.45;
  padding: 8px 0;
  color: var(--ink-2);
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px solid var(--rule);
}
.service .deliv ul li:nth-last-child(-n+2) { border-bottom: 0; }
.service .deliv ul li::before {
  content: "+";
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 500;
}

/* ─── Approach ──────────────────────────────────────────────── */
.approach {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.step {
  padding: 40px 24px;
  border-right: 1px solid var(--rule);
  min-height: 240px;
  display: flex; flex-direction: column;
}
.step:last-child { border-right: 0; }
.step .num {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.step h4 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.step .duration {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--accent-deep);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.step p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* ─── Selected Work (case study cards) ─────────────────────── */
.cases {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-top: 1px solid var(--rule);
  padding-top: 48px;
}
.case {
  border: 1px solid var(--rule);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  background: var(--bg);
  transition: border-color .25s ease;
}
.case:hover { border-color: var(--ink); }
.case--text { grid-template-columns: 1fr; }
.case-content { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.case-industry {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.case-title {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}
.case-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin: 8px 0 6px;
}
.case-metric {
  padding: 18px 24px;
  border-right: 1px solid var(--rule);
}
.case-metric:first-child { padding-left: 0; }
.case-metric:last-child { padding-right: 0; border-right: 0; }
.case-metric .n {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 6px;
}
.case-metric .n .plus { color: var(--accent); }
.case-metric .l {
  font-family: var(--f-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}
.case-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.case-tech span {
  font-family: var(--f-mono);
  font-size: 10.5px;
  color: var(--ink-2);
  padding: 5px 10px;
  border: 1px solid var(--rule);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.case-cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  align-self: flex-start;
  display: inline-flex;
  gap: 6px;
  margin-top: 6px;
  transition: color .2s ease, border-color .2s ease;
}
.case-cta:hover { color: var(--accent-deep); border-color: var(--accent-deep); }
.case-cta .arrow { transition: transform .2s ease; }
.case-cta:hover .arrow { transform: translate(3px, -3px); }
.case-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-image img { display: block; width: 100%; height: auto; max-height: 400px; object-fit: contain; }
.case--text .case-metrics { max-width: 540px; }
.case--text .case-tech { max-width: 700px; }

@media (max-width: 960px) {
  .case { grid-template-columns: 1fr; padding: 28px; gap: 24px; }
  .case-image { order: -1; padding: 18px; }
  .case-image img { max-height: 260px; }
  .case-metrics { grid-template-columns: 1fr; }
  .case-metric { border-right: 0; border-bottom: 1px solid var(--rule); padding: 14px 0; }
  .case-metric:last-child { border-bottom: 0; }
  .case-title { font-size: 22px; }
}
@media (max-width: 540px) {
  .case { padding: 22px; }
}

/* ─── Stats strip ───────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--rule);
}
.stat {
  padding: 48px 28px;
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: 0; }
.stat .v {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 14px;
}
.stat .v .plus { color: var(--accent); }
.stat .l {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─── CTA ───────────────────────────────────────────────────── */
.cta {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: end;
}
.cta h2 { max-width: 16ch; margin-bottom: 24px; }
.cta .lede { margin: 0; }
.cta .ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.cta .side {
  padding-left: 48px;
  border-left: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 28px;
}
.cta .side .item .k { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.cta .side .item .v { font-size: 18px; font-weight: 500; }
.cta .side .item .v a { border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.cta .side .item .v a:hover { color: var(--accent-deep); }

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--bg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-block: 80px 64px;
}
.footer-grid .col-brand img { height: 34px; width: auto; margin-bottom: 24px; }
.footer-grid .col-brand p { font-size: 14px; line-height: 1.55; color: var(--ink-2); max-width: 32ch; margin: 0; }
.footer-grid h5 {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 18px;
}
.footer-grid ul li { padding: 5px 0; font-size: 14px; color: var(--ink-2); }
.footer-grid ul li a:hover { color: var(--ink); }
.footer-base {
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding: 22px 0;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* ─── Reveal animation (only when JS enabled) ──────────────── */
html.js [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
html.js [data-reveal].in { opacity: 1; transform: translateY(0); }
html.js [data-reveal-delay="1"] { transition-delay: .06s; }
html.js [data-reveal-delay="2"] { transition-delay: .12s; }
html.js [data-reveal-delay="3"] { transition-delay: .18s; }
html.js [data-reveal-delay="4"] { transition-delay: .24s; }
html.js [data-reveal-delay="5"] { transition-delay: .30s; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .utility .pulse { animation: none; }
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid .col-svc-3, .footer-grid .col-svc-4 { display: none; }
}
@media (max-width: 960px) {
  :root { --row-pad: 80px; }
  .hero-body { grid-template-columns: 1fr; gap: 40px; }
  .services { grid-template-columns: 1fr; }
  .service { border-right: 0; border-bottom: 1px solid var(--rule); padding: 36px 0; }
  .service:last-child { border-bottom: 0; }
  .service .deliv ul { grid-template-columns: 1fr; column-gap: 0; }
  .service .deliv ul li:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .service .deliv ul li:last-child { border-bottom: 0; }
  .approach { grid-template-columns: repeat(2, 1fr); }
  .step { border-bottom: 1px solid var(--rule); min-height: auto; }
  .step:nth-child(2n) { border-right: 0; }
  .step:last-child { border-bottom: 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .cta { grid-template-columns: 1fr; gap: 48px; }
  .cta .side { padding-left: 0; border-left: 0; padding-top: 32px; border-top: 1px solid var(--rule); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid .col-brand { grid-column: 1 / -1; }
  .trustbar .clients { gap: 24px; }
  .work-row { grid-template-columns: 56px 1fr 24px; row-gap: 4px; padding: 22px 0; }
  .work-row .desc { grid-column: 2; font-size: 13px; }
  .work-row .tags { grid-column: 2; }
  .work-row .yr { grid-row: 1 / 4; }
  .work-row .arrow { grid-column: 3; grid-row: 1; }
}
@media (max-width: 720px) {
  .utility .right span:nth-child(3) { display: none; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: fixed; inset: 72px 0 0 0;
    background: var(--bg);
    padding: 28px var(--gutter);
    gap: 0;
    z-index: 40;
    border-top: 1px solid var(--rule);
  }
  body.nav-open .nav a {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
    color: var(--ink);
  }
  body.nav-open .nav .portal {
    align-self: flex-start; margin-top: 28px;
    font-size: 14px;
    border: 1px solid var(--ink);
    padding: 14px 22px;
  }
  .hero-eyebrow { margin-bottom: 40px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .footer-grid { padding-block: 56px 40px; }
}
@media (max-width: 540px) {
  :root { --gutter: 20px; }
  .utility .right span:nth-child(2) { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--rule); padding: 32px 24px; }
  .stat:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .approach { grid-template-columns: 1fr; }
  .step { border-right: 0 !important; }
}
