:root {
  --navy-900: #040914;
  --navy-800: #081428;
  --navy-700: #112043;
  --navy-600: #1a2e5e;
  --navy-500: #243b7a;
  --gold-500: #f1b53c;
  --gold-400: #f6c86a;
  --sand-100: #f7f4eb;
  --bg-light: #eef2ff;
  --white: #ffffff;
  --text-main: #0a1020;
  --text-muted: #475277;
  --max-w: 1240px;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -32px rgba(9, 14, 28, 0.6);
  --accent: linear-gradient(135deg, #f6c86a, #f1b53c);
  --accent-solid: #f1b53c;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  background-color: var(--sand-100);
  color: var(--text-main);
  scroll-behavior: smooth;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(4, 9, 20, 0.85);
  backdrop-filter: blur(16px);
  transform: translateY(0);
  transition: transform 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 16px 40px -28px rgba(4, 8, 18, 0.65);
}

.site-header.hidden {
  transform: translateY(-110%);
}

.site-header.elevated {
  background: rgba(4, 9, 20, 0.95);
  box-shadow: 0 22px 42px -28px rgba(8, 12, 24, 0.75);
}

.nav-wrapper {
  margin: 0 auto;
  max-width: var(--max-w);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(24px, 5vw, 48px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(241, 181, 60, 0.95), rgba(246, 200, 106, 0.95));
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy-900);
}

.brand-name {
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.28em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: color 160ms ease, opacity 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold-400);
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.hero {
  padding: clamp(96px, 12vw, 160px) clamp(24px, 5vw, 48px) 120px;
  margin-top: -96px;
  background: radial-gradient(circle at 15% 25%, rgba(246, 200, 106, 0.24), transparent 58%),
    radial-gradient(circle at 85% -10%, rgba(35, 59, 122, 0.65), transparent 62%),
    linear-gradient(155deg, var(--navy-900), rgba(16, 32, 76, 0.94));
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  justify-content: space-between;
}

.hero-content,
.hero-visual {
  flex: 1 1 50%;
  max-width: 540px;
}

.hero h1 {
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  line-height: 1.05;
  margin: 16px 0 24px;
  color: var(--white);
}

.subtitle {
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  color: rgba(246, 200, 106, 0.78);
  max-width: 520px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, box-shadow 200ms ease, background 200ms ease;
  border: none;
  cursor: pointer;
}

.btn.primary {
  color: var(--navy-900);
  background: var(--accent);
  box-shadow: 0 18px 40px -18px rgba(241, 181, 60, 0.5);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px -18px rgba(241, 181, 60, 0.6);
}

.btn.ghost {
  color: var(--white);
  border: 1px solid rgba(246, 200, 106, 0.45);
  backdrop-filter: blur(4px);
  background: transparent;
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(246, 200, 106, 0.8);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-500);
}

.hero-stats {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.hero-stats dt {
  font-weight: 700;
  color: var(--gold-400);
}

.hero-stats dd {
  margin: 8px 0 0;
  color: rgba(247, 228, 191, 0.75);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 360px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
}

.orb-one {
  width: 320px;
  height: 320px;
  right: -120px;
  top: -60px;
  background: radial-gradient(circle, rgba(246, 200, 106, 0.55), transparent 60%);
}

.orb-two {
  width: 220px;
  height: 220px;
  bottom: 20px;
  left: 20px;
  background: radial-gradient(circle, rgba(35, 59, 122, 0.5), transparent 65%);
}

.card {
  position: absolute;
  inset: auto 0 0 auto;
  width: min(360px, 100%);
  margin-left: auto;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(10, 16, 36, 0.84);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
  color: var(--white);
}

.card h2 {
  margin: 0 0 16px;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 12px;
}

.card li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 500;
}

.card li span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

main {
  flex: 1;
}

.panel {
  padding: clamp(96px, 14vw, 140px) clamp(24px, 5vw, 48px);
}

.panel:nth-of-type(even) {
  background: var(--white);
}

.services {
  background: linear-gradient(160deg, var(--sand-100), #e8edf9 70%, #d8def5);
}

.credentials {
  background: linear-gradient(160deg, #ffffff, var(--sand-100));
}

.panel-heading {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.panel-heading h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 12px;
  color: var(--navy-800);
}

.panel-heading p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0 auto;
}

.approach .panel-heading h2,
.contracting .panel-heading h2,
.insights .panel-heading h2 {
  color: var(--white);
}

.approach .panel-heading p,
.contracting .panel-heading p,
.insights .panel-heading p {
  color: rgba(246, 200, 106, 0.78);
}

.card-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.info-card,
.impact-card,
.credential-card {
  border-radius: var(--radius-md);
  padding: 28px;
  background: var(--white);
  box-shadow: 0 20px 36px -24px rgba(15, 20, 40, 0.22);
  border: 1px solid rgba(31, 57, 120, 0.12);
}

.info-card h3,
.impact-card h3,
.credential-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
  color: var(--navy-700);
}

