:root {
  --canvas: #f7f7f4;
  --surface: #ffffff;
  --ink: #111413;
  --graphite: #505552;
  --divider: #d7dad8;
  --soft-blue: #eef1ff;
  --cobalt: #2946c8;
  --cobalt-hover: #20379f;
  --coral: #f06445;
  --error: #a6322a;
  --focus: #2946c8;
  --shell: 1240px;
  --radius: 8px;
  --font-display: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 28px 80px rgba(31, 55, 159, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--soft-blue);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link,
.sr-only,
.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  width: auto;
  height: auto;
  padding: 10px 14px;
  margin: 0;
  overflow: visible;
  clip: auto;
  background: var(--ink);
  color: var(--surface);
  border-radius: 4px;
}

.shell {
  width: min(var(--shell), calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(215, 218, 216, 0.9);
  background: rgba(247, 247, 244, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
}

.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  background: var(--surface);
}

.brand-mark i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cobalt);
}

.brand-mark i:nth-child(1) {
  top: 7px;
  left: 7px;
}

.brand-mark i:nth-child(2) {
  top: 13px;
  left: 13px;
  background: var(--ink);
}

.brand-mark i:nth-child(3) {
  right: 7px;
  bottom: 7px;
  background: var(--coral);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
}

.nav-menu a:not(.nav-cta) {
  position: relative;
  color: var(--graphite);
  transition: color 240ms var(--ease);
}

.nav-menu a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--cobalt);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms var(--ease);
}

.nav-menu a:not(.nav-cta):hover {
  color: var(--ink);
}

.nav-menu a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 10px 16px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--surface);
  transition: background 260ms var(--ease), border-color 260ms var(--ease), transform 260ms var(--ease);
}

.nav-cta:hover {
  border-color: var(--cobalt);
  background: var(--cobalt);
  transform: translateY(-1px);
}

.nav-cta:active,
.button:active {
  transform: translateY(1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--divider);
  border-radius: 6px;
  background: var(--surface);
}

.nav-toggle i {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 260ms var(--ease);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 110px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% + 150px);
  width: 1px;
  background: var(--divider);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.05fr);
  gap: 68px;
  align-items: center;
}

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

.kicker {
  margin: 0 0 18px;
  color: var(--cobalt);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  margin-bottom: 30px;
  font-size: 72px;
  line-height: 0.98;
}

h2 {
  margin-bottom: 24px;
  font-size: 54px;
  line-height: 1.02;
}

h3 {
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.1;
}

.hero-lede {
  max-width: 58ch;
  margin-bottom: 34px;
  color: var(--graphite);
  font-size: 20px;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions,
.case-actions,
.lead-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  transition: background 260ms var(--ease), color 260ms var(--ease), border-color 260ms var(--ease), transform 260ms var(--ease);
}

.button-primary {
  background: var(--cobalt);
  color: var(--surface);
}

.button-primary:hover {
  background: var(--cobalt-hover);
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: var(--surface);
}

.button-dark:hover {
  background: var(--cobalt);
  transform: translateY(-2px);
}

.button-block {
  width: 100%;
}

.text-link {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

.text-link span,
.case-actions a span,
.practice-note a span {
  display: inline-block;
  transition: transform 260ms var(--ease);
}

.text-link:hover span,
.case-actions a:hover span,
.practice-note a:hover span {
  transform: translateX(4px);
}

.hero-note {
  margin: 34px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--divider);
  color: var(--graphite);
  font-family: var(--font-mono);
  font-size: 12px;
}

.hero-media {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.72fr);
  gap: 14px;
  align-items: stretch;
}

.product-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 20, 19, 0.18);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-frame-main {
  grid-column: 1 / -1;
}

.product-frame-secondary {
  grid-column: 1;
}

.frame-bar {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 13px;
  border-bottom: 1px solid var(--divider);
  background: var(--surface);
  color: var(--graphite);
  font-family: var(--font-mono);
  font-size: 10px;
}

.frame-bar span:last-child {
  color: var(--cobalt);
}

.product-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: contain;
  object-position: top;
}

.hero-proof-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--surface);
}

.hero-proof-card > span {
  color: #b9c5ff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
}

