/* =============================================================
   NV Loan Experts — Cornerstone First Mortgage
   Design system: warm-editorial, trustworthy-financial.
   Palette: Sage primary + Charcoal utility + Orange CTAs + Cream surfaces.
   Variable names preserved from AZ system for cross-site consistency;
   only :root values change between state sites.
   ============================================================= */

:root {
  /* Core palette — NV: sage + charcoal + orange + cream */
  --navy:        #1f1f1f;   /* charcoal — body text + dark surfaces (was AZ navy) */
  --navy-700:    #141414;   /* deeper charcoal — footers, hover dark */
  --navy-50:     #f5f5f5;   /* neutral light gray */

  --ink:         #1f2430;   /* body text on light */
  --ink-soft:    #52586a;   /* secondary text */
  --rule:        #e6e2db;   /* hairlines */

  --cream:       #f7f3eb;   /* page surfaces (warm) */
  --sand:        #ebe5d5;   /* secondary surface */
  --paper:       #ffffff;

  /* NV brand palette — sage primary, orange CTA */
  --clay:        #7a9b76;   /* SAGE — primary brand accent (was AZ clay/teal) */
  --clay-700:    #5e7c5a;   /* deeper sage for hover */
  --gold:        #cc5500;   /* BURNT ORANGE — CTA color (was AZ gold) */
  --sage:        #7a9b76;   /* sage success tone */

  /* Type scale */
  --font-display: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body:    "Libre Franklin", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.80rem + 0.1vw, 0.88rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.4vw, 1.35rem);
  --step-2:  clamp(1.45rem, 1.30rem + 0.7vw, 1.70rem);
  --step-3:  clamp(1.80rem, 1.55rem + 1.3vw, 2.30rem);
  --step-4:  clamp(2.20rem, 1.80rem + 2.0vw, 3.10rem);
  --step-5:  clamp(2.80rem, 2.20rem + 3.0vw, 4.20rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6rem;

  --max: 1180px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(31, 31, 31, 0.06);
  --shadow: 0 8px 24px rgba(31, 31, 31, 0.08);
}

