:root {
  --bg: #08080b;
  --bg-2: #08080b;
  --ink: #f7f7f4;
  --muted: #a7a3ac;
  --faint: #6f6b74;
  --pink: #ff20a6;
  --pink-2: #ff20a6;
  --cyan: #ff20a6;
  --green: #f7f7f4;
  --panel: #15141a;
  --panel-strong: #1b1920;
  --line: #34313a;
  --line-soft: #34313a;
  --shadow-sm: none;
  --shadow: none;
  --font-sans: "HarmonyOS Sans SC", "PingFang SC", sans-serif;
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 66px;
  }

  .hero,
  .band {
    scroll-margin-top: 66px;
  }

  .section-dock {
    right: 10px;
    width: 64px;
    gap: 10px;
  }

  .section-dock a:hover,
  .section-dock a:focus-visible {
    width: 60px;
    height: 28px;
  }
}

html,
body {
  background: #08080b
}

html {
  scroll-padding-top: 0;
}

.hero,
.band {
  scroll-margin-top: 76px;
}

body {
  font-weight: 300;
  letter-spacing: 0
}

.section-dock {
  position: fixed;
  z-index: 30;
  right: 2.4vw;
  top: 50%;
  width: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: translateY(-50%);
}

.section-dock a {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  overflow: hidden;
  background: var(--pink);
  color: var(--ink);
  font: 12px/1 var(--font-sans);
  letter-spacing: .12em;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 32, 166, .2);
  transition: width .28s ease, height .28s ease, box-shadow .28s ease;
}

.section-dock a span {
  opacity: 0;
  transform: scale(.7);
  transition: opacity .16s ease .06s, transform .24s ease;
}

.section-dock a:hover,
.section-dock a:focus-visible {
  width: 72px;
  height: 30px;
  outline: 0;
  box-shadow: 0 10px 30px rgba(255, 32, 166, .32);
}

.section-dock a:hover span,
.section-dock a:focus-visible span {
  opacity: 1;
  transform: scale(1);
}

body::before {
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .025) 4px);
  background-size: auto;
  opacity: .5
}

body::after {
  display: none
}

::selection {
  background: var(--pink);
  color: #000
}

.page {
  width: 100%;
  max-width: none;
  padding: 0
}

.site-header {
  min-height: 76px;
  padding: 0 3.1vw;
  margin: 0;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(5, 5, 5, .82);
  backdrop-filter: blur(14px)
}

.brand {
  gap: 18px
}

.brand .brand-logo {
  display: block;
  width: auto;
  height: 30px;
  max-width: min(200px, 42vw);
  object-fit: contain;
  filter: none;
}

.brand-wordmark {
  font-size: 17px;
  line-height: 1;
  letter-spacing: .32em;
  font-weight: 300;
  white-space: nowrap
}

.brand-wordmark span {
  color: var(--pink)
}

.brand>span {
  color: #777;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .12em
}

.nav {
  gap: 28px
}

.nav a {
  color: #888;
  font-size: 12px;
  letter-spacing: .12em;
  padding: 28px 0 25px;
  border-bottom: 2px solid transparent
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  border-color: var(--pink)
}

.cta,
.btn-primary {
  justify-self: end;
  border: 1px solid var(--pink);
  border-radius: 0;
  background: var(--pink);
  color: #050505;
  box-shadow: none;
  font-weight: 600;
  letter-spacing: .06em
}

.cta:hover,
.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #050505;
  transform: none
}

.ghost {
  border-radius: 0;
  border-color: #484848;
  background: transparent
}

.ghost:hover {
  border-color: var(--ink);
  background: transparent;
  transform: none
}

.hero {
  display: block;
  width: 100%;
  height: calc(100svh - 76px);
  height: calc(100dvh - 76px);
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #050505;
  overflow: hidden
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, .98) 0%, rgba(5, 5, 5, .88) 42%, rgba(5, 5, 5, .22) 72%, rgba(5, 5, 5, .08) 100%);
  z-index: 1;
  pointer-events: none
}

