:root {
  --orange: #f57c00;
  --orange-dark: #c86400;
  --black: #111111;
  --charcoal: #242424;
  --text: #222222;
  --muted: #666666;
  --line: #e5e5e5;
  --soft: #f6f6f4;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 16px clamp(18px, 5vw, 70px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open,
.inner-page .site-header {
  color: var(--black);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: min(260px, 58vw);
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
}

.brand-logo {
  flex: 0 0 auto;
  width: 230px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
}

.site-nav a {
  color: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-cta {
  padding: 10px 14px;
  color: var(--white) !important;
  background: var(--orange);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 130px clamp(20px, 6vw, 86px) 84px;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.62) 44%, rgba(17, 17, 17, 0.18)),
    linear-gradient(0deg, rgba(17, 17, 17, 0.42), rgba(17, 17, 17, 0.06));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 790px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.3rem, 8.5vw, 8.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--black);
  font-size: clamp(2rem, 4.6vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 1.08rem;
}

.hero h1,
.section-dark h2,
.section-dark h3,
.cta-band h2,
.page-hero h1 {
  color: inherit;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.06rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

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

.button-primary:hover {
  background: var(--orange-dark);
}

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

.section {
  padding: clamp(66px, 9vw, 120px) clamp(20px, 6vw, 86px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: clamp(32px, 7vw, 88px);
  align-items: start;
}

.prose p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.section-dark .eyebrow,
.cta-band .eyebrow {
  color: #ffad4d;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 46px;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.content-card,
.insight-card {
  display: block;
  min-height: 250px;
  padding: 26px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(17, 17, 17, 0.06);
}

.section-dark .service-card {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.service-card span,
.content-card span,
.insight-card span {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--orange);
  font-weight: 900;
}

.service-card p,
.content-card p,
.insight-card p {
  margin: 0;
  color: var(--muted);
}

.advantage-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.advantage-list article {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.advantage-list strong {
  color: var(--black);
  font-size: 1.08rem;
}

.advantage-list span {
  color: var(--muted);
}

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

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-cloud span,
.credential-row span {
  padding: 11px 14px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 800;
}

.founder {
  background:
    linear-gradient(90deg, rgba(245, 124, 0, 0.09), rgba(245, 124, 0, 0)),
    var(--white);
}

.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: clamp(54px, 7vw, 86px) clamp(20px, 6vw, 86px);
  color: var(--white);
  background: var(--black);
}

.cta-band h2 {
  max-width: 780px;
}

.page-hero {
  padding: 154px clamp(20px, 6vw, 86px) 70px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.94), rgba(17, 17, 17, 0.76)),
    var(--black);
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.14rem;
}

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

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

.service-list {
  columns: 2;
  column-gap: 44px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.service-list li {
  margin: 0 0 10px;
  break-inside: avoid;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 6vw, 72px);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--black);
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  padding: 13px 12px;
  color: var(--text);
  background: var(--white);
  border: 1px solid #cccccc;
  font: inherit;
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(20px, 6vw, 86px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--black);
}

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

.site-footer strong {
  color: var(--white);
}

.site-footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    padding: 16px 20px 22px;
    color: var(--black);
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: grid;
  }

  .nav-cta {
    width: max-content;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .brand {
    max-width: min(210px, 58vw);
  }

  .brand-logo {
    width: 196px;
    height: 50px;
  }

  .hero {
    min-height: 90vh;
    padding-top: 116px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.58)),
      linear-gradient(0deg, rgba(17, 17, 17, 0.36), rgba(17, 17, 17, 0.04));
  }

  .card-grid.three,
  .values-grid,
  .two-grid {
    grid-template-columns: 1fr;
  }

  .advantage-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-list {
    columns: 1;
  }

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