/* Section title */
.section-title { text-align: center; max-width: 720px; margin: 0 auto var(--sp-8); }
.section-title--left { text-align: left; margin: 0 0 var(--sp-7); }
.section-title::before {
  content: ""; display: block; width: 50px; height: 3px; background: var(--cx-red);
  margin: 0 auto var(--sp-4);
}
.section-title--left::before { margin: 0 0 var(--sp-4); }
.section-title h2 { text-transform: uppercase; letter-spacing: .02em; margin-bottom: var(--sp-3); }
.section-title p { color: var(--cx-body); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--ff-head); font-weight: 600; font-size: .875rem; text-transform: uppercase;
  letter-spacing: .04em; text-decoration: none; min-height: 48px; padding: 0 var(--sp-6);
  border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--dark { background: var(--cx-ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; }
.btn--red { background: var(--cx-red); color: #fff; }
.btn--red:hover { background: var(--cx-red-600); color: #fff; }
.btn--light { background: #fff; color: var(--cx-ink); }
.btn--light:hover, .btn--light:focus-visible { background: var(--cx-ink); color: #fff; }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--cx-ink); border-color: var(--cx-ink); color: #fff; }
.btn--sm { min-height: 40px; padding: 0 var(--sp-4); font-size: .8125rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

.link-arrow { display: inline-flex; align-items: center; gap: var(--sp-2); color: var(--cx-red-600); font-weight: 700; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow:hover { color: var(--cx-red-700); }

/* Page title band */
.page-title-band {
  position: relative; overflow: hidden; color: #fff;
  background: var(--cx-night) linear-gradient(100deg, rgba(227,0,42,.92) 0%, rgba(227,0,42,.78) 42%, rgba(14,19,26,.55) 100%);
  padding-top: clamp(28px, 3.5vw, 48px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.page-title-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 40px 40px; opacity: .5;
}
.page-title-band__inner { position: relative; max-width: 820px; }
.page-title-band h1 { color: #fff; margin-bottom: var(--sp-4); }
.page-title-band p.lead { color: rgba(255,255,255,.92); margin-bottom: var(--sp-5); }
.page-title-band .btn-row { margin-top: var(--sp-5); }

/* Breadcrumbs */
.breadcrumbs { background: var(--cx-mist); border-bottom: 1px solid var(--cx-line); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; padding: var(--sp-3) clamp(16px,4vw,32px); max-width: var(--container-max); margin-inline: auto; font-size: var(--fs-small); }
.breadcrumbs li { display: flex; align-items: center; gap: var(--sp-2); color: var(--cx-muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; color: var(--cx-steel); margin-left: var(--sp-2); }
.breadcrumbs a { color: var(--cx-muted); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: var(--cx-red-600); }
.breadcrumbs li[aria-current="page"] { color: var(--cx-ink); font-weight: 600; }

/* Icon box */
.icon-box { display: flex; flex-direction: column; gap: var(--sp-3); }
.icon-box__icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--cx-red-50); color: var(--cx-red-600); border-radius: var(--radius); flex: none; }
.icon-box__icon svg { width: 26px; height: 26px; }
.icon-box h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.icon-box p { margin: 0; font-size: var(--fs-small); }
.on-dark .icon-box__icon { background: rgba(255,77,106,.12); color: var(--cx-red-on-dark); }
.on-dark .icon-box h3 { color: #fff; }
.on-dark .icon-box p { color: var(--cx-steel); }

/* Cards */
.card {
  background: #fff; border: 1px solid var(--cx-line); border-radius: var(--radius);
  padding: var(--sp-6); box-shadow: var(--shadow-1); transition: box-shadow .15s, transform .15s;
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card__label { font-family: var(--ff-head); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--cx-red-600); margin-bottom: var(--sp-2); }
.card h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.card p { font-size: var(--fs-small); margin-bottom: var(--sp-4); flex: 1; }
.card .link-arrow { margin-top: auto; }
.card--flat { background: var(--cx-mist); border-color: transparent; box-shadow: none; }
.card--flat:hover { box-shadow: var(--shadow-1); transform: none; }
.card--top-red { border-top: 4px solid var(--cx-red); }
.card--tile { text-decoration: none; color: inherit; display: block; }
.card--tile:hover { text-decoration: none; }

/* Tile (industries/tech) */
.tile {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  background: var(--cx-ink); color: #fff; padding: var(--sp-6); border-radius: var(--radius);
  text-decoration: none; font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem;
  transition: background-color .15s;
}
.tile:hover { background: var(--cx-red); color: #fff; }
.tile svg { width: 20px; height: 20px; flex: none; }

/* Stats */
.stats { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); text-align: center; }
.stat__num { font-family: var(--ff-head); font-weight: 700; font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); color: #fff; line-height: 1; margin-bottom: var(--sp-2); }
.stat__label { font-size: var(--fs-small); color: rgba(255,255,255,.88); }

/* Accordion */
.accordion { border: 1px solid var(--cx-line); border-radius: var(--radius); margin-bottom: var(--sp-3); background: #fff; }
.accordion summary {
  cursor: pointer; list-style: none; padding: var(--sp-4) var(--sp-5); font-family: var(--ff-head);
  font-weight: 600; color: var(--cx-ink); display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .chev { width: 18px; height: 18px; flex: none; transition: transform .15s; color: var(--cx-red-600); }
.accordion[open] summary .chev { transform: rotate(180deg); }
.accordion__body { padding: 0 var(--sp-5) var(--sp-5); color: var(--cx-body); font-size: var(--fs-small); }

/* Chips */
.chip-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.chip {
  display: inline-flex; align-items: center; padding: var(--sp-2) var(--sp-4); background: var(--cx-mist);
  border: 1px solid var(--cx-line); border-radius: 999px; font-family: var(--ff-mono); font-size: .8125rem;
  color: var(--cx-ink);
}
.chip--on-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: var(--cx-steel); }
.capability-chip {
  padding: var(--sp-4) var(--sp-5); background: #fff; border: 1px solid var(--cx-line); border-radius: var(--radius);
  font-weight: 600; color: var(--cx-ink); font-size: var(--fs-small);
}

/* CTA band */
.cta-band { background: var(--cx-ink); color: #fff; text-align: center; padding-block: clamp(48px,6vw,72px); }
.cta-band h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-band p { color: var(--cx-steel); max-width: 560px; margin: 0 auto var(--sp-6); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: center; }

/* Engagement cards */
.engagement-card { border: 1px solid var(--cx-line); border-radius: var(--radius); padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-3); height: 100%; }
.engagement-card__tag { font-family: var(--ff-head); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--cx-red-600); }
.engagement-card ul { margin: 0; padding-left: 1.1em; font-size: var(--fs-small); }
.engagement-card .btn { margin-top: auto; align-self: flex-start; }

/* Timeline / steps */
.step-timeline { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); counter-reset: step; }
.step-timeline li { list-style: none; position: relative; padding-top: var(--sp-8); }
.step-timeline li::before {
  counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0;
  width: 40px; height: 40px; border-radius: 50%; background: var(--cx-red); color: #fff;
  display: grid; place-items: center; font-family: var(--ff-head); font-weight: 700;
}
.step-timeline h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.step-timeline p { font-size: var(--fs-small); margin: 0; }
.on-dark.step-timeline h3 { color: #fff; }
.on-dark.step-timeline p { color: var(--cx-steel); }

/* Domain matrix (Air/Land/Sea/Space/Cyber) */
.domain-matrix { width: 100%; border-collapse: collapse; overflow-x: auto; display: block; }
.domain-matrix thead th { background: rgba(255,255,255,.06); color: #fff; font-family: var(--ff-head); font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; border: 1px solid rgba(255,255,255,.12); padding: var(--sp-3); white-space: nowrap; }
.domain-matrix tbody th { background: rgba(255,255,255,.04); color: #fff; font-family: var(--ff-head); text-align: left; border: 1px solid rgba(255,255,255,.12); padding: var(--sp-3); white-space: nowrap; }
.domain-matrix td { border: 1px solid rgba(255,255,255,.12); padding: var(--sp-3); text-align: center; color: var(--cx-red-on-dark); font-family: var(--ff-mono); font-size: .75rem; }

/* Trust badge / compliance grid */
.compliance-grid { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.compliance-grid .chip { font-family: var(--ff-head); font-weight: 600; font-size: .8125rem; border-radius: var(--radius); }

/* Map strip */
.map-strip {
  background: var(--cx-mist); border: 1px dashed var(--cx-steel); border-radius: var(--radius);
  padding: var(--sp-8); display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--sp-3);
}
.map-strip svg { width: 32px; height: 32px; color: var(--cx-red); }

/* Notice box (recruitment fraud, legal callouts) */
.notice { background: var(--cx-red-50); border-left: 4px solid var(--cx-red); padding: var(--sp-5); border-radius: var(--radius); }
.notice p:last-child { margin-bottom: 0; }

/* Stack diagram (Silicon -> Platform -> Model -> Guardrail -> Application) */
.stack-diagram { display: flex; flex-direction: column; gap: var(--sp-2); }
.stack-diagram__row {
  background: var(--cx-mist); border-left: 4px solid var(--cx-red); padding: var(--sp-4) var(--sp-5);
  font-family: var(--ff-head); font-weight: 600; color: var(--cx-ink); display: flex; align-items: center; justify-content: space-between;
}
.stack-diagram__row span.n { color: var(--cx-muted); font-size: var(--fs-small); font-weight: 400; }

/* TOC (articles) */
.toc { background: var(--cx-mist); border: 1px solid var(--cx-line); border-radius: var(--radius); padding: var(--sp-5); margin-bottom: var(--sp-7); }
.toc__title { font-family: var(--ff-head); font-weight: 700; font-size: var(--fs-small); text-transform: uppercase; letter-spacing: .06em; color: var(--cx-muted); margin-bottom: var(--sp-3); }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { color: var(--cx-ink); font-weight: 600; text-decoration: none; }
.toc a:hover { color: var(--cx-red-600); }

/* Routing cards (contact) */
.routing-card {
  display: block; text-decoration: none; background: #fff; border: 1px solid var(--cx-line); border-radius: var(--radius);
  padding: var(--sp-5); text-align: center; font-family: var(--ff-head); font-weight: 700; color: var(--cx-ink);
  transition: border-color .15s, color .15s;
}
.routing-card:hover { border-color: var(--cx-red); color: var(--cx-red-600); }
