/* ==========================================================================
   Weida Packaging 鈥?mobile experience (phones and small tablets)
   Loaded last, after styles.css / sections.css / theme-mint.css.
   Desktop rules are untouched: every rule below lives inside a max-width
   media query. The layout, type scale, card style, pill buttons, drawer and
   fixed action bar follow the approved mobile preview (green #39845a).
   ========================================================================== */

/* the fixed mobile action bar only exists on phones */
.m-dock { display: none; }

/* Short landscape phones get a shorter hero photo */
@media (max-width: 900px) and (max-height: 500px) {
  .hero-v2.hero-bleed > img.hero-bleed-img { height: 170px; }
}

/* ==========================================================================
   1. Tokens, type and page frame (<= 860px)
   ========================================================================== */
@media (max-width: 860px) {
  :root {
    --ink: #193c2a;
    --body: #3d4b40;
    --muted: #788279;
    --green: #39845a;
    --green-dark: #2f7049;
    --green-deep: #193c2a;
    --orange: #39845a;
    --orange-soft: #dfeadd;
    --pale: #e9efe5;
    --soft: #f5f7f2;
    --line: #e5eae3;
    --white: #fff;
    --ds-ink: #193c2a;
    --ds-body: #3d4b40;
    --ds-muted: #788279;
    --ds-line: #e5eae3;
    --ds-soft: #f5f7f2;
    --ds-deep: #193c2a;
    --ds-green: #39845a;
    --ds-mint: #2a5a3d;
    --ds-paper: #fff;
  }

  html { scroll-padding-top: 78px; }

  body,
  button,
  input,
  select,
  textarea {
    font-family: Arial, Helvetica, sans-serif;
  }

  body {
    background: #f5f7f2;
    color: #202b23;
    font-size: 15px;
    line-height: 1.7;
    overflow-x: clip;
  }

  h1, h2, h3, h4 {
    font-family: Arial, Helvetica, sans-serif;
    color: #193c2a;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-wrap: pretty;
  }

  h2 { font-size: clamp(1.85rem, 7.2vw, 2.2rem); letter-spacing: -2px; }
  h3 { font-size: 1.05rem; }
  p { color: #788279; font-size: 13px; line-height: 1.9; }
  a, button { -webkit-tap-highlight-color: transparent; }

  .wrap { width: calc(100% - 34px); max-width: none; }

  .eyebrow {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #39845a;
  }

  .eyebrow::before { display: none; }

  .lede { font-size: 14px; line-height: 1.8; }

  /* ------------------------------------------------------------- buttons */
  .btn,
  .cta .btn,
  .hero-cta .btn,
  .page-hero-actions .btn,
  .cta-actions .btn,
  button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 13px 18px;
    border-radius: 50px;
    border: 1px solid #39845a;
    background: #39845a;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    box-shadow: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
  }

  .btn:active { transform: translateY(1px); }
  .btn-sm { padding: 11px 15px; font-size: 9px; }

  .btn-ghost,
  .btn-outline,
  .cta .btn-ghost,
  .cta .btn-outline,
  .dm-actions .btn-outline {
    background: transparent;
    border: 1px solid #bac9bc;
    color: #193c2a;
  }

  .btn-orange,
  .cta .btn-orange { background: #39845a; border-color: #39845a; color: #fff; }

  .btn-dark { background: #193c2a; border-color: #193c2a; color: #fff; }

  .btn-wa,
  .cta .btn-wa,
  button.btn-wa {
    background: #25d366;
    border-color: #25d366;
    color: #06382a;
  }

  .text-link,
  .range-link,
  .promo-link {
    color: #39845a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  /* -------------------------------------------------------------- header */
  .site-header {
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #e5eae3;
  }

  .header-inner { min-height: 65px; gap: 8px; }
  .brand img { width: 112px; }
  .header-cta { display: none; }

  .wa-header {
    width: 38px;
    height: 38px;
    margin-right: 0;
    background: #eef4ee;
    color: #39845a;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    border: 1px solid #e5eae3;
    border-radius: 10px;
    background: #fff;
  }

  .nav-toggle span {
    width: 17px;
    height: 1.6px;
    background: #193c2a;
  }

  .nav-toggle span + span { margin-top: 4px; }

  /* ------------------------------------------------------------ drawer */
  .nav {
    top: 65px;
    max-height: calc(100dvh - 65px);
    padding: 4px 17px 22px;
    background: #fff;
    border-bottom: 1px solid #e5eae3;
    box-shadow: 0 24px 44px -32px rgba(25, 60, 42, .55);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav > a,
  .nav-item > .nav-link {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid #eef3ef;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    color: #193c2a;
    opacity: 1;
  }

  .nav a.is-active,
  .nav-item > .nav-link.is-active { color: #39845a; }
  .nav .caret { opacity: .35; }

  /* mega menus become plain nested lists inside the drawer */
  .nav .mega,
  .nav .mega--list {
    position: static;
    display: block;
    width: auto;
    min-width: 0;
    padding: 0 0 6px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: none;
  }

  .nav .mega::before { display: none; }
  .nav .mega-grid { display: block; }

  .nav .mega-card {
    display: block;
    padding: 11px 0 11px 12px;
    border-bottom: 1px solid #eef3ef;
    border-radius: 0;
    background: none;
  }

  .nav .mega-card img { display: none; }
  .nav .mega-card strong { font-size: 13px; font-weight: 600; color: #34493a; }
  .nav .mega-card span { display: none; }

  .nav .mega-side {
    padding: 6px 0 6px 12px;
    border-left: 2px solid #e9efe5;
  }

  .nav .mega-title { font-size: 9px; letter-spacing: 2px; }
  .nav .mega-side a { padding: 7px 0; font-size: 12.5px; color: #4b6152; }
  .nav .mega-side .btn { display: none; }
  .nav .mega-list { display: block; }
  .nav .mega-list a {
    display: block;
    padding: 11px 0 11px 12px;
    border-bottom: 1px solid #eef3ef;
    font-size: 13px;
  }

  body.nav-open { overflow: hidden; }

  /* floating WhatsApp button sits above the fixed action bar */
  .wa-float {
    right: 14px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    width: 48px;
    min-height: 48px;
    padding: 0;
  }

  .wa-float svg { width: 24px; height: 24px; }

  /* ------------------------------------------------------ fixed dock */
  .m-dock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    padding: 9px 13px calc(9px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid #e5eae3;
  }

  .m-dock .btn { padding: 13px 6px; font-size: 9px; }
  .m-dock .btn-outline { background: #fff; }

  /* -------------------------------------------------------------- hero */
  .hero-v2.hero-bleed {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin: 14px 17px 20px;
    padding: 0 0 6px;
    border-radius: 19px;
    overflow: hidden;
    background: #e7eee3;
  }

  .hero-v2.hero-bleed::before,
  .hero-v2.hero-bleed::after { display: none; }

  .hero-v2.hero-bleed > img.hero-bleed-img {
    order: 2;
    position: relative;
    inset: auto;
    width: 100%;
    height: 215px;
    flex: 0 0 auto;
    margin-top: 12px;
    border-radius: 0;
    object-position: 62% 48%;
    animation: none;
  }

  .hero-bleed .hero-inner {
    order: 1;
    width: 100%;
    padding: 26px 20px 0;
  }

  .hero-eyebrow {
    display: block;
    margin-bottom: 12px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.2px;
    color: #39845a;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(2.1rem, 9.8vw, 2.6rem);
    line-height: 1.03;
    letter-spacing: -2px;
    color: #193c2a;
    text-shadow: none;
  }

  .hero-title em { color: #39845a; font-style: normal; }

  .hero-sub {
    margin-top: 14px;
    font-size: 12.5px;
    line-height: 1.8;
    color: #647267;
    text-shadow: none;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 20px;
  }

  .hero-cta .btn {
    width: 100%;
    padding: 13px 6px;
    font-size: 9px;
    background: #39845a;
    border-color: #39845a;
    color: #fff;
  }

  .hero-cta .btn-ghost {
    background: #fff;
    border-color: #bac9bc;
    color: #193c2a;
  }

  .hero-meta {
    margin-top: 18px;
    padding-top: 0;
    border-top: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-meta li {
    padding: 9px 0;
    border-top: 1px solid #d9e5d6;
    font-size: 10.5px;
    line-height: 1.5;
    color: #647267;
  }

  .hero-meta li:first-child { border-top: 0; }
  .hero-meta strong { display: inline; margin-right: 6px; font-size: 10.5px; color: #193c2a; }

  /* --------------------------------------------------- interior page hero */
  .page-hero {
    margin: 14px 17px 0;
    padding: 26px 0 24px;
    border-radius: 19px;
    background: #e7eee3;
  }

  .page-hero-inner { display: block; width: calc(100% - 34px); }
  .page-hero h1 { font-size: clamp(1.95rem, 8.6vw, 2.35rem); letter-spacing: -1.6px; max-width: none; }
  .page-hero .lede { margin-top: 12px; font-size: 12.5px; line-height: 1.8; }
  .page-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
  .page-hero-actions .btn { width: 100%; padding: 13px 6px; font-size: 9px; }
  .page-hero-media { margin-top: 16px; }
  .page-hero-media img { border-radius: 14px; padding: 0; }
  .page-hero .eyebrow { margin-bottom: 10px; }

  .crumb-bar { padding: 12px 0 0; }
  .crumbs { gap: 6px; font-size: 9px; letter-spacing: 1px; }

  /* --------------------------------------------------------- section rhythm */
  .section,
  .range,
  .intro,
  .sectors,
  .plant,
  .cert-case,
  .team-wall-section,
  .faq,
  .cta { padding-top: 58px; padding-bottom: 58px; }

  .page-hero + .section { padding-top: 34px; }
  .section-soft { background: #fff; }

  .section-head,
  .range-head,
  .intro-head,
  .cert-head,
  .plant-head,
  .sectors-head {
    display: block;
    margin-bottom: 24px;
  }

  .section-head > p,
  .range-head > p,
  .intro-head > p,
  .cert-head > p,
  .plant-head > p {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.8;
  }

  .section-head h2,
  .range-head h2,
  .intro-head h2,
  .cert-head h2,
  .plant-head h2,
  .sectors-head h2 {
    font-size: clamp(1.8rem, 7.4vw, 2.15rem);
    line-height: 1.08;
    letter-spacing: -2px;
    margin-top: 10px;
  }

  /* ----------------------------------------------------------- trust bar
     the "facts" strip: two columns with hairline dividers, like the preview */
  .trust-bar { background: #fff; border-bottom: 1px solid #e5eae3; padding: 0; }

  .trust-inner { display: block; width: 100%; padding: 0; }
  .trust-flag { display: flex; gap: 10px; padding: 16px 17px; border-bottom: 1px solid #e5eae3; }
  .trust-flag strong { font-size: 11px; }
  .trust-flag span { font-size: 10px; line-height: 1.6; }
  .trust-mark { width: 34px; height: 34px; font-size: 9px; }

  .trust-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 16px 17px;
  }

  .trust-points li {
    padding: 0 10px;
    border: 0;
    font-size: 9px;
  }

  .trust-points li:nth-child(odd) { padding-left: 0; border-right: 1px solid #e5eae3; }
  .trust-points li:nth-child(even) { padding-left: 14px; }
  .trust-points li:nth-child(n + 3) { margin-top: 14px; }
  .trust-points strong { display: block; font-size: 12px; margin-bottom: 3px; }
  .trust-points span { font-size: 9px; line-height: 1.5; }
  .trust-points li::before { display: none; }

  /* ------------------------------------------------------- card grids */
  .range-grid,
  .format-grid,
  .option-grid,
  .related-grid,
  .feature-grid,
  .product-grid,
  .buyer-grid,
  .guide-grid,
  .industry-grid,
  .article-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .range-card,
  .format-card,
  .option-card,
  .related-card,
  .feature,
  .product-card,
  .buyer-card,
  .guide-card,
  .industry-card,
  .article-card {
    border: 1px solid #e5eae3;
    border-radius: 13px;
    background: #fff;
    overflow: hidden;
    padding: 0 0 12px;
    box-shadow: none;
  }

  .range-card figure,
  .format-media,
  .product-media,
  .guide-media,
  .article-card figure,
  .industry-card figure {
    margin: 0;
    border-radius: 0;
    overflow: hidden;
  }

  .range-card img,
  .format-media img,
  .product-media img,
  .guide-media img,
  .article-card img,
  .industry-card img {
    width: 100%;
    height: 132px;
    object-fit: cover;
    border-radius: 0;
  }

  .range-card h3,
  .format-body h3,
  .option-card h3,
  .related-card h3,
  .feature h3,
  .guide-card h3,
  .industry-card h3 {
    margin: 11px 11px 0;
    font-size: 12.5px;
    line-height: 1.3;
    letter-spacing: -0.2px;
  }

  .range-card p,
  .option-card p,
  .related-card p,
  .feature p,
  .guide-card p,
  .industry-card p,
  .format-body p {
    margin: 6px 11px 0;
    font-size: 9.5px;
    line-height: 1.7;
    color: #788279;
  }

  .range-card .range-link,
  .option-card .text-link,
  .related-card a,
  .format-body .text-link {
    display: inline-block;
    margin: 10px 11px 0;
    font-size: 8.5px;
  }

  .feature .icon-box,
  .option-card .icon-box { margin: 12px 11px 0; }

  /* ------------------------------------------------------------- ranges */
  .range { background: #fff; }
  .range-note { margin-top: 16px; font-size: 10.5px; line-height: 1.8; }

  /* --------------------------------------------------------- promo band */
  .promo-band {
    margin: 0;
    padding: 32px 0;
    border-radius: 0;
    background: #e9efe5;
  }

  .promo-inner { display: flex; flex-direction: column-reverse; gap: 20px; }
  .promo-copy h3 { font-size: 1.5rem; line-height: 1.1; letter-spacing: -1.4px; }
  .promo-copy p { margin-top: 10px; font-size: 11.5px; line-height: 1.8; }
  .promo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
  .promo-actions .btn { width: 100%; padding: 13px 6px; font-size: 9px; }
  .promo-link { display: inline-flex; align-items: center; justify-content: center; }
  .promo-visual img { height: 175px; object-fit: cover; border-radius: 14px; }
  .promo-badge { font-size: 8px; padding: 6px 10px; }

  /* --------------------------------------------------------------- intro */
  .intro { background: #f5f7f2; }
  .intro-body-grid { display: block; }
  .intro-copy p { font-size: 12.5px; line-height: 1.85; }
  .intro-services { gap: 8px; margin-top: 16px; }
  .intro-services li { padding: 12px 13px; border-radius: 12px; background: #fff; border: 1px solid #e5eae3; }
  .intro-services h3 { font-size: 12.5px; }
  .intro-services p { font-size: 9.5px; line-height: 1.7; }
  .svc-icon { width: 30px; height: 30px; border-radius: 9px; }

  .intro-media { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
  .intro-shot img { height: 120px; object-fit: cover; border-radius: 12px; }
  .intro-shot figcaption { font-size: 8.5px; }

  .intro-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
  .intro-metrics li { padding: 14px 13px; border: 1px solid #e5eae3; border-radius: 12px; background: #fff; }
  .intro-metrics strong { font-size: 11.5px; }
  .intro-metrics span { font-size: 9px; line-height: 1.6; }
  .intro-metrics em { font-size: 8px; }
  .metric-icon { width: 28px; height: 28px; margin-bottom: 8px; }

  /* ------------------------------------------------------------- sectors */
  .sectors { background: #fff; }
  .sector-list { border-top: 1px solid #e5eae3; }
  .sector-list li { border-bottom: 1px solid #e5eae3; }
  .sector-list a { padding: 13px 2px; font-size: 13px; }
  .sector-num { width: 26px; font-size: 9px; }

  /* --------------------------------------------------------------- plant */
  .plant { background: #e9efe5; }
  .plant-layout { display: block; }
  .plant-video { border-radius: 14px; overflow: hidden; }
  .plant-video video { border-radius: 14px; }
  .plant-video-play { font-size: 9px; padding: 10px 14px; }
  .plant-side { margin-top: 10px; }
  .plant-audit { padding: 16px; border-radius: 13px; }
  .plant-audit h3 { font-size: 13px; }
  .plant-audit p { font-size: 10.5px; line-height: 1.75; }
  .plant-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .plant-item img { height: 105px; object-fit: cover; border-radius: 11px; }
  .plant-caption { font-size: 8.5px; }
  .plant-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
  .plant-strip li { width: auto; }

  /* ------------------------------------------------------------ team wall */
  .team-wall-section { background: #fff; padding-bottom: 0; }
  .team-wall { margin-top: 20px; height: 210px; object-fit: cover; }

  /* ------------------------------------------------------------ cert case */
  .cert-case {
    background: #f5f7f2;
    border-top: 1px solid #e5eae3;
    padding: 52px 0;
  }

  .cert-case::before { display: none; }

  .cert-cabinet {
    grid-template-columns: 1fr 1fr;
    gap: 14px 10px;
    padding: 14px 12px;
    border: 1px solid #e5eae3;
    border-radius: 14px;
    background: #fff;
  }

  .cert-paper { padding: 5px; border-radius: 8px; }
  .cert-meta strong { font-size: 10.5px; }
  .cert-meta em { font-size: 8.5px; line-height: 1.4; }
  .cert-zoom { font-size: 8px; padding: 5px 8px; }
  .cert-foot { display: block; margin-top: 20px; }
  .cert-foot p { font-size: 10.5px; line-height: 1.8; }
  .cert-foot .btn { margin-top: 14px; width: 100%; }

  /* ------------------------------------------------------------- faq */
  .faq { background: #f5f7f2; }
  .faq-grid { display: block; }
  .faq-intro h2 { font-size: clamp(1.8rem, 7.4vw, 2.15rem); letter-spacing: -2px; }
  .faq-list { display: grid; gap: 8px; margin-top: 20px; }
  .faq-item {
    border: 1px solid #e5eae3;
    border-radius: 13px;
    background: #fff;
    padding: 0 14px;
  }

  .faq-item summary { padding: 14px 24px 14px 0; font-size: 12px; line-height: 1.4; }
  .faq-item summary i::before,
  .faq-item summary i::after { background: #39845a; }
  .faq-answer p { font-size: 10.5px; line-height: 1.85; padding-bottom: 14px; }

  /* --------------------------------------------------------- split blocks */
  .split,
  .split-reverse { display: block; }
  .split-media { margin-top: 16px; }
  .split-media img,
  .media-frame img { border-radius: 14px; }
  .media-caption,
  .media-note { font-size: 8.5px; }
  .split h2 { margin-bottom: 10px; }
  .split p,
  .split .lede { font-size: 12px; line-height: 1.85; }
  .callout { padding: 16px; border-radius: 13px; }
  .callout p { font-size: 10.5px; line-height: 1.8; }
  .check-list li { padding: 8px 0 8px 22px; font-size: 11.5px; line-height: 1.6; }
  .check-list li::before { top: 0.62em; width: 5px; height: 5px; }

  /* --------------------------------------------------------- quick specs */
  .quick-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .quick-spec { padding: 12px 13px; border: 1px solid #e5eae3; border-radius: 12px; background: #fff; }
  .quick-spec dt,
  .quick-spec span { font-size: 8.5px; letter-spacing: 1px; }
  .quick-spec dd,
  .quick-spec strong { font-size: 11.5px; line-height: 1.4; }

  .chips { gap: 6px; }
  .chip { padding: 7px 11px; border-radius: 30px; background: #edf3ea; color: #526b56; font-size: 9px; }
  .tag { padding: 5px 9px; font-size: 8.5px; }

  /* ------------------------------------------------------- product format */
  .format-card {
    display: block;
    padding: 0;
    border: 1px solid #e5eae3;
    border-top: 1px solid #e5eae3;
    border-radius: 13px;
    background: #fff;
    overflow: hidden;
  }

  .format-media,
  .format-media.is-photo { border-radius: 0; }
  .format-media img,
  .format-media.is-photo img { height: 190px; border-radius: 0; }
  .format-body { display: block; flex: 0 0 auto; padding: 14px 13px 16px; }
  .format-body .text-link { margin-top: 10px; padding-top: 0; }

  /* text-only cards keep a comfortable inner padding on phones */
  .option-card,
  .feature,
  .industry-card { padding: 14px 13px; }
  .option-card h3,
  .feature h3,
  .industry-card h3 { margin: 0 0 6px; }
  .option-card p,
  .feature p,
  .industry-card p { margin: 0; }
  .option-card .text-link,
  .feature .text-link,
  .industry-card .text-link { margin: 10px 0 0; }

  .related-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 12px;
    background: #fff;
    font-size: 12.5px;
    font-weight: 600;
  }

  .related-card h3 { margin: 0; font-size: 12.5px; }
  .related-card a { margin: 0; }

  /* article heads reuse the rounded hero card of the preview */
  .article-head {
    margin: 10px 14px 0;
    padding: 24px 0 20px;
    border-radius: 19px;
    background: #e7eee3;
  }

  .article-head .wrap { width: calc(100% - 34px); }

  .article-head h1 { font-size: clamp(1.85rem, 8.2vw, 2.2rem); letter-spacing: -1.8px; }
  .article-head .lede { margin-top: 12px; font-size: 12.5px; line-height: 1.8; }
  .article-meta { margin-top: 14px; font-size: 9px; letter-spacing: 1px; color: #647267; }
  .format-body h2 { font-size: 1.4rem; letter-spacing: -1.2px; }
  .format-body p { font-size: 11px; line-height: 1.8; }
  .gallery-main img { border-radius: 13px; }
  .gallery-thumbs { gap: 6px; margin-top: 6px; }
  .gallery-thumb { border-radius: 8px; }
  .gallery-btn { width: 34px; height: 34px; }
  .gallery-counter { font-size: 9px; }

  /* ---------------------------------------------------------- prose pages */
  .article-layout { display: block; }
  .article-aside { margin-top: 22px; }
  .prose { max-width: 100%; }
  .prose h2 { margin: 26px 0 10px; font-size: 1.35rem; letter-spacing: -1px; }
  .prose h3 { margin: 20px 0 8px; font-size: 1.05rem; }
  .prose p,
  .prose li { font-size: 12.5px; line-height: 1.85; }
  .prose ul,
  .prose ol { padding-left: 18px; }
  .prose blockquote { padding: 14px 16px; font-size: 12px; border-radius: 12px; }
  .prose table { font-size: 10.5px; }
  .prose th,
  .prose td { padding: 8px 9px; }
  .article-head h1 { font-size: clamp(1.75rem, 7.6vw, 2.05rem); }
  .article-meta { font-size: 9px; }
  .toc { padding: 14px; border-radius: 12px; font-size: 11px; }

  /* ------------------------------------------------------------- contact */
  .quote-layout { display: block; }
  .quote-layout .form-card { order: -1; }
  .form-card {
    padding: 18px 16px;
    border: 1px solid #e5eae3;
    border-radius: 14px;
    background: #fff;
  }

  .field-grid,
  .contact-grid { display: grid; grid-template-columns: 1fr; gap: 11px; }

  .field label { font-size: 9.5px; letter-spacing: 1px; }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    padding: 13px;
    border: 1px solid #e5eae3;
    border-radius: 10px;
    background: #fbfcfa;
  }

  .field textarea { min-height: 110px; }
  .field .req { font-size: 9px; }
  .form-note,
  .form-status { font-size: 10px; line-height: 1.7; }
  .form-card .btn { width: 100%; }
  .form-card .btn-wa { margin-top: 8px; }
  .quote-aside { margin-top: 20px; }
  .contact-block { padding: 14px; border: 1px solid #e5eae3; border-radius: 12px; background: #fff; }

  /* ---------------------------------------------------------------- cta */
  .cta {
    background: #e4eee1;
    padding: 40px 0 44px;
  }

  .cta-inner { display: block; }
  .cta h2 { font-size: clamp(1.7rem, 7.6vw, 2rem); letter-spacing: -1.8px; }
  .cta p { margin-top: 10px; font-size: 11.5px; line-height: 1.8; }
  .cta-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 18px; width: 100%; }
  .cta-actions .btn { width: 100%; }

  /* ------------------------------------------------------------- footer */
  .site-footer { background: #193326; padding: 34px 0 108px; }
  .footer-grid { display: block; }
  .footer-brand img { width: 118px; }
  .footer-brand p { margin-top: 12px; font-size: 11px; line-height: 1.9; color: #afc0b3; }
  .footer-brand .footer-email { font-size: 12px; }
  .footer-wa { font-size: 11px; }

  .footer-grid > div + div { margin-top: 22px; }
  .footer-grid h3 { margin-bottom: 8px; font-size: 9.5px; letter-spacing: 2px; color: #fff; }

  .footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
  }

  .footer-links li { border: 0; }
  .footer-links a { padding: 6px 0; font-size: 11px; color: #b7c6ba; }

  .footer-bottom {
    display: block;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: #a4b5a7;
    font-size: 9px;
    line-height: 2;
  }

  .footer-bottom nav { margin-top: 6px; gap: 12px; flex-wrap: wrap; }
  .footer-bottom a { font-size: 9px; }

  /* tables keep their own scroll container */
  .table-wrap { border-radius: 12px; }

  /* 404 / thank-you */
  .thanks { padding: 40px 0; }
  .thanks h1 { font-size: clamp(1.9rem, 8vw, 2.3rem); }
  .thanks-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }

  /* the dock needs a matching backstop on very short viewports */
  body { padding-bottom: 0; }
}

/* ==========================================================================
   2. Phones (<= 640px): tighter scale, single-column reading blocks
   ========================================================================== */
@media (max-width: 640px) {
  .hero-v2.hero-bleed { margin: 10px 14px 16px; }
  .hero-v2.hero-bleed > img.hero-bleed-img { height: 200px; }
  .hero-bleed .hero-inner { padding: 22px 17px 0; }
  .hero-title { font-size: clamp(2rem, 9.4vw, 2.35rem); }

  .page-hero { margin: 10px 14px 0; padding: 22px 17px 20px; }
  .wrap { width: calc(100% - 28px); }

  .section,
  .range,
  .intro,
  .sectors,
  .plant,
  .cert-case,
  .faq,
  .cta { padding-top: 46px; padding-bottom: 46px; }

  .hero-meta li { font-size: 10px; }

  .range-grid,
  .format-grid,
  .option-grid,
  .related-grid,
  .feature-grid,
  .product-grid,
  .buyer-grid,
  .guide-grid,
  .industry-grid,
  .article-cards { gap: 8px; }

  .range-card img,
  .format-media img,
  .product-media img,
  .guide-media img,
  .article-card img,
  .industry-card img { height: 118px; }

  .format-media img,
  .format-media.is-photo img { height: 175px; }

  .cert-cabinet { gap: 12px 8px; padding: 12px 10px; }
  .trust-flag { padding: 14px; }
  .trust-points { padding: 14px; }

  .intro-media { grid-template-columns: 1fr; }
  .intro-shot img { height: 140px; }
  .intro-metrics { grid-template-columns: 1fr 1fr; }

  .plant-pair,
  .plant-strip { gap: 7px; }
  .plant-item img { height: 95px; }

  .quick-specs { grid-template-columns: 1fr 1fr; }

  .team-wall { height: 180px; }
  .footer-links { grid-template-columns: 1fr 1fr; }

  .m-dock .btn { padding: 12px 4px; font-size: 8.5px; }
}

/* ==========================================================================
   3. Tablet bridge (641鈥?60px): keep the desktop grid, soften the corners
   ========================================================================== */
@media (min-width: 641px) and (max-width: 860px) {
  .range-grid,
  .format-grid,
  .option-grid,
  .related-grid,
  .feature-grid,
  .product-grid,
  .buyer-grid,
  .guide-grid,
  .industry-grid { grid-template-columns: 1fr 1fr 1fr; }

  .range-card img,
  .format-media img,
  .product-media img,
  .guide-media img,
  .article-card img,
  .industry-card img { height: 150px; }

  .hero-v2.hero-bleed { margin: 16px 20px 22px; }
  .hero-v2.hero-bleed > img.hero-bleed-img { height: 300px; }
  .page-hero { margin: 16px 20px 0; }
}

/* ==========================================================================
   4. Accessibility
   ========================================================================== */
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .btn,
  .m-dock,
  .wa-float { transition: none; }
}

/* ==========================================================================
   5. 2026-11 polish pass (appended last so it wins over the mobile base)
      - readable type scale on phones
      - tighter section rhythm (the old page was ~10,400px tall at 390px)
      - photos sized by aspect-ratio so they fill their frames without cropping
      - certificates become a tappable one-column list on small phones
      - social row in the mobile drawer
   ========================================================================== */
@media (max-width: 860px) {
  /* -------- type: no more 9px body copy -------- */
  p { font-size: 14px; line-height: 1.75; }
  .lede { font-size: 14.5px; line-height: 1.75; }
  .eyebrow { font-size: 9.5px; letter-spacing: 2.2px; }
  .hero-sub { font-size: 13.5px; line-height: 1.75; }
  .hero-meta li { font-size: 11.5px; }
  .hero-meta strong { font-size: 11.5px; }
  .hero-eyebrow { font-size: 9.5px; }

  .btn,
  .cta .btn,
  .hero-cta .btn,
  .page-hero-actions .btn,
  .cta-actions .btn,
  button.btn { font-size: 10px; }

  .text-link,
  .range-link,
  .promo-link { font-size: 10.5px; }

  .range-card h3,
  .format-body h3,
  .option-card h3,
  .related-card h3,
  .feature h3,
  .guide-card h3,
  .industry-card h3 { font-size: 13.5px; line-height: 1.35; }

  .range-card p,
  .option-card p,
  .related-card p,
  .feature p,
  .guide-card p,
  .industry-card p,
  .format-body p { font-size: 11px; line-height: 1.65; }

  .range-card .range-link,
  .option-card .text-link,
  .related-card a,
  .format-body .text-link { font-size: 10px; }

  .intro-services h3 { font-size: 13.5px; }
  .intro-services p { font-size: 11px; line-height: 1.65; }
  .intro-copy p { font-size: 13.5px; line-height: 1.8; }
  .intro-metrics strong { font-size: 13px; }
  .intro-metrics span { font-size: 10.5px; line-height: 1.55; }
  .intro-metrics em { font-size: 9.5px; }

  .cert-meta strong { font-size: 11.5px; }
  .cert-meta em { font-size: 9.5px; }
  .cert-foot p { font-size: 11.5px; }

  .faq-item summary { font-size: 13px; }
  .faq-answer p { font-size: 11.5px; }
  .callout p,
  .plant-audit p { font-size: 11.5px; }
  .quick-spec strong { font-size: 12.5px; }
  .quick-spec span { font-size: 9.5px; }
  .sector-list a { font-size: 14px; }

  .footer-brand p { font-size: 12px; }
  .footer-links a { font-size: 12px; }
  .footer-bottom { font-size: 10px; }
  .footer-bottom a { font-size: 10px; }

  /* -------- rhythm: less dead space between sections -------- */
  .section,
  .range,
  .intro,
  .sectors,
  .plant,
  .cert-case,
  .faq,
  .cta { padding-top: 42px; padding-bottom: 42px; }

  .team-wall-section { padding-top: 42px; padding-bottom: 0; }

  .section-head,
  .range-head,
  .intro-head,
  .cert-head,
  .plant-head,
  .sectors-head { margin-bottom: 20px; }

  .intro .intro-head { margin: 0 0 22px; }
  .intro-body-grid { gap: 22px; }
  .intro-media { margin-top: 18px; }
  .intro-metrics { margin-top: 18px; }
  .range-note { margin-top: 18px; }
  .faq-list { margin-top: 18px; }

  /* -------- trust strip: 3 facts, no empty cell -------- */
  .trust-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 15px 17px;
  }
  .trust-points li:nth-child(n) {
    padding: 0 10px;
    margin-top: 0;
    border: 0;
    border-left: 1px solid #e5eae3;
  }
  .trust-points li:nth-child(1) { padding-left: 0; border-left: 0; }
  .trust-points li:nth-child(3) { padding-right: 0; }
  .trust-points strong { font-size: 11px; margin-bottom: 2px; }
  .trust-points span { font-size: 9.5px; line-height: 1.45; }

  /* -------- photos: ratio-driven frames, consistent cropping -------- */
  .range-card img,
  .product-media img,
  .guide-media img,
  .article-card img,
  .industry-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
  }

  .format-media img,
  .format-media.is-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .hero-v2.hero-bleed > img.hero-bleed-img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .promo-visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .intro-media .intro-shot img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .plant-item img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

  .team-wall {
    height: auto;
    aspect-ratio: 16 / 7;
    object-fit: cover;
  }

  /* an odd number of spec cards: let the last one use the full row */
  .quick-specs .quick-spec:last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* -------- footer: logo on a deliberate white plate -------- */
  .footer-brand img {
    width: 118px;
    height: auto;
    padding: 7px 9px;
    border-radius: 8px;
    background: #fff;
  }

  /* -------- social: drawer + footer -------- */
  .nav-social {
    display: block;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eef3ef;
  }
  .nav-social .social-label { color: #788279; margin-bottom: 2px; }
  .nav-social .social-link {
    width: 40px;
    height: 40px;
    border-color: #dbe7dd;
    background: #f3f7f2;
    color: #193c2a;
  }
  .nav-social .social-link svg { width: 18px; height: 18px; }
  .footer-social { margin-top: 18px; }
  .footer-social .social-link { width: 38px; height: 38px; }

  .m-dock .btn { font-size: 9.5px; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }

  .section,
  .range,
  .intro,
  .sectors,
  .plant,
  .cert-case,
  .faq { padding-top: 36px; padding-bottom: 36px; }

  .team-wall-section { padding-top: 36px; padding-bottom: 0; }
  .cta { padding-top: 34px; padding-bottom: 38px; }

  .range-grid,
  .format-grid,
  .option-grid,
  .related-grid,
  .feature-grid,
  .product-grid,
  .buyer-grid,
  .guide-grid,
  .industry-grid,
  .article-cards { gap: 10px; }

  .range-card img,
  .product-media img,
  .guide-media img,
  .article-card img,
  .industry-card img { height: auto; aspect-ratio: 4 / 3; }

  .cert-cabinet {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
  }

  .cert-cabinet::before { display: none; }

  .cert-frame {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 9px 11px;
    border: 1px solid #e5eae3;
    border-radius: 12px;
    background: #fff;
  }

  .cert-paper {
    flex: 0 0 82px;
    width: 82px;
    aspect-ratio: 3 / 4;
    padding: 3px;
    border-radius: 6px;
    box-shadow: 0 6px 14px -10px rgba(11, 31, 23, .55);
  }

  .cert-paper img { border-radius: 4px; }
  .cert-zoom { display: none; }
  .cert-meta { min-width: 0; }
  .cert-meta strong { font-size: 12.5px; line-height: 1.3; color: #193c2a; }
  .cert-meta em { margin-top: 3px; font-size: 10.5px; line-height: 1.45; color: #788279; }

  .hero-title { font-size: clamp(1.95rem, 9.2vw, 2.3rem); }

  .footer-brand img { width: 112px; }
}

/* compact card rows: base theme gives .industry-card a 200px min-height */
@media (max-width: 860px) {
  .industry-card { min-height: 0; }
}

@media (max-width: 860px) {
  .industry-card h3 { margin-top: 12px; }
}


/* text-only guide cards: give the CTA a real gap instead of stacking on the copy */
@media (max-width: 860px) {
  .guide-card { padding: 14px 13px 15px; }
  .guide-card h3 { margin: 8px 0 6px; }
  .guide-card p { margin: 0 0 12px; }
  .guide-card .text-link { margin-top: 0; }
}

/* ==========================================================================
   6. 2026-11-28 mobile image pass
      Packshots are square masters; crop them square here instead of squeezing
      a 1:1 product photo into a 4:3 / 16:10 letterbox. The wrapper min-height
      is removed so the photo actually fills the top of the card (it used to
      leave a 100px empty band under each image on phones).
   ========================================================================== */
@media (max-width: 860px) {
  .format-media,
  .product-media { min-height: 0; }

  .range-card img,
  .format-media img,
  .format-media.is-photo img,
  .product-media img,
  .product-media.is-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
  }
}

