@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-italic-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/fonts/nunito-sans-variable.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #2a7c6f;
  --teal-bright: #2c8d7e;
  --teal-veil: rgba(42, 124, 111, 0.4);
  --mint: #eefaf7;
  --paper: #fffefc;
  --ink: #1d1d1b;
  --heading: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Nunito Sans", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --width: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--teal);
  font-family: var(--body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.85;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--heading);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1,
h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.15rem;
}

.container {
  width: min(100% - 32px, var(--width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  background: var(--paper);
  padding: 8px 12px;
  z-index: 10;
}

/* Header */
.site-header {
  padding-top: 24px;
}

.site-header__inner {
  border-top: 1px solid var(--teal);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.brand__name {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}

.brand__tagline {
  font-size: 14px;
  font-weight: 400;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 14px;
  font-weight: 400;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--teal-bright);
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Sections */
.section {
  padding: 96px 0;
  text-align: center;
}

.section--teal {
  background: var(--teal);
  color: var(--paper);
}

.section--mint {
  background: var(--mint);
  text-align: left;
}

.lead {
  max-width: 760px;
  margin: 0 auto 1em;
}

.strong {
  font-weight: 700;
}

/* Buttons */
.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--paper);
  text-decoration: none;
  font-weight: 400;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.button:hover {
  background: var(--teal-bright);
}

.button--outline {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
  box-shadow: none;
}

.button--outline:hover {
  background: var(--mint);
}

/* Home hero */
.hero {
  min-height: 600px;
  background: url("/assets/images/hero-compass.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero__inner {
  display: flex;
  justify-content: flex-end;
}

.hero__card {
  width: min(100%, 560px);
  min-height: 460px;
  padding: 48px 64px;
  background: var(--teal-veil);
  color: var(--paper);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.7;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Team */
.team-grid {
  list-style: none;
  padding: 0;
  margin: 72px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 56px 32px;
}

.member__photo {
  width: 180px;
  height: 180px;
  margin: 0 auto 32px;
  border-radius: 50%;
  object-fit: cover;
}

.member__photo--placeholder {
  background: var(--mint);
  border: 1px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.member__photo--placeholder svg {
  width: 72px;
  height: 72px;
}

.member__name {
  font-size: 1.25rem;
  margin-bottom: 0.4em;
}

.member__role {
  font-weight: 700;
  margin: 0;
}

.quote {
  font-family: var(--heading);
}

.quote__mark {
  font-size: 7rem;
  height: 0.55em;
  line-height: 1;
  margin: 0;
}

.quote__text {
  font-style: italic;
  font-size: 1.35rem;
  margin: 0.5em 0;
}

.quote__by {
  font-style: italic;
  font-weight: 700;
  margin: 0;
}

/* Experiences */
.banner {
  background: var(--teal);
  color: var(--paper);
  text-align: center;
  padding: 72px 0;
  font-weight: 700;
}

.banner p {
  margin: 0;
}

.experience-grid {
  list-style: none;
  padding: 0;
  display: grid;
  max-width: 960px;
  margin-inline: auto;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 64px 40px;
}

.experience__image {
  width: 100%;
  height: 300px;
  object-fit: contain;
  margin-bottom: 24px;
}

.lead--after-grid {
  margin-top: 72px;
}

.experience h3 {
  font-size: 1rem;
  margin: 0;
}

/* FAQ */
.faq {
  text-align: left;
  max-width: 760px;
  margin: 48px auto 0;
}

.faq__q {
  font-size: 1.1rem;
  margin-top: 2em;
}

.faq__q:first-child {
  margin-top: 0;
}

/* Contact */
.contact {
  max-width: 640px;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 64px 16px 48px;
  font-size: 14px;
}

.site-footer__name {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 12px;
}

.site-footer__copy {
  margin: 0;
}

@media (max-width: 700px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    min-height: 480px;
  }

  .hero__inner {
    justify-content: center;
  }

  .hero__card {
    min-height: 0;
    padding: 40px 24px;
    font-size: 1.1rem;
  }
}
