/* Break Free From Foreclosure
   Design tokens first. Every text color below was checked against the
   background it sits on (WCAG 2.1 AA). */
:root {
  --navy: #12304F;
  --navy-deep: #0B2138;
  --green: #2E7D5B;          /* 5.0:1 on white, 4.7:1 on --mist */
  --green-dark: #23634A;     /* hover state */
  --gold: #E0B44C;           /* only on navy: 6.9:1 */
  --mist: #EEF5F1;            /* more visible tint; green links 4.5:1, muted text 6.4:1 */
  --white: #FFFFFF;
  --ink: #1C2B36;            /* body text */
  --muted: #4A5A66;          /* 7.0:1 on white */
  --line: #D5DED9;
  --on-navy: #E8EEF4;        /* soft white text on navy */
  --radius: 12px;
  --wrap: 1120px;
  --font: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --measure: 68ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); }
/* Playfair only at 28px and up; h3 and smaller stay in Source Sans 3 */
h1, h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.3rem); margin: 0 0 .6em; }
h3 { font-size: 1.3rem; font-weight: 700; margin: 0 0 .4em; }
/* Comfortable line length for reading */
main p, main li, main dd { max-width: var(--measure); }
main .grid p, main .grid li, main .card p, main .resource-list p, main .county-index li, main .stage-cards li { max-width: none; }
p { margin: 0 0 1em; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }

/* Focus: navy ring on light surfaces, gold ring on dark ones */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.site-footer :focus-visible, .hero :focus-visible, .section-navy :focus-visible { outline-color: var(--gold); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 24px; min-height: 48px;
  border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; line-height: 1.2;
}
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); color: var(--white); }
/* One primary color: every main call to action is green; outlines are the secondary style */
.btn-gold { background: var(--green); color: var(--white); }
.btn-gold:hover { background: var(--green-dark); color: var(--white); }
.btn-outline-light { border-color: var(--white); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-outline { border-color: var(--green); color: var(--green); }
.btn-outline:hover { background: var(--mist); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 76px; max-width: 1240px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; white-space: nowrap; }
.brand-top { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; color: var(--navy); }
.brand-sub { font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-top: 3px; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav > ul { display: flex; align-items: center; flex-wrap: nowrap; gap: 2px; }
.primary-nav a, .sub-toggle {
  display: inline-block; padding: 10px 9px; color: var(--navy); text-decoration: none;
  font: inherit; font-size: 1rem; font-weight: 700; background: none; border: 0; cursor: pointer;
}
.primary-nav a:hover, .sub-toggle:hover { text-decoration: underline; color: var(--navy); }
.primary-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; }
.sub-toggle::after { content: " \25BE"; }
.sub-toggle[aria-expanded="true"]::after { content: " \25B4"; }
.has-sub { position: relative; }
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; box-shadow: 0 10px 30px rgba(18,48,79,.15);
}
.sub-menu a { display: block; }
.primary-nav .btn-book { background: var(--green); color: var(--white); padding: 12px 18px; border-radius: 999px; }
.primary-nav .btn-book:hover { background: var(--green-dark); color: var(--white); }
.nav-cta { margin-left: 10px; }
.primary-nav > ul > li > a, .primary-nav .sub-toggle { white-space: nowrap; }
html[lang="es"] .primary-nav > ul > li > a:not(.btn), html[lang="es"] .primary-nav .sub-toggle { font-size: .95rem; padding-left: 7px; padding-right: 7px; }
.primary-nav .btn-book { white-space: nowrap; }
.primary-nav .lang-switch { font-weight: 600; font-size: .95rem; text-decoration: underline; padding: 10px 6px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; padding: 12px;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 24px; height: 3px; background: var(--navy); border-radius: 2px; position: relative; content: "";
}
.nav-toggle-bars::before { position: absolute; top: -8px; }
.nav-toggle-bars::after { position: absolute; top: 8px; }

/* Sections */
.section { padding: 64px 0; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); color: var(--on-navy); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy a:not(.btn) { color: var(--gold); }
.lead { font-size: 1.25rem; }
.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; color: var(--green); }

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--on-navy); padding: 72px 0 64px;
}
.hero h1 { color: var(--white); max-width: 22ch; }
.hero .eyebrow { color: var(--gold); }
.hero .lead { max-width: 60ch; }
.hero a:not(.btn) { color: var(--gold); }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.card p:last-child { margin-bottom: 0; }
.license { color: var(--muted); font-size: 1rem; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0; display: grid; gap: 16px; }
.steps li {
  counter-increment: step; position: relative; padding: 20px 20px 20px 76px;
  background: var(--mist); border-radius: var(--radius); border-left: 6px solid var(--green);
}
.steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 18px; width: 40px; height: 40px;
  border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { margin-bottom: .2em; }
