:root {
  --ink: #101112;
  --ink-soft: #191b1d;
  --paper: #f5f1e8;
  --white: #fff;
  --muted: rgba(255, 255, 255, 0.58);
  --faint: rgba(255, 255, 255, 0.12);
  --gold: #d4a14a;
  --mint: #9ee4c8;
  --coral: #ff6b4a;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }

html { background: var(--ink); }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(720px 420px at 90% 5%, rgba(158, 228, 200, 0.11), transparent 68%),
    linear-gradient(142deg, #101112 0%, #151718 56%, #1b1814 100%);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: 0; }

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 max(20px, calc((100% - 1180px) / 2));
  background: rgba(16, 17, 18, 0.9);
  border-bottom: 1px solid var(--faint);
  backdrop-filter: blur(16px);
}

.back-link,
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  transition: color 400ms var(--ease), transform 400ms var(--ease);
}

.back-link:hover { color: var(--white); transform: translateX(-2px); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
}

.header-cta {
  justify-self: end;
  padding: 9px 14px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  font-weight: 800;
}

.header-cta:hover { color: var(--ink); background: var(--mint); transform: translateY(-2px); }

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0 120px;
}

.hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 300px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--faint);
}

.hero::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: -10px;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(212, 161, 74, 0.36);
  border-radius: 50%;
}

.hero-copy { max-width: 760px; }

.eyebrow,
.stage-kicker,
.future-mark {
  margin: 0;
  color: var(--coral);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.eyebrow span {
  width: 32px;
  height: 2px;
  background: var(--coral);
}

h1,
h2 {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  letter-spacing: 0;
}

h1 {
  font-size: 76px;
  line-height: 1.08;
}

.hero-copy > p:last-child {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.hero-note {
  display: grid;
  gap: 6px;
  padding-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.hero-note span:first-child { color: var(--mint); }

.category-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--faint);
  border-bottom: 1px solid var(--faint);
}

.category-tab {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 74px;
  padding: 0 18px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--faint);
  cursor: pointer;
  text-align: left;
  transition: color 500ms var(--ease), background 500ms var(--ease);
}

.category-tab:last-child { border-right: 0; }
.category-tab small { color: var(--coral); font-size: 10px; }
.category-tab span { font-weight: 700; }

.category-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 600ms var(--ease);
}

.category-tab:hover,
.category-tab.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.category-tab.is-active::after { transform: scaleX(1); }

.style-stage {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 64px;
  padding-top: 64px;
}

.style-lead {
  align-self: start;
  padding-top: 10px;
}

.stage-kicker { color: var(--mint); }

.style-lead h2 {
  margin-top: 44px;
  font-size: 42px;
  line-height: 1.24;
}

.style-lead > p:not(.stage-kicker) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.style-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.style-tag {
  padding: 5px 10px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--faint);
  border-radius: 999px;
  font-size: 11px;
}

.style-board {
  min-height: 450px;
  padding: 22px;
  background: rgba(25, 27, 29, 0.9);
  border: 1px solid var(--faint);
  border-radius: 8px;
}

.board-topline {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  font-weight: 800;
}

.style-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.style-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: #26282a;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.style-card::before,
.style-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.style-card::before {
  inset: 0;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.18), transparent 36%, rgba(0, 0, 0, 0.62));
}

.style-card::after {
  right: 18px;
  bottom: 18px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
}

.style-card:nth-child(1) { background: linear-gradient(145deg, #b97042 0%, #45251f 64%, #1c1716 100%); }
.style-card:nth-child(2) { background: linear-gradient(150deg, #416462 0%, #1e3135 54%, #141819 100%); }
.style-card:nth-child(3) { background: linear-gradient(155deg, #b99a55 0%, #57462a 50%, #1c1a17 100%); }

.style-card__index,
.style-card__name,
.style-card__status {
  position: absolute;
  z-index: 1;
  left: 18px;
}

.style-card__index {
  top: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  font-weight: 800;
}

.style-card__name {
  bottom: 46px;
  max-width: 140px;
  font-family: "Songti SC", "STSong", serif;
  font-size: 22px;
  line-height: 1.15;
}

.style-card__status {
  bottom: 18px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
}

.future-note {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 64px;
  padding-top: 48px;
  color: var(--muted);
  border-top: 1px solid var(--faint);
}

.future-note p {
  max-width: 620px;
  margin: 0;
  font-size: 13px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px max(20px, calc((100% - 1180px) / 2));
  color: var(--muted);
  border-top: 1px solid var(--faint);
  font-size: 12px;
}

.site-footer a { transition: color 400ms var(--ease); }
.site-footer a:hover { color: var(--white); }

@media (max-width: 767px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 70px;
    padding: 0 16px;
  }

  .brand { grid-column: 2; grid-row: 1; font-size: 12px; }
  .back-link { grid-column: 1; grid-row: 1; }
  .header-cta { position: fixed; right: 16px; bottom: 18px; z-index: 6; min-height: 46px; padding: 10px 15px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28); }

  main {
    width: calc(100% - 32px);
    padding: 76px 0 128px;
  }

  .hero {
    display: block;
    min-height: 250px;
    padding-bottom: 36px;
  }

  .hero::after { right: 6%; bottom: -12px; width: 58px; height: 58px; }
  h1 { font-size: 48px; }
  .hero-copy > p:last-child { font-size: 15px; }
  .hero-note { display: flex; justify-content: space-between; margin-top: 52px; text-align: left; }

  .category-nav { grid-template-columns: 1fr 1fr; margin-top: 36px; }
  .category-tab { min-height: 60px; padding: 0 12px; border-bottom: 1px solid var(--faint); font-size: 13px; }
  .category-tab:nth-child(2) { border-right: 0; }
  .category-tab:nth-child(3), .category-tab:nth-child(4) { border-bottom: 0; }

  .style-stage { grid-template-columns: 1fr; gap: 28px; padding-top: 42px; }
  .style-lead h2 { margin-top: 34px; font-size: 34px; }
  .style-board { min-height: 0; padding: 14px; }
  .style-cards { grid-template-columns: 1fr; gap: 10px; }
  .style-card { min-height: 180px; }
  .style-card__name { bottom: 40px; font-size: 20px; }
  .style-card__status { bottom: 16px; }
  .style-card::after { right: 16px; bottom: 16px; }
  .future-note { grid-template-columns: 1fr; gap: 12px; padding-top: 34px; }
  .site-footer { flex-wrap: wrap; padding: 24px 16px; }
  .site-footer span { order: 3; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
