/* ── MOBILE FIRST ── */
.studio-about {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.studio-main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.studio-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 100px 32px 60px;
  gap: 40px;
  box-sizing: border-box;
}

.studio-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

#orb-canvas {
  width: 280px;
  height: 280px;
  display: block;
}

.studio-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.studio-text h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2em, 7vw, 4.5em);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

.studio-ps p {
  font-family: "Montserrat", sans-serif;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(0.9em, 1.5vw, 1.05em);
  line-height: 1.75;
  margin: 0 0 12px 0;
}

.studio-ps p + p {
  display: none;
}

.studio-cta,
.ech81 {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 1em;
  font-weight: 500;
  color: white;
  background: rgba(100, 70, 160, 0.6);
  border: 1px solid rgba(180, 130, 255, 0.3);
  border-radius: 40px;
  padding: 14px 36px;
  cursor: pointer;
  width: fit-content;
  align-self: center;
  text-decoration: none;
  transition: background 0.2s;
}

.studio-cta:hover,
.ech81:hover {
  background: rgba(120, 90, 190, 0.8);
}

/* ── TEAM SECTION (all breakpoints) ── */
.team-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 40px 20px;
}

.team-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2),
              0 0 20px rgba(180, 120, 255, 0.15);
  z-index: 1;
}

#star-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.team-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.team-content h2 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.8em, 3.5vw, 4em);
  font-weight: 400;
  color: white;
  margin-bottom: 60px;
  text-align: center;
}

/* ── TEAM GRID — mobile: single column ── */
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.team-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  width: 160px;
  flex-shrink: 0;
}

.team-member img,
.team-photo-blank {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-photo-blank {
  background: rgba(255, 255, 255, 0.08);
}

.team-member:hover img,
.team-member:hover .team-photo-blank {
  transform: scale(1.06);
  box-shadow: 0 0 20px rgba(160, 80, 255, 0.5);
}

.team-member span {
  font-family: "Montserrat", sans-serif;
  color: white;
  font-size: 0.9em;
  text-align: center;
}

/* ── BIO MODAL ── */
.bio-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.bio-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 101;
  width: 90%;
  max-width: 700px;
  background: rgba(220, 220, 240, 0.25);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px;
}

.bio-modal.hidden,
.bio-overlay.hidden {
  display: none;
}

.bio-modal-inner {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
}

.bio-modal img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.bio-text h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.2em;
  color: white;
  margin-bottom: 12px;
}

.bio-text p {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95em;
  color: white;
  line-height: 1.7;
}

.bio-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.4em;
  color: white;
  cursor: pointer;
}

/* ── DESKTOP ── */
@media (min-width: 900px) {
  .studio-about {
    min-height: 100vh;
  }

  .studio-main {
    padding: 0;
  }

  .studio-inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    min-height: 100vh;
  }

  .studio-image {
    flex: 1;
    display: flex !important;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }

  #orb-canvas {
    width: clamp(300px, 35vw, 520px);
    height: clamp(300px, 35vw, 520px);
    display: block;
  }

  .studio-text {
    flex: 1;
    text-align: left;
    gap: 28px;
    padding: 0 80px 0 20px;
  }

  .studio-text h1 {
    font-size: clamp(2.5em, 5vw, 5em);
  }

  .studio-ps p {
    font-size: clamp(0.9em, 1.2vw, 1.05em);
  }

  .studio-ps p + p {
    display: none;
  }

  .studio-cta {
    align-self: flex-start;
  }

  .team-section {
    padding: 60px;
  }

  .team-grid {
    gap: 50px;
  }

  .team-row {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: clamp(20px, 3vw, 50px);
    width: auto;
  }

  .team-member {
    width: clamp(80px, 10vw, 140px);
  }

  .team-member img,
  .team-photo-blank {
    width: clamp(80px, 10vw, 140px);
    height: clamp(80px, 10vw, 140px);
  }

  .team-member span {
    font-size: clamp(0.65em, 1vw, 0.85em);
  }
}

/* ─────────────────────────────────────────
   WHO WE ARE SECTION
───────────────────────────────────────── */

.who-we-are {
  position: relative;
  min-height: 100vh;
  background: #2d1a5e;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.who-we-are-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 32px 0;
  box-sizing: border-box;
}

/* ── Title row with dotted lines ── */
.title-div {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
}

.title-div::before,
.title-div::after {
  content: '';
  flex: 1;
  height: 2px;
  background-image: repeating-linear-gradient(
    to right,
    rgba(255,255,255,0.5) 0px,
    rgba(255,255,255,0.5) 4px,
    transparent 4px,
    transparent 10px
  );
}

.title-div h1 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.6em, 4vw, 3em);
  font-weight: 400;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
  white-space: nowrap;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.title-div .dotted {
  display: none;
}

/* ── Two-column text ── */
.who-text-div {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 0 0 40px;
  position: relative;
  z-index: 1;
}

.duke-text,
.trust-text {
  max-width: 520px;
}

.duke-text h3,
.trust-text h3 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1em, 1.8vw, 1.3em);
  font-weight: 700;
  color: white;
  margin: 0 0 20px 0;
}



.duke-text p,
.trust-text p {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.9em, 1.3vw, 1em);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin: 0;
}

/* ── Half circle bottom ── */
.circle-img {
  position: absolute;
  bottom: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.circle-img img {
  width: 100%;
  display: block;
}

/* ── DESKTOP ── */
@media (min-width: 900px) {
  .who-we-are-box {
    padding: 80px 80px 0;
  }

  .who-text-div {
    flex-direction: row;
    gap: 120px;
    align-items: flex-start;
    padding-bottom: 200px;
  }

  .duke-text,
  .trust-text {
    flex: 1;
  }

  .circle-img {
    bottom: 0;
    width: 110%;
    transform: translate(-50%, 90%);
  }
}

/* ─────────────────────────────────────────
   ECH8 SECTION
───────────────────────────────────────── */

.ech8 {
  position: relative;
  min-height: 100vh;
  background: #0f1f4a;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ech8-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  padding: 60px 32px;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
}

.ech8-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ech8-text h1 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: 400;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.ech8-text p {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.95em, 1.5vw, 1.15em);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin: 0;
  max-width: 480px;
}

.learnmore {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95em;
  font-weight: 500;
  color: white;
  background: rgba(180, 60, 140, 0.7);
  border: none;
  outline: none;
  border-radius: 40px;
  padding: 14px 36px;
  cursor: pointer;
  width: fit-content;
  transition: background 0.2s;
  text-decoration: none;
}

.learnmore:hover {
  background: rgba(200, 80, 160, 0.9);
}

.language-img {
  width: 100%;
  display: flex;
  justify-content: center;
}

.language-img img {
  width: 100%;
  max-width: 600px;
  border-radius: 24px;
  display: block;
}

/* ── DESKTOP ── */
@media (min-width: 900px) {
  .ech8-div {
    flex-direction: row;
    align-items: center;
    gap: 80px;
    padding: 0 80px;
    min-height: 100vh;
  }

  .ech8-text {
    flex: 1;
  }

  .language-img {
    flex: 1;
    justify-content: flex-end;
  }

  .language-img img {
    max-width: 100%;
  }
}