/* Targeted evolution: existing electric blue, square edges and editorial typography.
   DESIGN_VARIANCE 6 / MOTION_INTENSITY 4 / VISUAL_DENSITY 3. */
:root { --content: 1120px; --reading: 66ch; }
.reading-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 850; pointer-events: none; mix-blend-mode: difference; }
.reading-progress span { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.nav-link, .nav-cta { font-size: 12px; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; }
.nav-group { padding-top: 0; }
.nav-link::after { bottom: 5px; }
.nav-link[aria-current="location"]::after { right: 0; }
.nav-cta { min-height: 44px; }
.nav-shell { align-items: center; padding-block: 23px 18px; }
.masthead { flex-direction: row; align-items: center; gap: 9px; }
.masthead-mark { width: 34px; margin: 0; }
.masthead-sub, .brand-column .social-row { display: none; }
.social-row a { width: 25px; height: 25px; }
.social-row svg { width: 13px; height: 13px; }
.brand-column { gap: 8px; }
.hero { min-height: 0; padding-top: 140px; padding-bottom: 56px; }
.hero-grid { align-items: center; gap: 48px; padding-inline: 48px; }
.hero-copy { padding: 0; min-width: 0; }
html[lang="zh-CN"] .hero-title { font-size: clamp(60px, 6vw, 86px); line-height: 1.06; letter-spacing: -0.025em; }
html[lang="zh-CN"] .hero-line { padding-bottom: .06em; }
.hero .eyebrow { font-size: 11px; margin-bottom: 20px; }
html[lang="zh-CN"] .hero-lede { max-width: 34em; font-size: 15px; line-height: 1.9; margin-top: 22px; text-wrap: pretty; }
.hero-actions { gap: 10px; margin-top: 24px; }
.btn { min-height: 46px; padding-inline: 17px; font-size: 12px; letter-spacing: 0; }
.btn-outline { background: transparent; box-shadow: inset 0 0 0 1px rgba(242,242,242,.45); }
.availability { margin-top: 16px; font-size: 11px; color: rgba(242,242,242,.78); }
.terminal { margin-top: 24px; width: 100%; max-width: 450px; background: rgba(0,0,80,.2); border-color: rgba(242,242,242,.25); backdrop-filter: none; }
.terminal-label { font-size: 10px; padding-top: 14px; }
.terminal-tab { color: rgba(242,242,242,.76); }
html[lang="zh-CN"] .terminal-tab { min-height: 40px; font-size: 12px; }
html[lang="zh-CN"] .terminal-screen code { font-size: 12px; line-height: 1.8; }
.terminal-screen code { white-space: normal; overflow-wrap: anywhere; }
.terminal-screen { min-height: 68px; padding: 14px 48px 14px 15px; }
.copy-button { width: 44px; height: 44px; right: 3px; }
.copy-toast { font-size: 11px; max-width: calc(100% - 54px); }
.hero-art-frame { transform: none; transition: none; }
.hero-art img { mix-blend-mode: screen; }
.art-index, .art-caption { font-size: 10px; }
.studio-preview { padding: 12px var(--frame) 88px; }
.studio-preview::before { content: none; }
.site-index { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px 64px; border-top: 1px solid var(--line-light); padding-top: 34px; color: var(--paper); }
.index-heading { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.index-heading h2 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.index-heading p { font-size: 13px; color: rgba(242,242,242,.7); }
.index-label { font-size: 11px; color: rgba(242,242,242,.65); margin-bottom: 8px; }
.index-projects .app-rows { margin: 0; border: 0; }
.index-projects .app-rows > a { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; min-height: 60px; align-items: center; padding: 10px 0; color: inherit; border: 0; background: transparent; }
.index-projects .app-num { color: rgba(242,242,242,.72); font-size: 10px; }
html[lang="zh-CN"] .index-projects .app-row-title { font-size: 23px; font-weight: 400; }
.index-projects .app-row-type, .index-projects .app-row-meta { display: none; }
.index-projects .app-row-arrow { font-size: 18px; transition: transform 200ms var(--ease); }
.index-projects .app-rows > a:hover .app-row-arrow { transform: translate(3px,-3px); }
.app-nav.index-links { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0; }
.app-nav.index-links a { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 12px 0; min-height: 52px; border-radius: 0; color: inherit; background: none; border-bottom: 1px solid rgba(242,242,242,.16); font-size: 15px; }
.app-nav.index-links a > span { display: block; width: auto; min-width: 0; color: inherit; font-size: inherit; }
.app-nav.index-links small { grid-row: 2; color: rgba(242,242,242,.66); font-size: 11px; }
.app-nav.index-links em { font-size: 11px; color: rgba(242,242,242,.7); }
.app-nav.index-links b { grid-column: 3; grid-row: 1; font-size: 18px; font-weight: 400; }
.app-nav.index-links a:hover, .app-nav.index-links a:focus-visible { color: #fff; }
.work { padding-bottom: 96px; }
.section-head-centered { max-width: 660px; margin-inline: auto; }
html[lang="zh-CN"] .section-head-centered > p { font-size: 15px; }
.work-grid { gap: 28px; }
.cms-project-art { position: relative; min-height: 300px; padding: 25px; background: #0707bd; }
.work-card .cms-project-art[data-project-art="paper"] { background: #dedeea; }
.cms-project-art[data-project-art="paper"]::before, .cms-project-art[data-project-art="paper"]::after { content: none; }
.cms-project-art .cms-project-index { position: relative; z-index: 1; font-size: 12px; font-family: var(--mono); color: rgba(242,242,242,.7); }
.cms-project-art .cms-project-repo { position: relative; z-index: 1; color: var(--paper); font-size: 15px; }
.cms-project-art[data-project-art="paper"] .cms-project-index, .cms-project-art[data-project-art="paper"] .cms-project-repo { color: var(--ink); }
.project-illustration { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; pointer-events: none; }
.project-illustration i { display: block; position: absolute; }
[data-project-art="orbit"] .project-illustration i { width: 61%; aspect-ratio: 1; border: 1px solid rgba(242,242,242,.65); border-radius: 50%; transform: rotateX(56deg) rotateZ(-28deg); }
[data-project-art="orbit"] .project-illustration i:nth-child(2) { transform: rotateY(56deg) rotateZ(28deg); }
[data-project-art="orbit"] .project-illustration i:nth-child(3) { width: 13%; border: none; background: var(--paper); transform: none; box-shadow: 0 0 48px rgba(242,242,242,.2); }
[data-project-art="paper"] .project-illustration i { width: 44%; aspect-ratio: .8; background: #f8f8f4; border: 1px solid rgba(0,0,145,.2); transform: translate(-24px,2px) rotate(-12deg); }
[data-project-art="paper"] .project-illustration i:nth-child(2) { transform: translate(20px,-4px) rotate(9deg); background: #b9b9e4; }
[data-project-art="paper"] .project-illustration i:nth-child(3) { transform: rotate(-2deg); background: repeating-linear-gradient(transparent 0 17px,rgba(0,0,145,.2) 17px 18px) #f8f8f4; background-size: 70% 65%; background-position: center; background-repeat: no-repeat; }
html[lang="zh-CN"] .work-title-row h3 { font-family: var(--body); font-size: 26px; line-height: 1.2; }
.work-copy { padding-top: 24px; }
.work-copy p, .practice-desc { font-size: 15px; }
.work-tags span { font-size: 11px; color: rgba(242,242,242,.78); }
.work-num { font-size: 11px; }
.practice { padding-top: 112px; padding-bottom: 100px; }
.practice::before { top: 48px; }
.section-head-split { display: block; }
.section-aside { margin-top: 24px; max-width: var(--reading); }
.practice-grid { gap: 52px 32px; margin-top: 52px; }
html[lang="zh-CN"] .practice-item h3 { font-size: 29px; min-height: 0; line-height: 1.35; }
.practice-desc { max-width: none; }
.practice-label, .tile-index { font-size: 10px; }
.photo-essay-head { display: block; }
.photo-essay-intro { max-width: var(--reading); margin-top: 24px; font-size: 15px; }
.photo-grid { gap: 38px 24px; }
.photo-caption { margin-top: 14px; gap: 8px 20px; }
.photo-caption strong { font-size: 12px; }
.photo-caption p { font-size: 13px; }
.photo-caption a { display: inline-block; padding-block: 6px; text-decoration: underline; text-underline-offset: 3px; }
.photo-frame img { transition-duration: 600ms; }
.now-body p { font-size: 15px; }
.text-link { font-size: 12px; min-height: 40px; }
.blue-footer-links a { font-size: 13px; padding-block: 5px; }
.blue-footer-links > div > span, .blue-footer-meta { font-size: 11px; }
.contact-platforms { gap: 8px 18px !important; }
.contact-platforms a { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 701px) and (max-width: 1100px) {
  .hero { padding-top: 130px; }
  .hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); width: 100%; gap: 24px; padding-inline: 28px; }
  .hero-copy { padding: 0; }
  html[lang="zh-CN"] .hero-title { font-size: clamp(48px,6.3vw,68px); }
  .hero .eyebrow { margin-bottom: 14px; }
  .hero-art { align-self: start; margin-top: 36px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; max-width: 310px; justify-content: space-between; }
  html[lang="zh-CN"] .hero-lede { font-size: 14px; }
  .site-index { gap: 24px 36px; }
}
@media (max-width: 900px) {
  .nav-shell { padding: 18px 24px; }
  .menu-toggle, .mobile-menu-close { min-height: 44px; min-width: 44px; font-size: 12px; }
  .menu-toggle { top: 8px; }
  .mobile-menu-top { font-size: 12px; }
  .mobile-nav a { min-height: 58px; font-size: clamp(36px,8vw,54px); }
  .mobile-nav a span { font-size: 12px; }
  .mobile-menu-foot { font-size: 12px; }
  .mobile-menu-foot .social-row a { width: auto; min-width: 44px; min-height: 44px; }
  .mobile-menu .social-row { justify-content: flex-start; }
  .content { width: calc(100% - 48px); }
  .studio-preview { padding: 0 0 60px; }
  .cms-project-art { min-height: 240px; }
  body:not([data-menu-ready]) .menu-toggle { display: none; }
  body:not([data-menu-ready]) .nav-shell { flex-wrap: wrap; gap: 12px; }
  body:not([data-menu-ready]) .nav-group { display: flex; width: auto; gap: 18px; }
}
@media (max-width: 700px) {
  .hero { padding: 104px 24px 52px; }
  .hero-grid { display: flex; width: 100%; padding: 0; gap: 34px; }
  .hero-copy { padding: 0; }
  html[lang="zh-CN"] .hero-title { font-size: clamp(48px,12.5vw,76px); }
  .hero .eyebrow { margin-bottom: 18px; }
  html[lang="zh-CN"] .hero-lede { font-size: 14px; margin-top: 18px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
  .hero-actions .btn { min-width: 0; width: 100%; padding-inline: 11px; font-size: 11px; gap: 5px; }
  .hero-actions .btn svg { width: 11px; }
  .hero-art { width: 100%; max-width: 510px; align-self: center; }
  .hero-art-frame { width: 100%; }
  .terminal { margin-top: 20px; }
  .site-index { grid-template-columns: 1fr; gap: 24px; padding-top: 26px; }
  .index-heading { grid-column: auto; display: block; }
  .index-heading p { margin-top: 8px; }
  .index-projects .app-rows > a { min-height: 52px; }
  .app-nav.index-links a { grid-template-columns: 1fr auto auto; gap: 4px 12px; }
  .work { padding-bottom: 64px; }
  .work-grid { gap: 36px; }
  .practice { padding-top: 88px; padding-bottom: 72px; }
  .practice-grid { gap: 38px; }
  .section-head h2, html[lang="zh-CN"] .section-head h2 { font-size: 42px; }
  .photo-essay-head h3 { font-size: 42px; }
  .photo-caption p { max-width: 100%; text-align: left; }
  .photo-grid { gap: 30px; }
  .blue-footer-meta { gap: 16px; line-height: 1.6; }
}
@media (max-width: 360px) {
  .content { width: calc(100% - 36px); }
  .hero { padding-inline: 18px; }
  .hero-actions { grid-template-columns: 1fr; }
}
@media (hover: none) {
  .hero-art:hover img, .photo-card:hover .photo-frame img { transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art-frame, .hero-art img, .photo-frame img { transform: none !important; }
}

/* Round 2: React Bits SpotlightCard pattern, expressed with CSS custom properties. */
.work-card {
  --spot-x: 50%;
  --spot-y: 30%;
  isolation: isolate;
}
.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(300px circle at var(--spot-x) var(--spot-y), rgba(242, 242, 242, 0.15), transparent 66%);
  opacity: 0;
  transition: opacity 220ms ease;
}
.work-card:hover::before,
.work-card:focus-within::before { opacity: 1; }
.work-card > .work-art,
.work-card > .work-copy { position: relative; z-index: 1; }

/* Photo gallery: links stay usable without JavaScript, dialog enhances them. */
.photo-trigger {
  position: relative;
  display: block;
  cursor: zoom-in;
  color: inherit;
}
.photo-trigger:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}
.photo-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 9px;
  background: rgba(0, 0, 55, 0.72);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.04em;
  opacity: .85;
}
.photo-trigger:hover .photo-zoom,
.photo-trigger:focus-visible .photo-zoom { opacity: 1; transform: none; }

body.lightbox-open { overflow: hidden; }
.photo-lightbox {
  width: min(1120px, calc(100vw - 36px));
  max-width: none;
  max-height: calc(100dvh - 36px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  overflow: visible;
}
.photo-lightbox[open] { display: block; }
.photo-lightbox::backdrop {
  background: rgba(0, 0, 45, 0.9);
  backdrop-filter: blur(10px);
}
.lightbox-shell {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 36px);
  overflow: hidden;
  border: 1px solid rgba(242, 242, 242, 0.28);
  background: #00003f;
  box-shadow: 0 28px 80px rgba(0, 0, 30, 0.55);
}
.lightbox-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(242, 242, 242, 0.2);
}
.lightbox-kicker,
.lightbox-counter,
.lightbox-close,
.lightbox-nav button,
.lightbox-source {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.lightbox-kicker { color: rgba(242, 242, 242, 0.68); }
.lightbox-counter { color: rgba(242, 242, 242, 0.72); justify-self: center; }
.lightbox-close {
  justify-self: end;
  min-height: 40px;
  padding: 0 8px;
  border: 0;
  background: none;
  color: var(--paper);
  cursor: pointer;
}
.lightbox-close:hover { text-decoration: underline; text-underline-offset: 3px; }
.lightbox-figure { display: flex; flex: 1; flex-direction: column; min-height: 0; margin: 0; }
.lightbox-frame {
  display: grid;
  flex: 1;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: #05050b;
}
.lightbox-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 260px);
  object-fit: contain;
}
.lightbox-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 16px 20px 18px;
  border-top: 1px solid rgba(242, 242, 242, 0.2);
  background: #00003f;
}
.lightbox-copy h2 {
  font-family: var(--body);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
}
.lightbox-description {
  max-width: 72ch;
  margin-top: 6px;
  color: rgba(242, 242, 242, 0.76);
  font-size: 13px;
  line-height: 1.7;
}
.lightbox-source {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(242, 242, 242, 0.82);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lightbox-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-top: 1px solid rgba(242, 242, 242, 0.2);
}
.lightbox-nav button {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: rgba(242, 242, 242, 0.82);
  cursor: pointer;
}
.lightbox-nav button:hover,
.lightbox-nav button:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .photo-lightbox { width: calc(100vw - 12px); max-height: calc(100dvh - 12px); }
  .lightbox-shell { max-height: calc(100dvh - 12px); }
  .lightbox-bar { grid-template-columns: 1fr auto; padding: 10px 12px; }
  .lightbox-counter { grid-column: 1; grid-row: 2; justify-self: start; margin-top: 3px; }
  .lightbox-close { grid-column: 2; grid-row: 1 / span 2; }
  .lightbox-frame img { max-height: calc(100dvh - 330px); }
  .lightbox-caption { grid-template-columns: 1fr; gap: 10px; padding: 14px 16px; }
  .lightbox-copy h2 { font-size: 20px; }
  .lightbox-description { font-size: 12.5px; }
  .lightbox-source { justify-self: start; }
}
@media (hover: none) {
  .photo-zoom { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-zoom { transform: none; }
  .photo-lightbox[open] .lightbox-shell { animation: none; }
}


/* Basic photo viewer: no entrance, zoom-flight, fade or slide animation. */
.photo-lightbox, .photo-lightbox::backdrop, .photo-lightbox * {
  animation: none !important;
  transition: none !important;
}


/* Round 3: the about section is a profile sheet, not a card gallery. */
.profile-section {
  padding-top: 112px;
  padding-bottom: 112px;
  background: var(--paper);
}
.profile-section::before { content: none; }
.profile-sheet {
  position: relative;
  padding: 30px 0 42px;
  border-top: 1px solid rgba(0, 0, 145, 0.36);
  border-bottom: 1px solid rgba(0, 0, 145, 0.36);
}
.profile-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(0, 0, 145, 0.22);
}
.profile-heading { min-width: 0; }
.profile-heading .section-label { margin-bottom: 10px; }
.profile-heading h2 {
  font-family: var(--display-cmp);
  font-size: clamp(72px, 12vw, 166px);
  font-weight: 500;
  line-height: 0.74;
  letter-spacing: -0.045em;
}
.profile-header-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  color: rgba(0, 0, 145, 0.62);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-align: right;
}
.profile-header-meta p:first-child { color: var(--ink); }
.profile-stamp {
  margin-top: 14px;
  padding: 5px 8px;
  border: 1px solid rgba(0, 0, 145, 0.35);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.08em;
}
.profile-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 58px;
  padding-top: 34px;
}
.profile-aside {
  min-width: 0;
  padding-right: 34px;
  border-right: 1px solid rgba(0, 0, 145, 0.22);
}
.profile-monogram {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  isolation: isolate;
  background: var(--blue);
  color: var(--paper);
}
.profile-monogram::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 25%, rgba(80, 80, 255, 0.68), transparent 48%),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(242, 242, 242, 0.07) 46px 47px),
    var(--blue);
}
.profile-monogram span {
  font-family: var(--display-cmp);
  font-size: clamp(150px, 19vw, 246px);
  font-weight: 500;
  line-height: 0.68;
  transform: translateY(7%);
}
.profile-monogram small {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.profile-meta {
  display: grid;
  gap: 0;
  margin-top: 22px;
}
.profile-meta > div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 145, 0.16);
}
.profile-meta > div:last-child { border-bottom: 1px solid rgba(0, 0, 145, 0.16); }
.profile-meta dt,
.profile-label {
  color: rgba(0, 0, 145, 0.6);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.profile-meta dd {
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.profile-meta dd .status-dot {
  display: inline-block;
  margin-right: 7px;
  vertical-align: 1px;
}
.profile-contact {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 145, 0.22);
}
.profile-contact .profile-label { margin-bottom: 10px; }
.profile-email {
  display: block;
  min-height: 40px;
  padding: 8px 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
  margin-top: 4px;
}
.profile-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 0;
  color: rgba(0, 0, 145, 0.74);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.4;
  text-transform: uppercase;
}
.profile-links a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.profile-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  margin-top: 12px;
  padding: 0 13px;
  background: var(--blue);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}
