:root{--paper:#f6eae0;--ink:#271c16;--red:#9a221b;--line:#d9c2b1;--width:1240px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:3.5rem}
body{margin:0;background:var(--paper) url(assets/paper.webp);color:var(--ink);font-family:"Songti SC","Noto Serif CJK SC",SimSun,serif;line-height:1.55}
a{color:inherit;text-decoration:none}
a:hover{color:var(--red)}
a:focus-visible,button:focus-visible{outline:2px solid var(--red);outline-offset:4px}
img{display:block;max-width:100%}
h1,h2,h3,p{margin:0}
h2{font-size:clamp(1.55rem,3vw,2.55rem);line-height:1.2}
h3{font-size:clamp(1rem,1.7vw,1.42rem);line-height:1.3}
.wrap{width:min(92%,var(--width));margin-inline:auto}
.identity{display:flex;align-items:center;gap:24px;padding:12px 0;font-weight:bold;letter-spacing:.08em;font-size:clamp(.9rem,1.7vw,1.45rem)}
.identity img{width:clamp(80px,11vw,138px);height:auto}
.identity span{border-left:1px solid;padding-left:24px}
.site-nav{position:sticky;top:0;z-index:10;background:var(--paper) url(assets/paper.webp)}
.primary-nav{display:flex;justify-content:space-between;gap:12px;border-block:1px solid var(--line);white-space:nowrap;overflow:auto;font-weight:bold}
.primary-nav a{padding:8px 10px 6px;border-bottom:3px solid transparent}
.primary-nav a.active,.primary-nav a:hover{color:var(--red);border-color:var(--red)}
.mobile-bar,.mobile-menu:not([open]){display:none}
.hero{background:#f3e5d9 url(assets/bg-hero.webp) center bottom / 100% 100% no-repeat}
.hero-inner{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;min-height:clamp(340px,45vw,610px)}
.hero-copy{padding:24px 0 55px;align-self:center;z-index:1}
.hero-copy h1 img{width:min(75%,310px);margin-left:8%;margin-bottom:12px}
.hero-copy h2{font-size:clamp(1.1rem,2.6vw,2.1rem)}
.hero-copy p{margin-top:8px}
.actions{display:flex;flex-wrap:wrap;gap:16px;margin-top:22px}
.button{display:inline-flex;align-items:center;gap:.55em;border:1px solid var(--red);border-radius:6px;padding:4px 16px;color:var(--red);font-weight:bold}
.button:hover,.primary{background:var(--red);color:#fff6e8}
.primary:hover{background:#751811}
.hero-art{position:relative;display:grid;place-items:center;isolation:isolate;min-width:0}
.hero-product{position:absolute;width:86%;top:45%;filter:drop-shadow(3px 12px 10px #52321b55);transform:rotate(-2deg)}
.book{background:#f2ded0 url(assets/bg-book.webp) center / 100% 100% no-repeat}
.book-grid{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}
.book article{position:relative;overflow:hidden;padding:24px 9% 26px;min-height:290px}
.book .book-company{padding-inline-start:0}
.book p{margin:.55rem 0 1rem}
.book article>*:not(.portrait){position:relative;z-index:1}
.book-person .section-head,.book-person>p,.book-person>.button{max-width:47%}
.book-person>p{text-wrap:pretty}
.book-person>.portrait{position:absolute;right:0;bottom:0;width:62%;height:96%;object-fit:contain;object-position:bottom right;-webkit-mask-image:linear-gradient(90deg,transparent,black 16%);mask-image:linear-gradient(90deg,transparent,black 16%)}
.company-photo img{aspect-ratio:2.25;object-fit:cover;width:100%;border:2px solid #bd8857;margin-bottom:9px}
.section{padding-block:clamp(18px,2.8vw,38px) 0;scroll-margin-top:14px}
#research,#news{position:relative;isolation:isolate}
#research::before,#news::before{content:"";position:absolute;pointer-events:none;z-index:-1;background:url(assets/bg-mountains.webp) right bottom / contain no-repeat}
#research::before{width:min(48%,560px);height:140px;left:0;bottom:-41px;transform:scaleX(-1);opacity:.64}
#news::before{width:min(70%,780px);height:220px;right:0;top:-80px;opacity:.76}
#news .news{background-color:#fffaf3bd}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.section-head h2:after{content:"";display:block;height:3px;width:1.3em;background:var(--red);margin-top:7px}
.tabs{display:flex;gap:clamp(12px,4vw,52px);overflow:auto;white-space:nowrap;border-bottom:1px solid var(--line);margin:10px 0 16px;font-weight:bold}
.tabs a{padding:4px 3px;border-bottom:3px solid transparent}
.tabs .active{color:var(--red);border-color:var(--red)}
.research-panel{display:grid;grid-template-columns:1.5fr 1fr;gap:5%;align-items:center}
[hidden]{display:none!important}
.cms-managed{display:none!important}
.cms-live .cms-managed.products,.cms-live .cms-managed.three{display:grid!important}
.cms-live .cms-managed.book-grid,.cms-live .cms-managed.feature,.cms-live .cms-managed.contact-panel{display:grid!important}
.cms-live .cms-managed.research-data{display:block!important}
.cms-live .cms-managed.cms-inline{display:inline-flex!important}
.cms-live .static-fallback{display:none!important}
.cms-probe{display:none!important}
.cms-richtext{min-width:0;margin:.65rem 0 1.1rem}
.cms-richtext>*+*{margin-top:.7rem}
.cms-richtext img{height:auto}
.cms-richtext table{display:block;max-width:100%;overflow-x:auto}
.empty{grid-column:1/-1;padding:28px;text-align:center;color:#745e50}
.research-panel img{width:100%;border-radius:8px}
.research-panel h3:not(:first-child){margin-top:10px}
.note{text-align:right;color:#634e40;font-size:.88rem;margin-top:10px}
.products,.three{display:grid;gap:14px}
.products{grid-template-columns:repeat(2,minmax(0,1fr))}
.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{background:#fffaf35e;border:1px solid var(--line);border-radius:9px;padding:12px}
.product{display:grid;grid-template-columns:1.35fr 1fr;gap:5%;align-items:center;min-height:clamp(128px,16vw,215px)}
.product img{width:100%;height:clamp(95px,13vw,176px);object-fit:contain;filter:drop-shadow(0 7px 6px #65401d29)}
.card p{font-size:.9rem;margin:4px 0}
.more{display:inline-block;color:var(--red);font-weight:bold;margin-top:6px;border-bottom:1px solid #a72a2566}
.more:hover{text-decoration:underline}
.tile img{width:100%;height:clamp(105px,14vw,193px);object-fit:contain;margin-bottom:6px}
.news-tabs{margin-top:0;margin-bottom:14px}
.news{display:grid;grid-template-columns:1fr 1.15fr;gap:10px}
.news img{width:100%;height:100%;max-height:150px;object-fit:cover;border-radius:4px}
.news>div{display:flex;min-width:0;flex-direction:column;align-items:flex-start}
.news h3,.news p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical}
.news h3{-webkit-line-clamp:2}
.news p{-webkit-line-clamp:2}
.news .more{margin-top:auto}
.site-footer{
  margin-top:30px;
  background:radial-gradient(ellipse at 13% 0%,#9f3227,transparent 60%),#811d18;
  color:#fff2e3;
}
.site-footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.site-footer a:focus-visible{outline-color:#fff2e3}
.footer-grid{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(0,1fr) minmax(0,.9fr);
  align-items:start;
  gap:clamp(24px,4vw,54px);
  padding-block:clamp(26px,4vw,48px);
}
.footer-grid h2{margin-bottom:12px;font-size:1.12rem;line-height:1.35}
.footer-logo{
  display:inline-block;
  padding:6px 12px;
  margin-bottom:14px;
  border-radius:5px;
  background:#fff0e0;
}
.footer-logo img{width:clamp(106px,11vw,140px);height:auto}
.footer-company h2{margin-bottom:6px;font-size:clamp(1rem,1.65vw,1.32rem)}
.footer-company address,.footer-contact-label{color:#f6d7c4;font-size:.92rem;font-style:normal}
.footer-nav,.footer-contact{border-inline-start:1px solid #fff0de50;padding-inline-start:clamp(14px,3vw,38px)}
.footer-nav ul{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px 12px;
  margin:0;
  padding:0;
  list-style:none;
}
.footer-nav a{display:inline-flex;align-items:center;min-height:28px;font-size:.94rem}
.footer-phone{
  display:block;
  width:fit-content;
  margin-top:2px;
  font-size:clamp(1.08rem,2.1vw,1.65rem);
  font-weight:bold;
  font-variant-numeric:tabular-nums;
  line-height:1.2;
}
.footer-contact-link{
  display:inline-flex;
  align-items:center;
  gap:.55em;
  min-height:38px;
  margin-top:14px;
  padding:4px 11px;
  border:1px solid #fff0de80;
  border-radius:5px;
  font-size:.88rem;
}
.copyright{padding:9px 0;background:#f0dfd2;color:#694c3f;font-size:.8rem}
.copyright .wrap{display:flex;justify-content:space-between;gap:12px 20px}
@media (min-width:651px) and (max-width:850px){
  .footer-nav ul{grid-template-columns:1fr;gap:0}
}
dialog{width:min(90%,720px);max-height:88vh;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);padding:24px}
dialog::backdrop{background:#221711aa}
dialog form{float:right;margin-left:10px}
dialog button{border:0;background:none;font-size:1.8rem;cursor:pointer;color:var(--red)}
dialog img{margin:16px auto;max-height:56vh;object-fit:contain}
@media(max-width:900px) and (min-width:651px){.book article{padding-inline:6%}.book .section-head h2{font-size:1.45rem}.book-person .section-head,.book-person>p,.book-person>.button{max-width:49%}}
@media(max-width:650px){
.identity{gap:10px;letter-spacing:0}.identity span{padding-left:10px}
.primary-nav{gap:5px;font-size:.9rem}.primary-nav a{padding-inline:7px}
.hero-inner{grid-template-columns:1fr;min-height:auto}.hero-copy{text-align:center;padding:17px 0 0}.hero-copy h1 img{margin:0 auto 9px;width:38%}.actions{justify-content:center;margin-top:12px}
.hero{background:none}
.hero-art{min-height:255px;place-items:end center;padding:24px 16px;background:url(assets/bg-hero.webp) right bottom / auto 100% no-repeat;mask-image:linear-gradient(transparent,black 12%)}
.hero-product{position:static;width:min(78%,285px);height:auto}
.book{background:none}
.book-grid,.research-panel{grid-template-columns:1fr}
.book article{min-height:225px;padding:18px 0}
.book article+article{border-top:1px solid var(--line)}
.book-person{padding-bottom:0}
.book-person .section-head,.book-person>p,.book-person>.button{max-width:50%}
.book-person>.portrait{width:60%;height:96%;object-position:bottom right;-webkit-mask-image:linear-gradient(90deg,transparent,black 12%);mask-image:linear-gradient(90deg,transparent,black 12%)}
.products{grid-template-columns:1fr}.three{grid-template-columns:repeat(2,minmax(0,1fr))}#news .three{grid-template-columns:1fr}.news{grid-template-columns:112px minmax(0,1fr)}
.news img{height:112px;max-height:none}.product img{height:110px}.research-panel img{margin-bottom:12px}
.footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 12px}
.footer-company{grid-column:1/-1;padding-bottom:18px;border-bottom:1px solid #fff0de50}
.footer-nav{padding:0;border:0}
.footer-nav ul{gap:4px 8px}
.footer-nav a{min-height:34px;font-size:.88rem}
.footer-contact{padding-inline-start:12px}
.footer-grid h2{margin-bottom:6px}
.footer-contact-link{margin-top:8px;padding-inline:7px}
.copyright .wrap{align-items:center;flex-direction:column;gap:3px;text-align:center}
}
@media(max-width:430px){.footer-nav ul{grid-template-columns:1fr;gap:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.company-photo{display:block}
.company-photo::after{content:"▶";display:grid;place-items:center;position:absolute;inset:50% auto auto 50%;translate:-50% -50%;width:2.9rem;aspect-ratio:1;border:2px solid #fff4e9;border-radius:50%;background:var(--red);color:white}
dialog video{display:block;width:100%;max-height:64vh;margin-top:16px;background:#241710}
.profile-photos{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:center}
.profile-photos img{max-height:34vh}
.page-main{min-height:56vh}
.interior{padding-block:clamp(22px,4vw,54px)}
.interior h1{font-size:clamp(1.85rem,4vw,3rem);line-height:1.2}
.interior .section-head{margin-bottom:22px}
.interior h1::after{content:"";display:block;width:1.3em;height:3px;margin-top:9px;background:var(--red)}
.feature,.contact-panel{border:1px solid var(--line);border-radius:9px;background:#fffaf35e;padding:clamp(16px,3vw,36px)}
.feature{display:grid;grid-template-columns:1fr 1.35fr;gap:clamp(16px,4vw,48px);align-items:center}
.feature h2,.contact-panel h2{font-size:clamp(1.15rem,2.4vw,1.9rem)}
.feature p,.contact-panel p{margin:.65rem 0 1.1rem}
.feature video{width:100%;max-height:64vh;background:#241710;border-radius:5px}
.profile>img{width:100%;max-height:430px;object-fit:contain}
.event-photo{max-height:235px;border-radius:5px;margin-bottom:.5rem}
@media(max-width:650px){.feature{grid-template-columns:1fr}.profile>img{max-height:330px}}

@media(max-width:650px){
  html.nav-enhanced{scroll-padding-top:4.75rem}
  html:has(.mobile-menu[open]){overflow:hidden}
  .nav-enhanced .identity-header,.nav-enhanced .primary-nav{display:none}
  .nav-enhanced .site-nav{border-bottom:1px solid var(--line)}
  .nav-enhanced .mobile-bar,.mobile-menu-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:64px;
    gap:16px;
  }
  .mobile-brand img{width:104px;height:auto;margin:4px 0;max-height:none}
  .menu-button,.mobile-menu .menu-button{
    display:grid;
    place-items:center;
    width:44px;
    height:44px;
    padding:0;
    border:1px solid var(--line);
    border-radius:50%;
    background:#fffaf380;
    color:var(--red);
    cursor:pointer;
    transition:transform 220ms cubic-bezier(.2,.9,.32,1.55),background-color 180ms ease;
  }
  .menu-button:hover,.mobile-menu .menu-button:hover{background:#fffaf3}
  .menu-button:active,.mobile-menu .menu-button:active{transform:scale(.87)}
  .menu-icon,.close-icon{position:relative;display:block;width:19px;height:18px}
  .menu-icon::before,.menu-icon::after,.close-icon::before,.close-icon::after{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    width:100%;
    height:2px;
    border-radius:2px;
    background:currentColor;
  }
  .menu-icon::before{transform:translateY(-6px);box-shadow:0 5px currentColor}
  .menu-icon::after{transform:translateY(4px)}
  .close-icon::before{transform:rotate(45deg)}
  .close-icon::after{transform:rotate(-45deg)}
  .mobile-menu[open]{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    max-width:none;
    max-height:none;
    margin:0;
    padding:0 0 max(1rem,env(safe-area-inset-bottom));
    overflow:auto;
    overscroll-behavior:contain;
    border:0;
    border-radius:0;
    background:var(--paper) url(assets/paper.webp);
    animation:menu-drop 420ms cubic-bezier(.25,.88,.26,1) both;
  }
  .mobile-menu form{float:none;margin:0}
  .mobile-menu-bar{border-bottom:1px solid var(--line)}
  .mobile-menu-links{display:grid;padding-block:clamp(12px,5vh,40px)}
  .mobile-menu-links a{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:54px;
    padding:12px 8px;
    border-bottom:1px solid var(--line);
    font-size:clamp(1.12rem,5.5vw,1.65rem);
    font-weight:bold;
    animation:menu-link-pop 430ms cubic-bezier(.2,.85,.3,1) both;
    animation-delay:calc(var(--menu-index, 0) * 28ms);
  }
  .mobile-menu-links a::after{
    content:"";
    width:.42em;
    height:.42em;
    border-top:1.5px solid;
    border-right:1.5px solid;
    transform:rotate(45deg);
    opacity:.65;
  }
  .mobile-menu-links a[aria-current="page"]{color:var(--red);background:#fffaf375}
  @keyframes menu-drop{
    from{opacity:0;transform:translateY(-30px)}
    68%{opacity:1;transform:translateY(4px)}
    to{opacity:1;transform:translateY(0)}
  }
  @keyframes menu-link-pop{
    from{opacity:0;transform:translateY(-12px) scale(.98)}
    69%{opacity:1;transform:translateY(3px) scale(1.01)}
    to{opacity:1;transform:translateY(0) scale(1)}
  }
}

@media(prefers-reduced-motion:reduce){
  .mobile-menu[open],.mobile-menu-links a{animation:none}
  .menu-button,.mobile-menu .menu-button{transition:none}
  .menu-button:active,.mobile-menu .menu-button:active{transform:none}
}

@media(prefers-reduced-motion:no-preference){
  .hero-copy,.hero-art,.about-hero-copy,.about-hero-product{
    animation:section-in 460ms cubic-bezier(.22,.75,.3,1) backwards;
  }
  .hero-art,.about-hero-product{animation-delay:70ms}
  .motion-ready .scroll-reveal{
    opacity:0;
    transform:translateY(24px) scale(.992);
    transition:
      opacity 620ms cubic-bezier(.2,.72,.25,1),
      transform 680ms cubic-bezier(.2,.82,.24,1);
    transition-delay:var(--reveal-delay,0ms);
    will-change:opacity,transform;
  }
  .motion-ready .scroll-reveal.scroll-reveal-visible{
    opacity:1;
    transform:translateY(0) scale(1);
    will-change:auto;
  }
  @keyframes section-in{
    from{opacity:.55;transform:translateY(10px)}
    to{opacity:1;transform:translateY(0)}
  }
}
