/* ==========================================================================
   Golden Shield Public Adjusters
   Design system — "the claim file"

   Palette, type and rhythm are built to read like a prepared claim document:
   archival paper, ink, hairline rules, tabular figures, brass marginalia.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */

:root {
  /* Ground */
  --paper:      #F5F2EB;  /* warm archival stock */
  --paper-2:    #EBE6DA;  /* panels, insets */
  --paper-3:    #E2DCCC;  /* deepest light tone */
  --card:       #FBF9F4;  /* lifted surfaces */

  /* Ink */
  --ink:        #16191A;  /* headings, primary text */
  --ink-soft:   #3A403F;  /* body text */
  --slate:      #4E5654;  /* meta, captions — AA on paper */

  /* Field green — dark sections only */
  --field:      #16352C;
  --field-2:    #1E4638;

  /* Brass — the single accent */
  --brass:      #785D22;  /* on paper: rules, marks, labels — AA on paper, panel and card */
  --brass-lit:  #C9A250;  /* on dark: links, marks */

  /* Structure */
  --rule:       #D5CEBE;
  --rule-dark:  rgba(201, 162, 80, 0.28);

  /* Type */
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans:    "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --measure: 64ch;
  --shell: 1240px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.018em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

/* --- Type scale --------------------------------------------------------- */

.t-display { font-size: clamp(2.5rem, 6.6vw, 4.75rem); line-height: 1.02; letter-spacing: -0.028em; }
.t-h2      { font-size: clamp(1.875rem, 4.2vw, 3rem); }
.t-h3      { font-size: clamp(1.3125rem, 2.4vw, 1.625rem); letter-spacing: -0.012em; }
.t-lead    { font-family: var(--sans); font-size: clamp(1.0625rem, 1.8vw, 1.25rem); line-height: 1.6; color: var(--ink-soft); }

/* Mono eyebrow — the file-reference texture */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: none;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
  max-width: 7rem;
}
.eyebrow--plain::after { display: none; }

.on-dark .eyebrow { color: var(--brass-lit); }
.on-dark .eyebrow::after { background: var(--rule-dark); }

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--narrow { max-width: 900px; }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(2.75rem, 5.5vw, 4.25rem); }

.on-dark {
  background: var(--field);
  color: var(--paper);
}
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--paper); }
.on-dark .t-lead { color: rgba(245, 242, 235, 0.78); }
.on-dark p { color: rgba(245, 242, 235, 0.78); }

.panel { background: var(--paper-2); }

/* Editorial split: label rail + content. Asymmetric on purpose. */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .split--sticky > :first-child { position: sticky; top: 110px; }
}

.rail-note {
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--slate);
  max-width: 34ch;
}
.on-dark .rail-note { color: rgba(245, 242, 235, 0.68); }

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

.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(245, 242, 235, 0.94);
  border-bottom: 1px solid var(--rule);
  -webkit-backdrop-filter: saturate(1.4) blur(6px);
  backdrop-filter: saturate(1.4) blur(6px);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;          /* tap target */
  text-decoration: none;
  color: var(--ink);
}
.wordmark__mark { width: 30px; height: 34px; flex: none; }
.wordmark__text { display: flex; flex-direction: column; line-height: 1; }
.wordmark__name {
  font-family: var(--display);
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
}
.wordmark__sub {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 0.3rem;
}

.masthead__right { display: flex; align-items: center; gap: 1.5rem; }

.nav { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: 1.85rem; }
}

.nav a {
  position: relative;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: 0.35rem;
  transition: color 0.18s var(--ease);
}
/* Keep the compact look, meet the 44px target with an overlay. */
.nav a::before {
  content: "";
  position: absolute;
  inset: -14px -8px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.masthead .btn { display: none; }
@media (min-width: 1000px) { .masthead .btn { display: inline-flex; } }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: var(--field); }

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

.on-dark .btn--primary { background: var(--brass-lit); color: var(--field); }
.on-dark .btn--primary:hover { background: #D9B667; }
.on-dark .btn--ghost { color: var(--paper); border-color: var(--rule-dark); }
.on-dark .btn--ghost:hover { border-color: var(--brass-lit); }

.btn--sm { min-height: 44px; padding: 0.5rem 1.1rem; font-size: 0.875rem; }

/* --- Mobile nav --------------------------------------------------------- */

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin-right: -0.5rem;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink);
}
@media (min-width: 1000px) { .nav-toggle { display: none; } }

