:root {
  --night: #0a0908;
  --plate: #12100d;
  --ivory: #f1e6cf;
  --muted: #9b917e;
  --faint: #5f574a;
  --gold: #d9b47a;
  --gold-hi: #f3d49c;
  --hair: rgba(217, 180, 122, .2);
  --serif: 'Cormorant Garamond', 'Songti SC', 'STSong', 'Noto Serif SC', serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sans: 'Cormorant Garamond', 'Songti SC', 'STSong', 'Noto Serif SC', serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body { font: 15px/1.55 var(--sans); background: var(--night); color: var(--ivory); -webkit-font-smoothing: antialiased; }
button, a { color: inherit; font: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { text-decoration: none; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 6px; }
::selection { background: var(--gold); color: var(--night); }

/* warm light falling on the centre, film grain on top */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 55% 60% at 50% 50%, rgba(120, 88, 42, .16), transparent 70%),
    radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0, 0, 0, .55) 100%);
}
body::after {
  content: ''; position: fixed; inset: -50%; pointer-events: none; z-index: 20; opacity: .07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-2%, 1%); } 50% { transform: translate(1%, -2%); } 75% { transform: translate(2%, 2%); } }

/* ---------- chrome: tiny type at the corners ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; height: 92px; padding: 0 3.6%;
  display: flex; align-items: center; gap: 28px; z-index: 10; pointer-events: none;
}
header > * { pointer-events: auto; }
.wordmark { font: 400 40px/1 var(--serif); letter-spacing: -.02em; color: var(--ivory); padding-bottom: 4px; }
.wordmark span { color: var(--gold); }
.back { font: 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); opacity: 0; transform: translateX(-8px); transition: .5s var(--ease); pointer-events: none; }
[data-view=section] .back { opacity: 1; transform: none; pointer-events: auto; }
.back:hover { color: var(--gold-hi); }
.lang { margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--hair); border-radius: 50%; font: 12px var(--mono); color: var(--muted); transition: .3s; }
.lang:hover { border-color: var(--gold); color: var(--ivory); }

main { position: relative; height: 100%; z-index: 1; }
.intro { position: absolute; left: 3.6%; top: 122px; z-index: 3; pointer-events: none; transition: opacity .5s, transform .6s var(--ease); }
[data-view=section] .intro { opacity: 0; transform: translateY(-10px); }
.eyebrow { font: 10.5px var(--mono); letter-spacing: .2em; color: var(--gold); margin: 0 0 14px; }
#intro-line { font: italic 300 24px/1.35 var(--serif); margin: 0; max-width: 300px; color: var(--ivory); }
:lang(zh-CN) #intro-line { font-style: normal; font-size: 21px; letter-spacing: .04em; }
#hint {
  position: absolute; left: 50%; bottom: 104px; transform: translateX(-50%); margin: 0;
  font: 10.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); pointer-events: none; z-index: 3;
}
:lang(zh-CN) #hint { font: 13px var(--serif); letter-spacing: .14em; }
[data-view=section] #hint { left: 3.6%; transform: none; }

footer {
  position: fixed; left: 3.6%; right: 3.6%; bottom: 0; height: 72px;
  display: flex; align-items: center; justify-content: space-between; z-index: 10;
  font: 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.mark { display: flex; align-items: center; gap: 12px; }
.pulse { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; } }
#impression { font: italic 400 16px var(--serif); letter-spacing: .01em; text-transform: none; color: var(--muted); transition: color .3s; }
:lang(zh-CN) #impression { font: 14px var(--serif); font-style: normal; letter-spacing: .1em; }
#impression:hover { color: var(--gold-hi); }
.links { display: flex; gap: 24px; }
#social { display: contents; }
.links a { transition: color .3s; }
.links a:hover { color: var(--gold-hi); }

/* ---------- stage ---------- */
#stage { position: absolute; inset: 0; overflow: hidden; }
#scene { position: absolute; left: 0; top: 0; pointer-events: none; }
#nodes { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }

