/* Santa Fe Pest Control: the field guide diorama.
   Sage paper, umber ink, adobe, turquoise, dusk. Hahmlet for display, Rosario for reading,
   Courier Prime for anything a specimen label would type. Contrast measured in design/santa-fe-pest.md. */
:root {
  --sage: #ECEEE5; --sage-2: #E1E5D8; --label: #F9F6EE; --white: #FFFFFF;
  --ink: #2A1F19; --ink-2: #5A4A3F; --rule: rgba(42, 31, 25, .22);
  --adobe: #B8764C; --adobe-deep: #7A4428;
  --turq: #00706E; --turq-hover: #005E5C; --turq-ink: #005E5C; --brand: #009999;
  --dusk: #1D2331; --dusk-2: #262D40; --dusk-text: #EDE6DA; --dusk-muted: #B9B2A6;
  --ochre: #8F5410;
  --display: 'Hahmlet', Georgia, 'Times New Roman', serif;
  --body: 'Rosario', 'Gill Sans', system-ui, sans-serif;
  --mono: 'Courier Prime', 'Courier New', ui-monospace, monospace;
  --gut: clamp(20px, 4.2vw, 64px);
  --max: 1260px;
  --sa-accent: #00706E; --sa-accent-ink: #FFFFFF;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sage); color: var(--ink);
  font: 400 18px/1.62 var(--body); font-kerning: normal;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--turq-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; letter-spacing: -0.015em; line-height: 1.06; margin: 0; text-wrap: balance; }
h3 { font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible, .top--over :focus-visible { outline-color: var(--label); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--label); color: var(--ink); padding: 12px 16px; border: 1px solid var(--ink); }
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ---------------------------------------------------------------- buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 3px; cursor: pointer;
  background: var(--turq); color: var(--white); text-decoration: none;
  font: 500 17px/1.1 var(--body); letter-spacing: .005em;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--turq-hover); }
.btn:active { transform: translateY(1px); }
.btn--paper { background: var(--label); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(42, 31, 25, .3); }
.btn--paper:hover { background: var(--white); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 16px; }
.tel { font: 400 18px/1.2 var(--body); color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding: 12px 0 2px; display: inline-block; }
.tel:hover { border-bottom-width: 2px; }
.textlink { font-weight: 500; }
.typed { font-family: var(--mono); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.typed i, .latin { font-style: italic; }

/* ---------------------------------------------------------------- header: the specimen tag */
.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 0 var(--gut); pointer-events: none;
}
.top > * { pointer-events: auto; }
.tag {
  position: relative; display: block; background: var(--white);
  padding: 22px 16px 14px; border: 1px solid rgba(42, 31, 25, .16); border-top: 0;
  box-shadow: 0 16px 28px -18px rgba(20, 12, 6, .55);
}
.tag::before {
  content: ''; position: absolute; top: 8px; left: 50%; width: 8px; height: 8px; margin-left: -4px;
  border-radius: 50%; background: var(--sage-2); box-shadow: inset 0 1px 2px rgba(42, 31, 25, .45);
}
.tag img { width: 136px; height: auto; }
.top__actions { display: flex; align-items: center; gap: 18px; padding-top: 22px; }
.top__tel { font-size: 17px; }
.top--over .top__tel { color: var(--label); }
.top--paper .top__tel { color: var(--ink); }
.menu-btn { font-family: var(--body); }

/* ---------------------------------------------------------------- contents (the field guide index) */
.index {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain;
  background: var(--sage); color: var(--ink); padding: 28px var(--gut) 72px;
}
.index[hidden] { display: none; }
.index__head { display: flex; justify-content: space-between; align-items: flex-start; max-width: var(--max); margin: 0 auto 36px; }
.index__head .tag { box-shadow: none; border: 1px solid rgba(42, 31, 25, .16); }
.index__grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; }
.index h2 { font-size: 22px; font-weight: 400; margin-bottom: 14px; }
.index__services a {
  display: grid; grid-template-columns: 108px 1fr; align-items: center; gap: 20px;
  padding: 14px 0; border-top: 1px solid var(--rule); text-decoration: none; color: var(--ink);
}
.index__services li:last-child a { border-bottom: 1px solid var(--rule); }
.index__services img { width: 108px; height: auto; }
.index__services strong { display: block; font: 300 34px/1.1 var(--display); letter-spacing: -0.015em; }
.index__services span { color: var(--ink-2); font-size: 16px; }
.index__services a:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.index__side li { list-style: none; }
.index__services li { list-style: none; }
.index__side ul a { display: block; padding: 9px 0; font: 300 28px/1.2 var(--display); color: var(--ink); text-decoration: none; }
.index__side ul a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.index__contact { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--rule); }
.index__contact p { margin: 0 0 10px; }