.profile-contact-button:hover { background: var(--blue-dark); }
.profile-main { min-width: 0; }
.profile-block {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(0, 0, 145, 0.22);
}
.profile-block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.profile-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}
.profile-block-head .profile-label { margin-bottom: 10px; }
.profile-count {
  color: rgba(0, 0, 145, 0.55);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.profile-summary {
  white-space: pre-line;
  max-width: 34em;
  color: var(--ink);
  font-size: clamp(21px, 2.3vw, 28px);
  line-height: 1.72;
  letter-spacing: 0.008em;
  text-wrap: pretty;
}
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
}
.profile-tags li {
  padding: 6px 9px;
  border: 1px solid rgba(0, 0, 145, 0.3);
  color: rgba(0, 0, 145, 0.78);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.04em;
}
.profile-practice {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
}
.profile-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 15px 0;
  border-top: 1px solid rgba(0, 0, 145, 0.18);
}
.profile-item-num {
  padding-top: 3px;
  color: rgba(0, 0, 145, 0.5);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
}
.profile-item h3 {
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
}
.profile-item h3 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}
.profile-item h3 a::after {
  content: "↗";
  display: inline-block;
  margin-left: 0.42em;
  color: rgba(0, 0, 145, 0.52);
  font-family: var(--mono);
  font-size: 0.62em;
  transform: translateY(-0.18em);
}
.profile-item h3 a:hover,
.profile-item h3 a:focus-visible {
  color: var(--blue);
  border-bottom-color: currentColor;
}
.profile-item p {
  max-width: 34em;
  margin-top: 5px;
  color: rgba(0, 0, 145, 0.72);
  font-size: 13px;
  line-height: 1.72;
}
.profile-now {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
.profile-now .profile-now-text {
  max-width: 38em;
  margin-top: 7px;
  font-size: 20px;
  line-height: 1.6;
  text-wrap: pretty;
}
.profile-now .text-link { flex: none; min-height: 40px; }

@media (max-width: 1080px) {
  .profile-layout { grid-template-columns: 252px minmax(0, 1fr); gap: 40px; }
  .profile-aside { padding-right: 26px; }
}
@media (max-width: 900px) {
  .profile-section { padding-top: 88px; padding-bottom: 80px; }
  .profile-header { flex-direction: column; align-items: flex-start; gap: 18px; }
  .profile-header-meta { align-items: flex-start; text-align: left; }
  .profile-layout { grid-template-columns: 1fr; gap: 30px; }
  .profile-aside {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 22px 28px;
    align-items: start;
    padding-right: 0;
    padding-bottom: 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 145, 0.22);
  }
  .profile-monogram { grid-row: 1 / span 2; width: 100%; max-width: 190px; }
  .profile-meta { margin-top: 0; }
  .profile-contact { grid-column: 2; margin-top: 0; padding-top: 0; border-top: 0; }
}
@media (max-width: 700px) {
  .profile-section { padding-top: 76px; padding-bottom: 64px; }
  .profile-sheet { padding-top: 22px; padding-bottom: 32px; }
  .profile-heading h2 { font-size: clamp(74px, 19vw, 120px); }
  .profile-header { padding-bottom: 22px; }
  .profile-header-meta { font-size: 10px; }
  .profile-aside { display: block; padding-bottom: 24px; }
  .profile-monogram { width: min(100%, 260px); max-width: 260px; margin-bottom: 22px; }
  .profile-meta { margin-top: 0; }
  .profile-contact { margin-top: 22px; padding-top: 17px; border-top: 1px solid rgba(0, 0, 145, 0.22); }
  .profile-practice { grid-template-columns: 1fr; }
  .profile-item { padding: 14px 0; }
  .profile-now { align-items: flex-start; flex-direction: column; gap: 16px; }
  .profile-now .profile-now-text { font-size: 19px; }
}
@media (max-width: 360px) {
  .profile-item { grid-template-columns: 24px minmax(0, 1fr); gap: 9px; }
  .profile-heading h2 { font-size: 70px; }
  .profile-meta > div { grid-template-columns: 48px minmax(0, 1fr); gap: 8px; }
}


