/* IronClad Industrial — public site styles */

* { box-sizing: border-box; }

/* Skip-to-main-content link — visually hidden until keyboard focused. Lets
   screen-reader / keyboard users bypass the global nav. */
.skip-link {
  position: absolute; top: -40px; left: 12px;
  z-index: 999; padding: 10px 14px;
  background: var(--brand, #ff8c00); color: #fff; font-weight: 700;
  border-radius: var(--radius-sm); text-decoration: none;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; outline: 2px solid #fff; outline-offset: 2px; }
:root {
  --brand: #ff8c00;
  --brand-dark: #cc6600;
  /* Channel-separated brand color for rgba() usage (focus rings, tints).
     Keep in sync with --brand. */
  --brand-rgb: 255, 140, 0;
  --bg-0: #0d1117;
  --bg-1: #161b22;
  --bg-2: #1c232c;
  --bg-3: #232b35;
  --text: #e6edf3;
  --text-dim: #8b949e;
  --text-mute: #6e7681;
  --border: #30363d;
  --border-strong: #3a4350;
  --danger: #d93025;
  --warn: #f5a524;
  --good: #34c759;
  --info: #1f6feb;
  /* Brand-tint highlight color used in the IRONCLAD logo gradient sweep. */
  --brand-tint: #ffb155;
  /* Foreground color to use on top of a solid brand-orange background. */
  --on-brand: #fff;
  /* Foreground color to use on top of the --warn yellow background.
     Dark warm-brown reads cleanly on yellow in both themes. */
  --on-warn: #1a1410;
  /* Radius scale. --radius is the default (was 6px before this audit, kept for
     back-compat). --radius-sm for compact controls (chips, small buttons);
     --radius-lg for cards / hero blocks. */
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;
  /* Type scale — picked by usage frequency in the codebase. Keep these the
     ONLY allowed sizes when adding new components; one-off literal sizes are
     a smell. */
  --fs-xs:   11px;   /* metadata, captions */
  --fs-sm:   13px;   /* secondary text */
  --fs-base: 15px;   /* default body of most components */
  --fs-md:   18px;   /* section sub-heads */
  --fs-lg:   22px;   /* card titles */
  --fs-xl:   28px;   /* page hero values */
  /* Transition tokens — fast for hovers / state changes, med for cards
     lifting, slow for hero / brand-mark micro-animations. */
  --t-fast:  .15s ease;
  --t-med:   .22s ease;
  --t-slow:  .6s ease;
  --shadow-sm:  0 1px 2px rgba(0,0,0,.18);
  --shadow-md:  0 6px 20px rgba(0,0,0,.30);
  --shadow-lg:  0 18px 36px rgba(0,0,0,.45), 0 4px 8px rgba(0,0,0,.20);
  --shadow-card-hover: 0 14px 28px rgba(0,0,0,.40);
  --hero-tint: rgba(var(--brand-rgb),.13);
}
html[data-theme="light"] {
  --bg-0: #ffffff;
  --bg-1: #f3f5f8;
  --bg-2: #e8ecf0;
  --bg-3: #dde2e8;
  --text: #1a1f29;
  --text-dim: #4a5868;
  --text-mute: #7a8493;
  --border: #d8dee5;
  --border-strong: #b6bfca;
  --shadow-sm:  0 1px 2px rgba(15,30,50,.06);
  --shadow-md:  0 8px 24px rgba(15,30,50,.10);
  --shadow-lg:  0 12px 30px rgba(15,30,50,.12), 0 3px 6px rgba(15,30,50,.06);
  --shadow-card-hover: 0 8px 20px rgba(15,30,50,.12);
  --hero-tint: rgba(var(--brand-rgb),.18);
}

html { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

/* Selection highlight — brand-orange background + white text reads cleanly
   over any color content (links, headings, body text) in either theme. */
::selection { background: var(--brand); color: #fff; }
::-moz-selection { background: var(--brand); color: #fff; }

.theme-toggle {
  background: transparent; border: 1px solid var(--border);
  color: var(--text); padding: 6px 10px; border-radius: var(--radius);
  font-size: 16px; line-height: 1; cursor: pointer;
}
.theme-toggle:hover { background: var(--bg-2); border-color: var(--border-strong); }
html, body {
  margin: 0; padding: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, system-ui, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif;
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--brand-dark); }
h1, h2, h3, h4 { color: var(--text); margin: 0 0 .4em; line-height: 1.2; }
h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 700; letter-spacing: -.01em; margin: 0 0 .8em; }
h3 { font-size: var(--fs-md); font-weight: 600; }
h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); }
p, ul, ol, dl { margin: 0 0 1em; }
.lead { font-size: var(--fs-md); color: var(--text-dim); }
.empty { color: var(--text-dim); font-style: italic; padding: 40px 0; text-align: center; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Header ─────────────────────────────────────────────────────────── */
.site-header {
  background: var(--bg-1);
  border-bottom: 2px solid var(--brand);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.brand {
  display: flex; flex-direction: column; line-height: 1; gap: 2px;
  position: relative;
  transition: transform .25s ease, filter .25s ease;
}
.brand:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.15); }
.brand-mark {
  color: var(--brand); font-weight: 900; letter-spacing: 2px; font-size: var(--fs-lg);
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-tint) 50%, var(--brand) 100%);
  background-size: 200% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position .6s ease, letter-spacing .25s ease;
}
.brand:hover .brand-mark { background-position: 0 0; letter-spacing: 3px; }
.brand-suffix { color: var(--text-dim); font-size: 10px; letter-spacing: 4px; font-weight: 600; transition: color .25s ease, letter-spacing .25s ease; }
.brand:hover .brand-suffix { color: var(--brand); letter-spacing: 6px; }

