/* midwest — entry point
 * System fonts only (Impact / Helvetica / Arial). No webfont fetch.
 * Cascade order: tokens → base → layout → components → sections.
 */

/* tokens */
/* midwest — color tokens
 * Hexes locked to the design spec.
 * Prefix: --mw-
 *
 * Strategic roles (do not paint outside these lines):
 *   navy   — full-width headers/footers, primary section headers ("the anchor")
 *   gold   — sparingly (<5%): local-resident chips, neighborhood-discount blocks
 *   off    — content-card / form-field fill ("container fill")
 *   white  — headlines on dark, floating photo labels, negative space
 *   ink    — phone number, body copy, bullets ("readability engine")
 *   red    — BEFORE / problem indicators only
 *   blue   — AFTER / success indicators only
 */
:root {
  /* Brand anchors */
  --mw-navy:          #1A416B;   /* deep navy — header bar, primary section heads */
  --mw-navy-deep:     #143356;   /* slightly deeper for footer / hover */
  --mw-navy-soft:     #2c558a;   /* hover / secondary navy */

  /* Accent */
  --mw-gold:          #D4AF1A;   /* muted gold — under-5% accent only */
  --mw-gold-strong:   #b08e0d;
  --mw-gold-tint:     #f5e7a3;

  /* Surfaces */
  --mw-off:           #F4F5F7;   /* soft off-white / gray — card + container fill */
  --mw-white:         #FFFFFF;   /* crisp white — page margin + floating labels */
  --mw-rule:          #E1E3E8;   /* subtle thin gray border for lower boxes */

  /* Text */
  --mw-ink:           #222222;   /* charcoal — body, phone, names */
  --mw-ink-muted:     #5b6166;
  --mw-ink-soft:      #8c9097;

  /* State badges */
  --mw-flag-red:      #E31B23;   /* BEFORE / problem outline only */
  --mw-flag-red-soft: #fdecec;
  --mw-flag-blue:     #0071BC;   /* AFTER / solution outline only */
  --mw-flag-blue-soft:#e6f1fa;

  /* Shadow */
  --mw-shadow:        rgba(26, 65, 107, 0.18);
  --mw-shadow-soft:   rgba(26, 65, 107, 0.10);
}

/* midwest — typography tokens
 * Display: Impact / Arial Black — heavy uppercase, signage-loud.
 * Body:    Helvetica / Arial — clean geometric sans, neutral.
 *
 * No webfont — both stacks resolve to system fonts ubiquitous on every OS,
 * matching the "system flyer" feel of the source.
 */
:root {
  --mw-font-display: Impact, "Arial Black", "Helvetica Neue Condensed", "Franklin Gothic Bold", "Liberation Sans", system-ui, sans-serif;
  --mw-font-body:    Helvetica, "Helvetica Neue", Arial, "Liberation Sans", system-ui, -apple-system, sans-serif;
  --mw-font-mono:    ui-monospace, "SF Mono", Menlo, monospace;

  /* Size scale */
  --mw-fs-12: 0.75rem;
  --mw-fs-14: 0.875rem;
  --mw-fs-16: 1rem;
  --mw-fs-18: 1.125rem;
  --mw-fs-20: 1.25rem;
  --mw-fs-24: 1.5rem;
  --mw-fs-32: 2rem;
  --mw-fs-display: clamp(2.5rem, 7vw, 5rem);

  /* Line heights */
  --mw-lh-tight: 1.02;
  --mw-lh-snug:  1.25;
  --mw-lh-body:  1.55;

  /* Weights — body uses regular vs bold for hierarchy */
  --mw-fw-regular: 400;
  --mw-fw-medium:  500;
  --mw-fw-semi:    600;
  --mw-fw-bold:    700;
  --mw-fw-black:   900;

  /* Letter spacing — Impact is already tight; nudge display by a hair only */
  --mw-ls-display: 0.005em;
  --mw-ls-kicker:  0.14em;
  --mw-ls-tag:     0.08em;
}

/* midwest — spacing tokens
 * Geometry rule:
 *   --mw-radius-sharp = 0       — image blocks, top banner, the structural slabs
 *   --mw-radius-soft  = 6px     — tags, badges, small chips
 *   --mw-radius-card  = 10px    — content cards, CTA panels
 */
:root {
  --mw-sp-1:  0.25rem;
  --mw-sp-2:  0.5rem;
  --mw-sp-3:  0.75rem;
  --mw-sp-4:  1rem;
  --mw-sp-5:  1.25rem;
  --mw-sp-6:  1.5rem;
  --mw-sp-8:  2rem;
  --mw-sp-10: 2.5rem;
  --mw-sp-12: 3rem;
  --mw-sp-16: 4rem;

  /* Geometry */
  --mw-radius-sharp: 0;
  --mw-radius-soft:  6px;
  --mw-radius-card:  10px;
  --mw-radius-pill:  999px;

  /* Page frame — the thin white margin bounding the whole design */
  --mw-page-margin: 12px;

  --mw-shell-width: 1180px;
  --mw-shell-pad:   clamp(1rem, 3vw, 1.75rem);
}


