/* ===============================
   CHI SONO PAGE STYLES
   =============================== */

/* Section 1 */
.cs-section-1 {
  height: 100vh;
  background: linear-gradient(var(--color-cream) 90vh, white 0);
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 4rem;
  padding: 2rem 4rem;
  padding-top: 80px;
  padding-left: max(2rem, 10vw);
  position: relative;
}

.cs-section-1-deco1 {
  z-index: 0;
  position: absolute;
  height: 35vh;
  width: 35vw;
  left: -17vw;
  bottom: 25vh;
  animation: float 30s linear infinite;
}

.cs-presentation-short {
  max-width: 550px;
  flex: 0 1 auto;
  z-index: 2;
  animation: fadeInRight 0.5s ease-out;
  text-align: justify;
}

.cs-presentation-short h2 {
  color: var(--color-ink);
  font-weight: 400;
  margin-bottom: 1.5rem;
  font-size: 31px;
}

.cs-presentation-short em {
  color: var(--color-ruby);
  font-weight: 600;
  font-style: normal;
}

.cs-presentation-short a {
  text-decoration: underline;
  color: #989c58;
  font-weight: 600;
  margin-left: -5px;
}

.cs-presentation-short p {
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  color: var(--color-ink);
  line-height: 34px;
}

.cs-presentation-short p:last-child {
  margin-bottom: 0;
}

.cs-portrait-container {
  position: relative;
  flex-shrink: 0;
  width: clamp(400px, 45vw, 600px);
  height: clamp(350px, 30vh, 400px);
}

.cs-portrait {
  height: 100%;
  position: relative;
  display: block;
  z-index: 2;
  object-fit: cover;
  border-radius: 10px;
}

.cs-section-1-deco2 {
  position: absolute;
  left: -25%;
  bottom: -43%;
  width: 60%;
  height: auto;
  z-index: 1;
  animation: rotate 30s linear infinite;
}

/* Section 2 */
.cs-section-2 {
  height: auto;
  background-color: white;
  text-align: center;
  padding: 0 3rem 3rem;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
}

.cs-presentation-long {
  text-align: justify;
  max-width: 550px;
  flex: 0 1 auto;
  z-index: 2;
  animation: fadeInRight 0.8s ease-out;
}

.cs-section-2 p {
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  color: var(--color-ink);
  line-height: 34px;
}

.cs-portrait-2 {
  width: 300px;
  height: 500px;
}

.cs-books {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

/* ===============================
   RESPONSIVE STYLES - CHI SONO
   =============================== */

@media (max-width: 1024px) {
  .cs-section-1 {
    flex-direction: column;
    min-height: auto;
    padding: 2rem 0 0 0;
    gap: 0;
  }

  .cs-section-2 {
    height: auto;
    margin: 5vh 0;
    padding: 4rem;
  }

  .cs-section-1-deco1 {
    display: none;
  }

  .cs-presentation-short {
    padding: 3rem 3rem 0;
    order: 1;
    max-width: 100%;
    flex: 0 1 auto;
    text-align: center;
  }

  .cs-presentation-short h2 {
    font-size: 30px;
  }

  .cs-presentation-short p {
    text-align: center;
  }

  .cs-portrait-container {
    order: 2;
    width: 580px;
    height: 40vh;
    margin-left: 34px;
    padding: 10px;
  }

  .cs-section-1-deco2 {
    display: none;
  }

  .cs-presentation-long {
    text-align: center;
  }

  .cs-portrait-2 {
    display: none;
  }

  .cs-portrait {
    width: 60vw;
    height: auto;
  }
}

@media (max-width: 768px) {
  .cs-portrait {
    width: auto;
    height: 32vh;
    margin-left: 56px;
  }

  .cs-section-2 {
    padding: 0 3rem;
    margin: 0 !important;
  }

  p {
    font-size: 1.1rem !important;
  }

  .right-column p {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 480px) {
  .cs-portrait {
    width: 80vw;
    height: auto;
    margin-left: 20vw;
  }
}

@media (max-width: 378px) {
  .cs-portrait {
    width: 80vw;
    height: auto;
    margin-left: 35vw;
  }
}
