:root{
  --bg:#fbf7f2;
  --paper:rgba(255,255,255,.84);
  --paper-strong:#fffdf9;
  --text:#201b18;
  --muted:#766b63;
  --soft:#f0e4d9;
  --line:rgba(116,85,61,.16);
  --accent:#c88962;
  --accent-dark:#7b5138;
  --shadow:0 24px 64px rgba(83,58,39,.12);
  --radius:22px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Microsoft YaHei",Arial,sans-serif;
  background:
    linear-gradient(180deg,#fbf7f2 0%,#fffaf6 48%,#f6eee6 100%),
    repeating-linear-gradient(90deg,rgba(116,85,61,.045) 0 1px,transparent 1px 78px);
  line-height:1.75;
}

a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
figure{margin:0}

.nav{
  position:sticky;
  top:0;
  z-index:10;
  min-height:72px;
  padding:0 clamp(22px,5vw,82px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:rgba(255,248,241,.76);
  border-bottom:1px solid rgba(126,93,67,.1);
  backdrop-filter:blur(22px);
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:20px;
  font-weight:700;
  letter-spacing:-.02em;
}

.brand-mark{
  width:18px;
  height:18px;
  border-radius:50%;
  background:linear-gradient(135deg,#e5b995,#c88e69);
  box-shadow:0 8px 22px rgba(200,142,105,.35);
}

.nav-links{
  display:flex;
  align-items:center;
  gap:30px;
  font-weight:650;
  color:#2b2521;
  user-select:none;
}

.nav-links a{
  position:relative;
  opacity:.86;
}

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-9px;
  width:0;
  height:2px;
  border-radius:99px;
  background:var(--accent);
  transition:.22s ease;
}

.nav-links a:hover{opacity:1}
.nav-links a:hover::after,
.nav-links a.active::after{width:100%}

.nav-links a.active{
  opacity:1;
  color:#201b18;
}

.nav-toggle{
  display:none;
  width:42px;
  height:42px;
  border:1px solid rgba(126,93,67,.12);
  border-radius:50%;
  background:rgba(255,255,255,.76);
  color:#2b2521;
  font:inherit;
  font-size:0;
  box-shadow:0 12px 28px rgba(83,58,39,.1);
  cursor:pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after{
  content:"";
  display:block;
  width:17px;
  height:2px;
  margin:0 auto;
  border-radius:999px;
  background:#2b2521;
  transition:transform .22s ease, opacity .22s ease;
}

.nav-toggle span{
  margin-top:5px;
  margin-bottom:5px;
}

.nav.is-open .nav-toggle::before{transform:translateY(7px) rotate(45deg)}
.nav.is-open .nav-toggle span{opacity:0}
.nav.is-open .nav-toggle::after{transform:translateY(-7px) rotate(-45deg)}

.page{
  width:min(1180px,calc(100% - 36px));
  margin:42px auto 64px;
}

.hero-lite{
  min-height:320px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  align-items:stretch;
  gap:28px;
  padding:clamp(28px,5vw,56px);
  border:1px solid rgba(255,255,255,.86);
  border-radius:28px;
  background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(250,239,229,.72));
  box-shadow:var(--shadow);
  overflow:hidden;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:6px 14px;
  border:1px solid rgba(123,81,56,.16);
  border-radius:999px;
  background:#f3e5d9;
  color:#5a4438;
  font-size:13px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom:20px;
}

h1{
  max-width:760px;
  font-size:clamp(44px,6vw,76px);
  line-height:.98;
  margin:0 0 20px;
  letter-spacing:0;
}

p{
  color:#51463f;
  line-height:1.9;
  font-size:17px;
  margin:0;
}

.hero-lite p{
  max-width:650px;
  color:var(--muted);
  font-size:18px;
}

.hero-panel{
  min-height:210px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:26px;
  border:1px solid rgba(123,81,56,.13);
  border-radius:22px;
  background:
    linear-gradient(145deg,rgba(32,27,24,.92),rgba(123,81,56,.82)),
    linear-gradient(180deg,#fff,#f3e5d9);
  color:#fffaf6;
}

.hero-panel span{
  width:max-content;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  font-size:13px;
  font-weight:700;
}

.hero-panel strong{
  display:block;
  max-width:240px;
  font-size:36px;
  line-height:1.04;
  letter-spacing:0;
}

.hero-panel small{
  color:rgba(255,250,246,.72);
  font-size:13px;
  letter-spacing:.04em;
}

.categories{
  display:grid;
  gap:28px;
  margin-top:30px;
}

.category-browser{
  display:grid;
  gap:20px;
}

.category-toolbar{
  position:sticky;
  top:86px;
  z-index:8;
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px;
  border:1px solid rgba(255,255,255,.82);
  border-radius:24px;
  background:rgba(255,248,241,.82);
  box-shadow:0 18px 48px rgba(83,58,39,.1);
  backdrop-filter:blur(18px);
}

.category-tabs{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  gap:12px;
  overflow-x:auto;
}

.search-entry{
  flex:0 0 auto;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border:1px solid rgba(123,81,56,.1);
  border-radius:50%;
  background:linear-gradient(180deg,rgba(255,255,255,.68),rgba(250,238,228,.5));
  color:#7b5a47;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.86);
  backdrop-filter:blur(18px);
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}

.search-entry:hover{
  transform:translateY(-1px);
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(246,230,216,.8));
  color:#2c2520;
  box-shadow:0 12px 26px rgba(83,58,39,.1), inset 0 1px 0 rgba(255,255,255,.92);
}

.search-entry span{
  position:relative;
  width:15px;
  height:15px;
  display:block;
  border:1.8px solid currentColor;
  border-radius:50%;
}

.search-entry span::after{
  content:"";
  position:absolute;
  right:-6px;
  bottom:-4px;
  width:7px;
  height:1.8px;
  border-radius:99px;
  background:currentColor;
  transform:rotate(45deg);
  transform-origin:left center;
}

.category-tabs::-webkit-scrollbar{display:none}

.category-tabs button{
  flex:0 0 auto;
  min-width:150px;
  min-height:64px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  flex-direction:column;
  gap:4px;
  padding:12px 18px;
  border:1px solid transparent;
  border-radius:18px;
  background:transparent;
  color:#5a4438;
  font:inherit;
  cursor:pointer;
  transition:background .22s ease, border-color .22s ease, transform .22s ease;
}

.category-tabs button:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.62);
}