/* base */
/* midwest — minimal reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
ul, ol { padding-left: 1.2em; }
figure { margin: 0; }
hr { border: 0; border-top: 1px solid var(--mw-rule); margin: var(--mw-sp-8) 0; }

/* midwest — bare element styling */
body {
  font-family: var(--mw-font-body);
  font-size: var(--mw-fs-16);
  line-height: var(--mw-lh-body);
  color: var(--mw-ink);
  background: var(--mw-white);   /* outer crisp-white margin */
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--mw-font-display);
  font-weight: var(--mw-fw-black);
  line-height: var(--mw-lh-tight);
  color: var(--mw-navy);
  margin: 0 0 var(--mw-sp-4);
  letter-spacing: var(--mw-ls-display);
  text-transform: uppercase;
}

h1 { font-size: var(--mw-fs-display); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h3 { font-size: var(--mw-fs-24); }
h4 { font-size: var(--mw-fs-20); }
h5 { font-size: var(--mw-fs-18); letter-spacing: var(--mw-ls-kicker); }
h6 { font-size: var(--mw-fs-14); letter-spacing: var(--mw-ls-kicker); color: var(--mw-ink-muted); }

p { margin: 0 0 var(--mw-sp-4); }
strong { font-weight: var(--mw-fw-bold); }
em { font-style: italic; }
code, kbd { font-family: var(--mw-font-mono); font-size: 0.9em; background: var(--mw-off); padding: 0.1em 0.4em; border-radius: var(--mw-radius-soft); }

a { color: var(--mw-navy); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--mw-gold) 70%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--mw-navy-soft); text-decoration-color: var(--mw-gold); }

::selection { background: var(--mw-gold-tint); color: var(--mw-ink); }


/* layout */
/* midwest — page shell
 * The page is wrapped in a thin white margin (the "flyer frame").
 * .mw-page is the inner canvas; .mw-shell centers content within it.
 */
.mw-page {
  margin: var(--mw-page-margin);
  background: var(--mw-off);   /* soft off-white canvas — the flyer's paper */
  min-height: calc(100vh - var(--mw-page-margin) * 2);
  overflow: hidden;            /* lock sharp 90° edges on contained slabs */
}

.mw-shell {
  width: min(var(--mw-shell-width), 100% - var(--mw-shell-pad) * 2);
  margin-inline: auto;
}

.mw-shell--wide {
  width: min(1320px, 100% - var(--mw-shell-pad) * 2);
}

.mw-stack > * + * { margin-top: var(--mw-sp-4); }
.mw-stack-lg > * + * { margin-top: var(--mw-sp-8); }

/* midwest — grid utilities */
.mw-grid {
  display: grid;
  gap: var(--mw-sp-6);
}
.mw-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.mw-grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.mw-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }

.mw-split {
  display: grid;
  gap: var(--mw-sp-6);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .mw-split { grid-template-columns: 1fr 1fr; }
}


/* components */
/* midwest — banner (the navy anchor slab)
 * The flyer's headline is the SERVICE ("PRESSURE WASHING"), not the
 * business name. We mirror that: massive uppercase Impact title centered,
 * a tight service taxonomy underneath, gold "HUDSON RESIDENT" chip
 * pinned bottom-left (hanging slightly off the slab onto the gold trim),
 * and the phone pinned bottom-right.
 */
.mw-banner {
  background: var(--mw-navy);
  color: var(--mw-white);
  border-bottom: 5px solid var(--mw-gold);
  border-radius: var(--mw-radius-sharp);
  position: relative;
  padding: clamp(var(--mw-sp-8), 5vw, var(--mw-sp-12)) 0 var(--mw-sp-6);
}

.mw-banner__inner {
  position: relative;
  text-align: center;
  padding-bottom: var(--mw-sp-5);
}

.mw-banner__title {
  font-family: var(--mw-font-display);
  font-weight: var(--mw-fw-black);
  font-size: clamp(2.5rem, 9vw, 6rem);
  line-height: 0.95;
  letter-spacing: var(--mw-ls-display);
  text-transform: uppercase;
  color: var(--mw-white);
  margin: 0;
  /* Slight optical-correction for Impact's heavy strokes */
  text-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.mw-banner__tax {
  font-family: var(--mw-font-body);
  font-size: clamp(var(--mw-fs-12), 1.6vw, var(--mw-fs-18));
  font-weight: var(--mw-fw-bold);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mw-white);
  margin: var(--mw-sp-3) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(var(--mw-sp-2), 1.2vw, var(--mw-sp-4));
  flex-wrap: wrap;
  opacity: 0.95;
}
.mw-banner__sep {
  color: var(--mw-gold);
  font-weight: var(--mw-fw-black);
  letter-spacing: 0;
}

/* Pinned chip: gold "HUDSON RESIDENT" hangs at bottom-left,
   crossing the gold trim line like in the source flyer. */
.mw-banner__chip {
  position: absolute;
  left: 0;
  bottom: calc(-1 * var(--mw-sp-4));
  font-size: var(--mw-fs-14);
  padding: var(--mw-sp-2) var(--mw-sp-4);
  letter-spacing: 0.12em;
  border-radius: 0;        /* flyer's chip is a sharp tab */
  border: 0;
  box-shadow: 0 4px 12px -8px rgba(0,0,0,0.35);
}

