:root {
  --bg: #0e0e0f;
  --bg-alt: #141517;
  --surface: #1b1c1f;
  --surface-2: #232428;
  --border: #2c2d32;
  --text: #f3f3f4;
  --muted: #a6a7ad;
  --orange: #f26a1b;
  --orange-hi: #ff8240;
  --orange-soft: rgba(242, 106, 27, 0.12);
  --radius: 14px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;
}

*, *::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; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
b { font-weight: 600; color: var(--text); }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--orange); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-weight: 600; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: .9em;
}
.eyebrow svg { width: 18px; height: 18px; }
.hl { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 10px; border: 2px solid transparent;
  font-family: var(--head); font-weight: 700; font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--orange); color: #111; }
.btn--primary:hover { background: var(--orange-hi); transform: translateY(-1px); }
.btn--ghost { border-color: var(--border); color: var(--text); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--lg { padding: 15px 26px; font-size: 1.2rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(14,14,15,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--border); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.header__logo svg { height: 56px; width: auto; aspect-ratio: 262 / 118; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }
.header__call { padding: 10px 16px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; margin-left: auto; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 110px) 0 clamp(64px, 9vw, 120px); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%);
}
.hero__glow { position: absolute; width: 720px; height: 720px; right: -160px; top: -220px; background: radial-gradient(circle, rgba(242,106,27,.22), transparent 65%); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__lead { font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero__ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-size: .98rem; }
.hero__ticks li { display: flex; align-items: center; gap: 8px; }
.hero__ticks svg { width: 18px; height: 18px; color: var(--orange); }

/* Fuse board illustration */
.board {
  background: linear-gradient(180deg, #202125, #17181b); border: 1px solid var(--border); border-radius: 18px;
  padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05);
}
.board__top { display: flex; justify-content: space-between; align-items: center; font-family: var(--head); letter-spacing: .14em; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.board__led { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 12px #3ddc84; }
.board__row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; background: #0f1012; border-radius: 10px; padding: 16px 12px; border: 1px solid #2a2b30; }
.mcb { display: block; height: 110px; border-radius: 6px; background: linear-gradient(180deg, #e9e9ea, #cfd0d3); position: relative; }
.mcb::after { content: ""; position: absolute; left: 50%; top: 22%; width: 44%; height: 30%; transform: translateX(-50%); border-radius: 3px; background: #2a2b30; }
.mcb--rcd { background: linear-gradient(180deg, #f6f6f7, #d9dadd); }
.mcb--rcd::after { background: var(--orange); }
.board__labels { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 10px; padding: 0 12px; font-size: .6rem; letter-spacing: .06em; color: var(--muted); text-align: center; font-family: var(--head); }
.board__stamp { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--orange-soft); color: var(--orange); font-family: var(--head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; }
.board__stamp svg { width: 18px; height: 18px; }

/* ---------- Trust strip ---------- */
.strip { border-block: 1px solid var(--border); background: var(--bg-alt); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { display: flex; align-items: center; gap: 14px; padding: 22px 16px; }
.strip__item + .strip__item { border-left: 1px solid var(--border); }
.strip__item svg { width: 30px; height: 30px; color: var(--orange); flex: none; }
.strip__item span { display: flex; flex-direction: column; color: var(--muted); font-size: .92rem; line-height: 1.3; }
.strip__item .napit { flex: none; display: grid; line-height: 1; place-items: center; height: 34px; padding: 0 9px; border-radius: 7px; background: var(--orange); color: #111; font-family: var(--head); font-weight: 700; font-size: 1rem; letter-spacing: .08em; }
.strip__item b { font-family: var(--head); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .03em; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section__head { max-width: 680px; margin-bottom: 44px; }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(242,106,27,.55); transform: translateY(-3px); }
.card p { color: var(--muted); margin: 0; }
.card__icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); margin-bottom: 20px; }
.card__icon svg { width: 26px; height: 26px; }
.card--feature { background: linear-gradient(160deg, rgba(242,106,27,.16), var(--surface) 60%); border-color: rgba(242,106,27,.45); }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--orange); text-decoration: none; font-weight: 600; }
.card__link svg { width: 16px; height: 16px; }

.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector { padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--orange); }
.sector svg { width: 40px; height: 40px; color: var(--orange); margin-bottom: 18px; }
.sector h3 { font-size: 1.8rem; text-transform: uppercase; }
.sector p { color: var(--muted); margin: 0; }

/* EICR */
.eicr { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.eicr__copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.list li { display: flex; gap: 12px; color: var(--muted); }
.list svg { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 2px; }
.eicr__steps { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.eicr__steps h3 { font-size: 1.7rem; text-transform: uppercase; margin-bottom: 24px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { display: flex; gap: 16px; }
.steps__n { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #111; font-family: var(--head); font-weight: 700; font-size: 1.3rem; }
.steps b { font-family: var(--head); font-size: 1.25rem; text-transform: uppercase; letter-spacing: .02em; }
.steps p { margin: 2px 0 0; color: var(--muted); }

/* Coverage */
.coverage { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.coverage__copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.towns { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: .92rem; color: var(--muted); }
.coverage__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); }
#map { height: 460px; width: 100%; background: #1a1b1e; }
.leaflet-container { font-family: var(--body); }
.leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) grayscale(.55) brightness(.85) contrast(.9); }
.leaflet-tooltip.town-label { background: rgba(14,14,15,.85); color: var(--text); border: 1px solid var(--border); box-shadow: none; font-size: 12px; padding: 2px 7px; border-radius: 6px; }
.leaflet-tooltip.town-label::before { display: none; }
.leaflet-control-attribution { background: rgba(14,14,15,.75) !important; color: var(--muted) !important; }
.leaflet-control-attribution a { color: var(--muted) !important; }
.map-fallback { display: grid; place-items: center; height: 100%; color: var(--muted); padding: 24px; text-align: center; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(242,106,27,.5); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 1.6rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact__info > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }
.contact__line { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border); text-decoration: none; font-size: 1.15rem; font-weight: 600; word-break: break-word; }
.contact__line:last-child { border-bottom: 1px solid var(--border); }
.contact__line small { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
a.contact__line:hover { color: var(--orange); }
.contact__icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); }
.contact__icon svg { width: 22px; height: 22px; }

.form { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 7px; font-size: .92rem; font-weight: 600; color: var(--text); }
.form input:not([type="checkbox"]), .form select, .form textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; transition: border-color .2s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%), linear-gradient(135deg, var(--orange) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.form input::placeholder, .form textarea::placeholder { color: #6c6d73; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); }
.form textarea { resize: vertical; min-height: 120px; }
.form input[type="file"] { padding: 10px; cursor: pointer; }
.form input[type="file"]::file-selector-button { font: inherit; font-weight: 600; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; margin-right: 12px; cursor: pointer; }
.file__hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 12px !important; font-weight: 400 !important; color: var(--muted) !important; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }
.consent a { color: var(--orange); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { padding: 64px 0 0; padding-bottom: env(safe-area-inset-bottom); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer__logo { height: 64px; width: auto; aspect-ratio: 262 / 118; margin-bottom: 16px; }
.footer__brand p { color: var(--muted); max-width: 36ch; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); margin-bottom: 6px; }
.footer__col a, .footer__col span { color: var(--muted); text-decoration: none; word-break: break-word; }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--border); color: #75767c; font-size: .9rem; }
.footer__bottom a { color: #75767c; }

/* Mobile call bar */
.callbar { display: none; }

/* ---------- Simple page (privacy / thank-you) ---------- */
.page { padding: clamp(56px, 9vw, 100px) 0; min-height: 60vh; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page h2 { font-size: 1.6rem; margin-top: 1.6em; }
.page p, .page li { color: var(--muted); }
.page a { color: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .header__call span { display: none; }
  .header__call { padding: 10px 12px; }
}
@media (max-width: 960px) {
  .hero__inner, .eicr, .coverage, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hero__panel { max-width: 520px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(3) { border-left: 0; }
  .strip__item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  :root { --header-h: 66px; }
  .header__logo svg { height: 42px; }
  .header__call { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: 1.1rem; color: var(--text); }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(14,14,15,.94); border-top: 1px solid var(--border);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .callbar .btn { padding: 12px 10px; }
  body { padding-bottom: 76px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__ctas .btn { width: 100%; }
  .mcb { height: 78px; }
  .board { padding: 16px; }
  .board__row { gap: 5px; padding: 12px 8px; }
  .board__labels { gap: 5px; padding: 0 8px; font-size: .5rem; }
  .strip__item { padding: 18px 10px; gap: 10px; }
  .strip__item svg { width: 26px; height: 26px; }
  .strip__item b { font-size: 1.05rem; }
  .strip__item span { font-size: .82rem; }
  #map { height: 360px; }
  .footer__inner { grid-template-columns: 1fr; }
}

/* ---------- Reviews ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-alt); }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.reviews__head .section__head { margin-bottom: 0; }
.score { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.score__num { font-family: var(--head); font-weight: 700; font-size: 3.2rem; line-height: 1; color: var(--orange); }
.score__meta { display: block; color: var(--muted); font-size: .92rem; margin-top: 4px; }
.stars { display: inline-flex; gap: 3px; color: var(--orange); }
.stars svg { width: 18px; height: 18px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { position: relative; margin: 0; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.review--wide { grid-column: span 2; background: linear-gradient(160deg, rgba(242,106,27,.14), var(--surface) 55%); border-color: rgba(242,106,27,.4); }
.review__q { position: absolute; top: 22px; right: 22px; width: 34px; height: 34px; color: rgba(242,106,27,.22); }
.review blockquote { margin: 0; color: var(--text); font-size: 1.04rem; flex: 1; }
.review--wide blockquote { font-size: 1.15rem; }
.review figcaption { display: grid; gap: 2px; padding-top: 14px; border-top: 1px solid var(--border); }
.review figcaption span { color: var(--muted); font-size: .88rem; }
.reviews__more { margin-top: 32px; text-align: center; }
@media (max-width: 960px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .reviews { grid-template-columns: 1fr; } .review--wide { grid-column: auto; } .reviews__more .btn { width: 100%; white-space: normal; } }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -16px 0 28px; }
.filter { font: inherit; font-weight: 600; font-size: .95rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.filter:hover { color: var(--text); border-color: rgba(242,106,27,.5); }
.filter.is-active { background: var(--orange); border-color: var(--orange); color: #111; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tile[hidden] { display: none; }
.tile--pair { grid-column: span 2; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile__btn { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); cursor: zoom-in; aspect-ratio: 3 / 4; }
.tile__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile__btn:hover img { transform: scale(1.04); }
.tile__btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.tile__btn:hover::after { box-shadow: inset 0 0 0 2px var(--orange); }
.tile figcaption { color: var(--muted); font-size: .95rem; }
.tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 6px; font-family: var(--head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; }
.tag--before { background: rgba(14,14,15,.85); color: var(--text); border: 1px solid var(--border); }
.tag--after { background: var(--orange); color: #111; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,8,9,.95); display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto; align-items: center; padding: 56px 12px 20px; }
.lightbox[hidden] { display: none; }
.lightbox__stage { grid-column: 2; grid-row: 1; height: 100%; display: grid; place-items: center; min-height: 0; touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); object-fit: contain; border-radius: 8px; }
.lightbox__caption { grid-column: 1 / -1; grid-row: 2; text-align: center; color: var(--muted); margin: 14px 0 0; }
.lightbox__close, .lightbox__nav { background: rgba(255,255,255,.06); border: 1px solid var(--border); color: var(--text); border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; transition: border-color .2s, color .2s; }
.lightbox__close:hover, .lightbox__nav:hover { border-color: var(--orange); color: var(--orange); }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__close { position: absolute; top: 12px; right: 12px; }
.lightbox__nav--prev { grid-column: 1; grid-row: 1; justify-self: center; }
.lightbox__nav--prev svg { transform: rotate(180deg); }
.lightbox__nav--next { grid-column: 3; grid-row: 1; justify-self: center; }
body.no-scroll { overflow: hidden; }

@media (max-width: 960px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .gallery { gap: 12px; }
  .tile figcaption { font-size: .85rem; }
  .lightbox { grid-template-columns: 1fr; padding: 60px 8px 16px; }
  .lightbox__stage { grid-column: 1; }
  .lightbox__nav { display: none; }
}
.tile > .tile__btn { flex: 1; }

/* ---------- Netlify free-plan badge ----------
   Netlify appends the badge as the last element of <body> (an iframe, normally
   fixed bottom-right). We keep it fully visible but let it sit in the page flow,
   so it appears at the very bottom of the page after the footer instead of
   floating over our buttons. */
body > iframe[style*="2147483645"] {
  position: static !important;
  display: block;
  margin: 0 auto 12px !important;
}
