:root {
  --bg: #12100e;
  --bg-soft: #181512;
  --panel: #1e1a16;
  --line: rgba(232,214,180,0.12);
  --text: #f3ece1;
  --muted: #b3a796;
  --accent: #c9a45c;
  --accent-soft: #e0c48a;
  --glow: rgba(201,164,92,0.14);
  --glow-strong: rgba(201,164,92,0.24);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Ambient red vignette, like glow from hot metal off-screen */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 110% 105%, rgba(201,164,92,0.07), transparent 60%),
    radial-gradient(800px 420px at -10% -5%, rgba(201,164,92,0.05), transparent 60%);
}

h1, h2, h3, .wordmark, .hero-word {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 0 14px var(--glow);
}

/* ---------- Spark canvas + scroll progress ---------- */
#sparkCanvas {
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  mix-blend-mode: screen;
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  z-index: 260;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  box-shadow: 0 0 12px var(--glow-strong), 0 0 30px var(--glow);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(.16,.8,.24,1), transform 0.9s cubic-bezier(.16,.8,.24,1);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 26px 0;
  transition: padding 0.4s ease, background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 16px 0;
  background: rgba(18,16,14,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201,164,92,0.18);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.wordmark { font-size: 21px; font-weight: 500; }
.wordmark span {
  color: var(--accent);
  text-shadow: 0 0 10px var(--glow-strong);
  animation: dotPulse 2.6s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { text-shadow: 0 0 8px var(--glow); }
  50% { text-shadow: 0 0 18px var(--glow-strong), 0 0 34px var(--glow); }
}

.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s, text-shadow 0.2s;
}
.nav-links a:hover { color: var(--text); text-shadow: 0 0 12px var(--glow); }

.nav-quote {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 100px;
  box-shadow: 0 0 16px var(--glow);
  transition: box-shadow 0.25s, background 0.2s;
  white-space: nowrap;
}
.nav-quote:hover { background: #d8b66e; box-shadow: 0 0 26px var(--glow-strong); }

.menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 2.2s ease, transform 8s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }

.hero-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 50% 110%, rgba(201,164,92,0.16), transparent 60%),
    linear-gradient(180deg, rgba(18,16,14,0.55) 0%, rgba(18,16,14,0.25) 35%, rgba(18,16,14,0.65) 78%, rgba(18,16,14,0.95) 100%);
}

.hero-content { position: relative; z-index: 1; text-align: center; padding: 0 24px; }
.hero-eyebrow {
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 18px;
  text-shadow: 0 0 16px var(--glow);
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}
.hero-word {
  font-size: clamp(52px, 11vw, 130px);
  font-style: italic;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 0 24px rgba(201,164,92,0.35), 0 0 90px rgba(201,164,92,0.25);
  opacity: 0;
  animation: fadeUp 1.1s ease 0.5s forwards;
}
.hero-word span {
  color: var(--accent);
  text-shadow: 0 0 18px var(--glow-strong), 0 0 70px var(--glow);
}
.hero-word.flick { opacity: 0.82; text-shadow: 0 0 8px rgba(201,164,92,0.2); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 30px; height: 46px;
  border: 1.5px solid rgba(255,107,122,0.55);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  box-shadow: 0 0 14px rgba(201,164,92,0.25), inset 0 0 8px rgba(201,164,92,0.12);
  opacity: 0;
  animation: fadeUp 1s ease 1s forwards;
}
.scroll-cue span {
  width: 4px; height: 8px;
  background: var(--accent-soft);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--glow-strong);
  animation: scrollDot 1.8s ease infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* ---------- Section shared ---------- */
section { position: relative; padding: 130px 0; z-index: 1; }

.section-head { max-width: 620px; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(34px, 4.5vw, 52px); margin-top: 12px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 17px; }

/* ---------- Showcase / Product grid ---------- */
.showcase { background: var(--bg); }

