@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/instrument-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Instrument Sans", Arial, sans-serif;
  color: #203b33;
  background: #fff;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

.wrap {
  width: min(1100px, calc(100% - 64px));
  margin-inline: auto;
}

header {
  padding-block: 36px;
  border-bottom: 1px solid #dce5df;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.7px;
  text-decoration: none;
}

.brand-mark {
  display: flex;
  align-items: end;
  gap: 4px;
  width: 27px;
  height: 25px;
}

.brand-mark i {
  display: block;
  width: 6px;
  height: 13px;
  border-radius: 1px;
  background: #226b4c;
}

.brand-mark i:nth-child(2) {
  height: 19px;
}

.brand-mark i:nth-child(3) {
  height: 25px;
}

main {
  flex: 1;
  padding-block: clamp(64px, 11vh, 130px);
}

.subject {
  margin: 0 0 24px;
  color: #226b4c;
  font-weight: 500;
}

h1 {
  margin: 0 0 30px;
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.intro {
  max-width: 460px;
  margin: 0;
  color: #52615b;
  font-size: 19px;
}

.location {
  margin: 36px 0 0;
  color: #52615b;
  font-size: 15px;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  padding-block: 24px;
  border-top: 1px solid #dce5df;
  color: #52615b;
  font-size: 14px;
}

footer p {
  margin: 0;
}

details {
  max-width: 430px;
}

summary {
  cursor: pointer;
}

details[open] p {
  margin-top: 14px;
}

a {
  color: #226b4c;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #226b4c;
  outline-offset: 5px;
}

@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 40px);
  }

  header {
    padding-block: 24px;
  }

  .subject {
    font-size: 16px;
  }

  footer {
    flex-direction: column;
    gap: 16px;
  }
}
