/*
Theme Name: b2bwood-2026
Theme URI: https://b2bwood.com
Author: Heze Sunflower Import and Export Co., Ltd.
Description: Custom WordPress theme for b2bwood.com wooden products B2B website.
Version: 1.0.0
Text Domain: b2bwood
*/

:root {
  --ink: #17211b;
  --muted: #5c665f;
  --line: #dfe4df;
  --paper: #fbfaf6;
  --white: #ffffff;
  --wood: #8a5a2f;
  --leaf: #2d6a4f;
  --clay: #b85c38;
  --steel: #34495e;
  --gold: #d9a441;
  --shadow: 0 18px 42px rgba(23, 33, 27, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(223, 228, 223, 0.86);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.nav {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-name {
  font-size: 16px;
  line-height: 1.15;
}

.brand-short {
  display: none;
}

.nav-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.button,
button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 6px;
  padding: 12px 18px;
  color: var(--white);
  background: var(--leaf);
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  color: var(--ink);
  background: var(--gold);
}

.button.ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  color: var(--white);
  background: #17211b;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 17, 13, 0.86), rgba(10, 17, 13, 0.58) 48%, rgba(10, 17, 13, 0.18)),
    image-set(
      url("assets/images/wood-factory-hero-1600.webp") type("image/webp"),
      url("assets/images/wood-factory-hero-1600.jpg") type("image/jpeg")
    ) center / cover no-repeat;
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 430px;
  gap: 44px;
  align-items: center;
  padding: 72px 0 84px;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(40px, 5.1vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
}

.hero-answer {
  max-width: 720px;
  border-left: 4px solid var(--gold);
  margin: 22px 0 0;
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
}

.hero-answer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--white);
}

.hero-answer p {
  margin-bottom: 0;
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 780px;
}

.proof {
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.proof strong {
  display: block;
  color: var(--white);
  font-size: 23px;
  line-height: 1.1;
}

.proof span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
}

.quote-panel {
  width: 100%;
  border-radius: 8px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-panel h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.quote-panel p {
  color: var(--muted);
  font-size: 14px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.quote-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quote-form .wide-field,
.quote-form button {
  grid-column: 1 / -1;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: var(--white);
}

.visual-proof {
  padding: 46px 0;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

.section-head h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

.content-page {
  background: var(--white);
}

.content-hero {
  padding: 78px 0 52px;
  color: var(--white);
  background: var(--ink);
}

.content-hero .wrap {
  max-width: 980px;
}

.content-hero h1 {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(36px, 4vw, 58px);
}

.content-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.content-body {
  padding: 58px 0 80px;
}

.content-body .wrap {
  max-width: 980px;
}

.content-body h2 {
  margin: 34px 0 10px;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.15;
}

.content-body h3 {
  margin: 24px 0 8px;
  font-size: 21px;
}

.content-body p,
.content-body li {
  color: var(--muted);
}

.content-body ul,
.content-body ol {
  padding-left: 22px;
}

.content-body .answer-box {
  margin: 18px 0 26px;
}

.content-body .rfq-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 30px 0;
  padding: 22px;
  background: var(--paper);
}

.content-body .rfq-box .button {
  margin-top: 8px;
}

.content-body .quote-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 18px 0 34px;
  padding: 22px;
  background: var(--paper);
}

.related-links {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 28px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.link-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 800;
  text-decoration: none;
}

.post-list {
  display: grid;
  gap: 18px;
}

.post-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
}

.post-item h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.post-item h2 a {
  text-decoration: none;
}

.post-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--white);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.card p,
.card li {
  color: var(--muted);
}

.card ul,
.checklist {
  margin: 14px 0 0;
  padding-left: 18px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--steel);
  background: #eef3ef;
  font-size: 12px;
  font-weight: 750;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--leaf);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.text-link::after {
  content: ">";
  margin-left: 6px;
}

.link-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.link-line .text-link {
  margin-top: 0;
}

.process-links .text-link {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 13px;
  color: var(--ink);
  background: var(--white);
}

.process-links .text-link:hover,
.process-links .text-link:focus {
  background: #eef3ef;
}

.support-note {
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  margin-top: 18px;
  padding: 18px 20px;
  background: var(--white);
}

.support-note strong {
  display: block;
  margin-bottom: 6px;
}

.support-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.image-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0;
  background: var(--white);
}

.image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-card figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 14px;
}

.category-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
}

.category-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--steel);
  font-size: 30px;
  font-weight: 900;
}

.category-card:nth-child(2n) .category-icon {
  background: var(--leaf);
}

.category-card:nth-child(3n) .category-icon {
  background: var(--clay);
}

.category-card h3 {
  margin-bottom: 6px;
}

.category-card p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 38px;
  align-items: start;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
}

.step {
  position: relative;
  padding: 18px 18px 18px 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: var(--white);
  background: var(--clay);
  font-weight: 800;
}

.markets {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.market {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--white);
  font-weight: 800;
}

.answer-box {
  border-left: 4px solid var(--leaf);
  padding: 22px;
  background: #edf6ef;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.cta-band {
  color: var(--white);
  background: var(--ink);
}

.cta-band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.76);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cta-band .button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  padding: 38px 0;
  color: rgba(255, 255, 255, 0.72);
  background: #111812;
}

.mobile-action-bar {
  display: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 24px;
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
}

