/* MU·YS — warm paper, leafy greens, and small everyday joys. */
:root {
  --ink:#354127; --ink-soft:#485638; --paper:#fbf5ec; --paper-2:#f0eadf;
  --lime:#71874b; --muted:#737762; --line:#d9dccb; --dark-line:#d9dccb;
  --cream:#fbf5ec; --leaf:#50643a; --sage:#eaf0df; --peach:#f4ded0;
}
body[data-theme="muyi"] { background:var(--cream); color:var(--ink); }
body[data-theme="muyi"] :focus-visible { outline-color:#637b43; }
body[data-theme="muyi"] ::selection { color:#354127; background:#dbe6c4; }
body[data-theme="muyi"] .eyebrow { color:#71815b; letter-spacing:2.2px; }
body[data-theme="muyi"] :is(.site-header,.collection-header,.detail-header) {
  background:rgba(251,245,236,.96); color:var(--ink); border-bottom:1px solid #e5e4d8;
  backdrop-filter:blur(14px); height:88px;
}
body[data-theme="muyi"] .site-header.scrolled { background:rgba(251,245,236,.98); }
.logo .muyi-logo { display:block; width:148px; height:59px; mix-blend-mode:darken; }
body[data-theme="muyi"] .site-header.scrolled { box-shadow:0 4px 22px #50643a08; }
body[data-theme="muyi"] :is(.site-nav a,.collection-nav a,.collection-breadcrumb a) { color:#596449; }
body[data-theme="muyi"] :is(.site-nav a:hover,.site-nav a.active,.collection-nav a:hover) { color:#354127; }
body[data-theme="muyi"] :is(.header-cta,.collection-header-cta) { border:1px solid #b9c5a5; border-radius:12px; color:#465a30; }
body[data-theme="muyi"] :is(.header-cta:hover,.collection-header-cta:hover) { background:#e7eddb; color:#354127; }
body[data-theme="muyi"] .language-switch a { color:#58634a; border-color:#c8d0ba; background:transparent; border-radius:9px; }
body[data-theme="muyi"] .language-switch a[aria-current="true"] { color:#fff; background:#52663c; border-color:#52663c; }
body[data-theme="muyi"] .menu-toggle { border-color:#c2cbb4; border-radius:12px; }
body[data-theme="muyi"] .menu-toggle span { background:#46552c; }
body[data-theme="muyi"] .button { border-radius:13px; min-height:52px; padding:0 23px; font-size:14px; gap:22px; }
body[data-theme="muyi"] .button-primary { background:#52663b; border-color:#52663b; color:#fffdf6; }
body[data-theme="muyi"] .button-primary:hover { background:#40532e; border-color:#40532e; }
body[data-theme="muyi"] .button-ghost { background:transparent; color:#52633d; border:1px solid #b9c5a5; }
body[data-theme="muyi"] .button-ghost:hover { background:#e8eedf; }

/* The existing media controls still accept uploaded posters and background video. */
body[data-theme="muyi"] .fresh-hero { display:block; min-height:0; height:auto; padding:130px 0 55px; background:var(--cream); color:var(--ink); overflow:hidden; }
.fresh-hero-grid { display:grid; grid-template-columns:1.03fr 1fr; gap:34px; align-items:center; }
.fresh-hero-copy { padding:22px 0 26px; position:relative; z-index:2; }
.fresh-kicker { display:flex; align-items:center; gap:10px; color:#7c8968; font-size:12px; letter-spacing:2px; }
.fresh-kicker>span { width:7px; height:7px; background:#9fae7c; border-radius:50%; }
body[data-theme="muyi"] .fresh-hero h1 { position:relative; margin:27px 0 23px; font-size:clamp(39px,4.1vw,59px); line-height:1.38; letter-spacing:-2px; font-weight:800; max-width:none; }
.fresh-hero h1 em { color:#7f9356; font-style:normal; position:relative; }
.fresh-hero h1 em::after { content:""; position:absolute; height:7px; border-top:2px solid #b5c48d; border-radius:50%; bottom:-6px; left:0; right:0; transform:rotate(-4deg); }
body[data-theme="muyi"] .fresh-hero h1 .hero-flower { display:inline-block; color:#d7a284; font-size:36px; vertical-align:top; margin:5px 0 0 8px; font-weight:400; }
.fresh-intro { color:#747862; font-size:15px; line-height:2.05; max-width:440px; }
body[data-theme="muyi"] .fresh-hero .hero-actions { margin-top:30px; gap:12px; flex-wrap:wrap; }
.fresh-hero-foot { display:flex; align-items:center; gap:9px; margin-top:34px; color:#82876e; font-size:11px; letter-spacing:1px; }
.tiny-leaf { display:inline-block; width:17px; height:10px; background:#a8b582; border-radius:100% 0 100% 0; transform:rotate(-18deg); }
.fresh-portrait { position:relative; min-width:0; aspect-ratio:1; }
body[data-theme="muyi"] .fresh-portrait .hero-media { position:absolute; inset:0; width:100%; height:100%; border-radius:47% 47% 24% 25%; overflow:hidden; background:#f3eadb; opacity:1; transform:none; }
body[data-theme="muyi"] .fresh-portrait .hero-media img { width:100%; height:100%; object-fit:cover; object-position:center; opacity:1; filter:none; transform:none; }
.fresh-portrait::before { content:""; position:absolute; inset:10px -10px -8px 12px; border:1px solid #d0d9b9; border-radius:47% 47% 24% 25%; transform:rotate(4deg); }
.portrait-spark { position:absolute; z-index:2; line-height:1; }
.spark-one { top:9%; left:2%; font-size:52px; color:#9ea97b; transform:rotate(-16deg); }
.spark-two { bottom:13%; right:-12px; font-size:48px; color:#d6aa8c; }
.portrait-label { position:absolute; z-index:2; right:16px; top:17%; writing-mode:vertical-rl; font-size:9px; letter-spacing:3px; color:#7a8065; }
.muyi-note { position:absolute; bottom:1%; left:-24px; z-index:3; display:flex; align-items:center; gap:14px; width:max-content; max-width:95%; background:#fffaf1; color:#536044; border:1px solid #dfdfce; border-radius:17px; padding:16px 21px; transform:rotate(-3deg); box-shadow:0 7px 0 #6371480a; }
.note-heart { color:#b8846d; font-size:32px; }
.muyi-note strong { display:block; font-size:15px; margin-bottom:5px; }
.muyi-note p>span { display:block; font-size:11px; line-height:1.7; color:#7c806d; }
body[data-theme="muyi"] .hero-video-toggle { top:auto; bottom:85px; right:max(24px,calc((100% - 1180px)/2)); border-radius:50%; color:#fff; background:#52663b; }
body[data-theme="muyi"] .capability-bar { background:#e8eddb; border-block:1px solid #dbe3cc; color:#5d6c47; }
body[data-theme="muyi"] .capability-track { min-height:49px; }
body[data-theme="muyi"] .capability-track span { font-size:11px; font-weight:500; letter-spacing:1px; }
body[data-theme="muyi"] .capability-track i { background:#a2b27d; }
body[data-theme="muyi"] .capability-pause { background:#e8eddb; color:#62724b; }

/* Collections are the first destination after the brand introduction. */
body[data-theme="muyi"] .section { padding:80px 0; }
body[data-theme="muyi"] .projects { background:#fffaf4; color:var(--ink); }
body[data-theme="muyi"] :is(.section-heading h2,.section-heading.light h2,.fit-intro h2,.quality-heading h2,.faq-intro h2,.contact-copy h2) { color:#3c492e; font-size:clamp(30px,3.2vw,44px); line-height:1.4; letter-spacing:-1px; }
body[data-theme="muyi"] .section-heading { margin-bottom:34px; gap:50px; }
body[data-theme="muyi"] .section-heading.light .section-lead { color:#777d68; font-size:13px; }
body[data-theme="muyi"] .project-grid { gap:22px; }
body[data-theme="muyi"] .project-card { border:1px solid #e4e5d8; border-radius:22px; background:#fffdfa; padding:9px; box-shadow:0 5px 0 #4b5b2e04; transition:transform .25s,border-color .25s; }
body[data-theme="muyi"] .project-card:hover { transform:translateY(-5px) rotate(-.5deg); border-color:#a8b985; background:#fffdfa; }
body[data-theme="muyi"] .project-photo { border-radius:15px; aspect-ratio:1.06; background:#f1ebdf; }
body[data-theme="muyi"] .project-copy { background:transparent; padding:22px 12px 14px; }
body[data-theme="muyi"] .project-label { color:#85916d; font-size:9px; letter-spacing:1px; }
body[data-theme="muyi"] .project-copy h3 { font-size:21px; margin-top:13px; color:#425232; }
body[data-theme="muyi"] .project-copy p { color:#777c69; font-size:12px; }
body[data-theme="muyi"] .project-copy li { color:#73805e; border:0; background:#eef1e6; border-radius:6px; padding:5px 7px; }
body[data-theme="muyi"] .project-card-action { border-color:#e5e7dc; color:#5e7540; margin-top:20px; }
.muyi-story { position:relative; overflow:hidden; text-align:center; background:#f3e5d9; padding:66px 0; }
.muyi-story::before,.muyi-story::after { content:"✳"; position:absolute; color:#d6ad91; font-size:96px; font-weight:300; top:24%; left:9%; transform:rotate(15deg); }
.muyi-story::after { content:"♡"; font-size:100px; left:auto; right:10%; top:35%; transform:rotate(-18deg); }
.muyi-story h2 { font-size:clamp(27px,3vw,40px); line-height:1.6; margin:20px 0 15px; font-weight:700; letter-spacing:2px; }
.muyi-story p:not(.eyebrow) { font-size:14px; line-height:2; color:#887a68; }
.story-signature { display:block; margin-top:22px; font-size:12px; color:#a18468; letter-spacing:2px; }
body[data-theme="muyi"] .service-grid { border:0; gap:18px; }
body[data-theme="muyi"] .service-card { border:1px solid #dfe4d2; border-radius:18px; padding:26px; min-height:260px; background:#fdfbf5; color:#425232; }
body[data-theme="muyi"] .service-card h3 { margin-top:30px; font-size:22px; }
body[data-theme="muyi"] .service-card.accent-card { background:#e7edd9; }
body[data-theme="muyi"] .service-card:hover { background:#edf2e4; color:#425232; }
body[data-theme="muyi"] .service-card p,body[data-theme="muyi"] .service-card:hover p { color:#757d66; }
body[data-theme="muyi"] .service-card li,body[data-theme="muyi"] .service-card:hover li { color:#768266; border-color:#d6ddc8; border-radius:6px; }
body[data-theme="muyi"] .fit-section { padding:76px 0; background:#eef1e5; color:#425232; }
body[data-theme="muyi"] :is(.fit-intro p:not(.eyebrow),.fit-list p,.quality-grid p) { color:#758063; }
body[data-theme="muyi"] .text-link { color:#5e7540; border-color:#b9c79f; }
body[data-theme="muyi"] .materials { background:#e6ebd9; padding:48px 0; }
body[data-theme="muyi"] .materials h2 { font-size:30px; line-height:1.5; }
body[data-theme="muyi"] .material-tags span { border-color:#bfcaaa; border-radius:30px; background:#f3f5eb; color:#687a50; }
body[data-theme="muyi"] .quality-section { background:#f2e8dc; color:#425232; padding:70px 0; }
body[data-theme="muyi"] .quality-section::after { content:"MU"; color:#53623c06; }
body[data-theme="muyi"] .quality-grid { border:0; gap:24px; margin-top:36px; }
body[data-theme="muyi"] .quality-grid article { border:0; min-height:180px; padding:24px; border-radius:18px; background:#fffaf180; }
body[data-theme="muyi"] .quality-grid h3 { margin-top:26px; }
body[data-theme="muyi"] .faq-list details { background:#fffaf4; padding-inline:20px; margin-bottom:12px; border:1px solid #e1e3d5; border-radius:14px; }
body[data-theme="muyi"] .faq-list { border:0; }
body[data-theme="muyi"] .faq-list summary { font-size:15px; }

/* Clear and welcoming inquiry fields with the existing language-specific rules. */
body[data-theme="muyi"] .contact { background:#e9eedf; padding:75px 0; color:#425232; }
body[data-theme="muyi"] .contact-copy>p:not(.eyebrow) { color:#69795a; }
body[data-theme="muyi"] .contact-checklist { border-color:#bfcbac; }
body[data-theme="muyi"] .brief-form { background:#fffcf6; color:#3d4c2e; border:1px solid #dce3cd; border-radius:24px; box-shadow:0 10px 35px #4f613b08; }
body[data-theme="muyi"] .brief-form :is(label,.form-intro,.form-help,.form-status,.optional,.reference-upload legend) { color:#778066; }
body[data-theme="muyi"] .brief-form :is(input:not([type="checkbox"]),select,textarea) { color:#3d4c2e; background-color:#f6f7ef; border:1px solid #dce2cf; border-radius:9px; padding:12px; }
body[data-theme="muyi"] .brief-form select { appearance:auto; background-image:none; }
body[data-theme="muyi"] .brief-form option { color:#3d4c2e; background:#fffdf7; }
body[data-theme="muyi"] .brief-form ::placeholder { color:#8a907c; }
body[data-theme="muyi"] .brief-form :is(input,select,textarea):focus { border-color:#799656; }
body[data-theme="muyi"] .form-heading { border-color:#dce3cd; }
body[data-theme="muyi"] .form-submit { background:#52663c; color:#fff; border-radius:11px; }
body[data-theme="muyi"] #add-references { background:#f0f4e7; color:#60754a; border-color:#b3c399; border-radius:10px; }
body[data-theme="muyi"] .reference-upload { border-color:#dce3cd; }
body[data-theme="muyi"] .inquiry-receipt { background:#edf4e1; border-color:#aabf8b; border-radius:14px; }
body[data-theme="muyi"] .inquiry-receipt p { color:#5d7146; }
body[data-theme="muyi"] .brief-form .form-status.error { color:#a74a38; }
body[data-theme="muyi"] footer { background:#f6f1e6; color:#526342; border-top:1px solid #dfe3d2; }
body[data-theme="muyi"] :is(.footer-layout>p,.collection-footer-links) { color:#808970; }
body[data-theme="muyi"] .privacy-page p { color:#68775a; }
body[data-theme="muyi"] .privacy-back { color:#52663b; }
body[data-theme="muyi"] .privacy-page section { border-color:#d7dfc9; }

/* Collection and product pages use the same warm visual language. */
body[data-theme="muyi"] .collection-body,body[data-theme="muyi"] .collection-products { background:#faf6ee; }
body[data-theme="muyi"].collection-body main { padding-top:88px; }
body[data-theme="muyi"] :is(.collection-hero,.collection-catalog) { background:#fffaf4; }
body[data-theme="muyi"] .collection-hero { padding-top:36px; }
body[data-theme="muyi"] :is(.collection-intro,.collection-story>p,.catalog-description,.catalog-empty,.collection-heading>p,.collection-detail-list p,.direction-card>p,.direction-specs dd,.collection-faq details p) { color:#768066; }
body[data-theme="muyi"] :is(.collection-visual,.catalog-photo) { border-color:#e1e3d5; border-radius:24px; background:#f3eddf; }
body[data-theme="muyi"] :is(.collection-visual figcaption,.collection-tags li,.catalog-tags span,.catalog-specs dd,.collection-detail-list strong,.direction-specs dt,.collection-faq summary) { color:#536442; }
body[data-theme="muyi"] :is(.collection-tags li,.catalog-tags span) { background:#edf1e3; border-color:#dae2ca; border-radius:7px; }
body[data-theme="muyi"] :is(.collection-switcher,.collection-detail-grid) { border:0; gap:12px; }
body[data-theme="muyi"] .collection-switcher a { border:1px solid #d7dfc9; border-radius:12px; color:#64774e; }
body[data-theme="muyi"] .collection-switcher a[aria-current="page"] { color:#fff; background:#607848; }
body[data-theme="muyi"] .collection-switcher a:not([aria-current]):hover { color:#52663b; background:#e9efdc; }
body[data-theme="muyi"] :is(.catalog-inquiry,.catalog-buy) { color:#52663c; background:transparent; border-color:#a8b98d; border-radius:12px; }
body[data-theme="muyi"] :is(.catalog-inquiry:hover,.catalog-buy:hover) { background:#52663c; color:#fff; }
body[data-theme="muyi"] :is(.direction-card,.collection-panel,.collection-panel+.collection-panel) { border:1px solid #dce2d0; border-radius:20px; background:#f4f5eb; }
body[data-theme="muyi"] .collection-cta { background:#e5ecd7; }
body[data-theme="muyi"] .collection-cta .button { background:#52663b; color:#fff; border-color:#52663b; }
body[data-theme="muyi"] .model-launch>span { color:#52663b; background:#fffaf1ed; border-color:#a8b98d; border-radius:12px; box-shadow:0 3px 12px #46552c12; }
body[data-theme="muyi"] .model-launch:hover>span { background:#e9f0df; }
body[data-theme="muyi"] dialog.model-dialog { color:#425232; background:#fffaf2; border-color:#b8c9a2; border-radius:20px; }
body[data-theme="muyi"] .model-head { border-color:#dbe2cf; }
body[data-theme="muyi"] :is(.model-close,.model-action-reset,.model-foot button) { color:#52663b; border-color:#b8c9a2; border-radius:10px; }
body[data-theme="muyi"] :is(.model-status,.model-foot p) { color:#71805e; }
body[data-theme="muyi"] .model-status.model-error { color:#a74a38; }
body[data-theme="muyi"] .model-action { background:#52663b; color:#fff; border-color:#52663b; border-radius:10px; }
body[data-theme="muyi"] .model-stage model-viewer { --progress-bar-color:#7c9259; }

/* Service detail pages, including generated cards. */
body[data-theme="muyi"] :is(.service-hero,.integrated-section,.detail-process-section,.showcase-section) { background:#edf1e3; color:#435333; }
body[data-theme="muyi"] .service-hero::before { background:none; }
body[data-theme="muyi"] :is(.detail-heading.light h2,.service-hero-mark strong,.dark-list,.integrated-card>h3,.integrated-direction h4,.showcase-card h3) { color:#435333; }
body[data-theme="muyi"] :is(.service-intro,.service-breadcrumb,.service-breadcrumb a,.detail-heading.light>p,.integrated-card>p,.integrated-direction p,.integrated-direction li,.showcase-card p,.showcase-card li,.detail-process p) { color:#758365; }
body[data-theme="muyi"] :is(.integrated-card,.showcase-card,.detail-card,.delivery-panel) { background:#fffaf2; border:1px solid #dce3cd; border-radius:20px; }
body[data-theme="muyi"] .showcase-card::before,body[data-theme="muyi"] .showcase-card::after { opacity:.08; }
body[data-theme="muyi"] .service-switcher a { border-color:#b9c9a0; color:#60744b; border-radius:9px; }
body[data-theme="muyi"] .service-switcher a.active { background:#5f7745; color:#fff; }
body[data-theme="muyi"] .detail-cta { background:#e4ecd6; }
body[data-theme="muyi"] .detail-cta-button { background:#52663b; color:#fff; border-radius:12px; }

@media (max-width:1050px) {
  .fresh-hero-grid { gap:20px; }
  body[data-theme="muyi"] .fresh-hero h1 { font-size:44px; }
  .logo .muyi-logo { width:128px; height:51px; }
  body[data-theme="muyi"] .project-grid { gap:16px; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .muyi-note { left:-10px; padding:12px 14px; }
  .muyi-note p>span { font-size:10px; }
}
@media (max-width:760px) {
  body[data-theme="muyi"] :is(.site-header,.collection-header,.detail-header) { height:72px; }
  .logo .muyi-logo { width:109px; height:43px; }
  body[data-theme="muyi"] .site-nav { background:#fbf5ec; border-color:#dce2cf; }
  body[data-theme="muyi"] .site-nav a { color:#52633c; border-color:#e0e5d5; }
  body[data-theme="muyi"] .fresh-hero { padding:105px 0 32px; }
  .fresh-hero-grid { grid-template-columns:1fr; gap:25px; }
  .fresh-hero-copy { padding:0; }
  .fresh-kicker { font-size:10px; letter-spacing:1px; }
  body[data-theme="muyi"] .fresh-hero h1 { font-size:clamp(32px,8.8vw,45px); line-height:1.4; letter-spacing:-1.3px; margin:20px 0 18px; }
  body[data-theme="muyi"] .fresh-hero h1 .hero-flower { font-size:25px; margin-left:4px; }
  .fresh-intro { font-size:13px; line-height:1.9; }
  body[data-theme="muyi"] .fresh-hero .hero-actions { flex-direction:row; gap:8px; margin-top:22px; }
  body[data-theme="muyi"] .fresh-hero .button { width:auto; min-width:0; padding:0 14px; min-height:46px; font-size:12px; gap:12px; }
  .fresh-hero-foot { margin-top:21px; font-size:9px; letter-spacing:0; }
  .fresh-portrait { width:min(100%,390px); margin:0 auto; }
  .muyi-note { left:5px; bottom:1%; padding:12px 16px; }
  .muyi-note strong { font-size:13px; }
  .portrait-label { top:22%; right:12px; }
  .spark-two { right:2px; }
  body[data-theme="muyi"] .hero-video-toggle { bottom:60px; right:24px; top:auto; }
  body[data-theme="muyi"] .section { padding:50px 0; }
  body[data-theme="muyi"] .section-heading { gap:16px; margin-bottom:26px; }
  body[data-theme="muyi"] :is(.section-heading h2,.section-heading.light h2,.fit-intro h2,.quality-heading h2,.faq-intro h2,.contact-copy h2) { font-size:29px; }
  body[data-theme="muyi"] .project-grid { gap:12px; }
  body[data-theme="muyi"] .project-card { padding:6px; border-radius:17px; }
  body[data-theme="muyi"] .project-copy { padding:15px 7px 10px; }
  body[data-theme="muyi"] .project-photo { aspect-ratio:1; border-radius:12px; }
  body[data-theme="muyi"] .project-copy h3 { font-size:17px; }
  body[data-theme="muyi"] .project-copy p { font-size:11px; line-height:1.8; }
  body[data-theme="muyi"] .project-label { font-size:7px; letter-spacing:.3px; }
  body[data-theme="muyi"] .project-copy ul { gap:4px; padding-top:15px; }
  body[data-theme="muyi"] .project-copy li { font-size:9px; padding:4px 5px; }
  .muyi-story { padding:45px 0; }
  .muyi-story h2 { font-size:27px; letter-spacing:0; }
  .muyi-story::before { font-size:42px; left:1%; top:24%; }
  .muyi-story::after { font-size:45px; right:1%; top:65%; }
  .muyi-story .eyebrow { font-size:8px; }
  .muyi-story p:not(.eyebrow) { font-size:12px; }
  body[data-theme="muyi"] .service-grid { grid-template-columns:1fr; gap:12px; }
  body[data-theme="muyi"] .service-card { min-height:0; padding:23px; }
  body[data-theme="muyi"] .service-card h3 { margin-top:20px; }
  body[data-theme="muyi"] .service-card ul { padding-top:18px; }
  body[data-theme="muyi"] :is(.fit-section,.quality-section,.contact) { padding:50px 0; }
  body[data-theme="muyi"] .quality-grid { grid-template-columns:1fr; gap:12px; }
  body[data-theme="muyi"] .quality-grid article { min-height:0; }
  body[data-theme="muyi"] .brief-form { padding:24px 18px; border-radius:18px; }
  body[data-theme="muyi"] .form-row { grid-template-columns:1fr; gap:0; }
  body[data-theme="muyi"] .collection-hero-copy h1 { font-size:44px; }
  body[data-theme="muyi"] .catalog-copy h3 { font-size:25px; }
  body[data-theme="muyi"] .collection-visual,body[data-theme="muyi"] .catalog-photo { border-radius:18px; }
  html[lang="en"] .fresh-hero h1 { font-size:40px; }
}
@media (prefers-reduced-motion:reduce) {
  body[data-theme="muyi"] .project-card:hover { transform:none; }
}
