/* Onyx Locksmith: the keyway. Onyx ground, ivory type, one brass accent. See design/onyx-locksmith.md */
:root {
  --onyx: #0B0C0E;
  --onyx-2: #15171A;
  --graphite: #2B2E33;
  --graphite-2: #383C42;
  --ivory: #EDE8DE;
  --stone: #A9A399;
  --brass: #C9A25E;
  --brass-2: #DDBD7E;
  --sa-accent: #C9A25E;
  --sa-accent-ink: #0B0C0E;
  --display: 'Piazzolla', Georgia, 'Times New Roman', serif;
  --body: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Sometype Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 48px);
  --head-h: 92px;
  --band: 57svh;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0; background: var(--onyx); color: var(--ivory);
  font: 400 18px/1.65 var(--body);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ivory); text-decoration-color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--brass-2); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; font-optical-sizing: auto; line-height: 1.06; letter-spacing: 0.002em; word-spacing: 0.04em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.4vw, 84px); }
h2 { font-size: clamp(32px, 3.5vw, 54px); }
h3 { font-size: 26px; font-weight: 500; line-height: 1.2; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: var(--ivory); max-width: 60ch; }
.muted { color: var(--stone); }
.mono { font-family: var(--mono); font-size: 15px; letter-spacing: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--brass); color: var(--onyx); padding: 12px 18px; border-radius: 4px; font-weight: 500; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* buttons: solid, rectangular, no icons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 4px; font: 500 17px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--brass { background: var(--brass); color: var(--onyx); }
.btn--brass:hover { background: var(--brass-2); color: var(--onyx); }
.btn--graphite { background: var(--graphite); color: var(--ivory); }
.btn--graphite:hover { background: var(--graphite-2); color: var(--ivory); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 28px 0 0; }
.tel { font-family: var(--mono); font-size: 18px; color: var(--ivory); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 6px; white-space: nowrap; }
.tel:hover { color: var(--brass-2); }
.textlink { font-weight: 500; }

/* ---------------------------------------------------------------- header: the blade line */
.site-head { position: relative; z-index: 20; background: var(--onyx); }
.site-head--over { position: absolute; left: 0; right: 0; top: 0; background: linear-gradient(to bottom, rgba(11,12,14,.92), rgba(11,12,14,0)); }
.head { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 0; height: var(--head-h); padding-top: 22px; }
.brand { display: block; width: 216px; overflow: hidden; }
.brand img { width: 216px; height: 50px; }
.blade { position: relative; display: flex; justify-content: flex-end; gap: 4px; padding: 20px 26px 0 0; margin-left: -6px; }
.blade::before { content: ''; position: absolute; left: 0; right: 0; top: 13px; height: 1px; background: var(--graphite); }
.blade a { position: relative; padding: 6px 12px 10px; font-size: 16px; font-weight: 500; text-decoration: none; color: var(--ivory); }
.blade a::before {
  content: ''; position: absolute; left: 50%; top: -8px; width: 16px; height: 9px; transform: translateX(-50%);
  background: no-repeat center/16px 9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 9'%3E%3Cpath d='M0 0.5H16V2H0Z' fill='%230B0C0E'/%3E%3Cpath d='M0.5 1H4.5L8 7.2L11.5 1H15.5' fill='none' stroke='%23C9A25E' stroke-width='1.2'/%3E%3C/svg%3E");
  opacity: 0; transition: opacity .2s ease;
}
.blade a:hover::before { opacity: .55; }
.blade a[aria-current]::before { opacity: 1; }
.blade a[aria-current] { color: var(--brass-2); }
.head-tel { padding-top: 21px; font-family: var(--mono); font-size: 17px; text-decoration: none; white-space: nowrap; }
.head-tel:hover { color: var(--brass-2); }
.menu-btn { display: none; }
.menu { position: fixed; inset: 0; z-index: 60; background: var(--onyx); padding: 24px var(--gut) 120px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.menu__top img { width: 164px; height: 38px; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li a { display: block; padding: 12px 0; font: 400 32px/1.15 var(--display); text-decoration: none; border-bottom: 1px solid var(--graphite); }
.menu .actions { margin-top: 28px; }

/* ---------------------------------------------------------------- the story (home) */
.story { position: relative; }
.stage { position: relative; height: min(84svh, 780px); overflow: hidden; background: var(--onyx); }
.stage__still, .stage__still img { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage__still img { object-fit: cover; object-position: 50% 30%; }
.has-3d .stage__still--set, html:not(.has-3d) .stage__still--open { display: none; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.stage__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 95% at 50% 32%, rgba(11,12,14,0) 52%, rgba(5,5,6,.6) 100%); }
.stage__scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 56%; pointer-events: none;
  background: linear-gradient(to bottom, rgba(11,12,14,0) 0%, rgba(11,12,14,.86) 42%, rgba(11,12,14,.97) 100%); }
.pin-label { position: absolute; left: 0; top: 0; margin: 0; padding: 7px 12px 8px; opacity: 0; pointer-events: none;
  font: 400 14px/1 var(--mono); color: var(--brass-2); background: rgba(21,23,26,.92); border: 1px solid rgba(201,162,94,.45); border-radius: 3px; white-space: nowrap; will-change: transform, opacity; }
.pin-label::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1px; height: 22px; background: rgba(201,162,94,.6); }
.scroll-cue { font: 400 14px/1.4 var(--mono); color: var(--stone); margin: 22px 0 0; }

