/* ============================================================
   ZackProject design system — calm, futuristic, animated.
   Tokens first; components below. Theme colors can be overridden
   by inline CSS variables injected from admin settings.
   ============================================================ */

:root {
  /* Color tokens */
  --bg: #050B12;
  --bg-2: #07131F;
  --surface: #0D1B2A;
  --surface-2: #10263A;
  --primary: #12B886;
  --accent: #38BDF8;
  --violet: #7C3AED;
  --warm: #F2C94C;
  --text: #EDF4F1;
  --muted: #8FA3AD;
  --hairline: rgba(143, 163, 173, 0.16);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--primary), var(--accent));
  --grad-deep: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  --grad-card: linear-gradient(160deg, rgba(18, 184, 134, 0.09), rgba(56, 189, 248, 0.05) 45%, rgba(124, 58, 237, 0.07));

  /* Radius / shadows / spacing / type */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;
  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 40px rgba(18, 184, 134, 0.18);
  --sp-1: 8px;
  --btn-ink: #052018;
  --header-bg: rgba(5, 11, 18, 0.72);
  --footer-bg: rgba(5, 11, 18, 0.85);
  --band-bg: rgba(13, 27, 42, 0.45);
  --empty-bg: rgba(13, 27, 42, 0.5);
  --focus-glow: 0 0 0 3px rgba(18, 184, 134, 0.18);
  --sp-2: 14px; --sp-3: 22px; --sp-4: 34px; --sp-5: 56px; --sp-6: 90px;
  --fs-sm: 0.875rem; --fs-base: 1.0rem; --fs-lg: 1.2rem;
  --fs-xl: 1.55rem; --fs-2xl: 2.1rem; --fs-hero: clamp(2.1rem, 5vw, 3.4rem);

  /* Motion */
  --dur-fast: 180ms; --dur-base: 320ms; --dur-slow: 700ms;
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
  --float-amp: 12px;          /* animation intensity scales this */
  --reveal-shift: 26px;
}

body.anim-low  { --float-amp: 5px;  --reveal-shift: 12px; }
body.anim-high { --float-amp: 20px; --reveal-shift: 40px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--grad-deep);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.muted { color: var(--muted); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 var(--sp-2); font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
.lead { color: var(--muted); font-size: var(--fs-lg); max-width: 46rem; }

/* ---------- Decorative: floating gradient orbs ---------- */
.orbs { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  animation: orbDrift 22s var(--ease) infinite alternate;
}
.orb-a { width: 480px; height: 480px; top: -140px; right: -100px;
  background: radial-gradient(circle, rgba(18,184,134,0.5), transparent 65%); }
.orb-b { width: 420px; height: 420px; bottom: -160px; left: -120px;
  background: radial-gradient(circle, rgba(124,58,237,0.42), transparent 65%);
  animation-delay: -8s; animation-duration: 28s; }
.orb-c { width: 300px; height: 300px; top: 42%; left: 55%;
  background: radial-gradient(circle, rgba(56,189,248,0.32), transparent 65%);
  animation-delay: -14s; animation-duration: 26s; }
@keyframes orbDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(calc(var(--float-amp) * 3), calc(var(--float-amp) * 2), 0) scale(1.08); }
}

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.15rem; color: var(--text); letter-spacing: 0.03em; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: var(--fs-sm); font-weight: 600; }
.nav-links a { color: var(--muted); transition: color var(--dur-fast) var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 26px; border-radius: var(--r-pill);
  background: var(--grad-brand); color: var(--btn-ink) !important;
  font-weight: 700; font-size: var(--fs-sm); border: 0; cursor: pointer;
  box-shadow: var(--shadow-glow);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 55px rgba(18, 184, 134, 0.3); }
.btn.ghost {
  background: transparent; color: var(--text) !important;
  border: 1px solid var(--hairline); box-shadow: none;
}
.btn.ghost:hover { border-color: var(--primary); box-shadow: var(--shadow-glow); }
.btn.small { padding: 8px 18px; }

/* ---------- Sections & reveal-on-scroll ---------- */
section { padding: var(--sp-6) 0; position: relative; }
.section-head { max-width: 620px; margin-bottom: var(--sp-4); }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--primary); margin-bottom: var(--sp-1);
}
.reveal { opacity: 0; transform: translateY(var(--reveal-shift)); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--sp-6) + 10px) 0 var(--sp-6); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--sp-5); align-items: center; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--r-pill);
  background: rgba(18, 184, 134, 0.1); border: 1px solid rgba(18, 184, 134, 0.3);
  color: var(--primary); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  margin-bottom: var(--sp-3);
}
.hero .kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 10px var(--primary); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.hero h1 {
  background: linear-gradient(100deg, var(--text) 30%, var(--accent) 65%, var(--primary));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-cta { display: flex; gap: 14px; margin-top: var(--sp-4); flex-wrap: wrap; }
.hero-art { position: relative; }
.hero-art img { width: 100%; filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.45)); animation: floatY 7s ease-in-out infinite; }
@keyframes floatY { 50% { transform: translateY(calc(var(--float-amp) * -1)); } }

