:root {
  --navy: #071b33;
  --navy-2: #0d2f57;
  --steel: #526173;
  --steel-2: #d9e0e8;
  --surface: #f5f7fa;
  --white: #ffffff;
  --ink: #17202c;
  --muted: #5d6877;
  --gold: #c7942e;
  --red: #a63f32;
  --border: #dce3eb;
  --shadow: 0 20px 44px rgba(7, 27, 51, 0.14);
  --header-height: 94px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(199, 148, 46, 0.78);
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 227, 235, 0.95);
  box-shadow: 0 1px 0 rgba(7, 27, 51, 0.04);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  box-shadow: 0 14px 30px rgba(7, 27, 51, 0.1);
}

.brand {
  display: flex;
  min-width: 292px;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: block;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  overflow: hidden;
  background: #02060a;
  border: 2px solid var(--gold);
  border-radius: 8px;
  box-shadow:
    0 12px 28px rgba(7, 27, 51, 0.22),
    0 0 0 4px rgba(199, 148, 46, 0.12);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.1;
}

.brand-subtitle {
  color: var(--steel);
  font-size: 0.77rem;
  font-weight: 700;
  line-height: 1.3;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 6px;
  color: #233147;
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--navy);
  background: #edf2f7;
}

.site-nav .nav-cta {
  margin-left: 6px;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 10px 18px rgba(166, 63, 50, 0.18);
}

.site-nav .nav-cta:hover {
  color: var(--white);
  background: #8f352a;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
  border-radius: 2px;
}

.hero {
  position: relative;
  display: flex;
  min-height: clamp(560px, calc(100svh - 144px), 680px);
  align-items: flex-start;
  isolation: isolate;
  overflow: hidden;
  scroll-margin-top: var(--header-height);
  background:
    linear-gradient(90deg, rgba(7, 27, 51, 0.95) 0%, rgba(7, 27, 51, 0.83) 42%, rgba(7, 27, 51, 0.34) 72%, rgba(7, 27, 51, 0.18) 100%),
    url("assets/contracting-operations-hero.png") center right / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(7, 27, 51, 0.12));
}

.hero-content {
  padding: 58px 0 72px;
  color: var(--white);
}

.hero-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  padding: 10px 18px 10px 10px;
  color: var(--white);
  background: rgba(2, 6, 10, 0.62);
  border: 1px solid rgba(199, 148, 46, 0.55);
  border-radius: 8px;
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-brand-lockup img {
  display: block;
  width: 88px;
  height: 88px;
  object-fit: cover;
  border: 2px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
}

.hero-brand-lockup span {
  display: grid;
  gap: 4px;
}

.hero-brand-lockup strong {
  font-size: 1.18rem;
  line-height: 1;
}

.hero-brand-lockup span span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 700;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4.25rem;
  line-height: 0.98;
}

.hero-subtitle {
  max-width: 690px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 16px 26px rgba(166, 63, 50, 0.22);
}

.button-primary:hover {
  background: #8f352a;
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.button.is-disabled {
  opacity: 0.66;
  cursor: not-allowed;
  box-shadow: none;
}

.button.is-disabled:hover {
  transform: none;
}

.trust-bar {
  color: var(--white);
  background: var(--navy-2);
  border-top: 4px solid var(--gold);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 24px;
  padding: 22px 0;
}

.trust-grid p {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 800;
}

.section {
  scroll-margin-top: calc(var(--header-height) + 24px);
  padding: 92px 0;
}

.about-section,
.industries-section,
.contact-section {
  background: var(--white);
}

.capabilities-section,
.capability-section {
  background: var(--surface);
}

.two-column,
.why-layout,
.capability-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section h2 {
  margin: 0;
  color: var(--navy);
  font-size: 2.55rem;
  line-height: 1.08;
}

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

.section-copy p:first-child,
.why-layout > div > p,
.capability-layout > div > p {
  margin-top: 0;
}

.section-copy p,
.why-layout > div > p,
.capability-layout > div > p {
  font-size: 1.05rem;
}

.card-grid,
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.competency-card,
.industry-card,
.credential-list div,
.contact-form {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(7, 27, 51, 0.06);
}

.competency-card {
  min-height: 238px;
  padding: 24px;
}

.icon-shell {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--navy);
  background: #eef3f8;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
}

