/* ============ Paulson Development — Product Catalog ============ */
/* Scroll-stacked full-screen panels; each product wears its own brand. */
:root {
  --bg: #0a0a0a;
  --line: #26282c;
  --text: #e8e6e1;
  --text-dim: #9a978f;
  --tan: #c2a878;
  --tan-bright: #d9c39a;
  --teal-bright: #35a3cc;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --cond: 'Oswald', 'Arial Narrow', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ============ Floating chrome ============ */
.chrome {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 28px; pointer-events: none;
}
.chrome a { pointer-events: auto; }
.chrome-brand {
  font-family: var(--mono); font-weight: 600; font-size: 13px;
  letter-spacing: 0.14em; color: #fff;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(10px);
  padding: 9px 14px; border: 1px solid rgba(255,255,255,0.14);
}
.chrome-brand span { color: var(--tan); }
.chrome-contact {
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em;
  color: #000; background: var(--tan); padding: 10px 16px;
  transition: background .15s;
}
.chrome-contact:hover { background: var(--tan-bright); }
.chrome-right { display: flex; align-items: center; gap: 10px; pointer-events: auto; }
.theme-toggle {
  font-size: 16px; line-height: 1; width: 38px; height: 38px;
  background: rgba(0,0,0,0.55); color: #fff; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(10px);
  transition: border-color .15s, color .15s;
}
.theme-toggle:hover { border-color: var(--tan); color: var(--tan); }
.logo-on-light { display: none; }

/* Right rail — square dots with text labels to their left; active label enlarges */
.rail {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%);
  z-index: 500; display: flex; flex-direction: column; gap: 11px;
}
.rail a {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  color: rgba(255,255,255,0.42);
  text-shadow: 0 1px 10px rgba(0,0,0,0.55);
  transition: color .2s;
}
.rail .lbl {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase; white-space: nowrap;
  line-height: 1.3; transition: font-size .2s;
}
.rail .dot {
  width: 8px; height: 8px; flex: none;
  border: 1px solid rgba(255,255,255,0.6); background: rgba(0,0,0,0.3);
  transition: all .2s;
}
.rail a:hover { color: rgba(255,255,255,0.8); }
.rail a.active { color: #fff; }
.rail a.active .lbl { font-size: 14.5px; font-weight: 700; }
.rail a.active .dot { background: var(--tan); border-color: var(--tan); transform: scale(1.3); }
.rail.on-light a { color: rgba(20,20,18,0.45); text-shadow: none; }
.rail.on-light a:hover { color: rgba(20,20,18,0.8); }
.rail.on-light a.active { color: #1a1a17; }
.rail.on-light .dot { border-color: rgba(20,20,18,0.5); background: rgba(255,255,255,0.4); }
.rail.on-light a.active .dot { background: var(--tan); border-color: var(--tan); }

/* ============ Stack machinery ============ */
.stack { position: relative; }
.panel {
  position: sticky; top: 0;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  transform-origin: center top;
  will-change: transform, filter;
}
.panel-inner {
  width: 100%; max-width: 1280px; margin: 0 auto;
  padding: 96px 56px 72px;
  display: grid; grid-template-columns: minmax(380px, 44%) 1fr;
  gap: 56px; align-items: center;
}
.panel-inner.wide { grid-template-columns: 1fr; max-width: 1280px; }

.p-index {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em;
  opacity: 0.55; margin-bottom: 18px;
}
.p-kicker {
  display: inline-block; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  padding: 6px 11px; margin-bottom: 22px; border: 1px solid currentColor;
}
.p-logo { height: 44px; width: auto; margin-bottom: 20px; }
.p-title {
  font-size: clamp(36px, 4.2vw, 58px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.02; margin-bottom: 16px;
}
.p-tagline { font-size: 18px; font-weight: 600; margin-bottom: 14px; }
.p-desc { font-size: 15.5px; margin-bottom: 22px; opacity: 0.82; max-width: 520px; }
.p-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.p-chips span {
  font-family: var(--mono); font-size: 12px; padding: 5px 11px;
  border: 1px solid currentColor; opacity: 0.75;
}
.p-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.p-btn {
  display: inline-block; padding: 14px 28px; font-weight: 700; font-size: 15px;
  transition: transform .15s, opacity .15s;
}
.p-btn:hover { transform: translateY(-2px); }
.p-link { font-weight: 600; font-size: 14.5px; opacity: 0.8; border-bottom: 1px solid currentColor; }
.p-link:hover { opacity: 1; }
.p-note {
  font-family: var(--mono); font-size: 13px; opacity: 0.75;
  border: 1px dashed currentColor; padding: 12px 18px; display: inline-block;
}

/* Media: browser frame */
.frame {
  border: 1px solid rgba(0,0,0,0.25);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  background: #101012;
}
.frame-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; font-family: var(--mono); font-size: 11.5px;
  background: #1a1a1e; color: #9a9aa2; border-bottom: 1px solid #26262c;
}
.frame-bar i {
  width: 9px; height: 9px; border-radius: 50%; background: #3a3a42; display: inline-block;
}
.frame-bar i:nth-child(1) { background: #f45; }
.frame-bar i:nth-child(2) { background: #fb3; }
.frame-bar i:nth-child(3) { background: #4c5; }
.frame-bar b { font-weight: 500; margin-left: 8px; color: #c6c6cc; }
.frame img { width: 100%; }
.frame iframe {
  width: 100%; height: min(62vh, 640px); border: 0; display: block; background: #fff;
}

/* ============ HERO ============ */
.panel.hero {
  background:
    linear-gradient(rgba(10,10,10,0.55), var(--bg) 88%),
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(194,168,120,0.06) 48px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(194,168,120,0.06) 48px);
  color: var(--text);
}
.hero .panel-inner { display: block; max-width: 1100px; text-align: left; }
.hero-kicker { font-family: var(--mono); color: var(--teal-bright); font-size: 14px; letter-spacing: 0.08em; margin-bottom: 22px; }
.hero h1 { font-size: clamp(42px, 6.5vw, 84px); line-height: 1.02; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--tan); }
.hero-sub { max-width: 620px; color: var(--text-dim); font-size: 18px; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 1px; background: var(--line); border: 1px solid var(--line); flex-wrap: wrap; max-width: 860px; }
.hero-stats .stat { background: #111214; padding: 18px 26px; flex: 1 1 180px; }
.stat-num { display: block; font-family: var(--mono); font-size: 28px; font-weight: 600; color: var(--tan); line-height: 1.1; margin-bottom: 4px; }
.stat-label { font-size: 12.5px; color: var(--text-dim); }
.hero-scroll {
  margin-top: 52px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.14em;
  color: var(--text-dim); animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ============ OVERVIEW — career story ============ */
.panel.overview {
  position: static; min-height: 0;
  background: #111214; color: var(--text);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.panel.overview .panel-inner { display: block; padding: 88px 56px; }
.panel.overview .p-kicker { color: var(--teal-bright); margin-bottom: 16px; }
.ov-name { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 10px; }
.ov-title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; margin-bottom: 34px; }
.ov-title em { font-style: normal; color: var(--tan); }
.ov-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 52px; margin-bottom: 44px; }
.ov-story p { color: var(--text-dim); font-size: 15.5px; margin-bottom: 16px; }
.ov-how h4, .ov-cap h4, .ov-clients-label {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--tan); font-weight: 600; margin-bottom: 10px;
}
.ov-how { margin-top: 26px; }
.ov-how ul { list-style: none; }
.ov-how li {
  padding: 6px 0 6px 26px; position: relative; color: var(--text-dim); font-size: 14.5px;
}
.ov-how li::before { content: '→'; position: absolute; left: 0; color: var(--tan); }
.ov-caps { display: flex; flex-direction: column; gap: 22px; }
.ov-cap { border-left: 2px solid var(--tan); padding-left: 18px; }
.ov-cap p { color: var(--text-dim); font-size: 14px; }
.ov-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 36px;
}
.ov-stats .stat { background: #0a0a0a; padding: 20px 24px; }
.ov-clients-label { margin-bottom: 8px; }
.ov-clients { color: var(--text-dim); font-size: 14.5px; max-width: 980px; }

/* ============ 01 · ENTERPRISE MODULAR PLATFORM — corporate navy ============ */
.panel.enterprise {
  background: linear-gradient(155deg, #0c2233 0%, #1B4F72 70%, #17608a 100%);
  color: #f2f7fa;
}
.panel.enterprise .p-kicker { color: #1ABC9C; }
.panel.enterprise .p-tagline { color: #7fd4f5; }
.panel.enterprise .p-btn { background: #1ABC9C; color: #04222e; }
.panel.enterprise .p-chips span { border-color: rgba(255,255,255,0.35); }

/* Screenshot carousel — slides sweep in from the right, out to the left */
.carousel { position: relative; }
.carousel .slides { position: relative; overflow: hidden; height: clamp(300px, 27vw, 480px); }
.carousel .slide {
  position: absolute; inset: 0;
  transform: translateX(106%);
  transition: transform .65s cubic-bezier(.4, 0, .2, 1);
}
.carousel .slide.active { transform: translateX(0); }
.carousel .slide.prev { transform: translateX(-106%); }
.carousel .slide .frame { height: 100%; display: flex; flex-direction: column; }
.carousel .slide .frame img {
  flex: 1; min-height: 0; width: 100%;
  object-fit: contain; object-position: center; background: #fff;
}
.c-prev, .c-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 36px; height: 36px; font-size: 20px; line-height: 1; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.3); background: rgba(0,0,0,0.5); color: #fff;
  transition: background .15s; opacity: 0;
}
.carousel:hover .c-prev, .carousel:hover .c-next { opacity: 1; }
.c-prev:hover, .c-next:hover { background: rgba(0,0,0,0.8); }
.c-prev { left: 10px; }
.c-next { right: 10px; }
.c-dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.c-dots button {
  width: 9px; height: 9px; padding: 0; cursor: pointer;
  border: 1px solid currentColor; background: transparent; opacity: 0.4;
}
.c-dots button.on { background: var(--tan); border-color: var(--tan); opacity: 1; }
.shot-note {
  font-family: var(--mono); font-size: 10.5px; opacity: 0.55;
  margin-top: 10px; letter-spacing: 0.06em; text-transform: uppercase; text-align: center;
}
@media (max-width: 900px) {
  .carousel .slides { height: 62vw; }
  .c-prev, .c-next { opacity: 1; }
}

/* ============ 02 · DATAVISIONS PLATFORM — house black/tan ============ */
.panel.dvplatform { background: #0a0a0a; color: var(--text); border-top: 1px solid #1c1c1f; }
.panel.dvplatform .p-kicker { color: var(--tan); }
.panel.dvplatform .p-tagline { color: var(--tan-bright); }
.panel.dvplatform .p-btn { background: var(--tan); color: #000; }

/* ============ 04 · AI ORCHESTRATION — indigo violet ============ */
.panel.orchestration {
  background:
    linear-gradient(rgba(12,10,26,0.88), rgba(12,10,26,0.92)),
    url('../assets/screenshots/orchestration-hero-bg.jpg') center/cover;
  color: #eceafd;
}
.panel.orchestration .p-kicker { color: #a78bfa; }
.panel.orchestration .p-tagline { color: #c4b5fd; }
.panel.orchestration .p-btn { background: #7c5cfa; color: #fff; }

/* ============ 05 · CHITTY — zinc + electric blue ============ */
.panel.chitty { background: #09090b; color: #fafafa; border-top: 1px solid #1c1c20; }
.panel.chitty .p-kicker { color: #06b6d4; }
.panel.chitty .p-tagline { color: #60a5fa; }
.panel.chitty .p-btn { background: #3b82f6; color: #fff; }

/* ============ 06 · PROOF — white / black / red ============ */
.panel.proof { background: #ffffff; color: #1d1c18; }
.panel.proof .p-index { color: #9E1B22; opacity: 1; }
.panel.proof .p-kicker { color: #9E1B22; border-color: #9E1B22; }
.panel.proof .p-title {
  font-family: var(--cond); text-transform: uppercase; font-weight: 700;
  letter-spacing: 0.01em;
}
.panel.proof .p-tagline { color: #9E1B22; font-family: var(--cond); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.panel.proof .p-btn { background: #1d1c18; color: #fff; }
.panel.proof .p-chips span { font-weight: 600; }
.panel.proof .frame { box-shadow: 0 30px 80px rgba(0,0,0,0.22); }

/* ============ 07 · OPENROAM — night drive ============ */
.panel.openroam {
  background: linear-gradient(170deg, #0b1526 0%, #0d1b2a 55%, #10263f 100%);
  color: #e8eef7;
}
.phone-row { display: flex; gap: 20px; justify-content: center; align-items: flex-start; }
.phone {
  flex: 1 1 0; max-width: 220px;
  border: 5px solid #223349; border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  background: #000;
}
.phone:nth-child(2) { margin-top: 34px; }
.phone img { width: 100%; display: block; }
@media (max-width: 900px) {
  .phone-row { flex-wrap: nowrap; gap: 12px; }
  .phone { max-width: none; }
  .phone:nth-child(2) { margin-top: 0; }
}
.panel.openroam .p-kicker { color: #4f9cf9; }
.panel.openroam .p-tagline { color: #8ec1ff; }
.panel.openroam .p-btn { background: #2f81f7; color: #fff; border-radius: 999px; }

/* ============ 08 · CNC — industrial orange ============ */
.panel.cnc { background: #0d0d0d; color: #eee; border-top: 1px solid #222; }
.panel.cnc .p-index, .panel.cnc .p-kicker { color: #ff6a00; border-color: #ff6a00; opacity: 1; }
.panel.cnc .p-title { font-family: var(--mono); font-weight: 700; letter-spacing: -0.01em; }
.panel.cnc .p-tagline { color: #ff9a4d; }
.panel.cnc .p-btn { background: #ff6a00; color: #000; }

/* ============ 09 · TIME TRACKER — paper ledger ============ */
.panel.timer { background: #f5f1e8; color: #1a1a17; }
.panel.timer .p-kicker { color: #6b6553; }
.panel.timer .p-tagline { color: #6b6553; }
.panel.timer .p-btn { background: #1a1a17; color: #f5f1e8; }
.panel.timer .frame { box-shadow: 0 30px 80px rgba(26,26,23,0.18); }

/* ============ CONTACT ============ */
.panel.contact { background: var(--bg); color: var(--text); border-top: 1px solid var(--line); }
.panel.contact .panel-inner { display: block; text-align: center; max-width: 900px; }
.panel.contact h2 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; letter-spacing: -0.02em; }
.panel.contact p { color: var(--text-dim); margin: 16px 0 38px; font-size: 17px; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: var(--tan); color: #000; padding: 14px 28px; font-weight: 700; }
.btn-primary:hover { background: var(--tan-bright); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); padding: 14px 28px; font-weight: 600; }
.btn-ghost:hover { border-color: var(--tan); color: var(--tan); }
.contact-foot { margin-top: 70px; font-family: var(--mono); font-size: 12px; color: var(--text-dim); }

/* Rail needs side room — hide when panels' content would collide */
@media (max-width: 1240px) {
  .rail { display: none; }
}
@media (min-width: 1241px) {
  .panel-inner { padding-right: 224px; }
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .panel { position: static; min-height: 0; }
  .panel-inner { grid-template-columns: 1fr; gap: 30px; padding: 64px 22px 56px; }
  .p-desc { max-width: none; }
  .rail { display: none; }
  .frame iframe { height: 60vh; }
  .hero.panel { min-height: 100vh; display: flex; align-items: center; }
  /* Chrome scrolls away instead of overlaying every section */
  .chrome { position: absolute; padding: 14px 16px; }
  .chrome-brand { font-size: 11px; padding: 7px 10px; }
  .chrome-contact { font-size: 11px; padding: 8px 11px; }
  .theme-toggle { width: 33px; height: 33px; font-size: 14px; }
  .hero-inner { padding-top: 40px; }
  /* Overview collapses to a single column */
  .ov-grid { grid-template-columns: 1fr; gap: 30px; }
  .panel.overview .panel-inner { padding: 64px 22px; }
  .ov-title { margin-bottom: 24px; }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .p-title { font-size: clamp(30px, 8vw, 40px); }
}
@media (max-width: 480px) {
  body { overflow-x: hidden; }
  .chrome { padding: 12px 12px; }
  .chrome-brand { font-size: 10px; padding: 7px 8px; letter-spacing: 0.08em; }
  .chrome-right { gap: 7px; }
  .chrome-contact { font-size: 10px; padding: 8px 9px; letter-spacing: 0.03em; }
  .theme-toggle { width: 30px; height: 30px; font-size: 13px; }
}

/* ============================================================
   LIGHT THEME — toggled via data-theme="light" on <html>
   Product-brand panels keep their identity in softened tones;
   PROOF and Time Tracker are already light and stay unchanged.
   ============================================================ */
:root[data-theme="light"] {
  --bg: #f5f2ec;
  --bg-raise: #efece5;
  --bg-card: #fbf9f5;
  --line: #ddd6c8;
  --text: #1a1a17;
  --text-dim: #5f5a4d;
  --tan: #a8895a;
  --tan-bright: #8a6f42;
  --teal-bright: #0e6a8e;
}
[data-theme="light"] body { background: var(--bg); color: var(--text); }

/* Chrome + rail */
[data-theme="light"] .chrome-brand {
  background: rgba(255,255,255,0.75); color: #1a1a17;
  border-color: rgba(0,0,0,0.15);
}
[data-theme="light"] .theme-toggle {
  background: rgba(255,255,255,0.75); color: #1a1a17; border-color: rgba(0,0,0,0.2);
}
[data-theme="light"] .chrome-contact { color: #fff; }

/* Logo swap */
[data-theme="light"] .logo-on-dark { display: none; }
[data-theme="light"] .logo-on-light { display: block; }

/* Hero */
[data-theme="light"] .panel.hero {
  background:
    linear-gradient(rgba(245,242,236,0.5), var(--bg) 88%),
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(140,110,60,0.09) 48px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(140,110,60,0.09) 48px);
  color: var(--text);
}

/* Overview */
[data-theme="light"] .panel.overview { background: #efece5; }
[data-theme="light"] .ov-stats .stat { background: #faf8f3; }

/* Enterprise Modular Platform — soft daylight blue */
[data-theme="light"] .panel.enterprise {
  background: linear-gradient(155deg, #ddedf7 0%, #c8dff0 70%, #bcd9ee 100%);
  color: #0c2233;
}
[data-theme="light"] .panel.enterprise .p-kicker { color: #0b7f68; }
[data-theme="light"] .panel.enterprise .p-tagline { color: #17608a; }
[data-theme="light"] .panel.enterprise .p-chips span { border-color: rgba(12,34,51,0.3); }

/* DataVisions Platform */
[data-theme="light"] .panel.dvplatform { background: var(--bg); color: var(--text); border-top-color: var(--line); }
[data-theme="light"] .panel.dvplatform .p-tagline { color: var(--tan-bright); }

/* AI Orchestration — pale lavender */
[data-theme="light"] .panel.orchestration {
  background:
    linear-gradient(rgba(240,238,250,0.93), rgba(240,238,250,0.96)),
    url('../assets/screenshots/orchestration-hero-bg.jpg') center/cover;
  color: #221a4a;
}
[data-theme="light"] .panel.orchestration .p-kicker { color: #6d28d9; }
[data-theme="light"] .panel.orchestration .p-tagline { color: #6d28d9; }

/* Chitty — clean zinc-light */
[data-theme="light"] .panel.chitty { background: #f6f7f9; color: #131316; border-top-color: #e3e4e8; }
[data-theme="light"] .panel.chitty .p-kicker { color: #0891b2; }
[data-theme="light"] .panel.chitty .p-tagline { color: #2563eb; }

/* OpenRoam — morning drive */
[data-theme="light"] .panel.openroam {
  background: linear-gradient(170deg, #e9f1fb 0%, #dce9f8 55%, #d2e3f6 100%);
  color: #0d1b2a;
}
[data-theme="light"] .panel.openroam .p-kicker { color: #1d6fe0; }
[data-theme="light"] .panel.openroam .p-tagline { color: #1d6fe0; }
[data-theme="light"] .phone { border-color: #b9cee5; box-shadow: 0 24px 60px rgba(13,27,42,0.22); }

/* CNC — workshop gray, orange stays */
[data-theme="light"] .panel.cnc { background: #f0efec; color: #1a1a17; border-top-color: #ddd9d2; }
[data-theme="light"] .panel.cnc .p-tagline { color: #d45800; }
[data-theme="light"] .panel.cnc .p-index, [data-theme="light"] .panel.cnc .p-kicker { color: #d45800; border-color: #d45800; }

/* Contact + footer */
[data-theme="light"] .panel.contact { background: var(--bg); color: var(--text); border-top-color: var(--line); }
[data-theme="light"] .btn-primary { color: #fff; }
[data-theme="light"] .btn-ghost { color: var(--text); border-color: #c9c1b0; }

/* Frames cast lighter shadows on light panels */
[data-theme="light"] .frame { box-shadow: 0 24px 60px rgba(30,25,15,0.18); border-color: rgba(0,0,0,0.12); }

/* Lightbox stays dark in both themes for image contrast */
