/* ─── Design Tokens ──────────────────────────────────────────── */
:root {
  --accent:        #D97320;
  --accent-dim:    #B85E0F;
  --accent-light:  #F0891A;
  --accent-glow:   rgba(217, 115, 32, 0.15);

  --brand-blue:       #1B4A8C;
  --brand-blue-light: #2460B0;

  --background:       #FAFAF8;
  --background-alt:   #F3F2EE;
  --surface:          #ECEAE5;
  --surface-elevated: #E3E1DB;

  --dark:             #111111;
  --dark-surface:     #1C1B19;

  --foreground:    #111111;
  --muted:         #74726C;
  --muted-light:   #4A4845;

  --border:        #E0DDD6;
  --border-strong: #C8C3BA;
  --border-dark:   rgba(255, 255, 255, 0.08);

  --font-primary: "Plus Jakarta Sans", system-ui, sans-serif;

  /* Layout */
  --container-max: 1280px;
  --container-px:  clamp(1.25rem, 4vw, 4rem);
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; }
address { font-style: normal; }

::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ─── Container ──────────────────────────────────────────────── */
.a1-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

/* ─── Typography ─────────────────────────────────────────────── */
.display {
  font-family: var(--font-primary);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.93;
}

.display-sm {
  font-family: var(--font-primary);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.eyebrow {
  font-family: var(--font-primary);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--light   { color: rgba(255,255,255,0.35); }
.eyebrow--mono    { font-family: monospace; color: var(--muted); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; }
.eyebrow--dark-subtle { font-family: monospace; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.eyebrow--muted   { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.text-accent  { color: var(--accent); }
.text-white   { color: #fff; }
.not-italic   { font-style: normal; }
.block        { display: block; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn-primary,
.btn-ghost,
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 9999px;
  transition: all 0.2s;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
  transform: translateY(-1px);
}
.btn-primary:disabled,
.btn-ghost:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

/* Button spinner */
@keyframes a1-spin { to { transform: rotate(360deg); } }
.btn-spinner {
  width: 0.875em;
  height: 0.875em;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: a1-spin 0.65s linear infinite;
  flex-shrink: 0;
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--foreground);
  transform: translateY(-1px);
}

.btn-ghost-light {
  background: transparent;
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost-light:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
}

.w-full { width: 100%; }

/* ─── Section utilities ──────────────────────────────────────── */
.section-dark { background: var(--dark); }
.section-divider { width: 100%; height: 1px; background: var(--border); }
.cta-accent-line { display: block; width: 2rem; height: 2px; background: var(--accent); }

/* ─── Section header ─────────────────────────────────────────── */
.section-header { margin-bottom: 3.5rem; max-width: 32rem; display: flex; flex-direction: column; gap: 1rem; }
.section-ctas   { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.section-footer-link { margin-top: 2.5rem; }

/* ═══════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100000;
  transition: background 0.5s, border-color 0.5s, backdrop-filter 0.5s;
  background: transparent;
}

.site-header.is-scrolled,
body:not(.is-front-page) .site-header {
  background: rgba(17,17,17,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* No border on transparent homepage header */
body.is-front-page .site-header:not(.is-scrolled) {
  border-bottom: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 640px) {
  .header-inner { height: 5rem; }
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-icon {
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text {
  display: none;
  flex-direction: column;
}
@media (min-width: 640px) {
  .logo-text { display: flex; }
}
.logo-name {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: #fff;
  transition: color 0.5s;
}
.logo-tagline {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color 0.5s;
}

/* Transparent header on homepage: text adapts */
body.is-front-page .site-header:not(.is-scrolled) .logo-name    { color: var(--foreground); }
body.is-front-page .site-header:not(.is-scrolled) .logo-tagline { color: var(--muted); }

/* Desktop nav */
.header-nav { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 1024px) { .header-nav { display: flex; } }

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  color: rgba(255,255,255,0.5);
}
.nav-link:hover { color: #fff; }
.nav-link--active { color: var(--accent) !important; }

body.is-front-page .site-header:not(.is-scrolled) .nav-link         { color: var(--muted); }
body.is-front-page .site-header:not(.is-scrolled) .nav-link:hover   { color: var(--foreground); }
body.is-front-page .site-header:not(.is-scrolled) .nav-link--active { color: var(--accent); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 0.75rem; }

/* Header CTA pill matches original exactly */
.header-cta {
  border-radius: 9999px !important;
  padding: 0.625rem 1.25rem !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.07em !important;
}

.header-search-btn {
  display: none;
  width: 2.5rem; height: 2.5rem;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}
@media (min-width: 640px) { .header-search-btn { display: inline-flex; } }
.header-search-btn:hover { color: #fff; border-color: rgba(255,255,255,0.4); }

body.is-front-page .site-header:not(.is-scrolled) .header-search-btn {
  border-color: var(--border);
  color: var(--muted);
}
body.is-front-page .site-header:not(.is-scrolled) .header-search-btn:hover {
  color: var(--foreground);
  border-color: var(--foreground);
}

.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

/* Hamburger */
.header-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.5rem; height: 2.5rem;
}
@media (min-width: 1024px) { .header-hamburger { display: none; } }

.header-hamburger span {
  display: block;
  height: 1.5px;
  width: 1.25rem;
  background: #fff;
  transition: all 0.3s;
  transform-origin: center;
}
body.is-front-page .site-header:not(.is-scrolled) .header-hamburger span { background: var(--foreground); }

.header-hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translateY(6.5px); }
.header-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header-hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translateY(-6.5px); }

/* Mobile menu */
.mobile-menu {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  background: rgba(17,17,17,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.mobile-menu.is-open { max-height: 500px; }

.mobile-menu-inner { padding: 1.5rem 1.25rem; }

.mobile-search-btn,
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: #fff; }
.mobile-nav-link--cta  { color: var(--accent); }

/* ─── Search Modal ───────────────────────────────────────────── */
/* ── Floating search button (bottom-right) ── */
.sp-float-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transition: border-color 0.2s, color 0.2s;
}
.sp-float-btn:hover { border-color: var(--accent); color: var(--accent); }
@media (min-width: 640px) { .sp-float-btn { right: 1.5rem; } }

.sp-float-shortcut {
  display: none;
  font-family: monospace;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted);
}
@media (min-width: 640px) { .sp-float-shortcut { display: inline; } }

/* ── Command palette backdrop ── */
.sp-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  padding: 3rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
@media (min-width: 640px) { .sp-backdrop { padding: 5rem 1rem; } }
.sp-backdrop.is-open { opacity: 1; visibility: visible; }

/* ── Dialog box ── */
.sp-dialog {
  width: 100%;
  max-width: 48rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--background);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ── Input ── */
.sp-input-row {
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.25rem;
}
@media (min-width: 640px) { .sp-input-row { padding: 1.25rem; } }

.sp-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.875rem;
  color: var(--foreground);
  font-family: inherit;
}
@media (min-width: 640px) { .sp-input { font-size: 1rem; } }
.sp-input::placeholder { color: var(--muted); }

/* ── Results ── */
.sp-results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 0.5rem;
}
@media (min-width: 640px) { .sp-results { padding: 0.75rem; } }

/* Individual result item */
.sp-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  padding: 0.75rem;
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
  background: transparent;
}
.sp-item:hover,
.sp-item.is-active {
  background: var(--background-alt);
  border-color: var(--border);
}

.sp-item-left {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.sp-item-thumb {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sp-item-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }

.sp-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.3;
}
.sp-item-desc {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.sp-item-badge {
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid var(--border);
  padding: 0.25rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  align-self: flex-start;
  margin-top: 0.15rem;
}

/* Empty state */
.sp-empty {
  padding: 2rem 0.75rem;
  text-align: center;
}
.sp-empty-title { font-size: 0.875rem; font-weight: 500; color: var(--foreground); }
.sp-empty-sub   { font-size: 0.75rem; color: var(--muted); margin-top: 0.25rem; }

/* ── Footer ── */
.sp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
  font-size: 0.625rem;
  color: var(--muted);
}
.sp-footer-hint { letter-spacing: 0.02em; }
.sp-footer-link { color: var(--muted); transition: color 0.2s; }
.sp-footer-link:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--background);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-grid-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

.hero-content {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 64rem;
  padding-top: 7rem;
  padding-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .hero-inner { padding-top: 8rem; padding-bottom: 4rem; }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.eyebrow-line {
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.eyebrow-text {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-headline {
  color: var(--foreground);
  font-size: clamp(3.5rem, 9vw, 8.5rem);
}

.hero-divider {
  margin-top: 2.5rem;
  margin-bottom: 2rem;
  width: 100%;
  height: 1px;
  background: var(--border);
}

.hero-bottom {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 768px) {
  .hero-bottom {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.hero-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 28rem;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

.hero-badges {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.compliance-badge {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.375rem 0.75rem;
}

/* Stats bar */
.hero-stats {
  border-top: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  padding: 1.75rem 1rem;
}
.stat-item--border { border-right: 1px solid var(--border); }

.stat-value {
  display: block;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--foreground);
}
.stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT (HOMEPAGE)
═══════════════════════════════════════════════════════════════ */
.section-about {
  padding: 6rem 0;
  background: var(--dark);
}
@media (min-width: 768px) { .section-about { padding: 8rem 0; } }

.about-grid {
  display: grid;
  gap: 4rem;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
  }
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .about-left { position: sticky; top: 6rem; }
}

.about-headline { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }

.about-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  max-width: 22rem;
}

.about-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

/* Pillars */
.about-pillars {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.pillar-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pillar-num {
  font-family: monospace;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
  width: 1.5rem;
}
.pillar-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}
.pillar-body {
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCTS (HOMEPAGE)
═══════════════════════════════════════════════════════════════ */
.section-products {
  padding: 6rem 0;
  background: var(--background-alt);
}
@media (min-width: 768px) { .section-products { padding: 8rem 0; } }

.products-headline { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }

.products-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--background);
  transition: background 0.2s;
}
.product-card:hover { background: var(--surface); }

.product-card-image {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
  background: #fff;
  transition: background 0.2s;
}
.product-card:hover .product-card-image { background: #f9f9f9; }
.product-card-image img {
  object-fit: contain;
  width: 100%; height: 100%;
  transition: transform 0.5s;
}
.product-card:hover .product-card-image img { transform: scale(1.05); }

.product-card-icon-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  background: var(--background-alt);
}
.product-icon-code {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.product-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--border);
  flex: 1;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card-num { font-family: monospace; font-size: 0.625rem; letter-spacing: 0.2em; color: var(--muted); }
.product-card-arrow {
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.3s;
}
.product-card:hover .product-card-arrow { opacity: 1; transform: translateX(0); }

.product-card-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.2s;
  line-height: 1.4;
}
.product-card:hover .product-card-title { color: var(--accent); }

.product-card-desc {
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA cell */
.product-card-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 1rem;
  background: var(--dark);
}
.product-cta-label {
  font-family: monospace;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.product-cta-desc {
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.4);
}

/* ═══════════════════════════════════════════════════════════════
   INDUSTRIES (HOMEPAGE)
═══════════════════════════════════════════════════════════════ */
.section-industries {
  padding: 6rem 0;
  background: var(--dark);
}
@media (min-width: 768px) { .section-industries { padding: 8rem 0; } }

.industries-headline { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }

.industries-grid {
  display: grid;
  gap: 1px;
  background: rgba(255,255,255,0.07);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }

.industry-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--dark);
  transition: background 0.2s;
}
.industry-card:hover { background: var(--dark-surface); }

