/* Delviom — Capabilities (inner page).
   Layered on top of main.css + index1.css so header, footer and tokens stay
   identical to the approved homepage design. Shares the inner-page banner
   pattern established on the contact page (large-bg-wave + image right). */

/* ===================== Inner banner (large-bg-wave) ===================== */
.page-banner {
   position: relative;
   isolation: isolate;
   overflow: hidden;
   color: #fff;
   background-color: var(--navy-deep);
   background-image: url("../images/large-bg-wave.png");
   background-position: center;
   background-size: cover;
   background-repeat: no-repeat;
   border-bottom-left-radius: 40px;
   border-bottom-right-radius: 40px;
   padding-top: calc(var(--header-height) + clamp(30px, 4vw, 56px));
   padding-bottom: clamp(48px, 5.5vw, 76px);
}

.page-banner-inner {
   display: grid;
   grid-template-columns: 1fr 0.92fr;
   align-items: center;
   gap: clamp(32px, 5vw, 72px);
}

.page-banner .eyebrow {
   color: var(--gold);
   margin-bottom: 12px;
}

.page-banner-title {
   font-size: clamp(2.2rem, 4.6vw, 3.5rem);
   line-height: 1.1;
   font-weight: 700;
   letter-spacing: -0.02em;
   color: #fff;
}

.page-banner-lead {
   margin-top: clamp(18px, 2.2vw, 26px);
   max-width: 62ch;
   color: rgba(245, 247, 250, 0.86);
   font-size: clamp(1rem, 1.25vw, 1.1rem);
   line-height: 1.75;
}

.page-banner-actions {
   display: flex;
   flex-wrap: wrap;
   gap: 14px;
   margin-top: clamp(24px, 3vw, 32px);
}

.page-banner .btn-pill {
   height: 54px;
   padding: 0 20px;
   border-radius: 999px;
   font-weight: 600;
   font-size: 0.92rem;
   text-transform: none;
   letter-spacing: 0.01em;
}

.page-banner .btn-split--solid .btn-pill {
   background: var(--gold);
   border: 1px solid var(--gold);
   color: var(--navy-deep);
}

.page-banner .btn-split--solid:hover .btn-pill {
   background: var(--gold-deep);
   border-color: var(--gold-deep);
   color: var(--navy-deep);
}

.page-banner-media {
   justify-self: end;
   width: 100%;
   max-width: 620px;
}

.page-banner-media img {
   width: 100%;
   height: clamp(300px, 30vw, 420px);
   object-fit: cover;
   object-position: center;
   border-radius: 22px;
   box-shadow: 0 26px 60px rgba(3, 12, 26, 0.42);
}

/* ===================== Capability selector ===================== */
.capabilities-main {
   padding-block: clamp(48px, 6vw, 78px);
   background: rgb(233, 252, 255);
}

/* Five capability tiles on a 6-column track, each spanning two columns: three
   sit on row 1, and the remaining two are offset by one column so the short
   row stays centred instead of hanging left. */
.capability-summary-row {
   display: grid;
   grid-template-columns: repeat(6, 1fr);
   gap: clamp(18px, 2.2vw, 28px);
}

.capability-card {
   grid-column: span 2;
}

.capability-card:nth-child(4) {
   grid-column: 2 / span 2;
}

/* Image tile matching the homepage .sol-front face — static, no flip.
   Everything the flip's back face carried lives on the single face here. */
.capability-card {
   position: relative;
   display: flex;
   flex-direction: column;
   isolation: isolate;
   min-height: 360px;
   overflow: hidden;
   padding: clamp(18px, 1.6vw, 24px);
   border-radius: 20px;
   color: #fff;
   background-color: var(--navy-deep);
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   transition: transform .22s ease;
}

/* Scrim behind the content, same technique as .sol-front::after */
.capability-card::after {
   content: "";
   position: absolute;
   inset: 0;
   z-index: -1;
   background: linear-gradient(180deg, rgba(6, 16, 32, 0) 12%, rgba(6, 16, 32, 0.78) 78%);
}

.capability-card:hover {
   transform: translateY(-4px);
}

