body.mm-home-page {
  --paper: #f4f1e9;
  --ink: #191d16;
  --muted: #4d544a;
  --green: #172d25;
  --home-sage: #e3e6db;
  --rule: #cdc8ba;
  --cream: #f5f1e9;
  --home-on-green: #e4e9d9;
  font-family: "Avenir Next", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

.mm-home-page h1, .mm-home-page h2, .mm-home-page h3, .mm-home-page .mm-brand span {
  font-family: Baskerville, "Songti SC", "Noto Serif CJK SC", STSong, Georgia, serif;
}
.mm-home-page h2 {
  font-size: clamp(2.15rem, 4.4vw, 3.75rem);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
}

.mm-home-page .mm-header { background: var(--green); color: var(--cream); border-bottom: 1px solid #ffffff24; }
.mm-home-page .mm-header-in { min-height: 4.125rem; }
.mm-home-page .mm-brand span { font-size: clamp(1.22rem, 2vw, 1.85rem); }
.mm-home-page .mm-brand small { letter-spacing: .015em; font-size: .75rem; margin-top: 0; }
.mm-home-page .mm-brand img { width: 1.75rem; height: 1.75rem; }
.mm-home-page .mm-header-contact { background: transparent; border-color: #a7b3a4; color: var(--cream); }
.mm-home-page .mm-header-contact:hover { color: var(--green); background: var(--paper); filter: none; }
.mm-home-page .mm-mobile-nav nav, .mm-home-page .mm-mobile-nav .mm-languages {
  background: var(--green);
  color: var(--cream);
}
.mm-home-page .mm-mobile-nav summary { color: var(--cream); }
.mm-home-page .mm-footer { background: var(--green); border-top: 1px solid #748278; }

.mm-home-frame { width: min(calc(100% - clamp(2.75rem, 10.55vw, 9.5rem)), 80.5rem); margin-inline: auto; }
.mm-home-cover {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(31rem, 47vw, 42rem);
  background: var(--green);
  color: var(--cream);
}
.mm-cover-photo { position: absolute; inset: 0 0 0 26%; min-width: 0; }
.mm-cover-photo .mm-art, .mm-cover-photo .mm-art img { width: 100%; height: 100%; }
.mm-cover-photo .mm-art img { object-fit: cover; object-position: center 50%; }
.mm-cover-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--green), #172d25c7 15%, transparent 35%),
              linear-gradient(0deg, #172d258c, transparent 18%);
}
.mm-home-page .mm-cover-caption {
  position: absolute;
  right: clamp(1.25rem, 5vw, 4.75rem);
  bottom: 1.1rem;
  z-index: 1;
  color: var(--cream);
  background: var(--green);
  padding: .4rem .65rem;
  font-size: .85rem;
}
.mm-cover-content { z-index: 1; position: relative; padding-block: 3.5rem 4rem; pointer-events: none; }
.mm-cover-summary { max-width: min(48%, 39rem); pointer-events: auto; }
.mm-home-cover h1 {
  font-size: clamp(3.15rem, 5.5vw, 5.1rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.03em;
  text-wrap: balance;
}
html[lang="zh-CN"] .mm-home-cover h1 { letter-spacing: 0; }
.mm-home-cover h1 span { display: block; white-space: nowrap; }
.mm-cover-summary p {
  max-width: 35ch;
  color: var(--home-on-green);
  margin-top: 1.35rem;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}
.mm-cover-summary .mm-actions { margin-top: 1.55rem; align-items: center; gap: 1.25rem; }
.mm-home-page .mm-cover-summary .mm-editorial-link { color: inherit; display: inline-flex; min-height: 2.8rem; align-items: center; }
.mm-home-gallery { padding-block: clamp(2.85rem, 6vw, 5.5rem); }
.mm-home-intro {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.35rem, 4vw, 4.5rem);
  padding-bottom: clamp(1rem, 2.6vw, 2.5rem);
}
.mm-home-intro h2 { text-wrap: initial; }
.mm-home-intro h2 span { display: block; color: #44634f; }
.mm-home-intro aside {
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--rule);
  background: #faf8f2;
  padding: .8rem 1.05rem;
  margin-top: 1.25rem;
}
.mm-home-intro aside strong { font-weight: 650; color: var(--green); }
.mm-home-intro aside p { color: var(--muted); font-size: .92rem; margin-top: .26rem; }
.mm-home-intro-text { border-inline-start: 1px solid var(--rule); padding-inline-start: clamp(1.35rem, 3.15vw, 3.5rem); }
.mm-home-intro-text p { color: var(--muted); max-width: 58ch; }
.mm-home-intro-text p + p { margin-top: 1rem; }
.mm-home-industry-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 1.15rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-block: .9rem 1.25rem;
  padding-block: .15rem;
}
.mm-home-industry-links a { display: inline-flex; min-height: 2.75rem; align-items: center; }
.mm-gallery-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 0 clamp(.7rem, 1.6vw, 1.6rem); }
.mm-gallery-filters a { text-decoration-color: transparent; }
.mm-gallery-filters a:hover, .mm-gallery-filters a[aria-current] { text-decoration-color: currentColor; }
.mm-gallery-filters a[aria-current] { font-weight: 700; }
.mm-gallery-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.mm-gallery-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 1.2rem;
  position: relative;
  margin: 0;
  padding: .25rem 0 .55rem;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
}
.mm-gallery-page {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 1.7rem 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  scroll-snap-align: start;
}
.mm-gallery-page li { min-width: 0; }
.mm-gallery-rail figure { margin: 0; min-width: 0; }
.mm-gallery-rail .mm-art img { aspect-ratio: 760/1080; object-fit: contain; }
.mm-gallery-entry { display: block; }
.mm-gallery-entry:focus-visible { outline-offset: -.25rem; outline-color: var(--cream); }
.mm-gallery-rail figcaption { margin-top: .45rem; font-size: .9rem; color: var(--muted); }
.mm-gallery-controls { display: flex; justify-content: flex-end; align-items: center; gap: 1rem; margin-top: .75rem; }
[data-gallery-ready] .mm-gallery-rail { scrollbar-width: none; }
[data-gallery-ready] .mm-gallery-rail::-webkit-scrollbar { display: none; }
.mm-gallery-controls progress { width: min(12rem, 40%); height: .25rem; accent-color: var(--green); }
.mm-gallery-arrows { display: flex; gap: .5rem; }
.mm-gallery-arrows button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: var(--home-sage);
  color: var(--green);
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}
.mm-gallery-arrows button:hover { border-color: var(--green); }
.mm-gallery-arrows button[aria-disabled="true"] { opacity: .45; border-color: transparent; cursor: default; }

