/* KFZ-Technik Glavas — one stylesheet, no external deps, no icons, no fonts. */

:root {
  /* Palette */
  --accent: #c81a20;       /* the red of "GLAVAS" in their logo, darkened for text contrast */
  --accent-ink: #ffffff;
  --accent-deep: #9e141a;
  --text: #1f1f1f;
  --text-soft: #4a4a4a;
  --text-mute: #6a6256;
  --bg: #f6f1ea;
  --bg-warm: #efe6d7;
  --rule: #d8ccb8;
  --rule-strong: #1f1f1f;

  /* Type */
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  /* Scale 1.25 */
  --fs-xs:   0.875rem;   /* labels never go below 14 */
  --fs-sm:   0.875rem;   /* 14 */
  --fs-base: 1.0625rem;  /* 17 */
  --fs-md:   1.3125rem;  /* 21 */
  --fs-lg:   1.625rem;   /* 26 */
  --fs-xl:   2.0625rem;  /* 33 */
  --fs-2xl:  2.625rem;   /* 42 */
  --fs-3xl:  3.25rem;    /* 52 */

  /* Spacing */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-6: 24px; --s-8: 32px; --s-12: 48px; --s-16: 64px; --s-24: 96px;

  /* Fluid gutters: 20px at 360px → 96px at 1920px */
  --gutter: clamp(20px, 2.6vw + 10px, 96px);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 400 var(--fs-base)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (min-width: 768px) {
  body { font-size: 1.125rem; }
}

p { margin: 0 0 var(--s-4); max-width: 68ch; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  margin: 0 0 var(--s-4);
  line-height: 1.15;
  font-weight: 600;
  text-wrap: balance;
  color: var(--text);
}
h1 { font-size: clamp(var(--fs-xl), 5vw + 1rem, var(--fs-3xl)); letter-spacing: -0.015em; }
h2 { font-size: clamp(var(--fs-lg), 2.4vw + 0.8rem, var(--fs-2xl)); letter-spacing: -0.01em; }
h3 { font-size: var(--fs-md); font-weight: 600; }

a { color: var(--accent); text-decoration: none; }

.link-inline {
  position: relative;
  display: inline;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  padding-bottom: 2px;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .link-inline {
    background-size: 0 1px;
    transition: background-size 180ms ease-out, color 180ms ease-out;
  }
  .link-inline:hover { background-size: 100% 1px; color: var(--accent-deep); }
}
.link-inline:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
  background-size: 100% 1px;
}

/* --- band (header) --- */

/* White like the ground of their logo, van and sign; a red line closes it. */
.band {
  background: #ffffff;
  color: var(--text);
  padding: var(--s-3) var(--gutter) var(--s-2);
  border-bottom: 3px solid var(--accent);
}

.band-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.band .call { flex: 0 0 auto; }

.wordmark {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  max-width: clamp(150px, 12vw + 110px, 280px);
}
/* Their logo file is a square with wide white margins. The frame shows the drawn
   part only; the logo itself is not cut, recoloured or scaled up. */
.wordmark-logo {
  display: block;
  width: 100%;
  aspect-ratio: 19 / 6;
  overflow: hidden;
}
.wordmark-logo img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin-top: -29.9%;
}
.wordmark:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.band-nav {
  margin-top: var(--s-2);
  padding-top: var(--s-1);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s-6);
}
.band-nav a {
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}
.band-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
@media (hover: hover) {
  .band-nav a:hover { border-bottom-color: var(--accent); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .band-nav a { transition: border-color 160ms ease-out; }
}
.band-nav a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* --- call button (never moves) --- */

.call {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 18px 11px;
  background: var(--text);
  color: var(--accent-ink);
  border: 2px solid var(--text);
  border-radius: 6px;
  text-decoration: none;
  min-height: 56px;
  min-width: 56px;
  justify-content: center;
  line-height: 1.1;
  touch-action: manipulation;
}
a, button { touch-action: manipulation; }
.call-label {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--mono);
}
.call-number {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-family: var(--mono);
  white-space: nowrap;
}
.call:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.call-primary:focus-visible { outline-color: var(--text); }
@media (hover: hover) {
  .call:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
}