.capability-card-icon {
   display: inline-grid;
   place-items: center;
   width: 46px;
   height: 46px;
   color: #fff;
}

.capability-card-icon svg {
   width: 38px;
   height: 38px;
}

/* Content anchors to the bottom of the tile, like .sol-front h3 */
.capability-card-body {
   margin-top: auto;
}

.capability-feature-kicker {
   color: rgba(255, 255, 255, 0.82);
   font-size: 0.72rem;
   font-weight: 800;
   letter-spacing: 0.16em;
   text-transform: uppercase;
   margin-bottom: 10px;
}

.capability-card h2 {
   color: #fff;
   font-size: clamp(1.2rem, 1.6vw, 1.4rem);
   font-weight: 700;
   line-height: 1.2;
   letter-spacing: -0.01em;
}

.capability-card p {
   margin-top: 10px;
   color: rgba(255, 255, 255, 0.88);
   font-size: 0.92rem;
   line-height: 1.55;
}

/* Gold pill, matching the homepage .sol-learn button */
.more-info-button {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   align-self: flex-start;
   margin-top: 18px;
   padding: 10px 18px;
   border-radius: 8px;
   background: var(--gold);
   color: var(--navy-deep);
   font-size: 0.9rem;
   font-weight: 600;
   transition: background .2s ease, transform .2s ease;
}

.more-info-button::after {
   content: "";
   width: 15px;
   height: 15px;
   background: currentColor;
   -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
   mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
   transition: transform .22s ease;
}

.more-info-button:hover {
   background: #fff;
   transform: translateY(-2px);
}

.more-info-button:hover::after {
   transform: translateX(3px);
}

/* ---------- Detail panels ----------
   Never rendered inline — these are the content source that "More Information"
   clones into the modal, matching the source page's behaviour. */
.capability-details-wrapper,
.capability-detail-panel {
   display: none;
}

.capability-proof-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: clamp(16px, 2vw, 24px);
}

.capability-proof-card {
   padding-block: 4px;
}

.proof-icon {
   display: grid;
   place-items: center;
   width: 40px;
   height: 40px;
   margin-bottom: 12px;
   color: var(--teal-deep);
}

.proof-icon svg {
   width: 34px;
   height: 34px;
}

.capability-proof-card h3 {
   color: var(--navy);
   font-size: 1.02rem;
   font-weight: 700;
   letter-spacing: -0.01em;
}

.capability-proof-card p {
   margin-top: 8px;
   color: var(--text);
   font-size: 0.93rem;
   line-height: 1.7;
}

/* ===================== "More Information" modal ===================== */
.capability-modal {
   position: fixed;
   inset: 0;
   z-index: 1300;
   display: grid;
   place-items: center;
   padding: clamp(16px, 4vw, 40px);
   opacity: 0;
   visibility: hidden;
   transition: opacity .2s ease, visibility .2s ease;
}

.capability-modal.active {
   opacity: 1;
   visibility: visible;
}

.capability-modal-backdrop {
   position: absolute;
   inset: 0;
   background: rgba(7, 21, 40, 0.55);
   -webkit-backdrop-filter: blur(3px);
   backdrop-filter: blur(3px);
}

.capability-modal-dialog {
   position: relative;
   width: min(900px, 100%);
   max-height: min(84vh, 760px);
   overflow-y: auto;
   padding: clamp(28px, 3.4vw, 44px);
   border-radius: 24px;
   background: var(--white);
   box-shadow: 0 30px 70px rgba(3, 12, 26, 0.35);
   transform: translateY(14px);
   transition: transform .22s ease;
}

.capability-modal.active .capability-modal-dialog {
   transform: none;
}

.capability-modal-close {
   position: absolute;
   top: 16px;
   right: 16px;
   display: grid;
   place-items: center;
   width: 38px;
   height: 38px;
   border-radius: 50%;
   background: var(--off-white);
   color: var(--navy);
   font-size: 1.5rem;
   line-height: 1;
   transition: background-color .18s ease, color .18s ease;
}

.capability-modal-close:hover {
   background: var(--navy);
   color: #fff;
}

.capability-modal-kicker {
   color: var(--teal-deep);
   font-size: 0.74rem;
   font-weight: 800;
   letter-spacing: 0.16em;
   text-transform: uppercase;
   margin-bottom: 12px;
}

