/* BonitoPak homepage, built on the Relume design system exported for this project
   (scheme 1: beige page, white cards, near-black headings, logo green actions).
   Font: Outfit. */

/* ---------- Tokens (from the Relume export) ---------- */
:root {
  --bg: #F3EEE4;
  --bg-2: #FFFFFF;
  --heading: #070806;
  --text: #2A2D22;
  --muted: rgba(42, 45, 34, .72);
  --accent: #486E0A;
  --accent-subtle: rgba(72, 110, 10, .08);
  --border: #D8D4CB;
  --green: #6FAA10;
  --green-deep: #497004;
  --green-ink: #324C03;

  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --h1: 3.5rem; --h2: 3rem; --h3: 2.5rem; --h4: 2rem; --h5: 1.5rem; --h6: 1.25rem;
  --t-large: 1.25rem; --t-medium: 1.125rem; --t-regular: 1rem; --t-small: .875rem;

  --section-pad: 7rem;
  --page-pad: 2.5rem;
  --gap-content: 5rem;
  --gap-col-2: 5rem;
  --gap-col-3: 3rem;
  --gap-card: 2rem;
  --gap-row: 4rem;
  --card-pad: 2rem;
  --container: 80rem;

  --r-small: 8px; --r-medium: 12px; --r-large: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 991px) {
  :root {
    --h1: 2.75rem; --h2: 2.5rem; --h3: 2rem; --h4: 1.75rem;
    --section-pad: 5.5rem; --page-pad: 2rem; --gap-content: 4rem;
    --gap-col-2: 3rem; --gap-col-3: 2rem; --gap-card: 1.75rem;
  }
}
@media (max-width: 479px) {
  :root {
    --h1: 2.5rem; --h2: 2.25rem; --h3: 1.75rem; --h4: 1.5rem; --h5: 1.25rem; --h6: 1.125rem;
    --t-large: 1.125rem; --t-medium: 1rem;
    --section-pad: 4rem; --page-pad: 1.5rem; --gap-content: 3rem; --gap-row: 3rem;
    --gap-card: 1.5rem; --card-pad: 1.5rem;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--text); scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: var(--t-regular); line-height: 1.5; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--heading); color: #fff; padding: 10px 16px; border-radius: var(--r-small); }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type ---------- */
.h1, .h2, .h3, .h4, .h5, .h6 { color: var(--heading); font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.h1 { font-size: var(--h1); line-height: 1.2; }
.h2 { font-size: var(--h2); line-height: 1.2; }
.h3 { font-size: var(--h3); line-height: 1.2; }
.h4 { font-size: var(--h4); line-height: 1.3; }
.h5 { font-size: var(--h5); line-height: 1.3; }
.h6 { font-size: var(--h6); line-height: 1.3; }
.text-large { font-size: var(--t-large); }
.text-medium { font-size: var(--t-medium); }
.text-regular { font-size: var(--t-regular); }
.text-large, .text-medium, .text-regular { color: var(--text); text-wrap: pretty; }
.muted { color: var(--muted); }
.strong { font-weight: 600; color: var(--heading); }
.tagline { color: var(--accent); font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-group--center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.25rem; border: 1px solid var(--green); border-radius: var(--r-small);
  background: var(--green); color: #fff; font-size: 1rem; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn--secondary { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn--secondary:hover { background: var(--heading); color: #fff; border-color: var(--heading); }
.btn--small { padding: .5rem 1rem; font-size: .9375rem; }
.btn-link {
  display: inline-flex; align-items: center; gap: .375rem; color: var(--green-deep); font-weight: 500; text-decoration: none;
  transition: color .2s, gap .2s;
}
.btn-link::after { content: ""; width: .5rem; height: .5rem; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(-45deg); }
.btn-link:hover { color: var(--green); gap: .625rem; }

/* ---------- Layout ---------- */
.section { padding: var(--section-pad) var(--page-pad); background: var(--bg); }
.section--tight { padding-block: calc(var(--section-pad) * .6); }
.container { display: flex; flex-direction: column; gap: var(--gap-content); max-width: var(--container); margin-inline: auto; width: 100%; }
.container--small { max-width: 48rem; gap: 1.25rem; align-items: center; }

/* section header: tagline + heading left, paragraph right */
.head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem var(--gap-col-2); align-items: start; }
.head > div:first-child { display: flex; flex-direction: column; gap: 1rem; }
.head__aside { display: flex; flex-direction: column; gap: 1.5rem; }
.head__aside .btn-group { margin-top: .5rem; }
.head--center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; max-width: 48rem; margin-inline: auto; }
.head--center .text-medium { margin-top: .5rem; }

/* media */
.media { position: relative; overflow: hidden; border-radius: var(--r-large); background: #DDE3EA; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--landscape { aspect-ratio: 3 / 2; }
.media--portrait { aspect-ratio: 4 / 5; }

/* card */
.card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-large); overflow: hidden; }
.card > .media { border-radius: 0; }
.card__body { display: flex; flex-direction: column; gap: .75rem; padding: var(--card-pad); flex: 1; }
.card__body .btn-link { margin-top: auto; padding-top: .5rem; }

/* icon */
.ico { flex: none; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; color: var(--accent); }
.ico svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header (live bonitopak.com navigation, Relume navbar styling) ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(243, 238, 228, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.wrap { max-width: var(--container); margin-inline: auto; padding-inline: var(--page-pad); box-sizing: content-box; }
.header__row { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; position: relative; }
.brand img { width: 140px; height: auto; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; gap: 2px; }
.nav__trigger, .nav__link {
  display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .875rem; border: 0; border-radius: var(--r-small);
  background: none; font-size: 1rem; color: var(--heading); text-decoration: none; cursor: pointer; transition: background .2s, color .2s;
}
.nav__trigger:hover, .nav__link:hover, .nav__trigger[aria-expanded="true"] { background: var(--accent-subtle); color: var(--green-deep); }
.chev { display: inline-block; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
[aria-expanded="true"] > .chev { transform: translateY(2px) rotate(-135deg); }
.nav .nav__cta-mobile { display: none; }
.header__actions { display: flex; align-items: center; gap: .625rem; margin-left: auto; }

.mega {
  position: absolute; top: calc(100% - 4px); left: 50%; translate: -50% 8px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-large); padding: 1rem;
  box-shadow: 0 30px 60px -30px rgba(7, 8, 6, .3);
  opacity: 0; visibility: hidden; transition: opacity .18s, translate .2s var(--ease), visibility .18s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.nav__drop.is-open .mega { opacity: 1; visibility: visible; translate: -50% 0; }
.mega a { display: block; padding: .4rem .625rem; border-radius: var(--r-small); font-size: .9375rem; text-decoration: none; color: var(--text); }
.mega a:hover { background: var(--accent-subtle); color: var(--green-deep); }
.mega__col { display: flex; flex-direction: column; }
.mega__title { display: block; font-weight: 600; color: var(--heading) !important; font-size: .9375rem; padding: .4rem .625rem; margin: 0; }
.mega__title--gap { margin-top: .625rem; }
.mega__title--label { color: var(--muted) !important; text-transform: uppercase; font-size: .75rem; letter-spacing: .1em; }
.mega--products { width: min(1080px, 94vw); display: grid; grid-template-columns: 1.15fr 1fr 1fr .9fr; gap: .5rem; }
.mega--machines { width: min(680px, 94vw); }
.mega--industries { width: min(820px, 94vw); }
.mega--services { width: min(640px, 94vw); display: grid; grid-template-columns: 1fr 1fr; gap: .375rem; }
.mega--resources { width: min(1000px, 94vw); display: grid; grid-template-columns: 2fr 1fr; gap: .875rem; }
.mega__grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px .5rem; }
.mega__grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
.mega__desc { padding: .75rem .875rem !important; font-size: .875rem !important; color: var(--muted) !important; line-height: 1.45; }
.mega__desc strong { display: block; color: var(--heading); font-size: .9375rem; font-weight: 600; margin-bottom: 3px; }
.mega__card { padding: .5rem !important; background: var(--bg); display: flex !important; flex-direction: column; gap: .625rem; }
.mega__card img { border-radius: var(--r-small); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.mega__card span { font-size: .875rem; font-weight: 500; color: var(--heading); padding: 0 4px 4px; line-height: 1.4; }
.mega__card u { color: var(--green-deep); }
.mega__card--wide img { aspect-ratio: 16/10; }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .875rem; border: 1px solid var(--border); border-radius: var(--r-small); background: transparent; font-size: .9375rem; color: var(--heading); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.lang__btn svg { color: var(--accent); }
.lang__btn:hover { background: var(--heading); border-color: var(--heading); color: #fff; }
.lang__btn:hover svg { color: #fff; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); padding: .5rem; min-width: 170px; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-medium); box-shadow: 0 20px 40px -24px rgba(7, 8, 6, .35); opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .18s, translate .2s, visibility .18s; z-index: 2; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; translate: 0 0; }
.lang__menu a { display: block; padding: .5rem .75rem; border-radius: 6px; text-decoration: none; font-size: .9375rem; color: var(--heading); }
.lang__menu a:hover { background: var(--accent-subtle); color: var(--green-deep); }

.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-small); border: 1px solid var(--border); background: transparent; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--heading); transition: transform .25s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1240px) {
  .lang__btn span { display: none; }
  .nav__trigger, .nav__link { padding: .5rem .625rem; font-size: .9375rem; }
}
@media (max-width: 1080px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav {
    position: absolute; top: 100%; left: calc(-1 * var(--page-pad)); right: calc(-1 * var(--page-pad)); height: calc(100dvh - 4.5rem); display: block;
    background: var(--bg); padding: .5rem var(--page-pad) 2rem; border-top: 1px solid var(--border);
    overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease), visibility .3s; visibility: hidden;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--border); }
  .nav__trigger, .nav__link { width: 100%; justify-content: space-between; padding: 1.125rem 0; font-size: 1.1875rem; border-radius: 0; }
  .nav__trigger:hover, .nav__link:hover, .nav__trigger[aria-expanded="true"] { background: none; }
  .mega { position: static; translate: none !important; width: auto !important; display: none !important; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 1rem; background: transparent; }
  .mega::before { display: none; }
  .nav__drop.is-open .mega { display: grid !important; grid-template-columns: 1fr !important; gap: 4px; }
  .mega__card, .mega__card--wide { display: none !important; }
  .mega__grid2 { grid-template-columns: 1fr; }
  .mega__grid5 { grid-template-columns: 1fr 1fr; }
  .nav .nav__cta-mobile { display: flex; width: 100%; margin-top: 1.5rem; }
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-row) var(--gap-col-2); align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 1.5rem; }
.hero__copy .h1 { margin-top: -.5rem; }
.icon-list { display: flex; flex-direction: column; gap: .875rem; }
.icon-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--text); }
.hero__copy .btn-group { margin-top: .5rem; }