.hero-flower {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: url("images/xihongmen-hero-bg.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  filter: saturate(.8) contrast(1.08);
  opacity: .9
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  max-width: none;
  height: 100%;
  padding: clamp(28px, 5.5svh, 64px) 8.4vw clamp(24px, 4svh, 46px);
  display: flex;
  flex-direction: column;
  justify-content: center
}

.eyebrow {
  color: #aaa;
  font-size: clamp(10px, 1.3svh, 12px);
  font-weight: 400;
  letter-spacing: .24em;
  line-height: 1.55;
  text-transform: uppercase
}

.hero h1 {
  max-width: none;
  margin: clamp(12px, 2svh, 22px) 0 clamp(16px, 2.8svh, 30px);
  font-size: clamp(52px, min(6.2vw, 10svh), 96px);
  line-height: .89;
  letter-spacing: -.07em;
  font-weight: 300
}

.hero h1>span {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap
}

.hero h1::after {
  content: none
}

.hero-meta {
  gap: clamp(7px, 1svh, 10px);
  margin: clamp(10px, 1.7svh, 18px) 0;
  color: #aaa;
  font-size: clamp(13px, 1.75svh, 17px)
}

.hero-meta .meta-line {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
  line-height: 1.45
}

.hero-meta .meta-line svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: calc((1.45em - 20px)/2) 0 0
}

.hero-meta .meta-line span {
  display: block;
  margin: 0
}

.meta-line svg,
.stat svg,
.info-card svg {
  color: var(--pink)
}

.countdown-card {
  width: 100%;
  max-width: 980px;
  margin-top: clamp(10px, 1.8svh, 18px);
  padding: clamp(10px, 1.5svh, 16px) 20px;
  border: 1px solid #3a3a3a;
  border-radius: 0;
  background: #090909;
  box-shadow: none
}

.countdown-card:hover {
  border-color: var(--pink);
  transform: none
}

.cd-icon,
.cd-label {
  color: var(--pink)
}

.countdown-card .cd-unit>span:first-child {
  font-family: "DSEG7 Classic", "DSEG7Classic", "DSEG7 Classic Mini", var(--font-mono);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em
}

.countdown-card .cd-unit>span:last-child {
  font-family: var(--font-sans)
}

.stat-strip {
  width: 100%;
  max-width: 980px;
  margin: 0;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0;
  background: #080808;
  box-shadow: none
}

.stat {
  min-height: clamp(58px, 8svh, 78px);
  padding: clamp(9px, 1.4svh, 14px);
  border-color: var(--line)
}

.stat strong {
  font-weight: 400
}

.hero-actions {
  margin-top: clamp(14px, 2.2svh, 24px)
}

.hero-art-note {
  right: 3vw;
  bottom: 32px;
  color: #555;
  letter-spacing: .14em
}

.band {
  margin: 0;
  padding: 100px 8.4vw;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #050505;
  box-shadow: none
}

.band:nth-of-type(odd) {
  background: #080808
}

.section-title {
  margin-bottom: 60px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px
}

.section-title h2 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: .95;
  letter-spacing: -.055em;
  font-weight: 300
}

.section-title>span {
  color: #666;
  letter-spacing: .14em;
  text-transform: uppercase
}

.lead {
  color: var(--ink);
  font-size: clamp(23px, 2.4vw, 38px);
  font-weight: 300;
  letter-spacing: -.035em
}

.card-grid,
.project-grid,
.person-grid {
  gap: 0;
  border: 1px solid var(--line)
}

.info-card,
.project-card,
.person-card {
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #090909;
  box-shadow: none
}

.info-card:hover,
.project-card:hover,
.person-card:hover {
  border-color: var(--pink);
  transform: none;
  background: #0d0d0d
}

.info-card h3,
.project-card h3,
.person-card h3 {
  font-weight: 400;
  letter-spacing: -.02em
}

