/* Self-hosted fonts (SIL OFL 1.1, licences in /fonts/). */
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/eb-garamond-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/eb-garamond-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/eb-garamond-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/eb-garamond-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/public-sans-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/public-sans-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/public-sans-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/public-sans-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/public-sans-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/public-sans-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


/* British Columbia Lawyers design system v1
   Mobile first. Breakpoints: 768px (md), 1100px (lg).
   Fonts: EB Garamond (headings), Public Sans (body). */

:root, .bcl-root {
  /* Colour */
  --bg: #F3F2ED;          /* stone, page background */
  --surface: #FBFBF8;     /* cards, inputs */
  --tint: #E7EBE4;        /* tags, quiet panels */
  --line: #CFD3CA;        /* decorative hairlines */
  --edge: #66726D;        /* input and control borders, 3:1+ */
  --ink: #12332C;         /* forest ink: headings, links, primary buttons */
  --ink-hover: #0B241F;
  --text: #1E2926;        /* body */
  --muted: #4A5752;       /* secondary text */
  --accent: #A23E1F;      /* the one accent: focus ring, open Featured spot */
  --on-ink: #FBFBF8;

  /* Type */
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Space (4px base) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  /* Shape: one radius system. 10px for containers and controls, 6px for tags. */
  --r: 10px;
  --r-sm: 6px;
  --tap: 48px;
}

*, *::before, *::after { box-sizing: border-box; }

body, .bcl-root {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 18px/1.65 var(--sans);
  -webkit-text-size-adjust: 100%;
}
.bcl-root {  }

img, svg { max-width: 100%; }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2.5px; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--on-ink); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: var(--s7) 0; }
.section + .section { padding-top: 0; }
.section-tint { background: var(--tint); padding: var(--s7) 0; margin: var(--s7) 0; }
.section-tint + .section { padding-top: 0; }
.narrow { max-width: 68ch; }

/* Headings */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0 0 var(--s4); }
h1 { font-size: 36px; line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: 29px; line-height: 1.2; letter-spacing: -0.005em; margin-top: var(--s7); }
h3 { font-size: 22px; line-height: 1.25; font-weight: 600; }
h4 { font-family: var(--sans); font-size: 17px; font-weight: 600; line-height: 1.4; }
.section > .wrap > h2:first-child, .section-tint h2:first-child, h2.first { margin-top: 0; }
.lede { font-size: 19px; line-height: 1.6; color: var(--text); max-width: 56ch; }
.small { font-size: 15.5px; line-height: 1.55; }
.muted { color: var(--muted); }
.label { font: 600 14px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s3); }

/* Header */
.site-header { position: relative; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: var(--s4); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: var(--tap); }
.brand:hover { text-decoration: none; }
.brand-mark { flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-1 { font: 600 11.5px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 4px; }
.brand-2 { font: 600 27px/0.95 var(--serif); letter-spacing: -0.005em; }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: var(--s1); }
.nav-desktop a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 12px; font: 500 16px/1 var(--sans); text-decoration: none; border-radius: var(--r-sm); white-space: nowrap; }
.nav-desktop a:hover { background: var(--tint); }
.nav-desktop a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }

.nav-mobile > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 18px; border: 1.5px solid var(--ink); border-radius: var(--r); font: 600 16px/1 var(--sans); color: var(--ink); }
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile[open] > summary { background: var(--tint); }
.nav-mobile .panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: var(--s3) 20px var(--s5); z-index: 5; }
.nav-mobile .panel a { display: flex; align-items: center; min-height: 52px; font: 500 18px/1 var(--sans); text-decoration: none; border-top: 1px solid var(--line); }
.nav-mobile .panel li:first-child a { border-top: 0; }

/* Breadcrumb */
.crumbs { padding: var(--s3) 0 0; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; font-size: 15.5px; line-height: 1.3; }
.crumbs li + li::before { content: "/"; color: var(--muted); margin: 0 8px; }
.crumbs a { display: inline-block; padding: 12px 0; }
.crumbs [aria-current="page"] { color: var(--muted); padding: 12px 0; display: inline-block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 2px solid transparent; border-radius: var(--r); font: 600 17px/1.1 var(--sans); text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: var(--ink-hover); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--tint); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-direction: column; gap: var(--s3); }
.link-ext { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 500; font-size: 16px; }
.link-ext::after { content: "\2197"; margin-left: 6px; text-decoration: none; display: inline-block; }

/* Forms */
.field { display: flex; flex-direction: column; gap: var(--s2); }
.field label { font: 600 16px/1.3 var(--sans); color: var(--ink); }
.field select, .field input[type="text"], .field input[type="email"], .field input[type="url"], .field textarea {
  width: 100%; min-height: 54px; padding: 0 14px; background: var(--surface); color: var(--text);
  border: 1.5px solid var(--edge); border-radius: var(--r); font: 400 17px/1.3 var(--sans);
}
.field .hint { font-size: 15px; color: var(--muted); margin: 0; }
.search { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: var(--s4); margin-top: var(--s5); }

