/* ============================================================
   Yule Machinery — Light Corporate Theme
   Faithful conversion of the 4-page design (Home / Products /
   About / Contact). Deep burgundy bands + light editorial sections.
   ============================================================ */

@import url('https://fonts.cdnfonts.com/css/d-din');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800;900&display=swap');

:root {
  --bg: #ffffff;
  --bg-soft: #f8f4f5;
  --bg-softer: #f2ebed;
  --navy: #24151a;
  --navy-2: #321820;
  --navy-3: #43212b;
  --blue: #c8102e;
  --blue-hover: #a80e28;
  --blue-bright: #a91530;
  --amber: #f0a500;
  --amber-soft: rgba(240, 165, 0, 0.12);
  --text: #2b2023;
  --text-muted: #6c5d61;
  --text-faint: #918287;
  --on-dark: #ffffff;
  --on-dark-muted: #c4b4b8;
  --on-dark-dim: #a48b92;
  --line: #eee4e6;
  --line-strong: #dfd0d4;
  --line-dark: rgba(255, 255, 255, 0.1);
  --font-display: "Nunito", "D-DIN Condensed", "PingFang SC", sans-serif;
  --font-body: "Nunito", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 1px 2px rgba(48, 24, 29, 0.04), 0 8px 24px rgba(48, 24, 29, 0.06);
  --shadow-lift: 0 2px 4px rgba(48, 24, 29, 0.06), 0 18px 40px rgba(48, 24, 29, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============================================================
   Utility bar + Navigation
   ============================================================ */
.utility {
  background: var(--navy);
  color: var(--on-dark-dim);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
}

.utility .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 16px;
}

.utility .u-right { display: flex; align-items: center; gap: 10px; }
.utility .u-right a:hover { color: var(--amber); }
.utility .sep { color: rgba(255, 255, 255, 0.25); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-mark {
  width: 56px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #C8102E;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  color: inherit;
}

.brand-text { line-height: 1.15; }
.brand-text .bt-en {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: var(--navy);
}
.brand-text .bt-cn {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--text-faint);
}

.nav-links { display: flex; align-items: center; gap: 34px; }

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--blue); }

.nav-links a.active { color: var(--blue); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 4px;
  border: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
  white-space: nowrap;
}

.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); transform: translateY(-1px); }

.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #ffb522; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #fff0f2; transform: translateY(-1px); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  width: 42px; height: 38px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--navy);
  content: "";
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ============================================================
   Hero (light)
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 12% 0%, rgba(200, 16, 46, 0.045), transparent 60%),
    linear-gradient(180deg, #fdf9fa 0%, #ffffff 78%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  left: -8%;
  top: -30%;
  width: 46%;
  height: 130%;
  background: linear-gradient(180deg, rgba(200, 16, 46, 0.065), transparent 70%);
  transform: rotate(14deg);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 72px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 84px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.eyebrow-amber { color: var(--amber); }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 60px;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 26px;
}

.hero-sub {
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-chips span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 8px 14px;
  background: #fff;
}

/* photo card with caption bar (design signature) */
.photo-card {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  background: #fff;
}

.photo-card .pc-img { aspect-ratio: 5 / 4; overflow: hidden; background: var(--bg-softer); }
.photo-card .pc-img img { width: 100%; height: 100%; object-fit: cover; }

.photo-card .pc-caption {
  background: var(--navy);
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.photo-card .pc-caption .cap-r { color: var(--amber); }

/* ============================================================
   How can we help
   ============================================================ */
.help-section { background: var(--bg-soft); }

.help-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
  max-width: 820px;
  margin-bottom: 48px;
}

.help-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.help-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--blue);
}
.help-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--navy); }
.help-card p { font-size: 15px; line-height: 1.65; color: var(--text-muted); flex: 1; }
.help-card .text-link { margin-top: 8px; }

/* ============================================================
   Spec table
   ============================================================ */
.spec-section { background: #fff; }

.spec-table-wrap { overflow-x: auto; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13.5px;
  min-width: 860px;
}

.spec-table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  padding: 16px 18px;
  white-space: nowrap;
}

.spec-table tbody td {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--text);
  white-space: nowrap;
}

.spec-table tbody tr:nth-child(even) { background: var(--bg-soft); }

.spec-table .spec-model { color: var(--blue); font-weight: 600; }

.spec-note {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 16px;
}

/* ============================================================
   Service & support
   ============================================================ */
.support-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
}

.support-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 16px;
}

.support-lede { font-size: 16.5px; line-height: 1.7; color: var(--text-muted); margin-bottom: 28px; }

.support-list { list-style: none; margin-bottom: 32px; }

.support-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.support-list .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber);
  font-weight: 500;
  flex-shrink: 0;
}

/* ============================================================
   Stats bar
   ============================================================ */
.stats { background: #fff; border-bottom: 1px solid var(--line); }.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 52px;
  padding-bottom: 52px;
}

.stat { border-left: 2px solid var(--blue); padding-left: 20px; }