/* Pinned phone: bottom-right of the slab */
.mw-banner__phone {
  position: absolute;
  right: 0;
  bottom: 0;
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: clamp(var(--mw-fs-16), 2vw, var(--mw-fs-20));
  color: var(--mw-white);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.mw-banner__phone:hover { color: var(--mw-gold); }

@media (max-width: 720px) {
  .mw-banner__inner { padding-bottom: var(--mw-sp-12); }
  .mw-banner__chip { left: 0; bottom: calc(-1 * var(--mw-sp-3)); }
  .mw-banner__phone {
    right: 0;
    bottom: var(--mw-sp-3);
    left: 0;
    text-align: center;
    font-size: var(--mw-fs-18);
  }
}

/* midwest — identity strip
 * Off-white sub-bar directly under the navy banner. Holds the circular
 * avatar (the single asymmetric break in an otherwise rectilinear page)
 * + the owner's name + tagline + contact.
 */
.mw-identbar {
  background: var(--mw-off);
  border-bottom: 1px solid var(--mw-rule);
  padding: var(--mw-sp-3) 0;
}

.mw-identity {
  display: flex;
  align-items: center;
  gap: var(--mw-sp-4);
  padding: var(--mw-sp-2) 0;
}

.mw-identity__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.mw-identity__name {
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-18);
  color: var(--mw-navy);
  line-height: 1.25;
}
.mw-identity__dash {
  color: var(--mw-ink-soft);
  margin: 0 var(--mw-sp-1);
  font-weight: var(--mw-fw-regular);
}
.mw-identity__role {
  font-weight: var(--mw-fw-bold);
  color: var(--mw-navy);
}

.mw-identity__tag {
  font-size: var(--mw-fs-14);
  color: var(--mw-ink-muted);
  line-height: 1.4;
}
.mw-identity__bullet {
  margin: 0 var(--mw-sp-2);
  color: var(--mw-ink-soft);
}
.mw-identity__tag a {
  color: var(--mw-navy);
  text-decoration: none;
  font-weight: var(--mw-fw-bold);
}
.mw-identity__tag a:hover { color: var(--mw-gold-strong); }

@media (max-width: 540px) {
  .mw-identity__tag .mw-identity__bullet:nth-of-type(2),
  .mw-identity__tag a[href^="mailto"] { display: none; }
}

/* midwest — buttons */
.mw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--mw-sp-2);
  padding: var(--mw-sp-3) var(--mw-sp-6);
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-14);
  letter-spacing: var(--mw-ls-tag);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mw-white);
  background: var(--mw-navy);
  border: 1px solid var(--mw-navy-deep);
  border-radius: var(--mw-radius-soft);
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease;
  box-shadow: 0 8px 20px -14px var(--mw-shadow);
}

.mw-btn:hover {
  background: var(--mw-navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -18px var(--mw-shadow);
}

.mw-btn:focus-visible {
  outline: 2px solid var(--mw-gold);
  outline-offset: 2px;
}

.mw-btn--gold {
  background: var(--mw-gold);
  color: var(--mw-ink);
  border-color: var(--mw-gold-strong);
}
.mw-btn--gold:hover {
  background: var(--mw-gold-strong);
  color: var(--mw-white);
}

.mw-btn--ghost {
  background: transparent;
  color: var(--mw-navy);
  border-color: var(--mw-navy);
  box-shadow: none;
}
.mw-btn--ghost:hover {
  background: var(--mw-navy);
  color: var(--mw-white);
}

.mw-btn--lg {
  padding: var(--mw-sp-4) var(--mw-sp-8);
  font-size: var(--mw-fs-16);
}

/* midwest — badges & chips
 * State-only contract:
 *   red  → BEFORE / problem indicator
 *   blue → AFTER / solution indicator
 *   gold → "Local resident" / under-5% accent
 *   navy → secondary inverse chip
 */
.mw-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--mw-sp-1) var(--mw-sp-3);
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-12);
  letter-spacing: var(--mw-ls-tag);
  text-transform: uppercase;
  background: var(--mw-white);
  border: 2px solid currentColor;
  border-radius: var(--mw-radius-soft);
  line-height: 1.2;
}

.mw-badge--red   { color: var(--mw-flag-red); }
.mw-badge--blue  { color: var(--mw-flag-blue); }
.mw-badge--gold  {
  color: var(--mw-ink);
  background: var(--mw-gold);
  border-color: var(--mw-gold-strong);
}
.mw-badge--navy  {
  color: var(--mw-white);
  background: var(--mw-navy);
  border-color: var(--mw-navy);
}

/* Photo overlay chip — corner-anchored on top of an image tile */
.mw-chip {
  position: absolute;
  top: var(--mw-sp-3);
  left: var(--mw-sp-3);
  z-index: 2;
}
.mw-chip--br { top: auto; bottom: var(--mw-sp-3); left: auto; right: var(--mw-sp-3); }

/* midwest — cards
 * Container fill: off-white. Subtle 1px gray border. 10px corner radius.
 */
.mw-card {
  background: var(--mw-off);
  border: 1px solid var(--mw-rule);
  border-radius: var(--mw-radius-card);
  padding: var(--mw-sp-6);
  box-shadow: 0 16px 32px -28px var(--mw-shadow);
}

.mw-card--white {
  background: var(--mw-white);
}

.mw-card--navy {
  background: var(--mw-navy);
  color: var(--mw-white);
  border-color: var(--mw-navy-deep);
}
.mw-card--navy h1,
.mw-card--navy h2,
.mw-card--navy h3,
.mw-card--navy h4 { color: var(--mw-white); }

