@font-face {
  font-family: 'Hand of Sean Demo';
  src: url('/assets/fonts/150114072730Hand_Of_Sean_Demo.woff') format('woff');
  font-display: auto;
}
@font-face {
  font-display: auto;
  font-family: 'Lato';
  font-weight: 300;
  font-style: normal;
  src: url('/assets/fonts/Lato-Light.ttf') format('truetype');
}
@font-face {
  font-display: auto;
  font-family: 'Lato';
  font-weight: 300;
  font-style: italic;
  src: url('/assets/fonts/Lato-LightItalic.ttf') format('truetype');
}
@font-face {
  font-display: auto;
  font-family: 'Lato';
  font-weight: 400;
  font-style: normal;
  src: url('/assets/fonts/Lato-Regular.ttf') format('truetype');
}
@font-face {
  font-display: auto;
  font-family: 'Lato';
  font-weight: 400;
  font-style: italic;
  src: url('/assets/fonts/Lato-Italic.ttf') format('truetype');
}
@font-face {
  font-display: auto;
  font-family: 'Lato';
  font-weight: 700;
  font-style: normal;
  src: url('/assets/fonts/Lato-Bold.ttf') format('truetype');
}
@font-face {
  font-display: auto;
  font-family: 'Lato';
  font-weight: 700;
  font-style: italic;
  src: url('/assets/fonts/Lato-BoldItalic.ttf') format('truetype');
}
@font-face {
  font-display: auto;
  font-family: 'Lato';
  font-weight: 900;
  font-style: normal;
  src: url('/assets/fonts/Lato-Black.ttf') format('truetype');
}
@font-face {
  font-display: auto;
  font-family: 'Lato';
  font-weight: 900;
  font-style: italic;
  src: url('/assets/fonts/Lato-BlackItalic.ttf') format('truetype');
}

@layer styles {
  :root {
    --font-family: 'Lato', sans-serif;
    --font-family-header: 'Hand of Sean Demo';
    --space--extra-small: 1rem;
    --space--small: 1.5rem;
    --space--medium: 3rem;
    --space--large: 5rem;
    --page__margin: var(--space--small);
    --grid-width: 1050px;
    --color__executing: #7b2481;
    --color__influencing: #e97200;
    --color__relationship_building: #0070cd;
    --color__strategic_thinking: #00945d;
    --color__background--main: white;
    --color__background--secondary: #f1f1f1;
    --color__background--input: #eee;
    --color__background--high-contrast: #333;
    --color__brand: rgb(243, 170, 73);
    --color__text--main: #444444;
    --color__text--dark: #3e3e3e;
    --color__text--secondary: #868686;
    --color__media-text-background: rgb(243, 170, 73, 0.8);
    --header__height: 80px;
  }

  /* Not in a lower layer: p:last-child has to out-specify single-class rules,
     and layer order would override that. */
  p {
    margin: 0 0 var(--space--small) 0;
  }
  p:last-child {
    margin-bottom: 0;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    background-color: var(--color__background--main);
    color: var(--color__text--main);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    min-height: 100%;
    padding-top: var(--header__height);
  }

  /* flow-root keeps the sections' margins inside their row. Without it,
     margins between adjacent rows collapse and the gaps shrink. */
  .row {
    display: flow-root;
  }
  @media (min-width: 1200px) {
    .row:not(.row--full-width) {
      margin-inline: auto;
      max-width: var(--grid-width);
    }
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.3rem;
    line-height: 1.7;
  }

  h4 {
    font-size: 1.1rem;
  }

  h1,
  h2,
  h3,
  h4 {
    font-family: var(--font-family-header);
    font-weight: 500;
  }

  p,
  ul,
  h1,
  h2,
  h3,
  h4 {
    margin-left: auto;
    margin-right: auto;
    max-width: 850px;
  }

  a {
    color: inherit;
  }

  input[type='submit'] {
    color: inherit;
  }

  .image-wrapper {
    overflow: hidden;
    position: relative;
  }

  .image-wrapper--constrained {
    display: inline-block;
    vertical-align: top;
  }

  /* Sized by its width/height attributes, so a lazy image keeps its box before
     it loads. */
  .image-wrapper img {
    display: block;
    height: auto;
    max-width: 100%;
    object-fit: cover;
  }

  .image-wrapper--fill img {
    height: 100%;
    width: 100%;
  }
}
