:root {
  --ink: #171717;
  --coal: #242424;
  --navy: #08006f;
  --red: #c6202f;
  --yellow: #f4c430;
  --green: #2f7f63;
  --concrete: #f4f5f7;
  --steel: #e1e4e8;
  --muted: #606873;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(18, 18, 18, 0.14);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  transition: top 160ms ease;
}

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

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

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

.top-bar {
  background: var(--coal);
  color: var(--white);
  font-size: 0.9rem;
}

.top-bar .container {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-link {
  color: rgba(255, 255, 255, 0.9);
}

.top-link:hover,
.top-link:focus {
  color: var(--yellow);
}

.flag-line {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
}

.flag-us {
  position: relative;
  display: inline-block;
  width: 23px;
  height: 14px;
  overflow: hidden;
  border-radius: 2px;
  background: repeating-linear-gradient(
    to bottom,
    #b22234 0,
    #b22234 1.08px,
    #fff 1.08px,
    #fff 2.16px
  );
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
  flex: 0 0 auto;
}

.flag-us::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 9.6px;
  height: 7.7px;
  background: #3c3b6e;
}

.flag-us::after {
  content: "";
  position: absolute;
  left: 1.6px;
  top: 1.4px;
  width: 5.8px;
  height: 4.8px;
  background-image: radial-gradient(circle, #fff 0.45px, transparent 0.55px);
  background-size: 2px 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 174px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  color: var(--coal);
  font-weight: 700;
  font-size: 0.95rem;
}

.nav-list a:hover,
.nav-list a:focus,
.nav-list a[aria-current="page"] {
  color: var(--navy);
  background: rgba(8, 0, 111, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--coal);
  align-items: center;
  justify-content: center;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before {
  top: -7px;
}

.nav-toggle-lines::after {
  top: 7px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.82rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(198, 32, 47, 0.18);
}

.button.primary:hover,
.button.primary:focus {
  background: #a91826;
}

.button.secondary {
  background: var(--white);
  color: var(--navy);
  border-color: rgba(8, 0, 111, 0.22);
}

.button.secondary:hover,
.button.secondary:focus {
  border-color: var(--navy);
  box-shadow: 0 12px 24px rgba(8, 0, 111, 0.12);
}

.button.dark {
  background: var(--coal);
  color: var(--white);
}

.button.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 580px;
  color: var(--white);
  overflow: hidden;
  background: var(--coal);
}

.hero.compact {
  min-height: 380px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.9) 0%, rgba(16, 16, 16, 0.62) 48%, rgba(16, 16, 16, 0.28) 100%),
    linear-gradient(0deg, rgba(8, 0, 111, 0.34), rgba(198, 32, 47, 0.12));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: grid;
  align-items: center;
  padding: 5rem 0 4rem;
}

.hero-copy {
  width: min(760px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--yellow);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.page-title {
  margin-bottom: 1.2rem;
  font-size: 4.25rem;
  line-height: 0.98;
  font-weight: 900;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2.45rem;
  line-height: 1.08;
  font-weight: 900;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 900;
}

.lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
}

.section-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions,
.section-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(780px, 100%);
  margin-top: 3.2rem;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
}

.proof-item {
  min-height: 108px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.proof-item strong {
  display: block;
  font-size: 1.2rem;
}

.proof-item span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.section {
  padding: 5.2rem 0;
}

.section.tight {
  padding: 3.5rem 0;
}

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

.section.dark {
  background: var(--coal);
  color: var(--white);
}

.section.dark .section-lead,
.section.dark p {
  color: rgba(255, 255, 255, 0.78);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.section-header > div {
  max-width: 760px;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.project-card,
.credential-card,
.contact-card,
.process-step,
.staff-card,
.download-card {
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18, 18, 18, 0.05);
}

.service-card,
.credential-card,
.contact-card,
.process-step,
.staff-card,
.download-card {
  padding: 1.4rem;
}

.service-card h3,
.staff-card h3,
.process-step h3 {
  color: var(--navy);
}

.service-card p,
.staff-card p,
.process-step p,
.project-card p,
.credential-card p,
.download-card p,
.contact-card p {
  color: var(--muted);
}

.service-card ul,
.staff-card ul,
.scope-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.service-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.55rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: rgba(244, 196, 48, 0.28);
  color: var(--coal);
  font-size: 0.82rem;
  font-weight: 900;
}

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

.split.reverse {
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
}

.feature-panel {
  border-left: 6px solid var(--red);
  padding: 2rem;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.feature-panel.on-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--yellow);
  box-shadow: none;
}

