/* V2.7 restrained scientific atmosphere. Does not restyle V2.6 files. */

body.v27 {
  --lab-steel: #7d8b96;
}

/* ---------- 1. Custom specifications ---------- */
body.v27 .custom {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
body.v27 .custom h2 {
  color: var(--ivory);
  text-shadow: 0 1px 0 rgba(10, 18, 14, .35);
}
body.v27 .custom p,
body.v27 .custom strong {
  color: #e8eedc;
}
body.v27 .custom .sec-kicker {
  color: var(--chartreuse);
}
body.v27 .custom-grid-bg,
body.v27 .custom-light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
body.v27 .custom-grid-bg {
  background-image:
    linear-gradient(rgba(197, 212, 106, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 212, 106, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .16;
}
body.v27 .custom.is-in .custom-grid-bg {
  opacity: .28;
}
body.v27 .custom-light {
  background: radial-gradient(ellipse 48% 62% at 16% 28%, rgba(197, 212, 106, .16), transparent 62%);
  opacity: .7;
}
body.v27 .custom .wrap {
  position: relative;
  z-index: 1;
}
body.v27 .custom-steps {
  position: relative;
}
body.v27 .custom-steps::before {
  content: "";
  position: absolute;
  left: 38px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, rgba(197, 212, 106, .15), rgba(197, 212, 106, .55), rgba(197, 212, 106, .15));
  pointer-events: none;
}
body.v27 .custom-steps li {
  position: relative;
  outline: none;
  transition: background-color .2s ease;
}
body.v27 .custom-steps li:focus-visible {
  outline: 1px solid var(--chartreuse);
  outline-offset: 4px;
}
body.v27 .custom-steps li::after {
  content: "";
  position: absolute;
  left: 35px;
  top: 28px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pine);
  border: 1px solid var(--chartreuse);
  z-index: 1;
}
body.v27 .custom-steps li:hover,
body.v27 .custom-steps li:focus-visible {
  background: rgba(246, 241, 230, .04);
}
body.v27 .custom-steps li:hover::before,
body.v27 .custom-steps li:focus-visible::before {
  color: #e6f08a;
}
body.v27 .custom-steps li:hover::after,
body.v27 .custom-steps li:focus-visible::after {
  background: var(--chartreuse);
  box-shadow: 0 0 0 3px rgba(197, 212, 106, .22);
}
body.v27 .custom-steps li:hover strong,
body.v27 .custom-steps li:focus-visible strong {
  color: var(--ivory);
}
body.v27 .custom .btn.copper {
  position: relative;
  overflow: hidden;
}
body.v27 .custom .btn.copper::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(246, 241, 230, .28), transparent);
  transform: translateX(-120%);
  pointer-events: none;
}
body.v27 .custom .btn.copper:hover::after,
body.v27 .custom .btn.copper:focus-visible::after {
  animation: v27-sweep .7s ease 1;
}
html.v27-motion .custom.is-in .custom-light {
  animation: v27-custom-glow 1.4s ease 1;
}

/* ---------- 2. Laboratory ---------- */
body.v27 .lab-home {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(125, 139, 150, .08), transparent 28%),
    var(--sand);
}
body.v27 .lab-motif {
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  height: 120px;
  pointer-events: none;
  opacity: .28;
}
body.v27 .lab-motif svg {
  width: 100%;
  height: 100%;
  display: block;
}
body.v27 .lab-wave {
  fill: none;
  stroke: var(--lab-steel);
  stroke-width: 1.1;
}
body.v27 .lab-wave-b {
  stroke: rgba(197, 212, 106, .55);
  stroke-width: .8;
}
body.v27 .lab-home .wrap {
  position: relative;
  z-index: 1;
}
body.v27 .lab-home::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 58, 47, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 47, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: .55;
}
body.v27 .lab-layout {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 28px;
}
body.v27 .lab-caps {
  list-style: none;
  margin: 0;
  padding: 8px 0 0 22px;
  border-left: 1px solid rgba(125, 139, 150, .35);
  display: grid;
  align-content: center;
  gap: 14px;
}
body.v27 .lab-caps li {
  position: relative;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pine);
}
body.v27 .lab-caps li::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 7px;
  width: 9px;
  height: 1px;
  background: var(--lab-steel);
}
body.v27 .lab-scan {
  position: relative;
  overflow: hidden;
}
body.v27 .lab-scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 22%;
  background: linear-gradient(180deg, transparent, rgba(246, 241, 230, .16), transparent);
  opacity: 0;
  pointer-events: none;
}
body.v27 .lab-scan:hover img,
body.v27 .lab-scan:focus-visible img,
body.v27 .hotspot-fig:hover img,
body.v27 .hotspot-fig:focus-visible img {
  outline: 1px solid var(--chartreuse);
  outline-offset: -1px;
}
body.v27 .lab-scan:hover::after,
body.v27 .lab-scan:focus-visible::after {
  opacity: 1;
  animation: v27-scan 1.1s ease 1;
}

