:root {
  --ep-ink: #29292b;
  --ep-charcoal: #505052;
  --ep-charcoal-dark: #242426;
  --ep-orange: #f8b31e;
  --ep-orange-soft: #ffc84a;
  --ep-orange-deep: #885300;
  --ep-green: var(--ep-charcoal);
  --ep-green-dark: var(--ep-charcoal-dark);
  --ep-gold: var(--ep-orange);
  --ep-paper: #ece9e2;
  --ep-cream: #f7f5f0;
  --ep-white: #ffffff;
  --ep-muted: #686769;
  --ep-line: rgba(41, 41, 43, 0.14);
  --ep-line-inverse: rgba(255, 255, 255, 0.16);
  --ep-shadow-sm: 0 12px 34px rgba(36, 36, 38, 0.08);
  --ep-shadow-lg: 0 34px 84px rgba(12, 12, 14, 0.28);
  --ep-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ep-ease-standard: cubic-bezier(0.2, 0.65, 0.3, 1);
  --ep-container: 1200px;

  /* Keep every remaining legacy component inside the corporate palette. */
  --c-bg: var(--ep-paper);
  --c-bg-warm: var(--ep-cream);
  --c-bg-white: var(--ep-white);
  --c-ink: var(--ep-ink);
  --c-ink-2: var(--ep-charcoal-dark);
  --c-muted: var(--ep-muted);
  --c-muted-light: #918f8d;
  --c-yellow: var(--ep-orange);
  --c-yellow-light: var(--ep-orange-soft);
  --c-yellow-dark: var(--ep-orange-deep);
  --c-yellow-glow: rgba(248, 179, 30, 0.22);
  --c-green: var(--ep-charcoal);
  --c-green-2: var(--ep-charcoal-dark);
  --c-green-light: #68686a;
  --c-line: var(--ep-line);
  --c-line-strong: rgba(41, 41, 43, 0.22);
  --font-sans: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

body:not(.admin-app-body) {
  color: var(--ep-ink);
  background: var(--ep-cream);
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body:not(.admin-app-body) .container {
  width: min(calc(100% - 48px), var(--ep-container)) !important;
  max-width: none !important;
  margin-inline: auto;
  padding-inline: 0 !important;
}

body:not(.admin-app-body) a {
  text-underline-offset: 0.22em;
}

body:not(.admin-app-body) [hidden] {
  display: none !important;
}

.hp-eyebrow {
  display: block;
  position: relative;
  margin: 0 0 20px;
  padding-left: 18px;
  color: var(--ep-charcoal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.hp-eyebrow::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: var(--ep-orange);
  content: "";
  transform: translateY(-50%);
}

/* Header */
.market-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-top: 3px solid var(--ep-orange) !important;
  border-bottom: 1px solid var(--ep-line) !important;
  background: rgba(247, 245, 240, 0.92) !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px) saturate(1.15);
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.market-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 10px 30px rgba(36, 36, 38, 0.08) !important;
}

.market-header-main {
  min-height: 76px !important;
  gap: 32px !important;
}

.market-logo img {
  width: 154px !important;
  height: auto !important;
}

.market-search {
  max-width: 360px !important;
  min-height: 42px !important;
  border: 1px solid var(--ep-line) !important;
  border-radius: 2px !important;
  background: var(--ep-white) !important;
  box-shadow: none !important;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.market-search:focus-within {
  border-color: rgba(248, 179, 30, 0.82) !important;
  box-shadow: 0 0 0 3px rgba(248, 179, 30, 0.13) !important;
}

.market-search input,
.market-search button {
  min-height: 40px !important;
}

.market-search input {
  font-size: 0.86rem !important;
}

.market-search button {
  padding-inline: 16px !important;
  border-left: 1px solid var(--ep-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ep-charcoal-dark) !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
}

.market-simple-nav {
  gap: 28px !important;
}

.market-simple-nav a {
  padding: 28px 0 26px !important;
  border-bottom: 2px solid transparent;
  border-radius: 0 !important;
  color: var(--ep-ink) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  background: transparent !important;
  transition: color 180ms ease, border-color 180ms ease;
}

.market-simple-nav a::after {
  display: none !important;
}

.market-simple-nav a:hover,
.market-simple-nav a:focus-visible,
.market-simple-nav a.is-active {
  border-bottom-color: var(--ep-orange);
  color: var(--ep-charcoal-dark) !important;
}

/* Home */
.hp-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 14%, rgba(248, 179, 30, 0.1), transparent 32%),
    linear-gradient(135deg, #222224 0%, #303033 56%, #29292b 100%);
  color: #fff;
}

.hp-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(160px, 22vw, 340px);
  height: 6px;
  background: var(--ep-orange);
  content: "";
}