.capability-modal-dialog h2 {
   color: var(--ink);
   font-size: clamp(1.3rem, 2.2vw, 1.7rem);
   font-weight: 700;
   line-height: 1.25;
   letter-spacing: -0.02em;
   padding-right: 44px;
}

.capability-modal-content {
   margin-top: 24px;
   padding-top: 24px;
   border-top: 1px solid var(--line);
}

/* The cloned grid gets a tighter column count inside the dialog */
.capability-modal-content .capability-proof-grid {
   grid-template-columns: repeat(2, 1fr);
}

/* Locks the page behind the dialog */
body.capability-modal-open {
   overflow: hidden;
}

@media (max-width: 760px) {
   .capability-modal-content .capability-proof-grid {
      grid-template-columns: 1fr;
   }
}

/* ===================== Spotlight ===================== */
.spotlight {
   /* background: rgb(233, 252, 255); */
   padding-block: clamp(48px, 6vw, 78px);
   /* border-radius: 50px 50px 0 0; */
}

.spotlight-grid {
   display: grid;
   grid-template-columns: 1fr;
   gap: clamp(36px, 4.5vw, 62px);
   align-items: start;
}

.spotlight-card {
   padding: 0;
}

.spotlight-kicker {
   color: var(--teal-deep);
   font-size: 0.74rem;
   font-weight: 800;
   letter-spacing: 0.16em;
   text-transform: uppercase;
   margin-bottom: 14px;
}

.spotlight-card h2 {
   color: var(--navy);
   font-size: clamp(1.5rem, 2.4vw, 2rem);
   font-weight: 700;
   letter-spacing: -0.02em;
   line-height: 1.2;
}

.spotlight-card>p {
   margin-top: 16px;
   color: var(--text);
   font-size: 1rem;
   line-height: 1.8;
}

/* Two columns now that the card runs the full container width */
.spotlight-list {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 12px clamp(24px, 3vw, 44px);
   margin-top: 26px;
}

.spotlight-item {
   position: relative;
   padding-left: 30px;
   color: var(--text);
   font-size: 0.94rem;
   line-height: 1.7;
}