/* ---------- Waves (SVG dividers) ---------- */
.wave { display: block; width: 100%; height: 90px; margin: -1px 0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--sp-3); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--grad-card), var(--surface);
  border: 1px solid var(--hairline); border-radius: var(--r-lg);
  padding: var(--sp-4); position: relative; overflow: hidden;
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(18, 184, 134, 0.45); box-shadow: var(--shadow-1), var(--shadow-glow); }
.card .ic {
  width: 52px; height: 52px; border-radius: var(--r-md); margin-bottom: var(--sp-2);
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(56, 189, 248, 0.1); border: 1px solid rgba(56, 189, 248, 0.25);
  transition: transform var(--dur-base) var(--ease);
}
.card:hover .ic { transform: scale(1.1) rotate(-4deg); }
.card .ic svg { width: 26px; height: 26px; }
.card p { color: var(--muted); font-size: var(--fs-sm); margin: 0; }

/* ---------- Project cards ---------- */
.pcard {
  display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--hairline); color: var(--text);
  transition: transform var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), box-shadow var(--dur-base) var(--ease);
}
.pcard:hover { transform: translateY(-8px); color: var(--text); border-color: rgba(56, 189, 248, 0.5); box-shadow: var(--shadow-1), 0 0 45px rgba(56, 189, 248, 0.14); }
.pcard .cover { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.pcard .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.pcard:hover .cover img { transform: scale(1.05); }
.pcard .body { padding: var(--sp-3); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard h3 { margin: 0; }
.pcard .tag { color: var(--muted); font-size: var(--fs-sm); margin: 0; flex: 1; }
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge {
  display: inline-block; padding: 3px 12px; border-radius: var(--r-pill);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  background: rgba(124, 58, 237, 0.14); color: #C4B5FD; border: 1px solid rgba(124, 58, 237, 0.35);
}
.badge.teal { background: rgba(18, 184, 134, 0.12); color: #6EE7C5; border-color: rgba(18, 184, 134, 0.35); }
.badge.blue { background: rgba(56, 189, 248, 0.12); color: #7DD3FC; border-color: rgba(56, 189, 248, 0.35); }
.badge.warm { background: rgba(242, 201, 76, 0.12); color: var(--warm); border-color: rgba(242, 201, 76, 0.35); }

/* Chips (tech stack) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 5px 14px; border-radius: var(--r-pill); font-size: 0.78rem; font-weight: 600;
  color: var(--muted); background: var(--surface-2); border: 1px solid var(--hairline);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.chip:hover { color: var(--text); border-color: var(--primary); }

/* ---------- Process timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--sp-2); counter-reset: step; }
.step { text-align: center; padding: var(--sp-3) var(--sp-1); border-radius: var(--r-md); border: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease); }
.step:hover { border-color: var(--hairline); background: rgba(16, 38, 58, 0.5); }
.step .n {
  counter-increment: step; width: 46px; height: 46px; margin: 0 auto var(--sp-2);
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--grad-brand); color: var(--btn-ink); font-weight: 800;
}
.step .n::before { content: counter(step); }
.step h3 { font-size: var(--fs-base); margin-bottom: 4px; }
.step p { font-size: 0.8rem; color: var(--muted); margin: 0; }

/* ---------- Empty state ---------- */
.empty {
  text-align: center; padding: var(--sp-5) var(--sp-3);
  border: 1px dashed rgba(143, 163, 173, 0.35); border-radius: var(--r-lg);
  background: var(--empty-bg);
}
.empty img { width: min(380px, 80%); margin-bottom: var(--sp-3); animation: floatY 8s ease-in-out infinite; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--r-lg); padding: var(--sp-5) var(--sp-4); text-align: center;
  background:
    radial-gradient(700px 240px at 20% 0%, rgba(56, 189, 248, 0.16), transparent 60%),
    radial-gradient(700px 240px at 85% 100%, rgba(124, 58, 237, 0.18), transparent 60%),
    var(--surface);
  border: 1px solid var(--hairline); overflow: hidden; position: relative;
}

/* ---------- Forms ---------- */
label { display: block; font-weight: 700; font-size: var(--fs-sm); margin: var(--sp-3) 0 6px; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="date"], input[type="number"], select, textarea {
  width: 100%; padding: 13px 16px; font: inherit; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--hairline); border-radius: var(--r-sm);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: var(--focus-glow);
}
textarea { resize: vertical; }
.field-error { color: #FCA5A5; font-size: var(--fs-sm); margin-top: 5px; }
.notice {
  padding: 14px 18px; border-radius: var(--r-md); font-weight: 600; margin-bottom: var(--sp-3);
  background: rgba(18, 184, 134, 0.12); border: 1px solid rgba(18, 184, 134, 0.4); color: #6EE7C5;
}
.notice.error { background: rgba(179, 57, 47, 0.14); border-color: rgba(179, 57, 47, 0.5); color: #FCA5A5; }

/* ---------- Project detail ---------- */
.detail-hero { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); margin-bottom: var(--sp-4); }
.detail-hero img { width: 100%; display: block; }
.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--sp-4); align-items: start; }
.side-card { position: sticky; top: 90px; }
.link-list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.link-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 16px; border-radius: var(--r-sm); border: 1px solid var(--hairline);
  color: var(--text); font-weight: 600; font-size: var(--fs-sm);
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.link-list a:hover { border-color: var(--primary); background: rgba(18, 184, 134, 0.07); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); }
.gallery img { border-radius: var(--r-md); border: 1px solid var(--hairline); transition: transform var(--dur-base) var(--ease); }
.gallery img:hover { transform: scale(1.03); }
.feature-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; align-items: baseline; color: var(--muted); }
.feature-list li::before { content: "◆"; color: var(--primary); font-size: 0.7rem; }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--hairline); background: var(--footer-bg); margin-top: var(--sp-6); }
footer.site .wrap { padding: var(--sp-5) 22px var(--sp-4); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-4); }
.foot-grid h3 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.foot-grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: var(--fs-sm); }
.foot-grid a { color: var(--muted); } .foot-grid a:hover { color: var(--text); }
.foot-note { margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid var(--hairline);
  color: var(--muted); font-size: 0.8rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .detail-grid { grid-template-columns: 1fr; }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .side-card { position: static; }
}
@media (max-width: 620px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  section { padding: var(--sp-5) 0; }
}

