/* Author: VIVI x Codex */
:root {
  --bg: #eef3e9;
  --bg-deep: #d9e4dc;
  --paper: rgba(251, 251, 248, 0.92);
  --paper-soft: rgba(252, 253, 252, 0.96);
  --ink: #2d211d;
  --ink-soft: #5c4f47;
  --muted: #78675f;
  --line: rgba(84, 61, 46, 0.12);
  --line-strong: rgba(84, 61, 46, 0.18);
  --gold: #a66f2e;
  --wine: #8a5460;
  --sage: #4d6d60;
  --teal: #4f6d75;
  --mist-blue: #dbe4e8;
  --mist-blue-deep: #c9d6dc;
  --slate-blue: #667988;
  --shadow: 0 28px 72px rgba(52, 36, 27, 0.12);
  --shadow-soft: 0 16px 34px rgba(52, 36, 27, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content: 1540px;
  --spark-gold: #f4c86c;
  --spark-coral: #f3a77f;
  --spark-mint: #9fd1b5;
  --spark-sky: #b6cff2;
  --font-body: "Noto Sans SC", "PingFang SC", sans-serif;
  --font-display: "Cormorant Garamond", "Noto Serif SC", serif;
  --font-heading: "Noto Serif SC", "Cormorant Garamond", serif;
  --font-detail-body: var(--font-body);
  --font-accent: "IBM Plex Mono", monospace;
  --font-script: "Bradley Hand", "Marker Felt", "Comic Sans MS", cursive;
  --font-display-spacing: -0.03em;
  --font-hero-prefix-size: clamp(34px, 3.8vw, 52px);
  --font-hero-main-size: clamp(68px, 8vw, 112px);
  --font-hero-prefix-spacing: -0.02em;
  --font-hero-main-spacing: -0.045em;
  --font-hero-tag-size: 11px;
  --font-accent-wide-spacing: 0.18em;
  --font-accent-medium-spacing: 0.16em;
  --font-accent-tight-spacing: 0.14em;
  --font-accent-soft-spacing: 0.12em;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 8%, rgba(255, 204, 170, 0.24), transparent 24%),
    radial-gradient(circle at 86% 12%, rgba(167, 206, 196, 0.28), transparent 24%),
    radial-gradient(circle at 72% 64%, rgba(190, 208, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #f8f8f1 0%, var(--bg) 46%, var(--bg-deep) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-wash,
.page-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.page-wash {
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 249, 228, 0.88), transparent 20%),
    radial-gradient(circle at 82% 16%, rgba(223, 244, 238, 0.42), transparent 24%),
    radial-gradient(circle at 70% 82%, rgba(255, 224, 209, 0.26), transparent 24%);
}

.page-grain {
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(87, 64, 50, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87, 64, 50, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at center, black 68%, transparent 100%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 3vw, 36px);
  backdrop-filter: blur(18px);
  background: rgba(247, 250, 246, 0.72);
  border-bottom: 1px solid rgba(84, 61, 46, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 211, 129, 0.38), rgba(142, 201, 173, 0.34));
  color: #8c5b1a;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
}

.brand-copy {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.topbar-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-button,
.card-tool,
.hidden-restore,
.icon-button,
.field input,
.field textarea,
.field select {
  font: inherit;
}

.topbar-button,
.hidden-restore,
.icon-button {
  border: 1px solid var(--line-strong);
  background: rgba(255, 252, 247, 0.74);
  color: var(--ink);
}

.topbar-button {
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  font-weight: 600;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
}

.topbar-button.primary,
.topbar-button.is-active {
  background: var(--gold);
  color: #fffaf3;
  border-color: transparent;
}

.page-shell {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 56px;
}

.panel {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent 32%);
}

.hero-main {
  padding: 0;
  min-height: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(320px, 0.64fr);
  gap: clamp(24px, 3vw, 34px) clamp(20px, 2.6vw, 28px);
  align-items: stretch;
}

.hero-entry {
  display: flex;
  flex-direction: column;
  min-height: 650px;
  padding: clamp(34px, 4.5vw, 50px);
  border-radius: 42px;
  background:
    radial-gradient(circle at 14% 22%, rgba(255, 243, 186, 0.58), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(189, 228, 214, 0.44), transparent 26%),
    radial-gradient(circle at 88% 70%, rgba(255, 208, 179, 0.3), transparent 24%),
    linear-gradient(150deg, rgba(252, 253, 243, 0.98), rgba(235, 245, 240, 0.92));
  border: 1px solid rgba(132, 142, 133, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 22px 46px rgba(109, 114, 99, 0.1);
}

.hero-copy-shell {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-right: clamp(4px, 1vw, 18px);
  padding-top: 12px;
  max-width: 600px;
}

.hero-route-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-route-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 251, 241, 0.84);
  border: 1px solid rgba(166, 111, 46, 0.12);
  box-shadow: 0 8px 20px rgba(127, 92, 47, 0.08);
  color: #6f5241;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.hero-route-chip:hover,
.hero-route-chip:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 248, 228, 0.94);
  box-shadow: 0 14px 26px rgba(127, 92, 47, 0.12);
}

.hero-stage {
  position: relative;
  min-height: 320px;
  margin-top: auto;
  padding-top: 10px;
}

.hero-stage-wash {
  display: none;
}

.hero-stage-lights {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-light {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  filter: blur(1px);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.06), 0 0 28px currentColor;
  animation: carnivalBlink 3.8s ease-in-out infinite;
}

.hero-light-a {
  top: 10%;
  left: 54%;
  color: var(--spark-gold);
}

.hero-light-b {
  top: 22%;
  right: 18%;
  color: var(--spark-coral);
  animation-delay: 1.1s;
}

.hero-light-c {
  bottom: 16%;
  left: 60%;
  color: var(--spark-mint);
  animation-delay: 2s;
}

