/* ==========================================================================
   Nevora Sidewalk Manhattan: site stylesheet
   Hand-written, no framework. Mobile-first.

   Palette is built around the logo: its yellow and charcoal are the US
   warning-sign colours, so the type (Overpass, derived from highway signage)
   and the layout (concrete flags separated by 2px expansion joints) come from
   the same street vocabulary. Yellow is a surface/accent colour only; it is
   never used for text on a light background (1.7:1).
   ========================================================================== */

@font-face {
  font-family: "Overpass";
  src: url("../fonts/overpass-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-latin-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --yellow: #F4BC16;
  --yellow-600: #DDA70C;
  --yellow-50: #FFF8E1;
  --ink: #25282A;
  --ink-2: #4B5358;
  --paper: #FFFFFF;
  --concrete: #EEECE8;
  --slab: #F7F6F3;
  --joint: #C9C5BE;
  --line: #DEDAD3;
  --danger: #A32912;
  --danger-bg: #FDF2EF;
  --ok: #1C6B3A;
  --ok-bg: #EDF7F0;

  --f-head: "Overpass", "Segoe UI", Arial, sans-serif;
  --f-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", Verdana, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: 20px;
  --r-flag: 2px;
  --r-ctl: 6px;
  --shadow: 0 12px 32px rgba(37, 40, 42, .14);
  --ease: cubic-bezier(.2, 0, .2, 1);
  --header-h: 72px;
}

/* --- Reset ---------------------------------------------------------------- */

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

html {
  font-size: 112.5%;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--yellow-600);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover { text-decoration-color: var(--ink); }

/* --- Accessibility -------------------------------------------------------- */

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 2px;
}

.on-dark :focus-visible,
.band--ink :focus-visible { outline-color: var(--yellow); }

.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-head);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus { top: 8px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Typography ----------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 1.35rem + 3vw, 3.3rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.2rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.005em; line-height: 1.25; }
h4 { font-size: 1.05rem; font-weight: 700; }

p, li { max-width: 68ch; }

.lede { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: .85rem; }
.nums { font-variant-numeric: tabular-nums; }

.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose img { border-radius: var(--r-flag); }
.prose blockquote { padding: 16px 20px; border-left: 4px solid var(--yellow); background: var(--slab); }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--slab); font-family: var(--f-head); }
.table-scroll { overflow-x: auto; }

/* --- Layout --------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band { padding-block: 64px; }
.band--tight { padding-block: 48px; }
.band--concrete { background: var(--concrete); }
.band--ink { background: var(--ink); color: #D5D9DC; }
.band--ink h2, .band--ink h3 { color: var(--paper); }
.band--ink a:not(.btn) { color: var(--paper); }
.band--ink .lede, .band--ink .muted { color: #B9C0C4; }

.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head > * + * { margin-top: 12px; }

.stack > * + * { margin-top: 20px; }

.grid { display: grid; gap: 24px; }

.split { display: grid; gap: 40px; align-items: start; }

/* Flag grid: panels butted together with a 2px expansion joint */
.flags {
  display: grid;
  gap: 2px;
  background: var(--joint);
  border: 2px solid var(--joint);
  list-style: none;
}

.flag {
  position: relative;
  background: var(--slab);
  padding: 24px;
  border-radius: var(--r-flag);
}

.flag > * + * { margin-top: 10px; }
.flag--ink { background: var(--ink); color: #D5D9DC; }
.flag--ink h3, .flag--ink a:not(.btn) { color: var(--paper); }
.flag--yellow { background: var(--yellow); }

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--r-ctl);
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn--primary:hover { background: var(--yellow-600); border-color: var(--yellow-600); color: var(--ink); }

.btn--secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--paper); }