.mm-editorial-link { color: inherit; text-decoration-thickness: 1px; }
.mm-editorial-link::after { content: " ↗" / ""; margin-inline-start: .38em; display: inline-block; }
.mm-home-feature h3 a { text-decoration: none; }
.mm-home-feature h3 a:hover { text-decoration: underline; }

.mm-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: .85rem 1.3rem; flex-wrap: wrap; }
.mm-home-selected { padding-block: clamp(2.7rem, 6vw, 5rem); }
.mm-home-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.6rem clamp(1.2rem, 3.5vw, 3.5rem);
  margin-top: clamp(1.4rem, 3.35vw, 3rem);
}
.mm-home-feature { min-width: 0; }
.mm-home-feature .mm-art img { max-height: 43rem; object-position: left center; }
.mm-home-feature > div { padding-top: .65rem; border-bottom: 1px solid var(--rule); padding-bottom: .7rem; }
.mm-home-feature h3 { font-size: clamp(1.3rem, 2.1vw, 1.72rem); line-height: 1.3; }
.mm-home-feature p { color: var(--muted); font-size: .9rem; margin-top: .3rem; }

.mm-home-proof { background: var(--green); color: var(--cream); }
.mm-home-proof > .mm-home-frame { position: relative; padding-block: clamp(2.8rem, 4.6vw, 4rem); }
.mm-home-proof h2 { position: absolute; left: 0; top: clamp(4.8rem, 8.3vw, 7.75rem); max-width: 51%; }
.mm-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas: "copy images" "link images";
  grid-template-rows: auto 1fr;
  gap: .85rem 2rem;
  align-items: start;
}
.mm-proof + .mm-proof { border-top: 1px solid #748278; padding-top: 2rem; margin-top: 2.8rem; }
.mm-proof-copy { grid-area: copy; padding-top: clamp(7.3rem, 10.9vw, 10rem); max-width: 39rem; }
.mm-proof + .mm-proof .mm-proof-copy { padding-top: 0; }
.mm-proof-copy h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); }
.mm-proof-copy p { margin-block: .8rem 1.55rem; max-width: 35rem; color: var(--home-on-green); text-wrap: pretty; }
.mm-home-page .mm-proof-link { grid-area: link; color: var(--cream); display: inline-flex; min-height: 2.75rem; align-items: center; justify-self: start; }
.mm-proof-controls { display: none; }
[data-proof-ready] .mm-proof-controls { display: flex; flex-wrap: wrap; gap: .45rem; }
.mm-proof-controls button {
  flex: 0 1 9.3rem;
  min-height: 2.8rem;
  padding: .57rem .7rem;
  border: 1px solid #a7b3a4;
  background: transparent;
  color: var(--cream);
  font: inherit;
  line-height: 1.12;
  cursor: pointer;
}
.mm-proof-controls button[aria-pressed="true"] { background: var(--cream); color: var(--green); font-weight: 650; }
.mm-proof-controls button:focus-visible { outline-color: var(--cream); }
.mm-proof-plates { grid-area: images; width: min(100%, 23.75rem); margin-inline: auto; }
.mm-proof-plates figure { margin: 0; }
.mm-proof-plates figure + figure { margin-top: 1.35rem; }
[data-proof-ready] .mm-proof-plates figure { margin-top: 0; }
.mm-proof-plates figcaption { color: var(--home-on-green); font-size: .9rem; margin-bottom: .48rem; }
.mm-proof-plates a { display: block; color: inherit; }
@media (min-width: 56.25em) {
  [data-proof-ready] .mm-proof-plates { min-block-size: 35.65rem; }
}

