/* MyNeuPath chassis stylesheet.
 * Extracted from docs/variants/B-repair-light/landing.html by
 * scripts/extract-chassis.py per Wave 0 plan task 2.
 *
 * Contains all universal CSS rules shared by the three B variants.
 * Excluded (kept inline per variant for palette-specific rgba):
 *   :root  - palette + utility tokens
 *   body   - background gradient with variant-tinted rgba
 *   body::before - grain pattern with variant-tinted rgba
 *
 * Used by every variant landing page via
 *   <link rel="stylesheet" href="../assets/chassis.css">
 */

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  scroll-behavior: smooth;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--oxide-dark);
}

:focus-visible {
  outline: 3px solid var(--focus-on-light);
  outline-offset: 4px;
}

.site-header :focus-visible,
.anchor-strip :focus-visible,
.dark-band :focus-visible,
.site-footer :focus-visible,
.top-note :focus-visible {
  outline-color: var(--focus-on-dark);
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 50;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  color: var(--paper);
  background: var(--warm-black);
  border: 1px solid var(--repair-gold);
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.top-note {
  color: var(--paper);
  background: var(--crisis);
  border-bottom: 1px solid rgba(233, 223, 201, 0.25);
}

.top-note .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 46px;
  padding-block: 0.45rem;
}

.top-note p {
  margin: 0;
  color: #f4ead7;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.top-note a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--paper);
  font-weight: 800;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--paper);
  background: var(--clinical-blue);
  border-bottom: 3px solid var(--repair-gold);
  box-shadow: 0 1px 0 rgba(233, 223, 201, 0.14) inset;
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  align-items: center;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a,
.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.7rem;
  border-radius: 4px;
  color: var(--paper);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.7rem;
  color: var(--paper);
  background: rgba(233, 223, 201, 0.12);
  border: 1px solid rgba(233, 223, 201, 0.4);
  border-radius: 4px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle:hover {
  background: rgba(233, 223, 201, 0.22);
}

.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;
}

.nav-links a:hover,
.header-phone:hover {
  color: var(--paper);
  background: rgba(233, 223, 201, 0.12);
}

.header-phone {
  color: var(--warm-black);
  background: var(--repair-gold);
  border: 1px solid rgba(233, 223, 201, 0.74);
  box-shadow: var(--shadow-low);
}

.header-phone:hover {
  color: var(--warm-black);
  background: color-mix(in srgb, var(--repair-gold) 86%, var(--paper));
}

main {
  overflow: clip;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.72fr);
  gap: clamp(1.4rem, 3.6vw, 4rem);
  align-items: stretch;
  min-height: auto;
  padding: clamp(2rem, 4.2vw, 3.75rem) var(--gutter) clamp(2rem, 4vw, 3.6rem);
}

.hero::after {
  content: "";
  position: absolute;
  left: calc(var(--gutter) * -0.3);
  right: calc(var(--gutter) * -0.3);
  bottom: 0;
  height: 1px;
  background: var(--surface-line);
}

.hero-copy {
  align-self: center;
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--oxide-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--repair-gold);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--warm-black);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.9rem, 5.6vw, 5.85rem);
  line-height: 0.96;
}

h2 {
  max-width: 12.8ch;
  font-size: clamp(2.15rem, 5vw, 4.35rem);
  line-height: 0.98;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.08;
}

p {
  margin: 0;
  max-width: 68ch;
  color: var(--muted-ink);
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
}

.hero-lede {
  max-width: 56ch;
  margin-top: clamp(0.95rem, 1.8vw, 1.35rem);
  color: var(--ink);
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
  line-height: 1.5;
}

.hero-actions,
.section-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.35rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--warm-black);
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: var(--paper);
  background: var(--clinical-blue);
  border-color: var(--warm-black);
  box-shadow: var(--shadow-low);
}

.button.primary:hover {
  color: var(--paper);
  background: var(--warm-black);
}

