/* ============================================================
   MrWoodBox — Playful Studio style (port of 04-玩趣工作室风)
   奶油底 · 粗描边卡片 · 硬阴影 · 贴纸倾斜 · Baloo 2 + Nunito
   ============================================================ */

:root {
  --g700: #1F4A3C;
  --g500: #2E5E4E;
  --g300: #4CAF7D;
  --g200: #A8D5BA;
  --g100: #E0EDE4;
  --bg: #FFF7EA;
  --card: #FFFFFF;
  --ink: #27332C;
  --ink2: #7A8479;
  --orange: #F59E4C;
  --blue: #5B9BD5;
  --pink: #F2A0B5;
  --purple: #9C6BB3;
  --wood: #5B3A29;
  --line: #F0E4CE;
  --disp: "Baloo 2", "Microsoft YaHei", cursive;
  --sans: "Nunito", "Microsoft YaHei", sans-serif;
  --container: 1180px;
}

@font-face {
  font-family: "Baloo 2";
  src: url("/assets/fonts/baloo2-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 600 16px/1.75 var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3 {
  font-family: var(--disp);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(38px, 5.4vw, 72px); }
h2 { font-size: clamp(28px, 3.2vw, 40px); }
h3 { font-size: 20px; line-height: 1.35; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 10px; z-index: 300;
  background: var(--orange); color: var(--ink);
  border: 3px solid var(--ink); border-radius: 12px;
  padding: 10px 18px; font: 800 14px var(--disp);
}
.skip-link:focus { left: 10px; }

::selection { background: var(--g200); color: var(--g700); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }

/* ---------- eyebrow / section head ---------- */
.eyebrow {
  font: 700 14px var(--disp);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wood);
  margin-bottom: 16px;
  display: inline-block;
  background: #F6E8CF;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 5px 16px;
  transform: rotate(-1deg);
}
.section { padding: 84px 0; }
.section-alt { background: #FDF1DC; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head .section-lede { margin-top: 14px; }
.section-lede, .page-lede {
  color: var(--ink2);
  font-size: 17px;
  line-height: 1.85;
  max-width: 640px;
}
.text-link {
  font: 800 14px var(--disp); color: var(--g700);
  background: var(--g100);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 8px 18px;
  display: inline-block;
  transition: 0.15s;
}
.text-link:hover { background: var(--g300); color: #fff; transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.center-cta { text-align: center; margin-top: 40px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font: 800 15px var(--disp);
  padding: 15px 28px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: 0.15s;
  line-height: 1.2;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-sm { padding: 11px 20px; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); }
.btn-sm:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn-primary { background: var(--g500); color: #fff; }
.btn-ghost { background: var(--card); color: var(--ink); }
.btn-ghost:hover { background: var(--g100); }
.btn-cta { background: var(--orange); color: var(--ink); }
.btn-light { background: var(--orange); color: var(--ink); }
.btn-outline-light { background: var(--card); color: var(--ink); border-color: var(--ink); }

/* ---------- header (prototype .gh) ---------- */
.site-header {
  background: rgba(255, 247, 234, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--ink);
  position: sticky; top: 0; z-index: 100;
}
.header-in {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: 78px;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 40px; height: auto; flex: none; transition: transform 0.2s; }
.brand:hover .brand-mark { transform: scale(1.05) rotate(-3deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font: 800 24px/1 var(--disp);
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #8A5A3B 0%, #5B3A29 55%, #3E2618 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(1.5px 1.5px 0 rgba(39, 51, 44, 0.85));
}
.brand-sub {
  margin-top: 5px;
  font: 700 8.5px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wood);
}

.site-nav .nav-list { display: flex; gap: 8px; align-items: center; }
.nav-list a {
  font: 700 14px var(--sans);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  border: 2.5px solid transparent;
  transition: 0.2s;
  white-space: nowrap;
}
.nav-list a:hover { color: var(--g500); }
.nav-list a[aria-current="page"] { color: var(--g700); }
.header-in > .btn-cta { flex: none; }

/* ---------- Products mega menu (hover dropdown, XRX style) ---------- */
.nav-item--mega { position: static; }
.nav-item--mega > a { display: inline-flex; align-items: center; gap: 5px; }
.caret { font-size: 10px; color: var(--g500); transition: transform 0.2s; }
.nav-item--mega:hover > a,
.nav-item--mega:focus-within > a { color: var(--g500); }
.nav-item--mega:hover .caret,
.nav-item--mega:focus-within .caret { transform: rotate(180deg); }

.mega {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--card);
  border-bottom: 3px solid var(--ink);
  box-shadow: 0 18px 30px -22px rgba(39, 51, 44, 0.4);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 90;
}
.nav-item--mega:hover .mega,
.nav-item--mega:focus-within .mega {
  opacity: 1; visibility: visible; transform: none;
}
.mega-in {
  max-width: 1280px; margin: 0 auto;
  padding: 22px 24px 26px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.mega-cat {
  background: var(--bg);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  padding: 12px 12px 10px;
  transition: 0.15s;
}
.mega-cat:hover { background: var(--g100); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.mega-head { display: block; }
.mega-img {
  display: block;
  background: #F5EBD7;
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 10px;
}
.mega-img img { width: 100%; height: auto; display: block; }
.mega-name {
  display: block;
  font: 800 15px/1.3 var(--disp);
  color: var(--g700);
  margin-bottom: 6px;
}
.mega-types li { margin: 3px 0; }
.mega-types a {
  font: 600 12.5px/1.5 var(--sans);
  color: var(--ink2);
  padding: 2px 6px;
  border-radius: 6px;
  display: block;
  transition: 0.12s;
}
.mega-types a:hover { color: var(--g700); background: rgba(76, 175, 125, 0.18); }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 10px;
  padding: 10px 9px; cursor: pointer;
}
.nav-toggle span { width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }

/* ---------- marquee (home) ---------- */
.marquee {
  overflow: hidden;
  background: var(--g500);
  color: #fff;
  border-bottom: 3px solid var(--orange);
}
.marquee-in {
  display: flex; gap: 44px; padding: 10px 0;
  white-space: nowrap;
  animation: mq 26s linear infinite;
  font: 700 13px var(--disp);
  letter-spacing: 0.12em;
}
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- hero ---------- */
.hero { position: relative; max-width: var(--container); margin: 0 auto; padding: 74px 24px 60px; }
.hero-kicker {
  font: 700 15px var(--disp);
  letter-spacing: 0.14em;
  color: var(--g500);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-copy h1 { max-width: 14em; }
.tilt {
  display: inline-block;
  padding: 0 18px;
  border-radius: 16px;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.tilt.t1 { background: var(--g200); transform: rotate(-2.5deg); color: var(--g700); }
.tilt.t2 { background: var(--orange); transform: rotate(1.6deg); margin-top: 8px; }
.hero-lede { margin: 32px 0 0; max-width: 560px; font: 600 17px/1.9 var(--sans); color: var(--ink2); }
.hero-cta { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; font: 700 13.5px var(--sans); color: var(--ink2); }
.hero-trust span { color: var(--orange); margin: 0 8px; }

.hero-visual { position: absolute; right: 2.5%; top: 8%; width: 300px; pointer-events: none; }
.hero-mascot { margin: 0; }
.hero-mascot img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 22px 16px rgba(56, 35, 21, 0.16));
}
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- placeholder image ---------- */
.ph {
  display: flex; align-items: center; justify-content: center;
  background-color: #F5EBD7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='640' viewBox='0 0 640 640'%3E%3Crect width='640' height='640' fill='%23F5EBD7'/%3E%3Cg fill='none' stroke='%23EADCB9' stroke-width='16' stroke-linecap='round' opacity='.8'%3E%3Cpath d='M-40 90Q150 55 320 92T680 84'/%3E%3Cpath d='M-40 218Q170 185 330 220T680 212'/%3E%3Cpath d='M-40 348Q150 315 320 350T680 340'/%3E%3Cpath d='M-40 478Q170 448 330 482T680 472'/%3E%3Cpath d='M-40 606Q150 578 320 610T680 600'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover;
  border: 3px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
}
.ph-label {
  font: 800 11.5px var(--disp);
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--g700);
  background: rgba(255, 255, 255, 0.85);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
}

/* ---------- category cards (home, prototype .catcard) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cat-card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 24px;
  padding: 26px 24px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: 0.15s;
  position: relative;
}
.cat-card:nth-child(odd) { transform: rotate(-0.6deg); }
.cat-card:nth-child(even) { transform: rotate(0.5deg); }
.cat-card:hover { transform: rotate(0) translateY(-5px); box-shadow: 8px 8px 0 var(--ink); }
.cat-index {
  font: 800 30px/1 var(--disp);
  color: var(--g300);
  background: var(--g100);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 4px 14px;
  display: inline-block;
  margin-bottom: 14px;
}
.cat-card h3 { font-size: 21px; margin-bottom: 8px; }
.cat-card h3 a:hover { color: var(--g500); }
.cat-card > p { color: var(--ink2); font-size: 14.5px; margin-bottom: 16px; }
.cat-types { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cat-types li {
  font: 700 12.5px var(--sans);
  color: var(--g700);
  background: var(--g100);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
}
.cat-card:hover::after {
  content: "↗";
  position: absolute; top: -14px; right: -10px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--ink);
  display: grid; place-items: center;
  font: 800 17px var(--disp); color: var(--ink);
}

/* ---------- why list ---------- */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.why-head { position: sticky; top: 110px; }
.why-head h2 { max-width: 12em; }
.why-head .section-lede { margin: 18px 0 26px; }
.why-list { display: flex; flex-direction: column; gap: 14px; }
.why-list li {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 20px;
  padding: 18px 20px;
  display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px;
  align-items: start;
  box-shadow: 4px 4px 0 var(--ink);
  transition: 0.15s;
}
.why-list li:nth-child(odd) { transform: rotate(-0.4deg); }
.why-list li:nth-child(even) { transform: rotate(0.4deg); }
.why-list li:hover { transform: rotate(0) translateY(-3px); box-shadow: 6px 6px 0 var(--ink); }
.why-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  font: 800 17px var(--disp); color: #fff;
  display: grid; place-items: center;
}
.why-list li:nth-child(4n + 1) .why-num { background: var(--g300); }
.why-list li:nth-child(4n + 2) .why-num { background: var(--orange); }
.why-list li:nth-child(4n + 3) .why-num { background: var(--blue); }
.why-list li:nth-child(4n + 4) .why-num { background: var(--purple); }
.why-list h3 { font-size: 17px; margin-bottom: 4px; align-self: center; }
.why-list p { grid-column: 2; color: var(--ink2); font-size: 14px; }
.why-head .btn { margin-top: 4px; }