.site-footer a {
  color: #e8f0ec;
  text-decoration-color: rgba(232, 240, 236, 0.46);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
  text-decoration-color: #d9a441;
}

.notice {
  border-radius: 6px;
  margin-bottom: 12px;
  padding: 10px 12px;
  font-weight: 750;
}

.notice.success {
  color: #17462d;
  background: #dff2e7;
}

.notice.error {
  color: #6b1d16;
  background: #f8ded9;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner,
  .split,
  .cta-band .wrap {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .proof-strip,
  .category-map,
  .image-pair,
  .grid-2,
  .grid-3,
  .grid-4,
  .link-grid,
  .markets,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 72px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(10, 17, 13, 0.86), rgba(10, 17, 13, 0.58) 48%, rgba(10, 17, 13, 0.18)),
      image-set(
        url("assets/images/wood-factory-hero-900.webp") type("image/webp"),
        url("assets/images/wood-factory-hero-1600.jpg") type("image/jpeg")
      ) center / cover no-repeat;
  }

  .hero-inner {
    padding: 40px 0 44px;
  }

  .proof-strip,
  .category-map,
  .image-pair,
  .grid-2,
  .grid-3,
  .grid-4,
  .link-grid,
  .markets,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .hero-answer {
    padding: 14px 15px;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 14px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
  }

  .mobile-action-bar a {
    min-height: 48px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    color: var(--white);
    background: var(--leaf);
    font-weight: 850;
    text-decoration: none;
  }

  .mobile-action-bar a:last-child {
    color: var(--ink);
    background: var(--gold);
  }
}

/* Homepage V2 overrides */
.nav {
  width: min(1240px, calc(100% - 32px));
  min-height: 68px;
  gap: 18px;
}

.nav-links {
  gap: 16px;
  font-size: 14.5px;
  font-weight: 720;
}

.hero {
  min-height: 650px;
}

.hero-inner {
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 36px;
  padding: 58px 0 68px;
}

h1 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.02;
}

.hero-copy {
  max-width: 620px;
  font-size: 18px;
}

.hero-answer {
  max-width: 660px;
  margin-top: 18px;
  padding: 14px 16px;
}

.hero-answer p {
  font-size: 14px;
}

.hero-actions {
  margin: 22px 0;
}

.proof-strip {
  max-width: 760px;
}

.proof {
  min-height: 82px;
  padding: 13px;
}

.proof strong {
  font-size: 21px;
}

.quote-panel {
  padding: 22px;
}

.quote-panel h2 {
  font-size: 22px;
}

.quote-panel p {
  font-size: 13px;
}

textarea {
  min-height: 88px;
}

.section {
  padding: 70px 0;
}

.visual-proof {
  padding: 42px 0;
}

.section-head h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.section-head p {
  font-size: 16px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 34px;
  align-items: center;
}

.intro-grid h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.intro-grid p {
  color: var(--muted);
  font-size: 17px;
}

.capability-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.capability-stats div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--white);
}

.capability-stats strong {
  display: block;
  color: var(--leaf);
  font-size: 30px;
  line-height: 1;
}