.hero-proof-card > strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
}

.hero-proof-card > p {
  margin: 0;
  color: #c9cdcb;
  font-size: 15px;
  line-height: 1.45;
}

.system-trace {
  min-height: 48px;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: transparent;
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 10px;
}

.system-trace i {
  height: 1px;
  background: rgba(255, 255, 255, 0.34);
}

.system-trace b {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.proof-strip {
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: var(--surface);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid article {
  min-width: 0;
  padding: 34px 28px 38px;
  border-left: 1px solid var(--divider);
}

.proof-grid article:last-child {
  border-right: 1px solid var(--divider);
}

.proof-grid span,
.engagement-band span,
.client-links > span,
.contact-standard > span,
.lead-confirmation span {
  display: block;
  margin-bottom: 10px;
  color: var(--cobalt);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
}

.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
}

.proof-grid p {
  margin: 0;
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.45;
}

.section {
  padding: 132px 0 144px;
  scroll-margin-top: 76px;
}

.section-heading {
  margin-bottom: 72px;
}

.section-heading h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 80px;
  align-items: end;
}

.split-heading > p {
  max-width: 52ch;
  margin: 0 0 5px;
  color: var(--graphite);
  font-size: 19px;
  line-height: 1.55;
}

.capabilities {
  position: relative;
}

.capability-list {
  border-top: 1px solid var(--ink);
}

.capability-list article {
  display: grid;
  grid-template-columns: 64px 0.72fr 1.15fr 0.86fr;
  gap: 30px;
  align-items: start;
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--divider);
}

.capability-index,
.process-list > li > span,
.principle-list span {
  color: var(--cobalt);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.capability-list h3 {
  margin: 0;
  font-size: 30px;
}

.capability-list p {
  max-width: 58ch;
  margin: 0;
  color: var(--graphite);
}

.capability-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.capability-list li {
  position: relative;
  padding-left: 16px;
}

.capability-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
}

.practice-note {
  display: grid;
  grid-template-columns: 0.45fr 1.4fr auto;
  gap: 34px;
  align-items: center;
  margin-top: 52px;
  padding: 28px 30px;
  border-radius: var(--radius);
  background: var(--soft-blue);
}

.practice-note > span {
  color: var(--cobalt);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.practice-note p {
  margin: 0;
  color: var(--graphite);
}

.practice-note a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.selected-work {
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: var(--surface);
}

.work-heading h2 {
  max-width: 14ch;
}

.case-list {
  display: grid;
  gap: 130px;
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 74px;
  align-items: center;
}

.case-study-reverse .case-media {
  order: 2;
}

.case-study-reverse .case-copy {
  order: 1;
}

.case-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: var(--canvas);
  box-shadow: 0 24px 70px rgba(17, 20, 19, 0.1);
}

.case-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: contain;
  object-position: top;
  transition: transform 800ms var(--ease);
}

.case-media:hover img {
  transform: scale(1.018);
}

.case-media figcaption {
  padding: 10px 13px;
  border-top: 1px solid var(--divider);
  color: var(--graphite);
  font-family: var(--font-mono);
  font-size: 10px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag-row span {
  padding: 5px 8px;
  border: 1px solid var(--divider);
  border-radius: 4px;
  color: var(--graphite);
  font-family: var(--font-mono);
  font-size: 9px;
}

.case-copy h3 {
  margin-bottom: 18px;
  font-size: 46px;
}

.case-summary {
  margin-bottom: 30px;
  color: var(--graphite);
  font-size: 19px;
  line-height: 1.5;
}

.case-details {
  margin: 0 0 30px;
  border-top: 1px solid var(--divider);
}

.case-details > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--divider);
}

.case-details dt {
  color: var(--cobalt);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
}

.case-details dd {
  margin: 0;
  color: var(--graphite);
  font-size: 15px;
}

.case-actions > a:not(.button) {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}

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

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

.process-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 30px;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--divider);
}

.process-list li > div {
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1fr);
  gap: 60px;
}

.process-list h3 {
  margin: 0;
}

.process-list p {
  max-width: 58ch;
  margin: 0;
  color: var(--graphite);
}

