:root {
  --bg: #f4f6f8;
  --paper: #ffffff;
  --paper-soft: #eef2f5;
  --ink: #20252b;
  --muted: #5c6670;
  --quiet: #7b858e;
  --line: #d7dde3;
  --line-strong: #aeb8c2;
  --blue: #135fd1;
  --blue-deep: #0d3f8d;
  --steel: #c7ced6;
  --graphite: #30343a;
  --radius: 8px;
  --content: 1180px;
  --shadow: 0 18px 42px rgba(32, 37, 43, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(90deg, rgba(19, 95, 209, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(19, 95, 209, 0.045) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
}

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

a {
  color: var(--blue);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(19, 95, 209, 0.36);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 30;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header,
.hero,
.section,
.site-footer {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 12px 0;
  background: rgba(244, 246, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong,
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-text strong {
  font-size: 1.1rem;
  line-height: 1;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: var(--graphite);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  gap: 28px;
  align-items: stretch;
  padding: 54px 0 38px;
}

.hero-copy {
  display: grid;
  align-content: center;
  min-height: 560px;
  padding: 36px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-media {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--graphite);
  box-shadow: var(--shadow);
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(32, 37, 43, 0.72));
}

.hero-media figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: 0.94rem;
  line-height: 1.45;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
}

h2 {
  max-width: 15ch;
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
}

h3 {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 1.26rem;
  line-height: 1.15;
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.lead {
  max-width: 58ch;
  color: var(--graphite);
  font-size: 1.16rem;
  line-height: 1.62;
}

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

.button,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-weight: 750;
  text-decoration: none;
}

.button--primary,
.contact-link {
  background: var(--blue);
  color: #fff;
}

.button--primary:hover,
.button--primary:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  background: var(--blue-deep);
}

.button--secondary {
  border: 1px solid var(--line-strong);
  color: var(--graphite);
  background: var(--paper);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
}

.hero-points,
.check-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.section {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-heading--wide {
  grid-template-columns: 0.82fr 1fr;
  align-items: end;
  column-gap: 42px;
}

.section-heading--wide .eyebrow {
  grid-column: 1 / -1;
}

.section-heading--wide p:not(.eyebrow) {
  margin: 0;
  max-width: 64ch;
}

.section--split {
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: 42px;
}

.pain-list,
.process-steps,
.engagement-grid,
.founder-grid {
  display: grid;
  gap: 16px;
}

.pain-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pain-list article,
.process-steps article,
.engagement-grid article,
.founder-card,
.boundary-panel,
.fit-panel,
.contact-copy {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pain-list article,
.engagement-grid article,
.boundary-panel,
.fit-panel,
.contact-copy {
  padding: 22px;
}

.process-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-steps article {
  min-height: 260px;
  padding: 22px;
  border-top: 4px solid var(--blue);
}

.process-steps span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--quiet);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
}

.engagement-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section--fit {
  display: grid;
  grid-template-columns: 1.1fr 0.72fr;
  gap: 18px;
}

.fit-panel {
  background:
    linear-gradient(135deg, rgba(19, 95, 209, 0.08), transparent 38%),
    var(--paper);
}

.boundary-panel {
  background: var(--graphite);
  border-color: var(--graphite);
}

.boundary-panel h3,
.boundary-panel p {
  color: #fff;
}

.boundary-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.founder-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.founder-card {
  overflow: hidden;
}

.founder-card picture {
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line);
}

.founder-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
}

.founder-card div {
  padding: 20px;
}

.role {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 42px;
  align-items: start;
}

.contact-copy {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.contact-copy p {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 0 42px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--quiet);
  font-size: 0.92rem;
}

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

  .hero-copy,
  .hero-media {
    min-height: auto;
  }

  .hero-media {
    aspect-ratio: 16 / 10;
  }

  h1,
  h2 {
    max-width: 100%;
  }

  .process-steps,
  .engagement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: min(calc(100% - 24px), var(--content));
  }

  .site-header {
    flex-wrap: wrap;
  }

  .brand-text span {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0 4px;
    border-top: 1px solid var(--line);
  }

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

  .hero {
    padding-top: 28px;
  }

  .hero-copy {
    padding: 24px;
  }

  .pain-list,
  .process-steps,
  .engagement-grid,
  .founder-grid {
    grid-template-columns: 1fr;
  }

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

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

  .lead {
    font-size: 1.05rem;
  }

  .button,
  .contact-link {
    width: 100%;
  }
}

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