/*
Theme Name: Zon'edo
Author: Zon'edo
Description: Custom block theme for ZON'EDO / Guangzhou Zongdu International Biotechnology — cosmetics OEM & ODM, Guangzhou, China.
Version: 1.23.12
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: zonedo
Tags: business, block-theme, full-site-editing
*/

/* =========================================================
   1. Design tokens
   ========================================================= */
:root {
  --zd-gold: #b08d4f;
  --zd-gold-light: #d8c39b;
  --zd-ink: #14110e;
  --zd-ink-soft: #3a342c;
  --zd-cream: #f6f2ea;
  --zd-cream-2: #efe8db;
  --zd-line: #e2d8c7;
  --zd-white: #ffffff;
  --zd-wrap: 1240px;
  --zd-pad: 24px;
  --zd-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --zd-serif: Georgia, "Times New Roman", "Songti SC", "Noto Serif", serif;
}

/* =========================================================
   2. Base
   ========================================================= */
body {
  background: var(--zd-cream);
  color: var(--zd-ink-soft);
  font-family: var(--zd-sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .zd-serif {
  font-family: var(--zd-serif);
  font-weight: 400;
  color: var(--zd-ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.25; }
h4 { font-size: 1rem; }

p { margin-top: 0; }

a { color: var(--zd-gold); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

.zd-wrap {
  width: 100%;
  max-width: var(--zd-wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--zd-pad);
  padding-right: var(--zd-pad);
}
/* Higher specificity: core block styles otherwise reset the auto margins to 0. */
.wp-block-group.zd-wrap,
main .zd-wrap {
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
}
.zd-wrap > *:last-child { margin-bottom: 0; }

.zd-section { padding: 96px 0; }
.zd-section--tight { padding: 64px 0; }
.zd-section--ink { background: var(--zd-ink); }
.zd-section--ink h1, .zd-section--ink h2, .zd-section--ink h3, .zd-section--ink h4 { color: var(--zd-cream); }
.zd-section--ink p, .zd-section--ink li { color: #cfc6b8; }
.zd-section--cream2 { background: var(--zd-cream-2); }

.zd-eyebrow {
  font-family: var(--zd-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--zd-gold);
  margin: 0 0 18px;
}
.zd-section--ink .zd-eyebrow { color: var(--zd-gold-light); }

.zd-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.65;
  color: var(--zd-ink-soft);
  max-width: 62ch;
  margin-bottom: 34px;
}
.zd-section--ink .zd-lead { color: #cfc6b8; }

/* =========================================================
   3. Header
   ========================================================= */
.zd-header {
  background: var(--zd-cream);
  border-bottom: 1px solid var(--zd-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
body.admin-bar .zd-header { top: 32px; }

.zd-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: nowrap;
}
.zd-brandwrap { flex: 0 0 auto; }
.zd-brand {
  font-family: var(--zd-serif);
  font-size: 1.45rem;
  letter-spacing: 0.16em;
  color: var(--zd-ink);
  text-decoration: none;
  white-space: nowrap;
  margin: 0;
  line-height: 1.1;
}
.zd-brandwrap .wp-block-site-title,
.zd-brandwrap .wp-block-site-title a { color: var(--zd-ink); text-decoration: none; }
.zd-tagline {
  margin: 4px 0 0;
  font-family: var(--zd-sans);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #9a8f7d;
  line-height: 1.4;
  white-space: nowrap;
}

.zd-header .wp-block-navigation { flex: 0 1 auto; margin-left: auto; }
.zd-header .wp-block-navigation__container { gap: 30px; flex-wrap: nowrap; }
.zd-header .wp-block-navigation-item__content {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zd-ink-soft);
  padding: 6px 0;
}
.zd-header .wp-block-navigation-item__content:hover { color: var(--zd-gold); text-decoration: none; }

.zd-header-cta { flex: 0 0 auto; margin: 0; }
.zd-header-cta .wp-block-button__link { padding: 13px 26px; font-size: 11px; white-space: nowrap; }

/* =========================================================
   4. Buttons
   ========================================================= */
.wp-block-buttons.zd-btnrow { gap: 14px; }
.zd-btn .wp-block-button__link,
.zd-btn a {
  display: inline-block;
  font-family: var(--zd-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 17px 34px;
  border-radius: 2px;
  background: var(--zd-ink);
  color: var(--zd-white);
  border: 1px solid var(--zd-ink);
  transition: all 0.22s ease;
  text-decoration: none;
}
.zd-btn .wp-block-button__link:hover,
.zd-btn a:hover {
  background: var(--zd-gold);
  border-color: var(--zd-gold);
  color: var(--zd-white);
  text-decoration: none;
}
.zd-btn--gold .wp-block-button__link { background: var(--zd-gold); border-color: var(--zd-gold); }
.zd-btn--gold .wp-block-button__link:hover { background: var(--zd-ink); border-color: var(--zd-ink); }
.zd-btn--ghost .wp-block-button__link {
  background: transparent;
  color: var(--zd-ink);
  border: 1px solid rgba(20, 17, 14, 0.32);
}
.zd-btn--ghost .wp-block-button__link:hover { background: var(--zd-ink); color: #fff; border-color: var(--zd-ink); }
.zd-btn--light .wp-block-button__link {
  background: rgba(20, 17, 14, 0.3);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(3px);
}
.zd-btn--light .wp-block-button__link:hover { background: #fff; color: var(--zd-ink); border-color: #fff; }

/* =========================================================
   5. Hero
   ========================================================= */
.zd-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 74vh;
  padding: 120px 0 90px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.zd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 10, 8, 0.9) 0%, rgba(12, 10, 8, 0.62) 46%, rgba(12, 10, 8, 0.22) 100%);
}
.zd-hero > .zd-wrap { position: relative; z-index: 2; }
.zd-hero h1, .zd-hero h2, .zd-hero p, .zd-hero .zd-eyebrow { color: #fff; }
.zd-hero h1 { max-width: 16ch; margin: 0 0 26px; }
.zd-hero .zd-eyebrow { color: var(--zd-gold-light); }
.zd-hero .zd-lead { color: rgba(255, 255, 255, 0.85); max-width: 52ch; margin-bottom: 36px; }
.zd-hero--short { min-height: 44vh; padding: 100px 0 70px; }
.zd-hero--short h1 { max-width: 24ch; }

.zd-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.zd-hero-meta p { margin: 0; min-width: 118px; }
.zd-hero-meta p strong {
  display: block;
  font-family: var(--zd-serif);
  font-size: 1.85rem;
  font-weight: 400;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}
.zd-hero-meta p span {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

/* =========================================================
   6. Stats strip
   ========================================================= */
.zd-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--zd-line);
  border-bottom: 1px solid var(--zd-line);
}
.zd-stats p {
  margin: 0;
  padding: 40px 24px;
  border-right: 1px solid var(--zd-line);
  text-align: center;
}
.zd-stats p:last-child { border-right: 0; }
.zd-stats p strong {
  display: block;
  font-family: var(--zd-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  color: var(--zd-ink);
  line-height: 1;
  margin-bottom: 10px;
}
.zd-stats p span {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8d8371;
}
.zd-section--ink .zd-stats { border-color: rgba(255, 255, 255, 0.14); }
.zd-section--ink .zd-stats p { border-color: rgba(255, 255, 255, 0.14); }
.zd-section--ink .zd-stats p strong { color: var(--zd-cream); }

/* =========================================================
   7. Cards & grids
   ========================================================= */
/* Core blockGap adds margins to group children; grids must own their spacing. */
.zd-grid > *,
.zd-steps > *,
.zd-gallery > *,
.zd-certs > *,
.zd-logos > *,
.zd-stats > *,
.zd-marquee-track > *,
.zd-split > *,
.zd-contact-grid > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.zd-grid { display: grid; gap: 28px; }
.zd-grid--2 { grid-template-columns: repeat(2, 1fr); }
.zd-grid--3 { grid-template-columns: repeat(3, 1fr); }
.zd-grid--4 { grid-template-columns: repeat(4, 1fr); }

.zd-card {
  background: var(--zd-white);
  border: 1px solid var(--zd-line);
  padding: 36px 30px;
  height: 100%;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.zd-card:hover { border-color: var(--zd-gold); transform: translateY(-2px); }
.zd-card h3 { margin: 0 0 12px; font-size: 1.2rem; }
.zd-card p { margin: 0; font-size: 15.5px; line-height: 1.7; color: #5c5346; }
.zd-card .zd-num {
  font-family: var(--zd-serif);
  font-size: 0.95rem;
  color: var(--zd-gold);
  letter-spacing: 0.1em;
  margin: 0 0 16px;
}
.zd-card figure { margin: 0 0 22px; }
.zd-section--ink .zd-card { background: #1c1915; border-color: rgba(255, 255, 255, 0.12); }
.zd-section--ink .zd-card p { color: #b7ad9d; }

.zd-portrait img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }

/* =========================================================
   8. Split (text + image)
   ========================================================= */
.zd-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 66px;
  align-items: center;
}
.zd-figure { margin: 0; }
.zd-figure img { width: 100%; height: auto; display: block; }
.zd-figure figcaption {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93897a;
  margin-top: 14px;
}

/* =========================================================
   9. Image gallery
   ========================================================= */
.zd-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.zd-gallery figure { margin: 0; }
.zd-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: saturate(0.95);
  transition: filter 0.3s ease;
}
.zd-gallery img:hover { filter: saturate(1.05); }

/* =========================================================
   10. Client logo marquee (pure CSS, no plugin)
   ========================================================= */
.zd-marquee {
  overflow: hidden;
  position: relative;
  background: var(--zd-white);
  border-top: 1px solid var(--zd-line);
  border-bottom: 1px solid var(--zd-line);
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.zd-marquee-track {
  display: flex;
  width: max-content;
  animation: zd-scroll 46s linear infinite;
}
.zd-marquee:hover .zd-marquee-track { animation-play-state: paused; }
.zd-marquee figure { margin: 0; flex: 0 0 auto; display: flex; align-items: center; }
.zd-marquee img {
  height: 68px;
  width: auto;
  max-width: none;
  object-fit: contain;
  margin: 0 42px;
  filter: none;
  opacity: 1;
}

@keyframes zd-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .zd-marquee-track { animation: none; }
}

/* Legacy static logo grid (kept for reuse) */
.zd-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--zd-line);
  border: 1px solid var(--zd-line);
}
.zd-logos figure { margin: 0; }
.zd-logos img {
  width: 100%;
  height: 104px;
  object-fit: contain;
  background: var(--zd-white);
  padding: 20px;
  display: block;
  filter: grayscale(1) opacity(0.72);
  transition: filter 0.25s ease;
}
.zd-logos img:hover { filter: grayscale(0) opacity(1); }

/* =========================================================
   11. Certificates
   ========================================================= */
.zd-certs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.zd-certs figure { margin: 0; }
.zd-certs img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: top;
  padding: 8px;
  border: 1px solid var(--zd-line);
  background: #fff;
  display: block;
}

/* =========================================================
   12. Process steps
   ========================================================= */
.zd-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--zd-line); }
.zd-step { background: var(--zd-cream); padding: 34px 30px; }
.zd-step p:first-child { margin: 0 0 14px; }
.zd-step b {
  font-family: var(--zd-serif);
  font-weight: 400;
  color: var(--zd-gold);
  font-size: 1.5rem;
  line-height: 1;
}
.zd-step h3 { font-size: 1.08rem; margin: 0 0 8px; }
.zd-step p { margin: 0; font-size: 15px; color: #5c5346; }

/* =========================================================
   13. CTA band
   ========================================================= */
.zd-cta { background: var(--zd-ink); padding: 90px 0; text-align: center; }
.zd-cta h2 { color: var(--zd-cream); margin: 0 0 18px; }
.zd-cta p { color: #b7ad9d; max-width: 58ch; margin: 0 auto 34px; }
.zd-cta .wp-block-buttons { justify-content: center; }

/* =========================================================
   14. Footer
   ========================================================= */
.zd-footer { background: #0e0c0a; color: #a79d8e; padding: 74px 0 30px; }
.zd-footer h4 {
  color: var(--zd-cream);
  font-size: 11px;
  font-family: var(--zd-sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.zd-footer p, .zd-footer li { color: #9a9081; font-size: 14.5px; line-height: 1.8; }
.zd-footer a { color: #c9bfae; text-decoration: none; }
.zd-footer a:hover { color: var(--zd-gold-light); }
.zd-footer-bottom {
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(176, 141, 79, 0.22);
  font-size: 12.5px;
  color: #7d7466;
}
.zd-footer-bottom p { font-size: 12.5px; color: #7d7466; margin: 0; }

/* =========================================================
   15. Contact page
   ========================================================= */
.zd-contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 62px; align-items: start; }
.zd-info-item { padding: 24px 0; border-bottom: 1px solid var(--zd-line); }
.zd-info-item:first-child { padding-top: 0; }
.zd-info-item h4 {
  font-family: var(--zd-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--zd-gold);
  margin: 0 0 6px;
}
.zd-info-item p { margin: 0; color: var(--zd-ink-soft); font-size: 16px; }
.zd-form-card { background: #fff; border: 1px solid var(--zd-line); padding: 44px 40px; }
.zd-form-card h3 { margin: 0 0 6px; }

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--zd-line);
  background: #fdfcfa;
  font-family: var(--zd-sans);
  font-size: 15px;
  color: var(--zd-ink);
  border-radius: 0;
  margin-top: 6px;
}
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus {
  outline: none;
  border-color: var(--zd-gold);
  background: #fff;
}
.wpcf7 p { margin: 0 0 18px; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #8d8371; }
.wpcf7 input[type="submit"] {
  background: var(--zd-ink);
  color: #fff;
  border: 0;
  padding: 18px 40px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
  width: auto;
}
.wpcf7 input[type="submit"]:hover { background: var(--zd-gold); }
.wpcf7-response-output { border: 0 !important; padding: 0 !important; margin: 20px 0 0 !important; font-size: 14px; }

/* =========================================================
   16. Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .zd-split { grid-template-columns: 1fr; gap: 40px; }
  .zd-contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .zd-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .zd-logos { grid-template-columns: repeat(4, 1fr); }
  .zd-certs { grid-template-columns: repeat(3, 1fr); }
  .zd-steps { grid-template-columns: repeat(2, 1fr); }
  .zd-gallery { grid-template-columns: repeat(2, 1fr); }
  .zd-hero { min-height: 60vh; }
  .zd-header-inner { flex-wrap: wrap; }
  .zd-header .wp-block-navigation { margin-left: 0; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .zd-section { padding: 64px 0; }
  .zd-grid--2, .zd-grid--3, .zd-grid--4 { grid-template-columns: 1fr; }
  .zd-stats { grid-template-columns: repeat(2, 1fr); }
  .zd-stats p { border-bottom: 1px solid var(--zd-line); }
  .zd-logos { grid-template-columns: repeat(2, 1fr); }
  .zd-certs { grid-template-columns: repeat(2, 1fr); }
  .zd-certs img { height: 180px; }
  .zd-steps { grid-template-columns: 1fr; }
  .zd-hero { padding: 80px 0 56px; }
  .zd-hero-meta { gap: 24px; }
  .zd-form-card { padding: 28px 22px; }
  .zd-marquee img { height: 50px; margin: 0 26px; }
  .zd-header-cta { display: none; }
  .zd-hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .zd-footer { padding: 54px 0 26px; }
}

/* =========================================================
   17. Header v2 — logo, custom nav, language switch
   ========================================================= */
.zd-logo {
  margin: 0 !important;
  flex: 0 0 auto;
}
.zd-logo a { display: block; line-height: 0; }
.zd-logo img { height: 46px; width: auto; display: block; }

.zd-navwrap { position: relative; margin-left: 56px; }
.wp-block-group.zd-header-inner { justify-content: flex-start; }
.wp-block-group.zd-header-inner > .zd-lang { margin-left: auto !important; }
.zd-nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.zd-nav-list li { margin: 0; }
.zd-nav-list a {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zd-ink-soft);
  text-decoration: none;
  padding: 6px 0;
}
.zd-nav-list a:hover { color: var(--zd-gold); text-decoration: none; }

.zd-lang {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.14em;
  flex: 0 0 auto;
}
.zd-lang__item { color: #9a8f7d; text-decoration: none; text-transform: uppercase; padding: 4px 2px; }
.zd-lang__item:hover { color: var(--zd-gold); text-decoration: none; }
.zd-lang__item.is-active { color: var(--zd-ink); font-weight: 600; }
.zd-lang__sep { color: #d2c7b4; }

/* Language visibility toggles */
.i18n-zh { display: none; }
html.zd-zh .i18n-en { display: none !important; }
html.zd-zh .i18n-zh { display: inline; }
html:not(.zd-zh) .i18n-zh { display: none !important; }

/* Mobile menu */
.zd-nav-toggle { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.zd-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px 2px; }
.zd-burger span { display: block; width: 22px; height: 1.5px; background: var(--zd-ink); }

@media (max-width: 1024px) {
  .zd-burger { display: flex; }
  .zd-logo { order: 1; }
  .wp-block-group.zd-header-inner > .zd-lang { order: 2; margin-left: auto !important; }
  .zd-navwrap { order: 3; position: static; margin-left: 18px; }
  .wp-block-buttons.zd-header-cta { display: none !important; }
  .zd-nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--zd-cream);
    border-top: 1px solid var(--zd-line);
    border-bottom: 1px solid var(--zd-line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 12px;
    box-shadow: 0 18px 34px rgba(20, 17, 14, 0.1);
    z-index: 60;
  }
  .zd-nav-list li { width: 100%; }
  .zd-nav-list a { display: block; padding: 13px 0; border-bottom: 1px solid var(--zd-line); }
  .zd-nav-list li:last-child a { border-bottom: 0; }
  .zd-nav-toggle:checked ~ .zd-nav-list { display: flex; }
  .zd-logo img { height: 38px; }
  .zd-header-inner { gap: 14px; }
}

@media (max-width: 480px) {
  .zd-logo img { height: 32px; }
  .zd-lang { font-size: 10px; gap: 5px; }
}

/* =========================================================
   18. Video section
   ========================================================= */
.zd-video { margin: 0 auto; max-width: 900px; }
.zd-video video {
  width: 100%;
  display: block;
  background: #000;
  border: 1px solid var(--zd-line);
}

/* =========================================================
   19. Stat band (home, dark)
   ========================================================= */
.zd-statband {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.zd-statband .zd-lead { margin-bottom: 0; }
.zd-statgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.zd-statgrid > p.zd-statcell {
  margin: 0 !important;
  background: var(--zd-ink);
  padding: 32px 28px;
  transition: background 0.25s ease;
}
.zd-statgrid > p.zd-statcell:hover { background: #282019; }
.zd-statgrid strong {
  display: block;
  font-family: var(--zd-serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  color: var(--zd-cream);
  line-height: 1;
  margin-bottom: 12px;
}
.zd-statgrid span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--zd-gold-light);
}
.zd-statgrid em {
  display: block;
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.55;
  color: #9a9081;
  margin-top: 14px;
}

@media (max-width: 1024px) {
  .zd-statband { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .zd-statgrid { grid-template-columns: 1fr; }
  .zd-statgrid > p.zd-statcell { padding: 26px 22px; }
}

/* =========================================================
   20. Language dropdown with flags
   ========================================================= */
.zd-lang { position: relative; }
.zd-lang__menu { position: relative; }
.zd-lang__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--zd-line);
  background: #ffffff;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zd-ink-soft);
  line-height: 1;
  user-select: none;
}
.zd-lang__toggle::-webkit-details-marker { display: none; }
.zd-lang__toggle::marker { content: ""; }
.zd-lang__caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #9a8f7d;
  transition: transform 0.2s ease;
}
.zd-lang__menu[open] .zd-lang__caret { transform: rotate(180deg); }
.zd-lang__flag { display: inline-flex; line-height: 0; border: 1px solid rgba(0, 0, 0, 0.08); }
.zd-lang__flag svg { display: block; }

.zd-flag-zh { display: none; }
html.zd-zh .zd-flag-en { display: none; }
html.zd-zh .zd-flag-zh { display: inline-flex; }

.zd-lang__list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 172px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--zd-line);
  box-shadow: 0 18px 36px rgba(20, 17, 14, 0.12);
  z-index: 70;
}
.zd-lang__list li { margin: 0; }
.zd-lang__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  margin: 0;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--zd-ink-soft);
  text-decoration: none;
}
.zd-lang__item:hover { background: var(--zd-cream); color: var(--zd-ink); text-decoration: none; }
.zd-lang__item.is-active { background: var(--zd-cream); color: var(--zd-ink); font-weight: 600; }

@media (max-width: 480px) {
  .zd-lang__toggle { padding: 6px 8px; gap: 6px; }
  .zd-lang__code { font-size: 10px; }
}

/* Video inside the two-column split */
.zd-split .zd-video { max-width: 100%; margin: 0; }
.zd-video figcaption {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93897a;
  margin-top: 14px;
}

/* Hero background images (kept in CSS so the group block stays editor-valid) */
.zd-hero--factory { background-image: url("https://zongducare.com/wp-content/uploads/2026/12/hero-factory-hd-scaled.jpg"); }
.zd-hero--inside { background-image: url("https://zongducare.com/wp-content/uploads/2026/12/hero-inside-hd-scaled.jpg"); }
.zd-hero--workshop { background-image: url("https://zongducare.com/wp-content/uploads/2026/12/hero-workshop-hd-scaled.jpg"); }
.zd-hero--process { background-image: url("https://zongducare.com/wp-content/uploads/2026/12/hero-process.jpg"); }

/* =========================================================
   21. Portrait / phone refinements
   ========================================================= */
@media (max-width: 720px) {
  /* Hero: shorter, tighter on a phone */
  .zd-hero,
  .zd-hero--short {
    min-height: auto;
    padding: 56px 0 44px;
  }
  .zd-hero h1 { margin-bottom: 18px; }
  .zd-hero .zd-lead { margin-bottom: 26px; }
  .zd-hero-meta {
    margin-top: 34px;
    padding-top: 22px;
    gap: 18px 26px;
  }
  .zd-hero-meta p { min-width: 40%; }
  .zd-hero-meta p strong { font-size: 1.45rem; margin-bottom: 6px; }
  .zd-hero-meta p span { font-size: 9.5px; }

  /* Stacked, full-width hero buttons */
  .zd-btnrow { flex-direction: column; align-items: stretch; gap: 10px; }
  .zd-btnrow .wp-block-button { width: 100%; margin: 0; }
  .zd-btnrow .wp-block-button__link { width: 100%; text-align: center; }

  /* Leadership card: photo beside the text instead of a full-width square */
  .zd-card--person {
    display: grid;
    grid-template-columns: 84px 1fr;
    column-gap: 16px;
    row-gap: 2px;
    align-items: start;
    padding: 22px 20px;
  }
  .zd-card--person .zd-portrait {
    grid-row: 1 / span 3;
    margin: 0 !important;
  }
  .zd-card--person .zd-portrait img {
    width: 84px;
    height: 84px;
    aspect-ratio: auto;
    object-fit: cover;
  }
  .zd-card--person h3 { margin: 0; font-size: 1.05rem; }
  .zd-card--person p { grid-column: 2; margin: 4px 0 0; font-size: 14.5px; }

  /* Section rhythm + type */
  .zd-section { padding: 52px 0; }
  .zd-section--tight { padding: 40px 0; }
  .zd-cta { padding: 56px 0; }
  .zd-eyebrow { margin-bottom: 12px; }
  .zd-lead { margin-bottom: 24px; }
  .zd-card { padding: 26px 22px; }
  .zd-statgrid > p.zd-statcell { padding: 22px 20px; }
  .zd-marquee img { height: 44px; margin: 0 22px; }
  .zd-video figcaption { margin-top: 10px; }
}

@media (max-width: 720px) {
  .wpcf7 input[type="submit"] {
    width: 100%;
    padding: 16px 24px;
  }
  .wpcf7 p { margin-bottom: 14px; }
}

@media (max-width: 420px) {
  .zd-hero h1 { font-size: clamp(1.95rem, 8.6vw, 2.4rem); }
  .zd-logo img { height: 30px; }
  .zd-header-inner { min-height: 58px; padding-top: 8px; padding-bottom: 8px; }
}

/* =========================================================
   22. Image feature cards ("what we do")
   ========================================================= */
.zd-card--feature {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.zd-card--feature .zd-card__media {
  margin: 0 !important;
  flex: 0 0 auto;
}
.zd-card--feature .zd-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.zd-card--feature .zd-card__body {
  padding: 26px 30px 32px;
  flex: 1 1 auto;
}
.zd-card--feature .zd-card__body > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.zd-card--feature .zd-num { margin: 0 0 10px !important; }
.zd-card--feature h3 { margin: 0 0 10px !important; }
.zd-card--feature p { margin: 0 !important; }

@media (max-width: 720px) {
  .zd-card--feature .zd-card__media img { aspect-ratio: 16 / 10; }
  .zd-card--feature .zd-card__body { padding: 22px 22px 26px; }
}

/* Phones get the lighter original banner instead of the 2880px HD file */
@media (max-width: 720px) {
  .zd-hero--factory { background-image: url("https://zongducare.com/wp-content/uploads/2026/12/hero-factory.jpg"); }
  .zd-hero--inside { background-image: url("https://zongducare.com/wp-content/uploads/2026/12/hero-inside.jpg"); }
  .zd-hero--workshop { background-image: url("https://zongducare.com/wp-content/uploads/2026/12/hero-workshop.jpg"); }
}

/* =========================================================
   23. Category cards, customisation, clean formula, 9 steps, shows
   ========================================================= */
.zd-catgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.zd-catcard {
  background: #fff;
  border: 1px solid var(--zd-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.zd-catcard:hover { border-color: var(--zd-gold); transform: translateY(-2px); }
.zd-catcard figure { margin: 0 !important; }
.zd-catcard img {
  width: 100%;
  display: block;
  aspect-ratio: 1000 / 392;
  object-fit: cover;
}
.zd-catcard__body { padding: 22px 26px 26px; }
.zd-catcard h3 { margin: 0 0 8px; font-size: 1.1rem; }
.zd-catcard p { margin: 0; font-size: 15px; color: #5c5346; }

.zd-customfig {
  background: #fff;
  border: 1px solid var(--zd-line);
  padding: 18px;
  margin: 0;
}
.zd-customfig img { width: 100%; display: block; }
.zd-customfig figcaption {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93897a;
  margin-top: 12px;
}

.zd-clean { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.zd-cleancard {
  background: #fff;
  border: 1px solid var(--zd-line);
  padding: 34px 28px;
  text-align: center;
}
.zd-cleancard img { width: 96px; height: 96px; margin: 0 auto 18px; display: block; }
.zd-cleancard h3 { margin: 0 0 10px; font-size: 1.05rem; }
.zd-cleancard p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #5c5346; }

.zd-steps9 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--zd-line);
  border: 1px solid var(--zd-line);
}
.zd-step9 { background: var(--zd-cream); padding: 26px 24px; }
.zd-step9 b {
  font-family: var(--zd-serif);
  font-weight: 400;
  color: var(--zd-gold);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.zd-step9 p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #5c5346; }

.zd-showgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.zd-showgrid figure { margin: 0 !important; }
.zd-showgrid img {
  width: 100%;
  aspect-ratio: 382 / 279;
  object-fit: cover;
  display: block;
}

@media (max-width: 1024px) {
  .zd-catgrid, .zd-clean, .zd-steps9, .zd-showgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .zd-catgrid, .zd-clean, .zd-steps9, .zd-showgrid { grid-template-columns: 1fr; }
  .zd-cleancard { padding: 26px 22px; }
  .zd-cleancard img { width: 76px; height: 76px; }
}

/* Grids added in 1.7.0: core blockGap must not push the cells apart */
.zd-steps9 > *,
.zd-catgrid > *,
.zd-clean > *,
.zd-showgrid > *,
.zd-svcgrid > *,
.zd-flow > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.zd-catcard__body > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.zd-catcard__body h3 { margin: 0 !important; }

/* =========================================================
   24. Home polish: trust strip, mosaic gallery, ink texture
   ========================================================= */
.zd-section--ink,
.zd-cta {
  background-color: #241c15;
  background-image: url("https://zongducare.com/wp-content/uploads/2026/12/texture-ink2.jpg");
  background-size: cover;
  background-position: center;
}

.zd-capband {
  background: var(--zd-cream-2);
  padding: 22px 0;
}
.zd-capstrip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 34px;
}
.zd-capstrip p {
  margin: 0 !important;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6f6656;
}
.zd-capstrip p::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--zd-gold);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.zd-gallery--mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 205px; }
.zd-gallery--mosaic figure { margin: 0 !important; }
.zd-gallery--mosaic img { aspect-ratio: auto; height: 100%; object-fit: cover; }
.zd-gallery--mosaic > *:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.zd-gallery--mosaic > *:nth-child(2) { grid-column: span 2; }

@media (max-width: 1024px) {
  .zd-gallery--mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .zd-gallery--mosaic > *:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .zd-gallery--mosaic > *:nth-child(2) { grid-column: span 2; }
}
@media (max-width: 720px) {
  .zd-gallery--mosaic { grid-auto-rows: 150px; }
  .zd-gallery--mosaic > *:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .zd-capband { padding: 18px 0; }
  .zd-capstrip { gap: 10px 20px; }
  .zd-capstrip p { font-size: 9.5px; }
}

/* =========================================================
   25. "What we do" icon strip + merged factory gallery
   ========================================================= */
.zd-svcgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--zd-line);
}
.zd-svc {
  padding: 34px 30px 0;
  border-right: 1px solid var(--zd-line);
}
.zd-svc:first-child { padding-left: 0; }
.zd-svc:last-child { border-right: 0; padding-right: 0; }
.zd-svc > * { margin: 0 !important; }
.zd-svc .zd-svc__num {
  margin: 0 0 20px !important;
  font-family: var(--zd-sans);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: #b9ac93;
}
.zd-svc .zd-svc__icon {
  margin: 0 0 22px !important;
  width: 42px;
  height: 42px;
  color: var(--zd-gold);
}
.zd-svc__icon svg { width: 100%; height: 100%; display: block; }
.zd-svc h3 { margin: 0 0 12px !important; font-size: 1.08rem; }
.zd-svc p { margin: 0 !important; font-size: 14.5px; line-height: 1.65; color: #5c5346; }

.zd-split + .zd-gallery--mosaic { margin-top: 58px; }

@media (max-width: 1024px) {
  .zd-svcgrid { grid-template-columns: repeat(2, 1fr); }
  .zd-svc { padding: 28px 26px 0; }
  .zd-svc:first-child { padding-left: 0; }
  .zd-svc:nth-child(2n) { border-right: 0; padding-right: 0; }
  .zd-svc:nth-child(3) { padding-left: 0; border-top: 1px solid var(--zd-line); margin-top: 28px; }
  .zd-svc:nth-child(4) { border-top: 1px solid var(--zd-line); margin-top: 28px; }
}
@media (max-width: 720px) {
  .zd-svcgrid { grid-template-columns: 1fr; }
  .zd-svc { border-right: 0; padding: 26px 0 0; border-bottom: 1px solid var(--zd-line); padding-bottom: 26px; }
  .zd-svc:nth-child(3), .zd-svc:nth-child(4) { margin-top: 0; }
  .zd-svc:first-child { padding-top: 26px; }
  .zd-svc:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* =========================================================
   26. Stat band v2 — icons, dot pattern, warmer rules
   ========================================================= */
.zd-statband {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 72px;
  position: relative;
}
.zd-statband::before {
  content: "";
  position: absolute;
  left: -7%;
  top: -16%;
  width: 54%;
  height: 132%;
  background-image: radial-gradient(circle, rgba(176, 141, 79, 0.2) 1px, transparent 1.2px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse at 28% 45%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 28% 45%, #000 0%, transparent 70%);
  pointer-events: none;
}
.zd-statband > * { position: relative; z-index: 1; }

.zd-statgrid {
  border: 1px solid rgba(176, 141, 79, 0.26);
  background: rgba(176, 141, 79, 0.26);
  gap: 1px;
}
.zd-statgrid > * { margin: 0 !important; }
.zd-statcell {
  background: #1d1710;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  transition: background 0.25s ease;
}
.zd-statcell:hover { background: #282019; }
.zd-statcell > * { margin: 0 !important; }
.zd-statcell .zd-statcell__icon {
  width: 26px;
  height: 26px;
  color: var(--zd-gold);
  margin: 0 0 22px !important;
}
.zd-statcell__icon svg { width: 100%; height: 100%; display: block; }
.zd-statcell strong {
  display: block;
  font-family: var(--zd-serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 3.2vw, 2.75rem);
  color: var(--zd-cream);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0 0 14px !important;
}
.zd-statcell span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--zd-gold-light);
}
.zd-statcell em {
  display: block;
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.6;
  color: #8f8677;
  margin: 16px 0 0 !important;
}

@media (max-width: 1024px) {
  .zd-statband { grid-template-columns: 1fr; gap: 40px; }
  .zd-statband::before { display: none; }
}

/* =========================================================
   27. Current page indicator in the header nav
   ========================================================= */
.zd-nav-list a.is-current {
  color: #b3322a;
  position: relative;
}
.zd-nav-list a.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: #b3322a;
}
.zd-nav-list a.is-current:hover { color: #b3322a; }

@media (max-width: 1024px) {
  .zd-nav-list a.is-current { color: #b3322a; }
  .zd-nav-list a.is-current::after { left: 0; right: auto; width: 26px; bottom: 9px; }
}

/* =========================================================
   28. Nine-step process — icons, ghost numerals, cards
   ========================================================= */
.zd-steps9 {
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--zd-line);
  border: 1px solid var(--zd-line);
}
.zd-step9 {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: 28px 26px 26px;
}
.zd-step9 > * { margin: 0 !important; }
.zd-step9 .zd-step9__icon {
  width: 30px;
  height: 30px;
  color: var(--zd-gold);
  margin: 0 0 20px !important;
}
.zd-step9__icon svg,
.zd-step9__icon img { width: 100%; height: 100%; display: block; object-fit: contain; }
.zd-step9 .zd-step9__num {
  position: absolute;
  right: 14px;
  top: 4px;
  font-family: var(--zd-serif);
  font-size: 78px;
  line-height: 1;
  color: rgba(20, 17, 14, 0.045);
  pointer-events: none;
  user-select: none;
}
.zd-step9 b {
  display: block;
  font-family: var(--zd-sans);
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--zd-gold);
  margin: 0 0 10px !important;
}
.zd-step9 h3 { margin: 0 !important; font-size: 1.06rem; line-height: 1.45; }
.zd-step9 p { margin: 0 !important; font-size: 14.5px; line-height: 1.6; color: #5c5346; }

@media (max-width: 720px) {
  .zd-step9 { padding: 24px 22px 26px; }
  .zd-step9 .zd-step9__num { font-size: 64px; right: 10px; }
}

/* Responsive columns for the nine-step grid (base rule above must not win) */
@media (max-width: 1024px) {
  .zd-steps9 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .zd-steps9 { grid-template-columns: 1fr; }
}

/* =========================================================
   29. Capability cards — flat line-art watermark background
   ========================================================= */
.zd-card--art {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--zd-line);
  padding: 28px 26px;
}
.zd-card--art > * { margin: 0 !important; }
.zd-card--art .zd-card__art {
  position: absolute;
  right: -12px;
  top: -10px;
  width: 52%;
  max-width: 195px;
  opacity: 0.3;
  -webkit-mask-image: linear-gradient(to bottom, #000 52%, transparent 96%);
  mask-image: linear-gradient(to bottom, #000 52%, transparent 96%);
  pointer-events: none;
}
.zd-card__art img { width: 100%; height: auto; display: block; }
.zd-card--art h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px !important;
  font-size: 1.05rem;
}
.zd-card--art p {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.65;
  color: #5c5346;
  max-width: 92%;
}

@media (max-width: 720px) {
  .zd-card--art { padding: 24px 20px; }
  .zd-card--art .zd-card__art { width: 50%; opacity: 0.2; right: -12px; top: -8px; }
}

/* =========================================================
   30. "What we do" as a flow diagram
   ========================================================= */
.zd-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 26px;
}
.zd-flow__item { position: relative; }
.zd-flow__item > * { margin: 0 !important; }
.zd-flow__item .zd-flow__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--zd-line);
  background: var(--zd-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zd-gold);
  position: relative;
  z-index: 1;
  margin: 0 0 24px !important;
}
.zd-flow__icon svg { width: 24px; height: 24px; display: block; }

/* connector line + arrowhead between steps */
.zd-flow__item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 56px;
  right: -26px;
  height: 1px;
  background: var(--zd-line);
}
.zd-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  right: -3px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--zd-gold);
  border-right: 1px solid var(--zd-gold);
  transform: rotate(45deg);
}