.engagement-band {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 36px;
  align-items: center;
  margin-top: 58px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--soft-blue);
}

.engagement-band > div + div {
  padding-left: 36px;
  border-left: 1px solid rgba(41, 70, 200, 0.2);
}

.engagement-band h3 {
  margin-bottom: 8px;
  font-size: 23px;
}

.engagement-band p {
  max-width: 42ch;
  margin: 0;
  color: var(--graphite);
  font-size: 15px;
}

.founder-note {
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: var(--surface);
}

.founder-layout {
  display: grid;
  grid-template-columns: 0.45fr 1.25fr 0.8fr;
  gap: 70px;
  align-items: start;
}

.founder-layout h2 {
  max-width: 12ch;
}

.founder-lede {
  max-width: 56ch;
  color: var(--graphite);
  font-size: 20px;
  line-height: 1.55;
}

.founder-signoff {
  margin: 34px 0 0;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

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

.principle-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--divider);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
}

.connect {
  padding-bottom: 120px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  gap: 80px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 118px;
}

.contact-copy h2 {
  max-width: 9ch;
}

.contact-copy > p:not(.kicker) {
  max-width: 46ch;
  color: var(--graphite);
  font-size: 19px;
}

.contact-standard {
  margin-top: 40px;
  padding: 24px;
  border-left: 3px solid var(--coral);
  background: var(--surface);
}

.contact-standard p {
  margin: 0;
  color: var(--graphite);
  font-size: 15px;
}

.lead-form {
  display: grid;
  gap: 22px;
  padding: 34px;
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(17, 20, 19, 0.08);
}

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

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #c8cdca;
  border-radius: 6px;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease);
}

.lead-form input,
.lead-form select {
  min-height: 48px;
  padding: 0 13px;
}

.lead-form textarea {
  min-height: 154px;
  resize: vertical;
  padding: 13px;
  line-height: 1.5;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(41, 70, 200, 0.13);
}

.lead-form.is-submitting .button[type="submit"] {
  cursor: wait;
  opacity: 0.7;
}

.form-note {
  min-height: 1.5em;
  margin: -7px 0 0;
  color: var(--graphite);
  font-size: 14px;
}

.lead-confirmation {
  display: grid;
  gap: 20px;
  margin-top: 4px;
  padding: 24px;
  border-radius: 6px;
  background: var(--soft-blue);
}

.lead-confirmation[hidden] {
  display: none;
}

.lead-confirmation strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
}

.lead-confirmation p {
  margin: 0;
  color: var(--graphite);
  font-size: 14px;
}

.lead-actions button,
.lead-actions a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
}

.lead-brief-preview textarea {
  min-height: 170px;
  background: var(--surface);
}

.faq-block {
  display: grid;
  grid-template-columns: 0.58fr 1.42fr;
  gap: 80px;
  margin-top: 130px;
  padding-top: 80px;
  border-top: 1px solid var(--ink);
}

.faq-heading h2 {
  font-size: 42px;
}

.faq-list {
  border-top: 1px solid var(--divider);
}

.faq-item {
  border-bottom: 1px solid var(--divider);
}

.faq-item button {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 20px;
  align-items: center;
  padding: 17px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.faq-item button b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--divider);
  border-radius: 50%;
  color: var(--cobalt);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
}

.faq-answer {
  max-width: 68ch;
  padding: 0 48px 22px 0;
  color: var(--graphite);
}

.faq-answer p {
  margin: 0;
}