/* ---------- 3. Manufacturing hotspots ---------- */
body.v27 .hotspot-fig {
  position: relative;
  outline: none;
  overflow: hidden;
}
body.v27 .partner-lead.hotspot-fig {
  overflow: hidden;
}
body.v27 .cap-hotspot {
  position: absolute;
  left: 46%;
  top: 38%;
  width: 12px;
  height: 12px;
  pointer-events: none;
}
body.v27 .equip-support .hotspot-fig:nth-child(1) .cap-hotspot { left: 42%; top: 40%; }
body.v27 .equip-support .hotspot-fig:nth-child(2) .cap-hotspot { left: 54%; top: 36%; }
body.v27 .equip-support .hotspot-fig:nth-child(3) .cap-hotspot { left: 48%; top: 42%; }
body.v27 .cap-hotspot i {
  display: block;
  width: 10px;
  height: 10px;
  border: 1px solid var(--chartreuse);
  border-radius: 50%;
  background: rgba(30, 58, 47, .35);
  box-shadow: 0 0 0 3px rgba(197, 212, 106, .16);
}
body.v27 .cap-hotspot em {
  position: absolute;
  left: 18px;
  top: -6px;
  min-width: 9rem;
  padding: 4px 8px;
  background: rgba(20, 36, 28, .82);
  color: var(--ivory);
  font-size: 11px;
  font-style: normal;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(4px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
  white-space: nowrap;
  max-width: min(16rem, calc(100% - 24px));
  overflow: hidden;
}
body.v27 .hotspot-fig:hover .cap-hotspot em,
body.v27 .hotspot-fig:focus-visible .cap-hotspot em {
  opacity: 1;
  transform: none;
}
body.v27 .hotspot-fig:hover figcaption,
body.v27 .hotspot-fig:focus-visible figcaption {
  color: var(--olive);
}

/* ---------- 4. Commercial pathway ---------- */
body.v27 .pathway-steps {
  position: relative;
}
body.v27 .pathway-steps li:not(:last-child)::after {
  display: none;
}
body.v27 .pathway-steps b::before {
  content: none;
}
body.v27 .path-n {
  display: block;
  color: var(--chartreuse);
  font-size: 13px;
  letter-spacing: .12em;
  margin-bottom: 6px;
}
body.v27 .path-node {
  display: block;
  width: 7px;
  height: 7px;
  margin: 0 0 10px;
  border-radius: 50%;
  border: 1px solid var(--chartreuse);
  background: transparent;
}
body.v27 .path-seg {
  position: absolute;
  right: 0;
  top: 18px;
  width: 22px;
  height: 1px;
  background: rgba(197, 212, 106, .45);
}
body.v27 .path-seg::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -2px;
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--chartreuse);
  border-top: 1px solid var(--chartreuse);
  opacity: .35;
}
body.v27 .pathway-steps li {
  outline: none;
  transition: background-color .2s ease;
}
body.v27 .pathway-steps li:focus-visible {
  outline: 1px solid var(--chartreuse);
  outline-offset: 4px;
}
body.v27 .pathway-steps li:hover,
body.v27 .pathway-steps li:focus-visible {
  background: rgba(246, 241, 230, .04);
}
body.v27 .pathway-steps li:hover .path-n,
body.v27 .pathway-steps li:focus-visible .path-n,
body.v27 .pathway-steps li:hover + li .path-n,
body.v27 .pathway-steps li:focus-visible + li .path-n {
  color: #e6f08a;
}
body.v27 .pathway-steps li:hover .path-seg,
body.v27 .pathway-steps li:focus-visible .path-seg,
body.v27 .pathway-steps li:hover + li .path-node,
body.v27 .pathway-steps li:focus-visible + li .path-node,
body.v27 .pathway-steps li:hover .path-node,
body.v27 .pathway-steps li:focus-visible .path-node {
  background: var(--chartreuse);
  border-color: var(--chartreuse);
  box-shadow: 0 0 8px rgba(197, 212, 106, .35);
}
body.v27 .pathway-steps li:hover .path-seg,
body.v27 .pathway-steps li:focus-visible .path-seg {
  background: var(--chartreuse);
}
html.v27-motion .pathway.is-in .path-seg::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 8px;
  height: 3px;
  background: #e6f08a;
  animation: v27-path-pulse .45s ease 1;
  animation-delay: inherit;
}
html.v27-motion .pathway.is-in li:nth-child(1) .path-n { animation: v27-num 0.5s ease 0s 1 both; }
html.v27-motion .pathway.is-in li:nth-child(2) .path-n { animation: v27-num 0.5s ease .12s 1 both; }
html.v27-motion .pathway.is-in li:nth-child(3) .path-n { animation: v27-num 0.5s ease .24s 1 both; }
html.v27-motion .pathway.is-in li:nth-child(4) .path-n { animation: v27-num 0.5s ease .36s 1 both; }
html.v27-motion .pathway.is-in li:nth-child(5) .path-n { animation: v27-num 0.5s ease .48s 1 both; }
html.v27-motion .pathway.is-in li:nth-child(1) .path-seg::before { animation-delay: .05s; }
html.v27-motion .pathway.is-in li:nth-child(2) .path-seg::before { animation-delay: .18s; }
html.v27-motion .pathway.is-in li:nth-child(3) .path-seg::before { animation-delay: .31s; }
html.v27-motion .pathway.is-in li:nth-child(4) .path-seg::before { animation-delay: .44s; }

