/* =========================================================================
   JNARC Offroad — styles.css
   Mobile-first. Change the brand colors and fonts in :root below.
   ========================================================================= */

:root {
  /* ---- Brand colors (edit these) ---- */
  --c-bg:        #141517;   /* page background: dark charcoal */
  --c-surface:   #1d1f22;   /* cards, panels */
  --c-surface-2: #26282c;   /* raised elements, hovers */
  --c-line:      #34373c;   /* borders and dividers */
  --c-text:      #eceae4;   /* main text: warm off-white */
  --c-muted:     #a8a49b;   /* secondary text */
  --c-tan:       #c99a45;   /* sand/tan accent (matches the logo) */
  --c-sand:      #dcc7a1;   /* lighter sand for small highlights */
  --c-lime:      #a6e22e;   /* bright lime highlight (paracord green) */
  --c-lime-hover:#bdf04f;
  --c-on-lime:   #141517;   /* text on lime buttons */

  /* ---- Fonts ---- */
  --f-head: "Barlow Condensed", "Arial Narrow", Impact, system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* ---- Layout ---- */
  --container: 1200px;
  --gutter: 1.25rem;
  --radius: 10px;
  --header-h: 64px;
  --section-pad: clamp(4rem, 10vw, 7.5rem);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* keep the footer at the bottom on short pages */
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
}
main { flex: 1 0 auto; display: flex; flex-direction: column; }
main > section { flex: 1 0 auto; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; }
p { margin: 0; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--c-lime); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--c-lime); color: var(--c-on-lime); padding: .75rem 1rem; font-weight: 700; border-radius: 6px;
}
.skip-link:focus { top: 1rem; }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Type ---------- */
h2, h1.page-title {
  font-family: var(--f-head);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 9vw, 4.5rem);
  letter-spacing: .01em;
}
h3 { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; font-size: 1.4rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--f-head); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: .22em; color: var(--c-tan);
  margin-bottom: .9rem;
}
.eyebrow span {
  color: var(--c-on-lime); background: var(--c-tan);
  padding: .1rem .45rem; border-radius: 3px; letter-spacing: .08em;
}
.section-sub { color: var(--c-muted); max-width: 38rem; margin-top: 1rem; font-size: 1.05rem; }
.prose p + p { margin-top: 1rem; }
.prose { color: #cfcbc2; font-size: 1.05rem; }
.text-link { color: var(--c-lime); text-underline-offset: .2em; text-decoration-thickness: 2px; font-weight: 600; }
.text-link:hover { color: var(--c-lime-hover); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.4rem;
  font-family: var(--f-head); font-weight: 700; font-size: 1.15rem;
  text-transform: uppercase; letter-spacing: .08em; text-decoration: none;
  border-radius: 6px; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-lime { background: var(--c-lime); color: var(--c-on-lime); }
.btn-lime:hover { background: var(--c-lime-hover); }
.btn-ghost { border-color: rgba(236, 234, 228, .55); color: var(--c-text); background: rgba(20, 21, 23, .35); }
.btn-ghost:hover { border-color: var(--c-tan); color: var(--c-sand); }
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: 1rem; }
.btn-lg { min-height: 54px; padding: .9rem 1.6rem; font-size: 1.2rem; }
.btn .icon { width: 1.1em; height: 1.1em; stroke-width: 2.5; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 21, 23, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--c-line); background: rgba(20, 21, 23, .96); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 9px; }
.brand-word { font-family: var(--f-body); font-size: 1.15rem; letter-spacing: .02em; line-height: 1; }
.brand-word strong { font-weight: 700; color: #fff; }
.brand-word span { font-weight: 300; color: #bdbab3; letter-spacing: .12em; }

.nav-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
  background: none; border: 0; cursor: pointer; border-radius: 8px;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 24px; height: 2px; background: var(--c-text); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.site-nav {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: var(--c-bg); border-bottom: 1px solid var(--c-line);
  padding: .5rem var(--gutter) 1.5rem;
  display: none;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a {
  display: block; padding: .9rem 0; border-bottom: 1px solid var(--c-line);
  font-family: var(--f-head); font-weight: 700; font-size: 1.5rem;
  text-transform: uppercase; letter-spacing: .06em; text-decoration: none;
}
.site-nav li a:hover, .site-nav li a[aria-current="page"] { color: var(--c-lime); }
.nav-cta { margin-top: 1.25rem; width: 100%; min-height: 52px; font-size: 1.15rem; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: flex !important; align-items: center; gap: 2rem;
    background: none; border: 0; padding: 0;
  }
  .site-nav ul { display: flex; gap: 1.75rem; }
  .site-nav li a {
    border: 0; padding: .25rem 0; font-size: 1.1rem; letter-spacing: .1em; position: relative;
  }
  .site-nav li a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
    background: var(--c-lime); transform: scaleX(0); transform-origin: left; transition: transform .25s;
  }
  .site-nav li a:hover::after, .site-nav li a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-cta { margin-top: 0; width: auto; min-height: 40px; font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: calc(100svh - var(--header-h));
  display: flex; align-items: flex-end;
  padding: 7rem 0 3.5rem;
  overflow: hidden;
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-media img { object-fit: cover; object-position: 62% center; } /* keeps the ATVs in view on phones */
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,21,23,.15) 0%, rgba(20,21,23,.2) 35%, rgba(20,21,23,.92) 85%, var(--c-bg) 100%),
    linear-gradient(90deg, rgba(20,21,23,.55) 0%, rgba(20,21,23,0) 70%);
}
.hero-kicker {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--f-body); font-size: .95rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--c-tan); margin-bottom: .75rem;
}
.hero-kicker::before { content: ""; width: 2.25rem; height: 3px; background: var(--c-lime); border-radius: 2px; }
.hero-tagline {
  display: block;
  font-family: var(--f-head); font-weight: 800; text-transform: uppercase;
  font-size: clamp(3.4rem, 15.5vw, 9rem); line-height: .88; letter-spacing: -.005em;
  color: #fff; max-width: 10ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero-lead { margin-top: 1.25rem; max-width: 34rem; font-size: 1.1rem; color: #dedbd3; }
.hero-actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
@media (min-width: 560px) { .hero-actions { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 900px) { .hero { padding-bottom: 5.5rem; } .hero-lead { font-size: 1.2rem; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); }
.section-head { margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.products, .reviews { background: var(--c-surface); border-block: 1px solid var(--c-line); }

/* Corner-bracket frame (borrowed from the logo) */
.framed { position: relative; }
.framed::before, .framed::after {
  content: ""; position: absolute; width: 44px; height: 44px; z-index: 1; pointer-events: none;
  border: 4px solid var(--c-tan);
}
.framed::before { top: -12px; left: -12px; border-right: 0; border-bottom: 0; }
.framed::after { bottom: -12px; right: -12px; border-left: 0; border-top: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 3rem; align-items: center; }
.about-media { margin: 12px; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-copy h1 { margin-bottom: 1.5rem; }
.about-copy .trust { display: grid; gap: 1rem; margin-top: 2.25rem; }
.trust li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.1rem 1.1rem; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
}
.trust .icon { width: 2rem; height: 2rem; color: var(--c-lime); stroke-width: 1.75; }
.trust h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: .03em; }
.trust p { color: var(--c-muted); font-size: .95rem; line-height: 1.5; margin-top: .2rem; }
@media (min-width: 600px) { .about-copy .trust { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .about-grid { grid-template-columns: 5fr 7fr; gap: 5rem; } }

/* ---------- Products ---------- */
.product-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column;
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: #4a4e55; }
.card-media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #0f1011; cursor: zoom-in; }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.03); }
.card-media .photo-count {
  position: absolute; right: .75rem; bottom: .75rem;
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(20,21,23,.85); color: var(--c-text); font-size: .8rem; font-weight: 600;
  padding: .3rem .6rem; border-radius: 999px;
}
.card-media .photo-count .icon { width: 1rem; height: 1rem; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.5rem; }
.card-tag {
  align-self: flex-start; margin-bottom: .6rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-on-lime); background: var(--c-sand); padding: .2rem .55rem; border-radius: 3px;
}
.card-body h3 { font-size: 1.65rem; }
.card-desc { color: var(--c-muted); margin-top: .6rem; }
.colors { margin-top: 1.1rem; }
.colors + .colors { margin-top: .8rem; }
.colors-label { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.color-list { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .5rem; }
.color-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .3rem .7rem .3rem .4rem; border: 1px solid var(--c-line); border-radius: 999px;
  font-size: .85rem; background: var(--c-surface);
}
.swatch { width: 1rem; height: 1rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); flex: none; }
.card-foot { margin-top: auto; padding-top: 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.price { font-family: var(--f-head); font-size: 1.5rem; font-weight: 700; color: var(--c-sand); }
.price small { font-family: var(--f-body); font-size: .85rem; font-weight: 500; color: var(--c-muted); margin-right: .2rem; text-transform: lowercase; }
.price-note { display: block; margin-top: .1rem; font-family: var(--f-body); font-size: .75rem; font-weight: 400; color: var(--c-muted); letter-spacing: .02em; }
.price.price-tbd { font-family: var(--f-body); font-size: .95rem; font-weight: 500; color: var(--c-muted); }

.card-soon {
  justify-content: center; align-items: flex-start; padding: 2rem 1.5rem; min-height: 260px;
  border-style: dashed; background: transparent;
}
.card-soon h3 { font-size: 1.8rem; }
.card-soon p { color: var(--c-muted); margin: .6rem 0 1.4rem; }

.loading, .load-error, .noscript-msg { color: var(--c-muted); }
.load-error a, .noscript-msg a { color: var(--c-lime); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.gallery-grid li:first-child { grid-column: span 2; }
.gallery-item {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0;
  background: var(--c-surface); border-radius: 6px; overflow: hidden; cursor: zoom-in;
}
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s, opacity .3s; }
.gallery-grid li:first-child .gallery-item img { aspect-ratio: 16 / 10; }
/* if the last photo would sit alone in its row, stretch it to fill */
.gallery-grid li:last-child:nth-child(even):not(:first-child) { grid-column: span 2; }
.gallery-grid li:last-child:nth-child(even):not(:first-child) .gallery-item img { aspect-ratio: 2 / 1; }
.gallery-item:hover img { transform: scale(1.04); opacity: .9; }
@media (min-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: .9rem; }
  .gallery-grid li:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery-grid li:first-child .gallery-item img { aspect-ratio: 1 / 1; }
  .gallery-grid li:last-child:nth-child(even):not(:first-child) { grid-column: auto; }
  .gallery-grid li:last-child:nth-child(even):not(:first-child) .gallery-item img { aspect-ratio: 1 / 1; }
  .gallery-grid li:last-child:nth-child(4n):not(:first-child) { grid-column: span 2; }
  /* wide last tile: match the height of the square tiles beside it */
  .gallery-grid li:last-child:nth-child(4n):not(:first-child) .gallery-item img { position: absolute; inset: 0; aspect-ratio: auto; }
  /* last row has 2 photos: make both wide so the row is full */
  .gallery-grid li:nth-last-child(2):nth-child(4n+2):nth-child(n+6),
  .gallery-grid li:last-child:nth-child(4n+3):nth-child(n+7) { grid-column: span 2; }
  .gallery-grid li:nth-last-child(2):nth-child(4n+2):nth-child(n+6) .gallery-item img,
  .gallery-grid li:last-child:nth-child(4n+3):nth-child(n+7) .gallery-item img { aspect-ratio: 2 / 1; }
  /* last row has 1 photo: stretch it across */
  .gallery-grid li:last-child:nth-child(4n+2):nth-child(n+6) { grid-column: 1 / -1; }
  .gallery-grid li:last-child:nth-child(4n+2):nth-child(n+6) .gallery-item img { aspect-ratio: 3 / 1; }
}

/* ---------- Testimonials ---------- */
.review-grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review {
  margin: 0; display: flex; flex-direction: column; gap: 1rem;
  padding: 1.6rem; background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius);
  position: relative;
}
.review blockquote { margin: 0; font-size: 1.08rem; line-height: 1.6; }
.review blockquote::before {
  content: "\201C"; display: block; font-family: var(--f-head); font-size: 3.5rem; line-height: .6;
  color: var(--c-tan); margin-bottom: .4rem;
}
.stars { display: flex; gap: 2px; color: var(--c-lime); }
.stars svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.stars svg.off { color: #4a4e55; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: .85rem; font-size: .95rem; }
.review-who { display: flex; flex-direction: column; }
.review-who strong { font-weight: 700; }
.review-who span { color: var(--c-muted); font-size: .85rem; }
/* small reviewer photo: fixed size, not clickable */
.review-photo { flex: none; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; border: 1px solid var(--c-line); }
.review-photo img { width: 100%; height: 100%; object-fit: cover; }
.review.is-placeholder { border-style: dashed; border-color: var(--c-tan); }
.placeholder-badge {
  align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-on-lime); background: var(--c-tan); padding: .2rem .55rem; border-radius: 3px;
}
.reviews-more { margin-top: 2rem; }

