*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f4ed;color:#171815;font-family:Arial,"Microsoft YaHei",sans-serif}img{width:100%;display:block}a{text-decoration:none;color:inherit}.header{height:64px;padding:0 3.2%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;position:sticky;top:0;z-index:30;background:rgba(247,246,239,.95);border-bottom:1px solid #ddd}.logo img{width:150px}.nav{display:flex;gap:32px;font-size:12px}.tools{justify-self:end;font-size:10px}.menu-btn{display:none}.ratio{aspect-ratio:16/9}.hero{position:relative;overflow:hidden}.hero>img{height:100%;object-fit:cover}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(245,244,237,.64),transparent 56%)}.hero-copy{position:absolute;z-index:2;left:7%;top:24%}.hero-copy small,.section-head small,.red-copy small,.tech-copy small,.oured small,.value small{font-size:10px;letter-spacing:.15em}.hero-copy h1{font-size:clamp(48px,6vw,86px);font-weight:400;line-height:1;margin:20px 0}.hero-copy p{font-size:14px}.hero-copy a{display:inline-block;margin-top:30px;border-bottom:1px solid;padding-bottom:7px;font-size:12px}.products,.life,.explore{padding:90px 6%;max-width:1500px;margin:auto}.section-head{text-align:center;margin-bottom:45px}.section-head h2{font-size:36px;font-weight:400;margin:12px}.tabs{font-size:12px;margin-top:20px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.pic{aspect-ratio:3/4;overflow:hidden}.pic img{height:100%;object-fit:cover}.cards h3{font-size:15px;font-weight:400}.cards p{font-size:11px;line-height:1.7;color:#666}.btn{display:table;margin:45px auto 0;border:1px solid;padding:11px 30px;font-size:11px}.duo{display:grid;grid-template-columns:1fr 1fr}.tile{position:relative;aspect-ratio:4/5;overflow:hidden}.tile img{height:100%;object-fit:cover;filter:brightness(.78)}.tile>div{position:absolute;left:10%;bottom:10%;color:#fff}.tile h2{font-size:44px;font-weight:400;line-height:1.08;margin:12px 0}.tile p{font-size:13px;line-height:1.7}.life-grid,.explore-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.life-grid>div,.explore-grid>div{position:relative;aspect-ratio:3/4;overflow:hidden}.life-grid img,.explore-grid img{height:100%;object-fit:cover}.life-grid span,.explore-grid span{position:absolute;bottom:18px;left:18px;color:#fff;font-size:13px}.value{padding:90px 7%;display:grid;grid-template-columns:1fr 2fr;background:#ecece6}.value-title h2{font-size:48px;font-weight:400;line-height:1.05}.value-items{display:grid;grid-template-columns:repeat(3,1fr)}.value-items article{padding:20px 30px;border-left:1px solid #ccc}.value-items b{font-size:10px}.value-items h3{font-weight:400;margin-top:70px}.value-items p{line-height:1.8;color:#666}.red{display:grid;grid-template-columns:55% 45%;background:#f6f3ed}.red-media{aspect-ratio:16/9;align-self:center;overflow:hidden}.red-media img{height:100%;object-fit:cover}.red-copy{padding:8%;align-self:center}.red-copy h2,.tech-copy h2,.oured h2{font-size:48px;font-weight:400;line-height:1.08;margin:18px 0 30px}.red-copy .lead{font-size:17px;line-height:1.8}.red-copy>p{font-size:13px;line-height:1.9}.standards{display:grid;grid-template-columns:1fr 1fr;margin:35px 0;border-top:1px solid #d4c9c2}.standards span{padding:16px 0;border-bottom:1px solid #d4c9c2;font-size:15px}.tech{display:grid;grid-template-columns:45% 55%;max-width:1500px;margin:auto;padding:90px 6%;gap:8%}.tech-media{aspect-ratio:4/5;overflow:hidden}.tech-media img{height:100%;object-fit:cover}.tech-copy{align-self:center}.accordion details{border-top:1px solid #bbb;padding:18px 0}.accordion details:last-child{border-bottom:1px solid #bbb}.accordion summary{font-size:13px;cursor:pointer}.accordion p,.note{font-size:12px;line-height:1.8;color:#666}.note{margin-top:30px}.oured{background:#b7191e;color:#fff;padding:90px 8%;display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:6%;align-items:end}.oured h2{margin-bottom:0}.oured p{font-size:13px;line-height:1.8}.warm{display:grid;grid-template-columns:1fr 1fr}.warm span{padding:18px 0;border-top:1px solid rgba(255,255,255,.5)}footer{background:#141513;color:#eee;padding:60px 6% 28px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:40px;font-size:11px;line-height:1.9}.footer-logo{width:170px;filter:invert(1)}.footnote{grid-column:1/-1;border-top:1px solid #444;padding-top:20px;color:#999}@media(max-width:800px){.header{grid-template-columns:1fr auto}.nav,.tools{display:none}.menu-btn{display:block;border:0;background:none}.menu-btn:before{content:"MENU";font-size:10px}.ratio{aspect-ratio:4/5}.hero-copy{left:6%;top:18%}.hero-copy h1{font-size:48px}.cards{grid-template-columns:1fr}.duo{grid-template-columns:1fr}.life-grid,.explore-grid{grid-template-columns:1fr 1fr}.value,.red,.tech,.oured{grid-template-columns:1fr}.value-items{grid-template-columns:1fr}.value-items article{border-left:0;border-top:1px solid #ccc;padding:25px 0}.value-items h3{margin-top:25px}.red-media{aspect-ratio:16/9}.red-copy{padding:60px 7%}.tech{gap:35px;padding:65px 7%}.tech-media{aspect-ratio:16/9}.oured{gap:30px;padding:65px 7%}footer{grid-template-columns:1fr}.pic{aspect-ratio:16/9}.tile{aspect-ratio:16/9}}

