:root {
  --bg: #f5f7f8;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #5f666f;
  --line: #d8dde3;
  --blue: #1d4ed8;
  --teal: #0f766e;
  --rust: #b45309;
  --green: #15803d;
  --shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration-color: rgba(29, 78, 216, 0.36);
  text-underline-offset: 0.2em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  font-weight: 760;
  text-decoration: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  text-decoration: none;
}

.band {
  width: 100%;
  padding: 76px max(28px, calc((100vw - 1120px) / 2));
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 58px;
  align-items: center;
  min-height: 620px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(245, 247, 248, 0.9)),
    url("https://avatars.githubusercontent.com/u/196635359?v=4");
  background-size: cover, 540px;
  background-position: center, right 8% center;
  background-repeat: no-repeat;
}

.intro-copy {
  max-width: 760px;
}

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

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

h1 {
  max-width: 850px;
  margin: 0;
  font-size: 5.4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 3.1rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.lede {
  max-width: 740px;
  margin: 28px 0 0;
  color: #343a40;
  font-size: 1.22rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 720;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.button.secondary {
  background: #fff;
}

.portrait-block {
  margin: 0;
  padding: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portrait-block img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.portrait-block figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.section-heading h2 {
  max-width: 760px;
}

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

.project {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: 22px;
  background: #fbfbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project p {
  margin: 0;
  color: var(--muted);
}

.project .project-type {
  margin-bottom: 10px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 780;
  text-transform: uppercase;
}

.project a {
  font-weight: 730;
}

.focus {
  background: #eef5f3;
}

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

.focus-list p {
  margin: 0;
  min-height: 112px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  color: #22312f;
  font-size: 1.04rem;
}

.signals {
  background: #fff;
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.signal-list div {
  padding: 18px;
  border-top: 3px solid var(--green);
  background: #f7f8fa;
}

.signal-list dt {
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 780;
  text-transform: uppercase;
  color: var(--green);
}

.signal-list dd {
  margin: 0;
  color: #30363d;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 40px;
  background: #171717;
  color: #fff;
}

.site-footer p {
  margin: 0;
  font-weight: 760;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.38);
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 24px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .intro {
    grid-template-columns: 1fr;
    min-height: 0;
    background-size: cover, 360px;
    background-position: center, right -80px top 20px;
  }

  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .lede {
    font-size: 1.08rem;
  }

  .portrait-block {
    max-width: 320px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-grid,
  .focus-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .band {
    padding: 52px 18px;
  }

  .intro {
    padding-top: 36px;
  }

  h1 {
    font-size: 2.6rem;
  }

  h2 {
    font-size: 2rem;
  }

  .lede {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .signal-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 18px;
  }
}