.zd-flow__item h3 { margin: 0 0 10px !important; font-size: 1.05rem; }
.zd-flow__item .zd-flow__num {
  margin: 0 0 10px !important;
  font-family: var(--zd-sans);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: #b9ac93;
}
.zd-flow__item p { margin: 0 !important; font-size: 14.5px; line-height: 1.65; color: #5c5346; }

@media (max-width: 900px) {
  .zd-flow { grid-template-columns: 1fr; gap: 0; }
  .zd-flow__item {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 20px;
    align-items: start;
    padding-bottom: 30px;
  }
  .zd-flow__item > .zd-flow__icon {
    grid-column: 1;
    grid-row: 1 / span 3;
    margin: 0 !important;
  }
  .zd-flow__item > p, .zd-flow__item > h3 { grid-column: 2; }
  .zd-flow__item:not(:last-child)::before {
    top: 56px;
    left: 27px;
    right: auto;
    bottom: 0;
    width: 1px;
    height: auto;
  }
  .zd-flow__item:not(:last-child)::after { display: none; }
  .zd-flow__item:last-child { padding-bottom: 0; }
}

/* =========================================================
   31. Stats band in light mode (was the only dark block mid-page)
   ========================================================= */
.zd-section--stats { background: var(--zd-cream-2); }
.zd-section--stats .zd-statband::before {
  background-image: radial-gradient(circle, rgba(176, 141, 79, 0.16) 1px, transparent 1.2px);
}
.zd-section--stats .zd-statgrid {
  border-color: var(--zd-line);
  background: var(--zd-line);
}
.zd-section--stats .zd-statcell {
  background: #ffffff;
}
.zd-section--stats .zd-statcell:hover { background: #fdfbf7; }
.zd-section--stats .zd-statcell strong { color: var(--zd-ink); }
.zd-section--stats .zd-statcell span { color: #a98b52; }
.zd-section--stats .zd-statcell em { color: #5c5346; }
.zd-section--stats .zd-statcell .zd-statcell__icon { color: var(--zd-gold); }

/* Thin gold rule between the CTA band and the footer */
footer.wp-block-template-part { margin-top: 0 !important; }
.zd-footer { border-top: 2px solid var(--zd-gold); }

/* Sections carry their own padding: the 28px block gap only leaked the body
   colour between differently toned bands, so close it. */
.entry-content > .wp-block-group,
.entry-content > .wp-block-group.alignfull { margin-top: 0 !important; }

/* =========================================================
   32. Photo nodes in the service flow
   ========================================================= */
.zd-flow__item .zd-flow__photo {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--zd-line);
  background: var(--zd-cream);
  position: relative;
  z-index: 1;
  margin: 0 0 22px !important;
}
.zd-flow__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* connector follows the larger node */
.zd-flow__item:not(:last-child)::before {
  top: 41px;
  left: 82px;
}
.zd-flow__item:not(:last-child)::after { top: 37px; }

@media (max-width: 900px) {
  .zd-flow__item { grid-template-columns: 56px 1fr; column-gap: 18px; }
  .zd-flow__item > .zd-flow__photo {
    width: 56px;
    height: 56px;
    grid-column: 1;
    grid-row: 1 / span 3;
    margin: 0 !important;
  }
  .zd-flow__item:not(:last-child)::before { top: 56px; left: 27px; }
}

/* =========================================================
   31. Certificate carousel (About page, pure CSS)
   ========================================================= */
.zd-certmarquee {
  overflow: hidden;
  position: relative;
  padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.zd-certtrack {
  display: flex;
  width: max-content;
  animation: zd-scroll 64s linear infinite;
  will-change: transform;
}
.zd-certmarquee:hover .zd-certtrack { animation-play-state: paused; }
.zd-certtrack .zd-certcard {
  flex: 0 0 auto;
  width: 232px;
  margin: 0 14px 0 0;
  background: var(--zd-white);
  border: 1px solid var(--zd-line);
  padding: 8px;
  box-shadow: 0 2px 10px rgba(20, 17, 14, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.zd-certtrack .zd-certcard:hover {
  box-shadow: 0 8px 22px rgba(20, 17, 14, 0.1);
  transform: translateY(-2px);
}
.zd-certtrack .zd-certcard img {
  width: 100%;
  height: auto;
  display: block;
  filter: none;
  opacity: 1;
}
@media (max-width: 720px) {
  .zd-certmarquee { padding: 2px 0; }
  .zd-certtrack .zd-certcard { width: 168px; margin-right: 10px; padding: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .zd-certtrack { animation: none; }
  .zd-certmarquee { overflow-x: auto; }
}

/* =========================================================
   32. Motion (scroll reveal, hover, header state)
   ========================================================= */
.zd-header {
  transition: box-shadow 0.35s ease, background-color 0.35s ease;
}
.zd-header.is-scrolled { box-shadow: 0 12px 34px rgba(20, 17, 14, 0.09); }
body.admin-bar .zd-header.is-scrolled { box-shadow: 0 12px 34px rgba(20, 17, 14, 0.09); }

@media (prefers-reduced-motion: no-preference) {
  /* scroll reveal */
  .js-motion .zd-rv {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.72s cubic-bezier(0.22, 0.7, 0.24, 1),
      transform 0.72s cubic-bezier(0.22, 0.7, 0.24, 1);
    transition-delay: var(--zd-d, 0ms);
  }
  .js-motion .zd-rv.is-in {
    opacity: 1;
    transform: none;
  }

  /* hero entrance */
  @keyframes zd-rise {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
  }
  .js-motion .zd-hero .zd-wrap > * {
    opacity: 0;
    animation: zd-rise 0.9s cubic-bezier(0.22, 0.7, 0.24, 1) both;
  }
  .js-motion .zd-hero .zd-wrap > *:nth-child(1) { animation-delay: 0.06s; }
  .js-motion .zd-hero .zd-wrap > *:nth-child(2) { animation-delay: 0.16s; }
  .js-motion .zd-hero .zd-wrap > *:nth-child(3) { animation-delay: 0.28s; }
  .js-motion .zd-hero .zd-wrap > *:nth-child(4) { animation-delay: 0.4s; }
  .js-motion .zd-hero .zd-wrap > *:nth-child(5) { animation-delay: 0.5s; }
  .js-motion .zd-hero .zd-wrap > *:nth-child(n + 6) { animation-delay: 0.58s; }

  /* image zoom on card hover */
  .zd-card__media { overflow: hidden; }
  .zd-card__media img,
  .zd-catcard img,
  .zd-showgrid figure img {
    transition: transform 0.9s cubic-bezier(0.22, 0.7, 0.24, 1);
  }
  .zd-card:hover .zd-card__media img,
  .zd-catcard:hover img,
  .zd-showgrid figure:hover img {
    transform: scale(1.045);
  }
  .zd-catcard figure { overflow: hidden; }
  .zd-showgrid figure { overflow: hidden; }

  /* buttons */
  .zd-btn .wp-block-button__link,
  .zd-btn > a {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  }
  .zd-btn .wp-block-button__link:hover,
  .zd-btn > a:hover {
    transform: translateY(-2px);
  }
  .zd-btn--gold .wp-block-button__link:hover {
    box-shadow: 0 12px 26px rgba(176, 141, 79, 0.3);
  }

  /* certificate cards get a touch of lift */
  .zd-certtrack .zd-certcard {
    transition: box-shadow 0.35s ease, transform 0.35s ease;
  }
}

/* ============================================================
   33 · OEM & ODM process board (nine steps, 5 + 4 layout)
   ============================================================ */
.zd-flow9 {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr);
  margin-top: 46px;
  background: #ffffff;
  border: 1px solid var(--zd-line);
}

.zd-flow9__badge {
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 30px 12px;
  background: var(--zd-ink);
  color: var(--zd-gold);
  font-family: var(--zd-serif);
  font-size: 1.55rem;
  line-height: 1.55;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.zd-flow9__rows {
  display: flex;
  flex-direction: column;
  gap: 38px;
  padding: 38px 30px 34px;
}

.zd-flow9__row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

/* second row starts under the second column, like the source diagram */
.zd-flow9__row--b .zd-flow9__cell:first-child {
  grid-column: 2;
}

.zd-flow9__cell {
  position: relative;
  padding: 0 12px;
  text-align: center;
}

.zd-flow9__cell:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  right: 2px;
  width: 7px;
  height: 7px;
  border-top: 1.4px solid var(--zd-gold);
  border-right: 1.4px solid var(--zd-gold);
  transform: rotate(45deg);
  opacity: 0.9;
}

.zd-flow9__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 13px;
  color: var(--zd-gold);
}

.zd-flow9__icon svg,
.zd-flow9__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.zd-flow9__cell b {
  display: block;
  margin: 0 0 8px;
  font-family: var(--zd-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--zd-gold-deep);
}

.zd-flow9__cell h3 {
  margin: 0 !important;
  font-family: var(--zd-sans);
  font-size: 0.83rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--zd-ink);
}

@media (max-width: 1080px) {
  .zd-flow9 { grid-template-columns: 132px minmax(0, 1fr); }
  .zd-flow9__badge { font-size: 1.2rem; }
  .zd-flow9__rows { gap: 30px; padding: 30px 20px 28px; }
  .zd-flow9__cell { padding: 0 8px; }
  .zd-flow9__cell h3 { font-size: 0.78rem; }
}

@media (max-width: 860px) {
  .zd-flow9 {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 34px;
  }

  .zd-flow9__badge {
    flex-direction: row;
    gap: 0.45em;
    padding: 14px 16px;
    font-size: 1.05rem;
    letter-spacing: 0.18em;
  }

  .zd-flow9__badge span { display: inline; }

  .zd-flow9__badge span { display: inline; }

  .zd-flow9__rows {
    gap: 26px;
    padding: 26px 18px 24px;
  }

  .zd-flow9__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .zd-flow9__row--b .zd-flow9__cell:first-child { grid-column: auto; }

  .zd-flow9__cell {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 14px;
    padding: 13px 0;
    text-align: left;
    border-bottom: 1px solid var(--zd-line);
  }

  .zd-flow9__cell:last-child { border-bottom: 0; }
  .zd-flow9__cell::after { display: none; }
  .zd-flow9__icon { grid-row: 1 / span 2; margin: 0; align-items: flex-start; }
  .zd-flow9__icon svg,
  .zd-flow9__icon img { width: 30px; height: 30px; }
  .zd-flow9__cell b { grid-column: 2; margin: 1px 0 5px; }
  .zd-flow9__cell h3 { grid-column: 2; font-size: 0.84rem; }
}

/* blockGap must not push board cells apart */
.zd-flow9 > *,
.zd-flow9__rows > *,
.zd-flow9__row > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ============================================================
   34 · nine-step cards: icon-led hierarchy
   ============================================================ */
.zd-step9 {
  text-align: center;
  padding: 34px 22px 30px;
}

.zd-step9 .zd-step9__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px !important;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fbf8f2;
  border: 1px solid rgba(176, 141, 79, 0.26);
  transition: border-color 0.35s ease, background-color 0.35s ease, transform 0.35s ease;
}

.zd-step9 .zd-step9__icon img,
.zd-step9 .zd-step9__icon svg {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.zd-step9:hover .zd-step9__icon {
  border-color: rgba(176, 141, 79, 0.55);
  background: #ffffff;
}

.zd-step9:hover .zd-step9__icon img {
  transform: scale(1.06);
}

.zd-step9 b {
  display: block;
  margin: 0 0 9px !important;
  font-family: var(--zd-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--zd-gold);
}

.zd-step9 h3 {
  margin: 0 !important;
  font-family: var(--zd-sans);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  color: #4d4438;
}

.zd-step9 .zd-step9__num {
  top: 2px;
  right: 12px;
  font-size: 72px;
  color: rgba(20, 17, 14, 0.035);
}

@media (max-width: 720px) {
  .zd-step9 { padding: 26px 16px 24px; }

  .zd-step9 .zd-step9__icon {
    width: 72px;
    height: 72px;
    margin-bottom: 13px !important;
  }

  .zd-step9 .zd-step9__icon img { width: 38px; height: 38px; }
  .zd-step9 h3 { font-size: 0.88rem; }
  .zd-step9 .zd-step9__num { font-size: 56px; }
}

/* ============================================================
   35 · nine steps as a progressive timeline (replaces the 3x3 cards)
   ============================================================ */
.zd-steps9 {
  display: block !important;
  max-width: 680px;
  margin: 46px 0 0;
  background: none !important;
  border: 0 !important;
  gap: 0 !important;
}

.zd-step9 {
  position: relative;
  padding: 0 0 26px 92px;
  min-height: 76px;
  background: none !important;
  text-align: left;
}

/* the rail: a hairline that fills with gold as each step comes into view */
.zd-step9::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 56px;
  bottom: 0;
  width: 1px;
  background: #e7dfd0;
}

.zd-step9::after {
  content: "";
  position: absolute;
  left: 28px;
  top: 56px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(176, 141, 79, 0.9), rgba(176, 141, 79, 0.35));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.55s cubic-bezier(0.33, 0.7, 0.3, 1) 0.12s;
}

.zd-step9.is-in::after {
  transform: scaleY(1);
}

.zd-step9:last-child::before,
.zd-step9:last-child::after {
  display: none;
}

.zd-step9 .zd-step9__icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 57px;
  height: 57px;
  margin: 0 !important;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(176, 141, 79, 0.32);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  z-index: 2;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.zd-step9 .zd-step9__icon img,
.zd-step9 .zd-step9__icon svg {
  width: 29px;
  height: 29px;
  object-fit: contain;
  display: block;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.zd-step9:hover .zd-step9__icon {
  border-color: var(--zd-gold);
  box-shadow: 0 6px 18px rgba(176, 141, 79, 0.18);
}

.zd-step9:hover .zd-step9__icon img {
  transform: scale(1.08);
}

.zd-step9 .zd-step9__num { display: none !important; }

.zd-step9 b {
  display: block;
  margin: 4px 0 6px !important;
  font-family: var(--zd-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--zd-gold);
}

.zd-step9 h3 {
  margin: 0 !important;
  font-family: var(--zd-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--zd-ink);
  max-width: 440px;
}

@media (max-width: 720px) {
  .zd-steps9 { margin-top: 34px; }

  .zd-step9 {
    padding: 0 0 22px 74px;
    min-height: 64px;
  }

  .zd-step9::before,
  .zd-step9::after { left: 23px; top: 46px; }

  .zd-step9 .zd-step9__icon {
    width: 47px;
    height: 47px;
  }

  .zd-step9 .zd-step9__icon img { width: 24px; height: 24px; }

  .zd-step9 h3 { font-size: 0.94rem; }
}

/* ============================================================
   36 · process section: intro beside the timeline
   ============================================================ */
.zd-tlwrap {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 56px;
  align-items: start;
}

.zd-tlwrap__intro h2 {
  font-size: clamp(1.75rem, 2.2vw, 2.25rem);
  line-height: 1.12;
  text-wrap: balance;
  margin: 0.4em 0 0.55em;
}

.zd-tlwrap__intro .zd-lead {
  font-size: 1rem;
  line-height: 1.75;
  max-width: 38ch;
  margin-bottom: 26px !important;
}

.zd-tlwrap__intro .zd-btn { margin: 0 !important; }

/* inside the split the list no longer needs its own margins */
.zd-tlwrap .zd-steps9 {
  margin: 0;
  max-width: 100%;
}

.zd-tlwrap .zd-step9 h3 {
  max-width: 100%;
}

.zd-tlwrap__figure img { aspect-ratio: 3 / 2; }

@media (max-width: 900px) {
  .zd-tlwrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .zd-tlwrap__intro .zd-lead { max-width: 100%; }
}

/* photo under the process intro */
.zd-tlwrap__figure {
  margin: 38px 0 0 !important;
  overflow: hidden;
  border: 1px solid var(--zd-line);
}

.zd-tlwrap__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.22, 0.7, 0.24, 1);
}

.zd-tlwrap__figure:hover img { transform: scale(1.03); }

@media (max-width: 900px) {
  .zd-tlwrap__figure { margin-top: 28px !important; }
}

/* ---- process intro: editorial rule, framed photo, CTA at the foot ---- */
.zd-tlwrap__intro .zd-eyebrow {
  position: relative;
  padding-left: 40px;
}

.zd-tlwrap__intro .zd-eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 26px;
  height: 1px;
  background: var(--zd-gold);
  opacity: 0.75;
}