.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--blue);
  margin-bottom: 8px;
}

.stat span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1.5;
  display: block;
}

/* ============================================================
   Section shells
   ============================================================ */
.section { padding: 108px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { max-width: 760px; margin-bottom: 64px; }

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 18px;
}

.section-head p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
  margin-bottom: 56px;
}

.section-head-row .section-head { margin-bottom: 0; }

.text-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--blue);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}
.text-link:hover { color: var(--navy); }

/* ============================================================
   Equipment cards (light)
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.eq-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s;
}

.eq-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: var(--line-strong);
}

.eq-card .eq-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-softer); }
.eq-card .eq-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.eq-card:hover .eq-img img { transform: scale(1.04); }

.eq-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.eq-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.005em;
  color: var(--navy);
}

.eq-series {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--amber);
  font-weight: 500;
}

.eq-body p { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); }

/* application cards with amber top bar */
.app-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 26px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.app-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 3px;
  background: var(--amber);
}

.app-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.app-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 10px;
}

.app-card p { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); }

/* ============================================================
   Why section (dark navy)
   ============================================================ */
.why { background: var(--navy); color: #fff; position: relative; overflow: hidden; }

.why::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.22), transparent 65%);
  pointer-events: none;
}

.why .section-head h2 { color: #fff; }
.why .section-head p { color: var(--on-dark-muted); }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }

.why-card {
  background: var(--navy-2);
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  padding: 30px 26px;
  transition: transform 0.35s var(--ease-out), border-color 0.3s;
}

.why-card:hover { transform: translateY(-4px); border-color: rgba(240, 165, 0, 0.35); }

.why-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--amber);
  display: block;
  margin-bottom: 18px;
}

.why-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  margin-bottom: 10px;
}

.why-card p { font-size: 14.5px; line-height: 1.65; color: var(--on-dark-muted); }

/* amber divider */
.amber-strip { height: 6px; background: var(--amber); }

/* ============================================================
   CTA band (burgundy)
   ============================================================ */
.cta-band { background: var(--blue-bright); color: #fff; }

.cta-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 76px;
  padding-bottom: 76px;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.cta-band p { font-size: 16.5px; color: rgba(255, 255, 255, 0.82); max-width: 560px; }

.cta-actions { text-align: right; flex-shrink: 0; }

.cta-alt {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}
.cta-alt:hover { color: #fff; }

/* ============================================================
   Footer (dark navy)
   ============================================================ */
.site-footer { background: var(--navy); color: var(--on-dark-muted); }

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 60px;
}

.footer-brand .brand-mark { margin-bottom: 18px; color: #fff; }
.footer-brand .fb-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1.2;
}
.footer-brand .fb-cn { font-size: 10px; letter-spacing: 0.28em; color: var(--on-dark-dim); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: var(--on-dark-muted); max-width: 300px; }

.footer-mail {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber);
  letter-spacing: 0.02em;
}
.footer-mail:hover { text-decoration: underline; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14.5px; color: var(--on-dark-muted); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }

.footer-contact li { font-size: 14.5px; line-height: 1.6; margin-bottom: 12px; }
.footer-contact .fc-mail { font-family: var(--font-mono); font-size: 13.5px; color: #fff; }
.footer-contact .fc-mail:hover { color: var(--amber); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 26px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--on-dark-dim);
}

/* ============================================================
   Page hero (dark navy band)
   ============================================================ */
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -180px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.24), transparent 65%);
}

.page-hero .wrap { position: relative; padding-top: 72px; padding-bottom: 76px; }

.crumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--on-dark-dim);
  margin-bottom: 24px;
}
.crumb b { color: var(--amber); font-weight: 500; }

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 54px;
  line-height: 1.06;
  letter-spacing: -0.012em;
  margin-bottom: 20px;
  max-width: 820px;
}

.page-hero p { font-size: 17px; color: var(--on-dark-muted); max-width: 640px; }

/* ============================================================
   Products page
   ============================================================ */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 40px 0 48px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 10px 18px;
  border-radius: 4px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.chip:hover { border-color: var(--blue); color: var(--blue); }

.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }

.prod-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s; }
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }

.prod-card .pc-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-softer); }
.prod-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.prod-card:hover .pc-img img { transform: scale(1.04); }

.prod-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.prod-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 18.5px; color: var(--navy); }
.prod-body p { font-size: 14px; line-height: 1.6; color: var(--text-muted); }

/* custom engineering card (dark) */
.custom-card {
  background: var(--navy);
  border-radius: 6px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
  transition: transform 0.35s var(--ease-out);
}
.custom-card:hover { transform: translateY(-5px); }
.custom-card .cc-eyebrow { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--amber); }
.custom-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: #fff; }
.custom-card p { font-size: 14.5px; line-height: 1.65; color: var(--on-dark-muted); flex: 1; }
.custom-card .cc-link { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.08em; color: #fff; font-weight: 500; }
.custom-card .cc-link:hover { color: var(--amber); }

/* spare parts */
.spare-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.spare-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.spare-badge {
  width: 40px; height: 40px;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spare-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--navy); margin-bottom: 6px; }
