/* ==========================================================================
   NAUTILUS — ADCS & Ground Testing · Section 1 — What we do (#capabilities)
   Same structure as the Mission Analysis blocks: title + intro beside an
   animation, then hairline cells. Prefix ad-.
   ========================================================================== */
/* ---- shared ADCS page base (identical in every ADCS section file: loading several is harmless) ---- */
.ad-strip, .ad-sec, .ntl-cta{
  --ad-wine: var(--theme-color, #79182d);
  --ad-pink: #FF9DB6;
  --ad-head: var(--heading-color, #000);
  --ad-text: var(--font-color, #5c5c5c);
  --ad-line: var(--border-color, #dcdcdc);
  --ad-bg: var(--bg-color, #F3F3F3);
  --ad-hfont: var(--heading-font, 'Exo 2', sans-serif);
  --ad-hw: var(--font-weight-heading, 600);
  --ad-ease: cubic-bezier(.16, 1, .3, 1);
}
.ad-sec{ padding: 64px 0 0; scroll-margin-top: 100px; }
.ad-sec--last{ padding-bottom: 120px; }
.ad-sep{ position: relative; height: 1px; background: var(--ad-line); margin-bottom: 56px;
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ad-ease); }
.ad-sep::before{ content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 3px; background: var(--ad-wine); }
.ad-sep.is-in{ transform: none; }
.ad-title{ margin: 0; font-family: var(--ad-hfont); font-weight: var(--ad-hw); text-transform: uppercase;
  font-size: clamp(30px, 3.8vw, 52px); line-height: 1.04; letter-spacing: -.01em; color: var(--ad-head); max-width: 900px; }
/* eyebrow with the dot, as above the section titles on the other pages */
.ad-eyebrow{ display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-family: var(--ad-hfont); font-weight: 400; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ad-head); }
.ad-eyebrow::before{ content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ad-head); box-shadow: 0 0 0 6px #E4E4E6; margin-left: 6px; }
.ad-intro{ max-width: 620px; margin: 18px 0 0; font-size: 17px; line-height: 1.65; color: var(--ad-text); }
@media (max-width: 575px){ .ad-sec{ padding-top: 48px; } .ad-sep{ margin-bottom: 40px; } .ad-sec--last{ padding-bottom: 80px; } }
@media (prefers-reduced-motion: reduce){ .ad-sep{ transform: none; transition: none; } }

.ad-head{ display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 30px; }
.ad-head-text{ padding-bottom: 6px; }
.ad-viz{ margin: 0; justify-self: end; width: 100%; max-width: 420px; height: 270px; }
.ad-viz-svg{ display: block; width: 100%; height: 100%; overflow: visible; }
.ad-ring{ fill: none; stroke: rgba(121,24,45,.22); stroke-width: 1; stroke-dasharray: 3 5; }
.ad-ring--in{ stroke: rgba(0,0,0,.08); stroke-dasharray: none; }
.ad-tgt{ fill: #fff; stroke: var(--ad-wine); stroke-width: 1.4; }
.ad-tgt-dot{ fill: var(--ad-wine); }
.ad-tgt-x{ stroke: var(--ad-wine); stroke-width: 1.4; stroke-linecap: round; }
.ad-lock{ stroke: var(--ad-wine); stroke-width: 1.2; stroke-dasharray: 4 4; }
.ad-lock-ring{ fill: none; stroke: var(--ad-wine); stroke-width: 1.4; }
.ad-fov{ fill: rgba(121,24,45,.08); stroke: rgba(121,24,45,.25); stroke-width: 1; }
.ad-bore{ stroke: var(--ad-wine); stroke-width: 2; stroke-linecap: round; }
.ad-bore-tip{ fill: none; stroke: var(--ad-wine); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ad-panel{ fill: #E4E4E9; stroke: #9C9CA6; stroke-width: 1.2; }
.ad-panel-l{ stroke: #B4B4BD; stroke-width: 1; }
.ad-body{ fill: #fff; stroke: #2A2A30; stroke-width: 1.6; }
.ad-body-l{ stroke: #BDBDC4; stroke-width: 1; }
.ad-lens{ fill: var(--ad-wine); }

.ad-cells{ display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ad-line); border-left: 1px solid var(--ad-line); }
.ad-cell{ position: relative; padding: 34px 30px 38px; background: var(--ad-bg); border-right: 1px solid var(--ad-line); border-bottom: 1px solid var(--ad-line); transition: background .35s; }
.ad-cell::before{ content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--ad-wine);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ad-ease); }
.ad-cell:hover{ background: #fff; } .ad-cell:hover::before{ transform: scaleX(1); }
.ad-cell-ico svg, .ad-cap-ico svg, .ad-model-ico svg{ display: block; fill: none; stroke: var(--ad-wine); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ad-cell-ico svg{ width: 34px; height: 34px; margin-bottom: 20px; }
.ad-cell h3{ margin: 0 0 12px; font-family: var(--ad-hfont); font-weight: var(--ad-hw); font-size: 19px; line-height: 1.3; color: var(--ad-head); text-transform: none; }
.ad-cell p{ margin: 0; font-size: 15px; line-height: 1.62; color: var(--ad-text); }
.ad-cell{ opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s var(--ad-ease), background .35s; }
.ad-cells.is-in .ad-cell{ opacity: 1; transform: none; }
@media (max-width: 991px){ .ad-cells{ grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce){ .ad-cell{ opacity: 1; transform: none; transition: none; } }

@media (max-width: 991px){ .ad-head{ grid-template-columns: 1fr; gap: 20px; } .ad-viz{ justify-self: center; height: 230px; } }
@media (max-width: 575px){ .ad-viz{ height: 200px; } }

/* first section after the hero: no separator, more room on top */
.ad-sec.ad-sec--first{ padding-top: 100px; }
@media (max-width: 575px){ .ad-sec.ad-sec--first{ padding-top: 64px; } }

/* Request a quote under the cells */
.ad-quote-row{ display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 32px; }
.ad-btn{ display: inline-flex; align-items: center; text-decoration: none;
  font-family: var(--ad-hfont); font-weight: var(--ad-hw); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.ad-btn-label{ background: var(--ad-wine); color: #fff; padding: 15px 26px; border-radius: 40px; }
.ad-btn-arrow{ width: 46px; height: 46px; border-radius: 50%; margin-left: -10px; background: var(--ad-wine); color: #fff;
  display: flex; align-items: center; justify-content: center; transition: transform .35s var(--ad-ease); }
.ad-btn-arrow svg{ width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ad-btn:hover .ad-btn-arrow{ transform: translateX(4px) rotate(45deg); }
.ad-btn:focus-visible{ outline: none; } .ad-btn:focus-visible .ad-btn-label{ outline: 2px solid var(--ad-wine); outline-offset: 3px; }