@keyframes carnivalBlink {
  0%, 100% {
    opacity: 0.4;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.hero-ticket {
  position: absolute;
  top: 10%;
  right: 8%;
  width: 260px;
  padding: 16px 18px 18px;
  border-radius: 26px 18px 26px 18px;
  background: linear-gradient(180deg, rgba(255, 251, 239, 0.96), rgba(255, 243, 221, 0.9));
  border: 1px dashed rgba(166, 111, 46, 0.28);
  box-shadow: 0 18px 38px rgba(144, 105, 52, 0.12);
  transform: rotate(4deg);
}

.hero-ticket strong {
  display: block;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.2;
  color: #704833;
}

.hero-ticket p:last-child {
  margin: 10px 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.hero-note {
  position: absolute;
  padding: 18px 18px 20px;
  border-radius: 30px;
  border: 1px solid rgba(84, 61, 46, 0.12);
  box-shadow: 0 18px 40px rgba(60, 53, 49, 0.09);
  backdrop-filter: blur(10px);
  cursor: grab;
  user-select: none;
  touch-action: none;
  animation: heroCardBreath 6.2s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.hero-note-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: var(--font-accent-wide-spacing);
  text-transform: uppercase;
}

.hero-note strong,
.hero-note h2 {
  display: block;
  margin: 0;
  font-family: var(--font-heading);
  color: var(--ink);
}

.hero-note p:last-child {
  margin: 10px 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.hero-note-main {
  top: 3%;
  left: 4%;
  width: min(390px, 86%);
  background: linear-gradient(180deg, rgba(255, 250, 236, 0.96), rgba(255, 245, 229, 0.9));
  transform: translate(var(--hero-x, 0px), var(--hero-y, 0px)) rotate(-4deg);
}

.hero-note-main h2 {
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.18;
}

.hero-note-world {
  top: 13%;
  right: 2%;
  width: 220px;
  background: rgba(232, 244, 250, 0.92);
  transform: translate(var(--hero-x, 0px), var(--hero-y, 0px)) rotate(5deg);
  animation-delay: 0.6s;
}

.hero-note-share {
  bottom: 5%;
  right: 6%;
  width: 260px;
  background: rgba(255, 239, 231, 0.92);
  transform: translate(var(--hero-x, 0px), var(--hero-y, 0px)) rotate(-5deg);
  animation-delay: 1.2s;
}

.hero-note-ongoing {
  bottom: 18%;
  left: 10%;
  width: 190px;
  background: rgba(238, 248, 242, 0.94);
  border-color: rgba(99, 140, 108, 0.18);
  transform: translate(var(--hero-x, 0px), var(--hero-y, 0px)) rotate(6deg);
  animation-delay: 1.8s;
}

.hero-orbit {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.8);
  border: 1px solid rgba(84, 61, 46, 0.1);
  color: #7a685d;
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: var(--font-accent-soft-spacing);
  text-transform: uppercase;
  cursor: grab;
  user-select: none;
  touch-action: none;
  animation: heroOrbitBreath 5.2s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.hero-orbit-a {
  top: 68%;
  left: 3%;
  transform: translate(var(--hero-x, 0px), var(--hero-y, 0px));
}

.hero-orbit-b {
  top: 10%;
  right: 18%;
  transform: translate(var(--hero-x, 0px), var(--hero-y, 0px));
  animation-delay: 0.8s;
}

.hero-orbit-c {
  bottom: 1%;
  left: 44%;
  transform: translate(var(--hero-x, 0px), var(--hero-y, 0px));
  animation-delay: 1.4s;
}

.hero-note.is-dragging-hero,
.hero-orbit.is-dragging-hero {
  cursor: grabbing;
  animation-play-state: paused;
  z-index: 8;
}

@keyframes heroCardBreath {
  0%, 100% {
    box-shadow: 0 18px 40px rgba(60, 53, 49, 0.09);
    filter: saturate(1);
  }
  50% {
    box-shadow: 0 24px 50px rgba(60, 53, 49, 0.14);
    filter: saturate(1.03);
  }
}

@keyframes heroOrbitBreath {
  0%, 100% {
    box-shadow: 0 8px 18px rgba(84, 61, 46, 0.06);
    opacity: 0.92;
  }
  50% {
    box-shadow: 0 14px 26px rgba(84, 61, 46, 0.1);
    opacity: 1;
  }
}

.eyebrow,
.panel-label,
.project-project,
.pill,
.zone-kicker {
  font-family: var(--font-accent);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: var(--font-accent-wide-spacing);
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3,
.brand-copy {
  font-family: var(--font-heading);
}

h1 {
  margin: 0;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 0.96;
  letter-spacing: var(--font-display-spacing);
  text-wrap: nowrap;
}

#heroTitle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-wrap: initial;
}

.hero-title-prefix {
  display: inline-block;
  margin-left: 6px;
  font-size: var(--font-hero-prefix-size);
  line-height: 0.94;
  letter-spacing: var(--font-hero-prefix-spacing);
  color: rgba(69, 52, 43, 0.9);
}

.hero-title-main {
  display: inline-block;
  font-size: var(--font-hero-main-size);
  line-height: 0.9;
  letter-spacing: var(--font-hero-main-spacing);
  color: #34261f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42);
}

.hero-title-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 6px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 251, 241, 0.78);
  border: 1px solid rgba(166, 111, 46, 0.14);
  color: #876857;
  font-family: var(--font-accent);
  font-size: var(--font-hero-tag-size);
  letter-spacing: var(--font-accent-wide-spacing);
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(127, 92, 47, 0.08);
}

.hero-console {
  position: relative;
  align-self: stretch;
  min-height: 650px;
}

.hero-console-shell {
  position: relative;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 22px;
  border-radius: 34px 38px 30px 40px;
  background:
    radial-gradient(circle at 16% 18%, rgba(252, 232, 165, 0.12), transparent 18%),
    radial-gradient(circle at 84% 18%, rgba(205, 236, 233, 0.16), transparent 22%),
    linear-gradient(0deg, rgba(135, 143, 149, 0.03) 1px, transparent 1px) 0 0/100% 28px,
    linear-gradient(90deg, rgba(135, 143, 149, 0.03) 1px, transparent 1px) 0 0/28px 100%,
    linear-gradient(140deg, rgba(248, 246, 241, 0.94), rgba(238, 241, 238, 0.94) 48%, rgba(226, 234, 231, 0.94));
  border: 1px solid rgba(140, 145, 141, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 245, 0.9),
    0 24px 50px rgba(122, 130, 122, 0.1);
  overflow: hidden;
}

.hero-console-kicker {
  margin: 0 0 10px;
  color: rgba(98, 108, 102, 0.72);
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: var(--font-accent-medium-spacing);
  text-transform: uppercase;
}

.hero-console-title {
  margin: 0 0 18px;
  color: #52655d;
  font-family: var(--font-heading);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.12;
}

.hero-console-stack {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 14px;
}

.hero-console-card {
  max-width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 20px;
  border-radius: 22px 28px 24px 24px;
  background:
    linear-gradient(180deg, rgba(250, 248, 243, 0.98), rgba(240, 242, 238, 0.98) 56%, rgba(231, 236, 232, 0.98));
  border: 1px solid rgba(147, 154, 150, 0.2);
  border-top: 6px solid rgba(194, 199, 191, 0.74);
  box-shadow:
    0 18px 30px rgba(129, 137, 130, 0.12),
    inset 0 1px 0 rgba(255, 252, 245, 0.96),
    inset 0 -16px 22px rgba(196, 202, 192, 0.08);
}

.hero-console-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.hero-console-topline h3 {
  margin: 0;
  color: #52655d;
  font-size: 21px;
  line-height: 1.2;
}

.hero-console-topline p {
  margin: 8px 0 0;
  color: rgba(98, 108, 102, 0.72);
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: var(--font-accent-tight-spacing);
  text-transform: uppercase;
}

.hero-console-mode,
.hero-console-readout-label,
.hero-console-note {
  font-family: var(--font-accent);
  letter-spacing: var(--font-accent-wide-spacing);
  text-transform: uppercase;
}

.hero-console-mode {
  color: rgba(97, 108, 102, 0.5);
  font-size: 0.72rem;
}

.hero-console-readout {
  margin-top: 22px;
  max-width: 31ch;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(250, 247, 241, 0.76), rgba(236, 240, 234, 0.68));
  border: 1px solid rgba(151, 158, 151, 0.15);
}

.hero-console-readout-label {
  display: block;
  margin: 0 0 10px;
  color: rgba(97, 108, 102, 0.5);
  font-size: 0.66rem;
}

.hero-console-readout p {
  margin: 0;
  color: #5d615c;
  font-size: 1rem;
  line-height: 1.75;
}

.hero-console-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 32px;
}

