@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #1A1333;
  --plum: #4A3E7C;
  --plum-soft: #6C5D9E;
  --paper: #FAF8FD;
  --mist: #E7E1F2;
  --signal: #22C7B4;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --display: 'Space Grotesk', var(--body);
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: var(--body); color: var(--ink);
  background: #fff; line-height: 1.62; -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 26px; }
.wide { max-width: 1140px; margin: 0 auto; padding: 0 26px; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

/* ---------- Header ---------- */
header { position: sticky; top: 0; z-index: 50; background: var(--ink); }
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; }
.logo {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  color: #fff; text-decoration: none; letter-spacing: -0.01em;
}
.logo span { color: var(--signal); }
.navlinks { display: flex; gap: 24px; align-items: center; }
.navlinks a {
  font-family: var(--display); font-size: 14.5px; font-weight: 500;
  color: #C3BBD6; text-decoration: none; padding: 6px 0;
  border-bottom: 2px solid transparent; transition: color .18s ease, border-color .18s ease;
}
.navlinks a:hover { color: #fff; }
.navlinks a.active { color: #fff; border-bottom-color: var(--signal); }
.navlinks a.navcta {
  background: var(--signal); color: var(--ink);
  padding: 10px 20px; border-radius: 2px; border-bottom: none;
}
.navlinks a.navcta:hover { background: #3ADDCA; color: var(--ink); }
.burger { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: var(--plum); color: #fff; padding: 88px 0 76px; }
.eyebrow {
  font-family: var(--display); font-size: 12px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--signal); margin: 0 0 18px;
}
h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 4.6vw, 49px); line-height: 1.12;
  letter-spacing: -0.02em; margin: 0 0 24px; max-width: 20ch;
}
h1 em { font-style: normal; color: var(--signal); }
.lead { font-size: clamp(16.5px, 1.9vw, 19px); color: #E0D9F2; max-width: 60ch; margin: 0 0 18px; }
.lead:last-of-type { margin-bottom: 0; }
.lead strong { color: #fff; font-weight: 600; }
.btns { margin-top: 30px; }

.btn {
  display: inline-block; font-family: var(--display);
  font-weight: 500; font-size: 15px; padding: 14px 28px;
  border-radius: 2px; text-decoration: none; cursor: pointer; border: none;
  margin-right: 10px; margin-bottom: 10px;
  background: var(--signal); color: var(--ink);
  transition: transform .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); background: #3ADDCA; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.38); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ---------- Bands ---------- */
.strip { background: var(--ink); padding: 26px 0; }
.strip p { margin: 0; text-align: center; font-size: 15.5px; color: #C3BBD6; }
.strip strong { color: #fff; font-weight: 600; }

.band { padding: 74px 0; }
.light { background: var(--paper); }
.white { background: #fff; }
.dark { background: var(--ink); color: #fff; }
h2.sec {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(23px, 3vw, 32px); line-height: 1.18;
  letter-spacing: -0.015em; margin: 0 0 12px; max-width: 24ch;
}
.dark h2.sec { color: #fff; }
.sub { font-size: 16.5px; color: #4C4360; margin: 0 0 34px; max-width: 62ch; }
.dark .sub { color: #B9B1CC; }

/* ---------- Cards ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--mist); }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--mist); }
.cell {
  background: var(--paper); padding: 30px 26px 32px;
  text-decoration: none; color: inherit; display: block;
  transition: background .2s ease;
}
.white .cell { background: #fff; }
.cell:hover { background: #fff; }
.white .cell:hover { background: var(--paper); }
.tag {
  font-family: var(--display); font-size: 11px; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; color: var(--plum-soft); margin: 0 0 13px;
}
.cell h3 { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.22; margin: 0 0 11px; }
.cell h3 i { font-style: normal; color: var(--signal); display: inline-block; transition: transform .2s ease; }
.cell:hover h3 i { transform: translateX(5px); }
.cell p { font-size: 15px; color: #4C4360; margin: 0; }
.more { margin: 26px 0 0; font-size: 16px; color: #4C4360; }
.more a { color: var(--ink); font-weight: 500; }

/* ---------- Layer stack ---------- */
.layer { display: grid; grid-template-columns: 62px 1fr; gap: 26px; padding: 30px 0; border-top: 1px solid var(--mist); }
.layer:last-child { border-bottom: 1px solid var(--mist); }
.lnum { font-family: var(--display); font-weight: 700; font-size: 31px; color: var(--signal); line-height: 1; }
.layer h3 { font-family: var(--display); font-weight: 700; font-size: 21px; margin: 0 0 9px; }
.layer p { margin: 0 0 10px; font-size: 16px; color: #4C4360; }
.youget {
  font-family: var(--display); font-size: 13.5px; font-weight: 500;
  color: var(--ink); margin: 0; border-left: 2px solid var(--signal); padding-left: 12px;
}

/* ---------- Case studies ---------- */
.case {
  background: #fff; border: 1px solid var(--mist); border-top: 3px solid var(--plum);
  padding: 38px 36px 40px; margin-bottom: 26px;
}
.case:last-child { margin-bottom: 0; }
.sector {
  font-family: var(--display); font-size: 11px; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; color: var(--plum-soft); margin: 0 0 10px;
}
.case h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(21px, 2.7vw, 27px); line-height: 1.2;
  letter-spacing: -0.01em; margin: 0 0 26px; max-width: 26ch;
}
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.ba h3 {
  font-family: var(--display); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; padding-bottom: 8px;
}
.before h3 { color: var(--plum-soft); border-bottom: 2px solid var(--mist); }
.after h3 { color: var(--signal); border-bottom: 2px solid var(--signal); }
.ba p { font-size: 16px; color: #3B3350; margin: 0; }
.stackrow {
  margin: 26px 0 0; padding-top: 20px; border-top: 1px solid var(--mist);
  display: flex; flex-wrap: wrap; gap: 9px;
}

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-family: var(--display); font-size: 13px; font-weight: 500;
  padding: 8px 15px; border: 1px solid var(--mist);
  background: var(--paper); border-radius: 2px; color: #3B3350;
}
.dark .chip { background: transparent; border-color: rgba(255,255,255,.22); color: #DCD4EE; }

/* ---------- Work teaser ---------- */
.work3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wcard { border-top: 2px solid var(--signal); padding-top: 18px; }
.wcard b {
  display: block; font-family: var(--display); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--plum-soft); margin-bottom: 9px;
}
.wcard h3 { font-family: var(--display); font-weight: 700; font-size: 18.5px; line-height: 1.25; margin: 0 0 9px; }
.wcard p { font-size: 15px; color: #4C4360; margin: 0; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { border-left: 2px solid var(--signal); padding: 2px 0 2px 18px; }
.quote p { font-size: 15px; color: #3B3350; margin: 0 0 12px; font-style: italic; }
.quote b { display: block; font-weight: 600; font-size: 14.5px; }
.quote span { font-size: 13.5px; color: var(--plum-soft); font-family: var(--display); }

/* ---------- About columns ---------- */
.cols4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.col h2 {
  font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.2;
  margin: 0 0 8px; padding-bottom: 9px; border-bottom: 2px solid var(--signal); display: inline-block;
}
.col > p { font-size: 15.5px; color: #4C4360; margin: 12px 0 24px; }
.item { margin-bottom: 20px; }
.item b { display: block; font-family: var(--display); font-weight: 700; font-size: 16px; margin-bottom: 2px; }
.item span { font-size: 15px; color: #4C4360; }
.give { margin-bottom: 16px; font-size: 16px; color: #3B3350; }
.give b { font-weight: 600; }

/* ---------- Facts ---------- */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.fact { border-top: 2px solid var(--signal); padding-top: 15px; }
.fact b { display: block; font-family: var(--display); font-size: 23px; font-weight: 700; margin-bottom: 5px; }
.dark .fact b { color: #fff; }
.fact span { font-size: 14.5px; color: #B9B1CC; }

/* ---------- Checklist ---------- */
.checks { list-style: none; margin: 0 0 26px; padding: 0; }
.checks li { font-size: 16.5px; color: #3B3350; padding-left: 26px; position: relative; margin-bottom: 13px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px; background: var(--signal); border-radius: 50%;
}

/* ---------- Contact ---------- */
.contactsplit { display: grid; grid-template-columns: .78fr 1.22fr; gap: 52px; align-items: start; }
.cinfo p { margin: 0 0 18px; font-size: 16px; }
.cinfo b {
  display: block; font-family: var(--display); font-size: 12.5px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--plum-soft); margin-bottom: 3px;
}
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--display); font-size: 13px;
  font-weight: 500; letter-spacing: .04em; margin-bottom: 7px; color: #3B3350;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: var(--body); font-size: 15px;
  border: 1px solid var(--mist); background: #fff; border-radius: 2px; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--signal); outline-offset: 1px; border-color: transparent;
}

/* ---------- CTA ---------- */
.cta { background: var(--plum); color: #fff; padding: 72px 0 60px; text-align: center; }
.cta h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(24px, 3.1vw, 34px); line-height: 1.15;
  margin: 0 auto 14px; max-width: 22ch;
}
.cta p { color: #E0D9F2; font-size: 17px; max-width: 54ch; margin: 0 auto 26px; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: #B9B1CC; padding: 54px 0 34px; font-size: 14.5px; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 34px; }
footer h4 {
  font-family: var(--display); font-size: 12.5px; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: #fff; margin: 0 0 14px;
}
footer a { color: #B9B1CC; text-decoration: none; display: block; margin-bottom: 9px; }
footer a:hover { color: var(--signal); }
.legal { border-top: 1px solid rgba(255,255,255,.13); padding-top: 22px; font-size: 13.5px; color: #8C82A6; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) { .cols4 { grid-template-columns: repeat(2, 1fr); gap: 34px; } }
@media (max-width: 880px) {
  .navlinks {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink); flex-direction: column; gap: 0; padding: 10px 26px 20px;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .navlinks.open { display: flex; }
  .navlinks a { width: 100%; padding: 12px 0; }
  .burger { display: block; }
  .grid3, .grid2, .cols4, .quotes, .facts, .work3, .contactsplit, .formgrid, .ba { grid-template-columns: 1fr; }
  .ba { gap: 24px; }
  .hero { padding: 62px 0 56px; }
  .band { padding: 54px 0; }
  .case { padding: 30px 26px 32px; }
  .layer { grid-template-columns: 46px 1fr; gap: 18px; }
  .fgrid { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
a:focus-visible, button:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
