:root {
  --paper: #e9ebe5;
  --paper-bright: #f4f5f0;
  --paper-deep: #dfe2da;
  --ink: #172024;
  --muted: #68736f;
  --line: #c4cbc3;
  --line-dark: #8e9892;
  --accent: #a64d1a;
  --accent-bright: #bf5c26;
  --accent-soft: #e7c3a4;
  --dark: #101719;
  --dark-deep: #0a1012;
  --dark-raised: #151d1f;
  --dark-line: #303b3c;
  --shell: 1560px;
  --gutter: clamp(20px, 3vw, 42px);
  --sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", Consolas, "Courier New", monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--paper); }

body {
  margin: 0;
  min-width: 300px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }
::selection { background: var(--accent); color: var(--paper-bright); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
svg { display: block; }
[hidden] { display: none !important; }

/* Camera pointer */
@media (pointer: fine) and (hover: hover) {
  html,
  body,
  body * {
    cursor: url("/assets/img/camera-cursor.svg?v=1") 20 15, default !important;
  }

  body a,
  body button,
  body label,
  body summary,
  body [role="button"],
  body input[type="button"],
  body input[type="submit"],
  body input[type="reset"],
  body input[type="checkbox"],
  body input[type="radio"] {
    cursor: url("/assets/img/camera-cursor-active.svg?v=1") 20 15, pointer !important;
  }

  body input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
  body textarea,
  body [contenteditable="true"] {
    cursor: text !important;
  }

  body select {
    cursor: default !important;
  }
}

:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 4px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.shell {
  width: 100%;
  max-width: calc(var(--shell) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.page-main { min-height: 45vh; }

.micro {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--accent);
  vertical-align: 1px;
}

.accent-text { color: var(--accent); }
.picture { display: block; }
.picture img { display: block; width: 100%; height: 100%; }

.palette { display: inline-flex; align-items: center; gap: 3px; flex: none; }
.palette i { display: block; width: 18px; height: 6px; background: var(--swatch); border: 1px solid rgba(23, 32, 36, .16); }

.frame-corners { position: absolute; inset: 10px; z-index: 4; pointer-events: none; }
.frame-corners i { position: absolute; width: 18px; height: 18px; border-color: rgba(244, 245, 240, .8); border-style: solid; }
.frame-corners i:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.frame-corners i:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.frame-corners i:nth-child(3) { right: 0; bottom: 0; border-width: 0 1px 1px 0; }
.frame-corners i:nth-child(4) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  padding-bottom: 5px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.4;
  transition: color .2s ease, border-color .2s ease;
}
.text-link span { font-family: var(--mono); font-size: 11px; }
.text-link:hover { color: var(--accent); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 48px;
  padding: 13px 17px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.button span:last-child { font-size: 14px; }
.button-accent { background: var(--accent); border-color: var(--accent); color: var(--paper-bright); }
.button-accent:hover { background: var(--accent-bright); border-color: var(--accent-bright); }
.button-dark { background: var(--ink); border-color: var(--ink); color: var(--paper-bright); }
.button-dark:hover { background: var(--accent); border-color: var(--accent); }
.button-light { background: var(--paper-bright); border-color: var(--paper-bright); color: var(--ink); }
.button-light:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

/* Header */
.utility-bar { border-bottom: 1px solid var(--line); color: var(--muted); }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.utility-center { margin-left: auto; margin-right: auto; }

.site-head { position: sticky; top: 0; z-index: 60; background: var(--paper); border-bottom: 1px solid var(--ink); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 0; }
.brand-mark { width: 42px; height: 42px; flex: none; color: var(--ink); }
.brand-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.brand-copy strong { font-size: 13px; font-weight: 800; line-height: 1; letter-spacing: .18em; white-space: nowrap; }
.brand-copy span { color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .24em; }

.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 34px); }
.nav-link { display: flex; align-items: baseline; gap: 8px; position: relative; padding: 7px 0; font-size: 12px; white-space: nowrap; transition: color .2s ease; }
.nav-link::after { content: ""; position: absolute; right: 0; bottom: -2px; left: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-link:hover, .nav-link.is-active { color: var(--accent); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-index { color: var(--muted); font-family: var(--mono); font-size: 8px; }
.nav-en { color: var(--muted); font-family: var(--mono); font-size: 8px; letter-spacing: .08em; }

.header-share {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  flex: none;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.header-share:hover { background: var(--ink); border-color: var(--ink); color: var(--paper-bright); }

/* Home hero */
.home-hero { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(0, 1.55fr); gap: clamp(26px, 3.4vw, 52px); padding-top: clamp(30px, 4vw, 58px); padding-bottom: clamp(52px, 7vw, 96px); }
.hero-copy { display: flex; flex-direction: column; min-width: 0; min-height: clamp(590px, 48vw, 720px); padding-left: clamp(16px, 2vw, 26px); border-left: 1px solid var(--line-dark); }
.hero-kicker-row { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }
.hero-copy-body { margin-block: auto; padding-block: 44px; }
.hero-overline { margin-bottom: 30px; color: var(--muted); }
.hero-title { margin: 0; font-size: clamp(56px, 5.65vw, 88px); font-weight: 900; line-height: .82; letter-spacing: -.068em; text-transform: uppercase; }
.hero-title span { display: block; margin-top: .12em; color: var(--accent); }
.hero-cn { margin: 24px 0 0; color: var(--muted); font-size: 13px; letter-spacing: .48em; }
.hero-lead { max-width: 25em; margin: 32px 0 0; font-size: 14px; line-height: 1.9; }
.hero-links { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.hero-stats { display: grid; grid-template-columns: 1.1fr .85fr 1fr; gap: 12px; margin: 0; padding-top: 15px; border-top: 1px solid var(--line); }
.hero-stats dt { margin-bottom: 5px; color: var(--muted); }
.hero-stats dd { margin: 0; font-family: var(--mono); font-size: 9px; line-height: 1.5; white-space: nowrap; }

.hero-visual { position: relative; display: block; min-width: 0; aspect-ratio: 6 / 5; overflow: hidden; border: 1px solid var(--line-dark); background: var(--paper-deep); }
.hero-visual::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(9, 14, 16, .24), transparent 22%, transparent 68%, rgba(9, 14, 16, .62)); pointer-events: none; }
.hero-visual .picture { width: 100%; height: 100%; }
.hero-visual img { object-fit: cover; transition: transform 1s var(--ease); }
.hero-visual:hover img { transform: scale(1.018); }
.hero-visual-top { position: absolute; z-index: 3; top: 17px; left: 19px; right: 19px; display: flex; justify-content: space-between; gap: 20px; color: rgba(244, 245, 240, .9); }
.hero-visual-bottom { position: absolute; z-index: 3; right: 20px; bottom: 20px; left: 20px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 20px; color: var(--paper-bright); }
.hero-visual-bottom .micro:first-child { grid-column: 1 / -1; color: rgba(244, 245, 240, .75); }
.hero-visual-bottom strong { font-size: clamp(28px, 3.2vw, 48px); font-weight: 700; line-height: 1.05; }
.hero-view { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; border-bottom: 1px solid currentColor; }
.hero-view b { font-size: 13px; }

.index-rule { display: flex; align-items: center; gap: 18px; padding-bottom: 17px; color: var(--muted); }
.index-rule-line { flex: 1; height: 1px; background: var(--line); }

/* Section heading and featured work */
.section-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(220px, .65fr); gap: clamp(30px, 5vw, 80px); align-items: end; padding-top: 17px; border-top: 1px solid var(--ink); margin-bottom: clamp(32px, 4vw, 56px); }
.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--muted); }
.section-label span { color: var(--accent); }
.section-head h2, .archive-index-head h2 { margin: 0; font-size: clamp(38px, 4.8vw, 68px); font-weight: 800; line-height: .98; letter-spacing: -.045em; }
.section-head h2 span, .archive-index-head h2 span { display: block; margin-top: 13px; color: var(--muted); font-family: var(--mono); font-size: 9px; font-weight: 400; letter-spacing: .13em; }
.section-note { max-width: 34em; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.section-head-link { justify-self: end; margin-bottom: 4px; }

.featured-section { padding-bottom: clamp(74px, 9vw, 138px); }
.featured-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(26px, 3.4vw, 50px) clamp(20px, 2.4vw, 38px); grid-auto-flow: dense; align-items: start; }
.feature { display: block; min-width: 0; }
.feature-1 { grid-column: 1 / span 7; }
.feature-2 { grid-column: 8 / span 5; margin-top: clamp(34px, 5vw, 74px); }
.feature-3 { grid-column: 1 / span 4; margin-top: clamp(0px, 1vw, 18px); }
.feature-4 { grid-column: 5 / span 4; }
.feature-media { position: relative; display: block; overflow: hidden; border: 1px solid var(--line-dark); background: var(--paper-deep); }
.feature-1 .feature-media { aspect-ratio: 3 / 2; }
.feature-2 .feature-media { aspect-ratio: 1.06 / 1; }
.feature-3 .feature-media, .feature-4 .feature-media { aspect-ratio: 4 / 5; }
.feature-media .picture { width: 100%; height: 100%; }
.feature-media img { object-fit: cover; transition: transform .85s var(--ease); }
.feature:hover img { transform: scale(1.02); }
.feature-no { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 5px 7px; background: rgba(233, 235, 229, .92); color: var(--ink); }
.feature-arrow { position: absolute; z-index: 2; right: 13px; bottom: 12px; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(244, 245, 240, .7); background: rgba(16, 23, 25, .55); color: var(--paper-bright); font-family: var(--mono); font-size: 12px; }
.feature-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line); }
.feature-meta > span:first-child { display: flex; flex-direction: column; gap: 3px; }
.feature-meta strong { font-size: 17px; font-weight: 650; line-height: 1.25; }
.feature-meta em { color: var(--muted); font-family: var(--mono); font-size: 8px; font-style: normal; letter-spacing: .1em; }
.feature-meta > .micro { flex: none; color: var(--muted); text-align: right; }

