:root {
  --ink: #10202b;
  --ink-soft: #263845;
  --muted: #61717d;
  --line: #e4ebef;
  --surface: #ffffff;
  --soft: #f6faf8;
  --accent: #1b7f63;
  --accent-dark: #115b47;
  --accent-light: #e7f5ef;
  --gold: #b98232;
  --shadow: 0 18px 48px rgba(16, 32, 43, 0.09);
  --shadow-soft: 0 10px 28px rgba(16, 32, 43, 0.07);
  --radius: 8px;
  --radius-sm: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

main {
  min-width: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg,
video,
canvas {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(27, 127, 99, 0.28);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.admin-public-image-tools {
  position: fixed;
  top: 88px;
  right: 18px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  max-width: calc(100vw - 36px);
  padding: 0.45rem;
  border: 1px solid rgba(16, 32, 43, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(16, 32, 43, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.admin-public-image-tools-link,
.admin-public-image-tools-toggle,
.admin-public-image-tools-status {
  white-space: nowrap;
}

.admin-public-image-tools-link,
.admin-public-image-tools-toggle {
  min-height: 34px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 750;
}

.admin-public-image-tools-link {
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  background: #10202b;
  color: #fff;
}

.admin-public-image-tools-toggle {
  border: 1px solid rgba(27, 127, 99, 0.22);
  background: #fff;
  color: var(--accent);
  padding: 0 0.9rem;
}

.admin-public-image-tools-toggle[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.admin-public-image-tools-status {
  color: var(--muted);
  font-size: 0.78rem;
  padding: 0 0.55rem 0 0.2rem;
}

.admin-image-edit-overlay {
  position: absolute;
  inset: 0;
  z-index: 1190;
  pointer-events: none;
}

.admin-image-edit-marker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: min(180px, calc(100vw - 24px));
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: rgba(27, 127, 99, 0.94);
  color: #fff;
  box-shadow: 0 10px 24px rgba(16, 32, 43, 0.2);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: auto;
  transform: translateZ(0);
}

.admin-image-edit-marker:hover,
.admin-image-edit-marker:focus-visible {
  background: var(--accent-dark);
  color: #fff;
}

@media (max-width: 640px) {
  .admin-public-image-tools {
    top: auto;
    right: 12px;
    bottom: 84px;
    max-width: calc(100vw - 24px);
  }

  .admin-public-image-tools-status {
    display: none;
  }

  .admin-image-edit-marker {
    min-height: 34px;
    font-size: 0.76rem;
  }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  min-width: 0;
}

:where(.header-inner, .site-nav, .desktop-nav, .nav-item, .mega-panel, .mega-panel *,
.hero-grid, .hero-copy, .hero-visual, .section-heading, .category-grid,
.industry-grid, .product-grid, .related-grid, .gallery-grid, .finish-strip,
.catalog-layout, .directory-helper, .directory-count-grid, .product-detail-grid,
.quote-layout, .footer-grid, .footer-bottom, .about-hero-grid, .about-hero-copy,
.about-capability-layout, .about-project-grid, .about-mindset-grid,
.taxonomy-hero-grid, .taxonomy-hero-grid > *) {
  min-width: 0;
}

:where(.category-card, .industry-card, .gallery-card, .product-card, .detail-card,
.info-card, .contact-card, .capability-panel, .timeline-card, .process-step,
.about-text-card, .about-product-card, .about-finish-card, .about-industry-card,
.about-project-card, .about-mindset-card, .directory-count-grid a, .mega-card,
.mega-products-card, .mobile-mega-links a) {
  max-width: 100%;
}

.narrow {
  max-width: 780px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 235, 239, 0.85);
  transition: box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 32px rgba(16, 32, 43, 0.08);
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: rgba(228, 235, 239, 1);
}

.header-inner {
  width: calc(100% - 32px);
  max-width: none;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.85rem, 1.4vw, 1.35rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.7rem;
  font-weight: 800;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.brand-mark-image {
  overflow: hidden;
  border: 1px solid rgba(16, 32, 43, 0.08);
  background: #fff;
}

.brand-mark-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1vw, 1rem);
}

.desktop-nav > div {
  display: flex;
  align-items: center;
}

.desktop-nav > div > .nav-link,
.desktop-nav > div > .nav-item,
.desktop-nav > .button {
  white-space: nowrap;
}

.desktop-nav > div > .nav-link,
.desktop-nav > div > .nav-item > .nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  transition: color 160ms ease, transform 160ms ease;
}

/* Top-level links: no hover fill; keep motion subtle and text-led. */
.desktop-nav > div > .nav-link:hover,
.desktop-nav > div > .nav-link:focus-visible {
  color: var(--accent);
  transform: translateY(-1px);
  outline: none;
}

/* Active state — set by Layout.js isNavActive() */
.desktop-nav > .active > .nav-link,
.desktop-nav > .active > .nav-item > .nav-link {
  color: var(--accent);
  font-weight: 700;
}
.desktop-nav > .active > .nav-link::after,
.desktop-nav > .active > .nav-item > .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.18rem;
  transform: translateX(-50%);
  display: block;
  height: 2px;
  width: 18px;
  border-radius: 999px;
  background: var(--accent);
}

.nav-link {
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: inherit;
}

/* Mega items: anchor + chevron live side-by-side and share hover state. */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  padding: 0.3rem 0;
  border-radius: 999px;
  transition: color 160ms ease;
}
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link,
.nav-item.is-open > .nav-link {
  color: var(--accent);
  transform: translateY(-1px);
}
.nav-item > .nav-link.mega-link {
  padding-right: 0.75rem;
  border-radius: 0;
  background: transparent !important;
}
.nav-item > .nav-link.mega-link:hover,
.nav-item > .nav-link.mega-link:focus-visible {
  background: transparent;
}
.mega-chevron {
  display: none;
  width: 0;
  height: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft, #5b6b78);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
  transform: rotate(90deg);
  transition: transform 180ms ease, color 160ms ease, background 160ms ease;
}
.mega-chevron span { display: inline-block; transform: translateY(-1px); }
.mega-chevron:hover,
.mega-chevron:focus-visible {
  color: var(--accent);
  background: rgba(27, 127, 99, 0.12);
  outline: none;
}
.nav-item.is-open .mega-chevron,
.mega-chevron[aria-expanded="true"] {
  transform: rotate(-90deg);
  color: var(--accent);
}

.mega-menu {
  position: fixed;
  left: 50%;
  top: 72px;
  z-index: 12;
  /* Wider panel (was 1180px) so 3-column card layouts get ~390px per
     card with breathing room. Stays 24px clear of viewport on a 1352px
     screen. Doesn't grow past 1280px so it never feels detached on
     ultra-wide screens. */
  width: min(1280px, calc(100vw - 48px));
  max-height: calc(100vh - 136px);
  padding-top: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 170ms ease, transform 170ms ease;
}

.has-mega.is-open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 24px;
}

.mega-panel {
  max-height: calc(100vh - 154px);
  /* Vertical scroll OK for tall panels; horizontal must never appear
     even if an inner grid track briefly overflows during reflow. */
  overflow-y: auto;
  overflow-x: clip;
  overscroll-behavior: contain;
  border: 1px solid rgba(228, 235, 239, 0.95);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 64px rgba(16, 32, 43, 0.14);
  max-width: 100%;
  min-width: 0;
  /* Lightweight scrollbar so the panel never feels like a heavy modal
     when content does overflow vertically. */
  scrollbar-width: thin;
  scrollbar-color: rgba(27, 127, 99, 0.35) transparent;
}
.mega-panel::-webkit-scrollbar { width: 6px; }
.mega-panel::-webkit-scrollbar-track { background: transparent; }
.mega-panel::-webkit-scrollbar-thumb {
  background: rgba(27, 127, 99, 0.35);
  border-radius: 6px;
}
.mega-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(27, 127, 99, 0.55);
}

.mega-panel-products {
  display: grid;
  grid-template-columns: clamp(238px, 24vw, 292px) minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1rem 1.05rem 1.2rem;
  align-items: stretch;
  min-width: 0;
}

/* ─── Sidebar (left main categories) ─────────────────────── */
.mega-products-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-right: 0.95rem;
  border-right: 1px solid var(--line);
  min-width: 0;
  max-width: 100%;
}
.mega-products-sidebar-title {
  margin: 0;
  padding: 0.1rem 0.5rem 0.3rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mega-products-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.16rem;
  min-width: 0;
}
.mega-products-sidebar-list li {
  min-width: 0;
}
.mega-products-sidebar-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.62rem 0.78rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-weight: 750;
  font-size: 0.92rem;
  line-height: 1.32;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 150ms ease, transform 150ms ease;
}
.mega-products-sidebar-label {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.mega-products-sidebar-arrow {
  flex-shrink: 0;
  margin-top: 0.08rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1;
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity 150ms ease, transform 150ms ease;
}
.mega-products-sidebar-item:hover,
.mega-products-sidebar-item:focus-visible {
  color: var(--accent);
  transform: translateX(2px);
  outline: none;
}
.mega-products-sidebar-item.is-active {
  color: var(--accent);
}
.mega-products-sidebar-item.is-active::before {
  content: "";
  position: absolute;
  left: 0.22rem;
  top: 0.72rem;
  bottom: 0.72rem;
  width: 3px;
  min-height: 1rem;
  border-radius: 999px;
  background: var(--accent);
}
.mega-products-sidebar-item.is-active .mega-products-sidebar-arrow,
.mega-products-sidebar-item:hover .mega-products-sidebar-arrow,
.mega-products-sidebar-item:focus-visible .mega-products-sidebar-arrow {
  color: var(--accent);
  opacity: 1;
  transform: translateX(0);
}

/* ─── Right content area ─────────────────────────────────── */
.mega-products-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.mega-products-panel {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.mega-products-panel[hidden] { display: none; }

/* Products mega panel head — slim, single line where possible. The old
   eyebrow ("Packaging form") was dropped from MegaMenu.js so this only
   has to position h3 (left) + "View all" link (right). */
.mega-products-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0.05rem 0.15rem 0.7rem;
  border-bottom: 1px solid var(--line);
}
.mega-products-panel-head h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: break-word;
  min-width: 0;
}
.mega-products-panel-more {
  flex: 0 1 auto;
  max-width: 100%;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: break-word;
  text-align: right;
}
.mega-products-panel-more:hover,
.mega-products-panel-more:focus-visible {
  text-decoration: underline;
  outline: none;
}

.mega-products-card-grid {
  display: grid;
  /* Was 220px — too aggressive. Long product names like
     "Display Stands and Retail Displays" / "Labels Stickers and Sleeves"
     overflowed a 220-wide column. 240 gives one more breathing line. */
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 0.6rem;
  align-content: start;
}

/* Note: the per-card visual rules for .mega-products-card live further
   down, grouped with .mega-card so both grids share the exact same
   template (per the unified-design requirement). Keep the grid-only
   rule above; the card rules themselves are defined once below. */