.category-tabs button.active{
  background:#2c2520;
  color:#fffaf6;
  box-shadow:0 16px 34px rgba(44,37,32,.16);
}

.category-tabs strong{
  font-size:16px;
  line-height:1.2;
}

.category-tabs span{
  color:currentColor;
  opacity:.72;
  font-size:13px;
  font-weight:750;
}

.category-card{
  padding:clamp(24px,4vw,36px);
  border:1px solid rgba(255,255,255,.82);
  border-radius:26px;
  background:var(--paper);
  box-shadow:var(--shadow);
}

.active-category{
  animation:fadeCategory .24s ease both;
}

@keyframes fadeCategory{
  from{opacity:.62;transform:translateY(6px)}
  to{opacity:1;transform:translateY(0)}
}

.category-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  margin-bottom:24px;
  padding-bottom:22px;
  border-bottom:1px solid var(--line);
}

.category-head h2{
  font-size:30px;
  line-height:1.18;
  margin:0 0 8px;
  letter-spacing:0;
}

.category-head p{
  max-width:760px;
  color:var(--muted);
}

.category-count{
  flex:0 0 auto;
  min-height:34px;
  display:inline-flex;
  align-items:center;
  padding:6px 13px;
  border-radius:999px;
  background:#f2e3d6;
  color:var(--accent-dark);
  font-size:13px;
  font-weight:750;
}