/* Round 4: show the complete source image; black bars are intentional, cropping is not. */
.photo-frame {
  display: grid;
  place-items: center;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}
.photo-grid .photo-card .photo-frame img {
  object-fit: contain;
  object-position: 50% 50%;
}
.photo-card-lead .photo-frame,
.photo-card-wide .photo-frame {
  aspect-ratio: 4 / 3;
}
.photo-grid .photo-card:hover .photo-frame img {
  transform: none;
  filter: saturate(1) contrast(1.04);
}

/* Round 4: show the complete source image; black bars are intentional, cropping is not. */
.photo-frame {
  display: grid;
  place-items: center;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}
.photo-grid .photo-card .photo-frame img {
  object-fit: contain;
  object-position: 50% 50%;
}
.photo-card-lead .photo-frame,
.photo-card-wide .photo-frame {
  aspect-ratio: 4 / 3;
}
.photo-grid .photo-card:hover .photo-frame img {
  transform: none;
  filter: saturate(1) contrast(1.04);
}


/* Keep the replaced image box exactly inside the editorial frame. */
.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}

.photo-frame .photo-trigger {
  position: absolute;
  inset: 0;
  display: block;
}

/* Round 5: profile record as a form-like information sheet. */
.profile-record {
  margin-top: 34px;
  border-top: 1px solid rgba(0, 0, 145, 0.36);
}
.profile-record-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 0, 145, 0.22);
}
.profile-avatar {
  position: relative;
  display: grid;
  flex: none;
  width: 76px;
  height: 76px;
  place-items: center;
  overflow: hidden;
  background: var(--blue);
  color: var(--paper);
}
.profile-avatar span {
  font-family: var(--display-cmp);
  font-size: 56px;
  font-weight: 500;
  line-height: 0.7;
  transform: translateY(3px);
}
.profile-avatar small {
  position: absolute;
  left: 6px;
  bottom: 4px;
  font-family: var(--mono);
  font-size: 6.5px;
  line-height: 1;
  letter-spacing: 0.08em;
}
.profile-record-title { min-width: 0; }
.profile-record-title .profile-label { margin-bottom: 4px; }
.profile-record-role { font-size: 14px; line-height: 1.5; }
.profile-record-head .profile-stamp { margin-top: 0; margin-left: auto; }
.profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(0, 0, 145, 0.18);
  border-left: 1px solid rgba(0, 0, 145, 0.18);
}
.profile-field {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  min-height: 64px;
  padding: 14px 16px;
  border-right: 1px solid rgba(0, 0, 145, 0.18);
  border-bottom: 1px solid rgba(0, 0, 145, 0.18);
}
.profile-field dt {
  color: rgba(0, 0, 145, 0.6);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.profile-field dd {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.profile-field-wide { grid-column: 1 / -1; }
.profile-field-wide dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.profile-field-wide .profile-email {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 0;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.profile-field-wide .profile-links { margin-top: 0; gap: 0 14px; }
.profile-field-wide .profile-contact-button { margin-top: 0; margin-left: auto; }
.profile-main { margin-top: 38px; }
@media (max-width: 900px) {
  .profile-form { grid-template-columns: 1fr; }
  .profile-field-wide { grid-column: auto; }
  .profile-record-head .profile-stamp { margin-left: auto; }
}
@media (max-width: 700px) {
  .profile-record-head { align-items: flex-start; gap: 12px; }
  .profile-avatar { width: 60px; height: 60px; }
  .profile-avatar span { font-size: 44px; }
  .profile-field { grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 12px 14px; }
  .profile-field-wide dd { display: block; }
  .profile-field-wide .profile-email { display: block; min-height: 0; padding: 4px 0; }
  .profile-field-wide .profile-links { margin-top: 8px; }
  .profile-field-wide .profile-contact-button { margin-top: 10px; margin-left: 0; }
  .profile-main { margin-top: 30px; }
}
@media (max-width: 360px) {
  .profile-field { grid-template-columns: 52px minmax(0, 1fr); gap: 8px; padding: 11px 12px; }
  .profile-record-head .profile-stamp { margin-left: 0; }
}


/* Round 6: Plan A type system. Keep the licensed Rules faces, replace the trial mono. */
.section-label,
.eyebrow,
.availability,
.practice-label,
.work-art-meta,
.tile-index,
.tile-mark,
.channel-top,
.dispatch-kicker,
.footer-eyebrow,
.paper-footer-meta,
.blue-footer-meta,
.app-side-label,
.window-bar,
.window-foot {
  font-size: 10.5px;
}
.profile-label,
.profile-field dt,
.profile-count {
  font-size: 10px;
}
.profile-field dd,
.work-tags,
.photo-caption,
.profile-count {
  font-variant-numeric: tabular-nums;
}


/* DouYinSparkFlow: real project card with a spark/flow illustration. */
.work-card[data-project-id="douyin-spark-flow"] {
  border-color: rgba(242, 242, 242, 0.42);
}
.work-card[data-project-id="douyin-spark-flow"] .work-art::before {
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 92, 108, 0.3), transparent 52%),
    radial-gradient(circle at 50% 46%, rgba(40, 40, 255, 0.8), transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(242, 242, 242, 0.07) 44px 45px),
    #0000c2;
}
.cms-project-art[data-project-art="spark"] {
  background: #0202b8;
}
.spark-illustration svg {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
}


/* Yijian Wiki: the second card becomes a paper index/wiki illustration. */
.cms-project-art[data-project-art="wiki"] {
  background: #e6e6ef;
}
.cms-project-art[data-project-art="wiki"]::before,
.cms-project-art[data-project-art="wiki"]::after {
  content: none;
}
.cms-project-art[data-project-art="wiki"] .cms-project-index,
.cms-project-art[data-project-art="wiki"] .cms-project-repo {
  color: var(--ink);
}
.work-card[data-project-id="yijian-wiki"] {
  border-color: rgba(242, 242, 242, 0.28);
}
.wiki-illustration svg {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
}


/* Source Han Serif for the opening couplet; complete WenKai subset for lead prose. */
.hero-title {
  font-family: var(--hero-display);
  font-weight: 500;
  font-style: normal;
  font-synthesis: none;
}
.hero-lede,
.section-aside,
.profile-summary,
.photo-essay-intro,
.photo-quote p,
.now-body p,
.contact-action > p,
.profile-now-text {
  font-family: var(--wenkai);
}

/* Requested copy: preserve the lower-case button label and art caption. */
.btn-moon {
  text-transform: none;
  letter-spacing: 0.02em;
}

/* Orbital playground: three composited rings, no canvas or extra dependency. */
.orbital-play {
  position: absolute;
  inset: 6%;
  z-index: 2;
  pointer-events: none;
  color: #f2f2f2;
  opacity: .72;
}
.orbital-ring {
  position: absolute;
  inset: 2%;
  border: 1px solid rgba(242, 242, 242, .3);
  border-radius: 50%;
  animation: orbital-drift 24s linear infinite paused;
}
.orbital-ring-two { inset: 14%; animation-duration: 18s; animation-direction: reverse; }
.orbital-ring-three { inset: 28%; animation-duration: 13s; }
.orbital-ring i {
  position: absolute;
  left: 50%;
  top: -4px;
  width: 8px;
  height: 8px;
  border: 1px solid #f2f2f2;
  border-radius: 50%;
  background: var(--blue);
}
.orbital-ring-two i { width: 11px; height: 11px; top: -6px; background: #f2f2f2; }
.orbital-cross { position: absolute; top: 48%; left: 49%; font: 18px var(--mono); opacity: .6; }
:root[data-playful="on"] .orbital-play[data-in-view="true"] .orbital-ring { animation-play-state: running; }
.hero-actions { flex-wrap: wrap; }
:root[data-playful="on"] :is(.hero-actions .btn, .profile-contact-button) {
  translate: var(--magnet-x, 0px) var(--magnet-y, 0px);
  transition: translate 180ms ease-out, background 180ms ease, color 180ms ease;
}
:root[data-playful="on"] .work-card .cms-project-art {
  transform: perspective(900px) rotateX(var(--play-rx, 0deg)) rotateY(var(--play-ry, 0deg));
  transition: transform 280ms ease-out;
  transform-origin: center;
}
.play-spark {
  position: fixed;
  z-index: 900;
  width: 7px;
  height: 7px;
  background: #b9ffec;
  box-shadow: 0 0 0 1px #000091;
  clip-path: polygon(50% 0%, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0% 50%, 38% 38%);
  pointer-events: none;
}
.terminal-screen [data-terminal-text] { display: inline-block; }
:root[data-playful="on"] .mobile-menu.is-open .mobile-nav a {
  animation: menu-link-arrive 420ms cubic-bezier(.16, 1, .3, 1) both;
}
.mobile-nav a:nth-child(2) { animation-delay: 35ms; }
.mobile-nav a:nth-child(3) { animation-delay: 70ms; }
.mobile-nav a:nth-child(4) { animation-delay: 105ms; }
.mobile-nav a:nth-child(5) { animation-delay: 140ms; }
.mobile-nav a:nth-child(6) { animation-delay: 175ms; }
.mobile-nav a:nth-child(7) { animation-delay: 210ms; }
@keyframes menu-link-arrive {
  from { transform: translateY(14px); opacity: .3; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes orbital-drift { to { transform: rotate(360deg); } }
@media (hover: none), (pointer: coarse) {
  .hero-actions .btn, .profile-contact-button { translate: none !important; }
  .work-card .cms-project-art { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .orbital-ring { animation: none !important; }
  .hero-actions .btn, .profile-contact-button { translate: none !important; }
  .work-card .cms-project-art { transform: none !important; transition: none !important; }
  .play-spark { display: none; }
}
.art-caption {
  text-transform: none;
  letter-spacing: 0.04em;
}

/* Configurable YouTube section. */
.video-section {
  padding: 104px var(--frame) 92px;
  background: var(--blue);
  color: var(--paper);
}
.video-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 56px;
  align-items: end;
}
.video-eyebrow { color: rgba(242, 242, 242, 0.66); }
.video-title {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 500;
  line-height: 1.02;
}
.video-meta {
  max-width: 34em;
  padding-bottom: 5px;
  color: rgba(242, 242, 242, 0.76);
  font-size: 15px;
  line-height: 1.8;
}
.video-note {
  margin-top: 9px;
  color: rgba(242, 242, 242, 0.5);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(242, 242, 242, 0.25);
  background: #05050b;
}
.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 700px) {
  .video-section { padding-top: 72px; padding-bottom: 64px; }
  .video-head { grid-template-columns: 1fr; gap: 18px; }
  .video-title { font-size: 42px; }
  .video-meta { font-size: 14px; }
  .video-frame { margin-top: 24px; }
}


/* Hero platform shortcuts: local inline vectors, visible independently of the header. */
.hero-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}
.hero-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(242, 242, 242, .35);
  color: var(--paper);
  background: transparent;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.hero-social svg { width: 20px; height: 20px; flex: none; }
.hero-social a:hover { color: var(--blue); background: var(--paper); }
.hero-social a:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .hero-social a:hover { transform: translateY(-3px); }
}




/* Album player — vinyl disc + expandable tracklist (data from content/album.json). */
.album-player { position: fixed; right: 22px; bottom: 22px; z-index: 840; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.album-player[hidden] { display: none; }
.album-disc { position: relative; width: 62px; height: 62px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: radial-gradient(circle at 50% 50%, #0b0b1e 0 30%, #12122c 30% 100%); box-shadow: 0 0 0 1px rgba(242,242,242,.35), 0 10px 30px rgba(0,0,80,.35); display: grid; place-items: center; color: var(--paper); }
.album-disc:focus-visible { outline: 2px solid var(--paper); outline-offset: 3px; }
.album-disc-grooves { position: absolute; inset: 4px; border-radius: 50%; background: repeating-radial-gradient(circle at 50% 50%, rgba(242,242,242,.16) 0 1px, transparent 1px 3px); opacity: .7; }
.album-disc-label { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; font-family: var(--mono); font-size: 7px; letter-spacing: .04em; text-transform: uppercase; color: var(--paper); text-align: center; line-height: 1; }
.album-disc-label::after { content: ""; position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #0b0b1e; }
.album-disc-icon { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); color: var(--blue); display: grid; place-items: center; font-size: 8px; }
.album-disc-grooves, .album-disc-label { animation: album-spin 16s linear infinite paused; }
.album-player[data-playing="true"][data-visual-motion="on"] :is(.album-disc-grooves, .album-disc-label) { animation-play-state: running; }
.album-player[data-playing="true"] .album-disc-icon { background: var(--blue); color: var(--paper); }
@keyframes album-spin { to { transform: rotate(360deg); } }
.album-panel { width: 288px; padding: 16px 16px 14px; background: var(--paper); color: var(--ink); border: 1px solid var(--blue); box-shadow: 0 18px 50px rgba(0,0,80,.32); }
.album-panel[hidden] { display: none; }
.album-eyebrow { margin: 0 0 6px; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.album-title { margin: 0; font-family: var(--display); font-size: 22px; line-height: 1.1; letter-spacing: -.01em; color: var(--blue); }
.album-meta { margin: 4px 0 12px; display: flex; gap: 8px; font-family: var(--mono); font-size: 10px; color: var(--ink-soft); }
.album-meta span + span::before { content: "·"; margin-right: 6px; }
.album-tracks { list-style: none; margin: 0 0 12px; padding: 0; max-height: 168px; overflow-y: auto; border-top: 1px solid var(--line-dark); }
.album-tracks li { border-bottom: 1px solid var(--line-dark); }
.album-tracks button { width: 100%; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 8px; padding: 7px 2px; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--body); font-size: 12px; color: var(--ink); }
.album-tracks button:hover { color: var(--blue); }
.album-tracks button[aria-current="true"] { color: var(--blue); }
.album-tracks button[aria-current="true"] .album-name { font-weight: 600; }
.album-index, .album-duration { font-family: var(--mono); font-size: 9px; color: var(--ink-soft); }
.album-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.album-controls { display: flex; align-items: center; gap: 8px; }
.album-controls button { flex: 1; min-height: 34px; background: transparent; border: 1px solid var(--blue); color: var(--blue); font-family: var(--mono); font-size: 11px; cursor: pointer; }
.album-controls button:hover { background: var(--blue); color: var(--paper); }
.album-controls .album-play { flex: 1.4; background: var(--blue); color: var(--paper); }
.album-controls .album-play:hover { background: var(--blue-deep); }
.album-progress { position: relative; margin-top: 10px; height: 3px; background: var(--line-dark); cursor: pointer; }
.album-progress span { display: block; height: 100%; width: 0; background: var(--blue); }
.album-note { margin: 10px 0 0; font-family: var(--mono); font-size: 9px; line-height: 1.6; color: var(--ink-soft); }
.album-note:empty { display: none; }
@media (max-width: 640px) {
  .album-player { right: 12px; bottom: 12px; }
  .album-panel { width: min(88vw, 288px); }
  .album-tracks { max-height: 132px; }
}
@media (prefers-reduced-motion: reduce) {
  .album-player[data-playing="true"] .album-disc { animation: none; }
}

/* Pointer-led orbit and a music-driven player; no effects in reading sections. */
.orbital-play { translate: var(--orbit-x, 0px) var(--orbit-y, 0px); transition: translate 450ms cubic-bezier(.2,.7,.2,1); }
.orbital-stars { position: absolute; inset: 0; }
[data-orbit-star] { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--paper); opacity: .65; translate: var(--star-x, 0px) var(--star-y, 0px); transition: translate 600ms cubic-bezier(.2,.7,.2,1), opacity 300ms; }
[data-orbit-star]:nth-child(3n) { width: 7px; height: 7px; background: transparent; border: 1px solid currentColor; }
.orbital-play[data-attracted="true"] [data-orbit-star] { opacity: 1; }
.album-disc-progress { position: absolute; inset: -6px; width: 74px; height: 74px; rotate: -90deg; overflow: visible; pointer-events: none; }
.album-disc-progress circle { fill: none; stroke: #b9ffec; stroke-width: 1.5; }
.album-disc-progress .album-ring-track { stroke: var(--paper); opacity: .28; stroke-width: .7; }
[data-album-progress-ring] { transition: stroke-dashoffset 250ms linear; stroke-linecap: round; }
.album-disc-label { font-size: 10px; }
.album-disc-label::after { width: 2px; height: 2px; bottom: 3px; }
.album-now { padding: 12px 0 10px; border-top: 1px solid var(--line-dark); }
.album-current { margin: 0; font-family: var(--body); font-size: 15px; line-height: 1.5; min-height: 23px; overflow-wrap: anywhere; }
.album-spectrum { height: 24px; display: flex; align-items: center; gap: 4px; margin-top: 10px; overflow: hidden; }
.album-wave-bar { display: block; flex: 1; height: 100%; background: var(--blue); transform: scaleY(.08); transition: transform 200ms ease-out; transform-origin: center; }
.album-player[data-spectrum="live"] .album-wave-bar { transition-duration: 65ms; }
.album-tracks { position: relative; max-height: 140px; }
@media (hover: none), (pointer: coarse) {
  .orbital-play { translate: none; }
  .orbital-ring { animation: none; }
  .album-spectrum { height: 18px; gap: 3px; }
  .album-wave-bar:nth-child(even) { display: none; }
}
@media (max-width: 640px) {
  .album-tracks { max-height: 112px; }
  .album-now { padding-block: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbital-play, [data-orbit-star] { translate: none !important; transition: none; }
  .orbital-ring, .album-disc-grooves, .album-disc-label { animation: none !important; }
  .album-wave-bar, [data-album-progress-ring] { transition: none; }
}