.hero-console-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(171, 183, 174, 0.98), rgba(114, 128, 121, 0.98));
  color: #f8faf6;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 245, 0.44),
    0 10px 20px rgba(105, 116, 109, 0.16),
    inset 0 -4px 10px rgba(82, 93, 88, 0.18);
}

.hero-console-button:hover,
.hero-console-button:focus-visible {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 245, 0.48),
    0 14px 24px rgba(105, 116, 109, 0.2),
    inset 0 -4px 10px rgba(82, 93, 88, 0.18);
}

.hero-console-note {
  color: rgba(100, 109, 103, 0.48);
  font-size: 0.68rem;
}

h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.12;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.lede,
.zone-description,
.project-copy {
  color: var(--ink-soft);
}

.lede {
  margin: 18px 0 0;
  max-width: 31em;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.86;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions a,
.project-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.hero-actions a:hover,
.project-actions a:hover,
.hero-actions a:focus-visible,
.project-actions a:focus-visible {
  transform: translateY(-1px);
}

.hero-actions a.primary,
.project-actions a.primary {
  background: var(--gold);
  color: #fffaf3;
  border-color: transparent;
}

.hero-actions a.secondary,
.project-actions a.secondary {
  background: rgba(255, 252, 247, 0.74);
}

.signal-row,
.zone-note-row,
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signal-row {
  margin-top: 22px;
}

.signal-pill,
.pill,
.zone-count {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.82);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-soft);
}

.desk-layout {
  margin-top: 24px;
}

.editor-panel {
  margin-top: 20px;
  padding: 22px 24px;
}

.editor-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 16px;
  align-items: end;
}

.editor-copy {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.hidden-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.hidden-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.hidden-title {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: var(--font-accent-tight-spacing);
  text-transform: uppercase;
}

.hidden-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hidden-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.78);
  border: 1px solid var(--line);
}

.hidden-restore {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
}

.hidden-restore-all {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.84);
  color: var(--ink-soft);
}

.hidden-restore-all.is-disabled,
.hidden-restore-all:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hidden-empty {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 16px;
  background: rgba(255, 252, 247, 0.6);
  border: 1px dashed rgba(84, 61, 46, 0.14);
  color: var(--ink-soft);
}

.zone-grid {
  display: grid;
  gap: 22px;
}

.zone-band {
  isolation: isolate;
  padding: 24px 24px 26px;
  border-radius: 34px;
  overflow: visible;
}

.zone-band::before {
  content: "";
  position: absolute;
  inset: auto auto 12% 4%;
  width: 190px;
  height: 120px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.zone-band::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: 3%;
  top: -18px;
  border-radius: 34px 40px 24px 48px;
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.zone-head,
.zone-track {
  position: relative;
  z-index: 1;
}

.zone-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 20px;
  align-items: start;
}

.zone-heading {
  min-width: 0;
}

.zone-side {
  display: grid;
  justify-items: end;
  gap: 14px;
}

.zone-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.zone-description {
  margin: 12px 0 0;
  max-width: 44em;
  line-height: 1.8;
}

.zone-track {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  grid-template-columns: repeat(var(--zone-count), minmax(0, 1fr));
  align-items: stretch;
}

.zone-band[data-id="company"] .zone-track {
  grid-template-columns: minmax(360px, 560px);
  justify-content: start;
}

.zone-band[data-id="tools"] .zone-track {
  grid-template-columns: minmax(320px, 540px) minmax(280px, 440px);
  align-items: end;
  justify-content: start;
}

.zone-band[data-id="content"] .zone-track {
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.94fr) minmax(0, 1fr);
  align-items: end;
}

.zone-band[data-id="world"] .zone-track {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: stretch;
}

.zone-band[data-id="tinkering"] .zone-track {
  grid-template-columns: minmax(320px, 520px);
  justify-content: start;
}

.zone-band[data-id="studio"] {
  background:
    linear-gradient(180deg, rgba(255, 248, 239, 0.98), rgba(248, 241, 232, 0.92));
}

.zone-band[data-id="studio"] .project-card {
  border-left: 4px solid rgba(166, 111, 46, 0.44);
}

.zone-band[data-id="studio"] .project-title {
  color: #6f4d2f;
}

.zone-band[data-id="studio"] .project-actions .primary {
  background: var(--gold);
}

.zone-band[data-id="world"] {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 243, 186, 0.18), transparent 20%),
    radial-gradient(circle at 82% 14%, rgba(188, 221, 255, 0.24), transparent 24%),
    radial-gradient(circle at 86% 76%, rgba(205, 238, 228, 0.14), transparent 22%),
    linear-gradient(150deg, rgba(246, 250, 247, 0.98), rgba(233, 242, 248, 0.94));
  border-radius: 44px 34px 52px 34px;
}

.zone-band[data-id="world"]::after {
  background: linear-gradient(135deg, rgba(165, 204, 255, 0.3), rgba(213, 235, 252, 0.12));
}

.zone-band[data-id="world"] .project-card {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.88), transparent 12%),
    radial-gradient(circle at 22% 20%, rgba(195, 220, 255, 0.38), transparent 18%),
    linear-gradient(180deg, rgba(246, 250, 255, 0.92), rgba(233, 242, 255, 0.9));
  box-shadow: 0 14px 34px rgba(70, 102, 121, 0.08);
  border-radius: 30px 22px 30px 18px;
  border-color: rgba(151, 182, 225, 0.2);
}

.zone-band[data-id="world"] .project-card.is-featured {
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.92), transparent 14%),
    radial-gradient(circle at 18% 16%, rgba(209, 228, 255, 0.48), transparent 20%),
    linear-gradient(180deg, rgba(249, 252, 255, 0.98), rgba(232, 242, 255, 0.96));
  border: 2px solid rgba(116, 164, 236, 0.72);
  outline: 2px solid rgba(192, 221, 255, 0.42);
  outline-offset: 4px;
  box-shadow:
    0 24px 46px rgba(94, 132, 196, 0.18),
    0 0 0 8px rgba(179, 211, 255, 0.16),
    0 0 40px rgba(139, 191, 255, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.zone-band[data-id="world"] .project-card.is-featured .feature-flag {
  background: linear-gradient(180deg, rgba(208, 228, 255, 0.92), rgba(188, 217, 255, 0.84));
  border-color: rgba(111, 158, 224, 0.42);
  color: #365f93;
  box-shadow: 0 8px 18px rgba(127, 173, 235, 0.18);
}

.zone-band[data-id="world"] .project-card::after {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 18px;
  opacity: 0.72;
}

.zone-band[data-id="world"] .project-card:nth-child(1)::after {
  content: "🪐";
}

.zone-band[data-id="world"] .project-card:nth-child(2)::after {
  content: "👽";
}

.zone-band[data-id="world"] .project-card:nth-child(3)::after {
  content: "✨";
}

.zone-band[data-id="world"] .project-card:nth-child(4)::after {
  content: "🌠";
}

.zone-band[data-id="world"] .project-card:nth-child(1) {
  min-height: 292px;
}

.zone-band[data-id="world"] .project-card:nth-child(2) {
  min-height: 236px;
  margin-top: 22px;
}

.zone-band[data-id="world"] .project-card:nth-child(3) {
  min-height: 278px;
}

.zone-band[data-id="world"] .project-card:nth-child(4) {
  min-height: 248px;
  margin-top: 10px;
}

.zone-band[data-id="world"] .zone-title,
.zone-band[data-id="world"] .project-title {
  color: #335864;
}

.zone-band[data-id="world"] .project-actions .primary {
  background: #4f6d75;
}

.zone-band[data-id="content"] {
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 232, 214, 0.22), transparent 18%),
    radial-gradient(circle at 84% 14%, rgba(255, 228, 235, 0.2), transparent 20%),
    radial-gradient(circle at 80% 74%, rgba(227, 241, 232, 0.12), transparent 22%),
    linear-gradient(150deg, rgba(252, 247, 244, 0.98), rgba(246, 239, 242, 0.94));
  border-radius: 34px 54px 36px 44px;
}