.work-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,360px));
  justify-content:start;
  max-width:1120px;
  gap:20px;
}

.work-card{
  min-height:100%;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--paper-strong);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.work-card:hover{
  transform:translateY(-4px);
  border-color:rgba(200,137,98,.32);
  box-shadow:0 22px 46px rgba(83,58,39,.16);
}

.work-card figure{
  overflow:hidden;
  background:var(--soft);
}

.work-card img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  transition:transform .32s ease;
}

.work-card:hover img{transform:scale(1.035)}

.work-card-body{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:20px;
}

.work-card h3{
  font-size:20px;
  line-height:1.25;
  margin:0;
  letter-spacing:0;
}

.work-date,
.work-detail-dates{
  display:block;
  color:#9a7d68;
  font-size:13px;
  font-weight:750;
}

.work-card p{
  color:var(--muted);
  font-size:15px;
}

.work-card span{
  margin-top:auto;
  color:var(--accent-dark);
  font-size:14px;
  font-weight:750;
}

.empty-note{
  padding:22px;
  border:1px dashed rgba(123,81,56,.24);
  border-radius:18px;
  background:rgba(255,255,255,.48);
  color:var(--muted);
}

.search-shell{
  margin-top:30px;
  display:grid;
  gap:22px;
}

.search-panel{
  padding:clamp(22px,4vw,34px);
  border:1px solid rgba(255,255,255,.82);
  border-radius:26px;
  background:var(--paper);
  box-shadow:var(--shadow);
}

.search-form{
  display:grid;
  grid-template-columns:1fr auto;
  gap:12px;
  align-items:center;
}

.search-box{
  min-height:58px;
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:12px;
  padding:0 18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.74);
}

.search-box::before{
  content:"";
  width:16px;
  height:16px;
  border:2px solid #7b5138;
  border-radius:50%;
  box-shadow:7px 7px 0 -5px #7b5138;
}

.search-box input{
  width:100%;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:var(--text);
  font:inherit;
  font-size:17px;
}

.search-submit,
.search-clear{
  min-height:58px;
  padding:0 24px;
  border:0;
  border-radius:18px;
  background:#2c2520;
  color:#fffaf6;
  font:inherit;
  font-weight:750;
  cursor:pointer;
  box-shadow:0 16px 34px rgba(44,37,32,.14);
}

.search-clear{
  background:rgba(255,255,255,.68);
  color:#6a4736;
  border:1px solid rgba(123,81,56,.13);
  box-shadow:none;
}

.search-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.search-filters button{
  min-height:38px;
  padding:0 14px;
  border:1px solid rgba(123,81,56,.13);
  border-radius:999px;
  background:rgba(255,255,255,.58);
  color:#6a4736;
  font:inherit;
  font-size:14px;
  font-weight:750;
  cursor:pointer;
}

.search-filters button.active{
  background:#2c2520;
  color:#fffaf6;
}

.search-meta{
  color:var(--muted);
  font-size:14px;
}

.search-results{
  display:grid;
  gap:16px;
}

.search-result{
  display:grid;
  grid-template-columns:160px minmax(0,1fr);
  gap:18px;
  align-items:stretch;
  padding:14px;
  border:1px solid rgba(116,85,61,.13);
  border-radius:22px;
  background:rgba(255,255,255,.82);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.search-result:hover{
  transform:translateY(-2px);
  border-color:rgba(200,137,98,.28);
  box-shadow:0 18px 42px rgba(83,58,39,.12);
}

.search-result img{
  width:100%;
  height:100%;
  min-height:118px;
  border-radius:16px;
  object-fit:cover;
  background:var(--soft);
}

.search-result-body{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:4px 4px 4px 0;
}

.search-result h2{
  margin:0;
  font-size:22px;
  line-height:1.25;
}

.search-result p{
  font-size:15px;
  color:var(--muted);
}

.search-result mark{
  padding:0 2px;
  border-radius:4px;
  background:#f2d2b6;
  color:#2c2520;
}

.result-tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  color:#9a7d68;
  font-size:13px;
  font-weight:750;
}

