/* ============================================================
   Velocity Security — main.css
   Design tokens + reusable components. No inline styles.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root{
  /* palette */
  --bg:#f0ede6;
  --ink:#201d17;
  --ink-strong:#14130f;
  --green:#43991f;
  --green-dark:#2f7714;
  --green-lime:#7fce4e;
  --muted:#5c574c;
  --muted-2:#8f897b;
  --muted-3:#9a9384;
  --line:#e2ddd2;
  --line-2:#e7e3da;
  --line-3:#eae6dd;
  --panel:#faf9f5;
  --panel-2:#ece8dd;
  --badge-bg:#e9f4e2;
  --badge-line:#cbe6bb;
  --num-ghost:#e0dcd2;
  --danger:#cf3a2c;
  --danger-dark:#a02418;

  /* type */
  --sans:system-ui,-apple-system,sans-serif;
  /* NOT --display. Elementor sets `--display:flex` on its own containers, custom
     properties inherit, and every .title-hero inside an Elementor container was
     therefore resolving font-family to `flex` — not a font, so the browser fell
     back to its default serif. Nothing declared a serif anywhere; the headline
     fell INTO one. A token named after a real CSS property is asking for this:
     keep the --font- prefix. */
  --font-display:'Space Grotesk',system-ui,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,monospace;
  /* Accent italic. Space Grotesk ships NO italic face — Google serves 27 faces
     for the family and every one is font-style:normal — so asking it for italic
     was SYNTHESISING one: a mechanical slant of the upright with the curves
     distorted, and in some browsers a fall-through to whatever family came next,
     mid-headline. The accent words are a designed part of the headline, so they
     get a family that actually has a drawn italic. Every fallback here has a
     real italic too, so the synthetic slant cannot come back if Google Fonts is
     ever blocked. Swap this ONE token to change every accent at once. */
  --accent-italic:'Source Serif 4','Iowan Old Style',Georgia,serif;

  /* layout */
  --maxw:1180px;
  --pad:28px;
  --radius:16px;
  --radius-pill:30px;
}