.capability-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.mobile-nav-controls {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.mobile-rfq-link,
.mobile-menu summary {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.mobile-rfq-link {
  color: var(--white);
  background: var(--leaf);
}

.mobile-menu {
  position: relative;
}

.mobile-menu summary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-product-group {
  min-width: 0;
}

.mobile-product-group summary {
  width: 100%;
  justify-content: flex-start;
}

.mobile-product-group summary::-webkit-details-marker {
  display: none;
}

.mobile-product-open,
.mobile-product-group[open] .mobile-product-closed {
  display: none;
}

.mobile-product-group[open] .mobile-product-open {
  display: inline;
}

.mobile-product-links {
  display: grid;
  gap: 2px;
  margin: 2px 0 4px;
  padding-left: 10px;
}

.mobile-product-links a {
  border-left: 2px solid #eef3ef;
  padding-left: 14px;
  background: #fbfaf6;
  font-size: 13px;
}

.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 90;
  width: min(320px, calc(100vw - 24px));
  max-height: calc(100vh - 94px);
  overflow-y: auto;
  display: grid;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-menu-panel a,
.mobile-menu-group-title {
  display: block;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.mobile-menu-group-title {
  color: var(--leaf);
  background: #eef3ef;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.mobile-menu-panel a:hover,
.mobile-menu-panel a:focus {
  background: #eef3ef;
}

.mobile-menu-quote {
  color: var(--white) !important;
  background: var(--leaf);
}

.quote-more-details {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.quote-more-details summary {
  padding: 12px 14px;
  color: var(--leaf);
  font-weight: 850;
  cursor: pointer;
}

.quote-more-grid {
  display: grid;
  grid-template-columns: inherit;
  gap: 12px;
  padding: 0 14px 14px;
}

.search-results-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.search-result-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.search-result-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
}

.search-result-card h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.category-card {
  grid-template-columns: 128px minmax(0, 1fr);
  padding: 18px;
}

.category-media {
  min-height: 132px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(45, 106, 79, 0.12), rgba(217, 164, 65, 0.18)),
    image-set(
      url("assets/images/wood-factory-hero-900.webp") type("image/webp"),
      url("assets/images/wood-factory-hero-1600.jpg") type("image/jpeg")
    ) center / cover no-repeat;
}

.small-note {
  margin-bottom: 0;
  font-size: 14px;
}

.featured-category {
  grid-column: 1 / -1;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.markets {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cta-band {
  background: linear-gradient(135deg, #17211b, #2d6a4f);
}

.footer-grid {
  grid-template-columns: 1.3fr 0.85fr 1fr 1fr 1fr;
}

.desktop-contact-rail {
  position: fixed;
  right: 18px;
  top: 46%;
  z-index: 40;
  width: 92px;
  overflow: hidden;
  border: 1px solid rgba(223, 228, 223, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(23, 33, 27, 0.15);
}

.desktop-contact-rail a {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.desktop-contact-rail a:last-child {
  border-bottom: 0;
}

@media (max-width: 980px) {
  .hero-inner,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desktop-contact-rail {
    display: none;
  }
}

@media (max-width: 1180px) {
  .nav-links {
    display: none;
  }

  .mobile-nav-controls {
    display: flex;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 74px;
  }

  .hero-inner {
    gap: 22px;
    padding: 30px 0 34px;
  }

  h1 {
    max-width: 360px;
    margin-bottom: 12px;
    font-size: clamp(31px, 9vw, 38px);
    line-height: 1.05;
  }

  .hero-copy {
    max-width: 360px;
    font-size: 15px;
  }

  .hero-answer {
    margin-top: 14px;
    padding: 12px 13px;
  }

  .hero-answer p {
    font-size: 13px;
  }

  .hero-actions {
    margin: 16px 0;
  }

  .proof {
    min-height: auto;
    padding: 11px 12px;
  }

  .proof strong {
    font-size: 18px;
  }

  .section {
    padding: 48px 0;
  }

  .quote-panel {
    padding: 18px;
  }

  .quote-panel h2 {
    font-size: 20px;
  }

  .category-card {
    grid-template-columns: 1fr;
  }

  .category-media {
    min-height: 160px;
  }

  .capability-stats,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .mobile-action-bar {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding: 9px 12px;
  }

  .mobile-action-bar a {
    min-height: 46px;
    font-size: 13px;
  }

  .mobile-action-bar a:nth-child(2) {
    color: var(--ink);
    background: var(--gold);
  }

  .mobile-action-bar a:last-child {
    color: var(--white);
    background: var(--steel);
  }
}

/* Homepage V3 refinements */
.has-submenu {
  position: relative;
}

.submenu {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 120;
  min-width: 260px;
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.submenu a {
  display: block;
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 13px;
}

.submenu a:hover,
.submenu a:focus {
  background: #eef3ef;
}

.nav-links .submenu li:last-child a {
  min-height: auto;
  display: block;
  padding: 10px 12px;
  color: var(--ink);
  background: transparent;
  font-weight: 720;
}

.entity-answer {
  border-left-color: var(--gold);
  background: var(--white);
}

.entity-answer h2 {
  margin-bottom: 12px;
}

.entity-answer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  .submenu {
    display: none;
  }
}

/* Mobile layout and contact bar hardening */
html,
body {
  max-width: 100%;
}

body {
  overflow-x: clip;
}

main,
section,
.site-header,
.site-footer,
.hero,
.wrap,
.nav,
.hero-inner,
.intro-grid,
.split,
.category-map,
.category-card,
.image-pair,
.capability-stats,
.capability-grid,
.quote-panel,
.cta-band .wrap,
.footer-grid {
  min-width: 0;
  max-width: 100%;
}

input,
select,
textarea,
button {
  min-width: 0;
}

@media (max-width: 760px) {
  body {
    padding-bottom: 86px;
    overflow-x: hidden;
  }

  .site-header {
    overflow-x: clip;
  }

  .nav,
  .wrap,
  .hero-inner {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    min-height: 60px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    max-width: 100%;
    gap: 8px;
  }

  .brand span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.15;
  }

  .mobile-nav-controls {
    flex: 0 0 auto;
    gap: 6px;
  }

  .mobile-rfq-link,
  .mobile-menu summary {
    min-height: 40px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .mobile-menu {
    position: static;
  }

  .mobile-menu-panel {
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    width: auto;
    max-width: 100%;
  }

  .brand-full {
    display: none;
  }

  .brand-short {
    display: inline;
  }

  .hero {
    min-height: auto;
    overflow: hidden;
  }

  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 28px 0 32px;
  }

  .hero-content,
  .quote-panel,
  .answer-box,
  .card,
  .step,
  .market,
  .image-card,
  .category-card {
    min-width: 0;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.4vw, 36px);
    line-height: 1.06;
  }

  h2,
  h3,
  p,
  li,
  summary,
  label,
  a {
    overflow-wrap: anywhere;
  }

  .hero-copy,
  .hero-answer {
    max-width: 100%;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .button,
  .cta-actions .button {
    width: 100%;
  }

  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .proof {
    min-width: 0;
    min-height: 0;
  }

  .quote-form,
  .intro-grid,
  .split,
  .category-map,
  .image-pair,
  .capability-stats,
  .capability-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .link-grid,
  .markets,
  .footer-grid,
  .cta-band .wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-form .wide-field,
  .quote-form button,
  .featured-category {
    grid-column: auto;
  }

  .category-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-media {
    min-height: 150px;
  }

  .image-card img,
  .category-media {
    max-width: 100%;
  }

  .desktop-contact-rail {
    display: none !important;
  }

  .mobile-action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: 100%;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
  }

  .mobile-action-bar a {
    min-width: 0;
    min-height: 44px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    color: var(--white);
    background: var(--leaf);
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
  }

  .mobile-action-bar a:nth-child(2) {
    color: var(--ink);
    background: var(--gold);
  }

  .mobile-action-bar a:last-child {
    color: var(--white);
    background: var(--steel);
  }
}

/* Production header upgrade */
.site-header {
  z-index: 1000;
  border-bottom: 1px solid rgba(223, 228, 223, 0.92);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 28px rgba(23, 33, 27, 0.08);
}

.nav {
  width: min(1500px, calc(100% - 44px));
  min-height: 110px;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  min-width: 0;
  max-width: 360px;
}

.brand-logo,
.brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img,
.brand .custom-logo {
  width: auto;
  max-width: 350px;
  max-height: 68px;
  object-fit: contain;
}

.brand-name {
  display: block;
  color: var(--ink);
  font-size: 22px;
  font-weight: 880;
  line-height: 1.12;
  white-space: normal;
}

.primary-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-links {
  justify-content: center;
  gap: 10px;
  color: #26342c;
  font-size: 16px;
  font-weight: 780;
}

.nav-links > li > a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 11px 10px;
  color: #26342c;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links > li > a:hover,
.nav-links > li > a:focus-visible,
.has-submenu:hover > a,
.has-submenu:focus-within > a,
.has-submenu.is-open > a {
  color: var(--leaf);
  background: #eef3ef;
}

.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.header-search,
.mobile-menu-search {
  display: flex;
  align-items: center;
  min-width: 0;
}

.header-search input,
.mobile-menu-search input {
  width: 170px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px 0 0 6px;
  padding: 9px 10px;
  color: var(--ink);
  background: var(--white);
  font-size: 13px;
}

.header-search button,
.mobile-menu-search button {
  min-height: 42px;
  border-radius: 0 6px 6px 0;
  padding: 9px 11px;
  font-size: 12px;
}

.header-contact-link,
.header-rfq-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 9px 11px;
  font-size: 13px;
  font-weight: 820;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.header-contact-link {
  border: 1px solid var(--line);
  color: var(--leaf);
  background: var(--white);
}

.header-rfq-button {
  color: var(--white);
  background: var(--leaf);
}

.has-submenu {
  position: relative;
}

.has-mega-menu {
  position: static;
}

.mega-menu,
.news-menu {
  position: absolute;
  top: 100%;
  z-index: 1100;
  border: 1px solid rgba(223, 228, 223, 0.95);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(23, 33, 27, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.has-submenu:hover .mega-menu,
.has-submenu:focus-within .mega-menu,
.has-submenu.is-open .mega-menu,
.has-submenu:hover .news-menu,
.has-submenu:focus-within .news-menu,
.has-submenu.is-open .news-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu {
  left: 50%;
  width: min(1320px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 22px;
  max-height: min(74vh, 760px);
  overflow-y: auto;
  transform: translate(-50%, 8px);
}

.has-submenu:hover .mega-menu,
.has-submenu:focus-within .mega-menu,
.has-submenu.is-open .mega-menu {
  transform: translate(-50%, 0);
}

.news-menu {
  right: 0;
  width: min(300px, calc(100vw - 32px));
  display: grid;
  gap: 3px;
  padding: 10px;
}

.mega-column {
  min-width: 0;
}

.mega-heading {
  margin: 0 0 10px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.mega-subheading {
  margin: 12px 0 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.mega-menu a,
.news-menu a {
  display: block;
  border-radius: 6px;
  padding: 8px 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.3;
  text-decoration: none;
}

.mega-menu a:hover,
.mega-menu a:focus-visible,
.news-menu a:hover,
.news-menu a:focus-visible {
  color: var(--leaf);
  background: #eef3ef;
}

@media (max-width: 1360px) {
  .nav {
    width: min(100% - 28px, 1280px);
    gap: 14px;
  }

  .brand {
    max-width: 270px;
  }

  .brand-name {
    font-size: 18px;
  }

  .nav-links {
    gap: 4px;
    font-size: 14px;
  }

  .nav-links > li > a {
    padding-inline: 7px;
  }

  .header-contact-link {
    display: none;
  }

  .header-search input {
    width: 140px;
  }
}

@media (max-width: 1180px) {
  .primary-nav,
  .header-actions,
  .mega-menu,
  .news-menu {
    display: none;
  }

  .mobile-nav-controls {
    display: flex;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .mobile-menu-panel {
    position: fixed;
    top: 110px;
    left: 0;
    right: 0;
    z-index: 1200;
    width: 100%;
    max-width: 100%;
    max-height: calc(100dvh - 110px);
    overflow-y: auto;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    padding: 16px;
    background: var(--white);
    box-shadow: 0 18px 42px rgba(23, 33, 27, 0.16);
  }

  .mobile-menu:not([open]) .mobile-menu-panel {
    display: none;
  }

  .mobile-menu-search {
    margin-bottom: 8px;
  }

  .mobile-menu-search input {
    width: 100%;
    flex: 1 1 auto;
  }
}

@media (max-width: 760px) {
  .nav {
    width: min(100% - 24px, 1180px);
    min-height: 74px;
  }

  .brand {
    max-width: min(58vw, 260px);
  }

  .brand img,
  .brand .custom-logo {
    max-width: min(52vw, 240px);
    max-height: 48px;
  }

  .brand-name {
    font-size: 15px;
  }

  .mobile-nav-controls {
    margin-left: auto;
  }

  .mobile-menu > summary::before {
    content: "";
    width: 14px;
    height: 10px;
    margin-right: 7px;
    background: linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 2px no-repeat,
      linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 2px no-repeat,
      linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 2px no-repeat;
  }

  .mobile-menu {
    position: static;
  }

  .mobile-menu-panel {
    top: 74px;
    max-height: calc(100dvh - 74px);
    gap: 4px;
  }

  .mobile-product-links {
    padding-left: 0;
  }

  .mobile-product-links a {
    border-left: 2px solid #eef3ef;
    padding-left: 14px;
  }
}

/* Custom wooden boxes landing page */
.box-landing {
  --box-hero-image: url("assets/images/custom-wooden-boxes-manufacturer-hero.webp");
  --box-wine-image: url("assets/images/wooden-wine-boxes-bulk-production.webp");
  --box-gift-image: url("assets/images/custom-wooden-gift-boxes-with-logo.webp");
  --box-presentation-image: url("assets/images/wooden-presentation-boxes.webp");
  --box-logo-image: url("assets/images/wooden-box-logo-methods.webp");
  --box-insert-image: url("assets/images/wooden-box-insert-options.webp");
  --box-size-check-image: url("assets/images/wooden-box-size-and-insert-check.webp");
  --box-export-image: url("assets/images/wooden-box-export-carton-packing.webp");
}

.wine-landing {
  --box-hero-image: url("assets/images/wooden-wine-boxes-manufacturer-hero.webp");
  --wine-sample-image: url("assets/images/wooden-wine-box-sample-check.webp");
  --wine-single-image: url("assets/images/single-bottle-wooden-wine-box.webp");
  --wine-two-image: url("assets/images/two-bottle-wooden-wine-box.webp");
  --wine-six-image: url("assets/images/six-bottle-wooden-wine-box.webp");
  --wine-sliding-image: url("assets/images/sliding-lid-wooden-wine-box.webp");
  --wine-hinged-image: url("assets/images/hinged-wooden-wine-box.webp");
  --wine-logo-image: url("assets/images/wooden-wine-box-with-logo.webp");
  --wine-divider-image: url("assets/images/wooden-wine-box-divider-fit-check.webp");
  --wine-export-image: url("assets/images/wooden-wine-box-export-carton-packing.webp");
}

.gift-landing {
  --box-hero-image: url("assets/images/custom-wooden-gift-boxes-manufacturer-hero.webp");
  --gift-sample-image: url("assets/images/custom-wooden-gift-box-sample-check.webp");
  --gift-logo-image: url("assets/images/wooden-gift-boxes-with-logo.webp");
  --gift-presentation-image: url("assets/images/wooden-presentation-gift-boxes.webp");
  --gift-corporate-image: url("assets/images/wooden-corporate-gift-boxes.webp");
  --gift-keepsake-image: url("assets/images/wooden-keepsake-gift-boxes.webp");
  --gift-foam-image: url("assets/images/wooden-gift-boxes-with-foam-insert.webp");
  --gift-sliding-image: url("assets/images/sliding-lid-wooden-gift-box.webp");
  --gift-hinged-image: url("assets/images/hinged-wooden-gift-box.webp");
  --gift-export-image: url("assets/images/wooden-gift-box-export-carton-packing.webp");
}

.presentation-landing {
  --box-hero-image: url("assets/images/wooden-presentation-boxes-manufacturer-hero.webp");
  --presentation-sample-image: url("assets/images/wooden-presentation-box-sample-check.webp");
  --presentation-logo-image: url("assets/images/wooden-presentation-boxes-with-logo.webp");
  --presentation-foam-image: url("assets/images/wooden-presentation-boxes-with-foam-insert.webp");
  --presentation-velvet-image: url("assets/images/wooden-presentation-boxes-with-velvet-insert.webp");
  --presentation-watch-image: url("assets/images/wooden-watch-presentation-boxes.webp");
  --presentation-perfume-image: url("assets/images/wooden-perfume-presentation-boxes.webp");
  --presentation-jewelry-image: url("assets/images/wooden-jewelry-presentation-boxes.webp");
  --presentation-sample-kit-image: url("assets/images/wooden-sample-kit-boxes.webp");
  --presentation-export-image: url("assets/images/wooden-presentation-box-export-packing.webp");
}

.foam-landing {
  --box-hero-image: url("assets/images/wooden-boxes-with-foam-insert-hero.webp");
  --foam-sample-image: url("assets/images/wooden-box-foam-insert-sample-check.webp");
  --foam-gift-image: url("assets/images/wooden-gift-boxes-with-foam-insert.webp");
  --foam-wine-image: url("assets/images/wooden-wine-boxes-with-foam-insert.webp");
  --foam-presentation-image: url("assets/images/wooden-presentation-boxes-with-foam-insert.webp");
  --foam-watch-image: url("assets/images/wooden-watch-jewelry-boxes-with-foam-insert.webp");
  --foam-sample-kit-image: url("assets/images/wooden-sample-kit-boxes-with-foam-insert.webp");
  --foam-tool-image: url("assets/images/wooden-tool-boxes-with-foam-insert.webp");
  --foam-cutout-image: url("assets/images/wooden-box-foam-cutout-layout.webp");
  --foam-eva-image: url("assets/images/wooden-box-eva-foam-insert.webp");
  --foam-velvet-image: url("assets/images/wooden-box-velvet-insert.webp");
  --foam-export-image: url("assets/images/wooden-box-foam-insert-export-packing.webp");
}

.logo-landing {
  --box-hero-image: url("assets/images/wooden-boxes-with-logo-hero.webp");
  --logo-proof-image: url("assets/images/wooden-box-logo-sample-proof.webp");
  --logo-gift-image: url("assets/images/wooden-gift-boxes-with-logo.webp");
  --logo-wine-image: url("assets/images/wooden-wine-boxes-with-logo.webp");
  --logo-presentation-image: url("assets/images/wooden-presentation-boxes-with-logo.webp");
  --logo-keepsake-image: url("assets/images/wooden-keepsake-boxes-with-logo.webp");
  --logo-sample-kit-image: url("assets/images/wooden-sample-kit-boxes-with-logo.webp");
  --logo-foam-image: url("assets/images/wooden-boxes-with-logo-and-foam-insert.webp");
  --logo-laser-image: url("assets/images/laser-engraved-wooden-boxes.webp");
  --logo-hot-stamp-image: url("assets/images/hot-stamping-wooden-boxes.webp");
  --logo-screen-image: url("assets/images/screen-printed-wooden-boxes.webp");
  --logo-uv-image: url("assets/images/uv-printed-wooden-boxes.webp");
  --logo-export-image: url("assets/images/wooden-box-logo-export-packing.webp");
}

.crate-landing {
  --box-hero-image: url("assets/images/wooden-crates-manufacturer-hero.webp");
  --crate-sample-image: url("assets/images/wooden-crate-sample-check.webp");
  --crate-wine-image: url("assets/images/wooden-wine-crates.webp");
  --crate-fruit-image: url("assets/images/wooden-fruit-crates.webp");
  --crate-vegetable-image: url("assets/images/wooden-vegetable-crates.webp");
  --crate-export-image: url("assets/images/export-wooden-crates.webp");
  --crate-storage-image: url("assets/images/wooden-storage-crates.webp");
  --crate-toy-image: url("assets/images/wooden-toy-storage-crates.webp");
  --crate-pet-image: url("assets/images/pet-supply-storage-crates.webp");
  --crate-display-image: url("assets/images/retail-display-wooden-crates.webp");
  --crate-treatment-image: url("assets/images/fumigated-wooden-crates.webp");
  --crate-loading-image: url("assets/images/wooden-crates-export-loading.webp");
}

.hinged-landing {
  --box-hero-image: url("assets/images/hinged-wooden-boxes-manufacturer-hero.webp");
  --hinged-sample-image: url("assets/images/hinged-wooden-box-sample-check.webp");
  --hinged-gift-image: url("assets/images/hinged-wooden-gift-boxes.webp");
  --hinged-wine-image: url("assets/images/hinged-wooden-wine-boxes.webp");
  --hinged-presentation-image: url("assets/images/hinged-wooden-presentation-boxes.webp");
  --hinged-keepsake-image: url("assets/images/hinged-wooden-keepsake-boxes.webp");
  --hinged-jewelry-image: url("assets/images/hinged-wooden-jewelry-boxes.webp");
  --hinged-watch-image: url("assets/images/hinged-wooden-watch-boxes.webp");
  --hinged-sample-kit-image: url("assets/images/hinged-wooden-sample-kit-boxes.webp");
  --hinged-hinge-options-image: url("assets/images/hinged-wooden-box-hinge-options.webp");
  --hinged-closure-options-image: url("assets/images/wooden-box-clasp-lock-options.webp");
  --hinged-logo-proof-image: url("assets/images/hinged-wooden-box-logo-proof.webp");
  --hinged-export-image: url("assets/images/hinged-wooden-box-export-packing.webp");
}

.sliding-landing {
  --box-hero-image: url("assets/images/sliding-lid-wooden-boxes-hero.webp");
  --sliding-sample-image: url("assets/images/sliding-lid-wooden-box-sample-check.webp");
  --sliding-gift-image: url("assets/images/sliding-lid-wooden-gift-box.webp");
  --sliding-wine-image: url("assets/images/sliding-lid-wooden-wine-box.webp");
  --sliding-tea-image: url("assets/images/sliding-lid-tea-box.webp");
  --sliding-presentation-image: url("assets/images/sliding-lid-presentation-box.webp");
  --sliding-keepsake-image: url("assets/images/sliding-lid-keepsake-box.webp");
  --sliding-sample-kit-image: url("assets/images/sliding-lid-sample-kit-box.webp");
  --sliding-packaging-image: url("assets/images/sliding-lid-wooden-packaging-box.webp");
  --sliding-groove-structure-image: url("assets/images/sliding-lid-wooden-box-groove-structure.webp");
  --sliding-opening-logo-image: url("assets/images/sliding-lid-wooden-box-opening-logo-position.webp");
  --sliding-export-image: url("assets/images/sliding-lid-wooden-box-export-packing.webp");
}

.box-landing .box-hero {
  min-height: auto;
}

.box-landing .box-hero::before {
  background:
    linear-gradient(90deg, rgba(10, 17, 13, 0.88), rgba(10, 17, 13, 0.64) 48%, rgba(10, 17, 13, 0.2)),
    var(--box-hero-image) center / cover no-repeat,
    image-set(
      url("assets/images/wood-factory-hero-1600.webp") type("image/webp"),
      url("assets/images/wood-factory-hero-1600.jpg") type("image/jpeg")
    ) center / cover no-repeat;
}

.box-landing .hero-inner {
  padding-top: 62px;
  padding-bottom: 70px;
}

.box-landing .quote-panel {
  align-self: center;
}

.box-proof-stack {
  display: grid;
  gap: 16px;
}

.box-proof-image {
  margin: 0;
}

.box-image {
  min-height: 190px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(45, 106, 79, 0.2), rgba(217, 164, 65, 0.26)),
    image-set(
      url("assets/images/wood-factory-hero-900.webp") type("image/webp"),
      url("assets/images/wood-factory-hero-1600.jpg") type("image/jpeg")
    ) center / cover no-repeat;
}

.box-image-sample {
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--box-size-check-image) center / cover no-repeat;
}

.box-image-wine {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--box-wine-image) center / cover no-repeat;
}

.box-image-gift {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--box-gift-image) center / cover no-repeat;
}

.box-image-presentation {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--box-presentation-image) center / cover no-repeat;
}

.box-image-essential {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--box-insert-image) center / cover no-repeat;
}

.box-image-watch,
.box-image-keepsake {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--box-gift-image) center / cover no-repeat;
}

.box-image-crate {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--box-export-image) center / cover no-repeat;
}

.box-image-logo {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--box-logo-image) center / cover no-repeat;
}

.box-image-insert {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--box-insert-image) center / cover no-repeat;
}

.box-image-size-check {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--box-size-check-image) center / cover no-repeat;
}

.box-image-export {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--box-export-image) center / cover no-repeat;
}