.band .call { background: var(--text); border-color: var(--text); color: var(--accent-ink); }
@media (hover: hover) {
  .band .call:hover { background: #0f0f0f; border-color: #0f0f0f; }
}

.call-primary {
  background: var(--accent);
  border-color: var(--accent);
}
@media (hover: hover) {
  .call-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
}
.call-on-strip {
  background: var(--text);
  border-color: var(--text);
}
@media (hover: hover) {
  .call-on-strip:hover { background: #0f0f0f; border-color: #0f0f0f; }
}
.call-big {
  padding: 20px 28px 22px;
  font-size: var(--fs-lg);
  min-height: 82px;
}
.call-big .call-number { font-size: clamp(1.4rem, 3vw + 0.6rem, 2rem); }
.call-big .call-label { font-size: var(--fs-sm); }

/* --- section skeleton with left marker --- */

main { display: block; }

.section {
  padding: var(--s-12) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  border-bottom: 1px solid var(--rule);
}
.section:last-child { border-bottom: none; }

@media (min-width: 900px) {
  .section {
    padding: 80px var(--gutter);
    grid-template-columns: 7rem minmax(0, 1fr);
    gap: var(--s-6);
  }
}

.marker {
  font-family: var(--mono);
  color: var(--text-mute);
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  padding-bottom: var(--s-3);
  border-left: 2px solid var(--accent);
  padding-left: var(--s-3);
}
@media (min-width: 900px) {
  .marker {
    padding-top: 0.6rem;
    padding-bottom: 0;
    align-self: start;
    position: sticky;
    top: var(--s-8);
  }
}

.eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: var(--s-4);
}

/* --- hero --- */

.hero .hero-body {
  max-width: 48rem;
}
.hero h1 {
  margin-bottom: var(--s-6);
}
.hero .stamp {
  color: var(--accent);
}
.hero .lead {
  font-size: clamp(var(--fs-base), 0.6vw + 0.95rem, var(--fs-md));
  color: var(--text-soft);
  max-width: none;
  margin-bottom: var(--s-6);
  line-height: 1.5;
}
.hero-hours {
  margin: var(--s-4) 0 0;
  font-family: var(--mono);
  font-size: var(--fs-sm);
  color: var(--text-mute);
}
.hero-ctas {
  display: flex;
  gap: var(--s-6);
  align-items: center;
  flex-wrap: wrap;
}

.link-action {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5ch;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 0;
  border-bottom: 2px solid var(--accent);
}
.link-action::after {
  content: "→";
  font-family: var(--mono);
  display: inline-block;
}
.link-action:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .link-action { transition: color 180ms ease-out, border-color 180ms ease-out; }
  .link-action:hover { color: var(--accent-deep); border-bottom-color: var(--accent-deep); }
}

/* The round badge, CSS-drawn: twelve marks around the rim like an inspection
   sticker, their slogan inside. Decorative; it stands beside the headline
   from 900px and stays out of the way on phones. */
.pickerl {
  position: relative;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 50%;
  border: 4px solid var(--text);
  font-family: var(--mono);
  text-align: center;
  padding: var(--s-3);
  flex-shrink: 0;
}
/* inner concentric ring */
.pickerl::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid var(--accent-ink);
  border-radius: 50%;
  opacity: 0.45;
  pointer-events: none;
}
/* twelve tick-marks around the rim (month marks) via conic-gradient
   — each tick 2° wide, every 30° (12 ticks) */
