:root {
  --navy: #2E3192;
  --sky: #3FA9F5;
  --ink: #1c1e3a;
  --bg: #fbfbfd;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Space Grotesk', Helvetica, sans-serif;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
  width: 100%;
}

/* Header */

.header-bar {
  background: #fff;
  border-bottom: 1px solid rgba(46, 49, 146, .1);
}

.header {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.logo-link {
  display: flex;
}

.logo {
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  gap: 26px;
  font-size: 13px;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav a:hover {
  color: var(--navy);
}

.nav .nav-newmr {
  color: var(--navy);
  font-weight: 600;
}

/* Hero */

.hero {
  background: var(--navy);
  color: #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  padding: 64px 0 80px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: 56px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.025em;
  text-wrap: pretty;
}

.hero .accent {
  color: var(--sky);
}

.hero p {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .78);
  max-width: 52ch;
}

.hero p a {
  color: var(--sky);
  text-decoration: none;
  font-weight: 600;
}

.portrait {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
}

/* About */

.about {
  padding-top: 64px;
  padding-bottom: 64px;
}

.about-inner {
  max-width: 64ch;
}

.about h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

.about p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(28, 30, 58, .68);
}

.about p a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

/* Contact */

.contact-wrap {
  flex: 1;
}

.contact {
  padding: 40px 0 64px;
  border-top: 1px solid rgba(46, 49, 146, .12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-kicker {
  margin: 0 0 6px;
  font-size: 13px;
  color: rgba(28, 30, 58, .55);
}

.contact-email {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -.01em;
}

.contact-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  border: 1.5px solid rgba(46, 49, 146, .3);
  padding: 10px 18px;
  border-radius: 99px;
  text-decoration: none;
}

.pill-solid {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

/* Footer */

.footer {
  background: #f0f1f7;
}

.footer-inner {
  padding-top: 24px;
  padding-bottom: 24px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(28, 30, 58, .5);
}

/* Responsive */

@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 56px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .portrait {
    width: 200px;
    height: 200px;
  }

  .contact-email {
    font-size: 22px;
  }
}
