/* ============================================================
   Pure Faux Flora — B2B Artificial Tree Manufacturer
   Design language: Commercial Silk inspired — clean, industrial,
   high-trust, minimalist modern luxury.
   Brand accent: forest green on warm neutrals.
   ============================================================ */

:root {
  --ink: #17201b;
  --ink-soft: #4a5750;
  --forest: #1e4d38;
  --forest-dark: #143527;
  --forest-deep: #0e271c;
  --moss: #5b7263;
  --cream: #f7f5f0;
  --sand: #efebe3;
  --line: #e2ddd2;
  --gold: #b9904a;
  --white: #ffffff;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(20, 53, 39, 0.08);
  --shadow-md: 0 10px 30px rgba(20, 53, 39, 0.12);
  --shadow-lg: 0 24px 60px rgba(20, 53, 39, 0.18);
  --font-display: "Marcellus", "Times New Roman", serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;
  --container: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* `height: auto` is load-bearing, do not remove.
   The HTML width/height attributes map to CSS presentational hints
   (height="1080" -> height: 1080px). Every thumbnail rule on this site sets
   only `width: 100%` + `aspect-ratio`, so without an explicit height the
   attribute height took over and aspect-ratio was ignored: .app-card thumbs
   rendered 386x1080, .gallery-grid 191x532, .case-card 594x933 — tall slivers
   instead of the intended boxes. Verified 2026-09-14 with tools/probe_img_box.js. */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(38px, 5vw, 64px); }
h2 { font-size: clamp(30px, 3.4vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--forest);
  font-weight: 600;
  margin-bottom: 14px;
}

.section { padding: 96px 0; }
/* The head block holds the headline, so it has to be wide enough for a long
   headline to sit on ONE line (Jerry, 2026-09-14: the 6-step pipeline headline
   wrapped and left a single orphan character on line 2 — it must not wrap).
   The paragraph keeps its own, much narrower measure so body copy stays
   readable — only the centre-aligned variant gets the auto margins. */
.section-head { max-width: 1200px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(26px, 2.75vw, 38px); line-height: 1.18; }
.section-head.center p { max-width: 700px; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--ink-soft); margin-top: 15px; font-size: 16px; line-height: 1.7; }
/* The 6-step pipeline subtitle must sit on ONE line (Jerry, 2026-09-14). It is
   the longest sub-line on the site, so it gets the head's full 1200px measure —
   the generic 700px cap would push "guidance." onto a second, orphaned line.
   ID specificity beats .section-head.center p, so no !important needed. */
#capabilities .section-head p { max-width: 1200px; }
/* Same class of fix, same reason (Jerry, 2026-09-15): the "What Custom Means
   Here" sub-line must not break onto a second line — it is a single short
   sentence, and the generic 700px cap was cutting it in half. */
#cs-custom .section-head p { max-width: 980px; }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-wa { background: #22bf5b; color: #fff; }
.btn-wa:hover { background: #1aa34d; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--forest); }
.btn-light:hover { background: var(--cream); }
.btn-ghost-light { border-color: rgba(255,255,255,0.7); color: #fff; background: rgba(255,255,255,0.06); }
.btn-ghost-light:hover { background: #fff; color: var(--forest); }
.btn svg { width: 17px; height: 17px; flex: none; }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--forest-deep);
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  padding: 9px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.topbar ul { display: flex; gap: 28px; }
.topbar li { display: flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; fill: var(--gold); flex: none; }
@media (max-width: 760px) { .topbar ul { display: none; } .topbar .container { justify-content: center; } }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
/* flex none + nowrap on all three groups: the header must NEVER wrap.
   Root cause of the 2026-09-14 wrap bug: total intrinsic width exceeded the
   container, so flex shrank the items and the labels broke onto 2 lines. */
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 18px; }

.logo {
  display: flex; align-items: center; gap: 10px;
  flex: none; white-space: nowrap; line-height: 1.15;
  font-family: var(--font-display); font-size: 20px; letter-spacing: 0.05em;
  color: var(--forest-dark);
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--forest);
  display: grid; place-items: center; flex: none;
  color: #fff; font-size: 17px;
}
.logo small { display: block; font-family: var(--font-body); font-size: 9px; letter-spacing: 0.16em; color: var(--moss); text-transform: uppercase; margin-top: 2px; white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 2px; flex: none; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 11px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--ink);
  border-radius: 4px;
  transition: color 0.2s;
}
.main-nav > li > a:hover, .main-nav > li.active > a { color: var(--forest); }
.main-nav > li > a .caret { width: 10px; height: 10px; fill: currentColor; opacity: 0.5; transition: transform 0.2s; }