/* V4.1 LOGO UPDATE
   New official JOYABLE logo is used globally.
   China Red limited logo is used only inside the China Red campaign section. */
.logo img{
  width:auto;
  height:38px;
  max-width:150px;
  object-fit:contain;
}
.footer-logo{
  width:auto;
  height:64px;
  max-width:190px;
  object-fit:contain;
  filter:invert(1);
}
.china-red-limited-logo{
  width:min(360px,88%);
  height:auto;
  object-fit:contain;
  margin:0 0 34px;
}
@media(max-width:800px){
  .logo img{height:34px;max-width:128px}
  .footer-logo{height:58px;max-width:170px}
  .china-red-limited-logo{width:min(330px,92%);margin-bottom:28px}
}


/* V4.2 — WHITE SYSTEM */
:root{
  --site-white:#ffffff;
}
html,body{
  background:#ffffff !important;
}
.header{
  background:#ffffff !important;
  border-bottom:1px solid #eeeeee !important;
}
.products,
.life,
.explore,
.value,
.red,
.tech,
.oured,
footer{
  background:#ffffff;
}
.products,.life,.explore,.value,.red,.tech{
  color:#171815;
}
.value{
  background:#ffffff !important;
}
.red{
  background:#ffffff !important;
}
.oured{
  background:#ffffff !important;
  color:#171815 !important;
  border-top:1px solid #eeeeee;
  border-bottom:1px solid #eeeeee;
}
.warm span{
  border-top:1px solid #d8d8d8 !important;
}
footer{
  background:#ffffff !important;
  color:#171815 !important;
  border-top:1px solid #e8e8e8;
}
.footer-logo{
  filter:none !important;
}
.footnote{
  border-top:1px solid #e8e8e8 !important;
  color:#777 !important;
}

/* All text placed on images, except the homepage hero,
   is horizontally centered and positioned at 4/5 image height */