.zone-band[data-id="content"] .project-card {
  padding-top: 88px;
  border: 1px solid rgba(164, 106, 124, 0.16);
  border-radius: 52px 52px 26px 26px;
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(255, 247, 244, 0.92));
  box-shadow:
    0 18px 34px rgba(149, 86, 101, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.zone-band[data-id="content"] .project-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 76px;
  border-radius: 52px 52px 24px 24px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 229, 235, 0.96) 0 24px,
      rgba(255, 248, 250, 0.96) 24px 48px
    );
  border-bottom: 1px solid rgba(164, 106, 124, 0.12);
}

.zone-band[data-id="content"] .project-card::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 18px;
  height: 9px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 255, 255, 0.86), transparent 12%),
    linear-gradient(90deg, rgba(201, 143, 164, 0.28), rgba(157, 95, 114, 0.22), rgba(201, 143, 164, 0.28));
  opacity: 0.8;
}

.zone-band[data-id="content"] .project-card:nth-child(1) {
  min-height: 288px;
  transform: rotate(-1.6deg) translateY(8px);
}

.zone-band[data-id="content"] .project-card:nth-child(2) {
  min-height: 252px;
  transform: rotate(1.4deg) translateY(-8px);
}

.zone-band[data-id="content"] .project-card:nth-child(3) {
  min-height: 276px;
  transform: rotate(-0.8deg) translateY(18px);
}

.zone-band[data-id="content"] .zone-track {
  width: fit-content;
  max-width: 100%;
  grid-template-columns: 360px 300px 320px;
  justify-content: start;
  align-items: start;
  gap: 20px;
}

.zone-band[data-id="content"] .project-card.is-featured {
  border-color: rgba(173, 96, 122, 0.5);
  box-shadow:
    0 20px 38px rgba(157, 95, 114, 0.16),
    0 0 0 6px rgba(230, 189, 204, 0.12),
    0 0 30px rgba(196, 122, 146, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.zone-band[data-id="content"] .project-card.is-featured .feature-flag {
  background: rgba(233, 190, 204, 0.3);
  border-color: rgba(173, 96, 122, 0.28);
  color: #8b4f63;
}

.zone-band[data-id="content"] .zone-title,
.zone-band[data-id="content"] .project-title {
  color: #7c4455;
}

.zone-band[data-id="content"] .project-actions .primary {
  background: var(--wine);
}

.zone-band[data-id="tinkering"] {
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 240, 189, 0.16), transparent 18%),
    radial-gradient(circle at top right, rgba(210, 228, 233, 0.22), transparent 26%),
    radial-gradient(circle at 16% 74%, rgba(198, 225, 208, 0.18), transparent 24%),
    linear-gradient(150deg, rgba(245, 248, 246, 0.98), rgba(236, 242, 239, 0.94));
  border-radius: 52px 34px 42px 30px;
}

.zone-band[data-id="tinkering"]::after {
  background: linear-gradient(135deg, rgba(170, 205, 186, 0.28), rgba(220, 236, 227, 0.12));
}

.zone-band[data-id="tinkering"] .zone-title,
.zone-band[data-id="tinkering"] .project-title {
  color: #5a6d7a;
}

.zone-band[data-id="tinkering"] .project-card {
  background:
    repeating-linear-gradient(
      180deg,
      rgba(251, 252, 250, 0.98) 0 34px,
      rgba(223, 232, 227, 0.18) 34px 35px
    ),
    linear-gradient(180deg, rgba(248, 251, 249, 0.96), rgba(236, 243, 240, 0.92));
  border: 1px dashed rgba(111, 133, 121, 0.4);
  border-radius: 20px 34px 18px 28px;
  transform: rotate(-2.2deg);
  min-height: 208px;
  max-width: none;
  padding: 16px 18px 18px;
}

.zone-band[data-id="tinkering"] .project-card::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 34px;
  width: 96px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 236, 164, 0.56);
  transform: rotate(-7deg);
  box-shadow: 0 10px 18px rgba(120, 120, 98, 0.08);
}

.zone-band[data-id="tinkering"] .project-card::after {
  content: "draft";
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 0 10px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(241, 247, 244, 0.92);
  border: 1px dashed rgba(111, 133, 121, 0.4);
  color: #6a7d73;
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: var(--font-accent-soft-spacing);
  text-transform: uppercase;
}

.zone-band[data-id="tinkering"] .project-card.is-featured {
  border-color: rgba(114, 154, 134, 0.52);
  box-shadow:
    0 18px 30px rgba(108, 138, 124, 0.14),
    0 0 0 6px rgba(201, 227, 214, 0.12),
    0 0 28px rgba(171, 210, 191, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.zone-band[data-id="tinkering"] .project-card.is-featured .feature-flag {
  background: rgba(208, 230, 217, 0.3);
  border-color: rgba(114, 154, 134, 0.28);
  color: #5e7b68;
}

.zone-band[data-id="tinkering"] .project-actions .primary {
  background: var(--slate-blue);
}

.zone-band[data-id="tinkering"] .zone-track {
  grid-template-columns: repeat(2, minmax(280px, 380px));
  align-items: stretch;
  justify-content: start;
}

.zone-band[data-id="tinkering"] .project-topline {
  gap: 10px;
}

.zone-band[data-id="tinkering"] .project-title {
  font-size: 22px;
  line-height: 1.08;
}

.zone-band[data-id="tinkering"] .project-meta {
  margin-top: 8px;
}

.zone-band[data-id="tinkering"] .project-project {
  font-size: 11px;
  letter-spacing: 0.12em;
}

.zone-band[data-id="tinkering"] .project-copy {
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.68;
}

.zone-band[data-id="tinkering"] .project-actions {
  margin-top: 12px;
}

.zone-band[data-id="sharing"] {
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 226, 177, 0.2), transparent 20%),
    radial-gradient(circle at 84% 16%, rgba(255, 218, 229, 0.22), transparent 18%),
    radial-gradient(circle at 78% 74%, rgba(220, 239, 226, 0.12), transparent 22%),
    linear-gradient(150deg, rgba(252, 246, 239, 0.98), rgba(246, 233, 228, 0.96));
  border-radius: 52px 38px 34px 62px;
  overflow: visible;
}

