/* OPEX components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--opex-radius-sm);
  font-family: var(--opex-font-display);
  font-weight: 600;
  font-size: var(--opex-text-sm);
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: background var(--opex-transition), border-color var(--opex-transition), color var(--opex-transition);
}

.btn--accent {
  background: var(--opex-accent);
  color: var(--opex-black);
}

.btn--accent:hover {
  background: var(--opex-accent-hover);
  color: var(--opex-black);
}

.btn--dark {
  background: var(--opex-black);
  color: #fff;
}

.btn--dark:hover {
  background: var(--opex-dark);
  color: #fff;
}

.btn--ghost {
  border-color: var(--opex-border);
  background: var(--opex-surface);
}

.btn--ghost:hover {
  border-color: var(--opex-black);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--opex-space-3);
  margin-top: var(--opex-space-6);
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--opex-radius-sm);
}

.badge--demo {
  background: #111315;
  color: var(--opex-accent);
}

.badge--sale {
  background: var(--opex-accent);
  color: var(--opex-black);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--opex-space-4);
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--opex-surface);
  border: 1px solid var(--opex-border);
  border-radius: var(--opex-radius-md);
  overflow: hidden;
  transition: border-color var(--opex-transition), box-shadow var(--opex-transition);
}

.product-card:hover {
  border-color: #c8c8c2;
  box-shadow: var(--opex-shadow-sm);
}

.product-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
}

.product-card__media {
  position: relative;
  aspect-ratio: 1;
  background: #f0f0ec;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: transform 220ms ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.03);
}

.product-card__ph {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(-45deg, #e8e8e4, #e8e8e4 8px, #deded9 8px, #deded9 16px);
}

.product-card__media .badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
}

.product-card__media .badge--sale {
  left: auto;
  right: 0.5rem;
}

.product-card__body {
  padding: var(--opex-space-3) var(--opex-space-3) var(--opex-space-4);
}

.product-card__brand {
  display: block;
  font-size: var(--opex-text-xs);
  color: var(--opex-muted);
  margin-bottom: 0.25rem;
}

.product-card__title {
  font-size: var(--opex-text-sm);
  font-weight: 600;
  line-height: 1.35;
}

.product-card__price {
  margin-top: var(--opex-space-2);
  font-weight: 700;
  color: var(--opex-black);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--opex-space-3);
}

@media (min-width: 768px) {
  .cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cat-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.cat-tile__count {
  display: block;
  margin-top: 0.35rem;
  font-weight: 400;
  color: var(--opex-muted);
  font-size: var(--opex-text-xs);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--opex-space-3);
}

@media (min-width: 768px) {
  .brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .brand-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.brand-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: var(--opex-space-3);
  background: var(--opex-surface);
  border: 1px solid var(--opex-border);
  border-radius: var(--opex-radius-md);
  font-weight: 600;
  text-align: center;
}

.brand-tile:hover {
  border-color: var(--opex-black);
}

.guide-list {
  display: grid;
  gap: var(--opex-space-4);
}

@media (min-width: 768px) {
  .guide-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.guide-item {
  display: block;
  padding: var(--opex-space-5);
  background: var(--opex-surface);
  border: 1px solid var(--opex-border);
  border-radius: var(--opex-radius-md);
}

.guide-item:hover {
  border-color: #c8c8c2;
}

.guide-item h3 {
  font-size: var(--opex-text-lg);
  margin-bottom: var(--opex-space-2);
}

.guide-item p {
  color: var(--opex-muted);
  font-size: var(--opex-text-sm);
}

.why-grid {
  display: grid;
  gap: var(--opex-space-6);
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.why-item h3 {
  font-size: var(--opex-text-lg);
  margin-bottom: var(--opex-space-2);
}

.why-item p {
  color: var(--opex-muted);
  font-size: var(--opex-text-sm);
}

.seo-intro {
  font-size: var(--opex-text-sm);
  color: var(--opex-muted);
}

.seo-intro p {
  max-width: 85ch;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: var(--opex-space-2);
  margin-top: var(--opex-space-8);
}

.pagination__link {
  min-width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.6rem;
  border: 1px solid var(--opex-border);
  border-radius: var(--opex-radius-sm);
  background: var(--opex-surface);
  font-size: var(--opex-text-sm);
}

.pagination__link.is-current {
  background: var(--opex-black);
  color: #fff;
  border-color: var(--opex-black);
}

.pagination__gap {
  padding: 0.4rem;
  color: var(--opex-muted);
}

/* Product page */
.product-layout {
  display: grid;
  gap: var(--opex-space-8);
  padding: var(--opex-space-8) 0;
}

