/* ============================================================
   PhotoFresco marketing landing — dark, cinematic, confident.
   Self-contained: system fonts only, no external assets.
   ============================================================ */

:root {
  --bg: #101216;
  --bg-raised: #15171c;
  --surface: #1b1e25;
  --surface-2: #21252e;
  --line: rgba(230, 233, 238, 0.08);
  --line-strong: rgba(230, 233, 238, 0.14);
  --text: #e6e9ee;
  --text-dim: #9aa3b2;
  --text-faint: #6b7280;
  --accent: #3b82f6;
  --accent-soft: rgba(59, 130, 246, 0.14);
  --amber: #f0a35e;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Times New Roman', serif;
  --font-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 14px;
  --radius-lg: 18px;
  --wrap: 1120px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(59, 130, 246, 0.35); color: #fff; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, #4b8ef8 0%, #2f6fe0 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 8px 24px -8px rgba(59, 130, 246, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 14px 32px -10px rgba(59, 130, 246, 0.7);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(230, 233, 238, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(230, 233, 238, 0.08);
  border-color: rgba(230, 233, 238, 0.24);
  transform: translateY(-1px);
}

.btn-lg { font-size: 17px; padding: 17px 32px; border-radius: 13px; }

.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 18, 22, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 28px;
  height: 28px;
  background: url(/logo-mark.svg) center / contain no-repeat;
}

.brand-word {
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.brand .fresco {
  background-image: linear-gradient(105deg, #8ab4ff 0%, #b98ad8 55%, #f3ac5e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  color: var(--text-dim);
}

.nav-links a:not(.btn) { transition: color 0.15s ease; }
.nav-links a:not(.btn):hover { color: var(--text); }

.nav .btn { font-size: 14px; padding: 10px 18px; border-radius: 10px; }

@media (max-width: 720px) {
  .nav-links a:not(.btn) { display: none; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 96px 0 0;
  overflow: hidden;
}

/* layered atmosphere: blue key light + a sunset ember echoing the artwork */
.hero::before {
  content: '';
  position: absolute;
  inset: -40% -20% auto;
  height: 900px;
  background:
    radial-gradient(560px 420px at 72% 30%, rgba(224, 118, 59, 0.16), transparent 68%),
    radial-gradient(820px 560px at 30% 12%, rgba(59, 130, 246, 0.2), transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(230, 233, 238, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 233, 238, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(75% 60% at 50% 0%, #000 0%, transparent 100%);
  mask-image: radial-gradient(75% 60% at 50% 0%, #000 0%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dim);
  background: rgba(230, 233, 238, 0.05);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 15px;
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.9);
}

.hero h1 {
  font-size: clamp(42px, 6.6vw, 76px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.04;
  max-width: 14ch;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 20%, #b9c2d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff; /* fallback */
}

.hero h1 .free {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, #f6c177 0%, #e0763b 55%, #f6c177 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.06em;
}

.hero-sub {
  margin-top: 22px;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-dim);
  max-width: 56ch;
  text-wrap: balance;
}

.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-faint);
}

/* hero screenshot in a window frame */

.hero-shot {
  position: relative;
  z-index: 1;
  margin: 72px auto 0;
  max-width: 1120px;
  padding: 0 24px;
}

.window {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 30px 80px -20px rgba(0, 0, 0, 0.65),
    0 0 120px -30px rgba(59, 130, 246, 0.25);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: linear-gradient(180deg, #23272f 0%, #1d2129 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.45);
}

.window-bar .wdot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(230, 233, 238, 0.16);
}

.window-bar .wdot:nth-child(1) { background: #f66a5c; }
.window-bar .wdot:nth-child(2) { background: #f5bf4f; }
.window-bar .wdot:nth-child(3) { background: #63c554; }

.window-bar .wurl {
  margin-left: 12px;
  flex: 1;
  max-width: 380px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 4px 12px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window img { width: 100%; }

.hero-fade {
  position: relative;
  height: 110px;
  margin-top: -110px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
  z-index: 2;
}

/* ---------- ticker strip ---------- */

.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 20px 0;
}

.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

.strip-inner span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.strip-inner svg { color: var(--accent); flex: none; }

/* ---------- features ---------- */

.features { padding: 110px 0 40px; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 30px;
}

.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

.section-head p {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 17.5px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
}

.feature + .feature { border-top: 1px solid var(--line); }

.feature.flip .feature-media { order: 2; }
.feature.flip .feature-copy { order: 1; }

.feature-copy .kicker { margin-bottom: 16px; }

.feature-copy h3 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.feature-copy > p {
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 17px;
}

.feature-copy .points {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 11px;
}

.feature-copy .points li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--text-dim);
}

.feature-copy .points li strong { color: var(--text); font-weight: 600; }

.points .check {
  flex: none;
  margin-top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--accent-soft);
  border: 1px solid rgba(59, 130, 246, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7fb0fa;
}

.feature-media { position: relative; min-width: 0; }

.feature-media .glow {
  position: absolute;
  inset: 8% 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(59, 130, 246, 0.16), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}

.feature-media.warm .glow {
  background: radial-gradient(60% 60% at 50% 50%, rgba(224, 118, 59, 0.14), transparent 70%);
}

.shot {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 24px 60px -18px rgba(0, 0, 0, 0.6);
}

.shot img { width: 100%; }

/* cropped viewport: zooms a screenshot region (keeps text in shots legible) */
.shot.crop { aspect-ratio: 4 / 3.1; }

.shot.crop img {
  position: absolute;
  width: 172%;
  max-width: none;
  top: 0;
  right: 0;
}

.shot-caption {
  margin-top: 14px;
  font-size: 13px;
  color: #6b7280;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 8px;
}

.shot-caption::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--line-strong);
}

/* privacy "network monitor" card (feature 3 has no screenshot — build one) */

.netmon {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-raised) 100%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 24px 60px -18px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13.5px;
}

.netmon-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.netmon-bar .live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #34d399;
}

.netmon-bar .live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 7px rgba(52, 211, 153, 0.9);
}