.zone-band[data-id="sharing"] .project-card {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.96), rgba(248, 233, 225, 0.94));
  border: 1px solid rgba(131, 67, 84, 0.16);
  border-radius: 28px 22px 32px 20px;
  overflow: hidden;
}

.zone-band[data-id="sharing"] .zone-title {
  color: #8c354f;
}

.zone-band[data-id="sharing"] .project-title {
  color: #7f2f40;
  font-size: 22px;
}

.zone-band[data-id="sharing"] .project-card:nth-child(odd) {
  transform: rotate(-1.8deg) translateY(-4px);
}

.zone-band[data-id="sharing"] .project-card:nth-child(even) {
  transform: rotate(1.9deg) translateY(10px);
}

.zone-band[data-id="sharing"] .project-actions .primary {
  background: linear-gradient(180deg, #b25843, #8a3d33);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 10px 22px rgba(126, 48, 39, 0.18);
}

.zone-band[data-id="sharing"] .project-card.is-featured {
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.99), rgba(252, 236, 223, 0.98));
  border: 2px solid rgba(176, 84, 58, 0.56);
  box-shadow:
    0 20px 40px rgba(128, 39, 55, 0.18),
    0 0 0 6px rgba(255, 215, 152, 0.12),
    0 0 34px rgba(255, 195, 120, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.zone-band[data-id="sharing"] .project-card.is-featured .project-title {
  color: #77293b;
}

.zone-band[data-id="sharing"] .project-card.is-featured .feature-flag {
  background: rgba(255, 225, 157, 0.28);
  border-color: rgba(176, 84, 58, 0.32);
  color: #994629;
}

.zone-band[data-id="sharing"] .zone-track {
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  grid-template-columns: none;
  justify-content: start;
  align-items: start;
  gap: 18px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 12px 16px 14px 14px;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 14px;
  cursor: grab;
}

.zone-band[data-id="sharing"] .zone-track:active {
  cursor: grabbing;
}

.zone-band[data-id="sharing"] .zone-track::-webkit-scrollbar {
  height: 10px;
}

.zone-band[data-id="sharing"] .zone-track::-webkit-scrollbar-thumb {
  background: rgba(140, 72, 89, 0.22);
  border-radius: 999px;
}

.zone-band[data-id="sharing"] .zone-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.36);
  border-radius: 999px;
}

.zone-band[data-id="sharing"] .project-card::before {
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 238, 188, 0.46), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(255, 233, 188, 0.28), transparent 16%),
    linear-gradient(0deg, rgba(143, 67, 88, 0.05) 1px, transparent 1px) 0 0 / 100% 28px;
  opacity: 0.82;
}

.zone-band[data-id="sharing"] .project-card::after {
  display: none;
}

.zone-band[data-id="sharing"] .project-card:nth-child(1) {
  min-height: 240px;
  max-width: 370px;
}

.zone-band[data-id="sharing"] .project-card:nth-child(2) {
  min-height: 230px;
  max-width: 350px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
}

.zone-band[data-id="sharing"] .project-card:nth-child(3) {
  min-height: 216px;
  max-width: 310px;
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.96), rgba(250, 239, 231, 0.94));
}

.zone-band[data-id="sharing"] .project-card:nth-child(4) {
  min-height: 208px;
  max-width: 300px;
  border-style: dashed;
}

.zone-band[data-id="sharing"] .project-card:nth-child(5) {
  min-height: 216px;
  max-width: 330px;
}

.zone-band[data-id="sharing"] .project-card:nth-child(1) .project-topline,
.zone-band[data-id="sharing"] .project-card:nth-child(2) .project-topline {
  position: relative;
}

.zone-band[data-id="sharing"] .project-card:nth-child(1) .project-topline::before {
  display: none;
}

.zone-band[data-id="sharing"] .project-card:nth-child(3) .project-copy,
.zone-band[data-id="sharing"] .project-card:nth-child(4) .project-copy {
  max-width: 24ch;
}

.feature-flag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 12px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 214, 129, 0.28);
  border: 1px solid rgba(201, 112, 54, 0.32);
  color: #9a4f28;
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: var(--font-accent-tight-spacing);
  text-transform: uppercase;
}

.zone-band[data-id="company"] {
  background:
    radial-gradient(circle at 16% 18%, rgba(252, 232, 165, 0.18), transparent 18%),
    radial-gradient(circle at 86% 16%, rgba(205, 236, 233, 0.18), transparent 18%),
    radial-gradient(circle at 55% 120%, rgba(255, 244, 228, 0.28), transparent 28%),
    linear-gradient(0deg, rgba(135, 143, 149, 0.035) 1px, transparent 1px) 0 0/100% 28px,
    linear-gradient(90deg, rgba(135, 143, 149, 0.035) 1px, transparent 1px) 0 0/28px 100%,
    linear-gradient(140deg, rgba(248, 246, 241, 0.98), rgba(238, 241, 238, 0.98) 48%, rgba(226, 234, 231, 0.98));
  border-radius: 30px 40px 26px 42px;
  border-color: rgba(140, 145, 141, 0.18);
  overflow: hidden;
}

.zone-band[data-id="company"] .project-card {
  background:
    linear-gradient(180deg, rgba(250, 248, 243, 0.98), rgba(240, 242, 238, 0.98) 56%, rgba(231, 236, 232, 0.98));
  border: 1px solid rgba(147, 154, 150, 0.2);
  border-top: 6px solid rgba(194, 199, 191, 0.74);
  border-radius: 18px 24px 20px 20px;
  min-height: 560px;
  max-width: 500px;
  box-shadow:
    0 18px 30px rgba(129, 137, 130, 0.12),
    inset 0 1px 0 rgba(255, 252, 245, 0.96),
    inset 0 -16px 22px rgba(196, 202, 192, 0.09),
    inset 0 0 0 1px rgba(255, 250, 243, 0.42);
}

.zone-band[data-id="company"] .project-actions {
  margin-top: auto;
}

.zone-band[data-id="company"] .zone-title,
.zone-band[data-id="company"] .project-title {
  color: #52655d;
}

.zone-band[data-id="company"] .project-card::before {
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 251, 242, 0.42), transparent 24%),
    linear-gradient(0deg, rgba(128, 138, 132, 0.045) 1px, transparent 1px) 0 0/100% 24px;
  opacity: 0.94;
}

.zone-band[data-id="company"] .project-card::after {
  display: none;
}

.zone-band[data-id="company"] .pill,
.zone-band[data-id="company"] .zone-count {
  border-radius: 10px;
  background: rgba(250, 248, 242, 0.88);
  border-color: rgba(147, 153, 147, 0.18);
}

.zone-band[data-id="company"] .project-actions .primary {
  background:
    linear-gradient(180deg, rgba(171, 183, 174, 0.98), rgba(114, 128, 121, 0.98));
  color: #f8faf6;
  box-shadow:
    inset 0 1px 0 rgba(255, 252, 245, 0.44),
    0 10px 20px rgba(105, 116, 109, 0.16),
    inset 0 -4px 10px rgba(82, 93, 88, 0.18);
}

.zone-band[data-id="company"] .project-project,
.zone-band[data-id="company"] .zone-kicker {
  color: rgba(98, 108, 102, 0.72);
}