.pickerl::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      var(--accent-ink) 0deg 2deg, transparent 2deg 30deg,
      var(--accent-ink) 30deg 32deg, transparent 32deg 60deg,
      var(--accent-ink) 60deg 62deg, transparent 62deg 90deg,
      var(--accent-ink) 90deg 92deg, transparent 92deg 120deg,
      var(--accent-ink) 120deg 122deg, transparent 122deg 150deg,
      var(--accent-ink) 150deg 152deg, transparent 152deg 180deg,
      var(--accent-ink) 180deg 182deg, transparent 182deg 210deg,
      var(--accent-ink) 210deg 212deg, transparent 212deg 240deg,
      var(--accent-ink) 240deg 242deg, transparent 242deg 270deg,
      var(--accent-ink) 270deg 272deg, transparent 272deg 300deg,
      var(--accent-ink) 300deg 302deg, transparent 302deg 330deg,
      var(--accent-ink) 330deg 332deg, transparent 332deg 360deg
    );
  mask: radial-gradient(circle,
    transparent 0 46%,
    #000 46% 50%,
    transparent 50% 100%
  );
  -webkit-mask: radial-gradient(circle,
    transparent 0 46%,
    #000 46% 50%,
    transparent 50% 100%
  );
  opacity: 0.55;
  pointer-events: none;
}
.pickerl-year {
  font-size: clamp(1.7rem, 2.4vw + 0.3rem, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.pickerl-small {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  margin-top: 6px;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 7rem minmax(0, 1fr) auto;
  }
  .pickerl {
    display: inline-flex;
    width: clamp(150px, 16vw, 200px);
    height: clamp(150px, 16vw, 200px);
    margin: 0 0 0 var(--s-6);
    align-self: center;
    justify-self: end;
    transform: rotate(-4deg);
  }
}

/* --- services --- */

.services-body { min-width: 0; }
.section-lead { color: var(--text-soft); max-width: 60ch; margin-bottom: var(--s-8); }

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-bottom: 1px solid var(--rule);
}

.services-list li {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: var(--s-4);
  padding: var(--s-6) var(--s-4) var(--s-6) 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}

.svc-num {
  position: relative;
  font-family: var(--mono);
  color: var(--accent);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}
/* The red measuring bar: it slides out under the number of a post. */
.svc-num::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(100% + var(--s-2));
  width: 32px;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}
