:root {
  --bg: #fbfaf8;
  --ink: #111111;
  --muted: #666666;
  --soft: #8a8a8a;
  --line: #e4e1dc;
  --line-strong: #c9c5be;
  --max: 1040px;
  --radius: 4px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 12px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 0 max(22px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 248, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  font-size: 15px;
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover,
.mobile-nav a:hover,
.link-row a:hover,
.work-row:hover,
.contact-list a:hover {
  color: var(--ink);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  padding: 0;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.mobile-nav {
  display: none;
}

main,
.site-footer {
  width: min(var(--max), calc(100vw - 44px));
  margin: 0 auto;
}

.hero {
  padding: 112px 0 76px;
  border-bottom: 1px solid var(--line-strong);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 216px;
  gap: 72px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: 5rem;
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.lead {
  max-width: 760px;
  margin-bottom: 16px;
  color: #2c2c2c;
  font-size: 1.25rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.secondary-lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.05rem;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.link-row a::after,
.work-row > a::after,
.work-row > span::after,
.contact-list a::after {
  content: " ->";
}

.portrait {
  width: 216px;
  margin: 4px 0 0;
  border: 1px solid var(--line-strong);
  background: #f1efeb;
}

.portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(100%);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line-strong);
}

.facts div {
  padding: 26px 28px 26px 0;
  border-right: 1px solid var(--line);
}

.facts div:last-child {
  border-right: 0;
}

.facts span,
.work-row span {
  display: block;
  margin-bottom: 8px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.facts strong {
  display: block;
  max-width: 230px;
  font-size: 1rem;
  line-height: 1.4;
}

.section {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  padding: 86px 0;
  border-bottom: 1px solid var(--line-strong);
}

.section-heading h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.row-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.work-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
}

.work-row h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.work-row p {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.work-row > a,
.work-row > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 0;
  text-transform: none;
  white-space: nowrap;
}

.company-copy {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  column-gap: 24px;
  align-items: start;
}

.company-logo {
  grid-row: span 2;
  width: 160px;
  height: 38px;
  border: 1px solid var(--line);
  background: #ffffff;
  object-fit: contain;
  padding: 0;
}

.compact-section {
  align-items: start;
}

.focus-list {
  display: grid;
  gap: 12px;
  max-width: 640px;
}

.focus-list p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.proof-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.proof-list div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.proof-list span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.proof-list p,
.bio-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.bio-panel {
  max-width: 720px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}

.contact-section {
  padding-bottom: 110px;
}

.contact-list {
  display: grid;
  gap: 12px;
  max-width: 420px;
}

.contact-list a {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 0 12px;
  color: var(--muted);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 26px 0;
  color: var(--soft);
  font-size: 14px;
}

@media (max-width: 860px) {
  .site-header {
    padding: 0 18px;
  }

  .nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    top: 74px;
    right: 16px;
    left: 16px;
    z-index: 30;
    display: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
  }

  .mobile-nav.open {
    display: grid;
  }

  .mobile-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-weight: 700;
  }

  .mobile-nav a:last-child {
    border-bottom: 0;
  }

  main,
  .site-footer {
    width: min(100% - 32px, 720px);
  }

  .hero {
    padding: 84px 0 54px;
  }

  h1 {
    font-size: 3.3rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) 160px;
    gap: 40px;
  }

  .portrait {
    width: 160px;
  }

  .lead {
    font-size: 1.12rem;
  }

  .facts,
  .section {
    grid-template-columns: 1fr;
  }

  .facts div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
  }

  .facts div:last-child {
    border-bottom: 0;
  }

  .section {
    gap: 30px;
    padding: 66px 0;
  }
}

@media (max-width: 560px) {
  main,
  .site-footer {
    width: min(100% - 28px, 520px);
  }

  .site-header {
    min-height: 62px;
  }

  .mobile-nav {
    top: 70px;
  }

  .hero {
    padding: 64px 0 44px;
  }

  h1 {
    font-size: 2.45rem;
    line-height: 1.04;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .portrait {
    order: -1;
    width: 132px;
  }

  .lead {
    font-size: 1rem;
  }

  .link-row {
    gap: 14px;
  }

  .work-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .company-copy {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .company-logo {
    width: 150px;
    height: 36px;
  }

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

  .site-footer {
    display: grid;
    gap: 8px;
  }
}
