/* ========================
   SMOOTH SCROLL
   ======================== */
html { scroll-behavior: smooth; }

/* ========================
   PAGE TRANSITIONS
   ======================== */
@keyframes page-enter {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes main-enter {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

body {
  animation: page-enter 0.45s ease both;
}

body.page-leaving {
  opacity: 0;
  transition: opacity 0.28s ease;
}

.project-main {
  animation: main-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ========================
   PROJECT LAYOUT
   ======================== */
.project-layout {
  display: flex;
  align-items: flex-start;
}

/* Align nav logo with sidebar content (both at 22px from left) */
body > nav {
  padding-left: 22px;
}

.project-sidebar {
  position: fixed;
  left: 0;
  top: 50px;
  width: 168px;
  height: calc(100vh - 50px);
  display: flex;
  flex-direction: column;
  padding: 28px 22px 24px;
  border-right: 1px solid rgba(0, 0, 0, 0.07);
  background: #ffffff;
  z-index: 50;
}

.project-main {
  margin-left: 168px;
  flex: 1;
  min-width: 0;
}

/* ========================
   SIDEBAR LINKS
   ======================== */
.sidebar-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: #424242;
  text-decoration: none;
  margin-bottom: 28px;
  padding: 5px 10px;
  border-radius: 4px;
  background: transparent;
  transition: color 0.15s ease;
  align-self: flex-start;
}
.sidebar-home:hover { color: rgba(11, 13, 18, 0.5); }

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}

.sidebar-link {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #6B7280;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.15s ease;
}
.sidebar-link:hover { color: #424242; }
.sidebar-link.active { color: #424242; }

.sidebar-back-top {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #6B7280;
  text-decoration: none;
  transition: color 0.15s ease;
}
.sidebar-back-top:hover { color: #424242; }

/* ========================
   HERO BANNER
   ======================== */
.project-hero { width: 100%; overflow: hidden; }

.project-hero-plain {
  height: 490px;
  display: flex;
  align-items: flex-end;
  padding: 40px 52px;
}

.hero-plain-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(52px, 7vw, 96px);
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  max-width: 720px;
}

.coming-soon-note {
  margin-top: 64px;
  padding: 40px;
  background: rgba(0,0,0,0.03);
  text-align: center;
}

.coming-soon-note p {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #bbb;
  font-weight: 400;
}

.figma-hero {
  background-color: #054FF0;
  height: 490px;
  position: relative;
  overflow: hidden;
}

.figma-hero-inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 48px 52px;
}

.figma-hero-text {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

.figma-live {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(70px, 9.5vw, 128px);
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.figma-comments {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(70px, 9.5vw, 128px);
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-left: 52px;
}

/* Floating UI cards in hero */
.figma-float {
  position: absolute;
  pointer-events: none;
  z-index: 3;
}

.figma-voice-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  width: 256px;
  top: 52px;
  right: 130px;
  transform: rotate(8deg);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.voice-play {
  width: 28px;
  height: 28px;
  background: #054FF0;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #fff;
  margin-top: 2px;
}

.voice-time {
  font-size: 13px;
  font-weight: 500;
  color: #054FF0;
  margin-bottom: 5px;
}

.voice-text {
  font-size: 11px;
  color: #6B7280;
  line-height: 1.5;
}

.figma-comment-card {
  background: #fff;
  border-radius: 14px;
  padding: 10px 16px 14px;
  width: 236px;
  bottom: 100px;
  left: 200px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}

.comment-drag {
  width: 36px;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
  margin: 0 auto 12px;
}

.comment-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.comment-placeholder {
  font-size: 12px;
  color: #bbb;
  flex: 1;
}

.comment-send {
  width: 26px;
  height: 26px;
  background: #054FF0;
  border-radius: 50%;
  border: none;
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment-x {
  font-size: 16px;
  color: #6B7280;
  background: none;
  border: none;
  line-height: 1;
}

.comment-tools {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: #6B7280;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
}

.figma-toolbar {
  background: #fff;
  border-radius: 12px;
  padding: 14px 9px;
  width: 36px;
  right: 44px;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  transform: rotate(-4deg);
}

.toolbar-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

/* ========================
   SECTIONS
   ======================== */
.project-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 48px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.project-title {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 36px;
  font-weight: 400;
  color: #424242;
  margin-bottom: 36px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.project-subtitle {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.6;
  margin-top: -20px;
  margin-bottom: 36px;
  max-width: 100%;
}

[data-theme="dark"] .project-subtitle { color: #6B7280; }

.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.meta-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #054FF0;
  font-weight: 400;
  margin-bottom: 8px;
}

.meta-value {
  font-size: 15px;
  color: #424242;
  line-height: 1.7;
  font-weight: 400;
}

.project-dot-divider {
  width: 13px;
  height: 13px;
  background-color: #DCFC73;
  border-radius: 50%;
  margin: 0 0 44px;
}

.section-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #054FF0;
  font-weight: 400;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-heading {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #424242;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  max-width: 760px;
}

.section-heading.full-width {
  max-width: 100%;
}

.section-body {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.72;
  max-width: 680px;
}

.section-body.full-width {
  max-width: 1440px;
}

/* ========================
   ILLUSTRATION BLOCKS
   ======================== */
.illus-block {
  width: 100%;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.illus-beige {
  background-color: #EDE6DC;
  min-height: 400px;
}

.illus-blue {
  background-color: #054FF0;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.illus-dot-static {
  width: 13px;
  height: 13px;
  background-color: #DCFC73;
  border-radius: 50%;
  margin: 16px auto 0;
  display: block;
}

/* Context block */
.context-block { min-height: 440px; }

.ctx-shape {
  position: absolute;
  pointer-events: none;
}

.ctx-quote-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  white-space: nowrap;
}

.illus-quote {
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  color: #424242;
  text-align: center;
  line-height: 1.3;
}

/* ========================
   INSIGHTS PILLS
   ======================== */
.insights-block { min-height: 380px; }

.insight-pills {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.insight-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 500;
  color: #424242;
  min-width: 280px;
}

.pill-icon { font-size: 22px; }

/* ========================
   THREE COLUMNS
   ======================== */
.three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 28px;
}

.col-heading {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #424242;
  margin-bottom: 10px;
}

.col-body {
  font-size: 16px;
  color: #6B7280;
  line-height: 1.7;
}

/* ========================
   STICKER BANNER
   ======================== */
.illus-stickers {
  background-color: #B8E8F0;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 28px 40px;
}

.sticker { flex-shrink: 0; }

/* ========================
   SOLUTION BLOCK
   ======================== */
.solution-block {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol-shape {
  position: absolute;
  pointer-events: none;
}

.solution-text {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.solution-pill {
  font-family: 'Söhne', 'Inter', sans-serif;
  font-size: clamp(11px, 1.3vw, 16px);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 16px 22px;
}

.sol-yellow { background: #D4E840; color: #424242; }
.sol-dark   { background: #0B0D12; color: #fff; }

.solution-plus {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 400;
  width: 44px;
  height: 44px;
  background: #054FF0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================
   DEEP DIVE CARDS
   ======================== */
.deep-dive-block {
  background-color: #054FF0;
  padding: 44px 36px;
  margin: 40px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.deep-dive-card {
  background-color: #fff;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
}

.dive-label {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #6B7280;
  font-weight: 400;
  margin-bottom: 44px;
}

.dive-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  min-height: 80px;
}

.dive-body {
  font-size: 16px;
  color: #424242;
  line-height: 1.6;
}

.highlight-green {
  background-color: #D4F040;
  padding: 1px 3px;
}

.highlight-red {
  background-color: #F04060;
  color: #fff;
  padding: 1px 3px;
}

.orange-dot-inline {
  color: #054FF0;
  margin-right: 2px;
}

/* ========================
   PLACEHOLDER BLOCKS
   ======================== */
.placeholder-block {
  width: 100%;
  min-height: 220px;
  margin: 32px 0;
  border: 1.5px dashed rgba(0, 0, 0, 0.13);
  background: rgba(0, 0, 0, 0.018);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-block.ph-tall { min-height: 380px; }
.placeholder-block.ph-short { min-height: 120px; }

.placeholder-text {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(107,114,128,0.5);
  font-weight: 400;
  user-select: none;
}

/* ========================
   CSS VARIABLES
   ======================== */
:root {
  --nav-h: 50px;
  --border: rgba(0, 0, 0, 0.06);
  --muted: #6B7280;
}

/* ========================
   HORIZONTAL PROCESS GALLERY
   ======================== */
.hg-sticky-wrapper {
  position: relative;
  height: 250vh;
}

.hgallery {
  position: sticky;
  top: var(--nav-h);
  height: calc(100svh - var(--nav-h));
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hgallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 64px 52px 32px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}

.hgallery-title-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hgallery-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #054FF0;
}

.hgallery-heading {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}

.hgallery-scroll-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Söhne', 'Inter', sans-serif;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-bottom: 4px;
}

.hgallery-drag-arrow {
  display: inline-block;
  animation: nudgeRight 1.8s ease infinite;
}

@keyframes nudgeRight {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(6px); }
}

.hg-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.hg-strip {
  display: flex;
  height: 100%;
  will-change: transform;
}

.hg-placeholder {
  position: relative;
  height: 100%;
  min-width: 280vw;
  background: linear-gradient(to right, #EDE9E2, #E0DAD0);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hg-ph-tag {
  position: absolute;
  top: 36px;
  font-family: 'Söhne', 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #6B7280;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.6);
}

.hg-ph-label {
  font-family: 'Söhne', 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(107,114,128,0.6);
  text-align: center;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* ========================
   PROCESS GALLERY ZONES
   ======================== */
.hg-placeholder {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: none;
  min-width: 280vw;
  height: 100%;
}

.hg-zone {
  flex: 0 0 56vw;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 52px;
  border-right: 1px solid rgba(0, 0, 0, 0.07);
  box-sizing: border-box;
}

.zone-research   { background: #0e1628; }
.zone-ideation   { background: #f7f3ea; }
.zone-prototype  { background: #dde8f5; }
.zone-testing    { background: #f0f5ea; }
.zone-refinement { background: #ffffff; }

/* Tag inside a zone is flow, not absolute */
.hg-zone .hg-ph-tag {
  position: relative;
  left: auto;
  top: auto;
  align-self: flex-start;
  margin-bottom: 44px;
}

.zone-research .hg-ph-tag {
  color: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.zone-art {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  align-content: flex-start;
}

/* Research — scattered dots + horizontal rules */
.za-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}
.za-dot.b { width: 6px;  height: 6px;  opacity: 0.55; }
.za-dot.c { width: 15px; height: 15px; opacity: 0.25; }
.za-dot.d { width: 8px;  height: 8px; }
.za-dot.e { width: 10px; height: 10px; opacity: 0.5; }

.za-line {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.za-line.s { width: 62%; }

/* Ideation — sketchy wireframe boxes */
.za-box {
  display: inline-block;
  width: 88px; height: 62px;
  border: 1.5px solid rgba(0, 0, 0, 0.22);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
}
.za-box.t { height: 104px; }
.za-box.w { width: 148px; }

/* Prototype — phone frame */
.za-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px; height: 170px;
  border: 2.5px solid rgba(30, 60, 120, 0.28);
  border-radius: 18px;
  background: #fff;
}
.za-screen {
  display: flex;
  flex-direction: column;
  padding: 10px 8px;
  gap: 6px;
  width: 74px; height: 128px;
  background: #dde8f5;
  border-radius: 4px;
}
.za-sbar {
  display: block;
  width: 100%; height: 8px;
  border-radius: 4px;
  background: rgba(30, 60, 120, 0.18);
}
.za-sbar.s { width: 58%; }
.za-sblock {
  display: block;
  width: 100%;
  flex: 1;
  border-radius: 4px;
  background: rgba(30, 60, 120, 0.1);
}

/* Testing — sticky notes */
.za-note {
  display: block;
  width: 86px; height: 86px;
  background: var(--c, #F5E050);
  transform: rotate(var(--r, 0deg));
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.12);
}

/* Refinement — polished UI rows */
.za-uibar {
  display: block;
  width: 100%; height: 10px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.1);
}
.za-uibar.s { width: 54%; }
.za-uibar.m { width: 80%; }

.za-uipill {
  display: block;
  width: 90px; height: 32px;
  background: #054FF0;
  border-radius: 20px;
}

.hgallery-footer {
  flex-shrink: 0;
  padding: 20px 52px;
}

.hgallery-progress {
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  position: relative;
}

.hgallery-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #054FF0;
  width: 0%;
}

/* ========================
   TABLET — 769px–1024px
   ======================== */
@media (min-width: 769px) and (max-width: 1024px) {

  .project-sidebar {
    width: 140px;
  }

  .project-main {
    margin-left: 140px;
  }

  .project-section {
    padding: 48px 32px;
  }

  .project-hero-plain {
    height: 360px;
    padding: 28px 36px;
  }

  .figma-hero {
    height: 360px;
  }

  .figma-hero-inner {
    padding: 36px 36px;
  }

  .figma-voice-card,
  .figma-comment-card,
  .figma-toolbar {
    display: none;
  }

  .project-meta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================
   MOBILE — max-width 768px
   ======================== */
@media (max-width: 768px) {

  /* SIDEBAR — hide on mobile */
  .project-sidebar {
    display: none;
  }

  .project-main {
    margin-left: 0;
  }

  /* HERO */
  .project-hero-plain {
    height: 280px;
    padding: 24px 20px;
  }

  .figma-hero {
    height: 280px;
  }

  .figma-hero-inner {
    padding: 24px 20px;
  }

  .figma-voice-card,
  .figma-comment-card,
  .figma-toolbar {
    display: none;
  }

  /* SECTIONS */
  .project-section {
    padding: 40px 20px;
  }

  .project-meta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .three-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .deep-dive-block {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 14px;
  }

  .hgallery-header {
    padding: 24px 20px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    border-bottom: none;
  }

  .hgallery-scroll-hint {
    font-size: 10px;
  }

  /* HORIZONTAL GALLERY — collapse to compact phase pill strip */
  .hg-sticky-wrapper {
    height: auto;
  }

  .hgallery {
    position: relative;
    top: auto;
    height: auto;
  }

  /* Gallery: fixed height so zones fill it */
  .hgallery {
    height: 300px;
  }

  /* Viewport: scroll horizontally, block JS transform */
  .hg-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
  }

  .hg-viewport::-webkit-scrollbar { display: none; }

  .hg-strip {
    transform: none !important;
    height: 100%;
  }

  /* Zones: 80vw each so the next zone peeks through */
  .hg-placeholder {
    min-width: unset;
    height: 100%;
  }

  .hg-zone {
    flex: 0 0 80vw;
    padding: 20px 24px;
  }

  .hg-zone .hg-ph-tag {
    margin-bottom: 20px;
  }

  .za-box   { width: 64px; height: 46px; }
  .za-box.t { height: 76px; }
  .za-box.w { width: 110px; }
  .za-phone { width: 72px; height: 128px; border-radius: 12px; }
  .za-screen { width: 54px; height: 96px; }
  .za-note  { width: 64px; height: 64px; }

  /* Hide progress bar */
  .hgallery-footer { display: none; }
}

/* ========================
   DARK MODE
   ======================== */
[data-theme="dark"] .project-sidebar {
  background: #000000;
  border-right-color: rgba(255, 244, 220, 0.06);
}
[data-theme="dark"] .sidebar-home       { background: #ffffff; color: #424242; }
[data-theme="dark"] .sidebar-home:hover { opacity: 0.75; }
[data-theme="dark"] .sidebar-link       { color: rgba(249,248,243,0.3); }
[data-theme="dark"] .sidebar-link.active{ color: #F9F8F3; }
[data-theme="dark"] .sidebar-link:hover { color: rgba(249,248,243,0.6); }
[data-theme="dark"] .sidebar-back-top   { color: rgba(249,248,243,0.4); }

[data-theme="dark"] .project-section {
  border-bottom-color: rgba(255, 244, 220, 0.06);
}
[data-theme="dark"] .project-title   { color: #F9F8F3; }
[data-theme="dark"] .meta-value      { color: #6B7280; }
[data-theme="dark"] .section-heading { color: #F9F8F3; }
[data-theme="dark"] .section-body    { color: #6B7280; }
[data-theme="dark"] .col-heading     { color: rgba(249,248,243,0.85); }
[data-theme="dark"] .col-body        { color: #6B7280; }

[data-theme="dark"] .hgallery {
  background: #000000;
  border-top-color:    rgba(255, 244, 220, 0.06);
  border-bottom-color: rgba(255, 244, 220, 0.06);
}
[data-theme="dark"] .hgallery-header     { border-bottom-color: rgba(255, 244, 220, 0.06); }
[data-theme="dark"] .hgallery-heading    { color: #F9F8F3; }
[data-theme="dark"] .hgallery-scroll-hint{ color: rgba(249,248,243,0.4); }
[data-theme="dark"] .hgallery-progress   { background: rgba(255, 244, 220, 0.06); }

/* Process zones — each has its own warm-dark personality */
[data-theme="dark"] .zone-research   { background: #080c18; }
[data-theme="dark"] .zone-ideation   { background: #17140e; }
[data-theme="dark"] .zone-prototype  { background: #0c1420; }
[data-theme="dark"] .zone-testing    { background: #0e1510; }
[data-theme="dark"] .zone-refinement { background: #000000; }

[data-theme="dark"] .hg-zone .hg-ph-tag {
  color: rgba(249,248,243,0.3);
  border-color: rgba(255, 244, 220, 0.1);
  background: rgba(255, 244, 220, 0.03);
}
[data-theme="dark"] .zone-research .hg-ph-tag {
  color: rgba(255, 244, 220, 0.35);
  border-color: rgba(255, 244, 220, 0.12);
  background: rgba(255, 244, 220, 0.04);
}

[data-theme="dark"] .za-dot   { background: rgba(255, 244, 220, 0.3); }
[data-theme="dark"] .za-line  { background: rgba(255, 244, 220, 0.08); }

[data-theme="dark"] .za-box {
  background: rgba(255, 244, 220, 0.04);
  border-color: rgba(255, 244, 220, 0.14);
}
[data-theme="dark"] .za-phone {
  background: #080e18;
  border-color: rgba(80, 130, 200, 0.2);
}
[data-theme="dark"] .za-screen  { background: #0c1420; }
[data-theme="dark"] .za-sbar    { background: rgba(80, 130, 200, 0.2); }
[data-theme="dark"] .za-sblock  { background: rgba(80, 130, 200, 0.1); }
[data-theme="dark"] .za-uibar   { background: rgba(255, 244, 220, 0.07); }
[data-theme="dark"] .za-uipill  { background: #054FF0; box-shadow: 0 0 12px rgba(5,79,240,0.4); }

[data-theme="dark"] .placeholder-block {
  border-color: rgba(255, 244, 220, 0.07);
  background: rgba(255, 244, 220, 0.015);
}
[data-theme="dark"] .placeholder-text { color: rgba(249,248,243,0.18); }

[data-theme="dark"] .deep-dive-block { background-color: #0d1428; }
[data-theme="dark"] .deep-dive-card  { background-color: #000000; }
[data-theme="dark"] .dive-body       { color: rgba(249,248,243,0.55); }
[data-theme="dark"] .dive-label      { color: rgba(249,248,243,0.3); }

[data-theme="dark"] .coming-soon-note { background: rgba(255, 244, 220, 0.02); }

/* Insight pills dark mode */
[data-theme="dark"] .hg-ph-label { color: rgba(249,248,243,0.18); }
