/* ============================================================
   MORE ESTIMATES — Design System
   Concept: "The Estimate Sheet" — drafting-paper blues,
   tape-measure yellow, spec-sheet mono labels.
   ============================================================ */

:root {
  --ink: #1e3a5f;          /* softened navy */
  --ink-deep: #162c47;
  --ink-2: #28496f;        /* raised navy panel */
  --blueprint: #1a4f85;    /* mid blueprint blue */
  --tape: #ffc531;         /* accent yellow */
  --tape-deep: #e8a90a;
  --paper: #f5f8fa;        /* cool light paper */
  --white: #ffffff;
  --graphite: #3a4a5c;     /* body text on paper */
  --mist: #b9c9da;         /* muted text on navy */
  --line: rgba(26, 79, 133, 0.16);
  --line-ink: rgba(255, 255, 255, 0.16);

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --container: 1180px;
  --radius: 10px;
  --shadow: 0 18px 44px -18px rgba(12, 22, 38, 0.35);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blueprint); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--tape);
  outline-offset: 2px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.9rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 600; }
p { margin: 0 0 1.1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blueprint);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 3px;
  border-radius: 2px;
  background: var(--tape);
}
.on-ink .eyebrow { color: var(--tape); }
.on-ink h2, .on-ink h3 { color: var(--white); }
.on-ink p { color: var(--mist); }

.accent { color: transparent; -webkit-text-stroke: 1.5px var(--tape); }
.highlight {
  background: linear-gradient(transparent 62%, var(--tape) 62%, var(--tape) 94%, transparent 94%);
}

/* ---------- Floating decorations (drift) ---------- */
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(var(--dx, 6px), var(--dy, -6px)); }
}
.float-deco {
  display: none;
  position: absolute;
  z-index: 1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100%;
  will-change: transform;
  animation: drift var(--dur, 3s) ease-in-out infinite;
  filter: drop-shadow(0 12px 18px rgba(22, 44, 71, 0.25));
}
@media screen and (min-width: 1024px) {
  .float-deco { display: inline-block; }
}
@media (prefers-reduced-motion: reduce) {
  .float-deco { animation: none; }
}
.has-deco { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 34px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #ffd35e, var(--tape));
  color: #16304f;
  border-color: transparent;
  box-shadow: 0 10px 24px -8px rgba(232, 169, 10, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(232, 169, 10, 0.65); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 6px 14px -6px rgba(232, 169, 10, 0.5); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.on-ink .btn-ghost { color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: rgba(20, 64, 110, 0.08); }
.on-ink .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(30, 58, 95, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-ink);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  min-width: 34px; height: 34px;
  padding: 0 7px;
  background: var(--tape);
  border: 2px solid var(--white);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--tape);
}
.nav .btn { padding: 10px 22px; font-size: 1rem; box-shadow: 0 8px 18px -6px rgba(232, 169, 10, 0.5); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% 0%, rgba(255, 197, 49, 0.12), transparent 55%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 55%, var(--blueprint) 100%);
  color: var(--white);
  padding: 84px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero .kicker {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tape);
  border: 1px solid var(--tape);
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { color: var(--white); }
.hero h1 .accent { -webkit-text-stroke: 1.5px var(--tape); }
.hero .lede { font-size: 1.2rem; color: var(--mist); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.hero-proof {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--mist);
}
.hero-proof strong { color: var(--tape); font-weight: 600; }

.hero-frame {
  position: relative;
  border: 2px solid var(--tape);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.hero-frame img { border-radius: 6px; width: 100%; object-fit: cover; }
.hero-frame::before, .hero-frame::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border: 2px solid var(--tape);
}
.hero-frame::before { top: -12px; left: -12px; border-right: 0; border-bottom: 0; }
.hero-frame::after { bottom: -12px; right: -12px; border-left: 0; border-top: 0; }
.hero-frame figcaption {
  position: absolute;
  bottom: 26px; left: 26px;
  background: var(--ink);
  border: 1px solid var(--tape);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 8px 12px;
  border-radius: 4px;
}
.hero-frame figcaption img {
        display: block;
        width: 180px;
        height: auto;
        max-width: 100%;
    }

/* ---------- Quote strip ---------- */
.quote-strip {
  background: var(--ink-2);
  border-top: 1px solid var(--line-ink);
  padding: 34px 0;
}
.quote-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mini-quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  padding-left: 16px;
  border-left: 3px solid var(--tape);
}
.mini-quote .stars { color: var(--tape); font-size: 0.95rem; letter-spacing: 3px; display: block; margin-bottom: 6px; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-ink { background: var(--ink); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: 0 10px 26px -18px rgba(12, 22, 38, 0.35);
}
.card .spec {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--blueprint);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 1rem; }