/* Mega menu */
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 860px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.main-nav > li:hover .mega,
.main-nav > li:focus-within .mega {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.mega-col h4 {
  font-size: 13px; font-family: var(--font-body); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--forest);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.mega-col a {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.15s, padding-left 0.15s;
}
.mega-col a:hover { color: var(--forest); padding-left: 6px; }
.mega-foot {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--ink-soft);
}
.mega-foot a { color: var(--forest); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-cta .btn { padding: 11px 16px; font-size: 11.5px; }
.wa-icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #22bf5b;
  display: grid; place-items: center;
  flex: none;
  transition: transform 0.2s, background 0.2s;
}
.wa-icon-btn:hover { background: #1aa34d; transform: translateY(-2px); }
.wa-icon-btn svg { width: 19px; height: 19px; fill: #fff; }

.nav-toggle { display: none; background: none; border: none; width: 42px; height: 42px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: 0.25s; }

/* Small phones: the row is logo + lang + WhatsApp + burger. Shrink all four so
   the header never pushes the page wider than the viewport. */
@media (max-width: 560px) {
  .nav-wrap { gap: 8px; padding: 0 16px; }
  .nav-cta { gap: 8px; }
  .logo { font-size: 16px; gap: 8px; }
  .logo-mark { width: 32px; height: 32px; font-size: 15px; }
  .logo small { font-size: 8px; letter-spacing: 0.1em; }
  .wa-icon-btn { width: 36px; height: 36px; }
  .wa-icon-btn svg { width: 17px; height: 17px; }
  .nav-toggle { width: 36px; height: 36px; }
}

/* Very small phones (iPhone SE / 320px) are handled in the
   "Small-screen hardening" section at the end of this file, so that the
   overrides there come after every component rule and actually win. */

/* The desktop nav (logo 236 + nav 620 + cta 296 + gaps) needs ~1252px of
   viewport. Below that we collapse to the hamburger instead of letting the
   row shrink and wrap. 1280px is the safe cut-off: there the container is
   capped at 1280 with 32px side padding and the row fits with room to spare. */
@media (max-width: 1279px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
}
/* With the nav collapsed the inline quote button keeps fitting down to
   ~640px; below that it lives in the drawer only. */
@media (max-width: 640px) {
  .nav-cta .btn { display: none; }
}
/* Mobile drawer nav */
.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 18px 32px 28px;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 11px 0; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--cream); }
.mobile-nav .sub a { padding-left: 18px; font-weight: 400; color: var(--ink-soft); font-size: 14px; }
.mobile-nav .btn { margin-top: 18px; width: 100%; }

/* ---------- Hero ---------- */
/* Column layout on purpose. `.hero` holds two in-flow children: the content
   container and the full-width stats band. As a row they became two flex items
   side by side, which squeezed the content column to ~38% and wrapped the H1
   onto six lines (2026-09-14 regression). flex-end keeps the content anchored
   to the bottom, stretch makes both children full width. */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  background: var(--forest-deep);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
/* Two-layer scrim: a left-side wash keeps the headline legible on bright
   photos (the hero art is still a placeholder), plus the original vertical
   fade so the stat strip stays readable. */
/* The copy is now centred, so the old left-hand scrim no longer sits under the
   text and the headline lost its dark backing. A soft dark pool behind the
   centre plus the bottom fade keeps the centred text legible on bright photos
   (and still darkens the strip the stats band sits on). */
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(62% 66% at 50% 42%, rgba(8,20,14,0.62) 0%, rgba(8,20,14,0.34) 56%, rgba(8,20,14,0.18) 100%),
    linear-gradient(180deg, rgba(10,26,19,0.44) 0%, rgba(10,26,19,0.48) 46%, rgba(10,26,19,0.90) 100%);
}
/* Hero typography follows the reference layout Jerry sent (2026-09-14):
   everything centred on the vertical axis, a wide centred paragraph under the
   headline. Copy is unchanged — only size / alignment / scrim.
   Measured off the reference (1857px wide screenshot): headline ≈ 3.8vw,
   paragraph ≈ 21px with a 33px line-height, paragraph column ≈ 56% of the
   viewport, headline and paragraph sharing one centre line. */
.hero-content {
  position: relative; z-index: 2;
  padding: 116px 0 80px;
  max-width: 1020px;
  margin: 0 auto;
  text-align: center;
}
/* `margin: 0 auto` on a column flex item suppresses `align-items: stretch`, so
   the container shrank to its content (844px) and the hero copy stopped lining
   up with the 1280px grid used by every other section. A definite width fixes
   that: capped by max-width, then the auto margins centre it. */