.hp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(48px, 6vw, 80px);
  min-height: 660px;
  padding-block: 62px 68px !important;
}

.hp-hero-copy {
  padding-block: 0;
}

.hp-hero-brand {
  width: min(100%, 370px);
  margin: 0 0 32px;
  padding: 17px 23px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-left: 5px solid var(--ep-orange);
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.hp-hero-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.hp-hero .hp-eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.hp-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.1rem, 4.6vw, 4.7rem);
  font-weight: 650;
  letter-spacing: -0.052em;
  line-height: 0.99;
}

.hp-hero h1 em {
  color: var(--ep-orange);
  font-style: normal;
  font-weight: 700;
}

.hp-hero-copy > p {
  max-width: 530px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.65;
}

.hp-hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}

.hp-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--ep-orange);
  border-radius: 2px;
  background: var(--ep-orange);
  color: var(--ep-charcoal-dark) !important;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(248, 179, 30, 0.14);
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms var(--ep-ease-standard);
}

.hp-primary-action:hover {
  border-color: #fff;
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.hp-primary-action span {
  color: currentColor;
}

.hp-secondary-action {
  color: #fff !important;
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.38);
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.hp-secondary-action:hover {
  color: var(--ep-orange-soft) !important;
  text-decoration-color: currentColor;
}

.hp-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 42px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hp-hero-metrics div + div {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hp-hero-metrics dt {
  margin: 0 0 5px;
  color: var(--ep-orange);
  font-size: 1.18rem;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.hp-hero-metrics dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
  line-height: 1.35;
}

.hp-hero-media,
.hp-proof-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 4px;
  background: #e6dfd2;
}

.hp-hero-media {
  aspect-ratio: 1 / 1.02;
  border-bottom: 5px solid var(--ep-orange);
  border-radius: 2px;
  box-shadow: var(--ep-shadow-lg);
}

.hp-hero-media > img,
.hp-proof-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-hero-media > img {
  filter: saturate(0.82) contrast(1.03);
}

.hp-hero-media figcaption {
  position: absolute;
  inset: auto 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 2px;
  background: rgba(36, 36, 38, 0.92);
  color: #fff;
  backdrop-filter: blur(10px);
}

.hp-hero-media figcaption span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hp-hero-media figcaption strong {
  font-size: 0.77rem;
  font-weight: 600;
}

.hp-products,
.hp-catalog {
  background: var(--ep-cream);
}

.hp-products {
  padding: 96px 0 104px;
}

.hp-section-head {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 42px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ep-line);
}

.hp-section-head::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 68px;
  height: 3px;
  background: var(--ep-orange);
  content: "";
}

.hp-section-head .hp-eyebrow {
  margin-bottom: 14px;
}

.hp-section-head h2,
.hp-proof-copy h2,
.hp-reference-layout h2,
.hp-variant-section h2,
.hp-contact-primary h2,
.hp-contact-process h2 {
  margin: 0;
  color: var(--ep-ink);
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.hp-section-head > a,
.hp-text-link {
  flex: 0 0 auto;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: var(--ep-charcoal-dark) !important;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
}

.hp-section-head > a:hover,
.hp-text-link:hover {
  border-color: var(--ep-orange);
  color: var(--ep-orange-deep) !important;
}

.hp-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 22px;
}