.icon-shell svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.competency-card h3,
.industry-card h3 {
  margin: 20px 0 10px;
  color: var(--navy);
  font-size: 1.08rem;
  line-height: 1.2;
}

.competency-card p,
.industry-card p {
  margin: 0;
  font-size: 0.96rem;
}

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

.industry-card {
  min-height: 178px;
  padding: 24px;
  border-top: 5px solid var(--red);
}

.industry-card:nth-child(2n) {
  border-top-color: var(--gold);
}

.why-section {
  color: var(--white);
  background: var(--navy);
}

.why-section .section-kicker,
.why-section h2,
.why-section p {
  color: var(--white);
}

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

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  min-height: 64px;
  padding: 18px 18px 18px 48px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  top: 20px;
  left: 18px;
  width: 18px;
  height: 18px;
  color: var(--gold);
  content: "✓";
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.capability-layout {
  align-items: center;
}

.capability-layout .button {
  margin-top: 16px;
}

.credential-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.credential-list div {
  min-height: 118px;
  padding: 22px;
  border-left: 5px solid var(--gold);
}

.credential-list dt {
  color: var(--steel);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.credential-list dd {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 900;
}

.contact-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
}

.contact-details {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.contact-details p {
  margin: 0 0 12px;
}

.contact-details a {
  color: var(--navy-2);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(199, 148, 46, 0.65);
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fbfcfe;
  border: 1px solid #cbd5df;
  border-radius: 6px;
}

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

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--navy-2);
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 47, 87, 0.12);
}

.contact-form .button {
  width: fit-content;
  min-width: 150px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #061427;
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0;
}

.footer-brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
  object-fit: cover;
  border: 2px solid var(--gold);
  border-radius: 8px;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.36),
    0 0 0 4px rgba(199, 148, 46, 0.12);
}

.site-footer p {
  margin: 3px 0;
}

.footer-brand {
  color: var(--white);
  font-weight: 900;
}

@media (max-width: 1080px) {
  .site-header {
    padding: 14px 20px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-cta {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
    padding: 0 14px;
  }

  .hero h1 {
    max-width: 680px;
    font-size: 3.65rem;
  }

  .hero-subtitle {
    max-width: 620px;
  }

  .hero-brand-lockup img {
    width: 84px;
    height: 84px;
  }

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

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

  .two-column,
  .why-layout,
  .capability-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 76px;
  }

  .section-shell {
    width: min(100% - 32px, 1180px);
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand-name {
    font-size: 0.94rem;
  }

  .brand-subtitle {
    font-size: 0.68rem;
  }

  .hero-brand-lockup {
    gap: 12px;
    margin-bottom: 22px;
    padding: 10px 14px 10px 10px;
  }

  .hero-brand-lockup img {
    width: 76px;
    height: 76px;
  }

  .hero-brand-lockup strong {
    font-size: 1rem;
  }

  .hero-brand-lockup span span {
    font-size: 0.72rem;
  }

  .hero {
    min-height: 588px;
    background:
      linear-gradient(90deg, rgba(7, 27, 51, 0.96) 0%, rgba(7, 27, 51, 0.88) 62%, rgba(7, 27, 51, 0.66) 100%),
      url("assets/contracting-operations-hero.png") center right / cover no-repeat;
  }

  .hero-overlay {
    background: rgba(7, 27, 51, 0.04);
  }

  .hero-content {
    padding: 62px 0 64px;
  }

  .hero h1 {
    font-size: 3rem;
    line-height: 1.02;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-actions,
  .trust-grid,
  .footer-layout {
    flex-direction: column;
  }

  .hero-actions .button,
  .contact-form .button {
    width: 100%;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section {
    padding: 68px 0;
  }

  .section h2 {
    font-size: 2.1rem;
  }

  .card-grid,
  .industry-grid,
  .check-list,
  .credential-list {
    grid-template-columns: 1fr;
  }

  .competency-card {
    min-height: auto;
  }

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

  .contact-form {
    padding: 22px;
  }

  .footer-layout {
    align-items: flex-start;
  }

  .footer-brand-group {
    align-items: flex-start;
  }
}

@media (max-width: 440px) {
  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-name {
    font-size: 0.86rem;
  }

  .brand-subtitle {
    font-size: 0.6rem;
  }

  .hero-brand-lockup {
    width: 100%;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .button {
    min-height: 50px;
    padding-right: 16px;
    padding-left: 16px;
  }
}