/* ---------- Reduced motion: calm everything ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Theme layers (ZP1.2)
   <html data-style="neon|mono" data-mode="dark|light">
   Neon dark = the base tokens above. The layers below override.
   ============================================================ */

/* ---------- Light mode (neon style) ---------- */
html[data-mode="light"] {
  --bg: #F4F7F6; --bg-2: #EDF2F0;
  --surface: #FFFFFF; --surface-2: #F0F4F3;
  --text: #14201D; --muted: #5A6B66;
  --hairline: rgba(20, 32, 29, 0.13);
  --header-bg: rgba(247, 250, 249, 0.82);
  --footer-bg: rgba(240, 245, 243, 0.95);
  --band-bg: rgba(18, 184, 134, 0.05);
  --empty-bg: rgba(255, 255, 255, 0.6);
  --shadow-1: 0 10px 30px rgba(20, 32, 29, 0.10);
  --shadow-glow: 0 0 30px rgba(18, 184, 134, 0.16);
  --grad-card: linear-gradient(160deg, rgba(18, 184, 134, 0.05), rgba(56, 189, 248, 0.03) 45%, rgba(124, 58, 237, 0.04));
}
html[data-mode="light"] .orb { opacity: 0.25; }
html[data-mode="light"] .hero-art img { filter: drop-shadow(0 20px 44px rgba(20, 32, 29, 0.18)); }
/* Dark-theme pastel text is unreadable on light backgrounds — darken it. */
html[data-mode="light"] .badge { background: rgba(124, 58, 237, 0.08); color: #6D28D9; }
html[data-mode="light"] .badge.teal { background: rgba(18, 184, 134, 0.10); color: #0B7A5C; }
html[data-mode="light"] .badge.blue { background: rgba(56, 189, 248, 0.14); color: #0369A1; }
html[data-mode="light"] .badge.warm { background: rgba(242, 201, 76, 0.18); color: #8A6510; }
html[data-mode="light"] .notice { color: #0B7A5C; }
html[data-mode="light"] .notice.error { color: #B3392F; }
html[data-mode="light"] .field-error { color: #B3392F; }
html[data-mode="light"] .hero .kicker { background: rgba(18, 184, 134, 0.08); }

/* ---------- Mono Premium (dark) — editorial black & white ---------- */
html[data-style="mono"] {
  --bg: #050505; --bg-2: #0A0A0A;
  --surface: #111111; --surface-2: #181818;
  --primary: #F5F5F5; --accent: #C9CDD3; --violet: #9CA3AF; --warm: #D4D4D4;
  --text: #F5F5F5; --muted: #A3A3A3;
  --hairline: #2A2A2A;
  --btn-ink: #0A0A0A;
  --header-bg: rgba(5, 5, 5, 0.78);
  --footer-bg: rgba(8, 8, 8, 0.92);
  --band-bg: rgba(255, 255, 255, 0.025);
  --empty-bg: rgba(17, 17, 17, 0.6);
  --grad-brand: linear-gradient(135deg, #FFFFFF, #C9CDD3);
  --grad-card: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  --shadow-glow: 0 0 30px rgba(255, 255, 255, 0.08);
  --focus-glow: 0 0 0 3px rgba(255, 255, 255, 0.14);
}
html[data-style="mono"] .btn:hover { box-shadow: 0 0 34px rgba(255, 255, 255, 0.16); }
html[data-style="mono"] .orb { opacity: 0.14; }
html[data-style="mono"] .orb-a, html[data-style="mono"] .orb-b, html[data-style="mono"] .orb-c {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent 65%);
}
html[data-style="mono"] .hero .kicker {
  background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); color: var(--text);
}
html[data-style="mono"] .hero .kicker::before { box-shadow: 0 0 8px rgba(255, 255, 255, 0.6); }
html[data-style="mono"] .badge, html[data-style="mono"] .badge.teal,
html[data-style="mono"] .badge.blue, html[data-style="mono"] .badge.warm {
  background: rgba(255, 255, 255, 0.06); color: var(--muted); border-color: var(--hairline);
}
html[data-style="mono"] .card:hover { border-color: rgba(255, 255, 255, 0.35); }
html[data-style="mono"] .pcard:hover { border-color: rgba(255, 255, 255, 0.4); box-shadow: var(--shadow-1); }
/* Subtle editorial grid texture instead of neon color */
html[data-style="mono"] body {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    var(--grad-deep);
  background-size: 56px 56px, 56px 56px, auto;
}

/* ---------- Mono Premium (light) ---------- */
html[data-style="mono"][data-mode="light"] {
  --bg: #F7F7F3; --bg-2: #F1F1EC;
  --surface: #FFFFFF; --surface-2: #F3F3EF;
  --primary: #111111; --accent: #3A3A3A; --violet: #6B6B6B; --warm: #4A4A4A;
  --text: #111111; --muted: #666666;
  --hairline: #E5E5E5;
  --btn-ink: #FAFAFA;
  --header-bg: rgba(247, 247, 243, 0.85);
  --footer-bg: rgba(241, 241, 236, 0.96);
  --band-bg: rgba(17, 17, 17, 0.025);
  --empty-bg: rgba(255, 255, 255, 0.7);
  --grad-brand: linear-gradient(135deg, #161616, #3A3A3A);
  --grad-card: linear-gradient(160deg, rgba(17, 17, 17, 0.02), rgba(17, 17, 17, 0.005));
  --shadow-1: 0 10px 30px rgba(17, 17, 17, 0.08);
  --shadow-glow: 0 8px 26px rgba(17, 17, 17, 0.14);
  --focus-glow: 0 0 0 3px rgba(17, 17, 17, 0.12);
}
html[data-style="mono"][data-mode="light"] .btn:hover { box-shadow: 0 12px 32px rgba(17, 17, 17, 0.22); }
html[data-style="mono"][data-mode="light"] .orb { opacity: 0.08; }
html[data-style="mono"][data-mode="light"] body {
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.022) 1px, transparent 1px),
    var(--grad-deep);
  background-size: 56px 56px, 56px 56px, auto;
}
html[data-style="mono"][data-mode="light"] .hero-art img { filter: drop-shadow(0 20px 40px rgba(17, 17, 17, 0.16)); }

/* ---------- Theme toggle button ---------- */
.mode-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: transparent; border: 1px solid var(--hairline); color: var(--muted);
  cursor: pointer; transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.mode-toggle:hover { color: var(--text); border-color: var(--primary); }
.mode-toggle svg { width: 18px; height: 18px; }
.mode-toggle .sun { display: none; }
html[data-mode="light"] .mode-toggle .sun { display: block; }
html[data-mode="light"] .mode-toggle .moon { display: none; }