.hp-product-card {
  min-width: 0;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.market-product-card.hp-product-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.hp-product-card-link {
  display: block;
  color: inherit !important;
  text-decoration: none !important;
}

.hp-product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1.08;
  border: 1px solid rgba(41, 41, 43, 0.08);
  border-radius: 3px;
  background: #e9e4db;
  box-shadow: 0 0 0 rgba(36, 36, 38, 0);
  transition: border-color 240ms ease, box-shadow 240ms ease;
}

.hp-product-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 520ms var(--ep-ease-out), filter 240ms ease;
}

.hp-product-card-link:hover .hp-product-media img {
  filter: saturate(1);
  transform: scale(1.018);
}

.hp-product-card-link:hover .hp-product-media {
  border-color: rgba(248, 179, 30, 0.62);
  box-shadow: var(--ep-shadow-sm);
}

.hp-product-body {
  padding: 16px 0 0 !important;
}

.hp-product-body > span {
  display: block;
  margin-bottom: 8px;
  color: var(--ep-muted);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hp-product-body > div {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.hp-product-body h3 {
  margin: 0;
  color: var(--ep-ink);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.hp-product-arrow {
  color: var(--ep-orange-deep);
  font-size: 1rem;
  transition: color 180ms ease, transform 220ms var(--ep-ease-out);
}

.hp-product-card-link:hover .hp-product-arrow {
  transform: translate(2px, -2px);
}

.hp-proof {
  padding: 104px 0;
  background:
    linear-gradient(125deg, rgba(248, 179, 30, 0.045), transparent 42%),
    linear-gradient(135deg, #3b3b3d, #505052);
  color: #fff;
}

.hp-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: clamp(56px, 8vw, 112px);
}

.hp-proof-media {
  aspect-ratio: 1.15 / 1;
}

.hp-proof-copy .hp-eyebrow,
.hp-proof-copy .hp-text-link {
  color: #fff !important;
}

.hp-proof-copy h2 {
  color: #fff;
}

.hp-proof-copy > p {
  max-width: 480px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.75;
}

.hp-proof-list {
  margin: 0 0 36px;
}

.hp-proof-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hp-proof-list div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.hp-proof-list dt {
  color: var(--ep-orange);
  font-size: 0.7rem;
  font-weight: 700;
}

.hp-proof-list dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.86rem;
}

.hp-references {
  padding: 88px 0 96px;
  background: var(--ep-paper);
}

.hp-reference-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: start;
  gap: 72px;
}

.hp-reference-layout h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.75rem);
}

.hp-reference-layout .home-reference-rail {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  animation: none !important;
}

.hp-reference-layout .home-reference-card {
  display: grid;
  min-width: 0 !important;
  min-height: 96px;
  place-items: center;
  margin: -1px 0 0 -1px !important;
  padding: 20px;
  border: 1px solid var(--ep-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hp-reference-layout .home-reference-card img {
  max-width: 112px;
  max-height: 45px;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 220ms ease, opacity 220ms ease;
}

.hp-reference-layout .home-reference-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Catalog */
.hp-catalog {
  padding: 88px 0 112px;
}

.hp-catalog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: end;
  column-gap: 64px;
  padding-bottom: 38px;
  border-bottom: 1px solid var(--ep-line);
}

.hp-catalog-head .hp-eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 16px;
}

.hp-catalog-head h1,
.hp-contact-hero h1,
.hp-detail-info h1 {
  margin: 0;
  color: var(--ep-ink);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 650;
  letter-spacing: -0.052em;
  line-height: 1;
}

.hp-catalog-head p,
.hp-contact-hero p {
  margin: 0;
  color: var(--ep-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hp-catalog-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 230px auto auto;
  align-items: center;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0 0 24px;
  border: 0;
  border-bottom: 1px solid var(--ep-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hp-search-field {
  position: relative;
  display: block;
}

.hp-search-field svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--ep-muted);
  stroke-width: 1.7;
  transform: translateY(-50%);
}

.hp-search-field input,
.hp-category-field select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--ep-line);
  border-radius: 2px;
  outline: none;
  background: var(--ep-white);
  color: var(--ep-ink);
  font: inherit;
  font-size: 0.83rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.hp-search-field input {
  padding: 0 16px 0 44px;
}

