/* proit-make-site content mode — mobile-first. Tokens come from config.yaml palette. */
:root {
  --navy: #1b2f4a;
  --navy-deep: #0f1d30;
  --slate: #4a5d73;
  --paper: #f8f6f1;
  --paper-2: #f8f6f1;
  --brass: #c9a55c;
  --ink: #1f2329;
  --muted: #4b5563;
  --line: #d9d4c7;
  --white: #ffffff;
  --error: #9b1c1c;
  --ok: #14532d;
  --radius: 10px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --tap: 48px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 18px/1.6 var(--sans);
  padding-bottom: 72px; /* room for the mobile call bar */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); }
/* Links on the navy bands never take the body hover color (navy on navy made the brand
   vanish on hover, 2026-10-18): cream text, gold underline, on hover and keyboard focus. */
.site-header a:hover, .site-header a:focus-visible,
.site-footer a:hover, .site-footer a:focus-visible, .site-footer .link-button:hover,
.page-head a:hover, .page-head a:focus-visible,
.call-block p a:hover, .call-block p a:focus-visible {
  color: #f3efe6; text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px;
}
.site-header .brand:hover, .site-header .brand:focus-visible { text-decoration: none; }
.brand:hover .brand-name, .brand:focus-visible .brand-name { text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 2px; }
.page-head .tel-inline:hover, .page-head .tel-inline:focus-visible { color: var(--brass); }
.site-header .header-call:hover .header-call-number { color: var(--brass); }
.site-nav a[aria-current="page"]:hover { color: var(--brass); }
.call-bar a:hover, .call-bar a:focus-visible { text-decoration: underline; }
.call-bar .call-bar-call:hover, .call-bar .call-bar-call:focus-visible { color: var(--navy-deep); }
.call-bar .call-bar-form:hover, .call-bar .call-bar-form:focus-visible { color: var(--white); }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--navy-deep); padding: 12px 16px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy-deep); line-height: 1.2; font-weight: 700; }
h1 { font-size: 2rem; margin: 0; text-wrap: balance; overflow-wrap: break-word; hyphens: manual; }
h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
/* A phone number is one unit: never split at its hyphens, never auto-linked by iOS
   (format-detection in the layout), always the brand color on a dark band. */
.tel-inline, [data-phone-swap] { white-space: nowrap; }
/* Phone numbers never in the serif: Georgia ships old-style (hanging) figures, so a ten-digit
   office number renders with the 7s dropped below the line and lighter than the 2s and 8 (seen on the
   danc hero at 393/360/1440 on 2026-10-19). The number is the one thing the page exists to show. */
h1 .tel-inline, h2 .tel-inline, .header-call-number, [data-phone-swap] {
  font-family: var(--sans); font-weight: 700; font-variant-numeric: lining-nums tabular-nums;
}
.page-head .tel-inline { color: var(--brass); text-decoration: none; }
h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; }
h3 { font-size: 1.2rem; margin: 1.5rem 0 .5rem; }
p { margin: 0 0 1rem; }