/* -------- Reset & base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 500;
  margin: 0 0 var(--space-3);
  font-variation-settings: "opsz" 36;
}
h1 { font-size: var(--step-5); font-weight: 500; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p  { margin: 0 0 var(--space-3); max-width: 62ch; }
p.lede { font-size: var(--step-1); color: var(--ink-soft); max-width: 52ch; }
small, .micro { font-size: var(--step--1); color: var(--ink-soft); }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--space-5) 0; }
ul, ol { padding-left: 1.1em; }
li { margin-bottom: 0.35rem; }
code, pre { font-family: "SF Mono", ui-monospace, Menlo, monospace; }
::selection { background: var(--gold); color: #fff; }

/* -------- Skip link & accessibility -------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem;
  z-index: 1000; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 2px; }

/* -------- Layout primitives -------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--space-3); }
.section { padding: var(--space-6) 0; }
.section--tight { padding: var(--space-5) 0; }
.section--cream { background: var(--cream); }
.section--sand  { background: var(--sand); }
.section--navy  { background: var(--navy); color: #e6e6e6; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: #cbcbcb; }
.section--navy a { color: #fff; text-decoration-color: var(--gold); }
.section--sage { background: var(--clay); color: #fff; }
.section--sage h1, .section--sage h2, .section--sage h3 { color: #fff; }
.section--sage p { color: #ffffff; opacity: 0.92; }

.grid { display: grid; gap: var(--space-3); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: var(--space-2);
}

/* -------- Top bar & nav -------- */
.topbar {
  background: var(--navy-700);
  color: #cbcbcb;
  font-size: var(--step--1);
  padding: 0.4rem 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold); }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0; gap: 1rem;
}
.nav__logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.nav__logo-text {
  font-family: var(--font-display); color: var(--navy);
  font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em;
  line-height: 1;
}
.nav__logo-text .accent { color: var(--clay); }
.nav__logo-text small {
  display: block; font-family: var(--font-body); font-size: 0.7rem;
  color: var(--ink-soft); letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 500; margin-top: 0.25rem;
}
.nav__links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__links a {
  color: var(--navy); text-decoration: none;
  font-size: 0.95rem; font-weight: 500; padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover, .nav__links a[aria-current="page"] {
  color: var(--clay); border-bottom-color: var(--clay);
}
.nav__links a.btn { padding: 0.55rem 1.05rem; border-bottom: none; font-weight: 700; }
.nav__links a.btn:hover { border-bottom: none; }
.nav__toggle {
  display: none; background: none; border: 1px solid var(--rule);
  border-radius: 4px; padding: 0.45rem 0.7rem; font-size: 1rem; cursor: pointer;
}

@media (max-width: 860px) {
  .nav__links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.2rem; border-bottom: 1px solid var(--rule); gap: 0.8rem; }
  .nav__links.is-open { display: flex; }
  .nav__toggle { display: inline-block; }
  .nav__inner { position: relative; }
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.98rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  line-height: 1.2;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
  cursor: pointer;
  letter-spacing: 0.02em;
  min-height: 44px;
}
.btn--primary { background: var(--clay); color: #fff; }
.btn--primary:hover { background: var(--clay-700); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--on-navy { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn--on-navy:hover { background: #b04a00; color: #fff; }

/* Apply Now — orange CTA, white text */
.btn--apply {
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(204, 85, 0, 0.32);
}
.btn--apply:hover {
  background: #b04a00;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(204, 85, 0, 0.45);
}
.btn + .btn { margin-left: 0.6rem; }

/* -------- Hero -------- */
.hero {
  position: relative;
  background: var(--cream);
  overflow: hidden;
  padding: var(--space-7) 0 var(--space-6);
}
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rule); }
.hero__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--space-5); align-items: center; }
.hero__stats { display: flex; flex-wrap: wrap; gap: var(--space-4); margin: var(--space-4) 0; }
.hero__stat { min-width: 120px; }
.hero__stat .num { font-family: var(--font-display); font-size: var(--step-3); color: var(--clay); display: block; line-height: 1; }
.hero__stat .lbl { font-size: var(--step--1); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #7a9b7622 0%, #cc550022 100%), var(--sand);
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
}
.hero__visual .placeholder {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--clay);
  text-align: center;
  padding: 2rem;
  opacity: 0.6;
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* -------- Cards -------- */
.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow-sm); }
.card__tag { font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay); font-weight: 600; }
.card h3 { margin-top: 0.4rem; }
.card p { color: var(--ink-soft); }
.card__link { display: inline-block; margin-top: var(--space-2); color: var(--navy); font-weight: 600; }

