/* Homepage additions follow the existing OUCO palette and full-width section rhythm. */

.header-quote svg,
.home-service-item a svg {
  width: 16px;
  height: 16px;
  margin-left: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  vertical-align: middle;
}
.home-service-item a svg {
  width: 17px;
  height: 17px;
  margin-left: 7px;
}
.home-project-item:focus-visible,
.home-knowledge-item:focus-visible,
.header-shell .nav-toggle:focus-visible,
:is(.home-why-item, .home-project-item, .home-service-item, .home-knowledge-item) a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

/* Trust line directly beneath the established hero. */
.home-trust { background: var(--white); }
.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--border);
}
.home-trust-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 18px;
  padding: 27px clamp(18px, 2.6vw, 42px);
}
.home-trust-item:first-child { padding-left: 0; }
.home-trust-item + .home-trust-item { border-left: 1px solid var(--border); }
.home-trust-item > svg,
.home-trust-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: var(--blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.home-trust-icon { display: grid; place-items: center; }
.home-trust-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.home-trust-item > div { min-width: 0; }
.home-trust-item strong {
  display: block;
  color: var(--navy);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}
.home-trust-item :is(p, small, div > span) {
  display: block;
  margin: 3px 0 0;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.4;
}

/* Homepage About OUCO: copy + one photo (replaces the four-image wall). */
.home-about {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 8vw, 118px) 0;
  background: var(--white);
}
.home-about-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 5.5vw, 88px);
  align-items: center;
}
.home-about-copy {
  position: relative;
  isolation: isolate;
}
.home-about-copy::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -8%;
  right: -12%;
  width: min(560px, 96%);
  height: 116%;
  background-color: var(--blue);
  -webkit-mask: url("../assets/about-map-bg.png") right center / contain no-repeat;
  mask: url("../assets/about-map-bg.png") right center / contain no-repeat;
  opacity: 0.22;
  pointer-events: none;
}
.home-about-copy > * {
  position: relative;
  z-index: 1;
}
.home-about-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 3.4vw, 52px);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
}
.home-about-rule {
  display: block;
  width: 58px;
  height: 4px;
  margin: 18px 0 28px;
  background: var(--blue);
}
.home-about-body p {
  max-width: 720px;
  margin: 0 0 18px;
  color: #2c3a52;
  font-size: clamp(17px, 1.15vw, 19px);
  font-weight: 600;
  line-height: 1.72;
}
.home-about-copy .text-link {
  margin-top: 8px;
}
.home-about-media {
  min-width: 0;
}
.home-about-media img {
  display: block;
  width: 100%;
  height: clamp(280px, 32vw, 430px);
  object-fit: cover;
}
@media (max-width: 900px) {
  .home-about-shell { grid-template-columns: 1fr; }
  .home-about-copy::after { width: 70%; opacity: 0.12; right: -6%; }
  .home-about-media img { height: 280px; }
}

