/* ============================================================
   Sturmlechner Lab — team.html page-specific styles
   (PI profile, Philosophy, Join Us, sub-nav tabs)
   Loaded in addition to assets/css/base.css
   ============================================================ */
    /* ══ TEAM / PI ════════════════════════════════════ */
    #team { background: var(--white); }
    .pi-grid {
      display: grid; grid-template-columns: 270px 1fr;
      gap: 4.5rem; align-items: start;
    }
    .pi-photo {
      width: 100%;
      border-radius: 0.85rem;
      overflow: hidden;
      display: block;
      position: relative;
    }
    /* Subtle hex pattern on photo placeholder */
    .pi-photo::before {
      content: '';
      position: absolute; inset: 0;
      background-image: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, transparent 70%);
    }
    .pi-initials {
      font-family: 'Playfair Display', serif;
      font-size: 4.5rem; font-weight: 700;
      color: rgba(255,255,255,0.9); letter-spacing: -0.02em;
      position: relative; z-index: 1;
    }
    .pi-edu {
      margin-top: 1.5rem;
      border-left: 2px solid var(--border);
      padding-left: 1.25rem;
      display: flex; flex-direction: column; gap: 1.2rem;
    }
    .edu {
      position: relative;
    }
    .edu::before {
      content: '';
      position: absolute; left: -1.66rem; top: 0.3rem;
      width: 0.55rem; height: 0.55rem;
      background: var(--teal); border-radius: 50%;
      border: 2px solid white;
      box-shadow: 0 0 0 2px var(--teal);
    }
    .edu-yr { font-family: 'DM Mono', monospace; font-size: 0.9rem; color: var(--light); margin-bottom: 0.1rem; }
    .edu-role { font-size: 1rem; font-weight: 600; color: #0D1421; }
    .edu-inst { font-size: 1rem; color: #0D1421; }

    .pi-name {
      font-family: 'Playfair Display', serif;
      font-size: 2rem; font-weight: 700; color: var(--text); margin-bottom: 0.25rem;
    }
    .pi-pos { font-size: 1rem; color: var(--teal); font-weight: 600; margin-bottom: 1.75rem; line-height: 1.5; }
    .pi-bio {
      font-size: 1rem; color: #0D1421;
      line-height: 1.85; margin-bottom: 1.1rem;
    }
    .pi-bio em { color: #0D1421; font-style: italic; }
    .pi-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
    .pi-link {
      display: inline-flex; align-items: center; gap: 0.4rem;
      background: var(--off); border: 1px solid var(--border);
      color: var(--mid); padding: 0.4rem 0.85rem;
      border-radius: 0.4rem; font-size: 0.8rem; font-weight: 500;
      text-decoration: none; transition: all 0.2s;
    }
    .pi-link:hover { background: white; border-color: var(--teal-l); color: var(--teal); }


    /* ══ JOIN ════════════════════════════════════════ */
    #join { background: var(--off); }
    .join-grid {
      display: grid; grid-template-columns: repeat(3,1fr);
      gap: 1.5rem;
    }
    .join-card {
      background: white; border: 1px solid var(--border);
      border-radius: 0.85rem; padding: 2rem;
    }
    .j-icon { font-size: 1.8rem; margin-bottom: 1rem; }
    .j-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.2rem; font-weight: 700;
      color: #0D1421; margin-bottom: 0.6rem;
    }
    .j-body { font-size: 1rem; color: #0D1421; line-height: 1.7; margin-bottom: 1.25rem; }
    .join-card-full {
      padding: 1.4rem 1.8rem; background: white;
      border: 1px solid var(--border); border-radius: 0.85rem;
      box-shadow: 0 4px 18px rgba(10,22,40,0.10);
      transition: box-shadow 0.2s;
    }
    .join-card-full:hover { box-shadow: 0 8px 28px rgba(21,101,192,0.12); }
    .join-card-full .j-title { font-size: 1.2rem; font-weight: 700; color: #0D1421; font-family: 'Playfair Display', serif; margin-bottom: 0.6rem; }
    .join-card-full .j-body { font-size: 1rem; color: #0D1421; line-height: 1.7; }
    .join-card-full .j-body a { color: var(--teal); text-decoration: underline; }
    .j-cta {
      display: inline-flex; align-items: center; gap: 0.3rem;
      font-size: 0.85rem; font-weight: 600;
      color: var(--teal); text-decoration: none;
      border-bottom: 1.5px solid transparent; transition: border-color 0.2s;
    }
    .j-cta:hover { border-color: var(--teal); }


    /* ══ TEAM PAGE TABS ══════════════════════════════════ */
    .team-subnav {
      display: flex; gap: 0; padding: 0 2rem;
      border-bottom: 2px solid var(--border);
      background: white;
    }
    .tsub-btn {
      background: none; border: none; cursor: pointer;
      font-family: 'Playfair Display', serif;
      padding: 1rem 1.4rem; font-size: 1rem; font-weight: 700;
      color: var(--light); border-bottom: 3px solid transparent;
      margin-bottom: -2px; transition: color 0.2s, border-color 0.2s;
      letter-spacing: 0.01em;
    }
    .tsub-btn:hover { color: var(--teal); }
    .tsub-btn.active { color: var(--teal); border-bottom-color: var(--teal); }
    .ttab { padding-bottom: 4rem; }

    /* Philosophy blocks */
    .phil-block {
      padding: 1.4rem 1.8rem; background: white;
      border: 1px solid var(--border); border-radius: 0.85rem;
      box-shadow: 0 4px 18px rgba(10,22,40,0.10);
      transition: box-shadow 0.2s;
    }
    .phil-block:hover { box-shadow: 0 8px 28px rgba(21,101,192,0.12); }
    .phil-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.2rem; color: #0D1421; margin-bottom: 0.3rem; }
    .phil-body  { font-size: 1rem; color: #0D1421; line-height: 1.65; margin: 0; }