.wine-image-sample {
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--wine-sample-image) center / cover no-repeat;
}

.wine-image-single {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--wine-single-image) center / cover no-repeat;
}

.wine-image-two {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--wine-two-image) center / cover no-repeat;
}

.wine-image-six {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--wine-six-image) center / cover no-repeat;
}

.wine-image-sliding {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--wine-sliding-image) center / cover no-repeat;
}

.wine-image-hinged {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--wine-hinged-image) center / cover no-repeat;
}

.wine-image-gift,
.wine-image-logo {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--wine-logo-image) center / cover no-repeat;
}

.wine-image-handle,
.wine-image-divider {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--wine-divider-image) center / cover no-repeat;
}

.wine-image-export {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--wine-export-image) center / cover no-repeat;
}

.gift-image-sample {
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--gift-sample-image) center / cover no-repeat;
}

.gift-image-logo {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--gift-logo-image) center / cover no-repeat;
}

.gift-image-presentation {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--gift-presentation-image) center / cover no-repeat;
}

.gift-image-corporate,
.gift-image-private {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--gift-corporate-image) center / cover no-repeat;
}

.gift-image-keepsake {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--gift-keepsake-image) center / cover no-repeat;
}

.gift-image-foam {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--gift-foam-image) center / cover no-repeat;
}

