:root {
  --tm-green: #074f27;
  --tm-deep: #173d2a;
  --tm-paper: #fbf9f3;
  --tm-stone: #f0ede3;
  --tm-gold: #ac884a;
  --tm-line: #d9d5ca;
  --tm-copy: #29382d;
  --zy-ink: var(--tm-deep);
  --zy-text: var(--tm-copy);
  --zy-studio: var(--tm-stone);
  --zy-line: var(--tm-line);
  --zy-muted: #536259;
  --zy-focus: var(--tm-green);
  --zy-space: clamp(44px, 6vw, 84px);
}

body { color: var(--tm-copy); background: var(--tm-paper); }
#header,
#header [data-row="middle"],
#header [data-row="bottom"] {
  background: var(--tm-paper) !important;
  --theme-text-color: var(--tm-deep);
  --theme-link-initial-color: var(--tm-deep);
  --theme-link-hover-color: var(--tm-green);
  --theme-icon-color: var(--tm-deep);
}
#header [data-row="bottom"] { border-top: 1px solid var(--tm-line); }
#header [data-row="bottom"] .ct-container { min-height: 46px; }
#header [data-row="bottom"] .ct-menu-link { letter-spacing: .08em; }
#header [data-device="desktop"] [data-row="middle"] > .ct-container,
#header [data-device="desktop"] [data-row="middle"] [data-column] { height: 82px !important; }
#header :is(.ct-menu-link,.zy-language,.ct-header-trigger,.ct-icon),
#header :is(.ct-menu-link,.zy-language,.ct-header-trigger):focus-visible { color: var(--tm-deep) !important; }
#header .ct-header-trigger { --theme-icon-color: var(--tm-green) !important; }
#header .ct-header-trigger svg rect { fill: var(--tm-green) !important; }
#header :is(.ct-header-trigger,.zy-language):focus-visible { outline-color: var(--tm-green); }
#header .ct-menu-link::before,
#header .ct-menu-link::after { --theme-link-hover-color: var(--tm-green); }
#header .zy-logo .zy-logo-img {
  display: block;
  width: 216px !important;
  height: auto !important;
  max-height: 81px !important;
  object-fit: contain;
}

.zy-footer {
  background: var(--tm-paper);
  color: var(--tm-deep);
  border-top: 1px solid var(--tm-line);
}
.zy-footer :is(.zy-footer-nav a,.zy-footer-nav li,a,p,span,strong) { color: var(--tm-deep) !important; }
.zy-footer a:hover { text-decoration: underline; text-underline-offset: .22em; }
.zy-footer .zy-logo .zy-logo-img {
  width: min(206px,100%) !important;
  height: auto !important;
}
.zy-footer .zy-button-outline { border-color: var(--tm-green); }
.zy-footer .zy-footer-copy { border-color: var(--tm-line); }
.tm-site-owner,.tm-factory-credit { display: block; margin: .28em 0; font-size: .92em; }
.tm-factory-credit { font-weight: 500; }

