/* ==========================
Paw
========================== */

.about{
    position: relative;
    display: block;
    height: calc(100svh - 90px);
    min-height: 720px;
    padding: 48px 0;
    box-sizing: border-box;
    background: #f7f6f2;
    overflow: hidden;
}


.paw{

    position: absolute;

    width: 500px;

    opacity: 1;

    z-index: 1;

    top: -200%;
    left: -200%;
}

.paw7{

    position: absolute;

    width: 500px;

    opacity: 1;

    z-index: 9999;

    top: 10%;
    left: 10%;
}

/* About panel */
.about-panel {
  position: relative;
  z-index: 2;
  width: min(76%, 1400px);
  height: 100%;
  min-height: 0;
  margin: 0 auto 0 6.5%;
  padding: 52px 6.5%;
  box-sizing: border-box;
background: #bcc5ab;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
}

.about-panel.is-visible {
  animation: aboutPanelIn 800ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.about-panel .section-number {
  position: absolute;
  top: 185px;
  left: 24%;
  z-index: 0;
  font-size: clamp(100px, 9vw, 170px);
  color: rgba(255, 255, 255, 0.68);
  line-height: 0.8;
}

.about-panel .section-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.about-panel .section-content > * {
  opacity: 0;
  transform: translateY(12px);
}

.about-panel.is-visible .about-label {
  animation: aboutTextIn 520ms ease-out 140ms forwards;
}

.about-panel.is-visible h2 {
  animation: aboutTextIn 620ms ease-out 220ms forwards;
}

.about-panel.is-visible h3 {
  animation: aboutTextIn 520ms ease-out 400ms forwards;
}

.about-panel.is-visible p:not(.about-label):not(.about-note) {
  animation: aboutTextIn 560ms ease-out 540ms forwards;
}

.about-panel.is-visible p:nth-of-type(3) {
  animation-delay: 660ms;
}

.about-panel.is-visible .about-note {
  animation: aboutTextIn 500ms ease-out 780ms forwards;
}

.about-label {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.about-panel .section-content h2 {
  margin: 0 0 26px;
  font-size: clamp(72px, 7vw, 128px);
  line-height: 0.8;
  letter-spacing: -0.07em;
}

.about-panel .section-content h3 {
  margin: 0 0 22px;
  font-size: clamp(26px, 2.2vw, 36px);
}

.about-panel .section-content p:not(.about-label):not(.about-note) {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.8;
}

.about-note {
  margin-top: 22px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

@keyframes aboutPanelIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aboutTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.walk-dog {
  position: absolute;
  right: -17.1%;
  bottom: 11.3%;
  width: clamp(120px, 12vw, 190px);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.walk-dog img {
  display: block;
  width: 100%;
  filter: brightness(0) invert(12%);
}

.walk-dog.is-walking {
  opacity: 1;
  animation: dogWalkIn 3.5s linear forwards;
}

.walk-person {
  position: absolute;
  right: -30%;
  bottom: 3%;
  width: clamp(155px, 16.5vw, 250px);
  opacity: 0;
  pointer-events: none;
  z-index: 9;
}

.walk-person img {
  display: block;
  width: 100%;
  filter: brightness(0) invert(12%);
}

.walk-greeting {
  position: absolute;
  top: -2%;
  left: -15%;
  width: 125%;
  overflow: visible;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms ease, transform 600ms ease;
  pointer-events: none;
}

.walk-greeting text {
  fill: rgba(255, 255, 255, 0.78);
  font-family: "Caveat", cursive;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.walk-person.is-walking {
  opacity: 1;
  animation: personWalkIn 3.5s linear forwards;
}

.walk-person.has-greeting .walk-greeting {
  opacity: 1;
  transform: translateY(0);
}

@keyframes dogWalkIn {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-55vw);
  }
}

@keyframes personWalkIn {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-55vw);
  }
}

@media (max-width: 760px) {
  .about {
    height: auto;
    min-height: 760px;
  }

  .about-panel {
    width: 88%;
    height: auto;
    min-height: auto;
    margin: 80px auto 56px 6%;
    padding: 58px 9% 52px;
  }

  .about-panel .section-number {
    top: 128px;
    left: 48%;
    font-size: 88px;
  }

  .about-panel .section-content h2 {
    font-size: 74px;
  }

  .walk-dog {
    width: 110px;
  }

  .walk-person {
    width: 145px;
  }
}

@media (min-width: 761px) and (max-height: 820px) {
  .about {
    min-height: 650px;
    padding: 32px 0;
  }

  .about-panel {
    padding: 38px 6.5%;
  }

  .about-panel .section-content h2 {
    font-size: clamp(64px, 6vw, 110px);
    margin-bottom: 18px;
  }

  .about-panel .section-content h3 {
    margin-bottom: 14px;
    font-size: 27px;
  }

  .about-panel .section-content p:not(.about-label):not(.about-note) {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
  }

  .about-note {
    margin-top: 12px;
  }
}
