/* ---------------------------------------------------------------------------
   On The Run Auto Care
   Palette taken from the building: the sign is black with a red field, the
   siding is deep corrugated green, the floor is grey concrete, the lot lines
   are yellow. Red is the only accent. Green is a surface, never an accent.
   Yellow appears only as the hatch band and the focus ring, both borrowed
   from the lot markings.
--------------------------------------------------------------------------- */

/* Self hosted, latin subset. Archivo and Plex Sans are variable, so one file
   covers every weight the site uses. swap keeps text visible while they load. */
@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo.woff2") format("woff2"); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/assets/fonts/plex-sans.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/assets/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink:        #16110F;
  --ink-soft:   #3A322E;
  --muted:      #6E6862;
  --paper:      #F1F0ED;
  --paper-2:    #E7E5E1;
  --white:      #FFFFFF;
  --red:        #C8102E;
  --red-dark:   #A00C24;
  --steel:      #221E1B;
  --steel-2:    #191512;
  --line:       #D6D3CD;
  --line-dark:  #3B3532;
  --lot:        #E3B22C;

  --r: 2px;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body:    "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-data:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* spacing scale, used unevenly on purpose: tight inside a group,
     generous between groups */
  --s1: 4px;  --s2: 8px;  --s3: 16px; --s4: 24px;
  --s5: 40px; --s6: 72px; --s7: 128px; --s8: 176px;

  --wrap: 1240px;
  --measure: 64ch;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* --- type scale: real jumps, nothing crammed between 14 and 18 ------------ */
h1, h2, h3, h4 {
  overflow-wrap: break-word;
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.021em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(1.85rem, 6.2vw, 4.1rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.35rem); letter-spacing: -0.012em; }
p  { margin: 0 0 var(--s4); max-width: var(--measure); }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }

:focus-visible {
  outline: 3px solid var(--lot);
  outline-offset: 2px;
}

img, video { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s4); }
.narrow { max-width: 780px; }

/* --- skip link ----------------------------------------------------------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--white);
  padding: var(--s2) var(--s3); font-family: var(--f-data); font-size: .82rem;
}
.skip:focus { left: var(--s3); top: var(--s3); }

/* --- the hatch band: borrowed from the yellow lot lines outside ----------- */
.hatch {
  height: 9px;
  background: repeating-linear-gradient(
    -45deg, var(--lot) 0 11px, var(--ink) 11px 22px
  );
}