/* ---------- Reset / base ---------- */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--bg);
  font-family:var(--sans);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
}
a{color:var(--green);text-decoration:none}
a:hover{color:var(--green-dark)}
button{font-family:inherit;cursor:pointer}
img{max-width:100%;display:block}
::selection{background:#c9e9b3}

@keyframes vmarq{to{transform:translateX(-50%)}}
@keyframes vblink{50%{opacity:.3}}
@keyframes vslide{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}

/* ---------- Layout helpers ---------- */
.container{max-width:var(--maxw);margin:0 auto;padding:0 var(--pad)}
.section{padding:64px 0}
.section--tight{padding:44px 0 20px}
.section--panel{background:var(--panel);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.stack{display:flex;flex-direction:column}

.grid{display:grid;gap:20px}
.grid--3{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.grid--cards{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px}
.grid--hub{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px}
.split{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:34px;align-items:start}
.split--gap-sm{gap:14px}
.split--gap-md{gap:22px}

/* Skewed brand accent used behind heroes / panels */
.accent{position:absolute;transform:skewX(-13deg);pointer-events:none}
.accent--hero{top:-60px;bottom:-60px;left:60%;width:55%;background:var(--green);opacity:.05}
.accent--hero-l58{left:58%}
.accent--hero-l55{left:55%;width:60%}
.accent--hero-l62{left:62%;width:52%}
.accent--panel-dark{top:0;bottom:0;right:-40px;width:45%;background:var(--green);opacity:.16}
.accent--card-dark{top:0;bottom:0;right:-30px;width:55%;background:var(--green);opacity:.18}
.accent--card-dark-50{width:50%;opacity:.16}
.accent--danger{top:-60px;bottom:-60px;right:-40px;width:45%;background:var(--danger-dark);opacity:.5}
.accent--fit{top:0;bottom:0;right:-60px;width:52%;background:var(--ink);opacity:1;transform:skewX(-13deg)}
.accent--soft{opacity:.06}

.hairlines{position:absolute;inset:0;pointer-events:none;
  background:repeating-linear-gradient(90deg,transparent,transparent 92px,rgba(0,0,0,.018) 92px,rgba(0,0,0,.018) 93px)}

/* ---------- Typography ---------- */
.eyebrow{font:600 11px/1.2 var(--mono);letter-spacing:.16em;color:var(--muted-3);margin:0 0 14px}
.eyebrow--green{color:var(--green)}
.eyebrow--lime{color:var(--green-lime)}
.eyebrow--danger{color:var(--danger)}
.eyebrow--sm{font-size:10px;letter-spacing:.14em}
.eyebrow--xs{font-size:9.5px;letter-spacing:.14em;color:#a59f92}
.eyebrow--lead{font-size:12px}

.title-hero{
  font-family:var(--font-display);font-weight:700;letter-spacing:-.035em;color:var(--ink);
  line-height:1.0;margin:0 0 20px;
  font-size:clamp(var(--h-min,36px),var(--h-vw,5vw),var(--h-max,62px));
}
.title-hero--tight{line-height:.98}
.title-section{font:700 32px/1.1 var(--font-display);letter-spacing:-.02em;color:var(--ink);margin:0}
.title-section--lg{font-size:34px}
.title-md{font:700 21px/1.15 var(--font-display);letter-spacing:-.01em;color:var(--ink);margin:0}
.title-sm{font:700 19px var(--font-display);color:var(--ink);margin:0}

.lede{font:17px/1.55 var(--sans);color:var(--muted);margin:0}
.lede--sm{font-size:16.5px}
.body{font:15.5px/1.65 var(--sans);color:var(--muted);margin:0}
.body--sm{font:14px/1.6 var(--sans)}
/* Serif italic against the geometric sans is the contrast the design was already
   reaching for by asking for italic; two sans that are similar-but-different
   would read as a mistake rather than a choice. Tracking is reset because
   .title-hero's -.035em is tuned for Space Grotesk's geometry and crowds serif
   italic letterforms, whose diagonals need the room. */
.text-italic-green,
.text-italic-lime,
.positioning{font-family:var(--accent-italic);font-style:italic;letter-spacing:-.005em}
.text-italic-green{color:var(--green)}
.text-italic-lime{color:var(--green-lime)}
.positioning{font-size:18px;font-weight:500;line-height:1.5;color:var(--green);margin:0}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font:600 13.5px var(--sans);border:none;border-radius:var(--radius-pill);
  padding:15px 24px;white-space:nowrap;text-align:center;cursor:pointer;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease;
}
@media (prefers-reduced-motion:reduce){.btn{transition:none}}
.btn--primary{background:var(--green);color:#fff}
.btn--primary:hover{background:var(--green-dark);color:#fff}
.btn--dark{background:var(--ink);color:#fff}
.btn--light{background:#fff;color:var(--green)}
.btn--danger{background:var(--danger);color:#fff}
.btn--ghost{background:transparent;color:var(--ink);border:1px solid #cfc9bd}
.btn--sm{padding:11px 18px;font-size:12.5px}
.btn--xs{padding:8px 15px;font:700 12px var(--sans)}
.btn--block{width:100%}
.btn--lg{padding:17px 28px;font-size:14px;font-weight:700}

/* ---------- Emergency bar + header ---------- */
.site-header{position:sticky;top:0;z-index:50}
.emergency-bar{
  display:flex;justify-content:center;align-items:center;gap:16px;
  padding:10px 20px;background:var(--ink);color:var(--bg);flex-wrap:wrap;
}
.emergency-bar__text{font:600 13px var(--sans)}
.pulse-dot{width:9px;height:9px;border-radius:50%;background:var(--green-lime);
  box-shadow:0 0 8px var(--green-lime);animation:vblink 1.3s steps(1) infinite}
.pulse-dot--plain{box-shadow:none;background:#fff}
.pulse-dot--sm{width:8px;height:8px;box-shadow:none}
.pulse-dot--danger{background:var(--danger)}

.nav{background:rgba(240,237,230,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.nav__inner{max-width:var(--maxw);margin:0 auto;padding:14px var(--pad);
  display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{background:none;border:none;padding:0;display:inline-flex;align-items:center;gap:9px}
.brand__logo{height:46px;width:auto}
.brand__name{font:700 22px var(--font-display);letter-spacing:.03em;color:var(--ink);white-space:nowrap}
.brand__name b{color:var(--green);font-weight:700}

.nav-links{display:flex;align-items:center;gap:26px}
.nav-link{background:none;border:none;padding:0;font:500 13.5px var(--sans);color:var(--ink)}
.nav-link.is-active{color:var(--green)}
.nav-link__caret{font-size:9px;color:var(--muted-2);margin-left:5px}

/* desktop Solutions dropdown */
.dropdown{position:relative}
.dropdown__toggle{display:inline-flex;align-items:center}
.dropdown__menu{
  position:absolute;top:calc(100% + 14px);left:-20px;width:360px;
  background:#fff;border:1px solid var(--line);border-radius:14px;
  box-shadow:0 20px 44px rgba(0,0,0,.14);padding:10px;z-index:60;display:none;
}
.dropdown:hover .dropdown__menu{display:block}
/* The menu sits 14px below the toggle. Without something occupying that gap the
   pointer leaves .dropdown on the way down and the menu closes mid-travel, so
   the panel is unreachable. This bridges it without changing the visual offset. */
.dropdown__menu::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
.dropdown__label{margin:6px 12px 8px}
.menu-item{width:100%;text-align:left;background:none;border:none;
  padding:9px 12px;border-radius:9px;display:flex;gap:11px;align-items:baseline;color:inherit}
.menu-item:hover{background:var(--panel)}
.menu-item__num{font:600 11px var(--mono);color:var(--green);flex:none;width:22px}
.menu-item__name{font:600 13px var(--font-display);color:var(--ink);display:block}
.menu-item__tag{font:11.5px/1.4 var(--sans);color:var(--muted-2)}

/* burger + mobile drawer */
.burger{display:none;align-items:center;justify-content:center;width:44px;height:44px;
  border:1px solid #cfc9bd;background:#fff;border-radius:11px;padding:0;flex-direction:column;gap:4px}
.burger span{width:18px;height:2px;background:var(--ink);border-radius:2px}
.drawer{display:none;flex-direction:column;border-top:1px solid var(--line);
  background:var(--bg);padding:14px 20px 22px;animation:vslide .2s ease}
.drawer.is-open{display:flex}
.drawer__link{background:none;border:none;padding:16px 4px;font:600 18px var(--font-display);
  color:var(--ink);text-align:left;border-bottom:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between}
.drawer__cta{margin-top:18px;width:100%}
.drawer__sub{display:none;flex-direction:column;padding:6px 0 10px;border-bottom:1px solid var(--line)}
.drawer__sub.is-open{display:flex}
.drawer__sub .menu-item{padding:11px 6px}
.drawer__sub .menu-item__name{font:500 15px var(--font-display);color:#3a362f}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;border-bottom:1px solid var(--line)}
.hero--dark{background:var(--ink);color:var(--bg);border-bottom-color:var(--ink-strong)}
.hero--plain{border-bottom:1px solid var(--line)}
.hero__inner{position:relative;max-width:var(--maxw);margin:0 auto;padding:76px var(--pad) 60px}
.hero__inner--sm{padding:70px var(--pad) 50px}
.hero--dark .title-hero{color:#f5f2ec}
.hero--dark .lede{color:#a49d8e}
.hero__lede{margin-top:8px;max-width:640px}

/* ---------- Ticker ---------- */
.ticker{overflow:hidden;background:var(--ink);padding:13px 0;white-space:nowrap}
.ticker__track{display:flex;width:max-content;animation:vmarq 22s linear infinite;
  font:600 12px var(--mono);letter-spacing:.08em;color:#c9c3b6}
.ticker__item{padding:0 22px}
.ticker__sep{color:var(--green-lime)}

/* ---------- Icon badge + ghost number ---------- */
.icon-badge{width:50px;height:50px;border-radius:13px;background:var(--badge-bg);
  border:1px solid var(--badge-line);display:flex;align-items:center;justify-content:center;flex:none}
.icon-badge--lg{width:58px;height:58px;border-radius:16px}
.icon-badge--xl{width:60px;height:60px;border-radius:16px}
.num-ghost{font:700 26px var(--font-display);color:var(--num-ghost);letter-spacing:-.03em}
.num-ghost--lg{font-size:30px;color:#eee9df}
.num-ghost--xl{font-size:60px;color:#e6e1d5;line-height:.8;margin:0}

/* ---------- Home: who / stats ---------- */
.stat-col{border-top:2px solid var(--ink);padding-top:16px}
.stat-col__num{font:700 40px var(--font-display);letter-spacing:-.03em;color:var(--num-ghost)}
.stat-col__label{font:600 18px var(--font-display);color:var(--ink);margin:8px 0 0}
.stat-col__note{font:13.5px/1.5 var(--sans);color:var(--muted-2);margin:4px 0 0}

/* ---------- Section header w/ carousel controls ---------- */
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:24px}
.car-controls{display:flex;gap:9px;align-items:center;flex:none}
.car-btn{width:44px;height:44px;border-radius:50%;border:1px solid #cfc9bd;
  background:#fff;color:var(--ink);font-size:15px;display:flex;align-items:center;justify-content:center}
.car-btn--next{border-color:var(--green);background:var(--green);color:#fff}

/* ---------- Service cards ---------- */
.carousel{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;
  padding:4px var(--pad) 18px;max-width:var(--maxw);margin:0 auto;scrollbar-width:none}
.carousel::-webkit-scrollbar{display:none}

.service-card{scroll-snap-align:start;flex:none;width:278px;text-align:left;
  background:#fff;border:1px solid var(--line-2);border-radius:var(--radius);
  padding:22px;display:flex;flex-direction:column;gap:14px;min-height:220px;color:inherit}
.service-card__top{display:flex;justify-content:space-between;align-items:flex-start}
.service-card__name{font:700 16px var(--font-display);color:var(--ink)}
.service-card__tag{font:13px/1.55 var(--sans);color:var(--muted-2);flex:1}
.service-card__link{font:600 12px var(--mono);color:var(--green)}

.hub-card{text-align:left;background:#fff;border:1px solid var(--line-2);border-radius:15px;
  padding:24px;display:flex;gap:18px;align-items:flex-start;color:inherit}
.hub-card__body{flex:1}
.hub-card__name{font:700 18px var(--font-display);color:var(--ink);display:block;margin-bottom:5px}
.hub-card__tag{font:13.5px/1.55 var(--sans);color:var(--muted-2);display:block;margin-bottom:10px}
.hub-card__link{font:600 12px var(--mono);color:var(--green)}

/* ---------- Generic cards / callouts ---------- */
.card{background:#fff;border:1px solid var(--line-2);border-radius:14px;padding:26px}
.card--panel{background:var(--panel)}
.card--pad-sm{padding:22px}
.card--pad-lg{padding:30px}
.card__num{font:700 30px var(--font-display);color:var(--green);letter-spacing:-.03em}
.card__title{font:700 22px var(--font-display);color:var(--ink);margin:0 0 10px}

.panel-dark{background:var(--ink);border-radius:18px;padding:40px;color:var(--bg);
  position:relative;overflow:hidden}
.panel-dark__inner{position:relative}
.panel-dark__quote{font:500 22px/1.45 var(--font-display);color:var(--bg);margin:0;max-width:56ch}
.panel-dark__quote .muted{color:#a49d8e}

.pill-card{border:1px solid var(--line-2);border-radius:13px;padding:20px;background:var(--panel)}
.pill-card__title{font:600 16px var(--font-display);color:var(--ink);margin:0}
.pill-card__note{font:13px/1.5 var(--sans);color:var(--muted-2);margin:4px 0 0}

.rule-left{border-left:3px solid var(--green);padding:4px 0 4px 22px}
.rule-left__title{font:700 21px var(--font-display);color:var(--ink);margin:0 0 8px}
.rule-left--lede{padding:6px 0 6px 24px;max-width:760px}
.rule-left__statement{font:500 21px/1.5 var(--font-display);color:var(--ink);margin:0}

/* Feature list (home "why choose") */
.feature__label{font:600 12px var(--mono);color:var(--green);margin:0 0 9px}
.feature__text{font:14.5px/1.6 var(--sans);color:var(--muted);margin:0}

/* Routing / CTA banner */
.banner{position:relative;overflow:hidden;background:#fff;border:1px solid var(--line);
  border-radius:20px;box-shadow:0 2px 20px rgba(0,0,0,.04)}
.banner__inner{position:relative;display:flex;align-items:center;gap:26px;padding:30px 32px;flex-wrap:wrap}
.banner__body{flex:1;min-width:260px}
.banner__title{font:700 21px/1.15 var(--font-display);letter-spacing:-.01em;color:var(--ink);margin:0 0 6px}

/* ---------- Detail / emergency two-column ---------- */
.detail-grid{max-width:var(--maxw);margin:0 auto;padding:52px var(--pad);
  display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:48px}
.detail-head{display:flex;align-items:center;gap:16px}
.breadcrumb{display:flex;align-items:center;gap:8px;font:600 11px var(--mono);
  color:var(--muted-3);margin-bottom:28px}
.breadcrumb a{color:var(--green)}
.detail-title{font-family:var(--font-display);font-weight:700;letter-spacing:-.03em;color:var(--ink);
  line-height:1.02;margin:14px 0 18px;max-width:20ch;
  font-size:clamp(32px,4.4vw,52px)}
.detail-positioning{max-width:60ch}
.detail-lede{font-size:16.5px;line-height:1.7;color:#3a362f;margin-bottom:40px}

.side-sticky{position:sticky;top:96px;display:flex;flex-direction:column;gap:20px}
.side-card{border:1px solid var(--line-2);border-radius:var(--radius);padding:24px;background:var(--panel)}
.side-card--dark{background:var(--ink);color:var(--bg);padding:26px;position:relative;overflow:hidden}
.side-card--danger{border:2px solid var(--danger);background:#fff}
.side-card__label{font:600 10px var(--mono);letter-spacing:.14em;color:var(--green);margin:0 0 10px}
.side-card--dark .side-card__label{color:var(--green-lime);margin-bottom:14px}
.side-card__text{font:13.5px/1.65 var(--sans);color:var(--muted);margin:0 0 16px}

.means-list{display:flex;flex-direction:column;gap:12px}
.means-list__item{display:flex;gap:11px;align-items:baseline}
.means-list__mark{color:var(--green-lime);flex:none}
.means-list__text{font:14px/1.5 var(--sans);color:#d8d3c6}

.checklist{display:flex;flex-direction:column;gap:2px}
.checklist__item{display:flex;gap:12px;align-items:baseline;padding:10px 0;border-top:1px solid var(--line-3)}
.checklist__mark{color:var(--green);font:600 12px var(--mono);flex:none}
.checklist__text{font:14.5px/1.55 var(--sans);color:#3a362f}

.block{margin-bottom:34px}

/* ---------- Emergency banner ---------- */
.alert-bar{background:var(--danger);color:#fff;position:relative;overflow:hidden}
.alert-bar__inner{position:relative;max-width:var(--maxw);margin:0 auto;padding:44px var(--pad);
  display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.alert-bar__label{font:600 11px var(--mono);letter-spacing:.14em;color:#ffd9d3;margin:0 0 10px;
  display:flex;align-items:center;gap:9px}
.alert-bar__title{font:700 26px/1.1 var(--font-display);color:#fff;margin:0;max-width:22ch}

/* ---------- Contact form ---------- */
.contact-grid{max-width:var(--maxw);margin:0 auto;padding:44px var(--pad);
  display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:44px;align-items:start}
.form{background:#fff;border:1px solid var(--line-2);border-radius:18px;padding:32px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{display:flex;flex-direction:column;gap:6px}
.field--full{grid-column:1 / -1}
.field__label{font:600 11px var(--mono);letter-spacing:.1em;color:var(--muted-3)}
.input{font:14px var(--sans);padding:12px 14px;border:1px solid #ddd8cd;border-radius:10px;
  background:var(--panel);width:100%;color:var(--ink)}
.input:focus{outline:none;border-color:var(--green);background:#fff}
.input--area{min-height:88px;resize:vertical}

/* ---------- Fit block ---------- */
.fit{position:relative;overflow:hidden;background:var(--green)}
.fit__inner{position:relative;max-width:var(--maxw);margin:0 auto;padding:66px var(--pad);
  display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:32px;align-items:center}
.fit__title{font:700 clamp(28px,3.4vw,42px)/1.05 var(--font-display);letter-spacing:-.03em;
  color:#fff;margin:0 0 14px;max-width:16ch}
.fit__lede{font:15px/1.6 var(--sans);color:#e4f2da;margin:0;max-width:52ch}
.fit__eyebrow{color:#d8f0c8}
.fit__cta{display:flex;justify-content:flex-end}

/* ---------- Footer ---------- */
.footer{background:var(--ink-strong);color:#c9c3b6}
.footer__inner{max-width:var(--maxw);margin:0 auto;padding:52px var(--pad) 30px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px}
.footer-brand{display:inline-flex;align-items:center;gap:9px;margin-bottom:14px}
.footer-brand__name{font:700 15px var(--font-display);letter-spacing:.03em;color:var(--bg)}
.footer-brand__name b{color:var(--green-lime);font-weight:700}
.footer__tagline{font:13px/1.6 var(--sans);color:#8a8478;margin:0;max-width:34ch}
.footer__alert{margin-top:16px;background:none;border:none;padding:0;
  font:600 12px var(--mono);color:#ff8c82;display:flex;align-items:center;gap:8px}
.footer-head{font:600 10px var(--mono);letter-spacing:.14em;color:#5f5a4d;margin:0 0 14px}
.footer-links{display:flex;flex-direction:column;gap:9px}
.footer-link{text-align:left;background:none;border:none;padding:0;font:13px var(--sans);color:#c9c3b6}
.footer-link:hover{color:#fff}
.footer-link--accent{color:var(--green-lime);font-weight:600}
.footer-bottom{margin-top:40px;padding-top:20px;border-top:1px solid #2a271f;
  display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center}
.footer-bottom__motto{font:600 11px var(--mono);letter-spacing:.06em;color:var(--green-lime)}
.footer-bottom__legal{font:12px var(--sans);color:#5f5a4d}

/* ---------- Utilities ---------- */
.mt-8{margin-top:8px}.mt-10{margin-top:10px}.mt-14{margin-top:14px}.mt-16{margin-top:16px}
.mt-22{margin-top:22px}.mt-40{margin-top:40px}.mt-44{margin-top:44px}
.mb-0{margin-bottom:0}.mb-6{margin-bottom:6px}.mb-8{margin-bottom:8px}.mb-10{margin-bottom:10px}
.mb-12{margin-bottom:12px}.mb-14{margin-bottom:14px}.mb-16{margin-bottom:16px}.mb-18{margin-bottom:18px}
.mb-20{margin-bottom:20px}.mb-22{margin-bottom:22px}.mb-24{margin-bottom:24px}.mb-26{margin-bottom:26px}
.mb-28{margin-bottom:28px}.mb-34{margin-bottom:34px}.mb-38{margin-bottom:38px}.mb-40{margin-bottom:40px}
.mw-15{max-width:15ch}.mw-16{max-width:16ch}.mw-18{max-width:18ch}.mw-20{max-width:20ch}.mw-22{max-width:22ch}
.mw-600{max-width:600px}.mw-620{max-width:620px}.mw-640{max-width:640px}.mw-680{max-width:680px}
.row{display:flex;gap:13px;flex-wrap:wrap;align-items:center}
.flex-none{flex:none}

/* ---------- Responsive ---------- */
.desktop-only{display:flex}
.mobile-only{display:none}
@media (max-width:860px){
  .detail-grid,.contact-grid{grid-template-columns:minmax(0,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .side-sticky{position:static}
}
@media (max-width:820px){
  .desktop-only{display:none}
  .mobile-only{display:inline-flex}
  .burger{display:inline-flex}
  .fit__cta{justify-content:flex-start}
}
@media (max-width:560px){
  .footer-grid{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
}

/* ---------- Typography guard ----------
   Elementor's global kit styles headings as `.elementor-kit-N h1`, and that rule
   reaches the whole site because the kit class sits on <body> — including pages
   this theme renders in PHP, which have no Elementor wrapper to scope against.
   Repeating the class raises these to the same weight as a class-plus-element
   selector and wins on order, without `!important` and without depending on any
   ancestor, so the display face holds everywhere. */
.title-hero.title-hero,
.title-section.title-section,
.title-md.title-md,
.title-sm.title-sm,
.detail-title.detail-title,
.fit__title.fit__title,
.alert-bar__title.alert-bar__title,
.banner__title.banner__title,
.card__title.card__title,
.rule-left__title.rule-left__title,
.rule-left__statement.rule-left__statement,
.panel-dark__quote.panel-dark__quote,
.pill-card__title.pill-card__title,
.hub-card__name.hub-card__name,
.service-card__name.service-card__name,
.stat-col__num.stat-col__num,
.num-ghost.num-ghost,
.card__num.card__num{font-family:var(--font-display)}

/* Same trick, for the button labels. Elementor's kit stylesheet carries a global
   link colour as `.elementor-kit-N a`, which outranks a single-class `.btn--*`
   rule and repaints every button's text in the brand green — red button, green
   label. Doubling the class puts each variant's own colour back on top. */
.btn--primary.btn--primary,
.btn--primary.btn--primary:hover,
.btn--dark.btn--dark,
.btn--dark.btn--dark:hover,
.btn--danger.btn--danger,
.btn--danger.btn--danger:hover{color:#fff}
.btn--light.btn--light,
.btn--light.btn--light:hover{color:var(--green)}
.btn--ghost.btn--ghost,
.btn--ghost.btn--ghost:hover{color:var(--ink)}

/* With the label pinned, the hover has to come from the background. Every
   variant gets one: before this, only --primary did, and the others read as
   dead on hover once the label stopped shifting. */
.btn--primary.btn--primary:hover{background:var(--green-dark)}
.btn--dark.btn--dark:hover{background:var(--ink-strong)}
.btn--danger.btn--danger:hover{background:var(--danger-dark)}
.btn--light.btn--light:hover{background:var(--panel-2)}
.btn--ghost.btn--ghost:hover{background:var(--panel-2);border-color:var(--muted-2)}

/* The ghost button on a DARK surface.
   `.btn--ghost` is `color:var(--ink)`, and every dark surface in the theme is
   `background:var(--ink)` — the same #201d17. Label and background were the
   exact same colour, a 1:1 contrast ratio, so the button rendered as an empty
   outlined pill: the border is #cfc9bd and stayed perfectly visible, which is
   what made it read as "the button doesn't show" rather than as a colour bug.

   It could not happen before Elementor. In the PHP templates the only ghost
   button sits on front-page.php's LIGHT hero, and the one dark hero
   (page-why.php) carries no buttons at all. The hero widget exposes Style and
   the buttons as independent controls and defaults the secondary button to
   "Explore the portfolio", so choosing Style: Dark silently produced a pairing
   the hand-written markup never had. Reported on /why-velocity/.

   The doubled class matches the specificity trick above; the descendant adds
   the weight needed to win. The hover needs its own rule or it repaints the
   light `--panel-2` background under a now-light label and disappears again. */
.hero--dark .btn--ghost.btn--ghost,
.panel-dark .btn--ghost.btn--ghost,
.side-card--dark .btn--ghost.btn--ghost,
.footer .btn--ghost.btn--ghost{color:#f5f2ec;border-color:rgba(240,237,230,.38)}
.hero--dark .btn--ghost.btn--ghost:hover,
.panel-dark .btn--ghost.btn--ghost:hover,
.side-card--dark .btn--ghost.btn--ghost:hover,
.footer .btn--ghost.btn--ghost:hover{color:#f5f2ec;background:rgba(240,237,230,.10);border-color:rgba(240,237,230,.62)}

.btn:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.btn--dark:focus-visible,
.btn--danger:focus-visible{outline-color:#fff}
/* On a dark surface the default outline is #201d17 against #201d17 — the same
   invisibility as the label above, but for keyboard users. */
.hero--dark .btn:focus-visible,
.panel-dark .btn:focus-visible,
.side-card--dark .btn:focus-visible,
.footer .btn:focus-visible{outline-color:#f5f2ec}

/* ---------- Elementor Form, in the theme's form design ----------
   Add the CSS class `velocity-form` to an Elementor Form widget (Advanced →
   CSS Classes) and its fields take on the design of the contact form: the mono
   uppercase labels, the beige inputs, the green pill submit. Fields can then be
   added, removed and reordered in Elementor with no styling work.
   Scoped to that opt-in class so no other Elementor form is affected. */
.velocity-form .elementor-form{background:#fff;border:1px solid var(--line-2);border-radius:18px;padding:32px}

.velocity-form .elementor-field-label{
  font:600 11px var(--mono);letter-spacing:.1em;text-transform:uppercase;
  color:var(--muted-3);margin-bottom:6px;
}

.velocity-form .elementor-field-textual,
.velocity-form select.elementor-field-textual{
  font:14px var(--sans);padding:12px 14px;border:1px solid #ddd8cd;border-radius:10px;
  background:var(--panel);width:100%;color:var(--ink);line-height:1.4;height:auto;
}
.velocity-form .elementor-field-textual:focus{outline:none;border-color:var(--green);background:#fff}
.velocity-form textarea.elementor-field-textual{min-height:88px;resize:vertical}
.velocity-form .elementor-field-textual::placeholder{color:var(--muted-2)}

.velocity-form .elementor-button[type="submit"]{
  display:inline-flex;align-items:center;justify-content:center;width:100%;
  font:700 14px var(--sans);border:none;border-radius:var(--radius-pill);
  padding:17px 28px;background:var(--green);color:#fff;
}
.velocity-form .elementor-button[type="submit"]:hover{background:var(--green-dark);color:#fff}

.velocity-form .elementor-message{font:14px/1.6 var(--sans);color:var(--muted)}
.velocity-form .elementor-message.elementor-message-danger{color:var(--danger)}