/* Product card */
.product { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden; }
.product__header { background: var(--navy); color: #fff; padding: var(--space-4); }
.product__header h3 { color: #fff; margin: 0 0 0.4rem; }
.product__price { font-family: var(--font-display); font-size: var(--step-3); color: var(--gold); }
.product__price small { font-family: var(--font-body); font-size: 0.85rem; color: #cbcbcb; font-weight: 400; }
.product__body { padding: var(--space-4); }
.product__features { list-style: none; padding: 0; margin: 0 0 var(--space-3); }
.product__features li { padding: 0.6rem 0; border-bottom: 1px solid var(--rule); display: flex; gap: 0.6rem; align-items: flex-start; }
.product__features li:last-child { border-bottom: none; }
.product__features li::before { content: "✓"; color: var(--sage); font-weight: 700; flex-shrink: 0; }

/* -------- Tables -------- */
table.data {
  width: 100%; border-collapse: collapse;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
  font-size: 0.96rem;
}
table.data th, table.data td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--rule); }
table.data thead th { background: var(--navy); color: #fff; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.03em; }
table.data tbody tr:last-child td { border-bottom: none; }
table.data tbody tr:nth-child(even) td { background: var(--cream); }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data td.good { color: var(--sage); font-weight: 600; }
table.data td strong { color: var(--clay-700); }

/* -------- Steps -------- */
.steps { list-style: none; padding-left: 0; margin-left: 0; counter-reset: step; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { padding: var(--space-3); border-left: 3px solid var(--gold); background: var(--paper); }
.step__num { font-family: var(--font-display); font-size: var(--step-3); color: var(--clay); display: block; line-height: 1; }
.step h3 { margin-top: 0.3rem; font-size: var(--step-1); }
.step p { color: var(--ink-soft); margin-bottom: 0; }

@media (min-width: 880px) {
  .steps--five { grid-template-columns: repeat(6, 1fr); }
  .steps--five .step:nth-child(1) { grid-column: 1 / span 2; }
  .steps--five .step:nth-child(2) { grid-column: 3 / span 2; }
  .steps--five .step:nth-child(3) { grid-column: 5 / span 2; }
  .steps--five .step:nth-child(4) { grid-column: 2 / span 2; }
  .steps--five .step:nth-child(5) { grid-column: 4 / span 2; }
}

/* -------- FAQ -------- */
.faq { display: grid; gap: 0.6rem; }
.faq details { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 0.9rem 1.1rem; }
.faq details[open] { border-color: var(--gold); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--clay); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details > *:not(summary) { margin-top: 0.7rem; color: var(--ink-soft); }

/* -------- Callouts -------- */
.callout {
  border-left: 4px solid var(--clay);
  background: var(--sand);
  padding: var(--space-3) var(--space-4);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: var(--space-4) 0;
}
.callout p:last-child { margin-bottom: 0; }

/* -------- Forms -------- */
.form { display: grid; gap: var(--space-3); max-width: 640px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.form label { font-size: 0.88rem; font-weight: 600; color: var(--navy); display: block; margin-bottom: 0.3rem; letter-spacing: 0.02em; }
.form input, .form select, .form textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  padding: 0.75rem 0.9rem; border: 1px solid var(--rule);
  border-radius: var(--radius); background: var(--paper); color: var(--ink);
  transition: border-color 0.15s ease;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--clay); }
.form__consent { font-size: 0.82rem; color: var(--ink-soft); }
.form__success { display: none; padding: 1rem; border-radius: var(--radius); background: #e7efe4; color: #2f4b27; border: 1px solid #bfd1b7; }
.form__success.is-show { display: block; }

/* -------- Inline lead-card -------- */
.lead-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--clay);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-4);
  margin: var(--space-5) auto;
  max-width: 880px;
  box-shadow: var(--shadow-sm);
}
.lead-card__intro { margin-bottom: var(--space-3); }
.lead-card__eyebrow { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); margin-bottom: 0.4rem; }
.lead-card__title { font-family: var(--font-display); font-size: var(--step-2); color: var(--navy); margin: 0 0 0.5rem; line-height: 1.25; }
.lead-card__lede { color: var(--ink-soft); margin: 0; font-size: var(--step-0); }
.lead-card__form { max-width: none; }
.lead-card__consent { font-size: 0.76rem; margin-top: 0.6rem; }
@media (min-width: 820px) { .lead-card { padding: var(--space-5) var(--space-5); } }