.industry-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.industry-num  { font-family: monospace; font-size: 0.625rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.25); }
.industry-icon { color: rgba(255,255,255,0.35); }

.industry-card-body { display: flex; flex-direction: column; gap: 0.5rem; }
.industry-title { font-size: 0.875rem; font-weight: 600; color: #fff; }
.industry-desc  { font-size: 0.875rem; font-weight: 300; line-height: 1.65; color: rgba(255,255,255,0.4); }

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: auto;
}
.industry-tag {
  font-family: monospace;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  color: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

/* ═══════════════════════════════════════════════════════════════
   CREDENTIALS (HOMEPAGE)
═══════════════════════════════════════════════════════════════ */
.section-credentials {
  padding: 6rem 0;
  background: var(--background);
}
@media (min-width: 768px) { .section-credentials { padding: 8rem 0; } }

.credentials-headline { font-size: clamp(2.5rem, 5.5vw, 4.5rem); }

.credentials-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  grid-template-columns: 1fr;
  margin-bottom: 3.5rem;
}
@media (min-width: 640px) { .credentials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .credentials-grid { grid-template-columns: repeat(3, 1fr); } }

.credential-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--background);
  transition: background 0.2s;
}
.credential-card:hover { background: var(--surface); }

.credential-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.credential-num   { font-family: monospace; font-size: 0.625rem; letter-spacing: 0.2em; color: var(--muted); }
.credential-badge {
  font-family: monospace;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  color: var(--accent);
  border: 1px solid var(--accent);
  background: var(--accent-glow);
}

