/* Neutral surfaces, warm metals, and restrained high-visibility accents. */
:root { color-scheme: dark; --spark-lime: #c8ff53; --spark-yellow: #faff64; }
:root[data-theme="dark"] {
  --bg: #000; --surface: #101010; --surface-2: #191919;
  --ink: #f5f5f5; --muted: #c9c9c9; --line: #383838;
  --gold: #e3c689; --accent: #e3c689; --accent-ink: #20160b; --focus-ring: #faff64;
  --glass-fill: linear-gradient(170deg, rgba(58,54,48,.98) 0%, rgba(32,29,25,.96) 48%, rgba(16,16,16,.96) 100%);
  --glass-line: #95836a; --glass-ink: #fff8e8;
  --glass-hover: linear-gradient(170deg,#474032,#231e17);
  --glass-shadow: inset 0 1px 0 rgba(255,247,221,.26), inset 0 -1px 0 rgba(0,0,0,.55), 0 4px 14px rgba(0,0,0,.35);
}
header.jz-site-header.brand-header { background: #560c14; border-color: #76202a; }
.jz-site-header.brand-header nav a[aria-current="page"] { color: #f9e6bd; border-color: #dcb978; }
.brand-footer { background: #151515; }
.hero-kicker { color: #f2d49a; }
.hero-content h1 span { color: #f0d196; }
.home-intro a { text-decoration-color: var(--gold); text-decoration-thickness: .08em; }
.home-intro a:hover { color: var(--gold); }
.section-num, .case-label, .proof .stat em { color: var(--gold); }
body :is(.button, .project-button, .project-navigation button, .viewer-toolbar button, .filters button, #reset) {
  background: var(--glass-fill); border-color: var(--glass-line); color: var(--glass-ink);
  box-shadow: var(--glass-shadow); backdrop-filter: blur(10px);
}
body :is(.button, .project-button, .project-navigation button, .viewer-toolbar button, .filters button, #reset):is(:hover,:focus-visible) {
  background: var(--glass-hover); border-color: var(--gold); color: var(--glass-ink);
}
body .button.hero-cta, body .hero-controls button, body .jz-site-header nav .contact-link {
  background: linear-gradient(165deg,rgba(255,236,195,.23) 0%,rgba(255,236,195,.07) 47%,rgba(0,0,0,.29) 100%);
  color: #fff; border-color: #b99b72;
  box-shadow: inset 0 1px 0 rgba(255,244,217,.28), 0 3px 9px rgba(0,0,0,.24);
  backdrop-filter: blur(12px);
}
body .button.hero-cta:is(:hover,:focus-visible), body .hero-controls button:is(:hover,:focus-visible),
body .jz-site-header .contact-link:is(:hover,:focus-visible) {
  background: linear-gradient(165deg,#6f4140,#421417); border-color: #e3c689; color: #fff;
}
body .hero-controls .hero-selectors button[aria-pressed="true"],
body .portfolio-gallery .filters button[aria-pressed="true"] {
  background: var(--glass-fill); color: var(--glass-ink); border-color: var(--glass-line);
  box-shadow: inset 0 -2px 0 var(--spark-lime), var(--glass-shadow);
}
.hero-controls { --glass-fill: linear-gradient(170deg,#f8edcf,#dbc9a1); --glass-ink: #252014; --glass-line: #cfb583; }
body :focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 4px; }
body :is(.hero-carousel,.jz-site-header) :focus-visible { outline-color: var(--spark-yellow); }
.portfolio-gallery { --display: #131313; --display-panel: #202020; --display-type: #faf8f2; --display-muted: #e3c689; }
.portfolio-gallery .gallery-feature:hover, .portfolio-gallery .gallery-cta a:hover { color: #f2d49a; }
.portfolio-gallery .collection:first-child .tile-media { background: var(--surface-2); }
/* Preserve a visible active state and focus ring in forced-color mode. */
@media (forced-colors: active) {
  body :is(.hero-selectors,.filters) button[aria-pressed="true"] { border: 2px solid Highlight; }
  body :focus-visible { outline: 2px solid Highlight; }
}