.site-footer {
  border-top: 1px solid var(--divider);
  background: var(--surface);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 80px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.footer-main > div:first-child p {
  max-width: 42ch;
  margin: 18px 0 0;
  color: var(--graphite);
}

.footer-main nav,
.client-links {
  display: grid;
  align-content: start;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 14px;
}

.footer-main a:hover {
  color: var(--cobalt);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid var(--divider);
  color: var(--graphite);
  font-size: 13px;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
    gap: 46px;
  }

  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 48px;
  }

  .case-study {
    gap: 48px;
  }

  .contact-layout {
    gap: 54px;
  }

  .engagement-band {
    grid-template-columns: 1fr 1fr;
  }

  .engagement-band .button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .shell {
    width: min(100% - 48px, var(--shell));
  }

  .nav-menu {
    gap: 18px;
  }

  .hero {
    padding-top: 78px;
  }

  .hero::before {
    display: none;
  }

  .hero-layout,
  .split-heading,
  .case-study,
  .founder-layout,
  .contact-layout,
  .faq-block {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 66px;
  }

  .hero-copy {
    max-width: 690px;
  }

  h1 {
    max-width: 11ch;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-grid article:nth-child(2) {
    border-right: 1px solid var(--divider);
  }

  .proof-grid article:nth-child(n + 3) {
    border-top: 1px solid var(--divider);
  }

  .section {
    padding: 104px 0 112px;
  }

  .split-heading {
    gap: 22px;
  }

  .capability-list article {
    grid-template-columns: 50px 0.8fr 1.2fr;
  }

  .capability-list ul {
    grid-column: 2 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
  }

  .practice-note {
    grid-template-columns: 0.45fr 1.55fr;
  }

  .practice-note a {
    grid-column: 2;
  }

  .case-study-reverse .case-media,
  .case-study-reverse .case-copy {
    order: initial;
  }

  .case-copy {
    max-width: 720px;
  }

  .process-list li > div {
    gap: 34px;
  }

  .founder-layout {
    gap: 34px;
  }

  .principle-list {
    max-width: 580px;
  }

  .contact-copy {
    position: static;
    max-width: 650px;
  }

  .lead-form {
    max-width: 760px;
  }

  .faq-block {
    gap: 28px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  body {
    font-size: 16px;
  }

  .shell {
    width: calc(100% - 36px);
  }

  .nav {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] i:first-of-type {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] i:last-of-type {
    transform: translateY(-3px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    min-height: calc(100dvh - 68px);
    display: none;
    align-content: start;
    align-items: stretch;
    padding: 34px 18px;
    border-top: 1px solid var(--divider);
    background: var(--canvas);
  }

  .nav-menu a {
    padding: 16px 0;
    border-bottom: 1px solid var(--divider);
    font-size: 20px;
  }

  .nav-menu .nav-cta {
    margin-top: 18px;
    padding: 15px 18px;
    text-align: center;
  }

  .nav-toggle[aria-expanded="true"] + .nav-menu {
    display: grid;
  }

  .hero {
    padding: 66px 0 82px;
  }

  h1 {
    font-size: 46px;
    line-height: 1;
  }

  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 25px;
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-media {
    grid-template-columns: 1fr;
  }

  .product-frame-secondary,
  .hero-proof-card {
    grid-column: 1;
  }

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

  .proof-grid article,
  .proof-grid article:nth-child(2),
  .proof-grid article:last-child {
    border-right: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
  }

  .proof-grid article:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 86px 0 94px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .capability-list article {
    grid-template-columns: 38px 1fr;
    gap: 16px;
    padding: 26px 0 28px;
  }

  .capability-list p,
  .capability-list ul {
    grid-column: 2;
  }

  .practice-note {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }

  .practice-note a {
    grid-column: 1;
    white-space: normal;
  }

  .case-list {
    gap: 88px;
  }

  .case-study {
    gap: 34px;
  }

  .case-copy h3 {
    font-size: 38px;
  }

  .process-list li {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .process-list li > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .engagement-band {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 26px;
  }

  .engagement-band > div + div {
    padding-top: 26px;
    padding-left: 0;
    border-top: 1px solid rgba(41, 70, 200, 0.2);
    border-left: 0;
  }

  .engagement-band .button {
    grid-column: 1;
    width: 100%;
  }

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

  .lead-form {
    padding: 24px 20px;
  }

  .faq-block {
    margin-top: 94px;
    padding-top: 60px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 44px 28px;
  }

  .footer-main > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 460px) {
  .brand-mark {
    width: 30px;
    height: 30px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 36px;
  }

  .system-trace {
    grid-template-columns: auto 1fr auto 1fr auto auto;
    gap: 5px;
    padding: 0 9px;
    font-size: 8px;
  }

  .case-details > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .case-actions,
  .lead-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .case-actions .button,
  .lead-actions button,
  .lead-actions a {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-main > div:first-child {
    grid-column: 1;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