.credential-title { font-size: 0.875rem; font-weight: 600; color: var(--foreground); margin-bottom: 0.5rem; }
.credential-desc  { font-size: 0.875rem; font-weight: 300; line-height: 1.65; color: var(--muted); }

/* Standards strip */
.standards-strip { padding-top: 2.5rem; border-top: 1px solid var(--border); }
.standards-label {
  font-family: monospace;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1.25rem;
}
.standards-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.standard-tag {
  font-family: monospace;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.2s;
  cursor: default;
}
.standard-tag:hover { background: var(--surface-elevated); }

/* ═══════════════════════════════════════════════════════════════
   CONTACT CTA (HOMEPAGE)
═══════════════════════════════════════════════════════════════ */
.section-contact-cta {
  padding: 7rem 0 9rem;
  background: var(--dark);
}
@media (min-width: 768px) { .section-contact-cta { padding: 9rem 0; } }

.contact-cta-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .contact-cta-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.contact-headline { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-top: 1rem; }

.contact-cta-sub {
  max-width: 18rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.875rem;
  line-height: 1.8;
  text-align: right;
}
@media (max-width: 768px) { .contact-cta-sub { text-align: left; max-width: 100%; } }

.contact-cta-grid {
  display: grid;
  gap: 1px;
  background: rgba(255,255,255,0.07);
  grid-template-columns: 1fr;
}
@media (min-width: 768px)  { .contact-cta-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .contact-cta-grid { grid-template-columns: repeat(4, 1fr); } }

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--dark);
  transition: background 0.2s;
}
.contact-card:hover { background: var(--dark-surface); }

.contact-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contact-card-label-mono { font-family: monospace; font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.25); }
.contact-card-icon { color: rgba(255,255,255,0.35); }
.contact-card-title { font-size: 0.875rem; font-weight: 600; color: #fff; margin-bottom: 0.75rem; }

.contact-card-lines { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-card-link {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.contact-card-link:hover { color: var(--accent); }
.contact-card-text { font-size: 0.875rem; font-weight: 300; color: rgba(255,255,255,0.45); }

/* CTA card */
.contact-cta-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--dark);
  transition: background 0.2s;
}
@media (min-width: 768px) and (max-width: 1023px) { .contact-cta-card { grid-column: span 3; } }

.contact-cta-card:hover { background: var(--dark-surface); }
.contact-cta-accent-line { display: block; width: 1.75rem; height: 2px; background: var(--accent); margin-bottom: 1.25rem; }
.contact-cta-card-title { font-size: 1.375rem; font-weight: 600; color: #fff; line-height: 1.2; margin-bottom: 0.75rem; }
.contact-cta-card-desc  { font-size: 0.875rem; font-weight: 300; line-height: 1.75; color: rgba(255,255,255,0.45); }

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO
═══════════════════════════════════════════════════════════════ */
.page-hero {
  padding-top: 8rem;
  padding-bottom: 5rem;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .page-hero { padding-top: 10rem; padding-bottom: 7rem; } }

.page-hero-inner {
  display: flex;
  flex-direction: column;
  max-width: 56rem;
}

.page-hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

/* Orange accent rule below page hero title — matches Next.js gold-rule */
.gold-rule {
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 1.5rem;
}

.page-hero-subtitle {
  font-size: 1.0625rem;
  color: var(--muted-light);
  font-weight: 300;
  line-height: 1.75;
  max-width: 42rem;
  margin-top: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════════════════ */
.about-page-stats-section {
  padding: 5rem 0 7rem;
  border-bottom: 1px solid var(--border);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--border);
  border-right: none;
  margin-bottom: 4rem;
}
@media (min-width: 768px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }

.stats-row-item {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
}

.stats-row-value {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--foreground);
  line-height: 1;
}
.stats-row-label {
  margin-top: 0.375rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-page-overview {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1024px) { .about-page-overview { grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: start; } }

.about-page-overview-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--foreground);
  margin-top: 0.75rem;
}

.about-page-text-lg { font-size: 1rem; color: var(--muted-light); line-height: 1.7; margin-top: 1.75rem; }
.about-page-text-sm { font-size: 0.875rem; color: var(--muted); line-height: 1.7; margin-top: 1rem; }

.about-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}
.about-cert-badge {
  border: 1px solid var(--border);
  padding: 0.375rem 0.75rem;
  font-family: monospace;
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Director note */
.director-note {
  border-top: 3px solid var(--accent);
  padding-top: 2rem;
}
.director-quote {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--foreground);
  margin-top: 1.5rem;
}
.director-attribution {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.director-avatar {
  width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--border);
  background: var(--background-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}
.director-name { font-size: 0.875rem; font-weight: 600; color: var(--foreground); }
.director-role { font-family: monospace; font-size: 0.625rem; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; margin-top: 0.25rem; }

/* Pillars 2x2 */
.pillars-section { padding: 5rem 0 7rem; }
.pillars-header { margin-bottom: 3.5rem; }
.pillars-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 640px) { .pillars-grid-2x2 { grid-template-columns: repeat(2, 1fr); } }