.mm-home-process, .mm-home-history, .mm-home-films, .mm-home-faq {
  padding-block: clamp(2.1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--rule);
}
.mm-home-services { background: var(--home-sage); }
.mm-home-services > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); gap: 1.5rem 4rem; padding-block: clamp(2.5rem, 5vw, 4.7rem); }
.mm-home-services #about p { color: var(--muted); margin-top: 1rem; max-width: 35ch; }
.mm-home-services .mm-service-list { display: block; margin: 0; }
.mm-home-services .mm-service-list li { padding: .75rem 0; border: 0; border-top: 1px solid var(--rule); }
.mm-home-services .mm-service-list p { margin: .3rem 0 0; color: var(--muted); }
.mm-service-media {
  display: grid;
  align-content: center;
  justify-content: center;
  text-align: center;
  margin-top: 1.35rem;
  width: min(100%, 23rem);
  aspect-ratio: 2/1;
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--muted);
  font-size: .85rem;
}
.mm-home-faq { display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr); gap: 1.5rem 3rem; }
.mm-home-faq details { border-top: 1px solid var(--rule); }
.mm-home-faq details:last-child { border-bottom: 1px solid var(--rule); }
.mm-home-faq summary { list-style: none; min-height: 3.25rem; padding-block: .65rem; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-weight: 600; }
.mm-home-faq summary::-webkit-details-marker { display: none; }
.mm-home-faq summary::after { content: "+" / ""; font-size: 1.2rem; font-weight: 400; }
.mm-home-faq details[open] summary::after { content: "−" / ""; }
.mm-home-faq p { padding: 0 1.75rem 1rem 0; max-width: 65ch; color: var(--muted); }
.mm-home-process .mm-process { margin-bottom: 0; }
.mm-home-history .mm-history { max-width: 59rem; margin-bottom: 0; }
.mm-home-history .mm-history img { background: transparent; }
.mm-home-films .mm-film-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 2rem; margin-top: 1.4rem; }
.mm-film-list figure { margin: 0; }
.mm-film-list video { display: block; width: 100%; height: auto; max-height: 36rem; background: var(--ink); }
.mm-film-list figcaption { margin-top: .8rem; }

