:root {
  --ink: #102027;
  --muted: #607078;
  --paper: #f7f8f6;
  --white: #ffffff;
  --teal: #1456d9;
  --teal-dark: #0b357f;
  --gold: #c49a46;
  --steel: #dbe5e4;
  --line: rgba(16, 32, 39, 0.12);
  --shadow: 0 24px 70px rgba(8, 29, 37, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

.scroll-progress {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--teal-dark), var(--teal), var(--gold));
  box-shadow: 0 0 22px rgba(20, 86, 217, 0.46);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
}

.cursor-glow {
  position: fixed;
  z-index: 12;
  top: 0;
  left: 0;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(20, 86, 217, 0.16), rgba(20, 86, 217, 0.06) 38%, transparent 68%);
  filter: blur(2px);
  transform: translate(calc(var(--cursor-x, -400px) - 50%), calc(var(--cursor-y, -400px) - 50%));
  transition: opacity 180ms ease;
}

.cursor-glow.is-active {
  opacity: 1;
}

.page-transition {
  position: fixed;
  z-index: 75;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(11, 53, 127, 0.97), rgba(20, 86, 217, 0.92) 56%, rgba(196, 154, 70, 0.88)),
    var(--teal-dark);
  transform: translateX(-105%);
}

.page-transition::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.28;
  content: "";
}

body.is-page-entering .page-transition {
  animation: pageEnterSwipe 720ms cubic-bezier(0.72, 0, 0.2, 1) both;
}

body.is-page-leaving .page-transition,
body.is-section-swiping .page-transition {
  animation: sectionSwipe 700ms cubic-bezier(0.72, 0, 0.2, 1) both;
}

body:has(main > section:target) .page-transition {
  animation: sectionSwipe 760ms cubic-bezier(0.72, 0, 0.2, 1) both;
}

main > section,
.quote-band {
  position: relative;
}

.section-arranging {
  overflow: hidden;
}

.section-arranging::after,
main > section:target::after {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(20, 86, 217, 0.12), transparent);
  transform: translateX(-100%);
  animation: arrangeSweep 760ms ease both;
  content: "";
}

.section-arranging :is(.section-heading, .catalog-toolbar, .facility-cta-row, .contact-lines, .quote-form, .specialist-chat, .product-card, .chemical-item, .industry-grid div, .capability-grid article, .about-story, .about-command-card, .about-principles article, .facility-showcase article, .upload-card, .facility-brief-card, .roadmap-grid div, .equipment-group, .school-gallery-card),
main > section:target :is(.section-heading, .catalog-toolbar, .facility-cta-row, .contact-lines, .quote-form, .specialist-chat, .product-card, .chemical-item, .industry-grid div, .capability-grid article, .about-story, .about-command-card, .about-principles article, .facility-showcase article, .upload-card, .facility-brief-card, .roadmap-grid div, .equipment-group, .school-gallery-card) {
  animation: arrangePop 680ms cubic-bezier(0.18, 0.82, 0.24, 1) both;
}

.section-arranging :is(.product-card, .chemical-item, .industry-grid div, .capability-grid article, .about-principles article, .facility-showcase article, .school-gallery-card, .equipment-group):nth-child(2n),
main > section:target :is(.product-card, .chemical-item, .industry-grid div, .capability-grid article, .about-principles article, .facility-showcase article, .school-gallery-card, .equipment-group):nth-child(2n) {
  animation-delay: 70ms;
}

.section-arranging :is(.product-card, .chemical-item, .industry-grid div, .capability-grid article, .about-principles article, .facility-showcase article, .school-gallery-card, .equipment-group):nth-child(3n),
main > section:target :is(.product-card, .chemical-item, .industry-grid div, .capability-grid article, .about-principles article, .facility-showcase article, .school-gallery-card, .equipment-group):nth-child(3n) {
  animation-delay: 130ms;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 40px rgba(7, 27, 34, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(20,86,217,0.62));
  color: var(--white);
  font-weight: 800;
}

.site-header.is-scrolled .brand-mark,
.site-header.nav-open .brand-mark {
  border-color: rgba(20, 86, 217, 0.22);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: currentColor;
  font-size: 0.74rem;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  overflow: hidden;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.site-nav .store-link {
  margin-left: 4px;
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 30px rgba(20, 86, 217, 0.28);
}

.site-nav .store-link::after,
.button::after {
  position: absolute;
  inset: -70% auto -70% -30%;
  width: 38%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg) translateX(-180%);
  transition: transform 520ms ease;
  content: "";
}