.hp-category-field select {
  padding: 0 42px 0 15px;
}

.hp-search-field input:focus,
.hp-category-field select:focus {
  border-color: var(--ep-orange-deep);
  box-shadow: 0 0 0 3px rgba(248, 179, 30, 0.18);
}

.hp-filter-action,
.hp-clear-action {
  height: 48px;
  padding: 0 18px;
  border-radius: 2px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hp-filter-action {
  border: 1px solid var(--ep-charcoal-dark);
  background: var(--ep-charcoal-dark);
  color: #fff;
}

.hp-filter-action:hover {
  border-color: var(--ep-orange);
  background: var(--ep-orange);
  color: var(--ep-charcoal-dark);
}

.hp-clear-action {
  border: 0;
  background: transparent;
  color: var(--ep-muted);
}

.hp-category-tabs {
  display: flex;
  gap: 26px;
  margin: 26px 0 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.hp-category-tabs::-webkit-scrollbar {
  display: none;
}

.hp-category-tabs a {
  flex: 0 0 auto;
  padding: 0 0 9px;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--ep-muted) !important;
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
}

.hp-category-tabs a:hover,
.hp-category-tabs a.is-active {
  border-bottom-color: var(--ep-orange);
  color: var(--ep-charcoal-dark) !important;
}

.hp-catalog-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 42px 0 20px;
  color: var(--ep-muted);
  font-size: 0.74rem;
}

.hp-catalog-count strong {
  color: var(--ep-ink);
  font-size: 0.86rem;
}

.hp-empty-catalog {
  padding: 64px 0;
  border-top: 1px solid var(--ep-line);
  text-align: center;
}

.hp-empty-catalog strong,
.hp-empty-catalog span {
  display: block;
}

.hp-empty-catalog span {
  margin-top: 8px;
  color: var(--ep-muted);
}

/* Product detail */
.hp-detail {
  padding: 72px 0 112px;
  background: var(--ep-cream);
}

.hp-detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: start;
  gap: clamp(56px, 8vw, 112px);
}

.hp-detail-preview {
  display: grid;
  overflow: hidden;
  aspect-ratio: 1.04 / 1;
  place-items: center;
  border: 1px solid rgba(41, 41, 43, 0.08);
  border-radius: 3px;
  background: #e9e3d8;
  box-shadow: var(--ep-shadow-sm);
}

.hp-detail-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.hp-detail-info {
  padding-top: 8px;
}

.hp-detail-back {
  display: inline-block;
  margin-bottom: 56px;
  color: var(--ep-muted) !important;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.hp-detail-info .hp-eyebrow {
  margin-bottom: 14px;
}

.hp-detail-info h1 {
  max-width: 580px;
  font-size: clamp(2.7rem, 4.7vw, 4.75rem);
}

.hp-detail-lead {
  max-width: 540px;
  margin: 26px 0 32px;
  color: var(--ep-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.hp-detail-facts {
  margin: 0 0 30px;
  border-bottom: 1px solid var(--ep-line);
}

.hp-detail-facts div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--ep-line);
}

.hp-detail-facts dt {
  color: var(--ep-muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.hp-detail-facts dd {
  margin: 0;
  color: var(--ep-ink);
  font-size: 0.78rem;
  font-weight: 600;
}

.hp-detail-note {
  max-width: 520px;
  color: var(--ep-muted);
  font-size: 0.83rem;
  line-height: 1.7;
}

.hp-detail-note p:last-child {
  margin-bottom: 0;
}

.hp-detail-contact {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  margin-top: 32px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--ep-orange);
  color: var(--ep-charcoal-dark) !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
}

.hp-detail-contact:hover {
  border-color: var(--ep-charcoal-dark);
  color: var(--ep-orange-deep) !important;
}

.hp-variant-section {
  margin-top: 96px;
  padding-top: 36px;
  border-top: 1px solid var(--ep-line);
}

.hp-variant-section > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: end;
  gap: 48px;
  margin-bottom: 32px;
}

.hp-variant-section > header .hp-eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -24px;
}