/* ---------- 5. Hero ---------- */
body.v27 .hero-bowl-light {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse 16% 20% at 74% 56%, rgba(246, 241, 230, .2) 0%, rgba(197, 212, 106, .12) 32%, transparent 68%);
  mix-blend-mode: soft-light;
  opacity: .55;
}
@media (max-width: 720px) {
  body.v27 .hero-bowl-light {
    background: radial-gradient(ellipse 28% 22% at 52% 68%, rgba(246, 241, 230, .18) 0%, rgba(197, 212, 106, .1) 34%, transparent 70%);
  }
}
body.v27 .spec-rail {
  position: relative;
  overflow: hidden;
}
body.v27 .spec-ticks,
body.v27 .spec-sweep {
  position: absolute;
  pointer-events: none;
}
body.v27 .spec-ticks {
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background:
    repeating-linear-gradient(90deg, var(--chartreuse) 0 8px, transparent 8px 18px);
  opacity: .55;
}
body.v27 .spec-rail::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(197, 212, 106, .55);
}
body.v27 .spec-sweep {
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(197, 212, 106, .16) 46%, transparent 62%);
  transform: translateX(-70%);
  opacity: .55;
}
html.v27-motion .spec-sweep {
  animation: v27-spec-sweep 5.5s ease 1.1s 1;
}
html.v27-motion .hero-copy .eyebrow,
html.v27-motion .hero-copy h1,
html.v27-motion .hero-copy .lede,
html.v27-motion .hero-copy .hero-actions,
html.v27-motion .hero-copy .spec-rail {
  animation: v27-hero-in .7s ease both;
}
html.v27-motion .hero-copy .eyebrow { animation-delay: .04s; }
html.v27-motion .hero-copy h1 { animation-delay: .1s; }
html.v27-motion .hero-copy .lede { animation-delay: .16s; }
html.v27-motion .hero-copy .hero-actions { animation-delay: .22s; }
html.v27-motion .hero-copy .spec-rail { animation-delay: .3s; }
body.v27 .hero .btn.primary {
  transition: box-shadow .22s ease, background .22s ease, color .22s ease, transform .18s ease;
}
body.v27 .hero .btn.primary:hover,
body.v27 .hero .btn.primary:focus-visible {
  box-shadow: 0 0 0 1px var(--chartreuse), 0 0 18px rgba(197, 212, 106, .32);
}
body.v27 .hero .btn.ghost {
  position: relative;
}
body.v27 .hero .btn.ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .35s ease, box-shadow .35s ease;
}
body.v27 .hero .btn.ghost:hover::after,
body.v27 .hero .btn.ghost:focus-visible::after {
  border-color: var(--chartreuse);
  box-shadow: inset 0 0 0 1px rgba(197, 212, 106, .35);
}

