/* Homepage introduction, product directory, and production stories. */
body[data-page="index"] {
  --home-night: #111918;
  --home-paper: #f6f4ef;
  --home-copper: #ecc197;
  --home-ink: #202b25;
  --home-link: #284838;
  --home-rule: #d8d8cf;
}

body[data-page="index"] > header,
body[data-page="index"] > header:not(.rx-menu-ready) {
  position: relative;
  inset: auto;
  margin: 0;
  min-height: 66px;
  padding-block: 10px;
  background: var(--home-night);
  border-color: #ffffff24;
}

.rx-cable-intro {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(410px, 33vw, 465px);
  color: #f8f6f0;
  background: var(--home-night);
}

.rx-home-hero-picture {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.rx-home-hero-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 48%;
}

.rx-cable-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #111918 3%, #111918f5 26%, #11191892 46%, transparent 66%);
}

.rx-home-hero-inner,
.rx-home-catalog-inner {
  width: min(1180px, 88%);
  margin-inline: auto;
}

.rx-home-hero-inner {
  padding-block: 48px 54px;
}

.rx-home-hero-copy {
  max-width: min(490px, 52vw);
}

body .rx-home-hero-copy h1 {
  margin: 0;
  color: #f8f6f0;
  font-size: clamp(45px, 5.4vw, 76px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.045em;
}

body .rx-home-hero-copy h1 span {
  display: block;
  margin-top: .18em;
  font-size: .54em;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.025em;
}

html[lang="zh-CN"] body .rx-home-hero-copy h1 {
  font-size: clamp(34px, 4.3vw, 62px);
  letter-spacing: -.035em;
  line-height: 1.2;
}

html[lang="zh-CN"] body .rx-home-hero-copy h1 span {
  display: inline;
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
}

body .rx-home-hero-copy p {
  max-width: 385px;
  margin: 20px 0 0;
  color: #e5e8e0;
  font-size: 16px;
  line-height: 1.65;
}

.rx-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 25px;
}

.rx-home-hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  font-size: 14px;
  font-weight: 700;
}

.rx-home-primary {
  padding: 10px 18px;
  border: 1px solid var(--home-copper);
  border-radius: 3px;
  background: var(--home-copper);
  color: #211810;
}

.rx-home-primary:hover {
  background: #f4d6b8;
  color: #211810;
}

.rx-home-email {
  padding: 8px 0;
  color: #f8f6f0;
  text-decoration: underline;
  text-decoration-color: #f8f6f081;
  text-underline-offset: .28em;
}

.rx-home-email:hover {
  text-decoration-color: currentColor;
}

.rx-home-hero-actions a:focus-visible {
  outline: 2px solid #f5e6d4;
  outline-offset: 4px;
}

body .rx-home-catalog.section {
  padding: 30px 0 24px;
  color: var(--home-ink);
  background: var(--home-paper);
}

.rx-home-catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 18px;
  margin-bottom: 16px;
}

body .rx-home-catalog-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.04em;
}

.rx-home-catalog-heading > a,
.rx-home-proof a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--home-link);
  font-size: 14px;
  font-weight: 700;
}

.rx-home-catalog-heading > a:hover,
.rx-home-proof a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rx-home-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.rx-home-card {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--home-rule);
  border-radius: 6px;
  background: #fbfaf6;
  color: var(--home-ink);
}

.rx-home-card:hover,
.rx-home-card:focus-visible {
  border-color: var(--home-link);
}

.rx-home-card:focus-visible {
  outline: 2px solid var(--home-link);
  outline-offset: 3px;
}

.rx-home-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.85;
  object-fit: contain;
  background: #eeeee6;
}

.rx-home-card-content {
  padding: 14px 38px 14px 16px;
}

body .rx-home-card-content h3 {
  margin: 0;
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
}

body .rx-home-card-content p {
  margin: 4px 0 0;
  color: #3f4e44;
  font-size: 15px;
  line-height: 1.4;
}

