/* Font Installs */
@font-face {
    font-family: 'Young Serif';
    src: url(youngserif.woff2), url(youngserif.woff);
  }
  
  @font-face {
    font-family: 'GT Walsheim Pro';
    src: 
      url(GTWalsheimPro-Light.woff2) format('woff2'),  
      url(GTWalsheimPro-Light.woff) format('woff');
    font-weight: 300; /* Light */
  }
 
  @font-face {
    font-family: 'GT Walsheim Pro';
    src: 
      url(GTWalsheimPro-Regular.woff2) format('woff2'), 
      url(GTWalsheimPro-Regular.woff) format('woff');
    font-weight: 400; /* regular */
  }

  @font-face {
    font-family: 'GT Walsheim Pro';
    src: 
      url(GTWalsheimPro-Bold.woff2) format('woff2'),
      url(GTWalsheimPro-Bold.woff) format('woff');
    font-weight: 700; /* bold */
  }
  
  /* Key Frames for Animations*/
  @keyframes fadein {
    0% {
      opacity: 0;
      transform: translate(0, 24px);
    }
  
    100% {
      opacity: 1;
      transform: translate(0,0);
    }
  }
  
  @keyframes hyphen {
    0% {
      width: 0.5em;
    }
  
    100% {
      width: 1em;
    }
  }
  
  @keyframes blob {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  
  /* Overall Body Styles*/
  body {
    font-family: 'GT Walsheim Pro';
    font-size: 48px;
    font-weight: 400;
    line-height: 1.25;
    margin: 100vh 0 0 0;
    
    background-color: #F2F2F2;
    color: #171518;
  }
  
  .body-sm-light {
    font-weight: 300;
    font-size: 0.5em;
  }

  .content {
    font-size: 0.5em;
  }

  .body-content {
    padding-left: 60px;
  }

  /* Header styles*/
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
  
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  h1 {
    font-family: 'Young Serif'; 
    font-size: 10vw;
    animation: fadein 0.4s 1s both;
  }

  h1.content {
    font-size: 2em;
  }
  
  h2 {
    max-width: 480px;
    font-size: 2vw;
    font-weight: 400;
    text-align: center;
  
    animation: fadein 0.4s 1.75s both;
  }

  
  header span {
    background-color: #d3c7f3;
    width: 1em;
    height: 0.02em;
    display: inline-block;
    vertical-align: middle;
    
    animation: hyphen 2s 1s infinite alternate cubic-bezier(0.86,0,0.07,1);
  }
  
  
/* ============= Promo Cover ============= */
.promo-cover {
  position: relative;
  margin-inline: auto;
  max-width: 72rem;        /* remove for full-bleed */
  border-radius: 2rem;     /* set to 0 for full-bleed */
  overflow: hidden;
  isolation: isolate;
}

/* Overlay now covers the entire section */
.promo-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #565777a7 100%);
  z-index: 1;
}

.promo-cover::before,
.promo-cover__overlay {
  pointer-events: none;             
}

.promo-cover__media { 
  position: absolute; 
  inset: 0; z-index: 0; 
}

.promo-cover__media img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}

.promo-cover__content {
  position: relative;
  padding: clamp(1rem, 3vw, 2rem);
  padding-bottom: clamp(1.25rem, 5vw, 3rem);
  /*max-width: 38ch;*/
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
 /* min-height: clamp(280px, 55vh, 620px);*/
}

.promo-cover__title {
 margin: 0 0 .25rem 0;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-align: left;
  color: #ffffff;
  font-weight: bold;
}

.promo-cover__subtitle {
  margin: .5rem 0 .85rem 0;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  opacity: .9;
  font-weight: medium;
  color: #ffffff;
}

.promo-cover__cta {
  position: relative;
  display: inline-block;
  align-self: start;      
  margin-top: 1.5rem;
  font-size: 2rem;
  font-weight: 600;
  padding: .65rem 2rem;
  border-radius: 999px;
  background: #565777;
  color: #fff;                       /* ensures text color stays white */
  text-decoration: none;   
  backdrop-filter: blur(2px);
  z-index: 20;
}


@media (prefers-reduced-motion: reduce) {
  .promo-cover__cta { transition: none; }
}



  /* Section styles */
  section {
    padding: 200px;
  }
  
/*   section.dark {
  
  } */

  section.purple {
    background-color: #d3c7f3;
  }
  
  
  /* Image styles */
  figure {
    max-width: 600px;
    margin: 0 auto 0 auto;
  }
  
  figcaption {
    margin: 24px 20% 0 0;
  }
  
 section img {
   /*  filter: grayscale(100%) brightness(125%) contrast(124%); */
    z-index: 30;
  } 
  
  svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -10;
    mix-blend-mode: multiply;
    pointer-events: none;
  }
  
  path {
    transform: scale(0);
    transition: transform 5s;
  }
  
  
  g.blob.in-view path {
    transform: scale(1);
  }
  
  
  ::-webkit-scrollbar {
    width: 8px;
    background-color: #d3c7f3;
    background-image: linear-gradient(180deg, #ffffff, #babd63, #d3c7f3, #FF9696, #171518);
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: #000000;
  }
  
  img.arrow {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translate(-50%, 0);
    color:#babd63;
  }
  
  /* Link styles */
  a {
    text-decoration: none;
    color: #171518;
    border-bottom: 0.1em solid #171518;
    ;
  }

  a:hover {
    border-bottom: 0.1em solid #F2F2F2;
    color: #F2F2F2;
  }

 a.promo-cover__cta {
    border-bottom: 0.1em solid #d3c7f3;
  }

  a.promo-cover__cta:hover {
    border-bottom: 0.1em solid #565777;
    background-color: #babd63;
  }

  /* Footer styles */
  footer {
    position: relative;
    max-width: 100%;
    padding: 60px;
    padding-top: 5em;
    z-index: 100;
  }

  footer p {
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  
  
  
/* For tablets */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  body {
      font-size: 32px;
  }

  h1 {
      font-size: 8vw;
  }

  h2 {
      font-size: 3vw;
  }

  section {
      padding: 100px;
  }

  figcaption {
      margin: 24px 10% 0 0;
  }

  footer {
      padding: 40px;
      z-index: 50;
  }

  footer p {
      font-size: 18px;
  }
}

/* For mobile devices */
@media only screen and (max-width: 767px) {
  body {
      font-size: 24px;
  }

  header {
      height: 100vh;
      padding: 80px 0;
  }

  h1 {
      font-size: 16vw;
  }

  h2 {
      font-size: 5vw;
      max-width: 100%;
  }

  section {
      padding: 60px;
  }

  section img {
    max-width: 100%;
   } 

  figure {
      max-width: 100%;
  }

  figcaption {
      margin: 16px 0 0 0;
  }

 /*  svg {
      display: none;
  } */

  /* img.arrow {
      display: none;
  } */

  footer {
      padding: 30px;
  }

  footer p {
      font-size: 16px;
  }
}