/* ---------- 6. Product and category cards ---------- */
body.v27 .cat-card,
body.v27 .featured-v4 .product,
body.v27 .catalog-card {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
body.v27 .cat-card .cat-copy,
body.v27 .featured-v4 .product-copy,
body.v27 .catalog-card .copy {
  transition: transform .2s ease;
}
body.v27 .cat-card img {
  transform: scale(1);
  transition: transform .45s ease;
}
body.v27 .cat-card:hover,
body.v27 .cat-card:focus-visible,
body.v27 .catalog-card:hover,
body.v27 .catalog-card:focus-visible {
  border-color: var(--chartreuse);
  box-shadow: 0 0 0 1px var(--chartreuse);
  outline: none;
}
body.v27 .featured-v4 .product:hover,
body.v27 .featured-v4 .product:focus-within {
  border-color: var(--olive);
  box-shadow: 0 0 0 1px rgba(197, 212, 106, .55);
}
body.v27 .cat-card:hover .cat-copy,
body.v27 .cat-card:focus-visible .cat-copy,
body.v27 .featured-v4 .product:hover .product-copy,
body.v27 .featured-v4 .product:focus-within .product-copy,
body.v27 .catalog-card:hover .copy,
body.v27 .catalog-card:focus-visible .copy {
  transform: translateY(-3px);
}
body.v27 .cat-card:hover img,
body.v27 .cat-card:focus-visible img {
  transform: scale(1.02);
}
body.v27 .has-baked-label img,
body.v27 .has-baked-label:hover img,
body.v27 .has-baked-label:focus-visible img,
body.v27 .has-baked-label:focus-within img {
  transform: none !important;
  object-fit: contain;
}
body.v27 .has-baked-label .visual::after,
body.v27 .has-baked-label .thumb::after {
  display: none !important;
}
body.v27 .featured-v4 .product:hover .meta-table tr:nth-child(2),
body.v27 .featured-v4 .product:focus-within .meta-table tr:nth-child(2) {
  background: rgba(197, 212, 106, .12);
}
body.v27 .product-actions .text-link[href*="products/"] {
  background-size: 0 1px;
}
body.v27 .product:hover .product-actions .text-link[href*="products/"],
body.v27 .product:focus-within .product-actions .text-link[href*="products/"],
body.v27 .catalog-card:hover .text-link,
body.v27 .catalog-card:focus-visible .text-link {
  background-size: 100% 1px;
}

/* ---------- 7. Document scan ---------- */
body.v27 .doc-card {
  position: relative;
  overflow: hidden;
  outline: none;
  transition: box-shadow .2s ease, border-color .2s ease;
}
body.v27 .doc-card::after {
  content: "";
  position: absolute;
  left: 12%;
  top: -20%;
  width: 18%;
  height: 70%;
  background: linear-gradient(90deg, transparent, rgba(246, 241, 230, .28), transparent);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-40%);
}
body.v27 .doc-card:hover,
body.v27 .doc-card:focus-visible {
  border-color: var(--chartreuse);
  box-shadow: 0 0 0 1px var(--chartreuse);
}
body.v27 .doc-card:hover::after,
body.v27 .doc-card:focus-visible::after {
  opacity: 1;
  animation: v27-doc-scan .9s ease 1;
}
body.v27 .doc-card:hover b,
body.v27 .doc-card:focus-visible b {
  color: var(--olive);
}

/* ---------- 8. RFQ and inquiry ---------- */
body.v27 .rfq-stages {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  max-width: 36rem;
}
body.v27 .rfq-stages li {
  position: relative;
  flex: 1;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--olive);
  padding: 0 16px 0 0;
}
body.v27 .rfq-stages li::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin-bottom: 8px;
  border-radius: 50%;
  border: 1px solid var(--chartreuse);
  background: var(--ivory);
}
body.v27 .rfq-stages li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 8px;
  top: 3px;
  height: 1px;
  background: rgba(197, 212, 106, .45);
}
body.v27 .rfq.rfq-v3 input:focus,
body.v27 .rfq.rfq-v3 select:focus,
body.v27 .rfq.rfq-v3 textarea:focus,
body.v27 .form-light input:focus,
body.v27 .form-light select:focus,
body.v27 .form-light textarea:focus,
body.v27 .lead-form input:focus,
body.v27 .lead-form select:focus,
body.v27 .lead-form textarea:focus,
body.v27 .picker-search:focus {
  outline: none;
  border-color: var(--chartreuse);
  box-shadow: 0 1px 0 0 var(--chartreuse), 0 0 0 3px rgba(197, 212, 106, .18);
}
body.v27 .picker-v3 label.opt.is-checked,
body.v27 .picker-v3 label.opt:has(input:checked) {
  background: rgba(197, 212, 106, .16);
  box-shadow: inset 0 0 0 1px var(--olive);
}
body.v27 .rfq .btn.primary,
body.v27 .lead-form .btn.primary {
  position: relative;
  overflow: hidden;
}
body.v27 .rfq .btn.primary::after,
body.v27 .lead-form .btn.primary::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -40%;
  width: 36%;
  background: linear-gradient(90deg, transparent, rgba(197, 212, 106, .35), transparent);
  transform: translateX(-120%);
  pointer-events: none;
}
body.v27 .rfq .btn.primary:hover::after,
body.v27 .rfq .btn.primary:focus-visible::after,
body.v27 .lead-form .btn.primary:hover::after,
body.v27 .lead-form .btn.primary:focus-visible::after {
  animation: v27-sweep .7s ease 1;
}
body.v27 .rfq { padding-bottom: 96px; }