/* CNC-style solutions carousel: centered title + hover overlay cards. */
.home-challenges {
  padding: 60px 0 0;
  background: var(--white);
  position: relative;
  z-index: 3;
}
.home-challenges .solutions-heading {
  display: block;
  max-width: 1070px;
  margin: 0 auto 0;
  text-align: center;
}
.home-challenges .solutions-heading .eyebrow {
  margin-bottom: 12px;
}
.home-challenges .solutions-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 2.4vw, 38px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
}
.solutions-heading-rule {
  display: inline-block;
  width: 66px;
  height: 3px;
  margin: 25px 0 20px;
  background: #e60012;
}
.home-challenges .solutions-heading > p:last-child {
  max-width: 1070px;
  margin: 0 auto;
  color: #686868;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.7;
  letter-spacing: .02em;
}
.solutions-carousel {
  --solutions-slides: 4.45;
  --solutions-count: 4;
  position: relative;
  margin-top: 55px;
}
.solutions-viewport {
  overflow: hidden;
}
.solutions-track {
  display: flex;
  will-change: transform;
}
.solutions-carousel.is-static .solutions-viewport {
  overflow: visible;
}
.solutions-carousel.is-static .solutions-track {
  display: grid;
  grid-template-columns: repeat(var(--solutions-count), minmax(0, 1fr));
  transform: none !important;
  will-change: auto;
}
.solutions-carousel.is-static .solutions-card {
  flex: none;
  width: auto;
}
.solutions-carousel.is-static .solutions-nav {
  display: none;
}
.solutions-card {
  flex: 0 0 calc(100% / var(--solutions-slides));
  min-width: 0;
  padding: 13px 0;
}
.solutions-card-link {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  height: clamp(420px, 36vw, 620px);
}
.solutions-card-media {
  position: absolute;
  inset: 0;
  display: block;
  transition: transform .5s ease;
}
.solutions-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 54, 123, .55);
  transition: background .5s ease;
  pointer-events: none;
}
.solutions-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.solutions-card-link:hover .solutions-card-media,
.solutions-card-link:focus-visible .solutions-card-media {
  transform: scale(1.1);
}
.solutions-card-link:hover .solutions-card-media::after,
.solutions-card-link:focus-visible .solutions-card-media::after {
  background: rgba(27, 54, 123, .86);
}
.solutions-card-resting,
.solutions-card-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}
.solutions-card-resting {
  width: 90%;
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
  transition: opacity .5s ease, visibility .5s ease;
}
.solutions-card-hover {
  transition: none;
}
.solutions-card-hover-inner {
  width: 90%;
}
.solutions-card-hover strong,
.solutions-card-text,
.solutions-card-more {
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: all .5s ease-in-out;
}
.solutions-card-hover strong {
  font-family: var(--display);
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}
.solutions-card-text {
  margin-top: 0;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-transform: none;
}
.solutions-card-more {
  margin-top: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.solutions-card-link:hover .solutions-card-resting,
.solutions-card-link:focus-visible .solutions-card-resting {
  opacity: 0;
  visibility: hidden;
}
.solutions-card-link:hover .solutions-card-hover strong,
.solutions-card-link:hover .solutions-card-hover .solutions-card-text,
.solutions-card-link:hover .solutions-card-hover .solutions-card-more,
.solutions-card-link:focus-visible .solutions-card-hover strong,
.solutions-card-link:focus-visible .solutions-card-hover .solutions-card-text,
.solutions-card-link:focus-visible .solutions-card-hover .solutions-card-more {
  opacity: 1;
  visibility: visible;
}
.solutions-card-link:hover .solutions-card-text,
.solutions-card-link:focus-visible .solutions-card-text {
  margin-top: 15px;
}
.solutions-card-link:hover .solutions-card-more,
.solutions-card-link:focus-visible .solutions-card-more {
  margin-top: clamp(48px, 5.2vw, 100px);
  font-size: 15px;
}
.solutions-card-link:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: -3px;
}
.solutions-nav {
  position: absolute;
  z-index: 4;
  right: 1%;
  bottom: 50px;
  display: flex;
  gap: 20px;
}
.solutions-nav-btn {
  width: 31px;
  height: 31px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: .5;
  transition: opacity .3s ease;
}
.solutions-nav-btn:hover,
.solutions-nav-btn:focus-visible {
  opacity: 1;
}
.solutions-nav-btn::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: 8px auto 0;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
.solutions-nav-btn.is-prev::before { transform: rotate(-135deg); }
.solutions-nav-btn.is-next::before { transform: rotate(45deg); }
.solutions-nav-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .solutions-card-media,
  .solutions-card-media::after,
  .solutions-card-resting,
  .solutions-card-hover strong,
  .solutions-card-text,
  .solutions-card-more {
    transition: none;
  }
  .solutions-card-link:hover .solutions-card-media,
  .solutions-card-link:focus-visible .solutions-card-media {
    transform: none;
  }
}