.spare-card p { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); }

/* ============================================================
   About page
   ============================================================ */
.about-hero { background: var(--navy); color: #fff; overflow: hidden; }
.about-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr); gap: 56px; align-items: center; padding-top: 58px; padding-bottom: 64px; }
.about-hero-copy .crumb { margin-bottom: 34px; }
.about-hero-copy .eyebrow { color: var(--amber); }
.about-hero h1 { max-width: 700px; font-family: var(--font-display); font-size: clamp(42px, 4.5vw, 60px); font-weight: 700; line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 22px; }
.about-hero-copy > p:not(.crumb):not(.eyebrow) { max-width: 610px; color: var(--on-dark-muted); font-size: 17px; line-height: 1.75; }
.about-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.about-text-link { color: #fff; font-weight: 600; }
.about-text-link span { color: var(--amber); margin-left: 4px; }
.about-hero-points { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.16); }
.about-hero-points span { color: rgba(255,255,255,0.78); font-size: 12px; }
.about-hero-points span::before { content: "✓"; color: var(--amber); margin-right: 8px; }
.about-hero-visual { position: relative; aspect-ratio: 1 / 1; min-height: 440px; border-radius: 6px; overflow: hidden; background: #eadde0; box-shadow: 0 24px 55px rgba(0,0,0,0.24); }
.about-hero-visual::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(36, 21, 26, 0.5)); pointer-events: none; }
.about-hero-visual img { display: block; width: 100%; height: 100%; min-height: 440px; object-fit: cover; object-position: 55% center; }
.about-hero-video::after { display: none; }
.about-hero-video video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; background: #24151a; }
.about-hero-video .about-image-label { top: 18px; bottom: auto; }
.about-image-label { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; color: #fff; background: rgba(36, 21, 26, 0.9); border-left: 3px solid var(--amber); }
.about-image-label b { font-size: 11px; letter-spacing: 0.11em; }
.about-image-label span { color: rgba(255,255,255,0.72); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; }

.about-proof { background: #fff; border-bottom: 1px solid var(--line); }
.about-proof .wrap { display: grid; grid-template-columns: 0.8fr 0.8fr 1.4fr; gap: 34px; padding-top: 28px; padding-bottom: 28px; }
.about-proof-item { display: flex; flex-direction: column; justify-content: center; min-height: 72px; padding-left: 20px; border-left: 2px solid var(--blue); }
.about-proof-item b { color: var(--blue); font-family: var(--font-display); font-size: 31px; line-height: 1.1; margin-bottom: 5px; }
.about-proof-item span { color: var(--text-muted); font-family: var(--font-mono); font-size: 10px; line-height: 1.5; letter-spacing: 0.1em; text-transform: uppercase; }
.about-proof-wide b { font-size: 23px; }

.partner-section { background: var(--bg-soft); }
.partner-section-head { max-width: 700px; margin-right: auto; margin-left: auto; text-align: center; }
.partner-section-head h2 { margin-bottom: 14px; }
.partner-section-head > p:last-child { color: var(--text-muted); }
.partner-logo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 42px; }
.partner-logo-grid--five { display: flex; flex-wrap: wrap; justify-content: center; }
.partner-logo-grid--five > .partner-logo-card { flex: 0 1 calc((100% - 40px) / 3); }
.partner-logo-card { display: grid; grid-template-rows: 78px auto; min-width: 0; min-height: 184px; align-content: center; justify-items: center; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: center; }
.partner-logo-mark { display: flex; width: min(100%, 250px); height: 78px; align-items: center; justify-content: center; }
.partner-logo-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.partner-name { display: flex; max-width: 100%; flex-direction: column; align-items: center; gap: 5px; line-height: 1.45; }
.partner-name strong { color: var(--navy); font-size: 15px; font-weight: 700; }
.partner-name span { color: var(--text-muted); font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }

.story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); gap: 72px; align-items: center; }

.story-text h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 26px;
}