/* Tags and chips */
.tags { display: flex; flex-wrap: wrap; gap: var(--s2); }
.tag { display: inline-flex; align-items: center; min-height: 32px; padding: 2px 12px; background: var(--tint); color: var(--ink); border-radius: var(--r-sm); font: 500 15px/1.2 var(--sans); }
.tag-fact { background: transparent; border: 1px solid var(--edge); color: var(--text); }
a.tag { min-height: 44px; padding: 0 16px; text-decoration: none; }
a.tag:hover { background: #D9DFD5; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; background: var(--surface); border: 1.5px solid var(--edge); border-radius: var(--r); font: 500 17px/1 var(--sans); text-decoration: none; color: var(--ink); }
.chip:hover { border-color: var(--ink); background: var(--tint); }
.chip .n { font-weight: 400; color: var(--muted); font-size: 15px; }
.citygrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.citygrid .chip { justify-content: space-between; }

/* Hero (home) */
.hero { padding: var(--s6) 0 var(--s6); }
.hero h1 { max-width: 16ch; }

/* Practice tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s4); min-height: 120px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); }
.tile:hover { border-color: var(--ink); }
.tile .name { font: 500 21px/1.2 var(--serif); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: transparent; }
.tile:hover .name { text-decoration-color: currentColor; }
.tile .count { font-size: 15px; color: var(--muted); }

/* Compare (lawyer vs notary) */
.compare { display: grid; gap: var(--s5); }
.compare-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.compare-col h3 { margin-bottom: var(--s3); }
.compare-col h4 { margin: var(--s4) 0 var(--s2); color: var(--muted); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.plain-list li { padding: 6px 0 6px 20px; position: relative; }
.plain-list li::before { content: "-"; position: absolute; left: 4px; color: var(--muted); }
.note { background: var(--tint); border-radius: var(--r); padding: 20px; margin-top: var(--s5); }
.note p:last-child { margin-bottom: 0; }

/* Answer block */
.answer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin: var(--s5) 0 0; max-width: 780px; }
.answer p { margin: 0; }
.answer p + p { margin-top: var(--s3); }

/* Listing cards */
.list-head { display: flex; flex-direction: column; gap: var(--s2); margin-bottom: var(--s4); }
.list-head h2 { margin: 0; }
.list-head p { margin: 0; color: var(--muted); font-size: 16px; }
.cards { display: grid; gap: var(--s4); }
.lcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: var(--s3); }
.lcard-head { display: flex; gap: var(--s3); align-items: flex-start; }
.mono { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--r); background: var(--tint); color: var(--ink); font: 600 20px/1 var(--serif); letter-spacing: 0.02em; }
.lcard-title { font: 600 22px/1.25 var(--serif); margin: 0; }
.lcard-title a { text-decoration-color: transparent; }
.lcard-title a:hover { text-decoration-color: currentColor; }
.lcard-kind { margin: 2px 0 0; font-size: 15.5px; color: var(--muted); }
.lcard-addr { margin: 0; font-size: 16.5px; }
.lcard-actions { display: flex; flex-direction: column; gap: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--line); }
.lcard-actions .btn { width: 100%; }

.fcard { border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: var(--r); background: var(--surface); padding: 20px; margin-bottom: var(--s4); display: grid; gap: var(--s3); }
.fcard .flabel { font: 600 14px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0; }
.fcard h3, .fcard .fcard-h { margin: 0; }
.fcard .fcard-h { font-size: 22px; line-height: 1.25; }
.fcard p { margin: 0; }
.nofeat { font-size: 15.5px; color: var(--muted); margin: 0 0 var(--s4); }

/* Prose */
.prose { max-width: 68ch; }
.prose h2 { font-size: 27px; margin-top: var(--s7); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { max-width: 68ch; }
.prose ul { margin: 0 0 var(--s4); }
.prose ul li { padding: 4px 0 4px 22px; position: relative; }
.prose ul li::before { content: "-"; position: absolute; left: 6px; color: var(--muted); }
.page-grid { display: grid; gap: var(--s7); }
.aside-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.aside-box h3 { font-size: 20px; }
.aside-box ul li a { display: flex; align-items: center; min-height: 44px; }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 60px; padding: 14px 0; font: 600 18px/1.35 var(--sans); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); margin: -4px 6px 0 0; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq .answer-body { padding: 0 0 var(--s4); max-width: 66ch; }
.faq .answer-body p:last-child { margin-bottom: 0; }

/* Route list (definition rows) */
.routes { display: grid; gap: 0; border-top: 1px solid var(--line); }
.route { padding: var(--s4) 0; border-bottom: 1px solid var(--line); display: grid; gap: var(--s2); }
.route h3 { margin: 0; font-size: 21px; }
.route p { margin: 0; }