/* Application pathways: cue on the left, two short routes on the right. */
.application-actions {
  align-items: center;
  justify-content: space-between;
  gap: 20px clamp(28px, 4vw, 56px);
  margin-top: 48px;
  padding-top: 30px;
}
.application-actions-note {
  max-width: 38ch;
  color: #5a6d85;
  font-size: 15px;
  line-height: 1.45;
}
.application-actions-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px clamp(28px, 3vw, 44px);
}
.application-actions .text-link {
  margin-top: 0;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

/* Why OUCO is a full-bleed engineering image and one open text column. */
.home-why { display: grid; grid-template-columns: minmax(0, 48%) minmax(0, 52%); min-height: 790px; background: var(--navy); }
.home-why-media { position: relative; min-height: 100%; overflow: hidden; }
.home-why-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,35,79,.06), rgba(16,35,79,.28)); pointer-events: none; }
.home-why-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 43% center; }
.home-why-content { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(72px, 7vw, 120px) clamp(42px, 6.4vw, 112px); color: var(--white); }
.home-why-copy .eyebrow { color: var(--cyan); }
.home-why-copy h2 { max-width: 720px; margin-bottom: 23px; color: var(--white); font-size: clamp(39px, 3.6vw, 59px); }
.home-why-copy > p:not(.eyebrow) { max-width: 700px; color: rgba(255,255,255,.76); font-size: 17px; }
.home-why-copy .text-link { margin-top: 15px; color: var(--cyan); }
.home-why-points { max-width: 680px; margin-top: clamp(42px, 4vw, 66px); }
.home-why-item { padding: 20px 0 18px; border-top: 1px solid rgba(255,255,255,.22); }
.home-why-item h3 { margin-bottom: 8px; color: var(--white); font-family: var(--display); font-size: clamp(19px, 1.45vw, 24px); line-height: 1.24; }
.home-why-item p { max-width: 640px; margin-bottom: 0; color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.55; }

/* Scenario teasers are editorial, and do not claim verified client projects. */
.home-projects { padding: 128px 0 132px; background: var(--white); }
.home-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 32px); }
.home-project-item { display: flex; min-width: 0; flex-direction: column; }
.home-project-item > img,
.home-project-item > a > img,
.home-project-item > picture > img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.home-project-copy { padding-top: 24px; }
.home-project-item > :is(h3, strong, p, small, span, a) { margin-top: 21px; }
.home-project-item :is(h3, strong) { display: block; margin-bottom: 9px; color: var(--navy); font-family: var(--display); font-size: clamp(21px, 1.7vw, 27px); font-weight: 700; line-height: 1.2; }
.home-project-item :is(p, small) { display: block; margin-bottom: 0; color: #506879; font-size: 15px; line-height: 1.5; }
.home-project-item .home-project-copy :is(p, small) { margin-top: 0; }
.home-project-item a { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-top: 20px; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--blue); font-family: var(--display); font-size: 13px; font-weight: 800; }
.home-project-item a:hover { color: var(--navy); }
.home-project-item:hover .text-link svg,
.home-knowledge-item:hover .text-link svg { transform: translateX(4px); }

