/* ==========================================================================
   MTS Real Estate Group — "field guide to the northwest metro"
   ==========================================================================

   The concept: a county survey document. A plat book, a USGS quadrangle sheet,
   the kind of printed thing a title office keeps in a drawer. Not a website
   shaped like a website.

   THREE RULES HOLD THE LOOK TOGETHER. Each is the opposite of the default, and
   each is the reason this does not read as AI-built. Do not break them.

     1. border-radius: 0 everywhere. No exceptions.
     2. No box-shadow. Depth comes from hairline rules and ink weight.
     3. No gradients. Flat color only.

   Learned from WetWheels: the first pass there was dark with glows, shadowed
   cards and a marquee, and Corey killed it for looking like exactly what it was.
   Do not drift back toward that.

   Type does the work instead:
     Cormorant Garamond  display, classical roman to match their logo. Real
                         italic for emphasis, in rust. Never a faked oblique.
     IBM Plex Sans       body. Technical, plain, gets out of the way.
     IBM Plex Mono       labels, data plates, coordinates. This is what makes it
                         read as a survey document rather than a brochure.

   Palette is their two brand colors plus the rust that is actually in the logo
   (they submitted a warm grey as secondary, but the rust is the real accent).
   The rust NEVER enters a photograph. Type, rules and the map only.
   ========================================================================== */

:root {
  --paper:      #F2EFE9;  /* warm stock, the page */
  --paper-2:    #EAE6DE;  /* a second stock for alternating bands */
  --paper-3:    #E1DCD2;  /* panel inset */
  --teal:       #234F51;  /* their primary, the ink */
  --teal-deep:  #163536;  /* headings and body text */
  --teal-mid:   #3E6F70;  /* secondary text */
  --rust:       #B04A2B;  /* their logo accent */
  --rust-deep:  #8E3A21;
  --grey:       #C5BEBC;  /* their submitted secondary, used for rules */
  --rule:       #C9C2B6;  /* hairline */
  --rule-ink:   #8FA3A0;  /* hairline over ink */
  --ink-band:   #1B3E40;  /* the one dark band per page */

  --shell: 1200px;
  --gut: clamp(20px, 5vw, 56px);
  --band: clamp(64px, 9vw, 116px);

  --sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--teal-deep);
  font: 400 17px/1.68 var(--sans);
  /* The faint ruled grid of a survey sheet. Two hairlines, no gradient. */
  background-image:
    repeating-linear-gradient(to right, rgba(35,79,81,.035) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(to bottom, rgba(35,79,81,.035) 0 1px, transparent 1px 64px);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rust); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--teal); color: var(--paper); padding: 12px 18px; font: 500 13px var(--mono);
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gut); }
.shell.narrow { max-width: 880px; }

/* ---------------------------------------------------------------- type ---- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--teal-deep);
  letter-spacing: .002em;
  margin: 0;
  line-height: 1.1;
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 5.6vw, 68px); }
h2 { font-size: clamp(27px, 3.4vw, 43px); }
h3 { font-size: clamp(20px, 2vw, 25px); }

/* Emphasis is a real italic in rust. Cormorant has a true italic, so this is
   type doing the work, not a synthesized slant. */
.em { color: var(--rust); font-style: italic; }

/* The mono label. Does the job an "eyebrow" would without reading as the
   standard uppercase-letterspaced website eyebrow, because it is monospaced
   and sits against a rule like a field on a form. */
.label {
  display: block;
  font: 500 11.5px/1 var(--mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rust);
  padding-bottom: 9px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 20px;
}
.label-plain { border: 0; padding: 0; }

p { margin: 0 0 1.15em; }
.lede {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  color: var(--teal);
}
.prose p { max-width: 72ch; }
.prose p + p { margin-top: 0; }

/* ---------------------------------------------------------------- header -- */

.topbar { height: 6px; background: var(--rust); }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.nav-shell { display: flex; align-items: center; gap: 20px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; margin-right: auto; }
.brand img { width: auto; height: 46px; }
.brand-word { line-height: 1; padding-left: 13px; border-left: 1px solid var(--rule); }
.brand-word span {
  display: block; font: 500 9.5px/1.6 var(--mono); white-space: nowrap;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-mid);
}