.mega-empty-state {
  margin: 0;
  padding: 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.88rem;
}
.mega-empty-state a { color: var(--accent); }

/* ─── Industries / Materials / Printing & Finishes mega panel ──────── */
/* Slim panel head: just an h3 + "View all" link, sitting on a single
   row when the viewport allows. No green eyebrow above. */
.mega-panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  padding: 0.95rem 1.05rem 1.1rem;
}

.mega-grid-microhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.mega-grid-title {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.005em;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}
.mega-grid-more {
  flex: 0 1 auto;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: break-word;
  text-align: right;
  transition: color 160ms ease;
}
.mega-grid-more:hover,
.mega-grid-more:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  outline: none;
}

/* Card grid (Industries / Materials / Printing & Finishes mega panels).
   Adaptive auto-fit with explicit breakpoints — at 1280px panel width
   auto-fit lands on 3 columns of ~390px each, which matches the
   intrinsic width of the unified hybrid card. */
.mega-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 0.7rem;
}
@media (min-width: 1281px) {
  /* Cap at 3 columns on standard desktop so cards stay readable. */
  .mega-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .mega-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .mega-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Unified mega card (hybrid grid-areas) ───────────────────────────
   Used by every mega panel:
   - Products: each subcategory item under the active category tab
   - Industries / Materials / Printing & Finishes: each grid item
   Layout:
       "image title"      ← 72px image on the left, title aligned next to it
       "desc  desc"       ← description spans the full card width below
   Identical typography and dimensions across all mega menus per the
   unified-design requirement. */
.mega-card,
.mega-products-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-areas:
    "image title"
    "desc  desc";
  gap: 0.45rem 0.85rem;
  align-items: start;
  padding: 0.75rem 0.85rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  min-width: 0;
  max-width: 100%;
}
.mega-card:hover,
.mega-card:focus-visible,
.mega-products-card:hover,
.mega-products-card:focus-visible {
  border-color: rgba(27, 127, 99, 0.32);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
  outline: none;
}
.mega-card:hover .mega-card-title,
.mega-card:focus-visible .mega-card-title,
.mega-products-card:hover .mega-products-card-name,
.mega-products-card:focus-visible .mega-products-card-name {
  color: var(--accent);
}

.mega-card-image,
.mega-products-card-image {
  grid-area: image;
  position: relative;
  width: 72px;
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  background: var(--soft);
  flex-shrink: 0;
}
.mega-card-image img,
.mega-products-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mega-card-image.is-placeholder::before,
.mega-products-card-image.is-placeholder::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 2px solid rgba(27, 127, 99, 0.2);
  border-radius: 6px;
}

.mega-card-title,
.mega-products-card-name {
  grid-area: title;
  align-self: center;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.005em;
  /* Wrap at word boundaries; only break mid-word for unbreakable tokens. */
  overflow-wrap: break-word;
  word-break: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 160ms ease;
  margin: 0;
}
.mega-card-desc,
.mega-products-card-desc {
  grid-area: desc;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: normal;
  /* Two lines below the image+title row. Description spans full card
     width — long B2B copy ending cleanly at a word boundary + ellipsis. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* Content-aware density toggle (set by public/assets/app.js
   tunePanelDensity). When a mega panel's content height exceeds the
   viewport-capped panel height, every description inside collapses
   from 2 lines to 1 line. The result is shorter cards → less or no
   vertical scroll on tall categories. Panels with fewer items keep
   the default 2 lines and show more useful copy. */
.mega-panel.is-dense .mega-card-desc,
.mega-panel.is-dense .mega-products-card-desc {
  -webkit-line-clamp: 1;
  line-clamp: 1;
}

.mobile-mega-nav {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 46px;
  padding: 0.78rem 1.18rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
}

.button.primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(27, 127, 99, 0.22);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button.secondary:hover {
  box-shadow: var(--shadow-soft);
}

.button.whatsapp {
  color: #fff;
  background: #16784f;
}

.button.small {
  min-height: 38px;
  padding: 0.6rem 0.95rem;
  font-size: 0.9rem;
}

.button.full-width {
  width: 100%;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.eyebrow,
.mini-label {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

:where(li, dt, dd, figcaption, blockquote, .text-link, .tag-row span, .category-samples span,
.footer-grid a, .footer-grid p, .site-footer h2, .contact-row a, .contact-row span) {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.05rem, 3.25vw, 3.45rem);
  max-width: 860px;
}

h2 {
  font-size: clamp(1.58rem, 2.05vw, 2.24rem);
}

h3 {
  font-size: 1.05rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.hero {
  min-height: min(760px, calc(100vh - 72px));
  display: flex;
  align-items: center;
  padding: 64px 0 48px;
  background:
    linear-gradient(120deg, rgba(231, 245, 239, 0.95), rgba(255, 255, 255, 0.94) 42%, rgba(244, 248, 250, 0.9)),
    #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.45rem;
}

.hero-subtitle {
  max-width: 680px;
  margin: 0;
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  color: var(--ink-soft);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 760px;
}

.hero-stats span {
  display: grid;
  gap: 0.25rem;
  min-height: 78px;
  padding: 0.9rem;
  border: 1px solid rgba(228, 235, 239, 0.9);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  box-shadow: 0 12px 30px rgba(16, 32, 43, 0.05);
}

.hero-stats strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-image {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image.large {
  position: absolute;
  right: 0;
  top: 32px;
  width: 76%;
  height: 440px;
}

.hero-image.small {
  position: absolute;
  width: 46%;
  height: 210px;
  border: 8px solid #fff;
}

.hero-image.small.top {
  left: 0;
  top: 0;
}

.hero-image.small.bottom {
  left: 12%;
  bottom: 0;
}

.section {
  padding: clamp(44px, 6vw, 78px) 0;
}

.section.soft {
  background: var(--soft);
}

.section-heading {
  margin-bottom: 1.65rem;
}

.eyebrow + h2,
.eyebrow + h1 {
  margin-top: 0.25rem;
}

.section-heading h2 {
  max-width: 780px;
}

.section-heading.split,
.cta-panel,
.capability-layout,
.quote-layout,
.two-column,
.timeline-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: start;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1rem;
}

.category-card,
.industry-card,
.gallery-card,
.product-card,
.detail-card,
.info-card,
.contact-card,
.capability-panel,
.timeline-card,
.process-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.category-card {
  overflow: hidden;
}

.category-card > div,
.industry-card > div,
.gallery-card > div,
.product-body,
.info-card > div,
.capability-panel,
.contact-card,
.process-step,
.detail-card {
  padding: 1rem;
}

.category-image,
.product-image,
.industry-card img,
.gallery-card img,
.info-card img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--soft);
}

.category-image img,
.product-image img,
.industry-card img,
.gallery-card img,
.info-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card p,
.industry-card p,
.gallery-card p,
.product-card p,
.info-card p {
  margin: 0.65rem 0 1rem;
  font-size: 0.95rem;
}

.category-card h2,
.category-card h3,
.industry-card h2,
.industry-card h3,
.gallery-card h2,
.gallery-card h3,
.product-card h2,
.product-card h3,
.info-card h2,
.info-card h3 {
  line-height: 1.25;
  overflow-wrap: break-word;
}

.product-card h2,
.product-card h3,
.blog-card-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
}

.category-samples span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  padding: 0.28rem 0.55rem;
}

.text-link,
.text-button {
  color: var(--accent);
  font-weight: 800;
}

.text-button {
  border: 0;
  background: transparent;
  padding: 0;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1rem;
}

.industry-card {
  overflow: hidden;
}

.industry-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}

.industry-card .industry-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.industry-card > a {
  display: block;
}

.directory-grid .industry-card > div {
  display: grid;
  gap: 0.45rem;
  min-height: 128px;
}

.directory-grid .industry-card h3,
.directory-grid .industry-card p {
  margin: 0;
}

.directory-grid .industry-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 0.9rem;
}

.process-step {
  min-height: 154px;
  display: grid;
  align-content: space-between;
}

.process-step span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 850;
}

.finish-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1rem;
}

.finish-strip article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.finish-strip img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.finish-strip h3,
.finish-strip p {
  margin-inline: 1rem;
}

.finish-strip h3 {
  margin-top: 1rem;
}

.finish-strip p {
  margin-bottom: 1.15rem;
  font-size: 0.92rem;
}

.capability-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  align-items: center;
}

.capability-layout p {
  max-width: 720px;
}

.capability-panel {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

.capability-panel h3,
.capability-panel li {
  color: #fff;
}

.capability-panel ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.check-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1rem;
}

.gallery-card {
  overflow: hidden;
}

.final-cta {
  padding-top: 0;
}

.cta-panel {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-panel h2,
.cta-panel .eyebrow {
  color: #fff;
}

.cta-panel h2 {
  max-width: 860px;
}

.page-hero {
  padding-top: 70px;
  padding-bottom: 54px;
  background: linear-gradient(135deg, var(--accent-light), #fff 58%, #f4f8fa);
}

.page-hero h1 {
  font-size: clamp(2.05rem, 3vw, 3.35rem);
}

.page-hero p:not(.eyebrow) {
  font-size: 1.04rem;
  color: var(--ink-soft);
}

.about-hero {
  position: relative;
  overflow: hidden;
  min-height: min(720px, calc(100vh - 78px));
  padding: clamp(82px, 11vh, 126px) 0 clamp(74px, 10vh, 112px);
  background: #f7fbf9;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--about-hero-bg);
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 38%, rgba(255, 255, 255, 0.68) 62%, rgba(255, 255, 255, 0.36) 100%),
    radial-gradient(circle at 12% 18%, rgba(232, 247, 241, 0.82), transparent 34%);
}

.about-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 720px);
  gap: 0;
  align-items: center;
}

.about-hero-copy {
  display: grid;
  gap: 1.1rem;
  max-width: 720px;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
}

.about-hero-copy h1 {
  max-width: 17ch;
  font-size: clamp(2rem, 2.65vw, 3rem);
}

.about-hero-copy .hero-subtitle {
  max-width: 660px;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.about-hero-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.46fr;
  gap: 0.85rem;
  min-height: 470px;
}

.about-visual-main,
.about-visual-stack span {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.about-visual-main img,
.about-visual-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual-stack {
  display: grid;
  gap: 0.85rem;
}

.about-split-heading,
.about-factory-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 2rem;
  align-items: start;
}

.about-split-heading p,
.about-factory-layout > div > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.about-card-grid,
.about-product-grid,
.about-finish-grid,
.about-reason-grid {
  display: grid;
  gap: 1rem;
}

.role-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  margin-top: 2rem;
}

.about-text-card {
  min-height: 190px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.about-text-card h3,
.about-product-card h3,
.about-finish-card h3,
.about-factory-grid h3,
.about-reason-grid h3 {
  margin: 0;
}

.about-text-card p,
.about-product-card p,
.about-finish-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.about-product-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}

.about-product-card,
.about-finish-card,
.about-industry-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.about-product-card > a,
.about-product-card img {
  display: block;
}