/* Brand, OEM and ODM are three open service statements. */
.home-service-lines { padding: 124px 0 130px; background: var(--surface); }
.home-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 72px);
}
.home-service-item { min-width: 0; padding: 34px 0 0; border-top: 1px solid #d3dfee; }
.home-service-item > svg,
.home-service-item .home-item-icon { display: block; width: 44px; height: 44px; margin-bottom: 26px; color: var(--blue); fill: none; stroke: currentColor; stroke-width: 1.5; }
.home-service-item .home-item-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; }
.home-service-item h3 { margin-bottom: 15px; color: var(--navy); font-size: clamp(23px, 1.9vw, 30px); }
.home-service-item p { max-width: 360px; margin-bottom: 18px; color: #506879; font-size: 16px; }
.home-service-item ul { margin: 0; padding-left: 18px; color: #506879; font-size: 15px; }
.home-service-item li + li { margin-top: 5px; }
.home-service-item a { display: inline-block; margin-top: 21px; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--blue); font-family: var(--display); font-size: 13px; font-weight: 800; }

/* Knowledge editorial composition is defined with its section scope below. */

@media (max-width: 1320px) {
  .header-shell:has(> .header-actions),
  .header-shell:has(> .header-quote) { grid-template-columns: 132px minmax(0, 1fr) auto; }
  .header-shell:has(> .header-actions) .language,
  .header-shell:has(> .header-quote) .language { display: none; }
  .header-shell:has(> .header-actions) .primary-nav,
  .header-shell:has(> .header-quote) .primary-nav { gap: 9px; }
  .header-shell:has(> .header-actions) .primary-nav a,
  .header-shell:has(> .header-quote) .primary-nav a { font-size: 11px; }
}

@media (max-width: 1160px) {
  .header-shell:has(> .header-actions),
  .header-shell:has(> .header-quote) { grid-template-columns: 1fr auto auto; gap: 12px; }
  .header-shell:has(> .header-actions) > .brand,
  .header-shell:has(> .header-quote) > .brand { grid-column: 1; grid-row: 1; }
  .header-shell:has(> .header-actions) > .header-actions,
  .header-shell:has(> .header-quote) > .header-quote { grid-column: 2; grid-row: 1; }
  .header-shell:has(> .header-actions) > .nav-toggle,
  .header-shell:has(> .header-quote) > .nav-toggle { grid-column: 3; grid-row: 1; }
  .header-shell:has(> .header-actions) .nav-toggle,
  .header-shell:has(> .header-quote) .nav-toggle { display: flex; width: 44px; height: 44px; align-items: center; flex-direction: column; justify-content: center; gap: 5px; border: 0; background: transparent; cursor: pointer; }
  .header-shell:has(> .header-actions) .nav-toggle > span:not(.sr-only),
  .header-shell:has(> .header-quote) .nav-toggle > span:not(.sr-only) { width: 23px; height: 2px; background: var(--navy); transition: transform .22s ease, opacity .22s ease; }
  .header-shell:has(> .header-actions) .nav-toggle[aria-expanded="true"] > span:nth-child(1),
  .header-shell:has(> .header-quote) .nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header-shell:has(> .header-actions) .nav-toggle[aria-expanded="true"] > span:nth-child(2),
  .header-shell:has(> .header-quote) .nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .header-shell:has(> .header-actions) .nav-toggle[aria-expanded="true"] > span:nth-child(3),
  .header-shell:has(> .header-quote) .nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-shell:has(> .header-actions) .primary-nav,
  .header-shell:has(> .header-quote) .primary-nav { position: fixed; top: var(--header-h); right: 0; left: 0; display: grid; height: auto; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; justify-content: stretch; gap: 0; padding: 18px var(--gutter) 28px; border-top: 1px solid var(--border); background: var(--white); box-shadow: 0 18px 35px rgba(16,35,79,.1); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-14px); transition: opacity .22s ease, transform .22s ease; }
  .header-shell:has(> .header-actions) .primary-nav.is-open,
  .header-shell:has(> .header-quote) .primary-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
  .header-shell:has(> .header-actions) .primary-nav a,
  .header-shell:has(> .header-quote) .primary-nav a { min-height: 47px; border-bottom: 1px solid #edf2f5; font-size: 13px; }
  .header-shell:has(> .header-actions) .primary-nav a::after,
  .header-shell:has(> .header-quote) .primary-nav a::after { display: none; }
  .home-why-content { padding: 74px clamp(34px, 5vw, 72px); }
}

@media (max-width: 900px) {
  .home-challenges { padding: 52px 0 0; }
  .solutions-carousel { --solutions-slides: 2.2; margin-top: 36px; }
  .solutions-card-link { height: clamp(340px, 62vw, 460px); }
  .solutions-nav { right: 16px; bottom: 28px; }
  .home-why { grid-template-columns: 1fr; }
  .home-why-media { height: 390px; min-height: 0; }
  .home-why-content { padding: 72px var(--gutter) 80px; }
  .home-why-copy h2 { max-width: 700px; }
}

@media (max-width: 820px) {
  .home-trust-grid { grid-template-columns: 1fr; }
  .home-trust-item { padding: 19px 0; }
  .home-trust-item + .home-trust-item { border-top: 1px solid var(--border); border-left: 0; }
  .home-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-service-grid { grid-template-columns: 1fr; }
  .home-service-item { padding-top: 30px; }
  .application-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .application-actions-links {
    justify-content: flex-start;
    gap: 16px 28px;
  }
  .application-actions .text-link { white-space: normal; }
}

@media (max-width: 560px) {
  .header-shell:has(> .header-actions),
  .header-shell:has(> .header-quote) { width: min(var(--shell), calc(100% - (var(--gutter) * 2))); gap: 8px; }
  .header-shell:has(> .header-actions) .brand,
  .header-shell:has(> .header-quote) .brand { width: 118px; }
  .header-quote { min-height: 34px; padding: 0 10px; font-size: 11px; }
  .header-quote svg { width: 14px; height: 14px; }
  .home-projects, .home-service-lines, .home-knowledge { padding-top: 88px; padding-bottom: 92px; }
  .home-project-grid, .home-knowledge-grid { grid-template-columns: 1fr; }
  .home-challenges { padding-top: 48px; }
  .solutions-carousel { --solutions-slides: 1.15; }
  .solutions-carousel.is-static .solutions-track { grid-template-columns: 1fr; }
  .solutions-card-link { height: 380px; }
  .solutions-heading-rule { margin: 18px 0 16px; }
  .home-why-media { height: 275px; }
  .home-why-content { padding: 66px 24px 75px; }
  .home-why-copy h2 { font-size: clamp(37px, 9vw, 49px); }
  .home-why-points { margin-top: 40px; }
  .home-project-item + .home-project-item { padding-top: 28px; }
  .home-project-item > img, .home-project-item > a > img, .home-project-item > picture > img { aspect-ratio: 1.6; }
  .home-knowledge-item { min-height: 0; padding: 29px 0 0; }
  .application-actions { align-items: flex-start; }
}

/* Image and color fields replace the former line-led homepage tail sections.
   These rules are ID-scoped so the interior Resources and Services pages retain their layouts. */
#service-options {
  display: grid;
  grid-template-columns: minmax(0, 53%) minmax(0, 47%);
  padding: 0;
  color: var(--white);
  background: var(--navy);
}
#service-options .home-service-media {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-height: 790px;
  overflow: hidden;
}
#service-options .home-service-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}
#service-options .home-service-shell {
  grid-column: 1;
  grid-row: 1;
  width: auto;
  max-width: none;
  margin: 0;
  padding: clamp(76px, 7vw, 112px) clamp(40px, 4.5vw, 76px) clamp(80px, 7vw, 114px) var(--gutter);
}
#service-options .section-heading {
  display: block;
  margin-bottom: clamp(43px, 4vw, 66px);
}
#service-options .eyebrow { color: var(--cyan); }
#service-options .section-heading h2 {
  max-width: 690px;
  margin: 0;
  color: var(--white);
  font-size: clamp(42px, 3.7vw, 62px);
}
#service-options .section-heading > p {
  max-width: 640px;
  margin-top: 24px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.55;
}
#service-options .home-service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}
#service-options .home-service-item {
  display: grid;
  grid-template-columns: minmax(140px, 185px) minmax(0, 1fr);
  column-gap: clamp(18px, 2vw, 34px);
  row-gap: 5px;
  min-width: 0;
  padding: 0;
  border: 0;
}
#service-options .home-service-item h3 {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
  color: var(--white);
  font-size: clamp(22px, 1.6vw, 27px);
  line-height: 1.2;
}
#service-options .home-service-item p {
  grid-column: 2;
  max-width: 430px;
  margin: 0;
  color: rgba(255,255,255,.77);
  font-size: 16px;
  line-height: 1.48;
}
#service-options .home-service-item a {
  grid-column: 2;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  margin: 2px 0 0;
  padding: 0;
  border: 0;
  color: var(--cyan);
  font-size: 14px;
}
#service-options .home-service-item a:hover,
#service-options .home-service-item a:focus-visible { color: var(--white); }