/* ---------------------------------------------------------------- the diorama (home) */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: none; background: #d8a37f; }
.has-3d #scene { display: block; }
.journey { position: relative; z-index: 1; }
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--gut) 7vh; overflow: hidden; }
.hero__still { position: absolute; inset: 0; z-index: 0; transition: opacity .9s ease; }
.hero__still img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.scene-live .hero__still { opacity: 0; pointer-events: none; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(90% 75% at 0% 0%, rgba(12, 18, 38, .58), rgba(12, 18, 38, .3) 45%, rgba(12, 18, 38, 0) 72%); }
.hero h1 {
  position: absolute; z-index: 2; left: var(--gut); top: clamp(148px, 19vh, 200px);
  max-width: 15ch; color: var(--label); font-size: clamp(52px, 7vw, 108px); line-height: 1.0;
}
.hero .label { position: relative; z-index: 2; }
.hero__cue { position: absolute; z-index: 2; right: var(--gut); bottom: 5vh; margin: 0; color: var(--label); font: 15px/1.4 var(--mono); opacity: .9; }

/* the exhibit label: a paper panel beside each specimen */
.label {
  width: min(470px, 100%); background: var(--label); color: var(--ink);
  border: 1px solid rgba(42, 31, 25, .3); padding: 30px 32px 22px;
  box-shadow: 0 22px 44px -26px rgba(20, 12, 6, .6);
}
.label h2 { font-size: clamp(38px, 3.6vw, 52px); margin-bottom: 16px; }
.label > p { font-size: 17.5px; line-height: 1.6; }
.label ul.signs { margin: 0 0 20px; }
.signs li { list-style: none; position: relative; padding: 5px 0 5px 22px; font-size: 16.5px; line-height: 1.45; border-top: 1px solid var(--rule); }
.signs li:last-child { border-bottom: 1px solid var(--rule); }
.signs li::before { content: ''; position: absolute; left: 2px; top: 14px; width: 8px; height: 8px; border: 1.5px solid var(--adobe-deep); border-radius: 50%; }
.label__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 6px 0 18px; }
.label__foot { margin: 0; padding-top: 14px; border-top: 1px solid var(--rule); font: 14.5px/1.5 var(--mono); color: var(--ink-2); }
.label__note { font-size: 15.5px; color: var(--ink-2); }
.stop { position: relative; min-height: 172vh; padding: 0 var(--gut); }
.stop .label { position: sticky; top: 19vh; }
.hero.stop { min-height: 100vh; min-height: 100svh; padding: 0 var(--gut) 7vh; }
.hero.stop .label { position: relative; top: auto; }
.stop--last { min-height: 150vh; }
.stop .plate { display: none; }
.still-mode .top, .still-mode .journey > *, .still-mode .after, .still-mode footer, .still-mode .sa-corner-room { visibility: hidden; }
.still-mode .hero__still { display: none; }

/* no WebGL, no JS or reduced motion: the exhibits become a printed field guide */
html:not(.has-3d) .stop:not(.hero) { min-height: 0; padding: clamp(56px, 8vw, 110px) var(--gut); display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; }
html:not(.has-3d) .stop:not(.hero) + .stop { border-top: 1px solid var(--rule); }
html:not(.has-3d) .stop .label { position: static; }
html:not(.has-3d) .stop .plate { display: block; width: 100%; max-width: 400px; justify-self: center; }
html:not(.has-3d) .stop .plates { width: 100%; max-width: 700px; justify-self: center; }
html:not(.has-3d) .stop .plates .plate { max-width: none; }
html:not(.has-3d) .stop .plate--photo { max-width: 760px; }
html:not(.has-3d) .journey { background: var(--sage); }