.zd-tlwrap__figure {
  margin: 34px 0 0 !important;
  border: 0 !important;
  overflow: visible;
}

.zd-tlwrap__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  box-shadow: 14px 14px 0 0 rgba(176, 141, 79, 0.14);
  transition: box-shadow 0.45s ease, transform 0.9s cubic-bezier(0.22, 0.7, 0.24, 1);
}

.zd-tlwrap__figure:hover img {
  box-shadow: 18px 18px 0 0 rgba(176, 141, 79, 0.2);
}

.zd-tlwrap__figure figcaption {
  margin: 14px 0 0;
  font-family: var(--zd-sans);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9c907c;
}

.zd-tlwrap__intro .zd-btn {
  margin: 30px 0 0 !important;
}

@media (max-width: 900px) {
  .zd-tlwrap__figure img { box-shadow: 9px 9px 0 0 rgba(176, 141, 79, 0.14); }
  .zd-tlwrap__intro .zd-btn { margin-top: 24px !important; }
}

/* gallery lost two tiles to the process strip: close the mosaic with two wide tiles */
.zd-gallery--mosaic > *:nth-child(5),
.zd-gallery--mosaic > *:nth-child(6) {
  grid-column: span 2;
}

@media (max-width: 1024px) {
  .zd-gallery--mosaic > *:nth-child(5),
  .zd-gallery--mosaic > *:nth-child(6) {
    grid-column: span 1;
  }
}
/* ===== DSH layout polish 2026-12-05 ===== */
/* 1) centre the odd fifth category card so the 2-col grid leaves no hole */
@media (min-width: 782px) {
  .zd-catgrid > .zd-catcard:nth-child(5):last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 14px);
  }
}
/* 2) two-column blocks align to the top instead of floating mid-height */
.zd-split { align-items: start; }
/* 3) category captions stretch to equal height */
.zd-catcard__body { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-start; }
/* ===== end DSH layout polish ===== */
/* ===== DSH flow scale 2026-12-05: bigger process photos ===== */
@media (min-width: 1025px) {
  .zd-flow__item .zd-flow__photo { width: 128px; height: 128px; margin-bottom: 26px !important; }
  .zd-flow__item:not(:last-child)::before { top: 64px; left: 128px; }
  .zd-flow__item:not(:last-child)::after { top: 60px; }
}
@media (min-width: 782px) and (max-width: 1024px) {
  .zd-flow__item .zd-flow__photo { width: 104px; height: 104px; margin-bottom: 24px !important; }
  .zd-flow__item:not(:last-child)::before { top: 52px; left: 104px; }
  .zd-flow__item:not(:last-child)::after { top: 48px; }
}
@media (max-width: 781px) {
  .zd-flow__item { grid-template-columns: 64px 1fr; }
  .zd-flow__item > .zd-flow__photo { width: 64px; height: 64px; }
  .zd-flow__item:not(:last-child)::before { top: 64px; left: 31px; }
}
/* ===== end DSH flow scale ===== */
/* ===== DSH factory split 2026-12-05: give the workshop photo more presence ===== */
@media (min-width: 782px) {
  .zd-split:has(.zd-figure img[src*="hero-workshop"]) {
    grid-template-columns: 1.22fr 1fr;
    gap: 52px;
  }
  .zd-split:has(.zd-figure img[src*="hero-workshop"]) .zd-figure {
    width: 100%;
    margin: 0 !important;
  }
  .zd-split:has(.zd-figure img[src*="hero-workshop"]) .zd-figure img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }
}
/* ===== end DSH factory split ===== */
/* ===== DSH products hero 2026-12-05: light cover with product group photo ===== */
body.page-id-51 .zd-hero {
  background-color: var(--zd-cream-2);
  background-image: url("/wp-content/uploads/2026/12/zonedo-product-group.jpg");
  background-repeat: no-repeat;
  background-size: min(560px, 42%) auto;
  background-position: right 6% center;
  background-blend-mode: multiply;
  min-height: 520px;
}
body.page-id-51 .zd-hero::after { display: none; }
body.page-id-51 .zd-hero h1,
body.page-id-51 .zd-hero h2 { color: var(--zd-ink); }
body.page-id-51 .zd-hero p,
body.page-id-51 .zd-hero .zd-lead { color: #4a4436; }
body.page-id-51 .zd-hero .zd-eyebrow { color: #a98b52; }
@media (max-width: 781px) {
  body.page-id-51 .zd-hero {
    background-size: 68% auto;
    background-position: center bottom 18px;
    min-height: auto;
    padding-bottom: 300px;
  }
}
/* ===== end DSH products hero ===== */
/* ===== DSH about video 2026-12-05 ===== */
@media (min-width: 782px) {
  .zd-split:has(.zd-video) {
    grid-template-columns: 1fr 1.22fr;
    gap: 56px;
    align-items: center;
  }
  .zd-split:has(.zd-video) .zd-video {
    width: 100%;
    margin: 0 !important;
  }
  .zd-split:has(.zd-video) .zd-video video {
    width: 100%;
    display: block;
    border: 1px solid var(--zd-line);
    background: #0b0a08;
  }
  .zd-split:has(.zd-video) .zd-video figcaption {
    margin-top: 12px;
  }
}
/* ===== end DSH about video ===== */
/* ===== DSH products hero responsive guard 2026-12-05 ===== */
@media (min-width: 782px) and (max-width: 1100px) {
  body.page-id-51 .zd-hero {
    background-size: 44% auto;
    background-position: center bottom 24px;
    min-height: auto;
    padding-bottom: calc(44vw + 48px);
  }
}
/* ===== end DSH products hero guard ===== */
/* ===== DSH container width 2026-12-05: use more of the screen ===== */
:root { --zd-wrap: clamp(1240px, 86vw, 1600px); }
/* ===== end DSH container width ===== */
/* ===== DSH hero redesign 2026-12-05 ===== */
@media (min-width: 782px) {
  .zd-hero--short {
    min-height: clamp(440px, 46vh, 560px);
    padding: 64px 0 56px;
    background-size: cover;
    background-position: right center;
  }
  .zd-hero--short::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f4eee4 0%, #f4eee4 40%, rgba(244,238,228,0.96) 50%, rgba(244,238,228,0.55) 66%, rgba(244,238,228,0) 84%);
  }
  .zd-hero--short > .zd-wrap { position: relative; z-index: 2; }
  .zd-hero--short h1,
  .zd-hero--short h2 { color: var(--zd-ink); max-width: 18ch; }
  .zd-hero--short p,
  .zd-hero--short .zd-lead { color: #4a4436; max-width: 46ch; }
  .zd-hero--short .zd-eyebrow { color: #a98b52; }
  .zd-hero--short .zd-hero-meta { border-color: rgba(74,68,54,0.18); }
  .zd-hero--short .zd-hero-meta p strong { color: var(--zd-ink); }
  .zd-hero--short .zd-hero-meta p span { color: #7a7161; }
}
body.page-id-51 .zd-hero {
  background-image: url("/wp-content/uploads/2026/12/zonedo-hero-products.jpg");
  background-size: cover;
  background-position: 62% center;
  background-blend-mode: normal;
  background-color: var(--zd-cream);
}
@media (min-width: 782px) and (max-width: 1100px) {
  body.page-id-51 .zd-hero {
    background-size: cover;
    background-position: 66% center;
    min-height: clamp(420px, 44vh, 520px);
    padding-bottom: 56px;
  }
}
@media (max-width: 781px) {
  .zd-hero--short {
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    background-color: var(--zd-cream);
    min-height: auto;
    padding-top: calc(46vw + 24px);
    padding-bottom: 44px;
  }
  .zd-hero--short::after { display: none; }
  .zd-hero--short h1, .zd-hero--short h2, .zd-hero--short p { color: var(--zd-ink); }
  body.page-id-51 .zd-hero {
    background-size: 100% auto;
    background-position: top center;
    padding-top: calc(39vw + 20px);
    padding-bottom: 40px;
    min-height: auto;
  }
}
/* ===== end DSH hero redesign ===== */
/* ===== DSH products hero scrim fix 2026-12-05 ===== */
body.page-id-51 .zd-hero::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f4eee4 0%, #f4eee4 36%, rgba(244,238,228,0.96) 48%, rgba(244,238,228,0.62) 64%, rgba(244,238,228,0.12) 82%, rgba(244,238,228,0) 92%);
}
@media (max-width: 781px) {
  body.page-id-51 .zd-hero::after { display: none; }
}
/* ===== end DSH products hero scrim fix ===== */
/* ===== DSH hero v2 2026-12-05: crisp split, no fog ===== */
.zd-hero--inside { --zd-hero-img: url("/wp-content/uploads/2026/12/hero-inside-hd-scaled.jpg"); }
.zd-hero--workshop { --zd-hero-img: url("/wp-content/uploads/2026/12/hero-workshop-hd-scaled.jpg"); }
.zd-hero--factory { --zd-hero-img: url("/wp-content/uploads/2026/12/hero-factory-hd-scaled.jpg"); }
.zd-hero--process { --zd-hero-img: url("/wp-content/uploads/2026/12/hero-process.jpg"); }
body.page-id-51 .zd-hero { --zd-hero-img: url("/wp-content/uploads/2026/12/zonedo-hero-products.jpg"); }

@media (min-width: 782px) {
  .zd-hero--short {
    position: relative;
    display: block;
    min-height: clamp(440px, 46vh, 560px);
    padding: 0;
    background-image: none !important;
    background-color: var(--zd-cream);
  }
  .zd-hero--short::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 50%;
    background-image: var(--zd-hero-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .zd-hero--short::after { display: none !important; }
  .zd-hero--short > .zd-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: clamp(440px, 46vh, 560px);
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .zd-hero--short h1,
  .zd-hero--short h2 { max-width: 790px; }
  .zd-hero--short p,
  .zd-hero--short .zd-lead { max-width: 560px; }
  .zd-hero--short h1,
  .zd-hero--short h2 { color: var(--zd-ink); }
  .zd-hero--short p,
  .zd-hero--short .zd-lead { color: #4a4436; }
  .zd-hero--short .zd-eyebrow { color: #a98b52; }
}

@media (max-width: 781px) {
  .zd-hero--short {
    position: relative;
    display: block;
    min-height: auto;
    padding: calc(48vw + 28px) 0 40px;
    background-image: none !important;
    background-color: var(--zd-cream);
  }
  .zd-hero--short::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 48vw;
    background-image: var(--zd-hero-img);
    background-size: cover;
    background-position: center 45%;
    background-repeat: no-repeat;
  }
  .zd-hero--short::after { display: none !important; }
  .zd-hero--short h1,
  .zd-hero--short h2,
  .zd-hero--short p,
  .zd-hero--short .zd-lead { color: var(--zd-ink); }
}
/* ===== end DSH hero v2 ===== */
/* ===== DSH hero v3 2026-12-05: keep image inside the content container ===== */
@media (min-width: 782px) {
  .zd-hero--short::before {
    right: max(24px, calc((100vw - var(--zd-wrap)) / 2));
    width: min(calc(var(--zd-wrap) / 2), calc((100vw - 48px) / 2));
  }
}
/* ===== end DSH hero v3 ===== */
/* ===== DSH hero v4 2026-12-05: full-bleed page-wide image ===== */
.zd-hero--short {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(440px, 46vh, 560px);
  padding: 80px 0 64px;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-color: #14110d;
}
.zd-hero--short::before { display: none !important; content: none !important; }
.zd-hero--short::after {
  display: block !important;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,10,8,0.93) 0%, rgba(12,10,8,0.78) 38%, rgba(12,10,8,0.35) 68%, rgba(12,10,8,0.06) 100%) !important;
}
.zd-hero--short > .zd-wrap { position: relative; z-index: 2; }
.zd-hero--short h1,
.zd-hero--short h2 { color: #fff !important; max-width: 790px; }
.zd-hero--short p,
.zd-hero--short .zd-lead { color: rgba(255,255,255,0.86) !important; max-width: 560px; }
.zd-hero--short .zd-eyebrow { color: #d9bd84 !important; }
body.page-id-51 .zd-hero {
  background-image: url("/wp-content/uploads/2026/12/zonedo-hero-products.jpg") !important;
  background-size: cover !important;
  background-position: 62% center !important;
  background-blend-mode: normal !important;
  background-color: #14110d !important;
}
@media (max-width: 781px) {
  .zd-hero--short {
    min-height: 380px;
    padding: 64px 0 48px;
  }
  .zd-hero--short::after {
    background: linear-gradient(180deg, rgba(12,10,8,0.55) 0%, rgba(12,10,8,0.82) 55%, rgba(12,10,8,0.94) 100%) !important;
  }
  .zd-hero--short h1,
  .zd-hero--short h2,
  .zd-hero--short p,
  .zd-hero--short .zd-lead { color: #fff !important; }
}
/* ===== end DSH hero v4 ===== */
/* ===== DSH hero v4b: restore full-bleed background image ===== */
.zd-hero--short {
  background-image: var(--zd-hero-img) !important;
}
/* ===== end DSH hero v4b ===== */
/* ===== DSH hero crop 2026-12-05: About image shifted up ===== */
.zd-hero--inside { background-position: center 28% !important; }
@media (max-width: 781px) { .zd-hero--inside { background-position: center 30% !important; } }
/* ===== end DSH hero crop ===== */
/* ===== DSH hero type 2026-12-05 ===== */
.zd-hero .zd-eyebrow { margin-bottom: 16px !important; }
.zd-hero h1 { margin-bottom: 22px !important; }
.zd-hero .zd-lead { margin-top: 0 !important; margin-bottom: 32px !important; }
.zd-hero--factory h1 { max-width: 15ch; }
.zd-hero .zd-hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.zd-hero .zd-hero-meta p { margin: 0 !important; padding: 0 24px; border-left: 1px solid rgba(255,255,255,0.16); }
.zd-hero .zd-hero-meta p:first-child { padding-left: 0; border-left: 0; }
.zd-hero .zd-hero-meta p strong { font-size: 2.05rem; letter-spacing: -0.01em; }
.zd-hero .zd-hero-meta p span { font-size: 10px; letter-spacing: 0.16em; }
.zd-hero--short { min-height: clamp(380px, 40vh, 500px) !important; padding: 64px 0 56px !important; }
.zd-hero--short h1,
.zd-hero--short h2 { max-width: 620px; }
.zd-hero--short .zd-lead { max-width: 42ch; }
@media (max-width: 781px) {
  .zd-hero .zd-hero-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 0; margin-top: 34px; padding-top: 20px; }
  .zd-hero .zd-hero-meta p { padding: 0 16px; }
  .zd-hero .zd-hero-meta p:nth-child(odd) { padding-left: 0; border-left: 0; }
  .zd-hero .zd-hero-meta p strong { font-size: 1.6rem; }
  .zd-hero--short h1,
  .zd-hero--short h2 { max-width: none; }
}
/* ===== end DSH hero type ===== */