/* ==================================================
   FLY HIGH
   ABOUT PAGE
   ================================================== */


/* ==================================================
   PAGE VARIABLES
   ================================================== */

.about-page {
  --cream: #faf4ea;
  --white: #fffdf8;

  --blue: #669bbc;
  --light-blue: #ebf2fa;

  --navy: #173753;
  --taupe: #5e503f;

  --heading:
    "Mrs Eaves OT",
    Georgia,
    serif;

  --body:
    "Aquavit",
    Arial,
    sans-serif;

  background: var(--white);
  color: var(--navy);

  overflow-x: hidden;
}


/* ==================================================
   SHARED ABOUT PAGE
   ================================================== */

.about-page-container {
  width: min(1120px, calc(100% - 80px));

  margin: 0 auto;
}


.about-page h1,
.about-page h2,
.about-page h3 {
  font-family: var(--heading);
  font-weight: 400;
}


.about-page-label {
  margin: 0 0 16px;

  color: var(--blue);

  font-family: var(--body);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 2.7px;
  text-transform: uppercase;
}


.label-light {
  color: #a8cce0;
}


.label-cream {
  color: var(--cream);
}


/* ==================================================
   HERO
   WHITE / CREAM
   ================================================== */

.about-page-hero {
  padding: 90px 0 105px;

  background: var(--white);
}


.about-page-hero-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(320px, 0.82fr);

  gap: 70px;

  align-items: center;
}


.about-page-hero-copy {
  max-width: 650px;
}


.about-page-hero h1 {
  margin: 0;

  color: var(--navy);

  font-size: clamp(64px, 7vw, 98px);

  line-height: 0.92;
}


.about-page-lead {
  max-width: 570px;

  margin: 30px 0 0;

  color: rgba(23, 55, 83, 0.72);

  font-family: var(--body);

  font-size: 15px;

  line-height: 1.8;
}


/* HERO PHOTO */

.about-page-hero-photo {
  width: 100%;
  max-width: 500px;

  margin-left: auto;

  overflow: hidden;

  border-radius: 28px;
}


.about-page-hero-photo img {
  width: 100%;
  height: auto;

  display: block;

  border-radius: 28px;
}


/* ==================================================
   TERESA STORY
   NAVY
   ================================================== */

.about-story-section {
  padding: 105px 0;

  background: var(--navy);
  color: var(--cream);
}


.about-story-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(340px, 1fr);

  gap: 85px;

  align-items: center;
}


.about-story-copy {
  max-width: 570px;
}


.about-story-copy h2 {
  max-width: 530px;

  margin: 0 0 32px;

  color: var(--cream);

  font-size: clamp(52px, 5vw, 74px);

  line-height: 0.96;
}


.about-story-copy p:not(.about-page-label) {
  max-width: 550px;

  margin: 0 0 23px;

  color: rgba(250, 244, 234, 0.84);

  font-family: var(--body);

  font-size: 15px;

  line-height: 1.82;
}


.about-story-copy
p:not(.about-page-label):last-child {

  margin-bottom: 0;
}


/* STORY PHOTO */

.about-story-photo {
  width: 100%;
  max-width: 520px;

  margin-left: auto;

  overflow: hidden;

  border-radius: 28px;
}


.about-story-photo img {
  width: 100%;
  height: auto;

  display: block;

  border-radius: 28px;
}


/* ==================================================
   THE NAME
   ================================================== */

.about-name-section {
  width: 100%;

  padding: 95px 0;

  background: #5e503f;
  color: #faf4ea;
}


.about-name-grid {
  display: grid;

  grid-template-columns:
    170px
    minmax(0, 1fr);

  gap: 55px;

  align-items: center;
}


/* ==================================================
   TEDDY
   ================================================== */

.about-name-art {
  width: 170px;

  display: flex;
  align-items: center;
  justify-content: center;
}


.about-name-teddy {
  width: 125px;
  height: auto;

  display: block;

  object-fit: contain;

  opacity: 0.78;
}


/* ==================================================
   COPY
   ================================================== */