.site-nav .store-link:hover::after,
.button:hover::after {
  transform: skewX(-18deg) translateX(520%);
}

.site-nav .store-link:hover {
  background: var(--teal-dark);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.nav-open .site-nav a:hover {
  background: rgba(20, 86, 217, 0.09);
}

.site-header.is-scrolled .site-nav .store-link,
.site-header.nav-open .site-nav .store-link {
  color: var(--white);
  background: var(--teal);
}

.site-header.is-scrolled .site-nav .store-link:hover,
.site-header.nav-open .site-nav .store-link:hover {
  background: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 128px clamp(18px, 6vw, 76px) 70px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 21, 27, 0.82) 0%, rgba(3, 21, 27, 0.58) 42%, rgba(3, 21, 27, 0.1) 100%),
    linear-gradient(0deg, rgba(3, 21, 27, 0.36), transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3.5rem, 9vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(20, 86, 217, 0.18);
}

.primary {
  color: var(--white);
  background: var(--teal);
}

.primary:hover {
  background: var(--teal-dark);
}

.ghost {
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.secondary {
  border-color: var(--line);
  color: var(--teal-dark);
  background: var(--white);
}

.hero-panel {
  position: absolute;
  z-index: 2;
  right: clamp(18px, 5vw, 72px);
  bottom: 34px;
  display: grid;
  gap: 4px;
  width: min(310px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  animation: panelFloat 4.8s ease-in-out infinite;
}

.hero-panel::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  animation: panelSweep 5.5s ease-in-out infinite;
  content: "";
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.hero-panel strong {
  font-size: 1.6rem;
}

.hero-panel a {
  color: var(--gold);
  font-weight: 800;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 4px;
  padding: 24px clamp(16px, 3vw, 34px);
  background: var(--white);
  transition: transform 180ms ease, background 180ms ease;
}

.trust-strip div::after {
  position: absolute;
  inset: auto 18px 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
  content: "";
}

.trust-strip div:hover {
  background: #f8fbff;
  transform: translateY(-4px);
}

.trust-strip div:hover::after {
  transform: scaleX(1);
}

.trust-strip strong {
  color: var(--teal-dark);
  font-size: 1.65rem;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section-pad {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 70px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 780px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.9rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading .eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-heading .eyebrow::before {
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), rgba(20, 86, 217, 0));
  content: "";
}

.capability-grid,
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.capability-grid article,
.industry-grid div,
.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 44px rgba(16, 32, 39, 0.05);
}

.capability-grid article {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 24px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.capability-grid article::before,
.industry-grid div::before,
.facility-showcase article::before,
.upload-card::before,
.facility-brief-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--spotlight-x, 82%) var(--spotlight-y, 12%), rgba(20, 86, 217, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(20, 86, 217, 0.12), transparent 42%),
    radial-gradient(circle at 80% 0%, rgba(196, 154, 70, 0.16), transparent 32%);
  opacity: 0;
  transition: opacity 220ms ease;
  content: "";
}

.capability-grid article::after {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), rgba(20, 86, 217, 0.08));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
  content: "";
}

.capability-grid article:hover,
.industry-grid div:hover,
.facility-showcase article:hover,
.upload-card:hover,
.facility-brief-card:hover,
.roadmap-grid div:hover {
  border-color: rgba(20, 86, 217, 0.34);
  transform: translateY(-8px);
  box-shadow: 0 28px 80px rgba(15, 38, 70, 0.14);
}

.capability-grid article:hover::before,
.capability-grid article:hover::after,
.industry-grid div:hover::before,
.facility-showcase article:hover::before,
.upload-card:hover::before,
.facility-brief-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.capability-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  font-weight: 900;
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.capability-grid article:hover .capability-icon {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  transform: rotate(-4deg) scale(1.04);
  box-shadow: 0 16px 34px rgba(20, 86, 217, 0.28);
}

.capability-grid h3,
.industry-grid h3,
.product-card h3 {
  margin: 0 0 12px;
}

.capability-grid p,
.industry-grid p,
.product-card p,
.quote-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.catalog-section {
  background: var(--white);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
}

.search-box {
  display: grid;
  gap: 8px;
  width: min(430px, 100%);
}