.pillar-box {
  padding: 2rem;
}
.pillar-box--border-b { border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (min-width: 640px) {
  .pillar-box { border-right: 1px solid rgba(255,255,255,0.08); }
  .pillar-box:nth-child(even) { border-right: none; }
}

.pillar-box-title { font-size: 1rem; font-weight: 600; color: #fff; margin: 1.25rem 0 0.75rem; }
.pillar-box-body  { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.65; font-weight: 300; }

/* Product range */
.about-page-range-section { padding: 5rem 0 7rem; border-bottom: 1px solid var(--border); }
.about-range-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .about-range-grid { grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; } }

.about-range-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--foreground); margin-top: 0.75rem; }

.product-range-list {
  border: 1px solid var(--border);
}
.product-range-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted-light);
  line-height: 1.5;
}
.product-range-item:last-child { border-bottom: none; }
.product-range-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.375rem;
}

/* CTA dark */
.cta-dark-section { padding: 5rem 0 7rem; }
.cta-dark-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 768px) {
  .cta-dark-inner { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.cta-dark-desc { color: rgba(255,255,255,0.45); font-size: 0.875rem; line-height: 1.75; font-weight: 300; max-width: 28rem; margin-top: 0.75rem; }
.cta-dark-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════════════ */
/* ── Contact page section ── */
.contact-page-section {
  padding: 3.5rem 0 5rem;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .contact-page-section { padding: 5rem 0; } }

.contact-page-grid { display: grid; gap: 0; }
@media (min-width: 1024px) {
  .contact-page-grid { grid-template-columns: 1fr 1.4fr; }
}

/* Left column — contact info */
.contact-info {
  padding-bottom: 2.5rem;
}
@media (min-width: 1024px) {
  .contact-info {
    padding-bottom: 0;
    padding-right: 3rem;
    border-right: 1px solid var(--border);
  }
}

.contact-info .eyebrow { margin-bottom: 1.25rem; }

.contact-info-item { padding: 1.5rem 0; }
.contact-info-item--border { border-bottom: 1px solid var(--border); }

/* eyebrow-muted style */
.contact-info-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.contact-address {
  font-size: 0.875rem;
  color: var(--muted-light);
  line-height: 1.65;
  font-style: normal;
}
.contact-links { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-link { font-size: 0.875rem; color: var(--foreground); transition: color 0.2s; }
.contact-link:hover { color: var(--accent); }

/* Right column — contact form */
.contact-form-col {
  padding-top: 2.5rem;
}
@media (min-width: 1024px) {
  .contact-form-col {
    padding-top: 0;
    padding-left: 3rem;
  }
}
.contact-form-col .eyebrow { margin-bottom: 0.5rem; }
.contact-form-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
  line-height: 1.05;
}
.contact-form-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
}
/* Contact form max-width matches Next.js max-w-xl */
#contactForm { max-width: 36rem; }

/* ── Catalogue / Datasheet section ── */
.catalogue-section {
  padding: 3.5rem 0 5rem;
}
@media (min-width: 768px) { .catalogue-section { padding: 5rem 0; } }

.catalogue-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) {
  .catalogue-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .catalogue-grid-left  { padding-right: 3rem; border-right: 1px solid rgba(255,255,255,0.08); }
  .catalogue-grid-right { padding-left: 3rem; }
}

/* Left: desc text */
.catalogue-grid-left .cta-dark-desc {
  color: rgba(255,255,255,0.45);
  font-size: 0.875rem;
  line-height: 1.65;
  font-weight: 300;
  max-width: 24rem;
  margin-top: 0.75rem;
}

/* List items */
.catalogue-items { display: flex; flex-direction: column; gap: 0; margin-top: 1.75rem; }
.catalogue-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.catalogue-item:last-child { border-bottom: none; }
.catalogue-item-arrow { color: var(--accent); font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }
.catalogue-item-text  { font-size: 0.875rem; color: rgba(255,255,255,0.5); }

/* Right: DatasheetForm — the FORM itself is the bordered box */
/* Mirrors Next.js: border border-[var(--border)] bg-[var(--surface)] p-7 max-w-md */
.datasheet-form-box {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 1.75rem;
  max-width: 28rem;
}
.datasheet-form-box .btn-primary { align-self: flex-start; }
.datasheet-form-box .datasheet-accent {
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1rem;
}
/* Mirrors: text-lg tracking-wide uppercase font-display */
.datasheet-form-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}
/* Mirrors: text-sm text-[var(--muted)] mb-5 */
.datasheet-form-sub {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   INQUIRY PAGE
═══════════════════════════════════════════════════════════════ */
.inquiry-section { padding: 3.5rem 0 5rem; border-bottom: 1px solid var(--border); }

.inquiry-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .inquiry-grid { grid-template-columns: 1fr 1.8fr; gap: 0; align-items: start; } }

.inquiry-sidebar { padding-bottom: 2.5rem; }
@media (min-width: 1024px) { .inquiry-sidebar { padding-bottom: 0; padding-right: 2.5rem; } }

.inquiry-step { padding: 1.5rem 0; }
.inquiry-step--border { border-bottom: 1px solid var(--border); }

.inquiry-step-num  { font-family: monospace; font-size: 0.625rem; letter-spacing: 0.2em; color: var(--accent); display: block; margin-bottom: 0.5rem; }
.inquiry-step-title{ font-size: 0.875rem; font-weight: 600; color: var(--foreground); margin-bottom: 0.25rem; }
.inquiry-step-body { font-size: 0.75rem; color: var(--muted); line-height: 1.6; }

.inquiry-direct-contact { padding-top: 1.5rem; border-top: 1px solid var(--border); margin-top: 1rem; }
.inquiry-direct-link { display: block; font-size: 0.875rem; color: var(--foreground); transition: color 0.2s; margin-top: 0.25rem; }
.inquiry-direct-link:hover { color: var(--accent); }
.inquiry-direct-link--muted { color: var(--muted); }

.inquiry-form-col { padding-top: 2.5rem; }
@media (min-width: 1024px) { .inquiry-form-col { padding-top: 0; padding-left: 2.5rem; border-left: 1px solid var(--border); } }