@media (min-width: 900px) {
  .product-layout {
    grid-template-columns: 45% 1fr;
    align-items: start;
  }
}

.product-gallery {
  background: var(--opex-surface);
  border: 1px solid var(--opex-border);
  border-radius: var(--opex-radius-md);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-meta__brand {
  font-size: var(--opex-text-sm);
  font-weight: 600;
  color: var(--opex-muted);
  margin-bottom: var(--opex-space-2);
}

.product-meta__brand a:hover {
  color: var(--opex-black);
}

.product-meta h1 {
  font-size: var(--opex-text-3xl);
  margin-bottom: var(--opex-space-3);
}

.product-meta__ids {
  display: flex;
  flex-wrap: wrap;
  gap: var(--opex-space-3);
  font-size: var(--opex-text-sm);
  color: var(--opex-muted);
  margin-bottom: var(--opex-space-4);
}

.product-meta__price {
  font-size: var(--opex-text-2xl);
  font-weight: 700;
  margin-bottom: var(--opex-space-2);
}

.product-meta__avail {
  font-size: var(--opex-text-sm);
  margin-bottom: var(--opex-space-4);
}

.specs-table {
  width: 100%;
  background: var(--opex-surface);
  border: 1px solid var(--opex-border);
  border-radius: var(--opex-radius-md);
  overflow: hidden;
}

.specs-table th,
.specs-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--opex-border);
  font-size: var(--opex-text-sm);
}

.specs-table th {
  width: 40%;
  font-weight: 500;
  color: var(--opex-muted);
  background: #fafaf8;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: 0;
}

.prose {
  max-width: 70ch;
}

.prose h2 {
  font-size: var(--opex-text-xl);
  margin: var(--opex-space-8) 0 var(--opex-space-3);
}

.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: var(--opex-space-4) 0;
}

.prose li {
  margin-bottom: var(--opex-space-2);
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-split {
  display: grid;
  gap: var(--opex-space-8);
}

@media (min-width: 900px) {
  .content-split {
    grid-template-columns: 220px 1fr;
  }
}

.filter-aside {
  font-size: var(--opex-text-sm);
}

.filter-aside h2 {
  font-size: var(--opex-text-base);
  margin-bottom: var(--opex-space-3);
}

.filter-aside a {
  display: block;
  padding: 0.35rem 0;
  color: var(--opex-muted);
}

.filter-aside a:hover,
.filter-aside a.is-active {
  color: var(--opex-black);
}

.search-results {
  display: grid;
  gap: var(--opex-space-3);
}

.search-hit {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--opex-space-3);
  padding: var(--opex-space-3);
  background: var(--opex-surface);
  border: 1px solid var(--opex-border);
  border-radius: var(--opex-radius-md);
}

.search-hit img {
  width: 72px;
  height: 54px;
  object-fit: contain;
  background: #ecece8;
}

.compare-table {
  width: 100%;
  overflow-x: auto;
}

.az-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: var(--opex-space-6);
}

.az-nav a {
  min-width: 2rem;
  text-align: center;
  padding: 0.35rem;
  border: 1px solid var(--opex-border);
  border-radius: var(--opex-radius-sm);
  font-size: var(--opex-text-sm);
  background: var(--opex-surface);
}

.contact-form {
  display: grid;
  gap: var(--opex-space-4);
  max-width: 32rem;
}