.mw-card__kicker {
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-12);
  letter-spacing: var(--mw-ls-kicker);
  text-transform: uppercase;
  color: var(--mw-ink-muted);
  margin-bottom: var(--mw-sp-3);
}
.mw-card--navy .mw-card__kicker { color: var(--mw-gold); }

.mw-card__title {
  font-family: var(--mw-font-display);
  font-weight: var(--mw-fw-black);
  text-transform: uppercase;
  color: var(--mw-navy);
  margin: 0 0 var(--mw-sp-3);
}
.mw-card--navy .mw-card__title { color: var(--mw-white); }

.mw-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--mw-sp-2) var(--mw-sp-6);
}
.mw-card__list li {
  position: relative;
  padding-left: var(--mw-sp-5);
  font-size: var(--mw-fs-16);
  color: var(--mw-ink);
}
.mw-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mw-navy);
}
.mw-card--navy .mw-card__list li { color: var(--mw-white); }
.mw-card--navy .mw-card__list li::before { background: var(--mw-gold); }

/* midwest — avatar
 * Circular profile = the single asymmetric break in a rectilinear page.
 * Gold ring, soft shadow, logo-fill.
 */
.mw-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--mw-white) url("/assets/images/0000-00-00.artifact-image.brocks_pressure_washing.brand-mark.avif") center / 86% no-repeat;
  border: 3px solid var(--mw-gold);
  box-shadow: 0 6px 14px -8px var(--mw-shadow);
  flex-shrink: 0;
}

.mw-avatar--lg {
  width: 88px;
  height: 88px;
  border-width: 4px;
}

@media (max-width: 540px) {
  .mw-avatar { width: 48px; height: 48px; border-width: 2px; }
}

/* midwest — image frame
 * Sharp 90° corners on the image tile (structural stability).
 * Floating white caption tag in the bottom-right corner.
 */
.mw-figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--mw-radius-sharp);
  background: var(--mw-off);
  border: 1px solid var(--mw-rule);
  aspect-ratio: 4 / 3;
}

.mw-figure__img,
.mw-figure > img,
.mw-figure > .mw-figure__fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mw-figure__fill {
  background: linear-gradient(135deg, var(--mw-navy-soft), var(--mw-navy));
}

/* Floating photo label — crisp white pill in corner */
.mw-figure__caption {
  position: absolute;
  right: var(--mw-sp-3);
  bottom: var(--mw-sp-3);
  background: var(--mw-white);
  color: var(--mw-ink);
  font-family: var(--mw-font-body);
  font-size: var(--mw-fs-12);
  font-weight: var(--mw-fw-bold);
  letter-spacing: var(--mw-ls-tag);
  text-transform: uppercase;
  padding: var(--mw-sp-1) var(--mw-sp-3);
  border-radius: var(--mw-radius-soft);
  box-shadow: 0 4px 10px -6px var(--mw-shadow);
}

/* midwest — footer (the anchor, repeated)
 * Full-width deep-navy slab. Sharp corners. Gold trim on top.
 * Four-column layout: brand · phone · email · service area.
 */
.mw-footer {
  background: var(--mw-navy-deep);
  color: var(--mw-white);
  border-top: 5px solid var(--mw-gold);
  border-radius: var(--mw-radius-sharp);
  margin-top: var(--mw-sp-12);
}

.mw-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--mw-sp-8);
  padding: var(--mw-sp-10) 0 var(--mw-sp-8);
  align-items: start;
}
@media (max-width: 860px) {
  .mw-footer__inner { grid-template-columns: 1fr 1fr; gap: var(--mw-sp-6); }
}
@media (max-width: 540px) {
  .mw-footer__inner { grid-template-columns: 1fr; }
}

/* Footer bottom row — site copyright and low-profile FND production
   link, both right-aligned. Visually aligned with the dashboard
   sign-in pill so the production credit reads as a quiet attribution
   rather than a CTA. */
.mw-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  padding: 0 0 var(--mw-sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--mw-sp-3);
  text-align: right;
}
.mw-footer__copyright {
  margin-left: auto;
  font-family: var(--mw-font-body);
  font-size: var(--mw-fs-12);
  color: rgba(255, 255, 255, 0.62);
}
.mw-footer__production {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--mw-font-body);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
}
.mw-footer__production:hover,
.mw-footer__production:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.36);
  color: rgba(255, 255, 255, 0.92);
  outline: none;
}

.mw-footer__col { display: grid; gap: var(--mw-sp-1); }

.mw-footer__col--brand { gap: var(--mw-sp-2); }

.mw-footer__brand {
  font-family: var(--mw-font-display);
  font-weight: var(--mw-fw-black);
  font-size: clamp(var(--mw-fs-24), 2.4vw, var(--mw-fs-32));
  line-height: 1;
  letter-spacing: var(--mw-ls-display);
  text-transform: uppercase;
  color: var(--mw-white);
}
.mw-footer__tag {
  font-size: var(--mw-fs-14);
  color: var(--mw-gold);
  font-style: italic;
  letter-spacing: 0.02em;
}

