/* Taskey Law — draft styles (Home + Probate)
   Calm professional: warm paper/ink, deep slate-teal, copper CTA.
   WCAG 2.2 AA intent. Static draft. */

:root {
  --paper: #f7f3ec;
  --paper-deep: #efe8dc;
  --ink: #1c2428;
  --ink-muted: #4a5560;
  --teal: #1b3a5c;
  --teal-deep: #12283f;
  --teal-soft: #dde5ee;
  --copper: #8a6516;
  --copper-hover: #6e500f;
  --line: #d4cbbd;
  --white: #fffcf7;
  --focus: #1f5f99;
  --radius: 6px;
  --max: 68rem;
  --gold: #c9a227;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", Times, serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-deep);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--teal-deep);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--white);
  border-top: 4px solid var(--gold);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
}

.brand-mark {
  display: block;
  width: auto;
  height: 34px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

@media (max-width: 380px) {
  .brand-mark { height: 28px; }
  .brand-name { font-size: 1.1rem; }
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--teal-deep);
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  background: var(--teal);
  color: var(--white);
  border: 0;
  border-radius: var(--radius);
  padding: 0.5rem 0.85rem;
  font: inherit;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--teal);
  text-decoration: underline;
}

@media (max-width: 62rem) { /* was 52rem */
  .brand {
    flex: 1 1 0;
    min-width: 0;
  }
  .brand-mark { height: 30px; }
  .brand-name { font-size: 1.05rem; }
  .brand-tag { font-size: 0.68rem; letter-spacing: 0.03em; }
  .nav-toggle {
    display: inline-block;
    flex: none;
    min-height: 44px;
  }
  .site-nav {
    display: none;
    width: 100%;
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    padding: 0.5rem 0 0.75rem;
    gap: 0.15rem;
  }
}

/* Hero */
.hero {
  background:
    linear-gradient(165deg, var(--teal-deep) 0%, var(--teal) 55%, #24507a 100%);
  color: var(--white);
  padding: 3.25rem 0 3.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.hero .lede {
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 0 1.75rem;
  color: #e8f0f1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.3;
}

.btn-primary {
  background: var(--copper);
  color: var(--white);
  border-color: var(--copper);
}

.btn-primary:hover {
  background: var(--copper-hover);
  border-color: var(--copper-hover);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 252, 247, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 252, 247, 0.12);
  color: var(--white);
}

.btn-on-light {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.btn-on-light:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal-soft);
  color: var(--teal-deep);
}

/* Sections */
.section {
  padding: 2.75rem 0;
}

.section-alt {
  background: var(--paper-deep);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  color: var(--teal-deep);
  margin: 0 0 1rem;
}

.section-intro {
  max-width: 40rem;
  color: var(--ink-muted);
  margin: 0 0 1.75rem;
}

/* Service cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0;
  color: var(--teal-deep);
}

.card p {
  margin: 0;
  flex: 1;
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.card a.card-link {
  font-weight: 600;
  text-decoration: none;
  margin-top: 0.35rem;
}

.card a.card-link:hover {
  text-decoration: underline;
}

/* Proof / hours strip */
.proof-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.75rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.35rem 1.5rem;
}

.proof-photo {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: var(--teal-soft);
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--teal);
  font-size: 0.7rem;
  text-align: center;
  padding: 0.5rem;
  line-height: 1.25;
}

.proof-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.proof-photo:has(img) {
  padding: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.proof-photo--lg {
  width: 8rem;
  height: 8rem;
}


.proof-meta strong {
  display: block;
  font-size: 1.05rem;
  color: var(--teal-deep);
}

.proof-meta p {
  margin: 0.35rem 0 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.hours-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 1.75rem 0 0;
  font-size: 0.95rem;
}

.hours-strip dt {
  font-weight: 700;
  color: var(--teal-deep);
  margin: 0;
}

.hours-strip dd {
  margin: 0.15rem 0 0;
  color: var(--ink-muted);
}

.hours-item {
  min-width: 10rem;
}

/* Callout / notes */
.callout {
  background: var(--teal-soft);
  border-left: 4px solid var(--teal);
  padding: 1rem 1.15rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.25rem 0;
}

.callout p {
  margin: 0;
  color: var(--ink);
}

.fee-note,
.consult-note {
  color: var(--ink-muted);
  font-size: 0.98rem;
  max-width: 40rem;
}

.cta-band {
  background: var(--teal-deep);
  color: var(--white);
  padding: 2.25rem 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin: 0 0 0.65rem;
}

.cta-band p {
  margin: 0 auto 1.25rem;
  max-width: 36rem;
  color: #d5e4e6;
}

.cta-band .hero-actions {
  justify-content: center;
}

/* Page hero (inner) */
.page-hero {
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line);
  padding: 2.25rem 0 2rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  color: var(--teal-deep);
  margin: 0 0 0.65rem;
}