body .rx-home-card-content .rx-home-card-facts {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.rx-home-card-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  color: var(--home-link);
}

.rx-home-proof a:focus-visible,
.rx-home-catalog-heading a:focus-visible {
  outline: 2px solid var(--home-link);
  outline-offset: 3px;
}

.rx-home-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 16px;
  margin-top: 18px;
  border-top: 1px solid var(--home-rule);
  padding-top: 6px;
}

@media (max-width: 900px) {
  .rx-home-cards { gap: 12px; }
  .rx-home-card-content { padding-inline: 12px; }
}

@media (max-width: 700px) {
  .rx-cable-intro { min-height: 0; }
  .rx-cable-intro::after { display: none; }

  .rx-home-hero-picture {
    position: relative;
    z-index: auto;
    height: clamp(155px, 48vw, 276px);
  }

  .rx-home-hero-picture img { object-position: 73% 49%; }
  .rx-home-hero-inner { padding-block: 22px 26px; }
  .rx-home-hero-copy { max-width: none; }

  body .rx-home-hero-copy h1 {
    font-size: clamp(38px, 9.8vw, 54px);
  }

  body .rx-home-hero-copy h1 span { font-size: .62em; }

  body .rx-home-hero-copy p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.55;
  }

  .rx-home-hero-actions { margin-top: 14px; }
  .rx-home-hero-actions a { font-size: 13px; }

  body .rx-home-catalog.section { padding-top: 21px; }
  .rx-home-catalog-heading { margin-bottom: 9px; }
  .rx-home-catalog-heading > a { font-size: 13px; }
  .rx-home-cards { grid-template-columns: 1fr; }

  .rx-home-card {
    display: grid;
    grid-template-columns: clamp(96px, 29%, 172px) minmax(0, 1fr);
  }

  .rx-home-card > img {
    height: 100%;
    min-height: 110px;
    aspect-ratio: auto;
  }

  .rx-home-card-content { padding: 11px 30px 10px 10px; }
  body .rx-home-card-content p { font-size: 14px; }
  .rx-home-card-arrow { right: 10px; bottom: 10px; }
}

.rx-home-sample,
.rx-home-factory,
.rx-home-capabilities {
  padding-block: clamp(32px, 4.7vw, 64px);
  color: var(--home-ink);
  background: var(--home-paper);
}

.rx-home-sample {
  background: #eaece3;
}

.rx-home-factory {
  padding-bottom: clamp(24px, 3vw, 38px);
}

.rx-home-capabilities {
  padding-top: 0;
}

.rx-home-story-inner {
  width: min(1180px, 88%);
  margin-inline: auto;
}

.rx-home-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}

.rx-home-factory .rx-home-feature {
  grid-template-columns: 1fr;
  gap: 24px;
}

.rx-home-factory .rx-home-story-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  column-gap: 36px;
}

.rx-home-factory .rx-home-story-copy h2 {
  grid-row: span 2;
}

body .rx-home-factory .rx-home-story-copy p {
  margin-top: 0;
}

.rx-home-sample-photo,
.rx-home-factory-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
}

.rx-home-sample-photo img,
.rx-home-factory-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.rx-home-factory-photo img {
  aspect-ratio: 2.8;
  max-height: 420px;
  object-fit: cover;
  object-position: 50% 43%;
}

.rx-home-sample-photo img {
  aspect-ratio: 1.68;
  object-fit: cover;
  object-position: 52% 52%;
  filter: brightness(1.12) sepia(.18) saturate(.94);
}

body .rx-home-story-copy h2,
body .rx-home-capability-copy h2 {
  margin: 0;
  color: var(--home-ink);
  font-size: clamp(28px, 3.6vw, 50px);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -.035em;
}

body .rx-home-story-copy p,
body .rx-home-capability-copy p {
  max-width: 480px;
  margin: 13px 0 6px;
  color: #48564d;
  line-height: 1.65;
}

.rx-home-story-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--home-link);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: #28483872;
  text-underline-offset: 4px;
}