.filter-row { display: flex; gap: 10px; margin-bottom: 44px; flex-wrap: wrap; }
.filter-btn {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 13.5px;
  transition: all 0.25s;
}
.filter-btn:hover {
  border-color: var(--accent-soft);
  color: var(--text);
  box-shadow: 0 0 14px rgba(201,164,92,0.2);
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 0 18px var(--glow);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
}

.product-card { cursor: pointer; }

.product-media {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--panel);
  border-radius: 6px;
  position: relative;
  border: 1px solid transparent;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(.16,.8,.24,1);
}
.product-card:hover .product-media {
  border-color: rgba(201,164,92,0.4);
  box-shadow: 0 14px 44px rgba(201,164,92,0.18), 0 0 24px rgba(201,164,92,0.12);
}
.product-card:hover .product-media img { transform: scale(1.07); }

/* cursor-following sheen */
.product-media::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,120,120,0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.product-card:hover .product-media::before { opacity: 1; }

.product-media::after {
  content: "View";
  position: absolute; inset: 0;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
  background: rgba(18,16,14,0);
  color: #fff;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 14px var(--glow-strong);
  opacity: 0;
  transition: opacity 0.35s ease, background 0.35s ease;
}
.product-card:hover .product-media::after {
  opacity: 1;
  background: rgba(18,16,14,0.28);
}

.product-info { padding: 16px 2px 0; }
.product-info h3 { font-size: 20px; font-weight: 500; transition: text-shadow 0.3s, color 0.3s; }
.product-card:hover .product-info h3 { text-shadow: 0 0 16px var(--glow); }
.product-info p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(6,6,8,0.97);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  display: flex;
  max-width: 1100px;
  width: 100%;
  max-height: 86vh;
  gap: 44px;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  animation: lightboxIn 0.45s cubic-bezier(.16,.8,.24,1) forwards;
}
@keyframes lightboxIn { to { opacity: 1; transform: none; } }

.lightbox-media { flex: 1.3; min-width: 0; }
.lightbox-media img {
  width: 100%; height: 100%; max-height: 86vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 60px rgba(201,164,92,0.16);
}

.lightbox-text { flex: 1; align-self: center; }
.lightbox-text h3 { font-size: 30px; margin: 10px 0 6px; }
.lightbox-material { color: var(--accent-soft); font-size: 14px; margin-bottom: 18px; text-shadow: 0 0 12px rgba(201,164,92,0.3); }
.lightbox-text p:last-child { color: var(--muted); font-size: 16px; line-height: 1.7; }