.mm-home-contact { color: var(--cream); background: var(--green); }
.mm-home-contact > div {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 2rem 5rem;
  padding-block: clamp(2.5rem, 5.5vw, 5.75rem);
}
.mm-home-contact > div > div p { margin-top: 1rem; color: var(--home-on-green); max-width: 42ch; }
.mm-home-contact .mm-form { margin: 0; color: var(--cream); }
.mm-home-contact .mm-form :is(input:not([type="hidden"]), select, textarea) {
  background: #2b4135;
  border-color: #9ba99c;
  color: var(--cream);
}
.mm-home-contact .mm-form .mm-button { background: var(--cream); color: var(--green); }
.mm-home-contact .mm-form :is(.mm-form-privacy, .mm-form-status) { color: var(--cream); }

@media (max-width: 55em) {
  .mm-home-cover { min-height: auto; }
  .mm-cover-photo { position: relative; inset: auto; width: 100%; }
  .mm-cover-photo .mm-art img { height: auto; aspect-ratio: 1080/760; }
  .mm-cover-photo::after { background: linear-gradient(0deg, #172d2588, transparent 24%); }
  .mm-cover-content { padding-block: 1.35rem 2.3rem; }
  .mm-cover-summary { max-width: 55ch; }
  .mm-home-cover h1 { font-size: clamp(2.45rem, 11vw, 4.4rem); text-wrap: initial; }
  .mm-cover-summary p { margin-top: .85rem; max-width: 42ch; }
  .mm-cover-summary .mm-actions { margin-top: 1rem; }
  .mm-home-intro { grid-template-columns: 1fr; align-items: start; }
  .mm-home-intro-text { border-inline-start: 0; padding-inline-start: 0; }
  .mm-home-proof h2 { position: static; max-width: none; margin-bottom: .9rem; }
  .mm-proof { grid-template-columns: 1fr; grid-template-areas: "copy" "images" "link"; grid-template-rows: auto; gap: .8rem; }
  .mm-proof-copy { padding-top: 0; }
  .mm-proof-plates { width: min(82%, 23.75rem); }
  [data-proof-ready] .mm-proof-plates { min-block-size: auto; }
  .mm-home-services > div, .mm-home-faq { gap: 1.15rem; grid-template-columns: 1fr; }
  .mm-home-contact > div { grid-template-columns: 1fr; }
}
@media (max-width: 40em) {
  .mm-gallery-page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .7rem; }
  .mm-home-industry-links { gap: .05rem .76rem; }
  .mm-home-features { gap: .8rem; }
  .mm-home-feature h3 { font-size: 1.18rem; }
  .mm-home-history .mm-history { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 46em) {
  .mm-home-page .mm-header-in:has(.mm-mobile-nav[open]) {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .4rem;
  }
  .mm-home-page .mm-header-in:has(.mm-mobile-nav[open]) .mm-brand {
    margin-top: 0;
    min-height: 4.125rem;
  }
  .mm-home-page .mm-mobile-nav[open] summary {
    position: absolute;
    inset: .68rem 0 auto auto;
    margin: 0;
  }
  .mm-home-page .mm-mobile-nav[open] a { min-height: 2.75rem; padding-block: .4rem; }
}
