/* ═══════════════════════════════════════════════════════════════
   CASE STUDY — case-study.css
   ─────────────────────────────────────────────────────────────
   All styles for healthcare-case-study.html (and future case
   study pages). Extracted from the inline <style> block.

   TABLE OF CONTENTS
     1.  Tokens          — colours, fonts, max-widths
     2.  Reset & base    — box-sizing, body, scroll
     3.  Custom cursor   — dot + lagging ring
     4.  Reveal          — scroll-triggered animations
     5.  Progress bar    — thin accent line at top
     6.  Nav             — fixed top navigation
     7.  Hero            — page header + cover image
     8.  Meta bar        — role / timeline / client / tools
     9.  Sections        — shared section wrapper + headings
     10. Layouts         — two-col, three-col, image grids
     11. Image boxes     — placeholders + captions
     12. Pull quote      — blockquote with accent border
     13. Stat comparison — before / after grid
     14. Insight cards   — three-up finding cards
     15. Persona cards   — user persona grid
     16. Problem statement
     17. Metrics         — results row
     18. Impact list     — bulleted outcome list
     19. Takeaways       — numbered learnings
     20. Solution        — feature headings + body text
     21. Next project    — end-of-page CTA
     22. Footer
     23. Responsive      — ≤ 820px and ≤ 520px
═══════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────────────
   1. TOKENS
───────────────────────────────────────────────────────────── */
:root {
  --dark-bg:      #0c0c0c;
  --dark-surface: #161616;
  --dark-border:  #252525;
  --dark-text:    #f0ece3;
  --dark-muted:   #555;
  --accent:       #ff4f1f;          /* burnt orange, matching --accent-1 in styles.css */
  --accent-dim:   rgba(255, 79, 31, 0.12);
  --font-serif:   'Instrument Serif', serif;
  --font-sans:    'DM Sans', sans-serif;
  --max:          860px;
  --wide:         1100px;
}


/* ─────────────────────────────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--dark-bg);
  color: var(--dark-text);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  cursor: none; /* replaced by custom cursor */
}


/* ─────────────────────────────────────────────────────────────
   3. CUSTOM CURSOR
───────────────────────────────────────────────────────────── */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background 0.3s ease;
  mix-blend-mode: difference;
}
.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}
body.cursor-hover .cursor      { transform: translate(-50%, -50%) scale(2.8); }
body.cursor-hover .cursor-ring { width: 64px; height: 64px; opacity: 0.2; }


/* ─────────────────────────────────────────────────────────────
   4. REVEAL ANIMATIONS
───────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }


/* ─────────────────────────────────────────────────────────────
   5. PROGRESS BAR
───────────────────────────────────────────────────────────── */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--accent); z-index: 200;
  width: 0%; transition: width 0.1s linear;
}


/* ─────────────────────────────────────────────────────────────
   6. NAV
───────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 40px;
  background: rgba(12, 12, 12, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--dark-text);
  letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dark-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--dark-text); }


/* ─────────────────────────────────────────────────────────────
   7. HERO
───────────────────────────────────────────────────────────── */
.hero {
  padding: 130px 40px 0;
  max-width: var(--wide);
  margin: 0 auto;
}
.hero-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-bottom: 28px;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--dark-muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 56px;
}
.hero-image {
  width: 100%;
  height: 520px;
  background: var(--dark-surface);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--dark-border);
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image .img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
}
.hero-image .img-placeholder svg { opacity: 0.15; color: var(--dark-text); }
.hero-image .img-placeholder span {
  font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--dark-muted);
  text-align: center;
}


/* ─────────────────────────────────────────────────────────────
   8. META BAR
───────────────────────────────────────────────────────────── */
.meta-bar {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 40px;
  border-bottom: 1px solid var(--dark-border);
}
.meta-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.meta-item {
  padding: 40px 0;
  border-right: 1px solid var(--dark-border);
  padding-right: 32px;
}
.meta-item:not(:first-child) { padding-left: 32px; }
.meta-item:last-child { border-right: none; }
.meta-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.meta-value {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--dark-text);
}
.meta-sub {
  font-size: 0.78rem;
  color: var(--dark-muted);
  margin-top: 4px;
}


/* ─────────────────────────────────────────────────────────────
   9. SECTIONS
───────────────────────────────────────────────────────────── */
section {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 88px 40px;
  border-bottom: 1px solid var(--dark-border);
}
section:last-of-type { border-bottom: none; }