.hp-variant-section > header p {
  margin: 0;
  color: var(--ep-muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.hp-variant-rail,
.hp-image-rail {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px !important;
  overflow: visible !important;
}

.hp-variant-rail .variant-thumb {
  display: block;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0;
  padding: 0 0 12px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ep-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ep-ink) !important;
  text-align: left;
}

.hp-variant-rail .variant-thumb:hover,
.hp-variant-rail .variant-thumb.is-active {
  border-bottom-color: var(--ep-orange) !important;
}

.hp-variant-rail .variant-thumb img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 0.82;
  margin: 0 0 13px !important;
  border-radius: 3px !important;
  object-fit: cover;
}

.hp-variant-rail .variant-thumb span {
  display: block;
  padding: 0 !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  line-height: 1.35;
}

.hp-image-rail img {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  border-radius: 3px;
  object-fit: cover;
}

.boxes-variant-modal-media img {
  object-fit: contain !important;
  background: #fff;
}

/* Contact */
.hp-contact-hero {
  padding: 96px 0 88px;
  border-bottom: 5px solid var(--ep-orange);
  background:
    radial-gradient(circle at 86% 8%, rgba(248, 179, 30, 0.1), transparent 32%),
    linear-gradient(135deg, #222224, #343437);
}

.hp-contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: end;
  gap: 72px;
}

.hp-contact-hero .hp-eyebrow {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
}

.hp-contact-hero h1 {
  max-width: 820px;
  color: #fff;
}

.hp-contact-hero p {
  max-width: 450px;
  padding-bottom: 6px;
  color: rgba(255, 255, 255, 0.68);
}

.hp-contact-main {
  padding: 96px 0;
  background: var(--ep-cream);
}

.hp-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  gap: 112px;
}

.hp-contact-primary {
  padding-right: 32px;
}

.hp-contact-primary > p {
  max-width: 540px;
  margin: 24px 0 30px;
  color: var(--ep-muted);
  line-height: 1.7;
}

.hp-contact-primary > a {
  display: inline-flex;
  align-items: center;
  gap: 52px;
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid var(--ep-charcoal-dark);
  border-radius: 2px;
  background: var(--ep-charcoal-dark);
  color: #fff !important;
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 200ms var(--ep-ease-standard);
}

.hp-contact-primary > a:hover {
  border-color: var(--ep-orange);
  background: var(--ep-orange);
  color: var(--ep-charcoal-dark) !important;
  transform: translateY(-2px);
}

.hp-contact-primary small {
  display: block;
  max-width: 460px;
  margin-top: 14px;
  color: var(--ep-muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

.hp-contact-details {
  margin: 0;
  border-bottom: 1px solid var(--ep-line);
}

.hp-contact-details div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 28px;
  padding: 20px 0;
  border-top: 1px solid var(--ep-line);
}

.hp-contact-details dt {
  color: var(--ep-muted);
  font-size: 0.72rem;
}

.hp-contact-details dd {
  margin: 0;
  color: var(--ep-ink);
  font-size: 0.84rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.hp-contact-process {
  padding: 96px 0 104px;
  background: linear-gradient(135deg, #3b3b3d, #505052);
  color: #fff;
}

.hp-contact-process .hp-eyebrow {
  color: #fff;
}

.hp-contact-process h2 {
  color: #fff;
}

.hp-contact-process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.hp-contact-process li {
  min-height: 188px;
  padding: 28px 28px 0 0;
}

.hp-contact-process li + li {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hp-contact-process li > span {
  display: block;
  margin-bottom: 34px;
  color: var(--ep-orange);
  font-size: 0.7rem;
  font-weight: 700;
}

.hp-contact-process li strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.hp-contact-process li p {
  max-width: 290px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  line-height: 1.65;
}

/* About */
.hp-about-hero {
  padding: 96px 0 88px;
  border-bottom: 5px solid var(--ep-orange);
  background:
    radial-gradient(circle at 86% 8%, rgba(248, 179, 30, 0.1), transparent 32%),
    linear-gradient(135deg, #222224, #343437);
}

.hp-about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: end;
  gap: 72px;
}

.hp-about-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  font-weight: 650;
  letter-spacing: -0.052em;
  line-height: 1;
}

.hp-about-hero p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.72;
}

.hp-about-hero .hp-eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.hp-about-story {
  padding: 104px 0;
  background: var(--ep-cream);
}

.hp-about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(380px, 0.94fr);
  align-items: start;
  gap: clamp(56px, 8vw, 112px);
}

.hp-about-story figure {
  overflow: hidden;
  aspect-ratio: 1.04 / 1;
  margin: 0;
  border-radius: 4px;
  background: #e7dfd2;
}

.hp-about-story figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-about-story h2,
.hp-about-capabilities h2,
.hp-about-close h2 {
  margin: 0;
  color: var(--ep-ink);
  font-size: clamp(2.4rem, 4.3vw, 4.3rem);
  font-weight: 650;
  letter-spacing: -0.048em;
  line-height: 1.01;
}

.hp-about-story > .container > div > p {
  max-width: 520px;
  margin: 26px 0 34px;
  color: var(--ep-muted);
  line-height: 1.72;
}

.hp-about-story dl {
  margin: 0;
  border-bottom: 1px solid var(--ep-line);
}

.hp-about-story dl > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--ep-line);
}