.band--ink .btn--secondary,
.on-dark .btn--secondary { border-color: #7A8388; color: var(--paper); }
.band--ink .btn--secondary:hover,
.on-dark .btn--secondary:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.btn--small { min-height: 44px; padding: 8px 16px; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-more {
  font-family: var(--f-head);
  font-weight: 800;
  text-decoration-thickness: 3px;
}

/* --- Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
}

.brand { flex: none; display: block; }
.brand img { width: auto; height: 40px; }

.header-actions { display: flex; gap: 8px; margin-left: auto; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-ctl);
  font-family: var(--f-head);
  font-weight: 800;
  font-size: .92rem;
  color: var(--ink);
  text-decoration: none;
}

.icon-btn svg { width: 18px; height: 18px; }
.icon-btn--solid { background: var(--ink); color: var(--paper); }

.nav { display: none; }

.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 12px;
  background: none;
  border: 0;
  border-radius: var(--r-ctl);
  font-family: var(--f-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.nav__link:hover { background: var(--concrete); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--yellow); }
.nav__link svg { width: 10px; height: 10px; transition: transform .15s var(--ease); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }

.subnav {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 300px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-ctl);
  box-shadow: var(--shadow);
  list-style: none;
}

.subnav[hidden], .mobile-nav[hidden] { display: none; }

.subnav a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
}

.subnav a:hover { background: var(--concrete); }
.subnav__all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }

.header-phone {
  display: none;
  font-family: var(--f-head);
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 8px var(--gutter) 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-nav ul { list-style: none; }

.mobile-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-head);
  font-weight: 700;
  text-decoration: none;
}

.mobile-nav .sub a { padding-left: 16px; font-family: var(--f-body); font-weight: 400; }
.mobile-nav .btn { margin-top: 16px; width: 100%; }

/* --- Hero ----------------------------------------------------------------- */

.hero { padding-block: 40px 56px; }
.hero__grid { display: grid; gap: 32px; }
.hero h1 { margin-bottom: 18px; }
.hero .lede { margin-bottom: 26px; }

.proof {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  list-style: none;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: .95rem;
}

.proof li { display: flex; gap: 10px; align-items: flex-start; }
.proof svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }

.hero__photo { margin: 0; }
.hero__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-flag); }

.hero__photo figcaption,
.photo figcaption {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 4px solid var(--yellow);
  font-size: .85rem;
  color: var(--ink-2);
}

/* --- Deadline checker (the one bold element) ------------------------------ */

.checker-band { background: var(--yellow); padding-block: 48px; }
.checker-band h2 { margin-bottom: 12px; }
.checker-band p { color: var(--ink); }

.checker { display: grid; gap: 28px; }

.checker__form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.checker__form .field { flex: 1 1 220px; margin: 0; }
.checker__form .btn { background: var(--ink); border-color: var(--ink); color: var(--paper); margin-bottom: 17px; }
.checker__form .btn:hover { background: #000; border-color: #000; }

.checker__out {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--paper);
  border-left: 6px solid var(--ink);
  border-radius: var(--r-flag);
  font-size: 1.05rem;
}

.checker__out:empty { display: none; }
.checker__out strong { font-variant-numeric: tabular-nums; }
.checker__out--past { border-left-color: var(--danger); }
.checker__out .btn { margin-top: 14px; }

.checker__note { margin-top: 14px; font-size: .85rem; }

/* --- Services ------------------------------------------------------------- */

.services { grid-template-columns: 1fr; }
.service-tile h3 a { text-decoration: none; }
.service-tile h3 a::after { content: ""; position: absolute; inset: 0; }
.service-tile:hover { background: var(--paper); }
.service-tile.flag--ink:hover { background: #1B1E20; }
.service-tile .link-more { position: relative; z-index: 1; }
.service-tile p { font-size: .95rem; }

/* --- Photos / work -------------------------------------------------------- */

.work { grid-template-columns: repeat(2, 1fr); gap: 16px; }
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-flag); background: var(--concrete); }
.photo--square img { aspect-ratio: 1; }

/* --- Features / steps / quotes -------------------------------------------- */

.features { display: grid; gap: 24px; list-style: none; }
.features li { padding-left: 20px; border-left: 4px solid var(--yellow); }
.features h3 { margin-bottom: 6px; }

.steps { display: grid; gap: 28px; list-style: none; counter-reset: step; }
.step { counter-increment: step; padding-top: 18px; border-top: 3px solid var(--ink); }
.step::before {
  content: counter(step);
  display: block;
  margin-bottom: 10px;
  font-family: var(--f-head);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.band--ink .step { border-top-color: var(--yellow); }
.band--ink .step::before { color: var(--yellow); }
.step h3 { margin-bottom: 6px; }

.quotes { display: grid; gap: 20px; list-style: none; }
.quote { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--yellow); }
.quote p { font-size: .98rem; }
.quote footer { margin-top: 16px; font-family: var(--f-head); font-weight: 800; }
.quote footer span { display: block; font-family: var(--f-body); font-weight: 400; font-size: .85rem; color: var(--ink-2); }