.button.secondary {
  color: var(--warm-black);
  background: rgba(233, 223, 201, 0.45);
}

.button.secondary:hover {
  color: var(--warm-black);
  background: var(--paper-deep);
}

.button.light {
  color: var(--warm-black);
  background: var(--repair-gold);
  border-color: var(--paper);
}

.button.ghost-light {
  color: var(--paper);
  border-color: rgba(233, 223, 201, 0.72);
}

.material-figure {
  position: relative;
  align-self: stretch;
  min-height: clamp(420px, 42vw, 540px);
  margin: 0;
  border: 1px solid rgba(51, 46, 41, 0.24);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  background: var(--clinical-blue);
}

.material-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.material-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(8deg, rgba(43, 36, 30, 0.38), transparent 38%);
  mix-blend-mode: multiply;
}

.material-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 25rem;
  padding: 0.75rem 0.85rem;
  color: var(--paper);
  background: rgba(43, 36, 30, 0.92);
  border: 1px solid rgba(233, 223, 201, 0.32);
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.25;
}

.anchor-strip {
  background: var(--clinical-blue);
  color: var(--paper);
  border-block: 1px solid rgba(233, 223, 201, 0.2);
}

.anchor-strip .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding-block: 0.85rem;
}

.anchor-strip p {
  max-width: none;
  color: var(--paper);
  font-weight: 700;
}

.anchor-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: end;
}

.anchor-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 0.65rem;
  color: var(--paper);
  border: 1px solid rgba(233, 223, 201, 0.34);
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.section {
  padding: clamp(4rem, 9vw, 8.8rem) 0;
}

.section.compact {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.recognition {
  background:
    linear-gradient(90deg, rgba(127, 70, 52, 0.11), transparent 34%),
    var(--paper);
}

.recognition-grid,
.split-grid,
.insurance-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(1.7rem, 5vw, 5rem);
  align-items: start;
}

.section-kicker {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 1rem;
}

.recognition-copy {
  display: grid;
  gap: 1rem;
  padding-top: 0.35rem;
}

.large-statement {
  max-width: 23ch;
  color: var(--warm-black);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 3.1rem);
  line-height: 1.08;
}

.quiet-list {
  display: grid;
  gap: 0;
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--surface-line);
}

.quiet-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--surface-line);
  color: var(--muted-ink);
}

.quiet-list strong {
  color: var(--oxide-dark);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.repair-ledger {
  display: grid;
  gap: 0;
  border-block: 1px solid var(--surface-line);
}

.ledger-row {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(1rem, 3vw, 2.4rem);
  padding: clamp(1.2rem, 3vw, 2rem) 0;
  border-bottom: 1px solid var(--surface-line);
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-row h3 {
  max-width: 15ch;
}

.ledger-row p {
  color: var(--ink);
}

.small-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--oxide-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dark-band {
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(198, 151, 53, 0.1), transparent 30%),
    repeating-linear-gradient(88deg, rgba(233, 223, 201, 0.04) 0 1px, transparent 1px 10px),
    var(--clinical-blue);
}

.dark-band h2,
.dark-band h3 {
  color: var(--paper);
}

.dark-band p,
.dark-band .eyebrow {
  color: rgba(233, 223, 201, 0.82);
}

.treatment-board {
  margin-top: clamp(2rem, 4vw, 3.2rem);
  border-top: 1px solid rgba(233, 223, 201, 0.35);
}

.treatment-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.45fr) minmax(0, 1fr) minmax(190px, 0.55fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  padding: clamp(1.3rem, 3vw, 2.1rem) 0;
  border-bottom: 1px solid rgba(233, 223, 201, 0.35);
}

.treatment-row p {
  color: rgba(233, 223, 201, 0.82);
}

.treatment-row ul {
  margin: 0;
  padding-left: 1.05rem;
  color: rgba(233, 223, 201, 0.86);
}

.treatment-row li + li {
  margin-top: 0.35rem;
}