/* —— Completions for SSG components —— */
.btn--primary {
  background: var(--opex-black);
  color: #fff;
}
.btn--primary:hover { background: var(--opex-dark); color: #fff; }
.btn--outline {
  background: transparent;
  border-color: var(--opex-border);
  color: var(--opex-text);
}
.btn--outline:hover { border-color: var(--opex-black); }
.btn--sm { padding: 0.45rem 0.75rem; font-size: 0.8rem; }
.btn--lg { padding: 0.85rem 1.35rem; min-height: 48px; }

.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.grid--categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.grid--brands { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.grid--cat-tiles {
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}
.grid--brand-marks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .grid--cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--brand-marks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .grid--products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--brands { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grid--cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
  .grid--brand-marks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--categories { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--brand-marks { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Homepage category tiles — light studio media + quiet brand strip */
.cat-tile {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--opex-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--opex-surface);
  color: inherit;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}
.cat-tile:hover {
  border-color: #cfcfc7;
  box-shadow: 0 16px 36px rgba(14, 16, 18, 0.1);
  transform: translateY(-3px);
  color: inherit;
}
.cat-tile__media {
  position: relative;
  aspect-ratio: 5 / 3;
  background:
    radial-gradient(120% 90% at 50% 0%, #fff 0%, #f2f2ee 55%, #e8e8e2 100%);
  overflow: hidden;
}
.cat-tile__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 1.25rem 1.4rem 0.85rem;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.cat-tile:hover .cat-tile__img {
  transform: scale(1.045);
}
.cat-tile__img--empty {
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(14, 16, 18, 0.03),
      rgba(14, 16, 18, 0.03) 8px,
      transparent 8px,
      transparent 16px
    );
}
.cat-tile__brands {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: nowrap;
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--opex-border);
  background: #fafaf8;
  min-height: 48px;
  overflow: hidden;
}
.cat-tile__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  flex: 1 1 0;
  min-width: 0;
  max-width: 96px;
  padding: 0;
  background: transparent;
}
.cat-tile__brand img {
  display: block;
  height: 22px;
  width: 100%;
  max-width: 88px;
  object-fit: contain;
  object-position: center;
  filter: contrast(1.05);
}
.cat-tile__body {
  padding: 0.95rem 1.05rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid var(--opex-border);
}
.cat-tile__copy {
  min-width: 0;
}
.cat-tile__title {
  margin: 0;
  font-family: var(--opex-font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.cat-tile__meta {
  margin: 0.2rem 0 0;
  color: var(--opex-muted);
  font-size: 0.84rem;
  font-weight: 500;
}
.cat-tile__go {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--opex-border);
  background: #fff;
  color: var(--opex-black);
  font-size: 1rem;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.cat-tile:hover .cat-tile__go {
  background: var(--opex-black);
  border-color: var(--opex-black);
  color: #fff;
  transform: translateX(2px);
}

/* Brand logo marks */
.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 0.65rem;
  border-radius: 12px;
  border: 1px solid var(--opex-border);
  background: #fff;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.brand-mark img {
  width: 100%;
  max-width: 168px;
  height: 56px;
  object-fit: contain;
}
.brand-mark:hover {
  transform: translateY(-2px);
  border-color: #c8c8c2;
  box-shadow: 0 8px 20px rgba(17,19,21,0.08);
}
.brand-mark--text {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--opex-text);
  background: linear-gradient(180deg, #fff, #f6f6f3);
}
.brand-mark--text span { font-size: 0.95rem; }

.category-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--opex-border);
  border-radius: var(--opex-radius-md);
  background: var(--opex-surface);
  transition: border-color 160ms ease;
}
.category-card:hover { border-color: #bdbdb6; }
.category-card__title { font-size: 1rem; margin: 0; }
.category-card__count { color: var(--opex-muted); font-size: 0.85rem; margin: 0.25rem 0 0; }
.category-card__arrow { color: var(--opex-muted); }

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  border: 1px solid var(--opex-border);
  border-radius: var(--opex-radius-md);
  padding: 0.75rem;
  color: var(--opex-muted);
  filter: grayscale(1);
  transition: filter 160ms ease, color 160ms ease, border-color 160ms ease;
}
.brand-logo:hover { filter: none; color: var(--opex-text); border-color: #bdbdb6; }
.brand-logo__name { font-weight: 600; font-size: 0.9rem; text-align: center; }

.brand-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--opex-border);
}

/* CTA layout owned by storefront.css (.product-card__cta) */
.product-card__sku, .product-card__cat { color: var(--opex-muted); font-size: 0.8rem; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; }
.price__current { font-weight: 700; }
.price__old { text-decoration: line-through; color: var(--opex-muted); font-size: 0.9rem; }
.price__note { display: block; width: 100%; color: var(--opex-muted); font-size: 0.8rem; margin-top: 0.35rem; }

.search-dropdown {
  position: absolute;
  z-index: 50;
  left: 0; right: 0; top: calc(100% + 4px);
  background: var(--opex-surface);
  border: 1px solid var(--opex-border);
  border-radius: var(--opex-radius-md);
  box-shadow: 0 8px 24px rgba(17,19,21,0.08);
  max-height: 360px;
  overflow: auto;
}
.search-form { position: relative; }
.search-dropdown__label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--opex-muted); padding: 0.6rem 0.85rem 0.25rem;
}
.search-dropdown__item {
  display: flex; gap: 0.65rem; align-items: center;
  padding: 0.55rem 0.85rem; border-top: 1px solid var(--opex-border);
}
.search-dropdown__item img { width: 40px; height: 40px; object-fit: contain; background: #f0f0ec; }
.search-dropdown__item small { display: block; color: var(--opex-muted); }
.search-dropdown__all { display: block; padding: 0.75rem 0.85rem; border-top: 1px solid var(--opex-border); font-weight: 600; }

.pagination { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1.5rem; }
.pagination__link {
  min-width: 2.25rem; height: 2.25rem; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--opex-border); border-radius: var(--opex-radius-sm);
}
.pagination__link.is-active { background: var(--opex-black); color: #fff; border-color: var(--opex-black); }

.empty-state { color: var(--opex-muted); padding: 2rem 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--opex-border);
  border-radius: var(--opex-radius-sm);
  margin: 0 0.35rem 0.35rem 0;
  font-size: 0.85rem;
  font-weight: 600;
  background: #fff;
  color: var(--opex-text);
  text-decoration: none;
}
.chip:hover {
  border-color: var(--opex-action);
  color: var(--opex-action);
}
.chip__count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--opex-muted);
}
.chip--muted {
  background: #f4f3f0;
  font-weight: 600;
}

