/* ============================================================================
   FACULTY & STAFF — masthead-style department directory, plus the
   Aston-style leadership tile grid at the top of the page. Every rule
   needed for this page lives here — nothing inherited or assumed from
   elsewhere, so there's no risk of it colliding with unrelated styles.
   ============================================================================ */

.faculty-tiles { padding: 64px 0; }

.faculty-tiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: start;
}

.faculty-tile {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(11,27,51,0.06);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.faculty-tile:hover,
.faculty-tile:focus-visible {
  box-shadow: 0 10px 24px rgba(11,27,51,0.16);
  transform: translateY(-3px);
  border-color: var(--royal-deep);
}

.faculty-tile-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-dim);
}
.faculty-tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.faculty-tile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--accent-sky);
  color: var(--royal-deep);
  padding: 13px 16px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  transition: background-color .18s ease, color .18s ease;
}
.faculty-tile-arrow {
  font-size: 19px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform .18s ease;
}
.faculty-tile:hover .faculty-tile-bar,
.faculty-tile:focus-visible .faculty-tile-bar {
  background: var(--royal-deep);
  color: #fff;
}
.faculty-tile:hover .faculty-tile-arrow,
.faculty-tile:focus-visible .faculty-tile-arrow {
  transform: translateX(4px);
}

.faculty-tile-desc {
  display: block;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  flex: 1;
}
.faculty-tile-desc strong {
  display: block;
  font-size: 15px;
  margin-bottom: 3px;
}

/* ============================================================================
   LEADERSHIP GRID — spacing wrapper for the .news-card grid used for the
   four real leadership profiles (.news-card/.news-grid themselves are
   defined in styles.css, shared with the news pages).
   ============================================================================ */

.faculty-leadership-grid { margin-top: 32px; }

/* ============================================================================
   DEPARTMENT ROSTERS — masthead-style: a fixed-width label column on the
   left carrying the department name and description, and the roster
   filling the remaining width. Same asymmetric-grid language as
   .news-layout and .feature-grid elsewhere on the site.
   ============================================================================ */

.faculty-dept {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  padding-top: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: var(--header-h, 92px);
  align-items: start;
}
.faculty-dept:last-child { border-bottom: none; }

.faculty-dept-label .eyebrow { display: block; margin-bottom: 12px; }
.faculty-dept-label h2 {
  font-size: clamp(24px, 2.6vw, 30px);
  margin-bottom: 12px;
}
.faculty-dept-label p {
  color: var(--slate);
  font-size: 14px;
  max-width: 32ch;
}

.faculty-roster { list-style: none; }
.faculty-entry {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .15s ease;
}
a.faculty-entry:hover { background: var(--paper-dim); }
a.faculty-entry:hover .faculty-entry-name { color: var(--royal); }
.faculty-entry:first-child { padding-top: 0; }
.faculty-entry:last-child { border-bottom: none; }

.faculty-entry-name {
  font-family: var(--serif);
  font-size: clamp(19px, 1.8vw, 22px);
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
  transition: color .15s ease;
}
.faculty-entry-name .faculty-lead-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--royal);
  background: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  margin-left: 10px;
  vertical-align: middle;
  transform: translateY(-2px);
}

.faculty-entry-meta {
  text-align: right;
  min-width: 0;
}
.faculty-entry-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--royal);
  margin-bottom: 3px;
  display: block;
}
.faculty-entry-note {
  font-size: 13px;
  color: var(--slate);
  max-width: 40ch;
  margin-left: auto;
  display: block;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 1024px) {
  .faculty-tiles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .faculty-dept { grid-template-columns: 1fr; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
  .faculty-entry { flex-direction: column; align-items: flex-start; gap: 6px; }
  .faculty-entry-meta { text-align: left; }
  .faculty-entry-note { margin-left: 0; }
}

@media (max-width: 560px) {
  .faculty-tiles-grid { grid-template-columns: 1fr; }
}

/* ============================================================================
   FACULTY GRID — photo cards for each department roster, replacing the
   text-list format. Rounded photo, name below, and a circular "BIO" badge
   that appears on hover in the photo's top-right corner — the whole card
   is the link (matches the existing .faculty-entry links, same hrefs),
   the badge is a visual cue, not a separate clickable element.

   Centering is explicit at every level (grid, card, and photo) rather
   than relying on default grid/flex stretch behavior — justify-items on
   the grid, align-items + width:100% on the card — so cards and their
   text center reliably at every breakpoint, including the single-column
   mobile view.
   ============================================================================ */

.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  justify-items: center;
  gap: 32px 28px;
  margin-top: 8px;
}

.faculty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
}

.faculty-card-photo {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin-bottom: 16px;
  background: var(--paper-dim);
}
.faculty-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .35s ease;
}
.faculty-card:hover .faculty-card-photo img,
.faculty-card:focus-visible .faculty-card-photo img {
  transform: scale(1.05);
}

.faculty-card-bio-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--royal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease;
}
.faculty-card:hover .faculty-card-bio-badge,
.faculty-card:focus-visible .faculty-card-bio-badge {
  opacity: 1;
  transform: scale(1);
}
.faculty-card:hover .faculty-card-bio-badge {
  background: var(--royal-deep);
}

