/* ==========================================================================
   Deployflow AI — one-page site
   ========================================================================== */

@font-face { font-family: "Hardcover Var"; src: local("Hardcover Var"), url("fonts/HardcoverVar.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Acumin Pro"; src: local("Acumin Pro Light"), local("AcuminPro-Light"), url("fonts/AcuminPro-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Acumin Pro"; src: local("Acumin Pro"), local("AcuminPro-Regular"), url("fonts/AcuminPro-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Acumin Pro"; src: local("Acumin Pro Medium"), local("AcuminPro-Medium"), url("fonts/AcuminPro-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Acumin Pro"; src: local("Acumin Pro Semibold"), local("AcuminPro-Semibold"), url("fonts/AcuminPro-Semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --white: #ffffff;
  --paper: #f9f7f7;
  --ink: #222127;
  --purple: #241498;
  --lavender: #aea5ef;
  --green: #5bbf81;
  --mint: #70f4a2;
  --leaflet: #070e0b;

  --surface-base: var(--white);
  --surface-raised: var(--paper);
  --surface-brand: var(--purple);
  --surface-feature: var(--lavender);
  --text-heading: var(--purple);
  --text-body: var(--ink);
  --text-secondary: var(--ink);
  --text-signature: var(--green);

  --serif: "Hardcover Var", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Acumin Pro", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

  --content: 1250px;
  --margin: 32px;
  --section: 100px;
  --r-lg: 30px;
  --r-md: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.5; color: var(--text-body); background: var(--surface-base); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--purple); color: var(--white); }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--content) + var(--margin) * 2); margin-inline: auto; padding-inline: var(--margin); }
.section { padding-block: var(--section); }
.paper { background: var(--surface-raised); }
.dot { color: var(--text-signature); }

/* Text styles */
.t-display { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 1.8rem + 2.8vw, 70px); line-height: 1.15; letter-spacing: -0.02em; color: var(--text-heading); }
.t-h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 1.4rem + 2vw, 54px); line-height: 1.1; letter-spacing: -0.015em; color: var(--text-heading); }
.t-h1--120 { line-height: 1.2; }
.t-h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 1.2rem + 1.2vw, 40px); line-height: 1.15; letter-spacing: -0.01em; color: var(--text-heading); }
.t-h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 1.1rem + 0.8vw, 32px); line-height: 1.25; letter-spacing: -0.005em; color: var(--text-heading); }
.t-h4 { font-family: var(--serif); font-weight: 600; font-size: clamp(20px, 1.1rem + 0.4vw, 24px); line-height: 1.3; }
.t-eyebrow { font-family: var(--sans); font-size: clamp(16px, 0.95rem + 0.3vw, 20px); line-height: 1.3; color: var(--ink); }
.t-lead { font-size: clamp(17px, 1rem + 0.25vw, 20px); line-height: 1.5; letter-spacing: -0.01em; }
.t-body { font-size: 17px; line-height: 1.55; }
.t-small { font-size: 14px; line-height: 1.45; }
.t-caption { font-size: 13px; line-height: 1.4; }

/* Buttons */
.btn { --btn-h: 46px; display: inline-flex; align-items: center; justify-content: center; height: var(--btn-h); padding-inline: 24px; border-radius: 9999px; border: 1.5px solid transparent; font: 600 15px/1.3 var(--sans); letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, transform .15s; }
.btn--lg { --btn-h: 52px; padding-inline: 28px; font-size: 16px; }
.btn--sm { --btn-h: 38px; padding-inline: 18px; font-size: 14px; }
.btn--primary { background: var(--purple); color: var(--white); }
.btn--primary:hover { background: var(--ink); }
.btn--secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--secondary:hover { background: var(--paper); }
.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--mint); }
.btn--mint { background: var(--mint); color: var(--ink); }
.btn--mint:hover { background: #48c77b; }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; padding-top: 12px; margin-bottom: -82px; background: none; border: 0; isolation: isolate; }
.nav::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: -1; pointer-events: none;
  display: block; height: 60%;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}
