:root {
  --ink: #050506;
  --black: #000000;
  --surface: #0b0c0f;
  --surface-2: #111318;
  --panel: #151821;
  --panel-2: #1c2028;
  --steel: #1f2937;
  --line: #2c3038;
  --line-strong: #3b404a;
  --text: #f3f4f6;
  --muted: #a8b0bc;
  --muted-2: #d1d5db;
  --red: #e00000;
  --red-dark: #8f0000;
  --gold: #f3c24f;
  --gold-soft: #ffe28a;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.34);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.45rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  border-radius: 6px;
  background: var(--gold);
  color: var(--black);
  padding: 0.75rem 1rem;
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 6, 0.88);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 900;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 46px;
  object-fit: contain;
  transition: filter 220ms ease, transform 220ms var(--ease-out);
}

.brand:hover img {
  filter: drop-shadow(0 0 14px rgba(243, 194, 79, 0.34));
  transform: translateY(-1px) scale(1.03);
}

.brand span {
  display: block;
  font-size: 1rem;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.nav-links a {
  border-radius: 6px;
  color: var(--muted-2);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.7rem 0.78rem;
  transition: background 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  text-decoration: none;
}

.nav-links a:hover {
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.6rem;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 78px 0;
  background: var(--surface);
}

.section.alt {
  background: var(--surface-2);
}

.section.black {
  background: var(--black);
}

.section.tight {
  padding: 54px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.64fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.1rem;
}

.section-head.full {
  display: block;
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow::before {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--red);
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  font-size: 4.5rem;
}

h2 {
  font-size: 2.55rem;
}

h3 {
  font-size: 1.18rem;
}

.lead {
  color: var(--muted-2);
  font-size: 1.12rem;
  line-height: 1.75;
}

.muted {
  color: var(--muted);
}

.fine {
  color: var(--muted);
  font-size: 0.92rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0.78rem 1rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms var(--ease-out);
}

.btn::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 44%, transparent 68%);
  content: "";
  opacity: 0;
  transform: translateX(-120%);
  transition: opacity 180ms ease, transform 520ms var(--ease-out);
  pointer-events: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn:hover::after {
  opacity: 1;
  transform: translateX(120%);
}

.btn.primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(224, 0, 0, 0.24);
}

.btn.primary:hover {
  background: #ff1717;
  box-shadow: 0 16px 36px rgba(224, 0, 0, 0.32);
}

.btn.secondary {
  border-color: rgba(243, 194, 79, 0.64);
  background: rgba(243, 194, 79, 0.1);
  color: var(--gold-soft);
}

.btn.secondary:hover {
  border-color: var(--gold);
  background: rgba(243, 194, 79, 0.17);
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-2);
}

.btn.ghost:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: calc(100svh - 140px);
  overflow: hidden;
  background: var(--black);
}

.hero-bg,
.hero-bg img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -3;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  transform: scale(1.03);
  animation: heroDrift 22s var(--ease-in-out) infinite alternate;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.97) 0%, rgba(0, 0, 0, 0.87) 33%, rgba(0, 0, 0, 0.58) 61%, rgba(0, 0, 0, 0.24) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0.72) 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  background-size: 180% 100%;
  content: "";
  animation: accentSweep 5200ms var(--ease-in-out) infinite alternate;
}

.hero-content {
  align-self: center;
  width: min(760px, 100%);
  padding: 76px 0 86px;
}

.hero-logo {
  width: 78px;
  height: 86px;
  margin-bottom: 1.4rem;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.42));
}

.hero-tagline {
  margin-top: 0.8rem;
  color: var(--gold);
  font-size: 1.52rem;
  font-weight: 900;
  line-height: 1.22;
}

.hero-copy {
  max-width: 690px;
  margin-top: 1.25rem;
  color: var(--muted-2);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.78rem;
  margin-top: 1.8rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.proof-pill {
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(5, 5, 6, 0.62);
  padding: 0.8rem;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms var(--ease-out);
}

.proof-pill:hover {
  border-color: rgba(243, 194, 79, 0.44);
  background: rgba(12, 12, 14, 0.78);
  transform: translateY(-3px);
}

.proof-pill strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.25;
}

.proof-pill span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.service-card,
.package-card,
.person-card,
.contact-panel,
.note-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms var(--ease-out);
}

