@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/dmsans.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/instrumentserif.woff2") format("woff2");
}
:root {
  --ink: #252335; --muted: #5d5969; --line: #dedbe2; --violet: #5944ad;
  --paper: #fcfbf8; --edge: clamp(18px, 5vw, 76px);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55; color: var(--ink); background: var(--paper); color-scheme: light;
}
* { box-sizing: border-box; }
body, h1, h2, h3, figure, p, ol { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #674cc4; outline-offset: 4px; }
::selection { background: #d8d1fb; }
section, article { scroll-margin-top: 24px; }
.wrap { width: min(1280px, calc(100% - 2 * var(--edge))); margin-inline: auto; }
.skip { position: fixed; left: 1rem; top: -6rem; z-index: 10; padding: .7rem 1rem; background: var(--ink); color: white; }
.skip:focus { top: 1rem; }

.top, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.top { min-height: 76px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: .58rem; font-size: 1.45rem; font-weight: 700; letter-spacing: -.055em; line-height: 1; white-space: nowrap; }
.mark { display: grid; flex: none; grid-template-columns: repeat(2,1fr); gap: 3px; width: 25px; height: 25px; transform: rotate(-6deg); }
.mark i { border-radius: 4px; background: var(--ink); }
.mark i:nth-child(2) { background: #a38bf3; border-radius: 7px 7px 4px 4px; }
.mark i:nth-child(3) { border-radius: 4px 4px 4px 8px; }
nav { display: flex; gap: clamp(14px,2.7vw,36px); align-items: center; font-size: .92rem; font-weight: 550; }
nav a, .footer a, .source-links a, .more a { padding-block: 9px; }
nav .language { border-left: 1px solid var(--line); padding-left: clamp(14px,2.6vw,32px); }
nav a:hover, .crumb a:hover, .footer a:hover, .more a:hover, .guide:hover strong, .reference:hover, .text-link:hover {
  color: var(--violet); text-decoration: underline; text-underline-offset: 4px;
}
h2 { font-size: clamp(1.6rem,2.45vw,2.45rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.28; }

.catalog { padding-bottom: clamp(32px,4.5vw,64px); }
.catalog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: clamp(28px,4vw,58px) 0 clamp(23px,3vw,42px); }
.catalog-head h1 { font-size: clamp(2.45rem,4.75vw,4.8rem); line-height: 1.12; letter-spacing: -.067em; font-weight: 600; }
.catalog-head em { font-family: "Instrument Serif","Songti SC",STSong,serif; font-weight: 400; color: var(--violet); }
.catalog-head > p { color: var(--muted); font-size: .92rem; white-space: nowrap; }
.cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(14px,1.6vw,24px); }
.card { display: grid; grid-template-columns: .83fr 1.17fr; min-height: clamp(174px,15vw,222px); background: #fff; border-radius: 19px; border: 1px solid var(--line); overflow: hidden; transition: box-shadow .18s, border-color .18s; }
.card:hover { border-color: #b7aacd; box-shadow: 0 6px 20px #3e315c10; }
.card-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(18px,2.1vw,31px); }
.card-copy h2 { font-size: clamp(1.4rem,2.1vw,2.05rem); font-weight: 650; letter-spacing: -.055em; }
.card-copy p { margin: .42rem 0 .85rem; font-size: clamp(1rem,1.26vw,1.18rem); line-height: 1.52; text-wrap: pretty; }
.card-copy small { color: var(--muted); font-size: .81rem; }
.art { position: relative; display: block; overflow: hidden; isolation: isolate; min-width: 0; }
.art img { position: absolute; inset: 0; margin: auto; width: 83%; height: 82%; object-fit: contain; transition: transform .2s; }
.card:hover .art img { transform: translateY(-3px) rotate(2deg); }
.mosika { background-color: #f7ddad; background-image: linear-gradient(#daaf7040 1px,transparent 1px),linear-gradient(90deg,#daaf7040 1px,transparent 1px); background-size: 16px 16px; }
.mosika img { width: 74%; height: 80%; image-rendering: pixelated; filter: drop-shadow(0 4px 0 #85462722); }
.monoplay { background: repeating-linear-gradient(145deg,transparent 0 30px,#ac9bd654 30px 31px),#d0c5ed; }
.monoplay img { width: 90%; height: 92%; filter: drop-shadow(0 4px 4px #26204326); }
.timequill { background: repeating-linear-gradient(0deg,#d4ddbf 0 1px,transparent 1px 17px),#e6e9d8; }
.timekin { background-color: #f6d9ca; background-image: linear-gradient(#e9bfa773 1px,transparent 1px),linear-gradient(90deg,#e9bfa773 1px,transparent 1px); background-size: 24px 24px; }
.reelpetal { background: repeating-linear-gradient(145deg,transparent 0 24px,#d7b64f35 24px 25px),#faf0be; }
.timequill img, .timekin img, .reelpetal img { width: min(56%,140px); height: auto; aspect-ratio: 1; border-radius: 23%; box-shadow: 0 10px 14px -6px #4f332d4a; transform: rotate(-6deg); }
.timekin img { transform: rotate(7deg); }

.guides, .walkthrough, .shots, .answers, .sources, .more { border-top: 1px solid var(--line); padding-block: clamp(26px,3vw,46px) clamp(34px,4vw,56px); }
.guides h2, .shots h2, .walkthrough h2 { margin-bottom: clamp(19px,2vw,29px); }
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(26px,5vw,76px); }
.guide { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.guide img, .eyebrow img, .more img { border-radius: 22%; }
.guide small, .availability, .sources p, .shot-grid figcaption { color: var(--muted); }
.guide small { display: block; font-size: .82rem; }
.guide strong { font-weight: 550; font-size: 1.06rem; }
.footer { border-top: 1px solid var(--line); padding-block: 21px 30px; }
.footer .brand { font-size: 1.18rem; }
.footer .mark { width: 20px; height: 20px; gap: 2px; }

.crumb { display: flex; gap: .7rem; align-items: center; margin-top: 20px; color: var(--muted); font-size: .88rem; }
.product-head { display: grid; grid-template-columns: 1.3fr .85fr; align-items: center; gap: clamp(28px,6vw,80px); padding-block: clamp(22px,3.4vw,52px) clamp(32px,4.8vw,72px); }
.eyebrow { display: flex; gap: .63rem; align-items: center; flex-wrap: wrap; }
.eyebrow strong { font-size: 1.19rem; letter-spacing: -.035em; }
.eyebrow span { font-size: .89rem; color: var(--muted); }
.product-head h1 { margin: .9rem 0 .88rem; font-size: clamp(2.1rem,3.8vw,3.9rem); line-height: 1.17; letter-spacing: -.055em; text-wrap: balance; }
.product-desc { max-width: 53ch; color: var(--muted); line-height: 1.7; font-size: clamp(1rem,1.25vw,1.18rem); }
.product-head .art, .widget-cover, .practice-cover { aspect-ratio: 1.6; border-radius: 18px; }
.widget-cover { overflow: hidden; background: #e8d7bd; }
.widget-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.practice-cover { display: block; overflow: hidden; border: 1px solid var(--line); background: #f5f4ed; }
.practice-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 49%; }
.actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.3rem; }
.button { display: inline-flex; background: var(--ink); color: #fff; border-radius: 100px; padding: .76rem 1.25rem; font-size: .95rem; font-weight: 600; line-height: 1.4; }
.button:hover { background: #49357f; }
.text-link, .reference, .source-links a { text-decoration: underline; text-underline-offset: 4px; }
.availability { margin-top: .7rem; font-size: .83rem; }
.release-note { margin-top: .3rem; font-size: .85rem; color: var(--muted); }
.walkthrough ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,3.4vw,48px); padding: 0; list-style: none; counter-reset: steps; }
.walkthrough li { counter-increment: steps; border-top: 2px solid #d6cce8; padding-top: .85rem; }
.walkthrough h3, .answers h3 { font-size: 1.13rem; font-weight: 600; }
.walkthrough h3::before { content: counter(steps) "."; color: var(--violet); margin-right: .42rem; font-variant-numeric: tabular-nums; }
.walkthrough li p, .answers p { color: var(--muted); margin-top: .45rem; line-height: 1.75; }
.reference { display: inline-block; margin-top: 1rem; font-size: .93rem; }
.shot-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(14px,3vw,44px); max-width: 880px; margin: auto; }
.shot-grid figure { min-width: 0; }
.shot-grid figure > a { display: block; border-radius: 16px; border: 1px solid #e1dfe3; overflow: hidden; }
.shot-grid img { width: 100%; height: auto; }
.shot-grid figcaption { margin: 8px 2px 0; font-size: .91rem; }
.answers, .sources { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(26px,5vw,76px); }
.answers article + article { border-top: 1px solid var(--line); padding-top: 1.15rem; margin-top: 1.15rem; }
.answers article:target { border-left: 3px solid var(--violet); padding-left: 1rem; }
.sources p { margin-top: .5rem; font-size: .87rem; }
.source-links, .more > div { display: flex; gap: .55rem 1.8rem; align-items: flex-start; flex-wrap: wrap; }
.more { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.more h2, .sources h2 { font-size: 1.48rem; }
.more a { display: inline-flex; align-items: center; gap: .55rem; }
.missing { padding-block: 15vh; }
.missing h1 { font-size: 3rem; }
.missing .button { margin: 1rem 1rem 0 0; }

@media (max-width: 940px) {
  .card { grid-template-columns: .67fr 1.15fr; }
  .card-copy { padding: 16px; }
  .product-head { gap: 24px; grid-template-columns: 1.15fr .85fr; }
}
@media (max-width: 700px) {
  .cards, .guide-grid, .product-head, .answers, .sources, .walkthrough ol { grid-template-columns: 1fr; }
  .top { min-height: 63px; column-gap: .5rem; row-gap: 0; flex-wrap: wrap; }
  .brand { font-size: clamp(1rem, 4.5vw, 1.17rem); gap: .4rem; }
  .mark { width: 21px; height: 21px; gap: 2px; }
  nav { font-size: .85rem; gap: 13px; }
  nav .language { padding-left: 12px; }
  .catalog-head { align-items: start; flex-direction: column; gap: .36rem; padding-block: 22px 18px; }
  .catalog-head h1 { font-size: clamp(2rem,6.8vw,3rem); }
  .catalog-head > p { font-size: .84rem; }
  .cards { gap: 10px; }
  .card { min-height: 116px; grid-template-columns: minmax(100px,.55fr) 1.2fr; border-radius: 13px; }
  .card-copy { padding: 11px 15px; }
  .card-copy h2 { font-size: 1.32rem; }
  .card-copy p { margin: .15rem 0 .25rem; font-size: 1rem; line-height: 1.42; }
  .card-copy small { font-size: .78rem; }
  .crumb { margin-top: 15px; }
  .product-head { gap: 21px; }
  .product-head h1 { font-size: clamp(2rem,7.2vw,3.5rem); }
  .product-head .art { aspect-ratio: 2.6; }
  .product-head .timequill img, .product-head .timekin img { width: auto; height: 72%; }
  .widget-cover, .practice-cover { aspect-ratio: 1.75; }
  .walkthrough ol { gap: 13px; }
  .walkthrough li { padding-top: 10px; }
  .answers, .sources { gap: 1.3rem; }
  .more { align-items: start; flex-direction: column; }
  .more > div { gap: .25rem 1rem; }
  .shot-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 5px 4px 12px; gap: 14px; }
  .shot-grid figure { flex: 0 0 63%; scroll-snap-align: start; }
  .footer { padding-block: 15px 22px; }
}
@media (max-width: 375px) {
  :root { --edge: 14px; }
  nav { gap: 9px; font-size: .8rem; }
  nav .language { padding-left: 9px; }
  .card-copy { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