.inquiry-form-title { font-size: clamp(1.4rem, 2.5vw, 1.8rem); color: var(--foreground); }

/* ═══════════════════════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════════════════════ */
.a1-form { display: flex; flex-direction: column; gap: 1rem; }

.form-section-heading {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.25rem;
}

.form-grid-2 {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: repeat(2, 1fr); } }

.form-field { display: flex; flex-direction: column; gap: 0.375rem; }
.form-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.form-label--light { color: rgba(255,255,255,0.4); }

.form-input,
.form-textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--foreground);
  background: var(--background-alt);
  border: 1px solid var(--border);
  border-radius: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
  opacity: 0.55;
}
.form-input:hover,
.form-textarea:hover { border-color: var(--border-strong); }
.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: #ffffff;
}
.form-input:disabled,
.form-textarea:disabled { opacity: 0.55; cursor: not-allowed; }

.form-input--dark,
.form-textarea--dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}
.form-input--dark::placeholder,
.form-textarea--dark::placeholder { color: rgba(255,255,255,0.3); opacity: 1; }
.form-input--dark:hover { border-color: rgba(255,255,255,0.25); }
.form-input--dark:focus,
.form-textarea--dark:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
}

.form-textarea { resize: vertical; min-height: 7.5rem; line-height: 1.6; }

.form-submit-row { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; padding-top: 0.5rem; }

.form-status { font-size: 0.875rem; font-weight: 500; }
.form-status--success { color: var(--accent); }
.form-status--error   { color: #ef4444; }
.form-status--light   { color: rgba(255,255,255,0.7); }

/* Real-time email validation */
.form-input--error {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
}

/* Success overlay */
.form-wrap { position: relative; }
.form-success-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: var(--surface, #fff);
  border-radius: 0.75rem;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.form-success-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.form-success-overlay p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text, #1a1a1a);
  margin: 0;
}
.form-tick-svg .tick-circle {
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  transition: stroke-dashoffset 0.5s ease 0.1s;
}
.form-tick-svg .tick-check {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  transition: stroke-dashoffset 0.4s ease 0.55s;
}
.form-success-overlay.is-visible .tick-circle,
.form-success-overlay.is-visible .tick-check {
  stroke-dashoffset: 0;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCTS ARCHIVE
═══════════════════════════════════════════════════════════════ */
.products-archive-section { padding: 3.5rem 0 5rem; }

/* Category filter */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cat-filter-btn {
  display: inline-flex;
  padding: 0.4375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
  white-space: nowrap;
  transition: all 0.2s;
  text-decoration: none;
}
.cat-filter-btn:hover         { color: var(--foreground); border-color: var(--border-strong); background: var(--surface); }
.cat-filter-btn--active       { color: var(--accent); border-color: var(--accent); background: var(--accent-glow); }

.products-archive-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .products-archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products-archive-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .products-archive-grid { grid-template-columns: repeat(4, 1fr); } }

.product-archive-card {
  display: flex;
  flex-direction: column;
  background: var(--background);
  transition: background 0.2s;
}
.product-archive-card:hover { background: var(--surface); }

.product-archive-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.product-archive-img img {
  object-fit: contain;
  width: 100%; height: 100%;
  transition: transform 0.5s;
}
.product-archive-card:hover .product-archive-img img { transform: scale(1.05); }

.product-archive-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-alt);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.product-archive-content {
  padding: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.product-archive-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}
.product-archive-num   { font-family: monospace; font-size: 0.625rem; letter-spacing: 0.2em; color: var(--muted); }
.product-archive-arrow {
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.3s;
}
.product-archive-card:hover .product-archive-arrow { opacity: 1; transform: translateX(0); }

.product-archive-title   { font-size: 0.875rem; font-weight: 600; color: var(--foreground); line-height: 1.4; transition: color 0.2s; }
.product-archive-card:hover .product-archive-title { color: var(--accent); }
.product-archive-cat     { font-size: 0.6875rem; color: var(--muted); font-weight: 500; }
.product-archive-excerpt { font-size: 0.75rem; color: var(--muted); font-weight: 300; line-height: 1.5; }

/* Empty state */
.products-empty { text-align: center; padding: 5rem 1rem; }
.products-empty-title { font-size: 1.25rem; font-weight: 700; color: var(--foreground); margin-bottom: 0.5rem; }
.products-empty-desc  { color: var(--muted); font-size: 0.9375rem; }

/* ═══════════════════════════════════════════════════════════════
   SINGLE PRODUCT
═══════════════════════════════════════════════════════════════ */
.breadcrumb {
  padding-top: 4.5rem;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .breadcrumb { padding-top: 5rem; } }

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--muted);
  flex-wrap: wrap;
  padding: 0.875rem 0;
  list-style: none;
  margin: 0;
}
.breadcrumb-list li + li::before {
  content: '/';
  color: var(--muted);
  margin-right: 0.5rem;
  opacity: 0.4;
}
.breadcrumb-list a { color: var(--muted); transition: color 0.2s; }
.breadcrumb-list a:hover { color: var(--accent); }
.breadcrumb-list li:last-child { color: var(--foreground); font-weight: 400; }

.product-hero { padding: 3.5rem 0 4rem; background: var(--background); border-bottom: 1px solid var(--border); }

.product-hero-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .product-hero-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; } }