.result-link{
  margin-top:auto;
  color:var(--accent-dark);
  font-size:14px;
  font-weight:800;
}

.work-detail{
  overflow:hidden;
  border:1px solid rgba(255,255,255,.86);
  border-radius:28px;
  background:var(--paper);
  box-shadow:var(--shadow);
}

.work-detail-content{
  display:flex;
  flex-direction:column;
  padding:clamp(28px,5vw,52px);
}

.work-detail-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  margin-bottom:24px;
}

.work-detail h1{
  font-size:clamp(38px,5vw,64px);
  margin-bottom:12px;
}

.work-detail-dates{
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  margin-bottom:20px;
  font-size:12px;
  letter-spacing:0;
  color:#a08b7b;
}

.work-detail-dates time{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
}

.work-breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
}

.work-breadcrumb a{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  padding:0 15px;
  border:1px solid rgba(123,81,56,.16);
  border-radius:999px;
  background:#f2e3d6;
  color:#6a4736;
  font-size:15px;
  font-weight:800;
}

.work-breadcrumb a:hover{
  background:#ead5c4;
  color:#201b18;
}

.work-detail p{
  color:#51463f;
}

.work-story{
  padding:clamp(22px,4vw,42px);
  border-top:1px solid rgba(123,81,56,.12);
  background:#fffaf6;
}

.work-story-inner{
  overflow:hidden;
  border:1px solid rgba(123,81,56,.12);
  border-radius:24px;
  background:#fff;
}

.work-story-block{
  overflow:hidden;
  border-top:1px solid rgba(123,81,56,.1);
  background:transparent;
}

.work-story-block:first-child{
  border-top:0;
}

.work-story-block h2{
  margin:0;
  padding:24px 26px 0;
  font-size:clamp(24px,3vw,36px);
}

.work-story-block p,
.work-story-block figcaption{
  padding:22px 26px 24px;
  color:#51463f;
}

.work-image-group{
  display:grid;
  gap:1px;
  background:rgba(123,81,56,.1);
}

.work-story-block img,
.work-story-block video{
  display:block;
  width:100%;
  margin:0;
  max-height:760px;
  object-fit:contain;
  border-radius:0;
  background:#fff;
}

.text-block{
  padding:4px 0;
}

.share-work{
  width:max-content;
  min-height:38px;
  padding:0 16px;
  border:1px solid rgba(123,81,56,.16);
  border-radius:999px;
  background:#f2e3d6;
  color:#6a4736;
  font:inherit;
  font-weight:750;
  cursor:pointer;
  box-shadow:none;
  transition:background .22s ease, transform .22s ease;
}

.share-work:hover{
  transform:translateY(-2px);
  background:#ead5c4;
}

.share-modal{
  position:fixed;
  inset:0;
  z-index:100;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(32,27,24,.38);
  backdrop-filter:blur(12px);
}

.share-dialog{
  width:min(720px,100%);
  max-height:min(92vh,980px);
  overflow:auto;
  scrollbar-gutter:stable;
  padding:26px;
  border:1px solid rgba(255,255,255,.82);
  border-radius:24px;
  background:#fffaf6;
  box-shadow:0 32px 90px rgba(32,27,24,.24);
}

.share-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}

.share-head strong,
.poster-panel strong{
  display:block;
  font-size:22px;
  line-height:1.2;
}

.share-head span{
  display:block;
  margin-top:4px;
  color:var(--muted);
}

