.products-page .site-nav .nav-group:first-child > summary::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--blue);
}


.products-hero {
  position: relative;
  min-height: min(720px, calc(100svh - 88px));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(88px, 11vw, 170px) clamp(24px, 7vw, 126px);
  color: white;
  background: var(--ci-blue) url("../../images/site/bg-abstract_02.jpg") center / cover no-repeat;
}

.products-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(var(--ci-navy-rgb) / .52) 0%, rgb(var(--ci-navy-rgb) / .2) 50%, rgb(var(--ci-navy-rgb) / .08) 100%);
}

.products-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(54vw, 800px);
  aspect-ratio: 1;
  top: -33vw;
  right: -13vw;
  border: 1px solid rgb(var(--ci-blue-rgb) / .52);
  border-radius: 50%;
}

.products-hero-copy { width: min(900px, 72vw); }
.products-hero .eyebrow { color: var(--ci-blue); }
.products-hero h1 { font-size: var(--ci-hero-title-size); line-height: .9; }
.products-hero h1 em { color: white; font-size: var(--ci-hero-title-accent-size); line-height: 1.02; letter-spacing: -.045em; }
.products-hero-copy > p:last-child {
  max-width: 650px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(1.03rem, 1.35vw, 1.3rem);
}

.products-scroll {
  position: absolute;
  right: clamp(24px, 7vw, 126px);
  bottom: clamp(40px, 6vw, 78px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.products-scroll span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
}

.product-index {
  position: sticky;
  top: 88px;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px);
}

.product-index a {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 12px;
  border-right: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(.8rem, 1vw, 1rem);
  line-height: 1.2;
  transition: color .2s ease, background .2s ease;
}

.product-index a:last-child { border-right: 0; }
.product-index a:hover,
.product-index a:focus-visible,
.product-index a.is-active,
.product-index a[aria-current="location"] { color: white; background: var(--blue-deep); }
.product-index span { color: var(--blue-deep); font-size: .66rem; font-weight: 800; letter-spacing: .12em; }
.product-index a:hover span,
.product-index a:focus-visible span,
.product-index a.is-active span,
.product-index a[aria-current="location"] span { color: white; }

.product-showcase {
  scroll-margin-top: 180px;
  min-height: 740px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: white;
}

.product-showcase-reverse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-showcase-reverse .product-showcase-media { order: 2; }
.product-showcase-reverse .product-showcase-copy { order: 1; }

.product-showcase-media {
  min-width: 0;
  min-height: 740px;
  margin: 0;
  overflow: hidden;
  background: var(--ci-surface);
}

.product-showcase-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.product-showcase:hover .product-showcase-media img { transform: scale(1.025); }

.product-showcase-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: clamp(54px, 7vw, 120px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: white;
}

.product-showcase-copy::after {
  content: "";
  position: absolute;
  width: 340px;
  aspect-ratio: 1;
  right: -190px;
  bottom: -190px;
  border: 1px solid rgb(var(--ci-blue-rgb) / .32);
  border-radius: 50%;
}

.product-number {
  position: absolute;
  top: clamp(28px, 4vw, 62px);
  right: clamp(30px, 4.8vw, 78px);
  color: rgb(var(--ci-blue-rgb) / .2);
  font-family: var(--display);
  font-size: clamp(4.8rem, 8vw, 8.5rem);
  font-weight: 300;
  line-height: 1;
}

.product-showcase-copy h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(2.625rem, 4.2vw, 5.25rem);
  line-height: .9;
}