.netmon-rows { padding: 8px 0; }

.netmon-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 18px;
}

.netmon-row + .netmon-row { border-top: 1px solid rgba(230, 233, 238, 0.045); }

.netmon-row .op { color: var(--text); }
.netmon-row .op .path { color: var(--text-dim); }

.netmon-row .val { color: var(--text-dim); white-space: nowrap; }
.netmon-row .val.ok { color: #34d399; }

.netmon-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--line-strong);
  background: rgba(52, 211, 153, 0.06);
  color: #34d399;
  font-weight: 600;
}

.netmon-total .zero { font-size: 22px; letter-spacing: -0.02em; }

/* pricing chips under the premium feature */

.price-row {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.price-chip {
  border: 1px solid var(--line-strong);
  background: rgba(230, 233, 238, 0.03);
  border-radius: 11px;
  padding: 10px 16px;
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.45;
}

.price-chip b {
  display: block;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.price-chip.hot {
  border-color: rgba(59, 130, 246, 0.45);
  background: var(--accent-soft);
}

.price-chip.hot b { color: #9cc1fb; }

.price-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.5;
}

.price-note + .price-note { margin-top: 6px; }

.price-note strong { color: var(--text); }

@media (max-width: 880px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 56px 0;
  }
  /* copy leads on small screens; the shot follows it */
  .feature .feature-copy,
  .feature.flip .feature-copy { order: 1; }
  .feature .feature-media,
  .feature.flip .feature-media { order: 2; }
  .features { padding: 72px 0 20px; }
}

/* ---------- final CTA ---------- */

.cta {
  position: relative;
  margin: 40px 0 0;
  padding: 96px 0 108px;
  border-top: 1px solid var(--line);
  background: var(--bg-raised);
  overflow: hidden;
  text-align: center;
}

.cta::before {
  content: '';
  position: absolute;
  inset: auto -20% -60%;
  height: 620px;
  background:
    radial-gradient(500px 340px at 66% 80%, rgba(224, 118, 59, 0.13), transparent 70%),
    radial-gradient(700px 460px at 38% 90%, rgba(59, 130, 246, 0.22), transparent 68%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta h2 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.06;
  max-width: 18ch;
  margin: 0 auto;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 25%, #b9c2d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #fff;
}

.cta h2 .free {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(120deg, #f6c177 0%, #e0763b 60%, #f6c177 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta p {
  margin: 18px auto 0;
  color: var(--text-dim);
  font-size: 18px;
  max-width: 48ch;
  text-wrap: balance;
}

.cta .hero-ctas { margin-top: 34px; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #6b7280;
}

.footer .brand { font-size: 15px; }
.footer .brand-mark { width: 22px; height: 22px; }

.footer-links { display: flex; gap: 24px; }
.footer-links a { transition: color 0.15s ease; }
.footer-links a:hover { color: var(--text); }

.footer-legal {
  margin-top: 22px;
  font-size: 12px;
  line-height: 1.6;
  color: #565d6b;
}

/* ---------- entrance animation (CSS only) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .rise {
    opacity: 0;
    transform: translateY(18px);
    animation: rise 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) forwards;
  }
  .rise-1 { animation-delay: 0.05s; }
  .rise-2 { animation-delay: 0.16s; }
  .rise-3 { animation-delay: 0.27s; }
  .rise-4 { animation-delay: 0.38s; }
  .rise-5 { animation-delay: 0.52s; }

  @keyframes rise {
    to { opacity: 1; transform: translateY(0); }
  }
}

/* PhotoFresco Model Lab: dense visual evidence, not a marketing leaderboard. */
.lab-page { background: var(--bg); color: var(--text); }
.lab-hero { padding: 84px 24px 42px; max-width: 880px; }
.lab-eyebrow { color: var(--accent); font: 700 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.lab-hero h1, .lab-index h1 { max-width: 760px; margin: 12px 0 16px; font-size: clamp(38px, 5vw, 58px); line-height: 1.06; letter-spacing: 0; text-wrap: balance; }
.lab-summary, .lab-index > p { max-width: 720px; color: var(--text-dim); font: 20px/1.55 var(--font-serif); }
.lab-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; color: var(--text-dim); font: 12px/1 var(--font-mono); }
.lab-facts span { padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.lab-method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 28px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lab-method h2, .lab-review-note h2 { margin: 0 0 8px; font-size: 16px; letter-spacing: 0; }
.lab-method p, .lab-review-note p { margin: 0; color: var(--text-dim); font-size: 14px; line-height: 1.55; }
.lab-disclosure { border-left: 2px solid var(--accent); padding-left: 14px; }
.lab-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 28px 24px 18px; }
.lab-controls button { padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--text-dim); background: var(--surface); font: 600 12px/1 var(--font-sans); cursor: pointer; }
.lab-controls button.is-active { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.lab-controls span { margin-left: auto; color: var(--text-faint); font-size: 13px; }
.lab-grid-wrap { width: 100%; overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lab-grid { width: max-content; min-width: 100%; border-collapse: collapse; table-layout: fixed; }
.lab-grid th, .lab-grid td { width: 154px; padding: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); vertical-align: top; }
.lab-grid thead th { position: sticky; top: 0; z-index: 2; background: var(--bg-raised); text-align: left; }
.lab-grid thead th img { display: block; width: 100%; height: 92px; margin-bottom: 8px; object-fit: cover; border-radius: 3px; }
.lab-grid thead strong { display: block; font-size: 13px; }
.lab-grid thead small, .lab-grid th small { display: block; margin-top: 4px; color: var(--text-faint); font-weight: 400; line-height: 1.25; }
.lab-corner, .lab-model, .lab-source th { position: sticky; left: 0; z-index: 1; width: 244px !important; min-width: 244px; background: var(--bg-raised); text-align: left; }
.lab-grid thead .lab-corner { z-index: 3; }
.lab-model strong { display: block; margin: 7px 0 5px; font-size: 13px; line-height: 1.25; }
.lab-kind { color: var(--accent); font: 700 10px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.lab-price { display: block; margin-bottom: 7px; color: #82d6a3; font: 700 12px/1.2 var(--font-mono); }
.lab-image-button { display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 3px; background: #181b1f; cursor: zoom-in; }
.lab-image-button img { display: block; width: 100%; aspect-ratio: 1.2; object-fit: cover; transition: transform .18s ease; }
.lab-image-button:hover img { transform: scale(1.06); }
.checker { background-color: #20252a; background-image: linear-gradient(45deg, #2b323a 25%, transparent 25%), linear-gradient(-45deg, #2b323a 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #2b323a 75%), linear-gradient(-45deg, transparent 75%, #2b323a 75%); background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; }
.lab-grid tr[hidden] { display: none; }
.lab-review-note { padding: 48px 24px 88px; max-width: 760px; }
.lab-review-note .btn { display: inline-flex; max-width: 100%; margin-top: 22px; text-align: center; white-space: normal; }
.lab-lightbox { width: min(94vw, 1080px); max-width: none; padding: 12px; border: 1px solid var(--line-strong); border-radius: 5px; background: #111417; }
.lab-lightbox::backdrop { background: rgba(0, 0, 0, .84); }
.lab-lightbox button { position: absolute; top: 18px; right: 18px; z-index: 1; width: 32px; height: 32px; border: 0; border-radius: 50%; color: white; background: rgba(0,0,0,.72); font-size: 24px; cursor: pointer; }
.lab-lightbox img { display: block; width: 100%; max-height: 82vh; object-fit: contain; }
.lab-index { min-height: 72vh; padding: 92px 24px; }
.lab-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 420px)); gap: 16px; margin-top: 38px; }
.lab-card { padding: 24px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--surface); }
.lab-card > span { color: var(--accent); font: 700 11px/1 var(--font-mono); letter-spacing: .11em; text-transform: uppercase; }
.lab-card h2 { margin: 12px 0 10px; font-size: 22px; letter-spacing: 0; }
.lab-card p { color: var(--text-dim); line-height: 1.5; }
.lab-card small { color: var(--text-faint); }
@media (max-width: 700px) { .lab-hero { padding-top: 56px; } .lab-method { grid-template-columns: 1fr; gap: 18px; } .lab-controls span { width: 100%; margin: 8px 0 0; } .lab-review-note .btn { display: inline-block; } }
