/* ===== Telios Industrial — base styles ===== */
:root {
  --navy: #433f37;
  --navy-dark: #2a2721;
  --teal: #006991;
  --teal-light: #006f97;
  --blue-gray: #8ba3c7;
  --gray: #5c5c5c;
  --gray-light: #d9d9d9;
  --gray-bg: #f4f5f7;
  --charcoal: #433f37;
  --black: #000000;
  --white: #ffffff;
  /* Dark tint laid over page-hero photos; lower the alphas to show more photo */
  --hero-overlay: linear-gradient(120deg, rgba(15,14,12,0.86), rgba(80,80,80,0.68));

  --font: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-brand: "Segoe UI", "Inter", Arial, sans-serif; /* the INDUSTRIAL wordmark next to the logo */
  --container: 1180px;
  --radius: 6px;
  --shadow: 0 8px 24px rgba(30, 68, 136, 0.08);
}

* { box-sizing: border-box; }

/* EB Garamond runs small, so the base size is 17px instead of the browser default 16px */
html { font-size: 106.25%; scroll-behavior: smooth; scroll-padding-bottom: 96px; color-scheme: light; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 16px;
}

/* Heading tags that act as small labels keep the body sans-serif */
.spec-group h4, .spec-summary h4, .contact-info h2, .contact-info h3, .option-item h3,
.selector-result h4 { font-family: var(--font); font-weight: 700; }

/* Cormorant Garamond sits small for its size, so headings run about 15% larger than before */
h1 { font-size: clamp(2.6rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(2rem, 3.4vw, 2.65rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 16px; color: var(--charcoal); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 10px;
}

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--gray-bg);
}