.feature-note { grid-column: 9 / span 4; align-self: stretch; display: flex; flex-direction: column; min-height: 100%; padding: 19px 0 0; border-top: 1px solid var(--ink); }
.page-poem { margin: 0; }
.page-poem-label { display: flex; align-items: center; gap: 10px; color: var(--accent); }
.page-poem-text { margin: 30px 0 0; font-size: clamp(21px, 2vw, 28px); font-weight: 650; line-height: 1.6; letter-spacing: -.02em; }
.page-poem-text span { display: block; }
.page-poem-source { margin-top: 12px; color: var(--muted); font-size: 11px; }
.feature-note-palette { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 auto; padding: 18px 0; border-block: 1px solid var(--line); color: var(--muted); }
.feature-note-palette .palette { gap: 4px; }
.feature-note-palette .palette i { width: 29px; height: 22px; }
.feature-note > .text-link { margin-top: 25px; }

/* Collection gateways */
.gateway-section { padding-bottom: clamp(76px, 9vw, 138px); }
.section-head-compact { margin-bottom: clamp(28px, 3vw, 42px); }
.gateway-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(22px, 3vw, 46px); align-items: start; }
.gateway { display: block; min-width: 0; }
.gateway-media { position: relative; display: block; aspect-ratio: 10 / 8.2; overflow: hidden; border: 1px solid var(--line-dark); background: var(--paper-deep); }
.gateway-portraits { margin-top: clamp(30px, 5vw, 78px); }
.gateway-portraits .gateway-media { aspect-ratio: 10 / 11.8; }
.gateway-media .picture { width: 100%; height: 100%; }
.gateway-media img { object-fit: cover; transition: transform .85s var(--ease); }
.gateway:hover img { transform: scale(1.02); }
.gateway-code { position: absolute; top: 12px; left: 12px; padding: 6px 8px; background: rgba(233, 235, 229, .94); }
.gateway-arrow { position: absolute; right: 15px; bottom: 15px; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(244, 245, 240, .75); background: rgba(16, 23, 25, .55); color: var(--paper-bright); font-family: var(--mono); font-size: 13px; }
.gateway-caption { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-top: 15px; border-top: 1px solid var(--ink); margin-top: 12px; }
.gateway-caption > span:first-child { display: flex; align-items: baseline; gap: 13px; }
.gateway-caption strong { font-size: clamp(28px, 3vw, 44px); font-weight: 700; line-height: 1; }
.gateway-caption em { color: var(--muted); font-family: var(--mono); font-size: 9px; font-style: normal; letter-spacing: .12em; }
.gateway-caption > .micro { color: var(--muted); text-align: right; }

/* Home color preview */
.color-preview { padding-bottom: clamp(76px, 9vw, 138px); }
.spectrum-preview { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line-dark); }
.spectrum-key { display: flex; flex-direction: column; min-width: 0; padding: 0 13px 17px; border-left: 1px solid var(--line); transition: background-color .2s ease; }
.spectrum-key:first-child { border-left: 0; }
.spectrum-key:hover { background: rgba(255, 255, 255, .3); }
.spectrum-band { display: block; height: clamp(50px, 6vw, 84px); margin-bottom: 15px; background: var(--swatch); }
.spectrum-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.spectrum-name { margin-top: 23px; font-size: clamp(20px, 2vw, 28px); font-weight: 650; line-height: 1.2; }
.spectrum-count { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 13px; color: var(--muted); }
.spectrum-count b { font-size: 12px; font-weight: 400; }

