:root {
  color-scheme: light;
  --ink: #18201f;
  --deep: #0f1717;
  --muted: #68716d;
  --paper: #f7f4eb;
  --panel: rgba(255, 252, 244, 0.9);
  --line: rgba(24, 32, 31, 0.12);
  --teal: #1b9aa5;
  --jade: #4fba80;
  --gold: #d99b2b;
  --ember: #e56445;
  --blue: #4d78c8;
  --shadow: 0 26px 70px rgba(21, 26, 25, 0.14);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "SF Pro Rounded", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 8% 12%, rgba(27, 154, 165, 0.16), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(229, 100, 69, 0.12), transparent 26%),
    linear-gradient(180deg, #f7f4eb 0%, #eef4f1 42%, #f6efe4 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(90deg, #18201f 1px, transparent 1px),
    linear-gradient(0deg, #18201f 1px, transparent 1px);
  background-size: 64px 64px;
}

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

button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease);
}

button:hover {
  transform: translateY(-2px);
  background: #fff;
}

button[data-active="true"] {
  color: #fffaf0;
  background: var(--deep);
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100vw - 28px));
  margin: 14px auto 46px;
  display: grid;
  gap: 18px;
}

.hero-band {
  position: relative;
  min-height: min(690px, calc(100vh - 28px));
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: 18px;
  padding: clamp(24px, 5vw, 64px);
  color: #fff7e8;
  background:
    linear-gradient(90deg, rgba(9, 13, 13, 0.86) 0%, rgba(9, 13, 13, 0.68) 42%, rgba(9, 13, 13, 0.18) 100%),
    linear-gradient(0deg, rgba(9, 13, 13, 0.7), transparent 42%),
    url("./dashboard-assets/showcase-hero.png") center / cover;
  box-shadow: var(--shadow);
}

.hero-band::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 247, 232, 0.2);
  border-radius: 12px;
  pointer-events: none;
}

.top-nav {
  position: absolute;
  top: 28px;
  right: 34px;
  z-index: 2;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.top-nav a,
.hero-actions a,
.project-actions a {
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  padding: 0 16px;
  font-weight: 1000;
}

.top-nav a {
  border: 1px solid rgba(255, 247, 232, 0.2);
  color: #fff7e8;
  background: rgba(9, 13, 13, 0.32);
  backdrop-filter: blur(12px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-band .eyebrow {
  color: #79e4eb;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 8vw, 118px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 25px;
  line-height: 1.15;
}

.hero-line {
  max-width: 43em;
  margin-bottom: 24px;
  color: rgba(255, 247, 232, 0.86);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.5;
  font-weight: 850;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-actions a {
  border: 1px solid rgba(255, 247, 232, 0.24);
  color: #fff7e8;
  background: rgba(255, 247, 232, 0.12);
  backdrop-filter: blur(12px);
}

.hero-actions a.primary-link {
  color: #111717;
  background: linear-gradient(180deg, #fff0b5, #f0c76b);
}

.live-ribbon {
  position: absolute;
  right: 34px;
  bottom: 34px;
  z-index: 2;
  width: min(290px, calc(100% - 68px));
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 247, 232, 0.26);
  border-radius: 14px;
  padding: 16px;
  background: rgba(9, 13, 13, 0.52);
  backdrop-filter: blur(14px);
}

.live-ribbon span {
  color: #79e4eb;
  font-size: 12px;
  font-weight: 1000;
}

.live-ribbon strong {
  font-size: 24px;
}

.live-ribbon small {
  color: rgba(255, 247, 232, 0.68);
  font-weight: 850;
}

.summary-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: -48px;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

.summary-board article,
.story-panel,
.project-card,
.proof-band article,
.backlog-item,
.online-note {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.summary-board article {
  min-height: 138px;
  display: grid;
  gap: 7px;
  align-content: center;
  padding: 20px;
}

.summary-board span,
.project-kicker span,
.backlog-item span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 1000;
}

.summary-board strong {
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.95;
}

.summary-board small {
  color: var(--muted);
  font-weight: 850;
  line-height: 1.4;
}

.story-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
}

.story-copy p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 850;
}

.progress-track {
  height: 18px;
  border: 1px solid rgba(24, 32, 31, 0.1);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(24, 32, 31, 0.08);
}

.progress-track i {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--jade), var(--teal), var(--gold));
  transition: width 680ms var(--ease);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 4px 0;
}