.hp-about-story dt {
  color: var(--ep-orange-deep);
  font-size: 0.7rem;
  font-weight: 700;
}

.hp-about-story dd {
  margin: 0;
}

.hp-about-story dd strong,
.hp-about-story dd span {
  display: block;
}

.hp-about-story dd strong {
  margin-bottom: 5px;
  color: var(--ep-ink);
  font-size: 0.84rem;
}

.hp-about-story dd span {
  color: var(--ep-muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.hp-about-capabilities {
  padding: 104px 0;
  background: linear-gradient(135deg, #3b3b3d, #505052);
  color: #fff;
}

.hp-about-capabilities .hp-eyebrow {
  color: #fff;
}

.hp-about-capabilities h2 {
  color: #fff;
}

.hp-about-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hp-about-columns article {
  min-height: 220px;
  padding: 28px 30px 0 0;
}

.hp-about-columns article + article {
  padding-left: 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hp-about-columns article > span {
  display: block;
  margin-bottom: 42px;
  color: var(--ep-orange);
  font-size: 0.7rem;
  font-weight: 700;
}

.hp-about-columns h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 650;
}

.hp-about-columns p {
  max-width: 300px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  line-height: 1.65;
}

.hp-about-close {
  padding: 80px 0;
  background: var(--ep-paper);
}

.hp-about-close > .container {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 56px;
}

.hp-about-close h2 {
  max-width: 740px;
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
}

.hp-about-close a {
  flex: 0 0 auto;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ep-orange);
  color: var(--ep-charcoal-dark) !important;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease;
}

.hp-about-close a:hover {
  border-color: var(--ep-charcoal-dark);
  color: var(--ep-orange-deep) !important;
}

/* Footer */
.market-footer {
  padding-top: 72px !important;
  border-top: 5px solid var(--ep-orange);
  background:
    radial-gradient(circle at 12% 0%, rgba(248, 179, 30, 0.08), transparent 28%),
    #242426 !important;
  color: #fff;
}

.market-footer-grid {
  grid-template-columns: minmax(260px, 1.4fr) minmax(160px, 0.65fr) minmax(160px, 0.65fr) !important;
  gap: 72px !important;
  padding-bottom: 56px !important;
}

.market-footer-grid > div:first-child {
  max-width: 360px;
}

.market-footer-grid img {
  width: 190px !important;
  padding: 10px 14px;
  border-radius: 2px;
  background: #fff;
  filter: none;
}

.market-footer-grid strong {
  margin-bottom: 20px !important;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.market-footer-grid a,
.market-footer-grid p,
.market-footer-grid span {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.78rem !important;
  line-height: 1.7 !important;
}

.market-footer-bottom {
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Interaction and motion system */
body:not(.admin-app-body) ::selection {
  background: rgba(248, 179, 30, 0.36);
  color: var(--ep-charcoal-dark);
}

body:not(.admin-app-body) :is(a, button, input, select, [tabindex]):focus-visible {
  outline: 3px solid rgba(248, 179, 30, 0.42);
  outline-offset: 3px;
}

.market-mobile-nav a.is-active {
  color: var(--ep-orange-deep) !important;
}

.hp-motion-enabled [data-motion] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 620ms var(--ep-ease-standard) var(--motion-delay, 0ms),
    transform 760ms var(--ep-ease-out) var(--motion-delay, 0ms);
  will-change: opacity, transform;
}

.hp-motion-enabled [data-motion="media"] {
  transform: translate3d(0, 14px, 0) scale(0.985);
}

.hp-motion-enabled [data-motion].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

@media (max-width: 1080px) {
  .market-header-main {
    gap: 20px !important;
  }

  .market-search {
    max-width: 300px !important;
  }

  .market-simple-nav {
    gap: 18px !important;
  }

  .hp-hero-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
    gap: 48px;
  }

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

  .hp-catalog-tools {
    grid-template-columns: minmax(240px, 1fr) 210px auto;
  }

  .hp-clear-action {
    grid-column: 3;
    justify-self: end;
    height: auto;
    padding: 2px 0;
  }

  .hp-variant-rail,
  .hp-image-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .market-simple-nav {
    display: none !important;
  }

  .market-menu-toggle {
    display: block !important;
  }

  .hp-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 64px !important;
  }

  .hp-hero-copy {
    padding: 0;
  }

  .hp-hero-media {
    aspect-ratio: 1.25 / 1;
  }

  .hp-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 20px;
  }

  .hp-proof-grid,
  .hp-detail-top,
  .hp-contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hp-proof-media {
    aspect-ratio: 1.35 / 1;
  }

  .hp-reference-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hp-about-hero-grid,
  .hp-about-story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hp-about-story figure {
    aspect-ratio: 1.25 / 1;
  }

  .hp-catalog-head,
  .hp-contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hp-catalog-head .hp-eyebrow {
    grid-column: auto;
    margin-bottom: -8px;
  }

  .hp-catalog-tools {
    grid-template-columns: minmax(0, 1fr) 220px auto;
  }

  .hp-detail-preview {
    aspect-ratio: 1.25 / 1;
  }

  .hp-detail-info {
    padding-top: 0;
  }

  .hp-detail-back {
    margin-bottom: 32px;
  }

  .hp-variant-section {
    margin-top: 72px;
  }

  .hp-contact-grid {
    gap: 64px;
  }

  .market-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr !important;
    gap: 42px !important;
  }
}