/* without the scene (no WebGL, no JS, reduced motion): a still, then the beats as sections */
.beats { position: relative; }
.beat { position: relative; }
.beat__copy { position: relative; z-index: 2; }
.beat--hero { margin-top: calc(-1 * min(34svh, 300px)); padding-bottom: 48px; }
.beat--hero .beat__copy { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.beat--hero h1 { max-width: 13ch; }
.beat--hero .lede { margin-top: 22px; }
.proof-line { margin: 22px 0 0; font: 400 15px/1.4 var(--mono); color: var(--stone); }
.beat--pin .beat__copy, .beat--turn .beat__copy { max-width: var(--wrap); margin: 0 auto; padding: 56px var(--gut); display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 36px; align-items: start; border-top: 1px solid var(--graphite); }
.beat--turn .beat__copy { grid-template-columns: minmax(0, 1fr); }
.beat__text h2 { font-size: clamp(32px, 3.2vw, 50px); }
.beat__text p { max-width: 62ch; margin-top: 16px; }
.beat__text .actions { margin-top: 22px; }
.photo-tag { position: relative; margin: 0; border-radius: 6px; overflow: hidden; background: var(--onyx-2); aspect-ratio: 4 / 5; }
.photo-tag img { width: 100%; height: 100%; object-fit: cover; }
.photo-tag::after { content: ''; position: absolute; left: 14px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--onyx); box-shadow: 0 0 0 1px rgba(237,232,222,.25); }
.scroll-cue { display: none; }

/* with the scene */
.has-3d .stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.has-3d .stage canvas { display: block; opacity: 0; transition: opacity .9s ease; }
.has-3d .stage.is-live canvas { opacity: 1; }
.has-3d .beats { margin-top: -100vh; margin-top: -100svh; }
.has-3d .beat { min-height: 150vh; display: flex; flex-direction: column; justify-content: flex-end; }
.has-3d .beat--hero { min-height: 125vh; margin-top: 0; padding-bottom: 0; }
.has-3d .beat--turn { min-height: 190vh; }
/* the bottom-right corner belongs to the SmartAlex widget: the sticky words end 216px short of the
   right edge on wider screens, and sit 120px up (above the widget's band) on phones */
.has-3d .beat__copy { position: sticky; bottom: 5vh; bottom: 5svh; width: auto; max-width: none;
  margin-left: max(0px, calc((100% - var(--wrap)) / 2)); margin-right: 216px; transition: opacity .3s ease; }
.has-3d .beat--hero .beat__copy { padding-top: 0; }
.has-3d .beat--hero h1 { font-size: clamp(40px, 4.6vw, 68px); max-width: 17ch; }
.has-3d .beat--hero .lede { font-size: 19px; margin-top: 18px; max-width: 56ch; }
.has-3d .beat--hero .actions { margin-top: 22px; }
.has-3d .beat--hero .proof-line { margin-top: 16px; }
.has-3d .beat--pin .beat__copy, .has-3d .beat--turn .beat__copy { border-top: 0; padding-top: 0; padding-bottom: 0; grid-template-columns: 172px minmax(0, 1fr); gap: 32px; }
.has-3d .beat--turn .beat__copy { grid-template-columns: minmax(0, 1fr); }
.has-3d .beat__text h2 { font-size: clamp(30px, 3vw, 46px); }
.has-3d .beat__text p { max-width: 58ch; }
.has-3d .scroll-cue { display: block; }
.has-3d .site-head { position: absolute; left: 0; right: 0; top: 0; background: linear-gradient(to bottom, rgba(11,12,14,.9), rgba(11,12,14,0)); }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section + .section { padding-top: 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-bottom: 48px; }
.section-head p { margin: 0; max-width: 56ch; }
.rule { border: 0; border-top: 1px solid var(--graphite); margin: 0; }