.person-grid .person-card {
  grid-template-columns: 116px minmax(0, 1fr);
  grid-template-rows: 116px auto;
  grid-template-areas:
    "avatar name"
    "description description";
  align-items: center;
  column-gap: 34px;
  row-gap: 22px;
  padding: 34px;
}

.person-grid .person-card .avatar {
  grid-area: avatar;
  width: 116px;
  height: 116px;
}

.person-grid .person-card h3 {
  grid-area: name;
  justify-self: start;
  min-width: 0;
  margin: 0;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
  text-align: left;
}

.person-grid .person-card p {
  grid-area: description;
  align-self: start;
  width: 100%;
  margin: 0;
  text-align: left;
}

.topic-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
  border: 0
}

.topic {
  flex: 0 0 auto;
  min-height: 42px;
  width: auto;
  padding: 9px 15px;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  background: transparent;
  color: #aaa;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  transition: color .2s ease, border-color .2s ease, background .2s ease
}

.topic:hover {
  border-color: var(--pink);
  background: rgba(255, 45, 189, .1);
  color: var(--ink);
  transform: none
}

.topic svg {
  width: 18px;
  height: 18px;
  color: var(--pink);
  opacity: 1
}

.topic:hover svg {
  color: var(--pink)
}

.pill {
  border-radius: 0;
  border-color: #3a3a3a;
  background: transparent
}

.pill:hover,
.pill.active {
  border-color: var(--pink);
  background: var(--pink);
  color: #050505
}

.avatar,
.project-visual {
  border-radius: 0;
  filter: grayscale(1)
}

.metric-panel,
.partner-table,
.vote-modal {
  border: 1px solid var(--line);
  border-radius: 0;
  background: #090909;
  box-shadow: none
}

.metric strong {
  color: var(--pink);
  font-weight: 300
}

.partner-row {
  border-color: var(--line)
}

.partner-table {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 8vw, 120px);
  border: 0;
  background: transparent;
  overflow: visible;
}

.partner-table .partner-row {
  display: block;
  min-width: 0;
  min-height: 0;
  border: 0;
  background: transparent;
}

.partner-table .partner-label {
  display: block;
  padding: 0 0 18px;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: .08em;
  white-space: nowrap;
}

.partner-table .partner-label::before {
  display: none;
}

.partner-table .logos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 0;
  gap: 12px;
}

.logo-word {
  color: var(--ink)
}

.partner-table .logo-word,
.partner-table .logo-placeholder {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  opacity: 1;
}

