/* Grid Data Systems: site styles
   Warm, light, editorial palette. No dark sections, blue used sparingly.
   Base: cream paper + ink text. Accent: Signal Amber, with muted dusty-blue,
   clay, and sage as supporting tones for icon badges and small details.
*/

:root {
  --paper: #faf7f1;
  --paper-dim: #f2ece0;
  --white: #ffffff;
  --ink: #201d17;
  --ink-soft: #58524a;
  --muted: #837c70;
  --line: #e7dfd0;

  --amber: #e08a2b;
  --amber-ink: #a35d17;
  --amber-soft: #f7e6cc;

  --blue: #4d7691;
  --blue-soft: #e3ebee;

  --clay: #c1633b;
  --clay-soft: #f4e1d6;

  --sage: #74805f;
  --sage-soft: #e8ecdd;

  --max: 1180px;
  --radius: 20px;
  --shadow: 0 24px 50px -30px rgba(32, 29, 23, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: "Chivo", "Inter", sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}

h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-ink);
}

.module-rule {
  display: inline-flex;
  gap: 6px;
  margin-top: 18px;
}
.module-rule span {
  width: 20px;
  height: 9px;
  border-radius: 2px;
  display: block;
}
.module-rule span:nth-child(1) { background: var(--amber); }
.module-rule span:nth-child(2) { background: var(--clay); }
.module-rule span:nth-child(3) { background: var(--blue); }
.module-rule span:nth-child(4) { background: var(--sage); }

.lede {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 62ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--amber);
  color: #fff;
}
.btn-primary:hover { box-shadow: 0 12px 26px -10px rgba(224, 138, 43, 0.55); background: var(--amber-ink); }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 721px) {
  .site-header { backdrop-filter: saturate(160%) blur(10px); }
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand img { height: 30px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a:not(.btn) {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
}
.main-nav a:not(.btn):hover { color: var(--amber-ink); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--paper);
  overflow: hidden;
  padding: 100px 0 90px;
}

.hero .wrap { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin: 18px 0 22px;
}

.hero h1 .accent { color: var(--amber-ink); }

.hero .lede { max-width: 54ch; }

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

.hero-panel {
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-panel h4 {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-panel ul { list-style: none; margin: 0; padding: 0; }

.hero-panel li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.hero-panel li:first-of-type { border-top: none; }

.hero-panel li .ico {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.hero-panel li .ico svg { width: 14px; height: 14px; }

.hero-panel li:nth-child(1) .ico { background: var(--amber-soft); }
.hero-panel li:nth-child(1) .ico svg { stroke: var(--amber-ink); }
.hero-panel li:nth-child(2) .ico { background: var(--blue-soft); }
.hero-panel li:nth-child(2) .ico svg { stroke: var(--blue); }
.hero-panel li:nth-child(3) .ico { background: var(--clay-soft); }
.hero-panel li:nth-child(3) .ico svg { stroke: var(--clay); }
.hero-panel li:nth-child(4) .ico { background: var(--sage-soft); }
.hero-panel li:nth-child(4) .ico svg { stroke: var(--sage); }
.hero-panel li:nth-child(5) .ico { background: var(--amber-soft); }
.hero-panel li:nth-child(5) .ico svg { stroke: var(--amber-ink); }

/* ---------- Industry strip ---------- */

.industry-strip {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.industry-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 40px;
}

.industry-strip .label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.industry-strip .items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  font-family: "Chivo", sans-serif;
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--ink);
}

.industry-strip .items span {
  position: relative;
  padding-left: 16px;
}
.industry-strip .items span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--amber);
}
.industry-strip .items span:nth-child(2)::before { background: var(--blue); }
.industry-strip .items span:nth-child(3)::before { background: var(--clay); }
.industry-strip .items span:nth-child(4)::before { background: var(--sage); }

/* ---------- Section shell ---------- */

section { padding: 92px 0; }

.section-head {
  max-width: 700px;
  margin: 0 auto 50px;
  text-align: center;
}
.section-head .module-rule { justify-content: center; }
.section-head h2 { margin-top: 14px; }
.section-head .lede { margin: 16px auto 0; }

/* ---------- Foundation ---------- */