/* proof */
.rating { font-size: clamp(34px, 4vw, 60px); }
.rating__num { font-size: 1.7em; line-height: .9; color: var(--brass-2); margin-right: .12em; font-variant-numeric: lining-nums; }
.tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tag-card { position: relative; margin: 0; padding: 30px 32px 28px 58px; background: var(--onyx-2); border: 1px solid var(--graphite); border-radius: 6px; }
.tag-card::before { content: ''; position: absolute; left: 24px; top: 36px; width: 14px; height: 14px; border-radius: 50%; background: var(--onyx); box-shadow: inset 0 0 0 1px var(--graphite), 0 0 0 1px rgba(237,232,222,.06); }
.stars { color: var(--brass); letter-spacing: 3px; font-size: 17px; line-height: 1; margin: 0 0 14px; }
.tag-card blockquote { margin: 0; font-size: 18px; }
.tag-card blockquote p { margin: 0; }
.tag-card figcaption, .tag-card .by { margin-top: 16px; font: 400 15px/1.4 var(--mono); color: var(--stone); }
.tag-card .by b { font-weight: 400; color: var(--ivory); }
.reply { margin: 18px 0 0; padding: 14px 16px; border-left: 2px solid var(--brass); background: rgba(201,162,94,.06); font-size: 16px; }
.reply__who { display: block; font: 400 14px/1.4 var(--mono); color: var(--brass-2); margin-bottom: 4px; }
.reply p { margin: 0; white-space: pre-line; }
.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.more { margin-top: 10px; background: none; border: 0; padding: 6px 0; color: var(--brass-2); font: 500 16px/1.2 var(--body); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.links-row { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 36px; }

/* the van and the spec plate */
.van { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.van__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.van__photos .photo-tag:nth-child(2) { margin-top: 56px; }
.plate { margin: 36px 0 0; padding: 26px 28px; border: 1px solid var(--graphite); border-radius: 6px; background: var(--onyx-2); display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px 28px; }
.plate dt { font: 400 14px/1.6 var(--mono); color: var(--brass-2); padding-top: 2px; }
.plate dd { margin: 0; font-size: 17px; line-height: 1.5; }

/* towns */
.towns { list-style: none; margin: 0; padding: 0; columns: 4 190px; column-gap: 32px; }
.towns li { break-inside: avoid; padding: 9px 0; border-bottom: 1px solid var(--graphite); font: 400 22px/1.3 var(--display); }
.towns--small li { font-size: 19px; padding: 7px 0; }

/* ---------------------------------------------------------------- inner pages */
.page-head { padding: 28px 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--graphite); }
.crumbs { font: 400 14px/1.4 var(--mono); color: var(--stone); margin-bottom: 40px; }
.crumbs a { color: var(--stone); }
.crumbs a:hover { color: var(--brass-2); }
.crumbs span[aria-current] { color: var(--ivory); }
.page-head__grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.page-head__grid--plain { grid-template-columns: minmax(0, 1fr); }
.page-head h1 { max-width: 16ch; }
.page-head .lede { margin-top: 22px; }
.drawing { width: 100%; height: auto; }
.drawing text { font-family: var(--mono); font-size: 14px; fill: var(--stone); }
.drawing .t-brass { fill: var(--brass-2); }
.keyline { margin-top: 44px; width: min(460px, 100%); height: auto; display: block; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split .photo-tag { position: sticky; top: 32px; }
.prose h2 { font-size: clamp(28px, 2.6vw, 40px); margin: 0 0 18px; }
.prose h2:not(:first-child) { margin-top: 56px; }
.prose ul { margin: 0 0 1em; padding-left: 1.1em; }
.prose li { margin: 0 0 10px; padding-left: 6px; }
.prose li::marker { color: var(--brass); }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 52px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 32px; height: 32px; border: 1px solid var(--brass); border-radius: 50%; display: grid; place-items: center; font: 400 14px/1 var(--mono); color: var(--brass-2); }
.note { margin: 28px 0; padding: 18px 20px; border: 1px solid rgba(201,162,94,.5); border-radius: 6px; background: rgba(201,162,94,.07); }
.note strong { font-weight: 500; color: var(--brass-2); }

.faq { border-top: 1px solid var(--graphite); }
.faq details { border-bottom: 1px solid var(--graphite); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 400 22px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 22px; max-width: 64ch; }
.faq details > div p:last-child { margin-bottom: 0; }

.talkband { padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--graphite); }
.talkband__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.talkband h2 { max-width: 18ch; }
.talkband .actions { margin: 0; }