/* Share band and footer */
.share-band { background: var(--dark); color: var(--paper-bright); padding-block: clamp(72px, 9vw, 120px); }
.share-band-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr); gap: clamp(40px, 8vw, 120px); align-items: end; }
.share-band-title .micro { margin-bottom: 28px; }
.share-band-title h2 { margin: 0; font-size: clamp(50px, 6.4vw, 96px); font-weight: 800; line-height: .92; letter-spacing: -.06em; }
.share-band-copy p { max-width: 31em; margin: 0 0 26px; color: #bdc8c4; font-size: 14px; line-height: 1.9; }
.share-band-copy .button { width: min(100%, 300px); }
.share-note { margin-top: 17px !important; color: #75837f !important; }

.site-footer { border-top: 1px solid var(--ink); padding-block: 42px 34px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .82fr 1fr .9fr; gap: 30px; align-items: start; }
.footer-brand { display: flex; flex-direction: column; gap: 7px; }
.footer-brand strong { font-size: 12px; letter-spacing: .16em; }
.footer-brand span { color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: .05em; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.footer-nav a:hover { color: var(--accent); }
.footer-meta { display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.footer-meta a:hover { color: var(--accent); }
.footer-end { display: flex; flex-direction: column; gap: 8px; color: var(--muted); text-align: right; }

/* Collection pages */
.collection-head { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(270px, .55fr); gap: clamp(34px, 6vw, 100px); align-items: end; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(34px, 4vw, 58px); }
.collection-heading { min-width: 0; }
.collection-topline { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); }
.collection-title { margin: clamp(40px, 5vw, 72px) 0 0; font-size: clamp(66px, 9.6vw, 148px); font-weight: 900; line-height: .78; letter-spacing: -.075em; text-transform: uppercase; }
.collection-title span { display: block; margin-top: 27px; padding-left: 5px; color: var(--accent); font-family: var(--sans); font-size: clamp(22px, 2.1vw, 34px); font-weight: 550; line-height: 1.2; letter-spacing: .35em; }
.collection-intro { position: relative; align-self: end; min-width: 0; padding: 20px 0 0 22px; border-left: 1px solid var(--line-dark); }
.collection-glyph { position: absolute; z-index: -1; top: -38px; right: 0; color: transparent; font-family: var(--mono); font-size: 118px; font-weight: 700; line-height: 1; -webkit-text-stroke: 1px var(--line); }
.collection-intro > p { position: relative; margin: 0 0 30px; font-size: 14px; line-height: 1.9; }
.collection-facts { position: relative; display: flex; flex-direction: column; gap: 0; margin: 0; }
.collection-facts div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.collection-facts dt { color: var(--muted); }
.collection-facts dd { margin: 0; font-family: var(--mono); font-size: 9px; text-align: right; }

.collection-visual { display: grid; grid-template-columns: minmax(0, 1.36fr) minmax(260px, .54fr); gap: clamp(22px, 3vw, 44px); align-items: stretch; padding-bottom: clamp(72px, 8vw, 120px); }
.collection-cover { position: relative; display: block; min-width: 0; overflow: hidden; border: 1px solid var(--line-dark); background: var(--paper-deep); }
.collection-cover-landscape { aspect-ratio: 4 / 3; }
.collection-cover-portrait { aspect-ratio: 4 / 5; }
.collection-cover::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(9, 14, 16, .2), transparent 25%, transparent 63%, rgba(9, 14, 16, .64)); pointer-events: none; }
.collection-cover .picture { width: 100%; height: 100%; }
.collection-cover img { object-fit: cover; transition: transform 1s var(--ease); }
.collection-cover:hover img { transform: scale(1.015); }
.collection-cover-tag { position: absolute; z-index: 3; top: 17px; left: 18px; padding: 6px 8px; background: rgba(233, 235, 229, .93); }
.collection-cover-caption { position: absolute; z-index: 3; right: 22px; bottom: 20px; left: 22px; display: flex; align-items: end; justify-content: space-between; gap: 24px; color: var(--paper-bright); }
.collection-cover-caption > span:first-child { display: flex; flex-direction: column; gap: 5px; }
.collection-cover-caption strong { font-size: clamp(27px, 3vw, 43px); font-weight: 650; line-height: 1.1; }
.collection-cover-caption em { font-family: var(--mono); font-size: 9px; font-style: normal; letter-spacing: .12em; opacity: .8; }
.collection-cover-caption > .micro { display: flex; align-items: center; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid currentColor; white-space: nowrap; }
.collection-aside { display: flex; flex-direction: column; padding: clamp(20px, 2.2vw, 28px); background: var(--paper-deep); border: 1px solid var(--line-dark); }
.collection-aside > .micro { color: var(--muted); }
.mini-spectrum { display: flex; gap: 2px; min-height: 12px; margin: 23px 0 20px; }
.mini-spectrum span { display: block; min-width: 4px; background: var(--swatch); }
.collection-color-list { display: flex; flex-direction: column; }
.collection-color-list > div { display: grid; grid-template-columns: 9px 1fr auto auto; gap: 9px; align-items: center; padding: 9px 0; border-top: 1px solid rgba(104, 115, 111, .3); }
.color-dot { width: 8px; height: 8px; background: var(--swatch); }
.collection-color-list > div > span:nth-child(2) { font-size: 12px; }
.collection-color-list .micro { color: var(--muted); }
.collection-color-list strong { font-family: var(--mono); font-size: 9px; font-weight: 400; }
.collection-aside-note { margin: 28px 0 auto; padding-top: 19px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.8; }
.collection-aside > .text-link { margin-top: 25px; }

.archive-index { padding-bottom: clamp(76px, 9vw, 130px); }
.archive-index-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-top: 17px; border-top: 1px solid var(--ink); margin-bottom: clamp(34px, 4vw, 54px); }
.archive-index-head > div > .micro { margin-bottom: 16px; color: var(--muted); }
.archive-index-head h2 { font-size: clamp(34px, 4vw, 56px); }
.archive-index-note { max-width: 26em; color: var(--muted); text-align: right; }