.page-hero .lede {
  margin: 0;
  max-width: 40rem;
  color: var(--ink-muted);
}

.breadcrumb {
  font-size: 0.875rem;
  margin: 0 0 0.85rem;
  color: var(--ink-muted);
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  content: "/" / "";
  margin-left: 0.35rem;
  color: var(--line);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2rem;
}

.prose p,
.prose ul {
  color: var(--ink);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.stub-banner {
  background: #f3e6d4;
  border: 1px solid #d4b896;
  color: #5a3d22;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.notice-muted {
  font-size: 0.875rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #c5ccd0;
  padding: 2.25rem 0 1.5rem;
  margin-top: 0;
}

.site-footer a {
  color: #e8ecee;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.site-footer h2,
.site-footer h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin: 0 0 0.65rem;
}

.site-footer p,
.site-footer address {
  margin: 0;
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 0.35rem;
}

.footer-bottom {
  border-top: 1px solid #3a4448;
  padding-top: 1rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}

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

/* Spacing utilities (replace former inline styles) */
.mt-sm { margin-top: 0.75rem; }
.mt-lg { margin-top: 1.5rem; }
.ml-xs { margin-left: 0.5rem; }
.addr-plain { font-style: normal; }

/* Reviews */
.review {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--copper);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.review p { margin: 0 0 0.5rem; font-size: 1.05rem; color: var(--ink); }
.review footer { font-size: 0.92rem; color: var(--ink-muted); }
.review cite { font-style: normal; }
.review-placeholder { border-style: dashed; border-left-style: solid; }
.review-link-placeholder { font-style: italic; color: var(--ink-muted); }
.callout p + p { margin-top: 0.75rem; }

/* Privacy draft banner spacing */
.page-hero .stub-banner + .lede { margin-top: 1rem; }

/* Estate forms: large labels, clear focus, 44px targets, error summary */
.h1-sub { display: block; font-size: 0.6em; font-weight: 400; color: var(--ink-muted); margin-top: 0.25rem; }
.estate-form { max-width: 44rem; }
.ef-section { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 1rem 1.25rem 0.5rem; margin: 0 0 2rem; min-width: 0; }
.ef-section > legend { padding: 0 0.4rem; }
.ef-section > legend h2 { margin: 0; font-size: 1.4rem; color: var(--teal); }
.section-note { color: var(--ink-muted); margin: 0.25rem 0 1rem; }
.estate-form .field { margin: 0 0 1.4rem; }
.estate-form label, .estate-form .field-choice > legend { display: block; font-weight: 700; font-size: 1.125rem; line-height: 1.4; margin-bottom: 0.35rem; color: var(--ink); }
.estate-form .field-choice { border: 0; padding: 0; margin: 0 0 1.4rem; min-width: 0; }
.estate-form .field-choice > legend { padding: 0; }
.estate-form .hint { font-size: 1rem; color: var(--ink-muted); margin: 0 0 0.4rem; }
.estate-form input[type=text], .estate-form input[type=email], .estate-form input[type=tel], .estate-form select, .estate-form textarea {
  display: block; width: 100%; box-sizing: border-box; min-height: 48px; padding: 0.6rem 0.75rem; font: inherit; font-size: 1.125rem;
  color: var(--ink); background: #fff; border: 2px solid var(--ink-muted); border-radius: var(--radius); }
.estate-form .input-short { max-width: 18rem; }
.estate-form textarea { line-height: 1.5; resize: vertical; }
.estate-form input:focus, .estate-form select:focus, .estate-form textarea:focus, .estate-form .choice input:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.estate-form .choice { display: flex; align-items: center; gap: 0.6rem; min-height: 44px; }
.estate-form .choice input { width: 1.5rem; height: 1.5rem; margin: 0; flex: none; accent-color: var(--teal); }
.estate-form .choice label { font-weight: 400; margin: 0; padding: 0.5rem 0; cursor: pointer; }
.estate-form .req { font-weight: 400; color: var(--copper); }
.estate-form .field input[aria-invalid=true], .estate-form .field select[aria-invalid=true], .estate-form .field textarea[aria-invalid=true] { border-color: #a4262c; border-width: 3px; }
.estate-form .field .field-error { color: #a4262c; font-weight: 700; margin: 0 0 0.4rem; }
.estate-form .field .field-error::before { content: "Error: "; }
.error-summary { border: 3px solid #a4262c; border-radius: var(--radius); background: #fff; padding: 1rem 1.25rem; margin: 0 0 1.5rem; }
.error-summary h2 { margin-top: 0; font-size: 1.3rem; color: #a4262c; }
.error-summary a { color: #a4262c; font-weight: 700; }
.error-summary:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.estate-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.estate-form .btn-send { font-size: 1.15rem; min-height: 52px; padding: 0.8rem 1.6rem; border: 0; cursor: pointer; }
.form-note { color: var(--ink-muted); }
.ef-jump ol { columns: 2; column-gap: 2rem; }
@media (max-width: 600px) { .ef-jump ol { columns: 1; } .ef-section { padding: 0.75rem 0.85rem 0.25rem; } }


/* About — Kilimanjaro figure */
.about-kili{margin:1.25rem 0 1.5rem;max-width:40rem}
.about-kili img{display:block;width:100%;height:auto;border-radius:4px}
.about-kili figcaption{margin-top:.5rem;font-size:.875rem;color:var(--muted,#4a5560)}


/* ===== design/UX patch 2026-11-02 ===== */
/* Consent banner real root: #as-consent-banner, hidden via [hidden] attribute.
   consent-banner.js sets --as-consent-pad (banner height) on <html> and body.as-consent-open. */

/* sticky header must not hide anchors or focused fields (WCAG 2.4.11) */
html { scroll-padding-top: 6rem; }
html:has(.mbar) { scroll-padding-bottom: 5rem; }
html:has(#as-consent-banner:not([hidden])) { scroll-padding-bottom: calc(var(--as-consent-pad, 10rem) + 1rem); }

/* visible focus on dark surfaces (WCAG 1.4.11) */
.hero :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible { outline-color: #fffcf7; }

/* buttons use the site font */
button.btn { font: inherit; font-weight: 600; cursor: pointer; }

/* hero button rows */
.page-hero p.mt-lg:has(.btn) { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.page-hero .ml-xs { margin-left: 0; }

/* tel links on dark bands */
.hero .tel-link, .hero a[href^="tel:"],
.cta-band .tel-link, .cta-band a[href^="tel:"] { color: var(--white); font-weight: 600; }
.tel-link { display: inline-block; padding-block: 0.15rem; }

/* phone text at full size */
.site-footer small,
.hours-strip small { font-size: inherit; }

/* WCAG 2.5.8 footer targets */
.site-footer p.mt-sm a{display:inline-block;min-height:24px;line-height:24px}

/* align reading column with hero/header left edge */
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 42rem; }

/* nav (existing breakpoint moved 52rem -> 62rem above) */
@media (max-width: 62rem) {
  .site-nav a { display: flex; align-items: center; min-height: 44px; font-size: 1.0625rem; }
  /* no-JS fallback. Gated on html.no-js so it is inert until the markup adds class="no-js" to <html>
     and, first in <head>: <script>document.documentElement.classList.replace('no-js','js')</script> */
  html.no-js .nav-toggle { display: none; }
  html.no-js .site-nav { display: block; width: 100%; }
}
/* keep brand + nav on one row (measured: logo lockup ~333px, nav ~738px at 0.95rem) */
@media (min-width: 62.01rem) and (max-width: 75rem) {
  .header-inner { gap: 0.75rem 1rem; }
  .brand-mark { height: 30px; }
  .site-nav ul { gap: 0.25rem 0.5rem; }
  .site-nav a { font-size: 0.875rem; }
}
@media (min-width: 75.01rem) {
  .header-inner { gap: 0.75rem 1.25rem; }
  .site-nav ul { gap: 0.25rem 0.85rem; }
}
@media (min-width: 62.01rem) and (max-width: 64rem) {
  .header-inner { column-gap: 0.75rem; }
  .site-nav a { font-size: 0.85rem; }
}
/* phones, keep the name on one line beside the Menu button */
@media (max-width: 25rem) {
  .header-inner { column-gap: 0.75rem; }
  .brand { gap: 0.5rem; }
  .brand-mark { height: 26px; }
  .brand-name { font-size: 1rem; }
  .nav-toggle { padding-inline: 0.7rem; }
}
@media (max-width: 23rem) {
  .brand-name { font-size: 0.95rem; }
}

/* mobile action bar */
.mbar { display: none; }
@media (max-width: 62rem) {
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
    padding: 0.5rem max(0.75rem, env(safe-area-inset-right))
             calc(0.5rem + env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 -2px 8px rgba(28, 36, 40, 0.08);
  }
  body:has(.mbar) { padding-bottom: calc(4.25rem + env(safe-area-inset-bottom)); }
  .mbar-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.45rem;
    min-height: 48px; border-radius: var(--radius);
    font-weight: 700; font-size: 1rem; text-decoration: none; color: var(--white);
    white-space: nowrap;
  }
  .mbar-btn svg { flex: none; }
  .mbar-call { background: var(--teal); }
  .mbar-msg { background: var(--copper); }
  .mbar-call:hover { background: var(--teal-deep); color: var(--white); }
  .mbar-msg:hover { background: var(--copper-hover); color: var(--white); }
  .mbar-btn:focus-visible { outline-color: var(--teal-deep); }
  /* One fixed layer at a time: hide the bar while the consent choice is open */
  html:has(#as-consent-banner:not([hidden])) .mbar { display: none; }
}

/* consent banner on phones (body padding while open; JS supplies --as-consent-pad) */
html:has(#as-consent-banner:not([hidden])) body { padding-bottom: var(--as-consent-pad, 10rem); }
@media (max-width: 40rem) {
  #as-consent-banner .as-consent-inner { gap: 0.5rem; padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom)); }
  #as-consent-banner .as-consent-copy { font-size: 0.875rem; line-height: 1.45; }
  #as-consent-banner .as-consent-actions { display: flex; flex-wrap: nowrap; gap: 0.5rem; margin-top: 0; }
  #as-consent-banner .as-consent-btn { min-height: 44px; flex: 1; }
}

/* Home services grid: probate card tall, 2x2 beside it */
@media (min-width: 62rem) {
  #help-heading + .card-grid { grid-template-columns: repeat(3, 1fr); }
  #help-heading + .card-grid > .card:first-child { grid-row: span 2; }
}
.card ul { margin: 0; padding-left: 1.1rem; color: var(--ink-muted); font-size: 0.98rem; }

/* Estates hub: 2-up, form card full width as the action */
@media (min-width: 40rem) {
  #topics-heading + .card-grid { grid-template-columns: repeat(2, 1fr); }
  #topics-heading + .card-grid > .card:last-child { grid-column: 1 / -1; background: var(--teal-soft); border-color: var(--teal-soft); }
}

/* CTA band heading matches other h2s */
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 1.85rem); }

/* proof bar stacks on phones */
@media (max-width: 36rem) {
  .proof-bar { grid-template-columns: 1fr; justify-items: start; }
}

/* FAQ disclosures */
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; display: flex; align-items: center; min-height: 44px; padding: 0.6rem 0; }
summary::-webkit-details-marker { display: none; }
summary::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; margin-right: 0.75rem;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); transition: transform 0.15s; }
details[open] > summary::before { transform: rotate(45deg); }
details > p { margin-top: 0; }

/* hero credentials as a compact row */
.hero ul.mt-lg { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; font-size: 0.95rem; color: #e8f0f1; }
.hero ul.mt-lg li::before { content: ""; display: inline-block; width: 0.4rem; height: 0.4rem; border-radius: 50%;
  background: var(--gold); margin-right: 0.5rem; vertical-align: 0.15em; }

/* desktop hero headline on two lines */
@media (min-width: 62rem) { .hero h1 { max-width: 24ch; } }

/* footer sits at the bottom on short pages */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }

/* breadcrumb tap height */
.breadcrumb a { display: inline-block; padding-block: 0.15rem; }

/* Narrow phones: keep the Menu button beside the brand */
@media (max-width: 22.5rem) { .brand-tag { font-size: 0.65rem; letter-spacing: 0.02em; } }

/* print (executor guide "Print this page") */
@media print {
  body { display: block; background: #fff; color: #000; font-size: 11pt; line-height: 1.45; padding: 0 !important; }
  .site-header { position: static; border: 0; }
  .nav-toggle, .site-nav, .skip-link, .breadcrumb, .cta-band, .mbar, #as-consent-banner,
  .page-hero .btn, .hero-actions, .footer-nav, [data-as-cookie-settings] { display: none !important; }
  .hero, .page-hero, .section-alt, .callout, .card, .site-footer { background: none !important; color: #000 !important; }
  .site-footer a, a { color: #000; }
  .wrap.prose > * { max-width: none; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  h2, h3 { break-after: avoid; }
  li, .callout { break-inside: avoid; }
}

/* long footer links wrap on narrow phones */
.site-footer a { overflow-wrap: anywhere; }