/* services hub: six pins on one shear line */
.pinchart { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border: 1px solid var(--graphite); border-radius: 6px; background: var(--onyx-2); overflow: hidden; margin-top: 48px; }
.pinchart a { display: block; padding: 18px 12px 18px; text-decoration: none; text-align: center; border-left: 1px solid var(--graphite); transition: background-color .2s ease; }
.pinchart a:first-child { border-left: 0; }
.pinchart a:hover { background: rgba(201,162,94,.07); }
.pinchart svg { width: 100%; max-width: 84px; height: auto; margin: 0 auto 12px; display: block; }
.pinchart span { display: block; font: 400 15px/1.35 var(--mono); color: var(--ivory); }
.svc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--graphite); align-items: start; }
.svc > div { max-width: 760px; }
.svc p { margin: 14px 0 0; }
.incl { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.incl li { padding: 9px 0 9px 20px; border-bottom: 1px solid var(--graphite); position: relative; font-size: 16px; }
.incl li::before { content: ''; position: absolute; left: 0; top: 18px; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--brass); }
.svc h2 { font-size: clamp(30px, 3vw, 46px); }
.svc .actions { margin-top: 20px; }

/* gallery */
.gallery-group + .gallery-group { margin-top: 72px; }
.gallery-group h2 { font-size: clamp(28px, 2.6vw, 40px); margin-bottom: 28px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.shot { margin: 0; }
.shot button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; overflow: hidden; }
.shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s ease; }
.shot button:hover img { transform: scale(1.02); }
.shot figcaption { margin-top: 10px; font-size: 15px; color: var(--stone); }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; }
.lightbox::backdrop { background: rgba(5,5,6,.92); }
.lightbox__inner { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 92vh; width: min(92vw, 900px); gap: 12px; }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ivory); }
.lightbox__bar p { margin: 0; font-size: 15px; color: var(--stone); }
.lightbox__bar .btns { display: flex; gap: 8px; }

/* about */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.aaa { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.aaa img { width: 74px; height: auto; opacity: .92; }
.aaa p { margin: 0; font: 400 15px/1.4 var(--mono); color: var(--stone); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.form label { display: block; font: 400 14px/1.4 var(--mono); color: var(--brass-2); margin: 0 0 8px; }
.form input, .form textarea { width: 100%; padding: 15px 16px; border: 1px solid var(--graphite-2); border-radius: 4px; background: var(--onyx-2); color: var(--ivory); font: 400 18px/1.4 var(--body); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass); }
.form textarea { min-height: 150px; resize: vertical; }
.form .field { margin-bottom: 22px; }
.form .status { min-height: 28px; margin: 14px 0 0; }
.form .status.is-ok { color: var(--brass-2); }
.form .status.is-err { color: #F2B8A8; }
.card { padding: 28px; border: 1px solid var(--graphite); border-radius: 6px; background: var(--onyx-2); }
.card + .card { margin-top: 20px; }
.card h2 { font-size: 26px; margin-bottom: 14px; }
.big-tel { display: inline-block; font: 400 clamp(26px, 2.6vw, 34px)/1.2 var(--mono); text-decoration: none; margin: 4px 0 10px; }
.map { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: 6px; filter: grayscale(1) invert(.92) contrast(.9) brightness(.9); background: var(--onyx-2); }
.makes { list-style: none; margin: 0; padding: 0; columns: 5 150px; column-gap: 24px; }
.makes li { padding: 7px 0; border-bottom: 1px solid var(--graphite); font: 400 20px/1.3 var(--display); break-inside: avoid; }
.finder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 16px; align-items: end; margin-top: 32px; padding: 24px; border: 1px solid var(--graphite); border-radius: 6px; background: var(--onyx-2); }
.finder label { display: block; font: 400 14px/1.4 var(--mono); color: var(--brass-2); margin: 0 0 8px; }
.finder select { width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid var(--graphite-2); border-radius: 4px; background: var(--onyx); color: var(--ivory); font: 400 17px/1 var(--body); }

/* ---------------------------------------------------------------- footer */
.site-foot { border-top: 1px solid var(--graphite); padding: 72px 0 40px; background: var(--onyx); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.foot-grid h2 { font: 400 14px/1.4 var(--mono); color: var(--brass-2); margin: 0 0 16px; letter-spacing: 0; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin: 0 0 10px; font-size: 16px; overflow-wrap: anywhere; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-brand img { width: 190px; height: 44px; margin-bottom: 18px; }
.foot-brand p { font-size: 16px; color: var(--stone); max-width: 30ch; }
.foot-legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--graphite); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--stone); }
.foot-legal p { margin: 0; }