.card::before,
.service-card::before,
.package-card::before,
.person-card::before,
.contact-panel::before,
.note-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(243, 194, 79, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 40%);
  content: "";
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.card:hover,
.service-card:hover,
.package-card:hover,
.person-card:hover,
.contact-panel:hover,
.note-card:hover {
  border-color: rgba(243, 194, 79, 0.32);
  background: rgba(255, 255, 255, 0.052);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.42);
  transform: translateY(-4px);
}

.card:hover::before,
.service-card:hover::before,
.package-card:hover::before,
.person-card:hover::before,
.contact-panel:hover::before,
.note-card:hover::before {
  opacity: 1;
}

.service-card,
.package-card,
.person-card,
.note-card {
  padding: 1.25rem;
}

.service-card {
  min-height: 238px;
}

.service-card .kicker,
.package-card .kicker {
  margin-bottom: 0.85rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card p,
.package-card p,
.person-card p,
.note-card p {
  margin-top: 0.7rem;
  color: var(--muted-2);
}

.service-card a,
.package-card a {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--gold-soft);
  font-weight: 900;
  transition: color 160ms ease, transform 160ms var(--ease-out);
}

.service-card a:hover,
.package-card a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
  gap: 2rem;
  align-items: start;
}

.callout {
  border-left: 4px solid var(--red);
  background: rgba(255, 255, 255, 0.045);
  padding: 1.25rem;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms var(--ease-out);
}

.callout:hover {
  border-left-color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
}

.callout strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--white);
}

.framework-list,
.sector-list,
.cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  list-style: none;
}

.framework-list li,
.sector-list li,
.cert-list li {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted-2);
  padding: 0.5rem 0.72rem;
  font-size: 0.92rem;
  font-weight: 750;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}

.framework-list li:hover,
.sector-list li:hover,
.cert-list li:hover {
  border-color: rgba(243, 194, 79, 0.38);
  background: rgba(243, 194, 79, 0.09);
  color: var(--white);
  transform: translateY(-2px);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  counter-reset: step;
}

.step {
  position: relative;
  min-height: 172px;
  border-top: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.035);
  padding: 1rem;
  counter-increment: step;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms var(--ease-out);
}

.step:hover {
  border-top-color: var(--red);
  background: rgba(255, 255, 255, 0.052);
  transform: translateY(-3px);
}

.step::before {
  display: block;
  margin-bottom: 1rem;
  color: var(--red);
  font-size: 0.92rem;
  font-weight: 900;
  content: "0" counter(step);
}

.step h3 {
  font-size: 1.05rem;
}

.step p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(224, 0, 0, 0.16), rgba(243, 194, 79, 0.06) 38%, rgba(0, 0, 0, 0) 72%),
    var(--black);
}

.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 194, 79, 0.78), rgba(224, 0, 0, 0.72), transparent);
  content: "";
  transform: translateX(-55%);
  animation: railScan 3600ms var(--ease-in-out) infinite alternate;
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(260px, 0.44fr);
  gap: 2rem;
  align-items: end;
  min-height: 360px;
  padding: 72px 0 64px;
}

.page-hero h1 {
  font-size: 3.45rem;
}

.page-hero p {
  margin-top: 1rem;
  color: var(--muted-2);
  font-size: 1.12rem;
}

.page-mark {
  justify-self: end;
  width: 150px;
  opacity: 0.94;
  filter: drop-shadow(0 0 24px rgba(224, 0, 0, 0.18));
}

.breadcrumb {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--gold-soft);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(280px, 0.34fr);
  gap: 2rem;
  align-items: start;
}

.detail-body {
  display: grid;
  gap: 2.75rem;
}

.detail-body h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.detail-body h3 {
  margin-bottom: 0.55rem;
}

.detail-body p + p {
  margin-top: 1.05rem;
}

.detail-body .service-grid {
  margin-top: 0.25rem;
}

.side-panel {
  position: sticky;
  top: 102px;
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 1.25rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease-out);
}

.side-panel:hover {
  border-color: rgba(243, 194, 79, 0.32);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.side-panel h2 {
  font-size: 1.2rem;
}

.side-panel ul {
  margin-top: 1rem;
  color: var(--muted-2);
}

.side-panel .btn {
  width: 100%;
  margin-top: 1rem;
}

.check-list {
  color: var(--muted-2);
}

.check-list li::marker {
  color: var(--gold);
}

.banner {
  position: relative;
  border-top: 1px solid rgba(243, 194, 79, 0.22);
  border-bottom: 1px solid rgba(224, 0, 0, 0.3);
  background:
    linear-gradient(90deg, rgba(224, 0, 0, 0.2), rgba(243, 194, 79, 0.08)),
    #090909;
  padding: 34px 0;
  overflow: hidden;
}

.banner::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(243, 194, 79, 0.08), transparent 52%);
  content: "";
  transform: translateX(-100%);
  animation: bannerSweep 7600ms var(--ease-in-out) infinite;
  pointer-events: none;
}

.banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.banner h2 {
  font-size: 1.65rem;
}

.banner p {
  margin-top: 0.35rem;
  color: var(--muted-2);
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.person-card {
  min-height: 184px;
}

.person-card .role {
  margin-top: 0.4rem;
  color: var(--gold);
  font-weight: 900;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr);
  gap: 1rem;
}

.contact-panel {
  padding: 1.35rem;
}

.contact-form-panel {
  padding: 1.55rem;
}

.contact-form-panel .muted {
  margin-top: 0.65rem;
}

.contact-info-panel h3 {
  margin: 1.25rem 0 0.7rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row.full,
.form-note,
.contact-form .btn {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--muted-2);
  font-size: 0.85rem;
  font-weight: 900;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(5, 5, 6, 0.7);
  color: var(--white);
  font: inherit;
  padding: 0.82rem 0.9rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 0;
  border-color: rgba(243, 194, 79, 0.72);
  background: rgba(5, 5, 6, 0.9);
  box-shadow: 0 0 0 3px rgba(243, 194, 79, 0.14);
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.panel-divider {
  height: 1px;
  margin: 1.35rem 0 1.1rem;
  background: rgba(255, 255, 255, 0.09);
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding: 0.7rem 0;
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-row a {
  color: var(--white);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.dispatch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 1.25rem;
}

.note-card {
  min-height: 218px;
}

.note-meta {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dispatch-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 0.45fr) minmax(0, 0.55fr);
  gap: 1rem;
  align-items: end;
  margin: 1.5rem 0 0.25rem;
}

.dispatch-search {
  display: grid;
  gap: 0.45rem;
}

.dispatch-search label {
  color: var(--muted-2);
  font-size: 0.85rem;
  font-weight: 900;
}

.dispatch-search input {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(5, 5, 6, 0.7);
  color: var(--muted-2);
  font: inherit;
  padding: 0.8rem 0.95rem;
}

.dispatch-search input:disabled {
  cursor: not-allowed;
  opacity: 0.78;
}

.dispatch-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.dispatch-filters a,
.tag-row span,
.status-pill,
.article-tag {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted-2);
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1;
  padding: 0.58rem 0.74rem;
}

.dispatch-filters a:hover {
  border-color: rgba(243, 194, 79, 0.38);
  background: rgba(243, 194, 79, 0.09);
  color: var(--white);
  text-decoration: none;
}

.dispatch-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dispatch-card h3 {
  font-size: 1.28rem;
}

.dispatch-card p:not(.note-meta) {
  color: var(--muted-2);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.card-link {
  color: var(--gold);
  font-weight: 900;
}

.post-list {
  display: grid;
  gap: 0.85rem;
}

.post-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 1.15rem;
}

.post-row h3 {
  margin-top: 0.25rem;
}

.post-row p:not(.note-meta) {
  margin-top: 0.35rem;
  color: var(--muted);
}

.status-pill {
  border-color: rgba(243, 194, 79, 0.34);
  color: var(--gold);
  white-space: nowrap;
}

.status-pill.published {
  border-color: rgba(74, 222, 128, 0.34);
  color: #8ef5a8;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(260px, 0.32fr);
  gap: 2rem;
  align-items: start;
}

.article-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 2.85rem;
}

.article-body > section {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding-top: 1.7rem;
  scroll-margin-top: 96px;
}

.article-body > section:first-child {
  border-top: 0;
  padding-top: 0;
}

.article-body > section > * + * {
  margin-top: 1rem;
}

.article-body h2 {
  font-size: 2rem;
}

.article-body h3 {
  margin-top: 1.65rem;
  margin-bottom: 0.5rem;
}

.article-body h3:first-child {
  margin-top: 0;
}

.article-body ul,
.article-body ol {
  color: var(--muted-2);
}

.article-body p:not(.lead):not(.eyebrow):not(.note-meta):not(.quiz-feedback):not(.quiz-answer) {
  color: var(--muted-2);
}

.article-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.article-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: var(--muted-2);
  font-size: 0.95rem;
}

.article-table th,
.article-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  vertical-align: top;
}