.gift-image-sliding {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--gift-sliding-image) center / cover no-repeat;
}

.gift-image-hinged {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--gift-hinged-image) center / cover no-repeat;
}

.gift-image-export {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--gift-export-image) center / cover no-repeat;
}

.presentation-image-sample {
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--presentation-sample-image) center / cover no-repeat;
}

.presentation-image-logo {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--presentation-logo-image) center / cover no-repeat;
}

.presentation-image-foam {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--presentation-foam-image) center / cover no-repeat;
}

.presentation-image-velvet {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--presentation-velvet-image) center / cover no-repeat;
}

.presentation-image-watch {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--presentation-watch-image) center / cover no-repeat;
}

.presentation-image-perfume {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--presentation-perfume-image) center / cover no-repeat;
}

.presentation-image-jewelry {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--presentation-jewelry-image) center / cover no-repeat;
}

.presentation-image-sample-kit,
.presentation-image-hinged {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--presentation-sample-kit-image) center / cover no-repeat;
}

.presentation-image-export {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--presentation-export-image) center / cover no-repeat;
}

.foam-image-sample {
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--foam-sample-image) center / cover no-repeat;
}

.foam-image-gift,
.foam-image-logo {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--foam-gift-image) center / cover no-repeat;
}

.foam-image-wine {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--foam-wine-image) center / cover no-repeat;
}

