/* Landing page. Working-trades look: foam-black, safety orange, condensed headlines, big honest product images. */
:root {
  --bg: #0f1012; --bg2: #16181b; --card: #1b1d21; --line: #2a2d33; --line2: #353941;
  --text: #f1efe9; --muted: #a8abb2; --dim: #7c8089;
  --accent: #ff6b2c; --accent2: #ff8a52; --accent-ink: #1a0b03;
  --max: 1200px; --gut: clamp(16px, 4vw, 40px);
  --head: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.02; letter-spacing: .005em; margin: 0; text-transform: uppercase; }
h1 { font-size: clamp(44px, 7.2vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
h3 { font-size: 24px; letter-spacing: .02em; }
p { margin: 0; }
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent2); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 36em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 6px; font: 650 15px/1 var(--body);
  text-decoration: none; border: 1px solid var(--line2); color: var(--text); background: transparent; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent2); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(15, 16, 18, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 22px/1 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.logo svg { width: 30px; height: 30px; }
.logo b { color: var(--accent); }
.nav nav { display: flex; gap: 24px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; }
.nav nav a:hover { color: var(--text); }
.nav .btn { padding: 11px 18px; font-size: 14px; }
.nav .btn { white-space: nowrap; }
@media (max-width: 760px) { .nav nav { display: none; } .nav .btn { margin-left: auto; padding: 10px 14px; font-size: 13px; } }
@media (max-width: 600px) { .tag { position: static; border: 0; border-top: 1px solid var(--line2); border-radius: 0; backdrop-filter: none; } }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(40px, 7vw, 96px); }
.hero h1 span { color: var(--accent); }
.hero .lead { margin: 22px 0 32px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--muted); font-size: 14px; list-style: none; padding: 0; }
.hero .proof li { display: flex; align-items: center; gap: 8px; }
.hero .proof li::before { content: ''; width: 7px; height: 7px; background: var(--accent); border-radius: 1px; transform: rotate(45deg); }
.hero-img { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); border: 1px solid var(--line2); background: #000; }
.hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tag { position: absolute; left: 14px; bottom: 14px; background: rgba(10, 11, 12, .82); border: 1px solid var(--line2); border-radius: 6px;
  padding: 8px 12px; font-size: 13px; color: var(--muted); backdrop-filter: blur(6px); }
.tag b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-img { order: -1; } }

/* systems strip */
.systems { border-bottom: 1px solid var(--line); background: var(--bg2); }
.systems .wrap { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.systems .label { font-size: 13px; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.systems ul { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; margin: 0; padding: 0; }
.systems li { font: 600 15px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; padding: 9px 12px; border: 1px solid var(--line2); border-radius: 4px; color: var(--text); }
.systems li small { color: var(--dim); font: 500 12px var(--body); text-transform: none; letter-spacing: 0; margin-left: 4px; }

/* sections */
section.block { padding: clamp(64px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); }
.head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.step img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: #000; }
.step .t { padding: 22px 22px 26px; display: grid; gap: 8px; }
.step h3::before { counter-increment: s; content: counter(s, decimal-leading-zero); color: var(--accent); margin-right: 10px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.shot { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #000; margin: 0; }
.shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .5s; }
.shot:hover img { transform: scale(1.03); }
.shot figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .85));
  font-size: 14px; color: var(--muted); }
.shot figcaption b { display: block; color: var(--text); font: 700 20px/1.1 var(--head); text-transform: uppercase; letter-spacing: .03em; }
.shot.w7 { grid-column: span 7; } .shot.w6 { grid-column: span 6; } .shot.w5 { grid-column: span 5; } .shot.w4 { grid-column: span 4; }
@media (max-width: 860px) { .shot.w7, .shot.w6, .shot.w5, .shot.w4 { grid-column: span 12; } }