/* --- FAQ ------------------------------------------------------------------ */

.faq { border-top: 1px solid var(--joint); }
.faq details { border-bottom: 1px solid var(--joint); }

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 400;
}

.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding-bottom: 20px; color: var(--ink-2); }

/* --- Breadcrumbs / page head ---------------------------------------------- */

.page-head { padding-block: 32px 40px; background: var(--concrete); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-top: 14px; }
.page-head .lede { margin-top: 14px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; font-size: .85rem; }
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--ink-2); }
.crumbs a { display: inline-flex; min-height: 24px; align-items: center; color: var(--ink-2); }
.crumbs [aria-current="page"] { font-weight: 700; }

/* --- Forms ---------------------------------------------------------------- */

.form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-family: var(--f-head); font-weight: 700; font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--ink-2); }
.req { color: var(--danger); }

.input, .select, .textarea {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  background: var(--paper);
  border: 2px solid var(--joint);
  border-radius: var(--r-ctl);
  font-size: 1rem;
  color: var(--ink);
}

.textarea { min-height: 140px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--ink); }

[aria-invalid="true"] { border-color: var(--danger) !important; background: var(--danger-bg); }

.err { font-size: .85rem; font-weight: 700; color: var(--danger); }

fieldset.field { margin: 0; padding: 0; border: 0; }