.mw-footer__label {
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-12);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mw-gold);
  margin-bottom: var(--mw-sp-1);
}
.mw-footer__line {
  font-family: var(--mw-font-body);
  font-size: var(--mw-fs-16);
  font-weight: var(--mw-fw-bold);
  color: var(--mw-white);
  text-decoration: none;
}
.mw-footer__line:hover { color: var(--mw-gold); }
.mw-footer__line--big {
  font-family: var(--mw-font-display);
  font-size: var(--mw-fs-24);
  letter-spacing: var(--mw-ls-display);
}
.mw-footer__line--small {
  font-size: var(--mw-fs-14);
  font-weight: var(--mw-fw-regular);
  color: rgba(255,255,255,0.7);
  margin-top: var(--mw-sp-2);
}

/* midwest — modal / service overlay
 * Native <dialog> element. Hidden by default; centered when open.
 * SHARP 90° corners on the slab, navy header strip with gold underline,
 * off-white body — same anchor language as the rest of the page.
 */
.mw-modal {
  /* Reset browser defaults */
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mw-ink);
  max-width: min(720px, calc(100% - var(--mw-sp-6) * 2));
  width: 100%;
  max-height: calc(100vh - var(--mw-sp-8));
}

/* Backdrop: semi-transparent navy wash */
.mw-modal::backdrop {
  background: rgba(20, 51, 86, 0.72);
}

/* The actual content panel */
.mw-modal__panel {
  background: var(--mw-white);
  border-radius: var(--mw-radius-card);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px var(--mw-shadow);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--mw-sp-8));
}

/* Header strip — navy slab with gold underline, mirrors the header component */
.mw-modal__head {
  background: var(--mw-navy);
  color: var(--mw-white);
  border-bottom: 4px solid var(--mw-gold);
  padding: var(--mw-sp-5) var(--mw-sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--mw-sp-4);
}

.mw-modal__title {
  font-family: var(--mw-font-display);
  font-weight: var(--mw-fw-black);
  font-size: var(--mw-fs-24);
  letter-spacing: var(--mw-ls-display);
  text-transform: uppercase;
  color: var(--mw-white);
  margin: 0;
  line-height: 1.1;
}

.mw-modal__close {
  appearance: none;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.45);
  color: var(--mw-white);
  width: 36px;
  height: 36px;
  border-radius: var(--mw-radius-soft);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 160ms ease, border-color 160ms ease;
}
.mw-modal__close:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--mw-gold); }
.mw-modal__close:focus-visible { outline: 2px solid var(--mw-gold); outline-offset: 2px; }

/* Scrollable body — photos, description, CTA */
.mw-modal__body {
  padding: var(--mw-sp-6);
  overflow-y: auto;
  display: grid;
  gap: var(--mw-sp-6);
}

.mw-modal__desc {
  font-size: var(--mw-fs-16);
  color: var(--mw-ink);
  line-height: 1.55;
  margin: 0;
}

.mw-modal__cta {
  text-align: center;
  padding-top: var(--mw-sp-2);
}

/* When dialog is open, lock body scroll */
body:has(dialog[open]) { overflow: hidden; }

@media (max-width: 540px) {
  .mw-modal {
    max-width: 100%;
    max-height: 100vh;
    margin: 0;
    width: 100vw;
  }
  .mw-modal__panel {
    border-radius: 0;
    max-height: 100vh;
    height: 100vh;
  }
  .mw-modal__title { font-size: var(--mw-fs-20); }
}


/* sections */
/* midwest — generic section */
.mw-section {
  padding: var(--mw-sp-10) 0;
}
.mw-section--tight { padding: var(--mw-sp-6) 0; }
.mw-section--alt {
  background: var(--mw-off);
  border-block: 1px solid var(--mw-rule);
}
.mw-section--navy {
  background: var(--mw-navy);
  color: var(--mw-white);
}
.mw-section--navy h1,
.mw-section--navy h2,
.mw-section--navy h3 { color: var(--mw-white); }

.mw-section__kicker {
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-12);
  letter-spacing: var(--mw-ls-kicker);
  text-transform: uppercase;
  color: var(--mw-ink-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--mw-sp-2);
  margin-bottom: var(--mw-sp-3);
}
.mw-section__kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--mw-gold);
}

.mw-section__title {
  margin-bottom: var(--mw-sp-3);
}

.mw-section__lede {
  font-size: var(--mw-fs-18);
  color: var(--mw-ink-muted);
  max-width: 60ch;
  margin-bottom: var(--mw-sp-8);
}

/* midwest — results section
 * The flyer's structural centerpiece: a small centered kicker
 * ("BEFORE & AFTER RESULTS") on the off-white canvas, with the
 * 2×2 sharp-corner quadrant flush below.
 */
.mw-results {
  padding: var(--mw-sp-6) 0 var(--mw-sp-8);
}

.mw-results__kicker {
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-12);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mw-ink-muted);
  text-align: center;
  margin: 0 0 var(--mw-sp-4);
}

/* Tighten compare grid inside results — flush against the white margin */
.mw-results .mw-compare {
  border: 0;
  padding: 6px;
  background: var(--mw-white);
}
.mw-results .mw-compare__tile {
  aspect-ratio: 4 / 3;
}

/* midwest — before/after compare grid
 * Strict 2×2 quadrant: two columns × two rows of sharp-corner photo tiles.
 * Top-left chip: red BEFORE / blue AFTER. Optional white caption pill
 * pinned bottom-right (mimicking the flyer's WALKWAY / DRIVEWAY tags).
 */
