.ysd-products-page {
  --ysd-navy: #011627;
  --ysd-navy-soft: #0a2438;
  --ysd-red: #d94948;
  --ysd-red-dark: #bd3737;
  --ysd-ink: #172431;
  --ysd-muted: #5d6973;
  --ysd-line: #dfe4e8;
  --ysd-paper: #fff;
  --ysd-max: 1180px;
  color: var(--ysd-ink);
  background: var(--ysd-paper);
  font: 400 16px/1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.ysd-products-page *, .ysd-products-page *::before, .ysd-products-page *::after { box-sizing: border-box; }
.ysd-products-page img { display: block; max-width: 100%; }
.ysd-container { width: min(calc(100% - 40px), var(--ysd-max)); margin-inline: auto; }
.ysd-products-page h1, .ysd-products-page h2, .ysd-products-page h3, .ysd-products-page p { text-wrap: pretty; }

.ysd-hero {
  position: relative;
  height: clamp(400px, 38vw, 470px);
  overflow: hidden;
  display: grid;
  align-items: center;
  color: #fff;
  background: var(--ysd-navy);
}

.ysd-hero__image, .ysd-hero__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.ysd-hero__image { object-fit: cover; object-position: center; }
.ysd-hero__overlay { background: linear-gradient(90deg, rgba(1,22,39,.94) 0%, rgba(1,22,39,.78) 43%, rgba(1,22,39,.22) 100%); }
.ysd-hero__content { position: relative; z-index: 1; padding-block: 64px; }

.ysd-eyebrow { margin: 0 0 16px; color: var(--ysd-red); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.ysd-eyebrow--light { color: #ff8a88; }
.ysd-hero h1 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(42px,5vw,70px); line-height: 1.05; letter-spacing: -.045em; }
.ysd-hero__copy { max-width: 670px; margin: 24px 0 30px; color: rgba(255,255,255,.84); font-size: clamp(17px,1.65vw,20px); line-height: 1.55; }

.ysd-industry-nav { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--ysd-line); box-shadow: 0 12px 30px rgba(1,22,39,.08); }
.ysd-industry-nav__inner { width: min(calc(100% - 40px),var(--ysd-max)); margin-inline: auto; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.ysd-industry-nav a { min-height: 76px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--ysd-navy) !important; border-right: 1px solid var(--ysd-line); border-bottom: 1px solid var(--ysd-line); font-size: 14px; font-weight: 750; line-height: 1.3; text-decoration: none !important; transition: color 160ms ease, background 160ms ease; }
.ysd-industry-nav a:nth-child(3n+1) { border-left: 1px solid var(--ysd-line); }
.ysd-industry-nav a:nth-last-child(-n+3) { border-bottom: 0; }
.ysd-industry-nav b { color: var(--ysd-red); font-size: 20px; transition: transform 160ms ease; }
.ysd-industry-nav a:hover, .ysd-industry-nav a:focus-visible { color: var(--ysd-red-dark) !important; background: #f4f6f7; }
.ysd-industry-nav a:hover b, .ysd-industry-nav a:focus-visible b { transform: translateX(4px); }

.ysd-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 25px;
  color: #fff !important;
  background: var(--ysd-red);
  border: 1px solid var(--ysd-red);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .02em;
  text-decoration: none !important;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.ysd-button:hover, .ysd-button:focus-visible { color: #fff !important; background: var(--ysd-red-dark); border-color: var(--ysd-red-dark); transform: translateY(-2px); }

.ysd-products { padding: 100px 0 110px; }
.ysd-section-heading { margin-bottom: 44px; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.8fr); align-items: end; gap: 80px; }
.ysd-section-heading h2, .ysd-quote h2 { margin: 0; color: var(--ysd-navy); font-size: clamp(32px,3vw,46px); line-height: 1.14; letter-spacing: -.035em; }
.ysd-section-heading > p { margin: 0 0 4px; color: var(--ysd-muted); }
.ysd-product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
.ysd-product-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ysd-line); transition: box-shadow 180ms ease, transform 180ms ease; }
.ysd-product-card:hover { box-shadow: 0 18px 44px rgba(1,22,39,.1); transform: translateY(-4px); }
.ysd-product-card__link { flex: 1; display: flex; flex-direction: column; color: inherit !important; text-decoration: none !important; }
.ysd-product-card__link:focus-visible { outline: 3px solid var(--ysd-red); outline-offset: -3px; }
.ysd-product-media { aspect-ratio: 16/8.5; overflow: hidden; display: grid; place-items: center; background: #fff; border-bottom: 1px solid var(--ysd-line); }
.ysd-product-media img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.ysd-product-content { flex: 1; padding: 30px 32px 33px; }
.ysd-product-content h3 { position: relative; margin: 0 0 20px; padding-bottom: 15px; color: var(--ysd-navy); font-size: clamp(20px,2vw,25px); line-height: 1.25; letter-spacing: -.02em; }
.ysd-product-content h3::after { content: ""; position: absolute; bottom: 0; left: 0; width: 42px; height: 3px; background: var(--ysd-red); }
.ysd-product-content p { margin: 0; color: var(--ysd-muted); }

.ysd-quote { padding: 0 0 100px; }
.ysd-quote__inner { padding: 52px 58px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; color: #fff; background: linear-gradient(125deg,var(--ysd-navy) 0%,var(--ysd-navy-soft) 75%); border-left: 6px solid var(--ysd-red); }
.ysd-quote h2 { max-width: 690px; color: #fff; }
.ysd-quote p:not(.ysd-eyebrow) { max-width: 760px; margin: 18px 0 0; color: rgba(255,255,255,.72); }
.ysd-button--light { color: var(--ysd-navy) !important; background: #fff; border-color: #fff; white-space: nowrap; }
.ysd-button--light:hover, .ysd-button--light:focus-visible { color: #fff !important; background: var(--ysd-red); border-color: var(--ysd-red); }

@media (max-width: 760px) {
  .ysd-hero { height: 480px; }
  .ysd-hero__image { object-position: 58% center; }
  .ysd-industry-nav__inner { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ysd-industry-nav a { min-height: 70px; padding: 14px 16px; }
  .ysd-industry-nav a:nth-child(3n+1) { border-left: 0; }
  .ysd-industry-nav a:nth-child(2n+1) { border-left: 1px solid var(--ysd-line); }
  .ysd-industry-nav a:nth-last-child(-n+3) { border-bottom: 1px solid var(--ysd-line); }
  .ysd-industry-nav a:nth-last-child(-n+2) { border-bottom: 0; }
  .ysd-products { padding: 74px 0 80px; }
  .ysd-section-heading { grid-template-columns: 1fr; gap: 22px; margin-bottom: 34px; }
  .ysd-product-grid { grid-template-columns: 1fr; gap: 24px; }
  .ysd-product-content { padding: 25px 24px 28px; }
  .ysd-quote { padding-bottom: 70px; }
  .ysd-quote__inner { padding: 40px 30px; grid-template-columns: 1fr; gap: 30px; }
  .ysd-quote .ysd-button { justify-self: start; }
}

@media (max-width: 480px) {
  .ysd-container { width: min(calc(100% - 28px),var(--ysd-max)); }
  .ysd-industry-nav__inner { width: min(calc(100% - 28px),var(--ysd-max)); }
  .ysd-hero h1 { font-size: 40px; }
  .ysd-product-media { aspect-ratio: 16/9; }
}

@media (prefers-reduced-motion: reduce) {
  .ysd-products-page *, .ysd-products-page *::before, .ysd-products-page *::after { transition-duration: .01ms !important; }
}