.zone-band[data-id="company"]::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: 18px;
  width: 180px;
  height: 18px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(152, 160, 153, 0.14) 0 12px,
      rgba(248, 244, 236, 0.1) 12px 24px
    );
  opacity: 0.24;
}

.zone-band[data-id="company"] .project-card.is-featured {
  border-color: rgba(176, 184, 176, 0.54);
  box-shadow:
    0 18px 32px rgba(128, 137, 130, 0.16),
    0 0 0 6px rgba(244, 238, 224, 0.22),
    0 0 30px rgba(217, 231, 226, 0.2),
    inset 0 1px 0 rgba(255, 252, 245, 0.94);
}

.zone-band[data-id="company"] .project-card.is-featured .feature-flag {
  background: rgba(236, 241, 234, 0.72);
  border-color: rgba(168, 178, 170, 0.34);
  color: #738273;
}

.zone-band[data-id="company"] .zone-track {
  grid-template-columns: minmax(340px, 500px);
  justify-content: start;
}

.zone-band[data-id="company"] .project-topline {
  position: relative;
  padding-right: 96px;
}

.zone-band[data-id="company"] .project-topline::before {
  display: none;
}

.zone-band[data-id="company"] .project-title-wrap {
  position: relative;
}

.zone-band[data-id="company"] .project-title-wrap::after {
  content: "readout";
  position: absolute;
  top: 52px;
  right: 4px;
  font-family: var(--font-accent);
  font-size: 0.64rem;
  letter-spacing: var(--font-accent-wide-spacing);
  text-transform: uppercase;
  color: rgba(97, 108, 102, 0.5);
}

.zone-band[data-id="company"] .project-copy {
  max-width: 30ch;
  position: relative;
  padding: 14px 16px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(250, 247, 241, 0.76), rgba(236, 240, 234, 0.68));
  border: 1px solid rgba(151, 158, 151, 0.15);
}

.zone-band[data-id="company"] .project-copy::after {
  content: "steady hands only";
  position: absolute;
  right: 12px;
  bottom: -26px;
  font-family: var(--font-accent);
  font-size: 0.68rem;
  letter-spacing: var(--font-accent-medium-spacing);
  text-transform: uppercase;
  color: rgba(100, 109, 103, 0.48);
}

.zone-band[data-id="tools"] {
  background:
    radial-gradient(circle at 14% 16%, rgba(250, 223, 154, 0.18), transparent 16%),
    radial-gradient(circle at 82% 14%, rgba(201, 231, 208, 0.18), transparent 18%),
    radial-gradient(circle at 80% 78%, rgba(170, 214, 181, 0.12), transparent 18%),
    linear-gradient(150deg, rgba(244, 245, 234, 0.98), rgba(231, 236, 221, 0.96));
  border-radius: 44px 28px 40px 34px;
  overflow: hidden;
}

.zone-band[data-id="tools"] .project-card {
  background:
    linear-gradient(180deg, rgba(251, 250, 240, 0.94), rgba(232, 236, 219, 0.94));
  border: 1px solid rgba(113, 104, 73, 0.22);
  border-radius: 24px 18px 28px 18px;
  overflow: hidden;
}

.zone-band[data-id="tools"] .project-card:nth-child(1) {
  min-height: 206px;
  max-width: none;
  transform: rotate(-1.4deg) translateY(4px);
}

.zone-band[data-id="tools"] .project-card:nth-child(2) {
  min-height: 192px;
  max-width: none;
  transform: rotate(1.8deg) translateY(22px);
}

.zone-band[data-id="tools"] .project-card:nth-child(3) {
  min-height: 206px;
  max-width: none;
  transform: rotate(-0.9deg) translateY(8px);
}

.zone-band[data-id="tools"] .project-card:nth-child(4) {
  min-height: 198px;
  max-width: none;
  transform: rotate(1.1deg) translateY(14px);
}

.zone-band[data-id="tools"] .zone-title,
.zone-band[data-id="tools"] .project-title {
  color: #40553c;
}

.zone-band[data-id="tools"] .project-actions .primary {
  background: linear-gradient(180deg, #6b7150, #4c5238);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    0 8px 18px rgba(73, 78, 52, 0.18);
}

.zone-band[data-id="tools"]::after {
  content: "";
  position: absolute;
  inset: auto 4% 12px 4%;
  height: 18px;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(73, 82, 55, 0.14) 0 10px,
      rgba(206, 186, 112, 0.14) 10px 20px
    );
  border-radius: 999px;
  opacity: 0.24;
}

.zone-band[data-id="tools"] .project-card.is-featured {
  border-color: rgba(171, 153, 88, 0.48);
  box-shadow:
    0 18px 34px rgba(80, 89, 55, 0.18),
    0 0 0 6px rgba(205, 198, 138, 0.12),
    0 0 28px rgba(174, 214, 148, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.zone-band[data-id="tools"] .project-card.is-featured .feature-flag {
  background: rgba(214, 214, 170, 0.42);
  border-color: rgba(126, 132, 87, 0.28);
  color: #606748;
}

.zone-band[data-id="tools"] .zone-track {
  width: fit-content;
  max-width: 100%;
  grid-template-columns: 236px 214px 236px 214px 236px 214px;
  justify-content: start;
  align-items: start;
  gap: 18px;
}

.zone-band[data-id="tools"] .zone-head {
  position: relative;
}

.zone-band[data-id="tools"] .zone-head::after {
  content: "do not trust this machine";
  position: absolute;
  left: 300px;
  top: 6px;
  font-family: var(--font-script);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: rgba(103, 78, 43, 0.64);
  transform: rotate(-6deg);
  opacity: 0.82;
  pointer-events: none;
}

.zone-band[data-id="tools"] .project-card::before {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 248, 211, 0.36), transparent 20%),
    linear-gradient(0deg, rgba(85, 96, 58, 0.06) 1px, transparent 1px) 0 0 / 100% 26px;
  opacity: 0.9;
}

.zone-band[data-id="tools"] .project-card::after {
  position: absolute;
  top: 14px;
  right: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: var(--font-accent-wide-spacing);
  text-transform: uppercase;
  color: rgba(73, 83, 53, 0.82);
  background: rgba(250, 245, 219, 0.68);
  border: 1px dashed rgba(105, 114, 76, 0.24);
}

.zone-band[data-id="tools"] .project-card:nth-child(1)::after {
  content: "bench 01";
}

.zone-band[data-id="tools"] .project-card:nth-child(2)::after {
  content: "mod 02";
}

.zone-band[data-id="tools"] .project-card:nth-child(3)::after {
  content: "kit 03";
}

.zone-band[data-id="tools"] .project-card:nth-child(4)::after {
  content: "lab 04";
}

.zone-band[data-id="tools"] .project-card:nth-child(5)::after {
  content: "type 05";
}

.zone-band[data-id="tools"] .project-card:nth-child(6)::after {
  content: "grid 06";
}

.zone-band[data-id="tools"] .project-card:nth-child(1) .project-topline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: -10px;
  width: 112px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(214, 178, 82, 0.42), rgba(250, 233, 154, 0.2));
  transform: rotate(-10deg);
  opacity: 0.88;
}

.zone-band[data-id="tools"] .project-card:nth-child(1) {
  border-style: solid;
}

.zone-band[data-id="tools"] .project-card:nth-child(1) .project-title-wrap {
  position: relative;
  padding-right: 68px;
}