/* Header */
.site-header { background: var(--navy-deep); color: var(--white); position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: var(--tap); color: var(--white); text-decoration: none; min-width: 0; flex: 1; }
.brand img { width: 40px; height: auto; background: var(--white); border-radius: 4px; padding: 3px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; line-height: 1.2; }
.brand-tag { font-size: .875rem; color: #e8dcc0; line-height: 1.3; }
.brand-tag-part + .brand-tag-part::before { content: "· "; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.header-call { display: none; }
.nav-toggle {
  min-height: var(--tap); min-width: var(--tap); display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.5); border-radius: 8px;
  padding: 0 12px; font: 600 .95rem var(--sans); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
.site-nav { display: none; background: var(--navy); }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 8px 0; }
.site-nav a { display: flex; align-items: center; min-height: var(--tap); padding: 0 4px; color: var(--white); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-nav a[aria-current="page"] { color: var(--brass); }
.site-nav .nav-sub { padding: 0 0 4px 16px; }
.site-header .site-nav .nav-call a:hover, .site-header .site-nav .nav-call a:focus-visible { color: var(--navy-deep); text-decoration-color: var(--navy-deep); }
.site-nav .nav-sub a { font-weight: 500; font-size: .97rem; }
.site-nav .nav-call a { justify-content: center; gap: .35em; margin: 4px 0 8px; background: var(--brass); color: var(--navy-deep); border-radius: 8px; border: 0; font-size: 1.1rem; font-weight: 700; }

/* Page head + layout */
.page-head { background: var(--navy); color: var(--white); padding: 28px 0 24px; }
.page-head h1 { color: var(--white); }
.eyebrow { color: var(--brass); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .875rem; margin: 0 0 .4rem; text-wrap: balance; }
.trust-strip { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.trust-avatar { width: 72px; height: 72px; border-radius: 50%; flex: none; border: 2px solid var(--brass); }
.trust-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: .95rem; color: #f3efe6; line-height: 1.45; }
.trust-strip li { white-space: nowrap; }
.trust-strip li:first-child { flex-basis: 100%; font-weight: 700; color: var(--white); font-size: 1.02rem; }
/* separators trail the item, so a wrapped line never starts with a dot */
.trust-strip li:not(:first-child):not(:last-child)::after { content: "·"; margin: 0 .45em; color: var(--brass); }
.eyebrow:empty { display: none; }
/* Home page (danc review 2026-10-19): the header tagline already says the practice and the city, so the
   hero eyebrow is kept in the markup for search engines and screen readers but not drawn; the heading is
   sized so its first clause stays on one line on a 360-393px phone; the in-content buttons give way to the
   pinned call bar below 960px and stay on desktop. */
body[data-page-kind="home"] .page-head .eyebrow { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 639px) { body[data-page-kind="home"] .page-head h1 { font-size: clamp(1.3rem, 5.9vw, 2.25rem); text-wrap: wrap; line-height: 1.25; } }
@media (max-width: 959px) { body[data-page-kind="home"] .hero .cta-row { display: none; } }
.page-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding-top: 28px; padding-bottom: 40px; }
.page-body { min-width: 0; }
.page-body > :first-child { margin-top: 0; }
.page-body ul { padding-left: 1.2rem; }
.page-body ul.cards { padding-left: 0; }
.page-body li { margin: .25rem 0; }

/* Home hero */
.hero { display: grid; gap: 20px; align-items: center; }
.hero-lead { font-size: 1.2rem; color: var(--ink); }
.hero-photo { max-width: 320px; width: 100%; margin: 0 auto; border-radius: var(--radius); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.25rem 0 1.5rem; }
.cta-row .btn { flex: 1 1 220px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap);
  padding: 0 20px; border-radius: 8px; font: 700 1.05rem var(--sans); text-decoration: none; cursor: pointer; border: 2px solid transparent;
  gap: .35em; /* flex drops the space between "Call" and the number; the gap puts it back */
  white-space: nowrap;
}
.btn-primary { background: var(--navy-deep); color: var(--white); }
.btn-primary:hover { background: var(--navy); color: var(--white); }
.btn-call { background: var(--brass); color: var(--navy-deep); }
.btn-call:hover { color: var(--navy-deep); filter: brightness(1.05); }
.btn-secondary { background: var(--white); color: var(--navy-deep); border-color: var(--navy-deep); }
.btn-block { width: 100%; }

/* Cards */
.cards { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 0; list-style: none; margin: 1rem 0 1.5rem; }
.cards li { margin: 0; }
.card { display: block; height: 100%; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; color: var(--ink); }
.card h3 { margin: 0 0 .35rem; font-size: 1.15rem; color: var(--navy-deep); }
.card p { margin: 0; font-size: 1.0625rem; color: var(--muted); }
.card:hover { border-color: var(--navy); }
.callout { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 1.25rem 0; }
.callout-urgent { border-left: 4px solid var(--navy-deep); }
.confirm { background: #fff7e0; border: 1px dashed #8a6d00; color: #4a3a00; border-radius: 6px; padding: 2px 6px; font-size: .9rem; font-weight: 600; }
.list-cols { columns: 2; column-gap: 24px; padding-left: 1.1rem; }
.link-list { list-style: none; padding-left: 0 !important; }
.resource-list { list-style: none; padding-left: 0 !important; }
.resource-list li { margin: 0; padding: 4px 0 10px; border-bottom: 1px solid var(--line); }
.resource-list a { display: flex; align-items: center; min-height: 44px; font-weight: 600; }
.resource-desc { display: block; color: var(--muted); font-size: .97rem; }
.link-list li { margin: 0; border-bottom: 1px solid var(--line); }
.link-list a { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-weight: 600; }
.link-list a::after { content: "›"; margin-left: auto; color: var(--slate); font-size: 1.3rem; }
.arrest-now { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--navy-deep); border-radius: var(--radius); padding: 14px 18px; margin: 1.5rem 0; }
.arrest-now h2 { margin-top: 0; font-size: 1.25rem; }
.arrest-now ol { margin: 0; padding-left: 1.3rem; }
.arrest-now li { margin: .35rem 0; }
.call-block { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 18px; margin: 1.5rem 0; }
.call-block h2 { color: var(--white); margin: 0 0 .4rem; font-size: 1.25rem; }
.call-block p { color: #f3efe6; }
.statute-list li { break-inside: avoid; }

/* Lead form */
.lead-form { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--navy-deep); border-radius: var(--radius); padding: 20px 18px; }
.form-title { margin: 0 0 .4rem; font-size: 1.35rem; }
.form-intro { font-size: .97rem; color: var(--muted); }
.field { margin: 0 0 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; }
.req, .opt { font-weight: 400; color: var(--muted); font-size: .9rem; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field select, .field textarea {
  width: 100%; min-height: var(--tap); padding: 10px 12px; font: 1rem var(--sans); color: var(--ink);
  background: var(--white); border: 1px solid #8b8b8b; border-radius: 8px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.help { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }
.field-check { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: start; }
.field-check input { width: 24px; height: 24px; margin: 2px 0 0; }
.field-check label { font-weight: 600; font-size: 1rem; }
.form-more { margin: 0 0 14px; border-top: 1px solid var(--line); }
.form-more > summary { min-height: var(--tap); display: flex; align-items: center; cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; }
.form-more > summary::-webkit-details-marker { display: none; }
.form-more > summary::before { content: "+"; display: inline-block; width: 1.2em; font-size: 1.3rem; line-height: 1; }
.form-more[open] > summary::before { content: "−"; }
.chips { border: 0; padding: 0; margin: 0 0 14px; }
.chips legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.field.chips label.chip { display: inline-flex; margin: 0 6px 8px 0; } /* beats .field label { display: block } */
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid #8b8b8b; border-radius: 22px; background: var(--white); font-size: .95rem; cursor: pointer; }
.chip input:checked + span { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }
.form-talk { margin: 4px 0 14px; }
.form-talk-label { margin: 0 0 6px; font-weight: 600; }
.form-note { font-size: .92rem; color: var(--muted); margin: 10px 0 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-weight: 600; }
.form-status.error { color: var(--error); }
.form-status.ok { color: var(--ok); }
.turnstile-slot:empty { display: none; }
.turnstile-slot { margin: 0 0 12px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #f3efe6; padding: 32px 0 16px; margin-top: 8px; }
.site-footer h2 { color: var(--white); font-size: 1.05rem; margin: 0 0 .6rem; }
.site-footer a, .link-button { color: #f3efe6; }
.site-footer ul { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.site-footer li a, .link-button, .footer-directions { display: inline-flex; align-items: center; min-height: 44px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.2); padding-top: 16px; font-size: .9rem; color: #e5dfd2; }

/* Sticky mobile call bar */
.call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1.25fr 1fr; box-shadow: 0 -2px 10px rgba(0,0,0,.25); padding-bottom: env(safe-area-inset-bottom); background: var(--navy-deep); }
.call-bar a { display: flex; align-items: center; justify-content: center; gap: .3em; height: 60px; font-weight: 700; text-decoration: none; text-align: center; padding: 0 12px; white-space: nowrap; font-size: clamp(.95rem, 4.3vw, 1.08rem); }
.call-bar-call { background: var(--brass); color: var(--navy-deep); }
.call-bar-form { background: var(--navy-deep); color: var(--white); }

/* Consent */
.consent { position: fixed; left: 8px; right: 8px; bottom: 68px; z-index: 40; }
.consent-inner { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 24px rgba(0,0,0,.25); padding: 16px; max-width: 560px; margin: 0 auto; }
.consent-title { font-size: 1.1rem; margin: 0 0 .4rem; }
.consent-inner p { font-size: .95rem; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-actions .btn { flex: 1; }
.footer-hours { margin-top: -.5rem; }
@media (max-width: 380px) { h1 { font-size: 1.75rem; } }
@media (max-width: 420px) {
  .nav-toggle-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-toggle { padding: 0; justify-content: center; }
  .brand-tag-part + .brand-tag-part { display: none; }
}

@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  h1 { font-size: 2.6rem; }
  .call-bar { display: none; }
  .consent { bottom: 16px; }
  .header-row { min-height: 84px; }
  .brand img { width: 48px; }
  .brand-name { font-size: 1.35rem; }
  .brand-tag { font-size: .9rem; }
  .header-call { display: flex; flex-direction: column; align-items: flex-end; color: var(--white); text-decoration: none; line-height: 1.15; }
  .header-call-label { font-size: .8rem; color: #e8dcc0; text-transform: uppercase; letter-spacing: .05em; }
  .header-call-number { font-size: 1.7rem; font-weight: 700; color: var(--brass); }
  .nav-toggle { display: none; }
  .site-nav { display: block; }
  .site-nav .nav-sub, .site-nav .nav-call { display: none; }
  .site-nav ul { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 0; }
  .site-nav a { border: 0; min-height: 48px; }
  .page-head { padding: 40px 0 34px; }
  .layout-with-aside .page-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
  .page-aside { position: sticky; top: 16px; }
  .hero { grid-template-columns: minmax(0, 1fr) 300px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