.about-name-copy {
  min-width: 0;

  padding-left: 55px;

  border-left:
    1px solid rgba(250, 244, 234, 0.45);
}


.about-name-section .about-page-label {
  margin: 0 0 22px;

  color: #faf4ea;

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 3px;
  text-transform: uppercase;
}


.about-name-copy h2 {
  width: 100%;

  margin: 0 0 28px;

  color: #faf4ea;

  font-family:
    var(--heading, "Mrs Eaves OT", Georgia, serif);

  font-size:
    clamp(56px, 6vw, 84px);

  font-weight: 400;

  line-height: 0.95;
}


.about-name-copy
p:not(.about-page-label) {

  width: 100%;
  max-width: 770px;

  margin: 0;

  color:
    rgba(250, 244, 234, 0.9);

  font-size: 16px;

  line-height: 1.8;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 900px) {

  .about-name-section {
    padding: 85px 0;
  }


  .about-name-grid {
    grid-template-columns:
      130px
      minmax(0, 1fr);

    gap: 35px;
  }


  .about-name-art {
    width: 130px;
  }


  .about-name-teddy {
    width: 105px;
  }


  .about-name-copy {
    padding-left: 35px;
  }

}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 650px) {

  .about-name-section {
    padding: 70px 0;
  }


  .about-name-grid {
    display: block;
  }


  .about-name-art {
    width: 100%;

    margin-bottom: 30px;

    justify-content: flex-start;
  }


  .about-name-teddy {
    width: 90px;
  }


  .about-name-copy {
    padding:
      28px 0 0;

    border-left: 0;

    border-top:
      1px solid rgba(250, 244, 234, 0.45);
  }


  .about-name-copy h2 {
    font-size: 48px;

    line-height: 1;
  }


  .about-name-copy
  p:not(.about-page-label) {

    font-size: 14px;

    line-height: 1.75;
  }

}


/* ==================================================
   BABY BLUE
   LIGHT BLUE
   ================================================== */

.about-babyblue-section {
  padding: 105px 0;

  background: var(--light-blue);
  color: var(--navy);
}


.about-babyblue-grid {
  display: grid;

  grid-template-columns:
    minmax(340px, 1fr)
    minmax(0, 0.9fr);

  gap: 85px;

  align-items: center;
}


/* PHOTO */

.about-babyblue-photo {
  width: 100%;
  max-width: 590px;

  overflow: hidden;

  border-radius: 28px;
}


.about-babyblue-photo img {
  width: 100%;
  height: auto;

  display: block;

  border-radius: 28px;
}


/* COPY */

.about-babyblue-copy {
  max-width: 500px;
}


.about-babyblue-copy h2 {
  margin: 0 0 30px;

  color: var(--navy);

  font-size: clamp(54px, 5.5vw, 80px);

  line-height: 0.94;
}


.about-babyblue-copy h2 span {
  color: var(--blue);

  font-family: var(--heading);

  font-style: italic;
}


.about-babyblue-copy h3 {
  margin: 0 0 25px;

  color: var(--navy);

  font-size: clamp(28px, 3vw, 40px);

  line-height: 1.1;
}


.about-babyblue-copy
p:not(.about-page-label) {

  margin: 0 0 20px;

  color: rgba(23, 55, 83, 0.72);

  font-family: var(--body);

  font-size: 14px;

  line-height: 1.82;
}


.about-babyblue-copy
p:not(.about-page-label):last-child {

  margin-bottom: 0;
}


/* ==================================================
   CLOSING
   BLUE
   ================================================== */

.about-closing-section {
  padding: 90px 0;

  background: var(--blue);
  color: var(--cream);
}


.about-closing-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(300px, 0.75fr);

  gap: 75px;

  align-items: center;
}


.about-closing-copy {
  max-width: 590px;
}


.about-closing-copy h2 {
  margin: 0;

  color: var(--cream);

  font-size: clamp(54px, 6vw, 82px);

  line-height: 0.95;
}


.about-closing-copy
p:not(.about-page-label) {

  max-width: 480px;

  margin: 24px 0 0;

  color: rgba(250, 244, 234, 0.88);

  font-family: var(--body);

  font-size: 14px;

  line-height: 1.8;
}


