/* Revision 03 — compact type, quiet gallery surfaces, work-led hierarchy.
   Existing illustration and interaction styles are preserved in style.css. */
:root{--paper:#f6f6f3;--ink:#272d29;--muted:#686e68;--lilac:#ecefe9;--violet:#344c41;--line:#d9ddd5;--gutter:clamp(24px,6vw,96px)}
body{font-family:"Helvetica Neue","Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;line-height:1.6}
header,footer,.hero,.work,.about,.notes,.closing{padding-left:var(--gutter);padding-right:var(--gutter);max-width:1440px;margin-inline:auto}
header{height:112px;background:transparent;position:relative}
header:after{content:"";height:1px;background:var(--line);position:absolute;bottom:0;left:var(--gutter);right:var(--gutter)}
.wordmark{font-family:Georgia,"Times New Roman",serif;font-size:27px;font-weight:400;letter-spacing:-1.2px}
.wordmark .wordmark-dot{font:inherit;color:var(--violet);vertical-align:baseline;margin-left:1px}
nav{font-size:12px;gap:36px}
nav a{padding-block:8px;position:relative;color:#586058;transition:color .2s}
nav a:after{content:"";position:absolute;left:0;bottom:3px;width:100%;height:1px;background:var(--violet);transform:scaleX(0);transform-origin:left;transition:transform .25s}
nav a:hover:after{transform:scaleX(1)}
.eyebrow{font-family:Georgia,"Times New Roman",serif;font-style:italic;font-size:13px;letter-spacing:.01em;color:var(--muted)}
.hero{min-height:0;background:transparent;padding-top:72px;padding-bottom:80px;display:grid;grid-template-columns:1fr 1.55fr auto;gap:40px;align-items:start;overflow:visible}
.hero-index>p{font-size:12px;margin-top:12px;letter-spacing:.06em;color:#4c564e}
.edition{display:block;font-size:10px;letter-spacing:.04em;color:var(--muted);margin-top:56px}
h1{font-family:"Songti SC","Noto Serif CJK SC","SimSun",serif;font-size:29px;line-height:1.75;font-weight:400;letter-spacing:.12em;margin:0;text-wrap:balance}
.hero-intro>p{font-size:12px;line-height:2;letter-spacing:.04em;margin-top:20px;color:var(--muted)}
.hero-link{align-self:end;font-size:11px;white-space:nowrap;display:flex;gap:24px;align-items:center;padding-bottom:4px;border-bottom:1px solid var(--line)}
.hero-link span{font-size:18px;transition:transform .25s}
.hero-link:hover span{transform:translate(-3px,3px)}
.work{padding-top:0;padding-bottom:96px;scroll-margin-top:32px}
.section-heading{border-top:1px solid var(--line);padding-top:24px;margin-bottom:32px;align-items:center}
.section-heading>div{display:flex;align-items:baseline;gap:28px}
.section-heading h2{font-size:15px;line-height:1.6;font-weight:400;letter-spacing:.05em;margin-top:0}
.section-heading h2 span{font-family:"Segoe UI",sans-serif;font-size:10px;vertical-align:baseline;margin-left:20px;letter-spacing:.08em}
.section-heading p{font-size:10px;line-height:1.8;letter-spacing:.03em}
.project-image{height:500px;isolation:isolate;border-radius:2px}
.project-image:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 64px #242c2210;z-index:2}
.art-label{font-size:9px;letter-spacing:.12em;opacity:.75;top:28px;left:32px}
.image-bottom{font-size:9px;opacity:.8;left:32px;bottom:28px}
.coffee{background:#e6e8e1}
.coffee-copy{font-size:36px;line-height:1.2;left:11%;top:41%;letter-spacing:-.02em;font-style:normal}
.coffee-copy small{font-size:10px;letter-spacing:.12em;margin-top:16px}
.coffee-orbit{display:none}
.bag{left:auto;right:19%;top:72px;width:224px;height:340px;background:#a9b49a;transform:rotate(4deg);box-shadow:20px 30px 40px #38433226,inset 12px 0 20px #ffffff20,inset -12px 0 20px #29351b1a}
.project-image:hover .bag{transform:rotate(1deg) translateY(-4px)}
.bag-type{font-size:44px;top:60px;left:28px;line-height:1.2}
.bag-type span{font-size:15px;left:62px;letter-spacing:0}
.bag-circle{font-size:38px;width:48px;height:48px;line-height:1}
.open-circle{background:transparent;border:1px solid #52604b55;border-radius:50%;width:36px;height:36px;font-size:18px;right:28px;bottom:24px}
.project-image:hover .open-circle{transform:translate(2px,-2px);background:#f6f6f355}
.project-image:active .open-circle{transform:scale(.94)}
.project-caption{padding-top:20px;display:flex;align-items:start;gap:24px}
.project-caption h3{font-size:14px;letter-spacing:.02em;font-weight:500}
.project-caption p{font-size:11px;line-height:1.8;letter-spacing:.03em;margin-top:5px}
.tags{gap:0;margin-top:2px}
.tags span{border:0;border-radius:0;padding:0;font-size:10px;line-height:1.8;color:var(--muted)}
.tags span+span:before{content:"/";margin:0 10px;color:#acb3a8}
.project-grid{grid-template-columns:1.12fr 1fr;gap:40px;margin-top:56px;align-items:start}
.project-grid>.project:nth-child(2){margin-top:72px}
.project-grid .project-image{height:420px}
.project-grid .project-caption{display:block}
.project-grid .tags{margin-top:12px}
.museum{background:#cdd6d0}
.museum-frame{width:80%;height:64%;left:10%;top:19%;transform:rotate(-2deg);box-shadow:0 20px 32px #1e3b381a}
.museum:hover .museum-frame{transform:rotate(0deg)}
.museum-heading{font-size:29px;line-height:1.1;letter-spacing:-.03em}
.sculpture{right:16%;top:24%;width:31%;height:55%}
.sculpture div{border-width:25px}
.reading{background:#dfdcd4}
.reading-word{font-size:39px;line-height:1.05;letter-spacing:-.02em;left:9%;top:35%}
.phone{width:166px;height:344px;right:13%;top:38px;transform:rotate(4deg);border-width:4px;border-radius:24px;box-shadow:16px 24px 32px #4a3c2c24}
.reading:hover .phone{transform:rotate(1deg) translateY(-4px)}
.phone-heading{font-size:19px;margin-top:14px;letter-spacing:0}
.book{height:136px;background:#9b614b}
.book-flower{font-size:40px;bottom:28px}
.phone-tabs{margin-top:18px}
.about{border-top:0;display:grid;grid-template-columns:1fr 1.55fr;gap:40px;position:relative;padding-top:64px;padding-bottom:64px}
.about:before{content:"";position:absolute;left:var(--gutter);right:var(--gutter);top:0;height:1px;background:var(--line)}
.about h2{font-family:"Songti SC","SimSun",serif;font-size:23px;line-height:1.8;letter-spacing:.08em;font-weight:400;margin-top:20px}
.about-copy{padding-top:0}
.about-copy p{font-size:13px;line-height:2.1;max-width:500px;color:#50594f}
.about-copy p+p{font-size:11px;color:var(--muted);line-height:2}
.practice-list{gap:24px;font-size:10px;margin-top:24px}
.notes{padding-top:16px;padding-bottom:72px}
.notes .section-heading{margin-bottom:8px}
.notes-grid{display:block;margin-left:calc((100% - 40px)/2.55)}
.notes-grid>div{display:grid;grid-template-columns:24px 1fr 1.25fr;gap:24px;border-top:1px solid var(--line);padding:24px 0}
.notes-grid>div:first-child{border-top:0}
.note-number{font-size:10px;color:var(--muted);padding-top:3px}
.notes-grid h3{font-size:12px;font-weight:500;line-height:1.9;margin:0;letter-spacing:.02em}
.notes-grid p{font-size:11px;line-height:1.9}
.closing{background:transparent;display:flex;align-items:end;justify-content:space-between;padding-top:40px;padding-bottom:48px;border-top:1px solid var(--line)}
.closing p{font-family:"Songti SC","SimSun",serif;font-size:23px;line-height:1.8;letter-spacing:.08em;margin-top:16px}
.closing>a{position:static;border-color:var(--line);font-size:11px;padding-bottom:6px}
.closing>a span{margin-left:28px}
footer{padding-top:24px;padding-bottom:32px}
footer .wordmark{font-size:23px}
footer .wordmark .wordmark-dot{font:inherit}
footer p,footer>a:last-child{font-size:10px}
dialog{border-radius:2px;box-shadow:0 24px 80px #25332326;padding:40px}
dialog::backdrop{background:#28302777;backdrop-filter:blur(6px)}
.detail-title{font-size:25px;letter-spacing:.01em;font-weight:400}
.detail-intro{font-size:13px}
.detail-section p{font-size:13px}
.close{border-radius:0;border:0;border-bottom:1px solid var(--line);padding:6px 2px;font-size:11px}
.detail-note{background:#ecefe9;font-size:11px}
.swatches span{width:40px;height:40px;border-radius:2px}
:is(a,button):focus-visible{outline:2px solid #516d55;outline-offset:5px}
@media(min-width:1500px){.hero{min-height:0}}
@media(max-width:1000px){
  .hero{grid-template-columns:1fr 1.6fr;gap:32px;padding-top:56px;padding-bottom:56px}
  .hero-link{grid-column:2;justify-self:start;align-self:start}
  .edition{margin-top:40px}
  .project-image{height:440px}
  .bag{right:12%;width:200px;height:310px;top:60px}
  .coffee-copy{left:8%;font-size:30px}
  .project-grid{gap:28px}
  .project-grid .project-image{height:370px}
  .phone{right:10%;width:146px;height:308px;top:30px;padding:10px;border-radius:22px}
  .book{height:110px}
  .phone-heading{margin-top:12px}
  .phone-tabs{margin-top:12px}
  .reading-word{font-size:28px;left:8%;top:34%}
  .museum-frame{padding:14px}
  .museum-heading{font-size:24px;left:16px;top:56px}
  .sculpture div{border-width:20px}
  .art-label,.image-bottom{left:20px;font-size:8px}
  .notes-grid{margin-left:0}
}
@media(max-width:640px){
  header{height:88px;padding-top:20px;padding-bottom:20px}
  .wordmark{font-size:25px}
  nav{gap:24px!important;font-size:11px}
  .hero{grid-template-columns:1fr;gap:28px;padding-top:40px;padding-bottom:40px}
  .hero-index{display:grid;grid-template-columns:1fr auto;column-gap:12px}
  .hero-index>p{font-size:10px;margin-top:4px;grid-column:1}
  .hero-index .eyebrow{font-size:12px}
  .edition{grid-column:2;grid-row:1;margin:0;align-self:center;font-size:9px}
  h1{font-size:25px;line-height:1.8;margin:0;letter-spacing:.09em}
  .hero-intro>p{margin-top:16px;font-size:12px}
  .hero-link{grid-column:1;font-size:11px;margin-top:0}
  .work{padding-top:0;padding-bottom:64px}
  .section-heading{padding-top:20px;margin-bottom:24px}
  .section-heading>div{gap:16px;flex-wrap:wrap}
  .section-heading .eyebrow{font-size:12px}
  .section-heading h2{font-size:13px}
  .section-heading h2 span{font-size:9px;margin-left:8px}
  .project-image{height:370px}
  .coffee-copy{font-size:26px;top:62px;left:24px}
  .coffee-copy small{font-size:9px;margin-top:8px}
  .bag{width:150px;height:230px;right:13%;top:112px}
  .bag-type{font-size:34px;top:42px;left:20px}
  .bag-type span{font-size:12px;left:44px}
  .bag-circle{font-size:28px;width:34px;height:34px;bottom:40px;right:16px}
  .bag-bottom{font-size:4.5px;bottom:16px;left:16px}
  .bag-seam{height:16px}
  .art-label{font-size:7px;top:20px;left:20px}
  .image-bottom{font-size:7px;bottom:20px;left:20px}
  .open-circle{right:16px;bottom:16px;width:30px;height:30px;font-size:15px}
  .project-caption{display:block;padding-top:16px}
  .project-caption h3{font-size:13px}
  .project-caption p{font-size:11px}
  .tags{margin-top:10px}
  .tags span{font-size:9px}
  .project-grid{grid-template-columns:1fr;gap:36px;margin-top:36px}
  .project-grid>.project:nth-child(2){margin-top:0}
  .project-grid .project-image{height:370px}
  .museum-heading{font-size:28px;top:52px}
  .reading-word{font-size:32px;left:10%}
  .phone{width:152px;height:314px;top:28px;right:13%}
  .book{height:116px}
  .book-flower{font-size:36px}
  .about{grid-template-columns:1fr;gap:24px;padding-top:40px;padding-bottom:48px}
  .about h2{font-size:22px;margin-top:16px}
  .about-copy{padding-top:0}
  .about-copy p{font-size:12px}
  .practice-list{gap:16px}
  .notes{padding-top:0;padding-bottom:40px}
  .notes-grid>div{grid-template-columns:24px 1fr;gap:8px 16px;padding:24px 0}
  .notes-grid h3{font-size:12px}
  .notes-grid p{grid-column:2}
  .closing{padding-top:32px;padding-bottom:32px;align-items:start;gap:24px;flex-direction:column}
  .closing p{font-size:22px;margin-top:12px}
  .closing>a{font-size:11px}
  footer{padding-top:16px;padding-bottom:24px}
  dialog{padding:24px}
  .detail-title{font-size:22px}
}
/* Open-source studies: real screenshots, source metadata and direct demo access. */
.project-image.os-preview{height:560px;padding:32px 40px;background:#e3e8df;display:flex;align-items:center;justify-content:center}
.project-image.os-preview img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;border-radius:3px;transition:transform .35s}
.project-image.os-preview:hover img{transform:translateY(-3px)}
.project-image.os-preview:after{box-shadow:none}
.project-image.os-preview .open-circle{background:#f6f6f3d9;right:16px;bottom:16px}
.project-grid .project-image.os-preview{height:330px;padding:20px;background:#e7e7e1}
.project-grid .project-image.still-preview{background:#dce3e4}
.project-source{display:flex;justify-content:space-between;gap:16px;margin-top:16px;padding-top:12px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}
.project-source a{color:var(--ink);white-space:nowrap;border-bottom:1px solid var(--line)}
.source-guide{display:flex;justify-content:space-between;gap:24px;font-size:11px;color:var(--muted);margin-top:48px;border-top:1px solid var(--line);padding-top:24px}
.source-guide a{white-space:nowrap;text-decoration:underline;text-underline-offset:4px}
.case-actions{display:flex;gap:24px;flex-wrap:wrap;margin:24px 0;font-size:12px}
.case-actions a{text-decoration:underline;text-underline-offset:5px}
.case-actions a:first-child{color:var(--violet);font-weight:600}
.case-source{font-size:10px;color:var(--muted);line-height:1.9}
@media(max-width:900px){.project-image.os-preview{height:420px;padding:24px}.project-grid .project-image.os-preview{height:270px;padding:12px}.project-source{flex-wrap:wrap;gap:8px}}
@media(max-width:640px){.project-image.os-preview,.project-grid .project-image.os-preview{height:auto;aspect-ratio:1.5;padding:12px}.project-image.os-preview img{height:auto}.project-image.os-preview .open-circle{width:26px;height:26px;font-size:13px;right:8px;bottom:8px}.source-guide{flex-direction:column;gap:12px}.project-source{font-size:9px}.case-actions{gap:16px}}
