:root {
  color-scheme: light;
  --paper: #f0ece3;
  --surface: #f9f6ef;
  --ink: #261e2b;
  --muted: #645a64;
  --rule: #cfc6ca;
  --purple: #4a3259;
  --plum: #291f31;
  --mint: #d9efaf;
  --sans: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --display: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.65 var(--sans); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 3px solid #91418e;
  outline-offset: 4px;
}
.skip { position: fixed; inset: 12px auto auto 12px; z-index: 4; transform: translateY(-160%); padding: 10px 14px; background: var(--surface); }
.skip:focus { transform: none; }
.wrap { width: min(1392px, calc(100% - 112px)); margin-inline: auto; }
.masthead, .foot { display: flex; align-items: center; justify-content: space-between; }
.masthead { min-height: 73px; border-bottom: 1px solid var(--rule); }
.masthead a, .foot a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.masthead a:hover, .foot a:hover, .source-section a:hover { text-decoration: underline; }
.back { font-weight: 650; gap: 8px; }
.back span { color: var(--purple); font-size: 19px; }
.masthead nav { display: flex; gap: clamp(14px, 3vw, 40px); color: var(--muted); font-size: 13px; }

.hero { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); margin-top: 29px; }
.hero-copy { background: var(--plum); color: var(--surface); padding: clamp(27px, 4vw, 64px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; container-type: inline-size; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 clamp(18px, 3vw, 37px); color: #e0cfe8; font-size: 12px; }
.eyebrow time { font: 12px var(--mono); white-space: nowrap; }
.eyebrow span { border-left: 1px solid #89798e; padding-left: 12px; }
h1 { margin: 0; font-weight: 650; line-height: 1; }
.model-title, .cn-title { display: block; }
.model-title { font: 720 clamp(40px, 24cqw, 107px)/0.98 var(--display); letter-spacing: -.048em; white-space: nowrap; }
.model-suffix { font-weight: 460; }
.cn-title { font-size: clamp(28px, 3.45vw, 54px); font-weight: 650; letter-spacing: .02em; margin-top: 15px; }
.intro { max-width: 23em; color: #e1d6e5; margin: clamp(17px, 2.5vw, 33px) 0 0; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.7; }
.hero-button { align-self: flex-start; display: inline-flex; justify-content: space-between; align-items: center; min-height: 46px; gap: 36px; background: var(--mint); color: var(--plum); padding: 9px 16px; margin-top: clamp(20px, 3vw, 40px); font-weight: 690; text-decoration: none; }
.hero-button:hover { background: #e8f8ca; }
.hero-figure { display: grid; grid-template-rows: 1fr auto; margin: 0; min-width: 0; }
.hero-art { min-height: clamp(390px, 40vw, 600px); position: relative; display: block; isolation: isolate; overflow: hidden; background: #504659; }
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; }
.hero-art:focus-visible { z-index: 1; }
.hero-art-action { position: absolute; right: 15px; bottom: 15px; padding: 10px 14px; min-height: 44px; background: #2a202f; color: #fffaf3; font-size: 13px; display: inline-flex; align-items: center; gap: 14px; }
.hero-art:hover .hero-art-action { text-decoration: underline; text-underline-offset: 4px; }
figcaption { background: #e5dbe8; display: flex; justify-content: space-between; align-items: center; column-gap: 14px; padding: 1px 15px; min-height: 45px; color: var(--plum); font-size: 12px; }
figcaption > span { font-family: var(--mono); }
figcaption .muted { font: 11px var(--sans); color: #59485f; }
figcaption a { white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }

.collection { margin-top: clamp(56px, 6.3vw, 100px); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 2px solid var(--plum); padding-bottom: 10px; }
.section-head h2, .source-section h2 { margin: 0; font-size: clamp(25px, 3vw, 42px); line-height: 1.24; letter-spacing: -.045em; }
.section-head p { margin: 0; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; text-align: right; }
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 8px 0; gap: 8px 18px; border-bottom: 1px solid var(--rule); }
.types { display: flex; flex-wrap: wrap; gap: 4px; }
.types button, .source-filter, .empty button { background: transparent; padding: 8px 12px; border: 1px solid transparent; min-height: 44px; font-size: 13px; }
.types button[aria-pressed="true"], .source-filter[aria-pressed="true"], .empty button { background: var(--plum); color: #fffaf3; }
.types button[aria-pressed="false"]:hover { border-color: var(--rule); }
.filter-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; }
.source-filter { border-color: var(--rule); }
.source-filter[aria-pressed="false"]:hover { border-color: var(--plum); }
.model-filter { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.model-filter label { color: var(--muted); }
.model-filter select { min-height: 44px; background: var(--surface); border: 1px solid var(--rule); border-radius: 0; padding: 7px 10px; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 25px; margin-top: 23px; }
.work { min-width: 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--rule); }
.work-media { margin: -1px -1px 0; aspect-ratio: 820/510; background: #dfd4e4; text-decoration: none; position: relative; display: block; overflow: hidden; }
.work-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.work-media:focus-visible { z-index: 1; }
.work-media::after { content: '↗'; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; display: grid; place-items: center; font: 17px var(--sans); background: var(--plum); color: var(--surface); }
.work-media:hover::after { background: var(--mint); color: var(--plum); }
.work-plate { padding: 20px 36px 24px 20px; display: flex; flex-direction: column; justify-content: space-between; color: #392849; background: #e7ddeb; border-top: 4px solid #725180; }
.work-plate[data-category="work"] { background: #dce4d3; color: #2c412f; border-top-color: #567554; }
.work-plate[data-category="design"] { background: #e9dac9; color: #53402f; border-top-color: #966b44; }
.work-plate small, .work-type, .model-tag { font: 11px/1.4 var(--mono); }
.work-plate strong { max-width: 13ch; font: 630 clamp(21px, 3.2vw, 50px)/1.02 var(--display); letter-spacing: -.055em; }
.work-body { padding: 16px 16px 0; display: flex; flex: 1; flex-direction: column; }
.work-kicker { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); }
.model-tag { background: #e7ddeb; color: #453151; padding: 5px 8px; }
[data-model="sol"] .model-tag { background: #dce4d3; color: #2c412f; }
.work h3 { font-size: clamp(18px, 1.75vw, 27px); line-height: 1.24; letter-spacing: -.035em; margin: 10px 0 4px; }
.work-byline { margin: 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.work-description { margin: 11px 0 16px; font-size: 14px; line-height: 1.65; }
.work-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 15px; border-top: 1px solid #e1d9df; margin-top: auto; }
.work-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: #4d315c; }
.work-links a:first-child { font-weight: 680; }
.empty { padding: 22px 0; }

.source-section { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; border-top: 2px solid var(--plum); margin-top: clamp(55px, 8vw, 105px); padding: 22px 0 31px; }
.source-section p { margin: 0 0 9px; max-width: 42em; }
.source-section ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 18px; padding: 0; margin: 0; color: var(--purple); }
.source-section a { display: inline-flex; align-items: center; min-height: 44px; }
.foot { border-top: 1px solid var(--rule); padding: 7px 0 20px; gap: 10px; color: var(--muted); font-size: 13px; }

@media (max-width: 1070px) {
  .wrap { width: calc(100% - 64px); }
  .hero-copy { padding: 28px; }
  .hero-art { min-height: clamp(310px, 41vw, 480px); }
  .grid { gap: 24px 16px; }
}
@media (max-width: 810px) {
  .wrap { width: calc(100% - 40px); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-copy { padding: 20px; }
  figcaption .muted { display: none; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .masthead { min-height: 58px; }
  .masthead nav { gap: 13px; }
  .hero { grid-template-columns: 1fr; margin-top: 16px; }
  .hero-copy { padding: 22px 20px; }
  .model-title { font-size: clamp(59px, 24cqw, 94px); }
  .cn-title { margin-top: 7px; }
  .eyebrow { margin-bottom: 13px; }
  .intro { margin-top: 15px; }
  .hero-art { min-height: 0; aspect-ratio: 8/5; }
  .hero-art-action { right: 9px; bottom: 9px; }
  figcaption { padding-inline: 10px; }
  .collection { margin-top: 43px; }
  .types button { padding-inline: 6px; font-size: 12px; }
  .source-section { grid-template-columns: 1fr; }
}
@media (max-width: 465px) {
  .grid { grid-template-columns: 1fr; gap: 21px; }
  .work-plate strong { font-size: clamp(30px, 9vw, 46px); }
  .work h3 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