.nav__in {
  height: 68px;
  width: calc(100% - 64px);
  max-width: calc(var(--content) + 48px);
  padding-inline: 28px 18px;
  gap: 40px;
  border-radius: 999px;
  background: rgb(var(--nav-surface, 255 255 255) / 0.72);
  backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
  border: 0 solid rgb(34 33 39 / 0.08);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, 0 5px 32px -20px rgb(7 14 11 / 0.28);
  transition: background .45s ease, border-color .45s ease, box-shadow .45s ease, transform .35s ease;
  display: flex; align-items: center;
}
.nav:not(.is-scrolled) .nav__in { background: rgb(var(--nav-surface, 255 255 255) / 0.396); box-shadow: none; }
.nav[data-tone="dark"] .nav__in {
  background: rgb(var(--nav-surface, 255 255 255) / 0.55);
  border-color: rgb(255 255 255 / 0.14);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.08) inset, 0 5px 32px -20px rgb(7 14 11 / 0.28);
}
.nav__logo { margin-right: auto; display: inline-flex; flex: none; }
.nav__logo img { height: 26px; width: auto; }
.nav__links { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-size: 16px; font-weight: 500; white-space: nowrap; color: #222127; transition: color .3s ease; }
.nav__links a:hover { color: var(--purple); }
.nav[data-tone="dark"] .nav__links a { color: #ffffff; }
.nav[data-tone="dark"] .nav__links a:hover { color: #70f4a2; }
.nav[data-tone="dark"] .btn--primary { background: #ffffff; color: #222127; }
.nav[data-tone="dark"] .btn--primary:hover { background: #70f4a2; }

/* Hero */
.hero { background: var(--surface-base); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; min-height: 720px; }
.hero__copy { display: grid; gap: 28px; justify-items: start; padding-top: 82px; }
.hero__copy .t-display { max-width: 580px; }
.hero__copy .t-lead { max-width: 520px; }
.hero__img { align-self: start; width: auto; max-width: 660px; height: 860px; max-height: 90vh; border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; margin-left: 24px; margin-right: calc(-1 * min(120px, max(0px, (100vw - min(100vw, var(--content) + var(--margin) * 2)) / 2 + var(--margin) - 24px))); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.logos { margin-top: 56px; padding-block: 24px 48px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos ul { display: flex; align-items: center; gap: 85px; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee 40s linear infinite; }
.logos img { height: 24px; width: auto; }
@keyframes marquee { to { transform: translateX(calc(-50% - 42.5px)); } }

/* About */
.about__top { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; margin-bottom: 56px; }
.about__top .t-eyebrow { padding-top: 6px; }
.about__statement { display: grid; gap: 24px; }
.about__meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.team { display: flex; }
.team img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--white); margin-left: -10px; }
.team img:first-child { margin-left: 0; }
.about__meta p { font-size: 14px; line-height: 1.25; }
.about__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.about-card { position: relative; isolation: isolate; overflow: hidden; min-height: 380px; padding: 30px; border-radius: var(--r-lg); background: var(--mint); color: var(--ink); display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.about-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/about/glass.jpg") no-repeat; background-size: 260%; -webkit-mask-image: linear-gradient(180deg, #000 0, #000 30%, transparent 58%); mask-image: linear-gradient(180deg, #000 0, #000 30%, transparent 58%); }
.about-card--a::before { background-position: 34% 30%; }
.about-card--b::before { background-position: 52% 60%; }
.about-card--c::before { background-position: 46% 40%; }
.about-card h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(21px, 1.15rem + 0.45vw, 27px); line-height: 1.25; }
.about-card h3.single-line { white-space: nowrap; }

/* Ticker band */
.band { padding-block: 36px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.band ul { display: flex; align-items: center; gap: 32px; width: max-content; list-style: none; margin: 0; padding: 0; animation: marquee-band 50s linear infinite; }
.band li { display: inline-flex; align-items: center; gap: 32px; white-space: nowrap; font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 1.1rem + 1.2vw, 38px); line-height: 1.1; letter-spacing: -0.015em; color: var(--purple); }
.band li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
@keyframes marquee-band { to { transform: translateX(-50%); } }

/* Section headers */
.head { display: grid; gap: 14px; }
.head--center { text-align: center; justify-items: center; }
.head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.head--split > div { display: grid; gap: 16px; max-width: 640px; }

/* What we do */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 390px; gap: 20px; margin-top: 36px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  --bleed: calc((100vw - min(100vw, var(--content) + var(--margin) * 2)) / 2 + var(--margin));
  margin-inline: calc(var(--bleed) * -1); padding-inline: var(--bleed); scroll-padding-inline: var(--bleed); }
.rail::-webkit-scrollbar { display: none; }
.svc { position: relative; isolation: isolate; aspect-ratio: 403 / 460; border-radius: var(--r-lg); overflow: hidden; color: var(--white); scroll-snap-align: start; transition: opacity .3s; }
.svc.is-off { opacity: .3; }
.svc img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(34 33 39 / 0) 30%, rgb(34 33 39 / .55) 62%, rgb(34 33 39 / .88) 100%); }
.svc__body { position: absolute; inset: auto 0 0; padding: 24px; display: grid; gap: 14px; }
.svc__body h3 { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.3; }
.svc__body p { font-size: 15px; line-height: 1.45; }
.rail-ctrl { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.rail-ctrl button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.rail-ctrl button:hover { background: var(--lavender); }
.rail-ctrl .icon { width: 16px; height: 16px; }

/* CortexOS leaflet */
.leaflet { background: var(--leaflet); color: var(--white); }
.leaflet__hero { background:
  linear-gradient(90deg, rgb(7 14 11 / .96) 0, rgb(7 14 11 / .8) 42%, rgb(7 14 11 / .15) 72%, rgb(7 14 11 / 0) 100%),
  linear-gradient(180deg, rgb(7 14 11 / .45) 0, rgb(7 14 11 / .15) 45%, rgb(7 14 11 / 0) 70%),
  linear-gradient(180deg, rgb(7 14 11 / 0) 72%, var(--leaflet) 100%),
  url("assets/leaflet-road.jpg") center / cover no-repeat; }
.leaflet__in { min-height: min(920px, 95vh); display: grid; grid-template-rows: 1fr auto; gap: 48px; padding-block: 84px 108px; }
.leaflet__head { display: grid; gap: 14px; align-content: start; max-width: 1040px; }
.leaflet__meet { font-size: clamp(28px, 1.3rem + 2vw, 48px); line-height: 1.2; }
.leaflet__meet strong { font-family: var(--serif); font-weight: 600; }
.leaflet__title { font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 1.8rem + 2.8vw, 72px); line-height: 1.2; letter-spacing: -0.02em; }
.leaflet__tag { font-size: clamp(21px, 1.1rem + 0.9vw, 30px); line-height: 1.2; }
.leaflet__cta { justify-self: end; width: min(520px, 100%); display: grid; gap: 24px; justify-items: start; }
.toggle { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; padding: 0; color: var(--white); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.toggle i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .5); display: grid; place-items: center; transition: transform .3s; }
.toggle .icon { width: 14px; height: 14px; }
.leaflet.is-open .toggle i { transform: rotate(180deg); }
.leaflet__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s ease; }
.leaflet.is-open .leaflet__more { grid-template-rows: 1fr; }
.leaflet__more > div { overflow: hidden; }
.leaflet__blocks { display: grid; gap: 96px; padding-block: 40px 120px; }
.leaflet__block { display: grid; gap: 36px; }
.leaflet__block h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 1.2rem + 1.2vw, 40px); line-height: 1.15; max-width: 900px; }
.lgrid { display: grid; gap: 36px 20px; }
.lgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lgrid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lgrid span { font: 600 13px var(--sans); letter-spacing: -0.01em; color: var(--mint); }
.lgrid h4 { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.2; margin: 10px 0; }
.lgrid h5 { font-weight: 600; font-size: 18px; line-height: 1.25; margin: 0 0 10px; }
.lgrid p { font-size: 15px; line-height: 1.5; }
.leaflet__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