.foam-image-presentation {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--foam-presentation-image) center / cover no-repeat;
}

.foam-image-watch {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--foam-watch-image) center / cover no-repeat;
}

.foam-image-sample-kit {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--foam-sample-kit-image) center / cover no-repeat;
}

.foam-image-tool,
.foam-image-electronics {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--foam-tool-image) center / cover no-repeat;
}

.foam-image-cutout {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--foam-cutout-image) center / cover no-repeat;
}

.foam-image-eva {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--foam-eva-image) center / cover no-repeat;
}

.foam-image-velvet {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--foam-velvet-image) center / cover no-repeat;
}

.foam-image-export {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--foam-export-image) center / cover no-repeat;
}

.logo-image-proof {
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--logo-proof-image) center / cover no-repeat;
}

.logo-image-gift {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--logo-gift-image) center / cover no-repeat;
}

.logo-image-wine {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--logo-wine-image) center / cover no-repeat;
}

.logo-image-presentation {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--logo-presentation-image) center / cover no-repeat;
}

.logo-image-keepsake {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--logo-keepsake-image) center / cover no-repeat;
}

.logo-image-sample-kit,
.logo-image-corporate,
.logo-image-private {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--logo-sample-kit-image) center / cover no-repeat;
}

.logo-image-foam {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--logo-foam-image) center / cover no-repeat;
}

