/* ===========================================================================
   Hey Aaron! — design system (v1, 2026-07)
   Ported from the Google Stitch "Contractor Elite" system into clean CSS so it
   hits the speed budget (no Tailwind CDN, no icon-font, no runtime JIT).
   Deep navy + burnt-orange accent, Inter, corporate-modern with a numbers-first
   hierarchy. Visual system preserved exactly; delivery made fast.
   =========================================================================== */

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

:root {
  /* ---- Stitch palette (exact) ---- */
  --primary:            #002f62;
  --primary-container:  #074588;   /* header + primary buttons */
  --on-primary:         #ffffff;
  --primary-tint:       #e7eefb;   /* pale navy wash */
  --secondary-container:#ceddfe;
  --on-secondary-container:#243a5e; /* darkened from #52617d for AA on the pill */
  --tertiary:           #7a4a12;   /* burnt orange, darkened to 4.5:1 for text/links */
  --tertiary-bright:    #b4610c;   /* accent fills (stars, rules) */
  --tertiary-container: #ffdcc0;
  --on-tertiary-container:#5a3100;

  --surface:            #f9f9fe;   /* page background */
  --surface-low:        #f3f3f9;   /* alt section bg */
  --surface-high:       #e8e8ed;
  --surface-highest:    #e2e2e7;
  --white:              #ffffff;   /* cards */
  --dark:               #23252b;   /* trust strip / footer */
  --ink:                #16181c;   /* body text (darkened for AA) */
  --ink-variant:        #3b414b;   /* secondary text */
  --line:               #c3c6d2;   /* borders */
  --line-soft:          rgba(30,40,60,.12);

  --good:               #1f6b23;   /* success green, AA */
  --good-bg:            #e8f5e9;
  --info:               #12508f;   /* info blue, AA */
  --info-bg:            #e3f2fd;
  --danger:             #ba1a1a;

  /* ---- type scale (Inter) ---- */
  --f: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --d-lg:   clamp(2rem, 1.3rem + 3.2vw, 3rem);      /* 32 -> 48 */
  --d-xl:   clamp(2.4rem, 1.4rem + 4.6vw, 3.9rem);  /* hero */
  --h-md:   clamp(1.35rem, 1.1rem + 1vw, 1.5rem);   /* 24 */
  --body-lg:clamp(1.05rem, 1rem + .3vw, 1.125rem);
  --body:   0.95rem;
  --caps:   0.75rem;

  --r-sm: 4px; --r: 8px; --r-lg: 12px; --r-xl: 16px; --r-full: 9999px;
  --sh-sm: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.10);
  --sh-md: 0 4px 12px rgba(16,24,40,.10);
  --sh-lg: 0 18px 40px rgba(7,25,50,.18);
  --gut: clamp(16px, 4vw, 24px);
  --max: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--f); font-size: var(--body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--tertiary); }
::selection { background: var(--primary-container); color: #fff; }
h1, h2, h3, h4 { font-family: var(--f); margin: 0; color: var(--ink); line-height: 1.08;
  letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
p { margin: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.sec { padding-block: clamp(52px, 8vw, 96px); }
.sec-low { background: var(--surface-low); }
.sec-white { background: var(--white); }
.caps { font-size: var(--caps); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-variant); }
.center { text-align: center; }
.lede { font-size: var(--body-lg); line-height: 1.6; color: var(--ink-variant); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--gut); top: 12px; z-index: 200; background: var(--primary-container);
  color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--tertiary-bright); outline-offset: 2px; border-radius: var(--r-sm);
}