/* ---------- Certifications ---------- */
.certs { width: min(420px, 100%); margin-top: .75rem; }

/* ---------- Sliders (materials, egg cartons, industries) ---------- */
.slider { display: flex; flex-direction: column; gap: 3rem; }
.slider__viewport { overflow: hidden; }
.slider__track { --cols: 1; --gap: var(--gap-card); display: flex; gap: var(--gap); transition: transform .5s var(--ease); touch-action: pan-y; }
.slider__track > li { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; display: flex; flex-direction: column; }
[data-cols="3"] .slider__track { --cols: 3; }
.slider__controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.slider__dots { display: flex; gap: .5rem; }
.slider__dot { width: .5rem; height: .5rem; padding: 0; border: 0; border-radius: 50%; background: rgba(7, 8, 6, .2); cursor: pointer; transition: background .2s, transform .2s; }
.slider__dot[aria-selected="true"] { background: var(--heading); transform: scale(1.15); }
.slider__arrows { display: flex; gap: 1rem; }
.slider__arrow { display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid var(--heading); border-radius: var(--r-small); background: transparent; color: var(--heading); cursor: pointer; transition: background .2s, color .2s; }
.slider__arrow svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.slider__arrow:hover { background: var(--heading); color: #fff; }
@media (max-width: 991px) { [data-cols="3"] .slider__track { --cols: 2; } }
@media (max-width: 600px) { [data-cols="3"] .slider__track { --cols: 1.15; } }

/* materials: one large slide, image left, text right */
.slide-xl { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem var(--gap-col-2); align-items: center; }
.slide-xl__text { display: flex; flex-direction: column; gap: 1.25rem; }
.num { color: var(--accent); font-weight: 600; font-size: 1rem; }
@media (max-width: 767px) { .slide-xl { grid-template-columns: 1fr; } }

/* ---------- Feature: text + image ---------- */
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-row) var(--gap-col-2); align-items: center; }
.feature--top { align-items: start; }
.feature__copy { display: flex; flex-direction: column; gap: 1.5rem; }
.feature__copy .btn-group { margin-top: .5rem; }
.feature--top .media { position: sticky; top: 6.5rem; }

/* ---------- Product lines: one row per line ---------- */
.rows { display: flex; flex-direction: column; gap: var(--gap-row); }
.row-xl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem var(--gap-col-2); align-items: center; scroll-margin-top: 6rem; }
.row-xl__text { display: flex; flex-direction: column; gap: 1.25rem; }
.row-xl__text .btn-link { margin-top: .5rem; }
.row-xl.is-flash .media { animation: flash 1.4s ease-out; }
@keyframes flash { from { box-shadow: 0 0 0 4px var(--green); } to { box-shadow: 0 0 0 4px transparent; } }

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-card); }
.compare__option { display: flex; flex-direction: column; }
.compare__option .card__body { gap: 1rem; }
.details { border-top: 1px solid var(--border); margin-top: .5rem; }
.details div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--border); }
.details div:last-child { border-bottom: 0; padding-bottom: 0; }
.details dt { color: var(--muted); }
.details dd { color: var(--heading); font-weight: 500; }
.cta-card { padding: var(--card-pad) calc(var(--card-pad) * 1.5); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
.cta-card .text-medium { max-width: 40rem; }
.cta-card .btn-group { margin-top: .5rem; }
.cta-card--row { flex-direction: row; justify-content: space-between; text-align: left; padding: 1.5rem 2rem; margin-top: calc(var(--gap-card) - var(--gap-content)); }

/* ---------- Process timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-row) var(--gap-card); margin-top: calc(1.5rem - var(--gap-content)); }
.timeline li { display: flex; flex-direction: column; gap: 1.25rem; }
.timeline__rail { position: relative; display: flex; align-items: center; }
.timeline__rail::after { content: ""; position: absolute; left: 3rem; right: calc(-1 * var(--gap-card)); top: 50%; height: 1px; background: var(--border); }
.timeline li:last-child .timeline__rail::after { right: 0; }
.badge { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--r-small); background: var(--accent-subtle); color: var(--accent); font-weight: 600; }
.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.clamp.is-open { display: block; -webkit-line-clamp: unset; }
.more-btn { align-self: flex-start; margin-top: -.75rem; padding: 0; border: 0; background: none; color: var(--green-deep); font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border); }
.more-btn:hover { color: var(--green); text-decoration-color: var(--green); }
.strong + .timeline, .strong + .stats { margin-top: calc(1.5rem - var(--gap-content)); }
#how-we-develop-your-product .strong, #bonitopak-in-numbers .strong { margin-bottom: 0; }

/* ---------- Gallery and video ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-card); }
.gallery figure { display: flex; flex-direction: column; gap: 1rem; }
.gallery figcaption { color: var(--muted); font-size: var(--t-regular); }
.video { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap-card); align-items: start; margin-top: calc(var(--gap-card) - var(--gap-content)); }
.video__player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-large); overflow: hidden; background: #111; }
.video__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vplay { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.vplay img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.78); transition: filter .3s; }
.vplay:hover img { filter: brightness(.9); }
.vplay__btn { position: absolute; left: 50%; top: 50%; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; transition: background .2s, transform .3s var(--ease); }
.vplay__btn svg { width: 1.75rem; height: 1.75rem; margin-left: 4px; fill: currentColor; }
.vplay:hover .vplay__btn { background: var(--green-deep); transform: scale(1.06); }
.video__side { display: flex; flex-direction: column; gap: 1rem; }
.video__thumbs { display: flex; flex-direction: column; gap: .75rem; margin-block: .5rem; }
.vthumb { display: grid; grid-template-columns: 7rem 1fr; gap: .875rem; align-items: center; padding: .5rem; border: 1px solid var(--border); border-radius: var(--r-medium); background: var(--bg-2); color: var(--heading); text-align: left; font-weight: 500; cursor: pointer; transition: border-color .2s; }
.vthumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-small); }
.vthumb:hover { border-color: var(--heading); }
.vthumb.is-on { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }

/* ---------- Numbers ---------- */
.check-list { display: flex; flex-direction: column; gap: .5rem; }
.check-list li { display: flex; align-items: center; gap: .625rem; font-weight: 500; color: var(--heading); }
.check-list li::before { content: ""; width: 1.125rem; height: 1.125rem; flex: none; border-radius: 4px; background: var(--accent-subtle) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23486E0A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / .875rem no-repeat; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap-card); }
.stats .card { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: var(--card-pad); min-height: 13rem; }
.figure { order: -1; color: var(--heading); font-size: clamp(2.75rem, 4.6vw, 4.5rem); font-weight: 600; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stats dt { color: var(--heading); font-weight: 600; font-size: var(--h6); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-card); }
.testimonial { display: flex; flex-direction: column; gap: 1.5rem; padding: var(--card-pad); }
.stars { color: var(--heading); letter-spacing: 3px; font-size: 1.125rem; }
.testimonial blockquote { flex: 1; color: var(--heading); }
.testimonial figcaption { display: flex; align-items: center; gap: 1rem; }
.testimonial figcaption > span:last-child { display: flex; flex-direction: column; }
.testimonial strong { color: var(--heading); font-weight: 600; }
.avatar { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--accent-subtle); color: var(--accent); font-weight: 600; flex: none; }

/* ---------- Why choose us ---------- */
.highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem var(--gap-card); margin-top: 1rem; }
.highlights li { display: flex; flex-direction: column; gap: .5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem var(--gap-card); align-items: start; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.25rem 1.5rem; font-size: var(--t-medium); font-weight: 600; color: var(--heading); transition: color .2s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 1.5rem; height: 1.5rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23070806' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 1.25rem no-repeat; transition: transform .25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--green-deep); }
.faq-item p { padding: 0 1.5rem 1.5rem; color: var(--text); }
.faq-grid + .cta-card { margin-top: calc(var(--gap-card) - var(--gap-content) + 1rem); }

/* ---------- Articles ---------- */
.feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-row) var(--gap-col-3); }
.post a { display: flex; flex-direction: column; gap: 1rem; height: 100%; text-decoration: none; }
.post h3 { transition: color .2s; }
.post a:hover h3 { color: var(--green-deep); }
.post .btn-link { margin-top: auto; }
.post a:hover .btn-link { gap: .625rem; color: var(--green); }

