/* The sector overview owns these styles; storefronts and scenarios are unchanged. */
.industry-shell {
  --hub-gutter: clamp(24px, 1.7vw, 32px);
  height: 100vh;
  height: 100svh;
  min-height: 660px;
  display: flex;
  flex-direction: column;
  background: #f8fafb;
}

.industry-shell .hub {
  width: 100%; max-width: none;
  padding: 22px var(--hub-gutter) 14px;
  flex: 1; min-height: 0;
  display: flex; flex-direction: column;
}
.industry-shell .hub-intro {
  flex: 0 0 auto;
  align-items: flex-end;
  gap: 24px;
  margin: 0 0 20px;
}
.industry-shell .hub-intro .eyebrow { font-size: 11px; line-height: 1.4; letter-spacing: 1.25px; }
.industry-shell .hub-intro h1 {
  font-size: clamp(26px, 2.1vw, 32px);
  font-weight: 600; line-height: 1.22; letter-spacing: -1.3px;
  margin: 9px 0 0;
}
.industry-shell .hub-intro h1 em { font-style: normal; font-weight: inherit; color: #738292; }
.industry-shell .hub-intro .intro-side {
  max-width: 260px; font-size: 13px; line-height: 1.65; color: #687a8e;
  margin: 0 0 2px;
}
.industry-shell .industry-grid {
  flex: 1; min-height: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.industry-shell .industry {
  width: 100%; height: 100%; min-height: 0; aspect-ratio: auto;
  padding: 0; border: 0; border-radius: 16px;
  position: relative; isolation: isolate; overflow: hidden;
  container-type: size;
  text-align: left; background: #38413f; color: white;
  transform: none; box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}
.industry-shell .industry-photo { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.industry-shell .industry .scene-bg,
.industry-shell .industry .industry-product-light {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
  transform: scale(1); pointer-events: none; z-index: 0;
  transition: opacity .35s ease, filter .65s ease, transform .7s cubic-bezier(.2,.65,.3,1);
}
.industry-shell .industry .scene-bg { filter: saturate(.3) brightness(.9); }
.industry-shell .industry .industry-product-light {
  filter: saturate(1) brightness(1.04); opacity: 0;
  -webkit-mask-image: var(--product-mask); mask-image: var(--product-mask);
}
.industry-shell .industry::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(15,25,37,.15), transparent 29%, rgba(15,25,37,.04) 47%, rgba(15,25,37,.65) 74%, rgba(15,25,37,.97));
}
.industry-shell .industry-number {
  z-index: 2; top: 17px; left: 19px; font-size: 12px;
  letter-spacing: 1px; color: rgba(255,255,255,.88); text-shadow: 0 1px 6px #0006;
}
.industry-shell .industry-icon {
  z-index: 2; top: 13px; right: 15px; width: 31px; height: 31px;
  background: #1e293b20; border-color: #ffffff60; color: #fff;
}
.industry-shell .industry-icon .icon { width: 16px; height: 16px; }
.industry-shell .industry-bottom {
  z-index: 3; left: 20px; right: 18px; bottom: 19px;
}
.industry-shell .industry-bottom h2 {
  font-size: clamp(16px, 1.18vw, 20px); font-weight: 600; line-height: 1.25;
  letter-spacing: -.45px; margin: 0 23px 7px 0; color: #fff;
}
.industry-shell .industry-bottom p {
  font-size: 11px; line-height: 1.4; letter-spacing: .6px; font-weight: 600;
  color: rgba(255,255,255,.95); margin: 0 22px 0 0; max-width: none;
}
.industry-shell .industry-products {
  display: none; font-size: 12px; line-height: 1.45;
  color: #e1e6ec; padding-right: 18px; letter-spacing: -.1px;
}
.industry-shell .industry-arrow {
  bottom: 3px; right: 0; color: #fff;
  transition: color .25s ease, transform .4s ease;
}
.industry-shell .industry-arrow .icon { width: 20px; height: 20px; }
.industry-shell .industry-product-tag {
  position: absolute; z-index: 2;
  /* Mirror object-fit: cover and object-position: 50% 40% for the square photo. */
  --photo-size: max(100cqw, 100cqh);
  left: clamp(var(--tag-edge), calc((100cqw - var(--photo-size)) * .5 + var(--tag-x) * var(--photo-size)), calc(100% - var(--tag-edge)));
  top: clamp(38px, calc((100cqh - var(--photo-size)) * .4 + var(--tag-y) * var(--photo-size) - 14px), calc(100% - 124px));
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 9px; border-radius: 20px;
  background: rgba(255,255,255,.94); color: #263445;
  box-shadow: 0 3px 15px #111b2920;
  font-size: 11px; line-height: 1.2; font-weight: 500; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 6px);
  pointer-events: none; transition: opacity .4s ease, transform .4s ease;
}
.industry-shell .industry-product-tag::before {
  content: ''; width: 5px; height: 5px; flex: 0 0 5px;
  background: var(--orange); border-radius: 50%;
}
.industry-shell .industry:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.industry-shell .hub-bottom {
  flex: 0 0 auto; margin: 13px 0 0; gap: 16px;
  align-items: center; font-size: 11px; line-height: 1.4;
}
.industry-shell .capabilities { gap: 19px; }
.industry-shell .capabilities span { font-size: 11px; }
@media (hover: hover) and (pointer: fine) {
  .industry-shell .industry:is(:hover,:focus-visible) .scene-bg { filter: saturate(.8) brightness(.94); transform: scale(1.025); }
  .industry-shell .industry:is(:hover,:focus-visible) .industry-product-light { opacity: .9; transform: scale(1.025); }
  .industry-shell .industry:is(:hover,:focus-visible) .industry-product-tag { opacity: 1; transform: translate(-50%, 0); transition-delay: .12s; }
  .industry-shell .industry:is(:hover,:focus-visible) .industry-arrow { color: #ff8b3d; transform: translate(2px,-2px); }
}
@media (hover: none), (pointer: coarse) {
  .industry-shell .industry .scene-bg { filter: saturate(.9) brightness(.96); }
  .industry-shell .industry-product-tag, .industry-shell .industry-product-light { display: none; }
  .industry-shell .industry-products { display: block; }
  .industry-shell .industry-bottom p { margin-bottom: 5px; }
}
@media (min-width:1101px) and (max-height:780px) {
  .industry-shell { min-height: 620px; }

  .industry-shell .hub { padding-top: 16px; padding-bottom: 10px; }
  .industry-shell .hub-intro { margin-bottom: 15px; }
  .industry-shell .hub-intro h1 { font-size: 27px; }
  .industry-shell .industry-bottom { bottom: 15px; left: 17px; right: 15px; }
  .industry-shell .hub-bottom { margin-top: 10px; }
}
@media (max-width:1100px) {
  .industry-shell .industry-product-tag { display: none; }
  .industry-shell .industry-products { display: block; }
  .industry-shell .industry-bottom p { margin-bottom: 5px; }
  .industry-shell { height: auto; min-height: 100svh; --hub-gutter: 24px; }

  .industry-shell .hub { flex: initial; }
  .industry-shell .hub-intro { gap: 15px; }
  .industry-shell .hub-intro h1 { max-width: 610px; }
  .industry-shell .hub-intro .intro-side { max-width: 210px; flex-shrink: 0; }
  .industry-shell .industry-grid { flex: initial; grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: none; gap: 14px; }
  .industry-shell .industry { height: auto; aspect-ratio: 1.12; }
  .industry-shell .industry-bottom h2 { font-size: 20px; }
  .industry-shell .hub-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (max-width:720px) {
  .industry-shell .hub-intro { display: block; }
  .industry-shell .hub-intro h1 { font-size: 28px; }
  .industry-shell .hub-intro .intro-side { max-width: none; margin-top: 10px; font-size: 13px; }
  .industry-shell .hub-intro .intro-side br { display: none; }
  .industry-shell .industry-bottom { left: 16px; right: 14px; bottom: 16px; }
  .industry-shell .industry-bottom h2 { font-size: 17px; }
  .industry-shell .industry-products { font-size: 11px; }
}
@media (max-width:540px) {
  .industry-shell { --hub-gutter: 16px; }

  .industry-shell .hub { padding-top: 21px; }
  .industry-shell .hub-intro { margin-bottom: 18px; }
  .industry-shell .hub-intro h1 { max-width: 370px; font-size: 29px; line-height: 1.16; }
  .industry-shell .hub-intro .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .industry-shell .industry-grid { grid-template-columns: 1fr; gap: 14px; }
  .industry-shell .industry { aspect-ratio: 1.05; border-radius: 16px; }
  .industry-shell .industry-bottom { left: 20px; bottom: 20px; }
  .industry-shell .industry-bottom h2 { font-size: 22px; margin-bottom: 8px; }
  .industry-shell .industry-bottom p { font-size: 12px; }
  .industry-shell .industry-products { font-size: 13px; }
  .industry-shell .hub-bottom { margin: 18px 0 4px; }
  .industry-shell .capabilities { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .industry-shell .industry *, .industry-shell .industry::after { transition: none !important; animation: none !important; }
  .industry-shell .industry .scene-bg, .industry-shell .industry .industry-product-light { transform: none !important; }
}
