:root {
  --ink: #121820;
  --muted: #5d6978;
  --soft: #f5f7f9;
  --line: #dce3ea;
  --white: #ffffff;
  --deep: #071722;
  --navy: #085080;
  --navy-dark: #063d61;
  --orange: #f06820;
  --orange-dark: #c94c12;
  --shadow: 0 24px 60px rgba(7, 23, 34, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

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

p {
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 1.25rem;
  color: var(--white);
  font-size: 4rem;
  font-weight: 800;
}

h2 {
  max-width: 820px;
  margin-bottom: 1rem;
  font-size: 2.35rem;
  font-weight: 800;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.18rem;
  font-weight: 800;
}

ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  min-width: 150px;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 150px;
  height: 72px;
  place-items: center;
  background: var(--white);
}

.brand-mark img {
  width: 138px;
}

.brand-name {
  display: none;
}

.brand-name strong {
  font-size: 1.05rem;
}

.brand-name span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem 1.1rem;
}

.primary-nav a {
  padding: 0.4rem 0;
  color: var(--navy-dark);
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--orange);
  outline: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(240, 104, 32, 0.22) 0 8px, transparent 8px),
    linear-gradient(135deg, var(--deep) 0%, #102838 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 10px;
  background: var(--orange);
  content: "";
}

.hero-grid {
  display: grid;
  min-height: 640px;
  align-items: center;
  gap: 3rem;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  padding: 5rem 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.84);
}

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

.eyebrow,
.section-label {
  margin-bottom: 0.8rem;
  color: var(--orange);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  background: var(--orange);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--orange-dark);
  outline: none;
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.hero-panel {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: center;
  padding: 2.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 8px solid var(--orange);
  box-shadow: var(--shadow);
}

.hero-logo {
  width: 245px;
  margin-bottom: 1.7rem;
}

.hero-panel p {
  max-width: 420px;
  color: var(--navy-dark);
  font-size: 1.35rem;
  font-weight: 800;
}

.hero-panel ul {
  color: var(--ink);
  font-weight: 700;
}

.intro-section {
  padding: 5rem 0;
}

.intro-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.intro-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.proof-band {
  padding: 4.5rem 0;
  background: var(--navy);
  color: var(--white);
}

.proof-content {
  display: grid;
  align-items: start;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
}

.proof-heading h2 {
  color: var(--white);
  font-size: 2rem;
}

.proof-heading p:not(.section-label) {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.76);
}

.proof-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, 1fr);
}

.proof-grid div {
  min-height: 174px;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  margin-bottom: 0.25rem;
  color: var(--orange);
  font-size: 1.45rem;
  line-height: 1.1;
}

.proof-grid span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

.section {
  padding: 5rem 0;
}

#situations,
#services,
#work,
#team,
#contact {
  scroll-margin-top: 96px;
}

.section-light {
  background: var(--soft);
}

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

.section-heading-wide {
  max-width: 900px;
}

.situation-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, 1fr);
}

.situation-item,
.service-card,
.case-card,
.person-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.situation-item {
  min-height: 250px;
  padding: 1.35rem;
  border-top: 4px solid var(--orange);
}

.situation-item p,
.service-card p,
.case-card p,
.person-card p {
  color: var(--muted);
}

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

.service-card {
  position: relative;
  min-height: 480px;
  padding: 1.55rem;
  border-radius: 8px;
}

.service-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--orange);
  content: "";
}

.service-card ul {
  color: var(--ink);
}

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

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.dark-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.why-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.why-list article {
  min-height: 150px;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--orange);
  background: rgba(255, 255, 255, 0.05);
}

.why-list p {
  color: rgba(255, 255, 255, 0.74);
}

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

.case-card {
  min-height: 310px;
  padding: 1.55rem;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(7, 23, 34, 0.05);
}

.case-card h3 {
  color: var(--navy-dark);
}

.team-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}

.person-card {
  min-height: 360px;
  padding: 1.5rem;
  border-radius: 8px;
}

.person-card-lead {
  grid-column: span 2;
}

.role {
  margin-bottom: 1rem;
  color: var(--navy) !important;
  font-weight: 800;
}

.contact-section {
  padding: 5rem 0;
  background:
    linear-gradient(90deg, rgba(240, 104, 32, 0.18) 0 8px, transparent 8px),
    var(--navy-dark);
  color: var(--white);
}

.contact-panel {
  display: grid;
  align-items: center;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
}

.contact-panel h2 {
  color: var(--white);
}

.contact-panel p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-details {
  display: grid;
  gap: 0.65rem;
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-style: normal;
}

.contact-details strong {
  color: var(--orange);
}

.contact-details a {
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--orange);
  outline: none;
}

@media (max-width: 1060px) {
  h1 {
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    background: var(--deep);
  }

  .hero-grid,
  .intro-grid,
  .proof-content,
  .dark-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 4rem 0;
  }

  .hero-panel {
    min-height: auto;
  }

  .situation-grid,
  .service-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .site-header {
    position: static;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero-lede,
  .intro-copy {
    font-size: 1rem;
  }

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

  .hero-panel {
    padding: 1.4rem;
  }

  .section,
  .intro-section,
  .contact-section {
    padding: 3.5rem 0;
  }

  .situation-grid,
  .service-grid,
  .proof-grid,
  .why-list,
  .case-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid div,
  .proof-grid div:last-child {
    min-height: auto;
  }

  .service-card,
  .situation-item,
  .case-card,
  .person-card {
    min-height: auto;
  }

  #situations,
  #services,
  #work,
  #team,
  #contact {
    scroll-margin-top: 20px;
  }

  .person-card-lead {
    grid-column: auto;
  }
}