.section-head.compact {
  padding-top: 0;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  display: grid;
  grid-template-rows: 250px auto;
  overflow: hidden;
}

.project-shot {
  position: relative;
  overflow: hidden;
  background: var(--deep);
}

.project-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
  transition: transform 520ms var(--ease);
}

.project-card:hover .project-shot img {
  transform: scale(1.035);
}

.status-pill {
  position: absolute;
  left: 14px;
  top: 14px;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  color: #fffaf0;
  background: var(--deep);
  font-size: 12px;
  font-weight: 1000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.status-pill.service {
  background: var(--teal);
}

.status-pill.polish {
  background: var(--ember);
}

.project-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

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

.project-kicker b {
  color: var(--gold);
}

.project-title {
  margin-bottom: 6px;
  font-size: 30px;
}

.project-summary,
.project-lists p,
.proof-band p,
.backlog-item p,
.online-note li {
  color: var(--muted);
  line-height: 1.6;
  font-weight: 850;
}

.mini-progress {
  display: grid;
  gap: 7px;
}

.mini-progress div {
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(24, 32, 31, 0.08);
}

.mini-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.meta-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.meta-row span,
.tag-row span {
  border: 1px solid rgba(24, 32, 31, 0.09);
  border-radius: 999px;
  padding: 6px 9px;
  color: #47514d;
  background: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 900;
}

.project-lists {
  display: grid;
  gap: 10px;
}

.project-lists div {
  border-left: 3px solid rgba(27, 154, 165, 0.45);
  padding-left: 10px;
}

.project-lists strong {
  display: block;
  margin-bottom: 4px;
}

.project-lists p {
  margin-bottom: 0;
  font-size: 14px;
}

.project-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.project-actions a {
  border: 1px solid var(--line);
  color: var(--deep);
  background: rgba(255, 255, 255, 0.68);
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}

.project-actions a.primary {
  color: #fffaf0;
  background: var(--deep);
}

.project-actions a:hover {
  transform: translateY(-2px);
  background: #fff;
}

.project-actions a.primary:hover {
  background: #24302e;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.proof-band article {
  min-height: 205px;
  padding: 22px;
}

.roadmap-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.35fr);
  gap: 18px;
}

.roadmap-main {
  display: grid;
  gap: 14px;
}

.backlog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.backlog-item {
  min-height: 148px;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.online-note {
  align-self: start;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(27, 154, 165, 0.12), transparent 42%),
    var(--panel);
}

.online-note ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 22px;
}

@media (max-width: 1180px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .hero-band {
    min-height: 640px;
    padding-top: 112px;
  }

  .top-nav {
    left: 22px;
    right: 22px;
    justify-content: flex-start;
  }

  .live-ribbon {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 2;
    margin-top: 22px;
  }

  .summary-board,
  .story-panel,
  .roadmap-layout {
    grid-template-columns: 1fr;
  }

  .summary-board {
    margin-top: 0;
    padding: 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .filters {
    justify-content: flex-start;
  }

  .proof-band,
  .backlog-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(100vw - 20px, 1480px);
    margin-top: 10px;
  }

  .hero-band {
    border-radius: 12px;
    min-height: 620px;
    padding: 104px 18px 22px;
  }

  .hero-band::after {
    inset: 8px;
  }

  h1 {
    font-size: clamp(44px, 14vw, 68px);
  }

  .hero-actions,
  .project-actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .summary-board,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-template-rows: 210px auto;
  }
}