.product-hero-image {
  background: #fff;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}
.product-hero-image img { object-fit: contain; width: 100%; height: 100%; }

.product-hero-image-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.product-category-link {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: inline-block;
  transition: color 0.2s;
}
.product-category-link:hover { color: var(--accent-dim); }

.product-hero-title   { font-size: clamp(1.8rem, 4vw, 3rem); color: var(--foreground); margin-bottom: 1.25rem; }
.product-hero-excerpt { font-size: 1rem; color: var(--muted-light); line-height: 1.7; font-weight: 300; max-width: 32rem; }

.product-standards { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.product-std-badge {
  font-family: monospace;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  color: var(--accent);
  border: 1px solid var(--accent);
  background: var(--accent-glow);
}

.product-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.product-details-section { padding: 3.5rem 0 5rem; border-bottom: 1px solid var(--border); }

.product-details-grid { display: grid; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (min-width: 768px) { .product-details-grid { grid-template-columns: repeat(2, 1fr); } }

.product-detail-block { }
.product-detail-heading {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.product-feature-list { display: flex; flex-direction: column; gap: 0.625rem; }
.product-feature-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-light); line-height: 1.5; }
.product-feature-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.375rem;
}

.product-description {
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 1rem;
  color: var(--muted-light);
  line-height: 1.8;
}

/* Related products */
.related-products-section { padding: 3.5rem 0 5rem; background: var(--background-alt); }
.related-heading { font-size: 1.25rem; font-weight: 700; color: var(--foreground); margin-bottom: 2rem; }
.related-products-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .related-products-grid { grid-template-columns: repeat(3, 1fr); } }

/* ═══════════════════════════════════════════════════════════════
   BREADCRUMB
═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════════════ */
.a1-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 3rem;
  justify-content: center;
}
.a1-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--background);
  transition: all 0.2s;
}
.a1-pagination .page-numbers:hover { background: var(--surface); color: var(--foreground); border-color: var(--border-strong); }
.a1-pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }
.a1-pagination .dots { border: none; background: none; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  gap: 3rem;
  padding-top: 4rem;
  padding-bottom: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr; } }

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.footer-logo img { border-radius: 4px; }
.footer-logo-name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}
.footer-logo-sub {
  display: block;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.footer-desc {
  color: rgba(255,255,255,0.35);
  font-size: 0.875rem;
  line-height: 1.85;
  max-width: 18rem;
  margin-bottom: 1.5rem;
}

.footer-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.footer-badge {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(217,115,32,0.6);
  border: 1px solid rgba(217,115,32,0.15);
  border-radius: 6px;
  padding: 0.25rem 0.625rem;
}

.footer-col-heading {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 1.25rem;
}

.footer-col nav { display: flex; flex-direction: column; gap: 0.625rem; }

.footer-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--accent); }

.footer-contact { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-bottom: 0.25rem;
}
.footer-address {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

.footer-copy    { font-size: 0.75rem; color: rgba(255,255,255,0.2); font-weight: 500; letter-spacing: 0.05em; }
.footer-tagline { font-size: 0.75rem; color: rgba(255,255,255,0.15); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }

/* ═══════════════════════════════════════════════════════════════
   CATALOGUE WIDGET — right-side vertical strip → full panel
═══════════════════════════════════════════════════════════════ */
.cat-widget {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

/* Backdrop overlay */
.cat-widget-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  backdrop-filter: blur(0px);
  transition: background 0.7s ease, backdrop-filter 0.7s ease;
  pointer-events: none;
}
.cat-widget.is-open .cat-widget-overlay {
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(2px);
  pointer-events: auto;
}

/* The panel (strip + full content) */
.cat-widget-panel {
  position: absolute;
  right: 0;
  /* Closed: thin strip centered vertically */
  top: 50%;
  transform: translateY(-50%);
  height: 10rem;
  width: 2.5rem;
  pointer-events: auto;
  cursor: pointer;
  border: 1px solid var(--accent);
  border-right: none;
  background: rgba(217,115,32,0.82);
  box-shadow: -4px 0 20px rgba(217,115,32,0.3);
  transition: top 0.7s cubic-bezier(0.22,1,0.36,1),
              height 0.7s cubic-bezier(0.22,1,0.36,1),
              width 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1),
              background 0.7s ease,
              border-color 0.7s ease,
              box-shadow 0.7s ease;
  overflow: hidden;
}

@media (min-width: 640px) {
  .cat-widget-panel { height: 13rem; width: 3rem; }
}

.cat-widget.is-open .cat-widget-panel {
  top: 0;
  transform: translateY(0);
  height: 100%;
  width: min(480px, 100vw);
  background: var(--background-alt);
  border-color: var(--border);
  border-right: none;
  cursor: default;
  box-shadow: -20px 0 60px rgba(0,0,0,0.35);
}

/* Closed strip: vertical rotated text */
.cat-widget-strip {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s;
}
.cat-widget.is-open .cat-widget-strip { opacity: 0; pointer-events: none; }

.cat-widget-strip-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .cat-widget-strip-text { font-size: 0.6875rem; letter-spacing: 0.16em; }
}

/* Open panel content */
.cat-widget-content {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease 0.1s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cat-widget.is-open .cat-widget-content { opacity: 1; pointer-events: auto; }

.cat-widget-accent-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(217,115,32,0.8);
  z-index: 1;
}

.cat-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
/* Eyebrow + title stacked like Next.js */
.cat-widget-header-text { }
.cat-widget-eyebrow {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.375rem;
}
.cat-widget-title {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
  line-height: 1.2;
  margin: 0;
}
.cat-widget-close {
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  transition: border-color 0.2s, color 0.2s;
  border-radius: 0;
  cursor: pointer;
  flex-shrink: 0;
}
.cat-widget-close:hover { border-color: var(--accent); color: var(--accent); }

.cat-widget-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem 2rem;
  -webkit-overflow-scrolling: touch;
}

.cat-widget-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.catalogue-form { display: flex; flex-direction: column; gap: 1rem; }