.search-box span,
.quote-form span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.search-box input,
.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

.search-box input:focus,
.quote-form input:focus,
.quote-form textarea:focus {
  border-color: rgba(20, 86, 217, 0.55);
  box-shadow: 0 0 0 4px rgba(20, 86, 217, 0.08);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.filter-row button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  cursor: pointer;
  color: var(--muted);
  background: var(--white);
  font-weight: 800;
}

.filter-row button.is-active {
  border-color: var(--teal);
  color: var(--white);
  background: var(--teal);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.product-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  min-height: 238px;
  padding: 22px;
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.product-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at var(--spotlight-x, 88%) var(--spotlight-y, 12%), rgba(20, 86, 217, 0.22), transparent 30%),
    linear-gradient(140deg, rgba(20, 86, 217, 0.1), transparent 44%),
    radial-gradient(circle at 88% 12%, rgba(20, 86, 217, 0.18), transparent 30%);
  opacity: 0;
  transition: opacity 220ms ease;
  content: "";
}

.product-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.46) 45%, transparent 68%);
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity 180ms ease, transform 650ms ease;
  content: "";
}

.product-card:hover {
  border-color: rgba(20, 86, 217, 0.28);
  transform: translateY(-7px);
  box-shadow: 0 26px 76px rgba(15, 38, 70, 0.13);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover::after {
  opacity: 1;
  transform: translateX(120%);
}

.product-media {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
}

.product-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), #193c70);
  font-weight: 900;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover .product-icon {
  transform: translateY(-3px) rotate(-3deg);
  box-shadow: 0 16px 32px rgba(20, 86, 217, 0.28);
}

.product-tag {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
}

.product-card a {
  position: relative;
  align-self: end;
  width: max-content;
  color: var(--teal-dark);
  font-weight: 900;
}

.product-card a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  content: "";
}

.product-card:hover a::after {
  transform: scaleX(1);
}

.about-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff, #f3f7fd),
    radial-gradient(circle at 12% 20%, rgba(20, 86, 217, 0.13), transparent 34%);
}

.about-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 86, 217, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 86, 217, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  content: "";
}

.about-section > * {
  position: relative;
  z-index: 1;
}

.about-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}

.about-story h2 {
  max-width: 860px;
  margin: 0 0 22px;
  font-size: clamp(2.25rem, 5.2vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.about-story p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.76;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.about-command-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(20, 86, 217, 0.16);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 34px);
  background:
    linear-gradient(145deg, rgba(12, 31, 63, 0.96), rgba(11, 53, 127, 0.92)),
    var(--teal-dark);
  color: var(--white);
  box-shadow: 0 30px 90px rgba(8, 29, 70, 0.22);
  isolation: isolate;
}

.about-command-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at var(--spotlight-x, 82%) var(--spotlight-y, 12%), rgba(196, 154, 70, 0.32), transparent 32%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 18px);
  opacity: 0.85;
  content: "";
}

.about-pulse {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 850;
}

.about-pulse span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(196, 154, 70, 0.62);
  animation: aboutPulse 1.7s ease-out infinite;
}

.about-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.about-proof-grid article {
  min-height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.075);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.about-proof-grid article:hover {
  border-color: rgba(196, 154, 70, 0.48);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
}

.about-proof-grid strong,
.about-proof-grid span {
  display: block;
}

.about-proof-grid strong {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 1rem;
}

.about-proof-grid span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.55;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(26px, 5vw, 54px);
}