.steps p { margin: 0; }

.callout { background: var(--white); border: 2px solid var(--green); border-radius: var(--radius); padding: 20px; }
.stat { font-size: 1.15rem; }
.source { display: block; font-size: .95rem; color: var(--muted); }
.check-list { padding-left: 1.2em; }
.check-list li { margin-bottom: .5em; }

/* Help programs: county finder and lists */
.finder { background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius); padding: 24px; box-shadow: 0 8px 30px rgba(18,48,79,.12); }
.finder label { display: block; font-weight: 700; margin-bottom: 6px; }
.finder-row { display: flex; flex-wrap: wrap; gap: 10px; }
.finder input {
  flex: 1; min-width: 220px; font: inherit; font-size: 1.15rem; padding: 12px 14px;
  border: 2px solid var(--muted); border-radius: 10px; color: var(--ink);
}
.finder button { font: inherit; cursor: pointer; }
#county-list { list-style: none; margin: 8px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
#county-list li { padding: 12px 14px; cursor: pointer; }
#county-list li[aria-selected="true"], #county-list li:hover { background: var(--navy); color: var(--white); }
.resource-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.resource-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.resource-list h3, .resource-list h4 { margin: 0 0 .3em; font-size: 1.1rem; color: var(--navy); }
.resource-list p { margin: 0 0 .5em; }
.county { border-top: 1px solid var(--line); padding: 28px 0 8px; }
.county h3:focus { outline: 3px solid var(--navy); outline-offset: 4px; }
.cities { color: var(--muted); }
.county-index { list-style: none; padding: 0; display: grid; gap: 4px 16px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }

/* Forms */
.form { background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius); padding: 24px; max-width: 720px; }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; }
.field .hint { display: block; font-weight: 400; color: var(--muted); font-size: 1rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 2px solid var(--muted); border-radius: 10px; color: var(--ink); background: var(--white);
}
.field textarea { min-height: 120px; }
.choices { border: 0; padding: 0; margin: 0 0 18px; }
.choice { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.choice input { width: auto; flex: none; margin-top: 5px; }
.choice label { font-weight: 400; }
.notice-head { font-size: 1.25em; }
.form button { font: inherit; cursor: pointer; }
.hidden-field { display: none; }
.req { color: #9B1C1C; }
.fine-print { font-size: 1rem; color: var(--muted); }

/* FAQ and guides */
.faq h2.q, .faq h3.q { margin-top: 1.6em; }
.guide-list { columns: 2 320px; column-gap: 32px; }
.guide-list li { break-inside: avoid; margin-bottom: .5em; }
.book { display: grid; gap: 8px; }
.share-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.share-list a { font-weight: 700; }
table { border-collapse: collapse; width: 100%; min-width: 560px; margin: 16px 0; background: var(--white); }
caption { text-align: left; font-weight: 700; padding-bottom: 8px; color: var(--navy); }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
thead th { background: var(--navy); color: var(--white); }
tbody th { background: var(--mist); }
dl dt { font-weight: 700; color: var(--navy); margin-top: 1em; }
dl dd { margin: .25em 0 0; }
/* Compact notice. Text stays 18px (above the 12-point floor); the heading stays bold and larger than the text. */
.notice-section { padding: 24px 0; }
.mars-notice { border-left: 5px solid var(--navy); border-radius: 8px; padding: 16px 22px; background: #EEF3F8; font-size: 1.125rem; max-width: 860px; }
.mars-notice h2 { font-family: var(--font); font-size: 1.375rem; letter-spacing: .03em; margin-bottom: .4em; }
.mars-notice p { margin-bottom: .6em; }
.mars-notice p:last-child { margin-bottom: 0; }
.legal-note { border-left: 6px solid var(--gold); background: var(--white); padding: 16px 20px; border-radius: 8px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy); padding: 48px 0 28px; }
.site-footer h2 { color: var(--white); font-size: 1.2rem; }
.site-footer a:not(.btn) { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; line-height: 2; }
.site-footer address { font-style: normal; margin-bottom: 1em; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.2); margin-top: 32px; padding-top: 20px; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: .875rem; line-height: 1.8; }
.footer-legal a:not(.btn) { color: #C9D6E2; }
.compliance { font-size: .8125rem; line-height: 1.5; margin-top: 18px; color: #DCE5EE; columns: 2 420px; column-gap: 40px; }
.compliance p { break-inside: avoid; margin-bottom: .9em; }
.eho { font-weight: 700; }
.eho-logo { vertical-align: middle; color: var(--white); margin: 0 2px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-brand .brand-top { color: var(--white); }
.footer-brand .brand-sub { color: var(--gold); }

/* Redesign components */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: center; }
.hero-photo { width: 100%; max-width: 320px; justify-self: center; border-radius: 16px; border: 4px solid var(--gold); box-shadow: 0 12px 34px rgba(0,0,0,.3); }
.picker { background: var(--white); color: var(--ink); border-radius: 16px; padding: 24px; border-top: 6px solid var(--gold); box-shadow: 0 12px 34px rgba(0,0,0,.25); }
.picker h2 { font-family: var(--font); font-size: 1.35rem; color: var(--navy); margin-bottom: .6em; }
.picker a { position: relative; padding-right: 36px !important; }
.picker a::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; border-top: 3px solid var(--green); border-right: 3px solid var(--green); transform: translateY(-50%) rotate(45deg); }
.picker ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hero .picker a, .picker a { display: block; padding: 12px 16px; border: 2px solid var(--line); border-radius: 10px; color: var(--navy); font-weight: 700; text-decoration: none; }
.hero .picker a:hover, .picker a:hover { border-color: var(--green); background: var(--mist); color: var(--navy); }
.picker :focus-visible { outline-color: var(--navy); }

/* Horizontal timeline on wide screens; stacks on phones */
@media (min-width: 900px) {
  .steps.timeline { grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; padding-top: 8px; }
  .steps.timeline::before { content: ""; position: absolute; top: 30px; left: 12%; right: 12%; height: 4px; background: var(--gold); border-radius: 2px; }
  .steps.timeline li { padding: 64px 18px 20px; border-left: 0; border-top: 6px solid var(--green); background: var(--white); box-shadow: 0 6px 20px rgba(18,48,79,.08); text-align: left; }
  .steps.timeline li::before { left: 18px; top: -26px; width: 48px; height: 48px; font-size: 1.2rem; border: 4px solid var(--white); }
}

.team-logo { display: block; align-self: flex-start; height: 96px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 14px; border-radius: 10px; }
.grid .card { display: flex; flex-direction: column; }
.grid .card .license { margin-top: auto; padding-top: 12px; font-size: .95rem; }
.section-logo { float: right; height: 96px; width: auto; margin: 0 0 16px 24px; border-radius: 10px; }

.owner-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr) 167px; gap: 32px; align-items: start; }
.owner-photo { border-radius: 14px; border: 4px solid var(--white); box-shadow: 0 8px 24px rgba(18,48,79,.18); }
.book-cover img, .book-inline { border-radius: 6px; box-shadow: 0 10px 26px rgba(18,48,79,.28); }
.book-inline { float: right; width: 167px; margin: 0 0 16px 28px; }