.logo-image-laser {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--logo-laser-image) center / cover no-repeat;
}

.logo-image-hot-stamp {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--logo-hot-stamp-image) center / cover no-repeat;
}

.logo-image-screen {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--logo-screen-image) center / cover no-repeat;
}

.logo-image-uv {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--logo-uv-image) center / cover no-repeat;
}

.logo-image-export {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--logo-export-image) center / cover no-repeat;
}

.crate-image-sample {
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--crate-sample-image) center / cover no-repeat;
}

.crate-image-wine {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--crate-wine-image) center / cover no-repeat;
}

.crate-image-fruit {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--crate-fruit-image) center / cover no-repeat;
}

.crate-image-vegetable {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--crate-vegetable-image) center / cover no-repeat;
}

.crate-image-export {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--crate-export-image) center / cover no-repeat;
}

.crate-image-storage {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--crate-storage-image) center / cover no-repeat;
}

.crate-image-toy {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--crate-toy-image) center / cover no-repeat;
}

.crate-image-pet {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--crate-pet-image) center / cover no-repeat;
}

.crate-image-display {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--crate-display-image) center / cover no-repeat;
}

.crate-image-export-treatment {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--crate-treatment-image) center / cover no-repeat;
}

.crate-image-loading {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--crate-loading-image) center / cover no-repeat;
}