.info-card ul {
  padding-left: 18px;
  color: var(--text-muted);
  display: grid;
  gap: 8px;
}

.credential-grid {
  align-items: stretch;
}

.credential-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
  color: var(--text-muted);
}

.credential-card li::before {
  content: "•";
  margin-right: 8px;
  color: var(--gold-500);
}

.approach {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.approach::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(241, 181, 60, 0.28), transparent 62%),
    radial-gradient(circle at bottom left, rgba(12, 28, 80, 0.4), transparent 60%);
  opacity: 0.8;
}

.approach > * {
  position: relative;
  z-index: 1;
}

.timeline {
  max-width: 760px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 36px;
}

.timeline li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: center;
}

.step {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(241, 181, 60, 0.18);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--gold-500);
}

.timeline h3 {
  margin: 0 0 12px;
}

.contracting {
  background: linear-gradient(165deg, rgba(6, 16, 38, 0.96), rgba(20, 45, 102, 0.96));
  color: var(--white);
}

.contracting-layout {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}

.contracting-highlight {
  background: rgba(11, 25, 58, 0.86);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 0 28px 50px -34px rgba(3, 9, 28, 0.7);
  border: 1px solid rgba(241, 181, 60, 0.35);
  display: grid;
  gap: 18px;
}

.contracting-highlight ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: rgba(247, 228, 191, 0.9);
}

.contracting-side {
  background: rgba(8, 20, 49, 0.82);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid rgba(241, 181, 60, 0.22);
  display: grid;
  gap: 18px;
}

.contracting-side h3 {
  margin: 0;
}

.contracting-side dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.contracting-side dt {
  font-weight: 600;
  color: rgba(246, 200, 106, 0.92);
}

.contracting-side dd {
  margin: 4px 0 0;
  color: rgba(219, 224, 255, 0.78);
}

.note {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(247, 228, 191, 0.72);
}

.insights {
  background: linear-gradient(190deg, rgba(12, 18, 40, 0.92), rgba(21, 32, 72, 0.95)),
    url('https://images.unsplash.com/photo-1551430992-e666b7ab9208?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: var(--white);
}

.insights .impact-card {
  background: rgba(8, 18, 46, 0.82);
  border: 1px solid rgba(241, 181, 60, 0.18);
}

.insights dl {
  margin: 20px 0 0;
  display: grid;
  gap: 16px;
}

.insights dt {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-400);
}

.insights dd {
  margin: 6px 0 0;
  color: rgba(247, 228, 191, 0.75);
}

.gallery {
  background: linear-gradient(180deg, #f7f4eb, #eef2ff);
}

.gallery-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.gallery figure {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 46px -32px rgba(26, 32, 90, 0.32);
  overflow: hidden;
  display: grid;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery figcaption {
  padding: 20px 22px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.cta {
  background: radial-gradient(circle at 15% 15%, rgba(241, 181, 60, 0.38), transparent 60%),
    linear-gradient(135deg, rgba(8, 20, 49, 0.98), rgba(20, 51, 120, 0.98));
  color: var(--white);
  text-align: center;
}

.cta-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 72px clamp(24px, 5vw, 48px);
  display: grid;
  gap: 16px;
}

.contact {
  background: var(--white);
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.input-group {
  display: grid;
  gap: 8px;
}

.input-group label {
  font-weight: 600;
  color: var(--text-main);
}

.input-group input,
.input-group textarea {
  padding: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(14, 18, 56, 0.16);
  font-size: 1rem;
  font-family: inherit;
  transition: border 160ms ease, box-shadow 160ms ease;
  background: #fefefe;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: rgba(241, 181, 60, 0.6);
  box-shadow: 0 0 0 3px rgba(241, 181, 60, 0.18);
  outline: none;
}

.input-group.wide {
  grid-column: 1 / -1;
}

.contact-form button {
  justify-self: start;
  margin-top: 12px;
}

.site-footer {
  background: var(--navy-900);
  color: rgba(247, 228, 191, 0.82);
  padding: 48px clamp(24px, 5vw, 48px);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 48px;
  justify-content: space-between;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 500;
}

.footer-nav a {
  color: rgba(246, 200, 106, 0.72);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--gold-400);
}

.footer-copy {
  margin: 0;
}

@media (max-width: 880px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions,
  .hero-stats,
  .hero-visual {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 420px;
  }

  .card {
    position: relative;
    margin: 40px auto 0;
  }

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

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 24px;
    background: rgba(4, 9, 20, 0.96);
    border-radius: var(--radius-md);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 160ms ease, transform 160ms ease;
    border: 1px solid rgba(241, 181, 60, 0.2);
    box-shadow: 0 24px 40px -28px rgba(4, 9, 20, 0.75);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

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

  .hero {
    padding-top: 160px;
  }
}

@media (max-width: 560px) {
  .timeline li {
    grid-template-columns: 1fr;
  }

  .step {
    margin-bottom: 12px;
  }

  .cta-inner {
    padding: 60px 24px;
  }

  .gallery img {
    height: 180px;
  }
}
