/* Garnet Disability public website (garnetdisability.com).
   Garnet look from Garnet CRM (David, 2026-11-01): blush ground, plum ink,
   garnet accent, deep-garnet hero and footer. Atkinson Hyperlegible for body
   text (built for low-vision readers, apt for a disability practice), Source
   Serif 4 for headings. Light only, like the other firm sites.
   Contrast ratios are computed by scripts/check-pages.mjs and printed there. */

:root {
  --deep: #4a0f1c; --garnet: #8f1d30; --garnet-dark: #731627; --rose: #f2a9b8;
  --tint: #f6e3e6; --tint-edge: #e8c3ca;
  --blush: #f6f2ef; --white: #FFFFFF; --sand: #efe7e3;
  --ink: #221a1d; --body: #463a3f; --muted: #6b5c62; --hero-copy: #ecd3d8;
  --line: #e6dcd8;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wrap: 1080px;
  --gutter: clamp(16px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--blush); color: var(--body);
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--garnet); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.15; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--garnet); outline-offset: 3px; }

/* ---------- top bar ---------- */
.topbar { background: var(--blush); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; padding-top: env(safe-area-inset-top); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo { display: block; flex: none; line-height: 0; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav a { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--body); padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--garnet); }
.nav a:hover { color: var(--ink); }
.nav .btn-nav { background: var(--garnet); color: var(--white); border: 0; padding: 11px 16px; border-radius: 4px; font-weight: 600; letter-spacing: .1em; }
.nav .btn-nav:hover { background: var(--deep); color: var(--white); }
.menu { display: none; }

@media (max-width: 860px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); min-height: 44px; touch-action: manipulation; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { border-color: var(--garnet); }
  .menu-list { position: absolute; right: 0; top: calc(100% + 8px); background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 14px 30px rgba(74, 15, 28, .14); padding: 8px; min-width: 230px; display: flex; flex-direction: column; }
  .menu-list a { display: block; padding: 13px 14px; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink); border-radius: 6px; }
  .menu-list a[aria-current="page"] { background: var(--sand); font-weight: 600; }
  .menu-list a.btn-nav { background: var(--garnet); color: var(--white); text-align: center; margin-top: 6px; font-weight: 600; }
  .logo img { height: 38px; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 22px; border-radius: 4px; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; touch-action: manipulation; }