.section--navy-tint { background: #e8edf5; }
.section--teal-tint { background: #e3f1f5; }
.section--charcoal-tint { background: #efeeec; }

.section--brand {
  background: var(--teal);
}

.section--brand .eyebrow { color: var(--white); }
.section--brand .section-head h2 { color: var(--white); }

.section-head {
  max-width: 700px;
  margin: 0 0 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head--wide { max-width: 960px; }

/* Short call-to-action block (eyebrow, heading, one line, button) */
.section--cta { padding: 44px 0; }
.section--cta .section-head { margin-bottom: 18px; }
.section--cta .section-head p { margin-bottom: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
}
.btn--primary:hover { background: var(--teal-light); transform: translateY(-2px); }

.btn--outline {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,0.12); }

.btn--dark-outline {
  border-color: var(--navy);
  color: var(--navy);
}
.btn--dark-outline:hover { background: var(--navy); color: var(--white); }

/* ===== Header ===== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
}

.site-header--solid {
  position: static;
  background: var(--navy-dark);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand-logo {
  height: 46px;
  width: auto;
  flex-shrink: 0;
}

.brand .name {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Header: stacked T-block + TELIOS logo with INDUSTRIAL beside it */
.brand--inline {
  gap: 24px;
}

.brand--inline .brand-logo {
  height: 58px;
}

.brand--inline .name {
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  line-height: 1;
}

.brand--stacked {
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.brand--stacked .brand-logo {
  height: 58px;
}

.brand--stacked .name {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 16px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.main-nav a:hover {
  background: var(--teal);
  color: var(--white);
}

.main-nav a.active {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.main-nav .btn { margin-left: 8px; padding: 9px 18px; font-size: 0.8rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  display: block;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 110px;
  overflow: hidden;
  background: var(--charcoal-dark, #16130f);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15,14,12,0.95), rgba(80,80,80,0.75));
  z-index: 1;
}

.hero .container { width: 100%; position: relative; z-index: 2; }

.hero-inner { max-width: 720px; margin-top: 48px; }

@media (min-width: 721px) {
  .hero-inner { position: relative; top: clamp(20px, 10vh, 120px); }
}

.hero h1 { color: var(--white); margin-bottom: 20px; }

.hero .lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  max-width: 620px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.page-hero {
  background: var(--hero-overlay), url("../assets/photos/web/team-install.jpg") center/cover no-repeat;
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 70px;
  text-align: center;
}

.page-hero .container { width: 100%; }
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto; }

.page-hero--compact {
  min-height: 0;
  padding: 150px 0 60px;
}

/* Stacked paragraphs inside a hero need breathing room between them */
.page-hero p + p { margin-top: 14px; }

/* Hero photo variants: same dark gradient overlay, different photo */
.page-hero--cad {
  background-image: var(--hero-overlay), url("../assets/photos/web/cad-review.jpg");
}

.page-hero--rack {
  background-image: var(--hero-overlay), url("../assets/photos/web/rack-integration.jpg");
}

.page-hero--building {
  background-image: linear-gradient(120deg, rgba(15,14,12,0.74), rgba(40,40,40,0.58)), url("../assets/photos/web/telios-building.jpg");
  background-position: center 56%;
  padding: 220px 0 130px;
  min-height: 100vh;
}

/* ===== Page title block (no hero) ===== */
.product-title-block {
  max-width: 760px;
  margin: 0 0 40px;
}

.product-title-block h1 { margin-bottom: 12px; }

.product-title-block p { color: var(--gray); font-size: 1.05rem; margin: 0 0 14px; }

.product-title-block p:last-child { margin-bottom: 0; }

/* ===== Intro pair (labeled two-column intro) ===== */
.intro-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-top: 36px;
  border-top: 2px solid var(--gray-light);
}

.intro-pair-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 10px;
}

.intro-pair-item p:not(.intro-pair-label) {
  color: var(--charcoal);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

.back-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  padding: 9px 18px 9px 14px;
  margin-bottom: 24px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.back-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.back-link:hover {
  background: var(--white);
  border-color: var(--navy);
  color: var(--navy);
}

.back-link:hover svg { transform: translateX(-3px); }

/* ===== Feature grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.feature-icon {
  width: 46px;
  height: 46px;
  color: var(--teal);
  margin-bottom: 14px;
}

.feature-card--photo { padding: 0; overflow: hidden; }

.feature-card--photo img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.feature-card--photo .feature-card-body { padding: 20px 22px 24px; }

.feature-card h3 {
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.feature-card p { margin: 0; font-size: 0.92rem; color: var(--gray); }

/* ===== Feature groups (categorized) ===== */
.feature-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-group h3 {
  color: var(--navy);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--teal);
}

.feature-group .feature-card {
  margin-bottom: 16px;
}

.feature-group .feature-card:last-child {
  margin-bottom: 0;
}

/* ===== Services overview cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--teal);
}

.service-card h3 { margin-bottom: 12px; }

.service-card a.link {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

/* ===== Product grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card .link {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--white);
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.product-card .body { padding: 20px 22px 26px; }

.product-grid--pair {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 80px;
}

.product-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 8px;
}

.product-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.product-card p { font-size: 0.92rem; color: var(--gray); margin: 0; }

/* ===== Split content/media rows ===== */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split--reverse { grid-template-columns: 1fr 1.1fr; }
.split--wide-media { grid-template-columns: 1.6fr 1fr; align-items: stretch; }

.split--wide-media .carousel-track {
  aspect-ratio: auto;
  height: auto;
  flex: 1 1 auto;
  min-height: 340px;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ===== Carousel ===== */
.carousel {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.carousel-dots { flex: none; }

.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--gray-bg);
  opacity: 0;
  transition: opacity 0.7s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.85);
  border: none;
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}

.carousel-arrow svg { width: 20px; height: 20px; }

.carousel-arrow:hover {
  background: var(--white);
}

.carousel-arrow--prev { left: 14px; }
.carousel-arrow--next { right: 14px; }

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 14px 0;
  background: var(--white);
}

.carousel-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #8a8a8a;
  background-clip: content-box;
  border: none;
  padding: 7.5px;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dot.active {
  background: var(--teal);
  background-clip: content-box;
}

/* ===== Why cards (minimal, animated) ===== */
.why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-cards--three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .why-cards--three { grid-template-columns: 1fr; } }

.why-card2 {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  transition: box-shadow 0.25s ease, opacity 0.6s ease, transform 0.5s ease;
}

.why-card2:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.why-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.why-icon-circle svg { width: 28px; height: 28px; }

.why-icon-circle,
.why-icon-circle--navy,
.why-icon-circle--teal,
.why-icon-circle--charcoal,
.why-icon-circle--navy-dark { background: #e8edf5; color: #1e4488; }

.why-card2 h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.4rem;
}

.why-card2 p {
  margin: 0;
  color: var(--gray);
}

/* ===== Gallery strip ===== */
.gallery-strip {
  display: flex;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  flex: 0 0 auto;
  animation: gallery-scroll 32s linear infinite;
}

.gallery-strip:hover .gallery-track,
.gallery-strip.is-paused .gallery-track { animation-play-state: paused; }

@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.motion-toggle.gallery-pause { display: flex; margin: 0 auto 16px; color: var(--teal); }

.gallery-strip figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  flex: 0 0 300px;
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-strip figure:hover img { transform: scale(1.06); }

/* ===== CTA band ===== */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 28px; }