.choices { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.choice, .consent { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding-top: 10px; }
.choice input, .consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 18px 20px; border: 2px solid; border-radius: var(--r-ctl); }
.alert h2 { font-size: 1.05rem; margin-bottom: 8px; color: inherit; }
.alert ul { padding-left: 1.2em; }
.alert a { color: inherit; font-weight: 700; }
.alert--error { background: var(--danger-bg); border-color: var(--danger); color: #7B1F0D; }
.alert--ok { background: var(--ok-bg); border-color: var(--ok); color: #124A27; }

.panel { padding: 24px; background: var(--slab); border: 1px solid var(--line); }
.panel--ink { background: var(--ink); color: #D5D9DC; border-color: var(--ink); }
.panel--ink h2, .panel--ink h3, .panel--ink a:not(.btn) { color: var(--paper); }

/* A 37-character email address is one unbreakable word; let it wrap. */
a[href^="mailto:"] { overflow-wrap: anywhere; }

.big-phone { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.2rem); text-decoration: none; }

.map-facade {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 260px;
  padding: 24px;
  background: var(--concrete);
  border: 2px dashed var(--joint);
  border-radius: var(--r-flag);
  font-family: var(--f-head);
  font-weight: 800;
  color: var(--ink);
}

/* --- Blog ----------------------------------------------------------------- */

.posts { display: grid; gap: 24px; list-style: none; }
.post-card { display: flex; flex-direction: column; background: var(--slab); border: 1px solid var(--line); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.post-card time { font-size: .85rem; color: var(--ink-2); }
.post-card h2, .post-card h3 { font-size: 1.15rem; }
.post-card h2 a, .post-card h3 a { text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { text-decoration: underline; }

.pager { display: flex; gap: 12px; justify-content: space-between; margin-top: 32px; }

.byline { font-size: .9rem; color: var(--ink-2); }

/* --- Footer --------------------------------------------------------------- */

.site-footer { background: var(--concrete); border-top: 4px solid var(--yellow); padding-block: 56px 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; }
.site-footer h2 { font-size: 1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; }
.site-footer li + li { margin-top: 6px; }
.site-footer li a { display: inline-block; padding-block: 3px; }
.site-footer address { font-style: normal; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--joint); font-size: .85rem; color: var(--ink-2); }
.footer-legal ul { display: flex; gap: 16px; }

/* --- Mobile action bar ---------------------------------------------------- */

.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 8px;
  padding: 8px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
}

.action-bar .btn { flex: 1; min-height: 48px; padding-inline: 8px; }
.has-action-bar { padding-bottom: 72px; }

/* --- Breakpoints ---------------------------------------------------------- */

@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .band { padding-block: 80px; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .proof { grid-template-columns: repeat(2, auto); column-gap: 28px; }
  .work { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .hero { padding-block: 64px 80px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--wide-left { grid-template-columns: 1.4fr 1fr; }
  .checker { grid-template-columns: 1fr 1.1fr; align-items: start; gap: 48px; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .service-tile--lead { grid-column: span 2; }
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .posts { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .work { grid-template-columns: repeat(4, 1fr); }
  .work .photo:first-child { grid-column: span 2; grid-row: span 2; }
  .work .photo:first-child img { aspect-ratio: auto; height: 100%; }
}

@media (min-width: 1000px) {
  .nav { display: block; margin-left: auto; }
  .header-actions .menu-toggle, .header-actions .call-btn { display: none; }
  .header-actions { margin-left: 8px; align-items: center; gap: 16px; }
  .brand img { height: 44px; }
}

@media (min-width: 1180px) {
  .header-phone { display: inline-block; }
}

@media (min-width: 900px) {
  .action-bar { display: none; }
  .has-action-bar { padding-bottom: 0; }
}

/* --- Motion + print ------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .action-bar, .checker-band, .site-footer, .skip-link { display: none !important; }
  .has-action-bar { padding-bottom: 0; }
  a { text-decoration: none; }
}

/* Header CTA shows only once the full nav fits; the mobile menu never lingers on desktop. */
.header-cta { display: none; }
@media (min-width: 1000px) {
  .header-cta { display: inline-flex; }
  .mobile-nav { display: none !important; }
}

/* --- Page-level refinements ---------------------------------------------- */

.hero__photo img { aspect-ratio: 16 / 9; }

.checker-band .hint { color: var(--ink); }

.checklist { display: grid; gap: 10px; list-style: none; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .42em;
  width: 15px;
  height: 8px;
  border-left: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(-45deg);
}

.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote figcaption { margin-top: 16px; font-family: var(--f-head); font-weight: 800; }
.quote figcaption span { display: block; font-family: var(--f-body); font-weight: 400; font-size: .85rem; color: var(--ink-2); }

.service-tile.flag--ink .link-more { color: var(--paper); }

.work .photo:first-child { grid-column: span 2; }

.page-head .btn-row { margin-top: 24px; }
.page-head .photo img { border: 2px solid var(--joint); }

.inline-list { display: flex; flex-wrap: wrap; gap: 8px 12px; list-style: none; }
.inline-list li { padding: 6px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-ctl); font-size: .92rem; }

@media (min-width: 640px) {
  .work .photo:first-child { grid-column: auto; }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .steps--4 { grid-template-columns: repeat(4, 1fr); }
  .work .photo:first-child { grid-column: span 2; grid-row: span 2; }
}

/* WCAG 2.2 target size (24x24 minimum) for controls and stand-alone links. */
.choice input, .consent input { width: 24px; height: 24px; }
.link-more { display: inline-block; padding-block: 3px; }
.site-footer address a { display: inline-block; padding-block: 2px; }

/* Grid and flex children may shrink below their content's width. Without this a
   <select> sizes its column to its longest option and pushes the page sideways. */
.split > *, .hero__grid > *, .checker > *, .form > *, .form-row > *, .field { min-width: 0; }
.input, .select, .textarea { max-width: 100%; }

/* Narrow reading column that keeps the page's left edge. */
.wrap--narrow > * { max-width: 860px; }

.photo img { background: #E3E0DA; }

@media (min-width: 900px) {
  .hero h1 { font-size: clamp(2.2rem, 1.2rem + 2.6vw, 3rem); }
  .hero__photo img { aspect-ratio: 4 / 3; }
}

/* Keep focused fields clear of the fixed call bar on phones (WCAG 2.4.11). */
@media (max-width: 899px) {
  html { scroll-padding-bottom: 88px; }
}

/* The hidden attribute must always win. Without this, `.field { display: flex }`
   overrides it and the conditional notice-date field never hides. */
[hidden] { display: none !important; }

/* Inputs show focus however they receive it. A date input's focus lands inside
   its shadow DOM, where :focus-visible does not reliably match the host. */
.input:focus, .select:focus, .textarea:focus {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

/* A date input keeps focus inside its shadow DOM, so :focus alone does not
   always reach the element itself; :focus-within does. */
.input:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }

/* Link pills (area and service lists). The link fills the pill so the whole
   chip is the tap target, not just the text inside it. */
.inline-list--links li { padding: 0; }
.inline-list--links a { display: block; padding: 8px 14px; font-family: var(--f-head); font-weight: 700; text-decoration: none; border-radius: inherit; }
.inline-list--links a:hover { background: var(--concrete); }
.band--concrete .inline-list--links a:hover { background: var(--slab); }
.area-zips { font-size: .85rem; color: var(--ink-2); }

/* --- Dropdowns: Areas (desktop, two columns) and mobile groups ------------ */

.subnav--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4px; min-width: 440px; }
.subnav--cols .subnav__all { grid-column: 1 / -1; }
.subnav a[aria-current="page"] { background: var(--concrete); box-shadow: inset 3px 0 0 var(--yellow); }

.mobile-nav summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-head);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary svg { width: 12px; height: 12px; transition: transform .15s var(--ease); }
.mobile-nav details[open] > summary svg { transform: rotate(180deg); }
.mobile-nav summary:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.mobile-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--yellow); padding-left: 12px; }
.mobile-nav .sub a[aria-current="page"] { padding-left: 16px; }

/* Header labels never break onto two lines. Between 1000px and the width where
   the phone number appears, the links sit a little closer so everything fits. */
.nav__link, .header-cta { white-space: nowrap; }
@media (min-width: 1000px) and (max-width: 1179px) {
  .nav__link { padding-inline: 8px; }
  .header-actions { gap: 12px; }
}
.mobile-nav summary { -webkit-tap-highlight-color: transparent; }
.mobile-nav summary:active { background: var(--concrete); }

/* --- E-E-A-T: credentials, sources, author box ----------------------------- */

.flags.creds { grid-template-columns: 1fr; }
@media (min-width: 700px) { .flags.creds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .flags.creds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cred { display: flex; flex-direction: column; gap: 10px; }
.cred h4 { font-family: var(--f-head); font-size: 1.08rem; line-height: 1.3; }
.cred p { font-size: .95rem; }
.cred__link { margin-top: auto; padding-top: 4px; font-family: var(--f-head); font-weight: 700; }
.cred__issuer { color: var(--ink-2); font-size: .9rem; }
.cred__need {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-head);
  font-size: .78rem;
  font-weight: 700;
}
.cred__need--good { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.cred__facts { display: grid; gap: 4px; font-size: .95rem; }
.cred__facts div { display: flex; gap: 8px; }
.cred__facts dt { min-width: 84px; color: var(--ink-2); }
.cred__facts dd { margin: 0; font-weight: 700; }

.sources { margin-top: 28px; padding: 18px 20px; border-left: 4px solid var(--yellow); background: var(--slab); }
.sources h3 { margin: 0 0 8px; font-size: 1rem; }
.sources ul { margin: 0 0 10px; padding-left: 1.2em; }
.sources li { margin: 4px 0; }
.sources p { margin: 0; font-size: .9rem; color: var(--ink-2); }

.author-box { margin-top: 40px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--slab); }
.author-box h2 { margin: 0 0 8px; font-size: 1.15rem; }
.author-box p { font-size: .95rem; }
.author-box p + p { margin-top: 8px; }
.cred > * + * { margin-top: 0; }

/* --- Home trust bar: own badges, then confirmed logos ----------------------- */

.trustbar { background: var(--paper); border-block: 1px solid var(--line); padding-block: 24px; }
.seals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; list-style: none; }
@media (min-width: 640px) { .seals { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .seals { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
.seal { display: flex; align-items: center; gap: 12px; min-width: 0; }
.seal__mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 5px var(--yellow);
}
.seal__mark svg { width: 24px; height: 24px; }
.seal__text { font-size: .86rem; line-height: 1.3; color: var(--ink-2); }
.seal__text strong { display: block; font-family: var(--f-head); font-size: 1rem; font-weight: 800; color: var(--ink); }
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); list-style: none; }
.logos img { height: 48px; width: auto; }
.logos a { display: inline-flex; min-height: 44px; align-items: center; }
.logo-badge { flex-direction: column; align-items: flex-start !important; justify-content: center; padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r-ctl); text-decoration: none; font-size: .82rem; color: var(--ink-2); }
.logo-badge strong { font-family: var(--f-head); font-size: .92rem; color: var(--ink); }
.trustbar__more { margin-top: 16px; font-size: .9rem; }
/* Badge text may shrink and wrap inside its column; very narrow phones get a smaller mark. */
.seal__text { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 379px) {
  .seals { column-gap: 12px; }
  .seal { gap: 10px; }
  .seal__mark { width: 44px; height: 44px; }
  .seal__mark svg { width: 20px; height: 20px; }
}