.hinged-image-sample {
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--hinged-sample-image) center / cover no-repeat;
}

.hinged-image-gift {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--hinged-gift-image) center / cover no-repeat;
}

.hinged-image-wine {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--hinged-wine-image) center / cover no-repeat;
}

.hinged-image-presentation {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--hinged-presentation-image) center / cover no-repeat;
}

.hinged-image-keepsake,
.hinged-image-private {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--hinged-keepsake-image) center / cover no-repeat;
}

.hinged-image-jewelry {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--hinged-jewelry-image) center / cover no-repeat;
}

.hinged-image-watch {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--hinged-watch-image) center / cover no-repeat;
}

.hinged-image-sample-kit {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--hinged-sample-kit-image) center / cover no-repeat;
}

.hinged-image-hinge-options {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--hinged-hinge-options-image) center / cover no-repeat;
}

.hinged-image-closure-options {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--hinged-closure-options-image) center / cover no-repeat;
}

.hinged-image-logo-proof {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--hinged-logo-proof-image) center / cover no-repeat;
}

.hinged-image-export {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--hinged-export-image) center / cover no-repeat;
}

.sliding-image-sample {
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--sliding-sample-image) center / cover no-repeat;
}

.sliding-image-gift {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--sliding-gift-image) center / cover no-repeat;
}

.sliding-image-wine {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--sliding-wine-image) center / cover no-repeat;
}

.sliding-image-tea {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--sliding-tea-image) center / cover no-repeat;
}

.sliding-image-presentation {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--sliding-presentation-image) center / cover no-repeat;
}

.sliding-image-keepsake,
.sliding-image-private {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--sliding-keepsake-image) center / cover no-repeat;
}

.sliding-image-sample-kit {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--sliding-sample-kit-image) center / cover no-repeat;
}

.sliding-image-packaging {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--sliding-packaging-image) center / cover no-repeat;
}

.sliding-image-groove-structure {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--sliding-groove-structure-image) center / cover no-repeat;
}

.sliding-image-opening-logo {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--sliding-opening-logo-image) center / cover no-repeat;
}

.sliding-image-export {
  background:
    linear-gradient(135deg, rgba(23, 33, 27, 0.1), rgba(217, 164, 65, 0.18)),
    var(--sliding-export-image) center / cover no-repeat;
}

.box-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.box-card h3 a,
.box-image-link {
  color: inherit;
  text-decoration: none;
}

.box-image-link {
  display: block;
}

.box-image-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.box-card .box-image {
  min-height: 230px;
}

.case-rows {
  display: grid;
  gap: 9px;
  margin: 0;
}

.case-rows div {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.case-rows dt {
  font-weight: 850;
  color: var(--ink);
}

.case-rows dd {
  margin: 0;
  color: var(--muted);
}

.box-proof-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.box-proof-strip .image-card {
  margin: 0;
}

.box-proof-strip .box-image {
  min-height: 300px;
}

.box-type-grid .card h3 {
  min-height: 48px;
}

.box-landing .link-grid a {
  min-height: 58px;
  display: flex;
  align-items: center;
}

.box-landing .faq details:last-child {
  border-bottom: 1px solid var(--line);
}

@media (max-width: 980px) {
  .box-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .box-landing .hero-inner {
    padding-top: 30px;
    padding-bottom: 34px;
  }

  .box-landing .proof-strip,
  .box-proof-strip,
  .box-type-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .case-rows div {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
  }

  .box-type-grid .card h3 {
    min-height: 0;
  }

  .box-image,
  .box-image-sample {
    min-height: 180px;
  }

  .box-card .box-image,
  .box-proof-strip .box-image {
    min-height: 220px;
  }

  .box-landing .quote-panel {
    width: 100%;
  }
}
