:root {
  --ink: #071314;
  --ink-2: #102326;
  --paper: #f6f3ec;
  --paper-2: #e9efe9;
  --white: #ffffff;
  --muted: #61706e;
  --soft: #dbe3df;
  --line: rgba(7, 19, 20, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --teal: #0fb8a6;
  --teal-2: #087d73;
  --amber: #d7a84f;
  --coral: #d96b5f;
  --shadow: 0 22px 70px rgba(7, 19, 20, 0.18);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(246, 243, 236, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 15px;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  color: #33413f;
  font-size: 14px;
  font-weight: 800;
}

.nav a:hover {
  color: var(--teal-2);
}

.hero {
  position: relative;
  min-height: 96vh;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-corestack.png");
  background-position: center right;
  background-size: cover;
  filter: saturate(0.9) contrast(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 19, 20, 0.98) 0%, rgba(7, 19, 20, 0.88) 42%, rgba(7, 19, 20, 0.38) 76%),
    linear-gradient(0deg, rgba(7, 19, 20, 1) 0%, rgba(7, 19, 20, 0.04) 42%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(28px, 5vw, 74px);
  align-items: end;
  min-height: 96vh;
  padding: 148px clamp(20px, 5vw, 72px) 76px;
}

.hero-copy {
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
blockquote {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(48px, 7vw, 98px);
  line-height: 0.94;
  font-weight: 900;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 62px);
  line-height: 1.03;
  font-weight: 900;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

.lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: #d9e7e4;
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--teal);
  color: #031312;
}

.button-primary:hover {
  background: #2de0cb;
}

.button-ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
}

.hero-panel {
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.panel-topline,
.metric-row,
.panel-note {
  padding: 18px 20px;
}

.panel-topline {
  border-bottom: 1px solid var(--line-dark);
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.metric-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line-dark);
}

.metric-row span {
  color: #a9bab7;
  font-size: 13px;
  font-weight: 800;
}

.metric-row strong {
  font-size: 15px;
}

.panel-note {
  color: #d9e7e4;
  font-size: 14px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-right: 1px solid var(--line);
  color: #31413f;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.section {
  padding: 94px clamp(20px, 5vw, 72px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  background: var(--paper);
}

.section-kicker {
  max-width: 780px;
}

.body-copy {
  color: #455552;
  font-size: 18px;
}

.body-copy p {
  margin: 0 0 20px;
}

.case-section,
.capability-section {
  background: var(--white);
}

.case-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

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

.case-card,
.process-step,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.case-card {
  min-height: 380px;
  padding: 28px;
}

.case-type {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.case-card ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.case-card li {
  position: relative;
  padding: 9px 0 9px 22px;
  border-top: 1px solid var(--line);
  color: #33413f;
  font-weight: 700;
}

.case-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--teal);
}

.services-section,
.process-section,
.quote-section {
  background: var(--ink);
  color: var(--white);
}

.service-list {
  margin-top: 42px;
  border-top: 1px solid var(--line-dark);
}

.service-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-dark);
}

.service-row span {
  color: var(--amber);
  font-weight: 900;
}

.service-row p,
.process-step p,
.quote-panel blockquote,
.contact-section p {
  color: #c7d8d5;
}

.service-row p {
  max-width: 850px;
  margin: 12px 0 0;
  font-size: 17px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.process-step {
  min-height: 300px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-dark);
  box-shadow: none;
}

.process-step strong {
  display: block;
  margin-bottom: 48px;
  color: var(--amber);
}

.process-step p {
  margin: 14px 0 0;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 42px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.capability-grid div {
  min-height: 190px;
  padding: 28px;
  background: var(--white);
}

.capability-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.quote-panel {
  max-width: 1060px;
}

.quote-panel blockquote {
  margin: 0;
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1.04;
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
  background: var(--ink-2);
  color: var(--white);
}

.contact-section p {
  max-width: 760px;
  font-size: 18px;
}

.contact-card {
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-dark);
  box-shadow: none;
}

.contact-line {
  display: block;
  padding: 18px;
  border-bottom: 1px solid var(--line-dark);
}

.contact-line span {
  display: block;
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-line strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.contact-button {
  width: 100%;
  margin-top: 12px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(20px, 5vw, 72px);
  background: #061011;
  color: var(--white);
}

.footer strong,
.footer span {
  display: block;
}

.footer span {
  margin-top: 4px;
  color: #a9bab7;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
  color: #c7d8d5;
  font-size: 14px;
  font-weight: 800;
}

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

  .hero-panel,
  .contact-card {
    max-width: 620px;
  }

  .case-grid,
  .capability-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

@media (max-width: 740px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-inner {
    padding: 184px 20px 58px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 19, 20, 0.98), rgba(7, 19, 20, 0.74)),
      linear-gradient(0deg, rgba(7, 19, 20, 1), rgba(7, 19, 20, 0.08));
  }

  .section {
    padding: 68px 20px;
  }

  .trust-strip,
  .case-grid,
  .process-grid,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .case-card,
  .process-step,
  .capability-grid div {
    min-height: auto;
  }

  .case-type,
  .process-step strong {
    margin-bottom: 28px;
  }

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

  .footer-links {
    flex-wrap: wrap;
  }
}