/* ---------------------------------------------------------------- specimen plates (HTML twins of the 3D cards) */
.plate { background: var(--label); border: 1px solid rgba(42, 31, 25, .3); padding: 10px; box-shadow: 0 20px 40px -28px rgba(20, 12, 6, .55); }
.plate__in { border: 1px solid rgba(42, 31, 25, .55); outline: 1px solid rgba(42, 31, 25, .25); outline-offset: -8px; padding: 22px 26px 20px; }
.plate__top { display: flex; justify-content: space-between; font: 14px/1.4 var(--mono); color: var(--ink-2); margin: 0 0 8px; }
.plate img { width: 100%; height: auto; }
.plate__name { font: 400 clamp(26px, 2.4vw, 34px)/1.15 var(--display); letter-spacing: -0.01em; margin: 10px 0 2px; padding-top: 14px; border-top: 1.5px solid rgba(42, 31, 25, .7); }
.plate__latin { font: italic 16px/1.4 var(--mono); color: var(--ink-2); margin: 0 0 6px; }
.plate__svc { font: 500 16px/1.4 var(--body); color: var(--turq-ink); margin: 0; }
.plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plates .plate__name { font-size: 22px; }
.plates .plate__in { padding: 14px 16px 14px; }
html:not(.has-3d) .stop .plates .plate__top span:last-child { display: none; }

/* ---------------------------------------------------------------- after the diorama */
.after { position: relative; z-index: 2; background: var(--sage); }
.sa-corner-room { position: relative; z-index: 2; }   /* the widget's room after the footer sits over the fixed canvas */
.band { padding: clamp(72px, 9vw, 132px) 0; }
.band + .band { border-top: 1px solid var(--rule); }
.band__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.band__head h2 { font-size: clamp(40px, 4.6vw, 72px); }
.band__head p { color: var(--ink-2); max-width: 56ch; margin: 0; }