#resources {
  padding: 0;
  background: var(--white);
}
#resources .section-shell {
  display: grid;
  grid-template-columns: minmax(0, 43%) minmax(0, 57%);
  grid-template-rows: auto 1fr;
  width: 100%;
  max-width: none;
  min-height: 610px;
  margin: 0;
}
#resources .section-heading {
  grid-column: 1;
  grid-row: 1;
  display: block;
  align-self: end;
  margin: 0;
  padding: clamp(76px, 7vw, 112px) clamp(38px, 5vw, 84px) 0 var(--gutter);
}
#resources .section-heading h2 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(42px, 3.6vw, 60px);
}
#resources .section-heading > div > p {
  max-width: 530px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.55;
}
#resources .resource-extra-links {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  margin: 0;
  padding: 40px clamp(38px, 5vw, 84px) 80px var(--gutter);
  border: 0;
}
#resources .resource-extra-links a {
  padding: 0;
  border: 0;
  color: var(--blue);
  font-size: 15px;
}
#resources .resource-extra-links a:hover { color: var(--navy); }
#resources .resource-grid {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: clamp(35px, 3.5vw, 58px);
  min-width: 0;
  padding: clamp(78px, 7vw, 116px) clamp(42px, 6vw, 106px);
  border: 0;
  background: linear-gradient(100deg, rgba(16,35,79,.95), rgba(31,58,121,.9)), url("../assets/product-cable-accessories.jpg") center / cover;
}
#resources .resource-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  column-gap: 26px;
  min-height: 0;
  padding: 0;
  border: 0;
  color: var(--white);
  background: transparent;
  transition: transform .25s var(--ease);
}
#resources .resource-card:hover { color: var(--white); transform: translateX(5px); }
#resources .resource-icon { display: none; }
#resources .resource-card > span:nth-child(2) { grid-column: 1; }
#resources .resource-card strong {
  color: var(--white);
  font-size: clamp(25px, 2.25vw, 36px);
}
#resources .resource-card em,
#resources .resource-card:hover em {
  max-width: 540px;
  margin-top: 8px;
  color: rgba(255,255,255,.77);
  font-size: 16px;
  line-height: 1.5;
}
#resources .resource-arrow,
#resources .resource-card:hover .resource-arrow {
  position: static;
  grid-column: 2;
  grid-row: 1;
  width: 27px;
  height: 27px;
  stroke: var(--white);
}

