/* ============================================
   FLi Sci — Navy & Gold Brand System
   ============================================ */

:root {
  --navy: #143a6b;
  --navy-deep: #0d2a52;
  --navy-dark: #091d3a;
  --gold: #f5c518;
  --gold-deep: #d9a90c;
  --gold-soft: #fff3b8;

  --ink: #0d2a52;
  --ink-soft: #3d516f;
  --paper: #ffffff;
  --paper-warm: #f8f5ed;
  --paper-dim: #eef2f8;

  --serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  --max: 1280px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--navy);
}
h1 { font-size: clamp(2.5rem, 6vw, 5.25rem); font-variation-settings: 'opsz' 144, 'SOFT' 30; font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-variation-settings: 'opsz' 72; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.875rem); }
h4 { font-size: 1.15rem; letter-spacing: -0.01em; }
.display-italic { font-style: italic; font-variation-settings: 'opsz' 144, 'SOFT' 100; }

p { margin-bottom: 1rem; max-width: 65ch; }
p.lead { font-size: 1.25rem; line-height: 1.5; color: var(--ink-soft); }

a { color: var(--navy); text-decoration: none; border-bottom: 1px solid rgba(20,58,107,0.25); transition: border-color 0.2s, color 0.2s; }
a:hover { border-bottom-color: var(--gold-deep); color: var(--gold-deep); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-block;
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.eyebrow::before { content: '§ '; opacity: 0.6; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }
.rule { height: 1px; background: var(--navy); opacity: 0.15; margin: 0; }
.rule-thick { height: 3px; background: var(--gold); margin: 0; }
section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 3px solid var(--gold); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 1.1rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; letter-spacing: -0.03em; border: none; display: flex; align-items: baseline; gap: 0.35rem; color: #fff; }
.logo em { font-style: italic; font-weight: 500; color: var(--gold); }
.logo:hover { color: var(--gold); }
.nav-links { display: flex; gap: 2.25rem; list-style: none; align-items: center; }
.nav-links a { font-size: 0.92rem; font-weight: 500; border: none; color: rgba(255,255,255,0.9); position: relative; padding: 0.25rem 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--gold); transition: right 0.3s ease; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--gold); }

.btn { display: inline-block; padding: 0.75rem 1.75rem; font-family: var(--sans); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; border: 2px solid var(--gold); background: var(--gold); color: var(--navy); border-radius: 999px; transition: all 0.25s ease; cursor: pointer; }
.btn:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.nav .btn { padding: 0.6rem 1.4rem; font-size: 0.8rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: #fff; }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-inner.open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--navy); padding: 1.5rem var(--gutter); border-bottom: 3px solid var(--gold); gap: 1.25rem; align-items: flex-start; }
}

/* Hero */
.hero { padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-dim) 100%); }
.hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(245,197,24,0.15), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: end; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.3fr 1fr; gap: 5rem; } }
.hero h1 { margin-bottom: 1.5rem; color: var(--navy); }
.hero h1 .highlight { color: var(--gold-deep); font-style: italic; font-weight: 500; }
.hero-meta { display: flex; gap: 2rem; flex-wrap: wrap; padding-top: 1.5rem; border-top: 1px solid rgba(20,58,107,0.2); margin-top: 2rem; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.hero-meta span { display: flex; align-items: center; gap: 0.5rem; }
.hero-meta span::before { content: '●'; color: var(--gold); font-size: 0.6em; }
.hero-aside { background: #fff; padding: 1.5rem 0 1.5rem 1.75rem; border-left: 3px solid var(--gold); }
.hero-aside p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; font-style: italic; color: var(--navy); }
.hero-aside cite { display: block; margin-top: 1rem; font-family: var(--sans); font-style: normal; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); }
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* Stats */
.stats { background: var(--navy); color: #fff; padding: clamp(3rem, 6vw, 5rem) 0; border-top: 4px solid var(--gold); border-bottom: 4px solid var(--gold); }
.stats .eyebrow { color: var(--gold); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem 2rem; }
.stat { border-top: 1px solid rgba(245,197,24,0.4); padding-top: 1.25rem; }
.stat-num { font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.5rem); line-height: 1; color: var(--gold); font-variation-settings: 'opsz' 144; font-weight: 600; display: block; margin-bottom: 0.5rem; }
.stat-num sup { font-size: 0.4em; color: #fff; margin-left: 0.1em; }
.stat-label { font-size: 0.95rem; color: rgba(255,255,255,0.85); line-height: 1.4; }

/* Two-col */
.two-col { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1.6fr; gap: 5rem; } }
.two-col .col-aside h2 { margin-top: -0.4rem; }

