:root {
  --ink: #101519;
  --charcoal: #1c2227;
  --graphite: #3f464d;
  --steel: #70777e;
  --line: #d8dde1;
  --mist: #f5f6f7;
  --white: #ffffff;
  --accent: #a0a7ae;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.site-header {
  min-height: 84vh;
  display: grid;
  grid-template-rows: auto 1fr;
  background:
    linear-gradient(90deg, rgba(16, 21, 25, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 21, 25, 0.035) 1px, transparent 1px),
    var(--white);
  background-size: 74px 74px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 650;
}

.nav-links a {
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--ink);
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: clamp(34px, 5vw, 70px);
  padding: 46px 0 78px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--steel);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  color: var(--ink);
  font-size: clamp(3rem, 5.4vw, 5.55rem);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.17rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 34px;
  color: var(--graphite);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

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

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

.button.light {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.hero-brand {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(16, 21, 25, 0.12);
  overflow: hidden;
}

.hero-brand::before {
  content: "";
  position: absolute;
  width: clamp(170px, 22vw, 280px);
  aspect-ratio: 1;
  right: clamp(-70px, -4vw, -30px);
  top: clamp(-74px, -5vw, -36px);
  background: var(--ink);
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  opacity: 0.055;
  pointer-events: none;
}

.signal-strip {
  width: min(var(--max), calc(100% - 40px));
  margin: -38px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.signal-strip div {
  padding: 26px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.signal-strip strong {
  display: block;
  font-size: 1rem;
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(84px, 10vw, 132px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.lead-stack p {
  color: var(--graphite);
  font-size: 1.08rem;
}

.lead-stack p:last-child {
  margin-bottom: 0;
}

.work-grid {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.work-card {
  min-height: 284px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.work-card span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--steel);
  font-weight: 850;
  letter-spacing: 0.12em;
}

.work-card p {
  margin-bottom: 0;
  color: var(--graphite);
}

.buyer {
  padding-top: clamp(30px, 5vw, 72px);
}

.engagement-grid {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.engagement-card {
  min-height: 330px;
  padding: 32px;
  background: var(--white);
}

.engagement-card.featured {
  background: var(--ink);
}

.engagement-card span {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--steel);
  font-weight: 850;
  letter-spacing: 0.12em;
}

.engagement-card h3,
.engagement-card p {
  margin-bottom: 0;
}

.engagement-card p {
  margin-top: 14px;
  color: var(--graphite);
}

.engagement-card.featured span {
  color: var(--accent);
}

.engagement-card.featured h3,
.engagement-card.featured p {
  color: var(--white);
}

.engagement-card.featured p {
  color: #d8dde1;
}

.architecture {
  width: 100%;
  max-width: none;
  padding: 0;
  background: var(--ink);
}

.architecture-panel {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  padding: clamp(76px, 9vw, 116px) 0;
  color: var(--white);
}

.architecture-panel h2,
.architecture-panel p {
  color: var(--white);
}

.architecture-panel p {
  margin-bottom: 0;
  color: #d8dde1;
  font-size: 1.08rem;
}

.architecture-mark {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.approach-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.approach-list li {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.approach-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-size: 1.05rem;
}

.approach-list span {
  color: #c4c9ce;
}

.assurance {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
}

.assurance-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.assurance-grid article {
  padding: 26px 28px;
  background: var(--white);
}

.assurance-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 850;
}

.assurance-grid p {
  margin-bottom: 0;
  color: var(--graphite);
}

.avoid {
  padding-top: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
}

.avoid-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.avoid-list li {
  position: relative;
  padding: 22px 0 22px 34px;
  border-bottom: 1px solid var(--line);
  color: var(--graphite);
  font-size: 1.06rem;
}

.avoid-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 30px;
  width: 14px;
  height: 14px;
  background: var(--ink);
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start;
}

.proof p {
  margin-bottom: 0;
  color: var(--graphite);
  font-size: 1.12rem;
}

.proof-stack {
  display: grid;
  gap: 28px;
}

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

.outcome-list article {
  padding: 22px 24px;
  background: var(--mist);
}

.outcome-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.outcome-list span {
  display: block;
  color: var(--graphite);
}

.contact-section {
  padding: clamp(84px, 10vw, 130px) 20px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 82px),
    var(--charcoal);
  color: var(--white);
}

.contact-inner {
  width: min(860px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact-inner h2,
.contact-inner p {
  color: var(--white);
}

.contact-inner p:not(.eyebrow) {
  margin: 20px auto 32px;
  max-width: 700px;
  color: #dce0e3;
  font-size: 1.1rem;
}

.lead-form {
  display: grid;
  gap: 18px;
  max-width: 780px;
  margin: 36px auto 0;
  text-align: left;
}

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

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form span {
  color: #edf0f2;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
  padding: 14px 15px;
  outline: none;
}

.lead-form textarea {
  resize: vertical;
  min-height: 138px;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.website-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 6px;
  text-align: center;
}

.form-actions .button {
  border-radius: 0;
  cursor: pointer;
}

.email-link {
  color: #dce0e3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  font-weight: 700;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(16, 21, 25, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 21, 25, 0.035) 1px, transparent 1px),
    var(--white);
  background-size: 74px 74px;
}

.thanks-shell {
  width: min(760px, 100%);
  text-align: center;
}

.thanks-mark {
  width: 92px;
  height: 92px;
  margin: 0 auto 30px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.thanks-shell h1 {
  margin-left: auto;
  margin-right: auto;
}

.thanks-shell p:not(.eyebrow) {
  max-width: 570px;
  margin: 0 auto 30px;
  color: var(--graphite);
  font-size: 1.12rem;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--steel);
  font-size: 0.92rem;
}

.site-footer img {
  width: min(260px, 48vw);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 960px) {
  .hero,
  .split,
  .proof,
  .assurance,
  .avoid,
  .architecture-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 40px;
  }

  .hero > * {
    width: 100%;
    max-width: 100%;
  }

  .hero-brand {
    max-width: 620px;
  }

  .signal-strip,
  .work-grid,
  .engagement-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

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

  .work-card {
    min-height: 0;
  }

  .work-card span,
  .engagement-card span {
    margin-bottom: 24px;
  }

  .engagement-card {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: auto;
  }

  .nav-shell {
    width: min(var(--max), calc(100% - 28px));
    min-height: 76px;
  }

  .brand-link span {
    display: none;
  }

  .nav-links {
    gap: 16px;
    font-size: 0.84rem;
  }

  .hero,
  .section,
  .signal-strip,
  .architecture-panel,
  .site-footer {
    width: min(var(--max), calc(100% - 48px));
  }

  .hero {
    padding-bottom: 70px;
  }

  h1 {
    font-size: clamp(1.85rem, 8.8vw, 2.8rem);
    line-height: 1.03;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.13em;
  }

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

  .field-grid {
    grid-template-columns: 1fr;
  }

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

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