:root {
  --home-text: rgba(255,255,255,.96);
  --home-muted: rgba(255,255,255,.66);
  --home-soft: rgba(255,255,255,.42);
  --home-faint: rgba(255,255,255,.12);
  --home-line: rgba(255,255,255,.14);
  --home-panel: rgba(3,5,8,.82);
  --home-card: #00000040;
}

.home-overlay {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  color: var(--home-text);
  font-family: ui-rounded, "SF Pro Rounded", "Segoe UI", "Microsoft YaHei UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.home-intro {
  position: absolute;
  left: clamp(20px, 4.6vw, 76px);
  top: clamp(20px, 5vh, 66px);
  width: min(410px, calc(100vw - 40px));
}

.liquid-glass-card {
  position: relative;
  min-height: 226px;
  overflow: hidden;
  border-radius: 24px;
  pointer-events: auto;
  background: transparent;
  filter: drop-shadow(0 22px 42px rgba(0,0,0,.24));
  isolation: isolate;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1);
  will-change: transform;
}

.liquid-glass__backdrop,
.liquid-glass__optics {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  pointer-events: none;
}

.liquid-glass__backdrop { z-index: 0; }
.liquid-glass__optics {
  z-index: 1;
  opacity: .42;
}

.liquid-glass__content {
  position: relative;
  z-index: 2;
  min-height: 226px;
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
}

.liquid-glass-card.liquid-glass--fallback,
.home-panel.liquid-glass--fallback {
  background-color: rgba(5,7,10,.76);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  filter: none;
}

.liquid-glass--fallback .liquid-glass__backdrop,
.liquid-glass--fallback .liquid-glass__optics {
  display: none;
}