.about-product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-product-card div,
.about-finish-card div {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.about-industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1rem;
}

.about-industry-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  min-height: 132px;
}

.about-industry-card img {
  width: 112px;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
}

.about-industry-card span {
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
}

.about-industry-card strong {
  color: var(--ink);
}

.about-industry-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.92rem;
}

.about-product-card:hover,
.about-industry-card:hover,
.about-finish-card:hover {
  transform: translateY(-2px);
  transition: transform 170ms ease, box-shadow 170ms ease;
  box-shadow: var(--shadow);
}

.about-finish-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
}

.about-finish-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.about-process-section {
  background: linear-gradient(180deg, #fff, #f8fbfa);
}

.about-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(155px, 100%), 1fr));
  gap: 0.8rem;
}

.about-timeline article {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 180px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.about-timeline article::after {
  content: "";
  position: absolute;
  right: -0.8rem;
  top: 2rem;
  width: 0.8rem;
  height: 1px;
  background: var(--line);
}

.about-timeline article:last-child::after {
  display: none;
}

.about-timeline span,
.about-reason-grid span {
  color: var(--accent);
  font-weight: 900;
}

.about-timeline h3 {
  margin: 0.75rem 0 0;
  font-size: 1rem;
}

.about-factory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 0.8rem;
}

.about-factory-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.about-factory-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-factory-grid h3 {
  padding: 0.78rem;
  font-size: 0.95rem;
}

.about-reason-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

.about-reason-grid div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  min-height: 104px;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.about-story-section {
  padding-top: 0;
}

.about-story-card {
  max-width: 920px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.about-story-card h2,
.about-story-card p {
  color: #fff;
}

.about-story-card p:not(.eyebrow) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.filter-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0.95rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.filter-head,
.catalog-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.filter-head h2 {
  font-size: 1.1rem;
}

.filter-panel label,
.quote-form label {
  display: grid;
  gap: 0.42rem;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
}

.filter-panel select,
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 0.72rem 0.82rem;
  outline: none;
}

.quote-form textarea {
  resize: vertical;
}

.filter-panel select:focus,
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27, 127, 99, 0.12);
}

.filter-note {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
}

.catalog-topline {
  margin-bottom: 1rem;
}

.catalog-topline p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 750;
}

.directory-grid .category-card {
  display: grid;
  align-content: start;
}

.directory-helper {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.directory-count-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 0.8rem;
}

.directory-count-grid a {
  display: grid;
  gap: 0.2rem;
  min-height: 92px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.directory-count-grid strong {
  color: var(--accent);
  font-size: 1.45rem;
}

.directory-count-grid span {
  color: var(--ink);
  font-weight: 800;
}

.product-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1rem;
}

.product-card {
  display: grid;
  overflow: hidden;
}

.product-category-hero {
  padding-top: clamp(3rem, 7vw, 6rem);
}

.product-category-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.product-category-hero-image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow-soft);
}

.product-category-hero-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1rem;
}

.category-overview-grid .detail-card h2 {
  font-size: 1.05rem;
}

.category-product-groups {
  display: grid;
  gap: 2rem;
}

.category-product-group {
  display: grid;
  gap: 1rem;
}

.category-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
}

.category-group-heading h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

.category-group-heading span {
  color: var(--muted);
  font-weight: 800;
}

.product-body {
  display: grid;
  gap: 1rem;
}

.product-body h2 {
  font-size: 1.2rem;
}

.meta-pairs,
.summary-list {
  display: grid;
  gap: 0.6rem;
}

.meta-pairs span,
.summary-list span {
  display: grid;
  gap: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-pairs strong,
.summary-list strong {
  color: var(--ink);
}

.empty-state {
  padding: 2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.gallery-viewer {
  display: grid;
  gap: 1rem;
}

.main-product-image {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.main-product-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.thumb-row button {
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: #fff;
}

.thumb-row button.active {
  border-color: var(--accent);
}

.thumb-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-summary {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 1.25rem;
}

.product-summary h1 {
  font-size: clamp(2.2rem, 4vw, 4.4rem);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag-row span {
  padding: 0.46rem 0.68rem;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 750;
  font-size: 0.86rem;
}

.detail-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1rem;
}

.detail-card {
  box-shadow: none;
}

.timeline-grid {
  grid-template-columns: 1.2fr repeat(3, 1fr);
  align-items: stretch;
}

.timeline-card {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: 1.1rem;
  box-shadow: none;
}

.timeline-card span {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline-card strong {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.two-column {
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 1rem 1.1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 0.8rem 0 0;
}

.quote-section {
  background: var(--ink);
  color: #fff;
}

.quote-section h2,
.quote-section .eyebrow {
  color: #fff;
}

.quote-section p {
  color: rgba(255, 255, 255, 0.76);
}

.quote-layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  align-items: start;
}

.quote-form {
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

/* Inline helper copy framing the inquiry form. Sets buyer expectation
   that the form is low-friction — required fields are few, optional
   fields exist for faster quote prep but aren't mandatory. */
.form-intro-note {
  margin: 0 0 1rem;
  color: var(--ink-soft, #5b6b78);
  font-size: 0.95rem;
  line-height: 1.55;
}
.form-optional-note {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: italic;
  text-align: right;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.1rem;
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.9rem;
}

.form-status {
  margin-top: 1rem;
  color: var(--accent-dark);
  font-weight: 750;
}

.form-status.error {
  color: #a83d3d;
}

/* ─── Issue #11: progressive form sections + dependent selects ──────
   Public form moved from a flat field grid to grouped sections with a
   primary block (always visible) and a collapsible advanced block.
   Required fields carry a small "*" marker after the label text. */

.form-section {
  margin: 0 0 1.25rem;
  padding: 0;
  border: none;
}
.form-section + .form-section {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--line);
}
.form-section-title {
  display: block;
  margin: 0 0 0.55rem;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
}
.form-field {
  display: grid;
  gap: 0.3rem;
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}
.required-marker {
  color: #c1352b;
  font-weight: 800;
  margin-left: 0.15rem;
}
.field-help {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.form-advanced {
  margin: 0.4rem 0 0.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fafbfc;
}
.form-advanced[open] {
  background: #fff;
}
.form-advanced-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.form-advanced-summary::-webkit-details-marker {
  display: none;
}
.form-advanced-summary::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  margin-right: 0.4em;
  font-weight: 800;
  color: var(--accent);
  transition: transform 150ms ease;
}
.form-advanced[open] .form-advanced-summary::before {
  content: "−";
}
.form-advanced-title {
  font-weight: 700;
  color: var(--ink);
}
.form-advanced-hint {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: right;
  flex: 1;
}
.form-advanced-body {
  padding: 0 1rem 1rem;
}

/* Dim non-applicable options in dependent selects — the buyer can
   still pick them (legacy data round-trips), but they read as
   secondary. */
.quote-form select option[data-dim="true"] {
  color: #a9b1bb;
}

.form-field-custom {
  margin-top: 0.4rem;
}
.form-field-custom input {
  width: 100%;
}

@media (max-width: 720px) {
  .form-advanced-summary {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-advanced-hint {
    text-align: left;
  }
}

.contact-card {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 1.1rem;
  box-shadow: var(--shadow-soft);
}

.contact-card h2 {
  font-size: 1.35rem;
}

.contact-row {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.contact-row strong {
  color: var(--ink);
}

.contact-row a,
.contact-row span {
  color: var(--muted);
}

.quote-help {
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--accent-light);
}

.quote-help ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.form-intro {
  margin-bottom: 1.2rem;
}

.form-intro h2 {
  font-size: clamp(1.55rem, 2vw, 2.1rem);
}

.quote-context-note {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.6rem;
  align-items: center;
  max-width: 100%;
  margin-top: 0.8rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(27, 127, 99, 0.18);
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.quote-context-note strong {
  color: var(--accent-dark);
}

.quote-context-note span {
  overflow-wrap: anywhere;
}

.b2b-content-section {
  padding-block: clamp(2.6rem, 6vw, 4.8rem);
  background: #fff;
}

.b2b-content-head {
  display: grid;
  gap: 0.55rem;
  max-width: 780px;
  margin-bottom: 1.4rem;
}

.b2b-content-head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.3vw, 2.45rem);
}

.b2b-content-head p {
  margin: 0;
  color: var(--ink-soft);
}

.b2b-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.b2b-content-card {
  min-width: 0;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.b2b-content-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
}

.b2b-content-card p,
.b2b-content-card li {
  color: var(--ink-soft);
}

.b2b-content-card .check-list,
.quote-prep-item .check-list {
  gap: 0.55rem;
  margin-top: 0.55rem;
}

.b2b-next-steps {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(27, 127, 99, 0.18);
  border-radius: var(--radius-sm);
  background: var(--accent-light);
}

.b2b-next-steps h3,
.b2b-next-steps p {
  margin: 0;
}

.b2b-next-steps p {
  margin-top: 0.35rem;
  color: var(--ink-soft);
}

.b2b-next-steps-actions {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.b2b-related-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 0.65rem;
}

.b2b-related-links a {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  background: #fff;
}

.b2b-related-links a span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
}

.b2b-related-links a:hover,
.b2b-related-links a:focus-visible {
  border-color: rgba(27, 127, 99, 0.35);
  color: var(--accent-dark);
  outline: none;
}

.quote-prep-panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.quote-prep-panel h3 {
  margin: 0;
  font-size: 1.05rem;
}

.quote-prep-panel h2 {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}

.quote-prep-panel > div > p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.quote-prep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.quote-prep-item {
  min-width: 0;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.quote-prep-item strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink);
}

.quote-prep-item ul {
  margin: 0;
  padding-left: 1.05rem;
  color: var(--ink-soft);
}

.quote-prep-item li + li {
  margin-top: 0.28rem;
}

@media (max-width: 860px) {
  .b2b-content-grid,
  .b2b-next-steps,
  .quote-prep-grid {
    grid-template-columns: 1fr;
  }

  .b2b-next-steps .button {
    justify-self: start;
  }
}

/* Two-row layout so the image stays at its natural 4:3 aspect ratio
   and the text block always shows. Without grid-template-rows the img
   inherited `height: 100%` (shared with the industry/gallery card rule
   below) and filled the entire stretched grid cell, clipping the
   <h3>/<p>/<span> behind the card boundary. */
/* ─── Stretched-link card pattern (2026-05-18) ──────────────────────
   Cards that represent real entities use this pattern so the whole
   card is one keyboard-accessible click target, with no nested <a>:
     1. .card-link-root on the article gives a positioning context.
     2. .card-link on the primary anchor gets a ::before overlay that
        absolutely covers the whole card.
     3. Secondary actions (e.g. Quote button) get
        .card-secondary-action so they remain clickable above the
        overlay.
   Hover / focus lifts the card slightly + brightens the title.       */
.card-link-root {
  position: relative;
  isolation: isolate;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card-link-root:hover,
.card-link-root:focus-within {
  transform: translateY(-2px);
}
.card-link {
  color: inherit;
  text-decoration: none;
}
.card-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.card-link:focus-visible {
  outline: none;
}
.card-link-root:focus-within {
  outline: 2px solid var(--brand, #2f7d59);
  outline-offset: 3px;
}
.card-link-root:hover .card-link,
.card-link-root:focus-within .card-link {
  color: var(--brand, #2f7d59);
}
.card-secondary-action {
  position: relative;
  z-index: 2;
}
.card-meta-link {
  display: block;
  margin-top: 0.6rem;
  position: relative;
  z-index: 2;
}
.card-meta-link a {
  position: relative;
  z-index: 2;
}

.info-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}
/* Override the shared `.industry-card img, .gallery-card img, .info-card
   img { height: 100% }` rule for info-card specifically. Aspect-ratio +
   width:100% gives the image its natural height; the body row absorbs
   the grid stretch. */
.info-card > img {
  height: auto;
}
.info-card > div {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.info-card span {
  display: block;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Taxonomy detail pages — material / printing / finish.
   These pages need to behave like mature B2B detail pages, not image
   dumps. The media is intentionally constrained so uploaded images with
   very wide/tall crops cannot dominate the first screen or push the
   title out of view. */
.taxonomy-detail-hero {
  padding: clamp(2.6rem, 5vw, 4.8rem) 0 clamp(2rem, 4vw, 3.4rem);
}

.taxonomy-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: center;
}

.taxonomy-hero-grid h1 {
  max-width: 820px;
}

.taxonomy-hero-grid .lead {
  max-width: 740px;
}

.taxonomy-hero-grid .button-row {
  margin-top: 1.35rem;
}

.taxonomy-hero-image {
  display: block;
  aspect-ratio: 4 / 3;
  max-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow-soft);
}

.taxonomy-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 820px) {
  .taxonomy-detail-hero {
    padding: 1.6rem 0 2.2rem;
  }

  .taxonomy-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }

  .taxonomy-hero-grid h1 {
    font-size: clamp(2.15rem, 12vw, 3.35rem);
    line-height: 1.02;
  }

  .taxonomy-hero-grid .lead {
    font-size: 1rem;
  }

  .taxonomy-hero-grid .button-row {
    gap: 0.65rem;
  }

  .taxonomy-hero-image {
    max-height: 280px;
  }
}

@media (max-width: 460px) {
  .taxonomy-hero-grid .button-row {
    align-items: stretch;
  }

  .taxonomy-hero-grid .button-row .button {
    width: 100%;
    justify-content: center;
  }
}

.taxonomy-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1rem;
}

.taxonomy-related-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.taxonomy-related-image {
  display: block;
  aspect-ratio: 16 / 10;
  max-height: 220px;
  overflow: hidden;
  background: var(--soft);
}

.taxonomy-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.taxonomy-related-body {
  padding: 1rem;
}

.taxonomy-related-body h3,
.taxonomy-related-body p {
  margin: 0;
}

.taxonomy-related-body p {
  margin-top: 0.55rem;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.taxonomy-chip-list,
.taxonomy-bullet-list {
  overflow-wrap: anywhere;
}

body:has(.taxonomy-detail-hero) .sticky-actions,
body:has(.industries-hero) .sticky-actions,
body:has(.quote-form) .sticky-actions {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.sticky-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  /* Below .mega-menu (z-index: 12) so the menu always wins focus when
     it overlaps. The pair was previously 15 vs 12, letting these
     floating buttons sit on top of an open mega panel. */
  z-index: 11;
  display: flex;
  gap: 0.65rem;
  transition: opacity 180ms ease, transform 180ms ease;
}

/* Fade the floating CTAs out completely while any mega menu is open
   so they stop competing for visual focus with the navigation layer.
   The body class is toggled by public/assets/app.js inside the
   hoverIntent open/close callbacks. */
body.has-mega-open .sticky-actions {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.sticky-contact {
  position: relative;
}

.sticky-contact-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: 230px;
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 50px rgba(12, 31, 43, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Invisible bridge that extends the panel's hover hit-area down to the
   trigger button. Without it, the 0.75rem gap between panel and trigger
   is a dead zone — moving the cursor across it loses the hover state. */
.sticky-contact-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: calc(0.75rem + 6px);
}

/* Visibility is now driven by JS hoverIntent (.is-open) instead of
   :hover. Keeps the panel open when the cursor briefly leaves the
   trigger → panel zone (200-300 ms grace period). */
.sticky-contact.is-open .sticky-contact-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-contact-panel::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.96);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}

.sticky-contact-panel a {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  padding: 0.58rem 0.65rem;
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.92rem;
  text-decoration: none;
}

.sticky-contact-panel a:hover,
.sticky-contact-panel a:focus-visible {
  background: var(--accent-light);
  outline: none;
}

.sticky-contact-panel a span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #eaf6f1;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 850;
}

.sticky-contact-panel a strong {
  font-size: 0.92rem;
}

/* ─── Materials & Finishes jump-nav (Tier F) ──────────────────────── */
.materials-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 auto 0.5rem;
  padding-bottom: 1rem;
  position: sticky;
  top: 76px;
  z-index: 2;
  /* Soft fade so the sticky chip row reads cleanly when overlapping content. */
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.82) 70%, transparent 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@media (max-width: 780px) {
  .materials-jump { position: static; background: transparent; backdrop-filter: none; }
}
.materials-jump a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft, #5b6b78);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.materials-jump a:hover,
.materials-jump a:focus-visible {
  background: var(--accent-light);
  color: var(--accent);
  border-color: rgba(27, 127, 99, 0.25);
  outline: none;
}
/* Anchor offset so the sticky header doesn't cover the section title. */
#paper-materials,
#printing-options,
#finishes {
  scroll-margin-top: 88px;
}
/* Per-card anchor scroll-margin so mega-menu deep-links land in view. */
.info-card[id] {
  scroll-margin-top: 96px;
}

