/* ============================================================
   CHARNO CONSTRUCTION — Blueprint theme
   Space Grotesk (display) + Inter (body)
   Breakpoints: 1024 / 900 / 600
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #14161A;
  --bg-alt: #1B1E24;
  --card: #22262E;
  --ink: #F2F4F7;
  --muted: #98A0AC;
  --accent: #2E7DF2;
  --accent-hover: #4D93FF;
  --border: rgba(255, 255, 255, 0.08);
  --border-lt: rgba(255, 255, 255, 0.04);
  --glass: rgba(20, 22, 26, 0.85);
  --grid-line: rgba(142, 178, 255, 0.05);

  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --head: "Space Grotesk", "Inter", sans-serif;

  --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.45);

  --radius: 6px;
  --maxw: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.section { padding-block: clamp(4rem, 8vw, 6.5rem); position: relative; }
.section-alt { background: var(--bg-alt); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 10px 18px;
  border-radius: 0 0 6px 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Section tag (blueprint) ---------- */
.section-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--head); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.section-tag::before {
  content: ""; display: block; width: 28px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.section-tag .coord { color: var(--accent); }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff;
  font-family: var(--head); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 14px 28px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.btn:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--ink);
  border: 1px solid var(--border); font-family: var(--head);
  font-weight: 600; font-size: 1rem; padding: 14px 28px;
  border-radius: var(--radius); cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-outline:active { transform: translateY(0); }

.btn-block { display: flex; justify-content: center; }

/* ---------- Blueprint grid background ---------- */
.blueprint-grid {
  position: relative;
  background-image:
    repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 44px);
}
.blueprint-grid::after {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 70% 10%, rgba(46, 125, 242, 0.07), transparent 60%);
}

/* Crosshair marker */
.crosshair { position: relative; width: 20px; height: 20px; }
.crosshair::before,
.crosshair::after {
  content: ""; position: absolute; background: var(--accent); opacity: 0.55;
}
.crosshair::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.crosshair::after { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-50%); }
.crosshair i {
  position: absolute; left: 50%; top: 50%; width: 4px; height: 4px;
  transform: translate(-50%, -50%); background: var(--accent); border-radius: 50%;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-bottom: 1px dashed var(--border);
}
.site-header::after {
  content: ""; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 1px; background: var(--border-lt);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 42px; width: auto; }
.logo-text { font-family: var(--head); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em; }
.logo-text small { display: block; font-size: 0.62rem; color: var(--muted); letter-spacing: 0.28em; text-transform: uppercase; font-weight: 500; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  color: var(--ink); font-family: var(--head); font-weight: 500; font-size: 0.95rem;
  padding: 8px 14px; border-radius: var(--radius); position: relative;
  transition: color 0.25s ease;
}
.site-nav a:hover { color: var(--accent); }
.site-nav a.is-active { color: var(--accent); }
.site-nav a.is-active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1px; background: var(--accent);
}
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 10px 20px; font-size: 0.9rem; }

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer;
}
.burger span { display: block; height: 2px; width: 100%; background: var(--ink); transition: transform 0.3s ease, opacity 0.3s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(4.5rem, 10vw, 8rem); overflow: hidden; }
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 760px; }

/* Full-bleed completed-home background with blueprint grid + dark overlay */
.hero.hero-home {
  background-image:
    repeating-linear-gradient(0deg, var(--grid-line) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(90deg, var(--grid-line) 0 1px, transparent 1px 44px),
    linear-gradient(100deg, rgba(13, 15, 18, 0.9) 0%, rgba(13, 15, 18, 0.75) 45%, rgba(13, 15, 18, 0.55) 100%),
    url("../images/hero-home.jpg");
  background-size: auto, auto, cover, cover;
  background-repeat: repeat, repeat, no-repeat, no-repeat;
  background-position: center;
}
.hero.hero-home::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 80% at 70% 10%, rgba(46, 125, 242, 0.12), transparent 60%);
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 22px;
}
.hero-tag::before { content: ""; width: 26px; height: 1px; background: var(--accent); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 20px; }
.hero h1 .accent { color: var(--accent); }
.hero-lead { color: var(--muted); font-size: 1.12rem; max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 18px; margin-top: 30px; font-family: var(--head); font-size: 0.85rem; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: "+"; color: var(--accent); }

