html:has(.oem-page) {
  scroll-padding-top: 0;
}

.oem-page {
  --oem-header-height: 100px;
  --oem-nav-height: 58px;
}

.oem-page.oem-menu-open { overflow: hidden; }

.oem-page .header {
  position: fixed;
  height: var(--oem-header-height);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 0 #eceeef;
}

.oem-page .header .brand-logo-light { display: none; }
.oem-page .header .brand-logo-dark { display: block; }
.oem-page .header.menu-open .brand-logo-light { display: block; }
.oem-page .header.menu-open .brand-logo-dark { display: none; }
.oem-page .header .pill-light { border: 1px solid #c4c9cc; }

.oem-page .dropdown a[aria-current] { font-weight: 700; }
.oem-intro { padding-block: calc(var(--oem-header-height) + 27px) 72px; }
.oem-breadcrumb {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 34px;
  font-size: 12px;
}

.oem-breadcrumb a:hover { text-decoration: underline; }
.oem-breadcrumb span[aria-hidden] { color: var(--muted); }
.oem-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.oem-hero-copy h1 {
  margin: 0 0 26px;
  font-size: clamp(42px, 4.7vw, 67px);
  letter-spacing: -.045em;
  line-height: 1.04;
}

.oem-hero-copy p { max-width: 445px; font-size: 16px; line-height: 1.72; }
.oem-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 26px; }
.oem-text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  font-weight: 700;
  font-size: 13px;
  border-bottom: 1px solid #c4a500;
}

.oem-text-link:hover { border-color: currentColor; }
.oem-text-link span { font-size: 18px; font-weight: 400; }
.oem-hero-photo {
  margin: 0;
  padding: 0 15px 15px 0;
  position: relative;
  isolation: isolate;
}

.oem-hero-photo::before {
  content: '';
  position: absolute;
  inset: 34px 0 0 32%;
  border-radius: 21px;
  background: var(--yellow);
  z-index: -1;
}

.oem-hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  background: var(--soft);
}

.oem-chapter-nav {
  position: sticky;
  top: var(--oem-header-height);
  z-index: 35;
  background: var(--paper);
  border-block: 1px solid #e7e9ea;
}

.oem-chapter-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--oem-nav-height);
}

.oem-chapter-links a {
  display: flex;
  position: relative;
  align-items: center;
  min-height: 44px;
  padding: 0 3px;
  font-size: 12px;
  font-weight: 700;
}

.oem-chapter-links a[aria-current]::after {
  content: '';
  position: absolute;
  inset: auto 3px 0;
  height: 3px;
  background: var(--yellow);
}

.oem-section {
  padding-block: clamp(58px, 7.5vw, 98px);
  scroll-margin-top: calc(var(--oem-header-height) + var(--oem-nav-height) + 16px);
}

.oem-soft { background: var(--soft); }
.oem-heading { margin: 0 0 35px; }
.oem-heading h2,
.oem-enquiry-copy h2 { margin: 0; font-size: clamp(33px, 4vw, 48px); line-height: 1.1; }
.oem-heading p { max-width: 480px; margin: 14px 0 0; line-height: 1.73; }
.oem-heading-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: clamp(20px, 6vw, 85px);
  align-items: end;
}

.oem-heading-split p { margin: 0; }
.oem-option-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.oem-option-grid article {
  min-width: 0;
  background: var(--paper);
  border: 1px solid #e2e5e7;
  border-top: 3px solid var(--yellow);
  border-radius: 0 0 13px 13px;
  padding: 24px 22px;
}

.oem-option-grid h3,
.oem-process h3,
.oem-proof-grid h3 { margin: 0 0 10px; }
.oem-option-grid p,
.oem-process p,
.oem-proof-grid p { margin: 0; font-size: 14px; line-height: 1.62; }
.oem-partner-support {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin-top: 26px;
  padding: 22px 26px;
  border-top: 1px solid var(--line);
}

.oem-partner-support h3,
.oem-partner-support p { margin: 0; }
.oem-partner-support p { font-size: 14px; }
.oem-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 19px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: order-stage;
}

.oem-process li {
  position: relative;
  border-top: 1px solid var(--line);
  padding: 20px 3px 0 0;
  counter-increment: order-stage;
}

.oem-process li::before {
  content: counter(order-stage);
  display: inline-grid;
  place-items: center;
  width: 35px;
  height: 35px;
  margin-bottom: 16px;
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
}

.oem-process h3 { font-size: 18px; line-height: 1.25; }
.oem-artwork-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 7vw, 95px);
  align-items: center;
}

.oem-packing-photo { margin: 0; }
.oem-packing-photo img {
  width: 100%;
  height: auto;
  max-height: 490px;
  object-fit: contain;
  border-radius: 16px;
  background: var(--paper);
}