/* ─── Homepage trim (Tier D) helpers ──────────────────────────────── */

.compact-process { gap: 0.75rem; }
.compact-process .process-step { padding: 1rem 1.05rem; }
.compact-process .process-step h3 { font-size: 1rem; }

.finish-strip-compact {
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
}
.finish-strip-compact article { padding: 0.75rem; }
.finish-strip-compact h3 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.finish-strip-compact p { font-size: 0.85rem; }

.gallery-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1rem;
}

.why-packaverse {
  display: grid;
  gap: 1.25rem;
}
.why-packaverse-head {
  max-width: 720px;
}
.why-packaverse-head h2 { margin-top: 0.2rem; }
.why-packaverse-head p { color: var(--ink-soft, #5b6b78); margin-top: 0.5rem; }
.why-packaverse-grid {
  display: grid;
  /* Auto-fit per the resilience guardrail — never overflows at any width. */
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 0.75rem;
}
.why-card {
  position: relative;
  padding: 1rem 1rem 1rem 2.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.why-card:hover {
  border-color: rgba(27, 127, 99, 0.32);
  box-shadow: var(--shadow-soft);
}
.why-card-mark {
  position: absolute;
  top: 1rem;
  left: 0.85rem;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.78rem;
}
.why-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.why-card p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft, #5b6b78);
  font-size: 0.88rem;
  line-height: 1.5;
}
.why-packaverse-inputs {
  margin-top: 0.5rem;
  padding: 1rem 1.1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}
.why-packaverse-inputs .eyebrow { color: var(--muted); }
.why-packaverse-inputs ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1.25rem;
  margin: 0.5rem 0 0;
  padding: 0;
  color: var(--ink-soft, #5b6b78);
  font-size: 0.92rem;
}
.why-packaverse-inputs li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.4rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .why-packaverse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-packaverse-inputs ul { grid-template-columns: 1fr; }
  .finish-strip-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .why-packaverse-grid { grid-template-columns: 1fr; }
  .finish-strip-compact { grid-template-columns: 1fr; }
  .gallery-grid-compact { grid-template-columns: 1fr; }
}

/* ─── About differentiation (Tier E) ──────────────────────────────── */

.about-capability-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: start;
}
.about-capability-copy p {
  color: var(--ink-soft, #5b6b78);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}
.about-capability-list {
  display: grid;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.about-capability-list li {
  display: grid;
  gap: 0.25rem;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.about-capability-list strong {
  color: var(--ink);
  font-weight: 700;
}
.about-capability-list span {
  color: var(--ink-soft, #5b6b78);
  font-size: 0.94rem;
  line-height: 1.55;
}
.about-capability-list a.text-link {
  margin-top: 0.3rem;
}

.about-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 0.95rem;
}
.about-project-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.about-project-card:hover {
  border-color: rgba(27, 127, 99, 0.28);
  box-shadow: var(--shadow-soft);
}
.about-project-card h3 {
  margin: 0 0 0.45rem;
  color: var(--accent);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.about-project-card p {
  margin: 0;
  color: var(--ink-soft, #5b6b78);
  font-size: 0.93rem;
  line-height: 1.6;
}

.about-mindset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1rem;
}
.about-mindset-card {
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.about-mindset-card .mini-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.about-mindset-card h3 {
  margin: 0.35rem 0 0.45rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}
.about-mindset-card p {
  margin: 0;
  color: var(--ink-soft, #5b6b78);
  font-size: 0.94rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .about-capability-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .about-project-grid,
  .about-mindset-grid { grid-template-columns: 1fr; }
}

/* Chassis admin-section placeholder — used when an admin-defined nav row
   points at a path that has no specific page renderer yet. */
.admin-section-hero {
  background: linear-gradient(180deg, var(--accent-light) 0%, transparent 65%);
}
.admin-section-body {
  padding: 0.5rem 0;
}
.admin-section-body p,
.admin-section-body li {
  color: var(--ink-soft, #5b6b78);
  line-height: 1.65;
}
.admin-section-body ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.55rem;
}
.admin-section-body li {
  position: relative;
  padding-left: 1.4rem;
}
.admin-section-body li::before {
  content: "•";
  position: absolute;
  left: 0.4rem;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Page breadcrumb — used by industry detail, can be reused elsewhere. */
.page-breadcrumb {
  padding: 1.1rem 0 0;
}
.page-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.page-breadcrumb li + li::before {
  content: "›";
  margin-right: 0.4rem;
  color: var(--muted);
}
.page-breadcrumb a {
  color: var(--ink-soft, #5b6b78);
  font-weight: 600;
}
.page-breadcrumb a:hover { color: var(--accent); }
.page-breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.site-footer {
  padding: 58px 0 34px;
  background:
    radial-gradient(circle at 10% 0%, rgba(27, 127, 99, 0.16), transparent 32%),
    #0b1720;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(140px, 0.85fr) minmax(150px, 0.9fr) minmax(170px, 1fr) minmax(240px, 1.15fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: start;
}
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.site-footer h2 {
  color: #fff;
}

.site-footer h2 {
  margin: 0 0 0.9rem;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  display: block;
  margin: 0.42rem 0;
  font-size: 0.94rem;
  transition: color 160ms ease, transform 160ms ease;
}

.site-footer .footer-email {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #fff;
  transform: translateX(2px);
  outline: none;
}

.site-footer p {
  margin: 0.55rem 0 0;
  font-size: 0.94rem;
  line-height: 1.65;
}

.footer-meta {
  color: rgba(255, 255, 255, 0.54) !important;
  font-size: 0.86rem !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.footer-social-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.035);
}

.footer-social-item svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.footer-social-item svg rect,
.footer-social-item svg circle,
.footer-social-item svg line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-social-item.is-disabled {
  opacity: 0.48;
  cursor: default;
}

.footer-social a.footer-social-item:hover,
.footer-social a.footer-social-item:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1040px) {
  .hero-grid,
  .product-detail-grid,
  .catalog-layout,
  .directory-helper,
  .product-category-hero-grid,
  .quote-layout,
  .capability-layout,
  .timeline-grid,
  .about-hero-grid,
  .about-split-heading,
  .about-factory-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 480px;
  }

  .category-grid,
  .category-overview-grid,
  .industry-grid,
  .product-grid,
  .related-grid,
  .detail-grid,
  .info-grid,
  .role-card-grid,
  .about-product-grid,
  .about-industry-grid,
  .about-finish-grid,
  .about-reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid,
  .finish-strip,
  .gallery-grid,
  .about-timeline,
  .about-factory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .filter-panel,
  .product-summary,
  .contact-card {
    position: static;
  }

  .filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-head,
  .filter-note {
    grid-column: 1 / -1;
  }

  .mega-menu {
    width: calc(100vw - 24px);
  }

  /* Products mega — tablet: shrink sidebar, drop to 2-col card grid */
  .mega-panel-products {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 0.85rem;
    padding: 0.85rem 0.85rem 1rem;
  }
  .mega-products-sidebar {
    padding-right: 0.7rem;
  }
  .mega-products-sidebar-item {
    padding: 0.52rem 0.62rem;
    font-size: 0.88rem;
  }
  .mega-products-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mega-products-panel-head h3 {
    font-size: 0.96rem;
  }

  .mega-panel-grid {
    grid-template-columns: 1fr;
    padding: 0.95rem 0.95rem 1rem;
  }
  .mega-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Narrower laptop — keep sidebar but drop card grid to 2 cols earlier */
@media (max-width: 1280px) {
  .mega-products-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Compact tablet — single column cards, tighter sidebar */
@media (max-width: 900px) {
  .mega-panel-products {
    grid-template-columns: 188px minmax(0, 1fr);
    padding: 0.75rem 0.75rem 0.9rem;
  }
  .mega-products-sidebar-title { padding-left: 0.3rem; padding-right: 0.3rem; }
  .mega-products-sidebar-item { font-size: 0.84rem; padding: 0.48rem 0.55rem; }
  .mega-products-card-grid { grid-template-columns: 1fr; }
  .mega-products-panel-head { padding-bottom: 0.55rem; }
  .mega-products-panel-more { font-size: 0.8rem; }
}

@media (max-width: 1240px) {
  .header-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 70px;
    display: none;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
  }

  .mega-menu {
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-mega-nav {
    display: grid;
    gap: 0.75rem;
  }

  .mobile-mega-group {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }

  .mobile-mega-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: stretch;
  }

  .mobile-mega-overview,
  .mobile-mega-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.85rem;
    color: var(--ink);
    font-weight: 850;
    overflow-wrap: anywhere;
  }

  .mobile-mega-link {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }

  .mobile-mega-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    font-weight: 850;
  }

  .mobile-mega-panel {
    display: grid;
    gap: 0.9rem;
    padding: 0 0.85rem 0.85rem;
  }

  .mobile-mega-panel[hidden] {
    display: none;
  }

  .mobile-mega-panel p {
    margin: 0;
    font-size: 0.92rem;
  }

  .mobile-mega-links {
    display: grid;
    gap: 0.55rem;
  }

  .mobile-mega-links a {
    display: grid;
    gap: 0.18rem;
    padding: 0.78rem;
    border-radius: var(--radius);
    background: var(--soft);
  }

  .mobile-mega-links strong {
    color: var(--ink);
  }

  .mobile-mega-links span {
    color: var(--muted);
    font-size: 0.86rem;
  }

  .mobile-mega-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .header-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 70px;
    display: none;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
  }

  .mega-menu {
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-mega-nav {
    display: grid;
    gap: 0.75rem;
  }

  .mobile-mega-group {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }

  .mobile-mega-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: stretch;
  }

  .mobile-mega-overview,
  .mobile-mega-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.85rem;
    color: var(--ink);
    font-weight: 850;
    overflow-wrap: anywhere;
  }

  .mobile-mega-link {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }

  .mobile-mega-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    font-weight: 850;
  }

  .mobile-mega-panel {
    display: grid;
    gap: 0.9rem;
    padding: 0 0.85rem 0.85rem;
  }

  .mobile-mega-panel[hidden] {
    display: none;
  }

  .mobile-mega-panel p {
    margin: 0;
    font-size: 0.92rem;
  }

  .mobile-mega-links {
    display: grid;
    gap: 0.55rem;
  }

  .mobile-mega-links a {
    display: grid;
    gap: 0.18rem;
    padding: 0.78rem;
    border-radius: var(--radius);
    background: var(--soft);
  }

  .mobile-mega-links strong {
    color: var(--ink);
  }

  .mobile-mega-links span {
    color: var(--muted);
    font-size: 0.86rem;
  }

  .mobile-mega-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  h1 {
    font-size: clamp(1.72rem, 7.1vw, 2.32rem);
    line-height: 1.1;
  }

  h2 {
    font-size: clamp(1.45rem, 6.2vw, 1.92rem);
  }

  .hero {
    padding: 44px 0 calc(86px + env(safe-area-inset-bottom, 0px));
  }

  .hero-stats,
  .category-grid,
  .category-overview-grid,
  .directory-count-grid,
  .industry-grid,
  .product-grid,
  .related-grid,
  .detail-grid,
  .info-grid,
  .process-grid,
  .finish-strip,
  .gallery-grid,
  .filter-panel,
  .form-grid,
  .two-column,
  .footer-grid,
  .about-product-grid,
  .about-industry-grid,
  .about-finish-grid,
  .about-timeline,
  .about-factory-grid,
  .about-reason-grid,
  .role-card-grid,
  .section-heading.split,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .hero-image.large,
  .hero-image.small {
    position: static;
    width: 100%;
    height: auto;
    border: 0;
  }

  .hero-image.large {
    grid-column: 1 / -1;
  }

  .hero-image img {
    aspect-ratio: 4 / 3;
  }

  .about-hero {
    min-height: auto;
    padding: 74px 0 72px;
  }

  .about-hero::before {
    background-position: 66% center;
  }

  .about-hero::after {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 56%, rgba(255, 255, 255, 0.7) 100%),
      radial-gradient(circle at 12% 18%, rgba(232, 247, 241, 0.82), transparent 34%);
  }

  .about-hero-copy h1 {
    max-width: 13ch;
  }

  .about-hero-visual {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .about-visual-main img,
  .about-visual-stack img {
    aspect-ratio: 4 / 3;
  }

  .about-visual-stack {
    grid-template-columns: 1fr 1fr;
  }

  .about-text-card {
    min-height: auto;
  }

  .about-industry-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .about-industry-card img {
    width: 96px;
  }

  .about-timeline article {
    min-height: auto;
  }

  .about-timeline article::after {
    display: none;
  }

  .section {
    padding: 46px 0;
  }

  .page-hero {
    padding-top: 64px;
  }

  .thumb-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .sticky-actions {
    left: 12px;
    right: 12px;
    bottom: max(10px, calc(env(safe-area-inset-bottom, 0px) + 8px));
  }

  body:has(.hero) .sticky-actions,
  body:has(.about-hero) .sticky-actions,
  body:has(.page-hero) .sticky-actions,
  body:has(.product-category-hero) .sticky-actions,
  body:has(.product-detail) .sticky-actions,
  body:has(.blog-hub-section) .sticky-actions,
  body:has(.blog-article-hero) .sticky-actions {
    display: none;
  }

  body.mobile-nav-open .sticky-actions {
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
  }

  .sticky-actions .button {
    flex: 1;
    min-width: 0;
    min-height: 42px;
    font-size: 0.93rem;
    padding-inline: 0.65rem;
  }

  .sticky-contact {
    flex: 1;
    min-width: 0;
  }

  .sticky-contact > .button {
    width: 100%;
  }

  .sticky-contact-panel {
    width: min(260px, calc(100vw - 24px));
  }

  .site-footer {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 460px) {
  .brand-name {
    font-size: 0;
  }

  .brand-name::after {
    content: attr(data-short);
    font-size: 1.08rem;
    letter-spacing: 0;
  }

  .button-row,
  .catalog-topline {
    align-items: stretch;
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-visual {
    grid-template-columns: 1fr;
  }

  .about-visual-stack {
    grid-template-columns: 1fr;
  }

  .about-industry-card {
    grid-template-columns: 1fr;
  }

  .about-industry-card img {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .sticky-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mobile-mega-actions {
    grid-template-columns: 1fr;
  }
}

/* ─── Blog ───────────────────────────────────────────────────────── */

.blog-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--accent, #1b7f63);
  z-index: 90;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.blog-hub-section {
  padding: clamp(0.85rem, 2vw, 1.35rem) 0 0.6rem;
  background: #fff;
}
.blog-hub-section > .container,
.blog-list-section > .blog-browse-shell,
.blog-article-hero-grid,
.blog-article-shell,
.blog-related-section > .container {
  width: min(1680px, calc(100% - 32px));
}
.blog-hub-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  align-items: stretch;
  padding: clamp(0.85rem, 1.8vw, 1.25rem);
  border: 1px solid var(--line, rgba(228, 235, 239, 0.95));
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft, 0 6px 18px rgba(16, 32, 43, 0.06));
}
.blog-hub-controls {
  display: grid;
  gap: 0.8rem;
}
.blog-hub-header h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.82rem, 2.55vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.blog-hub-header p {
  margin: 0;
  max-width: 620px;
  color: var(--ink-soft, #5b6b78);
  font-size: 0.98rem;
  line-height: 1.6;
}
.blog-filter-row,
.blog-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.blog-filter-row {
  padding: 0;
  min-width: 0;
  max-width: 100%;
}
.blog-tag-row {
  position: relative;
  z-index: 3;
}
.blog-tag-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 32px;
  border: 1px solid rgba(27, 127, 99, 0.14);
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  color: var(--accent, #1b7f63);
  background: var(--accent-light, #e7f5ef);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.blog-tag-chip:hover,
.blog-tag-chip.active {
  background: var(--accent, #1b7f63);
  border-color: var(--accent, #1b7f63);
  color: #fff;
}
.blog-topic-more {
  position: relative;
  z-index: 6;
}
.blog-topic-more summary {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid var(--line, rgba(228, 235, 239, 0.95));
  border-radius: 999px;
  padding: 0.38rem 0.72rem;
  color: var(--ink-soft, #5b6b78);
  background: #fff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  list-style: none;
}
.blog-topic-more summary::-webkit-details-marker { display: none; }
.blog-topic-more div {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: min(460px, calc(100vw - 48px));
  padding: 0.75rem;
  border: 1px solid var(--line, rgba(228, 235, 239, 0.95));
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft, 0 6px 18px rgba(16, 32, 43, 0.06));
}
.blog-topic-more:not([open]) div {
  display: none;
}
.blog-tag-context {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin: 0.9rem 0 0;
  color: var(--ink-soft, #5b6b78);
  font-size: 0.9rem;
}
.blog-tag-context span {
  border-left: 2px solid rgba(27, 127, 99, 0.22);
  padding-left: 0.65rem;
}
.blog-tag-context a {
  color: var(--accent, #1b7f63);
  font-weight: 700;
  text-decoration: none;
}
.blog-list-section {
  padding: clamp(0.55rem, 1.4vw, 1rem) 0 clamp(3.5rem, 6vw, 5rem);
  background: #fff;
}
.blog-browse-shell {
  display: grid;
  grid-template-columns: minmax(188px, 212px) minmax(0, 1fr);
  gap: clamp(0.85rem, 1.5vw, 1.1rem);
  align-items: start;
  min-width: 0;
}
.blog-sidebar {
  position: sticky;
  top: 92px;
  z-index: 5;
  display: grid;
  gap: 0.62rem;
  min-width: 0;
  border: 1px solid var(--line, rgba(228, 235, 239, 0.95));
  border-radius: 12px;
  padding: 0.76rem 0.68rem;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 32, 43, 0.04);
}
.blog-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}
.blog-sidebar-title {
  display: block;
  color: var(--ink, #10202b);
  font-size: 0.9rem;
}
.blog-sidebar-note {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted, #7a8a96);
  font-size: 0.74rem;
}
.blog-sidebar-nav {
  display: grid;
  gap: 0.18rem;
}
.blog-sidebar-link {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 0.42rem;
  align-items: center;
  min-height: 34px;
  border-radius: 8px;
  padding: 0.22rem 0.3rem;
  color: var(--ink-soft, #5b6b78);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
}
.blog-sidebar-link:hover,
.blog-sidebar-link.active {
  background: var(--accent-light, #e7f5ef);
  color: var(--accent, #1b7f63);
}
.blog-sidebar-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #f4f7f9;
  color: var(--ink, #10202b);
  font-size: 0.66rem;
  font-weight: 850;
}
.blog-sidebar-link.active .blog-sidebar-icon {
  background: var(--accent, #1b7f63);
  color: #fff;
}
.blog-sidebar-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.blog-sidebar-count {
  color: var(--muted, #7a8a96);
  font-size: 0.74rem;
}
.blog-theme-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  border: 1px solid var(--line, rgba(228, 235, 239, 0.95));
  border-radius: 999px;
  padding: 0.18rem;
  background: #f8fafb;
}
.blog-theme-switch button {
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft, #5b6b78);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}
.blog-theme-switch button.active,
.blog-theme-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--accent, #1b7f63);
  box-shadow: 0 1px 8px rgba(16, 32, 43, 0.08);
}
.blog-browse-main {
  min-width: 0;
}
html[data-blog-theme="dark"] .blog-hub-section,
html[data-blog-theme="dark"] .blog-list-section,
html[data-blog-theme="dark"] .blog-article-hero,
html[data-blog-theme="dark"] .blog-article-section,
html[data-blog-theme="dark"] .blog-related-section {
  background: #0f171d;
}
html[data-blog-theme="dark"] .blog-hub-header,
html[data-blog-theme="dark"] .blog-sidebar,
html[data-blog-theme="dark"] .blog-feed-card,
html[data-blog-theme="dark"] .blog-empty,
html[data-blog-theme="dark"] .blog-article-cover,
html[data-blog-theme="dark"] .blog-author-card {
  border-color: rgba(143, 163, 178, 0.22);
  background: #151f26;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}
html[data-blog-theme="dark"] .blog-hub-header h1,
html[data-blog-theme="dark"] .blog-sidebar-title,
html[data-blog-theme="dark"] .blog-day-rail strong,
html[data-blog-theme="dark"] .blog-card-title a,
html[data-blog-theme="dark"] .blog-article-hero h1,
html[data-blog-theme="dark"] .blog-related-head h2,
html[data-blog-theme="dark"] .blog-prose,
html[data-blog-theme="dark"] .blog-prose h2,
html[data-blog-theme="dark"] .blog-prose h3,
html[data-blog-theme="dark"] .blog-prose h4 {
  color: #edf7f3;
}
html[data-blog-theme="dark"] .blog-hub-header p,
html[data-blog-theme="dark"] .blog-sidebar-note,
html[data-blog-theme="dark"] .blog-sidebar-link,
html[data-blog-theme="dark"] .blog-card-meta,
html[data-blog-theme="dark"] .blog-card-excerpt,
html[data-blog-theme="dark"] .blog-card-takeaway,
html[data-blog-theme="dark"] .blog-article-hero p,
html[data-blog-theme="dark"] .blog-post-meta,
html[data-blog-theme="dark"] .blog-prose p,
html[data-blog-theme="dark"] .blog-prose li {
  color: #aab9c2;
}
html[data-blog-theme="dark"] .blog-topic-more summary,
html[data-blog-theme="dark"] .blog-theme-switch,
html[data-blog-theme="dark"] .blog-share a,
html[data-blog-theme="dark"] .blog-share button,
html[data-blog-theme="dark"] .blog-carousel-controls button {
  border-color: rgba(143, 163, 178, 0.22);
  background: #101820;
  color: #edf7f3;
}
html[data-blog-theme="dark"] .blog-theme-switch button.active,
html[data-blog-theme="dark"] .blog-theme-switch button[aria-pressed="true"],
html[data-blog-theme="dark"] .blog-topic-more div {
  border-color: rgba(143, 163, 178, 0.22);
  background: #1d2a32;
}
html[data-blog-theme="dark"] .blog-sidebar-icon,
html[data-blog-theme="dark"] .blog-card-media {
  background: #202d35;
  color: #edf7f3;
}
html[data-blog-theme="dark"] .blog-day-rail {
  border-color: rgba(143, 163, 178, 0.22);
}
html[data-blog-theme="dark"] .blog-card-takeaway,
html[data-blog-theme="dark"] .blog-tag-chip,
html[data-blog-theme="dark"] .blog-sidebar-link:hover,
html[data-blog-theme="dark"] .blog-sidebar-link.active,
html[data-blog-theme="dark"] .blog-prose blockquote {
  background: rgba(32, 140, 108, 0.16);
}
.blog-feed {
  display: grid;
  gap: 1.1rem;
}
.blog-feed-day {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0.85rem;
  min-width: 0;
}
.blog-day-rail {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 0.18rem;
  padding: 0.7rem 0.9rem 0.7rem 0;
  border-right: 1px solid var(--line, rgba(228, 235, 239, 0.95));
  color: var(--muted, #7a8a96);
  font-size: 0.82rem;
}
.blog-day-rail strong {
  color: var(--ink, #10202b);
  font-size: 0.98rem;
}
.blog-day-dot {
  position: absolute;
  right: -5px;
  top: 1.1rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent, #1b7f63);
  box-shadow: 0 0 0 4px #fff;
}
.blog-feed-list {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}
.blog-feed-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 260px) minmax(0, 1fr);
  gap: 0.9rem;
  min-width: 0;
  border: 1px solid var(--line, rgba(228, 235, 239, 0.95));
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(16, 32, 43, 0.04);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.blog-feed-card:hover {
  border-color: rgba(27, 127, 99, 0.32);
  box-shadow: var(--shadow-soft, 0 6px 18px rgba(16, 32, 43, 0.06));
  transform: translateY(-1px);
}
.blog-feed-card-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-decoration: none;
}
.blog-card-media {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 176px;
  overflow: hidden;
  background: var(--soft, #f4f7f9);
}
.blog-feed .blog-card-media {
  align-self: stretch;
  min-height: 0;
}
.blog-feed-card-featured .blog-card-media {
  min-height: 220px;
}
.blog-card-media img,
.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.blog-feed .blog-card-media img,
.blog-feed .blog-card-img,
.blog-feed .blog-card-placeholder {
  position: absolute;
  inset: 0;
}
.blog-feed-card:hover .blog-card-img { transform: scale(1.015); }
.blog-card-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 150px;
  background: var(--accent-light, #e7f5ef);
  color: rgba(27, 127, 99, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.blog-card-body {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.42rem;
  align-content: start;
  min-width: 0;
  padding: 0.95rem 1rem 0.9rem 0;
}
.blog-card-tags {
  margin-bottom: 0.1rem;
}
.blog-card-meta {
  margin: 0;
  color: var(--muted, #7a8a96);
  font-size: 0.84rem;
  line-height: 1.35;
}
.blog-card-title {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.25;
  letter-spacing: 0;
}
.blog-feed-card-featured .blog-card-title {
  font-size: clamp(1.22rem, 2vw, 1.62rem);
}
.blog-card-title a {
  position: relative;
  z-index: 3;
  color: var(--ink, #10202b);
  text-decoration: none;
  overflow-wrap: break-word;
}
.blog-card-title a:hover { color: var(--accent, #1b7f63); }
.blog-card-excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--ink-soft, #5b6b78);
  font-size: 0.94rem;
  line-height: 1.55;
}
.blog-card-takeaway {
  margin: 0.25rem 0 0;
  border-radius: 8px;
  padding: 0.52rem 0.62rem;
  background: var(--accent-light, #e7f5ef);
  color: var(--ink-soft, #5b6b78);
  font-size: 0.84rem;
  line-height: 1.45;
}
.blog-card-takeaway strong {
  color: var(--accent, #1b7f63);
}
.blog-card-readtime {
  position: absolute;
  top: 0.9rem;
  right: 0.95rem;
  color: var(--muted, #7a8a96);
  font-size: 0.78rem;
  font-weight: 700;
}
.blog-empty {
  border: 1px solid var(--line, rgba(228, 235, 239, 0.95));
  border-radius: 12px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: #fff;
  box-shadow: var(--shadow-soft, 0 6px 18px rgba(16, 32, 43, 0.06));
}
.blog-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}
.blog-pagination a:last-child { justify-self: end; }
.blog-breadcrumb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0 0;
  min-width: 0;
}
.blog-breadcrumb {
  padding: 0;
  color: var(--ink-soft, #5b6b78);
  font-size: 0.9rem;
  min-width: 0;
}
.blog-breadcrumb ol {
  justify-content: flex-start;
}
.blog-breadcrumb-current {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.blog-breadcrumb a {
  color: var(--accent, #1b7f63);
  text-decoration: none;
}
.blog-article-hero {
  padding-top: clamp(1.4rem, 3vw, 2.6rem);
  background: #fff;
}
.blog-article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: clamp(1.25rem, 3vw, 2.4rem);
  align-items: center;
}
.blog-article-hero-copy {
  min-width: 0;
}
.blog-article-hero h1 {
  margin: 0.65rem 0 0.9rem;
  max-width: 820px;
  font-size: clamp(1.86rem, 2.7vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: break-word;
}
.blog-article-hero p {
  margin: 0;
  max-width: 760px;
  color: var(--ink-soft, #5b6b78);
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.65;
}
.blog-post-meta {
  margin-top: 1rem;
  color: var(--muted, #7a8a96);
  font-size: 0.88rem;
}
.blog-article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}
.blog-article-actions .button {
  min-height: 42px;
}
.blog-article-cover {
  display: block;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line, rgba(228, 235, 239, 0.95));
  border-radius: 12px;
  background: var(--soft, #f4f7f9);
  box-shadow: var(--shadow-soft, 0 6px 18px rgba(16, 32, 43, 0.06));
}
.blog-article-cover .blog-post-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-article-section {
  padding-top: clamp(1.25rem, 3vw, 2.2rem);
}
.blog-article-shell {
  display: grid;
  grid-template-columns: minmax(188px, 220px) minmax(0, 1fr);
  gap: clamp(1rem, 2.2vw, 2rem);
  align-items: start;
  justify-content: stretch;
  min-width: 0;
}
.blog-article-tools {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 1rem;
  min-width: 0;
}
.blog-toc {
  border-left: 2px solid rgba(27, 127, 99, 0.16);
  padding-left: 1rem;
}
.blog-toc strong {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--ink, #10202b);
}
.blog-toc a,
.blog-toc-mobile a {
  display: block;
  color: var(--ink-soft, #5b6b78);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.35;
  margin: 0.55rem 0;
}
.blog-toc a.active,
.blog-toc a.is-active,
.blog-toc a:hover,
.blog-toc-mobile a.is-active,
.blog-toc-mobile a:hover {
  color: var(--accent, #1b7f63);
}
.blog-toc a.is-active {
  font-weight: 800;
  border-left: 2px solid var(--accent, #1b7f63);
  padding-left: 0.65rem;
  transform: translateX(-1rem);
}
.blog-toc .toc-depth-3 { padding-left: 0.8rem; font-size: 0.84rem; }
.blog-toc-mobile {
  display: none;
  border: 1px solid var(--line, rgba(228, 235, 239, 0.95));
  border-radius: 10px;
  padding: 1rem;
}
.blog-prose {
  width: 100%;
  max-width: 1080px;
  color: var(--ink, #10202b);
  min-width: 0;
}
.blog-prose p,
.blog-prose li {
  font-size: 1.03rem;
  line-height: 1.78;
}
.blog-prose p { margin: 0 0 1.15rem; }
.blog-prose h2,
.blog-prose h3,
.blog-prose h4 {
  margin: 2.2rem 0 0.85rem;
  line-height: 1.2;
}
.blog-prose h2 { font-size: clamp(1.55rem, 2.5vw, 1.95rem); }
.blog-prose h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); }
.blog-prose a {
  color: var(--accent, #1b7f63);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}
.blog-prose ul,
.blog-prose ol {
  padding-left: 1.5rem;
}
.blog-prose li + li {
  margin-top: 0.4rem;
}
.blog-prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent, #1b7f63);
  background: var(--accent-light, #e7f5ef);
  border-radius: 0 10px 10px 0;
}
.blog-prose code {
  background: #f1f5f4;
  border-radius: 5px;
  padding: 0.1rem 0.25rem;
  font-size: 0.9em;
}
.blog-prose pre {
  overflow: auto;
  max-width: 100%;
  padding: 1rem;
  border-radius: 10px;
  background: var(--ink, #10202b);
  color: #fff;
}
.blog-prose img {
  display: block;
  width: auto;
  max-width: min(100%, 760px);
  max-height: 460px;
  height: auto;
  margin: 1.35rem auto;
  border-radius: 12px;
  object-fit: contain;
}
.blog-prose p:has(> img:only-child) {
  margin: 1.35rem 0;
}
body:has(.blog-hub-section) .sticky-actions,
body:has(.blog-article-hero) .sticky-actions {
  display: none;
}
.blog-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 1rem 0 1.4rem;
}
.blog-share span {
  flex-basis: 100%;
  color: var(--ink-soft, #5b6b78);
  font-size: 0.88rem;
  font-weight: 700;
}
.blog-share a,
.blog-share button {
  position: relative;
  z-index: 3;
  border: 1px solid var(--line, rgba(228, 235, 239, 0.95));
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #10202b);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  padding: 0.42rem 0.72rem;
  text-decoration: none;
}
.blog-share a:hover,
.blog-share button:hover {
  border-color: rgba(27, 127, 99, 0.28);
  color: var(--accent, #1b7f63);
}
.blog-author-card {
  border: 1px solid var(--line, rgba(228, 235, 239, 0.95));
  border-radius: 12px;
  background: #f8fbf9;
  padding: clamp(1.1rem, 3vw, 1.7rem);
  margin-top: 2rem;
}
.blog-related-section {
  background: #fbfcfc;
  overflow: hidden;
}
.blog-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.blog-related-head .eyebrow {
  margin: 0 0 0.35rem;
}
.blog-related-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.78rem);
  letter-spacing: 0;
}
.blog-related-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
}
.blog-related-actions > a {
  color: var(--accent, #1b7f63);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.blog-carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.blog-carousel-controls button {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line, rgba(228, 235, 239, 0.95));
  border-radius: 999px;
  background: #fff;
  color: var(--ink, #10202b);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.blog-carousel-controls button:disabled {
  opacity: 0.38;
  cursor: default;
}
.blog-related-carousel {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  overflow-y: hidden;
  padding: 0 0 0.45rem;
  contain: paint;
}
.blog-related-track {
  display: flex;
  gap: 1rem;
  transform: translateX(var(--blog-carousel-offset, 0px));
  transition: transform 0.24s ease;
  will-change: transform;
}
.blog-related-track .blog-feed-card {
  flex: 0 0 min(380px, calc((100% - 2rem) / 3));
  grid-template-columns: 1fr;
  min-height: 100%;
}
.blog-related-track .blog-card-media {
  aspect-ratio: 16 / 10;
  height: auto;
}
.blog-related-track .blog-card-body {
  padding: 1rem;
}
.blog-related-track .blog-card-readtime {
  display: none;
}

@media (max-width: 980px) {
  .blog-hub-header,
  .blog-article-hero-grid {
    grid-template-columns: 1fr;
  }
  .blog-browse-shell {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
    gap: 0.55rem;
    padding: 0.7rem;
  }
  .blog-sidebar-head {
    display: none;
  }
  .blog-sidebar-nav {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scrollbar-width: thin;
  }
  .blog-sidebar-link {
    flex: 0 0 auto;
    width: min(210px, 72vw);
    min-height: 34px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    padding: 0.22rem 0.3rem;
    font-size: 0.8rem;
  }
  .blog-sidebar-icon {
    width: 24px;
    height: 24px;
    font-size: 0.66rem;
  }
}

@media (max-width: 720px) {
  .blog-hub-section > .container,
  .blog-list-section > .blog-browse-shell,
  .blog-article-hero-grid,
  .blog-article-shell,
  .blog-related-section > .container {
    width: min(1680px, calc(100% - 24px));
  }
  .blog-article-shell {
    grid-template-columns: 1fr;
  }
  .blog-article-tools {
    position: static;
  }
  .blog-toc { display: none; }
  .blog-toc-mobile { display: block; }
  .blog-feed-day {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .blog-day-rail {
    position: relative;
    top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--line, rgba(228, 235, 239, 0.95));
    padding: 0 0 0.5rem;
  }
  .blog-day-dot {
    position: static;
    flex: 0 0 auto;
    box-shadow: none;
  }
  .blog-feed-card,
  .blog-related-track .blog-feed-card {
    grid-template-columns: 1fr;
  }
  .blog-breadcrumb-bar,
  .blog-related-head,
  .blog-related-actions {
    align-items: flex-start;
    flex-direction: column;
  }
  .blog-related-track {
    gap: 0.8rem;
  }
  .blog-related-track .blog-feed-card {
    flex-basis: min(84vw, 320px);
  }
  .blog-card-media,
  .blog-feed-card-featured .blog-card-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .blog-feed .blog-card-media img,
  .blog-feed .blog-card-img,
  .blog-feed .blog-card-placeholder {
    position: static;
  }
  .blog-card-body {
    padding: 1rem;
  }
  .blog-card-readtime {
    position: static;
    justify-self: start;
  }
  .blog-breadcrumb-current {
    display: none;
  }
}

@media (max-width: 460px) {
  .sticky-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .sticky-actions .button {
    min-height: 42px;
    padding: 0.55rem 0.5rem;
    font-size: 0.92rem;
  }
  .blog-hub-header {
    padding: 1rem;
  }
  .blog-article-hero h1 {
    font-size: clamp(1.48rem, 6.2vw, 1.9rem);
  }
  .blog-article-section {
    padding-bottom: 2.5rem;
  }
}

/* ─── Public design audit foundation pass (2026-05-23) ──────────────
   Tightens typography, reduces duplicated CTAs, and makes B2B guidance
   faster to scan without changing public routes or schema. */

h1 {
  font-size: clamp(1.92rem, 2.65vw, 3rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.42rem, 1.75vw, 2rem);
  line-height: 1.12;
}

.hero h1 {
  font-size: clamp(2.35rem, 4.25vw, 4.7rem);
  line-height: 1.02;
}

.section {
  padding: clamp(38px, 5vw, 68px) 0;
}

.page-hero {
  padding-block: clamp(2.4rem, 5vw, 4.1rem);
}

.page-hero .container.narrow > p:not(.eyebrow) {
  max-width: 760px;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.blog-article-hero h1 {
  font-size: clamp(1.86rem, 2.6vw, 2.65rem);
  line-height: 1.08;
}

.product-summary h1,
.taxonomy-hero-grid h1 {
  font-size: clamp(2rem, 3vw, 3.15rem);
}

.product-card-quote-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  margin-top: 0.8rem;
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.product-card-quote-link:hover,
.product-card-quote-link:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.industry-browse-cues {
  display: grid;
  gap: 0.75rem;
}

.industry-browse-cues span {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
}

.industry-browse-cues strong {
  color: var(--ink);
}

.b2b-decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.b2b-card-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.7rem;
}

.b2b-card-heading span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.b2b-card-heading h3 {
  margin: 0;
}

.b2b-content-card-when_to_use {
  border-left: 4px solid var(--accent);
}

.b2b-content-card-when_not_to_use {
  border-left: 4px solid #b98232;
  background: #fffaf1;
}

.b2b-content-card-cost_moq,
.b2b-content-card-quote_preparation {
  background: #fbfdfc;
}

.b2b-content-card-cost_moq .check-list,
.b2b-content-card-quote_preparation .check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 0.75rem;
}

.b2b-content-card-cost_moq .check-list li,
.b2b-content-card-quote_preparation .check-list li {
  min-width: 0;
}

.b2b-check-list li strong {
  color: var(--ink);
  font-weight: 850;
}

.b2b-content-card-when_not_to_use .check-list li::before {
  background: #b98232;
}

.b2b-content-card-when_to_use,
.b2b-content-card-when_not_to_use {
  background: #fff;
}

.b2b-next-steps {
  border-color: rgba(27, 127, 99, 0.26);
  background: linear-gradient(135deg, #eef8f4 0%, #ffffff 72%);
}

.product-detail {
  padding-block: clamp(1.4rem, 3.2vw, 2.8rem);
}

.product-detail-grid {
  grid-template-columns: minmax(300px, 0.56fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.6rem);
  align-items: center;
}

.gallery-viewer {
  gap: 0.7rem;
}

.main-product-image img {
  aspect-ratio: 4 / 3;
  max-height: min(430px, 52vh);
}

.thumb-row {
  gap: 0.55rem;
}

.product-summary {
  position: static;
  gap: 0.82rem;
}

.product-summary h1 {
  font-size: clamp(2rem, 2.75vw, 3rem);
  line-height: 1.06;
}

.taxonomy-detail-hero {
  padding-block: clamp(1.5rem, 3vw, 2.6rem);
}

.taxonomy-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.54fr);
  gap: clamp(1rem, 3vw, 2.5rem);
}

.taxonomy-hero-grid h1 {
  font-size: clamp(1.95rem, 2.65vw, 3rem);
  line-height: 1.06;
}

.taxonomy-hero-image {
  max-height: min(360px, 48vh);
}

.quote-hero {
  padding-block: clamp(1.85rem, 4vw, 3.2rem);
}

.quote-support-panel .quote-prep-panel,
.quote-support-panel .contact-card {
  border-radius: var(--radius-sm);
}

.quote-prep-panel {
  padding: 1rem;
}

.quote-prep-panel h2 {
  font-size: 1.18rem;
}

.quote-prep-item {
  padding: 0.8rem;
}

.quote-context-note {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.52rem 0.7rem;
}

.quote-context-note strong::before {
  content: "";
  display: inline-block;
  width: 0.56rem;
  height: 0.56rem;
  margin-right: 0.38rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(27, 127, 99, 0.14);
}

.quote-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.34fr);
  gap: clamp(0.9rem, 2vw, 1.35rem);
}

.quote-cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
}

.quote-cta-layout .button-row {
  justify-content: flex-end;
}

.quote-support-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 0.75rem;
}

.quote-support-panel .contact-card {
  position: static;
}

.quote-support-panel .quote-prep-panel {
  margin-top: 0;
}

.quote-prep-panel {
  box-shadow: none;
}

.quote-prep-grid {
  grid-template-columns: 1fr;
}

.quote-context-note {
  border-radius: var(--radius-sm);
}

.public-page-quote .sticky-actions,
.public-page-products .sticky-actions,
.public-page-materials .sticky-actions,
.public-page-printing-finishes .sticky-actions,
.public-page-industries .sticky-actions,
.public-page-blog .sticky-actions,
.public-page-search .sticky-actions {
  display: none;
}

.blog-hub-section {
  padding: clamp(0.85rem, 1.8vw, 1.35rem) 0 0.55rem;
}

.blog-list-section {
  padding: clamp(0.45rem, 1vw, 0.9rem) 0 clamp(3rem, 5vw, 4rem);
}

.product-body {
  gap: 0.72rem;
}

.product-body h2 {
  font-size: 1.08rem;
}

.product-body > div > p:not(.mini-label) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 0.65rem;
}

.meta-pairs,
.summary-list {
  gap: 0.45rem;
}

.meta-pairs span,
.summary-list span {
  font-size: 0.84rem;
}

.product-card-quote-link {
  margin-top: 0.45rem;
}

.mega-panel {
  max-height: min(560px, calc(100vh - 136px));
}

.mega-card-grid {
  gap: 0.7rem;
}

.mega-card,
.mega-products-card {
  padding: 0.68rem;
}

.mega-card-image,
.mega-products-card-image {
  width: 62px;
  height: 62px;
}

.mega-card-desc,
.mega-products-card-desc {
  font-size: 0.82rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

@media (max-width: 860px) {
  h1 {
    font-size: clamp(1.78rem, 7.4vw, 2.45rem);
    line-height: 1.08;
  }

  .hero h1,
  .about-hero h1,
  .product-summary h1,
  .taxonomy-hero-grid h1,
  .blog-article-hero h1 {
    font-size: clamp(1.9rem, 8.3vw, 2.65rem);
    line-height: 1.06;
  }

  .section {
    padding: 38px 0;
  }

  .quote-layout,
  .quote-cta-layout,
  .b2b-decision-grid {
    grid-template-columns: 1fr;
  }

  .quote-cta-layout .button-row {
    justify-content: flex-start;
  }

  .quote-support-panel {
    position: static;
  }

  .quote-support-panel .quote-prep-panel {
    order: 2;
  }

  .quote-support-panel .contact-card {
    order: 1;
  }

  .b2b-content-card-cost_moq .check-list,
  .b2b-content-card-quote_preparation .check-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 0;
  }

  .brand-name::after {
    content: attr(data-short);
    font-size: 1.08rem;
  }

  .blog-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: calc(100vw - 24px);
    margin-inline: -12px;
    padding-inline: 12px;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }

  .blog-filter-row::-webkit-scrollbar {
    display: none;
  }

  .blog-tag-chip {
    flex: 0 0 auto;
  }

  .blog-topic-more div {
    left: 0;
    right: auto;
    width: min(340px, calc(100vw - 32px));
  }

  .blog-article-hero h1 {
    font-size: clamp(1.5rem, 6.4vw, 2rem);
    line-height: 1.08;
  }
}

/* Header search */
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
  margin-left: auto;
}

.header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 750;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.header-login:hover,
.header-login:focus-visible {
  color: var(--accent);
  border-color: rgba(27, 127, 99, 0.22);
  background: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(27, 127, 99, 0.08);
  outline: none;
}

.header-search {
  position: relative;
  width: clamp(150px, 14vw, 210px);
}

.header-search-form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-search-form:focus-within {
  border-color: rgba(27, 127, 99, 0.18);
  box-shadow: 0 0 0 3px rgba(27, 127, 99, 0.12);
}

.header-search-submit {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: var(--ink-soft);
  background: transparent;
  transition: color 160ms ease, background 160ms ease;
}

.header-search-submit:hover,
.header-search-submit:focus-visible {
  color: var(--accent);
  background: var(--accent-light);
  outline: none;
}

.header-search-icon {
  display: block;
}

.header-search-input {
  min-width: 0;
  width: 100%;
  min-height: 38px;
  padding: 0.45rem 0.78rem 0.45rem 0.05rem;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-size: 0.9rem;
}

.header-search-input:focus {
  outline: none;
}

.header-quote {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.4rem;
  min-height: 42px;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 14px 34px rgba(27, 127, 99, 0.16);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.header-quote::before {
  content: "";
  position: absolute;
  left: -0.52rem;
  top: 50%;
  width: 1px;
  height: 24px;
  background: var(--line, rgba(228, 235, 239, 0.95));
  transform: translateY(-50%);
}

.header-quote:hover,
.header-quote:focus-visible {
  background: var(--accent-dark, #11664f);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(27, 127, 99, 0.22);
  outline: none;
}

@media (max-width: 1240px) {
  .header-actions {
    margin-left: auto;
  }

  .header-search {
    width: clamp(132px, 20vw, 180px);
  }

  .header-quote {
    margin-left: 0.25rem;
    min-height: 40px;
    padding-inline: 0.78rem;
    font-size: 0.84rem;
  }
}

@media (max-width: 520px) {
  .header-inner {
    width: calc(100% - 24px);
    gap: 0.45rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .header-actions {
    gap: 0.25rem;
    min-width: 0;
  }

  .header-login {
    display: none;
  }

  .header-search {
    width: 40px !important;
    flex: 0 0 40px;
  }

  .header-search-form {
    display: flex;
    justify-content: center;
  }

  .header-search-input {
    display: none !important;
  }

  .header-search-input::placeholder {
    color: transparent;
  }

  .header-quote {
    margin-left: 0.08rem;
    min-height: 38px;
    padding-inline: 0.56rem;
    font-size: 0.76rem;
  }

  .header-quote::before {
    display: none;
  }

  .nav-toggle {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
  }
}

/* Search page */
.search-hero {
  padding: clamp(1.4rem, 3vw, 2.4rem) 0 clamp(0.9rem, 2vw, 1.25rem);
  text-align: center;
}

.search-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  line-height: 1.08;
  color: var(--ink);
}

.search-form {
  max-width: 620px;
  margin-inline: auto;
}

.search-input-row {
  display: flex;
  align-items: stretch;
  gap: 0.55rem;
}

.search-input {
  flex: 1;
  min-width: 0;
  padding: 0.78rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27, 127, 99, 0.14);
  outline: none;
}

.search-submit {
  white-space: nowrap;
}

.search-meta {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.search-empty {
  padding: clamp(1.6rem, 4vw, 3rem) 0;
  text-align: center;
}

.search-empty-title {
  margin: 0 0 0.55rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
}

.search-empty p {
  max-width: 480px;
  margin-inline: auto;
  color: var(--muted);
  line-height: 1.55;
}

.search-empty-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.45rem;
}

.search-suggest-label {
  width: 100%;
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-suggest-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.38rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.88rem;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.search-suggest-tag:hover,
.search-suggest-tag:focus-visible {
  border-color: rgba(27, 127, 99, 0.28);
  background: var(--accent-light);
  color: var(--accent);
  outline: none;
}

.search-group {
  margin-bottom: 1.7rem;
}

.search-group-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 0.35rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1rem;
}

.search-result {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(228, 235, 239, 0.74);
}

.search-result:last-child {
  border-bottom: 0;
}

.search-result-type {
  display: inline-flex;
  margin-bottom: 0.35rem;
  padding: 0.14rem 0.52rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.search-result-title {
  margin: 0 0 0.28rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

.search-result-title a {
  color: var(--ink);
}

.search-result-title a:hover,
.search-result-title a:focus-visible {
  color: var(--accent);
}

.search-result-excerpt {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.search-result mark {
  border-radius: 0.2rem;
  background: rgba(27, 127, 99, 0.13);
  color: inherit;
  padding: 0 0.06rem;
}

.search-footer-cta {
  margin-top: 2rem;
}

.cta-panel.compact {
  padding: clamp(1.25rem, 3vw, 1.7rem);
}

.cta-panel.compact h2 {
  margin-top: 0.3rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

@media (max-width: 640px) {
  .search-input-row {
    flex-direction: column;
  }

  .search-submit {
    justify-content: center;
    width: 100%;
  }
}