.nav-toggle span {
  position: relative;
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
  transition: background 0.2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 1.5px;
  background: currentColor;
  transition: transform 0.26s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 72px 0 auto;
  z-index: 55;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 0.5rem var(--gutter) 2rem;
  display: none;
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
}
.drawer[data-open="true"] { display: block; }
@media (min-width: 1000px) { .drawer { display: none !important; } }

/* :not(.btn) matters. Without it this rule outranks .btn--primary on colour
   (0,1,1 vs 0,1,0) and paints the button's label in ink on an ink background —
   invisible — while also giving it the nav rule's bottom border. */
.drawer a:not(.btn) {
  display: block;
  padding: 1rem 0;
  font-size: 1.0625rem;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
}
.drawer .btn { margin-top: 1.5rem; width: 100%; }

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

.hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6.5rem); }

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 5vw, 4.5rem); }
}

.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--brass); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
}

.hero__meta {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

/* --- Signature: annotated policy document ------------------------------- */

.policy {
  position: relative;
  background: var(--card);
  border: 1px solid var(--rule);
  padding: clamp(1.375rem, 3vw, 2.25rem);
  box-shadow: 0 18px 40px -34px rgba(22, 25, 26, 0.55);
}

.policy__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.875rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

.policy__body { font-size: 0.9375rem; line-height: 1.85; color: var(--ink-soft); }
.policy__body p { max-width: none; margin-bottom: 1.15em; }
.policy__clause {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: block;
  margin-bottom: 0.35rem;
}

/* The marked passage — brass underline, the thing that pays */
.policy mark {
  background-image: linear-gradient(to bottom, transparent 62%, rgba(201, 162, 80, 0.42) 62%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--ink);
  padding: 0 0.05em;
}

.policy__note {
  position: relative;
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--brass);
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.75;
  color: var(--brass);
  max-width: none;
}
.policy__note strong { color: var(--ink); font-weight: 500; }

/* Draw-on animation for the underline, once, on load */
@media (prefers-reduced-motion: no-preference) {
  .policy mark { background-size: 0% 100%; animation: mark-in 0.9s var(--ease) 0.6s forwards; }
  @keyframes mark-in { to { background-size: 100% 100%; } }
}

/* --- Ledger ------------------------------------------------------------- */

.ledger { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.ledger caption {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  padding-bottom: 0.875rem;
}
.ledger th, .ledger td {
  text-align: left;
  padding: 0.875rem 1rem 0.875rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.ledger th {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.ledger td:last-child, .ledger th:last-child { padding-right: 0; }
.ledger tbody th { font-family: var(--sans); font-size: 0.9375rem; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 500; }

.table-scroll { overflow-x: auto; }

/* Ledger on a dark ground */
.on-dark .ledger th,
.on-dark .ledger td { border-color: var(--rule-dark); }
.on-dark .ledger caption,
.on-dark .ledger thead th { color: rgba(245, 242, 235, 0.62); }
.on-dark .ledger tbody th { color: var(--paper); }
.on-dark .ledger td { color: rgba(245, 242, 235, 0.82); }

/* --- Step sequence ------------------------------------------------------ */

.steps { display: grid; gap: 0; margin-top: 1rem; }

.step {
  display: grid;
  gap: 0.5rem 2rem;
  grid-template-columns: auto 1fr;
  padding-block: clamp(1.625rem, 3.5vw, 2.5rem);
  border-top: 1px solid var(--rule);
}
.step:last-child { border-bottom: 1px solid var(--rule); }
.on-dark .step { border-color: var(--rule-dark); }

.step__num {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--brass);
  padding-top: 0.45rem;
  min-width: 3ch;
}
.on-dark .step__num { color: var(--brass-lit); }

.step__body h3 { margin-bottom: 0.6rem; }
.step__body p { color: var(--ink-soft); }
.on-dark .step__body p { color: rgba(245, 242, 235, 0.76); }

@media (min-width: 820px) {
  .step { grid-template-columns: auto minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .step__body h3 { margin-bottom: 0; }
}

/* --- Card grid ---------------------------------------------------------- */

.grid {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid--2, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--paper);
  padding: clamp(1.375rem, 3vw, 1.875rem);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.card__icon { width: 26px; height: 26px; color: var(--brass); margin-bottom: 0.6rem; }
.card h3 { font-size: 1.1875rem; }
.card p { font-size: 0.9375rem; color: var(--ink-soft); margin: 0; }

a.card { text-decoration: none; transition: background 0.2s var(--ease); }
a.card:hover { background: var(--card); }
.card__more {
  margin-top: auto;
  padding-top: 0.75rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
}

/* --- Prose -------------------------------------------------------------- */

.prose h2 { margin: 2.75rem 0 1rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.prose h3 { margin: 2rem 0 0.75rem; font-size: 1.1875rem; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul, .prose ol { max-width: var(--measure); padding-left: 1.25rem; margin: 0 0 1.15em; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--ink); text-decoration-color: var(--brass); text-underline-offset: 3px; }
.prose strong { font-weight: 600; color: var(--ink); }

/* --- Page head ---------------------------------------------------------- */

.pagehead { padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--rule); }
.pagehead h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); margin-bottom: 1.25rem; }

.crumb {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1.5rem;
}
.crumb a { text-decoration: none; color: var(--brass); }
.crumb a:hover { text-decoration: underline; }

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

.faq { border-top: 1px solid var(--rule); max-width: 78ch; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 2.5rem 1.35rem 0;
  position: relative;
  font-family: var(--display);
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.5rem; top: 50%;
  width: 9px; height: 9px;
  border-right: 1.5px solid var(--brass);
  border-bottom: 1.5px solid var(--brass);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 2.5rem 1.5rem 0; }
.faq details > div p { color: var(--ink-soft); font-size: 1rem; }

/* --- Form --------------------------------------------------------------- */

.form { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; } }