/* BUTTON */

.about-closing-button {
  display: inline-block;

  margin-top: 30px;

  padding: 15px 25px;

  background: var(--cream);
  color: var(--navy);

  border:
    1px solid var(--cream);

  font-family: var(--body);

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 1.5px;
  text-transform: uppercase;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}


.about-closing-button:hover {
  background: transparent;

  color: var(--cream);

  transform: translateY(-2px);
}


/* CLOSING PHOTO */

.about-closing-photo {
  width: 100%;
  max-width: 430px;

  margin-left: auto;

  overflow: hidden;

  border-radius: 28px;
}


.about-closing-photo img {
  width: 100%;
  height: auto;

  display: block;

  border-radius: 28px;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 900px) {

  .about-page-container {
    width:
      min(680px, calc(100% - 50px));
  }


  .about-page-hero-grid,
  .about-story-grid,
  .about-babyblue-grid,
  .about-closing-grid {

    grid-template-columns: 1fr;

    gap: 50px;
  }


  /* HERO */

  .about-page-hero-photo {
    max-width: 540px;

    margin-left: 0;
  }


  /* STORY */

  .about-story-photo {
    max-width: 540px;

    margin-left: 0;
  }


  /* NAME */

  .about-name-grid {
    grid-template-columns:
      140px
      minmax(0, 1fr);

    gap: 35px;
  }


  .about-name-teddy {
    width: 110px;
    height: 135px;
  }


  .about-name-copy {
    padding-left: 35px;
  }


  /* BABY BLUE */

  .about-babyblue-photo {
    max-width: 560px;
  }


  /* CLOSING */

  .about-closing-photo {
    max-width: 500px;

    margin-left: 0;
  }

}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 650px) {

  .about-page-container {
    width: calc(100% - 40px);
  }


  /* HERO */

  .about-page-hero {
    padding: 65px 0 75px;
  }


  .about-page-hero-grid {
    gap: 38px;
  }


  .about-page-hero h1 {
    font-size: 56px;

    line-height: 0.96;
  }


  .about-page-lead {
    font-size: 14px;

    line-height: 1.75;
  }


  .about-page-hero-photo,
  .about-page-hero-photo img {
    border-radius: 22px;
  }


  /* STORY */

  .about-story-section {
    padding: 80px 0;
  }


  .about-story-grid {
    gap: 38px;
  }


  .about-story-copy h2 {
    font-size: 50px;
  }


  .about-story-copy
  p:not(.about-page-label) {

    font-size: 14px;

    line-height: 1.75;
  }


  .about-story-photo,
  .about-story-photo img {
    border-radius: 22px;
  }


  /* NAME */

  .about-name-section {
    padding: 75px 0;
  }


  .about-name-grid {
    display: block;
  }


  .about-name-art {
    justify-content: flex-start;

    margin-bottom: 30px;
  }


  .about-name-teddy {
    width: 95px;
    height: 115px;
  }


  .about-name-copy {
    padding:
      28px 0 0;

    border-left: 0;

    border-top:
      1px solid
      rgba(250, 244, 234, 0.42);
  }


  .about-name-copy h2 {
    font-size: 48px;

    line-height: 1;
  }


  .about-name-copy
  p:not(.about-page-label) {

    font-size: 14px;

    line-height: 1.75;
  }


  /* BABY BLUE */

  .about-babyblue-section {
    padding: 80px 0;
  }


  .about-babyblue-grid {
    gap: 38px;
  }


  .about-babyblue-photo,
  .about-babyblue-photo img {
    border-radius: 22px;
  }


  .about-babyblue-copy h2 {
    font-size: 50px;
  }


  .about-babyblue-copy h3 {
    font-size: 30px;
  }


  /* CLOSING */

  .about-closing-section {
    padding: 80px 0;
  }


  .about-closing-grid {
    gap: 40px;
  }


  .about-closing-copy h2 {
    font-size: 50px;
  }


  .about-closing-photo,
  .about-closing-photo img {
    border-radius: 22px;
  }

}