.about-principles article {
  position: relative;
  overflow: hidden;
  min-height: 218px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 54px rgba(8, 29, 70, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.about-principles article::after {
  position: absolute;
  right: 18px;
  bottom: 12px;
  color: rgba(20, 86, 217, 0.08);
  font-size: 4.7rem;
  font-weight: 950;
  line-height: 1;
  content: attr(data-index);
}

.about-principles article:hover {
  border-color: rgba(20, 86, 217, 0.28);
  transform: translateY(-7px);
  box-shadow: 0 26px 80px rgba(8, 29, 70, 0.12);
}

.about-principles span {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 8px;
  padding: 7px 10px;
  background: rgba(20, 86, 217, 0.1);
  color: var(--teal-dark);
  font-weight: 900;
}

.about-principles h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.about-principles p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.industries-section {
  background: linear-gradient(180deg, var(--paper), #edf2fb);
}

.industry-grid div {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  isolation: isolate;
  counter-increment: industry-card;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.industry-grid {
  counter-reset: industry-card;
}

.industry-grid div::after {
  position: absolute;
  right: 20px;
  bottom: 16px;
  z-index: -1;
  color: rgba(20, 86, 217, 0.08);
  font-size: 4.5rem;
  font-weight: 950;
  line-height: 1;
  content: counter(industry-card, decimal-leading-zero);
  transition: transform 220ms ease, color 220ms ease;
}

.industry-grid div:hover::after {
  color: rgba(20, 86, 217, 0.14);
  transform: translateY(-6px);
}

.chemicals-section {
  position: relative;
  overflow: hidden;
  background: #111c20;
  color: var(--white);
}

.chemicals-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(20, 86, 217, 0.12), transparent),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
  opacity: 0.62;
  transform: translateX(-55%);
  animation: labScan 9s linear infinite;
  content: "";
}

.chemicals-section > * {
  position: relative;
  z-index: 1;
}

.chemicals-section .section-heading h2 {
  color: var(--white);
}

.chemical-toolbar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.chemical-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.chemical-item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 720;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.chemical-item::before {
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(20, 86, 217, 0.12);
  content: "";
}

.chemical-item::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: translateX(-120%);
  transition: transform 480ms ease;
  content: "";
}

.chemical-item:hover {
  border-color: rgba(20, 86, 217, 0.55);
  background: rgba(20, 86, 217, 0.14);
  transform: translateX(4px);
}

.chemical-item:hover::after {
  transform: translateX(120%);
}

.list-more {
  margin-top: 24px;
}

.quote-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(58px, 9vw, 100px) clamp(18px, 5vw, 70px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 247, 251, 0.98)),
    radial-gradient(circle at 86% 10%, rgba(20, 86, 217, 0.17), transparent 34%);
}

.quote-band::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 86, 217, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 86, 217, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  content: "";
}

.quote-band > * {
  position: relative;
  z-index: 1;
}

.quote-band h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.2vw, 4.3rem);
  line-height: 1;
}

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-lines a {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--teal-dark);
  background: var(--paper);
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.contact-lines a:hover {
  border-color: rgba(20, 86, 217, 0.32);
  color: var(--white);
  background: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(20, 86, 217, 0.22);
}

.contact-workspace {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(280px, 0.82fr);
  gap: 16px;
  align-items: stretch;
}

.quote-form {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quote-form::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--teal-dark), var(--teal), var(--gold));
  content: "";
}

.quote-form label,
.chat-form label {
  display: grid;
  gap: 8px;
}

.quote-form textarea,
.chat-form textarea {
  min-height: 140px;
  resize: vertical;
}

.chat-form textarea {
  min-height: 104px;
}

.specialist-chat {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(20, 86, 217, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, #10244a, #0c1830);
  color: var(--white);
  box-shadow: 0 24px 70px rgba(8, 29, 37, 0.22);
}

.specialist-chat::before {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 66%);
  content: "";
}

.specialist-chat > * {
  position: relative;
  z-index: 1;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-status {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #42d57b;
  box-shadow: 0 0 0 6px rgba(66, 213, 123, 0.13);
  animation: chatPulse 1.8s ease-in-out infinite;
}

.chat-header strong,
.chat-header small {
  display: block;
}

.chat-header small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.35;
}

.chat-window {
  display: grid;
  gap: 10px;
  min-height: 154px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.07)),
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.13), transparent 36%);
}

.chat-window p {
  margin: 0;
  line-height: 1.45;
}

.agent-message,
.customer-message {
  max-width: 92%;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
}

.agent-message {
  color: rgba(255, 255, 255, 0.96);
  background: rgba(255, 255, 255, 0.16);
}

.customer-message {
  justify-self: end;
  color: var(--white);
  background: var(--teal);
}

.chat-form {
  display: grid;
  gap: 12px;
}