.cta-band { padding: 48px 0; border-top: 6px solid var(--gold); }
.cta-band h2 { margin-bottom: .3em; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-photo { max-width: 220px; justify-self: start; }
  .owner-grid { grid-template-columns: 1fr; }
  .owner-photo { max-width: 220px; }
  .book-cover img { max-width: 140px; }
}
@media (max-width: 560px) {
  .book-inline, .section-logo { float: none; display: block; margin: 0 0 16px; }
}

/* Round 2 components */
.jump { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 20px 22px; }
.jump .jump-title { font-family: var(--font); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin: 0 0 .6em; }
.jump ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hero .jump a { color: var(--white); text-decoration: none; display: block; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 1rem; }
.hero .jump a:hover { color: var(--gold); text-decoration: underline; }

.breadcrumb ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .95rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: rgba(255,255,255,.6); }
.hero .breadcrumb a { color: var(--gold); }
.hero .breadcrumb [aria-current] { color: var(--on-navy); }

.guide-cards { list-style: none; padding: 0; margin: 12px 0 28px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.guide-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); padding: 18px 20px 18px 56px; position: relative; }
.guide-card::before { content: ""; position: absolute; left: 18px; top: 20px; width: 24px; height: 28px; border-radius: 3px; border: 3px solid var(--navy); box-shadow: inset 0 -6px 0 -3px var(--gold); }
.guide-card a { font-weight: 700; color: var(--navy); }
.guide-card a:hover { color: var(--green-dark); }
.guide-card p { margin: .4em 0 0; color: var(--muted); font-size: 1rem; }

.question-list { columns: 2 340px; column-gap: 32px; padding-left: 1.4em; }
.question-list li { break-inside: avoid; margin-bottom: .5em; }

.stage-cards { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.stage-cards a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 20px; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); color: var(--navy); font-weight: 600; text-decoration: none; }
.stage-cards a:hover { border-color: var(--green); background: var(--mist); }
.stage-num { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green); }
.stage-marker { display: inline-block; font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--white); background: var(--green); border-radius: 999px; padding: 3px 12px; margin-bottom: 10px; }