#knowledge-and-development {
  padding: clamp(100px, 8vw, 150px) 0 clamp(110px, 9vw, 170px);
  background: var(--white);
}
#knowledge-and-development .home-knowledge-shell {
  width: min(var(--shell), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  padding-inline: 0;
}
#knowledge-and-development .home-knowledge-heading {
  max-width: 1120px;
  margin-bottom: clamp(65px, 6.2vw, 112px);
}
#knowledge-and-development .home-knowledge-heading h2 {
  max-width: 1080px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(49px, 5.1vw, 82px);
  line-height: 1.06;
}
#knowledge-and-development .home-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(28px, 3vw, 64px);
}
#knowledge-and-development .home-knowledge-item {
  display: block;
  min-width: 0;
  color: var(--navy);
}
#knowledge-and-development .home-knowledge-item:last-child { margin-top: clamp(82px, 8vw, 145px); }
#knowledge-and-development .home-knowledge-media {
  display: block;
  height: clamp(390px, 32vw, 590px);
  overflow: hidden;
  background: var(--surface-2);
}
#knowledge-and-development .home-knowledge-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s var(--ease);
}
#knowledge-and-development .home-knowledge-item:first-child .home-knowledge-media img { object-position: center 47%; }
#knowledge-and-development .home-knowledge-item:last-child .home-knowledge-media img { object-position: center center; }
#knowledge-and-development .home-knowledge-item:hover .home-knowledge-media img,
#knowledge-and-development .home-knowledge-item:focus-visible .home-knowledge-media img { transform: scale(1.035); }
#knowledge-and-development .home-knowledge-copy { display: block; max-width: 760px; padding-top: 28px; }
#knowledge-and-development .home-knowledge-copy h3 {
  max-width: 720px;
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(28px, 2.3vw, 39px);
  line-height: 1.18;
}
#knowledge-and-development .home-knowledge-copy p {
  max-width: 660px;
  margin: 0 0 24px;
  color: #506879;
  font-size: clamp(16px, 1.08vw, 18px);
  line-height: 1.55;
}
#knowledge-and-development .home-knowledge-action {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
}
#knowledge-and-development .home-knowledge-action svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .25s var(--ease); }
#knowledge-and-development .home-knowledge-item:hover .home-knowledge-action { color: var(--blue-bright); }
#knowledge-and-development .home-knowledge-item:hover .home-knowledge-action svg { transform: translateX(5px); }