.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.field .req { color: var(--brass); }

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.8rem 0.9rem;
  min-height: 48px;
  width: 100%;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.6; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(120, 93, 34, 0.18);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: #A33224; }

.field__error { font-family: var(--mono); font-size: 0.75rem; color: #A33224; min-height: 1rem; }

.form__note { font-family: var(--mono); font-size: 0.75rem; line-height: 1.75; color: var(--slate); max-width: 56ch; }

.form__status {
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  padding: 0.875rem 1rem;
  border: 1px solid var(--rule);
  background: var(--paper-2);
}
.form__status[hidden] { display: none; }
.form__status[data-state="ok"] { border-color: var(--brass); }
.form__status[data-state="err"] { border-color: #A33224; color: #A33224; }

/* --- Callout ------------------------------------------------------------ */

.callout {
  border-left: 2px solid var(--brass);
  padding: 0.35rem 0 0.35rem 1.35rem;
  margin: 2rem 0;
  max-width: var(--measure);
}
.callout p { font-size: 1rem; }

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

.footer { background: var(--ink); color: rgba(245, 242, 235, 0.72); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer a { color: rgba(245, 242, 235, 0.72); text-decoration: none; }
.footer a:hover { color: var(--brass-lit); }
.footer p { color: rgba(245, 242, 235, 0.72); }

.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.7fr 1fr 1fr; } }

/* Group labels, not document headings — marking them up as <h4> skipped a level. */
.footer .footer__label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-lit);
  margin: 0 0 1.1rem;
}
/* Footer lists run on a 44px rhythm so every link clears the tap-target floor. */
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: 0.9375rem; }
.footer li { display: flex; align-items: center; min-height: 44px; }
.footer ul a { display: flex; align-items: center; width: 100%; min-height: 44px; }
.footer address { font-style: normal; font-size: 0.9375rem; line-height: 1.75; }

.footer__legal {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid rgba(245, 242, 235, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: rgba(245, 242, 235, 0.5);
}
.footer__legal p { color: rgba(245, 242, 235, 0.5); margin: 0; max-width: 62ch; }

/* --- Utility ------------------------------------------------------------ */

.skip {
  position: absolute;
  left: -9999px; top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
}
.skip:focus { left: 0; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 1px;
}
.on-dark :where(a, button, summary):focus-visible,
.footer :where(a, button):focus-visible { outline-color: var(--brass-lit); }

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

/* Unresolved facts. Deliberately conspicuous so none of these ship by accident.
   Grep for "placeholder" before launch. */
.placeholder {
  font-family: var(--mono);
  font-size: 0.9em;
  color: #A33224;
  background: rgba(163, 50, 36, 0.07);
  border: 1px dashed rgba(163, 50, 36, 0.55);
  border-radius: 2px;
  padding: 0.05em 0.4em;
  white-space: nowrap;
}
.footer .placeholder { color: #E9A99F; border-color: rgba(233, 169, 159, 0.5); background: rgba(233, 169, 159, 0.08); }

/* Contact actions — call, email, directions — are the primary things done on a
   phone, so they get a real hit area. Scoped to the address block and the office
   ledger; inline links inside running prose stay inline (WCAG 2.5.8 exempts those). */
address a,
.ledger td a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.lang-note { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.05em; color: var(--slate); }
.on-dark .lang-note { color: rgba(245, 242, 235, 0.64); }

/* --- Scroll reveal ------------------------------------------------------ */

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  [data-reveal].is-in { opacity: 1; transform: none; }
}

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