/* Stat strip */
.stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-top: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.stat { background: rgba(20, 22, 26, 0.62); backdrop-filter: blur(8px); padding: 26px 22px; }
.stat b { display: block; font-family: var(--head); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--accent); }
.stat span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(46, 125, 242, 0.35); }
.card-title { font-size: 1.2rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.card-title .num { font-size: 0.75rem; color: var(--accent); letter-spacing: 0.1em; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* crop-mark corner ticks on cards */
.card::before, .card::after {
  content: ""; position: absolute; width: 10px; height: 10px; border: 1px solid var(--accent); opacity: 0.25; pointer-events: none;
}
.card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ---------- Service cards ---------- */
.service-icon {
  width: 46px; height: 46px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: rgba(46, 125, 242, 0.12); border: 1px solid rgba(46, 125, 242, 0.25);
  color: var(--accent); margin-bottom: 16px;
}
.service-icon svg { width: 22px; height: 22px; }

/* ---------- Project cards ---------- */
.project-card { padding: 0; overflow: hidden; background: var(--bg-alt); }
.project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.project-card:hover img { transform: scale(1.05); }
.project-card .project-info { padding: 16px 20px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.project-card .project-info b { font-family: var(--head); font-size: 1rem; }
.project-card .project-info span { color: var(--accent); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--head); }

/* ---------- Why / value ---------- */
.value-item { display: flex; gap: 16px; }
.value-icon { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: var(--radius); background: rgba(46,125,242,0.12); border: 1px solid rgba(46,125,242,0.25); color: var(--accent); }
.value-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.value-item p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Testimonial cards ---------- */
.quote-mark { color: var(--accent); font-family: var(--head); font-size: 2.4rem; line-height: 0; display: block; margin-bottom: 14px; }
.testimonial-card p { color: var(--ink); font-size: 0.98rem; margin-bottom: 18px; }
.testimonial-card .who { display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(46,125,242,0.15); border: 1px solid rgba(46,125,242,0.3);
  color: var(--accent); font-family: var(--head); font-weight: 700; font-size: 0.95rem;
}
.testimonial-card .who b { font-family: var(--head); font-size: 0.95rem; display: block; }
.testimonial-card .who span { color: var(--muted); font-size: 0.82rem; }
.stars { color: #FFB93D; letter-spacing: 2px; font-size: 0.85rem; }

/* ---------- Service keyword strip ---------- */
.kw-strip {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.kw {
  font-family: var(--head); font-size: 0.85rem; letter-spacing: 0.06em;
  color: var(--muted); padding: 8px 16px;
  border: 1px dashed var(--border); border-radius: 100px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--bg-alt); border-block: 1px dashed var(--border);
}
.cta-band .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 8px; }
.cta-band p { color: var(--muted); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding-block: clamp(3.5rem, 8vw, 6rem); border-bottom: 1px dashed var(--border); }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.page-hero p { color: var(--muted); max-width: 620px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before {
  content: ""; position: absolute; left: -26px; top: 6px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item .year { color: var(--accent); font-family: var(--head); font-weight: 700; letter-spacing: 0.04em; }
.timeline-item h3 { font-size: 1.1rem; margin: 4px 0 6px; }
.timeline-item p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.filter-btn {
  font-family: var(--head); font-size: 0.88rem; letter-spacing: 0.05em;
  color: var(--muted); padding: 9px 18px; cursor: pointer;
  background: transparent; border: 1px solid var(--border); border-radius: 100px;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.filter-btn:hover { color: var(--ink); border-color: var(--accent); }
.filter-btn.is-active { color: #fff; background: var(--accent); border-color: var(--accent); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); cursor: zoom-in; background: var(--bg-alt); }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.is-hidden { display: none; }
.gallery-item .g-tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  background: rgba(20, 22, 26, 0.8); border: 1px solid var(--border);
  color: var(--ink); font-family: var(--head); font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: center; justify-content: center;
  background: rgba(10, 11, 13, 0.92); backdrop-filter: blur(6px);
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; border-radius: var(--radius); border: 1px solid var(--border); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  color: var(--ink); width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.3rem; cursor: pointer; display: grid; place-items: center;
  transition: background 0.25s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--accent); border-color: var(--accent); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: var(--muted); font-family: var(--head); letter-spacing: 0.1em; font-size: 0.85rem; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.contact-method { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-alt); margin-bottom: 14px; transition: border-color 0.3s ease; }
.contact-method:hover { border-color: rgba(46,125,242,0.4); }
.contact-method .c-icon { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius); background: rgba(46,125,242,0.12); color: var(--accent); }
.contact-method b { display: block; font-family: var(--head); margin-bottom: 4px; }
.contact-method a { color: var(--ink); }
.contact-method a:hover { color: var(--accent); }

.form-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--head); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.05em; margin-bottom: 8px; color: var(--ink); }
.field label span { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--body); font-size: 0.95rem;
  transition: border-color 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 120px; }
.field ::placeholder { color: rgba(152, 160, 172, 0.6); }
.form-note { color: var(--muted); font-size: 0.85rem; margin-top: 12px; }
.form-success { display: none; padding: 18px; border: 1px solid rgba(46, 200, 90, 0.4); background: rgba(46, 200, 90, 0.1); color: #7ee2a5; border-radius: var(--radius); margin-bottom: 18px; font-size: 0.95rem; }
.form-success.show { display: block; }
.form-error { display: none; padding: 18px; border: 1px solid rgba(255, 90, 90, 0.4); background: rgba(255, 90, 90, 0.1); color: #ff9d9d; border-radius: var(--radius); margin-bottom: 18px; font-size: 0.95rem; }
.form-error.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px dashed var(--border); padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.footer-grid h4 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { color: var(--ink); font-size: 0.95rem; transition: color 0.25s ease; }
.footer-grid ul a:hover { color: var(--accent); }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin: 14px 0 18px; max-width: 300px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding-block: 20px; border-top: 1px solid var(--border-lt);
  color: var(--muted); font-size: 0.82rem;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .burger { display: flex; }
  .site-nav {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--glass); backdrop-filter: blur(12px);
    border-bottom: 1px dashed var(--border);
    padding: 16px 24px 22px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 1rem; }
  .site-nav a.is-active::after { display: none; }
  .nav-cta { margin: 8px 0 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
