/* Site-wide editorial rhythm, navigation and interaction feedback. */
.tm-display {
  color: var(--tm-green);
  font: 400 clamp(29px, 3.7vw, 52px) / 1.09 Georgia, 'Songti SC', SimSun, serif;
  letter-spacing: -.03em;
  margin: 0;
  text-transform: none;
}
html[lang="zh-CN"] .tm-display { letter-spacing: .015em; }
.tm-text-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .6em;
  width: max-content;
  max-width: 100%;
  color: var(--tm-green);
  font-weight: 630;
  font-size: .9rem;
  text-decoration: underline;
  text-decoration-color: var(--tm-gold);
  text-underline-offset: .32em;
}
.tm-text-link::after { content: '↗' / ''; display: inline-block; transition: translate .2s ease; }
.tm-text-link:hover::after { translate: 2px -2px; }
:where(.tm-text-link,.tm-filter button,.tm-language-toggle a,.zy-series,.zy-cat,.tm-material-nav a,.tm-news-card a):focus-visible {
  outline: 2px solid var(--tm-green);
  outline-offset: 4px;
}
#header [data-device="desktop"] [data-row="middle"] > .ct-container { position: relative; }
#header [data-device="desktop"] .tm-language-toggle { position: absolute; inset-inline-end: 0; top: 50%; translate: 0 -50%; }
.tm-language-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  gap: 1px;
  border: 1px solid var(--tm-line);
  border-radius: 999px;
  background: var(--tm-stone);
  color: var(--tm-deep);
  white-space: nowrap;
  font-size: 12px;
  line-height: 1;
}
.tm-language-toggle :is(a,span) {
  display: grid;
  place-items: center;
  padding: 8px 9px;
  min-height: 35px;
  min-width: 37px;
  border-radius: 999px;
  line-height: 1;
}
.tm-language-toggle a { color: var(--tm-deep); transition: background-color .2s ease; }
.tm-language-toggle a:hover { background: var(--tm-paper); }
.tm-language-toggle [aria-current] { background: var(--tm-green); color: #fff; font-weight: 630; }
#header [data-device="desktop"] .header-menu-1 .ct-menu-link { font-size: clamp(10px, .92vw, 14px); padding-inline: 8px; white-space: nowrap; }
#header li:not(.current-menu-item) > .ct-menu-link[aria-current] { box-shadow: inset 0 -2px var(--tm-green); }
#header .ct-menu-link:focus-visible { outline: 2px solid var(--tm-green); outline-offset: -4px; }
#offcanvas .ct-menu-link[aria-current] { font-weight: 680; text-decoration: underline; text-underline-offset: .35em; }
#footer.zy-footer .zy-footer-nav a:hover { text-underline-offset: .25em; }
main .entry-content :is(.zy-button,.zy-tile,.zy-series,.zy-cat,.tm-news-photo) { -webkit-tap-highlight-color: #074f2724; }
main .entry-content :is(a.zy-button,button.zy-button,.tm-filter button):active { translate: 0 2px; }
.tm-home-news,
.tm-about-lead,
.tm-about-story,
.tm-download-card {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(24px, 5.5vw, 80px);
  align-items: center;
}
.tm-home-news img,
.tm-about-lead img,
.tm-download-photo img { display: block; width: 100%; height: auto; object-fit: cover; }
.tm-home-news-photo,
.tm-download-photo { overflow: hidden; border-radius: 10px; }
.tm-home-news img { aspect-ratio: 1.6; }
.tm-home-annual { margin: 0 0 16px; font-size: .88rem; }
.tm-home-annual strong { color: var(--tm-green); font-size: 1.1rem; }
.tm-home-news p,.tm-download-copy p { margin: .8rem 0 1.2rem; max-width: 48ch; }

/* About */
main .entry-content .tm-about-lead {
  width: min(1200px, calc(100% - 32px));
  padding-block: clamp(32px,4.4vw,64px);
  margin: 0 auto;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
}
.tm-about-lead .tm-feature-copy h1 { font: 400 clamp(37px,4.4vw,65px) / 1.04 Georgia, 'Songti SC', SimSun, serif; color: var(--tm-green); letter-spacing: -.04em; margin: 0 0 18px; }
html[lang="zh-CN"] .tm-about-lead .tm-feature-copy h1 { letter-spacing: .015em; }
.tm-about-lead .tm-feature-copy h1 span { display: block; }
.tm-about-lead p { max-width: 48ch; line-height: 1.68; }
.tm-about-image { position: relative; margin: 0; padding: 0 0 12px 12px; }
.tm-about-image::before { content: ''; position: absolute; inset: 12px 12px 0 0; border: 1px solid var(--tm-gold); pointer-events: none; }
.tm-about-image img { position: relative; aspect-ratio: 1.6; object-position: center 60%; }
.tm-about-image figcaption { position: relative; padding: 8px 12px; background: var(--tm-stone); color: var(--tm-deep); font-size: .78rem; }
.tm-about-story { align-items: start; border-top: 1px solid var(--tm-line); padding-top: clamp(22px,4vw,48px); margin-top: 0 !important; }
.tm-about-story h2 { font: 400 clamp(29px,3.3vw,47px)/1.12 Georgia, 'Songti SC', SimSun, serif; }
.tm-about-story div p:first-child { margin-top: 0; }
.tm-founder-section .zy-founder { grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); align-items: center; }
.tm-founder-section .tm-workplace { width: 100%; margin: 0 !important; }
.tm-founder-section .tm-workplace img { aspect-ratio: 1.2; max-height: none; object-fit: cover; object-position: center; border-radius: 8px; }
.tm-founder-section .zy-founder h2 { font: 400 clamp(28px,3.5vw,49px)/1.06 Georgia, 'Songti SC', SimSun, serif; text-transform: none; }
.tm-about-expos > .tm-text-link { margin-top: 18px; }
.tm-about-expos .zy-expos img { border-radius: 8px; }
main .entry-content .zy-cta .zy-button-ghost { background: transparent; border-color: #ffffff85; color: #fff; }
main .entry-content .zy-cta .zy-button-ghost:hover { background: #ffffff1a; }
.zy-stats strong { font-variant-numeric: tabular-nums; }

/* Product series */
.tm-overview-lead .zy-hero2-text h1,
.tm-material-lead .zy-hero2-text h1 { font: 400 clamp(35px,4.1vw,58px)/1.05 Georgia,'Songti SC',SimSun,serif; }
.tm-overview-lead .tm-text-link { margin-top: 14px; }
.tm-collections { scroll-margin-top: 90px; }
.tm-collections .zy-series-grid { margin-top: 20px; }
.tm-collections .zy-series-media { border-radius: 10px; }
.tm-collections .zy-series-name { font-weight: 630; text-wrap: balance; }
.tm-collections [hidden], .tm-filter[hidden] { display: none !important; }
.tm-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 18px 20px; }
.tm-filter button { border: 1px solid var(--tm-line); background: var(--tm-paper); color: var(--tm-green); border-radius: 100px; min-height: 42px; padding: 7px 16px; cursor: pointer; transition: background-color .2s ease,color .2s ease; }
.tm-filter button:hover { border-color: var(--tm-green); }
.tm-filter button[aria-pressed="true"] { color: #fff; background: var(--tm-green); border-color: var(--tm-green); }
.tm-collection-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 28px; border-block: 1px solid var(--tm-line); margin-top: 24px; padding: 12px 0; }
.tm-collection-foot p { margin: 0; }
.tm-capabilities { padding-top: 0; }
.tm-capabilities .zy-cats { margin-top: 22px; }
.tm-capabilities .zy-cat { border-radius: 10px; overflow: hidden; }

/* Workshop photography and materials directory */
.tm-factory-wide img { height: clamp(340px,40vw,680px); object-position: 50% 60%; }
.tm-factory-floor .zy-proc img { aspect-ratio: 4/3; }
main .entry-content .tm-material-nav {
  width: min(1200px,calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  align-items: stretch;
  gap: 16px;
  border: 0;
  padding: 0;
  margin-top: clamp(24px,4vw,50px) !important;
}
main .entry-content .tm-material-nav a {
  display: grid;
  gap: 9px;
  padding: 8px 8px 11px;
  border: 1px solid var(--tm-line);
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font-weight: 620;
  transition: border-color .2s ease,background-color .2s ease;
}
.tm-material-nav a:hover { border-color: var(--tm-green); background: var(--tm-stone); }
.tm-material-nav img { width: 100%; height: clamp(64px,9vw,126px); object-fit: cover; border-radius: 4px; }
.tm-material-chapter { padding-block: clamp(34px,5vw,64px); }
.tm-material-chapter + .tm-material-chapter { border-top: 1px solid var(--tm-line); }
.tm-material-chapter .zy-mat-head { grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); gap: clamp(18px,5vw,80px); }
.tm-material-chapter:nth-of-type(odd) .zy-mat-head img { object-position: center 59%; }
.tm-material-chapter:nth-of-type(odd) .zy-mat-img { order: -1; }
.tm-material-caption h2 { text-transform: none; font: 400 clamp(29px,3.65vw,52px)/1.1 Georgia,'Songti SC',SimSun,serif; margin: 0 0 .5rem; }
.tm-material-caption p { margin: 0; max-width: 36ch; }
.tm-material-chapter .zy-mat-img { border-radius: 10px; }
.tm-material-chapter .zy-mat-img img { height: clamp(162px,23vw,330px); }
.tm-material-chapter .zy-mat-grid { gap: 10px; }
.tm-material-chapter .zy-mat-grid > div { padding: 14px; border: 1px solid var(--tm-line); border-radius: 6px; background: #fff8; }

/* News and downloadable guides */
main .entry-content .tm-editorial-intro { padding-bottom: 0; }
.tm-editorial-intro .tm-display { font-size: clamp(38px,5.7vw,78px); }
.tm-editorial-intro p { max-width: 63ch; margin: 14px 0 0; }
.tm-editorial-intro .tm-text-link { margin-top: 16px; }
.tm-news-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(18px,3vw,40px); align-items: stretch; }
.tm-news-card { min-width: 0; border: 1px solid var(--tm-line); border-radius: 10px; overflow: hidden; background: #fff9; }
.tm-news-photo { display: block; overflow: hidden; }
.tm-news-photo img,.tm-article-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; object-position: center 40%; }
.tm-news-copy { padding: clamp(16px,3vw,34px); }
.tm-news-copy time { color: var(--zy-muted); font-size: .8rem; font-weight: 650; }
.tm-news-copy h2 { margin: 6px 0; line-height: 1.14; font: 400 clamp(26px,3vw,39px)/1.12 Georgia,'Songti SC',SimSun,serif; }
.tm-news-copy p { margin: .75rem 0 1rem; }
.tm-news-copy h2 a { color: var(--tm-green); }
.tm-article-photo img { border-radius: 10px; }
.tm-article-photo figcaption { margin-top: 12px; font-size: .85rem; }
.tm-download-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tm-download-buttons a { margin: 0; }

/* Quote page: enquiry and contact details */
main .entry-content .tm-contact-layout { padding: clamp(26px,5vw,76px) 0 !important; }
.tm-contact-wrap {
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr);
  align-items: start;
  gap: clamp(20px,4.4vw,62px);
  width: min(1200px,calc(100% - 32px));
  margin-inline: auto;
}
.tm-contact-layout .tm-contact-lead {
  display: grid;
  padding: clamp(20px,3vw,42px);
  color: #fff;
  background: var(--tm-deep);
  border-radius: 12px;
}
.tm-contact-layout .tm-contact-lead .zy-title { color: #fff; text-align: left; font: 400 clamp(34px,3.7vw,57px)/1.04 Georgia,'Songti SC',SimSun,serif; margin-bottom: 16px; }
.tm-contact-layout .tm-contact-lead .zy-intro { color: #fff; opacity: .95; text-align: left; margin: 0; line-height: 1.58; }
.tm-contact-image { margin: 21px 0 0; }
.tm-contact-image img { display: block; width: 100%; height: auto; aspect-ratio: 1.7; object-fit: cover; border-radius: 7px; }
.tm-contact-layout .zy-contact-info { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 16px 0 0; padding: 15px 0 0; width: 100%; border: 0; border-top: 1px solid #ffffff57; }
.tm-contact-layout .zy-contact-info :is(p,strong,a,span) { color: #fff; line-height: 1.55; }
.tm-contact-layout .zy-contact-info a { text-decoration: underline; text-underline-offset: .2em; }
.tm-contact-layout .tm-inquiry-grid {
  display: block;
  margin: 0;
  width: 100%;
  padding: clamp(16px,3vw,40px);
  background: #fffc;
  border: 1px solid var(--tm-line);
  border-radius: 12px;
}
.tm-contact-layout .tm-form-hint { margin: 8px 0 20px; font-size: .85rem; color: var(--zy-muted); }
.tm-contact-layout .zy-form { display: grid; }
.tm-contact-layout .zy-form label { min-width: 0; }
.tm-contact-layout .zy-form label:focus-within { color: var(--tm-green); }
.tm-contact-layout .zy-form :is(input:not([type=checkbox]),textarea,select) {
  background: #fff; border-radius: 5px !important; min-height: 46px; padding-inline: 10px; width: 100%; max-width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.tm-contact-layout .zy-form :is(input,textarea,select):focus { border-color: var(--tm-green) !important; box-shadow: 0 0 0 2px #074f271a; }
.tm-contact-layout .zy-form label.zy-consent input { width: auto; min-height: auto; }
.tm-contact-layout .tm-form-details summary { padding: 4px 0; }
main .entry-content .tm-contact-layout .zy-form .zy-form-actions button.zy-button { color: #fff; background: var(--tm-green); border-color: var(--tm-green); }
main .entry-content .tm-contact-layout .zy-form .zy-form-actions button.zy-button:hover { background: var(--tm-deep); }
.tm-contact-layout .zy-form button:disabled { opacity: .64; cursor: progress; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.tm-news-photo,.tm-home-news-photo,.tm-about-expos figure,.tm-material-nav a) img { transition: transform .35s ease; }
  :is(.tm-news-photo,.tm-home-news-photo,.tm-about-expos figure,.tm-material-nav a):hover img { transform: scale(1.035); }
  .tm-news-card { transition: box-shadow .22s ease,border-color .22s ease; }
  .tm-news-card:hover { border-color: #bba983; box-shadow: 0 10px 24px #28201512; }
}
@media (max-width: 780px) {
  .tm-home-news,.tm-about-lead,.tm-about-story,.tm-download-card,.tm-contact-wrap,.tm-founder-section .zy-founder { grid-template-columns: minmax(0,1fr) !important; }
  .tm-about-lead .tm-feature-copy h1 { max-width: none; }
  .tm-about-story { gap: 8px; }
  .tm-founder-section .tm-workplace img { aspect-ratio: 1.55; }
  .tm-factory-wide img { height: clamp(238px,66vw,386px); object-position: 62% 58%; }
  main .entry-content .tm-material-nav { gap: 7px; }
  main .entry-content .tm-material-nav a { padding: 4px 4px 7px; font-size: .68rem; }
  .tm-material-nav img { height: clamp(37px,13vw,87px); }
  .tm-material-chapter .zy-mat-head { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .tm-material-chapter:nth-of-type(odd) .zy-mat-img { order: initial; }
  .tm-material-chapter .zy-mat-grid > div { padding: 10px; }
  .tm-news-grid { grid-template-columns: minmax(0,1fr); }
  .tm-contact-layout .tm-contact-lead { display: contents; }
  .tm-contact-layout :is(.tm-contact-headline,.tm-contact-details) { background: var(--tm-deep); color: #fff; border-radius: 10px; padding: 18px; }
  .tm-contact-layout .tm-contact-details { grid-row: 3; }
  .tm-contact-details .tm-contact-image { margin-top: 0; }
  .tm-contact-layout .tm-contact-headline .zy-title { margin-bottom: 8px; }
  .tm-contact-layout .tm-contact-lead .zy-contact-info { grid-template-columns: minmax(0,1fr) minmax(0,.8fr); }
  .tm-contact-layout .zy-contact-info p:nth-child(1) { grid-column: 1/-1; }
  .tm-contact-layout .tm-inquiry-grid { padding-inline: 12px; }
  .tm-contact-layout .tm-contact-wrap { gap: 16px; }
  .tm-contact-layout .tm-inquiry-grid { grid-row: 2; }
  #header [data-device="mobile"] .zy-logo .zy-logo-img { width: clamp(105px,37vw,150px) !important; }
  #header [data-device="mobile"] [data-column="end"] { flex-basis: 48px; }
  .tm-language-toggle :is(a,span) { min-width: 34px; padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .tm-text-link::after,.tm-language-toggle a,.tm-filter button,.tm-material-nav a { transition: none; }
  main .entry-content :is(a.zy-button,button.zy-button,.tm-filter button):active { translate: none; }
}