.catalogue-success {
  padding: 3rem 1rem;
  text-align: center;
}
.text-accent { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════
   PROSE (content)
═══════════════════════════════════════════════════════════════ */
.prose p { margin-bottom: 1.25rem; font-size: 1rem; color: var(--muted-light); line-height: 1.8; }
.prose h2 { font-size: 1.5rem; font-weight: 700; color: var(--foreground); margin: 2rem 0 1rem; }
.prose h3 { font-size: 1.125rem; font-weight: 700; color: var(--foreground); margin: 1.5rem 0 0.75rem; }
.prose ul { margin: 1rem 0 1.25rem 1.25rem; list-style: disc; color: var(--muted-light); font-size: 0.9375rem; line-height: 1.75; }
.prose a  { color: var(--accent); text-decoration: underline; }
.prose strong { color: var(--foreground); }

/* ═══════════════════════════════════════════════════════════════
   404
═══════════════════════════════════════════════════════════════ */
.page-404 {
  min-height: calc(100vh - 1px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 7rem 0 5rem;
  overflow: hidden;
  position: relative;
}
@media (min-width: 768px) { .page-404 { padding: 9rem 0 7rem; } }

.page-404-inner { max-width: 48rem; }

.page-404-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.page-404-num {
  font-size: clamp(4.5rem, 14vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.88;
  color: var(--foreground);
  margin-bottom: 0;
}

.page-404-title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--foreground);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-404-desc {
  color: var(--muted-light);
  max-width: 36rem;
  line-height: 1.75;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.page-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-404-links {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.page-404-links-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.page-404-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-404-ql-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}
.page-404-ql-link:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════════
   PRODUCTS ARCHIVE — matches Next.js /products exactly
═══════════════════════════════════════════════════════════════ */
.products-archive-section { padding: 3.5rem 0 5rem; }

/* Header row: left (eyebrow + h2 + count) + right (tabs) */
.prod-header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .prod-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
  }
}

.prod-header-left { min-height: 5.5rem; }

.prod-header-title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--foreground);
  line-height: 1.2;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.prod-header-count {
  margin-top: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  font-family: monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  min-height: 1.2rem;
}

/* Filter tabs — rectangular (no border-radius), uppercase, small */
.prod-tabs-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  flex-shrink: 0;
  max-width: 100%;
}
@media (min-width: 1024px) { .prod-tabs-wrap { max-width: 58%; justify-content: flex-end; } }

.prod-tab {
  flex-shrink: 0;
  padding: 0.375rem 0.625rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0 !important;
  border: 1px solid var(--border);
  color: var(--muted);
  background: transparent;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  text-decoration: none;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
}
@media (min-width: 640px) { .prod-tab { padding: 0.4375rem 0.875rem; font-size: 0.625rem; } }
.prod-tab:hover { color: var(--foreground); border-color: var(--foreground); }
.prod-tab--active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Category cards grid (matches Next.js sm:grid-cols-2 lg:grid-cols-3) */
.cat-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}
@media (min-width: 640px)  { .cat-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat-cards-grid { grid-template-columns: repeat(3, 1fr); } }

/* Each category card */
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--background);
  transition: background 0.2s;
  text-decoration: none;
  overflow: hidden;
}
.cat-card:hover { background: var(--surface); }

/* Left accent bar on hover */
.cat-card-accent-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 1;
}
.cat-card:hover .cat-card-accent-bar { opacity: 1; }

/* Image: 4:3, white bg, object-contain (matches Next.js) */
.cat-card-img-wrap {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
  background: #fff;
  transition: background 0.2s;
}
.cat-card:hover .cat-card-img-wrap { background: #F9F9F9; }
.cat-card-img-wrap img {
  object-fit: contain;
  width: 100%; height: 100%;
  transition: transform 0.5s;
}
.cat-card:hover .cat-card-img-wrap img { transform: scale(1.05); }

/* Card body */
.cat-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.25rem 1.5rem;
  background: var(--surface);
}

.cat-card-eyebrow {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.cat-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.35;
  transition: color 0.2s;
  margin-bottom: 0.5rem;
}
.cat-card:hover .cat-card-title { color: var(--accent); }

.cat-card-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cat-card-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Product cards grid (when category filtered) */
.prod-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
@media (min-width: 768px)  { .prod-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; } }
@media (min-width: 1024px) { .prod-cards-grid { gap: 0; gap-or: 1px; background: var(--border); } }

.prod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  transition: background 0.2s;
  text-decoration: none;
}
@media (min-width: 1024px) { .prod-card { border: none; } }
.prod-card:hover { background: var(--background-alt); }

.prod-card-accent-bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 1;
}
.prod-card:hover .prod-card-accent-bar { opacity: 1; }

.prod-card-img {
  aspect-ratio: 4/3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.prod-card-img img {
  object-fit: contain;
  width: 100%; height: 100%;
  transition: transform 0.5s;
}
.prod-card:hover .prod-card-img img { transform: scale(1.03); }

.prod-card-placeholder {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: monospace;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.prod-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.75rem 1rem 1rem;
  background: var(--surface);
}
@media (min-width: 640px) { .prod-card-body { padding: 1rem 1.25rem 1.25rem; } }

.prod-card-cat {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.375rem;
}
@media (min-width: 640px) { .prod-card-cat { font-size: 0.625rem; } }

.prod-card-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.4;
  transition: color 0.2s;
  margin-bottom: 0.5rem;
}
@media (min-width: 1024px) { .prod-card-title { font-size: 0.9375rem; } }
.prod-card:hover .prod-card-title { color: var(--accent); }

.prod-card-desc {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prod-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.625rem;
  padding-top: 0.625rem;
  border-top: 1px solid var(--border);
}
.prod-card-spec {
  border: 1px solid var(--border);
  padding: 0.125rem 0.375rem;
  font-size: 0.5625rem;
  font-family: monospace;
  color: var(--muted);
}