/* Horizontal product rails (shop homepage) */
.product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 260px);
  gap: 0.9rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.product-rail > .product-card {
  scroll-snap-align: start;
  min-width: 0;
}
.product-rail::-webkit-scrollbar { height: 6px; }
.product-rail::-webkit-scrollbar-thumb {
  background: #cfcfc7;
  border-radius: 999px;
}

/* Mid-page promo banners */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .promo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
.promo-banner {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  min-height: 180px;
  border: 1px solid var(--opex-border);
  background: #171a1e;
  color: #fff;
}
.promo-banner__media {
  position: absolute;
  inset: 0;
}
.promo-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 85% center;
  padding: 1.25rem 1rem 1.25rem 42%;
  opacity: 0.9;
  background:
    radial-gradient(80% 80% at 80% 50%, rgba(255,255,255,0.12), transparent 70%),
    linear-gradient(135deg, #14171b, #232830);
}
.promo-banner__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  min-height: 180px;
  padding: 1.15rem 1.2rem;
  background: linear-gradient(90deg, rgba(12,14,16,0.92) 0%, rgba(12,14,16,0.72) 48%, rgba(12,14,16,0.2) 100%);
}
.promo-banner__kicker {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.02em;
}
.promo-banner__title {
  font-family: var(--opex-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.promo-banner__cta {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--opex-accent);
}
.promo-banner:hover .promo-banner__cta { color: #fff; }
.promo-banner:hover .promo-banner__media img { transform: scale(1.04); }
.promo-banner__media img { transition: transform 280ms ease; }

.section { padding: 2.5rem 0; }
.section--tight { padding: 1.5rem 0; }
.section__head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.25rem; }
.section__title { margin: 0; font-size: var(--opex-text-2xl); }
.section__lead { margin: 0.35rem 0 0; color: var(--opex-muted); }
.page-hero {
  background: #fafaf8;
  color: var(--opex-text);
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--opex-border);
}
.page-hero h1 { color: var(--opex-black); margin: 0 0 0.5rem; font-size: var(--opex-text-3xl); max-width: none; }
.page-hero p { color: var(--opex-muted); max-width: 46ch; margin: 0; }
.page-hero--compact { padding: 1.5rem 0; }
.page-hero--compact h1 { font-size: var(--opex-text-2xl); }
.cta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1.25rem 1.5rem; border: 1px solid var(--opex-border); border-radius: var(--opex-radius-md);
  background: var(--opex-surface);
}
.cta__title { font-weight: 700; }
.cta__text { color: var(--opex-muted); margin: 0.25rem 0 0; }
.card { border: 1px solid var(--opex-border); border-radius: var(--opex-radius-md); padding: 1rem; background: var(--opex-surface); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; font-size: 0.85rem; color: var(--opex-muted); margin: 1rem 0 1.5rem; }
.breadcrumbs a { color: var(--opex-muted); }
.breadcrumbs__sep { opacity: 0.5; }
.u-muted { color: var(--opex-muted); }
.u-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;
}
.mega-nav__group { min-width: 160px; }
.mega-nav__parent { font-weight: 700; display: block; margin-bottom: 0.35rem; }
.mega-nav__children { list-style: none; padding: 0; margin: 0; font-size: 0.85rem; }
.mega-nav__children a { color: var(--opex-muted); }
.mega-nav__children a:hover { color: var(--opex-text); }
.cat-dir__group h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.cat-dir__children { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.header-links { display: none; gap: 1rem; }
@media (min-width: 1024px) { .header-links { display: flex; } }
.site-footer { background: var(--opex-dark); color: #c8c8c2; padding: 2.5rem 0 1.5rem; margin-top: 3rem; }
.site-footer a { color: #e8e8e2; }
