:root {
  --paper: #f5f3ed;
  --ink: #243e38;
  --muted: #6b7770;
  --rule: #d5dcd3;
  --water: #a6bcbc;
  --indigo: #344660;
  --lotus: #cc9caa;
  --night: #25354e;
  --serif: "Songti SC", "Noto Serif SC", "STSong", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.lightbox-open { overflow: hidden; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
button:focus:not(:focus-visible) { outline: none; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
.shell { width: min(1240px, calc(100% - 104px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 18px; color: var(--paper); background: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 89px; border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; align-items: center; gap: 20px; font: 600 19px Arial, sans-serif; letter-spacing: 3px; }
.wordmark span { border-left: 1px solid var(--rule); padding-left: 20px; color: var(--muted); font: 11px var(--sans); letter-spacing: 2px; }
.site-header nav { display: flex; align-items: center; gap: 32px; font-size: 12px; }
.site-header nav a { padding-block: 12px; }
.site-header nav a:hover { text-decoration: underline; }
.nav-download span { display: inline-block; margin-left: 12px; font-size: 17px; }
.eyebrow { color: var(--muted); font-size: 10px; letter-spacing: 2px; line-height: 1.8; }
.hero { padding-block: 40px 54px; }
.hero-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; margin-bottom: 32px; }
h1 { margin-top: 12px; font-size: clamp(76px, 9.5vw, 128px); letter-spacing: .055em; line-height: 1.15; }
h1 span { color: #638276; }
.hero-intro { padding-bottom: 10px; min-width: 218px; }
.hero-line { font: 22px / 1.65 var(--serif); letter-spacing: 2px; }
.hero-byline { margin-top: 19px; font-size: 12px; letter-spacing: 1px; }
.hero-byline span { display: inline-block; margin-right: 12px; color: var(--muted); font-size: 10px; }
.hero-gallery { display: grid; grid-template-columns: .88fr 1fr .88fr; align-items: start; gap: 24px; max-width: 1130px; margin-inline: auto; }
.hero-portrait-0 { padding-top: 17px; }
.hero-portrait-2 { padding-top: 48px; }
.hero-portrait-4 { padding-top: 0; }
.image-link { position: relative; display: block; background: #e4e8e0; }
.image-link picture, .image-link img { display: block; width: 100%; height: auto; }
.image-link::after { content: ""; position: absolute; inset: 0; border: 1px solid rgb(36 62 56 / 7%); pointer-events: none; }
.hero-portrait figcaption { display: flex; align-items: center; gap: 12px; padding-top: 12px; font-size: 12px; letter-spacing: 1px; }
.hero-portrait figcaption span { color: var(--muted); font: 10px Arial, sans-serif; letter-spacing: 1px; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; color: var(--muted); font-size: 11px; letter-spacing: 1px; }
.hero-foot a { color: var(--ink); padding-block: 9px; }
.hero-foot a:hover { text-decoration: underline; }
.hero-foot a span { margin-left: 20px; font-size: 16px; }
.introduction { display: grid; grid-template-columns: 1fr 1.1fr; gap: 12%; border-top: 1px solid var(--rule); padding-block: 68px 80px; }
.intro-heading h2 { margin-top: 19px; font-size: clamp(31px, 3.2vw, 42px); line-height: 1.55; letter-spacing: 1px; }
.intro-copy { max-width: 560px; }
.intro-copy > p { font-size: 14px; line-height: 2.05; }
.intro-copy > p + p { margin-top: 16px; }
.intro-copy .competition { margin-top: 25px; padding-left: 15px; border-left: 2px solid var(--water); color: var(--muted); font-size: 10px; line-height: 1.9; }
.works-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.works-heading h2 { margin-top: 12px; font-size: clamp(29px, 3vw, 40px); line-height: 1.45; letter-spacing: 1px; }
.gallery-hint { display: flex; align-items: center; gap: 12px; padding-bottom: 5px; color: var(--muted); font-size: 11px; }
.gallery-hint span { font-size: 23px; }
.color-index { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; margin-top: 35px; padding-bottom: 18px; }
.color-index-item { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-bottom: 10px; font-size: 12px; letter-spacing: 1px; }
.index-color { width: 100%; height: 7px; background: var(--water); margin-bottom: 6px; transition: height .2s, margin .2s; }
.tone-indigo .index-color { background: var(--indigo); }
.tone-lotus .index-color { background: var(--lotus); }
.tone-ink .index-color { background: #363a38; }
.tone-night .index-color { background: var(--night); }
.index-number { color: var(--muted); font: 10px Arial, sans-serif; }
.index-arrow { margin-left: auto; font-size: 16px; }
.color-index-item:hover .index-color { height: 11px; margin-bottom: 2px; }
.work { --work-accent: var(--water); }
.work-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 12%; align-items: center; padding-block: 66px; }
.work-figure { width: 100%; max-width: 570px; }
.work-figure figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 13px; color: var(--muted); font: 10px Arial, sans-serif; letter-spacing: 1px; }
.image-open { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 9px; padding: 9px 12px; background: rgb(245 243 237 / 95%); color: var(--ink); font-size: 10px; opacity: 0; transform: translateY(5px); transition: opacity .2s, transform .2s; }
.image-open span { font-size: 20px; line-height: 1; }
.image-link:hover .image-open, .image-link:focus-visible .image-open { opacity: 1; transform: none; }
.work-copy { padding-block: 20px; }
.work-scene { display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 2px; color: var(--muted); }
.work-rule { width: 28px; height: 2px; background: var(--work-accent); }
.work-number { display: block; margin-top: 27px; color: var(--work-accent); font: italic 60px / 1 Georgia, serif; letter-spacing: -3px; }
.work-copy h3 { margin-top: 18px; font-size: clamp(35px, 3.8vw, 51px); letter-spacing: 3px; line-height: 1.4; }
.work-description { margin-top: 26px; max-width: 30em; color: var(--muted); font-size: 14px; line-height: 2.1; }
.work-palette { display: flex; align-items: center; gap: 15px; margin-top: 25px; color: var(--muted); font-size: 10px; letter-spacing: 1px; }
.swatches { display: inline-flex; padding-left: 3px; }
.swatches > span { display: block; width: 21px; height: 21px; border: 2px solid var(--paper); border-radius: 50%; background: var(--swatch); margin-left: -3px; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 36px; min-width: 156px; margin-top: 31px; padding-block: 12px; border-bottom: 1px solid currentColor; font-size: 12px; }
.text-link span { display: inline-block; font-size: 18px; transition: transform .2s; }
.text-link:hover span { transform: translateY(3px); }
.work-reverse .work-figure { grid-column: 2; grid-row: 1; justify-self: end; }
.work-reverse .work-copy { grid-column: 1; grid-row: 1; padding-left: 9%; }
.work-indigo { --work-accent: #7f8fa3; background: #eaece8; }
.work-indigo .swatches > span { border-color: #eaece8; }
.work-lotus { --work-accent: var(--lotus); background: #f2e9e7; }
.work-lotus .swatches > span { border-color: #f2e9e7; }
.work-ink { --work-accent: #89918d; }
.work-night { --work-accent: #8d9aae; color: #f5f3ed; background: #263549; }
.work-night .work-description, .work-night .work-palette, .work-night .work-scene, .work-night figcaption { color: #c3cbd4; }
.work-night .swatches > span { border-color: #263549; }
.download-section { padding-block: 86px 74px; }
.download-heading h2 { margin-top: 16px; font-size: clamp(31px, 3.2vw, 42px); line-height: 1.5; letter-spacing: 1px; }
.download-heading > p:last-child { margin-top: 17px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.download-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 7%; align-items: center; margin-top: 33px; }
.overview { border: 1px solid var(--rule); padding: 13px; }
.overview img { width: 100%; height: auto; }
.overview > p { display: flex; justify-content: space-between; margin-top: 13px; padding: 0 4px 4px; color: var(--muted); font-size: 10px; }
.download-details dl { font-size: 11px; }
.download-details dl > div { display: grid; grid-template-columns: 65px 1fr; gap: 16px; padding-block: 9px; border-bottom: 1px solid var(--rule); line-height: 1.8; }
.download-details dt { color: var(--muted); }
.download-button { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 22px; padding: 18px 22px; color: var(--paper); background: var(--ink); font-size: 15px; transition: background .2s; }
.download-button:hover { background: #3b5a50; }
.download-button small { display: block; margin-top: 7px; color: #c3d0c8; font: 10px Arial, var(--sans); letter-spacing: .7px; }
.download-button svg { width: 25px; height: 25px; flex: 0 0 auto; }
.download-note { margin-top: 12px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 143px; border-top: 1px solid var(--rule); }
.site-footer .wordmark { font-size: 15px; letter-spacing: 2px; }
.site-footer p { margin-top: 11px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.site-footer .footer-meta { margin: 0; }
.back-to-top { display: flex; align-items: center; gap: 26px; padding-block: 12px; font-size: 11px; }
.back-to-top:hover { text-decoration: underline; }
.lightbox { position: fixed; inset: 0; width: min(1200px, calc(100% - 48px)); max-width: none; height: min(960px, calc(100dvh - 32px)); max-height: none; margin: auto; padding: 0; border: 0; color: var(--ink); background: var(--paper); overflow: hidden; }
.lightbox::backdrop { background: rgb(17 29 29 / 90%); }
.lightbox-content { display: grid; grid-template-rows: 66px minmax(0, 1fr) 58px; height: 100%; }
.lightbox-bar, .lightbox-bottom { display: flex; align-items: center; justify-content: space-between; padding-inline: 28px; }
.lightbox-bar > div { display: flex; align-items: center; gap: 19px; }
.lightbox-count { font: 11px Arial, sans-serif; letter-spacing: 1px; color: var(--muted); }
.lightbox-bar h2 { font-size: 23px; letter-spacing: 2px; }
.close-button { width: 44px; height: 44px; border: 0; padding: 0; background: transparent; color: var(--ink); font: 35px Arial, sans-serif; }
.lightbox-stage { display: grid; grid-template-columns: 70px minmax(0, 1fr) 70px; min-height: 0; padding: 0 12px; }
.lightbox-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lightbox-arrow { align-self: center; justify-self: center; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%; color: var(--ink); background: transparent; font-size: 24px; }
.lightbox-arrow:hover { background: #e4e8e0; }
.lightbox-bottom p { font-size: 11px; color: var(--muted); }
.lightbox-download { padding-block: 12px; font-size: 12px; }
.lightbox-download:hover { text-decoration: underline; }
.lightbox-download span { margin-left: 8px; }
.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; }
@media (max-width: 1100px) {
  .shell { width: calc(100% - 72px); }
  .hero-gallery { gap: 20px; }
  .hero-intro { min-width: 205px; }
  .hero-line { font-size: 20px; }
  .hero-byline { font-size: 11px; letter-spacing: 0; }
  .hero-byline span { margin-right: 8px; }
  .introduction { gap: 8%; }
  .color-index { gap: 14px; }
  .color-index-item { gap: 7px; font-size: 11px; letter-spacing: 0; }
  .index-arrow { font-size: 13px; }
  .work-inner { gap: 8%; }
  .work-description { font-size: 13px; }
  .work-reverse .work-copy { padding-left: 3%; }
  .download-grid { gap: 5%; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 22px; }
  .shell { width: calc(100% - 40px); }
  .site-header { min-height: 74px; }
  .wordmark { font-size: 16px; letter-spacing: 2px; }
  .wordmark span { display: none; }
  .site-header nav { gap: 18px; font-size: 10px; }
  .nav-download span { display: none; }
  .hero { padding-block: 31px 34px; }
  .hero-heading { display: block; margin-bottom: 26px; }
  h1 { margin-top: 13px; font-size: clamp(51px, 14vw, 94px); letter-spacing: .045em; line-height: 1.2; }
  .hero-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-bottom: 0; margin-top: 20px; }
  .hero-line { font-size: 15px; line-height: 1.6; letter-spacing: 1px; }
  .hero-byline { margin: 0; font-size: 11px; letter-spacing: .3px; line-height: 1.8; }
  .hero-byline span { display: block; margin: 0 0 2px; font-size: 9px; }
  .hero-gallery { gap: 9px; grid-template-columns: .85fr 1fr .85fr; }
  .hero-portrait-0 { padding-top: 12px; }
  .hero-portrait-2 { padding-top: 29px; }
  .hero-portrait figcaption { justify-content: space-between; gap: 5px; padding-top: 9px; font-size: 9px; letter-spacing: 0; }
  .hero-portrait figcaption span { font-size: 8px; letter-spacing: 0; }
  .hero-foot { gap: 12px; margin-top: 22px; font-size: 9px; letter-spacing: 0; }
  .hero-foot a span { margin-left: 9px; font-size: 13px; }
  .introduction { grid-template-columns: 1fr; gap: 25px; padding-block: 37px 45px; }
  .intro-heading h2 { margin-top: 12px; font-size: 30px; line-height: 1.5; }
  .intro-copy > p { font-size: 12px; line-height: 2; }
  .intro-copy > p + p { margin-top: 12px; }
  .intro-copy .competition { margin-top: 20px; font-size: 9px; }
  .works-heading { display: block; }
  .works-heading h2 { font-size: 29px; margin-top: 10px; letter-spacing: 0; }
  .gallery-hint { margin-top: 13px; padding: 0; font-size: 10px; gap: 9px; }
  .gallery-hint span { font-size: 18px; }
  .color-index { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 22px; padding-bottom: 0; }
  .color-index-item { display: grid; grid-template-columns: 1fr; gap: 6px; text-align: left; font-size: 9px; line-height: 1.8; }
  .index-color { margin-bottom: 1px; height: 5px; }
  .index-number { font-size: 8px; }
  .index-arrow { display: none; }
  .color-index-item:hover .index-color { height: 7px; margin-bottom: -1px; }
  .work-inner { grid-template-columns: 1fr; gap: 0; padding-block: 35px 37px; }
  .work-figure { max-width: none; }
  .work-figure figcaption { margin-top: 11px; font-size: 9px; }
  .image-open { opacity: 1; transform: none; right: 10px; bottom: 10px; padding: 8px 10px; font-size: 9px; }
  .image-open span { font-size: 18px; }
  .work-copy { position: relative; padding: 24px 0 0; }
  .work-scene { font-size: 9px; letter-spacing: 1px; gap: 9px; }
  .work-rule { width: 20px; }
  .work-number { position: absolute; right: 0; top: 27px; margin: 0; font-size: 46px; }
  .work-copy h3 { margin-top: 14px; padding-right: 58px; font-size: 34px; letter-spacing: 2px; }
  .work-description { margin-top: 16px; max-width: none; font-size: 12px; line-height: 2; }
  .work-palette { margin-top: 18px; gap: 11px; font-size: 9px; }
  .swatches > span { width: 19px; height: 19px; }
  .text-link { margin-top: 15px; padding-block: 10px; font-size: 11px; min-width: 145px; }
  .work-reverse .work-figure, .work-reverse .work-copy { grid-column: auto; grid-row: auto; padding-left: 0; }
  .download-section { padding-block: 43px 40px; }
  .download-heading h2 { font-size: 29px; margin-top: 12px; letter-spacing: 0; }
  .download-heading > p:last-child { margin-top: 13px; font-size: 11px; }
  .download-grid { grid-template-columns: 1fr; gap: 23px; margin-top: 23px; }
  .overview { padding: 8px; }
  .overview > p { font-size: 9px; margin-top: 9px; padding-bottom: 2px; }
  .download-details dl { font-size: 10px; }
  .download-details dl > div { grid-template-columns: 60px 1fr; gap: 12px; }
  .download-button { margin-top: 20px; font-size: 14px; padding: 18px; }
  .download-button small { font-size: 9px; }
  .download-note { font-size: 9px; }
  .site-footer { display: grid; grid-template-columns: 1fr auto; gap: 22px; min-height: 0; padding-block: 30px; }
  .site-footer p { font-size: 9px; }
  .site-footer .footer-meta { grid-column: 1; grid-row: 2; }
  .back-to-top { grid-column: 2; grid-row: 1 / 3; gap: 10px; font-size: 10px; }
  .lightbox { width: 100%; height: 100dvh; }
  .lightbox-content { grid-template-rows: 68px minmax(0, 1fr) 70px; }
  .lightbox-bar, .lightbox-bottom { padding-inline: 16px; }
  .lightbox-bar > div { gap: 13px; }
  .lightbox-bar h2 { font-size: 22px; }
  .lightbox-count { font-size: 10px; }
  .lightbox-stage { position: relative; display: block; padding: 0; }
  .lightbox-image { width: 100%; height: 100%; }
  .lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; background: rgb(245 243 237 / 93%); border: 0; width: 44px; height: 44px; font-size: 22px; }
  .lightbox-previous { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-bottom p { font-size: 9px; }
  .lightbox-download { font-size: 11px; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 32px); }
  .site-header nav { gap: 12px; font-size: 9px; }
  .wordmark { font-size: 14px; }
  .hero-line { font-size: 14px; }
  .hero-byline { font-size: 10px; }
  .hero-foot { font-size: 8px; }
  .intro-heading h2 { font-size: 27px; }
  .works-heading h2, .download-heading h2 { font-size: 25px; }
  .color-index { gap: 6px; }
  .color-index-item { font-size: 8px; }
  .site-footer p { max-width: 190px; line-height: 1.9; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
