/*
 * Shared site chrome: header, footer and the opportunity-form modal used on
 * every public page (design taken from the homepage).
 *
 * Page stylesheets contain global element rules (a, h3, footer, nav ...), so
 * every class here is namespaced (ve-site-*) and sets its visual properties
 * explicitly instead of relying on page variables.
 */
.ve-site-header, .ve-site-footer, .ve-modal {
  --ves-paper: #f8f6f0;
  --ves-ink: #27362e;
  --ves-green: #285646;
  --ves-dark: #102e29;
  --ves-gold: #c2a365;
  --ves-line: #d8d9d0;
  --ves-muted: #59645f;
  --ves-mono: 'IBM Plex Mono', monospace;
  --ves-sans: 'IBM Plex Sans', sans-serif;
  box-sizing: border-box;
}
.ve-site-header *, .ve-site-footer *, .ve-modal * { box-sizing: border-box; }
.ve-site-header a, .ve-site-footer a { text-decoration: none; color: inherit; }
.ve-site-header img, .ve-site-footer img { display: block; max-width: 100%; }
.ve-site-header a:focus-visible, .ve-site-header button:focus-visible,
.ve-site-footer a:focus-visible, .ve-modal button:focus-visible { outline: 3px solid var(--ves-gold); outline-offset: 3px; }

.ve-site-wrap { width: min(1420px, calc(100% - 88px)); margin: 0 auto; }