.conditions {
  background: var(--paper-deep);
  border-block: 1px solid rgba(51, 46, 41, 0.18);
}

.condition-index {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(1.8rem, 4vw, 3rem);
  background: rgba(51, 46, 41, 0.2);
  border: 1px solid rgba(51, 46, 41, 0.2);
}

.condition-link {
  min-height: 138px;
  display: grid;
  align-content: space-between;
  padding: 1rem;
  color: var(--warm-black);
  background: color-mix(in srgb, var(--paper) 78%, var(--paper-deep));
  text-decoration: none;
  transition: background-color 180ms ease;
}

.condition-link:hover {
  color: var(--warm-black);
  background: color-mix(in srgb, var(--paper) 60%, var(--repair-gold));
}

.condition-link span {
  color: var(--oxide-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.condition-link h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  line-height: 1.08;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(2rem, 4vw, 3.2rem);
  border: 1px solid var(--surface-line);
  background: rgba(255, 248, 227, 0.22);
}

.step {
  position: relative;
  display: grid;
  gap: 0.7rem;
  min-height: 245px;
  padding: clamp(1rem, 2vw, 1.45rem);
  border-right: 1px solid var(--surface-line);
}

.step:last-child {
  border-right: 0;
}

.step::before {
  content: "";
  width: 44px;
  height: 44px;
  border: 1px solid var(--oxide-dark);
  border-radius: 50%;
  background:
    linear-gradient(130deg, transparent 0 45%, var(--repair-gold) 45.5% 50%, transparent 50.5%),
    var(--paper);
}

.step span {
  color: var(--oxide-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-board {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.evidence-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

details {
  color: var(--paper);
  border: 1px solid rgba(233, 223, 201, 0.35);
  border-radius: 6px;
  background: rgba(43, 36, 30, 0.2);
}

summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  cursor: pointer;
  color: var(--paper);
  font-weight: 800;
}

summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--repair-gold);
  font-size: 1.4rem;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  padding: 0 1rem 1rem;
  color: rgba(233, 223, 201, 0.82);
}

.insurance-grid {
  align-items: stretch;
}

.insurance-panel,
.consult-form,
.contact-note {
  border: 1px solid rgba(51, 46, 41, 0.24);
  border-radius: 6px;
  background: rgba(255, 248, 227, 0.28);
  box-shadow: var(--shadow-low);
}

.insurance-panel {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.payer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.payer-list li {
  padding: 0.32rem 0.55rem;
  border: 1px solid rgba(51, 46, 41, 0.26);
  border-radius: 999px;
  color: var(--warm-black);
  background: var(--paper);
  font-size: 0.95rem;
  font-weight: 800;
}

.cost-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--surface-line);
}

.cost-line strong {
  color: var(--oxide-dark);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
}

.consult-section {
  background:
    linear-gradient(180deg, transparent, rgba(184, 175, 160, 0.22)),
    var(--paper);
}

.contact-grid {
  align-items: start;
}

.contact-note {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.contact-note h3 {
  color: var(--oxide-dark);
}

.phone-block {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  width: fit-content;
  padding: 0.7rem 0.9rem;
  color: var(--paper);
  background: var(--warm-black);
  border: 1px solid var(--repair-gold);
  border-radius: 4px;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.consult-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.7rem);
}

.field {
  display: grid;
  gap: 0.35rem;
}

label {
  color: var(--warm-black);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.72rem 0.78rem;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 80%, #fff8e3);
  border: 1px solid rgba(51, 46, 41, 0.42);
  border-radius: 4px;
  font: inherit;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.form-note,
.status {
  color: var(--muted-ink);
  font-size: 0.95rem;
  line-height: 1.35;
}

.status {
  min-height: 1.4rem;
  font-weight: 800;
}

.status[data-state="error"] {
  color: var(--oxide);
}

.status[data-state="success"] {
  color: var(--clinical-blue);
}

.required-marker {
  margin-left: 0.2rem;
  color: var(--oxide-dark);
  font-weight: 800;
}

.field-error {
  display: block;
  margin-top: 0.35rem;
  color: var(--oxide);
  font-size: 0.92rem;
  font-weight: 700;
}

.field-error[hidden] {
  display: none;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--oxide);
  box-shadow: 0 0 0 1px var(--oxide);
}

