:root {
  --diamond-red: #c72022;
  --tech-graphite: #232c36;
  --deep-ink: #0d1218;
  --porcelain-white: #faf9f6;
  --signal-gold: #d6b15a;
  --steel-mist: #e7eaed;
  --slate: #586270;
  --white: #ffffff;
  --line: rgba(35, 44, 54, 0.12);
  --soft-shadow: 0 18px 42px rgba(13, 18, 24, 0.08);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 24px;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--tech-graphite);
  background:
    linear-gradient(90deg, rgba(35, 44, 54, 0.026) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, #fffefb, var(--porcelain-white) 42%, #f5f6f6);
}

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

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

.site-header,
.hero,
.section,
.proof-strip,
.site-footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  padding: 6px 8px;
  border: 1px solid rgba(35, 44, 54, 0.08);
  border-radius: 8px;
  background: var(--white);
}

.brand img {
  width: 218px;
}

.site-nav {
  display: flex;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 6px;
  color: var(--slate);
  font-size: 0.94rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: var(--tech-graphite);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  gap: 28px;
  align-items: stretch;
  min-height: 450px;
  padding: 28px 34px;
  border: 1px solid rgba(250, 249, 246, 0.16);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(199, 32, 34, 0.16), transparent 32%),
    linear-gradient(180deg, #17202a, var(--deep-ink));
  box-shadow: 0 24px 54px rgba(13, 18, 24, 0.18);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--diamond-red), var(--signal-gold), transparent);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--diamond-red);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero .eyebrow,
.approach .eyebrow {
  color: var(--signal-gold);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  line-height: 1.05;
}

h1 {
  max-width: 13ch;
  color: var(--white);
  font-size: 3.22rem;
}

h2 {
  max-width: 14ch;
  color: var(--tech-graphite);
  font-size: 2.65rem;
}

h3 {
  font-size: 1.14rem;
}

.hero-text {
  max-width: 58ch;
  margin: 18px 0 0;
  color: rgba(250, 249, 246, 0.78);
  font-size: 1.05rem;
  line-height: 1.72;
}

.hero-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
}

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

.button-secondary {
  color: var(--tech-graphite);
  border-color: var(--line);
  background: var(--white);
}

.hero .button-secondary {
  color: var(--white);
  border-color: rgba(250, 249, 246, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

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

.button-full {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
}

.hero-metrics div {
  padding-top: 14px;
  border-top: 1px solid rgba(250, 249, 246, 0.18);
}

.hero-metrics dt {
  color: rgba(214, 177, 90, 0.9);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin: 7px 0 0;
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
}

.signal-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid rgba(250, 249, 246, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    rgba(250, 249, 246, 0.04);
}

.signal-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(250, 249, 246, 0.14);
}

.signal-panel-header span {
  width: 12px;
  height: 12px;
  border: 2px solid var(--diamond-red);
  transform: rotate(45deg);
}

.signal-panel-header p {
  margin: 0;
  color: var(--white);
  font-weight: 700;
}

.signal-panel-header small {
  display: block;
  margin-top: 4px;
  color: rgba(250, 249, 246, 0.58);
  font-size: 0.82rem;
}

.signal-panel-lede {
  margin: 0;
  padding: 18px 20px;
  color: rgba(250, 249, 246, 0.76);
  line-height: 1.7;
}

.signal-panel-body {
  display: grid;
  gap: 1px;
  padding: 0 20px 14px;
}

.signal-panel-body div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  border-bottom: 1px solid rgba(250, 249, 246, 0.12);
}

.signal-panel-body div:last-child {
  border-bottom: 0;
}

.signal-panel-body strong {
  color: var(--signal-gold);
  font-family: "Space Grotesk", sans-serif;
}

.signal-panel-body span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.26rem;
  font-weight: 700;
}

.signal-panel-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: auto 20px 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(250, 249, 246, 0.12);
}

.signal-panel-footer span {
  color: rgba(250, 249, 246, 0.68);
  font-size: 0.94rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.proof-strip p {
  margin: 0;
  padding: 16px;
  border-right: 1px solid var(--line);
  color: var(--slate);
  text-align: center;
  font-weight: 600;
}

.proof-strip p:last-child {
  border-right: 0;
}

.section {
  padding: 82px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 30px;
}

.service-grid,
.approach-layout,
.sector-grid,
.contact-cards {
  display: grid;
  gap: 14px;
}

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

.service-card,
.approach-block,
.sector-card,
.contact-card,
.contact-form,
.values-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.service-card,
.approach-block,
.contact-card {
  position: relative;
  padding: 22px;
}

.service-card::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--diamond-red), transparent);
}

.service-card p,
.approach-block p,
.contact-card p,
.about-copy p,
.contact-copy > p,
.form-intro p,
.contact-note {
  color: var(--slate);
  line-height: 1.72;
}

.service-card p,
.approach-block p,
.contact-card p {
  margin: 12px 0 0;
}

.approach {
  width: 100%;
  max-width: none;
  padding: 82px max(16px, calc((100vw - var(--max-width)) / 2));
  color: var(--white);
  background: var(--tech-graphite);
}

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

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

.approach-block {
  border-color: rgba(250, 249, 246, 0.16);
  background: rgba(250, 249, 246, 0.06);
  box-shadow: none;
}

.approach-block p {
  color: rgba(250, 249, 246, 0.72);
}

.step {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--signal-gold);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

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

.sector-card {
  padding: 20px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 30px;
  align-items: center;
}

.about-copy p {
  margin: 18px 0 0;
  max-width: 62ch;
}

.values-panel {
  padding: 28px;
}

.values-panel > p {
  margin: 0 0 20px;
  color: var(--diamond-red);
  font-weight: 700;
  text-transform: uppercase;
}

.values-panel dl,
.values-panel dd {
  margin: 0;
}

.values-panel div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.values-panel dt {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.values-panel dd {
  margin-top: 6px;
  color: var(--slate);
  line-height: 1.6;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.contact-cards {
  grid-template-columns: 1fr;
  margin: 26px 0 18px;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-details li {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.contact-details a {
  color: var(--diamond-red);
  font-weight: 700;
}

.contact-form {
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 249, 246, 0.94)),
    var(--white);
}

.form-intro p {
  margin: 10px 0 0;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(35, 44, 54, 0.18);
  border-radius: 8px;
  padding: 14px 15px;
  font: inherit;
  color: var(--tech-graphite);
  background: var(--white);
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(199, 32, 34, 0.14);
  border-color: rgba(199, 32, 34, 0.58);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--slate);
}

.site-footer p {
  margin: 0;
  color: var(--tech-graphite);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .hero,
  .about,
  .contact,
  .section-heading {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3.15rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .service-grid,
  .approach-layout,
  .sector-grid,
  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand img {
    width: 184px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .section {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .hero {
    min-height: auto;
    padding: 24px;
  }

  h1 {
    max-width: 12ch;
    font-size: 2.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-metrics,
  .signal-panel {
    display: none;
  }

  .service-grid,
  .approach-layout,
  .sector-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .proof-strip p {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip p:last-child {
    border-bottom: 0;
  }

  .section,
  .approach {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .contact-form,
  .service-card,
  .approach-block,
  .contact-card,
  .values-panel {
    padding: 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