.home-kicker-row,
.home-profile-meta,
.home-index-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-kicker,
.home-year,
.home-profile-meta,
.home-index-heading,
.home-panel-kicker,
.home-index-number,
.home-index-hint,
.home-panel-note {
  margin: 0;
  color: var(--home-soft);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-kicker-row {
  min-height: 14px;
}

.home-identity {
  margin-top: 21px;
}

.home-name-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.home-title {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", ui-rounded, sans-serif;
  font-size: clamp(34px, 3.2vw, 42px);
  font-weight: 560;
  line-height: 1;
  letter-spacing: -.045em;
}

.home-alias {
  color: rgba(255,255,255,.45);
  font-size: 10.5px;
  font-weight: 560;
  line-height: 1;
  letter-spacing: .045em;
}

.home-role {
  margin: 10px 0 0;
  max-width: 36ch;
  color: rgba(255,255,255,.74);
  font-size: 11.5px;
  line-height: 1.45;
  letter-spacing: .012em;
}

.home-copy {
  margin: 7px 0 0;
  max-width: 43ch;
  color: rgba(255,255,255,.57);
  font-size: 12.5px;
  line-height: 1.5;
}

.home-profile-meta {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-size: 9.5px;
  letter-spacing: .085em;
  text-transform: none;
}

.home-profile-meta a {
  color: rgba(255,255,255,.70);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.home-profile-meta a:hover {
  color: #fff;
  transform: translateX(2px);
}

.home-index {
  position: absolute;
  right: clamp(20px, 4.8vw, 76px);
  bottom: clamp(22px, 5vh, 66px);
  width: min(380px, calc(100vw - 40px));
  pointer-events: auto;
  text-shadow: 0 1px 12px rgba(0,0,0,.65);
}

.home-index-heading {
  padding-bottom: 13px;
}

.home-index-heading p,
.home-index-heading span {
  margin: 0;
  color: var(--home-soft);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.home-index-item {
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: 28px 1fr 22px;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--home-line);
  background: transparent;
  color: var(--home-text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: padding-left .22s ease, border-color .22s ease;
}

.home-index-item:last-of-type {
  border-bottom: 1px solid var(--home-line);
}

.home-index-item:hover,
.home-index-item[aria-current="true"] {
  padding-left: 5px;
  border-color: rgba(255,255,255,.28);
}

.home-index-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-index-copy strong {
  font-size: 14px;
  font-weight: 590;
  letter-spacing: -.01em;
}

.home-index-copy small {
  color: var(--home-soft);
  font-size: 10.5px;
  font-weight: 450;
  letter-spacing: .01em;
}

.home-index-arrow {
  justify-self: end;
  color: rgba(255,255,255,.46);
  font-size: 14px;
  transition: transform .2s ease, color .2s ease;
}

.home-index-item:hover .home-index-arrow,
.home-index-item[aria-current="true"] .home-index-arrow {
  color: rgba(255,255,255,.9);
  transform: translate(2px,-2px);
}

.home-index-hint {
  margin-top: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .09em;
  text-transform: none;
}

.home-index-hint span {
  font-size: 13px;
  color: rgba(255,255,255,.62);
}

.home-panel {
  position: absolute;
  top: clamp(24px, 5vh, 66px);
  right: clamp(20px, 4.8vw, 76px);
  width: min(440px, calc(100vw - 40px));
  max-height: calc(100vh - 150px);
  overflow: hidden;
  padding: 24px 26px 27px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: transparent;
  box-shadow: 0 28px 70px rgba(0,0,0,.38);
  isolation: isolate;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
}

.home-panel__scroll {
  position: relative;
  z-index: 2;
  max-height: inherit;
  overflow: auto;
  overscroll-behavior: contain;
}

.home-panel.is-open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.home-panel-close {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--home-soft);
  font: inherit;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

.home-panel-close span {
  font-size: 17px;
  line-height: 1;
}

.home-panel-view {
  padding-top: 30px;
}

.home-panel-view h2 {
  margin: 10px 0 0;
  max-width: 12ch;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 590;
  line-height: 1.02;
  letter-spacing: -.035em;
}

.home-panel-lede,
.home-panel-body {
  margin: 18px 0 0;
  color: var(--home-muted);
  font-size: 13px;
  line-height: 1.62;
}

.home-panel-body {
  color: rgba(255,255,255,.53);
}

.home-project-index,
.home-note-list,
.home-contact-links,
.home-facts {
  margin-top: 26px;
  border-top: 1px solid var(--home-line);
}

.home-project-index > div,
.home-note-list > div,
.home-facts > div {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.home-project-index span,
.home-note-list span,
.home-contact-links span,
.home-facts dd {
  color: rgba(255,255,255,.88);
  font-size: 12.5px;
  font-weight: 540;
}

.home-project-index small,
.home-note-list time,
.home-contact-links small,
.home-facts dt {
  color: var(--home-soft);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .03em;
}

.home-panel-note {
  margin-top: 18px;
  line-height: 1.5;
  letter-spacing: .07em;
  text-transform: none;
}

.home-facts {
  margin-bottom: 0;
}

.home-facts dt,
.home-facts dd {
  margin: 0;
}

.home-contact-links {
  display: flex;
  flex-direction: column;
}

.home-contact-links a {
  min-height: 66px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name arrow" "meta arrow";
  align-items: center;
  column-gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  color: inherit;
  text-decoration: none;
}

.home-contact-links a span { grid-area: name; align-self: end; }
.home-contact-links a small { grid-area: meta; align-self: start; margin-top: 4px; }
.home-contact-links a b {
  grid-area: arrow;
  color: rgba(255,255,255,.46);
  font-size: 14px;
  font-weight: 400;
  transition: transform .2s ease, color .2s ease;
}

.home-contact-links a:hover b {
  color: #fff;
  transform: translate(2px,-2px);
}

body.home-panel-open .home-index {
  opacity: .32;
  transition: opacity .2s ease;
}

@media (max-width: 760px) {
  .home-intro {
    left: 14px;
    top: 14px;
    width: calc(100vw - 28px);
  }

  .liquid-glass-card,
  .liquid-glass__content {
    min-height: 202px;
  }

  .liquid-glass-card {
    border-radius: 20px;
  }

  .liquid-glass__content {
    padding: 19px 20px 18px;
  }

  .home-identity {
    margin-top: 19px;
  }

  .home-title {
    font-size: 34px;
  }

  .home-alias {
    font-size: 10px;
  }

  .home-role {
    margin-top: 9px;
    font-size: 10.5px;
  }

  .home-copy {
    margin-top: 6px;
    font-size: 11.5px;
  }

  .home-profile-meta {
    padding-top: 12px;
    font-size: 9px;
  }

  .home-index {
    right: 14px;
    bottom: 14px;
    width: calc(100vw - 28px);
  }

  .home-index-item {
    min-height: 55px;
  }

  .home-panel {
    inset: 14px;
    width: auto;
    max-height: calc(100vh - 28px);
    border-radius: 16px;
    padding: 21px;
  }

  body.home-panel-open .home-index,
  body.home-panel-open .home-intro {
    opacity: 0;
    pointer-events: none;
  }
}

@media (max-height: 650px) and (min-width: 761px) {
  .home-intro {
    width: 390px;
  }

  .liquid-glass-card,
  .liquid-glass__content {
    min-height: 176px;
  }

  .home-copy {
    display: none;
  }

  .home-identity {
    margin-top: 16px;
  }

  .home-index-item {
    min-height: 52px;
  }

  .home-index-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .liquid-glass-card,
  .home-index-item,
  .home-index-arrow,
  .home-panel,
  .home-profile-meta a,
  .home-contact-links a b {
    transition: none;
  }
}