.node { position: absolute; left: 0; top: 0; will-change: transform, opacity; transform-origin: 50% 50%; }
.glyph { display: block; flex: none; }

/* Hannah */
.root { width: 470px; height: 470px; display: grid; place-items: center; }
.root-name { position: relative; font: 300 92px/1 var(--serif); letter-spacing: -.01em; color: var(--ivory); margin-top: -18px; text-shadow: 0 0 40px rgba(10, 9, 8, .9), 0 0 12px rgba(10, 9, 8, .8); }
.root-sub { position: absolute; top: 286px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 10px var(--mono); letter-spacing: .3em; color: var(--gold); transition: opacity .4s; }
.root.mini .root-sub { opacity: 0; }

/* section medallions */
.section { display: flex; flex-direction: column; align-items: center; text-align: center; white-space: nowrap; }
.section .glyph { width: 128px; height: 128px; }
.label { display: flex; flex-direction: column; align-items: center; margin-top: 8px; }
.label .no { font: 10.5px var(--mono); letter-spacing: .2em; color: var(--gold); }
.label .name { font: 400 30px/1.2 var(--serif); letter-spacing: .02em; margin-top: 6px; color: var(--ivory); transition: color .3s, text-shadow .3s; }
:lang(zh-CN) .label .name { font-size: 25px; letter-spacing: .14em; font-weight: 500; }
.label .note { font: italic 400 15px var(--serif); color: var(--muted); margin-top: 6px; }
:lang(zh-CN) .label .note { font: 13px var(--serif); font-style: normal; letter-spacing: .08em; }
.label .count { font: 10px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-top: 12px; max-height: 0; opacity: 0; overflow: hidden; transition: .5s var(--ease); }
.section:hover .count, .section.active .count { max-height: 20px; opacity: 1; }
.section:hover .name, .section.lit .name { color: var(--gold-hi); text-shadow: 0 0 18px rgba(243, 212, 156, .35); }
.section.active { cursor: default; }
.section.mini { flex-direction: row; text-align: left; }
.section.mini .label { align-items: flex-start; margin: 0 0 0 4px; }
.section.mini .note, .section.mini .count { display: none; }
.section.mini:hover { opacity: 1 !important; }