#service-options .reveal,
#resources .reveal,
#knowledge-and-development .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 900px) {
  #service-options { display: flex; flex-direction: column; }
  #service-options .home-service-media { order: 0; min-height: 0; height: 370px; }
  #service-options .home-service-shell { order: 1; width: 100%; padding: 74px var(--gutter) 85px; }
  #service-options .home-service-item { grid-template-columns: minmax(140px, 200px) minmax(0, 1fr); }
  #resources .section-shell { display: flex; flex-direction: column; min-height: 0; }
  #resources .section-heading { padding: 78px var(--gutter) 44px; }
  #resources .resource-grid { padding: 72px var(--gutter); }
  #resources .resource-extra-links { flex-direction: row; flex-wrap: wrap; gap: 18px 30px; padding: 34px var(--gutter) 76px; }
  #knowledge-and-development .home-knowledge-item:last-child { margin-top: 80px; }
}

@media (max-width: 650px) {
  #service-options .home-service-media { height: 280px; }
  #service-options .home-service-shell { padding: 69px var(--gutter) 78px; }
  #service-options .section-heading { margin-bottom: 42px; }
  #service-options .section-heading h2 { font-size: clamp(36px, 9vw, 48px); }
  #service-options .section-heading > p { font-size: 16px; }
  #service-options .home-service-grid { gap: 32px; }
  #service-options .home-service-item { display: block; }
  #service-options .home-service-item h3 { margin-bottom: 9px; font-size: 24px; }
  #service-options .home-service-item p { font-size: 15px; }
  #service-options .home-service-item a { margin-top: 12px; }
  #resources .section-heading h2 { font-size: clamp(38px, 9vw, 50px); }
  #resources .section-heading > div > p { font-size: 16px; }
  #resources .resource-grid { gap: 34px; padding: 68px var(--gutter); }
  #resources .resource-card strong { font-size: 27px; }
  #resources .resource-card em { font-size: 15px; }
  #resources .resource-extra-links { flex-direction: column; align-items: flex-start; }
  #knowledge-and-development { padding-top: 84px; padding-bottom: 96px; }
  #knowledge-and-development .home-knowledge-heading { margin-bottom: 48px; }
  #knowledge-and-development .home-knowledge-heading h2 { font-size: clamp(40px, 9vw, 54px); }
  #knowledge-and-development .home-knowledge-grid { grid-template-columns: 1fr; }
  #knowledge-and-development .home-knowledge-item:last-child { margin-top: 58px; }
  #knowledge-and-development .home-knowledge-media,
  #knowledge-and-development .home-knowledge-item:last-child .home-knowledge-media { height: clamp(285px, 80vw, 420px); }
  #knowledge-and-development .home-knowledge-copy { padding-top: 23px; }
  #knowledge-and-development .home-knowledge-copy h3 { font-size: clamp(27px, 7vw, 36px); }
  #knowledge-and-development .home-knowledge-copy p { font-size: 16px; }
}

#products .section-heading {
  width: 100%;
}
#products .product-grid {
  width: 100%;
  gap: 22px;
}
#products .product-card {
  min-height: clamp(360px, 26vw, 460px);
  border-radius: 0;
}
#products .product-copy {
  bottom: clamp(34px, 4vw, 62px);
  left: clamp(30px, 4vw, 68px);
}
#products .product-copy strong { font-size: clamp(20px, 1.45vw, 24px); font-weight: 700; letter-spacing: -0.02em; }
#products .product-copy small { font-size: 14px; }
#products .product-card-capability::before,
#products .capability-grid { display: none; }