/* Listing page */
.l-head { display: flex; gap: var(--s4); align-items: flex-start; margin-top: var(--s4); }
.l-head .mono { width: 64px; height: 64px; font-size: 26px; }
.l-head h1 { margin-bottom: var(--s2); }
.l-head p { margin: 0; }
.dl { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.dl > div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dl dt { font: 600 14px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dl dd { margin: 0; font-size: 18px; }
.hours { width: 100%; border-collapse: collapse; font-size: 17px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { width: 45%; color: var(--text); font-weight: 500; }
.photo { aspect-ratio: 4 / 3; border-radius: var(--r); background: repeating-linear-gradient(135deg, var(--tint), var(--tint) 14px, #DFE4DB 14px, #DFE4DB 28px); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; text-align: center; padding: var(--s4); }
.photo-cap { font-size: 15.5px; color: var(--muted); margin: var(--s2) 0 0; }
.mapslot { min-height: 220px; border-radius: var(--r); border: 1.5px solid var(--edge); background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; text-align: center; padding: var(--s4); }
.claim { background: var(--tint); border-radius: var(--r); padding: 16px 20px; font-size: 16px; }
.claim p { margin: 0 0 var(--s2); }
.claim p:last-child { margin: 0; }
.claim a { font-weight: 600; }
.stack { display: grid; gap: var(--s5); }
.l-grid { display: grid; gap: var(--s7); margin-top: var(--s6); }

/* Steps and mail box */
.steps { counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: var(--s3); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font: 600 28px/1 var(--serif); color: var(--accent); }
.steps h3 { margin: 0 0 4px; font-size: 21px; }
.steps p { margin: 0; }
.mailbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; font-size: 16.5px; }
.mailbox p { margin: 0 0 var(--s3); }
.mailbox .subj { font-weight: 600; color: var(--ink); }

/* Footer */
.site-footer { margin-top: var(--s8); border-top: 1px solid var(--line); background: var(--tint); padding: var(--s7) 0 var(--s6); }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: var(--s5); }
.footer-cols ul a { display: flex; align-items: center; min-height: 44px; }
.disclaimer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; font-size: 15.5px; line-height: 1.6; margin: var(--s6) 0 var(--s4); }
.disclaimer p { margin: 0 0 var(--s2); }
.disclaimer p:last-child { margin: 0; }
.footer-meta { font-size: 15.5px; color: var(--muted); margin: 0; }

/* Design system page only */
.ds-grid { display: grid; gap: var(--s4); }
.swatch { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.swatch .chipcolor { height: 72px; display: flex; align-items: flex-end; padding: 8px 12px; font: 600 15px/1 var(--sans); }
.swatch .meta { padding: 12px; font-size: 15px; line-height: 1.45; }
.swatch .meta b { display: block; font-size: 16px; }
.spec { border-top: 1px solid var(--line); padding: var(--s4) 0; display: grid; gap: var(--s2); }
.spec .tok { font: 400 14.5px/1.4 ui-monospace, Menlo, Consolas, monospace; color: var(--muted); }
.bar { height: 16px; background: var(--ink); border-radius: 3px; }
.demo { background: var(--bg); border: 1px dashed var(--edge); border-radius: var(--r); padding: var(--s5); }
.demo-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.rule-list li { padding: 8px 0 8px 22px; position: relative; }
.rule-list li::before { content: "-"; position: absolute; left: 6px; color: var(--accent); font-weight: 700; }

/* ---------- 768px and up ---------- */
@media (min-width: 768px) {
  .wrap { padding: 0 32px; }
  h1 { font-size: 50px; }
  h2 { font-size: 34px; }
  .prose h2 { font-size: 29px; }
  .lede { font-size: 20px; }
  .section { padding: var(--s8) 0; }
  .section-tint { padding: var(--s8) 0; margin: var(--s8) 0; }
  .hero { padding: var(--s8) 0 var(--s7); }
  .search { grid-template-columns: 1.4fr 1fr auto; align-items: end; padding: 24px; }
  .search .btn { min-width: 160px; }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
  .compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare-col { padding: 28px; }
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .citygrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lcard { grid-template-columns: minmax(0, 1fr) 270px; column-gap: var(--s6); padding: 24px; align-items: start; }
  .lcard-actions { grid-column: 2; grid-row: 1 / span 3; border-top: 0; padding-top: 0; align-self: center; }
  .lcard-head, .lcard-addr, .lcard .tags { grid-column: 1; }
  .fcard { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--s6); padding: 24px; }
  .fcard .flabel, .fcard h3, .fcard p { grid-column: 1; }
  .fcard .btn { grid-column: 2; grid-row: 1 / span 3; }
  .list-head { flex-direction: row; align-items: baseline; justify-content: space-between; }
  .route { grid-template-columns: 260px 1fr; gap: var(--s6); }
  .answer { padding: 24px 28px; }
  .l-head .mono { width: 80px; height: 80px; font-size: 32px; }
  .lcard-actions .btn { width: auto; }
}

/* ---------- 1100px and up ---------- */
@media (min-width: 1100px) {
  .nav-desktop { display: block; }
  .nav-mobile { display: none; }
  h1 { font-size: 58px; }
  .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .citygrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s8); align-items: start; }
  .l-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s8); align-items: start; }
  .footer-cols { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .ds-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ds-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ds-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: no-preference) {
  .btn, .tile, .chip { transition: background-color .15s ease, border-color .15s ease; }
}


