/* Shared refresh styles for Teachers and For Students.
   Keeps TPA header, footer, maroon/plum/sage brand, and site fonts. */

.page-hero{padding:2.8rem 0 2.2rem}
.page-hero h1{margin-bottom:.45rem}
.page-hero .lede{margin:0 0 1.15rem;max-width:38rem;font-size:1.15rem;line-height:1.55;color:var(--brown)}
.page-hero .hero-actions{display:flex;flex-wrap:wrap;gap:.7rem}
.page-hero:not(:has(.hero-actions)){padding-bottom:1.25rem}
.page-hero:not(:has(.hero-actions)) .lede{margin-bottom:0}
.curation{font-size:1.02rem;color:var(--text);margin:0;max-width:42rem}

.section-intro{margin:-.3rem 0 1.5rem;max-width:40rem;color:var(--brown)}

.resource-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.25rem}
.resource-card{
  background:var(--white);
  border:1px solid var(--sage);
  border-radius:12px;
  box-shadow:0 4px 16px rgba(43,39,42,.08);
  text-decoration:none;
  color:inherit;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:1.25rem 1.25rem 1.15rem;
  transition:transform .15s ease,box-shadow .15s ease;
  min-height:100%;
}
.resource-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(43,39,42,.16);color:inherit}
.resource-icon{
  width:44px;height:44px;border-radius:10px;
  background:var(--sage-light);
  color:var(--maroon);
  display:inline-flex;align-items:center;justify-content:center;
  margin-bottom:.85rem;
}
.resource-icon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.resource-card h3{
  font-family:var(--sans);
  font-weight:700;
  font-size:1.12rem;
  color:var(--maroon);
  margin:0 0 .35rem;
}
.resource-card p{margin:0 0 .8rem;font-size:.95rem;color:var(--text);line-height:1.45}
.resource-meta{margin-top:auto;font-size:.86rem;font-weight:700;color:var(--plum)}

.artwork-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;align-items:start}
.artwork-card{background:var(--white);border:1px solid var(--sage);border-radius:12px;box-shadow:0 4px 16px rgba(43,39,42,.08);overflow:hidden;margin:0}
.artwork-card img{width:100%;height:auto;max-width:100%;aspect-ratio:auto;object-fit:contain;background:#fff;display:block}
.artwork-card figcaption{padding:.75rem 1rem .9rem;font-size:.9rem;color:var(--brown)}

.faculty-toolbar{display:flex;flex-direction:column;gap:.85rem;margin-bottom:1.5rem}
.faculty-count{margin:0;font-size:.95rem;color:var(--brown)}
.filter-label{display:block;font-weight:700;color:var(--brown);margin-bottom:.45rem;font-size:.92rem}
.filter-row{display:flex;flex-wrap:wrap;gap:.45rem}
.filter-row button{
  font-family:var(--sans);
  font-weight:700;
  font-size:.9rem;
  line-height:1.2;
  padding:.45rem .85rem;
  border-radius:999px;
  border:2px solid var(--sage);
  background:var(--white);
  color:var(--maroon);
  cursor:pointer;
}
.filter-row button:hover{border-color:var(--maroon);background:var(--sage-light)}
.filter-row button[aria-pressed="true"]{background:var(--maroon);border-color:var(--maroon);color:var(--white)}

.faculty-grid{display:grid;grid-template-columns:1fr;gap:1.25rem}
@media (min-width:800px){
  .faculty-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.faculty-card{
  background:var(--white);
  border:1px solid var(--sage);
  border-radius:12px;
  box-shadow:0 4px 16px rgba(43,39,42,.08);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  min-height:100%;
  transition:transform .15s ease,box-shadow .15s ease;
}
.faculty-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(43,39,42,.16)}
.faculty-photo{display:block;flex:0 0 auto;background:#efe9d6}
.faculty-photo img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center top;border-bottom:4px solid var(--olive)}
.faculty-body{display:flex;flex-direction:column;padding:1.1rem 1.15rem 1.15rem;flex:1}
.faculty-body h2{font-family:var(--sans);font-size:1.25rem;margin:0}
.faculty-body .inst{font-size:.95rem;color:var(--maroon);font-weight:700;margin:.2rem 0 .55rem}
.faculty-body .bio{margin:0 0 1rem;font-size:.97rem;line-height:1.5;color:var(--text)}
.faculty-actions{margin-top:auto;display:flex;flex-wrap:wrap;gap:.55rem .9rem;align-items:center}
.faculty-actions a{font-weight:700;font-size:.92rem;text-decoration:none}
.faculty-actions a:hover{text-decoration:underline}
.faculty-actions .btn{text-decoration:none}
.faculty-actions .btn:hover{text-decoration:none}

.request-wrap{display:grid;gap:1.5rem}
@media (min-width:800px){
  .faculty-card{flex-direction:row;align-items:stretch}
  .faculty-photo{flex:0 0 200px;width:200px}
  .faculty-photo img{height:100%;aspect-ratio:auto;border-bottom:0;border-right:4px solid var(--olive)}
  .request-wrap{grid-template-columns:1fr 1.15fr;align-items:start;gap:2rem}
}
.request-copy .lede{margin-top:0}
.form-grid{display:grid;grid-template-columns:1fr;gap:0 1rem}
@media (min-width:600px){
  .form-grid{grid-template-columns:1fr 1fr}
  .form-grid .field-full{grid-column:1/-1}
}
#request-status{margin-top:.8rem}

@media (max-width:900px){
  .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .artwork-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:600px){
  .resource-grid,.artwork-grid{grid-template-columns:1fr}
  .page-hero{padding:2rem 0 1.6rem}
  .page-hero:not(:has(.hero-actions)){padding-bottom:1.1rem}
}

.section-curation{padding-top:1.6rem;padding-bottom:1.6rem}

.hero-hiring{
  align-self:center;
  font-family:var(--sans);
  font-weight:700;
  font-size:.95rem;
  color:var(--maroon);
  text-decoration:none;
  padding:.2rem .15rem;
}
.hero-hiring:hover{text-decoration:underline;color:var(--plum)}

.hiring-band{
  background:var(--sage-light);
  padding:3.4rem 0;
  border-top:1px solid var(--sage);
}
.hiring-layout{display:grid;gap:2rem}
.hiring-eyebrow{
  font-family:var(--sans);
  font-weight:700;
  font-size:.82rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--maroon);
  margin:0 0 .45rem;
}
.hiring-band h2{
  font-family:var(--sans);
  font-weight:700;
  font-size:clamp(2rem,4.2vw,2.9rem);
  line-height:1.2;
  color:var(--maroon);
  margin:0 0 .7rem;
}
.hiring-punch{
  font-family:var(--sans);
  font-weight:700;
  font-size:1.22rem;
  line-height:1.4;
  color:var(--brown);
  margin:0 0 .45rem;
}
.hiring-support{
  margin:0 0 1.3rem;
  font-size:1.05rem;
  line-height:1.55;
  color:var(--text);
  max-width:36rem;
}
.instrument-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.9rem;
}
.instrument-chip{
  background:var(--white);
  border:1px solid var(--sage);
  border-radius:12px;
  box-shadow:0 4px 16px rgba(43,39,42,.08);
  padding:1.15rem 1.1rem 1.1rem;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.5rem;
  min-height:7rem;
}
.instrument-chip .resource-icon{margin:0}
.instrument-chip strong{
  font-family:var(--sans);
  font-weight:700;
  font-size:1.15rem;
  color:var(--maroon);
}
@media (min-width:800px){
  .hiring-layout{
    grid-template-columns:1.15fr 1fr;
    align-items:center;
    gap:2.5rem;
  }
  .instrument-chip{min-height:8rem;padding:1.35rem 1.2rem}
}
@media (max-width:600px){
  .hiring-band{padding:2.4rem 0}
  .instrument-chip{min-height:5.5rem;padding:1rem}
}