.foundation { background: var(--paper); }

.foundation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.foundation-copy .lede { max-width: 46ch; }

.pillars {
  display: grid;
  gap: 20px;
}

.pillar {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.pillar .icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar .icon svg { width: 22px; height: 22px; }

.pillar:nth-child(1) .icon { background: var(--amber-soft); }
.pillar:nth-child(1) .icon svg { stroke: var(--amber-ink); }
.pillar:nth-child(2) .icon { background: var(--blue-soft); }
.pillar:nth-child(2) .icon svg { stroke: var(--blue); }
.pillar:nth-child(3) .icon { background: var(--clay-soft); }
.pillar:nth-child(3) .icon svg { stroke: var(--clay); }

.pillar .head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.pillar .num {
  font-family: "Chivo", sans-serif;
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--muted);
}

.pillar h3 { margin-bottom: 0; }
.pillar p { margin: 0; color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Industries ---------- */

.industries { background: var(--paper-dim); }

.industry-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--line);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.industry-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.industry-card .icon svg { width: 22px; height: 22px; }

.industry-card:nth-child(1) .icon { background: var(--amber-soft); }
.industry-card:nth-child(1) .icon svg { stroke: var(--amber-ink); }
.industry-card:nth-child(2) .icon { background: var(--blue-soft); }
.industry-card:nth-child(2) .icon svg { stroke: var(--blue); }
.industry-card:nth-child(3) .icon { background: var(--clay-soft); }
.industry-card:nth-child(3) .icon svg { stroke: var(--clay); }
.industry-card:nth-child(4) .icon { background: var(--sage-soft); }
.industry-card:nth-child(4) .icon svg { stroke: var(--sage); }

.industry-card h3 { margin-bottom: 10px; }
.industry-card p { margin: 0; color: var(--ink-soft); font-size: 0.93rem; }

/* ---------- Services ---------- */

.services { background: var(--paper); }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.service-card .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card .icon svg { width: 20px; height: 20px; }

.service-card:nth-child(1) .icon { background: var(--amber-soft); }
.service-card:nth-child(1) .icon svg { stroke: var(--amber-ink); }
.service-card:nth-child(2) .icon { background: var(--blue-soft); }
.service-card:nth-child(2) .icon svg { stroke: var(--blue); }
.service-card:nth-child(3) .icon { background: var(--clay-soft); }
.service-card:nth-child(3) .icon svg { stroke: var(--clay); }
.service-card:nth-child(4) .icon { background: var(--sage-soft); }
.service-card:nth-child(4) .icon svg { stroke: var(--sage); }
.service-card:nth-child(5) .icon { background: var(--amber-soft); }
.service-card:nth-child(5) .icon svg { stroke: var(--amber-ink); }
.service-card:nth-child(6) .icon { background: var(--blue-soft); }
.service-card:nth-child(6) .icon svg { stroke: var(--blue); }

.service-card .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.service-card h3 { color: var(--ink); }
.service-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Approach ---------- */

.approach { background: var(--paper-dim); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  padding: 0 18px;
  text-align: left;
}

.step .step-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Chivo", sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.step:nth-child(1) .step-num { background: var(--amber); }
.step:nth-child(2) .step-num { background: var(--clay); }
.step:nth-child(3) .step-num { background: var(--blue); }
.step:nth-child(4) .step-num { background: var(--sage); }

.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--amber-soft);
  position: relative;
  overflow: hidden;
}

.cta-band .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band h2 { max-width: 620px; }
.cta-band .lede { color: var(--ink-soft); }

.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--paper-dim);
  color: var(--ink-soft);
  padding: 60px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand img { height: 28px; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; font-size: 0.9rem; color: var(--muted); }

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { font-size: 0.92rem; color: var(--ink-soft); }
.footer-col a:hover { color: var(--amber-ink); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .foundation-grid { grid-template-columns: 1fr; gap: 40px; }
  .industry-cards { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; inset: 78px 0 0 0; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 30px 28px; gap: 24px; transform: translateX(100%); transition: transform 0.25s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .nav-cta { margin-left: 0; }
  .industry-cards { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  section { padding: 64px 0; }
  .hero { padding: 76px 0 60px; }
}