.hero > .container { width: 100%; }
/* .hero .eyebrow removed 2026-09-14: the hero no longer carries an eyebrow
   (it duplicated the H1 and the reference layout has none). */
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 4.3vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.4);
}
.hero p.lead {
  color: rgba(255,255,255,0.94);
  font-size: clamp(15.5px, 1.2vw, 17px);
  line-height: 1.72;
  margin: 24px auto 38px;
  max-width: 720px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-stats {
  position: relative; z-index: 2;
  display: flex; gap: 0;
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.25);
  background: rgba(10,26,19,0.35);
  backdrop-filter: blur(6px);
}
.hero-stat {
  flex: 1;
  padding: 22px 32px;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.hero-stat:last-child { border-right: none; }
.hero-stat b { font-family: var(--font-display); font-size: 30px; font-weight: 400; display: block; }
.hero-stat span { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
@media (max-width: 760px) {
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,0.18); }
}

/* ---------- Trust / metrics band ---------- */
.trust-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.trust-band .photo { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow-md); }
.trust-band .photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.metric { background: #fff; padding: 34px 30px; }
.metric b { font-family: var(--font-display); font-size: 40px; font-weight: 400; color: var(--forest); display: block; line-height: 1; }
.metric span { display: block; margin-top: 10px; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Certification wall ---------- */
.cert-wall {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.cert-badge {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 34px 20px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: default;
}
.cert-badge:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--forest); }
.cert-badge .cert-icon {
  width: 58px; height: 58px; margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--cream);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 17px; color: var(--forest);
  letter-spacing: 0.03em;
}
.cert-badge b { display: block; font-size: 15px; margin-bottom: 6px; }
.cert-badge span { font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; display: block; }
@media (max-width: 980px) { .cert-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .cert-wall { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cat-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--forest-deep);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 0.5s ease; }
.cat-card:hover img { transform: scale(1.04); }
.cat-card .cat-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 30px;
  background: linear-gradient(180deg, rgba(10,26,19,0) 40%, rgba(10,26,19,0.88) 100%);
}
.cat-overlay h3 { color: #fff; }
.cat-overlay p { color: rgba(255,255,255,0.85); font-size: 14px; margin: 10px 0 14px; }
.cat-overlay .cat-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-overlay .cat-tags span {
  font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 20px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  backdrop-filter: blur(4px);
}
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---------- Process pipeline ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-step {
  position: relative;
  padding: 40px 28px 36px;
  border-left: 1px solid var(--line);
}
.process-step:first-child { border-left: none; padding-left: 0; }
.process-step .step-img {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 22px;
}
.process-step .step-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.process-step .step-no {
  font-family: var(--font-display);
  font-size: 52px; color: var(--cream);
  -webkit-text-stroke: 1px var(--forest);
  line-height: 1;
  margin-bottom: 18px;
}
.process-step h3 { font-size: 20px; margin-bottom: 10px; }
.process-step p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Product showcase — 18 tiles (6 trees / 6 greenery / 6 walls) ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
/* Grid tracks are minmax(auto, 1fr) by default, so a grid item's min-content
   wins over the 1fr. Combined with `aspect-ratio: 1` + the width/height
   attributes we add for CLS, an <img> could push a track to its own intrinsic
   width (1536px) and force a page-wide horizontal scrollbar. min-width:0 makes
   the items shrinkable again. */
.gallery-grid > * { min-width: 0; }
/* Tiles are <a>, not <figure> — each one links into the matching product range
   (products.html#trees / #greenery / #walls). display:block is required or the
   block-level <img> inside an inline <a> sets its own anonymous box width. */
.gallery-grid .gallery-tile { display: block; position: relative; border-radius: 8px; overflow: hidden; }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform 0.4s; }
.gallery-grid .gallery-tile:hover img { transform: scale(1.05); }
.gallery-grid .gallery-tile:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }
@media (max-width: 1000px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 980px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step { border-left: none; border-top: 1px solid var(--line); padding-left: 0; }
  .process-step:nth-child(-n+2) { border-top: none; }
}
@media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } .process-step { border-top: 1px solid var(--line); } .process-step:first-child { border-top: none; } }