.prod-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0.625rem;
}
.prod-card-view {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}
.prod-card:hover .prod-card-view { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE TWEAKS
═══════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .btn-primary, .btn-ghost, .btn-ghost-light {
    padding: 0.5625rem 1rem;
    font-size: 0.75rem;
  }
  .hero-headline { font-size: clamp(2.8rem, 12vw, 5rem); }
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT PAGE — EXTENDED (spec tables, drawings, gallery, tabs)
═══════════════════════════════════════════════════════════════ */

/* Eyebrow label (mirrors Next.js .eyebrow) */
.product-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* Divider below title */
.product-divider { height: 1px; background: var(--border); margin: 1rem 0; }

/* Image wrap — holds single image or gallery */
.product-hero-image-wrap { }

/* Single product image — aspect square, contain */
.product-hero-image {
  background: #fff;
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  overflow: hidden;
}
.product-hero-image img { object-fit: contain; width: 100%; height: 100%; }

/* Standards below image */
.product-standards-below { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.875rem; }

/* ── Gallery ───────────────────────────────────────────────── */
.product-gallery { }

.product-gallery-main {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery-slide {
  display: none;
  width: 100%;
  height: 100%;
  padding: 3rem;
  align-items: center;
  justify-content: center;
}
.product-gallery-slide.active { display: flex; }
.product-gallery-slide img { object-fit: contain; width: 100%; height: 100%; }

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 1.375rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  z-index: 2;
}
.gallery-nav:hover { background: #fff; border-color: var(--accent); color: var(--accent); }
.gallery-prev { left: 0.625rem; }
.gallery-next { right: 0.625rem; }

.gallery-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.375rem;
}
.gallery-dot {
  width: 0.375rem; height: 0.375rem;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s;
}
.gallery-dot.active { background: var(--accent); }

.product-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.gallery-thumb {
  flex-shrink: 0;
  width: 4rem; height: 4rem;
  border: 2px solid var(--border);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 0.375rem;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s;
}
.gallery-thumb:hover { border-color: rgba(217,115,32,0.5); }
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img { object-fit: contain; width: 100%; height: 100%; }

/* ── Product type / spec tab buttons ──────────────────────── */
.spec-tab-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; margin-bottom: 0.5rem; }

.spec-tab-btn {
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.spec-tab-btn:hover { border-color: var(--accent); color: var(--accent); }
.spec-tab-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Cert badges row ──────────────────────────────────────── */
.product-cert-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
}
.cert-badge { }
.cert-title {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.125rem;
}
.cert-sub {
  font-size: 0.625rem;
  font-family: monospace;
  color: var(--muted);
  margin: 0;
}

/* ── Features / detail rows ───────────────────────────────── */
.product-feature-list-rows { display: flex; flex-direction: column; }
.product-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted-light);
  line-height: 1.5;
}
.product-feature-row:last-child { border-bottom: none; }

/* Bordered variant used in hero specs inline */
.product-feature-list-rows.bordered { border: 1px solid var(--border); }
.product-feature-list-rows.bordered .product-feature-row { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); }
.product-feature-list-rows.bordered .product-feature-row:last-child { border-bottom: none; }

/* right column in detail grid */
.product-detail-right { display: flex; flex-direction: column; gap: 2.5rem; }

/* Inline specs block in hero */
.product-specs-inline { margin-top: 1.25rem; }

/* ── Specification table section ──────────────────────────── */
.product-spec-section { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid var(--border); }

.spec-section-panel { display: none; }
.spec-section-panel.active { display: block; }

.spec-section-inner { display: block; }
.spec-section-inner.has-drawing {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1024px) {
  .spec-section-inner.has-drawing {
    grid-template-columns: minmax(0,1fr) minmax(260px,38%);
    gap: 1.5rem;
  }
}

/* Table wrapper */
.spec-table-wrap {
  border: 1px solid var(--border);
  min-width: 0;
  max-width: 100%;
}
.spec-table-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.spec-table-scroll { overflow-x: auto; overscroll-behavior-x: contain; }

.spec-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.8125rem;
}
.spec-table thead tr {
  border-bottom: 1px solid var(--border);
  background: var(--background-secondary, #f9f9f9);
}
.spec-table th {
  text-align: center;
  padding: 0.75rem 1.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--foreground);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.spec-col-unit { color: var(--muted); font-weight: 600; margin-left: 0.25rem; }

.spec-table tbody tr { border-bottom: 1px solid var(--border); }
.spec-table tbody tr:last-child { border-bottom: none; }
.spec-table tbody tr:hover { background: var(--surface); }
.spec-table td {
  padding: 0.75rem 1.25rem;
  color: var(--muted);
  font-family: monospace;
  font-size: 0.75rem;
  white-space: nowrap;
  text-align: center;
}

.spec-table-notes {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--background-secondary, #f9f9f9);
}
.spec-note {
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0.25rem 0 0;
}

/* ── Technical drawing panel ──────────────────────────────── */
.spec-drawings-panel {
  border: 1px solid var(--border);
  background: #fff;
  padding: 1rem;
  min-width: 0;
}
@media (min-width: 1024px) {
  .spec-drawings-panel {
    position: sticky;
    top: 7rem;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
  }
}

.spec-drawings-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.spec-drawings-grid.multi { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .spec-drawings-grid.multi { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .spec-drawings-grid.multi { grid-template-columns: 1fr; }
}
@media (min-width: 1280px) {
  .spec-drawings-grid.multi { grid-template-columns: repeat(2, 1fr); }
}

.spec-drawing-item {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--background-secondary, #f9f9f9);
}
.spec-drawing-item img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

/* ── Related products (updated) ──────────────────────────── */
.related-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.related-view-all {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: text-decoration 0.15s;
}
.related-view-all:hover { text-decoration: underline; }

.product-archive-cat {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

/* ── Product CTA banner ───────────────────────────────────── */
.product-cta-banner {
  background: var(--dark);
  padding: 5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.product-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 768px) {
  .product-cta-inner { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.product-cta-text { }
.product-cta-line {
  display: block;
  width: 2rem; height: 2px;
  background: var(--accent);
  margin-bottom: 1.5rem;
}
.product-cta-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #fff;
  margin-bottom: 0.75rem;
}
.product-cta-sub {
  color: rgba(255,255,255,0.4);
  font-size: 0.875rem;
  line-height: 1.65;
  font-weight: 300;
  max-width: 28rem;
}

/* ── Page Loader ─────────────────────────────────────────────── */
#a1-page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--background, #0a0a0a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#a1-page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo-wrap {
  animation: loaderSpin 1.2s linear infinite;
  width: 56px;
  height: 56px;
}
.loader-logo-wrap img {
  width: 56px;
  height: 56px;
  display: block;
}
@keyframes loaderSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.loader-bar-track {
  width: 180px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent, #c8a96e);
  border-radius: 99px;
  transition: width 0.2s ease;
}

/* ── Image shimmer skeleton ──────────────────────────────────── */
img.a1-img-loading {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.04) 25%,
    rgba(255,255,255,0.10) 50%,
    rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
img.a1-img-loaded {
  animation: none;
  background: none;
}
.product-cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; flex-shrink: 0; }