/* -------- Sticky mobile CTA bar -------- */
.sticky-cta-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--navy);
  border-top: 3px solid var(--gold);
  padding: 0.55rem 0.7rem 0.7rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.18);
  align-items: stretch;
  gap: 0.5rem;
}
.sticky-cta-bar.is-shown { display: flex; }
.sticky-cta-bar__btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 0.6rem;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700;
  text-decoration: none; border-radius: var(--radius);
  transition: background 0.15s ease;
}
.sticky-cta-bar__btn--call { background: var(--gold); color: #fff; }
.sticky-cta-bar__btn--call:hover { background: #b04a00; }
.sticky-cta-bar__btn--consult { background: var(--clay); color: #fff; border: 1.5px solid var(--clay); }
.sticky-cta-bar__btn--consult:hover { background: var(--clay-700); border-color: var(--clay-700); }
.sticky-cta-bar__close {
  background: transparent; border: none; color: rgba(255,255,255,0.7);
  font-size: 1.5rem; line-height: 1; padding: 0 0.4rem; cursor: pointer; align-self: center;
}
.sticky-cta-bar__close:hover { color: #fff; }
@media (max-width: 720px) {
  .sticky-cta-bar:not(.is-dismissed) { display: flex; }
  body.has-sticky-cta { padding-bottom: 4.5rem; }
}

/* -------- Multi-step contact form -------- */
.form-step { display: none; }
.form-step.is-active { display: contents; }
.form-progress { display: flex; gap: 0.4rem; margin-bottom: var(--space-2); font-size: 0.78rem; color: var(--ink-soft); }
.form-progress__dot { width: 24px; height: 24px; border-radius: 50%; background: var(--rule); color: var(--ink-soft); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; }
.form-progress__dot.is-active { background: var(--clay); color: #fff; }
.form-progress__dot.is-done { background: var(--sage); color: #fff; }
.form-step__nav { display: flex; gap: 0.5rem; align-items: center; }
.form-step__back { background: transparent; border: 1px solid var(--rule); color: var(--ink); padding: 0.6rem 1rem; border-radius: var(--radius); cursor: pointer; font-family: var(--font-body); font-weight: 600; }
.form-step__back:hover { border-color: var(--clay); }

/* -------- Article / long-form -------- */
.article { max-width: 720px; margin: 0 auto; }
.article h1 { font-size: var(--step-4); }
.article h2 { font-size: var(--step-2); margin-top: var(--space-5); }
.article h3 { font-size: var(--step-1); margin-top: var(--space-3); }
.article p, .article li { font-size: 1.05rem; }
.article img { border-radius: var(--radius-lg); margin: var(--space-4) 0; }
.article ul, .article ol { margin-bottom: var(--space-3); }
.article .meta { color: var(--ink-soft); font-size: 0.9rem; letter-spacing: 0.03em; margin-bottom: var(--space-3); }
.article blockquote { border-left: 3px solid var(--gold); padding: 0.2rem 0 0.2rem 1.2rem; margin: var(--space-3) 0; color: var(--ink-soft); font-style: italic; }
.article aside.legal-notice { background: var(--cream); border-left: 3px solid var(--clay); padding: var(--space-3); border-radius: 0 var(--radius) var(--radius) 0; margin: var(--space-3) 0; font-size: 0.9rem; color: var(--ink-soft); }

/* -------- Breadcrumbs -------- */
.crumbs { font-size: 0.85rem; color: var(--ink-soft); margin: 0 0 var(--space-3); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--clay); }
.crumbs [aria-current="page"] { color: var(--navy); }
.crumbs span { margin: 0 0.4rem; color: var(--rule); }

/* -------- Trust row -------- */
.trust-row { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); align-items: center; color: var(--ink-soft); font-size: 0.92rem; }
.trust-row strong { color: var(--navy); }

/* -------- Testimonial -------- */
.quote { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: var(--space-4); position: relative; }
.quote::before { content: "\201C"; font-family: var(--font-display); font-size: 4rem; color: var(--gold); position: absolute; top: 0.4rem; left: 1rem; line-height: 1; opacity: 0.5; }
.quote p { font-size: 1.05rem; font-style: italic; color: var(--ink); }
.quote__who { font-size: 0.9rem; color: var(--ink-soft); margin-top: var(--space-2); }
.quote__who strong { color: var(--navy); font-style: normal; }

/* -------- Footer -------- */
.footer {
  background: var(--navy);
  color: #cbcbcb;
  padding: var(--space-6) 0 var(--space-3);
  font-size: 0.95rem;
}
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__grid { display: grid; gap: var(--space-4); grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: var(--space-2); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 0.45rem; }
.footer__brand { font-family: var(--font-display); font-size: 1.4rem; color: #fff; margin-bottom: 0.5rem; font-weight: 600; }
.footer__brand .accent { color: var(--clay); }
.footer__disclaimer {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  font-size: 0.8rem; color: #9a9a9a; line-height: 1.55;
}
.footer__eho { display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.85rem; margin-bottom: 0.6rem; }
.footer__eho svg { width: auto; height: 48px; filter: brightness(0) invert(1); }

/* -------- Utilities -------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mb-0 { margin-bottom: 0; }
.flex-row { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.measure { max-width: 62ch; }
.hide-sm { }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* -------- Print -------- */
@media print {
  .nav, .footer, .topbar, .btn { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}

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


  .nav__logo-placeholder-sub { font-size: 0.55rem; }
}