.archive-grid { column-count: 3; column-gap: clamp(18px, 2.5vw, 38px); }
.frame { display: flow-root; break-inside: avoid; margin-bottom: clamp(30px, 4.2vw, 58px); min-width: 0; }
.frame-link { display: block; min-width: 0; }
.frame-media { position: relative; display: block; overflow: hidden; border: 1px solid var(--line-dark); background: var(--paper-deep); }
.frame-media .picture { width: 100%; }
.frame-media img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.frame:hover .frame-media img { transform: scale(1.015); }
.frame-tag { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 5px 7px; background: rgba(233, 235, 229, .93); color: var(--ink); }
.frame-open { position: absolute; z-index: 2; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 8px; background: rgba(16, 23, 25, .66); color: var(--paper-bright); opacity: 0; transform: translateY(5px); transition: opacity .2s ease, transform .2s ease; }
.frame-link:hover .frame-open, .frame-link:focus-visible .frame-open { opacity: 1; transform: translateY(0); }
.frame-color-tag { position: absolute; z-index: 2; bottom: 10px; left: 10px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 8px; background: rgba(233, 235, 229, .93); color: var(--ink); }
.frame-color-tag i { display: block; width: 6px; height: 6px; background: var(--swatch); }
.frame-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: end; padding: 10px 0 0; margin-top: -1px; border-top: 1px solid var(--line-dark); }
.frame-title { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.frame-title strong { overflow: hidden; font-size: 16px; font-weight: 650; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.frame-title em { overflow: hidden; color: var(--muted); font-family: var(--mono); font-size: 8px; font-style: normal; letter-spacing: .1em; text-overflow: ellipsis; white-space: nowrap; }
.frame-detail { padding-bottom: 2px; color: var(--muted); }
.frame-meta .palette { padding-bottom: 3px; }
.frame-meta .palette i { width: 12px; height: 4px; }

.next-collection { padding-top: clamp(12px, 2vw, 24px); padding-bottom: clamp(76px, 8vw, 116px); }
.next-collection a { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr) auto; gap: 28px; align-items: center; padding: 26px 0; border-block: 1px solid var(--ink); }
.next-collection .micro { color: var(--muted); }
.next-collection strong { font-size: clamp(40px, 5vw, 70px); font-weight: 800; line-height: .95; letter-spacing: -.04em; }
.next-collection em { margin-left: 16px; color: var(--muted); font-family: var(--mono); font-size: .2em; font-style: normal; font-weight: 400; letter-spacing: .12em; vertical-align: middle; }
.next-arrow { font-family: var(--mono); font-size: 30px; transition: transform .2s ease; }
.next-collection a:hover .next-arrow { transform: translate(4px, -4px); color: var(--accent); }

.poem-band { padding-bottom: clamp(70px, 8vw, 110px); }
.poem-band .page-poem { max-width: 42rem; padding-top: 18px; border-top: 1px solid var(--ink); }

/* Chromatic index */
.color-head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(270px, .52fr); gap: clamp(34px, 6vw, 100px); align-items: end; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(38px, 4.4vw, 66px); }
.color-heading { min-width: 0; }
.color-title { margin: clamp(42px, 5vw, 72px) 0 0; font-size: clamp(46px, 9vw, 138px); font-weight: 900; line-height: .8; letter-spacing: -.075em; }
.color-title span { display: block; color: var(--accent); }
.color-cn { margin: 25px 0 0; padding-left: 5px; color: var(--muted); font-size: 13px; letter-spacing: .5em; }
.color-intro { align-self: end; padding-left: 22px; border-left: 1px solid var(--line-dark); }
.color-intro > p { margin: 0 0 28px; font-size: 14px; line-height: 1.9; }
.color-intro-rule { display: flex; justify-content: space-between; gap: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); }
.spectrum-ribbon { grid-column: 1 / -1; display: flex; gap: 2px; margin-top: clamp(38px, 5vw, 68px); }
.spectrum-ribbon a { display: flex; flex: 1 1 0; flex-direction: column; min-width: 0; gap: 9px; padding-top: 0; }
.spectrum-ribbon-band { display: block; height: clamp(24px, 3vw, 40px); background: var(--swatch); transition: height .25s var(--ease); }
.spectrum-ribbon a:hover .spectrum-ribbon-band { height: clamp(36px, 4vw, 52px); }
.spectrum-ribbon .micro { color: var(--muted); }
.spectrum-ribbon strong { font-family: var(--mono); font-size: 11px; font-weight: 400; }