.chat-form span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.chat-form select,
.chat-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.chat-form select:focus,
.chat-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.chat-form option {
  color: var(--ink);
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quick-prompts button {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  transition: transform 160ms ease, color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.quick-prompts button:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 750;
}

.specialist-chat .form-note {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(18px, 5vw, 70px);
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.site-footer div {
  display: grid;
  gap: 3px;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer a {
  color: var(--gold);
  font-weight: 850;
}

.facility-cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.facility-cta-row p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.facilities-page {
  background: #f4f7fb;
}

.facilities-page .site-header {
  color: var(--white);
}

.facilities-page .site-header.is-scrolled,
.facilities-page .site-header.nav-open {
  color: var(--ink);
}

.site-nav .is-current {
  background: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .site-nav .is-current,
.site-header.nav-open .site-nav .is-current {
  color: var(--teal-dark);
  background: rgba(20, 86, 217, 0.1);
}

.facility-hero {
  position: relative;
  min-height: 74vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 116px clamp(18px, 5vw, 70px) 32px;
  color: var(--white);
}

.facility-hero img,
.facility-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.facility-hero img {
  object-fit: cover;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.facility-hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 17, 34, 0.9), rgba(8, 33, 78, 0.68) 45%, rgba(8, 33, 78, 0.22)),
    linear-gradient(0deg, rgba(6, 17, 34, 0.72), transparent 58%);
}

.facility-hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.facility-hero h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(3rem, 7vw, 7.2rem);
  line-height: 0.95;
}

.facility-hero p:not(.eyebrow) {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.58;
}

.facility-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.facility-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(920px, 100%);
  margin-top: 52px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.facility-metrics div {
  display: grid;
  gap: 5px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.facility-metrics strong {
  font-size: 1.3rem;
}

.facility-metrics span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.4;
}

.featured-photo-strip {
  background: linear-gradient(180deg, #f4f7fb, #ffffff);
  padding-top: clamp(34px, 5vw, 58px);
}

.featured-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.featured-photo-grid a {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 56px rgba(15, 38, 70, 0.12);
  isolation: isolate;
}

.featured-photo-grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
  transition: transform 420ms ease, filter 420ms ease;
}

.featured-photo-grid a::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 45%, rgba(5, 17, 39, 0.72));
  content: "";
}

.featured-photo-grid span {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: var(--white);
  font-weight: 900;
  line-height: 1.25;
}

.featured-photo-grid a:hover img {
  filter: saturate(1.12) contrast(1.06);
  transform: scale(1.045);
}

.facility-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.facility-showcase article,
.upload-card,
.facility-brief-card,
.roadmap-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 48px rgba(15, 38, 70, 0.08);
}

.facility-showcase article {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  min-height: 420px;
  padding: 24px;
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.facility-showcase span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal-dark);
  font-weight: 900;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.facility-showcase article:hover span {
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 86, 217, 0.24);
}

.facility-showcase h3,
.upload-card h3,
.facility-brief-card h3,
.roadmap-grid h3 {
  margin: 0;
}

.facility-showcase p,
.upload-card p,
.roadmap-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.facility-showcase ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.facility-showcase li {
  position: relative;
  padding-left: 18px;
  color: var(--ink);
  font-weight: 720;
  line-height: 1.45;
}

.facility-showcase li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "/";
}

.facility-showcase li {
  transition: transform 180ms ease, color 180ms ease;
}

.facility-showcase article:hover li {
  color: var(--teal-dark);
  transform: translateX(3px);
}

.school-labs-section {
  background: linear-gradient(180deg, #f4f7fb, #eaf0fb);
}

.school-lab-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 16px;
  align-items: start;
}

.school-lab-intro,
.school-gallery-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 48px rgba(15, 38, 70, 0.08);
}

.school-lab-intro {
  position: sticky;
  top: 86px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3vw, 34px);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(11, 53, 127, 0.95), rgba(20, 86, 217, 0.82)),
    var(--teal-dark);
}

.school-lab-intro h3 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
}

.school-lab-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.62;
}

.school-lab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.school-lab-tags span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 9px 10px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
}

.school-gallery-panel {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 2.8vw, 28px);
}

.project-nav {
  position: sticky;
  top: 86px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(15, 38, 70, 0.08);
  backdrop-filter: blur(16px);
}

.project-nav a {
  min-height: 36px;
  border: 1px solid rgba(20, 86, 217, 0.14);
  border-radius: 8px;
  padding: 8px 11px;
  color: var(--teal-dark);
  background: #f6f8fc;
  font-size: 0.82rem;
  font-weight: 850;
}

.project-nav a:hover {
  color: var(--white);
  background: var(--teal);
  transform: translateY(-1px);
}