/* ---------- Inquiry panel and form ---------- */
.panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-row) var(--gap-col-2); padding: calc(var(--card-pad) * 1.5); align-items: start; }
.panel__copy { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.contact-list li { display: flex; gap: .875rem; align-items: flex-start; color: var(--text); }
.contact-list li > span:last-child { display: flex; flex-direction: column; }
.contact-list strong { color: var(--heading); font-weight: 600; }
.contact-list a { color: var(--heading); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.contact-list a:hover { color: var(--green-deep); text-decoration-color: var(--green); }
.form { position: relative; display: flex; flex-direction: column; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .5rem; color: var(--heading); font-weight: 500; }
.input { width: 100%; padding: .75rem 1rem; border: 1px solid rgba(7, 8, 6, .2); border-radius: var(--r-small); background: transparent; color: var(--text); font: inherit; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.input:hover { border-color: rgba(7, 8, 6, .45); }
.input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.input[aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 1px #c0392b; }
select.input { appearance: none; cursor: pointer; padding-right: 2.75rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%232A2D22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 1rem center / 1rem no-repeat; }
textarea.input { resize: vertical; min-height: 8rem; }
.file { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; cursor: pointer; }
.file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file:focus-within .btn { outline: 2px solid var(--green); outline-offset: 3px; }
.file__names { color: var(--muted); font-size: var(--t-small); }
.form__send { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form__send .btn { min-width: 9rem; }
.form__note { font-size: var(--t-small); color: var(--green-deep); }
.form__note.is-error { color: #c0392b; }
.form__done { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1rem; background: var(--bg-2); }
.form__done[hidden] { display: none; }

/* ---------- Footer ---------- */
.footer { padding: var(--section-pad) var(--page-pad) 2rem; background: var(--bg); border-top: 1px solid var(--border); }
.footer .container { gap: 3.5rem; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem var(--gap-col-2); align-items: start; }
.footer__cta { display: flex; flex-direction: column; gap: 1rem; }
.footer__cta .btn-group { margin-top: .5rem; }
.footer__contacts { display: flex; flex-direction: column; gap: 1.25rem; }
.footer__contacts li { display: flex; flex-direction: column; gap: .25rem; color: var(--heading); }
.footer__contacts .muted { font-size: var(--t-small); }
.footer__contacts a { text-decoration: none; }
.footer__contacts a:hover { color: var(--green-deep); }
.footer__mid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-top: 3.5rem; border-top: 1px solid var(--border); }
.footer__brand img { width: 150px; }
.social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.social a { display: inline-block; padding: .375rem .75rem; border: 1px solid var(--border); border-radius: var(--r-small); font-size: var(--t-small); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.social a:hover { background: var(--heading); border-color: var(--heading); color: #fff; }
.footer nav { display: flex; flex-direction: column; gap: .75rem; }
.footer__head { font-weight: 600; color: var(--heading); margin-bottom: .25rem; }
.footer nav a { font-size: var(--t-small); text-decoration: none; color: var(--text); }
.footer nav a:hover { color: var(--green-deep); text-decoration: underline; text-underline-offset: 4px; }
.footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--border); font-size: var(--t-small); }
.footer__base p:last-child { display: flex; gap: 1.5rem; }
.footer__base a { text-decoration: underline; text-underline-offset: 4px; }
.footer__base a:hover { color: var(--green-deep); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .head, .hero, .feature, .row-xl, .panel, .footer__top { grid-template-columns: 1fr; }
  .head { gap: 1.25rem; }
  .feature--top .media { position: static; aspect-ratio: 3 / 2; }
  .feature .media, .hero .media { order: -1; }
  .hero .media { order: 2; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline li:nth-child(2) .timeline__rail::after { right: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .video { grid-template-columns: 1fr; }
  .video__thumbs { flex-direction: row; overflow-x: auto; }
  .vthumb { grid-template-columns: 1fr; min-width: 11rem; }
  .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__mid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .compare, .testimonials, .faq-grid, .highlights { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .feed { grid-template-columns: 1fr; }
  .cta-card--row { flex-direction: column; align-items: flex-start; }
  .panel { padding: var(--card-pad); }
}
@media (max-width: 479px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline__rail::after { right: 0 !important; }
  .stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stats .card { min-height: 0; gap: 1rem; padding: 1.25rem; }
  .stats dt { font-size: 1rem; }
  .form__row { grid-template-columns: 1fr; }
  .details div { grid-template-columns: 6.5rem 1fr; }
  .footer__mid { grid-template-columns: 1fr; }
  .footer__base p:last-child { flex-wrap: wrap; gap: .75rem 1.25rem; }
}

/* large screens: scale the whole layout so a 2K / 4K / ultrawide monitor shows the same composition */
@media (min-width: 1800px) { html { zoom: 1.15; } }
@media (min-width: 2200px) { html { zoom: 1.35; } }
@media (min-width: 2800px) { html { zoom: 1.65; } }
@media (min-width: 3400px) { html { zoom: 2; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .slider__track { transition: none; }
}

/* stat figures scale with the card, so 100,000+ always fits */
.stats .card { container-type: inline-size; }
.figure { font-size: clamp(2rem, 19cqi, 4.5rem); }
.btn { white-space: nowrap; }

/* ======================================================================
   Green and white buttons and icons, VS comparison, tighter sections
   ====================================================================== */

/* Tighter vertical rhythm */
:root { --section-pad: 4.5rem; --gap-content: 3rem; --gap-row: 3rem; }
@media (max-width: 991px) { :root { --section-pad: 3.75rem; --gap-content: 2.5rem; } }
@media (max-width: 479px) { :root { --section-pad: 3rem; --gap-content: 2rem; --gap-row: 2.25rem; } }
.section--tight { padding-block: 2.5rem; }
.footer { padding-top: 4rem; }
.footer .container { gap: 2.5rem; }
.footer__mid { padding-top: 2.5rem; }

/* Buttons: green fill, or green outline that fills green on hover */
.btn--secondary { background: #fff; color: var(--green-deep); border-color: var(--green); }
.btn--secondary:hover { background: var(--green); color: #fff; border-color: var(--green); }
.btn:hover:not(.btn--secondary) { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.btn-link, .more-btn { color: var(--green-deep); }

/* Slider arrows and dots */
.slider__arrow { background: #fff; color: var(--green-deep); border-color: var(--green); }
.slider__arrow:hover { background: var(--green); color: #fff; border-color: var(--green); }
.slider__dot { background: rgba(111, 170, 16, .28); }
.slider__dot[aria-selected="true"] { background: var(--green); }

/* Header controls */
.lang__btn { background: #fff; border-color: var(--green); color: var(--green-deep); }
.lang__btn svg { color: var(--green); }
.lang__btn:hover { background: var(--green); border-color: var(--green); color: #fff; }
.burger { background: #fff; border-color: var(--green); }
.burger span { background: var(--green-deep); }
.burger:hover { background: var(--green); }
.burger:hover span { background: #fff; }

/* Icons: green on a soft green tile */
.icon-list .ico, .contact-list .ico {
  width: 2.25rem; height: 2.25rem; border-radius: var(--r-small);
  background: var(--accent-subtle); color: var(--green);
}
.icon-list .ico svg, .contact-list .ico svg { width: 1.25rem; height: 1.25rem; }
.icon-list li, .contact-list li { align-items: center; }
.contact-list li { align-items: flex-start; }
.badge { background: var(--green); color: #fff; }
.avatar { background: var(--green); color: #fff; }
.stars { color: var(--green); }
.check-list li::before { background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.faq-item summary::after { width: 1.75rem; height: 1.75rem; border-radius: 50%; background-color: var(--accent-subtle); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23497004' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-size: 1rem; transition: transform .25s var(--ease), background-color .2s; }
.faq-item[open] summary::after { background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.social a { background: #fff; border-color: var(--green); color: var(--green-deep); }
.social a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.vthumb.is-on { border-color: var(--green); }
.vthumb:hover { border-color: var(--green); }

/* Wet vs dry: smaller cards with a VS badge between them */
#wet-vs-dry-pressing .compare, #wet-vs-dry-pressing .cta-card--row { max-width: 60rem; width: 100%; margin-inline: auto; }
.compare { position: relative; gap: 1.75rem; container-type: inline-size; }
.compare__option .media--landscape { aspect-ratio: 2 / 1; }
.compare__option .card__body { padding: 1.5rem; gap: .75rem; }
.compare__option .h4 { font-size: var(--h5); }
.compare__option .text-regular { font-size: .9375rem; }
.details div { padding: .5rem 0; font-size: .9375rem; grid-template-columns: 7rem 1fr; }
.vs-badge {
  position: absolute; left: 50%; top: calc((100cqi - 1.75rem) / 4); z-index: 2; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 0 0 6px var(--bg), 0 12px 24px -10px rgba(73, 112, 4, .6);
}
@media (max-width: 767px) {
  .vs-badge { position: relative; left: auto; top: auto; transform: none; margin: -2.5rem auto; justify-self: center; }
}

/* ======================================================================
   Our Products: interactive showcase (tabs left, product stage right)
   ====================================================================== */
.pshow { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: var(--gap-card); align-items: stretch; }
.pshow__tabs { display: flex; flex-direction: column; gap: .5rem; }
.pshow__tab {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 2.25rem 1fr 1.25rem; align-items: center; gap: .75rem;
  width: 100%; padding: 1.125rem 1.25rem; border: 1px solid var(--border); border-radius: var(--r-medium);
  background: transparent; color: var(--heading); text-align: left; cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.pshow__tab:hover { background: #fff; border-color: var(--green); }
.pshow__n { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: var(--r-small); background: var(--accent-subtle); color: var(--green-deep); font-weight: 600; font-size: .875rem; transition: background .25s, color .25s; }
.pshow__name { font-size: var(--t-medium); font-weight: 600; line-height: 1.3; }
.pshow__arrow { width: .55rem; height: .55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); opacity: .35; transition: opacity .25s, transform .25s var(--ease); justify-self: end; }
.pshow__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; }
.pshow__tab[aria-selected="true"] { background: #fff; border-color: var(--green); box-shadow: 0 18px 36px -26px rgba(73, 112, 4, .55); transform: translateX(6px); }
.pshow__tab[aria-selected="true"] .pshow__n { background: var(--green); color: #fff; }
.pshow__tab[aria-selected="true"] .pshow__arrow { opacity: 1; color: var(--green); transform: rotate(-45deg) translate(2px, 2px); }
.pshow.is-auto .pshow__tab[aria-selected="true"] .pshow__bar { animation: pshowBar var(--pshow-dur, 6s) linear forwards; }
@keyframes pshowBar { to { transform: scaleX(1); } }

.pshow__stage { position: relative; display: grid; }
.pshow__panel {
  grid-area: 1 / 1; display: grid; grid-template-rows: auto 1fr; background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-large); overflow: hidden;
}
.pshow__panel[hidden] { display: none; }
.pshow__panel.is-active { animation: pshowIn .55s var(--ease); }
@keyframes pshowIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pshow__img { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #DDE3EA; }
.pshow__img img { width: 100%; height: 100%; object-fit: cover; }
.pshow__panel.is-active .pshow__img img { animation: pshowZoom 6s ease-out both; }
@keyframes pshowZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.pshow__count { position: absolute; right: 1rem; top: 1rem; padding: .375rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--green-deep); font-size: .8125rem; font-weight: 600; letter-spacing: .04em; }
.pshow__body { display: flex; flex-direction: column; gap: .875rem; padding: 1.75rem 2rem 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .3rem .75rem; border-radius: 999px; background: var(--accent-subtle); color: var(--green-deep); font-size: .8125rem; font-weight: 600; }
.pshow__body .btn-group { margin-top: .5rem; }

@media (max-width: 991px) {
  .pshow { grid-template-columns: 1fr; }
  .pshow__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: .5rem; padding-bottom: .25rem; margin-inline: calc(-1 * var(--page-pad)); padding-inline: var(--page-pad); scroll-snap-type: x mandatory; }
  .pshow__tabs::-webkit-scrollbar { display: none; }
  .pshow__tab { flex: 0 0 auto; width: auto; grid-template-columns: auto auto; padding: .625rem 1rem .625rem .625rem; scroll-snap-align: start; }
  .pshow__tab[aria-selected="true"] { transform: none; }
  .pshow__arrow { display: none; }
  .pshow__name { font-size: 1rem; white-space: nowrap; }
}
@media (max-width: 479px) {
  .pshow__body { padding: 1.25rem; }
  .pshow__img { aspect-ratio: 4 / 3; }
}

/* ======================================================================
   Certifications: badge tiles
   ====================================================================== */
.container--certs { max-width: 64rem; gap: 1rem; align-items: center; }
.container--certs > .text-regular { max-width: 44rem; }
.cert-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; width: 100%; margin-top: 1.5rem; }
.cert {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: .375rem; padding: 1.25rem .75rem 1.125rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-large); overflow: hidden;
  transition: transform .35s var(--ease), border-color .25s, box-shadow .35s;
}
.cert::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--green); transform: scaleX(.25); transition: transform .45s var(--ease);
}
.cert::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-18deg); pointer-events: none;
}
.cert:hover { transform: translateY(-6px); border-color: var(--green); box-shadow: 0 24px 40px -28px rgba(73, 112, 4, .6); }
.cert:hover::before { transform: scaleX(1); }
.cert:hover::after { animation: certShine .8s ease; }
@keyframes certShine { to { left: 130%; } }
.cert__logo { display: grid; place-items: center; width: 5.5rem; height: 5.5rem; margin-bottom: .5rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px var(--accent-subtle); transition: box-shadow .3s; }
.cert:hover .cert__logo { box-shadow: 0 0 0 6px rgba(111, 170, 16, .22); }
.cert__logo img { width: 4.25rem; height: 4.25rem; object-fit: contain; transition: transform .45s var(--ease); }
.cert:hover .cert__logo img { transform: scale(1.08) rotate(-3deg); }
.cert strong { color: var(--heading); font-weight: 600; font-size: 1rem; text-align: center; }
.cert > span:last-child { color: var(--muted); font-size: .8125rem; text-align: center; line-height: 1.35; }
.cert-food { display: inline-flex; align-items: center; gap: .625rem; margin-top: .75rem; padding: .5rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--border); color: var(--text); font-size: .9375rem; }
.cert-food b { color: var(--green-deep); }
.cert-food__dot { flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--accent-subtle); }
.certs-anim .cert { opacity: 0; transform: translateY(22px); }
.certs-anim.is-in .cert { opacity: 1; transform: none; transition: opacity .6s var(--ease) calc(var(--i) * 90ms), transform .6s var(--ease) calc(var(--i) * 90ms), border-color .25s, box-shadow .35s; }
.certs-anim.is-in .cert:hover { transform: translateY(-6px); transition-delay: 0s; }
@media (max-width: 991px) { .cert-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .cert-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .cert:last-child { grid-column: 1 / -1; }
  .cert-food { font-size: .875rem; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .pshow__panel.is-active, .pshow__panel.is-active .pshow__img img { animation: none; }
  .certs-anim .cert { opacity: 1; transform: none; }
}
.head--solo { display: block; }
.pshow__body .text-regular + .text-regular { margin-top: -.25rem; }
@media (min-width: 992px) { .pshow__img { aspect-ratio: 2.2 / 1; } .pshow__body { padding: 1.5rem 1.75rem 1.75rem; } }

/* ======================================================================
   Our Professional products: Relume "feature list, 1 column, XL horizontal
   items with dividers" (image left, content right, centred)
   ====================================================================== */
.head__aside--end { align-items: flex-end; justify-content: flex-end; height: 100%; }
.xlist { display: flex; flex-direction: column; }
.xrow {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--gap-col-2); row-gap: 2rem;
  align-items: center; padding-block: 2.5rem; border-top: 1px solid var(--border); scroll-margin-top: 6rem;
}
.xrow:first-child { border-top: 0; padding-top: 0; }
.xrow:last-child { padding-bottom: 0; }
.xrow__media { margin: 0; }
.xrow__media img { transition: transform .8s var(--ease); }
.xrow:hover .xrow__media img { transform: scale(1.04); }
.xrow__content { display: flex; flex-direction: column; gap: 2rem; justify-content: center; }
.xrow__text { display: flex; flex-direction: column; gap: .75rem; }
.xrow__text .h3 { margin-bottom: .25rem; }
.xrow__text .text-medium { color: var(--text); }
.btn-group--links { gap: 1.5rem; }
@media (max-width: 991px) {
  .xrow { grid-template-columns: 1fr; }
  .head__aside--end { align-items: flex-start; }
}
@media (max-width: 479px) {
  .xrow { padding-block: 2rem; row-gap: 1.5rem; }
  .xrow__content { gap: 1.5rem; }
}
.cert::before { transform: scaleX(0); }

/* ======================================================================
   Inner pages (Relume layouts): page header, card grids, feature lists,
   FAQ split, gallery, article, CTA. Section backgrounds alternate
   beige (scheme 1) and white (scheme 2), as in the Relume export.
   ====================================================================== */
.section--white { background: #fff; }
.section--white .card, .section--white .faq-item { background: var(--bg); }
.section--white .card.card--link, .section--white .feat { background: #fff; }

/* Page header: backdrop photo in a rounded frame, white card on the left */
.section--hero { padding-top: calc(var(--section-pad) * .45); padding-bottom: calc(var(--section-pad) * .45); }
.pagehero { position: relative; min-height: 30rem; display: flex; align-items: center; padding: clamp(1.5rem, 4vw, 4rem); border-radius: var(--r-large); overflow: hidden; background: #2A2D22; }
.pagehero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pagehero__shade { position: absolute; inset: 0; background: rgba(7, 8, 6, .4); }
.pagehero__card { position: relative; z-index: 1; max-width: 36rem; padding: clamp(1.5rem, 3vw, 3rem); display: flex; flex-direction: column; gap: 1rem; background: #fff; border: 0; }
.pagehero__card .h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
.pagehero__card .btn-group { margin-top: .5rem; }
@media (max-width: 767px) {
  .pagehero { min-height: 0; padding: 0; flex-direction: column; align-items: stretch; background: transparent; }
  .pagehero__bg { position: relative; height: 14rem; border-radius: var(--r-large) var(--r-large) 0 0; }
  .pagehero__shade { display: none; }
  .pagehero__card { max-width: none; border-radius: 0 0 var(--r-large) var(--r-large); border: 1px solid var(--border); border-top: 0; }
}

/* Card grids (products, industries, materials, related links) */
.grid-cards { display: grid; gap: var(--gap-card); }
.grid-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.grid-cards > li { display: flex; flex-direction: column; }
.card--link a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card--link .media { border-radius: 0; aspect-ratio: 4 / 3; }
.card--link .media img { transition: transform .6s var(--ease); }
.card--link:hover { border-color: var(--green); }
.card--link:hover .media img { transform: scale(1.05); }
.card--link:hover .h6 { color: var(--green-deep); }
.card--link .card__body { padding: 1.25rem; gap: .5rem; }
.card--link .text-regular { font-size: .9375rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.grid-cards--4 .card--link .card__body { padding: 1rem 1.125rem 1.125rem; }
.card .h6, .card .h5 { transition: color .2s; }

/* Feature lists: heading + text items, with or without a photo */
.feat .card__body { gap: .625rem; }
.feat .media { border-radius: 0; aspect-ratio: 16 / 10; }
.grid-cards--text .feat { background: transparent; border: 0; border-top: 2px solid var(--green); border-radius: 0; }
.grid-cards--text .feat .card__body { padding: 1.25rem 0 0; }
.section--white .grid-cards--text .feat { background: transparent; }
.check-list--text { gap: .625rem; margin-top: .25rem; }
.check-list--text li { align-items: flex-start; font-weight: 400; color: var(--text); }
.check-list--text li::before { margin-top: .2rem; }

/* Split: heading left, body right (text sections and FAQs) */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 2rem var(--gap-col-2); align-items: start; }
.split__head { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 6.5rem; }
.split__body { display: flex; flex-direction: column; gap: 1rem; }
.faq-stack { display: flex; flex-direction: column; gap: .75rem; }
.prose { max-width: 48rem; display: flex; flex-direction: column; gap: 1rem; }

/* Feature with media: alternate sides */
.feature--flip .media { order: -1; }

/* Gallery that fits any number of photos */
.gallery--auto { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }

/* Long documents: knowledge base, policies, jobs */
.article { max-width: 46rem; margin-inline: auto; color: var(--text); font-size: 1.0625rem; line-height: 1.7; }
.article > * + * { margin-top: 1rem; }
.article h2, .article h3, .article h4 { color: var(--heading); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin-top: 2.25rem; }
.article h2 { font-size: var(--h4); }
.article h3 { font-size: var(--h5); }
.article h4 { font-size: var(--h6); }
.article ul { padding-left: 1.25rem; list-style: disc; }
.article li + li { margin-top: .375rem; }
.article li::marker { color: var(--green); }

/* Video detail pages */
.video-page { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--gap-card); align-items: start; }
.video-page__text { display: flex; flex-direction: column; gap: 1rem; }

/* CTA card on inner pages */
.cta-card--lg { padding: clamp(2rem, 5vw, 4rem); gap: 1.25rem; }
.cta-card--lg .h2 { max-width: 36rem; }

@media (max-width: 991px) {
  .grid-cards--3, .grid-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .video-page { grid-template-columns: 1fr; }
  .split__head { position: static; }
  .feature--flip .media { order: -1; }
}
@media (max-width: 560px) {
  .grid-cards--2, .grid-cards--3 { grid-template-columns: 1fr; }
  .grid-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .grid-cards--4 .card--link .card__body { padding: .75rem; }
  .grid-cards--4 .card--link .text-regular, .grid-cards--4 .card--link .btn-link { display: none; }
}

/* ======================================================================
   Homepage changes from the latest Relume export
   ====================================================================== */
/* navbar and footer on white (scheme 2) */
.header { background: rgba(255, 255, 255, .94); }
.footer { background: #fff; }

/* materials: two-column grid of cards instead of a slider */
.mgrid .slider__viewport { overflow: visible; }
.mgrid .slider__track { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-card); transform: none !important; }
.mgrid .slide-xl { display: flex !important; flex-direction: column; gap: 1.25rem; align-items: stretch; }
.mgrid .slide-xl .media { aspect-ratio: 16 / 9; }
.mgrid .slide-xl__text { gap: .75rem; }
.mgrid .slide-xl__text .h3 { font-size: var(--h5); }
.mgrid .slide-xl__text .text-medium { font-size: var(--t-regular); }
.mgrid .slider__track > li:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-card); align-items: center; }

/* industries: four-column card grid */
.igrid .slider__viewport { overflow: visible; }
.igrid .slider__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; transform: none !important; }
.igrid .card__body { padding: 1.125rem; gap: .5rem; }
.igrid .card__body .h5 { font-size: var(--h6); }
.igrid .card__body .text-regular { font-size: .9375rem; }

/* reviews: masonry, two columns */
.testimonials { display: block; columns: 2; column-gap: var(--gap-card); }
.testimonials .testimonial { break-inside: avoid; margin-bottom: var(--gap-card); }

@media (max-width: 991px) {
  .igrid .slider__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .mgrid .slider__track, .mgrid .slider__track > li:last-child:nth-child(odd) { grid-template-columns: 1fr; }
  .testimonials { columns: 1; }
}
@media (max-width: 479px) {
  .igrid .slider__track { gap: .75rem; }
  .igrid .card__body .text-regular { display: none; }
}

/* ======================================================================
   Inner page header v2: full-width photo, dark overlay, white text,
   green primary button, white outline secondary
   ====================================================================== */
.pagehero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(26rem, 62vh, 38rem); padding: calc(var(--section-pad) * .8) var(--page-pad); overflow: hidden; background: #11120E; border-radius: 0; }
.pagehero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pagehero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 8, 6, .82) 0%, rgba(7, 8, 6, .6) 45%, rgba(7, 8, 6, .25) 100%); }
.pagehero .container { gap: 0; }
.pagehero__copy { max-width: 40rem; display: flex; flex-direction: column; gap: 1.125rem; }
.pagehero__copy .tagline { color: #A5CA6A; }
.pagehero__copy .h1 { color: #fff; font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
.pagehero__copy .text-medium, .pagehero__copy .check-list li { color: rgba(255, 255, 255, .88); }
.pagehero__copy .btn-group { margin-top: .5rem; }
.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }
.btn--ghost-white:hover { background: #fff; color: var(--green-deep); border-color: #fff; }
@media (max-width: 767px) {
  .pagehero { min-height: 24rem; align-items: flex-end; padding-top: 6rem; }
  .pagehero__shade { background: linear-gradient(0deg, rgba(7, 8, 6, .85) 0%, rgba(7, 8, 6, .55) 60%, rgba(7, 8, 6, .3) 100%); }
}
/* text sections with a photo: keep the photo from towering over short copy */
.feature--top .media--portrait { max-height: 34rem; }

/* ======================================================================
   FAQ as Q&A cards (inner pages): badge, question, answer preview
   ====================================================================== */
.qa-grid { display: grid; gap: 1.25rem; }
.qa-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qa-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qa-card { position: relative; display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem 1.5rem 1.375rem; transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.qa-card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: 0 20px 36px -28px rgba(73, 112, 4, .55); }
.qa-card__badge { align-self: flex-start; display: grid; place-items: center; min-width: 2.5rem; height: 2.5rem; padding: 0 .5rem; border-radius: var(--r-small); background: var(--accent-subtle); color: var(--green-deep); font-weight: 700; font-size: .875rem; transition: background .25s, color .25s; }
.qa-card:hover .qa-card__badge { background: var(--green); color: #fff; }
.qa-card__q { color: var(--heading); font-size: var(--h6); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
.qa-card__a { color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.qa-card .more-btn { margin-top: -.25rem; }
.section--white .qa-card { background: var(--bg); }
@media (max-width: 991px) { .qa-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .qa-grid--2, .qa-grid--3 { grid-template-columns: 1fr; } }

/* ======================================================================
   Long text sections: numbered point cards + inline Q&A cards
   ====================================================================== */
.point-grid { display: grid; gap: 1.25rem; margin-top: var(--gap-card); }
.point-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.point-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.point-card { display: flex; flex-direction: column; gap: .625rem; padding: 1.5rem; border-top: 3px solid var(--green); transition: transform .3s var(--ease), box-shadow .3s; }
.point-card:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -28px rgba(73, 112, 4, .55); }
.point-card__n { color: var(--green); font-weight: 700; font-size: .875rem; letter-spacing: .06em; }
.point-card__t { color: var(--heading); font-size: var(--h6); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
.point-card p { color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.section--white .point-card { background: var(--bg); }
.qa-block { margin-top: calc(var(--gap-card) * 1.5); display: flex; flex-direction: column; gap: 1rem; }
@media (max-width: 991px) { .point-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .point-grid--2, .point-grid--3 { grid-template-columns: 1fr; } }

/* less rounded cards and photos (buttons and inputs keep 8px) */
:root { --r-large: 8px; --r-medium: 6px; }
.media--wide { aspect-ratio: 21 / 9; }
@media (max-width: 640px) { .media--wide { aspect-ratio: 16 / 10; } }

/* ======================================================================
   Topic rows (long text split by subheadings): number + title | text
   ====================================================================== */
.topics { margin-top: var(--gap-content); border-top: 1px solid var(--border); }
.topic { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: 1rem var(--gap-col-2); padding: 2rem 0; border-bottom: 1px solid var(--border); }
.topic__head { display: flex; gap: 1rem; align-items: flex-start; }
.topic__n { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: var(--r-small); background: var(--green); color: #fff; font-weight: 700; font-size: .875rem; }
.topic__head .h5 { padding-top: .25rem; font-size: var(--h6); line-height: 1.3; transition: color .2s; }
.topic:hover .topic__head .h5 { color: var(--green-deep); }
.topic__body { display: flex; flex-direction: column; gap: .875rem; }
.topic__body .text-regular { color: var(--text); line-height: 1.65; }
.topic__body.clamp { display: -webkit-box; -webkit-line-clamp: 7; }
.topic__body.clamp.is-open { display: flex; }
.topic-intro { margin-top: var(--gap-card); }
@media (max-width: 767px) {
  .topic { grid-template-columns: 1fr; padding: 1.5rem 0; }
}

/* ======================================================================
   Topic rows -> bento cards: first topic featured (wide, deep green),
   the rest as cards with a large watermark number and accent bar
   ====================================================================== */
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; border-top: 0; counter-reset: topic; }
.topic {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 1rem;
  padding: 1.75rem 1.75rem 1.5rem; border: 1px solid var(--border); border-radius: var(--r-large);
  background: #fff; transition: transform .35s var(--ease), box-shadow .35s, border-color .25s;
}
.section--white .topic { background: var(--bg); }
.topic::before { /* accent bar */
  content: ""; position: absolute; left: 1.75rem; top: 0; width: 3rem; height: 4px; border-radius: 0 0 4px 4px;
  background: var(--green); transition: width .45s var(--ease);
}
.topic::after { /* large watermark number */
  counter-increment: topic; content: counter(topic, decimal-leading-zero);
  position: absolute; right: 1rem; top: .25rem; font-size: 5.5rem; font-weight: 700; line-height: 1;
  letter-spacing: -0.05em; color: rgba(111, 170, 16, .1); pointer-events: none;
}
.topic:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: 0 26px 44px -30px rgba(73, 112, 4, .55); }
.topic:hover::before { width: calc(100% - 3.5rem); }
.topic__head { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .875rem; align-items: flex-start; }
.topic__n { width: 2.25rem; height: 2.25rem; font-size: .8125rem; }
.topic__head .h5 { padding-top: 0; font-size: 1.1875rem; line-height: 1.3; max-width: 22ch; }
.topic__body { position: relative; z-index: 1; gap: .75rem; }
.topic__body .text-regular { color: var(--muted); font-size: .9375rem; line-height: 1.6; }
.topic .more-btn { position: relative; z-index: 1; margin-top: -.25rem; }

/* featured first topic */
.topic:first-child { grid-column: span 2; background: var(--green-ink); border-color: var(--green-ink); }
.topic:first-child::before { background: #A5CA6A; }
.topic:first-child::after { color: rgba(255, 255, 255, .08); font-size: 8rem; }
.topic:first-child .topic__n { background: #A5CA6A; color: var(--green-ink); }
.topic:first-child .topic__head .h5 { color: #fff; font-size: var(--h5); max-width: 26ch; }
.topic:first-child .topic__body .text-regular { color: rgba(255, 255, 255, .82); font-size: 1rem; }
.topic:first-child .more-btn { color: #A5CA6A; text-decoration-color: rgba(165, 202, 106, .5); }
.topic:first-child:hover { border-color: var(--green-ink); }
.topic:first-child:hover .topic__head .h5 { color: #fff; }

/* last card fills the row when a gap would be left */
/* first card takes 2 cells: fill the last row (n = 3k+1 -> last spans 2, n = 3k -> last spans 3) */
.topics > .topic:last-child:nth-child(3n + 1):not(:first-child) { grid-column: span 2; }
.topics > .topic:last-child:nth-child(3n) { grid-column: 1 / -1; }

@media (max-width: 991px) {
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic:first-child { grid-column: 1 / -1; }
  .topics > .topic:last-child:nth-child(3n + 1), .topics > .topic:last-child:nth-child(3n) { grid-column: auto; }
  .topics > .topic:last-child:nth-child(even) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .topics { grid-template-columns: 1fr; }
  .topic, .topic:first-child, .topics > .topic:last-child:nth-child(even) { grid-column: auto; padding: 1.5rem 1.25rem 1.25rem; }
  .topic::after { font-size: 4.5rem; }
}

/* stat cards (machine pages: 40% / Production Cost Reduction ...) */
.statgrid { display: grid; gap: 1.25rem; }
.statgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.statgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.statgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.statcard { display: flex; flex-direction: column; gap: .5rem; padding: 1.75rem 1.5rem; border-top: 3px solid var(--green); }
.statcard__v { color: var(--green-deep); font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.statcard__l { color: var(--heading); font-size: var(--h6); font-weight: 600; line-height: 1.3; }
.statcard .text-regular { color: var(--muted); font-size: .9375rem; }
.section--white .statcard { background: var(--bg); }
/* header bullet list on the photo */
.pagehero__copy .check-list li { color: rgba(255, 255, 255, .92); font-weight: 500; }
@media (max-width: 991px) { .statgrid--3, .statgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .statgrid--2, .statgrid--3, .statgrid--4 { grid-template-columns: 1fr; } }

/* "Product Description": compact, centred, no photo */
.section--compact { padding-block: calc(var(--section-pad) * .6); }
.desc-center { max-width: 46rem; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.desc-center .h2 { font-size: var(--h4); }
.desc-center .check-list { align-items: center; }

/* ======================================================================
   v60: live text only. Headings with a full-width description below,
   compact materials cards, skin footer, spec tables
   ====================================================================== */
/* heading, then a description across the full container (two lines on desktop) */
body:not(.home) .head, body:not(.home) .head--center { display: flex; flex-direction: column; align-items: flex-start; gap: .875rem; max-width: none; margin-inline: 0; text-align: left; }
body:not(.home) .head > div { display: flex; flex-direction: column; gap: .875rem; max-width: none; }
body:not(.home) .head__aside { gap: .75rem; height: auto; }
body:not(.home) .head__aside p { max-width: none; font-size: 1rem; line-height: 1.55; text-wrap: wrap; }
body:not(.home) .head .h2 { text-wrap: wrap; }
body:not(.home) .container { gap: clamp(1.75rem, 3vw, 2.5rem); }

/* footer on the skin colour */
.footer { background: var(--bg); }
.footer__brand .footer__contacts { gap: .5rem; margin-top: 1.25rem; font-size: var(--t-small); }
body:not(.home) .footer__mid { padding-top: 0; border-top: 0; }

/* inner page header */
.pagehero__copy { max-width: 46rem; }
.pagehero__copy .check-list li { align-items: flex-start; }
.label-row { display: flex; flex-wrap: wrap; gap: .625rem; }
.label-row li { padding: .5rem .875rem; border: 1px solid var(--border); border-radius: var(--r-small); background: #fff; color: var(--heading); font-weight: 500; }
.label-row--hero li { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; font-size: .9375rem; }

/* spec tables */
.spec { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-large); background: #fff; }
.spec table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.spec th, .spec td { padding: .75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.spec th { background: var(--green-ink); color: #fff; font-weight: 600; }
.spec td:first-child { color: var(--heading); font-weight: 500; width: 34%; }
.spec tr:last-child td { border-bottom: 0; }
.spec tbody tr:nth-child(even) { background: rgba(243, 238, 228, .5); }

/* cards: full live text, meta lines */
.card--link .text-regular { display: block; -webkit-line-clamp: unset; overflow: visible; }
.card__meta { color: var(--muted); font-size: .875rem; }
.card--link .card__body .btn-link { margin-top: auto; }

/* decorative markers come from CSS, so no text is added to the page */
.topics { counter-reset: topic; }
.topic__n::before { content: "\2713"; }
.qa-card__a { display: flex; flex-direction: column; gap: .5rem; }
.qa-card__a.clamp { display: block; max-height: 6.4em; -webkit-line-clamp: unset; overflow: hidden; }
.qa-card__a.clamp p + p { margin-top: .5rem; }
.topic__body.clamp { display: block; max-height: 13em; -webkit-line-clamp: unset; overflow: hidden; }
.topic__body.clamp > * + * { margin-top: .625rem; }
.qa-card__a.clamp.is-open, .topic__body.clamp.is-open { max-height: none; }
.check-list--text li a, .article a, .feature__copy p a { color: var(--green-deep); text-underline-offset: 3px; }

.video-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: var(--gap-card); max-width: 60rem; }
.article .media { margin-block: 1.5rem; }
.article .spec { margin-block: 1.5rem; }
.container--form { max-width: 48rem; }
.form--page { padding: clamp(1.25rem, 3vw, 2.5rem); }
.form--page .form__done { padding: 2rem; }
.feature--top > .spec { align-self: start; }
body:not(.home) .prose { max-width: none; }
@media (max-width: 991px) { body:not(.home) .section .feature .media { order: 0; } }

/* ======================================================================
   Homepage: two-line certification text, compact material cards,
   "Our Products" cards that fit on one screen
   ====================================================================== */
.home .container--certs { max-width: var(--container); }
.home .container--certs > .text-regular { max-width: 64rem; text-wrap: balance; }
.home .container--certs > .cert-row { max-width: 64rem; }

/* materials: expanding photo panels */
.mfold { display: flex; gap: .625rem; height: 26rem; }
.mfold__p { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--r-large); cursor: pointer; background: var(--green-ink); transition: flex-grow .6s var(--ease); }
.mfold__p.is-open { flex-grow: 4.2; cursor: default; }
.mfold__p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; filter: saturate(.75) brightness(.85); }
.mfold__p.is-open img, .mfold__p:hover img { filter: none; }
.mfold__p.is-open img { transform: scale(1.04); }
.mfold__p::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 30, 4, .88) 0%, rgba(20, 30, 4, .35) 48%, rgba(20, 30, 4, 0) 78%); }
.mfold__cap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.25rem; color: #fff; }
.mfold__n { color: #A5CA6A; font-weight: 600; font-size: .875rem; }
.mfold__t { font-size: 1.0625rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; transition: font-size .3s; }
.mfold__p.is-open .mfold__t { font-size: var(--h5); }
.mfold__x { width: 32rem; max-width: calc(100vw - 8rem); max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; font-size: .9375rem; line-height: 1.55; color: rgba(255, 255, 255, .9); transition: opacity .25s, max-height .4s var(--ease), margin-top .4s; }
.mfold__p.is-open .mfold__x { max-height: 10rem; margin-top: .5rem; opacity: 1; transition: opacity .45s .25s, max-height .5s var(--ease), margin-top .5s; }
@media (max-width: 900px) {
  .mfold { flex-direction: column; height: auto; }
  .mfold__p { flex: none; height: 4.75rem; transition: height .5s var(--ease); }
  .mfold__p.is-open { height: 20rem; }
  .mfold__cap { padding: 1rem 1.125rem; }
  .mfold__x { width: auto; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .mfold__p, .mfold__p img, .mfold__x { transition: none; } }

/* industries: the last two boxes are centred */
.igrid .slider__track { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.igrid .slider__track > li { flex: 0 0 calc((100% - 3.75rem) / 4); }
@media (max-width: 991px) { .igrid .slider__track > li { flex-basis: calc((100% - 1.25rem) / 2); } }
@media (max-width: 479px) { .igrid .slider__track { gap: .75rem; } .igrid .slider__track > li { flex-basis: calc((100% - .75rem) / 2); } }

.home #egg-cartons { padding-block: 2.5rem; }
.home #egg-cartons .container { gap: 1.5rem; }
.home #egg-cartons .slider { gap: 1.25rem; }
.home #egg-cartons .card .media { aspect-ratio: 16 / 8.5; }
.home #egg-cartons .card__body { padding: 1rem 1.25rem 1.125rem; gap: .375rem; }
.home #egg-cartons .card__body .h5 { font-size: var(--h6); }
.home #egg-cartons .card__body .text-regular { font-size: .9375rem; }
.home #egg-cartons .slider__arrow { width: 2.5rem; height: 2.5rem; }
@media (min-width: 992px) { .home #egg-cartons .slider__track { --cols: 4; --gap: 1.25rem; } }

/* homepage, Why Choose Us: green line runs across the top, the subheading slides and turns green */
.home .highlights li { position: relative; }
.home .highlights li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.home .highlights .h6 { align-self: flex-start; transition: color .25s, translate .35s var(--ease); }
@media (hover: hover) {
  .home .highlights li:hover::before { transform: none; }
  .home .highlights li:hover .h6 { color: var(--green-deep); translate: 8px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .home .highlights li::before, .home .highlights .h6 { transition: none; }
  .home .highlights li:hover .h6 { translate: none; }
}

/* ---------- navbar menus: icons (industries from bonitopak.com, the rest drawn to match) ---------- */
.mega a:not(.mega__card) { position: relative; padding-left: 2.625rem; }
.mega a:not(.mega__card)::before { content: ""; position: absolute; left: .625rem; top: .4rem; width: 1.375rem; height: 1.375rem; background: var(--heading); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; transition: background .2s, transform .3s var(--ease); }
.mega a.mega__desc { padding-left: 3.375rem !important; }
.mega a.mega__desc::before { left: .875rem !important; top: .875rem !important; width: 1.75rem !important; height: 1.75rem !important; }
.mega a:not(.mega__card):hover::before { background: var(--green); transform: scale(1.08); }
@media (min-width: 992px) {
  .mega--products { width: min(1200px, 96vw); }
  .mega--machines { width: min(800px, 94vw); }
  .mega--industries { width: min(980px, 94vw); }
  .mega--services { width: min(720px, 94vw); }
  .mega--resources { width: min(1060px, 94vw); }
}
.mega a[href="/industry/apparel/"] { --ico: url("/img/nav/industry-apparel.svg"); }
.mega a[href="/industry/automotive/"] { --ico: url("/img/nav/industry-automotive.svg"); }
.mega a[href="/industry/bakery-cake/"] { --ico: url("/img/nav/industry-bakery-cake.svg"); }
.mega a[href="/industry/beer-liquor/"] { --ico: url("/img/nav/industry-beer-liquor.svg"); }
.mega a[href="/industry/beverage/"] { --ico: url("/img/nav/industry-beverage.svg"); }
.mega a[href="/industry/candle/"] { --ico: url("/img/nav/industry-candle.svg"); }
.mega a[href="/industry/candy-sweets/"] { --ico: url("/img/nav/industry-candy-sweets.svg"); }
.mega a[href="/industry/cannabis/"] { --ico: url("/img/nav/industry-cannabis.svg"); }
.mega a[href="/industry/chocolate/"] { --ico: url("/img/nav/industry-chocolate.svg"); }
.mega a[href="/industry/coffee/"] { --ico: url("/img/nav/industry-coffee.svg"); }
.mega a[href="/industry/cosmetics/"] { --ico: url("/img/nav/industry-cosmetics.svg"); }
.mega a[href="/industry/e-commerce/"] { --ico: url("/img/nav/industry-e-commerce.svg"); }
.mega a[href="/industry/electronics/"] { --ico: url("/img/nav/industry-electronics.svg"); }
.mega a[href="/industry/food/"] { --ico: url("/img/nav/industry-food.svg"); }
.mega a[href="/industry/games/"] { --ico: url("/img/nav/industry-games.svg"); }
.mega a[href="/industry/gifts/"] { --ico: url("/img/nav/industry-gifts.svg"); }
.mega a[href="/industry/jewelry/"] { --ico: url("/img/nav/industry-jewelry.svg"); }
.mega a[href="/industry/media/"] { --ico: url("/img/nav/industry-media.svg"); }
.mega a[href="/industry/pet/"] { --ico: url("/img/nav/industry-pet.svg"); }
.mega a[href="/industry/pharmaceutical/"] { --ico: url("/img/nav/industry-pharmaceutical.svg"); }
.mega a[href="/industry/presentation/"] { --ico: url("/img/nav/industry-presentation.svg"); }
.mega a[href="/industry/restaurant/"] { --ico: url("/img/nav/industry-restaurant.svg"); }
.mega a[href="/industry/retail/"] { --ico: url("/img/nav/industry-retail.svg"); }
.mega a[href="/industry/shipping/"] { --ico: url("/img/nav/industry-shipping.svg"); }
.mega a[href="/industry/soap/"] { --ico: url("/img/nav/industry-soap.svg"); }
.mega a[href="/industry/software/"] { --ico: url("/img/nav/industry-software.svg"); }
.mega a[href="/industry/stationery/"] { --ico: url("/img/nav/industry-stationery.svg"); }
.mega a[href="/industry/sustainable/"] { --ico: url("/img/nav/industry-sustainable.svg"); }
.mega a[href="/industry/tea-drinking/"] { --ico: url("/img/nav/industry-tea-drinking.svg"); }
.mega a[href="/industry/tobacco/"] { --ico: url("/img/nav/industry-tobacco.svg"); }
.mega a[href="/products/wet-pressing-molded-pulp-trays/"] { --ico: url("/img/nav/wet.svg"); }
.mega a[href="/products/wet-pressing-molded-pulp-trays/pulp-trays-for-electronic-products/"] { --ico: url("/img/nav/electronic.svg"); }
.mega a[href="/products/wet-pressing-molded-pulp-trays/pulp-trays-for-cosmetic-beauty-products/"] { --ico: url("/img/nav/cosmetic.svg"); }
.mega a[href="/products/wet-pressing-molded-pulp-trays/moulded-pulp-trays-for-wine-bottle/"] { --ico: url("/img/nav/wine.svg"); }
.mega a[href="/products/wet-pressing-molded-pulp-trays/molded-fiber-trays-for-home-appliances/"] { --ico: url("/img/nav/appliance.svg"); }
.mega a[href="/products/wet-pressing-molded-pulp-trays/industrial-protective-pulp-packaging/"] { --ico: url("/img/nav/industrial.svg"); }
.mega a[href="/products/color-molded-pulp-trays/"] { --ico: url("/img/nav/color.svg"); }
.mega a[href="/products/color-molded-pulp-trays/black-color-molded-paper-pulp-trays/"] { --ico: url("/img/nav/black.svg"); }
.mega a[href="/products/color-molded-pulp-trays/gray-color-molded-paper-pulp-trays/"] { --ico: url("/img/nav/gray.svg"); }
.mega a[href="/products/color-molded-pulp-trays/pantone-custom-color-paper-pulp-trays/"] { --ico: url("/img/nav/pantone.svg"); }
.mega a[href="/products/molded-pulp-egg-cartons/"] { --ico: url("/img/nav/egg.svg"); }
.mega a[href="/products/dry-pressing-molded-pulp-trays/"] { --ico: url("/img/nav/dry.svg"); }
.mega a[href="/products/recyclable-paper-pulp-craft/"] { --ico: url("/img/nav/craft.svg"); }
.mega a[href="/products/molded-fiber-for-food-packaging/"] { --ico: url("/img/nav/foodpack.svg"); }
.mega a[href="/products/mold-design-tooling-solutions/"] { --ico: url("/img/nav/tooling.svg"); }
.mega a[href="/pulp_molding_machine/rotary-thermoforming-pulp-molding-machine/"] { --ico: url("/img/nav/m-rotary-thermo.svg"); }
.mega a[href="/pulp_molding_machine/reciprocating-high-end-pulp-molding-machine/"] { --ico: url("/img/nav/m-recip.svg"); }
.mega a[href="/pulp_molding_machine/rotary-pulp-molding-machine/"] { --ico: url("/img/nav/m-rotary.svg"); }
.mega a[href="/pulp_molding_machine/full-automatic-pulp-molding-machine/"] { --ico: url("/img/nav/m-auto.svg"); }
.mega a[href="/pulp_molding_machine/automatic-stacking-tofu-molds-machine/"] { --ico: url("/img/nav/m-stack.svg"); }
.mega a[href="/pulp_molding_machine/paper-cup-lid-thermoforming-machine/"] { --ico: url("/img/nav/m-lid.svg"); }
.mega a[href="/pulp_molding_machine/plant-fiber-molding-equipment/"] { --ico: url("/img/nav/m-plant.svg"); }
.mega a[href="/pulp_molding_machine/lab-pulp-testing-machine/"] { --ico: url("/img/nav/m-lab.svg"); }
.mega a[href="/pulp_molding_machine/pulp-moulding-equipment-for-lab/"] { --ico: url("/img/nav/m-scope.svg"); }
.mega a[href="/pulp_molding_machine/pulp-molding-machine/"] { --ico: url("/img/nav/m-press.svg"); }
.mega a[href="/custom-service/"] { --ico: url("/img/nav/s-custom.svg"); }
.mega a[href="/design-tooling/"] { --ico: url("/img/nav/s-design.svg"); }
.mega a[href="/support/"] { --ico: url("/img/nav/s-support.svg"); }
.mega a[href="/quality-assurance/"] { --ico: url("/img/nav/s-quality.svg"); }
.mega a[href="/about-bonito/"] { --ico: url("/img/nav/r-about.svg"); }
.mega a[href="/manufacturing-facilities/"] { --ico: url("/img/nav/r-facility.svg"); }
.mega a[href="/blog/"] { --ico: url("/img/nav/r-blog.svg"); }
.mega a[href="/material/"] { --ico: url("/img/nav/r-material.svg"); }
.mega a[href="/Knowledge-Base/"] { --ico: url("/img/nav/r-kb.svg"); }
.mega a[href="/category/case-study/"] { --ico: url("/img/nav/r-case.svg"); }
.mega a[href="/video/"] { --ico: url("/img/nav/r-video.svg"); }

/* ---------- product pages: four equal photo columns instead of uneven cards ---------- */
.ppt { display: flex; flex-direction: column; gap: clamp(1.75rem, 3vw, 2.75rem); }
.ppt__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem clamp(2rem, 5vw, 4rem); align-items: end; }
.ppt__sub { color: var(--green-deep); font-size: 1.25rem; font-weight: 500; line-height: 1.35; }
.ppt__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border-radius: var(--r-large); background: var(--bg); }
.ppt__i { position: relative; display: flex; flex-direction: column; }
.ppt__i + .ppt__i { border-left: 1px solid var(--border); }
.ppt__i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.ppt .media { aspect-ratio: 4 / 3; border-radius: 0; }
.ppt .media img { transition: transform .8s var(--ease); }
.ppt__b { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem 1.5rem 1.75rem; }
.ppt .h5 { font-size: 1.25rem; transition: color .25s; }
.ppt .text-regular { font-size: .9375rem; line-height: 1.6; }
.section:not(.section--white) .ppt__grid { background: #fff; }
@media (hover: hover) {
  .ppt__i:hover::after { transform: none; }
  .ppt__i:hover .media img { transform: scale(1.06); }
  .ppt__i:hover .h5 { color: var(--green-deep); }
}
@media (max-width: 991px) { .ppt__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ppt__i:nth-child(odd) { border-left: 0; } .ppt__i:nth-child(n + 3) { border-top: 1px solid var(--border); } }
@media (max-width: 560px) { .ppt__head, .ppt__grid { grid-template-columns: 1fr; } .ppt__i + .ppt__i { border-left: 0; border-top: 1px solid var(--border); } }

/* ---------- product pages: the lifecycle of nature ---------- */
.life { --lb: var(--bg); position: relative; width: 62rem; height: 38rem; max-width: 100%; margin-inline: auto; }
.section--white .life { --lb: #fff; }
.life__ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.life__ring ellipse { fill: none; stroke: #A9CB6C; stroke-width: 2; stroke-dasharray: 8 9; animation: lifeRun 2.4s linear infinite; }
.life__ring path { fill: var(--green); }
@keyframes lifeRun { to { stroke-dashoffset: -34; } }
.life__t { position: absolute; left: 50%; top: 50%; width: 19rem; translate: -50% -50%; color: var(--green-deep); font-size: clamp(2rem, 3.4vw, 2.875rem); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; text-align: center; text-wrap: balance; }
.life__i { position: absolute; width: 13.5rem; padding: .5rem; border-radius: var(--r-large); background: var(--lb); }
.life__i figure { height: 7.25rem; overflow: hidden; border-radius: var(--r-large); background: #fff; }
.life__i img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform .7s var(--ease); }
.life__i--03 img { object-fit: contain; transform: none; }
.life__i p { display: flex; align-items: center; gap: .625rem; min-height: 2.75rem; margin-top: .5rem; color: var(--heading); font-size: 1rem; font-weight: 500; line-height: 1.25; }
.life__i b { color: var(--green); font-size: 1.625rem; font-weight: 700; line-height: 1; transition: translate .35s var(--ease); }
.life__i sub { font-size: .7em; line-height: 0; }
.life__i--01 { left: 50%; top: 0; translate: -50% 0; }
.life__i--02 { right: 0; top: 5.5rem; }
.life__i--03 { right: 0; bottom: 5.5rem; }
.life__i--04 { left: 50%; bottom: 0; translate: -50% 0; }
.life__i--05 { left: 0; bottom: 5.5rem; }
.life__i--06 { left: 0; top: 5.5rem; }
@media (hover: hover) {
  .life__i:hover img { transform: scale(1.13); }
  .life__i--03:hover img { transform: scale(1.05); }
  .life__i:hover b { translate: 0 -3px; }
}
@media (prefers-reduced-motion: reduce) { .life__ring ellipse { animation: none; } }
@media (max-width: 1080px) {
  .life { width: auto; height: auto; }
  .life__ring { display: none; }
  .life__t { position: static; width: auto; margin-bottom: 1.5rem; translate: none; }
  .life__l { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
  .life__i { position: static; width: auto; padding: 0; translate: none; }
  .life__i figure { height: auto; aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) { .life__l { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } }

/* OEM / ODM cards: same width and type; closed cards show four whole lines, the rest opens with "Read more" */
@media (min-width: 768px) {
  .topics:has(> .topic:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .topics:has(> .topic:nth-child(2):last-child) > .topic { grid-column: auto; }
}
.topics > .topic .topic__head .h5 { max-width: none; font-size: 1.375rem; }
.topics > .topic::after { font-size: 6rem; }
.topics > .topic .topic__body .text-regular { font-size: 1rem; line-height: 1.6; }
.topics .topic__body.clamp:not(.is-open) { max-height: none; overflow: visible; }
.topics .topic__body.clamp:not(.is-open) > :not(:first-child) { display: none; }
.topics .topic__body.clamp:not(.is-open) > p:first-child { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; min-height: 6.4em; }
.topics > .topic .more-btn { margin-top: .75rem; }
.topics > .topic:first-child .check-list li { color: rgba(255, 255, 255, .92); }
.topics .topic__body.is-open .btn-group { margin-top: 1rem; }

/* "Our Product Categories": compact cards, the last two centred */
.grid-cards--3:has(> li:nth-child(2):nth-last-child(4) > a[href="/products/recyclable-paper-pulp-craft/"]) { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.grid-cards--3:has(> li:nth-child(2):nth-last-child(4) > a[href="/products/recyclable-paper-pulp-craft/"]) > li { flex: 0 0 calc((100% - 2.5rem) / 3); }
.grid-cards--3:has(> li:nth-child(2):nth-last-child(4) > a[href="/products/recyclable-paper-pulp-craft/"]) .media { aspect-ratio: 16 / 7.5; }
.grid-cards--3:has(> li:nth-child(2):nth-last-child(4) > a[href="/products/recyclable-paper-pulp-craft/"]) .card__body { gap: .375rem; padding: 1.125rem 1.25rem 1.25rem; }
.grid-cards--3:has(> li:nth-child(2):nth-last-child(4) > a[href="/products/recyclable-paper-pulp-craft/"]) .h6 { font-size: 1.125rem; }
.grid-cards--3:has(> li:nth-child(2):nth-last-child(4) > a[href="/products/recyclable-paper-pulp-craft/"]) .text-regular { font-size: .875rem; line-height: 1.5; }
.grid-cards--3:has(> li:nth-child(2):nth-last-child(4) > a[href="/products/recyclable-paper-pulp-craft/"]) .btn-link { padding-top: .375rem; font-size: .9375rem; }
.container:has(> .grid-cards--3 > li:nth-child(2):nth-last-child(4) > a[href="/products/recyclable-paper-pulp-craft/"]) { gap: clamp(1.75rem, 3vw, 2.5rem); }
@media (max-width: 991px) { .grid-cards--3:has(> li:nth-child(2):nth-last-child(4) > a[href="/products/recyclable-paper-pulp-craft/"]) > li { flex-basis: calc((100% - 1.25rem) / 2); } }
@media (max-width: 600px) { .grid-cards--3:has(> li:nth-child(2):nth-last-child(4) > a[href="/products/recyclable-paper-pulp-craft/"]) > li { flex-basis: 100%; } }

/* ---------- article pages: author strip ---------- */
.author { display: grid; grid-template-columns: 7rem minmax(0, .7fr) minmax(0, 1fr); gap: 1.25rem clamp(1.5rem, 3vw, 2.75rem); align-items: center; padding: clamp(1.5rem, 2.5vw, 2.25rem) 0; border-block: 1px solid var(--border); }
.author figure { width: 7rem; height: 7rem; overflow: hidden; border-radius: 50%; }
.author img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .6s var(--ease); }
.author .h5 { font-size: var(--h5); }
.author__id p { margin-top: .25rem; color: var(--green-deep); font-weight: 500; }
.author__bio { line-height: 1.6; }
@media (hover: hover) { .author:hover img { transform: scale(1.06); } }
@media (max-width: 800px) { .author { grid-template-columns: 5rem minmax(0, 1fr); } .author figure { width: 5rem; height: 5rem; } .author__bio { grid-column: 1 / -1; } }

/* card grids: when two cards are left on the last row, they are centred */
@media (min-width: 992px) {
  .grid-cards--4 > li:nth-child(4n + 1):nth-last-child(2) { grid-column-start: 2; }
  .grid-cards--3:has(> li:nth-child(3n + 2):last-child), .qa-grid--3:has(> li:nth-child(3n + 2):last-child) { display: flex; flex-wrap: wrap; justify-content: center; }
  .grid-cards--3:has(> li:nth-child(3n + 2):last-child) > li { flex: 0 0 calc((100% - 2 * var(--gap-card)) / 3); }
  .qa-grid--3:has(> li:nth-child(3n + 2):last-child) > li { flex: 0 0 calc((100% - 2.5rem) / 3); }
}

/* ---------- homepage materials: one large photo, four ruled rows beside it; no boxes, no hover ---------- */
.mband { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); grid-template-rows: repeat(4, auto); column-gap: clamp(2rem, 4.5vw, 4.5rem); }
.mband figure { overflow: hidden; border-radius: var(--r-large); }
.mband img { width: 100%; height: 100%; object-fit: cover; }
.mband__i:first-child { grid-row: 1 / -1; display: flex; flex-direction: column; }
.mband__i:first-child figure { position: relative; flex: 1; min-height: 18rem; }
.mband__i:first-child img { position: absolute; inset: 0; }
.mband__i:first-child .mband__b { padding-top: 1.375rem; }
.mband__i:not(:first-child) { grid-column: 2; display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 1.75rem; align-items: center; padding: 1.125rem 0; border-top: 1px solid var(--border); }
.mband__i:nth-child(2) { padding-top: 0; border-top: 0; }
.mband__i:last-child { padding-bottom: 0; }
.mband__i:not(:first-child) figure { aspect-ratio: 3 / 2; }
.mband__b { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .375rem .75rem; align-items: baseline; }
.mband__n { color: var(--green); font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.mband__t { color: var(--heading); font-size: 1.25rem; font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.mband__i:first-child .mband__n, .mband__i:first-child .mband__t { font-size: 1.75rem; letter-spacing: -.02em; }
.mband__x { grid-column: 1 / -1; font-size: .9375rem; line-height: 1.55; }
.mband__i:first-child .mband__x { font-size: 1rem; line-height: 1.6; }
@media (max-width: 991px) {
  .mband { grid-template-columns: 1fr; grid-template-rows: none; }
  .mband__i:first-child { grid-row: auto; padding-bottom: 1.5rem; }
  .mband__i:first-child figure { aspect-ratio: 16 / 9; min-height: 0; flex: none; }
  .mband__i:not(:first-child) { grid-column: 1; }
  .mband__i:nth-child(2) { padding-top: 1.125rem; border-top: 1px solid var(--border); }
}
@media (max-width: 560px) { .mband__i:not(:first-child) { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- page heroes: light tone, skin fade over the photo, dark text ---------- */
.pagehero { background: var(--bg); }
.pagehero__bg { filter: brightness(1.12) saturate(.92); }
.pagehero__shade { background: linear-gradient(90deg, rgba(243, 238, 228, .96) 0%, rgba(243, 238, 228, .93) 42%, rgba(243, 238, 228, .7) 64%, rgba(243, 238, 228, .22) 100%); }
.pagehero__copy .h1 { color: var(--heading); }
.pagehero__copy .tagline { color: var(--green-deep); }
.pagehero__copy .text-medium, .pagehero__copy .check-list li { color: var(--text); }
.pagehero .btn--ghost-white { color: var(--green-deep); border-color: var(--green); background: rgba(255, 255, 255, .6); }
.pagehero .btn--ghost-white:hover { background: #fff; color: var(--green-deep); border-color: var(--green-deep); }
@media (max-width: 1100px) { .pagehero__shade { background: linear-gradient(90deg, rgba(243, 238, 228, .95) 0%, rgba(243, 238, 228, .9) 65%, rgba(243, 238, 228, .55) 100%); } }
@media (max-width: 767px) { .pagehero__shade { background: linear-gradient(0deg, rgba(243, 238, 228, .96) 0%, rgba(243, 238, 228, .92) 70%, rgba(243, 238, 228, .7) 100%); } }

/* industry heroes: the product photo on the right, fading into the skin colour */
.pagehero--side .pagehero__bg { left: auto; right: 0; width: 58%; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
.pagehero--side .pagehero__shade { background: linear-gradient(90deg, rgba(243, 238, 228, .9) 0%, rgba(243, 238, 228, .82) 46%, rgba(243, 238, 228, .25) 66%, rgba(243, 238, 228, .05) 100%); }
@media (max-width: 1100px) { .pagehero--side .pagehero__shade { background: linear-gradient(90deg, rgba(243, 238, 228, .95) 0%, rgba(243, 238, 228, .8) 60%, rgba(243, 238, 228, .3) 100%); } }
@media (max-width: 767px) {
  .pagehero--side .pagehero__bg { width: 100%; -webkit-mask-image: none; mask-image: none; }
  .pagehero--side .pagehero__shade { background: linear-gradient(0deg, rgba(243, 238, 228, .97) 0%, rgba(243, 238, 228, .93) 55%, rgba(243, 238, 228, .4) 100%); }
}