@media (max-width: 680px) {
  body:not(.admin-app-body) .container {
    width: min(calc(100% - 32px), var(--ep-container)) !important;
  }

  .market-header-main {
    min-height: 68px !important;
    flex-wrap: wrap;
    padding-block: 12px !important;
  }

  .market-logo img {
    width: 132px !important;
  }

  .market-search {
    order: 3;
    width: 100%;
    max-width: none !important;
  }

  .market-mobile-nav .container {
    padding-block: 10px 18px !important;
  }

  .market-mobile-nav a {
    padding: 11px 0 !important;
    border-bottom: 1px solid var(--ep-line);
  }

  .hp-eyebrow {
    margin-bottom: 14px;
    font-size: 0.66rem;
  }

  .hp-hero-grid {
    gap: 38px;
    min-height: auto;
    padding-block: 48px 56px !important;
  }

  .hp-hero::before {
    width: 112px;
    height: 5px;
  }

  .hp-hero-brand {
    width: min(86%, 300px);
    margin-bottom: 30px;
    padding: 13px 16px;
    border-left-width: 4px;
  }

  .hp-hero h1 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }

  .hp-hero-copy > p {
    margin-top: 22px;
    font-size: 0.96rem;
  }

  .hp-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
  }

  .hp-primary-action {
    width: 100%;
  }

  .hp-hero-metrics {
    margin-top: 38px;
  }

  .hp-hero-metrics div + div {
    padding-left: 12px;
  }

  .hp-hero-metrics dt {
    font-size: 0.96rem;
  }

  .hp-hero-metrics dd {
    font-size: 0.61rem;
  }

  .hp-hero-media {
    aspect-ratio: 1 / 0.95;
  }

  .hp-hero-media figcaption {
    inset: auto 10px 10px;
    padding: 12px;
  }

  .hp-hero-media figcaption span {
    display: none;
  }

  .hp-products,
  .hp-proof,
  .hp-references,
  .hp-contact-main,
  .hp-contact-process,
  .hp-about-story,
  .hp-about-capabilities {
    padding-block: 72px;
  }

  .hp-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }

  .hp-section-head h2,
  .hp-proof-copy h2,
  .hp-reference-layout h2,
  .hp-variant-section h2,
  .hp-contact-primary h2,
  .hp-contact-process h2 {
    font-size: 2.25rem;
  }

  .hp-product-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hp-product-media {
    aspect-ratio: 1.14 / 1;
  }

  .hp-proof-grid {
    gap: 42px;
  }

  .hp-proof-media {
    aspect-ratio: 1 / 0.8;
  }

  .hp-reference-layout .home-reference-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-about-hero {
    padding: 64px 0;
  }

  .hp-about-hero h1 {
    font-size: clamp(2.65rem, 12vw, 3.7rem);
  }

  .hp-about-story-grid {
    gap: 42px;
  }

  .hp-about-story figure {
    aspect-ratio: 1 / 0.84;
  }

  .hp-about-story h2,
  .hp-about-capabilities h2,
  .hp-about-close h2 {
    font-size: 2.35rem;
  }

  .hp-about-columns {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .hp-about-columns article,
  .hp-about-columns article + article {
    min-height: 0;
    padding: 24px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hp-about-columns article > span {
    margin-bottom: 18px;
  }

  .hp-about-close {
    padding: 64px 0;
  }

  .hp-about-close > .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .hp-reference-layout .home-reference-card {
    min-height: 82px;
  }

  .hp-catalog {
    padding: 56px 0 80px;
  }

  .hp-catalog-head {
    padding-bottom: 28px;
  }

  .hp-catalog-head h1,
  .hp-contact-hero h1,
  .hp-detail-info h1 {
    font-size: clamp(2.65rem, 12vw, 3.7rem);
  }

  .hp-catalog-tools {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hp-filter-action {
    width: 100%;
  }

  .hp-clear-action {
    grid-column: auto;
    justify-self: start;
    margin-top: 6px;
  }

  .hp-category-tabs {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .hp-detail {
    padding: 40px 0 80px;
  }

  .hp-detail-top {
    gap: 38px;
  }

  .hp-detail-preview {
    aspect-ratio: 1 / 0.92;
  }

  .hp-detail-back {
    margin-bottom: 28px;
  }

  .hp-variant-section {
    margin-top: 64px;
  }

  .hp-variant-section > header {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hp-variant-section > header .hp-eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

  .hp-variant-rail,
  .hp-image-rail {
    display: flex !important;
    gap: 14px !important;
    margin-inline: -16px;
    padding: 0 16px 10px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
  }

  .hp-variant-rail .variant-thumb,
  .hp-image-rail img {
    flex: 0 0 min(76vw, 290px);
    scroll-snap-align: start;
  }

  .hp-contact-hero {
    padding: 64px 0;
  }

  .hp-contact-primary {
    padding-right: 0;
  }

  .hp-contact-primary > a {
    width: 100%;
    justify-content: space-between;
  }

  .hp-contact-details div {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .hp-contact-process ol {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .hp-contact-process li,
  .hp-contact-process li + li {
    min-height: 0;
    padding: 24px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hp-contact-process li > span {
    margin-bottom: 18px;
  }

  .market-footer {
    padding-top: 56px !important;
  }

  .market-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .market-footer-bottom {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .hp-motion-enabled [data-motion] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hp-product-media img,
  .hp-product-arrow,
  .hp-primary-action {
    transition: none !important;
  }
}

@media (hover: none) {
  .hp-product-card-link:hover .hp-product-media img,
  .hp-primary-action:hover {
    transform: none;
  }
}