/* ---------- chip grid (customization) ---------- */
.chip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.chip-card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: 0.15s;
}
.chip-card:nth-child(odd) { transform: rotate(-0.5deg); }
.chip-card:nth-child(even) { transform: rotate(0.4deg); }
.chip-card:hover { transform: rotate(0) translateY(-4px); box-shadow: 6px 6px 0 var(--ink); background: var(--g100); }
.chip-card h3 { font-size: 16.5px; margin-bottom: 6px; color: var(--g700); }
.chip-card p { font-size: 13px; color: var(--ink2); line-height: 1.55; }

/* ---------- industry grid (home) ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.industry-card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 4px 4px 0 var(--ink);
  transition: 0.15s;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); background: var(--g100); }
.industry-card h3 { font-size: 16.5px; margin-bottom: 8px; color: var(--g700); }
.industry-card p { font-size: 13px; color: var(--ink2); line-height: 1.6; }

/* ---------- projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--ink);
  transition: 0.15s;
}
.project-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.project-ph { aspect-ratio: 4 / 3; border: none; border-radius: 0; border-bottom: 3px solid var(--ink); }
.project-body { padding: 20px 22px 24px; }
.project-body h3 { font-size: 18px; margin-bottom: 8px; }
.project-body p { font-size: 14px; color: var(--ink2); }

/* ---------- step grid (home, prototype .steps) ---------- */
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step-card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: 5px 5px 0 var(--ink);
  transition: 0.15s;
}
.step-card:nth-child(odd) { transform: rotate(-0.8deg); }
.step-card:nth-child(even) { transform: rotate(0.7deg); }
.step-card:hover { transform: rotate(0) translateY(-4px); box-shadow: 7px 7px 0 var(--ink); }
.step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  font: 800 20px var(--disp); color: #fff;
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.step-card:nth-child(6n + 1) .step-num { background: var(--g300); }
.step-card:nth-child(6n + 2) .step-num { background: var(--orange); }
.step-card:nth-child(6n + 3) .step-num { background: var(--blue); }
.step-card:nth-child(6n + 4) .step-num { background: var(--purple); }
.step-card:nth-child(6n + 5) .step-num { background: var(--pink); }
.step-card:nth-child(6n + 6) .step-num { background: var(--g500); }
.step-card h3 { font-size: 18px; margin-bottom: 6px; }
.step-card p { font: 600 13.5px var(--sans); color: var(--ink2); }

