/* Team homepage: a bold opening and compact mentor photo galleries. */
body[data-layout="home"].home--team .brand__link { letter-spacing: -.055em; }
body.home--team .brand__accent { color: var(--accent); }

body[data-layout="home"].home--team .hero {
  --text: #fff;
  --muted: #e9efff;
  --muted-2: #dce7ff;
  padding: 64px 0 36px;
  background: #2e61d3;
  color: #fff;
}
body[data-layout="home"].home--team .hero__grid { display: block; }
body.home--team .hero__copy { max-width: 980px; margin-inline: auto; text-align: center; }
body[data-layout="home"].home--team .hero .kicker { margin: 0 0 22px; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .16em; }
body[data-layout="home"].home--team .hero__copy h1 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(60px, 8vw, 104px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.055em;
  text-align: center;
}
body.home--team .hero__copy h1 > span { color: #cde0ff; }
body.home--team .hero__mentor-promise { max-width: 740px; margin: 0 auto 22px; color: #fff; font-size: 17px; line-height: 1.7; }
body[data-layout="home"].home--team .hero .lead { max-width: 760px; margin: 0 auto; color: #e9efff; font-size: 18px; line-height: 1.7; }
body.home--team .hero .lead strong { color: #fff; }
body[data-layout="home"].home--team .hero__cta { justify-content: center; gap: 12px; margin: 28px 0 20px; }
body[data-layout="home"].home--team .hero .btn { min-height: 50px; gap: 20px; padding: 14px 22px; }
body[data-layout="home"].home--team .hero .btn--primary { color: #244fac; background: #fff; border: 1px solid #fff; }
body[data-layout="home"].home--team .hero .btn--primary:hover { background: #edf3ff; border-color: #edf3ff; }
body[data-layout="home"].home--team .hero .btn--secondary { color: #fff; background: transparent; border: 1px solid #b4caf5; }
body[data-layout="home"].home--team .hero .btn--secondary:hover { background: #ffffff12; }
body.home--team .hero a:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
body[data-layout="home"].home--team .hero .chips { justify-content: center; }
body[data-layout="home"].home--team .hero .chip { border-color: #ffffff55; background: transparent; color: #edf3ff; }
body[data-layout="home"].home--team .hero__copy > .micro { color: #e1eaff; margin-top: 14px; }
body.home--team .hero__copy > .micro a { color: #fff; }
body[data-layout="home"].home--team .hero__benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; border-top: 1px solid #ffffff40; margin: 32px 0 0; padding: 24px 0 0; }
body[data-layout="home"].home--team .hero__benefits li { color: #fff; font-size: 13px; line-height: 1.65; }
body[data-layout="home"].home--team .hero__benefits li::before { background: #cde0ff; flex-shrink: 0; }
body[data-layout="home"].home--team #focus > .container { border-top: 0; padding-top: 48px; }

body.home--team #mentors, body.home--team .legacy-anchor { scroll-margin-top: 8px; }
body.home--team .legacy-anchor { display: block; }
body[data-layout="home"].home--team #mentors .section__head { gap: 12px; }
body[data-layout="home"].home--team #mentors .section__head .kicker { font-size: 10px; margin: 0; }
body.home--team .mentor-list { display: grid; gap: 24px; }
body.home--team .mentor-card {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
body.home--team .mentor-card__media { min-width: 0; }
body.home--team .mentor-carousel { width: 100%; position: relative; }
body.home--team .mentor-carousel__viewport { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: #e9edf3; touch-action: pan-y; }
body.home--team .mentor-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; overflow: hidden; }
body.home--team .mentor-card__photo[hidden], body.home--team .mentor-carousel__controls[hidden] { display: none; }
body.home--team .mentor-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
body.home--team .mentor-card__photo--match img { object-position: center top; }
body.home--team .mentor-card__photo--founder-portrait img { object-position: center 15%; }
body.home--team .mentor-card__photo--casa-pia img { object-position: center bottom; }
body.home--team .mentor-card__photo--media-day img { object-position: center 65%; transform: scale(2.7); transform-origin: 54% 30%; }
body.home--team .mentor-carousel__controls { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
body.home--team .mentor-carousel__arrow { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--text); font-size: 21px; cursor: pointer; }
body.home--team .mentor-carousel__arrow:hover { background: var(--accent-soft); border-color: var(--accent); }
body.home--team .mentor-carousel__dots { display: flex; justify-content: center; flex: 1; min-width: 0; }
body.home--team .mentor-carousel__dot { display: grid; place-items: center; flex: 1; min-width: 24px; max-width: 36px; min-height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
body.home--team .mentor-carousel__dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #becadc; }
body.home--team .mentor-carousel__dot[aria-pressed="true"]::after { width: 9px; height: 9px; background: var(--accent); }
body.home--team .mentor-carousel__status { min-width: 28px; margin: 0; text-align: center; color: var(--muted); font-size: 11px; }
body.home--team .mentor-card__copy { min-width: 0; padding: 0; align-self: center; }
body.home--team .mentor-card__role { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .15em; line-height: 1.6; text-transform: uppercase; margin: 0 0 12px; }
body[data-layout="home"].home--team .mentor-card h3 { font-size: 34px; margin: 0 0 16px; line-height: 1.2; }
body.home--team .mentor-card__intro { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 0 0 22px; max-width: 70ch; }
body.home--team .mentor-card__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
body.home--team .mentor-card__facts li { position: relative; padding-left: 17px; font-size: 13px; line-height: 1.7; }
body.home--team .mentor-card__facts li::before { content: ""; position: absolute; top: 9px; left: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
body.home--team .mentor-card__facts strong { font-weight: 600; }
body.home--team .mentor-card--founder .mentor-card__facts strong { font-weight: 700; }
body.home--team .mentor-card__availability { display: inline-block; margin: 16px 0 0; padding: 6px 10px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 11px; line-height: 1.6; }
body.home--team .founder-story { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
body.home--team .founder-story h4 { margin: 0 0 12px; font-size: 18px; line-height: 1.3; letter-spacing: -.025em; }
body.home--team .founder-story p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
body.home--team .mentors-next { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; }
body.home--team .mentors-next p { margin: 0; color: var(--muted); font-size: 14px; }
body.home--team .mentors-next .btn { gap: 16px; flex-shrink: 0; }

@media (min-width: 761px) and (max-width: 1000px) {
  body[data-layout="home"].home--team .hero { padding-top: 52px; }
  body.home--team .mentor-card { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); padding: 26px; gap: 28px; }
  body[data-layout="home"].home--team .mentor-card h3 { font-size: 30px; }
}
@media (max-width: 760px) {
  body[data-layout="home"].home--team .hero { padding: 42px 0 28px; }
  body[data-layout="home"].home--team .hero .kicker { font-size: 11px; letter-spacing: .13em; margin-bottom: 22px; }
  body[data-layout="home"].home--team .hero__copy h1 { font-size: clamp(34px, 10.3vw, 72px); line-height: 1.06; margin-bottom: 22px; }
  body.home--team .hero__mentor-promise { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
  body[data-layout="home"].home--team .hero .lead { font-size: 16px; line-height: 1.7; }
  body[data-layout="home"].home--team .hero__cta { max-width: 440px; margin: 24px auto 20px; }
  body[data-layout="home"].home--team .hero .btn { min-height: 50px; }
  body[data-layout="home"].home--team .hero__benefits { grid-template-columns: 1fr; gap: 12px; margin-top: 26px; padding-top: 24px; }
  body[data-layout="home"].home--team .hero__benefits li { font-size: 13px; text-align: left; }
  body[data-layout="home"].home--team #focus > .container { padding-top: 32px; }
  body.home--team .mentor-list { gap: 20px; }
  body.home--team .mentor-card { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
  body.home--team .mentor-card__media { width: 100%; max-width: 380px; margin-inline: auto; }
  body.home--team .mentor-card__copy { padding: 0; }
  body[data-layout="home"].home--team .mentor-card h3 { font-size: 29px; }
  body.home--team .mentor-card__intro { font-size: 15px; line-height: 1.75; }
  body.home--team .founder-story { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; }
  body.home--team .mentors-next { flex-direction: column; align-items: stretch; gap: 16px; padding-top: 20px; }
  body.home--team .mentors-next p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.home--team) { scroll-behavior: auto; }
}

/* Modern editorial presentation: matte surfaces, clear hierarchy, restrained depth. */
body[data-layout="home"].home--team {
  background: #f5f6f8;
  --surface-shadow: 0 8px 28px #13233708;
}
body[data-layout="home"].home--team .site-header {
  background: #fffffffa;
  border-bottom: 1px solid #e3e7ed;
  backdrop-filter: blur(12px);
  box-shadow: none;
}
body[data-layout="home"].home--team .hero {
  padding: 66px 0 32px;
  background: #132232;
  color: #f9fafb;
  box-shadow: none;
}
body.home--team .hero__copy { max-width: none; text-align: left; }
body[data-layout="home"].home--team .hero .kicker {
  display: block; margin: 0 0 28px; padding: 0;
  border: 0; border-radius: 0; background: none; box-shadow: none;
  color: #a8bbcd; font-size: 11px; letter-spacing: .2em;
}
body[data-layout="home"].home--team .hero__copy h1 {
  margin: 0 0 44px; font-size: clamp(60px, 8.8vw, 112px);
  line-height: 1.02; letter-spacing: -.065em; text-align: left;
  color: #fafbfc; text-shadow: none;
}
body.home--team .hero__copy h1 > span { color: #91a9bf; text-shadow: none; }
body.home--team .hero__details { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: start; }
body.home--team .hero__mentor-promise { max-width: 580px; margin: 0 0 14px; color: #f0f3f7; font-size: 17px; line-height: 1.6; }
body[data-layout="home"].home--team .hero .lead { margin: 0; font-size: 16px; line-height: 1.75; color: #b7c3d0; }
body[data-layout="home"].home--team .hero__cta { display: grid; grid-template-columns: 1fr; margin: 0 0 22px; gap: 12px; justify-content: start; }
body[data-layout="home"].home--team .hero .btn { justify-content: space-between; padding: 16px 20px; min-height: 52px; }
body[data-layout="home"].home--team .hero .btn--primary { background: #f7f9fb; border-color: #f7f9fb; color: #132232; }
body[data-layout="home"].home--team .hero .btn--primary:hover { background: #e2e9f0; border-color: #e2e9f0; }
body[data-layout="home"].home--team .hero .btn--secondary { background: transparent; border-color: #536374; color: #f2f5f8; }
body[data-layout="home"].home--team .hero .btn--secondary:hover { background: #223448; border-color: #7d90a3; }
body[data-layout="home"].home--team .hero .chips { justify-content: flex-start; gap: 8px 0; margin: 0; }
body[data-layout="home"].home--team .hero .chip { padding: 0; border: 0; border-radius: 0; color: #aebecd; font-size: 11px; background: transparent; box-shadow: none; }
body.home--team .hero .chip + .chip::before { content: '/'; display: inline-block; margin: 0 10px; color: #697e92; }
body.home--team .hero__actions > .micro { margin: 14px 0 0; color: #9cabbc; font-size: 11px; line-height: 1.7; }
body.home--team .hero__actions > .micro a { color: #d8e3ef; text-decoration: underline; text-underline-offset: 3px; }
body[data-layout="home"].home--team .hero__benefits {
  margin: 42px 0 0; padding: 26px 0 0; gap: 32px;
  border: 0; border-top: 1px solid #ffffff26; border-radius: 0;
  background: none; box-shadow: none; transform: none;
}
body[data-layout="home"].home--team .hero__benefits li { color: #c4d0dc; font-size: 12px; }
body[data-layout="home"].home--team .hero__benefits li::before { width: 4px; height: 4px; border-radius: 0; background: #829ab2; box-shadow: none; }

body[data-layout="home"].home--team .btn,
body.home--team .mentor-carousel__arrow { border-radius: 5px; box-shadow: none; transition: background .15s ease, border-color .15s ease; }
body[data-layout="home"].home--team .btn:hover,
body.home--team .mentor-carousel__arrow:hover { transform: none; box-shadow: none; }
body[data-layout="home"].home--team .btn--primary { background: #315fae; border-color: #315fae; }
body[data-layout="home"].home--team .btn--primary:hover { background: #254d91; border-color: #254d91; }
body[data-layout="home"].home--team .btn--secondary,
body[data-layout="home"].home--team .btn--ghost,
body.home--team .mentor-carousel__arrow { background: #fff; }
body[data-layout="home"].home--team .section { padding-bottom: 64px; }
body[data-layout="home"].home--team .section > .container { padding-top: 28px; border-top: 0; }
body[data-layout="home"].home--team #focus > .container { padding-top: 64px; }
body[data-layout="home"].home--team :is(.card, .step, .home-article-card, .price-card, .faq__item) {
  background: #fff; border: 1px solid #dde3ea; border-radius: 8px;
  box-shadow: var(--surface-shadow);
}
body[data-layout="home"].home--team .step__icon { background: #eff3f8; border: 0; border-radius: 5px; color: #3c5b83; box-shadow: none; transform: none; }
body[data-layout="home"].home--team #mentors { padding-top: 28px; background: #ecf0f4; }
body.home--team .mentor-list { gap: 26px; }
body.home--team .mentor-card { background: #fff; border: 1px solid #dce2e9; border-radius: 8px; box-shadow: var(--surface-shadow); }
body.home--team .mentor-carousel__viewport { border: 0; outline: none; border-radius: 5px; box-shadow: none; }
body.home--team .mentor-card__role { color: #3a5b85; }
body.home--team .mentor-card--founder .mentor-card__role { padding: 0; border: 0; background: none; box-shadow: none; border-radius: 0; }
body.home--team .founder-story { padding: 0; gap: 20px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.home--team .founder-story > div { padding: 24px; background: #f6f8fa; border: 1px solid #dce3eb; border-top: 2px solid #9bafc4; border-radius: 2px; }
body.home--team .founder-story h4 { color: #192c44; }
body[data-layout="home"].home--team .price-card--featured { border: 1px solid #6e8aad; background: #f8fafd; box-shadow: var(--surface-shadow); transform: none; }
body[data-layout="home"].home--team .badge { background: #e6edf5; color: #345375; border-color: #d4dfec; border-radius: 3px; box-shadow: none; }
body[data-layout="home"].home--team .note { background: #eef2f6; border-color: #dfe6ed; border-radius: 6px; }
body[data-layout="home"].home--team .home-article-card:hover { border-color: #9fb0c5; }
body[data-layout="home"].home--team .faq__item[open] { border-color: #9eafc3; }
body[data-layout="home"].home--team .section--cta > .cta {
  --text: #fff; --muted: #c2cedb; --muted-2: #afc0d2;
  background: #132232; border: 1px solid #132232; border-radius: 8px;
  box-shadow: none; color: #fff;
}
body[data-layout="home"].home--team .cta__copy h2 { color: #fff; text-shadow: none; }
body[data-layout="home"].home--team .cta .contact__item { border-color: #ffffff26; background: transparent; }
body[data-layout="home"].home--team .cta :is(.contact__label, .fineprint) { color: #b6c5d6; }
body[data-layout="home"].home--team .cta :is(.contact__value, .contact__value a, .lead-sm) { color: #d9e2ee; }
body[data-layout="home"].home--team .cta :is(.btn--secondary, .btn--ghost) { color: #193354; }
body[data-layout="home"].home--team .cta a:focus-visible { outline-color: #b5d1f0; }
@media (min-width: 761px) and (max-width: 1000px) {
  body.home--team .hero__details { gap: 36px; }
}
@media (max-width: 760px) {
  body[data-layout="home"].home--team .hero { padding: 44px 0 28px; }
  body[data-layout="home"].home--team .hero .kicker { font-size: 10px; margin-bottom: 26px; }
  body[data-layout="home"].home--team .hero__copy h1 { font-size: clamp(34px, 9.6vw, 72px); margin-bottom: 28px; line-height: 1.06; }
  body.home--team .hero__details { grid-template-columns: 1fr; gap: 24px; }
  body.home--team .hero__mentor-promise { font-size: 15px; }
  body[data-layout="home"].home--team .hero .lead { font-size: 15px; }
  body[data-layout="home"].home--team .hero__cta { max-width: none; margin: 0 0 20px; }
  body[data-layout="home"].home--team .hero__benefits { grid-template-columns: 1fr; margin-top: 30px; padding-top: 22px; gap: 12px; }
  body[data-layout="home"].home--team .section { padding-bottom: 40px; }
  body[data-layout="home"].home--team .section > .container { padding-top: 20px; }
  body[data-layout="home"].home--team #focus > .container { padding-top: 42px; }
  body[data-layout="home"].home--team #mentors { padding-top: 20px; }
  body.home--team .founder-story { padding: 0; gap: 16px; }
  body.home--team .founder-story > div { padding: 20px; }
}
@media (max-width: 380px) {
  body.home--team .mentor-carousel__controls { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-layout="home"].home--team .btn, body.home--team .mentor-carousel__arrow { transition: none; }
}

/* Fine shooting-star trails sit behind the restored navy hero. */
body[data-layout="home"].home--team .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
body[data-layout="home"].home--team .hero__grid { position: relative; z-index: 1; }
body.home--team .hero__stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
body.home--team .hero__star {
  position: absolute;
  top: var(--star-top);
  left: var(--star-left);
  width: clamp(72px, 12vw, 160px);
  height: 1px;
  background: linear-gradient(90deg, #d9edff, #8eafcf70 24%, transparent);
  opacity: 0;
  transform-origin: left center;
  animation: hero-shooting-star var(--star-duration) linear var(--star-delay) infinite;
}
body.home--team .hero__star::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #d9edff;
  box-shadow: 0 0 7px #a3cfff70;
}
body.home--team .hero__star:nth-child(1) { --star-top: 8%; --star-left: 88%; --star-duration: 10s; --star-delay: -1s; }
body.home--team .hero__star:nth-child(2) { --star-top: 30%; --star-left: 103%; --star-duration: 13s; --star-delay: -6s; }
body.home--team .hero__star:nth-child(3) { --star-top: 4%; --star-left: 52%; --star-duration: 12s; --star-delay: -9s; }
body.home--team .hero__star:nth-child(4) { --star-top: 59%; --star-left: 43%; --star-duration: 14s; --star-delay: -4s; }
body.home--team .hero__star:nth-child(5) { --star-top: 67%; --star-left: 112%; --star-duration: 11s; --star-delay: -7s; }
@keyframes hero-shooting-star {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-24deg); }
  5% { opacity: .55; }
  22% { opacity: .4; }
  32%, 100% { opacity: 0; transform: translate3d(-440px, 196px, 0) rotate(-24deg); }
}
@media (max-width: 760px) {
  body.home--team .hero__star:nth-child(n+4) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.home--team .hero__stars { display: none; }
  body.home--team .hero__star { animation: none; }
}