/* Check-in-circle marker, matching .mini-bullet-list li::before */
.spotlight-item::before {
   content: "";
   position: absolute;
   top: 6px;
   left: 0;
   width: 17px;
   height: 17px;
   background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%232E8B7F'/%3E%3Cpath d='M5.9 10.2l2.6 2.6 5.4-5.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ===================== Security solution tiles (own section) =====================
   Brand band with three white tiles, icon left / content right. */
.mini-metric-section {
   /* Full-bleed brand blue band — the tiles stay inside .container */
   /* background: #0A78A5; */
   padding-block: clamp(48px, 6vw, 78px);
   background: rgb(233, 252, 255);
}

.mini-metric-panel {
   padding: 0;
}

.mini-metric-grid {
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: clamp(16px, 1.8vw, 26px);
   align-items: stretch;
}

/* Wave-gradient tiles, using the same card art as .capability-card above so the
   two rows read as one system. No flip — these stay static. */
.mini-metric {
   position: relative;
   display: flex;
   flex-direction: column;
   padding: clamp(20px, 2vw, 30px);
   border-radius: 16px;
   overflow: hidden;
   isolation: isolate;
   color: #fff;
   background-color: var(--navy-deep);
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   box-shadow: 0 10px 26px rgba(7, 21, 40, 0.14);
}

/* Scrim behind the content (z-index:-1) so the bullet markers keep their own
   stacking. Lighter than .capability-card's — the list runs the full height, so
   the wash is even rather than bottom-weighted, and the waves still read. */
.mini-metric::after {
   content: "";
   position: absolute;
   inset: 0;
   z-index: -1;
   background: linear-gradient(180deg, rgba(6, 16, 32, 0.34) 0%, rgba(6, 16, 32, 0.62) 100%);
}

/* Row 1 — icon beside the heading; the bullet list is row 2, full width.
   Hairline rule separates the two rows. */
.mini-metric-head {
   display: grid;
   grid-template-columns: auto minmax(0, 1fr);
   align-items: center;
   gap: clamp(12px, 1.4vw, 18px);
   padding-bottom: clamp(14px, 1.6vw, 20px);
   margin-bottom: clamp(16px, 1.8vw, 22px);
   border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.mini-metric-icon {
   display: grid;
   place-items: center;
   width: 52px;
   height: 52px;
   flex: none;
   color: var(--gold);
}

.mini-metric-icon svg {
   width: 44px;
   height: 44px;
}

.mini-metric strong {
   display: block;
   color: #fff;
   font-size: 1.05rem;
   font-weight: 700;
   letter-spacing: -0.01em;
   line-height: 1.3;
}

.mini-bullet-list {
   display: grid;
   gap: 11px;
}

.mini-bullet-list li {
   position: relative;
   padding-left: 30px;
   color: rgba(255, 255, 255, 0.88);
   font-size: 0.9rem;
   line-height: 1.6;
}

/* Gold check-in-circle marker, readable against the scrimmed wave art */
.mini-bullet-list li::before {
   content: "";
   position: absolute;
   top: 3px;
   left: 0;
   width: 19px;
   height: 19px;
   background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23F7BF5A'/%3E%3Cpath d='M5.9 10.2l2.6 2.6 5.4-5.6' fill='none' stroke='%23071528' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Gold tile ----------
   The gold wave art is far too bright for white text, so this tile inverts to
   navy content over a near-clear scrim, keeping the gold of the card row. */
.mini-metric--gold {
   /* Matches the art so the PNG's baked-in rounded corners can't show a dark
      sliver where they fall outside the crop. */
   background-color: var(--gold);
}

.mini-metric--gold::after {
   background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(120, 74, 6, 0.14) 100%);
}

.mini-metric--gold .mini-metric-head {
   border-bottom-color: rgba(7, 21, 40, 0.22);
}

.mini-metric--gold .mini-metric-icon,
.mini-metric--gold strong {
   color: var(--navy-deep);
}

.mini-metric--gold .mini-bullet-list li {
   color: rgba(7, 21, 40, 0.86);
}

/* Navy check on gold, mirroring the gold check on the dark tiles */
.mini-metric--gold .mini-bullet-list li::before {
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10' fill='%23071528'/%3E%3Cpath d='M5.9 10.2l2.6 2.6 5.4-5.6' fill='none' stroke='%23F7BF5A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ===================== Technology partners ===================== */
.tech-partners {
   padding-block: clamp(48px, 6vw, 78px);
}

/* Centred header block, matching the homepage section rhythm */
.section-intro {
   max-width: 760px;
   margin-inline: auto;
   margin-bottom: clamp(28px, 3.5vw, 42px);
   text-align: center;
}

.section-intro h2 {
   color: var(--ink);
   font-size: clamp(1.5rem, 2.6vw, 2.05rem);
   font-weight: 700;
   line-height: 1.12;
   letter-spacing: -0.01em;
}

.section-intro p {
   margin-top: 16px;
   color: var(--text);
   line-height: 1.75;
}

.tech-partner-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: clamp(16px, 2vw, 24px);
}

.tech-partner-card {
   padding-block: 4px;
}

.tech-partner-icon {
   display: grid;
   place-items: center;
   width: 48px;
   height: 48px;
   margin-bottom: 14px;
   color: var(--teal-deep);
}

.tech-partner-icon svg {
   width: 40px;
   height: 40px;
}

.tech-partner-card h3 {
   color: var(--navy);
   font-size: 1rem;
   font-weight: 700;
   letter-spacing: -0.01em;
   margin-bottom: 10px;
}

.tech-partner-card p {
   color: var(--text);
   font-size: 0.9rem;
   line-height: 1.7;
}

/* ===================== NAICS (relocated from the homepage) =====================
   Deliberately NOT .naics-section — that class is the dark homepage treatment in
   index1.css. The .naics-grid / .naics-item styles it ships are already light. */
.naics-band {
   background: rgb(233, 252, 255);
   padding-block: clamp(48px, 6vw, 78px);
   border-radius: 50px 50px 0 0;
}

/* Borderless ledger rows — code and label share a baseline across a wide
   gutter. Scoped to .naics-band so the index1.css defaults stay untouched. */
.naics-band .naics-grid {
   grid-template-columns: repeat(2, minmax(0, 1fr));
   column-gap: clamp(36px, 5vw, 90px);
   row-gap: 0;
}

.naics-band .naics-item {
   display: grid;
   grid-template-columns: 5.5em minmax(0, 1fr);
   align-items: baseline;
   gap: clamp(16px, 2vw, 30px);
   padding: clamp(13px, 1.4vw, 17px) 0;
   border: 0;
   border-radius: 0;
   background: transparent;
}

.naics-band .naics-item:hover {
   transform: none;
}

.naics-band .naics-code {
   color: var(--navy);
   font-size: 1rem;
   letter-spacing: 0.03em;
}

.naics-band .naics-desc {
   font-size: 0.92rem;
   line-height: 1.55;
}

/* Primary row keeps its emphasis without the tinted box */
.naics-band .naics-item.primary .naics-code,
.naics-band .naics-desc em {
   color: var(--gold-deep);
}

.naics-band .naics-item.primary .naics-desc {
   color: var(--ink);
   font-weight: 600;
}

.naics-band .naics-desc em {
   font-style: normal;
   font-weight: 600;
}

@media (max-width: 760px) {
   .naics-band .naics-grid {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 440px) {
   .naics-band .naics-item {
      grid-template-columns: 1fr;
      gap: 4px;
   }
}

/* ===================== Closing CTA ===================== */
.cta-panel-wrap {
   padding: 50px 0;
}

.cta-panel {
   display: flex;
   flex-direction: column;
   align-items: center;
   text-align: center;
   gap: 22px;
   /* padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 48px); */
}

.cta-panel h3 {
   color: var(--ink);
   font-size: clamp(1.4rem, 2.4vw, 2.05rem);
   font-weight: 700;
   line-height: 1.12;
   letter-spacing: -0.01em;
}

.cta-panel p {
   margin-top: 14px;
   color: var(--text);
   max-width: 56ch;
   margin-inline: auto;
   line-height: 1.75;
}

.cta-panel .btn-pill {
   height: 54px;
   padding: 0 30px;
   border-radius: 999px;
   background: var(--gold);
   border: 1px solid var(--gold);
   color: var(--navy-deep);
   font-weight: 600;
   font-size: 0.94rem;
   text-transform: none;
   letter-spacing: 0.01em;
}

.cta-panel .btn-split:hover .btn-pill {
   background: var(--gold-deep);
   border-color: var(--gold-deep);
   color: var(--navy-deep);
}

/* ===================== Responsive ===================== */
@media (max-width: 1180px) {
   .tech-partner-grid {
      grid-template-columns: repeat(2, 1fr);
   }
}

@media (max-width: 1080px) {
   .page-banner-inner {
      grid-template-columns: 1fr;
      gap: clamp(34px, 5vw, 48px);
   }

   .page-banner-media {
      justify-self: stretch;
      max-width: 100%;
   }

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

   .mini-metric-grid {
      grid-template-columns: 1fr;
   }
}

/* 2-up: four-column track, last tile offset one column so it stays centred */
@media (max-width: 1180px) {
   .capability-summary-row {
      grid-template-columns: repeat(4, 1fr);
   }

   .capability-card:nth-child(4) {
      grid-column: span 2;
   }

   .capability-card:nth-child(5) {
      grid-column: 2 / span 2;
   }
}

@media (max-width: 900px) {
   .capability-summary-row {
      grid-template-columns: 1fr;
   }

   .capability-card,
   .capability-card:nth-child(4),
   .capability-card:nth-child(5) {
      grid-column: auto;
   }

   .capability-card {
      min-height: 300px;
   }
}

@media (max-width: 760px) {
   .spotlight-list {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 620px) {
   .page-banner {
      border-bottom-left-radius: 24px;
      border-bottom-right-radius: 24px;
   }

   .page-banner-media img {
      border-radius: 18px;
   }

   .capability-proof-grid,
   .tech-partner-grid {
      grid-template-columns: 1fr;
   }
}