.page-subnav,
.teachers-subnav{
  background:var(--white);
  border-top:1px solid var(--sage);
  box-shadow:0 4px 12px rgba(0,0,0,.07);
}
.page-subnav-inner,
.teachers-subnav-inner{
  display:flex;
  flex-wrap:nowrap;
  justify-content:center;
  align-items:center;
  gap:.55rem;
  padding:.5rem 1.25rem .55rem;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.page-subnav a,
.teachers-subnav a{
  flex:0 0 auto;
  white-space:nowrap;
}
.page-subnav a.is-active,
.teachers-subnav a.is-active,
.page-subnav a[aria-current="location"],
.teachers-subnav a[aria-current="location"]{
  background:var(--maroon);
  border-color:var(--maroon);
  color:var(--white);
}
.page-subnav a.is-active:hover,
.teachers-subnav a.is-active:hover,
.page-subnav a[aria-current="location"]:hover,
.teachers-subnav a[aria-current="location"]:hover{
  background:var(--plum);
  border-color:var(--plum);
  color:var(--white);
}
#faculty,
#request,
#teach-with-us,
#printables,
#practice-apps,
#student-artwork,
#music-instruments{
  scroll-margin-top:10.75rem;
}
@media (max-width:1180px){
  .header-inner{z-index:2}
  .nav{z-index:3}
}
@media (max-width:600px){
  .page-subnav-inner,
.teachers-subnav-inner{
    justify-content:stretch;
    gap:.35rem;
    padding:.4rem .75rem .45rem;
  }
  .page-subnav a,
.teachers-subnav a{
    flex:1 1 0;
    padding:.42rem .35rem;
    font-size:.78rem;
    text-align:center;
  }
  #faculty,
  #request,
  #teach-with-us,
  #printables,
  #practice-apps,
  #student-artwork,
  #music-instruments{
    scroll-margin-top:8.75rem;
  }
  .page-subnav-inner{
    justify-content:flex-start;
  }
  .page-subnav a{
    flex:0 0 auto;
    font-size:.72rem;
    padding:.4rem .55rem;
  }
}

.posting-instruments{
  margin:0 0 2.2rem;
}
@media (min-width:800px){
  .posting-instruments{grid-template-columns:repeat(4,minmax(0,1fr))}
  .posting-instruments .instrument-chip{min-height:7rem}
}
.posting-intro{
  max-width:42rem;
  font-size:1.08rem;
  line-height:1.65;
  margin:0 0 1.1rem;
}
.posting-sections{
  max-width:42rem;
  margin:2.2rem 0 0;
}
.posting-sections h2{
  margin:1.8rem 0 .7rem;
}
.posting-sections ul{
  margin:0 0 1rem;
  padding-left:1.2rem;
}
.posting-sections li{margin:.4rem 0}
.posting-apply{
  margin-top:1rem;
}
.posting-apply a.email-plain{font-weight:700}
.posting-actions{margin-top:1.8rem}

.availability{
  display:inline-block;
  margin:.35rem 0 .2rem;
  padding:.14rem .55rem;
  font-family:var(--sans);
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.03em;
  line-height:1.3;
  color:var(--olive-dark);
  background:#e8ebcc;
  border:1px solid var(--olive);
  border-radius:999px;
}
.faculty-body .availability{margin:.3rem 0 .15rem;align-self:flex-start}
.page-head .availability{
  display:inline-block;
  margin:.45rem 0 .5rem;
  color:var(--olive-dark);
}