.zone-band[data-id="tools"] .project-card:nth-child(1) .project-copy {
  max-width: 21ch;
  position: relative;
}

.zone-band[data-id="tools"] .project-card:nth-child(1) .project-actions {
  margin-top: auto;
}

.zone-band[data-id="tools"] .project-card:nth-child(1) .project-topline {
  position: relative;
}

.zone-band[data-id="tools"] .project-card:nth-child(2) {
  border-style: dashed;
}

.zone-band[data-id="tools"] .project-card:nth-child(2) .project-title-wrap {
  position: relative;
  padding-right: 56px;
}

.zone-band[data-id="tools"] .project-card:nth-child(2) .project-copy {
  max-width: 18ch;
}

.zone-band[data-id="tools"] .project-card:nth-child(2) .project-actions {
  margin-top: auto;
}

.zone-band[data-id="tools"] .project-card:nth-child(3) {
  border-style: solid;
}

.zone-band[data-id="tools"] .project-card:nth-child(3) .project-title-wrap {
  position: relative;
  padding-right: 56px;
}

.zone-band[data-id="tools"] .project-card:nth-child(3) .project-copy {
  max-width: 21ch;
  position: relative;
}

.zone-band[data-id="tools"] .project-card:nth-child(3) .project-actions {
  margin-top: auto;
}

.zone-band[data-id="tools"] .project-card:nth-child(4) {
  border-style: solid;
}

.zone-band[data-id="tools"] .project-card:nth-child(4) .project-title-wrap {
  position: relative;
  padding-right: 56px;
}

.zone-band[data-id="tools"] .project-card:nth-child(4) .project-copy {
  max-width: 18ch;
  position: relative;
}

.zone-band[data-id="tools"] .project-card:nth-child(4) .project-actions {
  margin-top: auto;
}

.zone-band[data-id="tools"] .project-card:nth-child(4)::before {
  background:
    radial-gradient(circle at 16% 14%, rgba(252, 239, 186, 0.22), transparent 16%),
    radial-gradient(circle at 82% 18%, rgba(182, 229, 214, 0.18), transparent 18%),
    linear-gradient(0deg, rgba(85, 96, 58, 0.06) 1px, transparent 1px) 0 0 / 100% 24px;
}

.zone-band[data-id="tools"] .project-card:nth-child(4) .project-title::before {
  content: "✷";
  margin-right: 8px;
  color: #7a774f;
}

.zone-band[data-id="tools"] .project-card:nth-child(4) .project-copy::after {
  content: "make the poster";
  position: absolute;
  right: 0;
  bottom: -28px;
  font-family: var(--font-script);
  font-size: 0.92rem;
  color: rgba(104, 86, 53, 0.7);
  transform: rotate(3deg);
  white-space: nowrap;
}

.zone-band[data-id="tools"] .project-card:nth-child(5) {
  min-height: 202px;
  max-width: none;
  border-style: dashed;
  transform: rotate(-1.2deg) translateY(10px);
}

.zone-band[data-id="tools"] .project-card:nth-child(5) .project-title-wrap {
  position: relative;
  padding-right: 64px;
}

.zone-band[data-id="tools"] .project-card:nth-child(5) .project-copy {
  max-width: 20ch;
  position: relative;
}

.zone-band[data-id="tools"] .project-card:nth-child(5) .project-actions {
  margin-top: auto;
}

.zone-band[data-id="tools"] .project-card:nth-child(5)::before {
  background:
    radial-gradient(circle at 18% 12%, rgba(253, 241, 196, 0.24), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(183, 224, 203, 0.18), transparent 18%),
    linear-gradient(0deg, rgba(85, 96, 58, 0.06) 1px, transparent 1px) 0 0 / 100% 24px,
    linear-gradient(90deg, rgba(85, 96, 58, 0.05) 1px, transparent 1px) 0 0 / 18px 100%;
}

.zone-band[data-id="tools"] .project-card:nth-child(5) .project-title::before {
  content: "Aa";
  margin-right: 8px;
  color: #7a774f;
}

.zone-band[data-id="tools"] .project-card:nth-child(5) .project-copy::after {
  content: "tune the voice";
  position: absolute;
  right: 2px;
  bottom: -28px;
  font-family: var(--font-script);
  font-size: 0.92rem;
  color: rgba(104, 86, 53, 0.7);
  transform: rotate(-2deg);
  white-space: nowrap;
}

.zone-band[data-id="tools"] .project-card:nth-child(6) {
  min-height: 198px;
  max-width: none;
  border-style: solid;
  transform: rotate(1deg) translateY(18px);
}

.zone-band[data-id="tools"] .project-card:nth-child(6) .project-title-wrap {
  position: relative;
  padding-right: 58px;
}

.zone-band[data-id="tools"] .project-card:nth-child(6) .project-copy {
  max-width: 18ch;
  position: relative;
}

.zone-band[data-id="tools"] .project-card:nth-child(6) .project-actions {
  margin-top: auto;
}

.zone-band[data-id="tools"] .project-card:nth-child(6)::before {
  background:
    radial-gradient(circle at 18% 14%, rgba(252, 242, 201, 0.24), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(185, 227, 205, 0.18), transparent 18%),
    linear-gradient(0deg, rgba(85, 96, 58, 0.06) 1px, transparent 1px) 0 0 / 100% 24px,
    linear-gradient(90deg, rgba(85, 96, 58, 0.05) 1px, transparent 1px) 0 0 / 18px 100%;
}

.zone-band[data-id="tools"] .project-card:nth-child(6) .project-title::before {
  content: "🧾";
  margin-right: 8px;
  color: #7a774f;
}

.zone-band[data-id="tools"] .project-card:nth-child(6) .project-copy::after {
  content: "print the prize";
  position: absolute;
  right: 4px;
  bottom: -28px;
  font-family: var(--font-script);
  font-size: 0.92rem;
  color: rgba(104, 86, 53, 0.7);
  transform: rotate(2deg);
  white-space: nowrap;
}

.zone-band[data-id="tools"] .project-card:nth-child(3)::before {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 250, 214, 0.28), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(188, 221, 199, 0.18), transparent 18%),
    linear-gradient(0deg, rgba(85, 96, 58, 0.06) 1px, transparent 1px) 0 0 / 100% 24px;
}

.zone-band[data-id="tools"] .project-card:nth-child(3) .project-title::before {
  content: "🗣";
  margin-right: 8px;
  color: #7a774f;
}

.zone-band[data-id="tools"] .project-card:nth-child(3) .project-copy::after {
  content: "pitch it once";
  position: absolute;
  right: 6px;
  bottom: -28px;
  font-family: var(--font-script);
  font-size: 0.92rem;
  color: rgba(104, 86, 53, 0.7);
  transform: rotate(-3deg);
  white-space: nowrap;
}

.zone-band[data-id="tools"] .project-card:nth-child(2)::before {
  background:
    radial-gradient(circle at 78% 18%, rgba(181, 245, 161, 0.16), transparent 18%),
    linear-gradient(0deg, rgba(85, 96, 58, 0.06) 1px, transparent 1px) 0 0 / 100% 22px,
    linear-gradient(90deg, rgba(85, 96, 58, 0.05) 1px, transparent 1px) 0 0 / 22px 100%;
}