/* ---------------------------------------------------------------- tablet and phone */
@media (max-width: 1100px) {
  .blade a { padding-left: 9px; padding-right: 9px; font-size: 15px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  :root { --head-h: 76px; }
  .head { grid-template-columns: auto 1fr auto; align-items: center; padding-top: 0; height: var(--head-h); }
  .brand, .brand img { width: 172px; height: 40px; }
  .blade, .head-tel { display: none; }
  .menu-btn { display: inline-flex; justify-self: end; min-height: 46px; padding: 0 18px; border: 0; border-radius: 4px; background: var(--graphite); color: var(--ivory); font: 500 16px/1 var(--body); align-items: center; cursor: pointer; }
  .van, .split, .contact, .svc { grid-template-columns: minmax(0, 1fr); }
  .split .photo-tag { position: relative; top: 0; max-width: 420px; }
  .page-head__grid { grid-template-columns: 170px minmax(0, 1fr); }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pinchart { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pinchart a:nth-child(4) { border-left: 0; }
  .pinchart a:nth-child(n+4) { border-top: 1px solid var(--graphite); }
  .talkband__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --band: 46svh; }
  body { font-size: 17px; }
  h3 { font-size: 22px; }
  .beat--hero { margin-top: calc(-1 * 30svh); }
  .beat--pin .beat__copy { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding-top: 44px; padding-bottom: 44px; }
  .has-3d .beat--pin .beat__copy { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; }
  .has-3d .beat__text h2 { font-size: 30px; }
  .has-3d .beat__text p { font-size: 16.5px; line-height: 1.55; margin-top: 10px; }
  .has-3d .beat__text .actions { margin-top: 16px; gap: 10px 18px; }
  .has-3d .beat { min-height: 135vh; }
  .has-3d .beat--hero { min-height: 112vh; }
  .has-3d .beat__copy { bottom: 120px; margin-left: 0; margin-right: 0; }
  .has-3d .scroll-cue { display: none; }
  .has-3d .beat--hero .proof-line { margin-top: 12px; }
  .photo-tag::after { left: 9px; top: 9px; width: 9px; height: 9px; }
  .tags, .facts { grid-template-columns: minmax(0, 1fr); }
  .tag-card { padding: 24px 22px 22px 48px; }
  .tag-card::before { left: 18px; top: 29px; width: 12px; height: 12px; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .page-head__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .page-head__grid .drawing { max-width: 96px; }
  .page-head__grid .drawing .lbl { display: none; }
  .crumbs { margin-bottom: 28px; }
  .grid3 { grid-template-columns: minmax(0, 1fr); }
  .van__photos .photo-tag:nth-child(2) { margin-top: 28px; }
  .plate { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 22px; }
  .plate dd { margin-bottom: 12px; }
  .finder { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .towns { columns: 2; column-gap: 20px; }
  .pinchart a { padding: 14px 6px; }
  .pinchart svg { max-width: 56px; margin-bottom: 8px; }
  .pinchart span { font-size: 13px; }
  .incl { grid-template-columns: minmax(0, 1fr); }
  .svc .photo-tag { aspect-ratio: 16 / 11; }
  .svc .photo-tag img { object-position: 50% 45%; }
  .towns li { font-size: 19px; }
  .makes { columns: 2; }
  .btn { min-height: 50px; padding: 0 20px; }
}
@media (min-width: 761px) and (max-height: 780px) {
  .has-3d .scroll-cue { display: none; }
  .has-3d .beat--hero h1 { font-size: clamp(38px, 4.2vw, 56px); }
  .has-3d .beat--hero .lede { margin-top: 14px; }
  .has-3d .beat--hero .actions { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* the star-rating wall */
.wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 32px; }
.wall li { padding: 12px 0; border-bottom: 1px solid var(--graphite); font-size: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.wall b { font-weight: 500; }
.stars-inline { color: var(--brass); letter-spacing: 2px; font-size: 14px; }
.wall .muted { font: 400 14px/1.4 var(--mono); }