/* ===== Motto quote ===== */
.motto-quote .section-head { margin: 0 0 16px; max-width: none; text-align: center; }
.motto-quote .section-head h2 { margin-bottom: 0; }

@media (min-width: 961px) {
  .split--motto { grid-template-columns: 1fr 1.1fr; }
  .split--motto .motto-side { order: -1; }
}

.motto-quote {
  padding: 24px 28px;
  background: #eaf4f7;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
}

.motto-quote p {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
}

.motto-copy p:last-child {
  margin-bottom: 0;
}

.motto-copy p {
  color: var(--charcoal);
}

.motto-copy p:first-child {
  color: var(--teal);
  font-weight: 700;
}

/* ===== Contact form ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #8a8a8a;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  color-scheme: light; /* keep fields light even when the browser or viewer is in dark mode */
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: #767676; opacity: 1; }

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}

.contact-info .item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-info .icon {
  width: 22px;
  height: 22px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-info h2, .contact-info h3 { margin: 0 0 4px; color: var(--navy); font-size: 1rem; }
.contact-info p { margin: 0; color: var(--gray); font-size: 0.95rem; }

/* ===== Divider / stats ===== */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-row .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
}
.stat-row .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: 28px 0 72px; /* bottom padding clears the accessibility button (48px + 16px offset) */
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-grid .brand { color: var(--white); margin-bottom: 6px; }
/* Footer brand shares the header's inline layout (.brand--inline); hug content */
.footer-grid .brand--inline { display: inline-flex; }

.footer-grid p { color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 320px; }

.footer-grid h2 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 4px 0 6px;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 2px; }
.footer-grid a { display: inline-block; padding: 2px 0; }

.site-footer .social-links {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .social-links li { margin: 0; }

.site-footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--white);
  transition: opacity 0.2s, transform 0.2s;
}

.site-footer .social-links a:hover { opacity: 0.75; transform: translateY(-2px); }

.site-footer .social-links svg { width: 24px; height: 24px; }
.footer-grid li.footer-gap { margin-top: 22px; }

.footer-bottom a {
  display: inline-block;
  padding: 4px 6px;
  color: inherit;
}

.footer-bottom a:hover { color: var(--white); }
.footer-grid a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
}

/* ===== Product detail ===== */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.product-gallery {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--gray-light);
}

.product-gallery img { width: 100%; height: auto; }

.gallery-main {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-main img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
}

.gallery-main + .gallery-main { margin-top: 20px; }

.gallery-expand {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  color: var(--navy);
  pointer-events: none;
}

.gallery-expand svg { width: 16px; height: 16px; }

/* ===== Lightbox ===== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,14,12,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px;
  z-index: 1000;
  cursor: zoom-out;
}

.lightbox-overlay.open { display: flex; }

.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.25s ease;
  touch-action: none;
  user-select: none;
}

.lightbox-overlay img.zoomed {
  cursor: grab;
}

.lightbox-overlay img.zoomed.grabbing {
  cursor: grabbing;
  transition: none;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.lightbox-close svg { width: 26px; height: 26px; }

.gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.gallery-thumb {
  width: 66px;
  height: 66px;
  padding: 6px;
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--teal);
}

.product-info .tag {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 10px;
}

.product-cta {
  display: flex;
  gap: 14px;
  margin: 28px 0;
  flex-wrap: wrap;
}

.quick-facts {
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--gray-light);
}

.quick-facts li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--charcoal);
}

.quick-facts svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== Spec sheet (in-section configurable options) ===== */
.spec-sheet {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 2px solid var(--gray-light);
}

.product-info .spec-sheet {
  margin-top: 0;
  padding-top: 20px;
  border-top: 1px solid var(--gray-light);
}

.product-info .spec-sheet-head h3 { font-size: 1.3rem; }

.spec-sheet-head { margin-bottom: 8px; }
.spec-sheet-head h3 { margin: 0; color: var(--navy); font-size: 1.6rem; }
.spec-sheet-head p { margin: 6px 0 0; color: var(--gray); font-size: 0.95rem; }

.spec-list { margin: 24px 0 0; }

.spec-group {
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-light);
}

.spec-group:last-of-type { border-bottom: none; }

