/* Poppins (self-hosted, latin + latin-ext) */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/poppins-latin-ext-300.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/poppins-latin-300.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-latin-ext-400.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-latin-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-latin-ext-700.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-latin-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --teal: #006573;
  --text: #545248;
  --header-bg: #f6fcfa;
  --hero-bg: #e2f8f9;
  --accent: #7fc4c9;
  --white: #ffffff;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-size: 17px;
  line-height: 1.8;
}

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

/* Header */
.site-header {
  position: relative;
  z-index: 10;
  background: var(--header-bg);
  box-shadow: 0 0 16px -4px rgba(0, 0, 0, 0.3);
}
.site-header__inner {
  width: 80%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 0;
}
.site-header__logo { width: 201px; }

/* Hero */
.hero {
  position: relative;
  background-color: var(--hero-bg);
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 155px 0 150px;
}
.hero__inner {
  width: 80%;
  max-width: 1300px;
  margin: 0 auto;
}
.hero__text {
  max-width: 700px;
  padding-left: 75px;
}
.hero h1 {
  margin: 0;
  font-weight: 300;
  font-size: 50px;
  line-height: 1.5;
  color: var(--teal);
}
.hero__sub {
  margin: 0;
  font-weight: 300;
  font-size: 50px;
  line-height: 1.4;
  color: var(--text);
}
.hero__portrait {
  display: none;
  width: 200px;
  margin: 30px auto;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 6px 6px 18px 0 rgba(0, 0, 0, 0.3);
}
/* diagonal divider into the white section */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg preserveAspectRatio='none' width='100%25' height='140px' viewBox='0 0 1280 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M0 0v140h1280L0 0z' /%3E%3C/g%3E%3C/svg%3E");
  background-size: 100% 40px;
}

/* Farewell section */
.farewell { padding: 54px 0 72px; }
.farewell__inner {
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
}
.farewell h2 {
  margin: 20px 0;
  font-weight: 300;
  font-size: 40px;
  line-height: 1.3;
  color: var(--text);
}
.divider {
  width: 30%;
  margin: 0;
  border: 0;
  border-top: 2px solid var(--accent);
}
.farewell__text {
  margin-top: 50px;
  font-size: 21px;
}
.farewell__text p { margin: 0 0 1em; }
.farewell__signature {
  margin-top: 1.6em !important;
  color: var(--teal);
}

@media (max-width: 980px) {
  .hero__text { padding-left: 15px; max-width: 440px; }
  .hero__sub { font-size: 35px; }
}

@media (max-width: 767px) {
  .hero {
    background-image: none;
    padding: 60px 0 80px;
    text-align: center;
  }
  .site-header__logo { margin: 0 auto; }
  .hero__inner { width: auto; padding: 0 16px; }
  .hero__text { padding: 0; max-width: none; }
  .hero h1 { font-size: 35px; }
  .hero__sub { font-size: 24px; }
  .hero__portrait { display: block; }
  .farewell__inner { width: auto; padding: 0 16px; }
  .farewell h2 { font-size: 32px; text-align: center; }
  .divider { margin: 0 auto; }
  .farewell__text { margin-top: 36px; font-size: 18px; }
}