/* ---------- Motion keyframes ---------- */
@keyframes v27-sweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(320%); }
}
@keyframes v27-custom-glow {
  from { opacity: .35; }
  to { opacity: .7; }
}
@keyframes v27-scan {
  from { transform: translateY(0); }
  to { transform: translateY(280%); }
}
@keyframes v27-doc-scan {
  from { transform: translateX(-40%); }
  to { transform: translateX(280%); }
}
@keyframes v27-path-pulse {
  0% { left: 0; opacity: 0; }
  20% { opacity: 1; }
  100% { left: 16px; opacity: 0; }
}
@keyframes v27-num {
  from { color: rgba(197, 212, 106, .4); }
  45% { color: #e6f08a; }
  to { color: var(--chartreuse); }
}
@keyframes v27-spec-sweep {
  from { transform: translateX(-70%); }
  to { transform: translateX(80%); }
}
@keyframes v27-hero-in {
  from { opacity: .92; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Touch / reduced motion / no-js ---------- */
html.coarse body.v27 .cap-hotspot em {
  display: none;
}
html.coarse body.v27 .lab-scan::after,
html.coarse body.v27 .hero-glow,
html.coarse body.v27 .hero-bloom {
  display: none !important;
}
html.coarse body.v27 .cat-card:hover img,
html.coarse body.v27 .cat-card:focus-visible img {
  transform: none;
}

@media (max-width: 1100px) {
  body.v27 .lab-layout { grid-template-columns: 1fr; }
  body.v27 .lab-caps {
    grid-template-columns: 1fr 1fr;
    border-left: 0;
    padding-left: 0;
    gap: 10px 24px;
  }
  body.v27 .lab-caps li::before { display: none; }
}
@media (max-width: 720px) {
  body.v27 .pathway-steps .path-seg {
    display: none;
  }
  body.v27 .pathway-steps li {
    padding-left: 18px;
  }
  body.v27 .pathway-steps li:not(:last-child)::after {
    display: block;
    left: 3px;
    top: 28px;
    right: auto;
    width: 1px;
    height: calc(100% - 12px);
    background: rgba(197, 212, 106, .4);
  }
  body.v27 .custom-grid-bg { opacity: .12; }
  body.v27 .hero-bowl-light { opacity: .4; }
  body.v27 .cap-hotspot em { white-space: normal; min-width: 7rem; }
  body.v27 .rfq-stages { max-width: none; }
  body.v27 .lab-caps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html.v27-motion .hero-copy .eyebrow,
  html.v27-motion .hero-copy h1,
  html.v27-motion .hero-copy .lede,
  html.v27-motion .hero-copy .hero-actions,
  html.v27-motion .hero-copy .spec-rail,
  html.v27-motion .spec-sweep,
  html.v27-motion .custom.is-in .custom-light,
  html.v27-motion .pathway.is-in .path-n,
  html.v27-motion .pathway.is-in .path-seg::before,
  body.v27 .lab-scan:hover::after,
  body.v27 .lab-scan:focus-visible::after,
  body.v27 .doc-card:hover::after,
  body.v27 .doc-card:focus-visible::after,
  body.v27 .custom .btn.copper::after,
  body.v27 .rfq .btn.primary::after,
  body.v27 .lead-form .btn.primary::after {
    animation: none !important;
  }
  body.v27 .cat-card img,
  body.v27 .cat-card .cat-copy,
  body.v27 .featured-v4 .product-copy,
  body.v27 .catalog-card .copy {
    transition: none !important;
    transform: none !important;
  }
  body.v27 .spec-sweep { opacity: .2; transform: none; }
}
