:root {
  --ink: #17191e;
  --muted: #626873;
  --line: #dfe2e7;
  --soft: #f4f5f7;
  --white: #ffffff;
  --dark: #0e1014;
  --dark-2: #171a20;
  --purple: #6f2b91;
  --purple-dark: #4b175f;
  --purple-light: #eee6f2;
  --container: 1180px;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(19, 22, 28, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 84px 0; }
.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; }
.skip-link { position: fixed; z-index: 9999; top: 12px; left: 12px; transform: translateY(-150%); padding: 10px 14px; background: #fff; color: #000; }
.skip-link:focus { transform: none; }

h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 20px; font-size: clamp(2.65rem, 5.1vw, 5.15rem); line-height: .98; letter-spacing: -.045em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.08; letter-spacing: -.035em; }
h3 { margin-bottom: 12px; font-size: 1.34rem; line-height: 1.22; }
.eyebrow { margin-bottom: 12px; color: var(--purple); font-size: .76rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 25px; border: 1px solid var(--purple); border-radius: 4px; color: #fff; background: var(--purple); font-size: .82rem; font-weight: 850; letter-spacing: .03em; text-decoration: none; text-transform: uppercase; transition: background .16s ease, border-color .16s ease, transform .16s ease; }
.button:hover { border-color: var(--purple-dark); background: var(--purple-dark); transform: translateY(-1px); }
.button-small { min-height: 42px; padding-inline: 19px; }
.button-outline { color: var(--purple); background: transparent; }
.button-outline:hover { color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--purple); font-weight: 800; text-decoration: none; }
.text-link:hover span { transform: translateX(3px); }
.text-link span { transition: transform .16s ease; }
.text-link.light { color: #fff; }

.site-header { position: sticky; z-index: 1000; top: 0; background: #fff; box-shadow: 0 1px 0 rgba(15,18,22,.09); }
.utility-bar { color: rgba(255,255,255,.82); background: var(--dark); font-size: .75rem; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.utility-links { display: flex; gap: 22px; }
.utility-links a { color: #fff; text-decoration: none; }
.nav-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 58px; height: 44px; object-fit: contain; }
.brand span { font-size: 1.25rem; font-weight: 760; }
.brand strong { font-weight: 850; }
.primary-nav { display: flex; align-items: center; gap: 22px; }

.primary-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu li {
  position: relative;
  margin: 0;
}

.primary-menu a {
  display: block;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 760;
  text-decoration: none;
}

.primary-menu > li > a {
  padding: 28px 0;
}

.primary-menu a:hover,
.primary-menu a:focus {
  color: var(--purple);
}

.primary-menu .menu-item-has-children > a {
  display: flex;
  align-items: center;
  gap: 7px;
}

.primary-menu .menu-item-has-children > a::after {
  content: '';
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.primary-menu .sub-menu {
  position: absolute;
  z-index: 1100;
  top: 100%;
  left: -16px;
  min-width: 225px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.primary-menu .sub-menu a {
  padding: 10px 16px;
  white-space: nowrap;
  font-size: .8rem;
  font-weight: 700;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus {
  background: var(--soft);
  color: var(--purple);
}

.primary-menu .sub-menu .menu-item-has-children > a::after {
  margin-left: auto;
  transform: rotate(-45deg);
}

.primary-menu .sub-menu .sub-menu {
  top: -9px;
  left: 100%;
  transform: translateX(8px);
}

.primary-menu .sub-menu li:hover > .sub-menu,
.primary-menu .sub-menu li:focus-within > .sub-menu {
  transform: none;
}
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; border: 1px solid var(--line); background: #fff; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { position: relative; min-height: 650px; overflow: hidden; color: #fff; background: var(--dark); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,11,15,.08) 0%, rgba(9,11,15,.18) 34%, rgba(9,11,15,.72) 61%, rgba(9,11,15,.96) 100%); }
.hero-image { position: absolute; inset: 0; background-image: url('../images/hero-facility.jpg'); background-position: center center; background-size: cover; filter: saturate(.82) contrast(1.03); }
.hero-inner { position: relative; z-index: 2; min-height: 650px; display: flex; align-items: center; justify-content: flex-end; }
.hero-copy { max-width: 640px; margin-left: auto; padding: 72px 0 72px 44px; }
.hero .eyebrow { color: #b891c9; }
.hero-lead { max-width: 590px; margin-bottom: 18px; color: rgba(255,255,255,.82); font-size: 1.08rem; }
.hero-location { max-width: 610px; margin-bottom: 28px; color: rgba(255,255,255,.72); }
.hero-location span { color: #b891c9; font-size: .72rem; }
.hero-actions { display: flex; align-items: center; gap: 22px; }
.phone-link { color: #fff; font-size: .88rem; font-weight: 800; text-decoration: none; }
.phone-link::before { content: '☎'; margin-right: 8px; color: #b891c9; }

.proof-strip { border-bottom: 1px solid var(--line); background: #fff; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { min-height: 104px; display: flex; flex-direction: column; justify-content: center; padding: 22px 26px; border-left: 1px solid var(--line); }
.proof-grid > div:last-child { border-right: 1px solid var(--line); }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { font-size: .95rem; }
.proof-grid span { margin-top: 4px; color: var(--muted); font-size: .78rem; }

.intro-section { background: #fff; }
.intro-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 70px; align-items: center; }
.intro-copy > p:not(.eyebrow) { max-width: 560px; color: var(--muted); font-size: 1.04rem; }
.intro-actions { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 26px; }
.video-teaser { position: relative; overflow: hidden; min-height: 330px; border-radius: var(--radius); background: var(--dark); box-shadow: var(--shadow); }
.video-teaser iframe { width: 100%; min-height: 330px; height: 100%; display: block; border: 0; aspect-ratio: 16 / 9; }
.video-player { position: relative; width: 100%; min-height: 330px; aspect-ratio: 16 / 9; overflow: hidden; background: #080a0e; }
.video-player > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.05); }
.video-player__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,14,.15), rgba(8,10,14,.64)); }
.video-player__button { position: absolute; top: 50%; left: 50%; display: inline-flex; align-items: center; gap: 12px; transform: translate(-50%, -50%); padding: 14px 20px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; background: rgba(18,20,27,.88); color: #fff; font: inherit; font-size: .88rem; font-weight: 800; cursor: pointer; box-shadow: 0 12px 30px rgba(0,0,0,.28); transition: transform .18s ease, background .18s ease; }
.video-player__button:hover { transform: translate(-50%, -50%) scale(1.03); background: rgba(70,31,91,.96); }
.video-player__button:focus-visible { outline: 3px solid rgba(184,145,201,.7); outline-offset: 3px; }
.video-player__icon { display: grid; place-items: center; width: 34px; height: 34px; padding-left: 2px; border-radius: 50%; background: var(--purple); font-size: .82rem; }
.video-player__fallback { position: absolute; right: 18px; bottom: 15px; z-index: 2; color: rgba(255,255,255,.9); font-size: .76rem; font-weight: 750; text-decoration: none; }
.video-player__fallback:hover { color: #fff; text-decoration: underline; }
.video-player.is-loading .video-player__button { opacity: .65; pointer-events: none; }
.video-player iframe { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; min-height: 0; }


.services-section { border-top: 1px solid var(--line); background: var(--soft); }
.section-heading { max-width: 790px; margin-bottom: 40px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading > p:last-child { color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 28px rgba(22,25,31,.06); transition: transform .18s ease, box-shadow .18s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card > img { width: 100%; aspect-ratio: 1.65 / 1; object-fit: cover; filter: saturate(.8); }
.service-content { padding: 27px; }
.card-label { margin-bottom: 9px; color: var(--purple); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.service-content > p:not(.card-label) { min-height: 88px; color: var(--muted); }
.service-content a { color: var(--purple); font-size: .86rem; font-weight: 800; text-decoration: none; }



.capabilities-section { padding: 0 0 70px; background: #fff; }
.capabilities-card {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 48px;
  align-items: center;
  padding: 34px 38px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple);
  border-radius: var(--radius);
  background: var(--soft);
}
.capabilities-card h2 { margin-bottom: 0; font-size: clamp(1.65rem, 2.3vw, 2.3rem); }
.capabilities-card p:not(.eyebrow) { margin: 0; color: var(--muted); }

.comparison-section { padding: 62px 0; color: #fff; background: var(--dark-2); }
.comparison-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: center; }
.comparison-copy .eyebrow { color: #b891c9; }
.comparison-copy h2 { font-size: clamp(2rem, 3vw, 3rem); }
.comparison-copy > p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.comparison-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.button-light { color: var(--dark); border-color: #fff; background: #fff; }
.button-light:hover { color: #fff; border-color: var(--purple); background: var(--purple); }
.comparison-points { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.13); }
.comparison-points > div { min-height: 170px; padding: 25px; border-right: 1px solid rgba(255,255,255,.13); }
.comparison-points > div:last-child { border-right: 0; }
.comparison-points span, .comparison-points strong, .comparison-points small { display: block; }
.comparison-points span { color: #b891c9; font-size: .72rem; font-weight: 850; }
.comparison-points strong { margin-top: 25px; line-height: 1.3; }
.comparison-points small { margin-top: 7px; color: rgba(255,255,255,.56); }

.gears-section { background: #fff; }
.gears-grid { display: grid; grid-template-columns: .82fr 1.18fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 36px rgba(21,24,29,.08); }
.gears-image { min-height: 430px; background: #e9e9eb; }
.gears-image img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; filter: grayscale(.15) saturate(.7); }
.gears-copy { display: flex; flex-direction: column; justify-content: center; padding: 52px 56px; }
.gears-copy > p:not(.eyebrow) { color: var(--muted); }
.gear-types { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.gear-types span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--soft); font-size: .78rem; font-weight: 760; }

.industries-section { border-top: 1px solid var(--line); background: var(--soft); }
.row-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.row-heading h2 { margin-bottom: 0; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.industry-grid a { min-height: 84px; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font-size: .88rem; font-weight: 800; text-decoration: none; transition: border-color .16s ease, transform .16s ease; }
.industry-grid a::after { content: '→'; color: var(--purple); }
.industry-grid a:hover { transform: translateY(-2px); border-color: #bda9c9; }
.industry-grid .industry-featured { color: #fff; border-color: var(--purple); background: var(--purple); }
.industry-grid .industry-featured::after { color: #fff; }
.applications { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 22px; padding: 20px 22px; border: 1px solid var(--line); background: #fff; }
.applications strong { margin-right: 8px; font-size: .83rem; }
.applications a { padding: 7px 11px; border: 1px solid var(--line); border-radius: 3px; color: #3e4249; background: var(--soft); font-size: .77rem; font-weight: 760; text-decoration: none; }
.applications a:hover { color: var(--purple); border-color: #bda9c9; }

.resources-section { background: #fff; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.resource-card { min-height: 210px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; box-shadow: 0 8px 24px rgba(21,24,29,.05); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.resource-card:hover { transform: translateY(-3px); border-color: #bda9c9; box-shadow: var(--shadow); }
.resource-number { color: var(--purple); font-size: .72rem; font-weight: 850; }
.resource-card strong { margin-top: auto; font-size: 1.12rem; line-height: 1.3; }
.resource-card small { margin-top: 9px; color: var(--muted); }
.resource-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); }
.resource-links span { font-size: .82rem; font-weight: 850; }
.resource-links a { color: #555b64; font-size: .79rem; font-weight: 720; text-decoration: none; }
.resource-links a:hover { color: var(--purple); }

.cta-section { padding: 62px 0; color: #fff; background: linear-gradient(120deg, #3c164b, #5f2579 54%, #251c2b); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.cta-grid .eyebrow { color: #d6bedf; }
.cta-grid h2 { margin-bottom: 10px; font-size: clamp(2rem, 3.1vw, 3rem); }
.cta-grid p { margin-bottom: 0; color: rgba(255,255,255,.74); }
.cta-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; }
.cta-contact > a:not(.button) { display: flex; flex-direction: column; justify-content: center; min-height: 72px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.2); color: #fff; background: rgba(255,255,255,.06); text-decoration: none; }
.cta-contact span, .cta-contact strong { display: block; }
.cta-contact span { color: rgba(255,255,255,.58); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.cta-contact strong { margin-top: 4px; font-size: .88rem; }
.cta-contact .button { grid-column: 1 / -1; }

.site-footer { color: rgba(255,255,255,.72); background: var(--dark); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .7fr .7fr 1fr; gap: 50px; padding-block: 54px; }
.brand-footer { margin-bottom: 16px; color: #fff; }
.footer-brand p { max-width: 340px; color: rgba(255,255,255,.56); }
.site-footer h2 { margin-bottom: 15px; color: #fff; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a { display: block; margin: 7px 0; color: rgba(255,255,255,.78); font-size: .84rem; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer address { color: rgba(255,255,255,.56); font-size: .84rem; font-style: normal; }
.footer-bottom { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .74rem; }
.footer-bottom a { display: inline; }
.footer-bottom i { margin-inline: 8px; color: rgba(255,255,255,.3); font-style: normal; }

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .primary-nav, .primary-menu {
    gap: 14px;
  }

  .primary-menu a {
    font-size: .76rem;
  }
  .hero-copy { max-width: 610px; }
  .comparison-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 900px) {
  .capabilities-card { grid-template-columns: 1fr; gap: 16px; }

  .utility-inner > span { display: none; }
  .utility-inner { justify-content: flex-end; }
  .menu-toggle { display: block; }
.primary-nav {
  position: absolute;
  top: 112px;
  right: 20px;
  left: 20px;
  display: none;
  max-height: calc(100vh - 132px);
  overflow-y: auto;
  align-items: stretch;
  flex-direction: column;
  gap: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.primary-menu {
  width: 100%;
  align-items: stretch;
  flex-direction: column;
  gap: 0;
}

.primary-menu > li > a,
.primary-menu .sub-menu a {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  white-space: normal;
}

.primary-menu .menu-item-has-children > a::after {
  margin-left: auto;
}

.primary-menu .sub-menu,
.primary-menu .sub-menu .sub-menu {
  position: static;
  min-width: 0;
  margin: 0;
  padding: 0 0 0 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition: none;
}

.primary-menu .sub-menu .menu-item-has-children > a::after {
  transform: rotate(45deg) translateY(-2px);
}

.primary-nav .button {
  margin-top: 10px;
}
  .hero::after { background: linear-gradient(90deg, rgba(9,11,15,.74), rgba(9,11,15,.92)); }
  .hero-image { inset: 0; opacity: .62; background-position: 32% center; }
  .hero-inner { justify-content: flex-start; }
  .hero-copy { max-width: 700px; margin-left: 0; padding-left: 0; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid > div:nth-child(2) { border-right: 1px solid var(--line); }
  .intro-grid, .gears-grid, .cta-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
  .service-card { display: grid; grid-template-columns: .72fr 1.28fr; }
  .service-card > img { height: 100%; aspect-ratio: auto; }
  .service-content > p:not(.card-label) { min-height: auto; }
  .comparison-points { grid-template-columns: 1fr; }
  .comparison-points > div { min-height: 120px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .comparison-points > div:last-child { border-bottom: 0; }
  .comparison-points strong { margin-top: 12px; }
  .gears-image, .gears-image img { min-height: 330px; }
  .gears-copy { padding: 42px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { min-height: 170px; }
}

.error404 a.button {
    color: #FFFFFF !important;
}

.site-content-page .entry-content {
  color: inherit !important;
}

/* =========================================================
   JGS APPLICATION PAGE TEMPLATE
   ========================================================= */

.jgs-app {
  width: 100%;
}

.jgs-app-intro {
  max-width: 820px;
  margin: 45px 0 70px;
}

.jgs-app-eyebrow {
  margin: 0 0 8px;
  color: var(--purple);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.jgs-app-intro h1 {
  margin: 0 0 18px;
}

.jgs-app-intro p:last-child {
  margin-bottom: 0;
}

.jgs-app-section {
  margin: 0 0 65px;
  padding-top: 55px;
  border-top: 1px solid var(--line);
}

.jgs-app-section h2 {
  margin-top: 6px;
}

.jgs-app-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.jgs-app-grid-item {
  padding: 28px 22px;
  border: 1px solid var(--line);
  background: var(--soft);
  font-weight: 700;
}

.jgs-app-types {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 30px;
  border: 1px solid var(--line);
}

.jgs-app-type {
  padding: 25px 18px;
  border-right: 1px solid var(--line);
  text-align: center;
  font-weight: 700;
}

.jgs-app-type:last-child {
  border-right: 0;
}

.jgs-app-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.jgs-app-benefit {
  position: relative;
  padding: 22px 24px 22px 42px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.jgs-app-benefit::before {
  content: '';
  position: absolute;
  top: 29px;
  left: 22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
}

.jgs-app-benefit strong {
  display: block;
  margin-bottom: 5px;
}

.jgs-app-benefit p {
  margin: 0;
}

/* CTA */

.jgs-app-cta {
  margin-top: 40px;
  padding: 38px 42px;
  border-radius: 4px;
  background: #171a20;
  color: #fff;
}

.jgs-app-cta .jgs-app-eyebrow {
  color: #c693dc !important;
}

.jgs-app-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.jgs-app-cta-copy {
  flex: 1 1 auto;
}

.jgs-app-cta h2,
.jgs-app-cta .jgs-app-cta-title {
  margin: 0 0 12px;
  color: #fff !important;
}

.jgs-app-cta p {
  margin: 0;
  color: rgba(255,255,255,.78) !important;
}

.jgs-app-cta-action {
  flex: 0 0 auto;
}

.jgs-app-cta .jgs-app-button {
  display: inline-block;
  padding: 14px 24px;
  border: 0;
  border-radius: 3px;
  background: var(--purple);
  color: #fff !important;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .04em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.jgs-app-cta .jgs-app-button:hover,
.jgs-app-cta .jgs-app-button:focus {
  color: #fff !important;
  text-decoration: none !important;
  filter: brightness(1.08);
}


/* Tablet */

@media (max-width: 1080px) {

  .jgs-app-grid,
  .jgs-app-types {
    grid-template-columns: repeat(3, 1fr);
  }

  .jgs-app-type {
    border-bottom: 1px solid var(--line);
  }

}


/* Mobile */

@media (max-width: 700px) {

  .jgs-app-intro {
    margin: 35px 0 50px;
  }

  .jgs-app-section {
    padding-top: 40px;
    margin-bottom: 50px;
  }

  .jgs-app-grid,
  .jgs-app-types,
  .jgs-app-benefits {
    grid-template-columns: 1fr;
  }

  .jgs-app-type {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .jgs-app-type:last-child {
    border-bottom: 0;
  }

  .jgs-app-cta {
    padding: 30px 25px;
  }

  .jgs-app-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

}

.jgs-app-intro--with-image {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 55px;
  max-width: none;
  align-items: center;
}

.jgs-app-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.jgs-app-grid-item h3,
.jgs-app-benefit h3 {
  margin: 0;
  font-size: inherit;
  font-weight: 700;
}

.jgs-app-benefit h3 {
  margin-bottom: 5px;
}

@media (max-width: 700px) {
  .jgs-app-intro--with-image {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* =========================================================
   JGS INDUSTRY PAGE TEMPLATE
   ========================================================= */

.jgs-industry {
  width: 100%;
}

.jgs-industry-eyebrow {
  margin: 0 0 8px;
  color: var(--purple);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}


/* Intro */

.jgs-industry-intro {
  position: relative;
  margin: 45px 0 70px;
  padding: 48px 52px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 5px solid var(--purple);
  border-radius: 4px;
  background: var(--soft);
}

.jgs-industry-intro-content {
  max-width: 850px;
}

.jgs-industry-intro h1 {
  margin: 0 0 18px;
}

.jgs-industry-intro p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.75;
}


/* General Sections */

.jgs-industry-section {
  margin: 0 0 70px;
  padding-top: 55px;
  border-top: 1px solid var(--line);
}

.jgs-industry-section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.jgs-industry-section-heading h2 {
  margin: 6px 0 12px;
}

.jgs-industry-section-heading p {
  margin-bottom: 0;
}


/* Requirement Cards */

.jgs-industry-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.jgs-industry-focus-card {
  position: relative;
  min-height: 175px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.jgs-industry-focus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 55px;
  height: 3px;
  background: var(--purple);
}

.jgs-industry-focus-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.jgs-industry-focus-card p {
  margin: 0;
}


/* Performance Section */

.jgs-industry-performance {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 55px;
  align-items: start;
}

.jgs-industry-performance-copy {
  padding-right: 15px;
}

.jgs-industry-performance-copy h2 {
  margin: 6px 0 16px;
}

.jgs-industry-performance-copy p:last-child {
  margin-bottom: 0;
}

.jgs-industry-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.jgs-industry-benefit {
  padding: 24px 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.jgs-industry-benefit strong {
  display: block;
  margin-bottom: 6px;
}

.jgs-industry-benefit p {
  margin: 0;
  font-size: .92rem;
}


/* Applications / Components */

.jgs-industry-components {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jgs-industry-component {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--soft);
  font-size: .9rem;
  font-weight: 700;
}


/* CTA */

.jgs-industry-cta {
  position: relative;
  margin-top: 40px;
  padding: 40px 44px;
  overflow: hidden;
  border-radius: 4px;
  background: #171a20;
  color: #fff;
}

.jgs-industry-cta::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--purple);
}

.jgs-industry-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}

.jgs-industry-cta-copy {
  max-width: 760px;
}

.jgs-industry-cta .jgs-industry-eyebrow {
  color: #c693dc !important;
}

.jgs-industry-cta h2 {
  margin: 6px 0 12px;
  color: #fff !important;
}

.jgs-industry-cta p {
  margin: 0;
  color: rgba(255,255,255,.78) !important;
}

.jgs-industry-cta-action {
  flex: 0 0 auto;
}

.jgs-industry-button {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 3px;
  background: var(--purple);
  color: #fff !important;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .04em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.jgs-industry-button:hover,
.jgs-industry-button:focus {
  color: #fff !important;
  text-decoration: none !important;
  filter: brightness(1.08);
}


/* Tablet */

@media (max-width: 1000px) {

  .jgs-industry-focus-grid {
    grid-template-columns: 1fr;
  }

  .jgs-industry-focus-card {
    min-height: 0;
  }

  .jgs-industry-performance {
    grid-template-columns: 1fr;
    gap: 35px;
  }

}


/* Mobile */

@media (max-width: 700px) {

  .jgs-industry-intro {
    margin: 35px 0 50px;
    padding: 32px 26px;
  }

  .jgs-industry-section {
    margin-bottom: 50px;
    padding-top: 40px;
  }

  .jgs-industry-benefits {
    grid-template-columns: 1fr;
  }

  .jgs-industry-cta {
    padding: 32px 26px;
  }

  .jgs-industry-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 64px 0; }
  .utility-links { width: 100%; justify-content: space-between; gap: 8px; }
  .nav-row { min-height: 70px; }
  .brand img { width: 48px; height: 36px; }
  .brand span { font-size: 1.1rem; }
  .primary-nav { top: 104px; }
  .hero, .hero-inner { min-height: 590px; }
  .hero-copy { padding: 58px 0; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .phone-link { text-align: center; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div { border-right: 1px solid var(--line); }
  .intro-grid { gap: 34px; }
  .video-teaser, .video-teaser iframe { min-height: 250px; }
  .service-card { display: block; }
  .service-card > img { aspect-ratio: 1.55 / 1; }
  .row-heading { align-items: flex-start; flex-direction: column; }
  .industry-grid { grid-template-columns: 1fr; }
  .gears-copy { padding: 34px 26px; }
  .applications { align-items: stretch; flex-direction: column; }
  .applications strong { margin-bottom: 6px; }
  .applications a { text-align: center; }
  .cta-contact { grid-template-columns: 1fr; }
  .cta-contact .button { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Request a Quote modal example */
body.modal-open { overflow: hidden; }

.rfq-modal {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
}

.rfq-modal.is-open { display: grid; }

.rfq-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, .76);
  backdrop-filter: blur(3px);
}

.rfq-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 42px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0,0,0,.35);
}

.rfq-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.rfq-modal__close:hover { color: #fff; border-color: var(--purple); background: var(--purple); }
.rfq-modal__intro { max-width: 560px; margin-bottom: 26px; color: var(--muted); }

.rfq-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.rfq-form label { display: grid; gap: 7px; }
.rfq-form label > span { font-size: .75rem; font-weight: 800; letter-spacing: .04em; }
.rfq-form__wide { grid-column: 1 / -1; }

.rfq-form input,
.rfq-form textarea {
  width: 100%;
  border: 1px solid #cfd3da;
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.rfq-form input { min-height: 46px; padding: 0 13px; }
.rfq-form textarea { min-height: 126px; padding: 12px 13px; resize: vertical; }
.rfq-form input:focus,
.rfq-form textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(111,43,145,.12); }
.rfq-form__submit { margin-top: 22px; }

.rfq-success {
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.rfq-success[hidden] { display: none; }
.rfq-success__mark {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--purple);
  font-size: 2rem;
  font-weight: 900;
}
.rfq-success h2 { max-width: 500px; margin-bottom: 26px; }

@media (max-width: 640px) {
  .rfq-modal { padding: 10px; }
  .rfq-modal__dialog { max-height: calc(100vh - 20px); padding: 36px 22px 26px; }
  .rfq-form__grid { grid-template-columns: 1fr; }
  .rfq-form__wide { grid-column: auto; }
  .rfq-form__submit { width: 100%; }
}
