:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #646464;
  --line: #deded8;
  --panel: #f5f4ef;
  --gold: #a8873f;
  --dark: #070707;
  --white: #ffffff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 14px max(28px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--dark);
  font-size: 20px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

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

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 23px;
  color: #2e2e2e;
  font-size: 14px;
}

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

.nav-cta,
.button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--dark);
  font-weight: 800;
  cursor: pointer;
}

.nav-cta,
.button.primary,
.contact-form button {
  color: var(--white);
  background: var(--dark);
}

.button.secondary {
  color: var(--dark);
  background: rgba(255, 255, 255, 0.86);
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--dark);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.93) 0%, rgba(0, 0, 0, 0.72) 43%, rgba(0, 0, 0, 0.16) 78%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.03));
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 142px 0 80px;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(44px, 6.2vw, 78px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 21px;
  line-height: 1.62;
}

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

.statement {
  background: var(--dark);
}

.statement p {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 27px 0;
  color: var(--white);
  font-size: 19px;
  line-height: 1.55;
}

.section {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  padding: 88px 0;
}

.section.muted {
  width: 100%;
  max-width: none;
  padding-right: max(28px, calc((100vw - var(--max)) / 2));
  padding-left: max(28px, calc((100vw - var(--max)) / 2));
  background: var(--panel);
}

.section-head {
  max-width: 820px;
  margin-bottom: 38px;
}

.section h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.25;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.intro-layout,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 64px;
}

.intro-copy p,
.contact-copy p {
  margin-top: 0;
  font-size: 18px;
}

.focus-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.focus-list div {
  padding: 22px;
  background: var(--panel);
}

.focus-list strong,
.focus-list span {
  display: block;
}

.focus-list span {
  margin-top: 8px;
  color: var(--muted);
}

.solution-grid,
.business-list,
.proof-metrics,
.work-grid {
  display: grid;
  gap: 18px;
}

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

.business-list,
.proof-metrics,
.work-grid {
  grid-template-columns: repeat(3, 1fr);
}

.solution-grid article,
.business-list article,
.work-grid div,
.contact-cards div {
  border: 1px solid var(--line);
  background: var(--white);
}

.solution-grid article {
  min-height: 305px;
  padding: 26px;
}

.solution-grid span {
  display: inline-grid;
  width: 42px;
  height: 34px;
  place-items: center;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--dark);
  font-size: 13px;
  font-weight: 900;
}

.solution-grid article:nth-child(2n) span {
  background: var(--gold);
}

.system-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.system-flow div {
  min-height: 235px;
  padding: 24px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.system-flow span {
  color: var(--gold);
  font-weight: 900;
}

.system-flow strong {
  display: block;
  margin-top: 18px;
  font-size: 25px;
}

.business-list article {
  min-height: 245px;
  padding: 26px;
}

.business-list article:nth-child(1),
.business-list article:nth-child(4) {
  color: var(--white);
  background: var(--dark);
}

.business-list article:nth-child(1) p,
.business-list article:nth-child(4) p,
.business-list article:nth-child(1) h3,
.business-list article:nth-child(4) h3 {
  color: var(--white);
}

.proof-section {
  border-top: 1px solid var(--line);
}

.proof-metrics {
  margin-bottom: 28px;
}

.proof-metrics div {
  min-height: 128px;
  padding: 24px;
  color: var(--white);
  background: var(--dark);
}

.proof-metrics div:nth-child(2n) {
  background: #272727;
}

.proof-metrics strong {
  display: block;
  font-size: 32px;
}

.proof-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
}

.proof-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.proof-images figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
}

.proof-images img {
  display: block;
  width: 100%;
  height: auto;
}

.proof-images figcaption {
  padding: 18px 20px;
  color: var(--muted);
  font-size: 14px;
}

.work-grid div {
  min-height: 255px;
  padding: 26px;
}

.work-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--gold);
  line-height: 1.5;
}

.contact-copy p {
  max-width: 640px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.contact-cards div {
  padding: 18px;
}

.contact-cards strong,
.contact-cards span {
  display: block;
}

.contact-cards span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #303030;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
}

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

.contact-form p {
  margin: 0;
  font-size: 13px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px max(28px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--dark);
}

.footer span {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1060px) {
  .nav {
    display: none;
  }

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

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

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

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    padding-inline: 18px;
  }

  .brand {
    min-width: 0;
  }

  .brand small,
  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content,
  .section,
  .statement p {
    width: calc(100% - 36px);
  }

  .hero-content {
    padding-top: 104px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section,
  .section.muted {
    padding: 62px 18px;
  }

  .section.muted {
    width: 100%;
  }

  .solution-grid,
  .system-flow,
  .business-list,
  .proof-metrics,
  .proof-images,
  .work-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .footer {
    display: grid;
    padding: 26px 18px;
  }
}