.feature-panel p:last-child {
  margin-bottom: 0;
}

.ampp-panel {
  display: grid;
  justify-items: start;
  gap: 0.85rem;
}

.ampp-badge {
  width: min(164px, 100%);
  height: auto;
  padding: 0.55rem;
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
}

.check-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--muted);
}

.section.dark .check-list li {
  color: rgba(255, 255, 255, 0.8);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 2px;
  background: var(--red);
  box-shadow: inset 0 0 0 3px var(--yellow);
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  margin-top: 1.6rem;
}

.brand-mark {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
}

.brand-mark img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8, 0, 111, 0.18), rgba(198, 32, 47, 0.18)),
    repeating-linear-gradient(45deg, #f7f8fa 0 18px, #e8ebef 18px 36px);
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 2px solid rgba(8, 0, 111, 0.22);
  border-radius: var(--radius);
}

.project-visual::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 10px;
  background: linear-gradient(90deg, var(--navy), var(--red), var(--yellow));
  border-radius: 999px;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-visual.has-image::before,
.project-visual.has-image::after {
  display: none;
}

.project-showcase-list {
  display: grid;
  gap: 1.4rem;
}

.project-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(18, 18, 18, 0.05);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 118px;
  gap: 4px;
  padding: 4px;
  background: var(--coal);
}

.project-gallery a {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--steel);
}

.project-gallery .span-all {
  grid-column: 1 / -1;
  grid-row: span 2;
}

.project-gallery .span-two {
  grid-column: span 2;
}

.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.project-gallery a:hover img,
.project-gallery a:focus img {
  transform: scale(1.03);
}

.project-summary {
  align-self: center;
  padding: 1.6rem;
}

.project-summary h3 {
  color: var(--navy);
}

.project-summary p {
  color: var(--muted);
}

.project-facts {
  display: grid;
  gap: 0.75rem;
  margin: 1.3rem 0 0;
}

.project-facts div {
  display: grid;
  gap: 0.15rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--steel);
}

.project-facts dt {
  color: var(--coal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-facts dd {
  margin: 0;
  color: var(--muted);
}

.project-body {
  padding: 1.25rem;
}

.project-meta {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(47, 127, 99, 0.12);
  color: var(--green);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.process-step {
  position: relative;
}

.step-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.credential-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.credential-badge {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--coal);
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 2rem;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.contact-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 0.4rem;
}

.field.full,
.field-group.full {
  grid-column: 1 / -1;
}

.field label,
.field span,
.field-group legend {
  color: var(--coal);
  font-size: 0.92rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cdd2d8;
  border-radius: var(--radius);
  padding: 0.78rem 0.85rem;
  color: var(--ink);
  background: var(--white);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgba(244, 196, 48, 0.48);
  border-color: var(--navy);
}

.field-group {
  border: 0;
  margin: 0;
  padding: 0;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.55rem;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.65rem;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  color: var(--muted);
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: var(--red);
}

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

.download-card {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.download-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
}

.cta-band {
  background:
    linear-gradient(90deg, rgba(8, 0, 111, 0.94), rgba(36, 36, 36, 0.94)),
    var(--coal);
  color: var(--white);
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.4rem 0;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.site-footer {
  background: #151515;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-logo {
  width: 190px;
  max-width: 100%;
  padding: 0.6rem;
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.site-footer h3 {
  font-size: 1rem;
}

.site-footer p,
.site-footer a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--yellow);
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1rem 0;
  font-size: 0.9rem;
}

.announcement {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(16, 16, 16, 0.68);
}

.announcement.is-visible {
  display: flex;
}

.announcement-panel {
  width: min(560px, 100%);
  position: relative;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.announcement-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(var(--navy), var(--red), var(--yellow));
  border-radius: var(--radius) 0 0 var(--radius);
}

.announcement-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 38px;
  height: 38px;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--coal);
  font-size: 1.4rem;
  line-height: 1;
}

.announcement h2 {
  padding-right: 2.2rem;
  font-size: 1.7rem;
}

.announcement .eyebrow {
  color: var(--red);
}

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

.announcement-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

.admin-app {
  background: var(--concrete);
}

.admin-hero {
  padding-bottom: 2rem;
}

.admin-nav {
  gap: 0.9rem;
}

.admin-provider-status {
  align-self: start;
  min-height: 46px;
  padding: 0.8rem 1rem;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--muted);
  font-weight: 700;
}