/* ------------------------------------------------------------- logo mark */
.ha-logo { height: 26px; width: auto; }
.site-head .ha-logo { color: #fff; }

/* --------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.02em; text-decoration: none;
  padding: 14px 22px; border-radius: var(--r-sm); border: 2px solid transparent; cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
  line-height: 1; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-call { background: var(--primary-container); color: #fff; box-shadow: var(--sh-sm); }
.btn-call:hover { background: var(--primary); box-shadow: 0 6px 18px rgba(7,69,136,.34); }
.btn-lg { padding: 17px 30px; font-size: 1rem; }
.btn-ghost { background: transparent; border-color: var(--tertiary); color: var(--tertiary); }
.btn-ghost:hover { background: var(--tertiary-container); }
.btn-white { background: #fff; color: var(--primary-container); box-shadow: var(--sh-sm); }
.btn-white:hover { background: #eef3fb; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .btn-call:hover, .btn-white:hover { transform: translateY(-2px); }
  .head-call:hover { transform: translateY(-1px); }
}

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px; border-radius: var(--r-full);
  background: var(--secondary-container); color: var(--on-secondary-container);
  font-size: var(--caps); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-container); }
.pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

/* ---------------------------------------------------------------- header */
.site-head { position: sticky; top: 0; z-index: 100; background: var(--primary-container);
  box-shadow: 0 2px 10px rgba(0,0,0,.14); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 13px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: rgba(255,255,255,.86); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.site-nav a:hover { color: #fff; }
.head-call { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--primary-container);
  font-weight: 700; font-size: 0.9rem; padding: 10px 18px; border-radius: var(--r-sm); text-decoration: none;
  box-shadow: var(--sh-sm); }
.head-call:hover { background: #eef3fb; }
.head-call svg { width: 17px; height: 17px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .site-nav, .head-call { display: none; }
  .nav-toggle { display: inline-flex; }
  .m-open .site-nav { display: flex; position: fixed; inset: 58px 0 0; background: var(--primary-container);
    flex-direction: column; align-items: flex-start; gap: 4px; padding: 22px var(--gut); z-index: 99; }
  .m-open .site-nav a { color: #fff; font-size: 1.3rem; padding: 12px 0; width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.12); }
  .m-open .head-call { display: inline-flex; position: fixed; left: var(--gut); right: var(--gut); bottom: 22px;
    justify-content: center; z-index: 99; padding: 16px; font-size: 1.05rem; }
}

/* ------------------------------------------------------------------ hero */
.grid-bg { position: relative; }
.grid-bg::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: radial-gradient(120% 90% at 50% 0, #000 40%, transparent 100%);
  mask-image: radial-gradient(120% 90% at 50% 0, #000 40%, transparent 100%); }
.hero { position: relative; background: var(--white); padding-block: clamp(40px, 7vw, 80px); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 56px); align-items: center; }
.hero h1 { font-size: var(--d-xl); margin: 16px 0 18px; }
.hero h1 .swap { color: var(--primary-container); }
.hero-sub { font-size: var(--body-lg); color: var(--ink-variant); max-width: 40ch; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { display: inline-flex; align-items: center; gap: 7px; font-size: var(--caps); font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-variant); }
.hero-note svg { width: 16px; height: 16px; color: var(--tertiary-bright); }
.hero-avail { margin-top: 16px; font-size: 0.9rem; color: var(--ink-variant); display: flex; align-items: center; gap: 8px; }
.hero-avail .live { width: 9px; height: 9px; border-radius: 50%; background: var(--good); }

/* hero media + floating metric */
.hero-media { position: relative; }
.hero-media .frame { position: relative; z-index: 1; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-soft); box-shadow: var(--sh-lg); background: var(--surface-high); aspect-ratio: 4/3; }
.hero-media .kick { position: absolute; inset: -14px auto auto -14px; width: 46%; height: 60%;
  background: linear-gradient(135deg, var(--surface-high), var(--surface)); border-radius: var(--r-lg);
  transform: rotate(-3deg); z-index: 0; }
.float-card { position: absolute; z-index: 2; bottom: 18px; left: -18px; background: #fff; border-radius: var(--r);
  border: 1px solid var(--line-soft); box-shadow: var(--sh-md); padding: 14px 16px; display: flex;
  align-items: center; gap: 12px; max-width: 80%; }
.float-card .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--good-bg); color: var(--good);
  display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 24px; height: 24px; }
.float-card b { display: block; font-size: 1.35rem; line-height: 1; }
.float-card span { font-size: 0.72rem; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}

/* --------------------------------------------------- image placeholders */
.imgslot { position: relative; display: grid; place-content: center; gap: 8px; text-align: center;
  padding: 22px; aspect-ratio: var(--ar, 4/3); border-radius: inherit; color: var(--ink-variant);
  background: repeating-linear-gradient(45deg, var(--surface-high) 0 14px, var(--surface-highest) 14px 28px);
  border: 1px dashed var(--line); }
.imgslot .tag { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary-container); }
.imgslot .lbl { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.imgslot .cue { font-size: 0.76rem; max-width: 34ch; margin-inline: auto; }
.imgslot--photo { --ar: 4/5; }
.imgslot--wide { --ar: 16/9; }
/* an imgslot filling a frame fills it — its own aspect-ratio must not size width */
.hero-media .frame .imgslot, .frame > .imgslot { aspect-ratio: auto; width: 100%; height: 100%; }
.callbar { max-width: 100%; }

/* ------------------------------------------------------------- trust bar */
.trust { background: var(--dark); color: #fff; }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px;
  padding-block: 18px; }
.trust .lbl { font-size: var(--caps); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,.6); }
.trust .item { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 0.92rem;
  color: rgba(255,255,255,.9); }
.trust .item svg { width: 20px; height: 20px; color: #9fc0ff; }
.trust a.item { text-decoration: none; }
.trust a.item:hover { color: #fff; }

/* -------------------------------------------------------------- sections */
.sec-head { max-width: 44ch; margin: 0 auto clamp(30px, 5vw, 54px); }
.sec-head h2 { font-size: var(--d-lg); margin-bottom: 12px; }
.sec-head.left { margin-inline: 0; }

/* service / bento cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.card { position: relative; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  padding: 28px 26px; overflow: hidden; box-shadow: var(--sh-sm); transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--secondary-container);
  transition: background .2s var(--ease); }
@media (hover: hover) { .card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); } .card:hover::before { background: var(--primary-container); } }
.card .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--primary-tint); color: var(--primary-container);
  display: grid; place-items: center; margin-bottom: 18px; }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--h-md); margin-bottom: 8px; }
.card p { color: var(--ink-variant); }
.card .demo-tag { display: inline-block; margin-top: 14px; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--tertiary); }

/* proof rows (honest, specific) */
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.proof .p { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: 22px 24px; box-shadow: var(--sh-sm); }
.proof .p b { display: block; font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1; color: var(--primary-container);
  letter-spacing: -0.02em; }
.proof .p span { display: block; margin-top: 8px; color: var(--ink-variant); font-size: 0.92rem; }

/* work strip */
.worklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.workcard { display: block; text-decoration: none; color: inherit; background: var(--white);
  border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
@media (hover: hover) { .workcard:hover { transform: translateY(-3px); box-shadow: var(--sh-md); } }
.workcard .shot { aspect-ratio: 16/10; background: var(--surface-high); overflow: hidden; }
.workcard .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.workcard .meta { padding: 16px 18px; }
.workcard .meta .t { font-weight: 700; }
.workcard .meta .s { font-size: 0.85rem; color: var(--ink-variant); margin-top: 3px; }

/* process steps */
.steps { display: grid; gap: 2px; background: var(--line-soft); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-soft); }
.step { background: var(--white); padding: 26px 28px; display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; }
.step .n { font-size: 2rem; font-weight: 700; color: #5a82bf; line-height: .9; letter-spacing: -0.03em; }
.step h3 { font-size: var(--h-md); margin-bottom: 6px; }
.step p { color: var(--ink-variant); }
@media (max-width: 560px) { .step { grid-template-columns: 1fr; gap: 4px; } }

/* ------------------------------------------------------------- FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq details[open] { border-color: var(--primary-container); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; font-weight: 700; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 22px; height: 22px; color: var(--tertiary); transition: transform .2s var(--ease); flex: none; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .a { padding: 0 22px 20px; color: var(--ink-variant); max-width: 68ch; }

/* ---------------------------------------------------------- quiz stepper */
.quiz { max-width: 560px; margin: 0 auto; background: var(--white); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: clamp(22px, 3vw, 34px); }
.quiz-prog { display: flex; gap: 6px; margin-bottom: 20px; }
.quiz-prog i { flex: 1; height: 5px; border-radius: 99px; background: var(--surface-highest); }
.quiz-prog i.on { background: var(--primary-container); }
.quiz-step { display: none; }
.quiz-step.on { display: block; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .quiz-step.on { animation: none; } }
.quiz h3 { font-size: var(--h-md); margin-bottom: 16px; }
.quiz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quiz-opt { text-align: left; background: var(--surface-low); border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 14px 16px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease); }
.quiz-opt:hover { border-color: var(--primary-container); background: var(--primary-tint); }
.quiz-field label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; }
.quiz input { width: 100%; font: inherit; font-size: 16px; padding: 13px 15px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: #fff; }
.quiz-skip { display: block; text-align: center; margin-top: 16px; font-weight: 700; color: var(--primary-container);
  text-decoration: none; }
.quiz-err { color: var(--danger); font-weight: 600; font-size: 0.9rem; margin-top: 10px; }
.quiz-done { text-align: center; }
.quiz-done .big { width: 60px; height: 60px; border-radius: 50%; background: var(--good-bg); color: var(--good);
  display: grid; place-items: center; margin: 0 auto 14px; }
@media (max-width: 480px) { .quiz-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------- callback widget */
.cbw { background: linear-gradient(135deg, var(--primary), var(--primary-container)); color: #fff;
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 38px); position: relative; overflow: hidden; }
.cbw h3 { color: #fff; font-size: var(--d-lg); margin-bottom: 8px; }
.cbw p { color: rgba(255,255,255,.85); max-width: 46ch; }
.cbw .demo-note { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; margin-bottom: 18px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: #ffd8a8; }
.cbw-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 460px; }
.cbw-form input { flex: 1 1 200px; font: inherit; font-size: 16px; padding: 15px 16px; border: 0;
  border-radius: var(--r-sm); }
.cbw .fine { margin-top: 12px; font-size: 0.78rem; color: rgba(255,255,255,.7); }
.cbw .status { margin-top: 12px; font-weight: 700; }
.cbw .status.ok { color: #bff3c9; }
.cbw .status.err { color: #ffc9c4; }

/* --------------------------------------------------- sticky mobile bar */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: none;
  transform: translateY(120%); transition: transform .3s var(--ease); box-shadow: 0 -4px 18px rgba(0,0,0,.18); }
.callbar.show { transform: none; }
.callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 8px;
  font-weight: 700; text-decoration: none; font-size: 1rem; }
.callbar .c { flex: 7; background: var(--primary-container); color: #fff; }
.callbar .t { flex: 3; background: var(--tertiary-bright); color: #fff; }
.callbar svg { width: 19px; height: 19px; }
@media (max-width: 860px) { .callbar { display: flex; } body.has-callbar { padding-bottom: 56px; } }

/* floating desktop call button */
.floatcall { position: fixed; right: 22px; bottom: 22px; z-index: 110; display: none; align-items: center; gap: 10px;
  background: var(--primary-container); color: #fff; padding: 14px 20px; border-radius: var(--r-full);
  text-decoration: none; font-weight: 700; box-shadow: var(--sh-lg); transform: translateY(140%);
  transition: transform .3s var(--ease); }
.floatcall.show { transform: none; }
.floatcall:hover { background: var(--primary); }
.floatcall svg { width: 20px; height: 20px; }
@media (min-width: 861px) { .floatcall { display: inline-flex; } }

/* ------------------------------------------------------------------ misc */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

.final { background: var(--surface-low); text-align: center; }
.final h2 { font-size: var(--d-lg); margin-bottom: 10px; }
.final .lede { max-width: 44ch; margin: 0 auto 26px; }
.guarantee { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 20px;
  background: var(--good-bg); color: var(--good); border-radius: var(--r-full); font-weight: 700; font-size: 0.9rem; }
.guarantee svg { width: 20px; height: 20px; }

.site-foot { background: var(--dark); color: rgba(255,255,255,.72); }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-block: 48px; }
.site-foot .ha-logo { color: #fff; height: 22px; margin-bottom: 14px; }
.site-foot h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.site-foot a { color: rgba(255,255,255,.72); text-decoration: none; display: block; padding: 4px 0; }
.site-foot a:hover { color: #fff; }
.site-foot .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px;
  font-size: 0.82rem; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
@media (max-width: 700px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } .site-foot .brandcol { grid-column: 1 / -1; } }

/* -------------------------------------------------- exit-intent modal */
.ha-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px;
  background: rgba(10,20,40,.6); }
.ha-modal[hidden] { display: none; }
.ha-modal-card { background: linear-gradient(135deg, var(--primary), var(--primary-container));
  max-width: 440px; width: 100%; border-radius: var(--r-lg); padding: 32px; position: relative; }
.ha-modal-card h3 { color: #fff; font-size: var(--h-md); margin-bottom: 8px; }
.ha-modal-card p { color: rgba(255,255,255,.85); margin-bottom: 18px; }
.ha-modal-x { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: #fff;
  font-size: 1.7rem; line-height: 1; cursor: pointer; }

/* -------------------------------------------------- two-column split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.split-media .frame { position: relative; aspect-ratio: 4/5; max-height: 480px; border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--line-soft); box-shadow: var(--sh-lg); background: var(--surface-high); }
.split-media .frame .imgslot { height: 100%; aspect-ratio: auto; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-media { order: -1; } .split-media .frame { max-height: 420px; } }

/* =================================================== interior pages */
.page-hero { background: var(--primary-container); color: #fff; padding-block: clamp(38px, 6vw, 72px); }
.page-hero h1 { color: #fff; font-size: var(--d-lg); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.86); max-width: 56ch; font-size: var(--body-lg); }
.page-hero .caps { color: #9fc0ff; margin-bottom: 10px; display: block; }

/* prose / legal */
.prose { max-width: 760px; }
.prose h2 { font-size: var(--h-md); margin: var(--gut) 0 0.4em; scroll-margin-top: 84px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin: 22px 0 0.3em; }
.prose p, .prose li { max-width: 68ch; margin: 0 0 0.9em; }
.prose ul, .prose dl { margin: 0 0 1em; padding-left: 1.15em; }
.prose li { margin-bottom: 0.5em; }
.prose dt { font-weight: 700; color: var(--ink); margin-top: 0.7em; }
.prose dd { margin: 0; color: var(--ink-variant); }
.prose .updated { font-size: 0.75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-variant); margin-bottom: var(--gut); }
.prose .toc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0;
  margin-bottom: var(--gut); display: flex; flex-wrap: wrap; gap: 6px 20px; }
.prose .toc a { font-size: 0.9rem; }
.prose .callout { background: var(--info-bg); border: 1px solid var(--line); border-radius: 0 var(--r) var(--r) 0; padding: 18px 20px; margin: 14px 0 20px; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose .callout strong { color: var(--primary-container); }
.prose table { border-collapse: collapse; width: auto; margin: 0 0 1em; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 14px; text-align: left; }
.prose th { background: var(--surface-low); font-size: 0.85rem; }

/* quote / contact form (navy) — keeps the compliant consent markup */
.qform { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  box-shadow: var(--sh-md); padding: clamp(22px, 3vw, 32px); }
.qf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qf-field { margin-bottom: 14px; }
.qf-field label { display: block; font-weight: 700; font-size: 0.85rem; color: var(--ink); margin-bottom: 5px; }
.qf-field .req { color: var(--danger); }
.qf-field .qf-opt, .qf-opt { font-weight: 400; color: var(--ink-variant); font-size: 0.82rem; }
.qform input, .qform select, .qform textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); }
.qform textarea { resize: vertical; }
.qform input:focus-visible, .qform select:focus-visible, .qform textarea:focus-visible {
  outline: none; border-color: var(--primary-container); box-shadow: 0 0 0 3px rgba(7,69,136,.16); }
.qf-consent { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start; margin: 6px 0 4px;
  padding: 14px 16px; background: var(--surface-low); border: 1px solid var(--line); border-radius: var(--r-sm); }
.qf-consent + .qf-consent { margin-top: 10px; }
.qf-consent--optional { background: transparent; border-style: dashed; }
.qf-consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary-container); flex: none; }
.qf-consent-text { font-size: 0.82rem; line-height: 1.5; color: var(--ink-variant); }
.qf-consent-text strong { color: var(--ink); }
.qf-consent:focus-within { border-color: var(--primary-container); box-shadow: 0 0 0 3px rgba(7,69,136,.12); }
.qf-submit { width: 100%; margin-top: 16px; }
.qf-fine { font-size: 0.78rem; color: var(--ink-variant); margin-top: 12px; text-align: center; }
.qform .form-status { margin-top: 12px; font-size: 0.92rem; font-weight: 700; }
.qform .form-status.ok { color: var(--good); }
.qform .form-status.err { color: var(--danger); }
@media (max-width: 480px) { .qf-row { grid-template-columns: 1fr; gap: 0; } }

/* pricing tiers */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; align-items: start; }
.tier { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 28px 26px;
  box-shadow: var(--sh-sm); display: flex; flex-direction: column; position: relative; }
.tier.pop { border: 2px solid var(--primary-container); box-shadow: var(--sh-md); }
.tier .badge { position: absolute; top: -12px; left: 26px; background: var(--primary-container); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: var(--r-full); }
.tier .name { font-size: 0.8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--tertiary); }
.tier .price { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.02em; margin: 6px 0 2px; }
.tier .price span { font-size: 1rem; font-weight: 500; color: var(--ink-variant); }
.tier .sub { color: var(--ink-variant); margin-bottom: 16px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.tier li { display: grid; grid-template-columns: 20px 1fr; gap: 9px; font-size: 0.92rem; align-items: start; }
.tier li svg { width: 18px; height: 18px; color: var(--good); margin-top: 2px; }
.tier .btn { margin-top: auto; }

/* quote page layout */
.quote-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.quote-points { list-style: none; padding: 0; margin: var(--gut) 0; }
.quote-points li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.quote-points li::before { content: "\2713"; position: absolute; left: 0; color: var(--good); font-weight: 700; }
.quote-call { font-size: 0.94rem; color: var(--ink-variant); }
@media (max-width: 820px) { .quote-grid { grid-template-columns: 1fr; } }

/* services hub + detail */
.svc-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 22px; }
.svc-cat { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 24px 24px 12px; box-shadow: var(--sh-sm); }
.svc-cat h3 { font-size: var(--h-md); }
.svc-cat .cat-desc { color: var(--ink-variant); margin: 6px 0 14px; font-size: 0.92rem; }
.svc-list { list-style: none; padding: 0; margin: 0; }
.svc-list li { border-top: 1px solid var(--line-soft); }
.svc-list a { display: block; padding: 12px 0; text-decoration: none; color: var(--ink); }
.svc-list a:hover { color: var(--primary-container); }
.svc-list b { display: block; font-size: 0.98rem; }
.svc-list span { display: block; font-size: 0.84rem; color: var(--ink-variant); margin-top: 2px; }
.svc-get { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.svc-get li { display: grid; grid-template-columns: 20px 1fr; gap: 9px; align-items: start; font-size: 0.94rem; }
.svc-get li svg { color: var(--good); margin-top: 2px; }
.svc-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.svc-nav a { font-weight: 700; text-decoration: none; }
.svc-nav a:hover { color: var(--primary-container); }

/* work case study extras */
.work-metric { display: block; margin-top: 6px; font-size: 0.8rem; font-weight: 700; color: var(--good); }
.case-metric { display: inline-flex; flex-direction: column; background: var(--good-bg); border-radius: var(--r);
  padding: 14px 20px; margin: 4px 0 8px; }
.case-metric b { font-size: 2rem; font-weight: 700; color: var(--good); line-height: 1; letter-spacing: -0.02em; }
.case-metric span { font-size: 0.85rem; color: var(--ink-variant); margin-top: 3px; }
.stack { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.stacktag { background: var(--surface-high); color: var(--ink-variant); font-size: 0.78rem; font-weight: 600;
  padding: 5px 11px; border-radius: var(--r-full); }

/* about: career grid */
.cv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.cv-item { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: 18px 20px; box-shadow: var(--sh-sm); }
.cv-item b { display: block; font-size: 1.02rem; }
.cv-item span { display: block; color: var(--primary-container); font-weight: 700; font-size: 0.9rem; margin: 2px 0 6px; }
.cv-item i { font-style: normal; font-size: 0.86rem; color: var(--ink-variant); }

/* two-column that collapses on mobile (quiz + callback) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } }

.price-note { font-family: var(--f); font-size: 1.3rem; font-weight: 700; color: var(--primary-container);
  line-height: 1.1; margin: 6px 0 2px; letter-spacing: -0.01em; }
.price-note span { display: block; font-size: 0.82rem; font-weight: 500; color: var(--ink-variant); margin-top: 3px; }
