/* =========================================================
   Srinath Collective - Philosophy section
   Scoped classes prevent conflicts with existing theme CSS.
   ========================================================= */

.sc-philosophy,
.sc-philosophy * {
  box-sizing: border-box;
}

.sc-philosophy {
  width: 100%;
  padding: clamp(58px, 8vw, 112px) 0 clamp(54px, 7vw, 96px);
  background: #ffffff;
  overflow: hidden;
}

.sc-philosophy__container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.sc-philosophy__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(54px, 5vw, 118px);
  margin-bottom: clamp(56px, 8vw, 98px);
}

.sc-philosophy__visuals {
  position: relative;
  width: 100%;
  min-height: 470px;
}

.sc-philosophy__image {
  position: absolute;
  display: block;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 18px 45px rgba(25, 25, 25, 0.08);
}

.sc-philosophy__image--back {
  top: 0;
  left: 0;
  width: 75%;
  height: 82%;
  z-index: 1;
}

.sc-philosophy__image--front {
  right: 0;
  bottom: 30px;
  width: 65%;
  height: 70%;
  z-index: 3;
}

.sc-philosophy__image--small {
  top: 24%;
  left: 44%;
  width: 36%;
  height: 42%;
  z-index: 2;
}

.sc-philosophy__content {
  max-width: 520px;
  color: #565656;
}

.sc-philosophy__label-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sc-philosophy__line {
  width: 34px;
  height: 1px;
  background: #b88c54;
  flex: 0 0 auto;
}

.sc-philosophy__label {
  color: #b88c54;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sc-philosophy__title {
  margin: 0 0 22px;
  color: #272525;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.6vw, 66px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.sc-philosophy__title span {
  font-style: italic;
  font-weight: 400;
}

.sc-philosophy__content p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.8;
}

.sc-philosophy__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 16px;
  padding: 0 21px;
  border: 1px solid #1f1f1f;
  background: #1f1f1f;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

.sc-philosophy__button:hover,
.sc-philosophy__button:focus-visible {
  background: transparent;
  color: #1f1f1f !important;
}

.sc-philosophy__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7.8;
  min-height: 360px;
  overflow: hidden;
  border-radius: 5px;
  background: #ece9e4;
}

.sc-philosophy__video > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.sc-philosophy__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  background: #eeb24f;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sc-philosophy__play:hover,
.sc-philosophy__play:focus-visible {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.sc-philosophy__play span {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #ffffff;
  transform: translate(-50%, -50%);
}

@media (max-width: 991px) {
  .sc-philosophy__container {
    width: min(100% - 36px, 760px);
  }

  .sc-philosophy__intro {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .sc-philosophy__visuals {
    width: min(620px, 100%);
    min-height: 520px;
    margin: 0 auto;
  }

  .sc-philosophy__content {
    max-width: 680px;
  }

  .sc-philosophy__video {
    min-height: 300px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 600px) {
  .sc-philosophy {
    padding: 54px 0 60px;
  }

  .sc-philosophy__container {
    width: calc(100% - 28px);
  }

  .sc-philosophy__intro {
    gap: 30px;
    margin-bottom: 44px;
  }

  .sc-philosophy__visuals {
    min-height: 390px;
  }

  .sc-philosophy__image--back {
    width: 64%;
    height: 75%;
  }

  .sc-philosophy__image--small {
    top: 25%;
    left: 40%;
    width: 39%;
    height: 39%;
  }

  .sc-philosophy__image--front {
    width: 54%;
    height: 62%;
  }

  .sc-philosophy__title {
    font-size: clamp(34px, 11vw, 48px);
  }

  .sc-philosophy__content p {
    font-size: 13px;
    line-height: 1.75;
  }

  .sc-philosophy__video {
    min-height: 220px;
  }

  .sc-philosophy__play {
    width: 54px;
    height: 54px;
  }
}


.video-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
}

.video-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(1000px, 94vw);
  overflow: hidden;
  border-radius: 5px;
  background: #000000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.video-frame {
  position: relative;
  width: 100%;
  background: #000000;
}

.video-frame video {
  width: 100%;
  max-height: 85vh;
  display: block;
  background: #000000;
}

body.video-modal-open {
  overflow: hidden;
}