/* montserrat-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('/assets/fonts/montserrat-v31-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/montserrat-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('/assets/fonts/montserrat-v31-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* montserrat-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/fonts/montserrat-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


:root {
  --blue: #073875;
  --black: #111111;
  --grey: #777777;
  --light-grey: #eeeeee;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  background: #ffffff;
  color: var(--black);
}

.brand-toxic {
  color: var(--blue);
}

.brand-family {
  color: var(--black);
}

/* HEADER */

header {
  padding: 30px 40px;
}

header img {
  display: block;
  width: 240px;
  max-width: 70vw;
  height: auto;
}

/* HERO */

main {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.hero {
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.subtitle {
  margin: 10px 0 45px;
  font-size: clamp(.9rem, 2vw, 1.3rem);
  font-weight: 300;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #555;
}

/* STORY TRIGGER */

.story-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 10px 0;

  font-family: inherit;
  font-size: .85rem;
  font-weight: 500;
  color: var(--grey);

  cursor: pointer;
  transition: color .25s ease;
}

.story-trigger:hover {
  color: var(--blue);
}

.arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform .35s ease;
}

.story-trigger[aria-expanded="true"] .arrow {
  transform: rotate(90deg);
}

/* STORY */

.story-wrapper {
  display: grid;
  grid-template-rows: 0fr;

  opacity: 0;

  transition:
    grid-template-rows .6s ease,
    opacity .5s ease;
}

.story-wrapper.open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.story-overflow {
  overflow: hidden;
}

.story {
  width: min(650px, 100%);
  margin: 50px auto 0;
  padding-top: 45px;

  text-align: left;

  border-top: 1px solid var(--light-grey);
}

.story h2 {
  margin: 0 0 35px;

  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -.03em;
}

.story p {
  margin: 0 0 22px;

  font-size: .95rem;
  font-weight: 400;
  line-height: 1.85;

  color: #444;
}

.story .toxic {
  margin: 40px 0;

  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
}

.story .statement {
  margin: 35px 0;

  font-size: 1.1rem;
  font-weight: 700;

  color: var(--black);
}

.story .origin {
  margin-top: 45px;

  font-size: 1.25rem;
  font-weight: 500;

  color: var(--black);
}

.story .tagline {
  margin-top: 50px;
  padding-bottom: 50px;

  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;

  color: var(--grey);
}

/* MOBILE */

@media (max-width: 600px) {

  header {
    padding: 24px;
  }

  header img {
    width: 190px;
  }

  main {
    padding: 24px;
    align-items: flex-start;
    padding-top: 18vh;
  }

  .story {
    margin-top: 40px;
    padding-top: 35px;
  }
}