/* ---------- page hero ---------- */
.page-hero {
  border-bottom: 3px solid var(--ink);
  background: linear-gradient(180deg, var(--bg) 0%, #FDF1DC 100%);
  padding: 64px 0 56px;
}
.page-hero h1 { max-width: 16em; font-size: clamp(34px, 4.4vw, 56px); }
.page-lede { margin-top: 20px; }
.anchor-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  font: 800 13px var(--disp);
  color: var(--ink);
  background: var(--card);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: 3px 3px 0 var(--ink);
  transition: 0.15s;
}
.chip:hover { background: var(--g100); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }

/* ---------- products page ---------- */
.range-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 30px;
}
.range-head h2 { max-width: 14em; }
.range-desc { color: var(--ink2); margin-top: 10px; max-width: 620px; }
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.type-card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--ink);
  transition: 0.15s;
  display: flex; flex-direction: column;
}
.type-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.type-ph { aspect-ratio: 16 / 10; border: none; border-radius: 0; border-bottom: 3px solid var(--ink); overflow: hidden; background: #F5EBD7; }
.type-ph img, .project-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.25s ease; }
.type-card:hover .type-ph img { transform: scale(1.04); }
.project-ph { aspect-ratio: 4 / 3; border: none; border-radius: 0; border-bottom: 3px solid var(--ink); overflow: hidden; background: #F5EBD7; }
.type-card h3 { padding: 18px 20px 0; font-size: 18px; }
.type-card p { padding: 8px 20px 0; font-size: 14px; color: var(--ink2); flex: 1; }
.type-card .text-link { margin: 16px 20px 20px; align-self: flex-start; }

/* ---------- solutions page ---------- */
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.solution-card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 24px;
  padding: 30px 28px;
  box-shadow: 5px 5px 0 var(--ink);
}
.solution-card h2 { font-size: 24px; margin-bottom: 12px; }
.solution-card > p { color: var(--ink2); font-size: 15px; margin-bottom: 16px; }
.solution-list li {
  position: relative;
  padding: 7px 0 7px 28px;
  font-size: 14.5px;
}
.solution-list li::before {
  content: "";
  position: absolute; left: 2px; top: 14px;
  width: 11px; height: 11px;
  border-radius: 4px;
  border: 2.5px solid var(--ink);
  background: var(--g300);
  transform: rotate(-6deg);
}
.solution-card:nth-child(odd) .solution-list li::before { background: var(--orange); }
.solution-card--cta {
  background: var(--g500);
  display: flex; flex-direction: column; justify-content: center;
}
.solution-card--cta h2 { color: #fff; }
.solution-card--cta p { color: #B7D2C0; }
.solution-card--cta .btn { align-self: flex-start; margin-top: 8px; }

/* ---------- industries page ---------- */
.industry-section { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.industry-intro h2 { margin-bottom: 16px; max-width: 12em; }
.industry-intro p { color: var(--ink2); font-size: 16px; margin-bottom: 24px; }
.industry-points {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 24px;
  padding: 28px 30px;
  box-shadow: 5px 5px 0 var(--ink);
}
.industry-points h3 { margin-bottom: 12px; color: var(--g700); }
.industry-points li {
  position: relative;
  padding: 9px 0 9px 30px;
  font-size: 15px;
  border-bottom: 2px dashed var(--line);
}
.industry-points li:last-child { border-bottom: none; }
.industry-points li::before {
  content: "✔";
  position: absolute; left: 0; top: 9px;
  font: 800 13px var(--disp);
  color: var(--g700);
  background: var(--g100);
  border: 2px solid var(--ink);
  border-radius: 50%;
  width: 22px; height: 22px;
  display: grid; place-items: center;
}

/* ---------- about page ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-block {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 28px;
  padding: 32px 30px;
  box-shadow: 5px 5px 0 var(--ink);
}
.about-block:nth-child(odd) { background: var(--g100); }
.about-block h2 { font-size: 24px; margin-bottom: 14px; }
.about-block p { color: #42504A; font-size: 15px; margin-bottom: 14px; }
.about-block p:last-child { margin-bottom: 0; }
.about-markets { font-weight: 700; color: var(--g700); }
.check-list li {
  position: relative;
  padding: 8px 0 8px 34px;
  font-size: 15px;
}
.check-list li::before {
  content: "✔";
  position: absolute; left: 0; top: 10px;
  font: 800 13px var(--disp);
  color: var(--g700);
  background: #fff;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  width: 24px; height: 24px;
  display: grid; place-items: center;
}

/* ---------- process page ---------- */
.process-list { max-width: 820px; margin: 0 auto; }
.process-step {
  display: grid; grid-template-columns: 60px 1fr; gap: 24px;
  padding-bottom: 48px;
  position: relative;
}
.process-step:not(:last-child)::before {
  content: "";
  position: absolute; left: 28px; top: 62px; bottom: 6px;
  width: 0;
  border-left: 3px dashed var(--g200);
}
.process-marker span {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--card);
  border: 3px solid var(--ink);
  color: var(--ink);
  font: 800 22px var(--disp);
  display: grid; place-items: center;
  position: relative; z-index: 1;
  box-shadow: 3px 3px 0 var(--ink);
}
.process-step:nth-child(6n + 1) .process-marker span { background: var(--g300); }
.process-step:nth-child(6n + 2) .process-marker span { background: var(--orange); }
.process-step:nth-child(6n + 3) .process-marker span { background: var(--blue); }
.process-step:nth-child(6n + 4) .process-marker span { background: var(--purple); }
.process-step:nth-child(6n + 5) .process-marker span { background: var(--pink); }
.process-step:nth-child(6n + 6) .process-marker span { background: var(--g500); color: #fff; }
.process-body h2 { font-size: 26px; margin-bottom: 12px; }
.process-body p { color: var(--ink2); font-size: 15.5px; max-width: 640px; }
.process-meta {
  margin-top: 12px;
  background: var(--g100);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 12px 16px !important;
  font-size: 14px !important;
  color: var(--ink) !important;
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 24px; align-items: start; }
.quote-form {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 28px;
  padding: 34px 32px;
  box-shadow: 6px 6px 0 var(--ink);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font: 800 13.5px var(--disp);
  color: var(--g700);
  margin-bottom: 7px;
}
.req { color: #C0532F; }
.opt { color: var(--ink2); font-weight: 600; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: 600 15px/1.5 var(--sans);
  color: var(--ink);
  background: var(--bg);
  border: 2.5px solid var(--ink);
  border-radius: 12px;
  padding: 11px 14px;
  transition: 0.15s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--g500);
  box-shadow: 3px 3px 0 var(--g200);
}
.field-note { margin-top: 8px; font: 600 12.5px var(--sans); color: var(--ink2); line-height: 1.55; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.form-status { margin-top: 14px; font: 700 14px var(--sans); color: var(--g700); min-height: 1.4em; }

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.side-card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 4px 4px 0 var(--ink);
}
.side-card h2 { font-size: 18px; margin-bottom: 12px; color: var(--g700); }
.side-card p { font-size: 14px; color: var(--ink2); }
.side-card p a { color: var(--g700); font-weight: 700; border-bottom: 2.5px solid var(--orange); }
.side-card p a:hover { background: var(--g100); }
.side-list li { padding: 9px 0; border-bottom: 2px dashed var(--line); display: flex; flex-direction: column; gap: 2px; }
.side-list li:last-child { border-bottom: none; }
.side-label {
  font: 800 11.5px var(--disp);
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink2);
}
.side-list a { color: var(--g700); font-weight: 700; }
.side-list a:hover { text-decoration: underline; }
.side-steps { counter-reset: s; }
.side-steps li {
  counter-increment: s;
  position: relative;
  padding: 8px 0 8px 34px;
  font-size: 14px; color: var(--ink2);
}
.side-steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 8px;
  width: 25px; height: 25px;
  background: var(--orange);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  font: 800 12.5px/20px var(--disp); text-align: center; color: var(--ink);
}

/* ---------- Find Your Box wizard ---------- */
.nav-list a.nav-quiz { color: #B4560F; font-weight: 800; }
.nav-list a.nav-quiz:hover { color: var(--g500); }

.quiz-card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 24px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 30px 32px 34px;
  max-width: 780px;
  margin: 0 auto;
}
.quiz-progress {
  height: 14px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: #F6E8CF;
  overflow: hidden;
  margin-bottom: 14px;
}
.quiz-progress i { display: block; height: 100%; background: var(--orange); transition: width 0.3s ease; }
.quiz-count { font: 800 12px var(--disp); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink2); margin-bottom: 8px; }
.quiz-qtitle { font-size: 24px; margin-bottom: 20px; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-opt {
  text-align: left;
  font: 600 15px/1.5 var(--sans);
  color: var(--ink);
  background: var(--bg);
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: 0.15s;
}
.quiz-opt:hover { background: var(--g100); transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.quiz-back {
  margin-top: 18px;
  background: none; border: none; cursor: pointer;
  font: 800 14px var(--disp); color: var(--ink2);
}
.quiz-back:hover { color: var(--g700); }

.quiz-foot { text-align: center; margin-top: 28px; font-size: 15px; color: var(--ink2); }
.quiz-foot a { color: var(--g700); font-weight: 700; border-bottom: 2.5px solid var(--orange); }

.quiz-result { max-width: 780px; margin: 0 auto; }
.quiz-rtitle { font-size: 28px; margin-bottom: 10px; }
.quiz-rlede { color: var(--ink2); margin-bottom: 24px; }
.quiz-topcard, .quiz-altcard {
  display: grid; grid-template-columns: 220px 1fr;
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 5px 5px 0 var(--ink);
}
.quiz-topcard { margin-bottom: 16px; }
.quiz-topcard img, .quiz-altcard img { width: 100%; height: 100%; object-fit: cover; display: block; }
.quiz-tbody { padding: 20px 22px; }
.quiz-tbody h3 { font-size: 19px; margin-bottom: 6px; }
.quiz-tbody p { font-size: 14px; color: var(--ink2); margin-bottom: 12px; }
.quiz-tlinks { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.quiz-see { font: 700 13.5px var(--sans); color: var(--g700); border-bottom: 2px solid var(--g200); }
.quiz-see:hover { border-color: var(--g700); }
.quiz-alts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quiz-altcard { grid-template-columns: 120px 1fr; }
.quiz-altcard .quiz-tbody { padding: 14px 16px; }
.quiz-altcard .quiz-tbody h3 { font-size: 16px; }
.quiz-altcard .quiz-tbody p { display: none; }
.quiz-guide {
  margin-top: 22px;
  background: var(--g100);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 14.5px;
  line-height: 1.7;
}
.quiz-guide p + p { margin-top: 8px; }
.quiz-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

@media (max-width: 640px) {
  .quiz-card { padding: 22px 20px 26px; }
  .quiz-opts { grid-template-columns: 1fr; }
  .quiz-topcard, .quiz-altcard { grid-template-columns: 1fr; }
  .quiz-topcard img { aspect-ratio: 16 / 9; }
  .quiz-altcard img { aspect-ratio: 16 / 9; }
  .quiz-altcard .quiz-tbody p { display: block; }
}

/* ---------- hero trust find link + other ranges ---------- */
.hero-find { color: var(--brown); font-weight: 800; border-bottom: 2px solid var(--orange); }
.hero-find:hover { color: var(--g700); }
.other-ranges { margin-top: 36px; }
.other-ranges .anchor-chips { margin-top: 0; }

/* ---------- category range page ---------- */
.range-intro { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }
.range-intro-img {
  border: 3px solid var(--ink);
  border-radius: 24px;
  overflow: hidden;
  background: #F5EBD7;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-1.5deg);
}
.range-intro-img img { display: block; width: 100%; height: auto; }
.range-intro-copy p { color: #42504A; font-size: 15.5px; line-height: 1.85; margin-bottom: 14px; }
.range-intro-copy p:last-child { margin-bottom: 0; }

.faq-list { max-width: 780px; }
.faq-item {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font: 800 16.5px var(--disp);
  color: var(--g700);
  padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font: 800 18px var(--disp); color: var(--orange); flex: none; }
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { border-bottom: 2px dashed var(--line); }
.faq-item p { padding: 14px 20px 18px; font-size: 14.5px; color: var(--ink2); line-height: 1.75; }

@media (max-width: 900px) {
  .range-intro { grid-template-columns: 1fr; gap: 26px; }
  .range-intro-img { max-width: 300px; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--g500);
  border-top: 6px solid var(--orange);
  color: #fff;
  padding: 68px 0;
}
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-band h2 { color: #fff; max-width: 15em; }
.cta-band p { color: #B7D2C0; margin-top: 12px; max-width: 460px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; flex: none; }

/* ---------- 404 ---------- */
.notfound { max-width: 560px; padding: 60px 24px; }
.notfound h1 { margin-bottom: 16px; }
.notfound p { color: var(--ink2); margin-bottom: 26px; }

/* ---------- footer (prototype .gf) ---------- */
.site-footer {
  background: var(--g700);
  color: #EAF4EC;
  margin-top: 0;
  border-top: 6px solid var(--orange);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding: 60px 24px 40px;
}
.brand--footer .brand-name {
  background: linear-gradient(180deg, #FFF7EA 0%, #E6D5B8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(1.5px 1.5px 0 rgba(0, 0, 0, 0.4));
}
.brand--footer .brand-sub { color: #B7D2C0; }
.footer-brand p { font: 600 13.5px var(--sans); margin-top: 16px; max-width: 340px; color: #B7D2C0; }
.footer-markets { font-size: 13px; color: #9FBFA9; }
.footer-col h3 {
  font: 800 13px var(--disp);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--g200);
  margin-bottom: 14px;
}
.footer-col ul li { margin: 9px 0; }
.footer-col a { font: 600 14px var(--sans); color: #CFE3D5; transition: color 0.15s; }
.footer-col a:hover { color: var(--orange); }
.footer-note { margin-top: 14px; font-size: 12.5px; color: #9FBFA9; }
.footer-bar { border-top: 2px solid rgba(255, 255, 255, 0.15); }
.footer-bar-inner {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 24px;
  font: 600 12px var(--sans); color: #9FBFA9;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .chip-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { gap: 36px; }
  .hero-visual { width: 235px; right: 2%; }
}
@media (max-width: 1240px) {
  /* Mobile nav: the product mega menu becomes a static nested list, so every
     product-type page stays reachable by thumb (no hover on touch devices). */
  .nav-item--mega { position: static; }
  .caret { display: none; }
  .mega {
    position: static;
    display: block;
    opacity: 1; visibility: visible; transform: none;
    border-bottom: none; box-shadow: none; background: transparent;
  }
  .mega-in { display: block; max-width: none; padding: 2px 0 8px; }
  .mega-cat { background: transparent; border: none; border-radius: 0; padding: 0 0 4px; }
  .mega-cat:hover { background: transparent; transform: none; box-shadow: none; }
  .mega-img { display: none; }
  .mega-name { display: block; padding: 8px 14px 4px; margin: 0; font-size: 14px; }
  .mega-types { padding-left: 8px; }
  .mega-types a { padding: 7px 14px; font-size: 14px; }
  .mega-types a:hover { background: transparent; }

  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 3px solid var(--ink);
    padding: 14px 24px 20px;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.nav-open .site-nav { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list a { display: block; padding: 12px 14px; font-size: 16px; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* Eight nav items need a tighter rhythm before the row overflows */
@media (min-width: 1241px) and (max-width: 1440px) {
  .site-nav .nav-list { gap: 5px; }
  .nav-list a { padding: 8px 10px; font-size: 13.5px; }
}

@media (max-width: 900px) {
  .hero { padding: 52px 24px 48px; }
  .hero-visual { position: static; width: 230px; margin: 34px auto 0; }
  .numbers { grid-template-columns: repeat(2, 1fr); }
  .cat-grid, .solution-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .type-grid, .project-grid, .step-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-section { grid-template-columns: 1fr; gap: 26px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-head { position: static; }
  .section { padding: 64px 0; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .header-in { height: 70px; gap: 12px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 21px; }
  .header-in > .btn-cta { padding: 9px 14px; font-size: 12.5px; box-shadow: 2px 2px 0 var(--ink); }
  .type-grid, .project-grid, .step-grid, .chip-grid, .industry-grid, .numbers { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding: 48px 24px 40px; }
  .footer-bar-inner { flex-direction: column; gap: 6px; }
  .range-head { flex-direction: column; align-items: flex-start; }
  .marquee-in { gap: 28px; font-size: 12px; }
}

/* ---------- detail pages & directory hubs ---------- */
.type-card h3 a:hover,
.industry-card h3 a:hover,
.solution-card h2 a:hover { color: var(--g500); }
.cat-types li a { color: inherit; }
.cat-types li:hover { background: #fff; }
.solution-card h2 a { color: inherit; }
.industry-card { display: flex; flex-direction: column; }
.industry-card p { flex: 1; }
.industry-card .text-link { display: inline-block; margin-top: 12px; align-self: flex-start; font-size: 12.5px; }
.solution-card .text-link { margin-top: 6px; align-self: flex-start; }
.step-card .text-link { display: inline-block; margin-top: 12px; }
.check-list-cols { max-width: 780px; }
.check-list-cols .check-list li { font-size: 15.5px; line-height: 1.65; }

/* Long-form body copy on detail pages */
.detail-prose { max-width: 800px; }
.detail-prose p { color: #42504A; font-size: 15.5px; line-height: 1.85; margin-bottom: 16px; }
.detail-prose p:last-child { margin-bottom: 0; }
.detail-prose h3 { font-size: 19px; margin: 26px 0 10px; color: var(--g700); }
.detail-prose ul { list-style: none; margin: 0 0 16px; }
.detail-prose li {
  position: relative; padding: 5px 0 5px 24px;
  font: 600 15px var(--sans); color: #42504A; line-height: 1.7;
}
.detail-prose li::before {
  content: ""; position: absolute; left: 4px; top: 14px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
}

/* Specification matrix: one label + one line per decision */
.detail-matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.detail-matrix > div {
  background: var(--card); border: 2.5px solid var(--ink);
  border-radius: 16px; padding: 16px 18px; box-shadow: 3px 3px 0 var(--ink);
}
.detail-matrix dt { font: 800 13px var(--disp); color: var(--g700); margin-bottom: 6px; letter-spacing: 0.02em; }
.detail-matrix dd { font: 600 13.5px/1.65 var(--sans); color: var(--ink2); }

/* Who buys this, and why */
.buyer-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.buyer-list li {
  background: var(--card); border: 2.5px solid var(--ink);
  border-radius: 16px; padding: 15px 18px;
}
.buyer-list b { display: block; font: 800 14.5px var(--disp); color: var(--g700); margin-bottom: 5px; }
.buyer-list span { font: 600 13.5px/1.65 var(--sans); color: var(--ink2); }

/* Table for guide pages */
.guide-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font: 600 13.5px var(--sans); }
.guide-table th, .guide-table td { border: 2px solid var(--ink); padding: 10px 12px; text-align: left; vertical-align: top; }
.guide-table th { background: var(--g100); font: 800 13px var(--disp); color: var(--g700); }
.guide-table td { color: #42504A; }

/* Table of contents on guide pages */
.guide-toc { margin-top: 34px; background: var(--card); border: 3px solid var(--ink); border-radius: 20px; padding: 22px 24px; box-shadow: 5px 5px 0 var(--ink); max-width: 800px; }
.guide-toc h2 { font-size: 18px; margin-bottom: 12px; color: var(--g700); }
.guide-toc ol { display: grid; gap: 8px; }
.guide-toc li { font: 700 14.5px var(--sans); color: var(--g700); }
.guide-toc a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .detail-matrix { grid-template-columns: 1fr 1fr; }
  .buyer-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .detail-matrix { grid-template-columns: 1fr; }
}

/* Keep the header on one row on narrow phones (no horizontal overflow) */
@media (max-width: 600px) {
  .header-in { padding: 0 14px; gap: 10px; }
  .header-in > .btn-cta { padding: 8px 12px; font-size: 12px; white-space: nowrap; }
  .brand-mark { width: 34px; }
  .brand-name { font-size: 19px; }
  .nav-toggle { padding: 8px; }
}

/* Reference style gallery on type pages */
.ref-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ref-card {
  background: var(--card); border: 3px solid var(--ink);
  border-radius: 18px; padding: 8px; box-shadow: 4px 4px 0 var(--ink);
  transition: 0.15s; margin: 0;
}
.ref-card:nth-child(odd) { transform: rotate(-0.4deg); }
.ref-card:nth-child(even) { transform: rotate(0.3deg); }
.ref-card:hover { transform: rotate(0) translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }
.ref-card img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  display: block; border-radius: 12px; background: #F5EBD7;
}
.ref-card { position: relative; }
.ref-num {
  position: absolute; top: 14px; left: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--orange); border: 2.5px solid var(--ink);
  font: 800 14px var(--disp); color: var(--ink);
  display: grid; place-items: center;
}
.ref-card--current { outline: 4px solid var(--orange); outline-offset: 3px; }

/* Reference detail page viewer */
.ref-viewer {
  margin: 0; background: var(--card); border: 3px solid var(--ink);
  border-radius: 24px; padding: 14px; box-shadow: 6px 6px 0 var(--ink);
  display: grid; place-items: center;
}
.ref-viewer img {
  max-width: 100%; max-height: 72vh; width: auto; height: auto;
  display: block; border-radius: 14px;
}
.ref-nav {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px; margin-top: 18px; flex-wrap: wrap;
}
@media (max-width: 900px) { .ref-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }
/* Visible breadcrumb (partials/breadcrumb.njk, included in base layout) */
.breadcrumb { padding: 16px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb li { font: 700 13px var(--sans); color: var(--ink2); }
.breadcrumb li a {
  color: var(--g700);
  border-bottom: 2.5px solid var(--orange);
  transition: 0.15s;
}
.breadcrumb li a:hover { background: var(--g100); }
.breadcrumb .sep { color: var(--orange); font: 800 12px var(--disp); }
.breadcrumb li[aria-current="page"] { color: var(--ink); font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- product catalogue cards, listings & lightbox ---------- */
.product-grid-list, .product-grid-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card {
  background: var(--card); border: 3px solid var(--ink); border-radius: 16px;
  padding: 10px; box-shadow: 4px 4px 0 var(--ink); transition: 0.15s;
  display: flex; flex-direction: column; gap: 8px;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 6px 6px 0 var(--ink); }
.product-media { display: block; border-radius: 10px; overflow: hidden; background: #F5EBD7; }
.product-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; transition: transform 0.25s ease; }
.product-media:hover img { transform: scale(1.04); }
.product-card-name {
  font: 800 13.5px var(--disp); color: var(--g700); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card-name:hover { color: var(--g500); }
.product-card-code { font: 700 11.5px var(--sans); color: var(--ink2); letter-spacing: 0.02em; }
.list-pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.list-pager-status { font: 700 13.5px var(--sans); color: var(--ink2); }
.btn.is-disabled { opacity: 0.45; cursor: default; pointer-events: none; }
.section-products { background: var(--g100); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.product-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.product-viewer { cursor: zoom-in; }
.product-viewer button { all: unset; display: block; width: 100%; cursor: zoom-in; }
.product-viewer img { width: 100%; height: auto; border-radius: 14px; }
.product-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 16px; }
.product-thumb { background: var(--card); border: 2.5px solid var(--ink); border-radius: 10px; padding: 4px; cursor: zoom-in; }
.product-thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; display: block; }
.product-specs { margin-top: 18px; }
.illo-note { background: var(--g100); border: 2px dashed var(--g500); border-radius: 10px; padding: 10px 14px; font: 700 13px var(--sans); color: var(--g700); margin-bottom: 14px; }
.lb-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(16, 22, 19, 0.92); display: none; place-items: center; }
.lb-overlay.is-open { display: grid; }
.lb-stage { margin: 0; display: grid; place-items: center; }
.lb-stage img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.lb-close, .lb-arrow {
  position: absolute; background: var(--card); border: 3px solid var(--ink);
  border-radius: 50%; width: 46px; height: 46px; font: 800 20px var(--disp);
  color: var(--ink); cursor: pointer; display: grid; place-items: center;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
}
.lb-close:hover, .lb-arrow:hover { background: var(--orange); }
.lb-close { top: 16px; right: 20px; }
.lb-arrow { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-bar {
  position: absolute; bottom: 16px; left: 0; right: 0;
  display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap;
  font: 700 13.5px var(--sans);
}
.lb-cap { color: #E8E4D8; }
.lb-pagelink { color: var(--orange); border-bottom: 2.5px solid var(--orange); }
.lb-pagelink:hover { color: #fff; }
@media (max-width: 900px) {
  .product-grid-list, .product-grid-strip { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .product-grid-list, .product-grid-strip { grid-template-columns: repeat(2, 1fr); }
  .product-thumbs { grid-template-columns: repeat(4, 1fr); }
}