.zone-band[data-id="tools"] .project-card:nth-child(2) .project-title::before {
  content: "⚙";
  margin-right: 8px;
  color: #7a774f;
}

.zone-band[data-id="tools"] .project-card:nth-child(1) .project-copy::after {
  content: "get time back";
  position: absolute;
  right: 8px;
  top: -18px;
  font-family: var(--font-script);
  font-size: 0.92rem;
  color: rgba(104, 86, 53, 0.7);
  transform: rotate(-4deg);
  white-space: nowrap;
}

.zone-band[data-id="tools"] .project-card:nth-child(2) .project-copy {
  position: relative;
}

.zone-band[data-id="tools"] .project-card:nth-child(2) .project-copy::after {
  content: "cut this part";
  position: absolute;
  right: 4px;
  bottom: -28px;
  font-family: var(--font-script);
  font-size: 0.92rem;
  color: rgba(104, 86, 53, 0.7);
  transform: rotate(4deg);
  white-space: nowrap;
}

.zone-band[data-id="tools"] .project-project {
  letter-spacing: var(--font-accent-wide-spacing);
  color: rgba(93, 92, 71, 0.78);
}

.project-card {
  position: relative;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 247, 0.84);
  border: 1px solid rgba(84, 61, 46, 0.12);
  box-shadow: var(--shadow-soft);
  min-height: 244px;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  background: radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.42), transparent 28%);
  opacity: 0.7;
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(52, 36, 27, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.project-card:hover .project-title {
  filter: saturate(1.08);
}

.project-card.is-featured {
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.99), rgba(255, 247, 239, 0.98));
  border: 2px solid rgba(201, 112, 54, 0.42);
  z-index: 2;
  box-shadow:
    0 18px 38px rgba(184, 109, 60, 0.14),
    0 0 26px rgba(255, 195, 108, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  animation: marqueeGlow 3.2s ease-in-out infinite;
}

@keyframes marqueeGlow {
  0%, 100% {
    box-shadow:
      0 18px 38px rgba(184, 109, 60, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }
  50% {
    box-shadow:
      0 24px 46px rgba(156, 122, 94, 0.16),
      0 0 0 3px rgba(255, 255, 255, 0.18),
      0 0 32px rgba(211, 211, 211, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }
}

.project-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.project-title-wrap {
  min-width: 0;
}

.card-tools {
  display: none;
  align-items: center;
  gap: 8px;
}

.is-editing .card-tools {
  display: inline-flex;
}

.card-tool {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.84);
  color: var(--ink-soft);
  font-size: 12px;
}

.card-tool.danger {
  color: #8a5460;
  border-color: rgba(138, 84, 96, 0.2);
}

.drag-handle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(84, 61, 46, 0.1);
  background: rgba(255, 252, 247, 0.72);
  color: rgba(92, 79, 71, 0.62);
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: -0.18em;
  cursor: grab;
  user-select: none;
}

.drag-handle,
.card-tool {
  pointer-events: auto;
}

.project-copy {
  margin: 12px 0 0;
  font-family: var(--font-detail-body);
  font-size: 0.92rem;
  line-height: 1.82;
  letter-spacing: 0.01em;
  color: rgba(84, 68, 61, 0.84);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  flex: 0 0 auto;
}

.project-meta {
  margin-top: 12px;
}

.project-project {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.link-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.78);
  border: 1px solid rgba(84, 61, 46, 0.12);
  color: var(--ink-soft);
  font-size: 12px;
}

.project-card {
  cursor: grab;
}

body:not(.is-editing) .drag-handle,
body:not(.is-editing) .card-tools {
  display: none;
}

.project-card.is-dragging {
  opacity: 0.42;
  transform: rotate(-2deg) scale(0.98);
  box-shadow: 0 10px 24px rgba(52, 36, 27, 0.1);
}

.project-card.is-dragging .drag-handle {
  cursor: grabbing;
}

.empty-card {
  display: flex;
  align-items: center;
  min-height: 160px;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(84, 61, 46, 0.18);
  color: var(--ink-soft);
  line-height: 1.7;
  background: rgba(255, 252, 247, 0.52);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(41, 37, 34, 0.28);
  backdrop-filter: blur(10px);
}

.modal-card {
  width: min(680px, 100%);
  padding: 24px;
}

.modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.editor-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: var(--muted);
  font-size: 14px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.9);
  color: var(--ink);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 1260px) {
  .zone-track {
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 36vw);
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
  }

  .project-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 1220px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-entry,
  .hero-console {
    min-height: auto;
  }

  .hero-console-shell {
    min-height: auto;
  }

  .hero-ticket {
    right: 6%;
  }

  .zone-head {
    grid-template-columns: 1fr;
  }

  .zone-side {
    justify-items: start;
  }

  .editor-panel-head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .zone-track {
    grid-auto-columns: minmax(270px, 72vw);
  }

  .project-card {
    min-height: 230px;
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(var(--content), calc(100% - 20px));
    padding-top: 18px;
  }

  .hero-main,
  .zone-band {
    padding: 22px;
  }

  .hero-main {
    padding: 0;
  }

  h1 {
    max-width: none;
    font-size: clamp(42px, 12vw, 64px);
  }

  .hero-stage {
    min-height: 260px;
  }

  .hero-console-shell {
    padding: 20px;
  }

  .hero-console-card {
    padding: 20px 18px;
  }

  .hero-console-card {
    min-height: 250px;
  }

  .hero-ticket {
    width: 220px;
  }

  .hero-note-main,
  .hero-note-world,
  .hero-note-share,
  .hero-note-ongoing {
    width: auto;
  }
}

@media (max-width: 640px) {
  .project-actions,
  .modal-actions,
  .topbar-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stage {
    min-height: 230px;
  }

  .hero-console-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-route-strip {
    gap: 10px;
  }

  .hero-route-chip {
    width: 100%;
    justify-content: center;
  }

  .hero-note {
    padding: 14px 14px 16px;
    border-radius: 20px;
  }

  .hero-ticket {
    top: 4%;
    right: 4%;
    width: 48%;
    padding: 12px 14px 14px;
  }

  .hero-note-main {
    top: 2%;
    left: 2%;
    right: 16%;
  }

  .hero-note-world {
    top: 18%;
    right: 2%;
    width: 48%;
  }

  .hero-note-share {
    bottom: 4%;
    right: 4%;
    width: 54%;
  }

  .hero-note-ongoing {
    left: 4%;
    bottom: 20%;
    width: 42%;
  }

  .hero-orbit {
    display: none;
  }

  .project-actions a,
  .topbar-button,
  .hidden-restore,
  .hidden-restore-all {
    width: 100%;
  }
}
.zone-band[data-id="content"]::after {
  background: linear-gradient(135deg, rgba(214, 133, 156, 0.5), rgba(255, 214, 229, 0.22));
}

.zone-band[data-id="sharing"]::after {
  background: linear-gradient(135deg, rgba(255, 171, 117, 0.56), rgba(255, 224, 187, 0.22));
}

.zone-band[data-id="company"]::after {
  background: linear-gradient(135deg, rgba(142, 201, 173, 0.56), rgba(225, 241, 232, 0.22));
}