.article-table thead th {
  border-bottom-color: rgba(243, 194, 79, 0.34);
  background: rgba(243, 194, 79, 0.12);
  color: var(--text);
  font-weight: 850;
}

.article-table tbody th {
  color: var(--gold-soft);
  white-space: nowrap;
}

.article-table tbody tr:last-child th,
.article-table tbody tr:last-child td {
  border-bottom: 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.article-callout {
  border-left: 3px solid var(--gold);
  background: rgba(243, 194, 79, 0.08);
  color: var(--muted-2);
  padding: 1rem;
}

.article-body > section.article-callout {
  border-top: 1px solid rgba(243, 194, 79, 0.24);
  padding: 1.15rem 1.2rem;
}

.code-block {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.42);
  color: var(--muted-2);
  overflow-x: auto;
  padding: 1rem;
}

.code-block code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92rem;
  line-height: 1.55;
}

.template-note {
  border: 1px solid rgba(224, 0, 0, 0.32);
  border-radius: 8px;
  background: rgba(224, 0, 0, 0.09);
  color: var(--muted-2);
  padding: 1rem;
}

.dispatch-figure {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.dispatch-figure img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.42);
}

.dispatch-figure figcaption {
  color: var(--muted);
  font-size: 0.92rem;
}

.article-resource {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(243, 194, 79, 0.28);
  border-bottom: 1px solid rgba(243, 194, 79, 0.28);
}

.article-resource > div {
  max-width: 610px;
}

.article-resource .eyebrow {
  margin: 0 0 0.35rem;
}

.article-resource h3 {
  margin: 0 0 0.45rem;
}

.article-resource p:last-child {
  margin: 0;
  color: var(--muted-2);
}

.article-resource .btn {
  flex: 0 0 auto;
}

.quiz-section {
  position: relative;
}

.quiz-section .lead {
  max-width: 720px;
}

.quiz-grid {
  display: grid;
  gap: 1rem;
}

.quiz-card {
  display: grid;
  gap: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(224, 0, 0, 0.08), transparent 32%),
    rgba(255, 255, 255, 0.035);
  padding: 1rem;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.quiz-card label {
  color: var(--muted-2);
  font-weight: 850;
}

.quiz-card code,
.quiz-answer code {
  color: var(--gold-soft);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.quiz-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.quiz-input-row input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(5, 5, 6, 0.72);
  color: var(--white);
  font: inherit;
  padding: 0.8rem 0.9rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.quiz-input-row input:focus {
  outline: 0;
  border-color: rgba(243, 194, 79, 0.72);
  background: rgba(5, 5, 6, 0.9);
  box-shadow: 0 0 0 3px rgba(243, 194, 79, 0.14);
}

.quiz-feedback,
.quiz-answer {
  min-height: 1.35rem;
  font-size: 0.92rem;
}

.quiz-feedback {
  color: var(--muted);
  font-weight: 850;
}

.quiz-answer {
  display: none;
  color: var(--muted);
}

.quiz-card.is-correct {
  border-color: rgba(74, 222, 128, 0.42);
  background:
    linear-gradient(135deg, rgba(74, 222, 128, 0.1), transparent 36%),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.quiz-card.is-correct .quiz-feedback {
  color: #8ef5a8;
}

.quiz-card.is-incorrect {
  border-color: rgba(243, 194, 79, 0.36);
}

.quiz-card.is-incorrect .quiz-feedback {
  color: var(--gold-soft);
}

.quiz-card.is-incorrect .quiz-answer {
  display: block;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: var(--black);
  padding: 38px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.5fr);
  gap: 2rem;
  align-items: start;
}

.footer-grid p {
  margin-top: 0.9rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--muted-2);
  font-weight: 800;
}