/* Why Deployflow */
.values { background: var(--surface-brand); color: var(--white); }
.values .t-eyebrow, .values .t-h1 { color: var(--white); }
.values .head p.val-lead { max-width: 920px; }
.values__scroll { height: calc(100vh + 720px); }
.values__sticky { position: sticky; top: 96px; display: grid; gap: 56px; }
.vgrid { display: grid; grid-template-columns: 1fr 370px 1fr; gap: 16px; align-items: stretch; }
.vcol { display: grid; gap: 16px; grid-template-rows: 1fr 1fr; }
.vcard { padding: 26px; border-radius: var(--r-lg); background: rgb(255 255 255 / .05); display: grid; gap: 28px; align-content: start; height: 100%; will-change: transform; }
.vcard__icon { width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .05); display: grid; place-items: center; }
.vcard div { display: grid; gap: 8px; }
.vcard h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.3; }
.vimg { border-radius: var(--r-lg); overflow: hidden; will-change: transform, opacity; }
.vimg img { width: 100%; height: 100%; object-fit: cover; }

/* Results & Reviews */
.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.case { position: relative; isolation: isolate; aspect-ratio: 617 / 460; border-radius: var(--r-lg); overflow: hidden; color: var(--white); }
.case img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.case::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(34 33 39 / 0) 35%, rgb(34 33 39 / .85) 100%); }
.case__tag { position: absolute; top: 20px; left: 20px; padding: 4px 12px; border-radius: 999px; font-size: 13px; line-height: 1.4; background: rgb(255 255 255 / .18); backdrop-filter: blur(6px); }
.case__body { position: absolute; inset: auto 0 0; padding: 28px; display: grid; gap: 14px; }
.case__body h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.3; max-width: 24ch; }
.case__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; line-height: 1.45; }
.case__meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 8px; border-radius: 50%; background: var(--green); vertical-align: middle; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.quote { padding: 28px 24px; border-radius: var(--r-lg); background: var(--surface-base); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.stars { display: flex; gap: 4px; margin-bottom: 12px; }
.stars svg { width: 14px; height: 14px; fill: var(--purple); }
.quote blockquote { font-size: 16px; line-height: 1.5; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote cite { display: block; font-style: normal; font-weight: 600; font-size: 15px; line-height: 1.3; }
.quote figcaption small { display: block; font-size: 13px; line-height: 1.4; color: rgba(34, 33, 39, 0.7); }
.mono { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgb(174 165 239 / .32); color: var(--purple); font-family: var(--serif); font-weight: 600; font-size: 14px; }

/* Insights */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.post { display: grid; gap: 10px; text-decoration: none; }
.post img { width: 100%; aspect-ratio: 400 / 330; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 4px; }
.post__meta { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 1.45; }
.post__meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 8px; border-radius: 50%; background: var(--ink); vertical-align: middle; }
.post h3 { font-family: var(--serif); font-weight: 600; font-size: 23px; line-height: 1.3; color: var(--ink); }
.post:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* FAQs */
.faqs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 650px); gap: 48px; }
.faqs__aside { display: grid; align-content: start; gap: 64px; }
.guide { display: grid; gap: 14px; justify-items: start; max-width: 240px; }
.guide img { width: 80px; height: 80px; border-radius: 50%; }
.faq-list { display: grid; gap: 4px; }
.faq { border-radius: 18px; }
.faq[open] { background: var(--paper); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--purple); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--purple); position: relative; transition: transform .2s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--white); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] summary i { transform: rotate(45deg); }
.faq p { padding: 0 18px 18px; font-size: 15px; line-height: 1.55; max-width: 60ch; }