/* --- header -------------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  color: var(--white);
  border-bottom: 1px solid #2A2320;
}
.hdr a { color: inherit; text-decoration: none; }
.hdr-in {
  display: flex; align-items: center; gap: var(--s4);
  min-height: 82px;
}
.hdr-in > * { min-width: 0; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand-logo { width: 178px; height: auto; display: block; }
.brand-mark {
  font-family: var(--f-display); font-weight: 800; font-size: 1.06rem;
  letter-spacing: -0.02em; line-height: 1;
}
.brand-mark em { font-style: normal; color: var(--red); }
.brand-sub {
  font-family: var(--f-data); font-size: .62rem; letter-spacing: .17em;
  text-transform: uppercase;
  color: #9B948E;
}
.nav { display: flex; gap: var(--s4); align-items: center; }
.nav a {
  font-size: .93rem; font-weight: 500;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--red); color: var(--white); }

.lang {
  display: flex; font-family: var(--f-data); font-size: .74rem;
  border: 1px solid #3B3330; border-radius: var(--r); overflow: hidden;
}
.lang a { padding: 5px 9px; letter-spacing: .06em; transition: background .15s ease; }
.lang a[aria-current="true"] { background: var(--red); color: var(--white); }
.lang a:not([aria-current="true"]):hover { background: #2A2320; }

.hdr-tel {
  font-family: var(--f-data); font-size: .93rem; font-weight: 500;
  background: var(--red); color: var(--white);
  padding: 9px var(--s3); border-radius: var(--r);
  white-space: nowrap; transition: background .15s ease;
}
.hdr-tel:hover { background: var(--red-dark); color: var(--white); }

.burger {
  display: none; background: none; border: 1px solid #3B3330; border-radius: var(--r);
  color: var(--white); padding: 8px 10px; font-family: var(--f-data); font-size: .78rem;
  cursor: pointer;
}

/* --- hero ---------------------------------------------------------------- */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover; opacity: .5;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,8,7,.92) 0%, rgba(10,8,7,.72) 42%, rgba(10,8,7,.30) 100%);
}
.hero-in {
  position: relative; z-index: 1; color: var(--white);
  padding-block: clamp(var(--s6), 13vh, 148px) var(--s6);
  min-height: 74vh; display: flex; flex-direction: column; justify-content: flex-end;
}
.hero h1 { color: var(--white); max-width: 15ch; }
.hero-lead {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: #DAD5D0;
  max-width: 46ch; margin-top: var(--s4);
}
.hero-nap {
  font-family: var(--f-data); font-size: .84rem; color: #ADA6A0; overflow-wrap: break-word;
  margin-top: var(--s4); line-height: 1.8;
}
.hero-nap a { color: #ADA6A0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.hero-cta > .btn { min-width: 0; }

/* --- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-body); font-weight: 600; font-size: .97rem;
  padding: 14px var(--s4); border-radius: var(--r);
  border: 1px solid transparent; text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.34); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.07); color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--steel); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* --- open / closed strip: real state, so the dot is earned --------------- */
.status {
  background: var(--steel); color: #D8D2CD;
  font-family: var(--f-data); font-size: .81rem;
}
.status-in {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5);
  padding-block: 11px;
}
.status-in > span { min-width: 0; }
.status b { color: var(--white); font-weight: 500; }
.status .dot {
  width: 7px; height: 7px; border-radius: 50%; display: inline-block;
  margin-right: 7px; vertical-align: 1px; background: #7E8B84;
}
.status[data-open="true"] .dot { background: #5FB07A; }
.status a { color: #D8D2CD; }

/* --- the symptom index: the way people actually arrive ------------------- */
.symptoms { border-top: 1px solid var(--line); }
.symptom-list { list-style: none; margin: 0; padding: 0; }
.symptom-list li { border-bottom: 1px solid var(--line); }
.symptom-list a {
  padding-inline: var(--s2);
  display: grid; grid-template-columns: 1fr auto; align-items: baseline;
  gap: var(--s3); padding: var(--s4) 0; text-decoration: none;
  transition: background .15s ease;
}
.symptom-list a:hover { background: var(--paper-2); }
.symptom-q {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.05rem, 2.2vw, 1.55rem); letter-spacing: -0.018em;
}
.symptom-a {
  font-family: var(--f-data); font-size: .79rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .09em; white-space: nowrap;
}
.symptom-list a:hover .symptom-a { color: var(--red); }

/* --- sections ------------------------------------------------------------ */
.sec { padding-block: var(--s7); }
.sec-tight { padding-block: var(--s6); }

/* a picture between two runs of text: give it room on both sides */
.sec-figure { padding-block: var(--s5) var(--s6); }
.sec-figure figure { margin: 0; }
.sec-figure img {
  width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: center 38%;
  border-radius: var(--r);
}
.sec-dark { background: var(--steel); color: #DED8D3; }
.sec-dark h2, .sec-dark h3 { color: var(--white); }
.sec-dark a { color: var(--white); }
.sec-ink { background: var(--ink); color: #CFC9C4; }
.sec-ink h2 { color: var(--white); }

.sec-head { margin-bottom: var(--s5); max-width: 56ch; }
.sec-head p { color: var(--muted); margin-top: var(--s3); }
.sec-dark .sec-head p { color: #ADA5A0; }

/* --- service index: a list, not a grid of boxes -------------------------- */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list a {
  padding-inline: var(--s2);
  display: block; padding: var(--s4) 0; text-decoration: none;
  transition: background .15s ease;
}
.svc-list a:hover { background: var(--paper-2); }
.sec-dark .svc-list a:hover, .sec-ink .svc-list a:hover { background: rgba(255,255,255,.055); }
.sec-dark .svc-list a:hover .svc-name { color: var(--white); }
.svc-name {
  font-family: var(--f-display); font-weight: 700; font-size: 1.28rem;
  letter-spacing: -0.018em; display: block;
}
.svc-blurb { color: var(--muted); font-size: .95rem; margin-top: 5px; max-width: 62ch; }
.svc-list a:hover .svc-name { color: var(--red); }

/* --- editorial body ------------------------------------------------------ */
.prose { max-width: var(--measure); }
.prose-centred { margin-inline: auto; }
.prose h2 { margin-top: var(--s6); margin-bottom: var(--s4); }
.prose h3 { margin-top: var(--s5); margin-bottom: var(--s2); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { margin: 0 0 var(--s3); padding-left: 1.15em; }
.prose li { margin-bottom: 7px; }
.prose li::marker { color: var(--red); }
.prose strong { font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); }
.prose a:hover { color: var(--red); }

.lead {
  font-size: clamp(1.12rem, 1.9vw, 1.32rem); line-height: 1.5;
  color: var(--ink-soft); max-width: 54ch; font-weight: 400;
}

/* --- page header --------------------------------------------------------- */
.phead { background: var(--ink); color: var(--white); padding-block: var(--s6) var(--s7); }
.phead h1 { color: var(--white); max-width: 18ch; }
.phead .lead { color: #C8C2BC; margin-top: var(--s4); }

.crumb {
  font-family: var(--f-data); font-size: .76rem; letter-spacing: .05em;
  color: #9B948E; margin-bottom: var(--s4);
}
.crumb a { color: #9B948E; text-decoration: none; }
.crumb a:hover { color: var(--white); }
.crumb span { margin-inline: 7px; opacity: .55; }

/* --- the shot under a page header, pulled up into the status strip -------- */
.hero-shot {
  width: 100%; max-width: 1240px; margin-inline: auto;
  padding-inline: var(--s4);
}
.hero-shot img {
  border-radius: var(--r); width: 100%;
  aspect-ratio: 21 / 9; object-fit: cover; object-position: center 34%;
}

/* --- image bands --------------------------------------------------------- */
.band { display: grid; gap: var(--s4); }
.band-3 { grid-template-columns: repeat(3, 1fr); }
.band-2 { grid-template-columns: repeat(2, 1fr); }
.band figure { margin: 0; }
.band img { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 42%; width: 100%; border-radius: var(--r); }

/* --- a single picture running the full width of the viewport -------------- */
.bleed { display: block; }
.bleed img { width: 100%; height: auto; display: block; }

/* --- figure -------------------------------------------------------------- */
figure { margin: var(--s6) 0; }
figure img { border-radius: var(--r); width: 100%; }
figcaption {
  font-family: var(--f-data); font-size: .78rem; color: var(--muted);
  margin-top: var(--s2);
}

/* --- FAQ: a definition list, not a stack of coloured boxes ---------------- */
.faq { border-top: 1px solid var(--line); margin-top: var(--s6); }
.faq-item { border-bottom: 1px solid var(--line); padding-block: var(--s4); }
.faq-item h3 { margin-bottom: var(--s2); }
.faq-item p { color: var(--ink-soft); margin-bottom: 0; }

/* --- two column ---------------------------------------------------------- */
.cols {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: var(--s6);
}
.cols-side { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: var(--s6); }

/* --- fact table: mono, tabular, scannable -------------------------------- */
.facts { font-family: var(--f-data); font-size: .89rem; border-top: 1px solid var(--line); overflow-wrap: break-word; }
.facts div {
  display: grid; grid-template-columns: 128px 1fr; gap: var(--s3);
  padding-block: 11px; border-bottom: 1px solid var(--line);
}
.facts dt, .facts .k { color: var(--muted); }
.facts dd, .facts .v { margin: 0; }
.sec-dark .facts, .sec-dark .facts div { border-color: var(--line-dark); }
.sec-dark .facts .k { color: #A09892; }

/* --- gallery ------------------------------------------------------------- */
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.gal img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--r); }
.gal figure { margin: 0; }

/* --- related: the photograph, the name, what it covers ------------------- */
.rel-h { font-size: 1.25rem; }
.rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); margin-top: var(--s4); }
.rel a {
  display: block; border: 1px solid var(--line); overflow: hidden;
  border-radius: var(--r); text-decoration: none; background: var(--white);
  transition: border-color .2s ease;
}
.rel a:hover { border-color: var(--ink); color: var(--ink); }
.rel-pic { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper-2); }
.rel-pic img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 0;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.rel a:hover .rel-pic img { transform: scale(1.04); }
.rel strong {
  display: block; font-family: var(--f-display); font-size: 1.1rem;
  letter-spacing: -0.015em; padding: var(--s3) var(--s4) 0;
  transition: color .2s ease;
}
.rel a:hover strong { color: var(--red); }
.rel strong + span {
  display: block; padding: 6px var(--s4) var(--s4);
  font-size: .9rem; line-height: 1.5; color: var(--muted);
}

/* --- service page: the article and a rail that stays in view ------------- */
.svc-grid {
  display: grid; grid-template-columns: minmax(0, 680px) 272px;
  gap: clamp(48px, 7vw, 112px); justify-content: center; align-items: start;
}
.svc-article { max-width: none; }
.svc-article h2 { scroll-margin-top: 112px; }
.svc-band { margin-block: var(--s6); }
.svc-band .band-2 { gap: var(--s3); }
.svc-rail { align-self: stretch; }
.svc-rail-in { position: sticky; top: 112px; }
.rail-h {
  font-family: var(--f-data); font-size: .72rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s3);
}
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a {
  display: block; margin-left: -1px; padding: 6px 0 6px 14px;
  border-left: 2px solid transparent; text-decoration: none;
  font-size: .9rem; line-height: 1.35; color: var(--muted);
  transition: color .2s ease, border-color .2s ease;
}
.toc a:hover { color: var(--ink); }
.toc a[aria-current="true"] { color: var(--ink); border-left-color: var(--red); }
.rail-facts { margin-top: var(--s5); font-size: .8rem; }
.rail-facts div { grid-template-columns: 1fr; gap: 2px; padding-block: 10px; }
.rail-cta { display: grid; gap: var(--s2); margin-top: var(--s4); }
.rail-cta .btn { padding-block: 12px; }

/* --- FAQ as disclosure rows ---------------------------------------------- */
.faq-acc { margin-top: var(--s3); }
.faq-acc .faq-item { padding-block: 0; }
.faq-acc summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 14px; gap: var(--s3); align-items: center;
  padding-block: var(--s4);
}
.faq-acc summary::-webkit-details-marker { display: none; }
.faq-acc summary h3 { margin: 0; font-size: 1.12rem; transition: color .15s ease; }
.faq-acc summary:hover h3 { color: var(--red); }
/* a plus drawn from two bars; the upright one folds away when open */
.faq-acc summary::after {
  content: ""; width: 14px; height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition: background-size .3s ease;
}
.faq-acc details[open] summary::after { background-size: 14px 2px, 2px 0; }
.faq-acc details p { padding-bottom: var(--s4); }
@supports (interpolate-size: allow-keywords) {
  .faq-acc { interpolate-size: allow-keywords; }
  .faq-acc details::details-content {
    height: 0; overflow: clip;
    transition: height .4s cubic-bezier(.2,.7,.2,1), content-visibility .4s allow-discrete;
  }
  .faq-acc details[open]::details-content { height: auto; }
}