/* Programs */
.programs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); }
.program-card { padding: 2.5rem 2rem; border-right: 1px solid rgba(20,58,107,0.15); display: flex; flex-direction: column; transition: background 0.3s ease; position: relative; background: #fff; }
.program-card:last-child { border-right: none; }
.program-card:hover { background: var(--paper-dim); }
.program-card .num { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.15em; color: var(--gold-deep); margin-bottom: 1.25rem; font-weight: 600; text-transform: uppercase; }
.program-card h3 { margin-bottom: 1rem; color: var(--navy); }
.program-card p { font-size: 0.95rem; color: var(--ink-soft); flex-grow: 1; margin-bottom: 1.5rem; }
.program-card .arrow { font-family: var(--serif); font-style: italic; font-size: 1rem; border: none; color: var(--navy); display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; }
.program-card .arrow::after { content: '→'; transition: transform 0.25s; }
.program-card:hover .arrow::after { transform: translateX(4px); }
.program-card:hover .arrow { color: var(--gold-deep); }
@media (max-width: 880px) { .program-card { border-right: none; border-bottom: 1px solid rgba(20,58,107,0.15); } .program-card:last-child { border-bottom: none; } }

/* Testimonials */
.testimonial-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.testimonial { background: var(--paper-dim); border-left: 4px solid var(--gold); padding: 2rem; position: relative; display: flex; flex-direction: column; }
.testimonial::before { content: '"'; position: absolute; top: -0.5rem; left: 1rem; font-family: var(--serif); font-size: 5rem; color: var(--gold); line-height: 1; }
.testimonial p { font-family: var(--serif); font-size: 1.05rem; line-height: 1.5; font-style: italic; margin-bottom: 1.5rem; flex-grow: 1; padding-top: 1.5rem; color: var(--navy); }
.testimonial cite { font-family: var(--sans); font-style: normal; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-soft); border-top: 1px solid rgba(20,58,107,0.2); padding-top: 1rem; }
.testimonial cite strong { color: var(--navy); font-weight: 700; display: block; margin-bottom: 0.25rem; letter-spacing: 0.02em; text-transform: none; font-size: 0.95rem; }

/* Supporters */
.supporters { background: var(--paper-dim); padding: 3rem 0; text-align: center; border-top: 1px solid rgba(20,58,107,0.15); }
.supporters .eyebrow { margin-bottom: 2rem; }
.supporters-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem 3.5rem; max-width: 900px; margin: 0 auto; font-family: var(--serif); font-size: 1rem; color: var(--navy); font-style: italic; font-weight: 500; }
.supporters-list span { opacity: 0.85; transition: opacity 0.2s; }
.supporters-list span:hover { opacity: 1; color: var(--gold-deep); }

/* Page head */
.page-head { padding: clamp(4rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 3px solid var(--gold); background: linear-gradient(180deg, var(--paper) 0%, var(--paper-dim) 100%); position: relative; overflow: hidden; }
.page-head::before { content: ''; position: absolute; top: -50px; right: -80px; width: 350px; height: 350px; background: radial-gradient(circle, rgba(245,197,24,0.15), transparent 65%); pointer-events: none; }
.page-head h1 { max-width: 18ch; color: var(--navy); }
.page-head p.lead { margin-top: 2rem; max-width: 55ch; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 3rem 2.5rem; }
.team-photo { aspect-ratio: 4/5; background: var(--navy); margin-bottom: 1.25rem; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 3rem; color: var(--gold); font-style: italic; font-weight: 600; border-bottom: 3px solid var(--gold); }
.team-member h4 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 0.25rem; color: var(--navy); font-weight: 600; }
.team-member .role { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.75rem; display: block; font-weight: 600; }
.team-member .bio { font-size: 0.92rem; color: var(--ink-soft); }