.site-menu { display: flex; align-items: center; gap: 4px; }
.site-menu a {
  font: 500 13px var(--sans); letter-spacing: .01em; text-decoration: none;
  color: var(--teal-deep); padding: 10px 12px; border-bottom: 2px solid transparent;
}
.site-menu a:hover { color: var(--rust); border-bottom-color: var(--rust); }
.nav-call {
  font-family: var(--mono) !important; font-weight: 500 !important; font-size: 12.5px !important;
  letter-spacing: .04em; margin-left: 10px;
  border: 1px solid var(--teal) !important; padding: 11px 16px !important;
}
.nav-call:hover { background: var(--teal); color: var(--paper) !important; border-color: var(--teal) !important; }

.menu-toggle {
  display: none; width: 46px; height: 40px; background: none;
  border: 1px solid var(--rule); cursor: pointer; padding: 11px 10px;
  flex-direction: column; justify-content: space-between;
}
.menu-toggle span { display: block; height: 1.5px; background: var(--teal-deep); }

/* ---------------------------------------------------------------- cover --- */

.cover { border-bottom: 1px solid var(--rule); padding: clamp(40px, 6vw, 76px) 0 0; }
.cover-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: end; }
.cover-copy { padding-bottom: clamp(40px, 5vw, 68px); }
.cover h1 { margin-bottom: 22px; }
/* The h2 under the h1 is the meta description, per the SEO contract. It has to
   read as a standfirst, not as a second headline. */
.cover h2 {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.6;
  color: var(--teal-mid); max-width: 56ch; margin-bottom: 30px;
}
.cover-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cover-art { margin: 0; position: relative; align-self: stretch; }
.cover-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%;
  border-left: 1px solid var(--rule);
}

/* Coordinate line, bottom corner of a cover. Real lat/lng, like a map margin. */
.coords {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--paper); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule);
  font: 500 10.5px/1 var(--mono); letter-spacing: .1em; color: var(--teal-mid);
  padding: 9px 12px; display: flex; justify-content: space-between; gap: 12px;
}

.btn {
  display: inline-block; font: 500 13px var(--mono); letter-spacing: .07em;
  text-transform: uppercase; text-decoration: none; padding: 15px 24px; border: 1px solid var(--teal);
  transition: background .12s linear, color .12s linear;
}
.btn-fill { background: var(--teal); color: var(--paper); }
.btn-fill:hover { background: var(--rust); border-color: var(--rust); color: var(--paper); }
.btn-line { background: none; color: var(--teal-deep); }
.btn-line:hover { background: var(--teal); color: var(--paper); }
.btn-ink { border-color: var(--paper); color: var(--paper); }
.btn-ink:hover { background: var(--paper); color: var(--ink-band); }

/* ---------------------------------------------------------------- bands --- */