.main-nav { display: flex; gap: 6px; align-items: center; }
.main-nav a {
  color: var(--text); font-weight: 600; font-size: var(--fs-base);
  padding: 8px 16px; border-radius: var(--radius);
  text-transform: uppercase; letter-spacing: 1.2px; font-size: var(--fs-sm);
  position: relative;
  transition: color .15s ease, background-color .15s ease;
}
.main-nav a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--brand); border-radius: 2px;
  transform: scaleX(0); transform-origin: center;
  transition: transform .2s ease;
}
.main-nav a:hover { color: var(--brand); text-decoration: none; background: rgba(var(--brand-rgb),0.08); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-contact {
  display: flex; align-items: center; gap: 12px;
}
.trust-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--text-dim);
  padding: 6px 12px; border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-1);
}
.trust-badge strong { color: var(--brand); font-weight: 700; }
.trust-badge .trust-dot { opacity: .5; }
@media (max-width: 900px) { .trust-badge { display: none; } }
.header-address {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-dim); font-size: var(--fs-sm); line-height: 1.3;
  padding: 6px 10px; border-radius: var(--radius);
  transition: color .15s ease, background-color .15s ease;
  text-align: left;
  max-width: 260px;
}
.header-address:hover { color: var(--brand); background: rgba(var(--brand-rgb),0.08); text-decoration: none; }
.header-address-icon { font-size: 14px; opacity: 0.85; flex-shrink: 0; }
.header-address-text { font-weight: 500; }
.header-phone {
  color: var(--brand); font-weight: 700; font-size: 14px; padding: 8px 14px;
  /* Inset box-shadow instead of 1.5px border — fractional border widths
     render unevenly on rounded corners (the arcs go thinner than the
     straight edges), which read as a 'glitchy' pill in dark mode where the
     contrast between the orange border and dark-gray bg is lower. Inset
     box-shadow draws at exact pixel widths inside the radius and is
     consistent at every corner. Hover fills the pill so the shadow disappears
     under the brand-orange background — same visual as before. */
  border: 0;
  box-shadow: inset 0 0 0 2px var(--brand);
  border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 6px;
  transition: background-color .15s ease, color .15s ease;
}
.header-phone:hover { background: var(--brand); color: #fff; text-decoration: none; }
/* Inline SVG handset prepended to the phone link. The ☎ Unicode character
   is treated as a color emoji on macOS / iOS / Windows (rendered as a red
   phone glyph) and ignores CSS color — so we draw our own monochrome glyph
   that fills via currentColor and is theme-adaptive. The fill is overridden
   to var(--text) here (so it stays neutral against the brand-orange number
   text), then flips to white on hover when the whole pill goes orange. */
.header-phone::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  flex-shrink: 0;
  background-color: var(--text);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'><path d='M3.2 1.3a1.6 1.6 0 0 1 2.2.1l1.6 1.9a1.6 1.6 0 0 1-.2 2.3L5.9 6.4c.5 1.7 1.9 3.1 3.6 3.6l.8-.9a1.6 1.6 0 0 1 2.3-.2l1.9 1.6a1.6 1.6 0 0 1 .1 2.2l-.9 1A2.5 2.5 0 0 1 11 14C6.7 13.5 2.5 9.3 2 5a2.5 2.5 0 0 1 .3-2.8l.9-.9z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'><path d='M3.2 1.3a1.6 1.6 0 0 1 2.2.1l1.6 1.9a1.6 1.6 0 0 1-.2 2.3L5.9 6.4c.5 1.7 1.9 3.1 3.6 3.6l.8-.9a1.6 1.6 0 0 1 2.3-.2l1.9 1.6a1.6 1.6 0 0 1 .1 2.2l-.9 1A2.5 2.5 0 0 1 11 14C6.7 13.5 2.5 9.3 2 5a2.5 2.5 0 0 1 .3-2.8l.9-.9z'/></svg>") no-repeat center / contain;
}
.header-phone:hover::before { background-color: #fff; }

/* Companion pill to .header-phone — gives "Text" equal weight beside Call.
   Solid brand fill from the start (vs. .header-phone's outline) so the
   two read as distinct CTAs and the operator's preferred channel is the
   one that pops. */
.header-text {
  color: #fff; background: var(--brand); font-weight: 700; font-size: 14px;
  padding: 8px 14px; border-radius: var(--radius);
  display: inline-flex; align-items: center; gap: 6px;
  transition: filter .15s ease;
}
.header-text:hover { filter: brightness(1.08); text-decoration: none; color: #fff; }
.header-text::before {
  content: ''; display: inline-block;
  width: 14px; height: 14px; flex-shrink: 0;
  background-color: #fff;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'><path d='M3 2h10a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H7.5L4 14.5V12H3a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='black'><path d='M3 2h10a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H7.5L4 14.5V12H3a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2z'/></svg>") no-repeat center / contain;
}
@media (max-width: 900px) {
  .header-address { display: none; }   /* hide on small screens — address still in footer */
}
@media (max-width: 720px) {
  .header-row { gap: 12px; flex-wrap: wrap; height: auto; padding: 10px 0; }
  .main-nav { gap: 4px; flex-wrap: wrap; }
  .main-nav a { font-size: 12px; padding: 6px 10px; }
  .header-phone { display: none; }
  /* Text is shorter than the full phone number — keep it visible on mobile
     so people without the call habit still see the channel. */
  .header-text { padding: 6px 10px; font-size: 13px; }
  .header-contact { gap: 6px; }
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 40px; }
  .page-head { padding: 28px 0 18px; }
}
@media (max-width: 480px) {
  .main-nav { width: 100%; justify-content: space-between; }
  .header-row { gap: 8px; }
  .container { padding: 0 12px; }
}

/* ── Hero / page heads ─────────────────────────────────────────────── */
.hero {
  padding: 80px 0 64px;
  background:
    radial-gradient(ellipse at top right, var(--hero-tint), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
  border-bottom: 1px solid var(--border);
}
.hero h1 { max-width: 800px; }
.hero .lead { max-width: 640px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.page-head { padding: 48px 0 28px; border-bottom: 1px solid var(--border); background: var(--bg-1); }
.page-head .lead { margin-bottom: 16px; }
.page-head .meta { color: var(--text-dim); font-size: 14px; }
.breadcrumb { font-size: var(--fs-sm); color: var(--text-dim); margin-bottom: 12px; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--brand); }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 22px;
  font-size: var(--fs-base); font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .15s, border-color .15s, color .15s;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
/* Outline-style secondary button. Uses --text-dim for the border so it stays
   visible against a darker card surface (--bg-2) in dark theme — the prior
   --border-strong was too close to the card bg for adequate contrast. */
.btn-outline { background: transparent; color: var(--text); border-color: var(--text-dim); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.row-between { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-size: 14px; font-weight: 600; }

/* ── Categories grid ───────────────────────────────────────────────── */
.categories { padding: 48px 0; background: var(--bg-0); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.cat-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 28px 16px; min-height: 140px;
  background: var(--bg-1); border-radius: var(--radius-lg);
  color: var(--text); font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover), 0 0 0 1px rgba(var(--brand-rgb),.5);
  text-decoration: none;
}
.cat-card--bare {
  border: 1px solid var(--border-strong);
  font-size: var(--fs-md); letter-spacing: 0.5px;
}
.cat-card--bare:hover { border-color: var(--brand); }
.cat-card-name { font-size: 16px; }
.cat-card img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 12px; }

/* ── Listing grid + cards ──────────────────────────────────────────── */
.listings-block { padding: 48px 0; }
.listings-block.alt { background: var(--bg-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.listing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.listing-card {
  display: flex; flex-direction: column;
  background: var(--bg-0);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text);
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.listing-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  text-decoration: none;
}
.listing-card.is-featured {
  box-shadow: var(--shadow-sm), 0 0 0 2px rgba(var(--brand-rgb),.6);
}
.listing-card.is-featured:hover {
  box-shadow: var(--shadow-lg), 0 0 0 2px var(--brand);
}
.listing-card.status-sold { opacity: .82; }
.listing-card.status-sold:hover { opacity: 1; }
.listing-card-img { aspect-ratio: 4/3; background: var(--bg-2); position: relative; overflow: hidden; }
.listing-card-img img { width: 100%; height: 100%; object-fit: cover; }
.listing-card-img .img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--text-mute); font-size: 14px; text-transform: uppercase; letter-spacing: 2px;
  background: repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 8px, var(--bg-3) 8px, var(--bg-3) 16px);
}
.status-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 10px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 1.5px;
  border-radius: var(--radius-sm);
  /* Stronger shadow + outline so the badge stays legible on busy photo
     thumbnails. Plain box-shadow alone disappears against bright or noisy
     backgrounds; a 1px outline + drop-shadow + readable padding does. */
  box-shadow: 0 2px 6px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.15);
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.status-badge.sold { background: var(--danger); color: #fff; }
.status-badge.pending { background: var(--warn); color: var(--on-warn); }
/* In-transit badge — sits over the listing thumbnail. Solid background +
   white text + stronger shadow so it reads against any photo. */
.status-badge.in-transit {
  background: var(--info); color: #fff;
}
.featured-badge {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 10px; font-size: var(--fs-xs); font-weight: 800; letter-spacing: 1.5px;
  background: var(--brand); color: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}

.listing-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.listing-card-title { font-size: 16px; font-weight: 600; margin: 0 0 8px; line-height: 1.3; color: var(--text); }
.listing-card-meta { font-size: var(--fs-sm); color: var(--text-dim); display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.listing-card-meta span:not(:last-child)::after { content: '·'; margin-left: 12px; color: var(--text-mute); }
.listing-card-sku {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.3px;
  color: var(--text); background: var(--bg-2);
  padding: 1px 6px; border-radius: var(--radius-sm);
}
.listing-card-meta .listing-card-sku::after { content: '' !important; margin: 0 !important; }
.listing-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; gap: 8px; }
.price { font-weight: 700; color: var(--brand); font-size: 16px; }
/* Sale price treatment — old price struck through, sale price in brand red.
   Used on both the listing card and the listing detail page. */
.price-was   { color: #5f6b78; text-decoration: line-through; font-weight: 500; font-size: 14px; margin-right: 6px; }
.price-now   { color: #c0392b; font-weight: 800; }
.price-large.price-now { color: #c0392b; }
.price-save  { display: block; margin-top: 4px; font-size: 13px; color: #1a7a3a; font-weight: 600; }
.cat-tag { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 1px; color: var(--text-mute); }

/* ── Listing detail ────────────────────────────────────────────────── */
.listing-detail { padding: 32px 0 64px; }
/* Unified outer card that wraps gallery + summary + description + specs + inquire,
   so the whole listing reads as one cohesive page instead of disconnected blocks. */
.listing-card-outer {
  background: var(--bg-1);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 0;
}
@media (max-width: 720px) { .listing-card-outer { padding: 20px; border-radius: var(--radius-lg); } }
.listing-detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; margin-bottom: 32px; }
/* Stacked at ≤900px. Has to be minmax(0, 1fr) — bare `1fr` is `minmax(auto, 1fr)`
   and the gallery's underlying <img> has a 2400×1600 natural size that wins
   the `auto` min-width race, blowing the column out to 708px on a 390px
   phone (whole page scrolls horizontally). minmax(0,…) lets the column
   shrink below the image's intrinsic size; the img's `width: 100%` then
   fits inside the resulting box. */
@media (max-width: 900px) { .listing-detail-grid { grid-template-columns: minmax(0, 1fr); } }

/* Gallery layout: main image dictates the height (via aspect-ratio).
   Thumb strip is absolutely positioned in the left gutter so its
   38-thumb natural height doesn't stretch the row. */
.listing-gallery { position: relative; }
.listing-gallery.has-thumbs {
  padding-left: 92px;   /* space for the absolute thumb strip */
}
@media (max-width: 720px) {
  .listing-gallery.has-thumbs { padding-left: 0; padding-bottom: 8px; }
}

/* Main image. Theme-neutral light gray backdrop so studio-white product shots
   and outdoor-yard photos both sit cleanly inside the same frame. A subtle
   inset shadow defines the photo edge regardless of what's behind it. */
.gallery-main {
  position: relative;
  background: var(--bg-1);           /* fixed neutral — same in light + dark */
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: zoom-in;
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 6px; transition: transform var(--t-med); }
.gallery-main:hover img { transform: scale(1.015); }
.gallery-main.no-images { display: flex; align-items: center; justify-content: center; min-height: 320px; cursor: default; }
.gallery-main.no-images:hover img { transform: none; }
.gallery-main .img-placeholder.large {
  color: var(--text-mute); font-size: var(--fs-md); letter-spacing: 3px;
  background: repeating-linear-gradient(45deg, var(--bg-1), var(--bg-1) 14px, var(--bg-2) 14px, var(--bg-2) 28px);
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}

.status-overlay {
  position: absolute; top: 16px; right: 16px;
  font-size: var(--fs-lg); font-weight: 900; letter-spacing: 5px;
  padding: 6px 14px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  pointer-events: none;
}
.status-overlay.sold { background: var(--danger); color: #fff; }
.status-overlay.pending { background: var(--warn); color: var(--on-warn); }
.status-overlay.in-transit { background: var(--info); color: #fff; letter-spacing: 3px; font-size: var(--fs-md); }

.gallery-counter {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(0,0,0,0.55); color: #fff;
  padding: 4px 10px; border-radius: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  pointer-events: none;
}
/* Prev/next photo arrows on the main gallery (separate from lightbox). */
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,0.45); color: #fff; border: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-xl); line-height: 1; cursor: pointer;
  opacity: 0.85; transition: opacity .15s, background-color .15s;
}
.gallery-nav:hover { opacity: 1; background: var(--brand); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
@media (max-width: 720px) {
  .gallery-nav { width: 36px; height: 36px; font-size: 24px; }
}
.gallery-zoom {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.55); color: #fff;
  border: 0; padding: 6px 10px; border-radius: var(--radius-sm);
  font-size: 16px; cursor: pointer; line-height: 1;
  transition: background-color var(--t-fast);
}
.gallery-zoom:hover { background: var(--brand); }

/* Vertical thumb strip — absolute-positioned in the left gutter so it
   inherits the gallery's height (= main image height) without inflating it. */
.gallery-thumbs {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 80px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  scroll-behavior: smooth;
  padding-right: 4px;
}
.gallery-thumbs::-webkit-scrollbar { width: 6px; }
.gallery-thumbs::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: var(--radius-sm); }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: var(--radius-sm); }
.gallery-thumbs::-webkit-scrollbar-thumb:hover { background: var(--brand); }
@media (max-width: 720px) {
  .gallery-thumbs {
    position: static;
    flex-direction: row;
    width: auto;
    max-height: 80px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 4px;
    margin-top: 8px;
  }
}

.thumb {
  flex: 0 0 auto;
  width: 100%;              /* fill the strip width — no horizontal squish */
  aspect-ratio: 3 / 2;      /* matches the source camera ratio so no cropping */
  padding: 0;
  border: 1px solid var(--border);
  background: var(--bg-1);      /* matches main gallery backdrop */
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  opacity: 0.55;
  transition: opacity .15s ease, transform .15s ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) {
  /* Horizontal mobile strip: fixed width + height, ignore the 100% above.
     Bumped to 72px tall so the tap target clears WCAG's 44px minimum with
     padding around the thumb. */
  .thumb { width: 96px; height: 72px; aspect-ratio: auto; }
}
.thumb:hover { opacity: 1; }
.thumb.is-active { opacity: 1; }
.thumb.is-active::after {
  content: ''; position: absolute; left: 0; top: 0; right: 0; bottom: 0;
  border: 2px solid var(--brand); border-radius: var(--radius-sm);
  pointer-events: none;
}

/* Lightbox / fullscreen viewer with bottom thumbnail strip */
.gallery-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.94);
  display: flex; flex-direction: column;
  padding: 40px 60px 16px;
}
.gallery-lightbox[hidden] { display: none; }
@media (max-width: 720px) {
  .gallery-lightbox { padding: 16px 12px 12px; }
}