/* --- Header ---------------------------------------------------------------- */
.ve-site-header {
  position: sticky; top: 0; z-index: 900;
  background: #f8f6f0f5; border-bottom: 1px solid #aeb5ae; backdrop-filter: blur(12px);
  color: var(--ves-ink); font: 400 15px/1.4 var(--ves-sans); letter-spacing: normal; text-transform: none;
}
.ve-site-row { position: relative; min-height: 76px; display: flex; align-items: center; gap: 28px; }
.ve-site-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.ve-site-brand img { height: 55px; width: auto; max-width: 245px; object-fit: contain; }
.ve-site-nav {
  margin: auto; display: flex; align-items: center; gap: 24px;
  font: 600 10px/1.4 var(--ves-mono); text-transform: uppercase; letter-spacing: normal;
}
.ve-site-nav a { color: var(--ves-ink); padding: 0; border: 0; background: none; white-space: nowrap; }
.ve-site-nav a:hover, .ve-site-nav a[aria-current="page"] { color: #a17c33; }
.ve-site-actions { display: flex; gap: 9px; align-items: center; }
.ve-site-btn {
  display: inline-flex; gap: 16px; align-items: center; justify-content: center;
  min-height: 35px; padding: 8px 13px; border: 1px solid var(--ves-ink); background: transparent;
  color: var(--ves-ink); font: 600 10px/1.2 var(--ves-mono); text-transform: uppercase; letter-spacing: normal;
  cursor: pointer; transition: .2s; white-space: nowrap;
}
.ve-site-btn:hover { transform: translateY(-2px); box-shadow: 3px 3px 0 var(--ves-gold); }
.ve-site-btn.is-primary { background: var(--ves-dark); color: #fff; }
.ve-site-header .ve-site-btn.is-primary, .ve-site-header .ve-site-btn.is-primary:hover { color: #fff; }
.ve-site-menu {
  display: none; margin-left: auto; border: 1px solid var(--ves-line); background: transparent;
  color: var(--ves-ink); padding: 9px 13px; font: 400 15px/1 var(--ves-sans); cursor: pointer;
}

/* --- Footer ---------------------------------------------------------------- */
.ve-site-footer {
  background: #101c19; color: #e5eee7; padding: 0; margin: 0;
  font: 400 12px/1.9 var(--ves-sans); letter-spacing: normal; text-transform: none; text-align: left;
}
.ve-site-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 45px; padding-top: 56px; }
.ve-site-footer-brand img { height: 74px; width: auto; max-width: 270px; object-fit: contain; }
/* The bundled logo is dark; render it light on the dark footer. */
.ve-site-footer-brand img.is-dark-logo { filter: invert(1); }
.ve-site-footer p, .ve-site-footer a { font: 400 12px/1.9 var(--ves-sans); color: #c0cfc5; margin: 0; }
.ve-site-footer p { max-width: 280px; }
.ve-site-footer-brand p { margin-top: 14px; }
.ve-site-footer-title {
  font: 600 12px/1.4 var(--ves-mono); margin: 0 0 18px; padding: 0; color: #fff;
  letter-spacing: normal; text-transform: uppercase; border: 0;
}
.ve-site-footer-links a { display: block; margin: 8px 0; }
.ve-site-footer a:hover { color: var(--ves-gold); }
.ve-site-footer-bottom {
  border-top: 1px solid #345048; margin-top: 54px; padding: 22px 0;
  display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: #b6c6bb;
}

/* --- Footer strip: CTA, live visitor counts, contact/social icons ---------- */
.ve-site-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px;
  padding: 22px 0; border-bottom: 1px solid #345048;
}
.ve-strip-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ve-strip-prompt { font: 600 11px/1.4 var(--ves-mono); text-transform: uppercase; letter-spacing: .06em; color: #b6c6bb; }
.ve-site-btn.is-gold { background: var(--ves-gold); border-color: var(--ves-gold); color: #142c25; min-height: 43px; padding: 10px 18px; font-size: 11px; gap: 10px; }
.ve-site-footer .ve-site-btn.is-gold, .ve-site-footer .ve-site-btn.is-gold:hover { color: #142c25; }
.ve-site-footer .ve-site-btn { font: 600 11px/1.2 var(--ves-mono); text-transform: uppercase; margin: 0; }
.ve-site-btn.is-gold:hover { box-shadow: 3px 3px 0 #f8f6f0; }
.ve-strip-stats { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; }
.ve-strip-stats > div {
  display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 7px;
  padding: 2px 18px; border-left: 1px solid #345048;
}
.ve-strip-stats > div:first-child { border-left: 0; padding-left: 0; }
.ve-strip-stats dt { font: 600 10px/1.4 var(--ves-mono); text-transform: uppercase; letter-spacing: .06em; color: #8fa598; }
.ve-strip-stats dd { margin: 0; display: flex; align-items: center; gap: 8px; font: 600 10px/1.4 var(--ves-mono); text-transform: uppercase; letter-spacing: .06em; color: #b6c6bb; }
.ve-strip-stats b { font: 600 15px/1.2 var(--ves-mono); color: #fff; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.ve-strip-stats svg { color: var(--ves-gold); }
.ve-strip-live dd { color: #e5eee7; }
.ve-strip-live i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: ve-strip-pulse 2s infinite; }
@keyframes ve-strip-pulse { 70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.ve-strip-icons { display: flex; gap: 8px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.ve-strip-icons li { margin: 0; padding: 0; }
.ve-site-footer .ve-strip-icons a {
  display: grid; place-items: center; width: 40px; height: 40px; margin: 0;
  border: 1px solid #345048; color: #e5eee7; transition: .2s;
}
.ve-site-footer .ve-strip-icons a:hover { border-color: var(--ves-gold); color: var(--ves-gold); transform: translateY(-2px); }
.ve-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1100px) { .ve-strip-icons { margin-left: 0; } }
@media (max-width: 760px) {
  .ve-site-footer-grid { padding-top: 40px; }
  .ve-strip-stats { row-gap: 10px; }
  .ve-strip-stats > div { padding: 2px 12px; }
}
@media (prefers-reduced-motion: reduce) { .ve-strip-live i { animation: none; } .ve-site-footer .ve-strip-icons a { transition: none; } }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 1220px) { .ve-site-nav { gap: 12px; font-size: 9px; } }
@media (max-width: 1150px) {
  .ve-site-wrap { width: min(100% - 48px, 1420px); }
  .ve-site-row { gap: 12px; }
  .ve-site-brand img { height: 45px; }
}
@media (max-width: 1000px) {
  .ve-site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0;
    background: var(--ves-paper); border-bottom: 1px solid var(--ves-line);
    padding: 22px; flex-direction: column; align-items: flex-start; gap: 20px; font-size: 12px;
  }
  .ve-site-nav.open { display: flex; }
  .ve-site-menu { display: block; }
  .ve-site-actions { margin-left: auto; }
  .ve-site-actions + .ve-site-menu { margin-left: 0; }
}
@media (max-width: 760px) {
  .ve-site-wrap { width: calc(100% - 32px); }
  .ve-site-row { min-height: 65px; }
  .ve-site-brand img { height: 43px; }
  .ve-site-actions { display: none; }
  .ve-site-actions + .ve-site-menu { margin-left: auto; }
  .ve-site-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .ve-site-footer-bottom { flex-direction: column; }
}
@media (max-width: 420px) { .ve-site-footer-grid { grid-template-columns: 1fr; } }

/* --- Opportunity form modal (List your business / Find work / Partner) ------ */
.ve-modal[hidden] { display: none !important; }
.ve-modal { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 22px; color: var(--ves-ink); font: 400 15px/1.5 var(--ves-sans); }
.ve-modal-backdrop { position: absolute; inset: 0; background: rgba(11, 27, 23, .72); backdrop-filter: blur(4px); }
.ve-dialog {
  position: relative; width: min(100%, 650px); max-height: min(90vh, 900px); overflow: auto;
  background: var(--ves-paper); border: 1px solid var(--ves-gold); padding: clamp(24px, 4vw, 42px);
  box-shadow: 16px 16px 0 rgba(0, 0, 0, .18);
}
.ve-dialog-eyebrow {
  display: flex; align-items: center; gap: 13px; font: 600 10px/1.4 var(--ves-mono);
  letter-spacing: .1em; text-transform: uppercase; color: #5a655e;
}
.ve-dialog-eyebrow:before { content: ''; height: 23px; width: 2px; background: var(--ves-gold); }
.ve-dialog-eyebrow:after { content: ''; width: 85px; height: 1px; background: #aab2aa; }
.ve-dialog .ve-close ~ .ve-dialog-eyebrow { padding-right: 52px; }
.ve-dialog h2 {
  font: 700 clamp(25px, 3vw, 38px)/1.15 var(--ves-mono); text-transform: uppercase;
  letter-spacing: normal; margin: 16px 42px 10px 0; color: var(--ves-ink);
}
.ve-modal-subtitle { color: var(--ves-muted); margin: 0 0 25px; line-height: 1.6; font-size: 15px; }
.ve-close {
  position: absolute; right: 18px; top: 15px; border: 1px solid var(--ves-line); background: transparent;
  color: var(--ves-ink); font: 400 28px/1 var(--ves-sans); width: 43px; height: 43px; padding: 0; cursor: pointer;
}
.ve-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.ve-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ve-field.wide { grid-column: 1 / -1; }
.ve-field label { font: 600 11px/1.4 var(--ves-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ves-ink); }
.ve-field input, .ve-field select, .ve-field textarea {
  width: 100%; border: 1px solid #c6cbc5; border-radius: 0; background: #fff; padding: 12px 13px;
  color: var(--ves-ink); font: 400 14px var(--ves-sans); outline-offset: 2px; margin: 0;
}
.ve-field textarea { min-height: 95px; resize: vertical; }
.ve-form-foot { margin-top: 22px; display: flex; flex-direction: column; gap: 13px; }
.ve-form-foot .ve-site-btn { align-self: flex-start; border: 0; min-height: 43px; padding: 11px 20px; font-size: 11px; }
.ve-form-foot small { color: var(--ves-muted); line-height: 1.5; font-size: 12px; }
.ve-feedback { padding: 12px 14px; border-left: 3px solid var(--ves-gold); background: #eeeae0; font-size: 13px; line-height: 1.6; }
.ve-feedback[hidden] { display: none; }
body.ve-lock { overflow: hidden; }
@media (max-width: 580px) {
  .ve-form-grid { grid-template-columns: 1fr; }
  .ve-dialog { padding: 25px 20px; }
  .ve-modal { padding: 12px; }
  .ve-field.wide { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .ve-site-btn { transition: none; } .ve-site-btn:hover { transform: none; } }

/* --- Visitor phone verification (Firebase OTP) ------------------------------ */
.ve-gate { z-index: 10000; }
.ve-gate .ve-modal-backdrop { background: rgba(11, 27, 23, .82); backdrop-filter: blur(6px); }
.ve-gate-dialog { width: min(100%, 520px); }
.ve-gate-phone-row { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 8px; }
.ve-gate .ve-field input.ve-gate-cc { text-align: center; font: 600 15px var(--ves-mono); background: #f4f2ec; }
.ve-gate .ve-field input#ve-gate-phone { font: 500 17px var(--ves-mono); letter-spacing: .04em; }
.ve-gate .ve-field input.ve-gate-code { font: 600 26px/1 var(--ves-mono); letter-spacing: .5em; text-align: center; padding: 14px 13px; }
.ve-gate .ve-field label span { color: var(--ves-green); }
.ve-gate-links { display: flex; gap: 18px; flex-wrap: wrap; }
.ve-gate-link {
  border: 0; background: none; padding: 0; cursor: pointer; color: var(--ves-green);
  font: 600 11px/1.4 var(--ves-mono); text-transform: uppercase; letter-spacing: .04em;
  text-decoration: underline; text-underline-offset: 4px;
}
.ve-gate-link:disabled { color: #8b958f; cursor: default; text-decoration: none; }
.ve-gate-skip { margin-top: 18px; color: var(--ves-muted); }
.ve-gate .ve-feedback { margin: 16px 0 0; border-left-color: #b4483c; background: #f6e9e5; color: #6f2a22; }

/* Gate: after verification — choose what to do, then pick a category */
.ve-gate-verified { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 6px 10px; border: 1px solid #b9d3c3; background: #e9f2ec; color: var(--ves-green); font: 600 11px/1.2 var(--ves-mono); text-transform: uppercase; letter-spacing: .05em; }
.ve-gate-question { font: 700 15px/1.3 var(--ves-mono); text-transform: uppercase; letter-spacing: normal; color: var(--ves-ink); margin: 18px 0 14px; }
.ve-gate-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ve-gate-choice {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left;
  padding: 18px 16px 22px; border: 1px solid #c9cdc5; background: #fcfbf8; color: var(--ves-ink); cursor: pointer;
  font: 400 12px/1.6 var(--ves-sans); transition: .2s;
}
.ve-gate-choice:hover, .ve-gate-choice:focus-visible { border-color: var(--ves-green); transform: translateY(-2px); box-shadow: 4px 4px 0 #d9d4c6; outline: none; }
.ve-gate-choice strong { font: 700 14px/1.3 var(--ves-mono); text-transform: uppercase; }
.ve-gate-choice span { color: var(--ves-muted); }
.ve-gate-choice .ve-gate-choice-index { font: 600 10px var(--ves-mono); letter-spacing: .08em; text-transform: uppercase; color: #ad8537; }
.ve-gate-choice-arrow { position: absolute; top: 14px; right: 14px; color: var(--ves-green) !important; font-size: 14px; }
.ve-gate-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-bottom: 14px; }
.ve-gate-search input { width: 100%; border: 1px solid #c6cbc5; border-radius: 0; background: #fff; padding: 12px 13px; color: var(--ves-ink); font: 400 14px var(--ves-sans); margin: 0; }
.ve-gate-search .ve-site-btn { min-height: 45px; }
.ve-gate-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; max-height: min(38vh, 300px); overflow-y: auto; padding: 2px 4px 2px 0; margin-bottom: 14px; }
.ve-gate-category {
  display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; text-align: left;
  border: 1px solid #d8d9d0; background: #fcfbf8; color: var(--ves-ink); cursor: pointer;
  font: 600 11px/1.3 var(--ves-mono); text-transform: uppercase; transition: border-color .15s, background .15s;
}
.ve-gate-category span { flex: none; width: 22px; text-align: center; font-size: 15px; }
.ve-gate-category:hover, .ve-gate-category:focus-visible { border-color: var(--ves-gold); background: #fbf6ea; outline: none; }
.ve-gate-category[hidden] { display: none; }
.ve-gate-empty { font-size: 13px; color: var(--ves-muted); margin: 0 0 14px; }
.ve-gate .ve-gate-links a.ve-gate-link { color: var(--ves-green); }
@media (max-width: 580px) {
  .ve-gate-choices, .ve-gate-categories { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .ve-gate-choice { transition: none; } .ve-gate-choice:hover { transform: none; } }

/* Searchable category dropdown (List your business form) */
.ve-combo { position: relative; }
.ve-combo input { padding-right: 36px !important; }
.ve-combo-caret { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--ves-muted); font-size: 12px; }
.ve-combo-list {
  position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px 0;
  list-style: none; max-height: 240px; overflow-y: auto; background: #fff; border: 1px solid var(--ves-green);
  box-shadow: 6px 6px 0 rgba(16, 46, 41, .12);
}
.ve-combo-list[hidden] { display: none; }
.ve-combo-list li {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; cursor: pointer; color: var(--ves-ink);
  font: 600 11px/1.3 var(--ves-mono); text-transform: uppercase;
}
.ve-combo-list li span { flex: none; width: 20px; text-align: center; font-size: 14px; }
.ve-combo-list li small { font: 400 11px var(--ves-sans); text-transform: none; color: var(--ves-muted); }
.ve-combo-list li:hover, .ve-combo-list li.is-active { background: #fbf6ea; color: #102e29; }
.ve-combo-list li.is-active { box-shadow: inset 3px 0 0 var(--ves-gold); }

/* --- Visitor onboarding (welcome dialogue) ---------------------------------- */
.ve-onboard { z-index: 10000; }
.ve-onboard-dialog { width: min(100%, 960px); }
.ve-ob-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ve-ob-skip {
  border: 1px solid var(--ves-line); background: transparent; color: var(--ves-ink); cursor: pointer;
  padding: 7px 12px; font: 600 11px/1 var(--ves-mono); text-transform: uppercase; letter-spacing: .05em;
}
.ve-ob-skip:hover { border-color: var(--ves-ink); }
.ve-ob-progress { height: 3px; background: #e4e1d6; margin: 18px 0 8px; }
.ve-ob-progress span { display: block; height: 100%; width: 33%; background: var(--ves-gold); transition: width .3s ease; }
.ve-ob-stepcount { margin: 0; font: 600 10px var(--ves-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ves-muted); }
.ve-onboard .ve-dialog h2 { margin-top: 10px; }
.ve-ob-options { display: grid; gap: 8px; margin-bottom: 16px; }
.ve-ob-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; padding: 14px 16px;
  border: 1px solid #c9cdc5; background: #fcfbf8; color: var(--ves-ink); cursor: pointer; font: 600 13px/1.3 var(--ves-sans);
}
.ve-ob-option span { color: var(--ves-green); }
.ve-ob-option:hover, .ve-ob-option:focus-visible { border-color: var(--ves-gold); background: #fbf6ea; outline: none; }
.ve-ob-verify { border: 1px solid var(--ves-line); background: #fcfbf8; padding: 16px; margin-bottom: 4px; }
.ve-ob-verify-title { margin: 0 0 10px; font-size: 14px; }
.ve-ob-verify-title span { color: var(--ves-muted); font-size: 12px; }
.ve-ob-phone .ve-gate-phone-row { grid-template-columns: 70px minmax(0, 1fr) auto; }
.ve-ob-phone .ve-gate-phone-row.ve-ob-code-row { grid-template-columns: minmax(0, 1fr) auto; }
.ve-ob-phone input { width: 100%; border: 1px solid #c6cbc5; border-radius: 0; background: #fff; padding: 11px 12px; color: var(--ves-ink); font: 500 15px var(--ves-mono); margin: 0; }
.ve-ob-phone input.ve-gate-code { font-size: 20px; letter-spacing: .4em; text-align: center; }
.ve-ob-phone .ve-site-btn { min-height: 44px; }
.ve-ob-small { display: block; margin-bottom: 8px; font: 600 11px/1.4 var(--ves-mono); text-transform: uppercase; color: var(--ves-ink); }
.ve-ob-verified { margin: 0; color: var(--ves-green); font: 600 12px var(--ves-mono); text-transform: uppercase; }
.ve-onboard .ve-feedback { margin: 10px 0 0; border-left-color: #b4483c; background: #f6e9e5; color: #6f2a22; }
@media (max-width: 640px) {
  .ve-ob-phone .ve-gate-phone-row { grid-template-columns: 64px minmax(0, 1fr); }
  .ve-ob-phone .ve-gate-phone-row .ve-site-btn { grid-column: 1 / -1; }
}

/* --- Contextual prompt card (non-blocking) ---------------------------------- */
.ve-nudge {
  position: fixed; right: 20px; bottom: 20px; z-index: 950; width: min(360px, calc(100vw - 32px));
  max-height: calc(100vh - 40px); overflow: auto; background: var(--ves-paper, #f8f6f0); color: #27362e;
  border: 1px solid #c2a365; box-shadow: 10px 10px 0 rgba(0, 0, 0, .14); padding: 18px 18px 20px;
  font: 400 13px/1.5 'IBM Plex Sans', sans-serif; transform: translateY(16px); opacity: 0; transition: transform .25s ease, opacity .25s ease;
  --ves-mono: 'IBM Plex Mono', monospace; --ves-gold: #c2a365; --ves-ink: #27362e; --ves-line: #d8d9d0; --ves-dark: #102e29; --ves-green: #285646; --ves-muted: #59645f;
}
.ve-nudge.is-in { transform: none; opacity: 1; }
.ve-nudge h3 { margin: 10px 30px 6px 0; font: 700 15px/1.3 var(--ves-mono); text-transform: uppercase; color: #27362e; letter-spacing: normal; }
.ve-nudge p { margin: 0 0 12px; color: var(--ves-muted); }
.ve-nudge-close { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 1px solid var(--ves-line); background: transparent; cursor: pointer; font: 400 18px/1 sans-serif; color: #27362e; }
.ve-nudge form { display: grid; gap: 12px; }
.ve-nudge-field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.ve-nudge-field > span, .ve-nudge-field legend { font: 600 10px var(--ves-mono); text-transform: uppercase; letter-spacing: .05em; padding: 0; margin-bottom: 6px; }
.ve-nudge-field input, .ve-nudge-field select { width: 100%; border: 1px solid #c6cbc5; border-radius: 0; background: #fff; padding: 9px 10px; font: 400 13px 'IBM Plex Sans', sans-serif; color: #27362e; }
.ve-nudge-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ve-chip { position: relative; cursor: pointer; }
.ve-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ve-chip span { display: inline-block; padding: 6px 10px; border: 1px solid #c9cdc5; background: #fff; font: 600 11px/1.2 var(--ves-mono); text-transform: uppercase; }
.ve-chip input:checked + span { background: var(--ves-dark); border-color: var(--ves-dark); color: #fff; }
.ve-chip input:focus-visible + span { outline: 2px solid var(--ves-gold); outline-offset: 2px; }
.ve-nudge .ve-site-btn { justify-self: start; min-height: 40px; }
@media (max-width: 480px) { .ve-nudge { right: 16px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { .ve-nudge, .ve-ob-progress span { transition: none; } }

/* Marketing opt-in & footer link */
.ve-optin { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--ves-ink); cursor: pointer; }
.ve-optin input { margin-top: 3px; accent-color: var(--ves-green); }
.ve-site-footer a.ve-site-footer-inline { display: inline; font-size: 11px; color: #e5eee7; text-decoration: underline; text-underline-offset: 3px; }

/* --- Cookie consent ---------------------------------------------------------- */
.ve-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 960; background: #102e29; color: #e5eee7;
  border-top: 3px solid #c2a365; box-shadow: 0 -10px 30px rgba(0, 0, 0, .18);
  font: 400 13px/1.6 'IBM Plex Sans', sans-serif;
  --ves-mono: 'IBM Plex Mono', monospace; --ves-gold: #c2a365; --ves-ink: #27362e; --ves-dark: #102e29;
}
.ve-consent[hidden] { display: none; }
.ve-consent-inner { width: min(1420px, calc(100% - 48px)); margin: 0 auto; padding: 16px 0; display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; }
.ve-consent-text { flex: 1 1 420px; color: #c0cfc5; }
.ve-consent-text strong { color: #fff; font: 600 12px var(--ves-mono); text-transform: uppercase; letter-spacing: .05em; margin-right: 6px; }
.ve-consent-text a { color: #e5eee7; text-decoration: underline; text-underline-offset: 3px; }
.ve-consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ve-consent .ve-site-btn { border-color: #6f8a80; color: #fff; min-height: 40px; font: 600 11px/1.2 var(--ves-mono); }
.ve-consent .ve-site-btn.is-gold { background: var(--ves-gold); border-color: var(--ves-gold); color: #142c25; }
.ve-consent-modal { z-index: 10001; }
.ve-consent-modal .ve-dialog { width: min(100%, 620px); }
.ve-consent-form { display: grid; gap: 10px; }
.ve-consent-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 14px 16px;
  border: 1px solid #d8d9d0; background: #fcfbf8; cursor: pointer;
}
.ve-consent-row strong { display: block; font: 600 12px/1.3 var(--ves-mono); text-transform: uppercase; color: var(--ves-ink); }
.ve-consent-row small { display: block; margin-top: 4px; color: var(--ves-muted); font-size: 12px; line-height: 1.5; }
.ve-consent-row input { position: absolute; opacity: 0; pointer-events: none; }
.ve-consent-row i { position: relative; width: 42px; height: 24px; border-radius: 12px; background: #c9cdc5; transition: background .2s; }
.ve-consent-row i:after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.ve-consent-row input:checked + i { background: var(--ves-green); }
.ve-consent-row input:checked + i:after { transform: translateX(18px); }
.ve-consent-row input:focus-visible + i { outline: 3px solid var(--ves-gold); outline-offset: 2px; }
.ve-consent-row.is-locked { cursor: default; opacity: .8; }
.ve-consent-row.is-locked input:checked + i { background: #7f9a8f; }
.ve-consent-modal .ve-form-foot small a { color: var(--ves-green); }
@media (max-width: 700px) { .ve-consent-inner { width: calc(100% - 32px); } .ve-consent-actions { width: 100%; } .ve-consent-actions .ve-site-btn { flex: 1 1 auto; } }
@media (prefers-reduced-motion: reduce) { .ve-consent-row i, .ve-consent-row i:after { transition: none; } }
.ve-site-footer-legal { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: baseline; }
.ve-site-footer .ve-form-foot small a, .ve-modal .ve-form-foot small a { color: var(--ves-green); text-decoration: underline; text-underline-offset: 3px; }

/* --- Save progress bar (inside forms) ---------------------------------------- */
.ve-draft-bar {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 14px;
  padding: 10px 12px; border: 1px dashed #c2a365; background: #fbf6ea; color: #3b3523;
  font: 400 13px/1.5 'IBM Plex Sans', sans-serif;
}
.ve-draft-bar[hidden] { display: none; }
.ve-draft-bar span { flex: 1 1 220px; }
.ve-draft-bar button {
  border: 1px solid #102e29; background: transparent; color: #102e29; cursor: pointer; padding: 6px 10px;
  font: 600 10px/1.2 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .04em;
}
.ve-draft-bar button:first-of-type { background: #102e29; color: #fff; }
.ve-ob-required { margin: 0; padding: 10px 12px; border-left: 3px solid var(--ves-gold); background: #fbf6ea; font-size: 13px; color: #3b3523; }
.ve-onboard [data-ob-start]:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* --- Welcome dialogue: requirement + business picker -------------------------- */
.ve-ob-req .ve-form-grid { margin-bottom: 4px; }
.ve-ob-biz-list { display: grid; gap: 8px; max-height: min(44vh, 380px); overflow-y: auto; padding: 2px 4px 2px 0; margin-bottom: 12px; }
.ve-ob-biz {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) 28px; gap: 12px; align-items: center;
  padding: 10px 12px; border: 1px solid #c9cdc5; background: #fcfbf8; cursor: pointer; transition: border-color .15s, background .15s;
}
.ve-ob-biz input { position: absolute; opacity: 0; pointer-events: none; }
.ve-ob-biz-img { width: 64px; height: 52px; display: grid; place-items: center; background: #fff; border: 1px solid #e4e1d6; overflow: hidden; }
.ve-ob-biz-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ve-ob-biz-body { display: grid; gap: 2px; min-width: 0; }
.ve-ob-biz-body strong { font: 700 13px/1.3 var(--ves-mono); text-transform: uppercase; color: var(--ves-ink); }
.ve-ob-biz-meta { font: 600 10px/1.4 var(--ves-mono); text-transform: uppercase; color: var(--ves-muted); }
.ve-ob-biz-meta em { font-style: normal; color: var(--ves-green); }
.ve-ob-biz-summary { font-size: 12px; color: var(--ves-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ve-ob-biz-check { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #c9cdc5; background: #fff; color: transparent; font: 700 13px/1 var(--ves-mono); }
.ve-ob-biz:hover { border-color: var(--ves-gold); }
.ve-ob-biz:has(input:checked) { border-color: var(--ves-green); background: #f0f5ef; }
.ve-ob-biz input:checked ~ .ve-ob-biz-check { background: var(--ves-green); border-color: var(--ves-green); color: #fff; }
.ve-ob-biz input:focus-visible ~ .ve-ob-biz-check { outline: 3px solid var(--ves-gold); outline-offset: 2px; }
.ve-ob-biz:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.ve-ob-biz-empty { padding: 12px 14px; border: 1px dashed var(--ves-gold); background: #fbf6ea; font-size: 13px; margin: 0 0 12px; }
.ve-ob-biz-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.ve-ob-biz-count { font: 600 11px var(--ves-mono); text-transform: uppercase; color: var(--ves-muted); }
.ve-onboard [data-ob-send-enquiry]:disabled { opacity: .45; cursor: not-allowed; }
.ve-ob-refs { font: 600 12px var(--ves-mono); color: var(--ves-green); margin: 0 0 16px; }
@media (max-width: 480px) { .ve-ob-biz { grid-template-columns: 48px minmax(0, 1fr) 24px; } .ve-ob-biz-img { width: 48px; height: 42px; } }

/* Business count per category (welcome dialogue step 2) */
.ve-gate-category .ve-gate-category-name { flex: 1 1 auto; min-width: 0; width: auto; text-align: left; font-size: inherit; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ve-gate-category .ve-ob-count {
  flex: none; display: inline-grid; place-items: center; width: auto; min-width: 26px; height: 26px; padding: 0 6px; text-align: center;
  border-radius: 13px; background: var(--ves-dark); color: #fff; font: 600 11px/1 var(--ves-mono); letter-spacing: 0;
}
.ve-gate-category .ve-ob-count.is-zero { background: #e4e1d6; color: var(--ves-muted); }
.ve-gate-category:hover .ve-ob-count:not(.is-zero), .ve-gate-category:focus-visible .ve-ob-count:not(.is-zero) { background: var(--ves-gold); color: #142c25; }

/* --- Welcome dialogue, step 1 (illustrated intent cards) ----------------------- */
.ve-onboard .ve-dialog h2.ve-ob-welcome { font: 800 clamp(28px, 3.8vw, 46px)/1.02 var(--ves-mono); letter-spacing: -.035em; margin: 10px 0 8px; color: var(--ves-dark); }
.ve-ob-welcome span, .ve-ob-welcome em { display: block; font-style: normal; }
.ve-ob-welcome em { color: var(--ves-gold); }
.ve-onboard [data-ob-step="1"] .ve-modal-subtitle { font-size: 16px; margin-bottom: 16px; }
.ve-ob-intents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ve-ob-intent {
  position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 0; text-align: left; min-width: 0;
  padding: 12px 16px 14px; border: 1px solid #ddd9cf; border-radius: 4px; background: #fdfcf9; color: var(--ves-ink);
  cursor: pointer; font: 400 13px/1.5 var(--ves-sans); transition: border-color .2s, background .2s, box-shadow .2s;
}
.ve-ob-art { display: flex; align-items: center; justify-content: center; height: 128px; margin-bottom: 10px; overflow: hidden; }
.ve-ob-art img { display: block; max-width: 100%; max-height: 128px; width: auto; height: auto; object-fit: contain; }
.ve-ob-intent-body { display: grid; gap: 6px; padding-right: 52px; }
.ve-ob-intent strong { font: 700 15px/1.25 var(--ves-mono); text-transform: uppercase; letter-spacing: .01em; color: var(--ves-dark); }
.ve-ob-intent-hint { color: var(--ves-muted); font-size: 14px; line-height: 1.45; }
.ve-ob-go {
  position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; background: #f1ead9; color: var(--ves-dark); font: 600 18px/1 var(--ves-sans); transition: background .2s, transform .2s;
}
.ve-ob-intent:hover, .ve-ob-intent:focus-visible {
  background: #f0f5ef; border-color: var(--ves-dark); box-shadow: inset 0 0 0 1px var(--ves-dark); outline: none;
}
.ve-ob-intent:hover .ve-ob-go, .ve-ob-intent:focus-visible .ve-ob-go { background: var(--ves-gold); transform: translateX(2px); }
.ve-ob-intent:focus-visible { box-shadow: inset 0 0 0 1px var(--ves-dark), 0 0 0 3px rgba(194, 163, 101, .55); }
.ve-ob-note {
  display: flex; align-items: center; gap: 14px; margin: 16px 0 0; color: var(--ves-dark);
  font: 600 12px var(--ves-mono); text-transform: uppercase; letter-spacing: .05em;
}
.ve-ob-note:after { content: ''; flex: 1; height: 1px; background: #9fb0a8; }
.ve-ob-note span { padding-left: 14px; border-left: 2px solid var(--ves-dark); }
.ve-ob-shield { color: var(--ves-dark); flex: none; }
@media (max-width: 760px) {
  .ve-ob-intents { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ve-ob-art { height: 110px; }
  .ve-ob-art img { max-height: 110px; }
  .ve-ob-intent { padding: 12px 12px 14px; }
  .ve-ob-intent strong { font-size: 13px; }
  .ve-ob-intent-hint { font-size: 12px; }
  .ve-ob-intent-body { padding-right: 0; }
  .ve-ob-go { position: static; justify-self: end; width: 36px; height: 36px; margin-top: 8px; align-self: flex-end; }
}
@media (max-width: 480px) {
  .ve-ob-intents { grid-template-columns: 1fr; gap: 8px; }
  .ve-ob-intent { display: grid; grid-template-columns: 76px minmax(0, 1fr) 34px; align-items: center; gap: 12px; padding: 10px 12px; }
  .ve-ob-art { height: 64px; margin: 0; }
  .ve-ob-art img { max-height: 64px; }
  .ve-ob-intent-body { padding: 0; gap: 2px; }
  .ve-ob-intent strong { font-size: 12.5px; }
  .ve-ob-intent-hint { font-size: 12px; line-height: 1.35; }
  .ve-ob-go { position: static; width: 34px; height: 34px; margin: 0; font-size: 15px; }
  .ve-onboard .ve-dialog h2.ve-ob-welcome { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .ve-ob-intent, .ve-ob-go { transition: none; } }
.ve-onboard .ve-dialog h2.ve-ob-welcome:focus { outline: none; }
.ve-onboard .ve-ob-progress { margin: 14px 0 6px; }
/* Floating cart button (shop pages) */
.ve-cart-fab{position:fixed;right:20px;bottom:24px;z-index:900;display:inline-flex;align-items:center;gap:8px;background:#102e29;color:#fff;font:600 12px 'IBM Plex Mono',monospace;text-transform:uppercase;padding:13px 18px;text-decoration:none;box-shadow:6px 6px 0 #c2a365}
.ve-cart-fab[hidden]{display:none}
.ve-cart-fab b{background:#c2a365;color:#102e29;padding:1px 7px}
.ve-cart-fab:focus-visible{outline:3px solid #c2a365;outline-offset:3px}
@media(max-width:620px){.ve-cart-fab{left:16px;right:16px;justify-content:center}}

/* Welcome step 1 on desktop: fit all six options in the window without scrolling.
   Sizes follow the viewport height, so short laptop windows (e.g. MacBook ~700px) still fit. */
@media (min-width: 761px) {
  .ve-modal.ve-onboard { padding: 16px; }
  .ve-onboard .ve-onboard-dialog { max-height: calc(100dvh - 32px); padding: clamp(18px, 3.4vh, 40px) clamp(24px, 3.2vw, 42px); }
  .ve-onboard .ve-ob-progress { margin: clamp(8px, 1.6vh, 18px) 0 clamp(4px, .8vh, 8px); }
  .ve-onboard .ve-dialog h2.ve-ob-welcome { font-size: clamp(24px, min(3.8vw, 5.4vh), 46px); margin: clamp(4px, 1vh, 10px) 0 clamp(4px, .8vh, 8px); }
  .ve-onboard [data-ob-step="1"] .ve-modal-subtitle { font-size: clamp(14px, 1.9vh, 16px); margin-bottom: clamp(8px, 1.6vh, 16px); }
  .ve-onboard .ve-ob-intents { gap: clamp(8px, 1.5vh, 14px); }
  .ve-onboard .ve-ob-intent { padding: clamp(8px, 1.3vh, 12px) 14px clamp(10px, 1.5vh, 14px); }
  .ve-onboard .ve-ob-art { height: clamp(56px, 13vh, 128px); margin-bottom: clamp(4px, 1vh, 10px); }
  .ve-onboard .ve-ob-art img { max-height: 100%; }
  .ve-onboard .ve-ob-intent-body { gap: 4px; padding-right: 46px; }
  .ve-onboard .ve-ob-intent-hint { font-size: clamp(12px, 1.7vh, 14px); line-height: 1.4; }
  .ve-onboard .ve-ob-go { width: clamp(34px, 4.6vh, 44px); height: clamp(34px, 4.6vh, 44px); right: 12px; bottom: 12px; }
  .ve-onboard .ve-ob-note { margin-top: clamp(8px, 1.6vh, 16px); }
}
@media (min-width: 761px) and (max-height: 820px) {
  /* "Welcome! What brings you here?" on one line, hints kept to two lines */
  .ve-onboard .ve-ob-welcome span, .ve-onboard .ve-ob-welcome em { display: inline; }
  .ve-onboard .ve-ob-intent-hint { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .ve-onboard .ve-ob-intent strong { font-size: 14px; }
}