.band { padding: var(--band) 0; border-bottom: 1px solid var(--rule); }
.band-2 { background: var(--paper-2); }
.band-3 { background: var(--paper-3); }
/* Exactly ONE dark band per page, as a contrast beat. Not the whole site. */
.band-ink { background: var(--ink-band); color: #DCE5E3; border-bottom: 0; }
.band-ink h1, .band-ink h2, .band-ink h3 { color: var(--paper); }
.band-ink .label { color: #C9836A; border-bottom-color: rgba(242,239,233,.22); }
.band-ink .lede { color: #BCCECB; }
.band-ink a { color: var(--paper); }

/* Section head with a § numeral, set like a survey section marker. */
.head { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 3vw, 40px); margin-bottom: clamp(30px, 4vw, 52px); }
.head-num {
  font: 500 12px var(--mono); letter-spacing: .1em; color: var(--rust);
  border-top: 3px solid var(--rust); padding-top: 9px; white-space: nowrap;
}
.head-text h2 { margin-bottom: 14px; }
.head-text .lede { max-width: 62ch; margin: 0; }

/* ------------------------------------------------------- the survey map --- */
/* The signature element. A drafted diagram of the 20-town footprint, inline SVG,
   built from the same coordinates the schema uses. Not a Google Map embed. */

.map-figure { margin: 0; border: 1px solid var(--teal); background: var(--paper); }
.map-cap {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  border-bottom: 1px solid var(--teal); padding: 13px 18px;
  font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal);
}
.map-cap b { font-weight: 500; color: var(--rust); }
.map-wrap { padding: clamp(10px, 2vw, 22px); }
.map-svg { width: 100%; height: auto; display: block; }
.map-svg .road { fill: none; stroke: var(--rule); stroke-width: 1.4; }
.map-svg .road-major { stroke: var(--grey); stroke-width: 2.6; }
.map-svg .water { fill: none; stroke: var(--teal-mid); stroke-width: 2; opacity: .55; }
.map-svg .dot { fill: var(--teal); }
.map-svg .dot-hub { fill: var(--rust); }
.map-svg text {
  /* Knockout halo, so a place name stays readable where it crosses a corridor. */
  paint-order: stroke; stroke: var(--paper); stroke-width: 3.5px; stroke-linejoin: round;
}
.map-svg .town { font: 500 9.5px var(--mono); fill: var(--teal-deep); letter-spacing: .04em; }
.map-svg .town-hub { fill: var(--rust); }
.map-svg .road-label { font: 500 8.5px var(--mono); fill: var(--teal-mid); letter-spacing: .1em; }
.map-svg .water-label { fill: var(--teal); letter-spacing: .14em; }
.map-svg .furniture text { fill: var(--teal-mid); }
.map-svg a:hover .dot { fill: var(--rust); }
.map-svg a:hover .town { fill: var(--rust); }
.map-legend {
  border-top: 1px solid var(--rule); padding: 12px 18px;
  font: 400 11.5px/1.5 var(--mono); color: var(--teal-mid); letter-spacing: .03em;
}

/* ---------------------------------------------------------- data plates --- */
/* Mono key/value rows. The survey-document tell, and it lets a town page carry
   real facts (county, district, commute spine) without a card grid. */

.plate { border: 1px solid var(--teal); background: var(--paper); }
.plate-cap {
  background: var(--teal); color: var(--paper); padding: 11px 16px;
  font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase;
}
.plate-row {
  display: grid; grid-template-columns: 116px 1fr; gap: 14px;
  padding: 12px 16px; border-bottom: 1px solid var(--rule);
  font-size: 14.5px; line-height: 1.5;
}
.plate-row:last-child { border-bottom: 0; }
.plate-row dt { font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--teal-mid); padding-top: 3px; }
.plate-row dd { margin: 0; color: var(--teal-deep); }
dl.plate { margin: 0; }

/* --------------------------------------------------------- service index -- */
/* Numbered rows that invert on hover. Deliberately not cards. */

.index { border-top: 1px solid var(--teal); }
.index-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: clamp(14px, 2.4vw, 34px);
  align-items: center; padding: clamp(22px, 3vw, 34px) 8px;
  border-bottom: 1px solid var(--rule); text-decoration: none; color: inherit;
  transition: background .12s linear, color .12s linear, padding-left .12s linear;
}
.index-row:hover { background: var(--teal); color: var(--paper); padding-left: 20px; }
.index-num {
  font: 500 13px var(--mono); letter-spacing: .1em; color: var(--rust);
  -webkit-text-stroke: 0; transition: color .12s linear;
}
.index-row:hover .index-num { color: #E0A78F; }
.index-main h3 { margin-bottom: 7px; transition: color .12s linear; }
.index-row:hover .index-main h3 { color: var(--paper); }
.index-main p { margin: 0; color: var(--teal-mid); max-width: 60ch; font-size: 15.5px; }
.index-row:hover .index-main p { color: #BCCECB; }
.index-go { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-mid); white-space: nowrap; }
.index-row:hover .index-go { color: var(--paper); }

/* ------------------------------------------------------------ town index -- */
/* A ruled table, like the index page of a plat book. Scrolls on small screens
   inside its own container so the page body never scrolls sideways. */

.town-scroll { overflow-x: auto; border: 1px solid var(--teal); }
table.towns { width: 100%; border-collapse: collapse; min-width: 720px; background: var(--paper); }
table.towns caption {
  caption-side: top; text-align: left; background: var(--teal); color: var(--paper);
  padding: 11px 16px; font: 500 11px var(--mono); letter-spacing: .16em; text-transform: uppercase;
}
table.towns th, table.towns td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.towns thead th {
  font: 500 10px var(--mono); letter-spacing: .13em; text-transform: uppercase;
  color: var(--teal-mid); border-bottom: 1px solid var(--teal);
}
table.towns tbody th { font-family: var(--serif); font-size: 20px; font-weight: 600; white-space: nowrap; }
table.towns tbody th a { text-decoration: none; }
table.towns tbody th a:hover { text-decoration: underline; }
table.towns td { font-size: 14px; color: var(--teal-mid); }
table.towns td.mono { font: 400 12.5px var(--mono); letter-spacing: .02em; }
table.towns tbody tr:hover { background: var(--paper-2); }
table.towns tbody tr:last-child th, table.towns tbody tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------- steps --- */
/* Numbered process, set as a ruled list rather than a timeline with dots. */

.steps { counter-reset: s; border-top: 1px solid var(--teal); }
.steps > li {
  counter-increment: s; list-style: none;
  display: grid; grid-template-columns: 58px 1fr; gap: clamp(14px, 2.5vw, 30px);
  padding: clamp(18px, 2.4vw, 26px) 0; border-bottom: 1px solid var(--rule);
}
.steps { padding: 0; margin: 0; }
.steps > li::before {
  content: counter(s, decimal-leading-zero);
  font: 500 12px var(--mono); letter-spacing: .1em; color: var(--rust); padding-top: 5px;
}
.steps h3 { font-size: 21px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--teal-mid); font-size: 15.5px; max-width: 66ch; }