.btn-accent { background: var(--garnet); color: var(--white); }
.btn-accent:hover { background: var(--garnet-dark); color: var(--white); }
.hero .btn-accent, .closing .btn-accent { background: var(--white); color: var(--garnet); }
.hero .btn-accent:hover, .closing .btn-accent:hover { background: var(--tint); color: var(--garnet-dark); }
.btn-inverse { background: var(--blush); color: var(--garnet); border-color: var(--line); }
.btn-inverse:hover { background: var(--white); color: var(--deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- bands ---------- */
.band { padding: clamp(56px, 8vw, 96px) 0; }
.band-white { background: var(--white); }
.band-bone { background: var(--blush); }
.band-grey { background: var(--sand); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--garnet); margin-bottom: 14px; }
.rule { width: 48px; height: 2px; background: var(--garnet); border: 0; margin: 22px 0; opacity: .8; }
.lede { font-size: 17px; color: var(--body); max-width: 620px; }

/* hero */
.hero { background: var(--deep); color: var(--blush); padding: clamp(64px, 10vw, 112px) 0 clamp(56px, 8vw, 88px); }
.hero .eyebrow { color: var(--rose); }
.hero h1 { color: var(--blush); font-size: clamp(34px, 5.4vw, 52px); max-width: 760px; }
.hero p.lede { color: var(--hero-copy); margin: 22px 0 34px; font-size: clamp(16px, 1.8vw, 18px); max-width: 600px; }
.facets { display: block; margin-top: 44px; width: min(280px, 70%); height: auto; }
.hero.short { padding: clamp(52px, 8vw, 84px) 0; }
.hero.short h1 { font-size: clamp(32px, 4.6vw, 46px); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.stat b { display: block; font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1; color: var(--ink); margin-bottom: 10px; }
.stat span { display: block; font-size: 13px; line-height: 1.6; color: var(--muted); }
@media (max-width: 640px) { .stats { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* cards */
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 36px); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 30px 28px; box-shadow: 0 1px 2px rgba(74, 15, 28, .05); }
.card.accent { border-top: 3px solid var(--garnet); }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 14px; line-height: 1.7; }
@media (max-width: 860px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* split + callout */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split h2 { font-size: clamp(28px, 3.6vw, 36px); }
.callout { background: var(--tint); border: 1px solid var(--tint-edge); border-radius: 6px; padding: 26px 28px; }
.callout .label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.callout p { font-size: 14px; line-height: 1.7; color: var(--body); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* closing band */
.closing { background: var(--garnet); padding: clamp(48px, 7vw, 72px) 0; }
.closing .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.closing .eyebrow { color: #e2c6cc; }
.closing h2 { color: var(--blush); font-size: clamp(26px, 3.4vw, 34px); }

/* steps (how appeals work) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 24px 26px 24px 78px; position: relative; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 24px; top: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--garnet); color: var(--blush); font-family: var(--serif); font-weight: 600; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.steps h3 { font-size: 20px; margin-bottom: 6px; }
.steps p { font-size: 15px; }
.prose { max-width: 720px; }
.prose p + p { margin-top: 14px; }
.prose h2 { font-size: clamp(26px, 3.2vw, 32px); margin-bottom: 14px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.placeholder { background: #FFF6D6; outline: 1px dashed #B08A3E; padding: 0 4px; border-radius: 3px; color: #5A4310; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
form.review { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 4vw, 34px); display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.field input, .field textarea, .field select { font: inherit; font-size: 16px; color: var(--ink); background: var(--blush); border: 1px solid #cbbcb6; border-radius: 4px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--garnet); outline: 2px solid var(--garnet); outline-offset: 1px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .two { grid-template-columns: minmax(0, 1fr); } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.6; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--garnet); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14px; border-radius: 4px; padding: 12px 14px; display: none; }
.form-status.ok { display: block; background: #E3F1EA; color: #14513C; border: 1px solid #A9D2BF; }
.form-status.err { display: block; background: #FBE9E6; color: #8A2A1C; border: 1px solid #EBB8AE; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list .k { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--garnet); }
.contact-list .v { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--ink); font-size: 15.5px; }
.copy { font: inherit; font-size: 12px; font-weight: 600; color: var(--garnet); background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 6px 10px; min-height: 32px; cursor: pointer; touch-action: manipulation; }
.copy:hover { border-color: var(--garnet); }

/* footer */
.footer { background: var(--deep); color: #e2c6cc; padding: 56px 0 calc(36px + env(safe-area-inset-bottom)); font-size: 13.5px; }
.footer .top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer .logo img { height: 52px; }
.footer address { font-style: normal; line-height: 1.8; }
.footer a { color: var(--blush); }
.footer a:hover { color: var(--rose); }
.footer .fnav { display: flex; flex-direction: column; gap: 8px; }
.footer .fnav a { text-decoration: none; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.footer .legal { border-top: 1px solid #6a2232; margin-top: 36px; padding-top: 22px; font-size: 12.5px; line-height: 1.7; color: #e2c6cc; }
.footer .legal p + p { margin-top: 8px; }

/* photo heroes: garnet tint heaviest behind the text; worst-case contrast is computed in check-pages.mjs.
   Worst case is a pure white pixel under the tint. Desktop text column stays
   left of 60%, where the tint is >= .80: 255*.2 + 8*.8 = 57 -> #393939-ish,
   bone #F7F5F1 on it = 11.4:1; gold eyebrow #C9A56A on it = 5.6:1.
   Phones use a flat .84 tint: bone 12.6:1, gold 6.2:1. */
.hero.photo {
  background-color: var(--deep);
  background-image: linear-gradient(90deg, rgba(74,15,28,.95) 0%, rgba(74,15,28,.88) 40%, rgba(74,15,28,.80) 60%, rgba(74,15,28,.35) 100%), var(--hero-img);
  background-size: cover; background-position: right center;
}
.hero.short.photo { background-position: center var(--hero-y, center); }
@media (max-width: 860px) {
  .hero.photo { background-image: linear-gradient(rgba(74,15,28,.84), rgba(74,15,28,.84)), var(--hero-img); }
}

/* Long-form legal pages (/privacy, /terms): space between sections and a tidy list. */
.prose * + h2 { margin-top: 36px; }
.prose ul { margin-top: 14px; padding-left: 22px; }
.prose li + li { margin-top: 8px; }

/* Logo lockup: the garnet stone and the name in type, so it stays sharp at any size. */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; line-height: 1; }
.logo img { height: 42px; width: 42px; }
.logo .word { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); letter-spacing: .01em; white-space: nowrap; }
.logo .word small { display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--garnet); margin-top: 4px; }
.footer .logo img { height: 46px; width: 46px; }
.footer .logo .word { color: var(--white); }
.footer .logo .word small { color: var(--rose); }
@media (max-width: 860px) { .logo img { height: 36px; width: 36px; } .logo .word { font-size: 19px; } }

/* Missouri Rule 4-7.2(f): the required statement must be conspicuous. */
.footer .legal .mo { color: var(--white); font-weight: 700; font-size: 14px; }

/* Icon chips on cards */
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--garnet); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card .ico svg { width: 24px; height: 24px; }
.opening { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: var(--white); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.photo-ph { background: var(--sand); border: 1px dashed var(--tint-edge); border-radius: 6px; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--muted); font-size: 14px; }