.footer-bottom {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-logo,
.hero .eyebrow,
.hero h1,
.hero-tagline,
.hero-copy,
.hero-actions,
.hero .proof-pill {
  opacity: 0;
  animation: riseIn 760ms var(--ease-out) forwards;
}

.page-hero .breadcrumb,
.page-hero .eyebrow,
.page-hero h1,
.page-hero p {
  opacity: 0;
  animation: pageDropIn 740ms var(--ease-out) forwards;
  will-change: opacity, transform;
}

.page-mark {
  opacity: 0;
  animation:
    fadeIn 620ms ease forwards,
    markFloat 5400ms var(--ease-in-out) 1400ms infinite alternate;
  animation-delay: 360ms, 1400ms;
}

.hero-logo {
  animation-delay: 120ms;
}

.page-hero .breadcrumb {
  animation-delay: 90ms;
}

.hero .eyebrow {
  animation-delay: 220ms;
}

.page-hero .eyebrow {
  animation-delay: 170ms;
}

.hero h1 {
  animation-delay: 300ms;
}

.page-hero h1 {
  animation-delay: 250ms;
}

.hero-tagline {
  animation-delay: 390ms;
}

.page-hero p {
  animation-delay: 340ms;
}

.hero-copy {
  animation-delay: 480ms;
}

.hero-actions {
  animation-delay: 580ms;
}

.hero .proof-pill:nth-child(1) {
  animation-delay: 700ms;
}

.hero .proof-pill:nth-child(2) {
  animation-delay: 780ms;
}

.hero .proof-pill:nth-child(3) {
  animation-delay: 860ms;
}

.hero .proof-pill:nth-child(4) {
  animation-delay: 940ms;
}

.hero .eyebrow::before,
.page-hero .eyebrow::before,
.section .eyebrow::before {
  transform-origin: left center;
  animation: lineGrow 620ms var(--ease-out) both;
}

@supports (animation-timeline: view()) {
  .section-head,
  .split,
  .service-card,
  .package-card,
  .person-card,
  .note-card,
  .contact-panel,
  .side-panel,
  .callout,
  .step,
  .framework-list li,
  .sector-list li,
  .cert-list li,
  .banner-inner {
    animation: revealUp 720ms var(--ease-out) both;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes pageDropIn {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translateX(0);
  }

  to {
    transform: scale(1.08) translateX(-1.4%);
  }
}

@keyframes accentSweep {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

@keyframes railScan {
  from {
    transform: translateX(-55%);
  }

  to {
    transform: translateX(55%);
  }
}

@keyframes bannerSweep {
  0%,
  35% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes markFloat {
  from {
    filter: drop-shadow(0 0 20px rgba(224, 0, 0, 0.16));
    transform: translateY(0);
  }

  to {
    filter: drop-shadow(0 0 28px rgba(243, 194, 79, 0.18));
    transform: translateY(-6px);
  }
}

@keyframes lineGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.9rem 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .header-actions {
    width: 100%;
  }

  .header-actions .btn {
    flex: 1 1 160px;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-proof,
  .service-grid,
  .steps,
  .people-grid,
  .dispatch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head,
  .split,
  .page-hero .container,
  .detail-grid,
  .article-layout,
  .dispatch-toolbar,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .dispatch-filters {
    justify-content: flex-start;
  }

  .page-mark {
    justify-self: start;
    width: 104px;
  }

  .side-panel {
    position: static;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .container,
  .narrow,
  .nav-shell {
    width: min(100% - 28px, 1180px);
  }

  .article-body > section {
    scroll-margin-top: 170px;
  }

  .brand img {
    width: 36px;
    height: 40px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    gap: 0.2rem;
    padding-bottom: 0.2rem;
  }

  .nav-links a {
    padding: 0.58rem 0.56rem;
    font-size: 0.86rem;
  }

  .header-actions {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg img {
    object-position: center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.76)),
      linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.82));
  }

  .hero-content {
    padding: 44px 0 50px;
  }

  .hero-logo {
    width: 54px;
    height: 60px;
  }

  h1,
  .page-hero h1 {
    font-size: 2.65rem;
  }

  .article-page-hero .container {
    min-height: auto;
    padding: 38px 0 42px;
  }

  .article-page-hero h1 {
    font-size: 2.3rem;
  }

  .article-page-hero .page-mark {
    display: none;
  }

  h2 {
    font-size: 1.9rem;
  }

  .hero-tagline {
    font-size: 1.22rem;
  }

  .lead,
  .hero-copy,
  .page-hero p {
    font-size: 1rem;
  }

  .hero-proof {
    display: none;
  }

  .service-grid,
  .package-grid,
  .steps,
  .people-grid,
  .dispatch-grid {
    grid-template-columns: 1fr;
  }

  .post-row {
    grid-template-columns: 1fr;
  }

  .status-pill {
    justify-self: start;
  }

  .quiz-input-row {
    grid-template-columns: 1fr;
  }

  .quiz-input-row .btn {
    width: 100%;
  }

  .section {
    padding: 58px 0;
  }

  .page-hero .container {
    min-height: auto;
    padding: 50px 0;
  }

  .banner-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .banner-inner .btn {
    width: 100%;
  }

  .article-resource {
    align-items: stretch;
    flex-direction: column;
  }

  .article-resource .btn {
    width: 100%;
  }

  .contact-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.2rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}