.story-text p { font-size: 16px; line-height: 1.75; color: var(--text-muted); margin-bottom: 18px; }
.about-focus-card { padding: 36px 34px; background: #f8f3f4; border-top: 3px solid var(--amber); }
.about-focus-card .eyebrow { margin-bottom: 14px; }
.about-focus-card h3 { margin-bottom: 12px; color: var(--navy); font-family: var(--font-display); font-size: 27px; line-height: 1.18; }
.about-focus-card p { margin-bottom: 18px; color: var(--text-muted); font-size: 14.5px; line-height: 1.7; }
.about-focus-card ul { display: grid; gap: 10px; padding: 0; margin: 0 0 22px; list-style: none; }
.about-focus-card li { color: var(--navy); font-size: 13.5px; }
.about-focus-card li::before { content: "—"; color: var(--amber); margin-right: 10px; }

.about-family-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.about-family-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding-bottom: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.2s; }
.about-family-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-lift); }
.about-family-image { height: 160px; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.about-family-image img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform 0.35s var(--ease-out); }
.about-family-card:hover .about-family-image img { transform: scale(1.04); }
.about-family-card > div:nth-child(2) { flex: 1; padding: 17px 18px 8px; }
.about-family-card > div:nth-child(2) > span { display: block; margin-bottom: 8px; color: var(--amber); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; }
.about-family-card h3 { margin-bottom: 7px; color: var(--navy); font-family: var(--font-display); font-size: 16px; line-height: 1.3; }
.about-family-card p { margin: 0; color: var(--text-muted); font-size: 12.5px; line-height: 1.55; }
.about-family-card > b { position: absolute; right: 17px; bottom: 18px; color: var(--blue); font-size: 15px; }
.about-family-card > div:nth-child(2) { padding-right: 28px; }
.about-process-grid .cap-card { min-height: 232px; }

.cap-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px 28px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.cap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.cap-card .cap-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--amber);
  display: block;
  margin-bottom: 16px;
}

.cap-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.cap-card p { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); }

.standards { background: var(--navy); padding: 26px 0; }

.standards .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.standards span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--amber);
}

.commit-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 30px 28px;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.commit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.commit-icon {
  width: 38px; height: 38px;
  border-radius: 4px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.commit-icon svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 3; fill: none; }

.commit-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.commit-card p { font-size: 14.5px; line-height: 1.65; color: var(--text-muted); }

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 44px 44px 40px;
  box-shadow: var(--shadow-card);
}

.form-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--navy);
  margin-bottom: 10px;
}

.form-card > p { font-size: 15.5px; color: var(--text-muted); margin-bottom: 34px; }

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 13px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.field textarea { min-height: 130px; resize: vertical; }

.form-note-text { font-size: 13.5px; color: var(--text-faint); margin-top: 16px; }

.form-note {
  display: none;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px dashed rgba(240, 165, 0, 0.5);
  border-radius: 4px;
  background: var(--amber-soft);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}
.form-note.show { display: block; }
.form-note b { color: var(--navy); }
.form-note a { color: var(--blue); text-decoration: underline; }
.form-note .btn { margin-top: 12px; }

.info-stack { display: flex; flex-direction: column; gap: 16px; }

.info-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 24px;
}

.info-card .ic-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin-bottom: 8px;
}

.info-card .ic-value { font-size: 16px; font-weight: 600; color: var(--navy); }
.info-card .ic-value.mono-val { font-family: var(--font-mono); font-size: 14.5px; font-weight: 500; }

.tips-card { background: var(--navy); border-radius: 6px; padding: 28px 26px; color: #fff; }
.tips-card .tc-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--amber); margin-bottom: 12px; }
.tips-card p { font-size: 14.5px; line-height: 1.65; color: var(--on-dark-muted); margin-bottom: 18px; }
.tips-card ol { list-style: none; counter-reset: tip; }
.tips-card li {
  counter-increment: tip;
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
  padding: 9px 0 9px 34px;
  position: relative;
  border-top: 1px solid var(--line-dark);
}
.tips-card li::before {
  content: counter(tip);
  position: absolute;
  left: 0; top: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber);
}
.tips-card li:first-child { border-top: 0; }

.talk-band { background: var(--bg-softer); }
.talk-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.talk-band .tb-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--blue); margin-bottom: 10px; }
.talk-band p { font-size: 16.5px; color: var(--text-muted); max-width: 640px; }