.school-upload-zone {
  display: grid;
  gap: 6px;
  min-height: 124px;
  place-items: center;
  border: 1px dashed rgba(20, 86, 217, 0.34);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  background: #f6f8fc;
}

.school-upload-zone:hover {
  border-color: rgba(20, 86, 217, 0.62);
  background: #eef4ff;
  transform: translateY(-1px);
}

.school-upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.school-upload-zone small {
  color: var(--muted);
}

.installed-equipment-groups {
  display: grid;
  gap: 34px;
}

.portfolio-section {
  display: grid;
  gap: 18px;
  padding: clamp(16px, 2.4vw, 24px);
  border: 1px solid rgba(16, 32, 39, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(15, 38, 70, 0.07);
  scroll-margin-top: 122px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.portfolio-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-section:hover {
  border-color: rgba(20, 86, 217, 0.18);
  box-shadow: 0 24px 62px rgba(15, 38, 70, 0.11);
}

.portfolio-section-head {
  display: grid;
  gap: 9px;
  padding: 18px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(11, 53, 127, 0.96), rgba(20, 86, 217, 0.86)),
    var(--teal-dark);
}

.portfolio-section-head span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-section-head h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.65rem);
  line-height: 1.04;
}

.portfolio-section-head p {
  max-width: 900px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.equipment-group {
  display: grid;
  gap: 14px;
  scroll-margin-top: 120px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.equipment-group.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.equipment-group-head {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fd;
  transition: opacity 420ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.equipment-group:hover .equipment-group-head {
  border-color: rgba(20, 86, 217, 0.22);
  box-shadow: 0 14px 34px rgba(15, 38, 70, 0.08);
  transform: translateY(-1px);
}

.equipment-group-head span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.equipment-group-head h3 {
  margin: 0;
  font-size: clamp(1.28rem, 2vw, 2rem);
  line-height: 1.1;
}

.equipment-group-head p {
  max-width: 920px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.location-feature {
  padding: 14px;
  border: 1px solid rgba(20, 86, 217, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(20, 86, 217, 0.08), rgba(20, 86, 217, 0.02));
}

.project-feature {
  background:
    linear-gradient(135deg, rgba(20, 86, 217, 0.11), rgba(196, 154, 70, 0.08)),
    #f7f9fd;
}

.location-feature .equipment-group-head {
  border-color: rgba(20, 86, 217, 0.18);
  background: var(--white);
}

.location-feature .equipment-group-head span {
  color: var(--teal);
}

.school-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.upload-preview-grid:empty {
  display: none;
}

.school-gallery-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.school-gallery-grid article,
.school-gallery-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 86, 217, 0.12), rgba(11, 53, 127, 0.06)),
    #f7f9fd;
  box-shadow: 0 10px 26px rgba(15, 38, 70, 0.06);
  cursor: zoom-in;
  isolation: isolate;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.school-gallery-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(4, 14, 30, 0.62));
  opacity: 0.8;
  content: "";
  transition: opacity 180ms ease;
}

.school-gallery-card::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at var(--spotlight-x, 50%) var(--spotlight-y, 50%), rgba(255, 255, 255, 0.24), transparent 34%);
  opacity: 0;
  transition: opacity 180ms ease;
  content: "";
}

.school-gallery-card {
  opacity: 0;
  transform: translateY(18px);
}

.school-gallery-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.school-gallery-card:hover {
  border-color: rgba(20, 86, 217, 0.32);
  box-shadow: 0 22px 54px rgba(15, 38, 70, 0.18);
  transform: translateY(-4px);
}

.school-gallery-card:hover::after {
  opacity: 1;
}

.school-gallery-card:hover::before {
  opacity: 1;
}

.school-gallery-grid article {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px;
}

.school-gallery-grid article span {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.school-gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 420ms ease, filter 420ms ease;
}

.school-gallery-card:hover img {
  filter: saturate(1.07) contrast(1.04);
  transform: scale(1.045);
}

.school-gallery-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: grid;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(7, 17, 35, 0.72);
  backdrop-filter: blur(12px);
  z-index: 2;
  transform: translateY(6px);
  transition: background 180ms ease, transform 180ms ease;
}

.school-gallery-card:hover .school-gallery-caption {
  background: rgba(7, 17, 35, 0.84);
  transform: translateY(0);
}

