:root {
  --blue: #00567b;
  --blue-light: #00567b;
  --green-black: #001100;
  --ink: #0f2c2a;
  --body: #5f6966;
  --paper: #f8fbf8;
  --line: #46504c;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  background: var(--paper);
  padding: 10px 0 0;
}

.header-inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: end;
  min-height: 150px;
}

.brand {
  display: block;
  align-self: start;
}

.brand img {
  display: block;
  width: 145px;
  height: 145px;
  object-fit: contain;
}

nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  padding: 13px 0;
  margin-bottom: 48px;
  color: #26302c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1;
}

nav a {
  text-decoration: none;
}

.hero {
  background: var(--blue);
  color: var(--white);
}

.hero-content {
  width: min(1120px, calc(100% - 50px));
  margin: 0 auto;
  min-height: 520px;
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 60px;
  padding: 55px 0 60px;
}

.hero-portrait {
  width: 285px;
  height: 285px;
  justify-self: center;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--white);
  transform: translateY(8px);
}

.hero-content > div {
  transform: translateY(25px);
}

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

h1 {
  margin-bottom: 34px;
  font-size: 38px;
  line-height: 1.08;
  font-weight: 400;
}

h2 {
  margin-bottom: 0;
  font-size: 38px;
  line-height: 1.14;
  font-weight: 400;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 400;
}

.hero p {
  max-width: 735px;
  margin-bottom: 32px;
  color: #d7e6eb;
  font-size: 19px;
  line-height: 1.62;
  font-weight: 300;
}

.section {
  padding: 70px 0;
}

.section-inner {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: 335px 1fr;
  gap: 80px;
}

.stack {
  margin: 0;
  padding-left: 18px;
  color: var(--body);
  font-size: 19px;
  line-height: 1.62;
}

.stack li + li {
  margin-top: 31px;
}

.criteria-section {
  background: var(--blue-light);
  color: var(--white);
  padding: 45px 0 58px;
}

.criteria-inner {
  max-width: 585px;
}

.criteria-section h2 {
  margin-bottom: 44px;
  text-align: left;
}

.criteria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  color: var(--white);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.62;
}

.criteria-grid ul {
  margin: 0 0 8px;
  padding-left: 22px;
}

.criteria-grid li + li {
  margin-top: 7px;
}

.split-panel,
.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 385px;
}

.panel-title {
  background: var(--green-black);
  color: var(--white);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 91px;
}

.panel-title h2 {
  width: min(350px, calc(100% - 80px));
  font-size: 48px;
  line-height: 1.22;
  font-weight: 400;
}

.panel-copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 71px;
  background: var(--paper);
}

.expectations {
  width: min(360px, calc(100% - 70px));
  color: var(--body);
  font-size: 19px;
  line-height: 1.62;
}

.expectations p {
  margin: 0 0 8px;
}

.expectations span {
  color: #0d1b0d;
  font-weight: 700;
}

.about-section {
  background: var(--blue-light);
  color: var(--white);
}

.about {
  color: var(--white);
}

.about h2 {
  color: var(--white);
}

.about p {
  margin-bottom: 28px;
  font-size: 19px;
  line-height: 1.62;
  color: var(--white);
}

.track-record {
  padding: 70px 0;
  background: var(--paper);
}

.track-record .section-inner {
  width: min(980px, calc(100% - 40px));
  background: var(--paper);
  color: var(--ink);
  padding: 0;
}

.track-record h2 {
  margin-bottom: 48px;
  font-size: 38px;
  font-weight: 400;
}

.record-list {
  display: grid;
  gap: 54px;
}

.record-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 55px;
}

.record-row h3 {
  font-size: 19px;
  color: var(--ink);
  font-weight: 400;
}

.record-row ul {
  margin: 0;
  padding-left: 19px;
  color: var(--body);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.62;
}

.record-row li + li {
  margin-top: 6px;
}

.contact-panel {
  min-height: 380px;
  background: var(--green-black);
}

.contact-panel .contact-copy {
  display: block;
  width: auto;
  padding: 71px 0 0 65px;
  background: var(--green-black);
  color: var(--paper);
}

.contact-copy p {
  max-width: 365px;
  margin-bottom: 0;
  font-size: 19px;
  line-height: 1.62;
}

.contact-copy p + p {
  margin-top: 0;
}

.site-footer {
  min-height: 112px;
  background: var(--blue);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 400;
}

.footer-links {
  width: min(860px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.site-footer a,
.site-footer p {
  text-decoration: none;
  margin: 0;
}

.linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 3px;
  background: var(--white);
  color: var(--blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.site-footer p {
  font-size: 13px;
  opacity: 0.9;
}

@media (max-width: 760px) {
  .header-inner {
    width: 100%;
    grid-template-columns: 92px 1fr;
    min-height: 76px;
    padding-left: 45px;
  }

  .brand img {
    width: 79px;
    height: 79px;
  }

  nav {
    gap: 18px;
    justify-content: flex-start;
    overflow: hidden;
    margin-bottom: 27px;
    padding: 7px 0;
    font-size: 10px;
  }

  .hero-content {
    width: 100%;
    min-height: 270px;
    grid-template-columns: 151px 1fr;
    gap: 35px;
    padding: 43px 30px 43px 0;
  }

  .hero-portrait {
    width: 135px;
    height: 135px;
    border-width: 5px;
    transform: none;
  }

  .hero-content > div {
    transform: none;
  }

  h1 {
    margin-bottom: 20px;
    font-size: 21px;
  }

  .hero p {
    margin-bottom: 15px;
    font-size: 12px;
    line-height: 1.45;
  }

  .section {
    padding: 36px 0;
  }

  .section-inner {
    width: 100%;
    padding: 0 12px;
  }

  .split {
    grid-template-columns: 150px 1fr;
    gap: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .stack,
  .about p {
    font-size: 11px;
    line-height: 1.5;
  }

  .stack li + li {
    margin-top: 22px;
  }

  .criteria-section {
    padding: 20px 0 23px;
  }

  .criteria-inner {
    width: 300px;
    padding: 0;
  }

  .criteria-section h2 {
    margin-bottom: 22px;
    text-align: center;
    font-size: 21px;
  }

  .criteria-grid {
    font-size: 11px;
    line-height: 1.5;
  }

  .split-panel,
  .contact-panel {
    grid-template-columns: 1fr 1fr;
    min-height: 236px;
  }

  .contact-panel {
    min-height: 315px;
  }

  .panel-title {
    padding-top: 50px;
  }

  .panel-title h2 {
    width: calc(100% - 24px);
    font-size: 29px;
  }

  .panel-copy {
    padding-top: 37px;
  }

  .expectations {
    width: calc(100% - 44px);
    font-size: 11px;
  }

  .about p {
    margin-bottom: 17px;
  }

  .track-record {
    padding: 0;
  }

  .track-record .section-inner {
    width: 100%;
    padding: 36px 14px 38px;
  }

  .track-record h2 {
    margin-bottom: 24px;
    font-size: 22px;
  }

  .record-list {
    gap: 30px;
  }

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

  .record-row h3 {
    font-size: 13px;
  }

  .record-row ul {
    font-size: 11px;
  }

  .contact-panel .contact-copy {
    padding: 37px 18px 0 25px;
  }

  .contact-copy p {
    font-size: 15px;
  }

  .site-footer {
    min-height: 92px;
    gap: 12px;
    font-size: 12px;
  }

  .footer-links {
    width: calc(100% - 32px);
    gap: 18px;
  }

  .linkedin {
    width: 28px;
    height: 28px;
    font-size: 20px;
  }

  .site-footer p {
    font-size: 10px;
  }
}