.rx-home-story-link:hover {
  text-decoration-color: currentColor;
}

.rx-home-story-link:focus-visible {
  outline: 2px solid var(--home-link);
  outline-offset: 3px;
}

.rx-home-story-actions {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 18px;
}

.rx-home-capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.1vw, 28px);
}

.rx-home-capability-grid > section {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--home-rule);
  border-radius: 6px;
  background: #fbfaf6;
}

.rx-home-capability-photo {
  margin: 0;
}

.rx-home-capability-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.rx-home-assembly {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 18px;
  margin-top: 16px;
  border-top: 1px solid var(--home-rule);
  padding-top: 5px;
}

.rx-home-assembly p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.rx-home-capability-copy {
  padding: 17px 20px 10px;
}

body .rx-home-capability-copy h2 {
  font-size: clamp(20px, 2.05vw, 29px);
}

body .rx-home-capability-copy p {
  margin-top: 8px;
  font-size: 15px;
}

@media (max-width: 700px) {
  .rx-home-feature,
  .rx-home-factory .rx-home-story-copy,
  .rx-home-capability-grid {
    grid-template-columns: 1fr;
  }

  .rx-home-feature { gap: 18px; }
  .rx-home-factory .rx-home-story-copy h2 { margin-bottom: 10px; }
  .rx-home-factory-photo img { aspect-ratio: 1.7; }
  .rx-home-capability-copy { padding: 13px 15px 8px; }

  body .rx-home-story-copy p,
  body .rx-home-capability-copy p {
    font-size: 14px;
  }
}


.rx-home-applications {
  padding-block: 30px;
  color: var(--home-ink);
  background: var(--home-paper);
}

body .rx-home-applications h2 {
  margin: 0 0 12px;
  font-size: clamp(25px, 3vw, 33px);
  line-height: 1.24;
}

.rx-home-applications .rx-home-story-inner > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 8px 12px;
}

.rx-home-applications a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--home-rule);
  border-radius: 4px;
  color: var(--home-link);
  font-weight: 600;
}

.rx-home-applications a:hover {
  background: #eeefe7;
}

/* Lead with the product, then give production and assembly their own space. */
body[data-page="index"] {
  --home-page-width: min(1248px, 88%);
  --home-paper: #f5f3ed;
  --home-ink: #1a3128;
}

.rx-home-hero-inner,
.rx-home-catalog-inner,
.rx-home-story-inner {
  width: var(--home-page-width);
}

.rx-cable-intro { min-height: clamp(440px, min(37vw, 64svh), 568px); }

body .rx-home-hero-copy h1 {
  font-size: clamp(52px, 6.45vw, 100px);
  line-height: 1;
  letter-spacing: -.05em;
}

body .rx-home-hero-copy h1 span {
  margin-top: .27em;
  font-size: .46em;
  font-weight: 500;
}

html[lang="zh-CN"] body .rx-home-hero-copy h1 {
  font-size: clamp(46px, 5.8vw, 84px);
  line-height: 1.09;
}

html[lang="zh-CN"] body .rx-home-hero-copy h1 span {
  display: block;
  margin-top: .32em;
  font-size: .47em;
  font-weight: 500;
}

body .rx-home-hero-copy p { font-size: 17px; }
.rx-home-hero-actions { gap: 10px 24px; }
.rx-home-hero-actions a { min-height: 48px; font-size: 16px; }
.rx-home-primary { padding-inline: 22px; }

body .rx-home-catalog.section { padding-block: clamp(38px, 4.25vw, 66px); }
.rx-home-catalog-heading { margin-bottom: 22px; }
body .rx-home-catalog-heading h2 { font-size: clamp(32px, 4.15vw, 60px); }
.rx-home-catalog-heading > a,
.rx-home-proof a,
.rx-home-story-link { font-size: 16px; }

.rx-home-cards {
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(176px, auto));
  gap: 16px;
}

.rx-home-card {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  align-items: stretch;
  border-radius: 8px;
  border-color: #d7ded5;
  background: #faf9f4;
}