/* work plates */
.work { width: 216px; text-align: left; }
.frame-wrap { position: relative; display: block; }
.frame {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: transparent;
  box-shadow: 0 30px 50px -30px #000;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.92); transition: filter .6s, transform 1.2s var(--ease); }
.work:hover .frame, .work.lit .frame { box-shadow: 0 40px 60px -30px #000, 0 0 50px -10px rgba(217, 180, 122, .22); }
.work:hover .frame img { filter: saturate(1.05); transform: scale(1.03); }
.placeholder {
  position: relative; display: grid; place-items: center; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 42%, rgba(120, 88, 42, .14), transparent 70%), rgba(18, 16, 13, .35);
}
.placeholder i { position: absolute; left: 50%; top: 42%; width: 22px; height: 22px; margin: -11px; border: 1px solid rgba(217, 180, 122, .35); border-radius: 50%; }
.placeholder i::before, .placeholder i::after { content: ''; position: absolute; background: rgba(217, 180, 122, .35); }
.placeholder i::before { left: 50%; top: -8px; bottom: -8px; width: 1px; }
.placeholder i::after { top: 50%; left: -8px; right: -8px; height: 1px; }
.placeholder span { position: absolute; bottom: 12%; font: 9.5px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
:lang(zh-CN) .placeholder span { font: 11.5px var(--serif); letter-spacing: .2em; }
.cap { display: block; margin-top: 14px; }
.cap .no { display: block; font: 9.5px var(--mono); letter-spacing: .18em; color: var(--gold); }
.cap .title { display: block; font: 400 21px/1.25 var(--serif); color: var(--ivory); margin-top: 5px; }
:lang(zh-CN) .cap .title { font-size: 17px; letter-spacing: .08em; }
.cap .kind { display: block; font: italic 14px var(--serif); color: var(--muted); }
:lang(zh-CN) .cap .kind { font: 12.5px var(--serif); font-style: normal; letter-spacing: .06em; }

/* ---------- dialogs ---------- */
dialog:focus { outline: none; }
dialog { border: 0; padding: 0; background: var(--plate); color: var(--ivory); box-shadow: inset 0 0 0 1px var(--hair), 0 60px 120px -40px #000; }
dialog::backdrop { background: rgba(6, 5, 4, .78); backdrop-filter: blur(8px); }
dialog[open] { animation: rise .7s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.x { position: absolute; top: 14px; right: 18px; width: 36px; height: 36px; font: 300 26px var(--serif); color: var(--muted); z-index: 2; }
.x:hover { color: var(--gold-hi); }

#work { width: min(1160px, 92vw); max-height: 88vh; overflow: auto; }
#work-body { display: grid; grid-template-columns: 1.55fr 1fr; min-height: 540px; }
.w-cover { position: relative; display: grid; background: #0d0b09; border-right: 1px solid var(--hair); }
.w-cover img, .w-cover video { width: 100%; height: 100%; object-fit: cover; display: block; }
.w-text { padding: 60px 46px 36px; display: flex; flex-direction: column; }
.w-path { font: 10.5px var(--mono); letter-spacing: .18em; color: var(--muted); margin: 0; text-transform: uppercase; }
.w-path span { color: var(--gold); }
.w-text h2 { font: 300 52px/1.05 var(--serif); letter-spacing: -.01em; margin: 26px 0 10px; }
:lang(zh-CN) .w-text h2 { font-size: 40px; font-weight: 400; letter-spacing: .06em; }
.w-kind { font: italic 17px var(--serif); color: var(--muted); margin: 0; }
:lang(zh-CN) .w-kind { font: 14px var(--serif); font-style: normal; }
.w-desc { font: 400 19px/1.65 var(--serif); margin: 30px 0 36px; color: #d9cfbb; }
:lang(zh-CN) .w-desc { font: 15.5px/2 var(--serif); letter-spacing: .05em; }
.w-enter { align-self: flex-start; font: 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; padding: 14px 24px; border: 1px solid var(--gold); color: var(--gold-hi); transition: .35s; }
.w-enter:hover { background: var(--gold); color: var(--night); }
.w-enter.off { border-color: var(--hair); color: var(--faint); }
.w-nav { margin-top: auto; padding-top: 44px; display: flex; justify-content: space-between; font: 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.w-nav button:hover { color: var(--gold-hi); }

#palette { width: min(440px, 90vw); padding: 40px 34px 28px; }
.p-title { font: italic 300 26px/1.3 var(--serif); margin: 0 0 26px; }
:lang(zh-CN) .p-title { font: 19px var(--serif); font-style: normal; letter-spacing: .08em; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.swatches button { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--hair); font-size: 13px; color: var(--ivory); transition: border-color .3s, background .3s; }
.swatches button i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); flex: none; }
.swatches button small { margin-left: auto; color: var(--faint); font: 10px var(--mono); }
.swatches button[aria-pressed=true], .swatches button:hover { border-color: var(--c); background: rgba(255, 255, 255, .02); }
.p-state { min-height: 20px; font: 10.5px var(--mono); letter-spacing: .1em; color: var(--muted); margin: 18px 0 0; }

/* ---------- phone ---------- */
@media (max-width: 760px) {
  header { height: 68px; padding: 0 20px; }
  .wordmark { font-size: 34px; }
  .intro { left: 20px; top: 80px; }
  #intro-line { font-size: 19px; }
  footer { left: 20px; right: 20px; height: auto; padding: 14px 0 18px; flex-direction: column; gap: 10px; }
  .mark { display: none; }
  #hint { display: none; }
  [data-view=section] #stage { overflow-y: auto; top: 0; bottom: 96px; }
  .section .glyph { width: 70px; height: 70px; }
  .label { margin-top: 2px; }
  .label .name { font-size: 24px; }
  :lang(zh-CN) .label .name { font-size: 20px; }
  .label .note { white-space: normal; width: 9em; }
  .section.active .count { display: none; }
  .section.active { flex-direction: row; text-align: left; }
  .section.active .label { align-items: flex-start; }
  .section.active .note { width: auto; }
  .work { width: 42vw; }
  #work-body { grid-template-columns: 1fr; min-height: 0; }
  .w-cover { aspect-ratio: 4 / 3; border: 0; border-bottom: 1px solid var(--hair); }
  .w-text { padding: 30px 24px 24px; }
  .w-text h2 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) { body::after, .pulse { animation: none; } }

/* ---------- v3: real works ---------- */
.frame video { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.work.playing .frame video { opacity: 1; }
.cap .no em { font-style: normal; margin-left: 8px; padding: 1px 5px; border: 1px solid var(--hair); color: var(--muted); font-size: 8.5px; letter-spacing: .14em; }
/* labels sit on a halo of night so lines passing behind never cut through the text */
.label .name, .label .note, .label .no, .cap .title, .cap .kind, .root-sub { text-shadow: 0 0 6px var(--night), 0 0 12px var(--night), 0 0 18px var(--night); }

/* dialog as an engraved plate: hairline, crop marks, a ruler */
#work { overflow: visible; }
#work-body { max-height: 88vh; overflow: auto; }
#work::before, #work::after { content: ''; position: absolute; width: 14px; height: 14px; border: 0 solid rgba(217, 180, 122, .6); pointer-events: none; }
#work::before { left: -12px; top: -12px; border-width: 1px 0 0 1px; }
#work::after { right: -12px; bottom: -12px; border-width: 0 1px 1px 0; }
.w-cover { overflow: hidden; }
.w-cover::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: repeating-linear-gradient(90deg, rgba(217, 180, 122, .35) 0 1px, transparent 1px 6px); -webkit-mask: linear-gradient(transparent 40%, #000); mask: linear-gradient(transparent 40%, #000); pointer-events: none; }
.w-cover .fig { position: absolute; inset: 0; width: 100%; height: 100%; }
.w-cover video { position: absolute; inset: 0; }
.w-plate { position: absolute; left: 18px; top: 16px; font: 10.5px var(--mono); letter-spacing: .2em; color: var(--gold); text-shadow: 0 0 8px #000; }
.w-text { padding: 54px 46px 32px; }
.w-text h2 { margin-top: 20px; }
.w-desc { margin: 22px 0 6px; }
.w-h { font: 10.5px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 26px 0 10px; }
:lang(zh-CN) .w-h { font: 12.5px var(--serif); letter-spacing: .3em; }
.w-role, .a-path { list-style: none; padding: 0; margin: 0; }
.w-role li { position: relative; padding: 7px 0 7px 22px; border-top: 1px solid rgba(217, 180, 122, .1); font: 17px/1.5 var(--serif); color: #d9cfbb; }
:lang(zh-CN) .w-role li { font-size: 14.5px; letter-spacing: .04em; line-height: 1.75; }
.w-role li::before { content: ''; position: absolute; left: 2px; top: 1.05em; width: 9px; height: 1px; background: var(--gold); }
.a-path li { display: grid; grid-template-columns: 116px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(217, 180, 122, .1); font: 16px/1.5 var(--serif); color: #d9cfbb; }
:lang(zh-CN) .a-path li { font-size: 14.5px; letter-spacing: .04em; }
.a-path li span { font: 10.5px/2.2 var(--mono); letter-spacing: .12em; color: var(--muted); }
.w-nda { margin: 22px 0 0; font: italic 15px/1.6 var(--serif); color: var(--muted); }
:lang(zh-CN) .w-nda { font: 13px/1.8 var(--serif); font-style: normal; }
.w-nda em { font: normal 9.5px var(--mono); letter-spacing: .16em; padding: 2px 6px; border: 1px solid var(--hair); color: var(--gold); margin-right: 10px; }
.w-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.w-link { font: 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; padding: 14px 18px; color: var(--muted); border: 1px solid var(--hair); transition: .3s; }
.w-link:hover { color: var(--gold-hi); border-color: var(--gold); }
#work.about .w-text h2 { font-size: 40px; line-height: 1.2; }
:lang(zh-CN) #work.about .w-text h2 { font-size: 30px; line-height: 1.5; }
.a-cover { background: radial-gradient(circle at 50% 50%, rgba(120, 88, 42, .18), transparent 65%), #0d0b09; }

/* readability: the smallest type was too small */
.eyebrow, footer, .back, .w-path, .w-nav, .w-enter, .w-link { font-size: 11.5px; }
.label .no, .cap .no { font-size: 11px; }
.label .count { font-size: 11px; }
@media (max-width: 760px) { #work::before, #work::after { display: none; } .a-path li { grid-template-columns: 1fr; gap: 0; } }

/* ---------- v4: three branches + theme threads ---------- */
.th { font-style: normal; display: inline-block; margin-left: 8px; padding: 0 5px; border: 1px solid; font: 10px/1.6 var(--serif); letter-spacing: .1em; }
.th-still { color: #9fb9b3; border-color: rgba(159, 185, 179, .35); }
.th-fate { color: #d9a3a0; border-color: rgba(217, 163, 160, .35); }
.th-proof { color: var(--gold); border-color: var(--hair); }
:lang(en) .th { font: 9px/1.7 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.work.kin .frame { box-shadow: 0 0 0 1px rgba(243, 212, 156, .35), 0 0 40px -12px rgba(217, 180, 122, .35); }
.work.kin .cap .title { color: var(--gold-hi); }
body.hovering .work:not(.lit):not(.kin) { opacity: .55 !important; }
.w-thread { margin-top: 30px; padding-top: 6px; border-top: 1px solid rgba(217, 180, 122, .12); }
.w-thread .w-h .th { margin: 0 10px 0 0; }
.w-kin { display: flex; flex-wrap: wrap; gap: 8px; }
.w-kin button { text-align: left; padding: 9px 12px; border: 1px solid var(--hair); font: 15px/1.3 var(--serif); color: var(--ivory); transition: .3s; }
:lang(zh-CN) .w-kin button { font-size: 13.5px; letter-spacing: .04em; }
.w-kin button small { display: block; font: 9.5px var(--mono); letter-spacing: .14em; color: var(--muted); margin-top: 3px; text-transform: uppercase; }
.w-kin button:hover { border-color: var(--gold); color: var(--gold-hi); }
.a-path li .th { margin: 0; justify-self: start; font-size: 12px; padding: 0 8px; }
[data-view=home] #hint { bottom: auto; top: 214px; left: 3.6%; transform: none; }
/* a light screenshot shouldn't punch a hole in the night */
.frame img[src*="yarrow"], .w-cover img[src*="yarrow"] { filter: brightness(.72) sepia(.35) saturate(.8); }
.work:hover .frame img[src*="yarrow"] { filter: brightness(.9) sepia(.15); }

/* ---------- v5: Hannah is a dial, the branches are its sub-dials ---------- */
.root { width: 760px; height: 760px; }
.root-name { position: absolute; left: 0; right: 0; top: 23.5%; margin: 0; text-align: center; font-size: 84px; }
.root-sub { top: 35.5%; }
.root.mini .root-name { opacity: 0; }
.section.sub { display: block; width: 128px; height: 128px; padding: 0; }
.section.sub .glyph { position: absolute; inset: 0; width: 128px; height: 128px; }
.section.sub .label { position: absolute; left: 50%; top: 61%; transform: translateX(-50%); margin: 0; align-items: center; }
.section.sub .label .no { font-size: 7px; letter-spacing: .24em; }
.section.sub .label .name { font-size: 15px; margin-top: 1px; letter-spacing: .14em; }
:lang(en) .section.sub .label .name { font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase; font-family: var(--mono); }
.section.sub .label .note, .section.sub .label .count { display: none; }
.section.sub.mini .label { display: none; }
.section.sub:hover .name { color: var(--gold-hi); }
@media (max-width: 760px) { .section.sub .glyph { width: 128px; height: 128px; } }

/* ---------- v6: planetary train ---------- */
.root { width: 820px; height: 820px; }
.root-name { top: calc(50% - 46px); font-size: 74px; }
.root-sub { top: calc(50% + 40px); }
.root-name b { display: inline-block; font-weight: inherit; }
@media (max-width: 760px) { .section.sub .label .name { font-size: 22px; } :lang(en) .section.sub .label .name { font-size: 13px; } .section.sub .label .no { font-size: 10px; } }

/* ---------- v7: open train, capital name ---------- */
.root { width: 680px; height: 680px; }
.root-name { top: calc(50% - 27px); font-size: 44px; font-weight: 300; letter-spacing: .14em; text-indent: .14em; }
.root-sub { top: calc(50% + 34px); letter-spacing: .34em; }

/* ---------- v8: back to the atlas, branches on a rotary bezel ---------- */
.root { width: 470px; height: 470px; }
.root-name { top: calc(50% - 27px); font-size: 40px; letter-spacing: .15em; text-indent: .15em; }
.root-sub { top: calc(50% + 34px); }
#stage { cursor: grab; } #stage:active { cursor: grabbing; }
[data-view=section] #stage { cursor: default; }

/* ---------- v9: works as small case studies ---------- */
#work { width: min(1240px, 94vw); }
#work-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.w-cover { position: sticky; top: 0; align-self: start; height: min(88vh, 720px); }
.w-text { padding: 48px 44px 32px; }
.w-text h2 { font-size: 40px; }
:lang(zh-CN) .w-text h2 { font-size: 32px; }
.w-lead { font: italic 300 21px/1.5 var(--serif); color: var(--ivory); margin: 18px 0 0; }
:lang(zh-CN) .w-lead { font: 17px/1.8 var(--serif); font-style: normal; letter-spacing: .03em; }
.w-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; margin: 24px 0 4px; background: rgba(217, 180, 122, .14); border: 1px solid rgba(217, 180, 122, .14); }
.w-stats div { background: var(--plate); padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 6px; }
.w-stats b { font: 400 24px/1.1 var(--serif); color: var(--gold-hi); letter-spacing: -.01em; }
.w-stats span { font: 12.5px/1.45 var(--serif); color: var(--muted); }
:lang(en) .w-stats span { font: italic 14px/1.35 var(--serif); }
.w-text .w-desc { margin: 0; font-size: 17px; }
:lang(zh-CN) .w-text .w-desc { font-size: 14.5px; line-height: 1.95; }
.w-limits li { color: var(--muted); }
.w-stack { margin: 0; font: 11px/1.8 var(--mono); letter-spacing: .08em; color: var(--muted); }
.w-h { margin-top: 24px; }
@media (max-width: 760px) { .w-cover { position: relative; height: auto; } #work-body { grid-template-columns: 1fr; } }

/* ---------- v10: pyramid — answer, numbers, why, three supports ---------- */
.w-lead { font-size: 22px; }
:lang(zh-CN) .w-lead { font-size: 18px; line-height: 1.75; color: var(--ivory); }
.w-pillars { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.w-pillars li { display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 16px 0; border-top: 1px solid rgba(217, 180, 122, .12); }
.w-n { font: 11px/24px var(--mono); letter-spacing: .12em; color: var(--gold); }
.w-p { margin: 0 0 6px; font: 400 19px/1.4 var(--serif); color: var(--ivory); }
:lang(zh-CN) .w-p { font-size: 16px; font-weight: 600; letter-spacing: .04em; }
.w-e { margin: 4px 0 0; font: 16px/1.6 var(--serif); color: #cfc4ae; }
:lang(zh-CN) .w-e { font-size: 14px; line-height: 1.9; letter-spacing: .03em; }

/* ---------- about: the timeline as a two-lane Gantt ---------- */
.gantt { position: relative; margin: 6px 0 4px; padding: 26px 0 4px 52px; }
.g-axis { position: absolute; left: 52px; right: 0; top: 0; height: 18px; }
.g-axis span { position: absolute; transform: translateX(-50%); font: 10.5px var(--mono); letter-spacing: .08em; color: var(--muted); }
.g-grid { position: absolute; top: 20px; bottom: 0; width: 1px; margin-left: 52px; background: rgba(217, 180, 122, .1); pointer-events: none; }
.gantt .g-grid { left: 0; }
.g-now { position: absolute; top: 16px; width: 1px; height: 132px; background: linear-gradient(var(--gold-hi), transparent); }
.g-lane { position: relative; height: 58px; margin-left: 0; border-top: 1px solid rgba(217, 180, 122, .1); }
.g-name { position: absolute; left: -52px; top: 20px; font: 11px var(--mono); letter-spacing: .14em; color: var(--gold); }
:lang(zh-CN) .g-name { font: 12.5px var(--serif); letter-spacing: .2em; }
.g-bar { position: absolute; top: 10px; height: 38px; padding: 5px 8px; box-sizing: border-box; overflow: visible; cursor: default;
  border: 1px solid rgba(217, 180, 122, .55); background: linear-gradient(90deg, rgba(217, 180, 122, .16), rgba(217, 180, 122, .05)); transition: background .3s, border-color .3s; }
.g-bar.open { border-right: 0; background: linear-gradient(90deg, rgba(217, 180, 122, .2), rgba(217, 180, 122, 0)); }
.g-bar b { display: block; font: 500 13.5px/1.2 var(--serif); color: var(--ivory); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-bar em { display: block; font: 11.5px/1.3 var(--serif); font-style: normal; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-bar:hover, .g-bar:focus { background: rgba(217, 180, 122, .22); border-color: var(--gold-hi); outline: none; z-index: 2; }
.g-tip { position: absolute; left: 0; bottom: calc(100% + 8px); min-width: 210px; padding: 9px 11px; background: #0b0a08; border: 1px solid var(--hair); font: 12.5px/1.55 var(--serif); color: var(--ivory); white-space: nowrap; opacity: 0; transform: translateY(4px); pointer-events: none; transition: .25s; z-index: 5; }
.g-bar:hover .g-tip, .g-bar:focus .g-tip { opacity: 1; transform: none; }
.g-lane:last-of-type .g-bar:last-child .g-tip { left: auto; right: 0; }
#work.about #work-body { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); }
.g-bar em { display: none; }
.g-bar { display: flex; align-items: center; }
:lang(zh-CN) .mark #mark, :lang(zh-CN) .eyebrow { font-family: var(--serif); letter-spacing: .24em; }
.g-bar b { overflow: visible; text-overflow: clip; text-shadow: 0 0 6px var(--plate), 0 0 10px var(--plate); }
/* timeline fixes: grid lines share the bars' coordinate box; phones scroll the chart sideways */
.g-grids { position: absolute; left: 52px; right: 0; top: 20px; bottom: 0; pointer-events: none; }
.g-grid { margin-left: 0; top: 0; }
.g-lane { z-index: 1; }
@media (max-width: 760px) {
  #work.about #work-body { grid-template-columns: 1fr; }
  #work.about .a-cover { display: none; }
  .gantt-wrap { overflow-x: auto; margin-right: -24px; padding-right: 24px; }
  .gantt { min-width: 600px; }
  .g-tip { display: none; }
}
@media (max-width: 760px) {
  #work.about #work-body { grid-template-columns: minmax(0, 1fr); }
  #work-body .w-text { min-width: 0; }
  .gantt-wrap { max-width: 100%; }
}

/* ---------- v11: soul alchemy ---------- */
.w-made { margin-top: 26px; border-top: 1px solid rgba(217, 180, 122, .12); padding-top: 14px; }
.w-made summary { cursor: pointer; list-style: none; font: 10.5px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
:lang(zh-CN) .w-made summary { font: 12.5px var(--serif); letter-spacing: .3em; }
.w-made summary::before { content: '+ '; }
.w-made[open] summary::before { content: '− '; }
.w-made summary::-webkit-details-marker { display: none; }
.w-made .w-stack { margin-top: 12px; }
/* each work is its own medallion on the ring */
.section.ring .label .no, .section.ring .label .count, .section.ring .label .note { display: none; }
.section.ring .label .name { font-size: 22px; white-space: nowrap; }
:lang(zh-CN) .section.ring .label .name { font-size: 21px; letter-spacing: .1em; }
.section.ring:hover .label .note { display: block; }
/* no box around the medallions or Hannah when clicked; keyboard focus shows as a glow on the name instead */
.node:focus, .node:focus-visible { outline: none; }
.node.section:focus-visible .label .name, .root:focus-visible .root-name { color: var(--gold-hi); text-shadow: 0 0 18px rgba(243, 212, 156, .5); }
@media (max-width: 760px) { .section.ring .label .name, :lang(zh-CN) .section.ring .label .name { font-size: 30px; } }
/* dragging the ring must never select text */
#stage, #stage *, header, footer, .intro { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* the outer orbit: each work's own picture, half-transparent, tethered to its medallion */
.sat { position: absolute; left: 0; top: 0; padding: 0; border-radius: 50%; overflow: hidden; cursor: pointer; opacity: 0; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(217, 180, 122, .35); transition: opacity .6s var(--ease), box-shadow .4s; }
.sat.on { opacity: .5; pointer-events: auto; }
.sat.lit { opacity: .95; box-shadow: 0 0 0 1px var(--gold-hi), 0 0 40px -6px rgba(243, 212, 156, .45); }
.sat video, .sat img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; filter: saturate(.85) sepia(.12); }
.sat img[src*="yarrow"] { filter: brightness(.38) sepia(.6) saturate(.7); }
/* the outer pictures dissolve into the dark at their edge instead of ending on a line */
.sat, .sat.lit { box-shadow: none; overflow: visible; }
.sat video, .sat img { border-radius: 50%; -webkit-mask: radial-gradient(circle closest-side, #000 52%, rgba(0,0,0,.55) 74%, transparent 100%); mask: radial-gradient(circle closest-side, #000 52%, rgba(0,0,0,.55) 74%, transparent 100%); }
.sat.lit video, .sat.lit img { -webkit-mask: radial-gradient(circle closest-side, #000 62%, rgba(0,0,0,.6) 82%, transparent 100%); mask: radial-gradient(circle closest-side, #000 62%, rgba(0,0,0,.6) 82%, transparent 100%); }
/* apps: their picture sits in a phone-shaped window */
.sat.phone { border-radius: 16%; }
.sat.phone video, .sat.phone img { border-radius: 16%; -webkit-mask: linear-gradient(transparent, #000 14%, #000 82%, transparent), linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); -webkit-mask-composite: source-in; mask: linear-gradient(transparent, #000 14%, #000 82%, transparent), linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-composite: intersect; object-position: top; }