/* ---------- Case studies ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.case-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--forest-deep);
  display: block;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.case-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.5s; }
.case-card:hover img { transform: scale(1.04); }
.case-card .case-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; background: linear-gradient(180deg, rgba(10,26,19,0) 35%, rgba(10,26,19,0.9) 100%); }
.case-loc {
  display: inline-flex; align-items: center; gap: 7px;
  align-self: flex-start;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.18);
  padding: 6px 12px; border-radius: 20px;
  backdrop-filter: blur(4px);
  margin-bottom: 12px;
}
.case-loc svg { width: 11px; height: 11px; fill: currentColor; }
.case-card h3 { color: #fff; font-size: 21px; }
.case-card p { color: rgba(255,255,255,0.82); font-size: 13.5px; margin-top: 6px; }
@media (max-width: 800px) { .case-grid { grid-template-columns: 1fr; } }

/* ---------- Factory gallery ---------- */
.factory-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 22px; }.factory-grid figure { border-radius: 10px; overflow: hidden; position: relative; }
.factory-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s; }
.factory-grid figure:hover img { transform: scale(1.05); }
.factory-grid figure.tall { grid-row: span 2; }
.factory-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  font-size: 13px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(10,26,19,0.85));
}
@media (max-width: 900px) { .factory-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .factory-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; } .factory-grid figure.tall { grid-row: span 1; } }

/* ---------- RFQ section ---------- */
.rfq-wrap { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: start; }
/* Same min-width:auto trap as the gallery: grid items refuse to shrink below
   their content, and an <input> has a ~180px intrinsic width, so on phones the
   form used to push the whole page 60px wider than the screen. */