.image-text-panel>div{
  left:50% !important;
  right:auto !important;
  bottom:auto !important;
  top:80% !important;
  width:88%;
  transform:translate(-50%,-50%);
  text-align:center;
}
.centered-image-text>div{
  position:relative;
}
.centered-image-text>div>span{
  left:50% !important;
  right:auto !important;
  bottom:auto !important;
  top:80% !important;
  transform:translate(-50%,-50%);
  width:90%;
  text-align:center;
}

/* Keep over-image text legible while retaining the white overall page */
.image-text-panel:after,
.centered-image-text>div:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:42%;
  pointer-events:none;
  background:linear-gradient(to top,rgba(0,0,0,.30),rgba(0,0,0,0));
}
.image-text-panel>div,
.centered-image-text>div>span{
  z-index:2;
}
.image-text-panel{
  position:relative;
}
.centered-image-text>div>span{
  position:absolute;
}

/* Footer filing number */
.footnote{
  font-size:11px;
  line-height:1.8;
}

@media(max-width:800px){
  .image-text-panel>div,
  .centered-image-text>div>span{
    top:80% !important;
  }
}


/* V4.3 — responsive footer contact modal */
.contact-trigger{
  appearance:none;
  border:0;
  background:transparent;
  color:inherit;
  padding:0;
  margin:0;
  font:inherit;
  cursor:pointer;
  border-bottom:1px solid transparent;
}
.contact-trigger:hover{border-bottom-color:currentColor}

.contact-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .25s ease,visibility .25s ease;
}
.contact-modal.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.contact-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.38);
  backdrop-filter:blur(4px);
}
.contact-dialog{
  position:relative;
  z-index:1;
  width:min(920px,92vw);
  min-height:470px;
  background:#fff;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:7%;
  align-items:center;
  padding:64px 68px;
  box-shadow:0 24px 80px rgba(0,0,0,.16);
}
.contact-close{
  position:absolute;
  right:24px;
  top:18px;
  width:36px;
  height:36px;
  border:0;
  background:transparent;
  font-size:30px;
  font-weight:200;
  line-height:1;
  cursor:pointer;
}
.contact-eyebrow{
  margin:0 0 16px;
  font-size:11px;
  letter-spacing:.16em;
}
.contact-dialog h2{
  margin:0;
  font-size:clamp(34px,4vw,58px);
  line-height:1.08;
  font-weight:400;
  letter-spacing:-.04em;
}
.contact-rule{
  width:42px;
  height:1px;
  background:#111;
  margin:30px 0;
}
.contact-main{
  margin:0 0 28px;
  font-size:22px;
  line-height:1.55;
}
.contact-shop{
  margin:0;
  font-size:15px;
  line-height:1.8;
  color:#555;
}
.contact-shop strong{
  color:#111;
  font-weight:500;
}
.contact-qr-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.contact-qr{
  width:min(320px,100%);
  aspect-ratio:1;
  object-fit:contain;
}
.contact-qr-wrap span{
  margin-top:16px;
  font-size:11px;
  letter-spacing:.12em;
  color:#666;
}
body.modal-open{overflow:hidden}

@media(max-width:720px){
  .contact-modal{padding:18px}
  .contact-dialog{
    width:100%;
    max-height:92vh;
    overflow:auto;
    min-height:0;
    grid-template-columns:1fr;
    gap:34px;
    padding:54px 28px 34px;
  }
  .contact-dialog-copy{text-align:center}
  .contact-rule{margin:24px auto}
  .contact-main{font-size:20px}
  .contact-shop{font-size:14px}
  .contact-qr{width:min(260px,72vw)}
  .contact-close{right:12px;top:10px}
}

/* V4.4 Autumn Winter */
.products .cards article,.products .cards article h3,.products .cards article p{text-align:center}.products .cards article p{margin-left:auto;margin-right:auto}


/* V4.5 — lifestyle imagery update */
.life-grid > div{
  aspect-ratio:3/4;
  overflow:hidden;
  position:relative;
}
.life-grid > div img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}
.life-grid > div > span{
  text-align:center;
  white-space:nowrap;
}
@media(max-width:800px){
  .life-grid > div{
    aspect-ratio:3/4;
  }
}