.share-head button{
  width:40px;
  height:40px;
  border:0;
  border-radius:50%;
  background:#f2e3d6;
  color:#5a4438;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  transition:background .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.share-head button:hover,
.share-head button:focus-visible{
  background:#2c2520;
  color:#fffaf6;
  transform:translateY(-1px);
  box-shadow:0 12px 28px rgba(44,37,32,.16);
  outline:0;
}

.share-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.share-grid a,
.share-grid button,
.qr-card button,
.poster-panel button,
.poster-result a,
.poster-result button{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:#5a4438;
  font:inherit;
  font-weight:750;
  cursor:pointer;
  text-align:center;
  transition:background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
  will-change:background-color, color, border-color;
}

.share-grid a:hover,
.share-grid button:hover,
.share-grid a:active,
.share-grid button:active,
.qr-card button:hover,
.qr-card button:active,
.poster-panel button:hover,
.poster-panel button:active,
.poster-result a:hover,
.poster-result button:hover,
.poster-result a:active,
.poster-result button:active,
.share-grid a:focus-visible,
.share-grid button:focus-visible,
.qr-card button:focus-visible,
.poster-panel button:focus-visible,
.poster-result a:focus-visible,
.poster-result button:focus-visible{
  border-color:rgba(44,37,32,.28);
  background:#f2e3d6;
  color:#2c2520;
  box-shadow:inset 0 0 0 1px rgba(44,37,32,.04);
  outline:0;
}

.share-grid a.is-share-active,
.share-grid button.is-share-active{
  border-color:#2c2520;
  background:#2c2520;
  color:#fffaf6;
  box-shadow:0 10px 22px rgba(44,37,32,.12);
}

.share-grid a:focus:not(:focus-visible):not(.is-share-active),
.share-grid button:focus:not(:focus-visible):not(.is-share-active),
.qr-card button:focus:not(:focus-visible),
.poster-panel button:focus:not(:focus-visible),
.poster-result a:focus:not(:focus-visible),
.poster-result button:focus:not(:focus-visible){
  border-color:var(--line);
  background:#fff;
  color:#5a4438;
  transform:none;
  box-shadow:none;
  outline:0;
}

.poster-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid var(--line);
}

.share-link-box{
  display:grid;
  gap:8px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,248,241,.72);
}

.share-link-box input{
  width:100%;
  border:0;
  background:transparent;
  color:var(--ink);
  font:600 14px/1.4 inherit;
}

