/* ==========================================
   FOUNDER / ABOUT US SECTION
   Template: Lyria (About Your Host)
   ========================================== */

.founder {
  background-color: #0A0E27;
  padding: clamp(6rem, 10vh, 12rem) 0;
  position: relative;
  overflow: hidden;
}

.founder__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: center;
}

/* ==========================================
   LEFT COLUMN: TEXT CONTENT
   ========================================== */

.founder__text {
  max-width: 600px;
}

.founder__heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9;
  color: #ffffff;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.founder__bio {
  margin-bottom: 3rem;
}

.founder__bio p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.founder__bio p:last-child {
  font-weight: 600;
  color: #4d65ff;
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  margin-bottom: 0;
}

/* ==========================================
   PORTFOLIO CARDS
   ========================================== */

.founder__portfolio {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.portfolio-card {
  background: rgba(77, 101, 255, 0.05);
  border: 1px solid rgba(77, 101, 255, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.portfolio-card:hover {
  background: rgba(77, 101, 255, 0.1);
  border-color: rgba(77, 101, 255, 0.4);
  transform: translateY(-2px);
}

.portfolio-card__title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #4d65ff;
  margin-bottom: 0.5rem;
}

.portfolio-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.portfolio-card__link {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #4d65ff;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}

.portfolio-card__link:hover {
  color: #6b82ff;
  text-decoration: underline;
}

/* ==========================================
   RIGHT COLUMN: CSS ART (MON CREST)
   ========================================== */

.founder__art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.mon-crest {
  position: relative;
  width: clamp(300px, 35vw, 500px);
  height: clamp(300px, 35vw, 500px);
  filter: drop-shadow(0 0 40px rgba(77, 101, 255, 0.3));
}

/* Outer Ring */
.mon-crest__outer-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid #4d65ff;
  border-radius: 50%;
  opacity: 0.6;
}

.mon-crest__outer-ring::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 1px solid #4d65ff;
  border-radius: 50%;
  opacity: 0.3;
}

/* Inner Ring */
.mon-crest__inner-ring {
  position: absolute;
  top: 15%;
  left: 15%;
  width: 70%;
  height: 70%;
  border: 2px solid #4d65ff;
  border-radius: 50%;
  opacity: 0.8;
}

.mon-crest__inner-ring::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  border: 1px solid #4d65ff;
  border-radius: 50%;
  opacity: 0.4;
}

/* Core (Center) */
.mon-crest__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  height: 40%;
  background: linear-gradient(135deg,
    rgba(77, 101, 255, 0.2) 0%,
    rgba(77, 101, 255, 0.05) 100%);
  border: 2px solid #4d65ff;
  border-radius: 50%;
  box-shadow:
    inset 0 0 20px rgba(77, 101, 255, 0.3),
    0 0 30px rgba(77, 101, 255, 0.2);
}

/* Circuit Board Lines */
.mon-crest__circuit {
  position: absolute;
  background: #4d65ff;
  opacity: 0.7;
}

.mon-crest__circuit--1 {
  width: 120%;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
}

.mon-crest__circuit--2 {
  width: 120%;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
}

.mon-crest__circuit--3 {
  width: 120%;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.mon-crest__circuit--4 {
  width: 120%;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Circuit Nodes */
.mon-crest__nodes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mon-crest__node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #4d65ff;
  border: 2px solid #0A0E27;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(77, 101, 255, 0.8);
}

.mon-crest__node--1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.mon-crest__node--2 {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.mon-crest__node--3 {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.mon-crest__node--4 {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

/* Subtle Animation */
@keyframes pulse-glow {
  0%, 100% {
    filter: drop-shadow(0 0 40px rgba(77, 101, 255, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 60px rgba(77, 101, 255, 0.5));
  }
}

.mon-crest {
  animation: pulse-glow 4s ease-in-out infinite;
}

/* ==========================================
   RESPONSIVE LAYOUT
   ========================================== */

@media (max-width: 768px) {
  .founder__inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .founder__text {
    max-width: 100%;
    order: 1;
  }

  .founder__art {
    order: 2;
  }

  .founder__portfolio {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .portfolio-card {
    padding: 1.25rem;
  }

  .mon-crest {
    width: clamp(250px, 70vw, 350px);
    height: clamp(250px, 70vw, 350px);
  }
}

@media (max-width: 480px) {
  .founder {
    padding: clamp(4rem, 8vh, 6rem) 0;
  }

  .founder__heading {
    margin-bottom: 1.5rem;
  }

  .founder__bio {
    margin-bottom: 2rem;
  }

  .founder__portfolio {
    margin-top: 2rem;
  }

  .portfolio-card__title {
    font-size: 1.125rem;
  }
}

/* Art Frame - torii-radar SVG replacement */
.founder__art-frame {
  position: relative;
  width: clamp(300px, 35vw, 500px);
  height: clamp(300px, 35vw, 500px);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 40px rgba(77, 101, 255, 0.4));
}

.founder__art-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
}
