:root {
  --ink: #13201f;
  --muted: #51615e;
  --line: #dce6e1;
  --paper: #fbfcf8;
  --mist: #eef5f0;
  --teal: #08766f;
  --teal-dark: #064f4a;
  --gold: #d99f22;
  --coral: #d85c4a;
  --violet: #5b5ca8;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(17, 39, 37, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 252, 248, 0.92);
  border-bottom: 1px solid rgba(220, 230, 225, 0.7);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 226px;
}

.brand-logo {
  display: block;
  width: clamp(210px, 19vw, 270px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a {
  padding: 10px 0;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: clamp(42px, 6vw, 82px) clamp(18px, 4vw, 56px) clamp(30px, 5vw, 60px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(216, 92, 74, 0.12), transparent 26%),
    linear-gradient(135deg, #fbfcf8 0%, #eef5f0 58%, #f6efe2 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 26px;
  background: var(--paper);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.4rem, 7.8vw, 7.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

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

h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.25;
}

p {
  line-height: 1.65;
}

.hero-copy {
  max-width: 700px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
}

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

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

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

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

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

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 520px;
}

.automation-map {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(44vw, 540px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    conic-gradient(from 80deg, rgba(8, 118, 111, 0.22), rgba(217, 159, 34, 0.22), rgba(91, 92, 168, 0.2), rgba(216, 92, 74, 0.22), rgba(8, 118, 111, 0.22));
  box-shadow: var(--shadow);
}

.automation-map::before,
.automation-map::after {
  content: "";
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(19, 32, 31, 0.16);
  border-radius: 50%;
}

.automation-map::after {
  inset: 29%;
  border-style: dashed;
}

.node {
  position: absolute;
  display: inline-grid;
  place-items: center;
  min-width: 96px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(220, 230, 225, 0.88);
  box-shadow: 0 12px 34px rgba(17, 39, 37, 0.13);
  font-weight: 800;
}

.n1 {
  top: 9%;
  left: 50%;
  transform: translateX(-50%);
}

.n2 {
  top: 43%;
  right: -2%;
  color: var(--violet);
}

.n3 {
  bottom: 9%;
  left: 50%;
  transform: translateX(-50%);
  color: var(--teal);
}

.n4 {
  top: 43%;
  left: -2%;
  color: var(--coral);
}

.center {
  inset: 50% auto auto 50%;
  min-width: 132px;
  min-height: 58px;
  transform: translate(-50%, -50%);
  background: var(--ink);
  color: var(--white);
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 4vw, 56px);
  border: 1px solid var(--line);
  background: var(--line);
}

.proof-band div {
  display: grid;
  gap: 7px;
  min-height: 118px;
  padding: 24px;
  background: var(--white);
}

.proof-band strong {
  font-size: 1.45rem;
}

.proof-band span {
  color: var(--muted);
}

.section,
.split-section,
.contact-section {
  padding: clamp(64px, 9vw, 122px) clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.service-card,
.industry-grid article,
.capability-list div {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card p,
.industry-grid p,
.capability-list p,
.timeline p,
.platform-copy p,
.contact-section p {
  color: var(--muted);
}

.contact-email {
  display: inline-flex;
  margin-top: 12px;
  color: var(--teal-dark);
  font-size: 1.08rem;
  font-weight: 850;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 8px;
  background: var(--mist);
  color: var(--teal-dark);
  font-weight: 900;
  font-size: 0.8rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
  background: var(--ink);
  color: var(--white);
}

.platform-copy {
  position: sticky;
  top: 104px;
}

.platform-copy p {
  font-size: 1.08rem;
}

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

.capability-list div {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.capability-list p {
  color: rgba(255, 255, 255, 0.72);
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: #f3c865;
  font-weight: 800;
}

.muted {
  background: var(--mist);
}

.industry-grid article {
  min-height: 202px;
}

.approach {
  background: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.timeline div {
  min-height: 240px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 0.65fr);
  gap: clamp(26px, 6vw, 74px);
  background: linear-gradient(135deg, #f7efe2 0%, #fbfcf8 48%, #eaf3f1 100%);
}

.contact-form {
  display: grid;
  gap: 16px;
  align-self: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(17, 39, 37, 0.1);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.74);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #f3c865;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

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

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 12vw, 5.8rem);
  }

  .hero-visual {
    order: -1;
    min-height: 360px;
  }

  .automation-map {
    width: min(80vw, 420px);
  }

  .proof-band,
  .service-grid,
  .industry-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-copy {
    position: static;
  }
}

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 71px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 10px;
  }

  .brand {
    min-width: 184px;
  }

  .brand-logo {
    width: 184px;
  }

  .proof-band,
  .service-grid,
  .industry-grid,
  .capability-list,
  .timeline {
    grid-template-columns: 1fr;
  }

  .proof-band {
    margin-inline: 18px;
  }

  .service-card,
  .industry-grid article,
  .timeline div {
    min-height: auto;
  }

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

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-visual {
    min-height: 310px;
  }

  .node {
    min-width: 76px;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .center {
    min-width: 104px;
  }
}