.rfq-wrap > * { min-width: 0; }
.container > * { min-width: 0; }
.rfq-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 44px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row > * { min-width: 0; }
.form-group { margin-bottom: 18px; min-width: 0; }
.form-group label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 7px; color: var(--ink); }
.form-group label em { color: var(--gold); font-style: normal; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  min-width: 0;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #fdfcfb;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(30,77,56,0.1);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; }

.contact-card {
  background: var(--forest-deep);
  border-radius: 12px;
  color: #fff;
  padding: 44px 40px;
}
.contact-card h3 { color: #fff; margin-bottom: 8px; }
.contact-card > p { color: rgba(255,255,255,0.75); font-size: 14.5px; margin-bottom: 28px; }
.contact-item { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.14); }
.contact-item .ic {
  width: 40px; height: 40px; flex: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: grid; place-items: center;
}
.contact-item .ic svg { width: 17px; height: 17px; fill: #d9cba4; }
.contact-item b { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 3px; }
.contact-item span, .contact-item a { font-size: 15px; color: #fff; }
.contact-item a:hover { text-decoration: underline; }
@media (max-width: 980px) { .rfq-wrap { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } .rfq-form { padding: 28px 22px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--forest-deep);
  color: #fff;
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow { color: #d9cba4; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.82); margin-top: 16px; max-width: 640px; font-size: 17px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 22px; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Product cards / catalog ---------- */
.product-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.filter-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 9px 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  transition: all 0.2s;
}
.chip:hover, .chip.active { background: var(--forest); border-color: var(--forest); color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-card .thumb { position: relative; background: var(--cream); }
.product-card .thumb img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.product-card .thumb .sku {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.92);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--forest);
  padding: 5px 10px; border-radius: 4px;
}
.product-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-size: 19px; margin-bottom: 8px; }
.product-card .specs { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.product-card .specs li { display: flex; gap: 8px; padding: 3px 0; }
.product-card .specs svg { width: 13px; height: 13px; fill: var(--forest); flex: none; margin-top: 5px; }
.product-card .card-actions { margin-top: auto; display: flex; gap: 10px; }
.product-card .card-actions .btn { flex: 1; padding: 12px 10px; font-size: 12px; }
@media (max-width: 980px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .product-grid { grid-template-columns: 1fr; } }

/* ---------- Product detail ---------- */
.pd-wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.pd-gallery .pd-main {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
  position: relative;
}
/* Product pages carry a single zoomable hero shot — the aspect matches the 3:4
   crops in site/images/product-*.jpg, so nothing is cropped twice. */
.pd-gallery .pd-main img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 0.35s; }
.pd-gallery .pd-main:hover img { transform: scale(1.6); }
.pd-gallery .pd-main .zoom-hint {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(255,255,255,0.9);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 12px; border-radius: 20px;
}
.pd-info h1 { font-size: clamp(30px, 3vw, 42px); }
.pd-sku { font-size: 13px; letter-spacing: 0.1em; color: var(--moss); font-weight: 600; margin-bottom: 14px; }
.pd-desc { color: var(--ink-soft); margin: 18px 0 26px; }
.pd-highlights { margin: 0 0 28px; }
.pd-highlights li { display: flex; gap: 10px; padding: 6px 0; font-size: 14.5px; color: var(--ink); }
.pd-highlights svg { width: 15px; height: 15px; fill: var(--forest); flex: none; margin-top: 5px; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.pd-actions .btn { padding: 15px 26px; font-size: 13px; }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 15px 18px; font-size: 14.5px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-weight: 600; color: var(--ink-soft); white-space: nowrap; width: 240px; background: var(--cream); }
.spec-table tr:nth-child(even) td { background: #fdfcfb; }
@media (max-width: 980px) { .pd-wrap { grid-template-columns: 1fr; } }

/* ---------- About: timeline ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 20px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 44px 66px; }
.tl-item::before {
  content: "";
  position: absolute; left: 12px; top: 5px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--forest);
  border: 4px solid var(--cream);
  box-shadow: 0 0 0 2px var(--forest);
}
.tl-item .tl-year { font-family: var(--font-display); font-size: 24px; color: var(--forest); }
.tl-item h3 { font-size: 20px; margin: 4px 0 8px; }
.tl-item p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card .thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card .meta { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--moss); font-weight: 600; margin-bottom: 10px; }
.blog-card h3 { font-size: 20px; margin-bottom: 10px; }
.blog-card p { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; }
.blog-card .read-more { margin-top: auto; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest); }
.blog-card .read-more:hover { text-decoration: underline; }
@media (max-width: 980px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

.article-wrap { max-width: 800px; margin: 0 auto; }
.article-meta { display: flex; gap: 18px; font-size: 13px; color: var(--ink-soft); margin-bottom: 28px; }
.article-body p { margin-bottom: 20px; color: #2c352f; font-size: 16.5px; }
.article-body h2 { margin: 44px 0 18px; font-size: 30px; }
.article-body h3 { margin: 32px 0 14px; font-size: 22px; }
.article-body ul, .article-body ol { margin: 0 0 20px 22px; list-style: disc; color: #2c352f; }
.article-body li { margin-bottom: 8px; }
.article-body img { border-radius: 10px; margin: 30px 0; }
.article-body blockquote { border-left: 3px solid var(--forest); padding: 6px 0 6px 22px; font-family: var(--font-display); font-size: 21px; color: var(--forest-dark); margin: 30px 0; }

.related-products { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 48px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--forest-dark), var(--forest));
  color: #fff;
  border-radius: 14px;
  padding: 72px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.8); margin-top: 12px; max-width: 520px; }
@media (max-width: 760px) {
  .cta-band { padding: 48px 32px; }
  /* The CTA band's button label ("Chat with an Engineer on WhatsApp") is wider
     than a 320-414px screen. Let the flex item shrink so the label wraps
     instead of pushing a horizontal scrollbar onto the page. */
  .cta-band > * { min-width: 0; }
}
@media (max-width: 560px) {
  .cta-band { padding: 40px 22px; gap: 24px; }
  .cta-band .btn { padding: 13px 18px; font-size: 12.5px; letter-spacing: 0.03em; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: rgba(255,255,255,0.75); padding: 72px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 20px; }
.footer-grid p { font-size: 14px; line-height: 1.8; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { font-size: 14px; color: rgba(255,255,255,0.72); transition: color 0.15s; }
.footer-grid a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 20px; letter-spacing: 0.08em; color: #fff; margin-bottom: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,0.5);
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating widgets ---------- */
.float-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}
.float-wa {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #22bf5b;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(34,191,91,0.4);
  transition: transform 0.2s;
}
.float-wa:hover { transform: scale(1.07); }
.float-wa svg { width: 28px; height: 28px; fill: #fff; }
.float-wa .wa-tip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 9px 16px; border-radius: 8px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.float-wa:hover .wa-tip { opacity: 1; }
.float-wa .wa-tip::after {
  content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--ink);
}
.float-rfq {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--forest);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(30,77,56,0.35);
  border: none;
  transition: transform 0.2s;
}
.float-rfq:hover { transform: scale(1.07); }
.float-rfq svg { width: 24px; height: 24px; fill: #fff; }
.float-top {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}
.float-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.float-top:hover { background: var(--cream); }
.float-top svg { width: 18px; height: 18px; fill: var(--ink); }
@media (max-width: 640px) { .float-wa .wa-tip { display: none; } }

/* ---------- RFQ drawer ---------- */
.rfq-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(14,39,28,0.5);
  z-index: 980;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.rfq-drawer-overlay.open { opacity: 1; visibility: visible; }
.rfq-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(480px, 94vw);
  background: #fff;
  z-index: 990;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.rfq-drawer.open { transform: translateX(0); }
.rfq-drawer-head {
  padding: 26px 32px;
  background: var(--forest-deep);
  color: #fff;
  display: flex; justify-content: space-between; align-items: center;
}
.rfq-drawer-head h3 { color: #fff; font-size: 22px; }
.rfq-drawer-head p { color: rgba(255,255,255,0.7); font-size: 13px; margin-top: 4px; }
.rfq-drawer-close { background: none; border: none; color: #fff; font-size: 26px; line-height: 1; padding: 4px 8px; }
.rfq-drawer-body { padding: 30px 32px; overflow-y: auto; flex: 1; }
.rfq-drawer-foot { padding: 18px 32px 26px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-soft); text-align: center; }

/* ---------- Misc ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col img { border-radius: 10px; box-shadow: var(--shadow-md); width: 100%; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 36px; } .section { padding: 64px 0; } }
.feature-list li { display: flex; gap: 14px; padding: 10px 0; }
.feature-list .ic { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--cream); display: grid; place-items: center; margin-top: 4px; }
.feature-list .ic svg { width: 13px; height: 13px; fill: var(--forest); }
.feature-list b { display: block; }
.feature-list p { font-size: 14px; color: var(--ink-soft); }

.note-banner {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

::selection { background: rgba(30,77,56,0.18); }

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 5px;
  flex: none;
  background: none; border: none;
  font-family: inherit; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink);
  padding: 10px 6px; border-radius: 4px;
  transition: color 0.2s;
}
.lang-btn:hover { color: var(--forest); }
.lang-btn svg { width: 15px; height: 15px; fill: currentColor; }
.lang-menu {
  position: absolute; top: 100%; right: 0;
  min-width: 158px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  display: none;
  z-index: 1000;
}
.lang-menu.open { display: block; }
.lang-menu button {
  display: block; width: 100%;
  text-align: left;
  padding: 9px 12px;
  font-family: inherit; font-size: 13.5px;
  color: var(--ink-soft);
  background: none; border: none; border-radius: 5px;
  transition: background 0.15s, color 0.15s;
}
.lang-menu button:hover { background: var(--cream); color: var(--forest); }
.lang-menu button.active { color: var(--forest); font-weight: 700; }
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
html[dir="rtl"] .lang-menu button { text-align: right; }
@media (max-width: 480px) { .lang-btn span.lbl { display: none; } }

/* Google Translate: hide default banner & injected chrome */
#google_translate_element { display: none !important; }
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-te-gadget, .goog-te-gadget span { font-size: 0 !important; }
.goog-tooltip { display: none !important; }
.goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }

/* Netlify: hide the free-tier "Technical support by Netlify" HUD badge.
   ROOT CAUSE (verified by reading the LIVE /.netlify/scripts/hud script):
   the badge is rendered INSIDE a srcdoc <iframe> — Netlify's "nl-*" HUD UI lives
   in that iframe's own document. Parent-page CSS CANNOT reach into the iframe,
   so class-based hidings like [class*="nl-badge"] do nothing, and a srcdoc
   iframe has no netlify URL in its src, so iframe[src*="netlify"] misses too.
   The only reliable fix is to hide the iframe element itself. This site has NO
   other iframes, so targeting the srcdoc iframe is safe and precise. */
[data-netlify-badge],
[data-netlify-hud],
#netlify-hud,
#netlify-badge,
.netlify-hud,
.netlify-embed-button,
.netlify-badge-container,
[class*="nl-badge"],
[class*="nl-hud"],
[class*="nl-bar"],
[class*="nl-mini"],
[class*="nl-pop"],
[class*="nl-drop"],
[class*="nl-tools"],
[class*="nl-wrap"],
iframe[srcdoc],
iframe[src*="netlify"],
iframe[src*="hud"] { display: none !important; }

/* ============================================================
   V2 LAYOUT BLOCKS — honestplas-inspired structure,
   re-skinned in the Pure Faux Flora forest-green palette.
   Added 2026-09-13: Applications / Capabilities / Workflow flow /
   Quality / Markets / Why-choose / FAQ blocks.
   ============================================================ */

/* ---------- Section rhythm tweaks (tighter, more industrial) ---------- */
.section--white { background: var(--white); }
.section--edge { border-top: 1px solid var(--line); }
.eyebrow--muted { color: var(--moss); }

/* ---------- Applications: 6-card grid ---------- */
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
/* grid children default to min-width:auto, which lets an image push its track
   past 1fr and overflow the page — same trap as .gallery-grid */
.app-grid > * { min-width: 0; }
.app-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--forest); }
.app-card .thumb { position: relative; overflow: hidden; background: var(--cream); }
/* <picture> is inline by default; the block <img> inside would then size against
   a shrink-to-fit inline box instead of the full container width. Used by the
   Applications (#applications) and Capabilities (#capabilities) card thumbs. */
picture { display: block; }
/* Square thumbs (Jerry, 2026-09-14): the old 16/11 landscape banner came from the
   original template and cropped badly against this mixed portrait/landscape set. */
.app-card .thumb img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform 0.55s ease; }
.app-card:hover .thumb img { transform: scale(1.05); }
.app-card .tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--forest-dark);
  background: rgba(255,255,255,0.94);
  padding: 6px 11px; border-radius: 4px;
}
.app-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.app-card h3 { font-size: 21px; margin-bottom: 10px; }
.app-card p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 18px; }
.app-card .app-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--forest);
  transition: gap 0.2s ease, color 0.2s ease;
}
.app-card:hover .app-link { gap: 12px; color: var(--forest-dark); }
/* Jerry 2026-09-14: the three line-cards must sit side by side on desktop and
   tablet — the old `max-width:1000px -> repeat(2,1fr)` step made them read as a
   2+1 stack. Only phones (<640px) may stack now. */