/* --- closing call -------------------------------------------------------- */
.close-cta { border-top: 1px solid var(--line); }
.close-cta .wrap { padding-block: var(--s6); }
.close-cta h2 { max-width: 20ch; }
.close-own p { margin-top: var(--s3); color: var(--muted); }
.close-own a { color: var(--ink); text-decoration-color: var(--red); }

/* --- footer -------------------------------------------------------------- */
.ftr { background: var(--ink); color: #ADA6A0; padding-block: var(--s6) var(--s5); font-size: .92rem; }
.ftr a { color: #ADA6A0; text-decoration: none; }
.ftr a:hover { color: var(--white); }
.ftr-logo { width: 168px; height: auto; margin-bottom: var(--s4); }
.ftr h3 {
  font-family: var(--f-data); font-size: .72rem; letter-spacing: .15em;
  text-transform: uppercase; color: #9A938C; font-weight: 500; margin-bottom: var(--s3);
}
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s5); }
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin-bottom: 9px; }
.ftr-nap { font-family: var(--f-data); font-size: .87rem; line-height: 1.85; color: #C4BDB7; }
.ftr-base {
  border-top: 1px solid #2A2320; margin-top: var(--s5); padding-top: var(--s4);
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); justify-content: space-between;
  font-family: var(--f-data); font-size: .76rem; color: #948D86;
}
.ftr-base > span { min-width: 0; }