.zy-hero-full::before {
  background: linear-gradient(90deg, #101d15e8 0%, #101d1585 38%, transparent 71%);
}
.zy-hero-full p { color: #f2f0e8; }
main .entry-content .zy-hero-full .zy-button-ghost { background: #142f22a8; }
main .entry-content .zy-hero-full .zy-button-ghost:hover { background: #173d2af0; }
.zy-media-band::before { background: #14291c88; }
.zy-hero2 {
  min-height: clamp(240px, 26vw, 390px);
  background: var(--tm-stone);
}
.zy-hero2-text { background: var(--tm-paper); border-bottom: 1px solid var(--tm-line); }
.zy-hero2 :is(h1,p) { color: var(--tm-deep); }
.zy-hero2 h1 { font-weight: 500; font-size: clamp(32px,3.6vw,52px); letter-spacing: .005em; }
.zy-hero2-media { padding: clamp(16px,3vw,48px); }
.zy-hero2-media img { max-height: min(25vw,315px); }
.zy-series-grid:not(.zy-series-grid-3) { grid-template-columns: repeat(3,minmax(0,1fr)); }
.zy-series-grid:not(.zy-series-grid-3) .zy-series-note { grid-column: 1/-1; border-block: 1px solid var(--tm-line); }

.tm-content,.tm-feature,.tm-workplace {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto !important;
}
.tm-feature {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  align-items: center;
  gap: clamp(24px,5vw,74px);
  margin-block: clamp(34px,5vw,74px) !important;
}
.tm-feature h1 {
  margin: 0 0 19px;
  font-size: clamp(33px,4.05vw,60px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.025em;
  text-transform: none;
  color: var(--tm-green);
  text-wrap: balance;
}
.tm-feature p,.tm-story p { max-width: 64ch; line-height: 1.7; }
.tm-feature img {
  width: 100%;
  display: block;
  aspect-ratio: 1.55;
  object-fit: cover;
  object-position: center 45%;
}
.tm-feature-action { margin-top: 14px; }
.tm-story { margin-block: clamp(32px,5vw,64px) !important; }
.tm-story h2 { text-transform: none; color: var(--tm-deep); margin-bottom: .55em; }
.tm-workplace { display: grid; margin-block: 0 var(--zy-space) !important; }
.tm-workplace img { width: 100%; max-height: 430px; object-fit: cover; }
.tm-workplace figcaption { margin-top: 8px; font-size: .9rem; color: #535b51; }
.zy-founder { grid-template-columns: minmax(0,1fr); }
.zy-founder p { max-width: 68ch; }
.zy-intro-band,.zy-stats-band { background: var(--tm-stone); }
.zy-stats-band { padding-block: clamp(22px,3vw,40px); }
.zy-stats { max-width: 1180px; padding-inline: 18px; }
.zy-stats strong { font-size: clamp(25px,2.75vw,39px); white-space: nowrap; }
.tm-certs-note { color: #edece4; margin: -8px 0 23px; text-align: center; }
.zy-certs,.zy-cta,.zy-steps { background: var(--tm-deep); }
.tm-finish {
  display: grid;
  place-items: center;
  min-height: 64px;
  padding: .85rem;
  margin: 0;
  border: 1px solid var(--tm-line);
  background: var(--tm-paper);
}
.tm-finish figcaption { margin: 0; }
.tm-material-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  border-block: 1px solid var(--tm-line);
  margin-block: clamp(24px,4vw,52px) 0 !important;
  padding: 13px 0;
}
.tm-material-nav a {
  color: var(--tm-green);
  font-size: .93rem;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.zy-mat { scroll-margin-top: 112px; }

.zy-detail2 > *, .zy-gallery { min-width: 0; }
.zy-thumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  padding: 10px 10px 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  background: var(--tm-paper);
}
.zy-thumbs button { flex: 0 0 64px; width: 64px; height: 64px; }
.zy-detail-info .zy-actions { margin: 1.4rem 0 1.7rem; }
.zy-spec dd { overflow-wrap: anywhere; }
.zy-contact { padding-block: clamp(30px,6vw,70px) !important; }
.zy-contact .zy-dark {
  background: var(--tm-paper);
  color: var(--tm-copy);
  border: 1px solid var(--tm-line);
}
.zy-contact .zy-dark :is(h1,.zy-title,strong) { color: var(--tm-deep); }
.zy-contact .zy-dark :is(p, label, output, a, summary) { color: var(--tm-copy); }
.zy-contact .zy-dark .zy-dark-grid { color: var(--tm-copy); }
.tm-inquiry-grid {
  max-width: 900px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: minmax(0,1.65fr) minmax(0,.85fr);
  align-items: start;
  gap: clamp(22px,4vw,54px);
}
.tm-inquiry-grid .zy-form { width: 100%; margin: 0; }
.tm-inquiry-grid .zy-contact-info {
  grid-template-columns: minmax(0,1fr);
  width: 100%;
  margin: 0;
  padding: 20px 16px;
  border-color: var(--tm-line);
  background: var(--tm-stone);
}
.zy-contact .zy-title { text-transform: none; letter-spacing: -.025em; }
.zy-form :is(input:not([type=checkbox]),select,textarea) { border-color: var(--tm-line) !important; }
.zy-form :is(input,select,textarea,summary):focus-visible { outline-color: var(--tm-green); }
.zy-form .zy-form-actions .zy-button-solid { background: var(--tm-green); border-color: var(--tm-green); color: #fff; }
.tm-form-details { border-block: 1px solid var(--tm-line); padding: 12px 0; }
.tm-form-details summary { cursor: pointer; font-weight: 550; }
.tm-optional-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding-top: 16px; }

:where(.zy-tile,.zy-cat,.zy-series,.zy-button,.zy-thumbs button) {
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
@media (hover: hover) and (prefers-reduced-motion:no-preference) {
  .zy-button:hover { transform: translateY(-2px); }
  .zy-series:hover .zy-series-name,.zy-tile:hover .zy-tile-label { color: var(--tm-green); text-decoration: underline; text-underline-offset: .24em; }
}
.tm-intro {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: var(--tm-paper);
  pointer-events: none;
  animation: tm-intro-exit 760ms cubic-bezier(.22,.68,.33,1) both;
}
.tm-intro img {
  display: block;
  width: min(420px,80vw);
  height: auto;
  animation: tm-intro-logo 620ms cubic-bezier(.22,.68,.33,1) both;
}
@keyframes tm-intro-exit { 0%,62% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@keyframes tm-intro-logo {
  0% { transform: translateY(8px) scale(.982); opacity: .34; }
  56%,100% { transform: translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 780px) {
  #header .zy-logo .zy-logo-img { width: 162px !important; max-height: 64px !important; }
  #header [data-device="mobile"] [data-row="middle"] > .ct-container { min-height: 68px; }
  .zy-hero-full::before { background: linear-gradient(0deg,#101d15ec 0%,#101d1580 46%,transparent 90%); }
  .zy-hero2 { min-height: 0; }
  .zy-hero2 .zy-hero2-text { align-items: start; text-align: left; padding: 25px 20px 20px; }
  .zy-hero2-media img { max-height: 54vw; }
  .tm-content,.tm-feature,.tm-workplace { width: calc(100% - 32px); }
  .tm-feature { grid-template-columns: minmax(0,1fr); margin-block: 26px !important; gap: 23px; }
  .tm-feature h1 { max-width: 15ch; }
  .zy-series-grid:not(.zy-series-grid-3) { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .zy-detail2,.zy-detail-more { grid-template-columns: minmax(0,1fr); }
  .zy-contact .zy-dark { padding-inline: 14px; }
  .tm-inquiry-grid,.tm-optional-fields { grid-template-columns: minmax(0,1fr); }
  .tm-inquiry-grid .zy-contact-info { margin-top: 18px; }
  .zy-stats strong { font-size: clamp(18px,5vw,28px); }
  .zy-mat { scroll-margin-top: 75px; }
}
@media (prefers-reduced-motion:reduce) {
  .tm-intro { display: none; }
  .zy-series img,.zy-tile img,.zy-cat img,.zy-button,.zy-thumbs button { transform: none !important; transition: none !important; }
}

/* Art direction: let the original photography lead each section. */
.zy-hero-full.tm-home-hero {
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  min-height: 0;
  gap: 0;
  padding: 0;
  background: #f8ead6;
}
.zy-hero-full.tm-home-hero::before { display: none; }
.tm-home-hero .zy-hero-full-text {
  align-self: center;
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  padding: clamp(40px,6vw,92px) max(26px,5.3vw);
}
.zy-hero-full.tm-home-hero h1 {
  max-width: 100%;
  color: var(--tm-green);
  font-family: Georgia, 'Songti SC', SimSun, serif;
  font-size: clamp(46px,4.6vw,67px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1;
  text-transform: none;
  text-wrap: pretty;
}
html[lang="zh-CN"] .zy-hero-full.tm-home-hero h1 {
  max-width: 9ch;
  font-size: clamp(40px,4.6vw,67px);
  letter-spacing: .01em;
}
.tm-home-hero p { color: var(--tm-copy); max-width: 36ch; }
.tm-home-hero .zy-actions { gap: 10px; margin-top: 1.55rem; }
main .entry-content .tm-home-hero .zy-button-light {
  background: var(--tm-green);
  border-color: var(--tm-green);
  color: #fff;
}
main .entry-content .tm-home-hero .zy-button-light:hover { background: var(--tm-deep); }
main .entry-content .tm-home-hero .zy-button-ghost {
  background: transparent;
  border-color: var(--tm-green);
  color: var(--tm-green);
}
main .entry-content .tm-home-hero .zy-button-ghost:hover { background: #e9ddc8; color: var(--tm-deep); }
.tm-home-picture { min-width: 0; position: relative; overflow: hidden; }
.tm-home-picture img {
  display: block;
  width: 100%;
  height: min(47vw,680px);
  min-height: 470px;
  object-fit: cover;
  object-position: center 46%;
}
.tm-home-picture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#f8ead677,transparent 16%);
  pointer-events: none;
}
.zy-page-home .zy-tile-media { background: #eee8dc; }
.zy-page-home .zy-tile-media img {
  padding: 0;
  aspect-ratio: 4 / 4.35;
  object-fit: cover;
  mix-blend-mode: normal;
}
.zy-page-home .zy-tile:nth-child(2) img {
  object-fit: contain;
  padding: 7%;
  mix-blend-mode: multiply;
}
.zy-page-home .zy-tile-label {
  font-weight: 600;
  text-transform: none;
  letter-spacing: .045em;
}
.zy-media-band.tm-home-factory {
  display: grid;
  grid-template-columns: minmax(0,1.13fr) minmax(0,.87fr);
  min-height: 0;
  background: var(--tm-stone);
  padding: 0;
}
.zy-media-band.tm-home-factory::before { display: none; }
.zy-media-band.tm-home-factory > img {
  width: 100%;
  height: 100%;
  display: block;
  min-height: 390px;
  object-fit: cover;
}
.zy-media-band.tm-home-factory .tm-home-factory-copy,
.zy-media-band.tm-home-factory .tm-home-factory-copy > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  position: static;
  transform: none;
  width: auto;
}
.zy-media-band.tm-home-factory .tm-home-factory-copy { padding: clamp(31px,5.1vw,80px); }
.tm-home-factory-copy h2 {
  color: var(--tm-green);
  text-wrap: balance;
  text-transform: none;
  font-size: clamp(30px,3vw,43px);
  line-height: 1.08;
  font-weight: 450;
  text-align: left;
  margin: 0 0 12px;
}
.zy-media-band.tm-home-factory p { color: var(--tm-copy); }
.zy-media-band.tm-home-factory a {
  border-color: var(--tm-green);
  background: var(--tm-green);
  color: #fff;
}
.zy-hero2.tm-photo-cover .zy-hero2-media { padding: 0; }
.zy-hero2.tm-photo-cover .zy-hero2-media img {
  height: clamp(270px,26vw,390px);
  max-height: none;
  object-fit: cover;
  object-position: center 57%;
  mix-blend-mode: normal;
}
.zy-workshop-grid figcaption,.zy-process-grid figcaption {
  margin-block: .65rem;
  font-size: .9rem;
  color: var(--tm-copy);
}
@media (max-width: 780px) {
  .zy-hero-full.tm-home-hero,.zy-media-band.tm-home-factory {
    grid-template-columns: minmax(0,1fr);
  }
  .tm-home-hero .zy-hero-full-text { padding: 34px 20px 28px; }
  .zy-hero-full.tm-home-hero h1 { max-width: 100%; font-size: clamp(39px,10.4vw,49px); }
  html[lang="zh-CN"] .zy-hero-full.tm-home-hero h1 { max-width: 14ch; font-size: 40px; }
  .tm-home-hero .zy-actions { display: grid; grid-template-columns: 1fr 1fr; }
  main .entry-content .tm-home-hero .zy-actions .zy-button { padding-inline: 9px; font-size: 11px; letter-spacing: .035em; }
  .tm-home-picture img { min-height: 0; height: clamp(220px,58vw,340px); object-position: center 48%; }
  .tm-home-picture::after { display: none; }
  .zy-media-band.tm-home-factory > img { min-height: 0; aspect-ratio: 1.55; }
  .zy-media-band.tm-home-factory .tm-home-factory-copy { padding: 28px 20px 34px; }
  .zy-hero2.tm-photo-cover .zy-hero2-media img { height: clamp(164px,45vw,250px); }
}

/* Custom footer palette with enough specificity to override the theme skin. */
#footer.zy-footer {
  background: var(--tm-paper);
  color: var(--tm-deep);
  border-top: 1px solid var(--tm-line);
  padding: clamp(36px,4vw,56px) max(4vw,16px) 22px;
}
#footer.zy-footer .zy-footer-grid {
  grid-template-columns: minmax(0,1.03fr) minmax(0,.9fr) minmax(0,1.42fr) minmax(0,.9fr);
  gap: clamp(22px,3vw,44px);
}
#footer.zy-footer .zy-footer-brand .zy-logo { align-items: flex-start; width: fit-content; }
#footer.zy-footer .zy-footer-brand .zy-logo-img { width: min(202px,100%) !important; height: auto !important; }
#footer.zy-footer .tm-footer-heading {
  color: var(--tm-deep);
  display: block;
  margin: 0 0 .7rem;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: .01em;
  text-transform: none;
}
#footer.zy-footer .tm-footer-owner {
  margin: .65rem 0 0;
  font-size: 13px;
  line-height: 1.55;
}
#footer.zy-footer .tm-footer-owner .tm-footer-heading { margin-bottom: .35rem; }
#footer.zy-footer .tm-footer-address {
  display: grid;
  gap: .4rem;
  font-size: 14px;
  line-height: 1.55;
  font-style: normal;
  overflow-wrap: anywhere;
}
#footer.zy-footer .zy-footer-nav ul { gap: 0; }
#footer.zy-footer .zy-footer-nav a { min-height: 32px; }
#footer.zy-footer .zy-footer-cta { gap: .6rem; }
#footer.zy-footer .zy-footer-cta h2 { margin-bottom: .1rem; }
#footer.zy-footer .zy-footer-cta a.zy-footer-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-align: center;
  color: #fff !important;
  background: var(--tm-green);
  border-color: var(--tm-green);
  font-weight: 600;
  letter-spacing: .055em;
}
#footer.zy-footer .zy-footer-cta a.zy-footer-btn:hover { background: var(--tm-deep); }
#footer.zy-footer .zy-footer-cta a[href^="tel:"] { text-decoration: underline; text-underline-offset: .22em; }
#footer.zy-footer .zy-footer-copy { margin-top: clamp(26px,4vw,44px); border-color: var(--tm-line); }
#footer.zy-footer :is(a,button):focus-visible {
  outline: 2px solid var(--tm-green);
  outline-offset: 3px;
}
@media (max-width: 1000px) {
  #footer.zy-footer .zy-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
  #footer.zy-footer .zy-footer-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
  #footer.zy-footer .zy-footer-nav ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 .75rem; align-items: start; }
  #footer.zy-footer .zy-footer-nav a { min-height: 44px; width: fit-content; }
  #footer.zy-footer .zy-footer-brand .zy-logo-img { width: 184px !important; }
}