.color-workbench { padding-bottom: clamp(76px, 9vw, 130px); }
.color-filter-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-top: 17px; border-top: 1px solid var(--ink); }
.color-filter-head > div > .micro { margin-bottom: 13px; color: var(--muted); }
.color-filter-head h2 { margin: 0; font-size: clamp(34px, 4vw, 56px); font-weight: 750; line-height: 1; letter-spacing: -.04em; }
.color-filter-status { display: flex; gap: 12px; color: var(--muted); }
.filter-slash { color: var(--line-dark); }
.color-filters { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line-dark); margin-top: 28px; }
.color-filter { position: relative; display: grid; grid-template-columns: 11px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-width: 0; min-height: 78px; padding: 13px 12px; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent; text-align: left; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.color-filter:first-child { border-left: 0; }
.color-filter:hover { background: rgba(255, 255, 255, .34); }
.color-filter.is-active { background: var(--ink); color: var(--paper-bright); }
.filter-swatch { display: block; width: 10px; height: 40px; background: var(--swatch); }
.filter-symbol { font-family: var(--mono); font-size: 22px; line-height: 1; }
.filter-name { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 13px; line-height: 1.3; }
.filter-name small { color: var(--muted); font-family: var(--mono); font-size: 7px; font-weight: 400; letter-spacing: .08em; }
.color-filter.is-active .filter-name small { color: #a9b4b0; }
.filter-count { font-family: var(--mono); font-size: 9px; }
.color-filter-foot { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0 0; color: var(--muted); }
.color-archive { margin-top: clamp(38px, 5vw, 66px); }
.empty-filter { margin: 50px 0; padding: 32px; border-block: 1px solid var(--line); color: var(--muted); text-align: center; }

/* Individual photo viewer */
body.theme-dark { background: var(--dark); color: var(--paper-bright); }
body.theme-dark ::selection { background: var(--accent-soft); color: var(--dark); }
.viewer-shell { min-height: 100svh; display: flex; flex-direction: column; }
.viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 78px; padding-inline: var(--gutter); border-bottom: 1px solid var(--dark-line); }
.theme-dark .brand-mark { color: var(--paper-bright); }
.theme-dark .brand-copy span { color: #7e8b87; }
.viewer-header-links { display: flex; align-items: center; gap: 25px; }
.viewer-header-links > a { color: #9ba7a3; transition: color .2s ease; }
.viewer-header-links > a:hover { color: var(--accent-soft); }
.theme-dark .header-share { border-color: var(--dark-line); color: var(--paper-bright); }
.theme-dark .header-share:hover { border-color: var(--accent); background: var(--accent); }
.viewer-grid { flex: 1; display: grid; grid-template-columns: 142px minmax(0, 1fr) 352px; min-height: calc(100svh - 79px); }
.viewer-side { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-width: 0; padding: 26px 19px; border-right: 1px solid var(--dark-line); }
.viewer-step { display: flex; flex-direction: column; gap: 4px; min-width: 0; color: #8f9b97; transition: color .2s ease; }
.viewer-step:hover { color: var(--accent-soft); }
.viewer-step .micro { color: #697672; }
.viewer-step strong { font-size: 13px; font-weight: 550; line-height: 1.4; }
.viewer-step em { overflow: hidden; color: #66736f; font-family: var(--mono); font-size: 7px; font-style: normal; letter-spacing: .07em; text-overflow: ellipsis; white-space: nowrap; }
.viewer-step-next { text-align: right; }
.viewer-position { color: #687571; text-align: center; }
.viewer-stage { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 26px clamp(20px, 3vw, 48px) 20px; background: var(--dark-deep); }
.viewer-frame { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; max-height: calc(100svh - 150px); min-width: 0; }
.viewer-frame .picture { display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: calc(100svh - 150px); }
.viewer-frame img { width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 155px); object-fit: contain; }
.viewer-stage-foot { display: flex; justify-content: space-between; gap: 20px; width: 100%; margin-top: 13px; color: #64716d; }
.viewer-meta { display: flex; flex-direction: column; min-width: 0; padding: 35px 28px 25px; border-left: 1px solid var(--dark-line); background: var(--dark); }
.viewer-meta-top .micro { margin-bottom: 30px; color: var(--accent-soft); }
.viewer-meta h1 { margin: 0; font-size: clamp(40px, 4vw, 63px); font-weight: 750; line-height: .96; letter-spacing: -.055em; }
.viewer-title-en { margin: 12px 0 0; color: #7b8884; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; }
.viewer-alt { margin: 29px 0 0; color: #a5b0ac; font-size: 12px; line-height: 1.85; }
.viewer-data { display: flex; flex-direction: column; margin: 37px 0 0; }
.viewer-data div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--dark-line); }
.viewer-data dt { color: #687571; }
.viewer-data dd { margin: 0; color: #b4bfbb; font-family: var(--mono); font-size: 8px; text-align: right; }
.viewer-palette-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 23px; padding-top: 15px; border-top: 1px solid var(--dark-line); color: #687571; }
.viewer-palette-row .palette i { width: 27px; height: 12px; border-color: rgba(255, 255, 255, .12); }
.viewer-meta .page-poem { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--dark-line); }
.viewer-meta .page-poem-label { color: var(--accent-soft); }
.viewer-meta .page-poem-text { margin-top: 16px; color: var(--paper-bright); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; }
.viewer-meta .page-poem-source { color: #687571; }
.viewer-actions { display: flex; flex-direction: column; align-items: stretch; gap: 18px; margin-top: auto; padding-top: 40px; }
.viewer-actions .button { width: 100%; }
.viewer-actions .text-link { align-self: flex-start; color: #a9b4b0; }
.viewer-actions .text-link:hover { color: var(--accent-soft); }
.viewer-keyhint { margin: 27px 0 0; color: #5e6b67; }

/* Share dialog */
.share-dialog { width: min(1050px, calc(100vw - 40px)); max-width: none; max-height: calc(100svh - 30px); padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); }
.share-dialog::backdrop { background: rgba(8, 13, 15, .76); }
.share-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr); background: var(--paper-bright); border: 1px solid var(--ink); }
.share-panel-main { padding: clamp(30px, 5vw, 58px); }
.share-panel-main > .micro { margin-bottom: 24px; color: var(--accent); }
.share-panel-main h2 { margin: 0; font-size: clamp(42px, 5vw, 70px); font-weight: 800; line-height: .93; letter-spacing: -.06em; }
.share-panel-lead { max-width: 28em; margin: 27px 0 31px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.share-url-row { display: flex; border: 1px solid var(--line-dark); }
.share-url-row input { flex: 1; min-width: 0; height: 48px; padding: 0 13px; border: 0; background: transparent; color: var(--ink); font-family: var(--mono); font-size: 10px; }
.share-url-row input:focus { outline: 0; }
.share-url-row button { flex: none; min-width: 72px; border: 0; border-left: 1px solid var(--line-dark); border-radius: 0; background: var(--paper-deep); font-family: var(--mono); font-size: 10px; cursor: pointer; transition: background-color .2s ease; }
.share-url-row button:hover { background: var(--accent-soft); }
.share-actions { display: flex; align-items: center; gap: 20px; margin-top: 16px; }
.share-hint { color: var(--muted); }
.share-panel-qr { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 17px; padding: 38px; background: var(--dark); color: var(--paper-bright); }
.qr-frame { width: min(100%, 208px); aspect-ratio: 1; padding: 13px; background: #fff; }
.qr-frame svg { display: block; width: 100%; height: 100%; }
.share-panel-qr > .micro { color: #83908c; }
.share-panel-qr > p { margin: 0; color: #b4bfbb; font-size: 12px; line-height: 1.7; text-align: center; }
.dialog-close { position: absolute; z-index: 4; top: 0; right: 0; width: 52px; height: 52px; border: 0; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); border-radius: 0; background: var(--paper-bright); cursor: pointer; }
.dialog-close span { position: absolute; top: 25px; left: 15px; display: block; width: 22px; height: 1px; background: var(--ink); transform: rotate(45deg); }
.dialog-close span:last-child { transform: rotate(-45deg); }
.dialog-close:hover { background: var(--accent-soft); }
.share-dialog[open] .share-panel { animation: dialog-in .35s var(--ease) both; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.toast { position: fixed; z-index: 500; left: 50%; bottom: 24px; padding: 11px 16px; background: var(--ink); color: var(--paper-bright); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Lightbox */
.lightbox { position: fixed; z-index: 300; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) 350px; grid-template-rows: 64px minmax(0, 1fr); background: var(--dark-deep); color: var(--paper-bright); }
.lightbox-head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 20px; border-bottom: 1px solid var(--dark-line); }
.lightbox-brand, .lightbox-counter { color: #74817d; }
.lightbox-counter { margin-left: auto; }
.lightbox-actions { display: flex; align-items: center; gap: 17px; }
.icon-button { border: 0; background: transparent; color: #a6b1ad; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; cursor: pointer; }
.icon-button:hover { color: var(--accent-soft); }
.lightbox-close { position: relative; width: 34px; height: 34px; border: 1px solid var(--dark-line); border-radius: 0; background: transparent; cursor: pointer; }
.lightbox-close span { position: absolute; top: 16px; left: 8px; width: 17px; height: 1px; background: var(--paper-bright); transform: rotate(45deg); }
.lightbox-close span:last-child { transform: rotate(-45deg); }
.lightbox-stage { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; min-height: 0; padding: 24px 12px 19px; background: #090f11; touch-action: pan-y; }
.lightbox-image-wrap { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-width: 0; }
.lightbox-image-wrap picture { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.lightbox-image-wrap img { width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 128px); object-fit: contain; }
.lightbox-arrow { align-self: center; flex: none; display: flex; flex-direction: column; align-items: center; gap: 7px; width: 42px; padding: 8px 0; border: 0; background: transparent; color: #84918d; font-family: var(--mono); font-size: 8px; letter-spacing: .05em; cursor: pointer; transition: color .2s ease; }
.lightbox-arrow span:first-child { font-family: var(--sans); font-size: 22px; }
.lightbox-arrow:hover { color: var(--accent-soft); }
.lightbox-info { display: flex; flex-direction: column; min-width: 0; padding: 27px 25px 20px; border-left: 1px solid var(--dark-line); overflow: auto; }
.lightbox-kicker { margin-bottom: 31px; color: #6e7b77; }
.lightbox-title-wrap h2 { margin: 0; font-size: clamp(34px, 3.5vw, 52px); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.lightbox-title-wrap .micro { display: block; margin-top: 11px; color: #74817d; }
.lightbox-detail-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 33px; padding-top: 14px; border-top: 1px solid var(--dark-line); color: #a3aeaa; }
.lightbox-detail-line .palette i { width: 22px; height: 7px; border-color: rgba(255, 255, 255, .12); }
.lightbox-links { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; margin-top: auto; padding-top: 35px; }
.lightbox-links .text-link { color: #a8b3af; }
.lightbox-links .text-link:hover { color: var(--accent-soft); }
.lightbox-help { margin: 30px 0 0; color: #5d6a66; }

/* Error page */
.error-page { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .65fr); gap: clamp(30px, 7vw, 110px); align-items: center; min-height: 66vh; padding-block: clamp(60px, 10vw, 140px); }
.error-code { color: var(--paper-deep); font-family: var(--mono); font-size: clamp(150px, 28vw, 430px); font-weight: 700; line-height: .75; letter-spacing: -.12em; -webkit-text-stroke: 1px var(--line-dark); }
.error-copy { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.error-copy h1 { margin: 24px 0 22px; font-size: clamp(42px, 5vw, 72px); font-weight: 800; line-height: .95; letter-spacing: -.055em; }
.error-copy > p:not(.micro) { max-width: 25em; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.error-copy .page-poem { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }
.error-copy .page-poem-text { font-size: clamp(20px, 2.2vw, 28px); }
.error-links { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 31px; }

/* Homepage opening sequence */
.skip-intro .site-intro { display: none !important; }
body.is-intro-open { overflow: hidden; }

.site-intro {
  position: fixed;
  z-index: 700;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: clamp(20px, 3vw, 38px);
  overflow: hidden;
  background: var(--dark);
  color: var(--paper-bright);
  transform-origin: center;
  animation: intro-curtain .62s 2.82s var(--ease) forwards;
  will-change: transform, opacity;
}
.site-intro[hidden] { display: none !important; }
.site-intro::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: 1px;
  background: rgba(233, 235, 229, .035);
  pointer-events: none;
}
.intro-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: clamp(20px, 4vw, 64px);
  align-items: center;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--dark-line);
  color: #6e7b77;
  animation: intro-fade .5s .12s ease both;
}
.intro-brandline { color: #b5bfbb; }
.intro-signal { color: #66736f; }
.intro-skip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 9px;
  border: 1px solid #3b4748;
  border-radius: 0;
  background: transparent;
  color: #94a09c;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .08em;
  cursor: pointer;
  opacity: 0;
  animation: intro-fade .35s .48s ease forwards;
  transition: color .2s ease, border-color .2s ease;
}
.intro-skip:hover { color: var(--accent-soft); border-color: var(--accent); }

.intro-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  animation: intro-center-out .34s 2.46s ease forwards;
}
.intro-mark { width: clamp(68px, 7vw, 94px); height: auto; color: var(--paper-bright); margin-bottom: clamp(26px, 3.4vw, 42px); }
.intro-mark-corner,
.intro-mark-circle,
.intro-mark-axis { stroke-linecap: square; }
.intro-mark-corner { stroke: #9ba7a3; stroke-width: 1.3; stroke-dasharray: 132; stroke-dashoffset: 132; animation: intro-draw 1.05s .18s ease forwards; }
.intro-mark-circle { stroke: var(--paper-bright); stroke-width: 1.35; stroke-dasharray: 136; stroke-dashoffset: 136; animation: intro-draw 1.15s .38s ease forwards; }
.intro-mark-axis { stroke: #74817d; stroke-width: 1; stroke-dasharray: 54; stroke-dashoffset: 54; animation: intro-draw .75s .72s ease forwards; }
.intro-mark-dot { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; animation: intro-dot .38s 1.18s ease forwards; }

.intro-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  font-size: clamp(58px, 8.6vw, 124px);
  font-weight: 900;
  line-height: .79;
  letter-spacing: -.072em;
  text-align: center;
  text-transform: uppercase;
}
.intro-word-line { display: block; overflow: hidden; padding: .035em .08em .04em; }
.intro-word-line > span { display: block; transform: translateY(112%); animation: intro-rise .9s .55s var(--ease) forwards; }
.intro-word-accent > span { color: var(--accent); animation-delay: .69s; }
.intro-cn {
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding-left: .5em;
  color: #84918d;
  font-size: 10px;
  letter-spacing: .56em;
  opacity: 0;
  animation: intro-fade .65s 1.38s ease forwards;
}

.intro-bottom { position: relative; z-index: 2; animation: intro-fade .55s .25s ease both; }
.intro-progress { height: 1px; overflow: hidden; background: #2a3436; }
.intro-progress span { display: block; width: 100%; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: intro-progress 2.45s .18s cubic-bezier(.2, .72, .25, 1) forwards; }
.intro-status-row { display: flex; justify-content: space-between; gap: 24px; padding-top: 12px; color: #66736f; }
.intro-status-row b { color: #aeb9b5; font-weight: 400; }

.site-intro.is-dismissed { animation: intro-skip .36s var(--ease) forwards !important; }
.site-intro.is-dismissed .intro-center,
.site-intro.is-dismissed .intro-top,
.site-intro.is-dismissed .intro-bottom { opacity: 0; transition: opacity .16s ease; }

@keyframes intro-fade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@keyframes intro-rise { to { transform: translateY(0); } }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-dot { from { opacity: 0; transform: scale(.35); } to { opacity: 1; transform: scale(1); } }
@keyframes intro-progress { to { transform: scaleX(1); } }
@keyframes intro-center-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes intro-curtain {
  0% { opacity: 1; transform: scaleY(1); }
  92% { opacity: 1; }
  100% { opacity: 0; transform: scaleY(0); visibility: hidden; }
}
@keyframes intro-skip { to { opacity: 0; transform: scaleY(.94); visibility: hidden; } }

/* Breakpoints */
@media (max-width: 1200px) {
  .hero-copy { min-height: 600px; }
  .viewer-grid { grid-template-columns: 118px minmax(0, 1fr) 320px; }
  .color-filter { grid-template-columns: 9px minmax(0, 1fr) auto; gap: 8px; padding-inline: 9px; }
  .filter-swatch { width: 8px; height: 34px; }
}

@media (max-width: 980px) {
  .utility-center { display: none; }
  .nav-en { display: none; }
  .site-nav { gap: 20px; }
  .home-hero { grid-template-columns: 1fr; padding-top: 30px; }
  .hero-copy { min-height: auto; padding-bottom: 30px; }
  .hero-copy-body { padding-block: 48px 38px; }
  .hero-title { font-size: clamp(66px, 13vw, 118px); }
  .hero-visual { aspect-ratio: 4 / 3; }
  .featured-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .feature-1, .feature-2 { grid-column: span 6; margin-top: 0; }
  .feature-3, .feature-4 { grid-column: span 3; }
  .feature-note { grid-column: span 6; min-height: 0; padding-top: 25px; }
  .feature-note-palette { margin-top: 25px; }
  .gateway-grid { gap: 22px; }
  .collection-head { grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr); gap: 40px; }
  .collection-title { font-size: clamp(70px, 11.4vw, 110px); }
  .collection-visual { grid-template-columns: 1fr; }
  .collection-cover-landscape { aspect-ratio: 16 / 10; }
  .collection-cover-portrait { aspect-ratio: 4 / 4.2; }
  .collection-aside { max-width: none; }
  .archive-grid { column-count: 2; }
  .color-head { grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr); gap: 40px; }
  .color-title { font-size: clamp(60px, 11vw, 110px); }
  .color-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .color-filter { border-top: 1px solid var(--line); }
  .color-filter:nth-child(-n+4) { border-top: 0; }
  .color-filter:nth-child(5) { border-left: 0; }
  .viewer-grid { grid-template-columns: 1fr; grid-template-areas: "stage" "side" "meta"; min-height: auto; }
  .viewer-side { grid-area: side; flex-direction: row; align-items: center; gap: 20px; padding: 14px var(--gutter); border-top: 1px solid var(--dark-line); border-right: 0; }
  .viewer-position { order: 2; margin: auto; white-space: nowrap; }
  .viewer-step-prev { order: 1; }
  .viewer-step-next { order: 3; text-align: right; }
  .viewer-step strong { font-size: 12px; }
  .viewer-stage { grid-area: stage; padding: 22px var(--gutter) 16px; }
  .viewer-frame, .viewer-frame .picture, .viewer-frame img { max-height: 64svh; }
  .viewer-meta { grid-area: meta; border-top: 1px solid var(--dark-line); border-left: 0; padding: 30px var(--gutter) 36px; }
  .viewer-actions { margin-top: 0; padding-top: 26px; }
  .viewer-keyhint { display: none; }
  .lightbox { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 760px) {
  :root { --gutter: clamp(16px, 5vw, 26px); }
  .site-intro { padding: 16px; }
  .intro-top { grid-template-columns: 1fr auto; gap: 12px; padding-bottom: 11px; }
  .intro-brandline { font-size: 8px; }
  .intro-signal { display: none; }
  .intro-skip { gap: 8px; padding: 6px 7px; font-size: 7px; }
  .intro-mark { width: 58px; margin-bottom: 23px; }
  .intro-wordmark { font-size: clamp(50px, 15vw, 72px); }
  .intro-cn { margin-top: 20px; font-size: 9px; }
  .intro-status-row { gap: 10px; padding-top: 10px; font-size: 8px; }
  .utility-inner { min-height: 29px; font-size: 8px; }
  .utility-status { max-width: 67%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand share" "nav nav"; gap: 0 14px; padding-top: 11px; min-height: 0; }
  .header-inner > .brand { grid-area: brand; }
  .header-inner > .header-share { grid-area: share; }
  .brand-mark { width: 36px; height: 36px; }
  .brand { gap: 10px; }
  .brand-copy strong { font-size: 11px; letter-spacing: .14em; }
  .brand-copy span { font-size: 7px; }
  .site-head .header-share { align-self: center; }
  .site-nav { grid-area: nav; width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); margin-top: 10px; gap: 0; border-top: 1px solid var(--line); }
  .nav-link { flex: 1; justify-content: center; gap: 6px; padding: 11px 4px 10px; border-left: 1px solid var(--line); font-size: 11px; }
  .nav-link:first-child { border-left: 0; }
  .nav-link::after { right: 12px; bottom: 0; left: 12px; }
  .nav-index { font-size: 7px; }
  .hero-copy { padding-left: 15px; }
  .hero-kicker-row { font-size: 8px; }
  .hero-copy-body { padding-block: 42px 35px; }
  .hero-title { font-size: clamp(60px, 17vw, 96px); }
  .hero-cn { margin-top: 20px; }
  .hero-lead { margin-top: 25px; font-size: 13px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats > div:last-child { grid-column: 2; }
  .hero-visual { aspect-ratio: 4 / 4.4; }
  .hero-visual-bottom { grid-template-columns: 1fr; }
  .hero-view { margin-top: 7px; width: fit-content; }
  .index-rule > span:nth-child(2) { display: none; }
  .index-rule { justify-content: space-between; gap: 10px; font-size: 8px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-note { max-width: 28em; }
  .section-head-link { justify-self: start; }
  .featured-grid { grid-template-columns: 1fr; }
  .feature-1, .feature-2, .feature-3, .feature-4, .feature-note { grid-column: 1; }
  .feature-2, .feature-3, .feature-4 { margin-top: 4px; }
  .feature-2 .feature-media, .feature-3 .feature-media, .feature-4 .feature-media { aspect-ratio: 4 / 5; }
  .feature-1 .feature-media { aspect-ratio: 4 / 3; }
  .feature-meta > .micro { font-size: 8px; }
  .gateway-grid { grid-template-columns: 1fr; gap: 42px; }
  .gateway-portraits { margin-top: 0; }
  .gateway-portraits .gateway-media { aspect-ratio: 10 / 8.2; }
  .gateway-caption { flex-wrap: wrap; gap: 9px; }
  .gateway-caption > .micro { width: 100%; text-align: left; }
  .spectrum-preview { grid-template-columns: repeat(3, 1fr); border-bottom: 0; }
  .spectrum-key:nth-child(4) { border-left: 0; }
  .spectrum-key:nth-child(n+4) { border-top: 1px solid var(--line); padding-top: 14px; }
  .spectrum-band { height: 45px; }
  .spectrum-name { margin-top: 16px; font-size: 20px; }
  .share-band-grid { grid-template-columns: 1fr; gap: 36px; }
  .share-band-title h2 { font-size: clamp(48px, 14vw, 78px); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-end { text-align: left; }
  .collection-head { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .collection-title { margin-top: 42px; font-size: clamp(50px, 14vw, 92px); }
  .collection-title span { margin-top: 20px; font-size: 20px; }
  .collection-intro { max-width: none; }
  .collection-glyph { top: -28px; font-size: 90px; }
  .collection-cover-landscape, .collection-cover-portrait { aspect-ratio: 4 / 3.6; }
  .collection-aside { padding: 20px; }
  .archive-index-head { display: block; }
  .archive-index-note { margin-top: 18px; text-align: left; }
  .archive-grid { column-count: 1; }
  .frame { margin-bottom: 33px; }
  .frame-open { opacity: 1; transform: none; }
  .frame-title strong { font-size: 18px; }
  .next-collection a { grid-template-columns: 1fr auto; gap: 12px 20px; }
  .next-collection .micro { grid-column: 1 / -1; }
  .next-collection em { display: block; margin: 7px 0 0; font-size: 9px; }
  .color-head { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .color-title { margin-top: 42px; font-size: clamp(46px, 13.3vw, 92px); }
  .color-intro { max-width: none; }
  .spectrum-ribbon { margin-top: 34px; overflow-x: auto; padding-bottom: 4px; }
  .spectrum-ribbon a { flex: 0 0 120px; }
  .color-filter-head { display: block; }
  .color-filter-status { margin-top: 17px; }
  .color-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .color-filter { min-height: 67px; border-top: 1px solid var(--line); }
  .color-filter:nth-child(-n+2) { border-top: 0; }
  .color-filter:nth-child(odd) { border-left: 0; }
  .color-filter:nth-child(even) { border-left: 1px solid var(--line); }
  .color-filter-foot { display: none; }
  .viewer-header { min-height: 66px; gap: 15px; }
  .viewer-header .brand-mark { width: 34px; height: 34px; }
  .viewer-header-links { gap: 12px; }
  .viewer-header-links > a { font-size: 8px; }
  .viewer-header .header-share { padding: 8px 10px; }
  .viewer-grid { min-height: calc(100svh - 67px); }
  .viewer-stage { padding-top: 14px; }
  .viewer-frame, .viewer-frame .picture, .viewer-frame img { max-height: 54svh; }
  .viewer-stage-foot { font-size: 8px; }
  .viewer-side { gap: 12px; padding-block: 11px; }
  .viewer-step .micro { font-size: 8px; }
  .viewer-step strong { max-width: 110px; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .viewer-step em { display: none; }
  .viewer-meta h1 { font-size: clamp(39px, 12vw, 56px); }
  .viewer-alt { font-size: 11px; }
  .share-dialog { width: calc(100vw - 20px); max-height: calc(100svh - 20px); overflow: auto; }
  .share-panel { grid-template-columns: 1fr; }
  .share-panel-main { padding: 34px 22px 28px; }
  .share-panel-main h2 { font-size: clamp(39px, 12vw, 58px); padding-right: 22px; }
  .share-panel-qr { padding: 27px 20px; }
  .qr-frame { width: 170px; }
  .share-panel-qr > p { display: none; }
  .share-actions { display: block; }
  .share-actions .button { width: 100%; }
  .share-hint { display: block; margin-top: 12px; }
  .dialog-close { width: 44px; height: 44px; }
  .dialog-close span { top: 21px; left: 12px; width: 19px; }
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 56px minmax(0, 1fr) auto; }
  .lightbox-head { padding-inline: 14px; gap: 10px; }
  .lightbox-brand { font-size: 8px; }
  .lightbox-counter { display: none; }
  .lightbox-stage { padding: 8px 0 4px; gap: 0; }
  .lightbox-image-wrap img { max-height: 55svh; }
  .lightbox-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 35px; padding: 7px 0; background: rgba(10, 16, 18, .58); border: 1px solid var(--dark-line); }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-arrow .micro { display: none; }
  .lightbox-info { padding: 18px var(--gutter); border-top: 1px solid var(--dark-line); border-left: 0; overflow: visible; }
  .lightbox-kicker { margin-bottom: 12px; }
  .lightbox-title-wrap { display: flex; align-items: baseline; gap: 12px; }
  .lightbox-title-wrap h2 { font-size: 34px; }
  .lightbox-title-wrap .micro { margin-top: 0; }
  .lightbox-detail-line { margin-top: 15px; padding-top: 10px; }
  .lightbox-links { flex-direction: row; gap: 20px; margin-top: 16px; padding-top: 0; }
  .lightbox-help { display: none; }
  .error-page { grid-template-columns: 1fr; min-height: 60vh; padding-block: 60px; }
  .error-code { font-size: 42vw; }
  .error-copy { padding-left: 17px; }
}

@media (max-width: 430px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats > div:last-child { grid-column: auto; }
  .hero-stats dd { white-space: normal; }
  .feature-note-palette .palette i { width: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 23px; }
  .footer-end { text-align: left; }
  .collection-cover-caption { display: block; }
  .collection-cover-caption > .micro { margin-top: 12px; width: fit-content; }
  .frame-meta { grid-template-columns: minmax(0, 1fr) auto; }
  .frame-meta .palette { display: none; }
  .viewer-header-links > a { display: none; }
  .viewer-step strong { max-width: 88px; }
  .spectrum-preview { grid-template-columns: repeat(2, 1fr); }
  .spectrum-key:nth-child(3) { border-left: 0; }
  .spectrum-key:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 14px; }
}

@media (max-height: 560px) and (max-width: 900px) {
  .intro-mark { width: 46px; margin-bottom: 16px; }
  .intro-wordmark { font-size: 44px; }
  .intro-cn { display: none; }
  .intro-top { padding-bottom: 8px; }
  .intro-status-row { padding-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-intro { display: none !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .hero-visual:hover img, .feature:hover img, .gateway:hover img, .collection-cover:hover img, .frame:hover .frame-media img { transform: none; }
}