.faculty-card-name {
  text-align: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--royal-deep);
  margin-bottom: 4px;
  min-height: 46px;
}
.faculty-card-role {
  text-align: center;
  font-size: 13px;
  color: var(--slate);
}

@media (max-width: 900px) {
  .faculty-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
@media (max-width: 560px) {
  .faculty-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   VSHS — ACADEMIC STREAMS
   Institutional / Editorial Design
   ========================================================================== */

.vshs-academic-streams {
  position: relative;
  padding: 112px 0 120px;
  background: #ffffff;
  overflow: hidden;
}


/* ==========================================================================
   INTRODUCTION
   ========================================================================== */

.vshs-streams-intro {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 64px;
}

.vshs-streams-intro-label {
  display: flex;
  align-items: center;
  gap: 12px;

  padding-top: 8px;

  color: #1b3a6b;

  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.vshs-streams-intro-label span {
  display: block;

  width: 34px;
  height: 1px;

  background: #1b3a6b;

  flex-shrink: 0;
}

.vshs-streams-intro-content {
  max-width: 860px;
}

.vshs-streams-intro-content h2 {
  max-width: 800px;

  margin: 0 0 22px;

  color: #0b1b33;

  font-family: var(--serif);
  font-size: clamp(40px, 4.4vw, 60px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.vshs-streams-intro-content p {
  max-width: 700px;

  margin: 0;

  color: #5b6472;

  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
}


/* ==========================================================================
   STREAM GRID
   ========================================================================== */

.vshs-streams-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  border-top: 1px solid #d9e0e7;
  border-bottom: 1px solid #d9e0e7;
}


/* ==========================================================================
   STREAM CARD
   ========================================================================== */

.vshs-stream-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 510px;

  padding: 34px 34px 30px;

  background: #ffffff;

  border-right: 1px solid #d9e0e7;

  overflow: hidden;

  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}


/* Remove border from final card */

.vshs-stream-card:last-child {
  border-right: none;
}


/* Subtle institutional hover */

.vshs-stream-card:hover {
  background: #f7f9fb;

  transform: translateY(-3px);
}


/* ==========================================================================
   CARD TOP
   ========================================================================== */

.vshs-stream-card-top {
  display: flex;

  align-items: baseline;

  justify-content: space-between;

  margin-bottom: 58px;
}


/* Number */

.vshs-stream-number {
  color: #1b3a6b;

  font-family: var(--serif);

  font-size: 28px;
  font-weight: 500;

  line-height: 1;
}


/* Senior label */

.vshs-stream-label {
  color: #5b6472;

  font-family: var(--sans);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 0.09em;

  text-transform: uppercase;
}


/* ==========================================================================
   CARD TITLE
   ========================================================================== */

.vshs-stream-card-content {
  flex: 1;
}

.vshs-stream-card h3 {
  position: relative;

  margin: 0 0 18px;

  padding-top: 17px;

  color: #0b1b33;

  font-family: var(--serif);

  font-size: 32px;
  font-weight: 500;

  line-height: 1.1;

  letter-spacing: -0.015em;
}


/*
   Small editorial rule above heading.
   This replaces the artificial-looking circular icon.
*/

.vshs-stream-card h3::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 36px;
  height: 2px;

  background: #1b3a6b;

  transition: width 0.3s ease;
}

.vshs-stream-card:hover h3::before {
  width: 58px;
}


/* ==========================================================================
   DESCRIPTION
   ========================================================================== */

.vshs-stream-lead {
  max-width: 360px;

  margin: 0 0 30px;

  color: #5b6472;

  font-family: var(--sans);

  font-size: 15px;

  line-height: 1.7;
}


/* ==========================================================================
   INFORMATION LINE
   ========================================================================== */

.vshs-stream-details {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 24px;

  padding-top: 18px;

  border-top: 1px solid #e1e6eb;

  color: #5b6472;

  font-family: var(--sans);

  font-size: 12px;

  line-height: 1.5;
}

.vshs-stream-details .vshs-detail-label {
  color: #1b3a6b;

  font-weight: 700;

  letter-spacing: 0.06em;

  text-transform: uppercase;
}

.vshs-detail-divider {
  width: 3px;
  height: 3px;

  flex-shrink: 0;

  background: #8d98a5;

  border-radius: 50%;
}


/* ==========================================================================
   SUBJECT LIST
   ========================================================================== */

.vshs-stream-subjects {
  display: flex;

  flex-wrap: wrap;

  gap: 0;
}


/*
   No pills.
   Subjects behave like an editorial list.
*/

.vshs-stream-subjects span {
  position: relative;

  margin-right: 18px;
  margin-bottom: 9px;

  color: #344252;

  font-family: var(--sans);

  font-size: 12px;

  line-height: 1.5;
}

.vshs-stream-subjects span:not(:last-child)::after {
  content: "·";

  position: absolute;

  right: -11px;

  color: #a3acb7;
}


/* ==========================================================================
   CARD FOOTER
   ========================================================================== */

.vshs-stream-card-footer {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-top: 30px;

  padding-top: 18px;

  border-top: 1px solid #d9e0e7;

  color: #1b3a6b;

  font-family: var(--sans);

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.08em;

  line-height: 1.4;

  text-transform: uppercase;
}

.vshs-stream-card-footer .vshs-stream-arrow {
  margin-left: auto;

  color: #1b3a6b;

  font-size: 18px;

  font-weight: 400;

  line-height: 1;

  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.vshs-stream-card:hover
.vshs-stream-card-footer
.vshs-stream-arrow {
  transform: translateX(6px);
}


/* ==========================================================================
   INDIVIDUAL PATHWAY ACCENTS
   ========================================================================== */

/* Foundation */

.vshs-stream-card-foundation
.vshs-stream-number {
  color: #1b3a6b;
}

.vshs-stream-card-foundation
.vshs-stream-card-content h3::before {
  background: #1b3a6b;
}


/* Science */

.vshs-stream-card-science
.vshs-stream-number {
  color: #286858;
}

.vshs-stream-card-science
.vshs-stream-card-content h3::before {
  background: #286858;
}

.vshs-stream-card-science
.vshs-stream-details .vshs-detail-label {
  color: #286858;
}

.vshs-stream-card-science
.vshs-stream-card-footer {
  color: #286858;
}

.vshs-stream-card-science
.vshs-stream-card-footer
.vshs-stream-arrow {
  color: #286858;
}


/* Arts */

.vshs-stream-card-arts
.vshs-stream-number {
  color: #65467a;
}

.vshs-stream-card-arts
.vshs-stream-card-content h3::before {
  background: #65467a;
}

.vshs-stream-card-arts
.vshs-stream-details .vshs-detail-label {
  color: #65467a;
}

.vshs-stream-card-arts
.vshs-stream-card-footer {
  color: #65467a;
}

.vshs-stream-card-arts
.vshs-stream-card-footer
.vshs-stream-arrow {
  color: #65467a;
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1000px) {

  .vshs-academic-streams {
    padding: 90px 0 100px;
  }

  .vshs-streams-intro {
    grid-template-columns: 1fr;

    gap: 18px;

    margin-bottom: 50px;
  }

  .vshs-streams-intro-label {
    padding-top: 0;
  }

  .vshs-streams-grid {
    grid-template-columns: 1fr;
  }

  .vshs-stream-card {
    min-height: auto;

    border-right: none;

    border-bottom: 1px solid #d9e0e7;
  }

  .vshs-stream-card:last-child {
    border-bottom: none;
  }
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 600px) {

  .vshs-academic-streams {
    padding: 70px 0 80px;
  }

  .vshs-streams-intro {
    gap: 16px;

    margin-bottom: 40px;
  }

  .vshs-streams-intro-label {
    font-size: 11px;
  }

  .vshs-streams-intro-label span {
    width: 25px;
  }

  .vshs-streams-intro-content h2 {
    margin-bottom: 18px;

    font-size: 38px;

    line-height: 1.08;
  }

  .vshs-streams-intro-content p {
    font-size: 15px;

    line-height: 1.65;
  }


  /* Cards */

  .vshs-stream-card {
    min-height: auto;

    padding: 28px 22px 26px;

    transform: none !important;
  }

  .vshs-stream-card:hover {
    background: #ffffff;
  }


  /* Card top */

  .vshs-stream-card-top {
    margin-bottom: 45px;
  }

  .vshs-stream-number {
    font-size: 25px;
  }

  .vshs-stream-label {
    font-size: 10px;
  }


  /* Heading */

  .vshs-stream-card h3 {
    margin-bottom: 16px;

    padding-top: 15px;

    font-size: 29px;
  }

  .vshs-stream-card h3::before {
    width: 30px;
  }


  /* Description */

  .vshs-stream-lead {
    margin-bottom: 26px;

    font-size: 14px;

    line-height: 1.65;
  }


  /* Details */

  .vshs-stream-details {
    margin-bottom: 20px;

    padding-top: 16px;

    font-size: 11px;
  }


  /* Subjects */

  .vshs-stream-subjects span {
    margin-right: 15px;
    margin-bottom: 8px;

    font-size: 11px;
  }


  /* Footer */

  .vshs-stream-card-footer {
    margin-top: 24px;

    padding-top: 16px;

    font-size: 10px;
  }
}


/* ==========================================================================
   SMALL PHONES
   ========================================================================== */

@media (max-width: 400px) {

  .vshs-academic-streams {
    padding: 60px 0 70px;
  }

  .vshs-streams-intro-content h2 {
    font-size: 34px;
  }

  .vshs-stream-card {
    padding: 25px 20px;
  }

  .vshs-stream-card h3 {
    font-size: 27px;
  }

  .vshs-stream-lead {
    font-size: 13.5px;
  }
}


/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  .vshs-stream-card,
  .vshs-stream-card h3::before,
  .vshs-stream-card-footer .vshs-stream-arrow {
    transition: none;
  }
}