/* Values */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 3px solid var(--gold); }
.value { padding: 2.5rem 2rem; border-bottom: 1px solid rgba(20,58,107,0.15); border-right: 1px solid rgba(20,58,107,0.15); background: #fff; transition: background 0.3s ease; }
.value:last-child { border-right: none; }
.value:hover { background: var(--paper-warm); }
.value-num { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.15em; color: var(--gold-deep); margin-bottom: 1rem; display: block; font-weight: 600; }
.value h3 { margin-bottom: 0.75rem; color: var(--navy); }
.value p { font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 880px) { .value { border-right: none; } }

/* Timeline */
.timeline { border-left: 3px solid var(--navy); padding-left: 2rem; margin-left: 0.5rem; }
.timeline-item { padding-bottom: 2.5rem; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -2.6rem; top: 0.4rem; width: 16px; height: 16px; background: var(--gold); border: 3px solid var(--navy); border-radius: 50%; }
.timeline-year { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--gold-deep); margin-bottom: 0.5rem; font-weight: 600; text-transform: uppercase; }
.timeline h4 { margin-bottom: 0.5rem; color: var(--navy); }
.timeline p { font-size: 0.95rem; color: var(--ink-soft); }

/* CTA */
.cta-block { background: var(--navy); color: #fff; padding: clamp(4rem, 8vw, 6rem) 0; position: relative; overflow: hidden; border-top: 4px solid var(--gold); }
.cta-block::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(245,197,24,0.2), transparent 70%); pointer-events: none; }
.cta-block .eyebrow { color: var(--gold); }
.cta-block h2 { color: #fff; max-width: 20ch; margin-bottom: 1.5rem; }
.cta-block h2 em { color: var(--gold); font-variation-settings: 'opsz' 144; }
.cta-block p { color: rgba(255,255,255,0.85); max-width: 52ch; margin-bottom: 2rem; font-size: 1.1rem; }
.cta-block .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.cta-block .btn-ghost:hover { background: #fff; color: var(--navy); }

/* Footer */
footer { background: var(--navy-dark); color: rgba(255,255,255,0.8); padding: 4rem 0 2rem; border-top: 4px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 3rem 2rem; margin-bottom: 3rem; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand h3 { font-family: var(--serif); margin-bottom: 1rem; color: #fff; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.7); max-width: 36ch; }
.footer-col h5 { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; font-size: 0.92rem; }
.footer-col a { border: none; color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* Prose */
.prose p { margin-bottom: 1.25rem; font-size: 1.05rem; line-height: 1.7; }
.prose p:first-of-type::first-letter { font-family: var(--serif); font-size: 4.2rem; float: left; line-height: 0.9; padding: 0.2rem 0.7rem 0 0; color: var(--gold-deep); font-variation-settings: 'opsz' 144; font-weight: 600; }

.asterism { text-align: center; font-family: var(--serif); font-size: 1.5rem; color: var(--gold); letter-spacing: 0.5em; margin: 3rem 0; }
.asterism::before { content: '✻  ✻  ✻'; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 640px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { display: block; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.5rem; font-weight: 600; }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; background: transparent; border: none; border-bottom: 2px solid var(--navy); padding: 0.6rem 0; font-family: var(--serif); font-size: 1.1rem; color: var(--navy); outline: none; transition: border-color 0.2s; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: var(--gold); }
.form-grid textarea { min-height: 120px; resize: vertical; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* Application page */
.phase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 3px solid var(--gold); border-bottom: 3px solid var(--gold); margin-top: 2rem; }
.phase { padding: 2.25rem 1.75rem; border-right: 1px solid rgba(20,58,107,0.15); background: #fff; position: relative; }
.phase:last-child { border-right: none; }
.phase-badge { display: inline-block; background: var(--navy); color: var(--gold); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; padding: 0.4rem 0.8rem; border-radius: 4px; margin-bottom: 1rem; font-weight: 600; text-transform: uppercase; }
.phase h4 { margin-bottom: 0.75rem; font-size: 1.2rem; color: var(--navy); }
.phase-date { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--gold-deep); margin-bottom: 1rem; font-weight: 600; }
.phase ul { list-style: none; padding: 0; }
.phase li { font-size: 0.88rem; color: var(--ink-soft); padding: 0.4rem 0 0.4rem 1.2rem; position: relative; line-height: 1.5; }
.phase li::before { content: '▸'; position: absolute; left: 0; color: var(--gold-deep); font-size: 0.8em; }
@media (max-width: 880px) { .phase { border-right: none; border-bottom: 1px solid rgba(20,58,107,0.15); } .phase:last-child { border-bottom: none; } }

.track-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.track { background: #fff; border: 1px solid rgba(20,58,107,0.15); border-top: 4px solid var(--gold); padding: 1.75rem 1.5rem; transition: all 0.25s ease; }
.track:hover { border-top-color: var(--navy); background: var(--paper-warm); transform: translateY(-2px); }
.track h4 { color: var(--navy); margin-bottom: 0.75rem; font-size: 1.2rem; }
.track p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }

.apply-cta { background: var(--gold); color: var(--navy); padding: 3rem 2.5rem; text-align: center; border-radius: 8px; max-width: 780px; margin: 0 auto; }
.apply-cta h3 { color: var(--navy); margin-bottom: 1rem; font-size: 1.8rem; }
.apply-cta p { color: var(--navy-deep); max-width: none; margin: 0 auto 1.75rem; font-size: 1rem; }
.apply-cta .btn { background: var(--navy); border-color: var(--navy); color: #fff; padding: 1rem 2.25rem; font-size: 0.9rem; }
.apply-cta .btn:hover { background: #fff; border-color: var(--navy); color: var(--navy); }

/* Fellows Directory */
.directory-controls { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; padding: 1.25rem; background: var(--paper-dim); border-radius: 8px; border-left: 4px solid var(--gold); }
.filter-group { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.filter-group label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.filter-btn { background: #fff; border: 1px solid rgba(20,58,107,0.2); color: var(--navy); padding: 0.4rem 0.9rem; font-family: var(--sans); font-size: 0.8rem; font-weight: 500; border-radius: 999px; cursor: pointer; transition: all 0.2s ease; }
.filter-btn:hover { border-color: var(--gold); }
.filter-btn.active { background: var(--navy); color: var(--gold); border-color: var(--navy); }

.map-container { background: #fff; border: 1px solid rgba(20,58,107,0.15); border-radius: 8px; padding: 1.5rem; margin-bottom: 2.5rem; position: relative; }
.map-container svg { width: 100%; height: auto; display: block; }
.map-state { fill: var(--paper-dim); stroke: #fff; stroke-width: 1; transition: fill 0.3s ease; }
.map-state.has-fellow { fill: var(--gold); cursor: pointer; }
.map-state.has-fellow:hover { fill: var(--gold-deep); }

.fellow-pin { fill: var(--navy); stroke: var(--gold); stroke-width: 2; cursor: pointer; transition: all 0.2s ease; }
.fellow-pin:hover { fill: var(--gold-deep); }
.pin-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.05em; fill: var(--navy); font-weight: 700; pointer-events: none; }

.map-legend { display: flex; gap: 1.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(20,58,107,0.1); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); flex-wrap: wrap; }
.map-legend span { display: flex; align-items: center; gap: 0.4rem; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

.fellows-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.fellow-card { background: #fff; border: 1px solid rgba(20,58,107,0.15); border-radius: 8px; overflow: hidden; transition: all 0.25s ease; display: flex; flex-direction: column; }
.fellow-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 8px 24px rgba(20,58,107,0.1); }
.fellow-card.hidden { display: none; }
.fellow-photo { aspect-ratio: 16/9; background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 2.8rem; color: var(--gold); font-style: italic; font-weight: 600; position: relative; border-bottom: 3px solid var(--gold); }
.fellow-tags { position: absolute; top: 0.75rem; right: 0.75rem; display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: flex-end; }
.fellow-tag { background: var(--gold); color: var(--navy); font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.08em; padding: 0.2rem 0.6rem; border-radius: 4px; font-weight: 700; text-transform: uppercase; }
.fellow-body { padding: 1.25rem 1.25rem 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.fellow-body h4 { color: var(--navy); margin-bottom: 0.25rem; font-size: 1.25rem; }
.fellow-body .location { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 0.75rem; font-weight: 600; }
.fellow-body .location::before { content: '◎ '; }
.fellow-body .affil { font-size: 0.88rem; color: var(--navy); font-weight: 600; margin-bottom: 0.5rem; }
.fellow-body p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }

.directory-summary { font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1rem; font-weight: 500; }
.directory-summary strong { color: var(--gold-deep); font-weight: 700; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.reveal { animation: fadeUp 0.8s ease forwards; opacity: 0; }
.reveal.d1 { animation-delay: 0.1s; }
.reveal.d2 { animation-delay: 0.25s; }
.reveal.d3 { animation-delay: 0.4s; }
.reveal.d4 { animation-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