/* ---------------------------------------------------------------- notes --- */

.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--teal); }
.note { padding: clamp(22px, 3vw, 32px); border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.note:last-child { border-right: 0; }
.note h3 { font-size: 21px; margin-bottom: 9px; }
.note p { margin: 0; color: var(--teal-mid); font-size: 15.5px; }
.note-num { font: 500 11px var(--mono); letter-spacing: .14em; color: var(--rust); display: block; margin-bottom: 12px; }

/* ------------------------------------------------------------------ faq --- */

.faq { border-top: 1px solid var(--teal); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--serif); font-size: clamp(19px, 1.9vw, 22px); font-weight: 600; color: var(--teal-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font: 400 24px var(--mono); color: var(--rust); line-height: 1;
}
.faq details[open] summary::after { content: '\2013'; }
.faq summary:hover { color: var(--rust); }
.faq details p { margin: 0 0 22px; max-width: 74ch; color: var(--teal-mid); }

/* ------------------------------------------------------------ call band --- */

.callband { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.callband h2 { margin-bottom: 14px; }
.callband p { color: #BCCECB; margin: 0; }
.callband-acts { display: flex; flex-direction: column; gap: 11px; }

/* ------------------------------------------------------------- contact ---- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.form-box { border: 1px solid var(--teal); background: var(--paper); padding: clamp(22px, 3vw, 32px); }
.form-fallback h3 { margin-bottom: 10px; }
.form-fallback p { color: var(--teal-mid); font-size: 15.5px; }

/* -------------------------------------------------------------- figures --- */

.figure { margin: clamp(28px, 4vw, 44px) 0 0; }
.figure img { border: 1px solid var(--rule); width: 100%; }
.figure figcaption {
  font: 400 11.5px var(--mono); letter-spacing: .06em; color: var(--teal-mid);
  border-left: 2px solid var(--rust); padding: 7px 0 7px 11px; margin-top: 12px;
}
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3.5vw, 52px); align-items: start; }
.split-wide { grid-template-columns: 1.35fr .65fr; }

/* ------------------------------------------------------------ marginalia -- */
/* Small mono annotations, like a note pencilled in a field guide margin. */

.margin-note {
  font: 400 12.5px/1.6 var(--mono); color: var(--teal-mid); letter-spacing: .01em;
  border-left: 2px solid var(--grey); padding-left: 14px; margin: 26px 0;
}

/* Compliance strip. Fair Housing and brokerage attribution are required on every
   page, so they get real styling instead of being buried in 9px grey. */
.compliance {
  border: 1px solid var(--rule); padding: 18px 20px; margin-top: 26px;
  font: 400 12.5px/1.65 var(--mono); color: var(--teal-mid); letter-spacing: .01em;
  background: var(--paper);
}
.compliance strong { color: var(--teal-deep); font-weight: 500; }
.eho { display: flex; align-items: flex-start; gap: 14px; }
.eho svg { flex: 0 0 auto; margin-top: 2px; }

/* --------------------------------------------------------------- footer ---- */

.footer { background: var(--ink-band); color: #B7C8C6; padding: clamp(48px, 6vw, 78px) 0 0; }
.footer-grid {
  width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gut);
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(24px, 3.5vw, 52px);
}
.footer h2 {
  font: 500 10.5px var(--mono); letter-spacing: .18em; text-transform: uppercase;
  color: #E0A78F; margin-bottom: 16px; padding-bottom: 9px; border-bottom: 1px solid rgba(242,239,233,.18);
}
.footer a { display: block; color: #CBD8D6; text-decoration: none; font-size: 14.5px; padding: 5px 0; }
.footer a:hover { color: var(--paper); text-decoration: underline; }
.footer p { font-size: 14px; line-height: 1.6; color: #9FB3B1; }
.footer-mark { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-mark img { height: 46px; width: auto; }
.footer-lockup { margin: 18px 0 0; }
.footer-lockup img { height: 34px; width: auto; opacity: .9; }
.footer-num {
  font-family: var(--mono) !important; font-size: 19px !important; letter-spacing: .04em;
  color: var(--paper) !important; padding: 10px 0 0 !important;
}
.footer-bottom {
  width: 100%; max-width: var(--shell); margin: clamp(34px, 4vw, 52px) auto 0; padding: 20px var(--gut) 30px;
  border-top: 1px solid rgba(242,239,233,.18);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font: 400 12px var(--mono); letter-spacing: .04em; color: #8FA5A3;
}
.footer-bottom a { display: inline-block; color: #8FA5A3; padding: 0 12px 0 0; font-size: 12px; }
.footer-legal { border-top: 1px solid rgba(242,239,233,.18); }
.footer-compliance {
  width: 100%; max-width: var(--shell); margin: 0 auto; padding: 22px var(--gut);
  font: 400 11.5px/1.6 var(--mono); color: #8FA5A3; letter-spacing: .01em;
  border-top: 1px solid rgba(242,239,233,.18);
}
.footer-compliance .eho svg rect, .footer-compliance .eho svg path { stroke: #8FA5A3; }

/* ---------------------------------------------------------------- legal ---- */

.legal { padding: var(--band) 0; }
.legal-body { max-width: 800px; }
.legal-body h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 40px 0 12px; padding-top: 20px; border-top: 1px solid var(--rule); }
.legal-body h3 { font-size: 20px; margin: 26px 0 8px; }
.legal-body ul { padding-left: 20px; color: var(--teal-mid); }
.legal-body li { margin-bottom: 7px; }

/* ------------------------------------------------------------ responsive -- */

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

@media (max-width: 940px) {
  .menu-toggle { display: flex; }
  .site-menu {
    position: fixed; inset: 84px 0 0; background: var(--paper);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gut) 40px; overflow-y: auto;
    border-top: 1px solid var(--rule);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .14s linear, transform .14s linear;
  }
  body.menu-open .site-menu { transform: none; opacity: 1; pointer-events: auto; }
  body.menu-open { overflow: hidden; }
  .site-menu a { padding: 17px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
  .site-menu a:hover { border-bottom-color: var(--rule); }
  .nav-call { margin: 20px 0 0; text-align: center; padding: 16px !important; font-size: 15px !important; }

  .cover-grid, .split, .split-wide, .contact-grid, .callband { grid-template-columns: 1fr; }
  .cover-copy { padding-bottom: 34px; }
  .cover-art img { border-left: 0; border-top: 1px solid var(--rule); max-height: 62vh; }
  .callband-acts { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 620px) {
  body { font-size: 16.5px; }
  .head { grid-template-columns: 1fr; gap: 14px; }
  .head-num { display: inline-block; }
  .index-row { grid-template-columns: 40px 1fr; row-gap: 8px; }
  .index-go { display: none; }
  .plate-row { grid-template-columns: 1fr; gap: 4px; }
  .notes { grid-template-columns: 1fr; }
  .note { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps > li { grid-template-columns: 34px 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .footer, .topbar, .cover-actions, .callband-acts { display: none; }
  body { background: #fff; font-size: 11pt; }
}
