/* Additions: phone Sponsors button, team section, member carousel, supporters, photo placeholders. */

/* Header: Sponsors stays visible on phones as a small button, top right */
@media (max-width:720px){
  .nav__links .nav__sponsors a{display:inline-block;padding:.55rem .85rem;border:1px solid var(--edge-red);background:var(--surface-red);color:var(--text-main);font-size:.62rem;letter-spacing:.1em;line-height:1}
  .nav__links .nav__sponsors a:after{display:none}
}

/* Photo placeholders (until the team has its own photos) */
.photo-placeholder{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;width:100%;background:var(--surface-dark);border:1px dashed var(--line);color:var(--text-muted)}
.photo-placeholder--wide{aspect-ratio:3/2}
.photo-placeholder .mono{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase}

/* Team section */
.mech-team{padding-block:clamp(4rem,9vw,8rem);scroll-margin-top:90px}
.team__statement{margin-bottom:clamp(2rem,4vw,3.5rem)}
.dept-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--edge-dark);border:1px solid var(--edge-dark)}
.dept-card{background:var(--surface-dark);padding:clamp(1.3rem,2.4vw,2rem);display:flex;flex-direction:column;gap:.5rem;min-width:0}
.dept-card__name{color:var(--accent-red);font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;margin:0 0 .6rem}
.dept-card h3{font-size:clamp(1.3rem,2vw,1.7rem);font-weight:500;letter-spacing:-.01em;text-transform:none;margin:0}
.dept-card__role{color:var(--text-main);font-size:.95rem;margin:0}
.dept-card__body{color:var(--text-secondary);line-height:1.65;margin:.4rem 0 0}
.mentors {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 3rem);
  margin-top: clamp(1.5rem, 3vw, 2.75rem);
  padding-block: clamp(1.25rem, 2.5vw, 2rem);
  border-block: 1px solid var(--line);
}
.mentors__intro {
  border-inline-start: 2px solid var(--accent-red);
  padding-inline-start: clamp(.8rem, 1.7vw, 1.4rem);
}
.mentors__label {
  margin: 0 0 .55rem;
  font-size: clamp(1.3rem, 2vw, 1.9rem);
  line-height: 1.1;
  text-transform: uppercase;
}
.mentors__note {
  max-width: 38ch;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.55;
}
.mentors__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mentors__list li {
  display: grid;
  align-content: center;
  gap: .35rem;
  padding: clamp(1rem, 2.1vw, 1.6rem);
  border: 1px solid var(--edge-dark);
  background: linear-gradient(var(--accent-red), var(--accent-red)) left top / 2.5rem 2px no-repeat,
              linear-gradient(120deg, rgb(227 38 32 / 10%), transparent 68%),
              var(--surface-dark);
}
.mentors__list strong {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.2;
}
.mentors__list span {
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.4;
}
.roster__label{color:var(--accent-red);font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;margin:0}

/* Member carousel */
.roster{margin-top:clamp(2.5rem,5vw,4rem);display:grid;gap:1rem;min-width:0}
.roster__head{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.roster__ctl{display:flex;gap:.5rem}
.roster__btn{width:2.6rem;height:2.6rem;border:1px solid var(--line);background:var(--surface-dark);color:var(--text-main);cursor:pointer;font-size:1rem}
.roster__btn:hover{border-color:var(--edge-red)}
.roster__btn:disabled{opacity:.35;cursor:default;border-color:var(--line)}
.roster__track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(12.5rem,15rem);gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;padding-bottom:.75rem;scrollbar-width:thin;scrollbar-color:var(--edge-dark) transparent;min-width:0}
.member-card{scroll-snap-align:start;border:1px solid var(--line);background:var(--surface-dark);padding:1rem;display:flex;flex-direction:column;gap:.3rem;min-width:0}
.member-card__photo{aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;background:var(--void);border:1px solid var(--line);color:var(--accent-red);font-family:'Russo One',sans-serif;font-size:2.2rem;margin-bottom:.7rem}
.member-card h4{font-size:1.02rem;font-weight:600;margin:0;text-transform:none;letter-spacing:0}
.member-card p{color:var(--text-secondary);font-size:.88rem;margin:0}
.member-card--tbd .member-card__photo{border-style:dashed;color:var(--text-muted)}
.member-card--tbd h4{color:var(--text-muted);font-weight:500}

@media (max-width:900px){.dept-grid,.mentors{grid-template-columns:1fr}}
@media (max-width:520px){.mentors__list{grid-template-columns:1fr}}

/* Sponsors page */
.community-grid--three{grid-template-columns:repeat(3,minmax(0,1fr))}
.community-supporters{margin-top:clamp(4rem,8vw,7rem)}
.community-head--sub h2{font-size:clamp(1.9rem,3.4vw,3.6rem)}
.community-grid--supporters{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1000px){.community-grid--three,.community-grid--supporters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.community-grid--three,.community-grid--supporters{grid-template-columns:1fr}}
.community-grid--supporters{background:none;border:0;gap:1rem}
.community-grid--supporters .community-card{border:1px solid var(--edge-dark)}