.section-number {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.section-body {
  max-width: var(--max);
  color: var(--dark-muted);
  font-size: 1rem;
  line-height: 1.8;
}
.section-body p + p { margin-top: 1.1em; }
.section-body strong { color: var(--dark-text); font-weight: 500; }

/* Extra top spacing — used instead of inline style="margin-top: 48px" */
.section-body.mt-48 { margin-top: 48px; }


/* ─────────────────────────────────────────────────────────────
   10. LAYOUTS
───────────────────────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 48px;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--dark-border);
  border: 1px solid var(--dark-border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 40px;
}
.image-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.image-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.image-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}


/* ─────────────────────────────────────────────────────────────
   11. IMAGE BOXES
───────────────────────────────────────────────────────────── */
.img-box {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
/* When an actual <img> is present, let the image define the height naturally */
.img-box:has(img) { aspect-ratio: auto; }
.img-box img { width: 100%; height: auto; display: block; object-fit: initial; cursor: zoom-in; }
.img-box .ph {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: var(--dark-muted);
  font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; opacity: 0.55;
  padding: 20px; text-align: center;
}
/* Aspect-ratio fallbacks — only apply when no real image is present */
.img-box-tall   { aspect-ratio: 4/5; }
.img-box-wide   { aspect-ratio: 16/9; }
.img-box-sq     { aspect-ratio: 1/1; }
.img-box-screen { aspect-ratio: 16/10; }

/* Spacing utility — used instead of inline style="margin-top: 16px" */
.img-box.mt-16 { margin-top: 16px; }

.img-caption {
  font-size: 0.75rem;
  color: var(--dark-muted);
  margin-top: 10px;
  font-style: italic;
}


/* ─────────────────────────────────────────────────────────────
   12. PULL QUOTE
───────────────────────────────────────────────────────────── */
.pull-quote {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 28px;
  margin: 40px 0;
}
.pull-quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: var(--dark-text);
  margin-bottom: 14px;
}
.pull-quote cite {
  font-size: 0.78rem;
  font-style: normal;
  color: var(--dark-muted);
  letter-spacing: 0.06em;
}
.pull-quote cite strong { color: var(--dark-text); font-weight: 500; }


/* ─────────────────────────────────────────────────────────────
   13. STAT COMPARISON
───────────────────────────────────────────────────────────── */
.stat-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--dark-border);
  border: 1px solid var(--dark-border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 40px;
}
.stat-group {
  padding: 32px;
  background: var(--dark-surface);
}
.stat-group.after { background: var(--dark-bg); }
.stat-group-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--dark-muted);
}
.stat-group.after .stat-group-label { color: var(--accent); }
.stat-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--dark-border);
}
.stat-row:last-child { border-bottom: none; }
.stat-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  min-width: 64px;
  color: var(--dark-muted);
}
.stat-group.after .stat-num { color: var(--accent); }
.stat-desc { font-size: 0.85rem; color: var(--dark-muted); line-height: 1.55; }


/* ─────────────────────────────────────────────────────────────
   14. INSIGHT CARDS
───────────────────────────────────────────────────────────── */
.insight-card {
  background: var(--dark-surface);
  padding: 32px 28px;
}
.insight-card .icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--dark-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}
.insight-card h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--dark-text);
}
.insight-card p {
  font-size: 0.88rem;
  color: var(--dark-muted);
  line-height: 1.75;
}

/* User quote — sits inside insight cards as supporting evidence.
   Deliberately quieter than .pull-quote: no accent border, smaller
   type, muted colour. Chunks info without competing with headings. */
.user-quote {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--dark-border);
  padding-left: 14px;
  border-left: 2px solid var(--dark-border);
}
.user-quote p {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.65;
  color: #888;     /* slightly lighter than --dark-muted to step down the hierarchy */
  margin-bottom: 8px;
}
.user-quote cite {
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-muted);
}


/* ─────────────────────────────────────────────────────────────
   15. PERSONA CARDS
───────────────────────────────────────────────────────────── */
.persona-card {
  border: 1px solid var(--dark-border);
  border-radius: 2px;
  padding: 32px 24px;
  background: var(--dark-surface);
}
.persona-card .persona-badge {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.persona-card h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 5px;
  color: var(--dark-text);
}
.persona-card .persona-role {
  font-size: 0.78rem;
  color: var(--dark-muted);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.persona-card .persona-detail {
  font-size: 0.88rem;
  color: var(--dark-muted);
  line-height: 1.75;
}
.persona-card .persona-goal {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--dark-border);
  font-size: 0.85rem;
}
.persona-card .persona-goal strong {
  color: var(--accent);
  font-weight: 400;
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.persona-card .persona-goal p,
.persona-card .persona-goal span {
  color: var(--dark-muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}


/* ─────────────────────────────────────────────────────────────
   16. PROBLEM STATEMENT
───────────────────────────────────────────────────────────── */
.problem-statement {
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 2px;
  padding: 48px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}
.problem-statement::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
}
.problem-statement .ps-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.problem-statement p {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: var(--dark-text);
}


/* ─────────────────────────────────────────────────────────────
   17. METRICS
───────────────────────────────────────────────────────────── */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--dark-border);
  border: 1px solid var(--dark-border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 40px;
}
.metric {
  background: var(--dark-surface);
  padding: 40px 28px;
  text-align: center;
}
.metric-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.metric-label {
  font-size: 0.85rem;
  color: var(--dark-muted);
  line-height: 1.55;
}


