/* ===== CASE HERO ===== */
.cs-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  @media (max-width: 64rem) {
    min-height: 72vh;
    padding-bottom: 4rem;
  }

  @supports (-webkit-touch-callout: none) {
    background-attachment: scroll;
  }

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(10, 8, 40, 0.6) 0%,
      rgba(10, 8, 40, 0.3) 50%,
      rgba(10, 8, 40, 0.8) 100%
    );
    z-index: 1;
  }

  .cs-hero-content {
    position: relative;
    width: 100%;
    z-index: 2;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    flex: 1;
    margin: 12rem auto;
  }

  h1 {
    font-family: var(--font-sub);
    font-size: clamp(2.5rem, 10vw, 7rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #fff;
    text-shadow: 0 0 30px #1e2eaf40;
    margin: 1.5rem 0;

    .cs-hero-sub {
      display: block;
      font-size: clamp(0.8rem, 2vw, 1.5rem);
      font-weight: 300;
      letter-spacing: 0.25em;
      opacity: 0.75;
      margin: 1.5rem;
      text-shadow: none;
    }
  }

  h2 {
    font-family: var(--font-sub);
    font-size: clamp(1.3rem, 4vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    color: white;

    @media (max-width: 48rem) {
      font-size: 1.3rem;
    }
  }

  .cs-hero-client {
    font-size: 1rem;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-bottom: 1.25rem;
    font-family: var(--font-sub);
    margin-top: auto;
  }
}

/* ===== MAIN CONTENT ===== */
.cs-main {
  background: var(--bg-color);
  padding: 1.5rem 0 8rem;
  position: relative;
  z-index: 3;

  @media (max-width: 48rem) {
    padding: 3.5rem 0 5rem;
  }

  /* ===== POINTS SECTION ===== */
  .cs-points-section {
    margin-bottom: 5rem;

    .cs-section-title {
      font-family: var(--font-sub);
      font-size: clamp(2.5rem, 10vw, 7rem);
      font-weight: 100;
      letter-spacing: -0.03em;
      display: block;
      text-align: left;
      margin: 0;
      background: linear-gradient(
        135deg,
        rgb(var(--title-c1-r) var(--title-c1-g) var(--title-c1-b)) 0%,
        rgb(var(--title-c2-r) var(--title-c2-g) var(--title-c2-b)) 44%,
        rgb(var(--title-c3-r) var(--title-c3-g) var(--title-c3-b)) 100%
      );
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .cs-points-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.25rem;

      @media (max-width: 64rem) {
        grid-template-columns: 1fr;
        gap: 1rem;
      }

      @media (max-width: 48rem) {
        gap: 0.75rem;
      }
    }

    .cs-point-card {
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: 1px solid var(--glass-border);
      box-shadow: var(--glass-shadow);
      border-radius: 0.5rem;
      padding: 2rem 1.75rem;

      img {
        width: 100%;
        height: 12rem;
        object-fit: cover;
        border-radius: 0.5rem;
      }

      .cs-point-num {
        font-family: var(--font-sub);
        font-size: 3rem;
        font-weight: 100;
        color: var(--accent-color);
        opacity: 0.75;
        line-height: 1;
        margin-bottom: 1rem;
      }

      .cs-point-text {
        font-size: 1rem;
        line-height: 1.5;
        color: var(--text-color);
        padding-top: 1rem;
      }
    }
  }

  /* ===== CONTENT SECTIONS ===== */
  .cs-section {
    margin-bottom: 3rem;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 0.5rem;
    padding: 2.75rem 3rem;
    overflow: hidden;

    @media (max-width: 64rem) {
      padding: 2rem;
    }

    @media (max-width: 48rem) {
      padding: 1.5rem;
    }

    .cs-section-header {
      display: flex;
      align-items: flex-start;
      gap: 2rem;
      margin-bottom: 2rem;
      padding-bottom: 1.5rem;
      border-bottom: 1px solid rgba(0, 0, 0, 0.07);

      @media (max-width: 64rem) {
        flex-direction: column;
        gap: 0.5rem;
      }

      .cs-section-label-wrap {
        flex-shrink: 0;
        width: 100%;

        @media (max-width: 64rem) {
          width: auto;
        }

        .cs-section-label {
          font-size: 0.65rem;
          letter-spacing: 0.25em;
          text-transform: uppercase;
          color: var(--accent-color);
          font-family: var(--font-sub);
          display: block;
          margin-bottom: 0.4rem;
        }
      }

      h2 {
        width: 100%;
        font-size: 2rem;
        font-weight: 500;
        color: var(--main-color);
        line-height: 1.4;
      }
    }

    h3 {
      font-size: 1.25rem;
      font-weight: 500;
      line-height: 1.2;
      color: var(--text-color);
      margin-bottom: 2.5rem;
    }

    p {
      font-size: 1rem;
      line-height: 1.5;
      color: var(--text-color);
      margin-bottom: 1.25rem;

      &:last-child {
        margin-bottom: 0;
      }
    }

    a {
      color: #0184c8;
    }

    .cs-caption {
      display: block;
      padding: 1rem;
      margin-top: 0.5rem;
    }

    .cs-interview-photos {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      margin-bottom: 1.5rem;
      max-width: 55%;

      @media (max-width: 64rem) {
        max-width: 100%;
      }

      @media (max-width: 48rem) {
        max-width: 100%;
      }

      .cs-interview-photo {
        position: relative;
        border-radius: 0.5rem;
        overflow: hidden;

        img {
          width: 100%;
          aspect-ratio: 3/2;
          object-fit: cover;
          display: block;
        }

        figcaption {
          position: absolute;
          bottom: 0;
          left: 0;
          right: 0;
          padding: 1.5rem 1.75rem;
          background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.75) 0%,
            transparent 100%
          );
          color: white;
          display: flex;
          flex-direction: row;
          gap: 0.25rem 2rem;
          justify-content: space-between;

          @media (max-width: 48rem) {
            padding: 1rem 0.5rem;
            gap: 0.5rem;
          }

          .cs-photo-person {
            strong {
              display: block;
              font-size: 1.5rem;
              font-weight: 500;
              margin-bottom: 0.5rem;

              @media (max-width: 48rem) {
                font-size: 1rem;
              }
            }

            .cs-interviewee-company {
              font-size: 0.75rem;
              opacity: 0.8;
              font-family: var(--font-sub);
              line-height: 1.2;

              @media (max-width: 48rem) {
                font-size: 0.5rem;
              }
            }
          }
        }
      }
    }

    .cs-content-img {
      float: right;
      width: 40%;
      border-radius: 0.75rem;
      aspect-ratio: 4/3;
      object-fit: cover;
      margin: 0 0 1.5rem 2rem;

      @media (max-width: 48rem) {
        float: none;
        width: 100%;
        margin: 1.25rem 0;
      }
    }

    .cs-content-imgs {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.875rem;
      margin: 1.75rem 0;

      @media (max-width: 56rem) {
        grid-template-columns: 1fr;
      }

      img {
        width: 100%;
        display: block;
        border-radius: 0.75rem;
        aspect-ratio: 4/3;
        object-fit: cover;
      }
    }
  }
}

.cs-remark {
  p {
    font-size: 0.75rem;
    margin: 0.5rem;

    @media (max-width: 32rem) {
      font-size: 0.5rem;
    }
  }

  a {
    color: #0184c8;
  }
}

/* ===== BACK LINK ===== */
.cs-back {
  padding: 2rem 0 5rem;
  text-align: center;

  a {
    display: inline-flex;
    align-items: center;
    background: var(--glass-bg);
    padding: 1rem 4rem;
    gap: 0.75rem;
    font-family: var(--font-sub);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--main-color);
    text-decoration: none;
    border-radius: 10rem;
    border: 1px solid rgba(14, 13, 106, 0.5);

    &:hover {
      opacity: 0.9;
    }
  }
}