.lightbox-close {
  position: absolute; top: 28px; right: 32px;
  font-size: 32px; color: var(--text);
  background: none; border: none;
  transition: text-shadow 0.2s, color 0.2s;
}
.lightbox-close:hover { color: var(--accent-soft); text-shadow: 0 0 16px var(--glow-strong); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about-media {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 6px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.about-media:hover { border-color: rgba(201,164,92,0.35); box-shadow: 0 12px 44px rgba(201,164,92,0.14); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { color: var(--muted); margin-top: 18px; font-size: 17px; max-width: 480px; }
.about-text h2 { margin-top: 10px; }

/* ---------- Process ---------- */
.process { background: var(--bg-soft); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.process-item {
  padding: 40px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, box-shadow 0.3s;
  position: relative;
}
.process-item:hover {
  background: rgba(201,164,92,0.04);
  box-shadow: inset 0 0 40px rgba(201,164,92,0.05);
}
.process-item .num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--accent);
  font-size: 15px;
  text-shadow: 0 0 12px var(--glow);
}
.process-item h3 { font-size: 19px; margin: 14px 0 8px; font-weight: 500; }
.process-item p { color: var(--muted); font-size: 14.5px; }

.process-item.soon { position: relative; }
.process-item.soon h3, .process-item.soon p { opacity: 0.55; }
.soon-badge {
  display: inline-block;
  vertical-align: middle;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 100px;
  padding: 3px 10px;
  margin-left: 8px;
  box-shadow: 0 0 12px rgba(201,164,92,0.25), inset 0 0 8px rgba(201,164,92,0.1);
  opacity: 1;
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.testi-card { padding-right: 20px; }
.testi-card .quote-mark {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 0 18px var(--glow);
}
.testi-card p { font-size: 17px; margin-bottom: 16px; }
.testi-card .who { color: var(--muted); font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }

.contact-info p { color: var(--muted); margin: 16px 0 32px; max-width: 420px; }

.info-row { display: flex; gap: 16px; margin-bottom: 22px; }
.info-row .info-icon { color: var(--accent); font-size: 18px; margin-top: 2px; }
.info-row h3 { font-size: 14px; font-weight: 600; margin-bottom: 3px; }
.info-row p, .info-row a { color: var(--muted); font-size: 16px; }
.info-row a:hover { color: var(--accent-soft); text-shadow: 0 0 10px var(--glow); }

.social-row { display: flex; gap: 12px; margin-top: 20px; }
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}
.ig-badge {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  transition: all 0.2s;
}
.ig-handle { color: var(--muted); font-size: 15px; transition: all 0.2s; }
.ig-link:hover .ig-badge {
  border-color: var(--accent);
  color: var(--accent-soft);
  box-shadow: 0 0 16px rgba(201,164,92,0.3);
}
.ig-link:hover .ig-handle { color: var(--accent-soft); text-shadow: 0 0 10px var(--glow); }

form { display: flex; flex-direction: column; gap: 22px; }
.field label {
  display: block;
  font-size: 12.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  padding: 8px 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 8px 18px -12px var(--glow-strong);
}

.btn-submit {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 15px 34px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 20px var(--glow);
  transition: background 0.2s, transform 0.2s, box-shadow 0.25s;
}
.btn-submit:hover {
  background: #d8b66e;
  transform: translateY(-1px);
  box-shadow: 0 0 32px var(--glow-strong);
}

.form-note { font-size: 12.5px; color: var(--muted); opacity: 0.8; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}
footer .wordmark { display: inline-block; margin-bottom: 8px; font-size: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; gap: 32px; }
  .lightbox-inner { flex-direction: column; overflow-y: auto; max-height: 90vh; }
  .lightbox-media img { max-height: 50vh; }
}

@media (max-width: 640px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(18,16,14,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(201,164,92,0.2);
    padding: 24px 32px;
    gap: 20px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .menu-toggle { display: block; }
  .nav-quote { padding: 8px 14px; font-size: 12px; }
  .product-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  section { padding: 90px 0; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide {
  background-position: center; transition: opacity 0.5s ease; transform: none; }
  .wordmark span { animation: none; }
}


/* Portrait hero image for phones / tall screens */
@media (max-aspect-ratio: 1/1) {
  .hero-slide.active { background-image: url('images/hero-chain-m.jpg?v=1') !important; }
}


/* ---------- Added 2026-12-01: hero CTAs, form extras, mobile call bar ---------- */
.hero-cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-top: 30px;
  opacity: 0; animation: fadeUp 1s ease 0.8s forwards;
}
.hero-cta .btn-submit { align-self: auto; text-decoration: none; }
.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.5px;
  transition: border-color 0.2s, box-shadow 0.25s;
}
.btn-ghost:hover { border-color: var(--accent); box-shadow: 0 0 20px var(--glow); }
.field select {
  width: 100%;
  background: var(--bg-soft);
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  padding: 8px 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
}
.field select:focus { outline: none; border-color: var(--accent); }
.field input[type="file"] { border-bottom: none; font-size: 14px; color: var(--muted); }
.field input[type="file"]::file-selector-button {
  background: none; color: var(--text);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 8px 16px; margin-right: 12px; cursor: pointer;
}
footer a { color: var(--muted); }
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta {
    display: flex; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(18,16,14,0.94);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(8px);
  }
  .mobile-cta a {
    flex: 1; text-align: center;
    padding: 13px 0; border-radius: 100px;
    font-weight: 600; font-size: 15px;
  }
  .mobile-cta-call { border: 1px solid rgba(255,255,255,0.35); color: #fff; }
  .mobile-cta-quote { background: var(--accent); color: #fff; box-shadow: 0 0 16px var(--glow); }
  body { padding-bottom: 76px; }
}

/* Title above the eyebrow line */
.hero-word + .hero-eyebrow { margin-top: 18px; margin-bottom: 0; }


/* ---------- Warm gallery look (2026-12-01) ---------- */
.eyebrow, .hero-eyebrow, .product-info h3, .product-card:hover .product-info h3,
.lightbox-material, .nav-links a:hover, .wordmark span, .hero-word span,
.process-item .num, .testi-card .quote-mark, .info-row a:hover { text-shadow: none !important; }
.hero-word { color: var(--text); text-shadow: 0 2px 30px rgba(0,0,0,0.45); font-weight: 400; }
.hero-eyebrow { color: var(--accent-soft); letter-spacing: 5px; }
.nav-quote, .btn-submit, .filter-btn.active, .mobile-cta-quote {
  color: #15120f !important; box-shadow: none !important;
}
.nav-quote:hover, .btn-submit:hover { box-shadow: 0 6px 24px rgba(201,164,92,0.25) !important; }
.btn-ghost { border-color: rgba(243,236,225,0.4); color: var(--text); }
.product-card { border-color: var(--line); }
.product-card:hover { box-shadow: 0 18px 50px rgba(0,0,0,0.45) !important; }
.product-media::after { content: "View the piece"; color: var(--text); text-shadow: none; }
.scroll-progress { box-shadow: none; }
.lightbox-commission { display: inline-block; margin-top: 26px; text-decoration: none; }
.form-note { font-style: italic; }

/* Also from the shop */
.shop-extra { padding-top: 0; }
.shop-extra .section-head h2 { font-size: clamp(26px, 3.2vw, 36px); }
@media (min-width: 901px) {
  .shop-grid { grid-template-columns: repeat(4, 1fr); }
  .shop-grid .product-info h3 { font-size: 17px; }
}

/* Multi-photo pieces */
.lightbox-thumbs { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.lightbox-thumbs:empty { display: none; }
.lightbox-thumbs img {
  width: 64px; height: 64px; object-fit: cover; border-radius: 6px; cursor: pointer;
  opacity: 0.55; border: 1px solid var(--line); transition: opacity 0.2s, border-color 0.2s;
}
.lightbox-thumbs img.active, .lightbox-thumbs img:hover { opacity: 1; border-color: var(--accent); }
.lightbox-media { display: flex; flex-direction: column; }
.lightbox-media:has(.lightbox-thumbs img) #lightboxImg { max-height: calc(86vh - 80px); min-height: 0; }
@media (max-width: 900px) {
  .lightbox-media:has(.lightbox-thumbs img) #lightboxImg { max-height: calc(50vh - 70px); }
}

/* Thumbs with video support */
.lightbox-thumbs .thumb { position: relative; display: inline-block; cursor: pointer; }
.lightbox-thumbs .thumb img { opacity: 0.55; }
.lightbox-thumbs .thumb.active img, .lightbox-thumbs .thumb:hover img { opacity: 1; border-color: var(--accent); }
.lightbox-thumbs .thumb.is-video::after {
  content: "\25B6"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; text-shadow: 0 1px 6px rgba(0,0,0,0.8); pointer-events: none;
}
#lightboxVideo { width: 100%; max-height: calc(86vh - 80px); object-fit: contain; border-radius: 4px; background: #000; }
@media (max-width: 900px) { #lightboxVideo { max-height: calc(50vh - 70px); } }
.lightbox-media:has(.lightbox-thumbs .thumb) #lightboxImg { max-height: calc(86vh - 80px); }