.spec-group h4 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spec-group p {
  margin: 0;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 720px;
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spec-pill {
  background: var(--gray-bg);
  border: 1px solid #8a8a8a;
  border-radius: var(--radius);
  padding: 12px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.spec-pill:hover { border-color: var(--teal); }

.spec-pill.is-selected {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.spec-summary {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-light);
}

.spec-summary h4 {
  margin: 0 0 12px;
  font-size: 1rem;
}

.spec-summary-empty {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray);
}

.spec-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.spec-summary-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 0.85rem;
  padding: 10px 14px;
  background: var(--gray-bg);
  border-radius: var(--radius);
}

.spec-summary-label {
  font-weight: 700;
  color: var(--charcoal);
}

.spec-summary-value {
  color: var(--teal);
  font-weight: 600;
  text-align: right;
}

.spec-note {
  margin-top: 24px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
  background: #eaf4f7;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 16px 22px;
}

/* ===== Configurable options ===== */
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.option-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 20px 22px;
}

.option-item svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.option-item h3 { margin: 0 0 4px; color: var(--navy); font-size: 1rem; }
.option-item p { margin: 0 0 8px; font-size: 0.88rem; color: var(--gray); }

.option-item ul {
  margin: 0 0 8px;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--gray);
}

.option-item ul li { margin-bottom: 4px; }
.option-item ul li:last-child { margin-bottom: 0; }

.option-note {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 600;
  background: #eaf4f7;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 16px 22px;
  margin: 4px 0 0;
}

.option-item .link {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.split .option-item {
  background: #eaf4f7;
  border: none;
  border-left: 4px solid var(--teal);
}

/* ===== Related products ===== */
.related-grid {
  display: flex;
  overflow: hidden;
}

.related-track {
  display: flex;
  gap: 18px;
  flex: 0 0 auto;
  padding-right: 18px;
  animation: related-scroll 28s linear infinite;
}

.related-grid:hover .related-track { animation-play-state: paused; }

@keyframes related-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.related-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  flex: 0 0 220px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.related-card .thumb {
  aspect-ratio: 1 / 1;
  background: var(--white);
}

.related-card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }

.related-card .name {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  padding: 12px 8px;
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal--left { transform: translateX(-50px); }
.reveal--right { transform: translateX(50px); }
.reveal--up { transform: translateY(40px); }

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--stagger:nth-child(1) { transition-delay: 0s; }
.reveal--stagger:nth-child(2) { transition-delay: 0.12s; }
.reveal--stagger:nth-child(3) { transition-delay: 0.24s; }
.reveal--stagger:nth-child(4) { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .related-track { animation: none; }
  .related-grid { overflow-x: auto; }
  .gallery-track { animation: none; }
  .gallery-strip { overflow-x: auto; }
  .carousel-slide { transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ===== About story ===== */
.about-story { max-width: 760px; margin: 0 auto; text-align: center; }
.about-story p { font-size: 1.15rem; line-height: 1.7; margin: 0 0 20px; }
.about-story p:last-child { margin-bottom: 0; }
.about-story .eyebrow { margin-bottom: 14px; }

/* ===== Accessibility statement ===== */
.statement { max-width: 760px; }
.statement h2 { margin: 40px 0 12px; font-size: 1.7rem; }
.statement ul { margin: 0 0 16px; padding-left: 22px; }
.statement li { margin-bottom: 8px; }
.statement a { color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.statement-date { margin-top: 32px; color: var(--gray); font-size: 0.95rem; }

.req { font-weight: 400; font-size: 0.85em; color: var(--gray); }

/* ===== Accessibility tools (visitor display preferences) ===== */
.a11y-fab {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 18px 10px 14px;
  border: 2px solid var(--white);
  border-radius: 28px;
  background: var(--teal);
  color: var(--white);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}

.a11y-fab svg { width: 24px; height: 24px; flex: none; }

.a11y-panel {
  position: fixed;
  left: 16px;
  bottom: 76px;
  z-index: 900;
  width: min(340px, calc(100vw - 32px));
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding: 18px;
  background: var(--white);
  color: var(--charcoal);
  border: 2px solid var(--teal);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.a11y-panel[hidden] { display: none; }

.a11y-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.a11y-title { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--teal); }

.a11y-close {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--charcoal);
  cursor: pointer;
}

.a11y-note { margin: 0 0 14px; font-size: 0.88rem; color: var(--gray); }

.a11y-size {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #8a8a8a;
  border-radius: var(--radius);
}

.a11y-size-label { flex: 1; font-weight: 700; font-size: 0.95rem; }
.a11y-size-value { min-width: 48px; text-align: center; font-weight: 700; }

.a11y-step {
  min-width: 44px;
  min-height: 44px;
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--teal);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.a11y-step:disabled { opacity: 0.4; cursor: not-allowed; }

.a11y-options { display: grid; gap: 8px; margin-bottom: 14px; }

.a11y-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid #8a8a8a;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.a11y-opt::after { content: "Off"; font-size: 0.8rem; font-weight: 700; flex: none; margin-left: 12px; }

.a11y-opt-text { display: block; }
.a11y-opt-label { display: block; }
.a11y-opt-desc { display: block; margin-top: 2px; font-size: 0.8rem; font-weight: 400; color: var(--gray); }

.a11y-opt[aria-pressed="true"] {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.a11y-opt[aria-pressed="true"] .a11y-opt-desc { color: var(--white); }

.a11y-opt[aria-pressed="true"]::after { content: "On"; }

.a11y-reset {
  width: 100%;
  min-height: 44px;
  margin-bottom: 10px;
  border: 2px solid var(--charcoal);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.a11y-link { display: block; text-align: center; padding: 8px; color: var(--teal); font-weight: 600; text-decoration: underline; }

/* Visitor-selected display modes */
html.a11y-contrast {
  --gray: #000;
  --charcoal: #000;
  --navy: #000;
  --teal: #00506f;
  --teal-light: #00506f;
  --gray-light: #000;
  --gray-bg: #fff;
}

html.a11y-contrast body { background: #fff; color: #000; }
html.a11y-contrast .spec-pill,
html.a11y-contrast .a11y-opt { border-color: #000; }
html.a11y-contrast .site-footer { background: #000; color: #fff; }
html.a11y-contrast .footer-grid p,
html.a11y-contrast .footer-bottom { color: #fff; }

html.a11y-links a:not(.btn):not(.skip-link):not(.brand) {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px;
}

html.a11y-font body,
html.a11y-font button,
html.a11y-font input,
html.a11y-font textarea,
html.a11y-font h1, html.a11y-font h2, html.a11y-font h3, html.a11y-font h4, html.a11y-font h5 {
  font-family: Arial, Helvetica, Verdana, sans-serif !important;
}

html.a11y-spacing p,
html.a11y-spacing li,
html.a11y-spacing label {
  line-height: 1.9 !important;
  letter-spacing: 0.05em !important;
  word-spacing: 0.12em !important;
}

html.a11y-cursor,
html.a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 9-6.5 1.8L16 20l-3 1.4-3.5-7.2L4 18z' fill='black' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important;
}

html.a11y-cursor a,
html.a11y-cursor button,
html.a11y-cursor [role="button"],
html.a11y-cursor label,
html.a11y-cursor summary {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 9-6.5 1.8L16 20l-3 1.4-3.5-7.2L4 18z' fill='%23006991' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, pointer !important;
}

html.a11y-focus :focus-visible {
  outline: 4px solid #ffbf00 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 8px #000 !important;
}

html.a11y-noimg img:not(.brand-logo),
html.a11y-noimg video { visibility: hidden; }

html.a11y-noimg .hero,
html.a11y-noimg .page-hero { background-image: none !important; background-color: #2a2721 !important; }

.a11y-guide {
  position: fixed;
  left: 0;
  right: 0;
  height: 56px;
  z-index: 850;
  pointer-events: none;
  background: rgba(255, 235, 59, 0.28);
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

html.a11y-nomotion *,
html.a11y-nomotion *::before,
html.a11y-nomotion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

html.a11y-nomotion .reveal { opacity: 1; transform: none; }
html.a11y-nomotion .related-grid,
html.a11y-nomotion .gallery-strip { overflow-x: auto; }

@media (max-width: 720px) {
  .a11y-fab { padding: 10px 12px; }
  .a11y-fab-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

/* ===== Accessibility ===== */
main {
  overflow-x: hidden;
  overflow-x: clip;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -64px;
  z-index: 3000;
  background: var(--white);
  color: var(--teal);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.skip-link:focus { top: 8px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.page-hero :focus-visible,
.cta-band :focus-visible,
.section--brand :focus-visible,
.lightbox-overlay :focus-visible,
.carousel :focus-visible {
  outline-color: var(--white);
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 8px;
  border: 0;
  background: none;
  color: var(--white);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.motion-toggle:hover { text-decoration-thickness: 2px; }

.carousel { position: relative; }

.carousel-pause {
  align-self: center;
  margin-bottom: 10px;
  color: var(--teal);
}

.hero-pause {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 5;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  text-decoration: none;
}

.hero-pause:hover { text-decoration: underline; }

.related-pause { display: flex; margin: 0 auto 20px; }

.related-grid.is-paused .related-track,
.related-grid:focus-within .related-track { animation-play-state: paused; }

/* ===== Utility ===== */
.text-center { text-align: center; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-groups { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .intro-pair { grid-template-columns: 1fr; gap: 28px; }
  .product-detail { grid-template-columns: 1fr; }
  .option-grid { grid-template-columns: 1fr; }
  .spec-summary-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .main-nav { position: fixed; top: 120px; left: 0; right: 0; background: var(--navy-dark); flex-direction: column; align-items: stretch; padding: 12px; gap: 4px; display: none; }
  .main-nav.open { display: flex; }
  .main-nav .btn { margin: 8px 4px 0; justify-content: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 720px) {
  .hero h1 { font-size: 2.15rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .gallery-strip figure { flex-basis: 240px; }
  .why-cards { grid-template-columns: 1fr; }
}

/* ===== Image placeholder (product awaiting photography) ===== */
.thumb--placeholder,
.gallery-main--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-bg);
  cursor: default;
}
.thumb--placeholder span,
.gallery-main--placeholder span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray);
}

/* ===== Home: clean hero + two-path chooser ===== */
.hero--clean {
  min-height: 0;
  padding: 190px 0 48px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(0,140,185,0.35), transparent 70%),
    linear-gradient(180deg, #0f3d50 0%, #082a39 100%);
}
.hero--clean h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
/* The line above the hero title ("Industrial Data Systems Integrator",
   "Product Line") is a tagline, not a label, so it runs larger than the
   small eyebrows used inside the page. */
.hero--clean .eyebrow { font-size: 1.1rem; letter-spacing: 0.2em; margin-bottom: 16px; }
.hero--clean .hero-inner { margin-top: 0; top: 0; }
.hero-inner--center { max-width: 820px; margin: 0 auto; }
.hero-inner--center .lede { margin: 0 auto; max-width: 680px; font-size: 1.2rem; }

/* Dark title band under a solid header (Products): no overlay offset, gradient starts from the header color */
.hero--clean.hero--band {
  padding: 52px 0 44px;
  background: linear-gradient(180deg, var(--navy-dark) 0%, #1c2f38 38%, #0f3d50 100%);
}
.hero--clean.hero--band h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.hero--clean.hero--band .lede { font-size: 1.1rem; }
@media (max-width: 720px) {
  .hero--clean.hero--band { padding: 36px 0 32px; }
}

.path-section {
  background: linear-gradient(180deg, #082a39 0%, #0b3244 100%);
  padding: 0 0 72px;
}
/* The question and its two answer cards sit in one softly bordered, slightly
   lighter panel so they read as a single prompt. */
.path-group {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px;
  padding: 30px 30px 34px;
}
.path-prompt {
  scroll-margin-top: 48px;
  text-align: center;
  margin-top: 0;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.path-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.path-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}
.path-card .thumb {
  aspect-ratio: 5 / 4;
  background: var(--white);
  overflow: hidden;
}
.path-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
  transition: transform 0.3s;
}
.path-card:hover .thumb img { transform: scale(1.15); }
.path-card .body {
  background: var(--teal);
  padding: 26px 24px;
  text-align: center;
  margin-top: auto;
  transition: background 0.2s;
}
.path-card:hover .body { background: #0a84b3; }
.path-card .label {
  display: block;
  color: var(--white);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.path-help {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin: 32px 0 0;
}
.path-help a { color: #bfe3ee; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) {
  .path-group { padding: 22px 16px 24px; }
}

.proof-strip {
  background: var(--gray-bg);
  border-top: none;
  border-bottom: 1px solid var(--gray-light);
  padding: 22px 0;
}
.proof-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.proof-strip li {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.proof-strip li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

@media (max-width: 720px) {
  .hero--clean { padding: 150px 0 40px; }
  .path-section { padding-bottom: 56px; }
  .path-grid { grid-template-columns: 1fr; }
  .proof-strip ul { gap: 14px 32px; }
}

/* Chooser on a light page (Products index) */
.path-section--light {
  background: var(--gray-bg);
  padding: 72px 0;
}
.path-group .path-prompt {
  color: var(--white);
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin-bottom: 24px;
}
.path-section--light .path-group { background: var(--white); border-color: var(--gray-light); }
.path-section--light .path-prompt { color: var(--navy); }
.path-section--light .path-card { box-shadow: var(--shadow); }
.path-section--light .path-help { color: var(--gray); }
.path-section--light .path-help a { color: var(--teal); }

/* ===== About: compact building hero, motto pull-quote, What We Do rows ===== */
.page-hero--building.page-hero--compact {
  min-height: 0;
  padding: 180px 0 80px;
}
.about-motto { margin-top: 24px; }
.about-motto-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 8px;
}
.about-motto p:last-child { font-weight: 500; }

.what-list { display: grid; gap: 24px; }
.what-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.what-row img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.what-row-body { padding: 24px 28px 24px 0; }
.what-row h3 { margin: 0 0 8px; }
.what-row p { margin: 0 0 12px; color: var(--gray); }
.what-row .link {
  display: inline-flex;
  align-items: center;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.what-row .link:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 720px) {
  .page-hero--building.page-hero--compact { padding: 140px 0 56px; }
  .what-row { grid-template-columns: 1fr; gap: 0; }
  .what-row img { aspect-ratio: 16 / 9; }
  .what-row-body { padding: 20px 22px 24px; }
}

/* ===== Product selector (Products page) =====
   Three questions narrow the catalog to two recommended products.
   Product data and the question tree live in js/script.js. */
.selector-panel {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 36px 40px 40px;
  max-width: 960px;
  margin: 0 auto;
}
.selector-progress {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 10px;
}
.selector-question {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin: 0 0 8px;
  color: var(--navy);
}
.selector-question:focus { outline: none; }
.selector-hint {
  color: var(--gray);
  font-size: 0.95rem;
  margin: 0 0 24px;
}
.selector-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.selector-option {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--gray-bg);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 18px 20px;
  font: inherit;
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.selector-option:hover { border-color: var(--teal); background: var(--white); transform: translateY(-2px); }
.selector-option .lead {
  display: block;
  color: var(--teal);
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.selector-option .label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}
.selector-option .desc {
  display: block;
  font-size: 0.88rem;
  color: var(--gray);
}
.selector-escape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 2px dashed var(--gray-light);
  border-radius: var(--radius);
  font: inherit;
  color: var(--charcoal);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.selector-escape:hover { border-color: var(--teal); transform: translateY(-2px); }
.selector-escape .text { flex: 1 1 320px; min-width: 0; }
.selector-escape .label { font-weight: 700; }
.selector-escape .desc { font-size: 0.92rem; color: var(--gray); }
.selector-escape .cta { color: var(--teal); font-weight: 700; white-space: nowrap; }
.selector-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 28px;
  font-size: 0.9rem;
}
.selector-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: var(--teal);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.selector-link:hover { color: var(--teal-light); }
.selector-answers {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0 0 20px;
}
.selector-answers span + span::before { content: " \2192  "; }
.selector-custom {
  margin-top: 28px;
  padding: 24px 26px;
  background: var(--gray-bg);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
}
.selector-custom-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 6px;
}
.selector-custom p { margin: 0 0 16px; color: var(--charcoal); font-size: 0.95rem; }
.selector-custom .btn { margin: 0; }
.selector-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.selector-result {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.selector-result .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}
.selector-result .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}
.selector-result .body {
  padding: 20px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.selector-result .tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 8px;
}
.selector-result h3 { font-size: 1.4rem; margin: 0 0 4px; }
.selector-result .why {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 10px;
}
.selector-result .blurb { font-size: 0.92rem; color: var(--gray); margin: 0 0 14px; }
.selector-result h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin: 0 0 8px;
}
.selector-contains {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--charcoal);
}
.selector-contains li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 5px;
}
.selector-contains li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.selector-result .link {
  margin-top: auto;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.selector-result .link:hover { color: var(--teal-light); }
/* The whole card is the link: the "Configure & Request Quote" link stretches
   an invisible hit area over the card, so a click anywhere opens the product
   page while only one link sits in the keyboard tab order. */
.selector-result { position: relative; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.selector-result .link::after { content: ""; position: absolute; inset: 0; }
.selector-result:hover,
.selector-result:focus-within { transform: translateY(-4px); box-shadow: var(--shadow); }
.selector-result:hover .link { color: var(--teal-light); }

@media (max-width: 720px) {
  .selector-panel { padding: 24px 18px 28px; }
  .selector-results { grid-template-columns: 1fr; }
}

/* ===== Product catalog (Products page) =====
   Cabinets then Enclosures, each split by form factor. Cards reuse the
   .selector-result look so the finder can clone them unchanged. */
.catalog { padding: 72px 0 24px; scroll-margin-top: 60px; }
/* The two tiers alternate tone: Cabinets on white, Enclosures on the warm gray tint */
#enclosures.catalog { background: #efeeec; padding-bottom: 72px; }

/* Sticky Cabinets / Enclosures bar: stays pinned under the top of the window while the catalog scrolls */
.catalog-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.catalog-nav .container { display: flex; justify-content: center; gap: 8px; padding-top: 8px; padding-bottom: 8px; }
.catalog-nav a {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.catalog-nav a:hover { color: var(--white); }
.catalog-nav a.is-active { background: var(--teal); color: var(--white); }

/* Each product group sits in a soft tray; cabinet cards carry a charcoal top edge, enclosure cards a teal one */
.catalog-group {
  background: rgba(67, 63, 55, 0.05);
  border: 1px solid rgba(67, 63, 55, 0.08);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
}
.catalog .selector-result { border-top: 4px solid var(--navy); }
#enclosures .selector-result { border-top-color: var(--teal); }
/* Cabinets / Enclosures titles: centered and larger than the ordinary section
   head, with a short rule, so the two tiers of the catalog read at a glance. */
.catalog .section-head {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}
.catalog .section-head .eyebrow { font-size: 1.1rem; letter-spacing: 0.2em; margin-bottom: 14px; }
.catalog .section-head h2 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); margin: 0 0 18px; letter-spacing: -0.01em; }
.catalog .section-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 18px auto 0;
  background: var(--teal);
  border-radius: 2px;
}
.catalog .section-head p:not(.eyebrow) { font-size: 1.08rem; color: var(--gray); margin: 0; }
.catalog-group { margin-bottom: 36px; }
.catalog-group h3 {
  font-size: 1.55rem;
  color: var(--teal);
  margin: 0 0 18px;
  text-align: center;
}
.catalog-group h3:has(+ .catalog-group-intro) { margin-bottom: 4px; }
.catalog-group-intro {
  color: var(--gray);
  font-size: 0.95rem;
  margin: 0 auto 22px;
  max-width: 720px;
  text-align: center;
}
/* Every catalog row holds two cards, so every card is the same width:
   two fixed columns, not "as many 300px columns as fit", which left the
   Freestanding pair at a third of the width each with an empty third column. */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
/* Two single-card groups side by side, heading above each card. Same column
   gap as .catalog-grid so these cards match the Freestanding pair in width.
   The groups share the row's three tracks (heading, intro, card) through
   subgrid, so headings, intros, and card edges line up across the row and
   the shorter card stretches to the taller one's bottom border. Browsers
   without subgrid fall back to the plain three-row grid. */
.catalog-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 28px; /* no row gap: the subgridded heading and card keep their own margins */
}
.catalog-row .catalog-group {
  margin-bottom: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-rows: subgrid;
  grid-row: span 2;
}
.catalog-row .catalog-grid { grid-template-columns: 1fr; }
.selector-result h4 { font-family: var(--font-heading); font-weight: 600; font-size: 1.4rem; margin: 0 0 4px; color: var(--navy); text-transform: none; letter-spacing: 0; }
.selector-result .list-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin: 0 0 8px;
}
/* The finder and its one-line bar carry the hero's dark band down the page,
   so they read as part of the header and the white catalog below stands apart. */
.finder-bar {
  background: linear-gradient(180deg, #082a39 0%, #0b3244 100%);
  padding: 4px 0 28px;
  text-align: center;
}
.finder-bar p { margin: 0; color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.finder-bar a,
.finder-bar .selector-link { color: #bfe3ee; font-weight: 600; }
.finder-bar .selector-link:hover,
.finder-bar a:hover { color: var(--white); }
#finder.selector { padding: 8px 0 64px; }

@media (max-width: 720px) {
  .catalog { padding: 48px 0 8px; }
  .catalog-group { margin-bottom: 40px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-row { grid-template-columns: 1fr; gap: 40px; }
  .catalog-row .catalog-group { grid-template-rows: auto 1fr; grid-row: auto; }
}