/* ---------- Site additions (not in the handoff mockups) ---------- */
/* Real photo and map in the listing slots. */
.photo-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--tint); }
.map-embed { display: block; width: 100%; height: 260px; border: 1.5px solid var(--edge); border-radius: var(--r); background: var(--surface); }
/* Let grid columns shrink below their content width on phones. */
.page-grid > *, .l-grid > * { min-width: 0; }
.prose a, .dl dd, .credits td { overflow-wrap: anywhere; }
/* Lead line above the answer box on copy pages. */
.lede.lead { margin-bottom: 0; }
.readon { margin: var(--s4) 0 0; color: var(--muted); font-size: 16px; }
/* Listing page section headings (mockup: listing.html). */
.l-main > section > h2 { margin-top: 0; font-size: 26px; }
/* City chip for a place without its own page. */
.chip-static { border-style: dashed; color: var(--text); }
.chip-static:hover { border-color: var(--edge); background: var(--surface); }
/* Hub and index lists. */
.city-groups { display: grid; gap: var(--s5); }
.city-group h3 { font-size: 20px; margin: 0 0 var(--s2); }
.city-group li a { display: inline-flex; align-items: center; min-height: 44px; }
.area-rows { border-top: 1px solid var(--line); }
.area-rows li { padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.area-rows h2 { margin: 0 0 var(--s2); font-size: 27px; }
.area-rows p { margin: 0; }
.remote-note { margin-top: var(--s3); }
/* Claim form and plans on /get-listed/. */
.claim-form { display: grid; gap: var(--s4); max-width: 640px; }
.field.check { flex-direction: row; align-items: flex-start; gap: var(--s3); }
.field.check input { width: 22px; height: 22px; margin-top: 3px; flex: none; }
.field.check label { font-weight: 400; color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.plan-grid { display: grid; gap: var(--s4); }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.plan h3 { margin-bottom: var(--s2); }
.plan p:last-child { margin-bottom: 0; }
/* Credits table on /about/. */
.table-wrap { overflow-x: auto; }
.credits { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.credits th, .credits td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.credits th { font: 600 14px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.credits img { display: block; border-radius: var(--r-sm); width: 120px; height: 80px; object-fit: cover; }
@media (min-width: 768px) {
  .city-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .city-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Refinement pass: depth, photos, data blocks ---------- */
:root {
  --shadow-1: 0 1px 2px rgba(18, 51, 44, .06), 0 2px 8px rgba(18, 51, 44, .05);
  --shadow-2: 0 2px 4px rgba(18, 51, 44, .07), 0 12px 28px rgba(18, 51, 44, .10);
  --ink-2: #1B4339;
  --ink-line: rgba(251, 251, 248, .16);
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { flex: none; display: inline-block; vertical-align: middle; }

/* Bands: stone (default), paper and ink alternate down the page. */
.band { padding: var(--s7) 0; }
.band-paper { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-ink { background: var(--ink); color: var(--on-ink); }
.band-ink h2, .band-ink h3, .band-ink .lede { color: var(--on-ink); }
.band-ink .label { color: #B9CBC4; }
.band-ink a { color: var(--on-ink); }
.band-ink a:focus-visible { outline-color: #F2C6A0; }
.list-section { padding-bottom: var(--s7); }
.section.page-hero { padding: var(--s4) 0 var(--s6); }
.label-icon { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.label-icon .icon { color: var(--accent); }

/* Soft shadows and hover lift on cards. */
.lcard, .tile, .aside-box, .answer, .search, .fcard, .plan, .mailbox, .compare-col, .placecard, .chip { box-shadow: var(--shadow-1); }
.answer { border-left: 4px solid var(--ink); }
.lcard, .tile, .placecard { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.lcard:hover, .tile:hover, .placecard:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
@media (prefers-reduced-motion: reduce) { .lcard, .tile, .placecard { transition: none; } .lcard:hover, .tile:hover, .placecard:hover { transform: none; } }
.cards { gap: var(--s5); }

/* Home hero with a full-bleed photo under an ink gradient. */
.hero-photo { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); padding: var(--s7) 0 var(--s8); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11, 36, 31, .94) 0%, rgba(11, 36, 31, .82) 45%, rgba(11, 36, 31, .45) 100%); z-index: 1; }
.hero-inner { position: relative; z-index: 2; }
.hero-photo h1 { color: var(--on-ink); max-width: 16ch; }
.hero-photo .label { color: #CFDDD7; }
.hero-photo .lede { color: var(--on-ink); }
.hero-photo .readon { color: #CFDDD7; }
.hero-photo .answer { color: var(--text); border-left-color: var(--accent); }
.hero-photo .search { color: var(--text); }
.hero-photo #finder-note { color: #CFDDD7; }
.hero-credit { position: absolute; right: 16px; bottom: 8px; z-index: 2; margin: 0; font-size: 13px; color: #CFDDD7; max-width: 60ch; text-align: right; }
.hero-credit a { color: #CFDDD7; }

/* Page hero with a place photo. */
.hero-grid { display: grid; gap: var(--s5); align-items: start; }
.place-photo { margin: 0; }
.place-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-2); }
.place-photo figcaption, .photo-cap { font-size: 14px; color: var(--muted); margin-top: var(--s2); line-height: 1.45; }
.place-photo figcaption a, .photo-cap a { color: var(--muted); }

/* Stat band with BC locator map. */
.statband { padding: var(--s5) 0; }
.stat-note { font-size: 14px; color: var(--muted); margin: var(--s3) 0 0; }
.statgrid { display: grid; gap: var(--s5); align-items: center; }
.statmap { margin: 0; display: flex; align-items: center; gap: var(--s3); }
.statmap figcaption { font: 600 15px/1.3 var(--sans); color: var(--ink); }
.bcmap { width: 132px; height: auto; flex: none; }
.bcmap-land { fill: var(--tint); stroke: #9FB0A8; stroke-width: 1.2; stroke-linejoin: round; }
.bcmap-halo { fill: rgba(162, 62, 31, .18); }
.bcmap-dot { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin: 0; }
.stat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: var(--s3); align-items: center; }
.stat .icon { grid-row: 1 / span 2; color: var(--accent); }
.stat dd { grid-row: 1; grid-column: 2; margin: 0; font: 600 34px/1 var(--serif); color: var(--ink); }
.stat dt { grid-row: 2; grid-column: 2; font-size: 14.5px; line-height: 1.35; color: var(--muted); }

/* Bar list (hubs). */
.hub-places { display: grid; gap: var(--s6); }
.bars { display: grid; gap: var(--s3); margin-top: var(--s4); }
.bars li { display: grid; grid-template-columns: minmax(110px, 9.5rem) 1fr 2.5rem; align-items: center; gap: var(--s3); }
.bar-name { font-weight: 500; }
.bar-track { height: 14px; border-radius: 7px; background: var(--tint); overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 7px; background: linear-gradient(90deg, var(--ink-2), var(--ink)); }
.bar-n { font: 600 20px/1 var(--serif); color: var(--ink); text-align: right; }
.citygrid-small .chip { min-height: 44px; font-size: 16px; }
.chip-icon { gap: 10px; }
.chip-icon .icon { color: var(--accent); }

/* Lawyer vs notary comparison band. */
.compare-band { padding: var(--s8) 0; }
.compare-head { max-width: 62ch; margin-bottom: var(--s5); }
.compare-head h2 { margin-top: 0; }
.ctable { width: 100%; border-collapse: collapse; background: rgba(251, 251, 248, .04); font-size: 17px; }
.ctable th, .ctable td { padding: 14px 16px; border-bottom: 1px solid var(--ink-line); text-align: left; vertical-align: middle; }
.ctable tbody tr:last-child th, .ctable tbody tr:last-child td { border-bottom: 0; }
.ctable thead th { font: 600 15px/1.3 var(--sans); letter-spacing: .04em; color: #CFDDD7; white-space: nowrap; }
.ctable thead th .icon { margin-right: 8px; color: #F2C6A0; }
.ctable tbody th { font-weight: 500; color: var(--on-ink); }
.ctable td { width: 22%; white-space: nowrap; }
.yes, .no { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.yes { color: #CDEBDD; }
.no { color: #B9CBC4; font-weight: 400; }
.compare-note { margin: var(--s5) 0; max-width: 72ch; }
.band-ink .btn-light, .btn-light { background: var(--on-ink); color: var(--ink); }
.btn-light:hover { background: #E6ECE7; }
.btn-ghost-light { background: transparent; color: var(--on-ink); border-color: var(--on-ink); }
.btn-ghost-light:hover { background: rgba(251, 251, 248, .1); }
.band-ink .table-wrap { border: 1px solid var(--ink-line); border-radius: var(--r); }

/* Guide copy: pull quote, checklist, At a glance. */
.copy-band { padding: var(--s8) 0; }
.pullquote { margin: var(--s7) 0; padding: var(--s3) 0 var(--s3) var(--s5); border-left: 4px solid var(--accent); }
.pullquote blockquote { margin: 0; }
.pullquote p { margin: 0; font: 500 26px/1.35 var(--serif); color: var(--ink); max-width: 30ch; }
.prose .checklist { margin: 0 0 var(--s4); display: grid; gap: var(--s2); }
.prose .checklist li { display: flex; gap: var(--s3); align-items: flex-start; padding: 12px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }
.prose .checklist li::before { content: none; }
.checklist .icon { color: var(--accent); margin-top: 3px; }
.side-stack { display: grid; gap: var(--s5); align-content: start; }
.glance { background: var(--bg); border-top: 4px solid var(--ink); }
.glance-list { display: grid; gap: var(--s3); }
.glance-list li { display: flex; gap: var(--s3); align-items: flex-start; font-size: 16px; line-height: 1.45; }
.glance-list .icon { color: var(--accent); margin-top: 1px; }
.jump-list li a { display: flex; align-items: center; min-height: 40px; font-size: 15.5px; }
.icon-links li a { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.icon-links .icon { color: var(--accent); }
.faq-section { padding: var(--s8) 0; }

/* Tiles with icons, place cards, practice index rows. */
.tile { min-height: 150px; justify-content: flex-start; }
.tile-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 12px; background: var(--tint); color: var(--ink); }
.tile:hover .tile-icon { background: var(--ink); color: var(--on-ink); }
.tile .count { margin-top: auto; }
.placecards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.placecard { position: relative; display: block; border-radius: 14px; overflow: hidden; text-decoration: none; background: var(--ink); aspect-ratio: 4 / 3; }
.placecard img, .placecard-map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.placecard-map { display: flex; align-items: center; justify-content: center; background: var(--ink-2); }
.placecard-map .bcmap { width: 60%; }
.placecard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 36, 31, 0) 40%, rgba(11, 36, 31, .85) 100%); }
.placecard-text { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: grid; color: var(--on-ink); }
.placecard-name { font: 600 24px/1.1 var(--serif); }
.placecard-n { font-size: 14.5px; color: #DCE6E1; }
.area-row { display: grid; grid-template-columns: 56px 1fr; gap: var(--s4); align-items: start; }
.area-icon { display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center; border-radius: 14px; background: var(--tint); color: var(--ink); }

@media (min-width: 768px) {
  .band { padding: var(--s8) 0; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .statgrid { grid-template-columns: auto 1fr; gap: var(--s7); }
  .bcmap { width: 150px; }
  .placecards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-photo { padding: var(--s8) 0 var(--s9); }
  .pullquote p { font-size: 30px; }
}
@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s7); }
  .hub-places { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--s8); }
}
.hub-places .citygrid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
@media (max-width: 767px) { .ctable { font-size: 15px; } .ctable th, .ctable td { padding: 10px 8px; } .ctable thead th { white-space: normal; } .ctable thead th .icon { display: none; } .ctable td { width: auto; } .yes .icon, .no .icon { display: none; } }

/* Google rating: plain sourced text, same weight as the address. No stars, no colour. */
.lcard-rating { margin: 0; font-size: 15.5px; color: var(--muted); }
.lcard .lcard-rating { grid-column: 1; }
@media (min-width: 768px) { .lcard-actions { grid-row: 1 / span 4; } .lcard-rating { grid-column: 1; } }

/* ---------- Phase 1: revenue surface ---------- */
/* Open Featured spot: a solid card, no dollar amount. */
.fcard { padding: 24px; gap: var(--s3); background: linear-gradient(180deg, var(--surface) 0%, #F6F3EE 100%); }
.fcard h3 { font-size: 23px; line-height: 1.25; }
.fcard p:last-child { margin-top: var(--s2); }
/* Sold Featured spot: the firm's card, labelled, with a note under it. */
.fspot { margin-bottom: var(--s5); }
.fslot .lcard.featured { border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.lcard.featured .flabel { margin: 0; font: 600 14px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.fnote { margin: var(--s2) 0 0; font-size: 15px; color: var(--muted); }
/* Nav: "Get listed" as a visible button. */
.nav-desktop a.nav-cta { background: var(--ink); color: var(--on-ink); margin-left: var(--s2); padding: 0 18px; }
.nav-desktop a.nav-cta:hover { background: var(--ink-2); }
.nav-desktop a.nav-cta[aria-current="page"] { text-decoration: none; box-shadow: inset 0 -3px 0 var(--accent); }
.nav-mobile .panel a.nav-cta { justify-content: center; margin-top: var(--s3); border: 0; border-radius: var(--r); background: var(--ink); color: var(--on-ink); }
/* Listing page claim strip. */
.claim-strip { display: flex; flex-direction: column; gap: var(--s3); align-items: flex-start; margin: var(--s5) 0 var(--s6); padding: 16px 20px; background: var(--tint); border-left: 4px solid var(--ink); border-radius: var(--r); }
.claim-strip p { margin: 0; }
/* Home: For BC law firms. */
.firms-grid { display: grid; gap: var(--s4); margin: var(--s5) 0 var(--s4); }
.firms-col { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-1); }
.firms-col h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 var(--s3); font-size: 22px; }
.firms-col h3 .icon { color: var(--accent); }
.firms-col ul { display: grid; gap: var(--s2); }
.firms-col li { position: relative; padding-left: 18px; }
.firms-col li::before { content: "-"; position: absolute; left: 2px; color: var(--muted); }
.firms-note { font-weight: 600; color: var(--ink); margin: 0 0 var(--s4); }
/* /pricing/ */
.founding { background: var(--ink); color: var(--on-ink); border-radius: 14px; padding: 24px; display: grid; gap: var(--s2); justify-items: start; box-shadow: var(--shadow-2); }
.founding p { margin: 0; }
.founding-label { font: 600 14px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #F2C6A0; }
.founding-main { font: 500 24px/1.3 var(--serif); }
.founding strong { font-weight: 600; }
.founding .btn { margin-top: var(--s2); }
.plan-cards { display: grid; gap: var(--s4); margin-top: var(--s4); }
.plan-cards .plan { display: flex; flex-direction: column; gap: var(--s2); padding: 24px; }
.plan-cards .plan .btn { margin-top: auto; align-self: flex-start; }
.plan-mid { border-top: 4px solid var(--ink); }
.plan-name { margin: 0; font: 600 14px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.plan-price { margin: 0; font: 600 34px/1.1 var(--serif); color: var(--ink); }
.plan-sub { margin: 0; font-size: 15.5px; color: var(--muted); }
.plan-list { display: grid; gap: var(--s2); margin: var(--s2) 0 var(--s4); font-size: 16px; }
.plan-list li { position: relative; padding-left: 18px; }
.plan-list li::before { content: "-"; position: absolute; left: 2px; color: var(--muted); }
.page-pick { background: var(--surface); border-left: 4px solid var(--accent); padding: 12px 16px; border-radius: var(--r-sm); }
.price-table, .plan-table { width: 100%; border-collapse: collapse; font-size: 16.5px; background: var(--surface); }
.price-table th, .price-table td, .plan-table th, .plan-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.price-table thead th, .plan-table thead th { font: 600 14px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.price-table tbody th, .plan-table tbody th { font-weight: 500; color: var(--ink); }
.price-table td { white-space: nowrap; font-weight: 600; color: var(--ink); }
.plan-table { min-width: 640px; }
.plan-table .yes { color: var(--ink); }
.plan-table .no { color: var(--muted); font-weight: 400; }
.plan-lines ul { display: grid; gap: var(--s2); margin: 0 0 var(--s3); font-size: 18px; }
.plan-lines p { margin: 0; }
/* Claim form states. */
.claim-form input[aria-invalid="true"], .claim-form select[aria-invalid="true"] { border-color: var(--accent); }
.field-error { margin: 0; font-size: 15px; font-weight: 600; color: var(--accent); }
.form-status { margin: 0; font-size: 16px; }
.form-status.is-error { color: var(--accent); font-weight: 600; }
.form-done { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: var(--r); padding: 20px; }
.form-done h3 { margin: 0 0 var(--s2); }
.form-done p { margin: 0; }
#cf-turnstile:empty { display: none; }
@media (min-width: 768px) {
  .claim-strip { flex-direction: row; align-items: center; justify-content: space-between; }
  .firms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .founding { padding: 32px 36px; }
  .founding-main { font-size: 28px; }
}
.aside-box .dash-list { display: grid; gap: var(--s2); }
.aside-box .dash-list li { position: relative; padding-left: 18px; }
.aside-box .dash-list li::before { content: "-"; position: absolute; left: 2px; color: var(--muted); }

/* ---------- Phase 2: SEO ---------- */
/* Whole card is one link: the firm name's link is stretched over the card; "View listing" is a visual cue only. */
.lcard { position: relative; }
.lcard-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.lcard-link:focus-visible { outline: none; }
.lcard:has(.lcard-link:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.lcard:hover .lcard-cta { background: var(--tint); }
.lcard-cta { pointer-events: none; }
/* Practice chips directly under the hero on lawyer city pages. */
.practice-chips { padding: 0 0 var(--s6); }
.practice-chips .chips { display: flex; flex-wrap: wrap; gap: var(--s3); }
/* Footer column headings are styled paragraphs, not headings. */
.footer-h { margin-top: 0; }

/* ---------- Phase 3: UI polish ---------- */
/* Home hero: H1 in two lines on desktop, lead, then the search, above the fold at 390px and 1280px. */
.hero-photo { padding: var(--s5) 0 var(--s7); }
.hero-photo h1 { max-width: 22ch; font-size: 32px; margin-bottom: var(--s3); }
.hero-photo .lede { font-size: 17px; line-height: 1.55; max-width: 62ch; }
.hero-photo .label { margin-bottom: var(--s2); }
.hero-photo .search { margin-top: var(--s4); padding: 16px; gap: var(--s3); }
.hero-photo #finder-note { margin: var(--s2) 0 0 !important; }
.hero-photo #finder-note:empty { display: none; }
/* One-line hero credit on a dark chip so it stays readable over any part of the photo. */
.hero-credit { position: relative; z-index: 2; left: auto; right: auto; bottom: auto; margin: var(--s4) 20px 0; max-width: none; text-align: left; display: table; padding: 4px 10px; border-radius: var(--r-sm); background: rgba(11, 36, 31, .82); color: #E6EEEA; font-size: 13px; line-height: 1.4; }
.hero-credit a { color: #FFFFFF; }
/* The direct answer, after the hero, as plain text rather than a callout. */
.answer-strip { padding: var(--s5) 0 var(--s6); }
.answer.answer-plain { background: none; border: 0; box-shadow: none; padding: 0; margin: 0; max-width: 72ch; font-size: 18px; }
.answer.answer-plain p { margin: 0; }
/* Equal-height tiles: each grid cell's link fills it, so long names never break a row. */
.tiles { grid-auto-rows: 1fr; }
.tiles > li { display: flex; }
.tiles .tile { width: 100%; }
.tile .name { overflow-wrap: anywhere; hyphens: auto; }
/* Card facts. */
.lcard-langs { margin: 0; font-size: 15.5px; color: var(--muted); }
.lcard .lcard-langs { grid-column: 1; }
/* Filters (lawyer city pages with 10 or more cards). Hidden until filters.js runs. */
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin: 0 0 var(--s5); display: grid; gap: var(--s3); box-shadow: var(--shadow-1); }
.filters[hidden] { display: none; }
.filters-grid { display: grid; gap: var(--s3); }
.filters .field select { min-height: 48px; }
.filters-checks { display: grid; gap: var(--s2); align-content: end; }
.filters .field.check label { font-size: 16px; }
.filters-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: var(--s3); }
.filters-count { margin: 0; font-weight: 600; color: var(--ink); }
.filters-empty { margin: 0; color: var(--accent); font-weight: 600; }
.cards > li[hidden] { display: none; }
/* Compact photo credits at the bottom of a page. */
.photo-credits-section { padding: 0 0 var(--s5); }
.photo-credits { border-top: 1px solid var(--line); padding-top: var(--s3); font-size: 15px; color: var(--muted); }
.photo-credits summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; color: var(--ink); }
.photo-credits ul { display: grid; gap: 4px; margin: var(--s2) 0; }
.photo-credits a { color: var(--muted); }
@media (min-width: 768px) {
  .hero-photo { padding: var(--s6) 0 var(--s8); }
  .hero-photo h1 { font-size: 50px; }
  .hero-photo .lede { font-size: 19px; }
  .hero-credit { position: absolute; margin: 0; left: auto; right: 16px; bottom: 10px; max-width: 60ch; }
  .hero-photo { padding-bottom: var(--s8); }
  .filters-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); align-items: end; }
}
@media (min-width: 1100px) {
  .hero-photo h1 { font-size: 56px; }
}
.photo-credits summary { list-style: none; gap: 10px; }
.photo-credits summary::-webkit-details-marker { display: none; }
.photo-credits summary::before { content: ""; width: 7px; height: 7px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(-45deg); transition: transform .15s ease; }
.photo-credits[open] summary::before { transform: rotate(45deg); }

/* ---------- Phase 4: language and guide pages ---------- */
.ctable-light { background: var(--surface); border: 1px solid var(--line); }
.ctable-light th, .ctable-light td { border-bottom-color: var(--line); color: var(--text); }
.ctable-light thead th { color: var(--ink); background: var(--tint); }
.ctable-light thead th { font-weight: 600; }
.ctable.ctable-light tbody th, .ctable.ctable-light td { color: var(--text); white-space: normal; width: auto; vertical-align: top; }
.ctable.ctable-light tbody th { color: var(--ink); font-weight: 600; }
.streets .city-group h3 { font-size: 19px; }

/* ---------- Phase 5: Premium profile ---------- */
.badge-premium { display: inline-block; margin: 0 0 8px; padding: 4px 10px; border: 1.5px solid var(--ink); border-radius: 999px; font: 600 13px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.pf-src { margin: -4px 0 12px; font-size: 14px; color: var(--muted); font-style: italic; }
.pf-areas { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 16px; }
.pf-areas h3 { font-size: 20px; margin: 0 0 4px; }
.pf-areas p { margin: 0; }
.pf-people { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 24px; }
.pf-person { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; }
.pf-person h3 { font-size: 21px; margin: 0; }
.pf-person p { margin: 4px 0 0; }
.pf-person .mono, .pf-headshot { width: 96px; height: 96px; border-radius: var(--r); object-fit: cover; }
.pf-logo img { width: 72px; height: 72px; border-radius: var(--r); object-fit: contain; display: block; }
.pf-photos { display: grid; gap: 16px; }
.pf-photos figure { margin: 0; }
.pf-photos img { width: 100%; height: auto; border-radius: var(--r); display: block; }
.pf-attest { border-top: 1px solid var(--line); padding-top: 16px; }
.sample-flag { background: #FFF4D6; border: 1.5px dashed #A23E1F; border-radius: var(--r); padding: 12px 16px; margin: 0 0 24px; }

/* ---------- Phase 6: inquiry form ---------- */
.inquiry { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.inquiry h2 { font-size: 24px; margin: 0 0 8px; }
.inquiry-form { display: grid; gap: 16px; margin-top: 16px; }
.inquiry-form textarea { width: 100%; min-height: 140px; font: inherit; padding: 12px; border: 1.5px solid var(--edge); border-radius: var(--r); background: var(--bg, #fff); }
.inquiry-form select, .inquiry-form input[type="text"], .inquiry-form input[type="email"] { width: 100%; }
.inquiry-form[hidden], .inquiry-slot[hidden] { display: none; }
.iq-warn { margin: 0; padding: 12px 14px; background: var(--tint); border-left: 3px solid var(--accent, #A23E1F); font-size: 15px; }

/* ---------- Phase 8: lawyer-or-notary quiz ---------- */
.find-cta { margin: 8px 0 0; font-size: 16px; }
.hero-photo .find-cta a { color: inherit; }
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.quiz-progress { margin: 0 0 8px; font: 600 14px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.quiz-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz-step legend { padding: 0; margin-bottom: 16px; }
.quiz-title { display: block; font: 500 26px/1.2 var(--serif, Georgia, serif); color: var(--ink); outline-offset: 4px; }
.quiz-options { display: grid; gap: 8px; }
.quiz-option { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--edge); border-radius: var(--r); background: var(--bg, #fff); }
.quiz-option input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
.quiz-option label { cursor: pointer; flex: 1; }
.quiz-option:focus-within { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }
.quiz-nav { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.quiz .field select { width: 100%; }
.find-table td { vertical-align: top; }
.find-links { margin: 0; padding: 0; list-style: none; }
.find-links li { margin: 0 0 4px; }
.find-disclaimer { margin-top: 24px; padding: 12px 14px; background: var(--tint); border-left: 3px solid var(--accent, #A23E1F); }
.yl-list li a { min-height: 44px; display: flex; align-items: center; }
@media (min-width: 768px) { .quiz { padding: 28px; } }
@media (prefers-reduced-motion: reduce) { .quiz *, .quiz { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