/* accuracy */
.acc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.badges { display: grid; gap: 12px; }
.badge { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.badge .b { grid-row: span 2; align-self: start; font: 700 13px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; padding: 7px 10px; border-radius: 4px; white-space: nowrap; }
.badge strong { font-weight: 600; }
.badge p { color: var(--muted); font-size: 14px; }
.b.m { background: #1f7a4d; color: #e8fff2; } .b.t { background: #2c6bc4; color: #eef5ff; } .b.s { background: #8a6a1b; color: #fff6dd; } .b.y { background: #3a3d44; color: #d9dbe0; }
.check { margin-top: 26px; padding: 22px; border: 1px dashed var(--accent); border-radius: 8px; color: var(--muted); }
.check strong { color: var(--text); }
@media (max-width: 860px) { .acc { grid-template-columns: 1fr; } }

/* specs */
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.spec { background: var(--bg2); padding: 26px 22px; display: grid; gap: 8px; align-content: start; }
.spec .v { font: 700 34px/1 var(--head); text-transform: uppercase; }
.spec p { color: var(--muted); font-size: 14px; }
.swatches { display: flex; gap: 6px; margin-top: 4px; }
.swatches i { width: 22px; height: 22px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .15); }
@media (max-width: 860px) { .specs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .specs { grid-template-columns: 1fr; } }

/* cta + footer */
.cta { padding: clamp(64px, 9vw, 112px) 0; text-align: center; background: radial-gradient(60% 120% at 50% 0%, rgba(255, 107, 44, .14), transparent 70%); }
.cta h2 { margin-bottom: 16px; }
.cta .lead { margin: 0 auto 30px; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--dim); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

/* moving parts (owner 2026-11-21: "I'd like to see some movement on the home screen") */
.hero-img.diagram { background: radial-gradient(ellipse at 55% 45%, #1b1e23, #0f1012 75%); }
.hero-img.diagram img { object-fit: contain; }
.step img.anim { object-fit: contain; background: radial-gradient(ellipse at 50% 55%, #22252a, #16181b 80%); }
/* the logo mark cuts itself in on load, and again on hover */
.logo .mark .run { stroke-dasharray: 100; stroke-dashoffset: 100; animation: mark-run 1.4s .2s ease-in-out forwards; }
.logo .mark .pk { transform-origin: 8px 16px; transform: scaleX(0); animation: mark-fill .5s 1.25s cubic-bezier(.2, .9, .3, 1.2) forwards; }
.logo .mark .pk2 { transform-origin: 23px 16px; transform: scale(0); animation: mark-pop .4s 1.55s cubic-bezier(.2, .9, .3, 1.4) forwards; }
.logo:hover .mark .run { animation: mark-run 1s ease-in-out; }
@keyframes mark-run { 0% { stroke-dashoffset: 100; opacity: 1; } 80% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes mark-fill { to { transform: scaleX(1); } }
@keyframes mark-pop { to { transform: scale(1); } }
/* the hero headline's "home." gets a slow orange sweep */
.hero h1 span { background: linear-gradient(100deg, var(--accent) 0 40%, #ffc3a3 50%, var(--accent) 60% 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sweep 6s 1.5s ease-in-out infinite; }
@keyframes sweep { 0% { background-position: 100% 0; } 40%, 100% { background-position: 0 0; } }
/* sections drift up as they come into view */
@supports (animation-timeline: view()) {
  .step, .shot, .badge, .spec { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .logo .mark .run, .logo .mark .pk, .logo .mark .pk2, .hero h1 span, .step, .shot, .badge, .spec { animation: none !important; transform: none !important; opacity: 1 !important; }
  .logo .mark .run { display: none; } .hero h1 span { color: var(--accent); background: none; }
}

/* ---------- home animations, inline SVG (tools/site/make-home.mjs; owner 2026-11-21) ---------- */
.hero-img.diagram { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 4% 2% 2%;
  background: radial-gradient(ellipse at 50% 40%, #23272d, #121417 72%); }
.hero-img.diagram svg, .cutbox svg { width: 100%; height: auto; display: block; overflow: visible; }
.cutbox { aspect-ratio: 4 / 3; display: flex; align-items: center; padding: 6% 6% 3%; background: radial-gradient(ellipse at 50% 55%, #22252a, #16181b 80%); }
/* finished state is the default (and what reduced-motion visitors see); .play runs the cut */
.hero-cut .trace { fill: none; stroke: #ff7a3d; stroke-width: 1.8; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; }
.step-cut .trace, .step-cut .guide { display: none; }
.hero-cut.play .trace, .play .hero-cut .trace { animation: hc-trace 1.6s cubic-bezier(.45, 0, .55, 1) calc(.6s + var(--i) * 1.15s) both; }
.play .hero-cut .hole { animation: hc-in .6s ease calc(.6s + var(--i) * 1.15s + 1.3s) both; }
.play .hero-cut .art { animation: hc-in 1.1s ease calc(.6s + 9 * 1.15s + .8s + var(--i) * .22s) both; }
@keyframes hc-trace { 0% { opacity: 1; stroke-dashoffset: 100; } 82% { opacity: 1; stroke-dashoffset: 0; } 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes hc-in { from { opacity: 0; } to { opacity: 1; } }
/* we cut it: the sheets float above the case and settle in, slowly, when the card is hovered or first comes into view */
.step-cut .sheet { transition: none; }
.cutbox.play .sheet { animation: sc-drop 2.6s cubic-bezier(.3, .7, .2, 1) both; }
.cutbox.play .sheet:nth-of-type(2) { animation-delay: .9s; }
.cutbox.play .guide { display: block; fill: none; stroke: rgba(255, 255, 255, .45); stroke-dasharray: 4 4; animation: sc-guide 2.6s ease both; }
@keyframes sc-drop { 0%, 12% { transform: translateY(var(--lift)); } 100% { transform: none; } }
@keyframes sc-guide { 0%, 40% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .play .hero-cut *, .cutbox.play * { animation: none !important; } }

/* the mark: a spanner cut clean out of a block (owner 2026-11-21: "a square or circle with something cut out in it") */
.logo .mark2 { width: 30px; height: 30px; }
.logo .mark2 .blk { transform-origin: 16px 16px; animation: mk-pop .5s cubic-bezier(.2, .9, .3, 1.3) .15s both; }
.logo:hover .mark2 .blk { animation: mk-wiggle .6s ease; }
@keyframes mk-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mk-wiggle { 30% { transform: rotate(-8deg); } 60% { transform: rotate(5deg); } 100% { transform: none; } }

/* the hero is the CNC diagram image again (owner 2026-11-21) */
.hero-img.diagram { padding: 0; display: block; aspect-ratio: auto; }


/* the foam cut-away with its numbered points */
.foam-detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 36px; align-items: center; margin: 0 0 34px; }
.foam-detail img { width: 100%; height: auto; display: block; border-radius: 10px; background: var(--bg2); border: 1px solid var(--line); }
.foam-detail ol { list-style: none; counter-reset: fd; display: grid; gap: 16px; margin: 0; padding: 0; }
.foam-detail li { counter-increment: fd; position: relative; padding-left: 42px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.foam-detail li b { color: var(--ink, #f1efe9); display: block; font-weight: 600; }
.foam-detail li::before { content: counter(fd); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; background: #ff6b2c; color: #1a0b03; font: 800 13px/26px Inter, sans-serif; text-align: center; }
@media (max-width: 820px) { .foam-detail { grid-template-columns: 1fr; gap: 22px; } }
.foam-detail .foam-note { grid-column: 1 / -1; margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.foam-detail .foam-note b { color: var(--ink, #f1efe9); font-weight: 600; }

/* ---- flash (owner 2026-11-21: "a little more flashy… maybe the logo has neon light that goes around it") ---- */
/* neon logo: a bright dash of light chasing round the block, faster on hover */
.logo .mark2 { overflow: visible; }
.logo .mark2 .neon { fill: none; stroke: #fff3ea; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 24 76;
  filter: drop-shadow(0 0 2px #ffb38a) drop-shadow(0 0 6px #ff6b2c) drop-shadow(0 0 12px rgba(255,107,44,.7)); animation: neon-run 3.2s linear infinite; }
.logo:hover .mark2 .neon { animation-duration: 1.1s; }
@keyframes neon-run { to { stroke-dashoffset: -100; } }
/* the hero's "home." glows softly */
.hero h1 span { filter: drop-shadow(0 0 14px rgba(255, 107, 44, .28)); animation: sweep 6s 1.5s ease-in-out infinite, glow 3.6s ease-in-out infinite; }
@keyframes glow { 50% { filter: drop-shadow(0 0 22px rgba(255, 107, 44, .55)); } }
/* primary buttons: a sheen sweeps across on hover */
.btn.primary { position: relative; overflow: hidden; box-shadow: 0 0 0 rgba(255, 107, 44, 0); transition: box-shadow .3s, transform .2s, background .2s; }
.btn.primary::after { content: ''; position: absolute; inset: -2px; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  transform: translateX(-120%); pointer-events: none; }
.btn.primary:hover { box-shadow: 0 0 24px rgba(255, 107, 44, .45); }
.btn.primary:hover::after { transform: translateX(120%); transition: transform .7s ease; }
/* spotlight: a soft glow under the pointer on the cards */
.step, .shot, .badge, .spec, .foam-note { position: relative; }
.step::before, .shot::after, .badge::before, .spec::before, .foam-note::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), rgba(255, 138, 82, .13), transparent 65%); opacity: 0; transition: opacity .3s; }
.step:hover::before, .shot:hover::after, .badge:hover::before, .spec:hover::before, .foam-note:hover::before { opacity: 1; }
.step, .badge { transition: border-color .3s, box-shadow .3s; }
.step:hover, .badge:hover { border-color: rgba(255, 138, 82, .45); box-shadow: 0 0 0 1px rgba(255, 138, 82, .12), 0 12px 40px rgba(0, 0, 0, .35); }
/* the brand strip as a slow endless marquee, fading at both ends */
.systems .marquee { flex: 1 1 auto; width: 100%; min-width: 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.systems .marquee .track { display: flex; width: max-content; gap: 10px; animation: marq 38s linear infinite; }
.systems .marquee:hover .track { animation-play-state: paused; }
.systems .marquee ul { flex-wrap: nowrap; }
.systems .marquee li { white-space: nowrap; transition: border-color .25s, color .25s, box-shadow .25s; }
.systems .marquee li:hover { border-color: var(--accent); color: #fff; box-shadow: 0 0 14px rgba(255, 107, 44, .35); }
@keyframes marq { to { transform: translateX(calc(-50% - 5px)); } }
/* the neon scroll line */
.scrollbar { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 20; transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
  background: linear-gradient(90deg, #ff6b2c, #ffb38a); box-shadow: 0 0 10px rgba(255, 107, 44, .8); }
@media (prefers-reduced-motion: reduce) {
  .logo .mark2 .neon { animation: none; stroke-dasharray: none; stroke-opacity: .35; }
  .btn.primary::after, .scrollbar { display: none; }
}@media (min-width: 761px) { .systems .wrap { flex-wrap: nowrap; } .systems .label { flex: none; } }
.logo .mark2 { width: 34px; height: 34px; }

/* ---- 2026-11-22: figures strip, FAQ, footer, lightbox, scroll reveals (owner: "make every part of the experience better") ---- */
.figures { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 107, 44, .05), transparent); }
.figures .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 34px; padding-bottom: 34px; }
.fig b { display: block; font: 700 clamp(38px, 4.6vw, 56px)/1 var(--head); color: var(--text); letter-spacing: .01em; }
.fig b small { font-size: .45em; margin-left: 3px; color: var(--accent2); }
.fig span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; max-width: 18em; }
@media (max-width: 760px) { .figures .wrap { grid-template-columns: 1fr 1fr; } }
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq .head { margin: 0; }
.qs details { border-bottom: 1px solid var(--line); }
.qs details:first-child { border-top: 1px solid var(--line); }
.qs summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font: 600 17px/1.35 var(--body); }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--accent2); border-bottom: 2px solid var(--accent2); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.qs details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.qs summary:hover { color: var(--accent2); }
.qs details p { color: var(--muted); padding: 0 40px 20px 0; max-width: 44em; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }
footer .wrap { display: block; }
.fcols { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; padding-bottom: 22px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.fcols .logo { color: var(--text); margin-bottom: 8px; }
.fcols p { color: var(--muted); max-width: 26em; }
.fcols nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: flex-start; }
.fcols nav a { color: var(--muted); text-decoration: none; } .fcols nav a:hover { color: var(--text); }
.fbase { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.shot { cursor: zoom-in; }
.shot img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.shot:hover img { transform: scale(1.035); }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(6, 7, 8, .92); display: grid; place-items: center; padding: 4vh 4vw; animation: lbIn .2s ease-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox p { color: var(--muted); margin-top: 14px; text-align: center; }
.lightbox button { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: var(--text); font-size: 38px; cursor: pointer; line-height: 1; }
@keyframes lbIn { from { opacity: 0; } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .shot:hover img { transform: none; } }