/* proof: the two ratings set as numbers, each with its source */
.ratings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-bottom: clamp(36px, 5vw, 64px); }
.rating { padding: 26px 0 24px; display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: center; }
.rating + .rating { border-left: 1px solid var(--rule); padding-left: clamp(20px, 4vw, 48px); }
.rating strong { grid-row: span 2; font: 300 clamp(64px, 7vw, 104px)/0.9 var(--display); letter-spacing: -0.03em; }
.stars { color: var(--ochre); font-size: 19px; letter-spacing: 3px; line-height: 1; }
.rating p { margin: 0; color: var(--ink-2); font-size: 16.5px; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.quote { margin: 0; padding-top: 22px; border-top: 1.5px solid var(--ink); }
.quote p { font: 300 clamp(21px, 1.75vw, 25px)/1.42 var(--display); letter-spacing: -0.005em; margin-bottom: 16px; }
.quote footer, .quote figcaption { font: 14.5px/1.5 var(--mono); color: var(--ink-2); }
.more-link { margin-top: 36px; }

/* the company: their trucks, their sequence */
.company { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.photo { margin: 0; }
.photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photo figcaption { font: 14.5px/1.5 var(--mono); color: var(--ink-2); padding-top: 10px; }
.company h2 { font-size: clamp(40px, 4.4vw, 68px); margin-bottom: 22px; }
.visit { counter-reset: step; margin: 30px 0 0; border-top: 1px solid var(--rule); }
.visit li { list-style: none; display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.visit li::before { counter-increment: step; content: counter(step); font: 300 40px/1 var(--display); color: var(--adobe-deep); }
.visit h3 { font-size: 23px; margin: 4px 0 4px; }
.visit p { margin: 0; color: var(--ink-2); font-size: 17px; }

/* the range map */
.range { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.range__map { width: 100%; height: auto; }
.range__ctx path { fill: none; stroke: var(--ink-2); stroke-width: 1; opacity: .45; }
.range__served path { fill: url(#hatch); stroke: var(--adobe-deep); stroke-width: 1.5; }
.range__towns circle { fill: var(--ink); stroke: var(--label); stroke-width: 2; }
.range__town { font: 15px var(--mono); fill: var(--ink); paint-order: stroke; stroke: var(--sage); stroke-width: 4px; }
.range__county { font: 500 15px var(--body); fill: var(--ink-2); }
:root { --range-fill: #DDB898; --range-hatch: #B8764C; }
.areas { border-top: 1px solid var(--rule); margin: 22px 0 28px; }
.areas li { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); font: 300 26px/1.2 var(--display); }
.areas li span { font: 14px/1.9 var(--mono); color: var(--ink-2); }

/* the closing band at dusk */
.closer { background: var(--dusk); color: var(--dusk-text); padding: clamp(80px, 10vw, 140px) 0; }
.closer__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.closer h2 { font-size: clamp(44px, 5.4vw, 84px); color: var(--label); }
.closer p { color: var(--dusk-muted); max-width: 52ch; }
.closer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
.closer .tel { color: var(--label); }

/* ---------------------------------------------------------------- footer */
.foot { position: relative; z-index: 2; background: #161B27; color: var(--dusk-text); padding: 72px 0 36px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 36px; }
.foot .tag { display: inline-block; box-shadow: none; border: 0; padding: 18px 14px 12px; }
.foot .tag img { width: 124px; }
.foot h2 { font: 400 17px/1.3 var(--display); letter-spacing: 0; color: var(--label); margin: 0 0 14px; }
.foot li { list-style: none; }
.foot a { color: var(--dusk-text); text-decoration: none; display: inline-block; padding: 5px 0; }
.foot a:hover { text-decoration: underline; }
.foot p, .foot address { font-style: normal; color: var(--dusk-muted); font-size: 16px; line-height: 1.6; margin: 0 0 10px; }
.foot address a { padding: 2px 0; }
.foot__brand p { margin-top: 18px; max-width: 30ch; }
.foot__base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(237, 230, 218, .16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14.5px; color: var(--dusk-muted); }
.foot__base a { padding: 0; color: var(--dusk-text); text-decoration: underline; text-underline-offset: 3px; }
.foot :focus-visible { outline-color: var(--label); }

/* ---------------------------------------------------------------- inner pages: the field guide entry */
.page .top { position: relative; }
.plateband { position: relative; height: clamp(220px, 36vh, 400px); overflow: hidden; background: #c98c5f; }
.plateband img { width: 100%; height: 100%; object-fit: cover; }
.plateband::after { content: ''; position: absolute; inset: auto 0 0 0; height: 1px; background: rgba(42, 31, 25, .4); }
.entry { padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.crumbs { font: 14.5px/1.4 var(--mono); color: var(--ink-2); margin: 0 0 26px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { list-style: none; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); padding: 6px 0; display: inline-block; }
.crumbs [aria-current] { color: var(--ink); }
.entry__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.entry h1 { font-size: clamp(50px, 6.4vw, 100px); margin-bottom: 26px; }
.lede { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.6; max-width: 56ch; color: var(--ink); }
.entry__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.entry__note { margin-top: 18px; font: 14.5px/1.5 var(--mono); color: var(--ink-2); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.section { padding: clamp(56px, 7vw, 100px) 0; border-top: 1px solid var(--rule); }
.section h2 { font-size: clamp(34px, 3.4vw, 50px); margin-bottom: 22px; }
.prose { max-width: 66ch; }
.prose p { font-size: 18px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 400 21px/1.35 var(--display); letter-spacing: -0.005em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 14px; font: 300 30px/1 var(--display); color: var(--adobe-deep); }
.faq details[open] summary::after { content: '\2013'; }
.faq details > div { padding: 0 0 20px; color: var(--ink-2); max-width: 64ch; }
.faq details > div p { margin: 0 0 10px; }
.rows li { list-style: none; border-top: 1px solid var(--rule); }
.rows li:last-child { border-bottom: 1px solid var(--rule); }
.svc-row { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 44px); align-items: center; padding: 26px 0; }
.svc-row img { width: 170px; height: auto; }
.svc-row h2 { font-size: clamp(32px, 3vw, 44px); margin-bottom: 8px; }
.svc-row h2 a { color: var(--ink); text-decoration: none; }
.svc-row h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.svc-row p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.svc-row__act { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

/* reviews page */
.review { padding: 30px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px 40px; }
.review:last-child { border-bottom: 1px solid var(--rule); }
.review__who { font: 14.5px/1.6 var(--mono); color: var(--ink-2); }
.review__who strong { display: block; font: 400 20px/1.3 var(--display); color: var(--ink); letter-spacing: 0; }
.review__who .mono { display: inline-flex; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; background: var(--sage-2); color: var(--ink); font: 400 16px/1 var(--display); margin-bottom: 10px; }
.review__text p { font: 300 22px/1.5 var(--display); margin: 0 0 12px; }
.review__text .clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review__text .clamp.is-open { display: block; -webkit-line-clamp: unset; }
.readmore { background: none; border: 0; padding: 10px 0; font: 500 16px var(--body); color: var(--turq-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.reply { margin-top: 12px; padding: 14px 18px; background: var(--label); border-left: 3px solid var(--turq); font-size: 16px; color: var(--ink-2); }
.reply strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 2px; }
.source-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 30px; margin: 0 0 8px; }
.source-head h2 { font-size: clamp(34px, 3.4vw, 50px); }
.source-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 16.5px; }

/* the enquiry form */
.enquiry { display: grid; gap: 18px; max-width: 560px; }
.enquiry label { display: grid; gap: 6px; font-weight: 500; font-size: 16.5px; }
.enquiry input, .enquiry textarea {
  font: 400 18px/1.4 var(--body); color: var(--ink); background: var(--label);
  border: 1px solid rgba(42, 31, 25, .45); border-radius: 3px; padding: 13px 14px; min-height: 52px; width: 100%;
}
.enquiry textarea { min-height: 150px; resize: vertical; }
.enquiry input:focus-visible, .enquiry textarea:focus-visible { outline: 3px solid var(--turq); outline-offset: 1px; border-color: var(--turq); }
.enquiry .btn { justify-self: start; }
.form-msg { margin: 0; padding: 14px 16px; border-left: 3px solid var(--turq); background: var(--label); font-size: 16.5px; }
.form-msg[data-state="error"] { border-left-color: #9A2E1F; }
.form-msg[hidden] { display: none; }
.contact-lines p { margin: 0 0 16px; }
.contact-lines strong { display: block; font: 400 15px/1.4 var(--mono); color: var(--ink-2); font-weight: 400; margin-bottom: 2px; }
.contact-lines a { font-size: 20px; }

/* legal */
.legal h2 { font-size: 30px; margin: 34px 0 12px; }

/* ---------------------------------------------------------------- phones */
@media (max-width: 1080px) {
  .index__grid { grid-template-columns: 1fr; gap: 36px; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .quotes .quote:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .band__head, .company, .range, .closer__grid, .entry__head, .cols { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 110px minmax(0, 1fr); }
  .svc-row img { width: 110px; }
  .svc-row__act { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .review { grid-template-columns: 1fr; }
  html:not(.has-3d) .stop:not(.hero) { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .tag { padding: 18px 12px 10px; }
  .tag img { width: 104px; }
  .top__actions { gap: 10px; padding-top: 14px; }
  .top__tel { display: none; }
  .top .btn { min-height: 44px; padding: 0 14px; font-size: 15.5px; }
  .hero { padding-bottom: 5vh; justify-content: flex-end; }
  .hero h1 { top: 150px; font-size: clamp(44px, 12.4vw, 60px); max-width: 9ch; }
  .hero__cue { display: none; }
  .label { padding: 24px 22px 18px; }
  .label h2 { font-size: 36px; }
  .stop { min-height: 0; padding: 58vh var(--gut) 14vh; }
  .stop .label { position: relative; top: auto; }
  .stop--last { padding-bottom: 20vh; }
  .ratings { grid-template-columns: 1fr; }
  .rating + .rating { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .quotes { grid-template-columns: 1fr; }
  .quotes .quote:nth-child(3) { grid-column: auto; }
  .plates { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .areas li { font-size: 23px; }
  .index__services a { grid-template-columns: 80px 1fr; gap: 14px; }
  .index__services img { width: 80px; }
  .index__services strong { font-size: 27px; }
  .index__side ul a { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------- small pieces the pages use */
.quote blockquote { margin: 0; }
.plate--photo { padding: 10px; }
.plate--photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.foot__links { display: flex; gap: 22px; }
.legend { counter-reset: n; margin-top: 18px; }
.legend li { list-style: none; counter-increment: n; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 7px 0; font-size: 16.5px; }
.legend li::before { content: counter(n); width: 26px; height: 26px; border-radius: 50%; background: var(--turq); color: #fff; font: 700 15px/26px var(--mono); text-align: center; }
.range h2 { font-size: clamp(40px, 4.4vw, 68px); margin-bottom: 16px; }
.closer h2 { margin-bottom: 22px; }
.foot__grid { grid-template-columns: 1.15fr 0.8fr 0.8fr 1.35fr 1fr; }
.foot address a, .contact-lines a { overflow-wrap: anywhere; }
@media (max-width: 1080px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr; } }