.oem-packing-photo figcaption { margin-top: 11px; color: var(--ink); font-size: 12px; }
.oem-artwork-list { margin: 0; }
.oem-artwork-list div { padding: 13px 0; border-top: 1px solid var(--line); }
.oem-artwork-list div:last-child { border-bottom: 1px solid var(--line); }
.oem-artwork-list dt { font-weight: 700; }
.oem-artwork-list dd { margin: 3px 0 0; font-size: 14px; line-height: 1.6; }
.oem-production { background: var(--dark); color: var(--paper); }
.oem-production .oem-text-link { margin-top: 16px; border-color: var(--yellow); }
.oem-proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.oem-proof-grid img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; border-radius: 15px; margin-bottom: 18px; }

.oem-enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(30px, 7vw, 95px);
  align-items: start;
}

.oem-enquiry-copy > p { margin: 16px 0 12px; }
.oem-enquiry-copy .oem-local-note { margin-top: 28px; font-size: 13px; }
#oem-enquiry-form, .oem-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

#oem-enquiry-form { background: var(--soft); border: 1px solid #e2e5e7; border-radius: 17px; padding: clamp(17px, 3vw, 27px); }
#oem-enquiry-form label { display: block; min-width: 0; font-size: 13px; font-weight: 700; }
#oem-enquiry-form label span { color: #886500; }
#oem-enquiry-form :is(input, select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin-top: 6px;
  padding: 9px 11px;
  border: 1px solid #bfc6ca;
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}

#oem-enquiry-form textarea { resize: vertical; }
.oem-form-options,
.oem-form-wide,
.oem-form-actions { grid-column: 1 / -1; }
.oem-form-options { border-block: 1px solid var(--line); }
.oem-form-options summary { min-height: 44px; padding-block: 11px; cursor: pointer; font-size: 13px; font-weight: 700; }
.oem-form-options summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.oem-form-grid { padding-bottom: 16px; }
.oem-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; }
#oem-form-status { margin: 0; font-size: 13px; }

@media (max-width: 1100px) {
  .oem-page { --oem-header-height: 88px; }
  .oem-page .header.menu-open { background: var(--dark); color: var(--paper); }
  .oem-page .header .menu-toggle { width: 44px; height: 44px; padding: 9px 7px; }
  .oem-page .header .dropdown a { min-height: 44px; }
}

@media (max-width: 800px) {
  .oem-intro { padding-bottom: 49px; }
  .oem-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .oem-hero-photo img { aspect-ratio: 16 / 10; }
  .oem-hero-copy h1 { font-size: clamp(42px, 7.2vw, 57px); }
  .oem-option-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oem-process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 27px; }
  .oem-enquiry-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 550px) {
  .oem-page { --oem-header-height: 78px; --oem-nav-height: 0px; }
  .oem-intro { padding-top: calc(var(--oem-header-height) + 22px); }
  .oem-breadcrumb { margin-bottom: 25px; }
  .oem-hero-copy h1 { font-size: clamp(36px, 11.5vw, 49px); margin-bottom: 20px; }
  .oem-hero-copy p { font-size: 15px; }
  .oem-actions { margin-top: 20px; }
  .oem-hero-grid { gap: 25px; }
  .oem-hero-photo { padding: 0 10px 10px 0; }
  .oem-hero-photo img { border-radius: 13px; }
  .oem-hero-photo::before { border-radius: 14px; }
  .oem-chapter-nav { position: static; }
  .oem-chapter-links { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
  .oem-chapter-links a { grid-column: span 2; justify-content: center; text-align: center; font-size: 11px; }
  .oem-chapter-links a:nth-child(n + 4) { grid-column: span 3; }
  .oem-chapter-links a[aria-current]::after { inset-inline: 25%; }
  .oem-heading { margin-bottom: 25px; }
  .oem-heading-split,
  .oem-partner-support,
  .oem-artwork-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .oem-option-grid { gap: 11px; }
  .oem-option-grid article { padding: 16px 13px; }
  .oem-option-grid h3,
  .oem-proof-grid h3 { font-size: 17px; line-height: 1.25; }
  .oem-option-grid p,
  .oem-process p,
  .oem-proof-grid p { font-size: 13px; }
  .oem-partner-support { padding: 17px 0 0; gap: 7px; }
  .oem-process { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .oem-process li { display: grid; grid-template-columns: 33px minmax(0, 1fr); column-gap: 13px; padding: 13px 0 0; }
  .oem-process li::before { grid-row: span 2; width: 33px; height: 33px; margin: 0; }
  .oem-process h3 { margin: 2px 0 6px; }
  .oem-artwork-grid > div { grid-row: 1; }
  .oem-packing-photo { margin-top: 7px; }
  .oem-proof-grid { gap: 13px; }
  .oem-proof-grid img { border-radius: 10px; margin-bottom: 11px; }
  #oem-enquiry-form, .oem-form-grid { grid-template-columns: minmax(0, 1fr); }
}