.rx-home-card:first-child {
  grid-row: span 2;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(245px, 1fr) auto;
}

.rx-home-card > img {
  align-self: stretch;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  background: #f6f3ec;
}

.rx-home-card:first-child > img {
  inline-size: 100%;
  max-block-size: 310px;
  object-fit: contain;
  background: #f7f5ef;
}

.rx-home-card-content {
  align-self: center;
  padding: 20px 35px 20px 20px;
}

body .rx-home-card-content h3 { font-size: clamp(24px, 2.65vw, 37px); }
body .rx-home-card:first-child h3 { font-size: clamp(31px, 3.3vw, 47px); }
body .rx-home-card-content p { font-size: 16px; }
body .rx-home-card-content .rx-home-card-facts { margin-top: 8px; }
.rx-home-proof { margin-top: 24px; column-gap: 24px; }

.rx-home-factory,
.rx-home-capabilities {
  background: #e7eee7;
}

.rx-home-factory { padding-top: clamp(48px, 6vw, 95px); }
.rx-home-factory .rx-home-feature { gap: clamp(22px, 3vw, 42px); }
.rx-home-factory-photo img { aspect-ratio: 2.42; max-height: 515px; }

.rx-home-capability-grid > section {
  background: transparent;
  border: 0;
  border-radius: 0;
}

.rx-home-capability-photo img {
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: 7px;
}

.rx-home-capability-copy { padding: 18px 0 2px; }
body .rx-home-capability-copy p { font-size: 16px; }

.rx-home-assembly {
  display: block;
  margin: 0;
  padding: clamp(46px, 6vw, 96px) 0;
  border: 0;
  background: #f7f4eb;
}

.rx-home-assembly .rx-home-feature { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }

.rx-home-assembly-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
}

.rx-home-assembly-photo img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: contain;
  display: block;
  padding: clamp(10px, 2.5vw, 32px);
}

body .rx-home-assembly .rx-home-story-copy p { font-size: 17px; font-weight: 400; }

body .rx-home-applications h2 { font-size: clamp(29px, 3.1vw, 43px); }
body .rx-home-story-copy p { font-size: 17px; }

@media (min-width: 701px) and (max-width: 760px) {
  .rx-cable-intro { min-height: 440px; }
  .rx-home-hero-picture { height: auto; }
}

@media (max-width: 760px) {
  .rx-cable-intro { min-height: 0; }
  .rx-home-hero-picture { height: clamp(154px, 46vw, 274px); }
  .rx-home-hero-inner { padding-block: 22px 29px; }
  body .rx-home-hero-copy h1 { font-size: clamp(40px, 10vw, 60px); }
  body .rx-home-hero-copy h1 span { font-size: .55em; }
  html[lang="zh-CN"] body .rx-home-hero-copy h1 { font-size: clamp(38px, 10vw, 56px); }
  html[lang="zh-CN"] body .rx-home-hero-copy h1 span { font-size: .55em; }
  body .rx-home-hero-copy p { font-size: 16px; line-height: 1.58; }
  .rx-home-cards { grid-template-columns: 1fr; grid-template-rows: auto; gap: 11px; }
  .rx-home-card:first-child {
    grid-row: auto;
    grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
    grid-template-rows: auto;
  }
  .rx-home-card { grid-template-columns: minmax(0, 34%) minmax(0, 1fr); min-height: 124px; }
  .rx-home-card:first-child > img { min-height: 0; }
  .rx-home-card-content { padding: 15px 27px 13px 13px; }
  body .rx-home-card:first-child h3 { font-size: 28px; }
  body .rx-home-card-content p { font-size: 16px; }
  .rx-home-story-inner { width: var(--home-page-width); }
  .rx-home-factory-photo img { aspect-ratio: 1.65; }
  .rx-home-assembly .rx-home-feature { grid-template-columns: 1fr; }
  .rx-home-assembly-photo img { max-height: 310px; }
}