@media (max-width: 980px) {
  .partner-table {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .partner-table .partner-row {
    border: 0;
  }
}

.final-cta {
  background: var(--pink) !important;
  color: #050505
}

.final-cta .eyebrow,
.final-cta p {
  color: #371127
}

.final-cta .cta {
  background: #050505;
  border-color: #050505;
  color: var(--ink)
}

footer {
  margin: 0;
  padding: 42px 8.4vw;
  border: 0;
  border-radius: 0;
  background: #050505
}

.footer-brand img {
  display: none
}

.live-bar {
  background: var(--pink);
  color: #050505
}

.live-bar .lb-timer {
  border-radius: 0;
  background: rgba(0, 0, 0, .12)
}

.form-input {
  border-radius: 0;
  border-color: #3a3a3a;
  background: #050505
}

.form-input:focus {
  border-color: var(--pink);
  box-shadow: none
}

.data-placeholder-note {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: -30px 0 28px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: #777;
  font-size: 12px;
  line-height: 1.6
}

.data-placeholder-note span {
  flex: 0 0 auto;
  color: var(--pink);
  letter-spacing: .14em
}

.data-placeholder-note p {
  margin: 0
}

.data-placeholder-note.is-live {
  display: none
}

.logo-placeholder {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 16px;
  border: 1px dashed #444;
  color: #aaa;
  font-size: 13px
}

.project-card.is-placeholder .project-visual {
  background-image: none !important;
  filter: none !important;
  box-shadow: none !important;
  isolation: isolate
}

.project-grid .project-card {
  position: relative;
  border: 1px solid var(--line);
  margin: -1px 0 0 -1px;
}

.project-grid .project-card:hover {
  z-index: 2;
  border-color: var(--pink);
  box-shadow: inset 0 0 0 1px var(--pink);
}

.project-card.is-placeholder .project-visual::before {
  inset: -55%;
  background-image: url("images/point-rock.png");
  background-repeat: no-repeat;
  background-position: var(--rock-x, 50%) var(--rock-y, 50%);
  background-size: 62% auto;
  -webkit-mask: none;
  mask: none;
  border: 0;
  border-radius: 0;
  transform: rotate(var(--rock-rotation, 0deg));
  transform-origin: center;
  filter: none;
  box-shadow: none;
  mix-blend-mode: normal;
  opacity: 1
}

.project-card.is-placeholder .project-visual::after {
  z-index: 1;
  color: #f7f7f4;
  text-shadow: none !important;
  filter: none !important;
  box-shadow: none !important;
  mix-blend-mode: normal
}

.project-card.is-placeholder .project-body>p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.project-card.is-placeholder .vote-btn {
  opacity: .75;
  cursor: not-allowed
}

@media(min-width:1280px) {
  .project-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr))
  }

  .project-card {
    min-width: 0
  }
}

@media(max-width:1120px) {
  .site-header {
    grid-template-columns: 1fr auto
  }

  .nav {
    display: none
  }

  .hero-copy,
  .band {
    padding-left: 6vw;
    padding-right: 6vw
  }
}

@media(max-width:760px) {
  .site-header {
    min-height: 66px;
    padding: 0 18px
  }

  .brand>span {
    display: none
  }

  .brand-wordmark {
    font-size: 14px
  }

  .site-header>.cta {
    padding: 10px 12px;
    font-size: 12px
  }

  .hero {
    height: calc(100svh - 66px);
    height: calc(100dvh - 66px);
    min-height: 0
  }

  .hero-copy {
    width: 100%;
    padding: clamp(18px, 3svh, 30px) 20px
  }

  .hero h1 {
    font-size: clamp(38px, min(12vw, 7.5svh), 58px);
    letter-spacing: -.075em
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(5, 5, 5, .2), rgba(5, 5, 5, .72) 34%, rgba(5, 5, 5, .97) 72%)
  }

  .hero-flower {
    background-position: 62% center;
    background-size: auto 100%;
    opacity: .74
  }

  .countdown-card {
    grid-template-columns: auto 1fr
  }

  .cd-next {
    grid-column: 1/-1;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 8px 0 0
  }

  .stat-strip {
    grid-template-columns: 1fr 1fr
  }

  .band {
    padding: 72px 20px
  }

  .section-title {
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px
  }

  .section-title::before {
    flex-basis: 100%
  }

  .card-grid,
  .project-grid,
  .person-grid {
    grid-template-columns: 1fr
  }

  .topic-row {
    display: flex;
    gap: 8px
  }

  .topic {
    min-height: 38px;
    padding: 8px 12px
  }

  footer {
    padding: 40px 20px
  }
}

@media(max-height:700px) and (min-width:761px) {
  .hero-copy {
    padding-top: 18px;
    padding-bottom: 18px
  }

  .hero h1 {
    font-size: min(6vw, 62px);
    margin: 10px 0 16px
  }

  .hero-meta {
    margin: 8px 0;
    font-size: 13px
  }

  .countdown-card {
    margin-top: 8px;
    padding: 8px 16px
  }

  .stat {
    min-height: 54px;
    padding: 8px
  }

  .hero-actions {
    margin-top: 12px
  }

  .cta,
  .ghost {
    min-height: 40px
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 0;
  }

  .hero,
  .band {
    scroll-margin-top: 66px;
  }
}