/* ============================================================
   Reveal animation + back to top
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), background 0.2s;
  z-index: 90;
  border: 0;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--blue); }
.to-top svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 2.5; fill: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 52px; }
  .photo-card { max-width: 560px; }
  .about-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr); gap: 34px; }
  .about-hero-visual, .about-hero-visual img { min-height: 380px; }
  .partner-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story { grid-template-columns: 1fr 0.8fr; gap: 40px; }
  .about-family-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .support-grid { grid-template-columns: 1fr; gap: 48px; }
  .support-text h2 { font-size: 34px; }
  .help-title { font-size: 28px; }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 20px;
    box-shadow: var(--shadow-lift);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a.active::after { display: none; }
  .nav-toggle { display: block; }
  .site-nav .wrap { min-height: 64px; }
  .site-nav .btn { display: none; }

  .utility .u-left { display: none; }
  .utility .wrap { justify-content: center; }

  .section { padding: 72px 0; }
  .section-head h2, .page-hero h1 { font-size: 36px; }
  .about-hero-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 42px; padding-bottom: 44px; }
  .about-hero-copy .crumb { margin-bottom: 24px; }
  .about-hero h1 { max-width: 620px; font-size: 44px; }
  .about-hero-visual { max-width: none; min-height: 360px; }
  .about-hero-visual img { min-height: 360px; }
  .about-proof .wrap { gap: 18px; }
  .partner-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .partner-logo-grid--five > .partner-logo-card { flex-basis: calc((100% - 14px) / 2); }
  .partner-logo-card { min-height: 176px; padding: 18px; }
  .about-family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 40px; }
  .hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  .cta-band h2 { font-size: 32px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; padding-top: 56px; padding-bottom: 56px; }
  .cta-actions { text-align: left; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .stat b { font-size: 36px; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .form-card { padding: 30px 24px 28px; }
  .talk-band .wrap { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; padding-top: 52px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .filters { padding: 28px 0 36px; }
}

@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .about-hero h1 { font-size: 38px; }
  .about-hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .about-hero-points { display: grid; gap: 10px; }
  .about-hero-visual, .about-hero-visual img { min-height: 290px; }
  .about-image-label { left: 10px; right: 10px; bottom: 10px; padding: 12px; }
  .about-image-label b { font-size: 9px; }
  .about-image-label span { font-size: 8px; }
  .about-proof .wrap { grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 20px; padding-bottom: 20px; }
  .about-proof-item { min-height: 64px; padding-left: 12px; }
  .about-proof-item b { font-size: 26px; }
  .about-proof-wide { grid-column: 1 / -1; }
  .about-proof-wide b { font-size: 20px; }
  .partner-logo-grid { gap: 10px; margin-top: 30px; }
  .partner-logo-grid--five > .partner-logo-card { flex-basis: 100%; }
  .partner-logo-card { grid-template-rows: 58px auto; min-height: 148px; gap: 10px; padding: 14px 10px; }
  .partner-logo-mark { height: 58px; }
  .partner-name { gap: 4px; }
  .partner-name strong { font-size: 12px; }
  .partner-name span { font-size: 9px; }
  .about-family-grid { grid-template-columns: 1fr; }
  .about-family-card { display: grid; grid-template-columns: 124px 1fr; align-items: center; min-height: 146px; padding: 0 12px 0 0; }
  .about-family-image { height: 100%; min-height: 146px; border-right: 1px solid var(--line); border-bottom: 0; }
  .about-family-card > div:nth-child(2) { padding: 14px 24px 14px 14px; }
  .about-family-card > b { right: 12px; bottom: 14px; }
  .about-focus-card { padding: 28px 24px; }
  .about-process-grid .cap-card { min-height: 0; }
}

/* ===================== Product Detail Pages ===================== */
.section-alt { background: var(--bg-soft); }
.h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 32px); color: var(--navy); margin: 0 0 28px; }
.ph-sub { max-width: 640px; margin-top: 14px; font-size: 17px; line-height: 1.7; color: var(--text-muted); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.pc-more { margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; color: var(--blue); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; background: var(--navy); border-radius: 8px; padding: 44px 48px; color: #fff; }
.cta-band .h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.72); max-width: 560px; margin: 0; }

.pd-hero { padding-bottom: 56px; }
.pd-series { display: inline-block; margin-top: 14px; padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 99px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--blue); background: #fff; }
.crumb a { color: inherit; }

.pd-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.pd-media { display: grid; gap: 16px; }
.pd-media img { width: 100%; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.pd-intro h2 { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--navy); margin: 0 0 20px; }
.pd-intro p { font-size: 15.5px; line-height: 1.85; color: var(--text-muted); margin: 0 0 16px; }
.pd-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.pd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.pd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pd-list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.7; color: var(--text-muted); }
.pd-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.pd-num { counter-reset: pdnum; }
.pd-num li::before { counter-increment: pdnum; content: counter(pdnum, decimal-leading-zero); position: static; width: auto; height: auto; background: none; color: var(--blue); font-weight: 800; font-family: var(--font-mono); font-size: 13px; margin-right: 10px; }