.mw-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--mw-white);
  padding: 6px;
  border: 1px solid var(--mw-rule);
  border-radius: var(--mw-radius-sharp);
}

.mw-compare__tile {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--mw-off);
  overflow: hidden;
  border-radius: var(--mw-radius-sharp);
}

.mw-compare__tile .mw-figure__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Compact compare grid for modals — tighter ratios */
.mw-compare--tight {
  background: var(--mw-rule);
  padding: 3px;
  gap: 3px;
}
.mw-compare--tight .mw-compare__tile { aspect-ratio: 4 / 3; }

@media (max-width: 540px) {
  .mw-compare { grid-template-columns: 1fr; }
}

/* midwest — CTA panel
 * Right-side card of the bottom strip, mirroring the flyer's
 * "CALL OR TEXT TODAY" block. Off-white container, big charcoal
 * phone number as the readability engine.
 */
.mw-cta {
  background: var(--mw-off);
  border: 1px solid var(--mw-rule);
  border-radius: var(--mw-radius-card);
  padding: var(--mw-sp-8) var(--mw-sp-6) var(--mw-sp-6);
  text-align: center;
  box-shadow: 0 20px 40px -36px var(--mw-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--mw-sp-2);
  position: relative;
  overflow: hidden;
}
/* Flyer-echo: thin gold rule across the top of the CTA card */
.mw-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--mw-gold);
}

.mw-cta__kicker {
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-12);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mw-ink-muted);
  margin-top: var(--mw-sp-2);
}

.mw-cta__big {
  font-family: var(--mw-font-display);
  font-weight: var(--mw-fw-black);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  line-height: 1;
  letter-spacing: var(--mw-ls-display);
  color: var(--mw-navy);
  margin: var(--mw-sp-1) 0;
  display: inline-block;
  text-decoration: none;
}
.mw-cta__big:hover { color: var(--mw-navy-deep); }

.mw-cta__name {
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-18);
  color: var(--mw-ink);
}
.mw-cta__name span { margin: 0 var(--mw-sp-1); color: var(--mw-ink-soft); }

.mw-cta__tag {
  font-size: var(--mw-fs-14);
  color: var(--mw-ink-muted);
  font-style: italic;
}

.mw-cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--mw-sp-2);
  width: 100%;
  max-width: 320px;
  margin-top: var(--mw-sp-4);
}

.mw-cta__meta {
  margin-top: var(--mw-sp-4);
  padding-top: var(--mw-sp-3);
  border-top: 1px dashed var(--mw-rule);
  width: 100%;
  font-size: var(--mw-fs-12);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mw-ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--mw-sp-2);
  flex-wrap: wrap;
}
.mw-cta__meta-sep { color: var(--mw-gold); font-weight: var(--mw-fw-black); }

/* midwest — services strip
 * The flyer's lower section: a "WHAT I CLEAN" card containing a
 * compact 2-column list of services. Each row is a button — clicking
 * opens that service's modal with photos, description, and a CTA.
 */

/* Two-column bottom strip: services card + CTA card, side by side. */
.mw-strip {
  display: grid;
  gap: var(--mw-sp-6);
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 860px) {
  .mw-strip { grid-template-columns: 1.35fr 1fr; }
}

.mw-card--strip {
  display: flex;
  flex-direction: column;
  background: var(--mw-off);
  padding: var(--mw-sp-6) var(--mw-sp-6) var(--mw-sp-5);
}
.mw-card--strip .mw-card__title {
  font-size: clamp(var(--mw-fs-24), 2.5vw, var(--mw-fs-32));
  margin-bottom: var(--mw-sp-5);
}

/* Service rows — full-width buttons stacked / 2-up on wider strips. */
.mw-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--mw-sp-2);
  margin-bottom: var(--mw-sp-5);
}
@media (min-width: 540px) {
  .mw-services { grid-template-columns: 1fr 1fr; gap: var(--mw-sp-2) var(--mw-sp-4); }
}

.mw-service-row {
  appearance: none;
  background: var(--mw-white);
  border: 1px solid var(--mw-rule);
  border-left: 4px solid var(--mw-navy);
  border-radius: var(--mw-radius-soft);
  padding: var(--mw-sp-3) var(--mw-sp-4);
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "name more"
    "blurb blurb";
  gap: 2px var(--mw-sp-3);
  align-items: center;
  transition: transform 120ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.mw-service-row:hover {
  background: var(--mw-white);
  border-left-color: var(--mw-gold);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -16px var(--mw-shadow);
}
.mw-service-row:focus-visible {
  outline: 2px solid var(--mw-gold);
  outline-offset: 2px;
}

.mw-service-row__name {
  grid-area: name;
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-16);
  color: var(--mw-navy);
  line-height: 1.2;
}
.mw-service-row__blurb {
  grid-area: blurb;
  font-size: var(--mw-fs-14);
  color: var(--mw-ink-muted);
  line-height: 1.4;
}
.mw-service-row__more {
  grid-area: more;
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mw-ink-soft);
  white-space: nowrap;
  transition: color 160ms ease;
}
.mw-service-row:hover .mw-service-row__more { color: var(--mw-navy); }

.mw-card__foot {
  display: flex;
  align-items: center;
  gap: var(--mw-sp-3);
  padding-top: var(--mw-sp-4);
  border-top: 1px dashed var(--mw-rule);
  flex-wrap: wrap;
  margin-top: auto;
}
.mw-card__foot-note {
  font-size: var(--mw-fs-14);
  color: var(--mw-ink-muted);
}