.never-list { list-style: none; padding: 20px 24px; margin: 16px 0; border: 2px solid var(--navy); border-radius: var(--radius); background: var(--white); max-width: 760px; }
.never-list li { position: relative; padding: 8px 0 8px 44px; font-weight: 600; }
.never-list li + li { border-top: 1px solid var(--line); }
.never-list li::before, .never-list li::after { content: ""; position: absolute; left: 10px; top: 50%; width: 20px; height: 3px; background: #9B1C1C; border-radius: 2px; }
.never-list li::before { transform: translateY(-50%) rotate(45deg); }
.never-list li::after { transform: translateY(-50%) rotate(-45deg); }

.table-wrap { overflow-x: auto; }
.license-table { min-width: 0; max-width: 820px; }
.license-table tbody th { width: 38%; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.contact-aside { background: var(--mist); border-radius: var(--radius); padding: 22px 24px; border-top: 4px solid var(--gold); }
.contact-aside h3 { font-size: 1.15rem; }
.contact-aside ol { padding-left: 1.3em; margin: 0; }

.hero-link { font-size: 1.05rem; }

.finder-section { padding-top: 0; }
.finder-section .finder { margin-top: -36px; position: relative; z-index: 2; }
.finder input::placeholder { color: #6B7A86; }

details.county { border: 1px solid var(--line); border-radius: var(--radius); margin: 10px 0; background: var(--white); padding: 0; }
details.county > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
details.county > summary::-webkit-details-marker { display: none; }
details.county > summary::after { content: ""; width: 10px; height: 10px; border-right: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(45deg); flex: none; margin-left: 8px; }
details.county[open] > summary::after { transform: rotate(-135deg); }
details.county > summary h3 { margin: 0; font-size: 1.15rem; }
.county-count { margin-left: auto; color: var(--muted); font-size: .95rem; }
.county-body { padding: 0 18px 12px; }
details.county > summary:hover { background: var(--mist); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Round 3: icons, deadline callouts, county pages, blog images */
.icon { display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--green); }
.card > .icon, .with-icon > .icon { width: 52px; height: 52px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); }
.card > .icon { background: var(--mist); border: 0; margin-bottom: 12px; }
.with-icon { display: flex; align-items: center; gap: 14px; }
.steps .icon { margin-bottom: 6px; }
.deadline { border-left: 6px solid var(--gold); background: #FFF8E6; padding: 14px 20px; border-radius: 8px; margin: 0 0 1em; }
.deadline p { margin: 0; }
.deadline .deadline-label { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; color: var(--navy); margin-bottom: .3em; }
.post-image { display: block; width: 100%; height: auto; border-radius: var(--radius); margin: 0 0 14px; }
.post-figure { padding-top: 40px; }
.post-hero-image { display: block; width: 100%; max-width: 960px; height: auto; border-radius: var(--radius); margin: 0 auto; }

/* Mobile */
@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .header-inner { flex-wrap: wrap; }
  .primary-nav { width: 100%; }
  .primary-nav[data-collapsed="true"] { display: none; }
  /* Start collapsed when scripts run, so the menu does not fold up after load and shift the page. */
  .js .primary-nav:not([data-collapsed="false"]) { display: none; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; padding-bottom: 16px; }
  .primary-nav a, .sub-toggle { display: block; width: 100%; text-align: left; padding: 12px 8px; min-height: 48px; }
  .sub-menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .primary-nav .btn-book, .primary-nav .lang-switch { text-align: center; margin-top: 8px; }
  .nav-cta { margin-left: 0; }
  .primary-nav > ul { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .hero { padding: 48px 0; }
  .steps li { padding-left: 68px; }
  .actions .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
.grid .card .card-more { margin-top: auto; padding-top: 8px; font-weight: 700; }
a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 899px) {
  .steps.timeline li { padding: 18px; }
  .steps.timeline li::before { left: 18px; top: 18px; }
  .steps.timeline .icon { margin: 6px 0 12px 54px; }
}
@media (max-width: 640px) {
  h2.with-icon { display: block; }
  h2.with-icon > .icon { display: flex; margin-bottom: 10px; }
}

/* Round 4 (Mindy's follow-up list) */
.mars-notice { width: fit-content; max-width: min(860px, 100%); }
.grid .card .post-date { margin-top: 0; padding-top: 0; margin-bottom: 6px; }
.stage-cards a > .icon { width: 44px; height: 44px; border-radius: 50%; background: var(--mist); margin-bottom: 4px; }
.hero-art { display: block; width: 100%; max-width: 300px; height: auto; justify-self: center; border-radius: 16px; border: 4px solid var(--gold); }
.owner-photo.headshot, .hero-photo.headshot { aspect-ratio: 1 / 1; object-fit: cover; }
@media (max-width: 900px) {
  .hero-art { max-width: 180px; justify-self: start; }
}
/* Taxes page illustration, halfway between the full 960px figure and one fourth of it */
.post-hero-image.taxes-figure { max-width: 600px; }