/* Powered by CortexOS */
.gov__pin { display: grid; place-items: center; }
.gov__head { display: grid; justify-items: center; gap: 14px; text-align: center; max-width: 620px; margin-inline: auto; }
.gov__head h2 { font-size: clamp(28px, 1.3rem + 1.8vw, 46px); }
.gov__head > p { max-width: 50ch; font-size: 16px; }
.certs { display: grid; justify-items: center; gap: 14px; margin-top: 14px; }
.certs p { font-size: 15px; line-height: 1.3; }
.certs img { width: min(540px, 100%); height: auto; }
.gov__head .btn { margin-top: 14px; }

/* How we work */
.approach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 650px); gap: 48px; }
.approach__head { position: sticky; top: 120px; align-self: start; display: grid; gap: 18px; }
.approach__head p { max-width: 44ch; }
.steps { display: grid; gap: 56px; }
.step { display: grid; gap: 12px; }
.step img { width: 100%; aspect-ratio: 649 / 370; object-fit: cover; border-radius: var(--r-lg); margin-bottom: 8px; }
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 25px; line-height: 1.3; color: var(--ink); }

/* The difference */
.single-line-header { white-space: nowrap; }
@media (max-width: 768px) {
  .single-line-header { white-space: normal; }
}
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 64px 0; text-align: center; }
.stats > div { display: flex; flex-direction: column-reverse; align-items: center; gap: 6px; }
.stats dd { margin: 0; font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 1.8rem + 2vw, 62px); line-height: 1.2; letter-spacing: -0.02em; color: var(--purple); }
.stats dt { font-size: 14px; line-height: 1.45; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ccol { padding: 30px; border-radius: var(--r-lg); background: var(--paper); }
.ccol--ours { background: var(--mint); }
.ccol > p { margin: 14px 0 28px; font-size: clamp(16px, 0.95rem + .3vw, 19px); line-height: 1.5; max-width: 30ch; }
.ccol ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ccol li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.4; }
.ccol li .icon { width: 18px; height: 18px; flex: none; color: var(--ink); }
.ccol--ours li .icon { color: var(--purple); }