.school-gallery-caption strong,
.school-gallery-caption small,
.school-gallery-caption em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.school-gallery-caption small {
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.school-gallery-caption em {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.35;
}

body.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 34px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.image-lightbox.is-open {
  pointer-events: auto;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 22% 14%, rgba(20, 86, 217, 0.32), transparent 30%),
    linear-gradient(135deg, rgba(5, 14, 31, 0.94), rgba(6, 18, 38, 0.9));
  backdrop-filter: blur(16px);
  cursor: zoom-out;
}

.lightbox-stage {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(1180px, 100%);
  max-height: min(88vh, 880px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: clamp(12px, 2vw, 18px);
  background: rgba(8, 18, 34, 0.88);
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.44);
  transform: translateY(18px) scale(0.985);
  transition: transform 240ms ease;
}

.image-lightbox.is-open .lightbox-stage {
  transform: translateY(0) scale(1);
}

.lightbox-stage::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 22px);
  opacity: 0.45;
  content: "";
}

.lightbox-toolbar,
.lightbox-caption {
  position: relative;
  z-index: 1;
}

.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
}

.lightbox-toolbar span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.lightbox-toolbar button,
.lightbox-nav {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.lightbox-toolbar button {
  padding: 10px 13px;
}

.lightbox-toolbar button:hover,
.lightbox-nav:hover {
  border-color: rgba(196, 154, 70, 0.7);
  background: rgba(20, 86, 217, 0.34);
  transform: translateY(-2px);
}

.lightbox-stage img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-height: calc(88vh - 190px);
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.lightbox-caption {
  display: grid;
  gap: 5px;
  padding-top: 14px;
}

.lightbox-caption strong {
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.lightbox-caption small {
  color: var(--gold);
  font-weight: 850;
}

.lightbox-caption em {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  line-height: 1.52;
}

.lightbox-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 48px;
  height: 58px;
  place-items: center;
  font-size: 2.4rem;
  line-height: 1;
  transform: translateY(-50%);
}

.lightbox-nav:hover {
  transform: translateY(calc(-50% - 2px));
}

.lightbox-nav.prev {
  left: 16px;
}

.lightbox-nav.next {
  right: 16px;
}

.facility-files {
  background: #0d182b;
  color: var(--white);
}

.facility-files .section-heading h2 {
  color: var(--white);
}

.upload-workbench {
  display: grid;
  grid-template-columns: 1fr 1fr 1.05fr;
  gap: 16px;
}

.upload-card,
.facility-brief-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.6vw, 28px);
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.upload-card {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.13);
}

.upload-icon {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.upload-card:hover .upload-icon {
  transform: translateY(-3px) rotate(-2deg);
  box-shadow: 0 16px 34px rgba(20, 86, 217, 0.28);
}

.upload-card p {
  color: rgba(255, 255, 255, 0.68);
}

.upload-zone {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 5px;
  place-items: center;
  min-height: 148px;
  border: 1px dashed rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.upload-zone::after {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  pointer-events: none;
  transform: scale(0.96);
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
  content: "";
}

.upload-zone:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.upload-zone:hover::after {
  opacity: 1;
  transform: scale(1);
}

.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.upload-zone small {
  color: rgba(255, 255, 255, 0.6);
}

.upload-list {
  display: grid;
  gap: 8px;
}

.upload-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
}

.upload-item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-item small {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.58);
}

.facility-brief-card {
  background: var(--white);
  color: var(--ink);
}

.facility-brief-form {
  display: grid;
  gap: 14px;
}

.facility-brief-form label {
  display: grid;
  gap: 8px;
}

.facility-brief-form span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.facility-brief-form select,
.facility-brief-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
}

.facility-brief-form textarea {
  min-height: 132px;
  resize: vertical;
}

.facility-brief-form select:focus,
.facility-brief-form textarea:focus {
  border-color: rgba(20, 86, 217, 0.55);
  box-shadow: 0 0 0 4px rgba(20, 86, 217, 0.08);
}

.roadmap-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.roadmap-grid::before {
  position: absolute;
  top: 39px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg, rgba(20, 86, 217, 0.12), rgba(20, 86, 217, 0.55), rgba(20, 86, 217, 0.12));
  content: "";
}