@media (max-width: 640px) { .app-grid { grid-template-columns: 1fr; } }

/* ---------- Capabilities: hairline grid ---------- */
.cap-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.cap-item { background: #fff; padding: 34px 30px; transition: background 0.25s ease; }
.cap-item:hover { background: #fbfdfb; }
.cap-item .cap-no {
  display: block; margin-bottom: 14px;
  font-family: var(--font-display); font-size: 15px; letter-spacing: 0.16em;
  color: var(--forest);
}
.cap-item h3 { font-size: 19px; margin-bottom: 10px; }
.cap-item p { font-size: 14px; color: var(--ink-soft); }
/* .cap-tagline ("Factory-Direct Manufacturer · No Trading Middlemen") removed
   2026-09-14 — it duplicated the new #capabilities eyebrow "From 0 to 1 ·
   Factory Direct". Rule deleted too, it had no other user. */
@media (max-width: 900px) { .cap-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } }

/* ---------- Workflow: 8-step flow strip ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 76px; }
.flow-step {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 26px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.flow-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.flow-step .flow-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--forest); color: #fff;
  display: grid; place-items: center;
  font-size: 13.5px; font-weight: 700;
  margin-bottom: 16px;
}
.flow-step h4 { font-family: var(--font-body); font-size: 15px; font-weight: 700; margin-bottom: 7px; color: var(--ink); }
.flow-step p { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 1000px) { .flow-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow-grid { grid-template-columns: 1fr; } }

/* ---------- Quality assurance: rule-lined items ---------- */
.qa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.qa-item { border-left: 3px solid var(--forest); padding: 2px 0 2px 20px; }
.qa-item b { display: block; font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.qa-item p { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 900px) { .qa-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .qa-grid { grid-template-columns: 1fr; } }

/* ---------- Markets: icon cards ---------- */
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.market-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 26px 24px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.market-card:hover { border-color: var(--forest); transform: translateY(-4px); }
.market-card .ic {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  background: var(--cream); display: grid; place-items: center;
}
.market-card .ic svg { width: 20px; height: 20px; fill: var(--forest); }
.market-card h3 { font-size: 17px; margin-bottom: 6px; }
.market-card p { font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 900px) { .market-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .market-grid { grid-template-columns: 1fr; } }

/* ---------- Why choose: reason cards ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 30px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why-card .wk {
  display: block; margin-bottom: 12px;
  font-family: var(--font-display); font-size: 13px; letter-spacing: 0.18em;
  color: var(--moss);
}
.why-card h3 { font-size: 18px; margin-bottom: 9px; }
.why-card p { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  position: relative; width: 100%;
  background: none; border: none; text-align: left;
  padding: 24px 48px 24px 0;
  font-family: var(--font-body); font-size: 16.5px; font-weight: 600; color: var(--ink);
  transition: color 0.2s ease;
}
.faq-q:hover { color: var(--forest); }
.faq-q::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 25px; font-weight: 400; color: var(--forest); line-height: 1;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.faq-a p { padding: 0 48px 26px 0; font-size: 15px; color: var(--ink-soft); }
html[dir="rtl"] .faq-q { text-align: right; padding: 24px 0 24px 48px; }
html[dir="rtl"] .faq-q::after { right: auto; left: 8px; }
html[dir="rtl"] .faq-a p { padding: 0 0 26px 48px; }

/* ---------- Documentation wall (5 badges, reuse cert-badge look) ---------- */
.cert-wall--wide { grid-template-columns: repeat(5, 1fr); }

/* ---------- Hero: honestplas-style badge strip refinement ---------- */
.hero-stat b { font-variant-numeric: tabular-nums; }

/* ============================================================
   V2.1 — Capabilities as 6-step image process grid
   (sheet 2026-09-14: Workflow 8-step block removed as duplicate,
    its process story merged into Capabilities with 01–06 imagery)
   ============================================================ */
.process-grid--six { grid-template-columns: repeat(3, 1fr); gap: 26px; }
.process-grid--six .process-step {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0 0 4px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.process-grid--six .process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.process-grid--six .process-step:first-child { border: 1px solid var(--line); padding-left: 0; }
.process-grid--six .step-img { margin-bottom: 0; border: none; border-radius: 0; }
.process-grid--six .step-no { margin: 20px 24px 0; font-size: 34px; }
.process-grid--six h3 { margin: 6px 24px 8px; font-size: 18px; }
.process-grid--six p { margin: 0 24px 24px; font-size: 14px; }
@media (max-width: 1000px) { .process-grid--six { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .process-grid--six { grid-template-columns: 1fr; } }

/* ============================================================
   V2.1 — Markets as scene-image cards (sheet 2026-09-14)
   ============================================================ */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scene-card {
  position: relative; display: block;
  border-radius: 10px; overflow: hidden;
  background: var(--forest-deep);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.scene-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.scene-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.55s ease; }
.scene-card:hover img { transform: scale(1.05); }
.scene-card .scene-body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(180deg, rgba(10,26,19,0) 40%, rgba(10,26,19,0.9) 100%);
}
.scene-card h3 { color: #fff; font-size: 19px; margin-bottom: 6px; }
.scene-card p { color: rgba(255,255,255,0.85); font-size: 13.5px; }
@media (max-width: 900px) { .scene-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .scene-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Small-screen hardening (phones)
   Deliberately last: these must override component rules defined
   above, which would otherwise win on equal specificity.
   ============================================================ */
@media (max-width: 900px) {
  /* .trust-band shipped with no stacking rule, so on a phone the 1.1fr/1fr
     split squeezed the copy into a ~150px column (H2 broke over 6 lines) and
     shrank the client photo to a 136x102 thumbnail. Stack it like .two-col. */
  .trust-band { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  /* Narrower cells + a 40px numeral clipped "5,000" out of its own box. */
  .metric { padding: 24px 20px; }
  .metric b { font-size: 28px; }
  .metric span { font-size: 13.5px; }
}
@media (max-width: 760px) {
  /* Trim the hero's vertical rhythm so the fold is not 1.5 screens tall on a
     phone (it measured 1332px at 390x844 before this). */
  .hero-content { padding: 96px 0 56px; }
  .hero-stat { padding: 18px 20px; }
  .hero-stat b { font-size: 24px; }
}
@media (max-width: 560px) {
  .container:not(.nav-wrap) { padding: 0 20px; }
  /* Tables ignore content-based shrinking, so a nowrap <th> used to push the
     spec table (and the page) wider than a 320px screen. table-layout:fixed
     makes the table honour its 100% width instead. */
  .spec-table { table-layout: fixed; }
  .spec-table th { width: 42%; white-space: normal; }
  .spec-table th, .spec-table td { padding: 12px; font-size: 13.5px; }
}
@media (max-width: 380px) {
  .nav-wrap { gap: 6px; padding: 0 12px; }
  .logo small { display: none; }
  .wa-icon-btn { display: none; }
  .cert-wall { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   Materials & craft band (#craft, index.html). Four opaque cards on the sand
   band. Declared at the very end of the file so its stacking rules win over the
   generic component declarations above — same reason as the hardening block.
   --------------------------------------------------------------------------- */
.craft-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
/* Grid tracks are minmax(auto, 1fr): without min-width:0 a card's min-content
   wins over the track and the row overflows the page (same trap as
   .gallery-grid / .app-grid). */
.craft-grid > * { min-width: 0; }
.craft-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 24px 28px;
}
.craft-card .craft-no {
  display: block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  color: var(--forest);
}
.craft-card h3 { font-size: 17px; line-height: 1.3; margin: 12px 0 10px; }
.craft-card p { font-size: 14px; line-height: 1.68; color: var(--ink-soft); }
/* #gallery's species-list subtitle is longer than the generic 700px cap — give
   it room to stay on one line on desktop (same trick as #capabilities). */
#gallery .section-head p { max-width: 920px; }
@media (max-width: 1000px) { .craft-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .craft-grid { grid-template-columns: 1fr; gap: 16px; }
  .craft-card { padding: 22px 20px 24px; }
}