/* CTA banner + footer */
.footer { padding-block: 0 48px; }
.cta { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-lg); min-height: 400px; display: grid; place-items: center; text-align: center; padding: 56px 32px; color: var(--white); }
.cta > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 65% at 50% 52%, rgb(34 33 39 / .72), rgb(34 33 39 / .45) 55%, rgb(34 33 39 / 0) 100%); }
.cta__in { display: grid; justify-items: center; gap: 18px; max-width: 720px; }
.cta .t-h1 { color: var(--white); }
.cta .btn { margin-top: 10px; }

.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; flex-wrap: wrap; padding: 64px 0 48px; }
.footer__brand { display: grid; gap: 12px; max-width: 480px; align-content: start; }
.footer__tag { font-size: clamp(20px, 0.95rem + 1vw, 26px); line-height: 1.3; }
.footer__legal { font-size: 13px; line-height: 1.45; letter-spacing: -0.01em; color: rgba(34, 33, 39, 0.7); }
.footer__cols { display: flex; gap: 64px; text-align: left; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.footer__cols a { text-decoration: none; font-weight: 400; font-size: 16px; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); }
.footer__cols a:hover { color: var(--purple); }
.wordmark { width: 100%; height: auto; display: block; margin-bottom: -4.6%; }

/* Responsive */
@media (max-width: 1100px) {
  .nav__links { gap: 22px; }
  .vgrid { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; }
  .vimg { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 9; }
  .lgrid--4, .lgrid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-card h3.single-line { white-space: normal; }
}
@media (max-width: 900px) {
  :root { --margin: 24px; --section: 64px; }
  .nav__links { display: none; }
  .nav { padding-top: 12px; margin-bottom: -70px; }
  .nav__in { height: 58px; width: calc(100% - 24px); padding-inline: 18px 11px; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__img { order: -1; aspect-ratio: auto; height: calc((100vw - var(--margin) * 2) * 3 / 4 + 31px); margin-inline: 0; max-width: none; border-radius: var(--r-lg); margin-top: 0; }
  .hero__copy { padding-top: 4px; padding-bottom: 24px; }
  .about__top, .faqs, .approach, .cases, .compare { grid-template-columns: 1fr; }
  .about__cards, .quotes, .posts { grid-template-columns: 1fr; }
  .about-card { min-height: 280px; }
  .approach__head { position: static; }
  .rail { grid-auto-columns: min(320px, 82vw); }
  .svc__body h3 { font-size: 22px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .case { aspect-ratio: 4 / 5; }
  .leaflet__hero { background: linear-gradient(180deg, rgb(7 14 11 / .92) 0, rgb(7 14 11 / .6) 60%, var(--leaflet) 100%), url("assets/leaflet-road.jpg") 70% center / cover no-repeat; }
  .leaflet__in { min-height: 0; padding-block: 56px; }
  .leaflet__cta { justify-self: start; }
  .footer__cols { flex-direction: column; gap: 24px; text-align: left; }
}
@media (max-width: 560px) {
  .vgrid, .lgrid--4, .lgrid--5 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logos ul, .band ul { animation: none; }
  .values__scroll { height: auto; }
  .values__sticky { position: static; }
  .vcard, .vimg { transform: none !important; opacity: 1 !important; }
  .leaflet__more, .toggle i, .svc { transition: none; }
}