.roadmap-grid div {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 24px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.roadmap-grid div::before {
  position: absolute;
  top: 32px;
  right: 24px;
  width: 16px;
  height: 16px;
  border: 4px solid var(--white);
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(20, 86, 217, 0.12);
  content: "";
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.roadmap-grid div:hover::before {
  transform: scale(1.12);
  box-shadow: 0 0 0 8px rgba(20, 86, 217, 0.16);
}

.roadmap-grid strong {
  display: block;
  margin-bottom: 42px;
  color: var(--teal);
  font-size: 1.35rem;
}

.capability-grid article:not(.is-visible),
.industry-grid div:not(.is-visible),
.about-story:not(.is-visible),
.about-command-card:not(.is-visible),
.about-principles article:not(.is-visible),
.product-card:not(.is-visible),
.chemical-item:not(.is-visible),
.facility-showcase article:not(.is-visible),
.upload-card:not(.is-visible),
.facility-brief-card:not(.is-visible),
.roadmap-grid div:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

.capability-grid article,
.industry-grid div,
.about-story,
.about-command-card,
.about-principles article,
.product-card,
.chemical-item,
.facility-showcase article,
.upload-card,
.facility-brief-card,
.roadmap-grid div,
.school-gallery-card {
  transition-delay: 0ms;
  transform-style: preserve-3d;
  will-change: transform;
}

.capability-grid article.is-visible,
.industry-grid div.is-visible,
.about-story.is-visible,
.about-command-card.is-visible,
.about-principles article.is-visible,
.product-card.is-visible,
.chemical-item.is-visible,
.facility-showcase article.is-visible,
.upload-card.is-visible,
.facility-brief-card.is-visible,
.roadmap-grid div.is-visible {
  opacity: 1;
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-1.8%, 1.2%, 0);
  }
}

@keyframes panelFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes panelSweep {
  0%,
  42% {
    transform: translateX(-110%);
  }

  72%,
  100% {
    transform: translateX(110%);
  }
}

@keyframes labScan {
  from {
    transform: translateX(-58%);
  }

  to {
    transform: translateX(58%);
  }
}

@keyframes pageEnterSwipe {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(105%);
  }
}

@keyframes sectionSwipe {
  0% {
    transform: translateX(-105%);
  }

  42%,
  58% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(105%);
  }
}

@keyframes arrangeSweep {
  from {
    transform: translateX(-110%);
  }

  to {
    transform: translateX(110%);
  }
}

@keyframes arrangePop {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chatPulse {
  0%,
  100% {
    box-shadow: 0 0 0 6px rgba(66, 213, 123, 0.13);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(66, 213, 123, 0.04);
  }
}

@keyframes aboutPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(196, 154, 70, 0.58);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(196, 154, 70, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(196, 154, 70, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-glow,
  .page-transition {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1120px) {
  .capability-grid,
  .industry-grid,
  .about-principles,
  .product-grid,
  .featured-photo-grid,
  .facility-showcase,
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chemical-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-shell {
    grid-template-columns: 1fr;
  }

  .contact-workspace {
    grid-template-columns: 1fr;
  }

  .upload-workbench {
    grid-template-columns: 1fr;
  }

  .school-lab-layout,
  .school-gallery-grid,
  .school-gallery-grid.two-up {
    grid-template-columns: 1fr;
  }

  .school-lab-intro {
    position: static;
  }
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 88vh;
    padding-top: 120px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading,
  .quote-band {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-row {
    justify-content: flex-start;
  }

  .facility-hero {
    min-height: auto;
    padding-top: 120px;
  }

  .facility-metrics {
    grid-template-columns: 1fr;
  }

  .facility-cta-row {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-strip,
  .capability-grid,
  .industry-grid,
  .about-principles,
  .about-proof-grid,
  .product-grid,
  .chemical-list,
  .featured-photo-grid,
  .facility-showcase,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .facility-hero-actions {
    flex-direction: column;
  }

  .image-lightbox {
    padding: 8px;
  }

  .lightbox-stage {
    max-height: 92vh;
    padding: 10px;
  }

  .lightbox-stage img {
    max-height: calc(92vh - 210px);
  }

  .lightbox-nav {
    top: auto;
    bottom: 94px;
    width: 42px;
    height: 48px;
    font-size: 2rem;
    transform: none;
  }

  .lightbox-nav:hover {
    transform: translateY(-2px);
  }

  .lightbox-nav.prev {
    left: 12px;
  }

  .lightbox-nav.next {
    right: 12px;
  }
}