.gallery-lightbox .lb-stage {
  flex: 1; min-height: 0;     /* important: lets image shrink so thumb strip stays visible */
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-out;
}
.gallery-lightbox .lb-img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  cursor: default;
}
.gallery-lightbox .lb-close,
.gallery-lightbox .lb-nav {
  position: absolute; background: rgba(255,255,255,0.08); color: #fff;
  border: 0; cursor: pointer; font-size: var(--fs-xl);
  width: 48px; height: 48px; border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  transition: background-color var(--t-fast);
  z-index: 2;
}
.gallery-lightbox .lb-close { top: 20px; right: 20px; font-size: 24px; }
.gallery-lightbox .lb-prev { left: 20px; top: calc(50% - 60px); transform: translateY(-50%); }
.gallery-lightbox .lb-next { right: 20px; top: calc(50% - 60px); transform: translateY(-50%); }
.gallery-lightbox .lb-close:hover,
.gallery-lightbox .lb-nav:hover { background: var(--brand); }
.gallery-lightbox .lb-counter {
  position: absolute; top: 28px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.6); color: #fff;
  padding: 6px 14px; border-radius: 16px; font-size: var(--fs-sm);
  pointer-events: none;
}

/* Lightbox bottom thumbnail strip — horizontal scroll, click to navigate */
.gallery-lightbox .lb-thumbs {
  display: flex; gap: 6px; flex-shrink: 0;
  margin-top: 12px;
  overflow-x: auto; overflow-y: hidden;
  padding: 4px 4px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.gallery-lightbox .lb-thumbs::-webkit-scrollbar { height: 6px; }
.gallery-lightbox .lb-thumbs::-webkit-scrollbar-track { background: transparent; }
.gallery-lightbox .lb-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: var(--radius-sm); }
.gallery-lightbox .lb-thumb {
  flex: 0 0 auto;
  width: 96px; aspect-ratio: 3 / 2;   /* matches source so cover-crop is minimal */
  padding: 0; border: 0; background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm); overflow: hidden;
  cursor: pointer; opacity: 0.5;
  transition: opacity .15s, transform .15s;
  position: relative;
}
.gallery-lightbox .lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-lightbox .lb-thumb:hover { opacity: 0.85; }
.gallery-lightbox .lb-thumb.is-active { opacity: 1; transform: scale(1.04); }
.gallery-lightbox .lb-thumb.is-active::after {
  content: ''; position: absolute; inset: 0;
  border: 2px solid var(--brand); border-radius: var(--radius-sm); pointer-events: none;
}
@media (max-width: 720px) {
  .gallery-lightbox { padding: 20px 12px 12px; }
  .gallery-lightbox .lb-thumb { width: 64px; aspect-ratio: 3 / 2; }
  .gallery-lightbox .lb-prev, .gallery-lightbox .lb-next { top: calc(50% - 50px); }
}