/* ─────────────────────────────────────────────────────────────
   18. IMPACT LIST
───────────────────────────────────────────────────────────── */
.impact-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.impact-list li {
  padding-left: 22px;
  position: relative;
  font-size: 0.97rem;
  color: var(--dark-muted);
  line-height: 1.7;
}
.impact-list li::before {
  content: '';
  position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}


/* ─────────────────────────────────────────────────────────────
   19. TAKEAWAYS
───────────────────────────────────────────────────────────── */
.takeaway-list {
  display: flex; flex-direction: column; gap: 0;
  margin-top: 36px;
  border: 1px solid var(--dark-border);
  border-radius: 2px;
  overflow: hidden;
}
.takeaway {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0;
  align-items: start;
  border-bottom: 1px solid var(--dark-border);
  transition: background 0.2s ease;
}
.takeaway:last-child { border-bottom: none; }
.takeaway:hover { background: var(--dark-surface); }
.takeaway-num {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1.3;
  padding: 28px 0 28px 24px;
}
.takeaway-body {
  padding: 28px 28px 28px 16px;
  border-left: 1px solid var(--dark-border);
}
.takeaway-body h4 {
  font-weight: 500;
  font-size: 0.97rem;
  margin-bottom: 8px;
  color: var(--dark-text);
}
.takeaway-body p {
  font-size: 0.9rem;
  color: var(--dark-muted);
  line-height: 1.75;
}


/* ─────────────────────────────────────────────────────────────
   20. SOLUTION
   Feature headings + body text inside the Solution section.
   These classes replace the inline style="" attributes that
   were previously on <h3> and <p> elements in that section.
───────────────────────────────────────────────────────────── */
.solution-h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--dark-text);
}
.solution-p {
  color: var(--dark-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}
.solution-p strong { color: var(--dark-text); }

/* Small two-column grid used inside the solution section */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: var(--max);
}
.feature-label {
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--dark-text);
}
.feature-detail {
  color: var(--dark-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

/* Spacing utilities — used instead of inline style="margin-top/bottom" on elements */
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }


/* ─────────────────────────────────────────────────────────────
   21. NEXT PROJECT
───────────────────────────────────────────────────────────── */
.next-project {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 88px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--dark-border);
}
.next-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-muted);
  margin-bottom: 10px;
}
.next-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--dark-text);
}
.btn-next {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  border: 1px solid var(--dark-border);
  color: var(--dark-text);
  text-decoration: none;
  padding: 14px 28px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn-next:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-next:hover svg { transform: translateX(4px); }
.btn-next svg { transition: transform 0.2s; }


/* ─────────────────────────────────────────────────────────────
   22. FOOTER
───────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--dark-border);
  padding: 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--wide);
  margin: 0 auto;
}
footer span { font-size: 0.75rem; color: var(--dark-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 0.75rem; color: var(--dark-muted);
  text-decoration: none; transition: color 0.2s;
  letter-spacing: 0.06em;
}
.footer-links a:hover { color: var(--dark-text); }


/* ─────────────────────────────────────────────────────────────
   23a. TWO-COL VARIANTS
───────────────────────────────────────────────────────────── */
/* 2/3 left, 1/3 right — used for original-design vs gcal comparison */
.two-col-2-1 { grid-template-columns: 2fr 1fr; }

/* ─────────────────────────────────────────────────────────────
   23b. LIGHTBOX
───────────────────────────────────────────────────────────── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 80px rgba(0,0,0,0.8);
  cursor: default;
}
.lightbox-close {
  position: fixed;
  top: 20px; right: 24px;
  background: none;
  border: 1px solid var(--dark-border);
  color: var(--dark-text);
  font-size: 1.2rem;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  z-index: 1001;
}
.lightbox-close:hover { background: var(--accent); border-color: var(--accent); }


/* ─────────────────────────────────────────────────────────────
   23. RESPONSIVE
───────────────────────────────────────────────────────────── */
@media (max-width: 820px) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
  nav { padding: 16px 24px; }
  section { padding: 56px 24px; }
  .hero { padding: 100px 24px 0; }
  .meta-bar { padding: 0 24px; }
  .meta-bar-inner { grid-template-columns: 1fr 1fr; }
  .meta-item { padding: 24px 0; }
  .meta-item:nth-child(2n) { border-right: none; padding-left: 20px; }
  .meta-item:nth-child(2n+1) { padding-left: 0; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .two-col-2-1 { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .metrics-row { grid-template-columns: 1fr 1fr; }
  .stat-comparison { grid-template-columns: 1fr; gap: 1px; }
  .image-grid-2, .image-grid-3 { grid-template-columns: 1fr; }
  .problem-statement { padding: 32px 24px 32px 36px; }
  .next-project { grid-template-columns: 1fr; padding: 56px 24px; }
  footer { flex-direction: column; gap: 16px; padding: 28px 24px; }
  .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .metrics-row { grid-template-columns: 1fr; }
}