.pd-specwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.pd-spec { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.pd-spec th, .pd-spec td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pd-spec th { background: var(--navy); color: #fff; font-weight: 700; letter-spacing: 0.02em; }
.pd-spec tbody tr:nth-child(even) { background: var(--bg-soft); }
.pd-spec tbody tr:hover { background: #fff0f2; }
.pd-spec td:first-child { font-weight: 600; color: var(--navy); }
.pd-note { margin-top: 18px; font-size: 13.5px; color: var(--text-muted); }
.pd-note a { color: var(--blue); font-weight: 600; }

.pd-nav { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pd-navlink { flex: 1; min-width: 240px; padding: 22px 26px; background: #fff; border: 1px solid var(--line); border-radius: 8px; display: flex; flex-direction: column; gap: 6px; transition: border-color .3s, transform .3s; }
.pd-navlink:hover { border-color: var(--blue); transform: translateY(-3px); }
.pd-navlink span { font-size: 12px; letter-spacing: 0.1em; color: var(--text-muted); }
.pd-navlink b { font-size: 16px; color: var(--navy); }
.pd-next { text-align: right; }

@media (max-width: 900px) {
  .pd-layout, .pd-cols { grid-template-columns: 1fr; gap: 36px; }
  .cta-band { padding: 32px 26px; }
}
.footer-col > a { display: block; margin-bottom: 12px; }

/* ===================== Image Lightbox ===================== */
.pd-media img.zoomable,
.photo-card img.zoomable { cursor: zoom-in; }
a.pc-img { display: block; cursor: pointer; }
a.pc-img:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(36, 21, 26, 0.9);
  display: none; align-items: center; justify-content: center;
  padding: 32px; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw; max-height: 88vh;
  border-radius: 8px; background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute; top: 20px; right: 26px;
  width: 44px; height: 44px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, 0.16);
  color: #fff; font-size: 26px; line-height: 1;
  cursor: pointer; transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.32); }

/* ===================== Category Sections (Products) ===================== */
.cat-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.cat-nav .wrap { display: flex; gap: 10px; flex-wrap: wrap; }
.cat-nav .chip { text-decoration: none; cursor: pointer; }
.cat-nav .chip b { margin-left: 4px; color: var(--blue); }

.cat-section { padding-top: 64px; padding-bottom: 24px; }
.cat-section + .cat-section { border-top: 1px solid var(--line); }
.cat-section:nth-child(odd) { background: transparent; }
.cat-section:nth-child(even) { background: var(--bg-soft); }
.cat-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 32px;
}
.cat-head h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.2vw, 36px); color: var(--navy); margin: 6px 0 8px; }
.cat-sub { color: var(--text-muted); font-size: 15px; margin: 0; }
.cat-count {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  color: var(--blue); border: 1px solid var(--line-strong);
  border-radius: 99px; padding: 8px 16px; white-space: nowrap;
}
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