/* ---------- Contact page ---------- */
.contact-actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
@media (min-width: 560px) { .contact-actions { flex-direction: row; flex-wrap: wrap; } }
.contact-details { display: grid; gap: 1rem; margin: 2.5rem 0 0; }
@media (min-width: 560px) { .contact-details { display: flex; flex-wrap: wrap; gap: 1rem 3rem; } }
.contact-details dt { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); }
.contact-details dd { margin: .2rem 0 0; font-size: 1.15rem; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { padding: 2.5rem 0 2rem; background: var(--c-bg); border-top: 1px solid var(--c-line); }
.footer-bar { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 720px) { .footer-bar { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; } }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
@media (min-width: 560px) { .footer-links { flex-direction: row; flex-wrap: wrap; gap: .5rem 1.75rem; } }
.footer-links a {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  color: var(--c-muted); text-decoration: none; font-size: .95rem; word-break: break-word;
}
.footer-links a:hover { color: var(--c-lime); }
.footer-links .icon { width: 1.1rem; height: 1.1rem; color: var(--c-tan); }
.social { display: flex; flex-wrap: wrap; gap: .5rem; }
.social a {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem .85rem;
  border: 1px solid var(--c-line); border-radius: 999px; text-decoration: none; font-size: .9rem; color: var(--c-muted);
  transition: color .2s, border-color .2s;
}
.social a:hover { color: var(--c-lime); border-color: var(--c-lime); }
.social .icon { width: 1.1rem; height: 1.1rem; }
.copyright { margin-top: 2rem; font-size: .85rem; color: #8d897f; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(10, 10, 11, .96); color: var(--c-text);
}
.lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.lightbox-inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 4rem .75rem 1rem; }
.lightbox-figure { margin: 0; flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .9rem; }
.lightbox-figure img { max-width: 100%; max-height: calc(100% - 3rem); object-fit: contain; border-radius: 4px; }
.lightbox-figure figcaption { color: var(--c-muted); text-align: center; font-size: .95rem; max-width: 48rem; }
.lightbox-controls { display: flex; align-items: center; justify-content: center; gap: 1.25rem; padding: .75rem 0; }
.lb-count { font-variant-numeric: tabular-nums; color: var(--c-muted); min-width: 4rem; text-align: center; font-size: .95rem; }
.lb-btn {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--c-line); background: var(--c-surface); cursor: pointer;
}
.lb-btn:hover { border-color: var(--c-lime); color: var(--c-lime); }
.lb-btn .icon { width: 1.5rem; height: 1.5rem; }
.lb-close { position: absolute; top: .75rem; right: .75rem; }
.lightbox.single .lightbox-controls { visibility: hidden; }
@media (min-width: 900px) {
  .lightbox-inner { padding: 4.5rem 6rem 1.5rem; }
  .lightbox-controls { position: absolute; inset: 0; pointer-events: none; justify-content: space-between; padding: 0 1.5rem; }
  .lightbox-controls .lb-btn { pointer-events: auto; }
  .lb-count { position: absolute; top: 1.6rem; left: 50%; transform: translateX(-50%); }
}
body.lightbox-open { overflow: hidden; }

/* ---------- TODO finder: add ?todo to the URL to outline every placeholder ---------- */
.show-todos [data-todo] { outline: 3px dashed var(--c-lime) !important; outline-offset: 4px; position: relative; }
.show-todos [data-todo]::after {
  content: "TODO: " attr(data-todo); position: absolute; left: 0; top: 0; z-index: 5;
  background: var(--c-lime); color: var(--c-on-lime); font: 700 12px/1.4 var(--f-body); padding: 2px 6px;
}
