/* leadsmart-site-builder: additions on top of website-design base.css. Tokens only, no hex.
   Header dropdowns, breadcrumb, the call button, area grids, footer areas row, legal prose. */

/* skip link: off screen until focused */
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }

/* header on phones: brand, Call and Menu on one line */
.site-header .cluster { flex-wrap: nowrap; flex: none; }

/* breadcrumb: small, hairline-free, inside the hero */
.crumbs { margin: 0 0 var(--s-5); font-size: var(--step--1); color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--hair-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); }

/* the call button: what to do on the first line, the number on the second */
.btn-call { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 24px; min-height: 64px; line-height: 1.1; }
.btn-call .btn-call-k { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .9; }
.btn-call .btn-call-n { font-size: var(--step-2); font-weight: 800; letter-spacing: -.01em; }
.hero .or-call { margin-bottom: var(--s-5); }
.hero-plain { padding-bottom: clamp(24px, 4vw, 48px); }
.hero-form .quick-title { margin: 0; font-size: var(--step-1); }

/* header dropdowns (desktop): hover or focus opens a small panel; the item itself is a real link */
.nav .has-drop { position: relative; display: flex; align-items: center; }
.nav .has-drop > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav .drop { display: none; position: absolute; top: 100%; left: -12px; min-width: 240px; padding: 10px; background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r); box-shadow: var(--sh); z-index: 60; }
.nav .drop a { display: block; padding: 9px 12px; border-radius: calc(var(--r) - 4px); color: var(--ink-2); text-decoration: none; font-size: 15px; }
.nav .drop a:hover { background: var(--bg-2); color: var(--ink); }
.nav .has-drop:hover .drop, .nav .has-drop:focus-within .drop { display: block; }
.nav .has-drop::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.drawer a.sub { padding-left: var(--s-5); font-size: 16px; font-weight: 500; color: var(--ink-2); }

/* area grids: peer items with the same fields, so a grid of plain links, hairline separated */
.area-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 var(--s-6); grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hair); }
.area-grid li { border-bottom: 1px solid var(--hair); }
.area-grid a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: var(--s-4) 0; text-decoration: none; color: var(--ink); }
.area-grid a strong { font-weight: 600; }
.area-grid a:hover strong { text-decoration: underline; }
.area-links { gap: 8px 18px; }
.area-links a { text-decoration: none; font-weight: 500; }
.area-links a:hover { text-decoration: underline; }

/* a strong fill band (navy) remaps the semantic tokens, as base.css does for .band-ink, so text, links,
   accordions and outline buttons inside it stay readable without per-component rules */
.band-fill-strong { --bg: var(--fill); --bg-2: color-mix(in oklab, var(--on-fill) 8%, var(--fill)); --surface: color-mix(in oklab, var(--on-fill) 10%, var(--fill));
  --ink: var(--on-fill); --ink-2: color-mix(in oklab, var(--on-fill) 88%, transparent); --muted: color-mix(in oklab, var(--on-fill) 72%, transparent);
  --hair: color-mix(in oklab, var(--on-fill) 18%, transparent); --hair-2: color-mix(in oklab, var(--on-fill) 34%, transparent);
  --accent-ink: color-mix(in oklab, var(--accent) 45%, var(--on-fill)); --accent-wash: color-mix(in oklab, var(--accent) 16%, var(--fill)); --accent-soft: color-mix(in oklab, var(--accent) 28%, var(--fill)); }
.band-fill-strong .btn-outline { color: inherit; border-color: var(--hair-2); }
.band-fill-strong .rows-link, .band-fill-strong .or-call a { color: var(--accent-ink); }

/* long emails and URLs in detail rows and the footer wrap instead of pushing the page sideways at 320px */
.rows > li span, .rows > li strong, .site-footer ul li, .site-footer .legal span, .or-call, .form-note { overflow-wrap: anywhere; word-break: break-word; }

/* call band */
.cta-call .btn-primary { min-width: 220px; }

/* footer areas row */
.footer-areas { border-top: 1px solid var(--hair); margin-top: var(--s-6); padding-top: var(--s-5); }
.footer-areas .area-links a { color: inherit; font-weight: 500; }

/* legal pages */
.legal.prose h2 { font-size: var(--step-1); margin-top: var(--s-6); }

/* honeypot field: off screen, never display:none (bots skip hidden fields) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.hero .photo img[fetchpriority] { content-visibility: auto; }

@media (max-width: 900px) {
  .site-header .wrap { gap: var(--s-3); }
  .brand { font-size: 16px; }
  /* phone order for a call-first hero: H1, the call button, then the lead */
  .hero-call .hero-copy .actions { order: 2; margin-bottom: var(--s-4); }
  .hero-call .hero-copy .lead { order: 3; }
  .hero-call .hero-copy .or-call { order: 4; }
  .btn-call { width: 100%; align-items: center; }
  .area-grid { grid-template-columns: 1fr; }
  .nav .drop { display: none !important; }
  .cta-call .col-4 { justify-content: flex-start !important; }
  .cta-call .btn-primary { width: 100%; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