.product-showcase-copy h2 em {
  display: block;
  color: var(--blue-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .52em;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.product-showcase-copy > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
}

.product-detail-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.product-detail-link span { font-size: 1.2rem; transition: transform .2s ease; }
.product-detail-link:hover span { transform: translate(3px, -3px); }

.product-showcase-dark,
.product-showcase-sky { background: white; }

.product-showcase-dark .product-showcase-copy,
.product-showcase-sky .product-showcase-copy { border-color: var(--line); }

.product-showcase-dark .eyebrow,
.product-showcase-sky .eyebrow { color: var(--blue-deep); }

.product-showcase-dark .product-showcase-copy > p:not(.eyebrow),
.product-showcase-sky .product-showcase-copy > p:not(.eyebrow) { color: var(--muted); }

.product-showcase-dark .product-number,
.product-showcase-sky .product-number { color: rgb(var(--ci-blue-rgb) / .2); }

.product-showcase-dark .product-showcase-copy::after,
.product-showcase-sky .product-showcase-copy::after { border-color: rgb(var(--ci-blue-rgb) / .32); }

.products-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(42px, 9vw, 150px);
  align-items: center;
  color: white;
  background: var(--blue);
}

.products-contact .eyebrow { color: rgba(255, 255, 255, .8); }
.products-contact h2 { max-width: 700px; }
.products-contact-action p { max-width: 600px; margin: 0 0 32px; color: rgba(255, 255, 255, .86); }
.products-contact-action a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid white;
  font-weight: 800;
}

@media (max-width: 1050px) {
  .product-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-index a:nth-child(3) { border-right: 0; }
  .product-index a:nth-child(-n + 3) { border-bottom: 1px solid var(--line); }
  .product-showcase, .product-showcase-reverse { grid-template-columns: 1fr 1fr; }
  .product-showcase-copy { padding-inline: clamp(38px, 5vw, 70px); }
}

@media (max-width: 820px) {
  .products-page main { padding-top: 76px; }
  .products-hero { min-height: 700px; padding: 90px 20px 150px; background-position: center; }
  .products-hero::before { background: rgb(var(--ci-navy-rgb) / .42); }
  .products-hero-copy { width: 100%; }
  .products-hero h1 { font-size: var(--ci-hero-title-size); }
  .products-hero h1 em { font-size: var(--ci-hero-title-accent-size); }
  .products-hero-copy > p:last-child { max-width: 540px; }
  .products-scroll { right: auto; bottom: 48px; left: 20px; }
  .product-index { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-index a { min-height: 76px; justify-content: flex-start; padding-inline: 20px; }
  .product-index a:nth-child(3) { border-right: 1px solid var(--line); }
  .product-index a:nth-child(-n + 4) { border-bottom: 1px solid var(--line); }
  .product-index a:nth-child(even) { border-right: 0; }
  .product-showcase, .product-showcase-reverse { min-height: 0; grid-template-columns: 1fr; }
  .product-showcase-reverse .product-showcase-media, .product-showcase-reverse .product-showcase-copy { order: initial; }
  .product-showcase-media { min-height: 0; aspect-ratio: 16 / 10; }
  .product-showcase-copy { min-height: 520px; padding: 74px 24px 62px; }
  .product-showcase-copy h2 { font-size: clamp(2.625rem, 11.25vw, 4.05rem); }
  .product-number { top: 25px; right: 24px; font-size: 5rem; }
  .products-contact { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 520px) {
  .products-hero { min-height: 650px; }
  .products-hero h1 { font-size: var(--ci-hero-title-size); }
  .products-hero h1 em { font-size: var(--ci-hero-title-accent-size); }
  .product-index a { min-height: 70px; gap: 8px; padding-inline: 14px; font-size: .75rem; }
  .product-showcase { scroll-margin-top: 76px; }
  .product-showcase-media { aspect-ratio: 4 / 3; }
  .product-showcase-copy { min-height: 460px; padding: 72px 22px 50px; }
  .product-showcase-copy h2 { font-size: 2.7375rem; }
  .product-showcase-copy > p:not(.eyebrow) { margin-top: 24px; }
  .product-detail-link { margin-top: 32px; }
}

/* Clay theme system: product navigation alignment */
.product-index{top:var(--clay-header-height,81px)}@media(max-width:820px){.products-page main{padding-top:0!important}}


/* Product index Gutenberg wrapper bridge — scoped to this page only. */
body.products-page #product-index>.wp-block-group__inner-container,
body.products-page #product-index>.wp-block-group__inner-container>p{display:contents!important}