.share-link-box span{
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

.qr-result{
  margin-top:16px;
}

.qr-card,
.poster-result{
  animation:sharePanelIn .24s ease both;
}

@keyframes sharePanelIn{
  from{
    opacity:0;
    transform:translateY(-6px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.qr-card{
  display:grid;
  grid-template-columns:132px minmax(0,1fr);
  gap:16px;
  align-items:center;
  padding:16px;
  border:1px solid rgba(123,81,56,.14);
  border-radius:18px;
  background:linear-gradient(135deg,rgba(255,255,255,.9),rgba(250,238,228,.62));
}

.qr-card img{
  width:132px;
  height:132px;
  padding:8px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
}

.qr-card strong{
  display:block;
  color:var(--text);
  font-size:18px;
  line-height:1.3;
}

.qr-card p{
  margin:6px 0 8px;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

.qr-card small{
  display:block;
  max-width:100%;
  overflow:hidden;
  color:#a08b7b;
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.qr-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

.qr-card em{
  display:block;
  margin-top:8px;
  color:#a08b7b;
  font-size:12px;
  font-style:normal;
}

.poster-panel p{
  max-width:390px;
  margin-top:6px;
  color:var(--muted);
  font-size:15px;
}

.poster-panel button{
  flex:0 0 auto;
  background:#2c2520;
  color:#fffaf6;
}

.poster-panel button:disabled{
  cursor:wait;
  opacity:.68;
}

.poster-result{
  display:grid;
  justify-items:center;
  gap:14px;
  margin-top:18px;
  padding:18px;
  border:1px solid rgba(123,81,56,.12);
  border-radius:20px;
  background:rgba(255,255,255,.46);
  transform-origin:top center;
}

.poster-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:center;
}

.poster-result img{
  width:min(360px,100%);
  border-radius:18px;
  border:1px solid var(--line);
  box-shadow:0 18px 42px rgba(83,58,39,.13);
}

.poster-result button{
  width:max-content;
  background:#2c2520;
  color:#fffaf6;
}

.poster-tip{
  margin:0;
  text-align:center;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

.poster-zoom{
  position:fixed;
  inset:0;
  z-index:90;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(29,24,21,.38);
  backdrop-filter:blur(10px);
}

.poster-zoom-panel{
  width:min(620px,100%);
  max-height:86vh;
  overflow:auto;
  display:grid;
  gap:12px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fffaf6;
  box-shadow:0 24px 70px rgba(35,25,19,.24);
}

.poster-zoom-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.poster-zoom-head strong{
  font-size:18px;
}

.poster-zoom-head button{
  min-height:36px;
  padding:0 14px;
}

.poster-zoom img{
  width:min(560px,100%);
  max-height:68vh;
  object-fit:contain;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  justify-self:center;
}

.poster-zoom p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

.back-to-top{
  position:fixed;
  right:clamp(18px,4vw,42px);
  bottom:clamp(18px,4vw,42px);
  z-index:60;
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border:1px solid rgba(123,81,56,.16);
  border-radius:50%;
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(246,230,216,.9));
  color:#6a4736;
  box-shadow:0 18px 42px rgba(83,58,39,.18), inset 0 1px 0 rgba(255,255,255,.88);
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
  transition:opacity .22s ease, transform .22s ease, box-shadow .22s ease, background .22s ease;
  backdrop-filter:blur(16px);
}

.back-to-top span{
  position:relative;
  width:16px;
  height:18px;
  display:block;
}

.back-to-top span::before,
.back-to-top span::after{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  background:#6a4736;
}

.back-to-top span::before{
  top:3px;
  width:12px;
  height:12px;
  border-top:2px solid #6a4736;
  border-left:2px solid #6a4736;
  background:transparent;
  transform:translateX(-50%) rotate(45deg);
  border-radius:2px 0 0 0;
}

.back-to-top span::after{
  bottom:1px;
  width:2px;
  height:14px;
  border-radius:99px;
}

.back-to-top.show{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.back-to-top:hover{
  transform:translateY(-3px);
  background:linear-gradient(180deg,#fff,#f2e3d6);
  box-shadow:0 24px 54px rgba(83,58,39,.22), inset 0 1px 0 rgba(255,255,255,.92);
}

.category-back-to-top{
  display:none;
}

footer{
  text-align:center;
  color:#9b8e85;
  font-size:13px;
  padding:0 6vw 40px;
}

@media (max-width:980px){
  .hero-lite{
    grid-template-columns:1fr;
  }

  .hero-panel{
    min-height:180px;
  }

  .work-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

}

@media (max-width:680px){
  body{
    background:linear-gradient(180deg,#fbf7f2 0%,#fffaf6 46%,#f8f1ea 100%);
  }

  .nav{
    min-height:64px;
    padding:0 18px;
    align-items:center;
    gap:14px;
    flex-direction:row;
  }

  .nav-toggle{
    display:block;
    flex:0 0 auto;
  }

  .nav-links{
    position:absolute;
    top:calc(100% + 8px);
    left:18px;
    right:18px;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    padding:10px;
    border:1px solid rgba(126,93,67,.1);
    border-radius:18px;
    background:rgba(255,250,246,.96);
    box-shadow:0 22px 58px rgba(83,58,39,.16);
    backdrop-filter:blur(22px);
    opacity:0;
    visibility:hidden;
    transform:translateY(-8px);
    pointer-events:none;
    transition:opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .nav.is-open .nav-links{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto;
  }

  .nav-links a{
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:rgba(255,255,255,.62);
  }

  .nav-links a::after{
    display:none;
  }

  .category-toolbar{
    position:static;
    margin-top:14px;
    padding:7px;
    border:1px solid rgba(126,93,67,.08);
    border-radius:999px;
    background:rgba(255,250,246,.62);
    box-shadow:none;
    backdrop-filter:none;
  }

  .search-entry{
    width:36px;
    height:36px;
    box-shadow:none;
  }

  .page{
    width:min(100% - 32px,1180px);
    margin:24px auto 44px;
  }

  .hero-lite{
    min-height:auto;
    display:block;
    padding:24px 0 18px;
    border:0;
    border-bottom:1px solid rgba(116,85,61,.12);
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }

  .hero-lite .eyebrow{
    min-height:28px;
    margin-bottom:16px;
    padding:4px 12px;
    font-size:12px;
  }

  .hero-lite h1{
    font-size:38px;
    line-height:1.08;
    margin-bottom:16px;
    letter-spacing:0;
  }

  .hero-lite p{
    font-size:17px;
    line-height:1.75;
  }

  .hero-panel{
    display:none;
  }

  .category-card{
    padding:18px 0 22px;
    border:0;
    border-bottom:1px solid rgba(116,85,61,.12);
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }

  .work-detail{
    border-radius:22px;
    background:rgba(255,255,255,.66);
    box-shadow:0 14px 36px rgba(83,58,39,.09);
  }

  .work-detail-content{
    padding:22px 18px 24px;
  }

  .work-detail-top{
    gap:10px;
    margin-bottom:18px;
  }

  .work-breadcrumb a,
  .share-work{
    min-height:34px;
    padding:0 13px;
    font-size:13px;
  }

  .work-detail h1{
    font-size:clamp(30px,8.5vw,38px);
    line-height:1.12;
    margin-bottom:12px;
    letter-spacing:0;
  }

  .work-detail p{
    font-size:15px;
    line-height:1.82;
  }

  .work-detail-dates{
    margin-bottom:16px;
  }

  .work-story{
    padding:18px 0;
    background:transparent;
  }

  .work-story-block img,
  .work-story-block video{
    width:100%;
    margin:0;
    border-radius:0;
  }

  .category-head{
    display:block;
    margin-bottom:16px;
    padding-bottom:0;
    border-bottom:0;
  }

  .category-head h2{
    display:none;
  }

  .category-head p{
    max-width:none;
    font-size:14px;
    line-height:1.7;
    color:#8b8078;
  }

  .category-count{
    min-height:28px;
    margin-top:12px;
    padding:4px 10px;
    font-size:12px;
  }

  .work-grid{
    grid-template-columns:1fr;
    gap:16px;
  }

  .category-tabs{
    flex:1 1 auto;
    gap:8px;
  }

  .category-tabs button{
    min-width:0;
    min-height:34px;
    padding:5px 12px;
    border:0;
    border-radius:999px;
    background:transparent;
    box-shadow:none;
  }

  .category-tabs strong{
    font-size:14px;
    line-height:1.2;
  }

  .category-tabs span{
    display:none;
  }

  .work-card{
    border-radius:18px;
    box-shadow:0 12px 30px rgba(83,58,39,.1);
  }

  .share-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .share-dialog{
    width:100%;
    max-height:90vh;
    padding:20px;
  }

  .qr-card{
    grid-template-columns:1fr;
  }

  .poster-result{
    padding:14px;
  }

  .poster-panel{
    align-items:flex-start;
    flex-direction:column;
  }

  .category-back-to-top{
    display:grid;
  }

  .search-form{
    grid-template-columns:1fr;
  }

  .search-submit,
  .search-clear{
    width:100%;
  }

  .search-result{
    grid-template-columns:1fr;
  }

  .search-result img{
    aspect-ratio:4/3;
    height:auto;
  }
}