/* midwest — contact page extras
 * Used by /contact: section foot row (badge + note), service-area
 * town chips, and the three "promises" cells underneath.
 */
.mw-section__foot {
  display: flex;
  align-items: center;
  gap: var(--mw-sp-3);
  margin-top: var(--mw-sp-6);
  padding-top: var(--mw-sp-4);
  border-top: 1px dashed var(--mw-rule);
  flex-wrap: wrap;
}

.mw-towns {
  list-style: none;
  margin: var(--mw-sp-2) 0 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
  gap: var(--mw-sp-3);
}
.mw-towns li {
  background: var(--mw-white);
  border: 1px solid var(--mw-rule);
  border-radius: var(--mw-radius-soft);
  padding: var(--mw-sp-3) var(--mw-sp-4);
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  color: var(--mw-navy);
  text-align: center;
  font-size: var(--mw-fs-16);
  letter-spacing: 0.01em;
  /* Tiny gold left edge ties the chip back to the brand palette
     without competing with the navy section headers. */
  border-left: 3px solid var(--mw-gold);
}

.mw-promises {
  /* Override the default mw-grid gap to give each promise more air. */
  gap: var(--mw-sp-5);
  margin-top: var(--mw-sp-2);
}
.mw-promise {
  background: var(--mw-off);
  border: 1px solid var(--mw-rule);
  border-radius: var(--mw-radius-card);
  padding: var(--mw-sp-6) var(--mw-sp-6) var(--mw-sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--mw-sp-3);
  position: relative;
  overflow: hidden;
}
.mw-promise::before {
  /* Same gold rule used on .mw-cta — visually links the promises
     back to the call-or-text card above. */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--mw-gold);
}
.mw-promise__num {
  font-family: var(--mw-font-display);
  font-weight: var(--mw-fw-black);
  font-size: var(--mw-fs-32);
  line-height: 1;
  color: var(--mw-gold-strong);
  letter-spacing: 0.04em;
}
.mw-promise__title {
  margin: 0;
  font-family: var(--mw-font-display);
  font-weight: var(--mw-fw-black);
  color: var(--mw-navy);
  font-size: var(--mw-fs-20);
  line-height: var(--mw-lh-tight);
}
.mw-promise__body {
  margin: 0;
  color: var(--mw-ink);
  font-size: var(--mw-fs-16);
  line-height: var(--mw-lh-body);
}

/* midwest — bio
 * "Who's behind this" — one white card holding avatar + name + two
 * paragraphs of bio + a row of contact actions. Lives in an off-white
 * --section--alt band so it visually anchors as a separate chapter.
 */
.mw-bio-card { padding: clamp(var(--mw-sp-6), 3vw, var(--mw-sp-10)); }

.mw-bio {
  display: grid;
  gap: var(--mw-sp-5);
  max-width: 70ch;
}

.mw-bio__head {
  display: flex;
  align-items: center;
  gap: var(--mw-sp-4);
}

.mw-bio__name {
  font-family: var(--mw-font-display);
  font-weight: var(--mw-fw-black);
  font-size: var(--mw-fs-24);
  letter-spacing: var(--mw-ls-display);
  text-transform: uppercase;
  color: var(--mw-navy);
  line-height: 1;
  margin: 0;
}

.mw-bio__tag {
  font-family: var(--mw-font-body);
  font-size: var(--mw-fs-14);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mw-ink-muted);
  margin-top: 4px;
}
.mw-bio__tag span { margin: 0 var(--mw-sp-2); color: var(--mw-gold-strong); }

.mw-bio__text {
  display: grid;
  gap: var(--mw-sp-4);
  font-size: var(--mw-fs-16);
  line-height: 1.65;
  color: var(--mw-ink);
}
.mw-bio__text p { margin: 0; }
.mw-bio__text em { color: var(--mw-navy); font-style: italic; }

.mw-bio__foot {
  display: flex;
  gap: var(--mw-sp-3);
  flex-wrap: wrap;
  padding-top: var(--mw-sp-3);
  border-top: 1px dashed var(--mw-rule);
}



/* midwest — floating nav drawer
 * A small sharp hamburger anchored top-left of the navy banner. Clicking
 * it slides in a left-edge drawer with the home + service-page nav and a
 * gold "Sign in to dashboard" affordance pinned to the bottom. Mirrors the
 * pattern wired into TFF + CVCC. JS toggles `.nav-drawer--open` on the
 * drawer + `.nav-overlay--open` on the overlay.
 */
.mw-nav-toggle {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  width: 2.6rem;
  height: 2.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mw-white);
  border: 2px solid var(--mw-navy);
  border-radius: var(--mw-radius-sharp);
  color: var(--mw-navy);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 4px 12px -6px var(--mw-shadow);
  transition: background 160ms ease, border-color 160ms ease, transform 120ms ease;
}
.mw-nav-toggle:hover {
  background: var(--mw-gold);
  border-color: var(--mw-gold-strong);
  transform: translateY(-1px);
}
.mw-nav-toggle:focus-visible {
  outline: 2px solid var(--mw-gold);
  outline-offset: 2px;
}
.mw-nav-toggle svg { fill: currentColor; }