.admin-provider-status.is-live {
  border-color: rgba(47, 127, 99, 0.2);
  color: var(--green);
}

.admin-provider-status.is-warning {
  border-color: rgba(244, 196, 48, 0.4);
  color: var(--coal);
}

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

.admin-metric,
.admin-panel {
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(18, 18, 18, 0.05);
}

.admin-metric {
  padding: 1.2rem 1.25rem;
}

.admin-metric span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-metric strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1;
}

.admin-status-banner {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background: rgba(8, 0, 111, 0.08);
  color: var(--navy);
  font-weight: 700;
}

.admin-status-banner.is-success {
  background: rgba(47, 127, 99, 0.12);
  color: var(--green);
}

.admin-status-banner.is-warning {
  background: rgba(244, 196, 48, 0.22);
  color: var(--coal);
}

.admin-status-banner.is-error {
  background: rgba(198, 32, 47, 0.12);
  color: var(--red);
}

.admin-panel {
  padding: 1.25rem;
}

.admin-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 0.85rem 0.7rem;
  border-bottom: 1px solid var(--steel);
  vertical-align: top;
  text-align: left;
}

.admin-table th {
  color: var(--navy);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.admin-table td {
  color: var(--muted);
}

.admin-detail-cell {
  max-width: 320px;
  white-space: normal;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-badge.subscribed,
.admin-badge.sent {
  background: rgba(47, 127, 99, 0.12);
  color: var(--green);
}

.admin-badge.unsubscribed,
.admin-badge.failed {
  background: rgba(198, 32, 47, 0.12);
  color: var(--red);
}

.admin-badge.not_subscribed,
.admin-badge.draft,
.admin-badge.sending,
.admin-badge.partially_sent {
  background: rgba(8, 0, 111, 0.08);
  color: var(--navy);
}

.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-action-button {
  min-height: 36px;
  padding: 0.55rem 0.75rem;
}

.admin-campaign-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 1.2rem;
}

.admin-campaign-form {
  display: grid;
  gap: 1rem;
}

.admin-codearea {
  min-height: 220px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

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

.admin-campaign-item {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  background: var(--concrete);
}

.admin-campaign-item p {
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.admin-login-shell {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--steel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.admin-login-logo {
  width: 190px;
  max-width: 100%;
  margin-bottom: 1.25rem;
}

.admin-login-form {
  max-width: 480px;
}

@media (max-width: 980px) {
  .top-bar .container {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.55rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 1rem 20px 1.4rem;
    background: var(--white);
    border-bottom: 1px solid var(--steel);
    box-shadow: var(--shadow);
  }

  body.menu-open .primary-nav {
    display: block;
  }

  .nav-list {
    display: grid;
    gap: 0.25rem;
  }

  .nav-list a {
    width: 100%;
  }

  .nav-cta {
    margin-top: 0.8rem;
    width: 100%;
  }

  .hero {
    min-height: 540px;
  }

  h1,
  .page-title {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  .grid.three,
  .grid.four,
  .grid.two,
  .admin-metric-grid,
  .admin-campaign-layout,
  .brand-strip,
  .project-showcase,
  .split,
  .split.reverse,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    display: grid;
    align-items: start;
  }

  .cta-band .container {
    display: grid;
  }
}

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

  .brand img {
    width: 142px;
  }

  .nav-wrap {
    min-height: 68px;
  }

  .primary-nav {
    top: 100%;
  }

  .top-links {
    gap: 0.6rem;
  }

  .hero {
    min-height: 480px;
  }

  .hero.compact {
    min-height: 360px;
  }

  .hero-content {
    padding: 2.5rem 0;
  }

  h1,
  .page-title {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .lead {
    font-size: 1.08rem;
  }

  .hero-proof,
  .form-grid,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    display: flex;
    gap: 1px;
    overflow-x: auto;
    margin-top: 1.4rem;
  }

  .proof-item {
    min-width: 210px;
    min-height: 76px;
    padding: 0.75rem;
  }

  .button,
  .hero-actions .button,
  .section-actions .button,
  .announcement-actions .button {
    width: 100%;
  }

  .section {
    padding: 3.6rem 0;
  }

  .contact-form,
  .feature-panel,
  .announcement-panel {
    padding: 1.2rem;
  }

  .project-gallery {
    grid-auto-rows: 88px;
  }

  .project-summary {
    padding: 1.2rem;
  }

  .footer-grid {
    padding: 2.2rem 0;
  }
}
