:root {
  --text: #111111;
  --muted: #666666;
  --line: #e5e5e5;
  --link: #176b53;
  --bg: #ffffff;
  --soft: #fafafa;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.wrap {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

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

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-weight: 700;
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: .95rem;
}

nav a:hover,
.text-links a:hover {
  color: var(--link);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 56px;
  align-items: center;
  padding: 84px 0 72px;
}

.overline {
  color: var(--link);
  font-size: .92rem;
  font-weight: 700;
}

h1 {
  margin-top: 10px;
  font-size: 3.4rem;
  line-height: 1.08;
}

.subtitle {
  margin-top: 16px;
  font-size: 1.2rem;
  font-weight: 700;
}

.lead {
  max-width: 620px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}

.portrait {
  width: 240px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  font-weight: 700;
}

.text-links a {
  color: var(--link);
  border-bottom: 1px solid currentColor;
}

.section {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 44px;
  padding: 46px 0;
  border-top: 1px solid var(--line);
}

h2 {
  font-size: 1rem;
}

.section-body {
  max-width: 680px;
}

.section-body > p,
.columns p,
.email {
  color: var(--muted);
}

.facts {
  display: grid;
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.facts div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
}

dd {
  font-weight: 700;
}

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

.columns article {
  padding-top: 14px;
  border-top: 2px solid var(--text);
}

h3 {
  font-size: 1.05rem;
}

.columns p {
  margin-top: 8px;
  font-size: .96rem;
}

.contact {
  padding-bottom: 62px;
}

.email {
  margin-top: 18px;
  font-size: .95rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

.footer span:first-child {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 32px, 920px);
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px 0 50px;
  }

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

  h1 {
    font-size: 2.45rem;
  }

  .subtitle {
    font-size: 1.05rem;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 38px 0;
  }

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

  .columns {
    gap: 22px;
  }
}