/* ===================== Spec Row Lookup Modal ===================== */
.pd-spec tbody tr { cursor: pointer; transition: background 0.15s; }
.pd-spec tbody tr:hover td:first-child::after {
  content: "⤢"; margin-left: 8px; color: var(--blue); font-size: 12px;
}
.spec-modal {
  position: fixed; inset: 0; z-index: 320;
  background: rgba(36, 21, 26, 0.78);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.spec-modal.open { display: flex; }
.spec-card {
  background: #fff; border-radius: 10px; max-width: 560px; width: 100%;
  max-height: 86vh; overflow-y: auto; padding: 32px 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.spec-card h3 {
  font-family: var(--font-display); font-weight: 800; font-size: 24px;
  color: var(--navy); margin: 0 0 4px;
}
.spec-card .spec-sub { font-size: 13px; color: var(--blue); font-weight: 700; letter-spacing: 0.06em; margin-bottom: 18px; }
.spec-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; border-top: 1px solid var(--line); margin: 0; }
.spec-card .row {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 11px 2px; border-bottom: 1px solid var(--line); font-size: 14px;
}
.spec-card .row dt { color: var(--text-muted); margin: 0; }
.spec-card .row dd { color: var(--navy); font-weight: 700; margin: 0; font-family: var(--font-mono); font-size: 13px; text-align: right; }
.spec-card .spec-cta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.spec-card .spec-close {
  position: sticky; float: right; top: 0;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: var(--bg-soft); color: var(--navy); font-size: 20px; cursor: pointer;
}
.spec-card .spec-close:hover { background: var(--line); }

/* Storefront category directory: clear buying paths immediately below the hero. */
.store-directory { background: #fff; border-bottom: 1px solid var(--line); }
.store-directory .wrap { padding-top: 25px; padding-bottom: 27px; }
.directory-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.directory-heading > span { color: var(--text-faint); font: 600 10px/1.4 var(--font-mono); letter-spacing: .16em; }
.directory-heading a { color: var(--blue); font-size: 13px; font-weight: 700; }
.directory-heading a b { margin-left: 6px; }
.directory-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.directory-grid a { min-height: 105px; padding: 18px 20px; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-content: center; border-right: 1px solid var(--line); transition: background .2s, color .2s; }
.directory-grid a:last-child { border-right: 0; }
.directory-grid a:hover { background: var(--bg-soft); }
.directory-icon { grid-row: 1 / 3; align-self: center; color: var(--amber); font: 700 12px/1 var(--font-mono); }
.directory-grid strong { color: var(--navy); font-size: 15px; }
.directory-grid small { color: var(--text-muted); font-size: 11px; line-height: 1.5; }
@media (max-width: 767px) { .directory-grid { grid-template-columns: repeat(2, 1fr); } .directory-grid a:nth-child(2) { border-right: 0; } .directory-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 420px) { .directory-grid { grid-template-columns: 1fr; } .directory-grid a { border-right: 0; border-bottom: 1px solid var(--line); } .directory-grid a:last-child { border-bottom: 0; } }

/* Final layout polish: consistent image windows, card baselines and section rhythm. */
.section { padding-top: 88px; padding-bottom: 88px; }
.section-head { margin-bottom: 44px; }
.grid-3, .grid-4 { align-items: stretch; gap: 22px; }
.eq-card { height: 100%; min-width: 0; }
.eq-card .eq-img { aspect-ratio: 4 / 3; position: relative; }
.eq-card .eq-img img { display: block; object-position: center; }
.eq-body { min-height: 190px; padding: 21px 22px 23px; }
.eq-body h3 { min-height: 1.35em; }
.eq-body p { margin-top: auto; }
.app-card { height: 100%; }
.why-grid { align-items: stretch; }
.why-card { height: 100%; }
.photo-card { width: 100%; }
.photo-card .pc-img img { object-position: center; }
.support-grid { align-items: center; }
.spec-table-wrap { overflow-x: auto; }
.directory-grid { align-items: stretch; }
.directory-grid a { min-width: 0; }
@media (max-width: 1080px) { .section { padding-top: 72px; padding-bottom: 72px; } .eq-body { min-height: 180px; } }
@media (max-width: 860px) { .section-head { margin-bottom: 34px; } .eq-body { min-height: 0; } }
@media (max-width: 520px) { .section { padding-top: 54px; padding-bottom: 54px; } .grid-3, .grid-4 { gap: 16px; } .eq-card .eq-img { aspect-ratio: 1.45 / 1; } }

/* Keep all product listings visible even when the scroll animation script is delayed or blocked. */
.reveal { opacity: 1; transform: none; }
.prod-grid { align-items: stretch; }
.prod-card { min-width: 0; height: 100%; }
.prod-card .pc-img { display: block; width: 100%; aspect-ratio: 4 / 3; background: #f7f1f2; }
.prod-card .pc-img img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.prod-body { min-height: 205px; }
.prod-body p { margin: 0; }
@media (max-width: 600px) { .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .prod-body { min-height: 0; padding: 16px; } }
@media (max-width: 420px) { .prod-grid { grid-template-columns: 1fr; } }

/* Product catalog cards must remain independent from scroll-reveal animations. */
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 24px; }
.prod-grid > .prod-card { display: flex; flex-direction: column; min-width: 0; height: 100%; opacity: 1 !important; visibility: visible !important; transform: none !important; }
.prod-grid > .prod-card .pc-img { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #f7f1f2; }
.prod-grid > .prod-card .pc-img img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.prod-grid > .prod-card .prod-body { min-height: 205px; flex: 1; }
@media (max-width: 900px) { .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (max-width: 560px) { .prod-grid { grid-template-columns: 1fr; gap: 16px; } .prod-grid > .prod-card .prod-body { min-height: 0; } }

/* Keep every catalog card and image visible even when reveal scripts are
   delayed, blocked, or restored midway through a scroll session. */
.prod-grid,
.prod-grid > .prod-card,
.prod-grid > .prod-card *,
.prod-grid > .prod-card *::before,
.prod-grid > .prod-card *::after {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
}
.prod-grid { grid-auto-flow: row; }
.prod-grid > .prod-card { height: auto; align-self: stretch; }
.prod-grid > .prod-card .pc-img img { min-width: 100%; min-height: 100%; }
/* Two-column catalogue keeps the full product title/photo together at wide
   desktop widths; cards return to one clean flow on phones. */
.prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-rows: auto !important; }
.prod-grid > .prod-card { height: auto !important; min-height: 0; }
@media (max-width: 680px) { .prod-grid { grid-template-columns: 1fr !important; } }
.cat-section, .cat-section .prod-grid, .cat-section .prod-grid > .prod-card,
.cat-section .prod-grid > .prod-card .pc-img,
.cat-section .prod-grid > .prod-card .prod-body,
.cat-section .prod-grid > .prod-card img,
.cat-section .prod-grid > .prod-card h3,
.cat-section .prod-grid > .prod-card p,
.cat-section .prod-grid > .prod-card span {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.cat-section .prod-grid > .prod-card { display: flex !important; flex-direction: column !important; }
.cat-section .prod-grid > .prod-card .pc-img { display: block !important; }
.cat-section .prod-grid > .prod-card .prod-body { display: block !important; }

/* Frame-level photo fallback keeps catalog images visible across browsers. */
.prod-grid > .prod-card .pc-img { background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important; }

/* WordPress may retain empty card placeholders in previously saved catalog
   markup. Remove those placeholders so real products flow without gaps. */
.cat-section .prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 24px !important; }
.cat-section .prod-grid > .prod-card:not(:has(img)):not(:has(h2, h3, h4, .prod-body p)) { display: none !important; }
@media (max-width: 900px) { .cat-section .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 600px) { .cat-section .prod-grid { grid-template-columns: 1fr !important; } }

/* Final catalog correction: show every real item as a complete, readable
   card and remove legacy blank placeholders left in saved WordPress pages. */
.cat-section .prod-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  grid-auto-rows: auto !important;
  align-items: stretch !important;
  gap: 24px !important;
}
.cat-section .prod-grid > a.prod-card {
  display: flex !important;
  position: relative !important;
  grid-column: auto !important;
  grid-row: auto !important;
  flex-direction: column !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  color: #2b2023 !important;
  background: #fff !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.cat-section .prod-grid > a.prod-card:not(:has(h3)) { display: none !important; }
.cat-section .prod-grid > a.prod-card .pc-img {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #f7f1f2 !important;
}
.cat-section .prod-grid > a.prod-card .pc-img img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  opacity: 1 !important;
  visibility: visible !important;
}
.cat-section .prod-grid > a.prod-card .prod-body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 205px !important;
  padding: 22px !important;
  color: #2b2023 !important;
  background: #fff !important;
}
.cat-section .prod-grid > a.prod-card h3,
.cat-section .prod-grid > a.prod-card p,
.cat-section .prod-grid > a.prod-card span { color: inherit !important; opacity: 1 !important; visibility: visible !important; }
@media (max-width: 900px) { .cat-section .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px !important; } }
@media (max-width: 600px) { .cat-section .prod-grid { grid-template-columns: 1fr !important; gap: 16px !important; } }