.icon-chip {
  width: 52px; height: 52px;
  border-radius: 8px;
  background: var(--paper);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

/* ---------- Problem checklist ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--tape);
  border-radius: 8px;
  padding: 15px 20px;
  font-size: 1.02rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.check-list li::before {
  content: "▸";
  color: var(--blueprint);
  font-weight: 700;
  line-height: 1.5;
}

/* ---------- Estimate-sheet stats ---------- */
.estimate-sheet {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -20px rgba(22, 44, 71, 0.35);
  border-color: var(--line);
  border-width: 1px;
  padding: 36px 40px;
  font-family: var(--font-mono);
}
.estimate-sheet .sheet-title {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blueprint);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.sheet-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.sheet-row:last-child { border-bottom: none; }
.sheet-row .label { font-size: 0.85rem; color: var(--graphite); }
.sheet-row .leader { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.sheet-row .value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
}
.sheet-row .value.tape { color: var(--tape-deep); }

/* Cards keep dark text even inside dark .on-ink sections */
.on-ink .card h3 { color: var(--ink); }
.on-ink .card p { color: #2e3d4f; }
.step-card h3 { color: var(--ink); font-weight: 700; letter-spacing: 0.02em; }
.step-card p { color: #2e3d4f; font-weight: 500; }

/* ---------- Process ---------- */
.step-card { position: relative; padding-top: 40px; }
.step-num {
  position: absolute;
  top: -4px; left: 24px;
  background: var(--tape);
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 12px;
  color: var(--ink);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-ink);
  aspect-ratio: 4 / 3;
  background: var(--ink-2);
}
.gallery-ph {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
}
.gallery-ph-1 { background: linear-gradient(135deg, #14406e, #0c1626); }
.gallery-ph-2 { background: linear-gradient(135deg, #1b5c8f, #122240); }
.gallery-ph-3 { background: linear-gradient(135deg, #0f2c4d, #1b3a5c); }
.gallery-ph-4 { background: linear-gradient(135deg, #23507a, #0c1626); }
.gallery-ph-5 { background: linear-gradient(135deg, #10365e, #173a56); }
.gallery-ph-6 { background: linear-gradient(135deg, #1d4a78, #0d1f36); }
.gallery-ph span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  border: 1px dashed var(--mist);
  padding: 10px 16px;
  border-radius: 6px;
}
.gallery-tag {
  position: absolute;
  left: 14px; bottom: 14px;
  background: var(--tape);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 4px;
}

/* ---------- Testimonials ---------- */
.testi-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.testi-feature img { width: 100%; height: 100%; object-fit: cover; }
.testi-body { padding: 44px 44px 44px 0; }
.testi-body blockquote {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  text-transform: uppercase;
}
.testi-body .quote-detail { font-size: 1.02rem; }
.testi-meta { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi-meta .who { font-weight: 600; color: var(--ink); }
.testi-meta .who small { display: block; font-weight: 400; color: var(--graphite); }
.stars { color: var(--tape-deep); letter-spacing: 3px; }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.testi-card { display: flex; flex-direction: column; gap: 14px; }
.testi-card blockquote {
  margin: 0;
  font-size: 1.02rem;
  color: var(--graphite);
  flex: 1;
}
.testi-card .who { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.testi-card .who small { display: block; font-weight: 400; color: var(--blueprint); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 3px; }

/* ---------- Founder ---------- */
.founder-photo {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -20px rgba(22, 44, 71, 0.35);
  border: 1px solid var(--line);
  overflow: hidden;
}
.founder-photo img { width: 100%; object-fit: cover; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--blueprint);
  font-size: 1.3rem;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { padding: 0 24px 22px; font-size: 1rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(255, 197, 49, 0.22), transparent 60%),
    radial-gradient(700px 380px at 8% 110%, rgba(120, 175, 230, 0.25), transparent 60%),
    linear-gradient(135deg, var(--ink) 0%, var(--blueprint) 100%);
  padding: 84px 0;
  text-align: center;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); max-width: 800px; margin-left: auto; margin-right: auto; }
.cta-band p { color: var(--mist); max-width: 60ch; margin: 0 auto 30px; }
.cta-band .scarcity {
  font-family: var(--font-mono);
  color: var(--tape);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ---------- Forms (Book a Demo) ---------- */
.form-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -20px rgba(22, 44, 71, 0.35);
  border-color: var(--line);
  border-width: 1px;
  padding: 38px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blueprint);
}
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 3px solid var(--tape);
  outline-offset: 0;
  border-color: var(--ink);
}
.form-note { font-size: 0.85rem; color: var(--graphite); margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--mist);
  padding: 64px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  font-weight: 600;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--tape); }
.footer-bottom {
  border-top: 1px solid var(--line-ink);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .grid-2, .testi-feature { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .testi-grid, .gallery-grid, .quote-strip .container { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testi-body { padding: 32px; }
}
@media (max-width: 700px) {
  .section { padding: 64px 0; }
  .grid-3, .grid-4, .testi-grid, .gallery-grid, .quote-strip .container, .form-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav .btn { display: inline-block; padding: 9px 18px; font-size: 0.95rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   v3 ADDITIONS
   ============================================================ */

/* ---------- Subtle page texture ---------- */
body {
  background-image: radial-gradient(rgba(26, 79, 133, 0.07) 1px, transparent 1.5px);
  background-size: 26px 26px;
}
.section-ink, .quote-strip {
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.5px);
  background-size: 26px 26px;
}

/* ---------- Particles layer (index hero) ---------- */
#hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

/* ---------- Quote strip: big centered stars ---------- */
.mini-quote {
  border-left: none;
  padding-left: 0;
  text-align: center;
  font-size: 1.3rem;
}
.mini-quote .stars {
  display: block;
  color: var(--tape);
  font-size: 1.7rem;
  letter-spacing: 7px;
  margin-bottom: 12px;
  text-shadow: 0 4px 14px rgba(255, 197, 49, 0.35);
}

/* ---------- Comic-book speech bubbles (problems) ---------- */
.bubble-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.bubble-list li {
  position: relative;
  background: var(--white);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 22px;
  padding: 16px 22px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 6px 6px 0 rgba(255, 197, 49, 0.9);
  transform: rotate(-1deg);
}
.bubble-list li:nth-child(even) { transform: rotate(1deg); box-shadow: -6px 6px 0 rgba(255, 197, 49, 0.9); }
.bubble-list li::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 40px;
  width: 22px; height: 22px;
  background: var(--white);
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: skewX(28deg) rotate(45deg);
  border-bottom-right-radius: 4px;
}
.bubble-list li:nth-child(even)::after { left: auto; right: 40px; transform: skewX(-28deg) rotate(45deg); }
.bubble-list li:hover { transform: rotate(0deg) scale(1.02); transition: transform 0.15s ease; }

/* ---------- Count-up numbers ---------- */
.sheet-row .value { font-variant-numeric: tabular-nums; }

/* ---------- Upgraded service tiles ---------- */
.svc-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.svc-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tape), var(--blueprint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.svc-card::after {
  content: attr(data-num);
  position: absolute;
  right: 14px; top: 6px;
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(26, 79, 133, 0.16);
  line-height: 1;
  pointer-events: none;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 48px -18px rgba(22, 44, 71, 0.35);
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-card .icon-chip {
  background: linear-gradient(145deg, var(--ink), var(--blueprint));
  border: none;
  color: var(--tape);
  box-shadow: 0 10px 20px -8px rgba(22, 44, 71, 0.45);
}
.svc-card .icon-chip svg { width: 26px; height: 26px; }

/* ---------- Services page: detail rows ---------- */
.svc-detail {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 30px;
  align-items: start;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.svc-detail:hover { transform: translateY(-4px); box-shadow: 0 26px 48px -18px rgba(22, 44, 71, 0.35); }
.svc-detail::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--tape), var(--blueprint));
}
.svc-detail .big-num {
  font-family: var(--font-display);
  font-size: 4.6rem;
  font-weight: 700;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--tape-deep);
}
.svc-detail .big-num small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--blueprint);
  -webkit-text-stroke: 0;
  margin-top: 10px;
  text-transform: uppercase;
}
@media (max-width: 700px) {
  .svc-detail { grid-template-columns: 1fr; }
}

/* ---------- Team (About) ---------- */
.team-row {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 44px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 18px 40px -22px rgba(22, 44, 71, 0.3);
}
.team-row + .team-row { margin-top: 34px; }
.team-row.flip { grid-template-columns: 1.28fr 0.72fr; }
.team-row.flip .team-photo { order: 2; }
.team-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px -18px rgba(22, 44, 71, 0.4);
}
.team-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; }
.team-photo .role-tag {
  position: absolute;
  left: 14px; bottom: 14px;
  background: var(--tape);
  color: #16304f;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 5px;
}
.team-bio h3 { font-size: 2rem; margin-bottom: 2px; }
.team-bio .role {
  font-family: var(--font-mono);
  color: var(--blueprint);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.team-bio p { font-size: 1rem; }
.team-bio .motto {
  border-left: 4px solid var(--tape);
  padding: 10px 16px;
  background: var(--paper);
  border-radius: 0 8px 8px 0;
  font-weight: 600;
  color: var(--ink);
}
@media (max-width: 900px) {
  .team-row, .team-row.flip { grid-template-columns: 1fr; }
  .team-row.flip .team-photo { order: 0; }
}

/* ---------- Demo modal + exit intent ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 24, 42, 0.66);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; animation: modalFade 0.22s ease; }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--white);
  border-radius: 14px;
  max-width: 520px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 34px;
  position: relative;
  box-shadow: 0 40px 90px -20px rgba(12, 24, 42, 0.6);
  animation: modalPop 0.26s cubic-bezier(0.34, 1.4, 0.64, 1);
}
@keyframes modalPop { from { transform: translateY(18px) scale(0.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal .modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink);
}
.modal .modal-close:hover { background: var(--tape); }
.modal h2 { font-size: 1.9rem; }
.modal .form-grid { grid-template-columns: 1fr; gap: 14px; }
.modal .eyebrow { margin-bottom: 6px; }
@media (prefers-reduced-motion: reduce) {
  .modal, .modal-backdrop.open { animation: none; }
}
