:root {
  /* Amidon Training Solutions v4 — Open Mission Reticle */
  --navy: #050505;
  --navy-2: #17181b;
  --ink: #101820;
  --slate: #736d6d;
  --red: #c8102e;
  --red-dark: #9c0c22;
  --mist: #f2f5f7;
  --white: #ffffff;
  --line: #d6dde3;
  --max: 1180px;
  --shadow: 0 20px 60px rgba(5, 5, 5, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Montserrat", "Poppins", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.08; letter-spacing: -0.025em; font-family: "Montserrat", "Poppins", Arial, Helvetica, sans-serif; font-weight: 700; }
h1 { font-size: clamp(2.8rem, 6vw, 5.65rem); max-width: 900px; }
h2 { font-size: clamp(2.1rem, 4vw, 3.65rem); }
h3 { font-size: 1.28rem; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 1000; padding: 12px 18px; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.skip-link:focus { top: 20px; }

.breadcrumb-bar { background: var(--mist); border-bottom: 1px solid var(--line); }
.breadcrumb-bar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; min-height: 46px; }
.breadcrumb { font-size: .8rem; color: var(--slate); }
.breadcrumb a { color: var(--slate); text-decoration: none; }
.breadcrumb a:hover, .breadcrumb a:focus-visible { color: var(--red); }
.partner-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: var(--red); color: var(--white); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 20px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 154px; height: 64px; object-fit: contain; }
.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.desktop-nav a { text-decoration: none; color: #dfe1e4; font-size: .91rem; font-weight: 600; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--red); }
.desktop-nav a.current { color: var(--red); }
.mobile-nav { display: none; margin-left: auto; position: relative; }
.mobile-nav summary { cursor: pointer; font-weight: 700; list-style: none; color: #dfe1e4; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav-panel { position: absolute; top: 52px; right: 0; min-width: 240px; padding: 14px; background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); max-height: 80vh; overflow-y: auto; }
.mobile-nav-panel a { display: block; padding: 10px 8px; text-decoration: none; font-weight: 600; }
.mobile-nav-panel a:hover, .mobile-nav-panel a:focus-visible { color: var(--red); }
.mobile-nav-panel a.current { color: var(--red); }
.mobile-nav-panel a.mobile-nav-sub { padding: 7px 8px 7px 20px; font-size: 12px; font-weight: 500; color: var(--slate); border-left: 2px solid var(--line); margin-left: 8px; }
.mobile-nav-panel a.mobile-nav-sub:hover, .mobile-nav-panel a.mobile-nav-sub:focus-visible { color: var(--red); }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 22px; border: 2px solid var(--red); background: var(--red); color: var(--white); font-size: .92rem; font-weight: 700; line-height: 1.2; text-decoration: none; transition: .2s ease; }
.button:hover, .button:focus-visible { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-1px); }
.button-small { min-height: 42px; padding: 9px 16px; font-size: .82rem; }
.button-ghost { border-color: rgba(255,255,255,.7); background: transparent; }
.button-ghost:hover, .button-ghost:focus-visible { background: var(--white); color: var(--navy); border-color: var(--white); }
.button-outline { background: transparent; color: var(--red); }
.button-outline:hover, .button-outline:focus-visible { color: var(--white); }
.button-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.button-row.compact { margin-top: 22px; }
.text-link { color: var(--red); font-weight: 700; text-decoration: none; }
.text-link:hover, .text-link:focus-visible { text-decoration: underline; }

.hero { position: relative; min-height: 690px; display: grid; align-items: end; overflow: hidden; background: var(--navy); }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { background: linear-gradient(90deg, rgba(6,20,33,.96) 0%, rgba(6,20,33,.82) 45%, rgba(6,20,33,.25) 76%, rgba(6,20,33,.16) 100%), linear-gradient(0deg, rgba(6,20,33,.45), transparent 55%); }
.hero-content { position: relative; z-index: 2; padding-block: 118px 86px; }
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero-copy { max-width: 700px; color: #e3eaf0; font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.65; margin-bottom: 32px; }
.eyebrow { margin-bottom: 15px; color: #f06b70; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.dark { color: var(--red); }

.proof-strip { background: var(--navy); color: var(--white); border-top: 1px solid rgba(255,255,255,.13); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid div { min-height: 112px; padding: 26px 30px; border-right: 1px solid rgba(255,255,255,.14); display: flex; flex-direction: column; justify-content: center; }
.proof-grid div:first-child { border-left: 1px solid rgba(255,255,255,.14); }
.proof-grid strong { font-size: 1.5rem; line-height: 1.1; }
.proof-grid span { color: #bfcbd5; font-size: .82rem; margin-top: 6px; }

.section { padding-block: 104px; }
.section-muted { background: var(--mist); }
.section-dark { background: var(--navy); color: #dce6ee; }
.section-dark h2 { color: var(--white); }
.split-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 78px; align-items: start; }
.lead { color: #33485a; font-size: 1.17rem; line-height: 1.75; }
.section-dark .lead { color: #dce6ee; }
.section-heading { max-width: 850px; margin-bottom: 44px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading p:last-child { margin: 18px auto 0; max-width: 720px; color: var(--slate); font-size: 1.06rem; }
.logic-card { background: var(--navy); color: #dce6ee; padding: 42px; box-shadow: var(--shadow); }
.logic-card h3 { color: var(--white); font-size: 2rem; margin-bottom: 22px; }
.card-kicker { color: #f06b70; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid rgba(255,255,255,.12); }
.check-list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 9px; height: 9px; background: var(--red); }

.pro-plus-grid { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr); gap: 52px; align-items: stretch; }
.feature-image { margin: 0; background: var(--navy); }
.feature-image img { width: 100%; height: calc(100% - 66px); min-height: 430px; object-fit: cover; }
.feature-image figcaption { min-height: 66px; display: flex; align-items: center; padding: 14px 20px; color: #d8e2ea; font-size: .82rem; }
.spec-panel { background: var(--white); padding: 36px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--line); }
.spec-grid div { padding: 20px; min-height: 118px; display: flex; flex-direction: column; justify-content: center; }
.spec-grid div:nth-child(odd) { border-right: 1px solid var(--line); }
.spec-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.spec-grid strong { color: var(--navy); font-size: 2rem; line-height: 1; }
.spec-grid span { margin-top: 8px; color: var(--slate); font-size: .82rem; }
.component-list { margin-top: 28px; }
.component-list h3 { margin-bottom: 14px; }
.component-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.component-columns ul { margin: 0; padding-left: 20px; color: #3b4b58; }
.fine-print { color: #687683; font-size: .77rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); box-shadow: var(--shadow); }
table { width: 100%; min-width: 850px; border-collapse: collapse; background: var(--white); font-size: .9rem; }
th, td { padding: 17px 18px; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--navy); color: var(--white); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; }
tbody th { color: var(--navy); font-weight: 700; }
tbody tr:hover { background: #f7f9fa; }
.featured-column { background: var(--red); }

.material-grid { align-items: center; }
.material-stats { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid rgba(255,255,255,.18); }
.material-stats div { min-height: 150px; padding: 28px; display: flex; flex-direction: column; justify-content: center; border-bottom: 1px solid rgba(255,255,255,.18); }
.material-stats div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.18); }
.material-stats strong { color: var(--white); font-size: 2rem; line-height: 1.1; }
.material-stats span { color: #bac8d3; margin-top: 8px; font-size: .84rem; }
.material-stats .fine-print { grid-column: 1 / -1; padding: 12px 18px; margin: 0; color: #9fb0bd; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: var(--white); border: 1px solid var(--line); transition: .22s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card img { width: 100%; height: 175px; object-fit: cover; }
.product-card-body { padding: 24px; }
.product-card h3 { color: var(--navy); margin-bottom: 12px; }
.product-card p { color: var(--slate); font-size: .88rem; line-height: 1.65; margin: 0; }
.catalog-cta { margin-top: 42px; padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid var(--line); background: var(--mist); }
.catalog-cta p { margin: 0; font-weight: 600; }

.mission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0; margin: 0; list-style: none; }
.mission-grid li { position: relative; min-height: 74px; padding: 20px 18px 20px 48px; display: flex; align-items: center; background: var(--white); border: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.mission-grid li::before { content: ""; position: absolute; left: 20px; width: 11px; height: 11px; background: var(--red); }

.safety-card { display: grid; grid-template-columns: 86px 1fr; gap: 34px; align-items: center; padding: 42px; border: 2px solid var(--red); }
.safety-card h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 16px; }
.safety-card p:last-child { margin: 0; color: #354857; }
.safety-icon { width: 76px; height: 76px; display: grid; place-items: center; background: var(--red); color: var(--white); font-size: 2.4rem; font-weight: 900; }

.procurement-section { background: var(--navy-2); color: #dbe5ed; }
.procurement-section h2 { color: var(--white); }
.procurement-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.procurement-points { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid rgba(255,255,255,.16); }
.procurement-points div { min-height: 145px; padding: 26px; display: flex; flex-direction: column; border-bottom: 1px solid rgba(255,255,255,.16); }
.procurement-points div:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.16); }
.procurement-points strong { color: var(--white); font-size: 1.04rem; }
.procurement-points span { margin-top: 8px; color: #b9c8d3; font-size: .86rem; }

.final-cta { padding-block: 86px; background: #091724; color: #dce5ec; }
.final-cta h2 { color: var(--white); max-width: 780px; margin-bottom: 18px; }
.final-cta p:last-child { max-width: 780px; }
.final-cta-inner { display: flex; justify-content: space-between; align-items: end; gap: 60px; }
.final-cta-inner > div:first-child { flex: 1; }
.final-cta-inner .button-row { flex: 0 0 auto; flex-direction: column; align-items: stretch; }

.site-footer { padding-block: 66px 28px; background: #050d15; color: #aebcc7; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .8fr .8fr; gap: 70px; }
.footer-grid img { width: 155px; height: 100px; object-fit: contain; filter: brightness(1.12); }
.footer-grid p { max-width: 420px; font-size: .87rem; }
.footer-grid h2 { color: var(--white); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid a { display: block; margin: 8px 0; color: #c8d3dc; text-decoration: none; font-size: .88rem; }
.footer-grid a:hover, .footer-grid a:focus-visible { color: var(--white); }
.footer-bottom { margin-top: 42px; padding-top: 22px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; font-size: .72rem; }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .header-inner > .button-small { margin-left: auto; }
  .mobile-nav { display: block; margin-left: 0; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .pro-plus-grid, .split-grid, .procurement-grid { gap: 42px; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header { position: relative; }
  .header-inner { min-height: 74px; gap: 16px; }
  .brand img { width: 120px; height: 52px; }
  .header-inner > .button-small { display: none; }
  .mobile-nav { margin-left: auto; }
  .hero { min-height: 620px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(6,20,33,.94), rgba(6,20,33,.72)), linear-gradient(0deg, rgba(6,20,33,.6), transparent 60%); }
  .hero-content { padding-block: 90px 66px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid div { min-height: 96px; padding: 20px; border-bottom: 1px solid rgba(255,255,255,.14); }
  .section { padding-block: 72px; }
  .split-grid, .pro-plus-grid, .procurement-grid, .footer-grid { grid-template-columns: 1fr; }
  .logic-card, .spec-panel { padding: 28px; }
  .feature-image img { min-height: 350px; }
  .product-grid, .mission-grid { grid-template-columns: 1fr; }
  .product-card img { height: 220px; }
  .catalog-cta, .final-cta-inner { align-items: stretch; flex-direction: column; }
  .safety-card { grid-template-columns: 1fr; padding: 28px; }
  .procurement-points { grid-template-columns: 1fr; }
  .procurement-points div:nth-child(odd) { border-right: 0; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  h1 { font-size: 2.65rem; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid div { border-left: 1px solid rgba(255,255,255,.14); }
  .spec-grid, .component-columns, .material-stats { grid-template-columns: 1fr; }
  .spec-grid div, .spec-grid div:nth-child(odd), .material-stats div, .material-stats div:nth-child(odd) { border-right: 0; border-bottom: 1px solid var(--line); }
  .material-stats div { border-bottom-color: rgba(255,255,255,.18); }
  .material-stats .fine-print { grid-column: 1; }
  .product-card img { height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* dropdown (Services) — added for Subterranean Conversions rollout */
.has-dropdown { position: relative; display: flex; align-items: center; align-self: stretch; }
.desktop-nav a { display: flex; align-items: center; }
.has-dropdown > a { display: flex; align-items: center; height: 100%; }
.has-dropdown > a::after { content: "\25BE"; margin-left: 5px; font-size: 9px; position: relative; top: -1px; }
.nav-dropdown { position: absolute; top: 100%; left: 0; min-width: 268px; margin: 0; padding: 8px 0; list-style: none; background: var(--navy); border: 1px solid rgba(255,255,255,.12); border-top: 2px solid var(--red); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; max-height: 70vh; overflow-y: auto; }
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown li { margin: 0; }
.nav-dropdown a { display: block; padding: 11px 18px; font-size: .82rem; font-weight: 600; white-space: nowrap; color: #dfe1e4; }
.nav-dropdown a:hover, .nav-dropdown a:focus-visible { background: rgba(255,255,255,.06); color: var(--red); }
.nav-dropdown a.current { color: var(--red); }
.nav-new-tag { display: inline-block; margin-left: 8px; padding: 2px 6px; background: var(--red); color: #fff; font-size: 8.5px; font-weight: 800; letter-spacing: .06em; border-radius: 2px; vertical-align: middle; }

.reg-mark { font-size: .58em; vertical-align: super; line-height: 0; }

.video-embed { position: relative; padding-top: 56.25%; height: 0; overflow: hidden; border-radius: 4px; background: #111; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