.listing-summary {
  background: var(--bg-2); border-radius: var(--radius);
  padding: 24px; align-self: start;
}
.listing-summary h1 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 12px; }
.listing-summary .lead { font-size: var(--fs-base); margin-bottom: 16px; color: var(--text-dim); }
.price-block { background: var(--bg-2); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
.price-large { font-size: var(--fs-xl); font-weight: 800; color: var(--brand); }
.sold-banner { background: var(--danger); color: #fff; padding: 8px 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: var(--fs-sm); margin-bottom: 12px; border-radius: var(--radius-sm); }
.in-transit-banner { background: rgba(31,111,235,.1); border-left: 3px solid var(--info); color: var(--text); padding: 10px 14px; font-size: var(--fs-sm); margin-bottom: 12px; border-radius: var(--radius-sm); }
.in-transit-banner strong { color: var(--info); }

.quick-specs { display: grid; grid-template-columns: 1fr 2fr; gap: 4px 12px; font-size: 14px; margin-bottom: 20px; }
.quick-specs dt { color: var(--text-dim); }
.quick-specs dd { margin: 0; color: var(--text); font-weight: 600; }

.listing-summary .btn { margin-bottom: 8px; }

/* Inside the unified card, sections are separated by a top border instead of
   each being its own elevated card. Cleaner reading flow. */
.listing-description, .listing-specs, .listing-inquire, .listing-docs {
  margin: 32px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.listing-description h2,
.listing-specs h2,
.listing-inquire h2,
.listing-docs h2 {
  margin: 0 0 16px;
}
.listing-doc-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.listing-doc-list li a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none; color: var(--text);
  transition: border-color .12s ease, transform .12s ease;
}
.listing-doc-list li a:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}
.listing-doc-list .doc-ico { font-size: 22px; line-height: 1; flex-shrink: 0; }
.listing-doc-list .doc-title {
  flex: 1; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.listing-doc-list .doc-size {
  font-size: 12px; color: var(--text-dim); white-space: nowrap;
}
.prose {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  max-width: 72ch;          /* readable line length */
}
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose strong { color: var(--text); }
.prose h2, .prose h3 {
  margin: 2em 0 .6em;
  font-weight: 700; color: var(--text);
}
.prose h2 { font-size: var(--fs-lg); }
.prose h3 { font-size: 17px; }
.prose h3:first-of-type { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul li, .prose ol li { margin-bottom: .4em; }
.prose code { background: var(--bg-1); padding: 1px 6px; border-radius: var(--radius-sm); font-size: .9em; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.prose .legal-callout {
  background: var(--bg-1); border-left: 3px solid var(--brand);
  padding: 14px 18px; margin: 1.5em 0;
  font-size: 14px;
}
.prose .legal-foot {
  margin-top: 2em; padding-top: 1.5em; border-top: 1px solid var(--border);
  font-size: var(--fs-sm); color: var(--text-dim);
}

.full-specs {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0;
  font-size: 14px;
  background: var(--bg-2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.full-specs dt, .full-specs dd {
  padding: 11px 18px;
  margin: 0;
  border-bottom: 1px solid var(--border);
}
.full-specs dt {
  background: var(--bg-3);
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-size: var(--fs-xs);
  border-right: 2px solid rgba(var(--brand-rgb),.4);
}
.full-specs dd {
  background: var(--bg-1);
  color: var(--text);
  font-weight: 500;
}
/* Subtle striping — every odd row darkens slightly for scannability */
.full-specs > dt:nth-of-type(odd),
.full-specs > dt:nth-of-type(odd) + dd {
  filter: brightness(1.06);
}
/* Last row: drop bottom border for a clean edge */
.full-specs > dt:last-of-type,
.full-specs > dd:last-of-type { border-bottom: none; }
@media (max-width: 480px) {
  .full-specs { grid-template-columns: 1fr; }
  .full-specs dt { padding-bottom: 4px; border-right: 0; border-left: 2px solid rgba(var(--brand-rgb),.4); }
  .full-specs dd { padding-top: 4px; padding-bottom: 14px; }
}

/* ── Inquiry form ──────────────────────────────────────────────────── */
/* Card-style wrapper for the contact-page inquire form. Gives the form a
   tangible "this is where you reach us" feel instead of floating on the page. */
.contact-card {
  /* --bg-2 instead of --bg-1 so the card has clear separation from the page
     in BOTH themes. In dark mode --bg-1 sits ~10 brightness apart from the
     body --bg-0; --bg-2 is 30+ apart and reads as a distinct surface. */
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.04);
}
.contact-card h3 { margin: 0 0 6px; font-size: var(--fs-lg); }
.contact-card-lead { color: var(--text-dim); margin: 0 0 22px; font-size: 14px; }
.contact-card-foot { font-size: 12px; margin-top: 10px; }
@media (max-width: 720px) { .contact-card { padding: 20px; } }

/* Info variant: repeating section headings (Call/Email/Address/Hours) read
   as sub-heads, not page titles. Tighter rhythm than the form card. */
.contact-card-info h3 {
  font-size: var(--fs-sm); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px;
  color: var(--text-dim);
  margin: 0 0 4px;
}
.contact-card-info h3:not(:first-child) { margin-top: 22px; }
.contact-card-info p { margin: 0; }
.contact-card-info .big-link { font-size: 20px; }
.contact-card-info .contact-map { margin-top: 10px; margin-bottom: 0; }

.inquire-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 16px; max-width: 720px; }
@media (max-width: 600px) { .inquire-form { grid-template-columns: minmax(0, 1fr); } }
.inquire-form label { display: flex; flex-direction: column; font-size: 12px; font-weight: 600; letter-spacing: 0.3px; color: var(--text); gap: 6px; }
.inquire-form input, .inquire-form textarea {
  background: var(--bg-0); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 11px 14px; font-size: var(--fs-base); font-family: inherit; margin-top: 0;
}
.inquire-form input:focus, .inquire-form textarea:focus { border-color: var(--brand); outline: 2px solid rgba(var(--brand-rgb),.25); outline-offset: 0; }
.inquire-form .full { grid-column: 1 / -1; }
.inquire-form .opt { font-weight: 400; color: var(--text-mute); letter-spacing: normal; text-transform: none; }
.inquire-form .hpot { position: absolute; left: -9999px; }
.inquire-thanks { background: var(--bg-1); border: 1px solid var(--good); border-left-width: 4px; padding: 16px 20px; border-radius: var(--radius); }
.inquire-error {
  background: rgba(217,48,37,.08); border: 1px solid var(--danger); border-left-width: 4px;
  padding: 12px 16px; border-radius: var(--radius); color: var(--danger);
  font-size: 14px; margin-top: 8px;
}
/* Touch-friendly inputs on mobile (≥44px tall). */
@media (max-width: 720px) {
  .inquire-form input, .inquire-form textarea { min-height: 44px; font-size: 16px; }
  .inquire-form button[type=submit] { min-height: 48px; font-size: 16px; }
}

/* ── Search bar ────────────────────────────────────────────────────── */
.search-bar { display: flex; gap: 8px; max-width: 540px; }
.search-bar input { flex: 1; padding: 12px 14px; font-size: var(--fs-base); background: var(--bg-1); border: 1px solid var(--border); color: var(--text); border-radius: var(--radius); font-family: inherit; }
.search-bar input:focus { border-color: var(--brand); outline: 2px solid rgba(var(--brand-rgb),.25); outline-offset: 0; }

/* ── Pager ─────────────────────────────────────────────────────────── */
.pager { display: flex; gap: 6px; margin: 32px 0; flex-wrap: wrap; justify-content: center; }
.pager-page { padding: 8px 14px; background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--text); font-weight: 600; }
.pager-page:hover { border-color: var(--brand); background: var(--bg-3); text-decoration: none; }
.pager-page.is-current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ── Contact ───────────────────────────────────────────────────────── */
.contact-block { padding: 48px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.big-link { font-size: var(--fs-lg); font-weight: 700; }
.sourcing-cta-box {
  margin-top: 24px; padding: 20px 24px;
  background: var(--bg-1); border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-lg);
}
.sourcing-cta-box strong { display: block; font-size: 16px; margin-bottom: 6px; }
.sourcing-cta-box p { margin: 0 0 12px; font-size: 14px; color: var(--text-dim); }
.sourcing-cta-link {
  background: transparent; border: 1px solid var(--brand);
  color: var(--brand); cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600;
  padding: 8px 16px; border-radius: var(--radius);
}
.sourcing-cta-link:hover { background: var(--brand); color: #fff; }

.stock-status { font-weight: 600; }
.stock-sold { color: var(--danger); }
.stock-low  { color: var(--warn); }

.contact-map {
  margin-top: 16px; margin-bottom: 32px;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; line-height: 0;
}
.contact-map iframe { display: block; border: 0; }
/* Static legal pages (Privacy, EULA) use a narrower text column for read-
   ability. Was previously inline style="max-width:780px". */
.legal-page { max-width: 780px; }
/* Listing page sub-meta line ("Hours: 8 — Condition: New" beneath title). */
.listing-meta-signals { font-size: 12px; margin: 8px 0 12px; }
/* Home page lede directly under the hero — sits tighter than default p. */
.home-featured-lede { margin-top: -4px; margin-bottom: 16px; }
/* Login-page forgot-password helper row. */
.login-forgot-row { text-align: center; margin-top: 14px; font-size: 12px; color: var(--text-dim); }
.login-forgot-row a { color: var(--brand); text-decoration: none; }
.login-forgot-row a:hover { text-decoration: underline; }
/* /qb_callback success / failure layout. */
.qb-cb-wrap { text-align: center; padding: 80px 24px; }
.qb-cb-success h1 { color: var(--good); }
.qb-cb-fail h1 { color: var(--danger); }
/* Trailers page CTA paragraph spacing. */
.trailers-cta-p { margin-top: 20px; }
/* Footer "View on Google Maps" SVG pin alignment. */
.footer-map-thumb svg { vertical-align: -2px; margin-right: 4px; }

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer { background: var(--bg-1); border-top: 1px solid var(--border); margin-top: 48px; padding: 48px 0 16px; color: var(--text-dim); }
.footer-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
@media (max-width: 720px) { .footer-row { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--text); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--brand); }
.tagline { color: var(--text-mute); font-style: italic; margin-top: 12px; }
.footer-map {
  display: inline-block; line-height: 1.45;
  border-bottom: 1px dashed var(--text-mute);
  padding-bottom: 1px; transition: color .15s, border-color .15s;
}
.footer-map:hover { color: var(--brand); border-bottom-color: var(--brand); text-decoration: none; }
.footer-map-icon { font-size: var(--fs-xs); opacity: .7; }
.footer-map-thumb {
  display: inline-block; margin-top: 12px;
  background: var(--brand); border: 1px solid var(--brand);
  color: #fff; padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 600;
  transition: background-color .15s, border-color .15s;
}
.footer-map-thumb:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; text-decoration: none; }
/* Trailer Source service grid (on /trailers) */
/* Unit # on public listing pages — easy to read over the phone. */
.unit-number {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: var(--fs-sm); font-weight: 600;
  padding: 2px 8px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--border);
  letter-spacing: 0.5px;
}

.trailer-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.trailer-service {
  background: var(--bg-0); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 14px 16px;
}
.trailer-service h4 { margin: 0 0 4px; font-size: 14px; color: var(--brand); }
.trailer-service p { margin: 0; font-size: var(--fs-sm); color: var(--text-dim); line-height: 1.5; }

.footer-meta { display: flex; justify-content: space-between; padding-top: 16px; flex-wrap: wrap; gap: 8px; align-items: center; }
.footer-meta a { color: var(--text-mute); }
.footer-meta a:hover { color: var(--brand); }
.footer-theme-toggle {
  background: transparent; border: 0; color: var(--text-mute);
  font: inherit; font-size: inherit; cursor: pointer; padding: 2px 6px;
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-theme-toggle:hover { color: var(--brand); }
/* Monochrome theme-toggle icon via CSS mask. We can't use the 🌙/☀️ emoji
   because both are rendered as color emoji on macOS / iOS / Windows and
   ignore CSS color — so they stay yellow/blue regardless of theme. The
   mask SVG flips automatically based on the current data-theme. */
.theme-toggle-icon {
  display: inline-block;
  width: 14px; height: 14px;
  background-color: currentColor;
  -webkit-mask: var(--theme-icon-mask) no-repeat center / contain;
          mask: var(--theme-icon-mask) no-repeat center / contain;
}
:root, html[data-theme="light"] {
  /* When light is the current theme, the toggle shows a MOON (suggesting
     'switch to dark'). Crescent moon path. */
  --theme-icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8 1a7 7 0 1 0 6.95 7.86A5.5 5.5 0 0 1 8 1z'/></svg>");
}
html[data-theme="dark"] {
  /* When dark is current, show a SUN (suggesting 'switch to light'). */
  --theme-icon-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='3.2'/><g stroke='black' stroke-width='1.4' stroke-linecap='round'><line x1='8' y1='1' x2='8' y2='2.8'/><line x1='8' y1='13.2' x2='8' y2='15'/><line x1='1' y1='8' x2='2.8' y2='8'/><line x1='13.2' y1='8' x2='15' y2='8'/><line x1='3' y1='3' x2='4.3' y2='4.3'/><line x1='11.7' y1='11.7' x2='13' y2='13'/><line x1='3' y1='13' x2='4.3' y2='11.7'/><line x1='11.7' y1='4.3' x2='13' y2='3'/></g></svg>");
}
