@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/karla-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Karla";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/karla-italic-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/opensans-latin.woff2") format("woff2");
}

:root {
  --bg: #fffecd;
  --ink: #1a1a1a;
  --accent: #a3001e;
  --measure: 970px;
  --font: "Karla", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --nav: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  z-index: 10;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--measure), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  padding: 36px 0 0;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--nav);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  align-items: baseline;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  font-family: var(--nav);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.nav a[aria-current="page"] {
  color: var(--accent);
}

.brand {
  margin: 36px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--accent);
}

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

.brand sup {
  font-size: 0.62em;
  line-height: 0;
}

main {
  padding: 56px 0 96px;
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.15fr);
  gap: 36px 52px;
  align-items: start;
}

.split.photo-right {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.95fr);
}

.photo {
  display: block;
  width: 100%;
  height: auto;
}

.banner {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 48px;
}

h1 {
  margin: 0 0 22px;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.role {
  margin: 0;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.35;
}

.contacts {
  display: grid;
  gap: 26px;
  margin: 42px 0 0;
}

.contacts a,
.contacts p {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0;
}

.contacts a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.icon {
  flex: 0 0 24px;
  width: 24px;
  margin-top: 2px;
}

.notes,
.prose p,
.legal p {
  margin: 0 0 1.25em;
}

.notes {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notes li + li {
  margin-top: 1.35em;
}

.prose h2,
.section-title {
  margin: 0 0 0.7em;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.prose {
  margin-top: 8px;
}

.prose h2 {
  margin-top: 1.8em;
}

.prose h2:first-child {
  margin-top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

blockquote {
  margin: 0 0 1.25em;
  padding: 0;
}

blockquote p {
  margin: 0;
}

.legal {
  margin-top: 56px;
  font-size: 16px;
  line-height: 1.6;
}

.legal h2 {
  margin: 0 0 0.9em;
  font-size: 22px;
  font-weight: 700;
}

.legal h3 {
  margin: 1.6em 0 0.7em;
  font-size: 16px;
  font-weight: 700;
}

.full {
  margin-top: 36px;
}

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

  .site-header {
    padding-top: 20px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 8px 0 12px;
  }

  .nav.is-open {
    display: flex;
  }

  .brand {
    margin-top: 8px;
  }

  main {
    padding-top: 32px;
  }

  h1 {
    font-size: 40px;
  }

  .role {
    font-size: 20px;
  }

  .split,
  .split.photo-right {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .split.photo-right .photo {
    order: -1;
  }
}