/* News follows the editorial image-and-copy rhythm supplied for the homepage. */
.home-news {
  padding: clamp(92px, 8vw, 142px) 0 clamp(94px, 8vw, 140px);
  background: var(--white);
}
.home-news-heading {
  width: min(1000px, calc(100% - (var(--gutter) * 2)));
  margin: 0 auto clamp(50px, 5vw, 82px);
  text-align: center;
}
.home-news-heading .eyebrow { margin-bottom: 16px; }
.home-news-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 80px);
  line-height: 1.06;
  letter-spacing: -.045em;
}
.home-news-heading > p:last-child {
  max-width: 650px;
  margin: 22px auto 0;
  color: #506879;
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
}
.home-news-stage {
  display: grid;
  grid-template-columns: clamp(62px, 6vw, 100px) minmax(0, 1fr) clamp(62px, 6vw, 100px);
  align-items: center;
  width: min(var(--shell), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}
.home-news-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.home-news-track::-webkit-scrollbar { display: none; }
.home-news-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  scroll-snap-align: start;
}
.home-news-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #dfe7f2;
}
.home-news-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.home-news-item:hover .home-news-image img { transform: scale(1.045); }
.home-news-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 300px;
  padding: clamp(27px, 2.4vw, 40px) clamp(26px, 2.4vw, 40px) 34px;
  background: #f5f7fb;
}
.home-news-meta {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.home-news-copy h3 {
  margin: 21px 0 14px;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1.19;
  letter-spacing: -.03em;
}
.home-news-copy h3 a { color: inherit; }
.home-news-copy h3 a:hover,
.home-news-copy h3 a:focus-visible { color: var(--blue); }
.home-news-copy p {
  margin: 0 0 28px;
  color: #526575;
  font-size: 15px;
  line-height: 1.58;
}
.home-news-read,
.home-news-all {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}
.home-news-read { margin-top: auto; }
.home-news-read svg,
.home-news-all svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform .25s ease;
}
.home-news-read:hover svg,
.home-news-all:hover svg { transform: translateX(5px); }
.home-news-control {
  display: grid;
  width: 100%;
  height: 90px;
  place-items: center;
  padding: 0;
  border: 0;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  transition: color .2s ease, opacity .2s ease;
}
.home-news-control svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.home-news-control-prev svg { transform: rotate(180deg); }
.home-news-control:hover { color: var(--blue); }
.home-news-control:disabled { opacity: .25; cursor: default; }
.home-news-control:focus-visible,
.home-news-image:focus-visible,
.home-news-copy a:focus-visible,
.home-news-all:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.home-news-all {
  display: flex;
  margin: clamp(38px, 4vw, 64px) auto 0;
  font-size: 16px;
}

@media (max-width: 1100px) {
  .solutions-carousel { --solutions-slides: 3.15; }
  .solutions-carousel.is-static .solutions-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-news-track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; }
  .home-news-copy { min-height: 310px; }
}
@media (max-width: 820px) {
  #products .product-card { min-height: 370px; }
  #products .product-copy { right: 82px; }
}
@media (max-width: 700px) {
  .home-news { padding-top: 84px; padding-bottom: 90px; }
  .home-news-heading { margin-bottom: 42px; }
  .home-news-heading h2 { font-size: clamp(43px, 11vw, 62px); }
  .home-news-stage { position: relative; display: block; padding: 0 var(--gutter) 76px; }
  .home-news-track { grid-auto-columns: 100%; gap: 18px; }
  .home-news-copy { min-height: 270px; padding: 28px 26px 32px; }
  .home-news-copy h3 { font-size: clamp(23px, 6vw, 31px); }
  .home-news-control { position: absolute; bottom: 0; width: 54px; height: 54px; }
  .home-news-control-prev { left: var(--gutter); }
  .home-news-control-next { right: var(--gutter); }
  .home-news-all { margin-top: 26px; }
}
@media (max-width: 560px) {
  #products .product-card { min-height: 340px; }
  #products .product-copy { left: 24px; bottom: 28px; }
  #products .product-copy strong { font-size: 20px; }
  #products .product-copy small { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-news-track { scroll-behavior: auto; }
  .home-news-image img,
  .home-news-read svg,
  .home-news-all svg { transition: none; }
}