@media (max-width: 540px) {
  .mw-nav-toggle { top: 0.5rem; left: 0.5rem; width: 2.4rem; height: 2.4rem; }
}

.mw-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 51, 86, 0.55);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.18s ease-out;
}
.mw-nav-overlay.nav-overlay--open { opacity: 1; }

.mw-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(18rem, 86vw);
  background: var(--mw-navy);
  color: var(--mw-white);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.22s ease-out;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 0 1rem;
  border-right: 5px solid var(--mw-gold);
}
.mw-nav-drawer.nav-drawer--open { transform: translateX(0); }
.mw-nav-drawer[aria-hidden="true"]:not(.nav-drawer--open) { pointer-events: none; }

.mw-nav-drawer__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: 0;
  font-size: 1.4rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
}
.mw-nav-drawer__close:hover { color: var(--mw-gold); }

.mw-nav-drawer__brand {
  font-family: var(--mw-font-display);
  font-weight: var(--mw-fw-black);
  font-size: var(--mw-fs-20);
  letter-spacing: var(--mw-ls-display);
  text-transform: uppercase;
  color: var(--mw-white);
  padding: 0.25rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(212, 175, 26, 0.35);
}

.mw-nav-drawer__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 1rem 0 0;
  overflow-y: auto;
}
.mw-nav-drawer__nav a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-14);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-left: 4px solid transparent;
}
.mw-nav-drawer__nav a:hover {
  background: var(--mw-navy-deep);
  border-left-color: var(--mw-gold);
  color: var(--mw-white);
}
.mw-nav-drawer__nav a[aria-current="page"] {
  background: var(--mw-navy-deep);
  border-left-color: var(--mw-gold);
  color: var(--mw-gold);
}
.mw-nav-drawer__section-label {
  display: block;
  padding: 0.65rem 1.25rem 0.25rem;
  font-family: var(--mw-font-body);
  font-size: var(--mw-fs-12);
  font-weight: var(--mw-fw-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mw-gold);
}

.mw-nav-drawer__divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 0.75rem 1.25rem 0;
}

/* Dashboard sign-in — low-profile pill at the very bottom of the
   drawer. The drawer is the only place the dashboard button ever
   appears; it never reads as a header CTA. */
.mw-nav-drawer__signin {
  display: block;
  margin: auto 1.25rem 0.5rem;
  padding: 0.35rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  font-family: var(--mw-font-body);
  font-weight: 400;
  font-size: var(--mw-fs-12);
  letter-spacing: 0.04em;
  text-transform: none;
  text-align: center;
  text-decoration: none;
}
.mw-nav-drawer__signin:hover,
.mw-nav-drawer__signin:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.36);
  outline: none;
}

/* Prevent body scroll while drawer is open. JS adds .has-nav-drawer to <html>. */
.has-nav-drawer { overflow: hidden; }

/* midwest — contact form
 * Two-column field grid that collapses to one column on narrow viewports.
 * Borrows --mw-navy / --mw-gold tokens so it visually belongs to the rest
 * of the page; banner styling for success/error mirrors MyciteFormUtils.
 */
.mw-form { display: block; }
.mw-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--mw-sp-4) var(--mw-sp-5);
}
@media (max-width: 540px) {
  .mw-form-grid { grid-template-columns: 1fr; }
}
.mw-form-field { display: flex; flex-direction: column; gap: var(--mw-sp-2); }
.mw-form-field--full { grid-column: 1 / -1; }
.mw-form-field > span {
  font-family: var(--mw-font-body);
  font-weight: var(--mw-fw-bold);
  font-size: var(--mw-fs-14);
  letter-spacing: 0.04em;
  color: var(--mw-navy);
}
.mw-form-field > span small {
  font-weight: var(--mw-fw-regular);
  color: var(--mw-ink-muted);
  letter-spacing: 0;
}
.mw-form-field--req > span::after {
  content: " *";
  color: var(--mw-flag-red);
}
.mw-form-field input,
.mw-form-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: var(--mw-sp-3) var(--mw-sp-4);
  font: inherit;
  color: var(--mw-ink);
  background: var(--mw-white);
  border: 1px solid var(--mw-rule);
  border-radius: var(--mw-radius-soft);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.mw-form-field textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: var(--mw-lh-body);
}
.mw-form-field input:focus,
.mw-form-field textarea:focus {
  outline: none;
  border-color: var(--mw-navy);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--mw-gold) 35%, transparent);
}
.mw-form-actions {
  margin-top: var(--mw-sp-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--mw-sp-4);
}
.mw-form-note {
  margin: 0;
  color: var(--mw-ink-muted);
  font-size: var(--mw-fs-14);
}

/* Banner injected by MyciteFormUtils.showBanner — re-skin to the
   midwest palette so the success/error toast doesn't clash. */
.mycite-banner {
  margin-top: var(--mw-sp-4);
  padding: var(--mw-sp-3) var(--mw-sp-4);
  border-radius: var(--mw-radius-soft);
  font-size: var(--mw-fs-16);
  font-weight: var(--mw-fw-bold);
  border: 1px solid currentColor;
}
.mycite-banner--ok {
  color: var(--mw-flag-blue);
  background: var(--mw-flag-blue-soft);
}
.mycite-banner--error {
  color: var(--mw-flag-red);
  background: var(--mw-flag-red-soft);
}