.preview-banner {
  padding: 0.75rem 0.95rem;
  margin-bottom: 1rem;
  color: var(--ink);
  background: rgba(198, 151, 53, 0.18);
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.preview-banner strong {
  margin-right: 0.3rem;
  color: var(--oxide-dark);
}

.preview-banner a {
  color: var(--oxide-dark);
  font-weight: 800;
}

.form-warning {
  padding: 0.65rem 0.85rem;
  margin: 0 0 0.4rem;
  color: var(--oxide-dark);
  background: rgba(127, 70, 52, 0.08);
  border-radius: 4px;
  font-size: 0.92rem;
  line-height: 1.45;
}

.legal-consent {
  padding: 0.85rem 1rem;
  margin-top: 0.4rem;
  background: rgba(255, 248, 227, 0.42);
  border: 1px solid rgba(51, 46, 41, 0.24);
  border-radius: 4px;
}

.legal-consent p {
  max-width: none;
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.45;
}

.legal-consent p:last-child {
  margin-bottom: 0;
}

.legal-consent a {
  color: var(--oxide-dark);
  font-weight: 800;
}

.site-footer {
  color: rgba(233, 223, 201, 0.82);
  background: var(--warm-black);
  border-top: 1px solid rgba(233, 223, 201, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 0.55fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  padding-block: clamp(2.4rem, 6vw, 4.5rem);
}

.site-footer h2,
.site-footer h3,
.site-footer a {
  color: var(--paper);
}

.site-footer p {
  color: rgba(233, 223, 201, 0.76);
  font-size: 1rem;
}

.site-footer ul {
  display: grid;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-brand {
  margin-bottom: 1rem;
  color: var(--paper);
}

.legal {
  padding-block: 1rem 1.6rem;
  border-top: 1px solid rgba(233, 223, 201, 0.18);
  color: rgba(233, 223, 201, 0.68);
  font-size: 0.9rem;
  line-height: 1.45;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .top-note .wrap,
  .nav,
  .hero,
  .recognition-grid,
  .split-grid,
  .proof-board,
  .insurance-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 0.35rem;
    padding-block: 0.6rem;
  }

  .nav-links {
    justify-content: start;
  }

  .header-phone {
    width: fit-content;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  h1 {
    max-width: 11.5ch;
  }

  .material-figure {
    min-height: 340px;
  }

  .section-kicker {
    position: static;
  }

  .treatment-row,
  .timeline {
    grid-template-columns: 1fr;
  }

  .treatment-row {
    gap: 0.75rem;
  }

  .timeline {
    border-bottom: 0;
  }

  .step {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--surface-line);
  }

  .condition-index {
    grid-template-columns: repeat(2, 1fr);
  }

  .anchor-strip .wrap {
    grid-template-columns: 1fr;
  }

  .anchor-links {
    justify-content: start;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 17px;
  }

  .wrap {
    width: min(100% - 32px, var(--max));
  }

  .top-note .wrap {
    gap: 0.2rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    grid-column: 1 / -1;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(233, 223, 201, 0.2);
  }

  .nav-links.is-open {
    display: flex;
  }

  h1 {
    max-width: 14ch;
  }

  .hero {
    padding-inline: 16px;
  }

  .hero-actions,
  .section-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .phone-block {
    width: 100%;
  }

  .material-figure {
    min-height: 280px;
  }

  .material-caption {
    position: static;
    margin: 0;
    max-width: none;
    border-inline: 0;
    border-bottom: 0;
    border-radius: 0;
  }

  .quiet-list li,
  .ledger-row,
  .cost-line {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .condition-index {
    grid-template-columns: 1fr;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