/* Explicit product-photo mapping also covers catalog cards already stored in WordPress page content. */
.prod-grid > .prod-card[href*="gantry-pelletizer"] .pc-img { background-image: url("../images/prod-gantry.jpg") !important; }
.prod-grid > .prod-card[href*="high-torque-pelletizer"] .pc-img { background-image: url("../images/prod-high-torque.jpg") !important; }
.prod-grid > .prod-card[href*="water-ring-pelletizer"] .pc-img { background-image: url("../images/prod-water-pelletizer.jpg") !important; }
.prod-grid > .prod-card[href*="elastomer-pelletizer"] .pc-img { background-image: url("../images/prod-elastomer.jpg") !important; }
.prod-grid > .prod-card[href*="fiber-reinforced-pelletizer"] .pc-img { background-image: url("../images/prod-fiber.jpg") !important; }
.prod-grid > .prod-card[href*="boom-pelletizer"] .pc-img { background-image: url("../images/prod-cantilever.jpg") !important; }
.prod-grid > .prod-card[href*="biodegradable-pelletizer"] .pc-img { background-image: url("../images/prod-biodegradable.jpg") !important; }
.prod-grid > .prod-card[href*="underwater-granulation"] .pc-img { background-image: url("../images/prod-underwater.jpg") !important; }
.prod-grid > .prod-card[href*="micro-pelletizer"] .pc-img { background-image: url("../images/prod-micro.jpg") !important; }
.prod-grid > .prod-card[href*="laboratory-granulator"] .pc-img { background-image: url("../images/prod-lab.jpg") !important; }
.prod-grid > .prod-card[href*="reciprocating-classifier"] .pc-img { background-image: url("../images/prod-reciprocating.jpg") !important; }
.prod-grid > .prod-card[href*="linear-vibrating-screen"] .pc-img { background-image: url("../images/prod-linear-screen.jpg") !important; }
.prod-grid > .prod-card[href*="screen-storage-unit"] .pc-img { background-image: url("../images/prod-screen-storage.jpg") !important; }
.prod-grid > .prod-card[href*="vertical-dehydrator"] .pc-img { background-image: url("../images/prod-vertical-dehydrator.jpg") !important; }
.prod-grid > .prod-card[href*="suction-machine"] .pc-img { background-image: url("../images/prod-suction-dryer.jpg") !important; }
.prod-grid > .prod-card[href*="beating-machine"] .pc-img { background-image: url("../images/prod-beater.jpg") !important; }
.prod-grid > .prod-card[href*="air-dryer"] .pc-img { background-image: url("../images/prod-air-cooled.jpg") !important; }
.prod-grid > .prod-card[href*="spray-cooling-conveyor"] .pc-img { background-image: url("../images/prod-spray-conveyor.jpg") !important; }
.prod-grid > .prod-card[href*="drying-blower"] .pc-img { background-image: url("../images/prod-air-knife.jpg") !important; }
.prod-grid > .prod-card[href*="hoist-feeder"] .pc-img { background-image: url("../images/prod-hoist-feeder.jpg") !important; }
.prod-grid > .prod-card[href*="dust-free-feeding-station"] .pc-img { background-image: url("../images/prod-dustfree.jpg") !important; }
.prod-grid > .prod-card[href*="stainless-silo"] .pc-img { background-image: url("../images/prod-silo.jpg") !important; }
.prod-grid > .prod-card[href*="water-trough"] .pc-img { background-image: url("../images/prod-water-trough.jpg") !important; }
.prod-grid > .prod-card[href*="lq-fittings"] .pc-img { background-image: url("../images/prod-fittings.jpg") !important; }
.prod-grid > .prod-card .pc-img { background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important; }

/* Keep incomplete desktop rows visually balanced after empty placeholders are removed. */
@media (min-width: 901px) {
  .cat-section .prod-grid:has(> a.prod-card:nth-child(10):last-child) > a.prod-card:last-child { grid-column: 1 !important; }
  .cat-section .prod-grid:has(> a.prod-card:nth-child(2):last-child) {
    width: min(100%, 1120px) !important;
    margin-inline: auto !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
