/* Shared inner pages — Jewellery-NX reference typography & hero */

body[data-page="buyer"],
body[data-page="oem"] {
  --inner-heading: "Alice", Georgia, serif;
  --inner-body: "Open Sans", Arial, sans-serif;
  --inner-accent: #94a5b0;
  --inner-ink: #141414;
  --inner-copy: #474747;
  background: #fff;
  color: var(--inner-ink);
  font-family: var(--inner-body);
  -webkit-font-smoothing: antialiased;
}

.jx-inner {
  overflow: hidden;
  background: #fff;
}

.jx-inner-hero {
  position: relative;
  z-index: 1;
  min-height: 380px;
  margin-top: var(--jz-chrome-h);
  padding: 160px 0 80px;
  overflow: hidden;
  isolation: isolate;
}

.jx-inner-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.jx-inner-hero__media img,
.jx-inner-hero__overlay {
  position: absolute;
  inset: 0;
}

.jx-inner-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.02);
}

.jx-inner-hero.is-revealed .jx-inner-hero__media img {
  animation: jxInnerHeroZoom 1.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.jx-inner-hero__overlay {
  background: rgba(0, 0, 0, 0.34);
  z-index: 1;
}

.jx-inner-hero__wipe {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  pointer-events: none;
}

.jx-inner-hero__wipe.is-done {
  display: none;
}

.jx-inner-hero__wipe-col {
  height: 100%;
  overflow: hidden;
}

.jx-inner-hero__wipe-panel {
  width: 100%;
  height: 100%;
  background: #fff;
}

.jx-inner-hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.jx-inner-hero__title {
  margin: 0;
  font-family: var(--inner-heading);
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.3;
  text-transform: uppercase;
}

.jx-inner-hero__crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  font-family: var(--inner-heading);
  font-size: 16px;
  line-height: 26px;
  text-transform: capitalize;
}

.jx-inner-hero__crumb a {
  color: #fff;
  transition: color 0.25s ease;
}

.jx-inner-hero__crumb a:hover {
  color: var(--inner-accent);
}

.jx-inner-hero__diamond {
  width: 6px;
  height: 6px;
  background: var(--inner-accent);
  transform: rotate(45deg);
}

.jx-inner .section-title {
  font-family: var(--inner-heading);
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--inner-ink);
}

.jx-inner .section-sub,
.jx-inner .process-card p,
.jx-inner .oem-card p,
.jx-inner .company-card p {
  font-family: var(--inner-body);
  color: var(--inner-copy);
  letter-spacing: 0;
}

.jx-inner .eyebrow,
.jx-inner .page-hero {
  display: none !important;
}

@keyframes jxInnerHeroZoom {
  from {
    opacity: 0.85;
    transform: scale(1.08);
  }
  to {
    opacity: 1;
    transform: scale(1.02);
  }
}

@media (max-width: 767px) {
  .jx-inner-hero {
    min-height: 320px;
    padding: 110px 0 54px;
  }

  .jx-inner-hero__title {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jx-inner-hero__wipe {
    display: none;
  }

  .jx-inner-hero.is-revealed .jx-inner-hero__media img {
    animation: none;
  }
}

/* ─── Buyer Section page ─── */
.jx-buyer-intro {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
  background: #fff;
}

.jx-buyer-eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-family: var(--inner-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9962e;
}

.jx-buyer-process {
  background: #f7f7f7;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.jx-buyer-process__grid {
  gap: 1.15rem;
}

.jx-buyer .process-card {
  padding: 1.75rem 1.25rem;
  min-height: 168px;
  background: #fff;
  border: 1px solid rgba(201, 150, 46, 0.22);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(7, 29, 58, 0.05);
}

.jx-buyer .process-card__num {
  font-family: var(--inner-heading);
  font-size: 2rem;
  color: #c9962e;
  margin-bottom: 0.65rem;
}

.jx-buyer .process-card h3 {
  font-family: var(--inner-heading);
  font-size: 1.05rem;
  color: #051e33;
  margin-bottom: 0.45rem;
}

.jx-buyer .process-card p {
  font-size: 0.88rem;
  line-height: 1.65;
}

.jx-buyer-inquiry {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
  background: linear-gradient(180deg, #fff 0%, #faf6ef 100%);
}

.jx-buyer-form {
  max-width: 920px;
  border: 1px solid rgba(201, 150, 46, 0.28);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(7, 29, 58, 0.08);
}

.jx-buyer-form .form-block legend {
  font-family: var(--inner-heading);
  color: #c9962e;
  font-size: 1.2rem;
}

.jx-buyer-support {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  background: #fff;
}

.jx-buyer-support__grid {
  max-width: none;
  margin: 0;
}

.jx-buyer .oem-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(201, 150, 46, 0.18);
  box-shadow: 0 10px 32px rgba(7, 29, 58, 0.06);
}

.jx-buyer .oem-card h3 {
  font-family: var(--inner-heading);
  color: #051e33;
}

.jx-buyer .oem-card p {
  flex: 1;
}

.jx-buyer .oem-card__link {
  opacity: 1;
  transform: none;
  margin-top: auto;
}

.jx-buyer-cta .section-title {
  margin-bottom: 0.75rem;
}

@media (max-width: 1200px) {
  .jx-buyer-process__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .jx-buyer-process__grid .process-card:nth-child(4),
  .jx-buyer-process__grid .process-card:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 1024px) {
  .jx-buyer-support__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jx-buyer-support__grid .oem-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .jx-buyer .process__grid.jx-buyer-process__grid,
  .jx-buyer .oem__grid.jx-buyer-support__grid {
    grid-template-columns: 1fr;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .jx-buyer-support__grid .oem-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .jx-buyer-form {
    padding: 1.35rem;
  }
}