@media (hover: hover) {
  .services-list li:hover .svc-num::after { transform: scaleX(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .svc-num::after { transition: transform 300ms ease-out; }
}
.services-list h3 { margin-bottom: var(--s-2); }
.services-list p { color: var(--text-soft); margin-bottom: 0; max-width: 60ch; }

.services-foot {
  margin-top: var(--s-8);
  font-size: var(--fs-sm);
  color: var(--text-mute);
  max-width: 60ch;
}

@media (min-width: 1100px) {
  .services-list {
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    column-gap: var(--s-12);
    row-gap: 0;
  }
  .services-list li {
    padding: var(--s-6) 0;
  }
}
/* Wide screens get more columns: eight posts in two rows of four. */
@media (min-width: 1700px) {
  .services-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .services-list li { grid-template-columns: 3rem 1fr; }
}

/* --- hours & address --- */

.hours-grid {
  display: grid;
  gap: var(--s-8);
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .hours-grid {
    grid-template-columns: minmax(20rem, 5fr) minmax(18rem, 6fr);
    gap: var(--s-12);
  }
}

.hours-block h2, .address-block h2 { font-size: var(--fs-lg); margin-bottom: var(--s-4); }

.spec {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: var(--fs-base);
  margin-bottom: var(--s-6);
}
.spec th, .spec td {
  padding: 10px 0;
  border-top: 1px solid var(--rule);
  text-align: left;
  font-weight: 400;
}
.spec th {
  width: 3rem;
  color: var(--text-mute);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.spec tr:first-child th, .spec tr:first-child td { border-top: 2px solid var(--rule-strong); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 2px solid var(--rule-strong); }

.hours-note, .address-note, .contact-row, .address, .address-h2 {
  color: var(--text-soft);
  max-width: 48ch;
}
.address { color: var(--text); font-weight: 600; line-height: 1.5; margin-bottom: var(--s-4); }
.address-h2 { margin-top: var(--s-6); color: var(--text); font-weight: 600; font-size: var(--fs-md); }
.contact-row { line-height: 1.8; }

/* --- contact page (top) --- */

.contact-body { max-width: 52rem; }
.contact-body h1 { margin-bottom: var(--s-8); }
.contact-sub { margin-top: var(--s-6); color: var(--text-soft); }

/* --- about page --- */

.article-body { max-width: 56rem; }
.article-body .lead {
  font-size: clamp(var(--fs-md), 1.4vw + 0.9rem, var(--fs-lg));
  color: var(--text-soft);
  margin-bottom: var(--s-6);
  line-height: 1.5;
}
.article-body p { max-width: 66ch; }

/* --- call strip --- */

.callstrip {
  background: var(--accent);
  color: var(--accent-ink);
  padding: var(--s-8) var(--gutter);
}
.callstrip-row {
  display: flex;
  gap: var(--s-8);
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 100%;
}
.callstrip-text {
  margin: 0;
  color: var(--accent-ink);
  font-size: var(--fs-md);
  max-width: 60ch;
  line-height: 1.4;
  text-wrap: balance;
}
.callstrip .call-on-strip { background: var(--text); border-color: var(--text); }
.callstrip .call-on-strip:focus-visible { outline-color: var(--accent-ink); }

/* --- footer --- */

.site-foot {
  background: var(--text);
  color: #d0c9bb;
  padding: var(--s-12) var(--gutter) var(--s-8);
}
.site-foot a { color: #e8e2d4; }
.site-foot .link-inline { background-image: linear-gradient(currentColor, currentColor); }

.foot-cols {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: 1fr;
  padding-bottom: var(--s-8);
  border-bottom: 1px solid #3a3a3a;
}
@media (min-width: 560px) {
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8); }
}
@media (min-width: 960px) {
  .foot-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); }
}
.foot-col p { margin: 0; color: #d0c9bb; line-height: 1.6; max-width: none; }
.foot-col .foot-hours { font-family: var(--mono); font-size: 1rem; line-height: 1.8; }
.foot-hours span { display: inline-block; width: 7ch; }
.foot-label {
  font-family: var(--mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b7b0a0;
  margin-bottom: var(--s-3);
}

.legal {
  margin-top: var(--s-6);
  font-size: var(--fs-sm);
  color: #b7b0a0;
  max-width: none;
}

.mono { font-family: var(--mono); }

/* --- hero photo: their own photo of the workshop, as wide as text and badge -- */
.hero-photo {
  position: relative;
  grid-column: 1 / -1;
  margin: var(--s-4) 0 0;
  overflow: hidden;
  background: var(--text);
  border: 1px solid var(--text);
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  object-position: 50% 45%;
}
.photo-cap {
  display: block;
  font-size: var(--fs-sm);
  line-height: 1.4;
  color: var(--text-mute);
  background: var(--bg);
  border-top: 1px solid var(--text);
  padding: 6px var(--s-3);
}
@media (min-width: 600px) {
  .hero-photo { margin-top: var(--s-6); }
  .hero-photo img { aspect-ratio: 9 / 4; object-position: 50% 50%; }
  .photo-cap { padding: var(--s-2) var(--s-3); }
}
@media (min-width: 900px) {
  .hero-photo { grid-column: 2 / -1; margin-top: var(--s-4); }
  .hero-photo img { aspect-ratio: 3 / 1; object-position: 50% 45%; }
}
@media (min-width: 1440px) {
  .hero-photo img { aspect-ratio: 7 / 2; }
}

/* --- Signature load sequence: the inspection light ------------------------- */
/* On load, one band of light runs across the workshop photo and is gone
   (900 ms), while headline and sentence settle. One sequence, about 1 s. */
@media (prefers-reduced-motion: no-preference) {
  .hero-scan {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
  }
  .hero-scan::before {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 40%,
      rgba(255, 255, 255, 0.3) 48%,
      rgba(255, 255, 255, 0.5) 50%,
      rgba(255, 255, 255, 0.3) 52%,
      rgba(255, 255, 255, 0) 60%,
      rgba(255, 255, 255, 0) 100%);
    transform: translateX(-120%);
    opacity: 0;
    animation: pickerl-wipe 900ms cubic-bezier(.4,0,.2,1) 150ms forwards;
    mix-blend-mode: screen;
  }
  /* Headline and sentence settle; the call button stays where it is. */
  .hero-body h1,
  .hero-body .lead {
    animation: text-rise 600ms cubic-bezier(.2,.65,.3,1) both;
  }
  .hero-body h1    { animation-delay: 300ms; }
  .hero-body .lead { animation-delay: 420ms; }

  @keyframes pickerl-wipe {
    0%   { transform: translateX(-120%); opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
  }
  @keyframes text-rise {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* --- reduced motion fallback --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scan { display: none; }
}

/* --- phones ---------------------------------------------------------------- */

/* The hero stays under 70% of the screen: text, call button, hours, photo. */
@media (max-width: 599px) {
  .hero { padding-top: var(--s-6); padding-bottom: var(--s-6); }
  .hero .marker { display: none; }
  .hero .eyebrow {
    margin-bottom: var(--s-2);
    font-family: var(--sans);
    letter-spacing: 0.02em;
    text-transform: none;
  }
  .hero h1 { font-size: 1.75rem; margin-bottom: var(--s-3); }
  .hero .lead { margin-bottom: var(--s-4); }
  .hero .link-action { display: none; }
  .hero-hours { margin-top: var(--s-3); }
}

/* Logo and call button share one row down to 320px. */
@media (max-width: 479px) {
  .band-row { gap: var(--s-3); }
  .band .call { padding: 8px 12px 9px; }
  .band .call-number {
    font-family: var(--sans);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
  }
  .band-nav { gap: 0 var(--s-3); justify-content: space-between; }
  .band-nav a { letter-spacing: 0.02em; }
}
/* Below 360px the logo is the way home, so the three other links fit one row. */
@media (max-width: 359px) {
  .band-nav a:first-child { display: none; }
}

/* --- photo row -------------------------------------------------------------- */

/* Photo row under the services: buttons, swipe or arrow keys move it. */
.reel-wrap {
  --reel-w: 80vw;
  grid-column: 1 / -1;
  min-width: 0;
  margin-top: var(--s-8);
  margin-right: calc(-1 * var(--gutter));
}
@media (min-width: 600px)  { .reel-wrap { --reel-w: 44vw; } }
@media (min-width: 900px)  { .reel-wrap { --reel-w: 30vw; grid-column: 2; margin-top: var(--s-4); } }
@media (min-width: 1440px) { .reel-wrap { --reel-w: 24vw; } }

.reel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 48px;
  margin-bottom: var(--s-4);
  padding-right: var(--gutter);
}
.reel-title { margin: 0; font-size: var(--fs-md); }
.reel-nav { display: flex; gap: var(--s-2); }
.reel-nav[hidden] { display: none; }
.reel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--text);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.reel-btn:hover,
.reel-btn:focus-visible {
  background: var(--text);
  color: #ffffff;
}
.reel-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.reel {
  display: flex;
  gap: var(--s-4);
  padding-right: var(--gutter);
  padding-bottom: var(--s-3);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--text) var(--rule);
}
/* reel.js sets this class together with the buttons: no scrollbar then.
   Without the script the browser's scrollbar stays as the way through. */
.reel-ready {
  padding-bottom: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reel-ready::-webkit-scrollbar { display: none; width: 0; height: 0; }
.reel:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }

.reel-item {
  flex: 0 0 var(--reel-w);
  width: var(--reel-w);
  margin: 0;
  scroll-snap-align: start;
}
.reel-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border: 1px solid var(--text);
}
.reel-item .pos-top { object-position: 50% 30%; }
.reel-item .pos-mid { object-position: 50% 42%; }
.reel-cap {
  position: relative;
  padding: var(--s-2) 0 var(--s-3);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-mute);
}
.reel-what { color: var(--text); font-weight: 600; }
/* The red measuring bar of the services list, under a photo's caption. */
.reel-cap::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}
.reel:focus-visible .reel-cap::after { transform: scaleX(1); }
@media (hover: hover) {
  .reel-item:hover .reel-cap::after { transform: scaleX(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .reel { scroll-behavior: smooth; }
  .reel-cap::after { transition: transform 300ms ease-out; }
}