/* --- sticky mobile call bar ---------------------------------------------- */
.callbar { display: none; }

/* --- responsive ---------------------------------------------------------- */
@media (max-width: 980px) {
  .cols, .cols-side { grid-template-columns: 1fr; gap: var(--s5); }
  .band-3 { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .gal { grid-template-columns: repeat(2, 1fr); }
  .rel { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-rail { display: none; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  /* 128px of empty ink under the buttons is desktop generosity, not phone */
  .phead { padding-block: var(--s5) var(--s5); }
  .burger { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); flex-direction: column; align-items: stretch;
    gap: 0; padding: var(--s2) var(--s4) var(--s4);
    border-bottom: 1px solid #2A2320;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid #2A2320; }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: #2A2320; color: var(--red); }
  .hdr-in { position: relative; gap: var(--s3); }
  .hdr-tel { display: none; }
  .hero-in { min-height: 66vh; padding-block: var(--s6) var(--s5); }
  .sec { padding-block: var(--s6); }
  .status-in { gap: var(--s2) var(--s4); }

  .callbar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  }
  .callbar a {
    padding: 15px var(--s2); text-align: center; text-decoration: none;
    font-weight: 600; font-size: .95rem;
    /* grid items default to min-width:auto, and this bar is fixed, so its
       min-content was forcing the whole document wider than a small phone */
    min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .callbar .c-tel { background: var(--red); color: var(--white); }
  .callbar .c-book { background: var(--ink); color: var(--white); }
  body { padding-bottom: 54px; }
}

@media (max-width: 720px) {
  .band-3, .band-2 { grid-template-columns: 1fr; }
  /* a 21:9 band is a letterbox slit on a phone */
  .hero-shot img { aspect-ratio: 4 / 3; }
  .sec-figure img { aspect-ratio: 3 / 2; }
  .hero-shot { padding-inline: var(--s3); }
}

@media (max-width: 560px) {
  /* the header ran out of room and pushed the menu button off screen */
  .wrap { padding-inline: var(--s3); }
  .hdr-in { gap: var(--s2); min-height: 66px; }
  .brand-logo { width: 132px; }
  .lang a { padding: 5px 7px; }
  .burger { padding: 7px 9px; }
  .hero-cta { gap: var(--s2); }
  .hero-cta .btn { flex: 1 1 auto; padding-inline: var(--s3); }

  .gal { grid-template-columns: 1fr; }
  .ftr-grid { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; padding-block: 9px; }
  .symptom-list a { grid-template-columns: 1fr; gap: 4px; }
  .symptom-a { white-space: normal; }
}

@media print {
  .hdr, .callbar, .hero-media, .close-cta { display: none; }
}

/* --- scrolling reviews ---------------------------------------------------
   Two identical sets sit side by side and the track slides exactly one set
   width, so the loop has no seam and no gap. Spacing is a margin on each card,
   not a flex gap: a gap would add one extra space between the sets and the
   loop would visibly jump every pass.
------------------------------------------------------------------------- */
/* A dark band. The page either side of it is pale, so the quotes land as a
   statement instead of drifting in whitespace, and the red mark carries. */
.reviews {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding-block: var(--s7);
}
.reviews h2 { color: var(--white); }
.reviews .sec-head p { color: #A79F99; }

.marquee {
  overflow: hidden;
  /* fade the ends so cards enter and leave rather than being chopped */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee var(--marquee-duration, 54s) linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.marquee-set { display: flex; align-items: flex-start; margin: 0; padding: 0; list-style: none; }

/* Reviews are quotations, not cards. Equal height boxes forced a one line
   review to occupy the same slab as a five line one, which left dead space and
   made the row read as a grid of empty squares. Each quote now sizes to its own
   text and the hairline is a divider between them, nothing more. */
.rev {
  flex: 0 0 auto;
  width: max-content;
  max-width: 40ch;
  margin-right: var(--s6);
  padding-left: var(--s4);
  border-left: 1px solid #342E2A;
  display: block;
}
.rev-text {
  margin: 0 0 var(--s3);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.16rem;
  line-height: 1.45;
  letter-spacing: -0.014em;
  color: #F0EDEA;
  max-width: none;
  text-wrap: pretty;
}
/* one small mark, in the one accent the site uses */
.rev-text::before {
  content: "\201C";
  color: var(--red);
  font-size: 1.5em;
  line-height: 0;
  vertical-align: -0.16em;
  margin-right: 2px;
}
.rev-by {
  margin: 0;
  font-family: var(--f-data);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8A827C;
  max-width: none;
}

@media (max-width: 720px) {
  .rev { max-width: 30ch; margin-right: var(--s5); padding-left: var(--s3); }
  .rev-text { font-size: 1.05rem; }
}

/* Someone who has asked for less motion should not be handed an endless
   sideways scroll. Stop it and let the row scroll by hand instead. */
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
  .marquee-set:last-child { display: none; }
}

/* --- motion ---------------------------------------------------------------
   Kept to three ideas. Things settle into place as they arrive. Photographs
   open from the floor up, the way a bay door does. Rows lean toward you when
   they are a link. Everything here is off under prefers-reduced-motion, and
   the scroll reveal only switches on once the script has run, so nothing is
   ever hidden from a visitor without it.
------------------------------------------------------------------------- */
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes settle {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}
.hero-in > *, .phead .wrap > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-in > :nth-child(2), .phead .wrap > :nth-child(2) { animation-delay: .07s; }
.hero-in > :nth-child(3), .phead .wrap > :nth-child(3) { animation-delay: .14s; }
.hero-in > :nth-child(4), .phead .wrap > :nth-child(4) { animation-delay: .21s; }
.hero-media video, .hero-media img { animation: settle 2.6s cubic-bezier(.2,.7,.2,1) both; }

.reveal-on .rv {
  opacity: 0; transform: translate3d(0, 18px, 0);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal-on .rv.in { opacity: 1; transform: none; }
.reveal-on .rv-door img {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.1s cubic-bezier(.65,0,.2,1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal-on .rv-door.in img { clip-path: inset(0 0 0 0); }

/* link rows lean in, and the label picks up an arrow */
.symptom-q, .svc-name { transition: transform .35s cubic-bezier(.2,.7,.2,1), color .2s ease; }
.symptom-list a:hover .symptom-q, .svc-list a:hover .svc-name { transform: translateX(10px); }
.symptom-a::after {
  content: "\2192"; display: inline-block; margin-left: 10px;
  opacity: 0; transform: translateX(-6px);
  transition: opacity .2s ease, transform .35s cubic-bezier(.2,.7,.2,1);
}
.symptom-list a:hover .symptom-a::after { opacity: 1; transform: none; }

/* how far through a long read you are, drawn along the bottom of the header */
@supports (animation-timeline: scroll()) {
  .longread .hdr::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
    background: var(--red); transform-origin: 0 50%; transform: scaleX(0);
    animation: progress linear both; animation-timeline: scroll(root);
  }
  @keyframes progress { to { transform: scaleX(1); } }
}

@media (prefers-reduced-motion: reduce) {
  .hero-in > *, .phead .wrap > *, .hero-media video, .hero-media img { animation: none; }
  .symptom-list a:hover .symptom-q, .svc-list a:hover .svc-name { transform: none; }
}

@media print {
  .rv { opacity: 1 !important; transform: none !important; }
  .rv-door img { clip-path: none !important; }
}

/* on a phone three tall photo cards are a lot of scrolling for three links */
@media (max-width: 720px) {
  .rel a { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; }
  .rel-pic { aspect-ratio: 1 / 1; height: 100%; grid-row: span 2; }
  .rel strong { padding: var(--s3) var(--s3) 0; font-size: 1.02rem; }
  .rel strong + span { padding: 4px var(--s3) var(--s3); font-size: .85rem; }
}
