/*
 * POPULATION HEALTH SCIENCE — SITE STYLES
 * =======================================
 * 1. Edit colors and font variables in :root first.
 * 2. Pages use the phs-* namespace so Quarto's own styles aren't overwritten.
 * 3. Desktop/mobile layout changes are grouped in @media rules at the bottom.
 * 4. Read README.md for a map of classes to visible website sections.
 */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/* DESIGN TOKENS: Change the site's overall palette and typefaces here. */
:root {
  --phs-navy:#172c43;
  --phs-blue:#235478;
  --phs-ink:#263946;
  --phs-muted:#61727e;
  --phs-paper:#fcfbf8;
  --phs-line:#d9dee0;
  --phs-coral:#cb735a;
  --phs-green:#527d62;
  --phs-sky:#317dae;
  --phs-font:'DM Sans',sans-serif;
  --phs-serif:'Libre Baskerville',Georgia,serif
}

html {
  scroll-behavior:smooth
}

/* GLOBAL STYLES: Body typography and existing Quarto navbar. */
body {
  font-family:var(--phs-font);
  color:var(--phs-ink);
  background:var(--phs-paper);
  line-height:1.65
}

body .navbar {
  background:rgba(252,251,248,.97)!important;
  border-bottom:1px solid var(--phs-line);
  box-shadow:none
}

body .navbar-brand {
  font:400 1.3rem var(--phs-serif);
  color:var(--phs-navy)!important
}

body .navbar-nav .nav-link {
  font-size:.83rem;
  color:var(--phs-navy)!important
}

body .navbar-nav .nav-link:hover {
  color:var(--phs-sky)!important
}

.navbar .navbar-container {
  max-width:1400px
}

a {
  color:var(--phs-blue)
}

a:hover {
  color:#15608e
}

h1,h2,h3 {
  font-family:var(--phs-serif);
  color:var(--phs-navy);
  line-height:1.3
}

.phs-home h1,.phs-home h2,.phs-home h3 {
  margin:0
}

.phs-home h2 {
  font-size:clamp(1.35rem,2vw,2.2rem)
}

.phs-home a {
  text-decoration:none
}

.phs-container {
  max-width:1380px;
  margin:auto;
  padding:0 clamp(1.3rem,4.6vw,4.5rem)
}

.phs-home {
  overflow:hidden
}

/* HOMEPAGE HERO: Intro layout, buttons and conceptual graph. */
.phs-hero {
  border-bottom:1px solid var(--phs-line)
}

.phs-hero-grid {
  display:grid;
  grid-template-columns:47% 53%;
  min-height:460px;
  padding-right:0
}

.phs-hero-copy {
  padding:65px 35px 56px 0
}

.phs-eyebrow,.phs-kicker,.phs-hero-kicker,.phs-card-index {
  font-size:.66rem;
  letter-spacing:.18em;
  font-weight:700;
  color:var(--phs-blue)
}

.phs-eyebrow {
  display:flex;
  align-items:center;
  gap:12px
}

.phs-rule {
  height:2px;
  width:30px;
  background:var(--phs-blue);
  display:inline-block
}

.phs-hero h1 {
  font-size:clamp(2.65rem,4.3vw,4.85rem);
  letter-spacing:-.047em;
  margin:30px 0 18px
}

.phs-hero-subtitle {
  font:400 clamp(1.1rem,1.95vw,1.85rem)/1.55 var(--phs-serif);
  color:var(--phs-navy);
  max-width:580px;
  margin:0 0 20px
}

.phs-hero-description {
  max-width:530px;
  font-size:.96rem;
  line-height:1.9
}

.phs-actions {
  display:flex;
  gap:11px;
  flex-wrap:wrap;
  margin:28px 0
}

.phs-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  border:1px solid #8d9ca6;
  border-radius:6px;
  padding:10px 20px;
  font-size:.87rem;
  transition:.2s
}

.phs-button:hover {
  transform:translateY(-2px)
}

.phs-button-primary {
  background:var(--phs-navy);
  border-color:var(--phs-navy);
  color:white!important
}

.phs-button-secondary,.phs-button-outline {
  color:var(--phs-navy)!important;
  background:transparent
}

.phs-affiliation {
  font-size:.79rem;
  color:var(--phs-muted);
  line-height:1.7
}

/* HERO PHOTO: Replace the old statistical graph with the user's photograph.
 * object-position controls which part of the image stays visible when cropped.
 * The title and caption are text overlays, so they remain machine-readable.
 */
.phs-hero-visual {
  position:relative;
  display:block;
  min-height:460px;
  height:auto;
  background:#d7dfe5;
  border-left:1px solid var(--phs-line);
  margin:0;
  padding:0;
  overflow:hidden
}

.phs-hero-photo {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center
}

/* Very small, white caption at the bottom-right corner of the photo. */
.phs-photo-caption {
  position:absolute;
  bottom:15px;
  right:18px;
  z-index:2;
  color:#fff;
  font-family:var(--phs-font);
  font-size:.65rem;
  font-weight:500;
  letter-spacing:.01em;
  text-align:right;
  text-shadow:0 1px 4px rgba(0,0,0,.9);
  padding:3px 6px
}

.phs-hero-kicker {
  position:absolute;
  z-index:2;
  top:40px;
  left:30px;
  color:#fff;
  text-shadow:0 1px 5px rgba(0,0,0,.8)
}



.phs-research-dot {
  display:inline-block;
  width:10px;
  height:10px;
  border-radius:50%;
  vertical-align:middle;
  margin-right:4px
}

.phs-blue {
  background:var(--phs-sky)
}

.phs-green {
  background:var(--phs-green)
}

.phs-coral {
  background:var(--phs-coral)
}

/* Slogan on the photograph; kept as HTML text for search and accessibility. */
.phs-hero-aside {
  position:absolute;
  z-index:2;
  right:5%;
  top:37px;
  margin:0;
  font:.9rem/1.9 var(--phs-serif);
  color:#fff;
  text-shadow:0 1px 5px rgba(0,0,0,.85)
}



.phs-section {
  padding:40px 0 50px;
  border-bottom:1px solid var(--phs-line)
}

.phs-section-head {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:25px;
  margin-bottom:25px
}

.phs-section-head .phs-kicker {
  flex:0 0 160px
}

.phs-section-head h2 {
  flex:1
}

.phs-text-link {
  white-space:nowrap;
  font-size:.79rem;
  color:var(--phs-blue)
}

.phs-research-cards {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px
}

/* RESEARCH CARDS: Three colored tiles. */
.phs-research-card {
  position:relative;
  min-height:262px;
  padding:25px 25px 38px;
  overflow:hidden;
  border-radius:4px;
  color:var(--phs-navy);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  transition:transform .2s,box-shadow .2s
}

.phs-research-card:hover {
  transform:translateY(-3px);
  box-shadow:0 9px 18px #1b2d4413
}

.phs-card-coral {
  background:#f4e9e4
}

.phs-card-blue {
  background:#e5edf4
}

.phs-card-green {
  background:#e6eee7
}

.phs-research-card h3 {
  font-size:clamp(1rem,1.45vw,1.35rem);
  margin:10px 0
}

.phs-research-card p {
  font: .81rem/1.8 var(--phs-font);
  max-width:310px
}

.phs-card-icon {
  position:absolute;
  right:22px;
  top:49px;
  width:66px;
  height:66px;
  opacity:.63
}

.phs-card-coral .phs-card-icon {
  color:var(--phs-coral)
}

.phs-card-blue .phs-card-icon {
  color:var(--phs-sky)
}

.phs-card-green .phs-card-icon {
  color:var(--phs-green)
}

.phs-card-arrow {
  margin-top:auto;
  font-size:1.25rem
}

/* ATLAS TEASER: Two-column layout on the homepage. */
.phs-atlas-grid {
  display:grid;
  grid-template-columns:29% 71%;
  gap:18px
}

.phs-atlas-intro {
  padding:10px 20px 0 0
}

.phs-atlas-intro h2 {
  margin:22px 0 16px
}

.phs-atlas-intro>p:not(.phs-kicker) {
  font-size:.85rem;
  line-height:1.85
}

.phs-note {
  color:var(--phs-muted);
  font-size:.7rem!important
}

.phs-atlas-mini {
  border:1px solid var(--phs-line);
  background:#f6f8f6;
  position:relative;
  min-height:285px;
  border-radius:3px
}

.phs-atlas-mini svg {
  width:100%;
  height:auto
}

.phs-atlas-mini span {
  position:absolute;
  right:12px;
  bottom:9px;
  font-size:.64rem;
  color:var(--phs-muted)
}

.phs-map-legend {
  display:flex;
  gap:22px;
  flex-wrap:wrap;
  font-size:.7rem;
  margin-top:12px
}

/* LATEST WORK: Split timeline and publication lists. */
.phs-latest-grid {
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:35px
}

.phs-latest-publications {
  border-left:1px solid var(--phs-line);
  padding-left:35px
}

.phs-column-head {
  display:flex;
  justify-content:space-between;
  align-items:center
}

.phs-latest-grid h2 {
  font-size:1.3rem;
  margin:8px 0 24px
}

.phs-mini-timeline,.phs-papers {
  list-style:none;
  padding:0;
  margin:0
}

.phs-mini-timeline li {
  display:grid;
  grid-template-columns:112px 1fr;
  gap:24px;
  position:relative;
  padding:0 0 25px
}

.phs-mini-timeline li:before {
  content:"";
  width:10px;
  height:10px;
  background:var(--phs-blue);
  border-radius:100%;
  position:absolute;
  top:8px;
  left:107px
}

.phs-mini-timeline li:after {
  content:"";
  position:absolute;
  top:17px;
  bottom:-7px;
  left:111px;
  border-left:1px solid #bfd0d7
}

.phs-mini-timeline li:last-child:after {
  display:none
}

.phs-mini-timeline time {
  font-size:.73rem;
  color:var(--phs-muted)
}

.phs-mini-timeline div {
  padding-left:18px
}

.phs-mini-timeline strong,.phs-papers a,.phs-papers li>span:not(.phs-paper-status) {
  font:400 .82rem/1.5 var(--phs-serif);
  color:var(--phs-navy)
}

.phs-mini-timeline small,.phs-papers small {
  display:block;
  color:var(--phs-muted);
  font-size:.72rem;
  margin-top:4px
}

.phs-papers li {
  padding:10px 0 13px;
  border-bottom:1px solid var(--phs-line)
}

.phs-paper-status {
  display:block;
  font:700 .62rem var(--phs-font);
  text-transform:uppercase;
  letter-spacing:.09em;
  margin-bottom:6px
}

.phs-status-published {
  color:#24718a
}

.phs-status-manuscript {
  color:#ab6a54
}

.phs-closing {
  padding:35px 0;
  background:#eaf0f2
}

.phs-closing-inner {
  display:flex;
  align-items:center;
  gap:25px;
  justify-content:space-between
}

.phs-closing span {
  font-size:.62rem;
  letter-spacing:.14em;
  color:var(--phs-blue);
  font-weight:700
}

.phs-closing p {
  font:italic 1.15rem var(--phs-serif);
  margin:0
}

.phs-closing a {
  font-size:.85rem
}

/* INNER PAGES: Shared layout for Publications, Atlas and Timeline. */
.phs-standard {
  max-width:1100px;
  margin:0 auto;
  padding:42px 24px 80px
}

.phs-standard h1 {
  font-size:clamp(2rem,3vw,3.3rem);
  margin-bottom:12px
}

.phs-standard .phs-intro {
  color:var(--phs-muted);
  font-size:.98rem;
  max-width:750px
}

.phs-data-table {
  width:100%;
  border-collapse:collapse;
  margin-top:25px
}

.phs-data-table th {
  text-align:left;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-size:.7rem;
  color:var(--phs-muted)
}

.phs-data-table th,.phs-data-table td {
  padding:16px 12px;
  border-bottom:1px solid var(--phs-line);
  vertical-align:top
}

.phs-data-table td {
  font-size:.83rem
}

.phs-data-table em {
  color:var(--phs-muted)
}

.phs-badges {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:24px 0
}

.phs-chip {
  border:1px solid var(--phs-line);
  background:white;
  border-radius:22px;
  padding:7px 13px;
  font-size:.8rem;
  color:var(--phs-navy);
  cursor:pointer
}

.phs-chip[aria-pressed="true"] {
  background:var(--phs-navy);
  color:white
}

.phs-atlas-svg {
  width:100%;
  display:block;
  background:#eff3f2;
  border:1px solid var(--phs-line);
  min-height:340px
}

.phs-person-detail {
  padding:20px;
  border:1px solid var(--phs-line);
  background:white;
  margin-top:16px
}

.phs-person-detail h3 {
  margin:0 0 8px
}

.phs-person-detail p {
  font-size:.83rem;
  margin:8px 0
}

/* ATLAS DOTS: Interactive SVG collaborators (details in js/atlas.js). */
.phs-person-dot {
  cursor:pointer;
  stroke:white;
  stroke-width:1.7;
  transition:r .18s
}

.phs-person-dot:focus {
  stroke:#071e34;
  stroke-width:3;
  outline:none
}

.phs-timeline-entry {
  border-left:2px solid var(--phs-line);
  margin-left:10px;
  padding:0 0 25px 25px;
  position:relative
}

.phs-timeline-entry:before {
  content:"";
  position:absolute;
  left:-6px;
  top:8px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--phs-blue)
}

.phs-timeline-entry time {
  display:block;
  font-size:.74rem;
  color:var(--phs-muted)
}

.phs-timeline-entry strong {
  font:400 1rem var(--phs-serif);
  display:block;
  margin:4px 0
}

.phs-timeline-entry small {
  color:var(--phs-muted)
}

.phs-research-story {
  font-size:.9rem;
  line-height:1.9;
  max-width:750px
}

.phs-standard .phs-kicker {
  margin-bottom:10px
}

@media(max-width:1000px) {
  .phs-hero-grid {
    grid-template-columns:1fr;
    padding-right:clamp(1.3rem,4.6vw,4.5rem)
  }

  .phs-hero-copy {
    padding-right:0
  }

  .phs-hero-visual {
    min-height:340px;
    border-left:none
  }

  .phs-atlas-grid {
    grid-template-columns:1fr
  }

  .phs-atlas-intro {
    max-width:600px
  }

  .phs-section-head .phs-kicker {
    flex:0 0 110px
  }

}

/* MOBILE RESPONSIVENESS: Adjust these rules for narrow devices. */
@media(max-width:700px) {
  .phs-container {
    padding:0 20px
  }

  .phs-hero-grid {
    padding-right:20px
  }

  .phs-hero-copy {
    padding:42px 0 24px
  }

  .phs-hero h1 {
    font-size:2.5rem
  }

  .phs-hero-visual {
    min-height:290px;
    padding:0
  }

  .phs-photo-caption {
    right:12px;
    bottom:10px;
    font-size:.61rem
  }

  .phs-hero-aside {
    right:15px;
    top:20px;
    font-size:.74rem
  }

  .phs-hero-kicker {
    left:15px;
    top:25px;
    font-size:.5rem
  }


  .phs-research-cards,.phs-latest-grid {
    grid-template-columns:1fr
  }

  .phs-latest-publications {
    border-left:none;
    border-top:1px solid var(--phs-line);
    padding-left:0;
    padding-top:20px
  }

  .phs-section-head {
    display:block
  }

  .phs-section-head h2 {
    margin:15px 0
  }

  .phs-research-card {
    min-height:230px
  }

  .phs-closing-inner {
    display:block
  }

  .phs-closing-inner>* {
    display:block;
    margin-bottom:12px!important
  }

  .phs-data-table {
    display:block;
    overflow-x:auto
  }

  .phs-atlas-mini {
    min-height:160px
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }

  .phs-button,.phs-research-card,.phs-person-dot {
    transition:none
  }

}



/* ========================================================================
   EDITORIAL HOMEPAGE V3 — STYLED AFTER THE REFERENCE IMAGE
   ========================================================================
   This part is deliberately isolated from the other Quarto pages.
   CHANGE COLORS: update the variables directly below.
   CHANGE SECTIONS: styles are grouped by section in the same order as index.qmd.
   IMAGE: images/botanical-filigree.svg is a decorative hand-coded ornament.
   Keep original HTML text readable by people and search engines.
   ======================================================================== */
.phs-v3 {
  --v3-ink: #1d3030;
  --v3-pine: #345e52;
  --v3-muted: #53645e;
  --v3-line: #e1dfd5;
  --v3-paper: #fbf9f5;
  --v3-sage: #e1e8dc;
  --v3-ice: #e0edf3;
  --v3-peach: #f4d7c6;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--v3-ink);
  background: var(--v3-paper);
  line-height: 1.58;
}
.phs-v3 a { color: inherit; text-decoration: none; }
.phs-v3 h1, .phs-v3 h2, .phs-v3 h3 { font-family: Georgia, 'Times New Roman', serif; color: #17282a; letter-spacing: -.025em; font-weight: 400; }
.phs-v3 h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.phs-v3 .phs-container { max-width: 1420px; padding-left: clamp(22px, 5.6vw, 86px); padding-right: clamp(22px, 5.6vw, 86px); }
.phs-v3-sectionlabel, .phs-v3-siderail, .phs-v3-discipline-name,
.phs-v3-topic-index, .phs-v3-conclusion-label {
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: .68rem;
  letter-spacing: .17em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--v3-pine);
}
.phs-v3 > section { border-bottom: 1px solid var(--v3-line); }
body .navbar { background: rgba(251,249,245,.97) !important; border-bottom-color: #e8e3dc; }
body .navbar-brand { font-family: Georgia, 'Times New Roman', serif !important; color: #142625 !important; font-size: 1.47rem; }
body .navbar .nav-link { font-family: Georgia, 'Times New Roman', serif; font-size: .9rem; color: #253c37 !important; }
body .navbar .nav-link.active { border-bottom: 1px solid #355d52; }

/* 01 — Population health explainer. These are small editable topic cards. */
.phs-v3-perspectives {
  padding: 48px 0 52px;
  background:
    radial-gradient(ellipse at 98% 0, rgba(229,221,204,.55), transparent 37%),
    var(--v3-paper);
}
.phs-v3-perspectives-intro {
  display: grid;
  grid-template-columns: 48% 1fr;
  align-items: end;
  gap: 38px;
  margin: 18px 0 29px;
}
.phs-v3-perspectives-intro h2 { font-size: clamp(2rem, 3.35vw, 3.25rem); line-height: 1.18; margin: 0; }
.phs-v3-perspectives-intro h2 em { color: var(--v3-pine); font-weight: 400; }
.phs-v3-perspectives-intro p { margin: 0 0 3px; max-width: 565px; font-size: 1.06rem; line-height: 1.76; }
.phs-v3-discipline-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.phs-v3-discipline {
  min-height: 170px;
  padding: 22px 22px 24px;
  border: 1px solid rgba(100,111,98,.13);
  border-radius: 3px;
}
.phs-v3-discipline-medicine { background: #e8e9df; }
.phs-v3-discipline-public { background: #e5eee7; }
.phs-v3-discipline-epi { background: #e7eff0; }
.phs-v3-discipline-stats { background: #f1e8e2; }
.phs-v3-discipline p { font-size: 1rem; line-height: 1.52; margin: 19px 0 0; }
.phs-v3-conclusion { display: grid; grid-template-columns: 24% 1fr; gap: 30px; border-top: 1px solid var(--v3-line); margin-top: 27px; padding-top: 20px; align-items: start; }
.phs-v3-conclusion-label { padding-top: 5px; }
.phs-v3-conclusion p { margin: 0; line-height: 1.6; font-size: 1.02rem; }
.phs-v3-conclusion strong { color: var(--v3-pine); font-weight: 700; }

/* 02 — Researcher hero. Keep the original Aula photo and its readable caption.
   For a different image crop, change object-position below. */
.phs-v3-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(93deg, rgba(251,249,245,1) 0%, rgba(251,249,245,1) 48%, rgba(244,242,235,.4) 100%);
}
.phs-v3-hero::before {
  content: "";
  position: absolute;
  width: 205px;
  height: 410px;
  left: -87px;
  bottom: -60px;
  background: url('images/botanical-filigree.svg') center / contain no-repeat;
  opacity: .38;
  pointer-events: none;
}
.phs-v3-hero-grid { display: grid; grid-template-columns: 50% 50%; min-height: 445px; gap: 0; position: relative; }
.phs-v3-hero-copy { padding: 52px 40px 48px 30px; align-self: center; z-index: 1; }
.phs-v3-hero h1 { font-size: clamp(3.1rem, 4.8vw, 5rem); margin: 10px 0 10px; line-height: 1.15; }
.phs-v3-hero-tagline { font-size: clamp(1.3rem, 2.05vw, 1.9rem); line-height: 1.45; margin: 0 0 16px; }
.phs-v3-hero-description { max-width: 560px; font-size: 1.07rem; line-height: 1.75; margin: 0 0 17px; }
.phs-v3-hero-affiliation { color: #3b635b; font-size: .91rem; line-height: 1.65; }
.phs-v3-cta {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  background: var(--v3-pine);
  color: #fff !important;
  border-radius: 30px;
  border: 1px solid var(--v3-pine);
  padding: 12px 24px;
  font-size: .93rem;
  transition: background .18s, transform .18s;
}
.phs-v3-cta:hover { background: #234a3e; transform: translateY(-2px); }
.phs-v3-hero-media { position: relative; min-height: 445px; }
.phs-v3-photo { position: absolute; inset: 0; margin: 0; overflow: hidden; background: #d9dacf; }
.phs-v3-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; filter: saturate(.7) brightness(1.05); }
.phs-v3-photo::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, var(--v3-paper) 0%, rgba(251,249,245,.85) 9%, transparent 46%), linear-gradient(0deg, rgba(27,35,29,.34), transparent 31%); pointer-events: none; }
.phs-v3-photo figcaption { position: absolute; z-index: 2; right: 16px; bottom: 12px; color: white; font: 500 .64rem 'DM Sans', Arial, sans-serif; letter-spacing: .01em; text-shadow: 0 1px 4px #20231c; text-align: right; }
.phs-v3-motto { position: absolute; z-index: 2; right: 8%; top: 32px; margin: 0; color: #203e38; font-size: clamp(1rem, 1.5vw, 1.4rem); font-style: italic; line-height: 1.4; text-shadow: 0 1px 9px rgba(255,255,255,.8); }
.phs-v3-motto span { display: block; margin-top: 6px; font-size: .78em; }

/* Shared left-side issue/section numbering, like a scientific editorial spread. */
.phs-v3-sectiongrid { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 27px; }
.phs-v3-siderail { display: flex; flex-direction: column; gap: 11px; padding-top: 8px; line-height: 1.7; color: #41665e; }
.phs-v3-siderail > span:first-child { font-size: .63rem; line-height: 1.65; }
.phs-v3-rail-dots { font-size: 1.4rem; letter-spacing: .2em; line-height: .8; font-family: Georgia,serif; color: #37655a; }
.phs-v3-main { min-width: 0; }

/* 03 — Three large pastel research cards, similar to the visual reference. */
.phs-v3-research { padding: 28px 0 24px; }
.phs-v3-topic-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.phs-v3-topic {
  display: flex; flex-direction: column; min-height: 300px;
  position: relative; overflow: hidden; padding: 27px 24px 22px;
  border-radius: 5px; transition: transform .2s, box-shadow .2s;
  isolation: isolate;
}
.phs-v3-topic:hover { transform: translateY(-3px); box-shadow: 0 12px 20px rgba(23,55,45,.08); }
.phs-v3-topic-sage { background: var(--v3-sage); }
.phs-v3-topic-ice { background: var(--v3-ice); }
.phs-v3-topic-peach { background: var(--v3-peach); }
.phs-v3-topic::after {
  content: ""; position: absolute; z-index: -1; inset: 0 0 0 45%;
  background-image: url('images/botanical-filigree.svg');
  background-repeat: no-repeat; background-position: right -45px bottom -100px;
  background-size: 210px auto; opacity: .12;
  pointer-events: none;
}
.phs-v3-topic-ice::after { background-image: repeating-radial-gradient(ellipse at bottom right, transparent 0, transparent 7px, rgba(69,129,154,.20) 8px, transparent 9px); opacity: 1; }
.phs-v3-topic-peach::after { opacity: .23; transform: rotate(8deg) scale(.8); }
.phs-v3-topic-index { font-size: .63rem; color: #355a55; }
.phs-v3-topic h3 { margin: 19px 0 12px; font-size: clamp(1.35rem,1.9vw,2rem); line-height: 1.28; max-width: 285px; }
.phs-v3-topic p { margin: 0; font-size: .95rem; max-width: 285px; line-height: 1.72; }
.phs-v3-topic-arrow { margin-top: auto; align-self: flex-start; display: grid; place-items: center; border: 1px solid #8ea9a0; border-radius: 50%; width: 31px; height: 31px; font-size: 1.2rem; }

/* 04 — International collaboration map preview. SVG remains linked to atlas page. */
.phs-v3-atlas { padding: 29px 0 34px; background: #f7f6f1; }
.phs-v3-atlas-layout { display: grid; grid-template-columns: minmax(245px, 29%) minmax(0,1fr); gap: 20px; align-items: center; }
.phs-v3-atlas-copy { padding: 8px 4px 4px; }
.phs-v3-atlas-copy h2 { font-size: clamp(1.6rem, 2.45vw, 2.5rem); line-height: 1.22; margin: 0 0 16px; }
.phs-v3-atlas-copy > p { line-height: 1.68; font-size: .96rem; margin: 0 0 20px; }
.phs-v3-outline-link { display: inline-flex; gap: 18px; align-items: center; padding: 8px 17px; border: 1px solid #6a827a; border-radius: 30px; color: #25483f; font-size: .9rem; transition: background .15s; }
.phs-v3-outline-link:hover { background: #e7eee8; }
.phs-v3-metrics { margin-top: 29px; display: grid; grid-template-columns: repeat(3,1fr); }
.phs-v3-metrics div { border-right: 1px solid #c6cac1; padding: 0 10px; }
.phs-v3-metrics div:first-child { padding-left: 0; }
.phs-v3-metrics div:last-child { border-right: 0; }
.phs-v3-metrics strong { font-size: 1.35rem; line-height: 1.2; display: block; font-weight: 400; }
.phs-v3-metrics span { display: block; font-size: .72rem; color: #52635c; }
.phs-v3-worldmap { display: block; width: 100%; height: auto; border: 0; }
.phs-v3-worldmap a:focus circle { stroke: #294e55; stroke-width: 3; }
.phs-v3-map-footer { display: flex; gap: 16px; justify-content: space-between; align-items: end; }
.phs-v3-map-footer > a { white-space: nowrap; font-size: .76rem; }
.phs-v3-map-legend { display: flex; gap: 8px 18px; flex-wrap: wrap; max-width: 510px; }
.phs-v3-map-legend span { display: inline-flex; gap: 6px; align-items: center; font-size: .7rem; color: #53615a; }
.phs-v3-map-legend i { width: 8px; height: 8px; display: inline-block; border-radius: 50%; }
.phs-v3-map-disclaimer { color: #687973; font-family: 'DM Sans',Arial,sans-serif; font-size: .61rem; margin: 12px 0 0; }

/* 05 — A chronological publication feed with a ruled timeline. */
.phs-v3-latest { padding: 22px 0 50px; }
.phs-v3-paper-list { padding: 0 0 0 14px; margin: 0; list-style: none; border-left: 1px solid #aebdb5; }
.phs-v3-paper {
  position: relative; display: grid; grid-template-columns: 118px 1fr 132px;
  gap: 17px; align-items: start;
  border-bottom: 1px solid var(--v3-line); min-height: 88px;
  padding: 15px 0 14px 20px;
}
.phs-v3-paper::before { content: ""; position: absolute; left: -19px; top: 21px; width: 7px; height: 7px; border-radius: 50%; background: #3c6254; }
.phs-v3-paper-date time, .phs-v3-paper-date small { display: block; font-size: .78rem; color: #5e6d65; }
.phs-v3-paper-date small { font-size: .73rem; }
.phs-v3-paper-content { position: relative; padding-left: 22px; }
.phs-v3-paper-bullet { position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 50%; }
.phs-v3-paper-bullet-sage { background: #718e62; }
.phs-v3-paper-bullet-blue { background: #6393c2; }
.phs-v3-paper-bullet-peach { background: #d98a63; }
.phs-v3-paper-title { font-size: .93rem; line-height: 1.52; }
.phs-v3-paper-content em { display: block; font-size: .8rem; color: #6e756e; margin-top: 3px; }
.phs-v3-paper-actions { display: flex; justify-content: flex-end; gap: 16px; padding-top: 5px; white-space: nowrap; font-size: .76rem; }
.phs-v3-paper-actions a:hover { text-decoration: underline; }
.phs-v3-pdf-unavailable { opacity: .48; cursor: not-allowed; }
.phs-v3-all-publications { margin: 27px 0 0 10px; }

/* Responsive layouts: no sideways scrolling, readable words at phone size. */
@media (max-width: 1050px) {
  .phs-v3 .phs-container { padding-left: 28px; padding-right: 28px; }
  .phs-v3-perspectives-intro { grid-template-columns: 1fr 1.1fr; }
  .phs-v3-hero-grid { grid-template-columns: 53% 47%; }
  .phs-v3-hero-copy { padding-left: 0; }
  .phs-v3-sectiongrid { grid-template-columns: 62px minmax(0,1fr); gap: 18px; }
  .phs-v3-topic { padding: 23px 18px; }
  .phs-v3-topic h3 { font-size: 1.45rem; }
  .phs-v3-atlas-layout { grid-template-columns: 1fr; }
  .phs-v3-atlas-copy { max-width: 630px; }
}
@media (max-width: 760px) {
  .phs-v3 .phs-container { padding-left: 19px; padding-right: 19px; }
  .phs-v3-perspectives { padding: 32px 0 38px; }
  .phs-v3-perspectives-intro { display: block; margin-bottom: 22px; }
  .phs-v3-perspectives-intro h2 { margin-bottom: 13px; }
  .phs-v3-discipline-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .phs-v3-discipline { min-height: 155px; padding: 16px; }
  .phs-v3-discipline p { margin-top: 11px; font-size: .93rem; }
  .phs-v3-conclusion { grid-template-columns: 1fr; gap: 9px; }
  .phs-v3-hero-grid { display: flex; flex-direction: column; }
  .phs-v3-hero-copy { padding: 40px 0 28px; }
  .phs-v3-hero-media { min-height: 300px; margin: 0 -19px; }
  .phs-v3-motto { top: 16px; right: 18px; }
  .phs-v3-sectiongrid { grid-template-columns: 1fr; gap: 10px; }
  .phs-v3-siderail { flex-direction: row; justify-content: space-between; align-items: center; padding-top: 0; }
  .phs-v3-siderail > span:first-child br { display: none; }
  .phs-v3-rail-dots { display: none; }
  .phs-v3-topic-grid { grid-template-columns: 1fr; }
  .phs-v3-topic { min-height: 250px; }
  .phs-v3-atlas, .phs-v3-research { padding-top: 25px; }
  .phs-v3-paper { grid-template-columns: 77px minmax(0,1fr); gap: 11px; }
  .phs-v3-paper-content { padding-left: 14px; }
  .phs-v3-paper-actions { grid-column: 2; justify-content: flex-start; padding-top: 0; }
  .phs-v3-metrics { max-width: 420px; }
}
@media (max-width: 420px) {
  .phs-v3-discipline-grid { grid-template-columns: 1fr; }
  .phs-v3-discipline { min-height: unset; }
  .phs-v3-hero h1 { font-size: 2.65rem; }
  .phs-v3-map-footer { flex-wrap: wrap; }
  .phs-v3-paper-title { font-size: .87rem; }
}
@media (prefers-reduced-motion: reduce) {
  .phs-v3-cta, .phs-v3-topic { transition: none; }
}


/* ===============================================================
   HOMEPAGE INTRO — change font sizes/colors here, text in index.qmd.
   Scoped to pages containing .phs-intro; does not change other sections.
   =============================================================== */

/* The Quarto page title and metadata are generated from index.qmd YAML. */
body:has(.phs-intro) #title-block-header {
  margin-top: clamp(12px,2.4vw,32px);
  margin-bottom: 8px;
}
body:has(.phs-intro) #title-block-header h1.title {
  font: 400 clamp(3.1rem,6.1vw,5.25rem)/1.12 Georgia,serif;
  letter-spacing: -.04em;
  color: #192d2d;
  margin: 0 0 12px;
}
/* This small description is the research summary the user supplied. */
body:has(.phs-intro) #title-block-header .description {
  font: 400 .76rem/1.6 'DM Sans',Arial,sans-serif;
  letter-spacing: .01em;
  color: #657872;
  max-width: 640px;
  margin: 0 0 12px;
}
body:has(.phs-intro) #title-block-header .quarto-title-meta { display: none; }
.phs-intro { max-width: 760px; margin-bottom: clamp(24px,4vw,54px); }
.phs-intro-tagline {
  font: 400 clamp(1.5rem,2.7vw,2.3rem)/1.35 Georgia,serif;
  letter-spacing: -.02em;
  color: #1a2e2e;
  margin-bottom: 17px;
}
.phs-intro-tagline p,.phs-intro-description p,.phs-intro-affiliation p { margin: 0; }
.phs-intro-description {
  max-width: 650px;
  font: 400 clamp(1rem,1.45vw,1.11rem)/1.73 Georgia,serif;
  color: #3e4b49;
  margin-bottom: 18px;
}
.phs-intro-affiliation {
  max-width: 580px;
  font: 400 .91rem/1.65 Georgia,serif;
  color: #346158;
  margin-bottom: 25px;
}
/* Actual accessible Markdown link rendered as a green pill-shaped button. */
.phs-intro-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  padding: 10px 26px;
  color: #fff !important;
  background: #345e52;
  border: 1px solid #345e52;
  border-radius: 999px;
  font: 400 .98rem/1.3 Georgia,serif;
  text-decoration: none !important;
  transition: background-color .16s ease,transform .16s ease;
}
.phs-intro-button:hover,.phs-intro-button:focus-visible {
  color: #fff !important;
  background: #26493f;
  border-color: #26493f;
  transform: translateY(-1px);
}
.phs-intro-button:focus-visible { outline: 3px solid #8cad9e; outline-offset: 3px; }
@media (max-width: 600px) {
  body:has(.phs-intro) #title-block-header h1.title { font-size: clamp(2.7rem,10.2vw,3.8rem); }
  body:has(.phs-intro) #title-block-header .description { font-size: .72rem; }
  .phs-intro { margin-bottom: 28px; }
  .phs-intro-description { line-height: 1.63; }
  .phs-intro-button { min-height: 44px; padding: 9px 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .phs-intro-button { transition: none; }
}

/* Shared website footer — motto moved from homepage to footer in _quarto.yml. */
.nav-footer .nav-footer-center {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  color: #345e52;
  font-size: .86rem;
  text-align: center;
}


/* ========================================================================
   POPULATION HEALTH CIRCLES — MEDICAL EDITORIAL
   ========================================================================
   Applies ONLY to the population-health explanation on the homepage.
   Text content is editable in index.qmd between .phs-medical-section fences.
   Colors and circle sizes can be modified here without touching other pages.
   Quarto fenced divs render normal semantic HTML, not raw code blocks.
   ======================================================================== */
.phs-medical-section {
  --med-ink: #20363b;
  --med-muted: #52696d;
  --med-pine: #34675d;
  --med-line: #dfe8e5;
  --med-paper: #fbfcfa;
  --med-medicine: #c6dedc;
  --med-public: #f0e4d5;
  --med-epi: #e6dfe8;
  --med-biostats: #d9e6f0;
  margin: clamp(48px, 7vw, 100px) 0 clamp(48px, 7vw, 92px);
  padding: clamp(28px, 4vw, 60px) clamp(19px, 3vw, 44px);
  background: linear-gradient(138deg, #fbfcfa 0%, #f6faf8 64%, #fbf9f5 100%);
  border: 1px solid #e4eae5;
  border-radius: 6px;
  box-shadow: 0 14px 36px rgba(44, 67, 59, .035);
  color: var(--med-ink);
}
.phs-medical-section h2,
.phs-medical-section h3 {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--med-ink);
  font-weight: 400;
}
.phs-medical-grid {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(15px, 3.1vw, 58px);
  align-items: center;
  min-width: 0;
}
.phs-medical-copy { max-width: 490px; padding: 8px 0; }
.phs-medical-eyebrow {
  font: 600 .63rem/1.55 'DM Sans', Arial, sans-serif;
  color: #5a8279;
  letter-spacing: .19em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.phs-medical-eyebrow p { margin: 0; }
.phs-medical-copy h2 {
  font-size: clamp(2rem, 3.35vw, 3.25rem);
  line-height: 1.13;
  letter-spacing: -.038em;
  margin: 0 0 22px;
}
.phs-medical-copy > p {
  font: 400 clamp(.98rem, 1.27vw, 1.09rem)/1.77 Georgia, 'Times New Roman', serif;
  color: #4c5e5d;
  margin: 0;
}
/* The Venn diagram is built out of overlapping circles containing real text.
   The visual is 1:1 aspect ratio and remains fully visible at mobile widths. */
.phs-medical-visual {
  position: relative;
  isolation: isolate;
  width: min(100%, 490px);
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  overflow: visible;
}
.phs-medical-circle,
.phs-medical-core {
  position: absolute;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  text-align: center;
}
.phs-medical-circle {
  width: 57%;
  height: 57%;
  border: 1px solid rgba(255,255,255,.7);
  padding: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: #273e40;
  font-size: clamp(.7rem, 1vw, .89rem);
  line-height: 1.35;
}
.phs-medical-circle > p { margin: 0; max-width: 63%; }
.phs-medical-circle p:first-child strong {
  font-weight: 600;
  font-size: 1.07em;
  color: #203a40;
}
.phs-medical-circle p:last-child {
  font-size: .82em;
  font-style: normal;
  line-height: 1.3;
  color: #52646b;
}
.phs-medical-circle p:last-child em { font-style: normal; }
.phs-medical-medicine {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(192, 220, 216, .75);
  justify-content: flex-start;
  padding-top: 8.5%;
}
.phs-medical-public {
  top: 21%;
  left: 0;
  background: rgba(237, 222, 203, .7);
  justify-content: center;
  align-items: flex-start;
  text-align: center;
}
/* Keep BOTH heading and supporting words in the OUTER half of each circle.
   Without a consistent width, long descriptions grow inward and get hidden
   behind the central population-health circle. */
.phs-medical-public > p,
.phs-medical-biostats > p {
  width: 51%;
  max-width: 51%;
  flex: 0 0 auto;
  text-align: center;
}
.phs-medical-public > p { margin-left: 6%; }

.phs-medical-biostats {
  top: 21%;
  right: 0;
  background: rgba(207, 224, 238, .72);
  justify-content: center;
  align-items: flex-end;
}
.phs-medical-biostats > p { margin-right: 6%; }
/* Slightly darker supporting text, with breathing room beneath the heading. */
.phs-medical-public > p:last-child,
.phs-medical-biostats > p:last-child {
  color: #385157;
  font-size: .85em;
  line-height: 1.35;
  margin-top: .15em;
}
.phs-medical-epi {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(227, 216, 228, .7);
  justify-content: flex-end;
  padding-bottom: 8%;
}
.phs-medical-core {
  width: 29%;
  height: 29%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  justify-content: center;
  padding: 5%;
  background: rgba(252, 252, 249, .95);
  border: 1.5px solid rgba(80, 130, 117, .42);
  box-shadow: 0 5px 25px rgba(44, 83, 72, .11);
  color: #26554d;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(.71rem, 1.1vw, .97rem);
  line-height: 1.2;
  letter-spacing: -.015em;
}
.phs-medical-core p { margin: 0; }
.phs-medical-core strong { font-weight: 500; }
/* Brief questions under the circle make every full statement readable.
   A restrained top rule and four small colored indicators evoke clinical reports. */
.phs-medical-questions {
  margin: clamp(20px, 4vw, 44px) 0 0;
  padding-top: clamp(25px, 3vw, 37px);
  border-top: 1px solid var(--med-line);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: clamp(14px, 2.3vw, 32px);
  row-gap: 24px;
}
.phs-medical-question {
  border-left: 2px solid var(--med-accent);
  padding-left: 15px;
  min-width: 0;
}
.phs-medical-q-medicine { --med-accent: #87b7ad; }
.phs-medical-q-public { --med-accent: #d8b48d; }
.phs-medical-q-epi { --med-accent: #b8a1c0; }
.phs-medical-q-biostats { --med-accent: #92b7d2; }
.phs-medical-question h3 {
  font-size: clamp(1rem, 1.3vw, 1.27rem);
  margin: 0 0 8px;
  letter-spacing: -.01em;
}
.phs-medical-question p {
  font: 400 .86rem/1.67 Georgia, 'Times New Roman', serif;
  color: #556564;
  margin: 0;
}
.phs-medical-takeaway {
  margin-top: 35px;
  padding: 21px 24px 21px 26px;
  background: #edf4f0;
  border-left: 3px solid #5f9889;
  border-radius: 0 3px 3px 0;
}
.phs-medical-takeaway h3 {
  color: #28564b;
  font-size: clamp(1.15rem,1.6vw,1.38rem);
  line-height: 1.3;
  margin: 0 0 8px;
}
.phs-medical-takeaway p {
  font: 400 .98rem/1.7 Georgia, 'Times New Roman', serif;
  color: #435951;
  margin: 0;
}
@media (max-width: 1080px) {
  .phs-medical-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 8px; }
  .phs-medical-questions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 750px) {
  .phs-medical-section { margin-block: 40px; padding: 29px 18px 32px; }
  .phs-medical-grid { grid-template-columns: 1fr; gap: 19px; }
  .phs-medical-copy { max-width: 540px; }
  .phs-medical-copy h2 { font-size: clamp(2rem,7vw,2.7rem); }
  .phs-medical-visual { max-width: 440px; }
  .phs-medical-circle { font-size: clamp(.7rem, 2.6vw, .86rem); }
  .phs-medical-core { font-size: clamp(.7rem, 2.6vw, .84rem); }
}
@media (max-width: 480px) {
  .phs-medical-visual { max-width: 340px; }
  .phs-medical-questions { grid-template-columns: 1fr; gap: 22px; }
  .phs-medical-circle { font-size: .76rem; }
  .phs-medical-circle p:last-child { font-size: .78em; }
  .phs-medical-core { font-size: .72rem; padding: 4%; }
  .phs-medical-takeaway { padding: 19px; }
}


/* ========================================================================
   RESEARCH AREA CARDS — EDITORIAL MEDICAL DESIGN
   ========================================================================
   EDIT TEXT: index.qmd, in the research-card fenced divs.
   EDIT COLORS: the three background variants below.
   EDIT DECORATION: the ::before botanical illustration and the
   ::after contour lines are purely visual; no text is embedded in them.
   Arrow links lead to publications.html and are keyboard-accessible.
   This CSS does not alter the population-health Venn diagram above.
   ======================================================================== */

/* Keep the title clear, airy, and visually connected to the card row. */
body:has(.phs-research-cards-section) h2#research-areas {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -.025em;
  color: #20363b;
  margin: clamp(40px, 5vw, 72px) 0 22px;
}

.phs-research-cards-section {
  margin: 0 0 clamp(42px, 6vw, 88px);
}
.phs-research-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(12px, 1.7vw, 22px);
}
.phs-research-card {
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(310px, 26vw, 365px);
  padding: clamp(24px, 2.5vw, 34px);
  border-radius: 6px;
  border: 1px solid rgba(58, 86, 78, .13);
  color: #233b3e;
  box-shadow: 0 10px 32px rgba(36, 70, 62, .04);
  transition: transform .22s ease, box-shadow .22s ease;
}
.phs-research-card > * {
  position: relative;
  z-index: 1;
}
.phs-research-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 33px rgba(36, 70, 62, .09);
}
/* Soft botanical linework sits behind the words, not over them. */
.phs-research-card::before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 0;
  right: -50px;
  bottom: -128px;
  width: 245px;
  height: 420px;
  background: url("images/botanical-filigree.svg") center / contain no-repeat;
  opacity: .19;
  transform: rotate(12deg);
}
/* A second, subtle scientific motif adds variation across the three cards. */
.phs-research-card::after {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: 0;
  right: -72px;
  top: -80px;
  width: 215px;
  height: 215px;
  border: 1px solid rgba(75, 116, 116, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, .055),
              0 0 0 54px rgba(75, 116, 116, .055);
}
.phs-research-card-sage {
  background: linear-gradient(140deg, #e7eee5 0%, #dbe7dd 100%);
}
.phs-research-card-blue {
  background: linear-gradient(140deg, #e8f0f4 0%, #dceaf0 100%);
}
.phs-research-card-blue::before {
  background: repeating-radial-gradient(ellipse at 75% 70%,
    transparent 0 10px, rgba(85, 140, 165, .19) 11px 12px,
    transparent 13px 21px);
  right: -70px;
  bottom: -55px;
  width: 255px;
  height: 255px;
  border-radius: 50%;
  opacity: .68;
  transform: none;
}
.phs-research-card-peach {
  background: linear-gradient(140deg, #f5e1d5 0%, #f0d5c6 100%);
}
.phs-research-card-peach::before {
  right: -60px;
  bottom: -165px;
  transform: rotate(-17deg);
  opacity: .21;
}
.phs-research-card-index,
.phs-research-card-index p {
  margin: 0;
  color: #41665e;
  font: 600 .66rem/1.45 'DM Sans', Arial, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.phs-research-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.45rem, 1.9vw, 1.93rem);
  line-height: 1.22;
  letter-spacing: -.028em;
  color: #1e363a;
  max-width: 14ch;
  margin: 30px 0 16px;
}
.phs-research-card > p {
  color: #435653;
  font: 400 clamp(.94rem, 1.08vw, 1.04rem)/1.67 Georgia, "Times New Roman", serif;
  max-width: 29ch;
  margin: 0 0 26px;
}
/* Last paragraph contains only the arrow link, anchored to the card bottom. */
.phs-research-card > p:last-child {
  margin-top: auto;
  margin-bottom: 0;
}
.phs-research-card-arrow {
  display: inline-flex;
  width: 37px;
  height: 37px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(57, 94, 88, .42);
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: #25483e !important;
  font: 400 1.3rem/1 Georgia, serif;
  text-decoration: none !important;
  transition: background .18s ease, transform .18s ease;
}
.phs-research-card-arrow:hover,
.phs-research-card-arrow:focus-visible {
  background: rgba(255,255,255,.65);
  color: #1b3f37 !important;
  transform: translateX(3px);
}
.phs-research-card-arrow:focus-visible {
  outline: 3px solid #638f84;
  outline-offset: 3px;
}
@media (max-width: 1020px) {
  .phs-research-cards-grid { gap: 12px; }
  .phs-research-card { padding: 22px 19px; min-height: 325px; }
  .phs-research-card h3 { font-size: 1.5rem; }
}
@media (max-width: 780px) {
  .phs-research-cards-grid { grid-template-columns: 1fr; gap: 15px; }
  .phs-research-card { min-height: 240px; padding: 23px 25px; }
  .phs-research-card h3 { max-width: 24ch; margin-top: 18px; }
  .phs-research-card > p { max-width: 52ch; }
  .phs-research-card::before { opacity: .13; }
}
@media (prefers-reduced-motion: reduce) {
  .phs-research-card, .phs-research-card-arrow { transition: none; }
}


/* ========================================================================
   HOMEPAGE TIMELINE AND LATEST PUBLICATIONS — EDITORIAL
   ========================================================================
   Matches the reference image: academic career timeline on the left,
   compact publication list with color dots and paper links on the right.
   EDIT WORDING: index.qmd under "HOMEPAGE FEATURE".
   EDIT COLORS/FONTS/SIZES: selectors below only.
   ======================================================================== */

.phs-featured-section {
  box-sizing: border-box;
  width: min(1240px, calc(100vw - 56px));
  max-width: none;
  margin: clamp(48px, 5.5vw, 80px) 0 clamp(50px, 6vw, 95px) 50%;
  transform: translateX(-50%);
  padding: clamp(18px, 2.5vw, 34px);
  background: linear-gradient(110deg, #fbfaf7, #f8faf9 58%, #fbfaf7);
  border: 1px solid #e8e9e3;
  border-radius: 6px;
  color: #273e48;
  font-family: Georgia, 'Times New Roman', serif;
  overflow: hidden;
}

.phs-featured-kicker,
.phs-featured-kicker p {
  margin: 0 0 22px;
  font: 600 .68rem/1.5 'DM Sans', Arial, sans-serif;
  letter-spacing: .18em;
  color: #5b7f7a;
}

.phs-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 47%) minmax(0, 53%);
  gap: 0;
}
.phs-featured-left {
  min-width: 0;
  padding: 0 clamp(20px, 2.5vw, 34px) 0 0;
}
.phs-featured-right {
  min-width: 0;
  border-left: 2px solid #abc1c7;
  padding-left: clamp(22px, 2.5vw, 33px);
}
.phs-featured-left > h4,
.phs-featured-publications-label h4 {
  font: 700 .74rem/1.45 'DM Sans', Arial, sans-serif;
  letter-spacing: .14em;
  color: #59798a;
  text-transform: uppercase;
  margin: 0 0 26px;
  padding-bottom: 15px;
  position: relative;
}
.phs-featured-left > h4::after,
.phs-featured-publications-label h4::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 29px;
  height: 2px;
  background: #4d7a8d;
}

/* A separate small date column, blue guide line, and organization marks. */
.phs-featured-timeline {
  position: relative;
  display: grid;
  gap: 23px;
  padding-bottom: 12px;
}
.phs-featured-timeline::before {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 12px;
  left: 101px;
  width: 1px;
  background: #b7c8c9;
}
.phs-featured-milestone {
  display: grid;
  grid-template-columns: 86px 48px minmax(0, 1fr);
  gap: 17px;
  position: relative;
  align-items: start;
  min-width: 0;
}
.phs-featured-milestone::before {
  content: "";
  position: absolute;
  left: 96px;
  top: 9px;
  width: 11px;
  height: 11px;
  background: #3f718b;
  border-radius: 50%;
  border: 1.5px solid #fbfaf7;
  z-index: 2;
}
.phs-featured-date,
.phs-featured-date p {
  color: #718390;
  font: 400 .82rem/1.45 Georgia, 'Times New Roman', serif;
  margin: 0;
  white-space: nowrap;
}
.phs-featured-monogram {
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  background: #eaf1f1;
  color: #2c6078;
  font: 700 .81rem/1 'DM Sans', Arial, sans-serif;
  letter-spacing: -.04em;
}
.phs-featured-monogram p { margin: 0; }
.phs-featured-jgu { background: #ac2948; color: #fff; font-size: 1rem; }
.phs-featured-uni { background: #e9f5fa; color: #247eb2; font-size: 1.2rem; }
.phs-featured-position {
  min-width: 0;
  color: #536675;
  font-size: .87rem;
  line-height: 1.48;
}
.phs-featured-position p { margin: 0 0 4px; }
.phs-featured-position p:first-child strong {
  font-weight: 600;
  color: #203948;
  font-size: 1rem;
  line-height: 1.35;
}
.phs-featured-position em {
  font-size: .76rem;
  font-style: normal;
  color: #7e8c91;
}

.phs-featured-timeline-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  margin-top: 20px;
  border: 1px solid #8ca7b1;
  border-radius: 18px;
  text-decoration: none !important;
  background: #fbfcfa;
  color: #36687c !important;
  font-size: .84rem;
  line-height: 1.45;
  transition: background-color .18s ease;
}
.phs-featured-timeline-link:hover { background: #edf5f6; }

/* Publication rows use quiet rules and a single colored status dot. */
.phs-featured-publications-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
}
.phs-featured-publications-label { min-width: 0; }
.phs-featured-publications-all {
  flex: 0 0 auto;
  font-size: .81rem;
  line-height: 1.5;
}
.phs-featured-publications-all p { margin: 0; }
.phs-featured-publications-all a {
  color: #397a9c !important;
  text-decoration: none;
}
.phs-featured-publications-all a:hover { text-decoration: underline; }
.phs-featured-papers { display: block; }
.phs-featured-paper {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  min-width: 0;
  padding: 14px 0 15px 25px;
  border-bottom: 1px solid #e1e5e4;
}
.phs-featured-paper:first-child { padding-top: 3px; }
.phs-featured-paper:last-child { border-bottom: 0; }
.phs-featured-paper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #db8564;
}
.phs-featured-paper:first-child::before { top: 12px; }
.phs-featured-paper-blue::before { background: #3489b8; }
.phs-featured-paper-green::before { background: #779773; }
.phs-featured-paper-text { min-width: 0; line-height: 1.4; }
.phs-featured-paper-text p { margin: 0 0 3px; }
.phs-featured-paper-text p:first-child,
.phs-featured-paper-text p:first-child a,
.phs-featured-paper-text p:first-child strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(.85rem, 1.1vw, .95rem);
  line-height: 1.38;
  color: #253b4b;
  font-weight: 400;
  text-decoration: none;
}
.phs-featured-paper-text p:first-child a:hover { text-decoration: underline; }
.phs-featured-paper-text em {
  display: block;
  font-size: .82rem;
  line-height: 1.4;
  color: #728187;
}
.phs-featured-paper-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: right;
  align-items: flex-end;
}
.phs-featured-paper-actions p { margin: 0; }
.phs-featured-paper-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  min-width: 73px;
  border: 1px solid #d1dadc;
  border-radius: 6px;
  font: 500 .79rem/1.25 'DM Sans', Arial, sans-serif;
  color: #507589 !important;
  background: #fafbfa;
  text-decoration: none !important;
  white-space: nowrap;
}
.phs-featured-paper-pill:hover { background: #edf4f6; }
.phs-featured-paper-details {
  font: 400 .7rem/1.3 'DM Sans', Arial, sans-serif;
  color: #78919a !important;
  text-decoration: none !important;
}
.phs-featured-paper-details:hover { text-decoration: underline !important; }
.phs-featured-note {
  margin: 22px 0 0;
  max-width: 90ch;
  color: #7b898a;
  font: 400 .7rem/1.6 'DM Sans', Arial, sans-serif;
}
.phs-featured-note p { margin: 0; }

/* Make the column pairing work on tablets and stack cleanly on phones. */
@media (max-width: 1000px) {
  .phs-featured-section { width: min(940px, calc(100vw - 36px)); padding: 20px; }
  .phs-featured-grid { grid-template-columns: 1fr 1.12fr; }
  .phs-featured-milestone { grid-template-columns: 70px 34px minmax(0, 1fr); gap: 14px; }
  .phs-featured-timeline::before { left: 80px; }
  .phs-featured-milestone::before { left: 75px; }
  .phs-featured-monogram { width: 32px; height: 36px; font-size: .65rem; }
  .phs-featured-position p:first-child strong { font-size: .91rem; }
}
@media (max-width: 760px) {
  .phs-featured-section { width: calc(100vw - 28px); padding: 18px; }
  .phs-featured-grid { grid-template-columns: 1fr; }
  .phs-featured-left { padding: 0 0 28px; }
  .phs-featured-right { border-left: 0; border-top: 2px solid #abc1c7; padding: 28px 0 0; }
  .phs-featured-milestone { grid-template-columns: 87px 40px minmax(0, 1fr); gap: 14px; }
  .phs-featured-timeline::before { left: 96px; }
  .phs-featured-milestone::before { left: 91px; }
  .phs-featured-monogram { width: 40px; height: 40px; font-size: .72rem; }
}
@media (max-width: 420px) {
  .phs-featured-section { padding: 15px 13px; }
  .phs-featured-milestone { grid-template-columns: 76px 30px minmax(0, 1fr); gap: 12px; }
  .phs-featured-timeline::before { left: 84px; }
  .phs-featured-milestone::before { left: 79px; }
  .phs-featured-monogram { width: 31px; height: 33px; font-size: .61rem; }
  .phs-featured-date { font-size: .74rem; }
  .phs-featured-date p { font-size: inherit; }
  .phs-featured-paper { grid-template-columns: 1fr; gap: 5px; }
  .phs-featured-paper-actions { align-items: flex-start; flex-direction: row; gap: 12px; }
  .phs-featured-paper-actions p { display: inline-block; }
}
@media (prefers-reduced-motion: reduce) {
  .phs-featured-timeline-link { transition: none; }
}


/* =====================================================================
   AULA HERO — SOFT EDITORIAL PHOTO BLEND
   =====================================================================
   The title, subtitle, biography, affiliation and buttons live in the
   same hero area as the Aula photograph. The photograph fades into the
   background instead of appearing as a full-width image below the text.
   To change the words or photograph edit the top section of index.qmd.
   To make the photo lighter/darker edit opacity or the mask gradients here.
   ===================================================================== */

/* The visible H1 is now inside the hero, not a separate Quarto title. */
body:has(.phs-aula-hero) #title-block-header { display: none; }

.phs-aula-hero {
  --aula-paper: #fcfbf8;
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: min(1450px, calc(100vw - 30px));
  min-height: clamp(540px, 43vw, 690px);
  margin: 0 0 50px 50%;
  transform: translateX(-50%);
  padding: clamp(36px, 5.7vw, 85px) clamp(22px, 5vw, 82px);
  overflow: hidden;
  background: var(--aula-paper);
  border-bottom: 1px solid rgba(69,100,90,.13);
}
.phs-aula-copy {
  position: relative;
  z-index: 3;
  box-sizing: border-box;
  width: min(64%, 750px);
  padding: 15px 0;
}
.phs-aula-copy h1 {
  font: 400 clamp(3.3rem,5.7vw,5.6rem)/1.08 Georgia,'Times New Roman',serif;
  letter-spacing: -.045em;
  color: #192f2d;
  margin: 0 0 17px;
}
.phs-aula-copy .phs-intro { max-width: 650px; margin: 0; }
.phs-aula-copy .phs-intro-tagline {
  font-size: clamp(1.4rem,2.3vw,2.12rem);
  line-height: 1.4;
  max-width: 640px;
  margin-bottom: 19px;
}
.phs-aula-copy .phs-intro-description { max-width: 610px; color: #354c48; }
.phs-aula-copy .phs-intro-affiliation { max-width: 570px; }

/* The photo is a layer on the right of the SAME hero, not below it.
   Two intersecting mask gradients softly blend all its edges into paper.
   Chrome/Safari use the -webkit-prefixed versions as well. */
.phs-aula-photo {
  position: absolute;
  z-index: 1;
  inset: -5% -2% -5% auto;
  width: 68%;
  overflow: hidden;
  pointer-events: none;
  opacity: .84;
  -webkit-mask-image:
    linear-gradient(to right,transparent 0%,rgba(0,0,0,.08) 12%,
      rgba(0,0,0,.35) 28%,rgba(0,0,0,.8) 49%,#000 68%,#000 94%,
      rgba(0,0,0,.7) 100%),
    linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.7) 12%,
      #000 27%,#000 74%,rgba(0,0,0,.75) 88%,transparent 100%);
  mask-image:
    linear-gradient(to right,transparent 0%,rgba(0,0,0,.08) 12%,
      rgba(0,0,0,.35) 28%,rgba(0,0,0,.8) 49%,#000 68%,#000 94%,
      rgba(0,0,0,.7) 100%),
    linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.7) 12%,
      #000 27%,#000 74%,rgba(0,0,0,.75) 88%,transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.phs-aula-photo > p,
.phs-aula-photo figure { width: 100%; height: 100%; margin: 0; }
.phs-aula-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(.72) contrast(.89) brightness(1.1);
}
.phs-aula-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right,var(--aula-paper) 0%,rgba(252,251,248,.78) 23%,
      rgba(252,251,248,.44) 44%,rgba(252,251,248,.1) 67%,transparent 87%),
    linear-gradient(to top,rgba(252,251,248,.22),transparent 28%,transparent 78%,
      rgba(252,251,248,.17));
}

@media (max-width: 1100px) {
  .phs-aula-hero { min-height: 540px; }
  .phs-aula-copy { width: min(74%, 680px); }
  .phs-aula-photo { right: -9%; width: 79%; opacity: .67; }
}
@media (max-width: 760px) {
  /* The photograph stays in the hero, but fades behind the copy on phones. */
  .phs-aula-hero {
    width: calc(100vw - 20px);
    min-height: 560px;
    margin-bottom: 30px;
    padding: 40px 21px 46px;
    align-items: flex-start;
  }
  .phs-aula-copy { width: 100%; max-width: 600px; padding: 0; }
  .phs-aula-copy h1 {
    font-size: clamp(2.8rem,9.3vw,4.1rem);
    max-width: 93%;
  }
  .phs-aula-copy .phs-intro-tagline { font-size: clamp(1.3rem,5vw,1.8rem); }
  .phs-aula-photo {
    width: 107%;
    height: 87%;
    top: 13%;
    right: -42%;
    bottom: auto;
    opacity: .29;
  }
  .phs-aula-photo::after {
    background: linear-gradient(to right,rgba(252,251,248,.91),
      rgba(252,251,248,.68) 44%,rgba(252,251,248,.13) 100%);
  }
}
@media (max-width: 440px) {
  .phs-aula-hero { min-height: 650px; padding: 34px 17px 42px; }
  .phs-aula-copy h1 { font-size: clamp(2.6rem,9vw,3.35rem); }
  .phs-aula-photo { opacity: .24; }
}


/* Quarto wraps Markdown images in extra figure divs and p tags.
   Stretch every wrapper to fill the hero so the photo crops naturally
   on desktop and on phones; visually hide the automatic photo caption. */
.phs-aula-photo > .quarto-figure,
.phs-aula-photo .quarto-figure figure,
.phs-aula-photo .quarto-figure figure > p {
  width: 100%;
  height: 100%;
  margin: 0;
}
.phs-aula-photo figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================================
   AULA HERO / POPULATION HEALTH: compact transition and quiet photo credit
   ==========================================================================
   The previous visible line came from a Markdown --- separator between the
   hero and population-health section (removed in index.qmd).
   The large blank space came from the hero's bottom margin PLUS the
   population-health section's top margin.
   Only these two homepage sections are adjusted.
   ========================================================================== */
body:has(.phs-aula-hero) .phs-aula-hero {
  margin-bottom: 0;
  border-bottom: 0;
}
/* Put the next section immediately after the hero, with a modest visual gap. */
body:has(.phs-aula-hero) .phs-medical-section {
  margin-top: clamp(12px, 1.65vw, 22px);
}
/* Small warm-beige credit beneath the visible photo on the right.
   Keeping this as real Quarto text makes it editable in index.qmd. */
.phs-aula-credit {
  position: absolute;
  z-index: 4;
  right: clamp(20px, 3.1vw, 52px);
  bottom: 12px;
  max-width: 53%;
  margin: 0;
  text-align: right;
  color: #aaa08f;
  font: 400 .63rem/1.35 'DM Sans', Arial, sans-serif;
  letter-spacing: .018em;
}
.phs-aula-credit p { margin: 0; }
/* On phones the photo becomes a faded backdrop; keep its credit short and legible. */
@media (max-width: 760px) {
  body:has(.phs-aula-hero) .phs-aula-hero { margin-bottom: 0; }
  body:has(.phs-aula-hero) .phs-medical-section { margin-top: 14px; }
  .phs-aula-credit {
    right: 17px;
    bottom: 10px;
    max-width: 75%;
    font-size: .57rem;
  }
}


/* HOMEPAGE TIMELINE — UNIVERSITY LOGOS
   Edit text in index.qmd. Original logo files stay unchanged.
   Inline images avoid Quarto's auto-generated visible captions. */
.phs-timeline-logo-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 12px 0 20px;
}
.phs-timeline-logo-entry {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.phs-timeline-logo-head > p {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  min-width: 0;
}
.phs-timeline-logo-head strong {
  font-size: .98rem;
  color: #263e49;
  font-weight: 600;
}
.phs-timeline-logo-image {
  width: 62px;
  height: 56px;
  max-width: 62px;
  max-height: 56px;
  flex: 0 0 62px;
  object-fit: contain;
  object-position: center;
  border: 1px solid #e7eceb;
  border-radius: 5px;
  padding: 3px;
  background: white;
}
.phs-timeline-logo-details {
  margin: 0;
  min-width: 0;
  padding-left: 77px;
  color: #506570;
  font-size: .92rem;
  line-height: 1.45;
}
.phs-timeline-logo-details p { margin: 0; }
.phs-timeline-logo-details strong { color: #263e49; font-weight: 600; }
@media (max-width: 1080px) {
  .phs-timeline-logo-head > p { gap: 12px; }
  .phs-timeline-logo-image { flex-basis: 50px; width: 50px; height: 47px; }
  .phs-timeline-logo-details { padding-left: 62px; }
}
@media (max-width: 430px) {
  .phs-timeline-logo-head > p { gap: 10px; }
  .phs-timeline-logo-image { flex-basis: 43px; width: 43px; height: 41px; }
  .phs-timeline-logo-head strong { font-size: .89rem; }
  .phs-timeline-logo-details { padding-left: 53px; font-size: .85rem; }
}




/* ========================================================================
   HOMEPAGE EDUCATION + PUBLICATIONS — COMPACT MEDICAL EDITORIAL TYPOGRAPHY
   ========================================================================
   IMPORTANT: these small section labels use Quarto fenced divs rather than
   headings. In Quarto, attaching a class to a heading can also decorate
   its whole section and accidentally make EVERY paragraph uppercase.
   Modify text in index.qmd. These styles affect ONLY the two-column area.
   ======================================================================== */

.phs-work-columns {
  --work-text: #354d50;
  --work-heading: #547e77;
  --work-rule: #e1e9e6;
  color: var(--work-text);
  text-transform: none;
  letter-spacing: normal;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: .94rem;
  line-height: 1.52;
  margin-top: 8px;
}
.phs-work-columns .column { min-width: 0; }
.phs-work-smallheading {
  font: 600 .7rem/1.5 'DM Sans', Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--work-heading);
  border-bottom: 1px solid var(--work-rule);
  padding: 0 0 12px;
  margin: 0 0 19px;
}
.phs-work-smallheading p { margin: 0; }
/* The entries must remain regular sentence case even if the site adds
   heading-related selectors in the future. */
.phs-work-columns .column > p,
.phs-work-columns .column > section,
.phs-work-columns .phs-timeline-logo-entry,
.phs-work-columns .phs-timeline-logo-entry p,
.phs-work-columns .phs-timeline-logo-entry strong,
.phs-work-columns .column > p strong,
.phs-work-columns .column > p em,
.phs-work-columns .column > p a {
  text-transform: none;
  letter-spacing: normal;
}
.phs-work-columns .column > p {
  font-size: .94rem;
  line-height: 1.52;
  margin: 0 0 7px;
  color: #3b555a;
}
/* Compact timeline entries: actual university logos remain unchanged. */
.phs-work-columns .phs-timeline-logo-list { gap: 19px; margin: 3px 0 16px; }
.phs-work-columns .phs-timeline-logo-entry { gap: 5px; }
.phs-work-columns .phs-timeline-logo-head > p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.phs-work-columns .phs-timeline-logo-head strong {
  font: 600 .94rem/1.4 Georgia, 'Times New Roman', serif;
  color: #2a444a;
  text-transform: none;
  letter-spacing: normal;
}
.phs-work-columns .phs-timeline-logo-image {
  flex: 0 0 52px;
  width: 52px;
  height: 49px;
  max-width: 52px;
  max-height: 49px;
}
.phs-work-columns .phs-timeline-logo-details {
  padding-left: 64px;
  font: 400 .88rem/1.48 Georgia, 'Times New Roman', serif;
  color: #5a6c6f;
  text-transform: none;
  letter-spacing: normal;
}
.phs-work-columns .phs-timeline-logo-details strong {
  font-weight: 600;
  font-size: .92rem;
  color: #2e464c;
}
/* Publication list stays readable, understated, and gently separated. */
.phs-work-columns .column:last-child > p {
  font: 400 .93rem/1.52 Georgia, 'Times New Roman', serif;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 10px;
}
.phs-work-columns .column:last-child > p strong {
  font: 500 .96rem/1.45 Georgia, 'Times New Roman', serif;
  color: #273e46;
  letter-spacing: normal;
  text-transform: none;
}
.phs-work-columns .column:last-child > p em {
  font: italic 400 .81rem/1.45 Georgia, 'Times New Roman', serif;
  color: #708284;
  letter-spacing: normal;
  text-transform: none;
}
.phs-work-columns .column:last-child hr {
  margin: 15px 0;
  opacity: 1;
  border: 0;
  border-top: 1px solid var(--work-rule);
}
.phs-work-columns .column:last-child a {
  font-size: .81rem;
  letter-spacing: normal;
  text-transform: none;
  color: #376d78;
  text-decoration: none;
}
.phs-work-columns .column:last-child a:hover { text-decoration: underline; }

/* A thin center divider, matching the previous reference without heavy boxes. */
@media (min-width: 781px) {
  .phs-work-columns > .column:first-child { padding-right: 24px; }
  .phs-work-columns > .column:last-child {
    border-left: 1px solid #e3e9e7;
    padding-left: 26px;
  }
}
@media (max-width: 780px) {
  .phs-work-columns .column:last-child {
    border-top: 1px solid var(--work-rule);
    margin-top: 26px;
    padding-top: 23px;
  }
  .phs-work-columns .phs-timeline-logo-head strong { font-size: .87rem; }
  .phs-work-columns .phs-timeline-logo-details { font-size: .84rem; }
}


/* Shared inner-page hero — based on the Timeline's faded-photo header.
   Only Atlas, Research and About use this class; their content stays independent. */
.phs-inner-hero {
  min-height: 285px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 36px 0 22px;
  isolation: isolate;
}
.phs-inner-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -58px 0 36%;
  background: url("images/uni-gottingen-4064017271.jpg") right 46% / cover no-repeat;
  opacity: .55;
  mask-image: linear-gradient(to right, transparent 2%, #000 65%),
              linear-gradient(to bottom, #000 40%, transparent 100%);
  mask-composite: intersect;
  pointer-events: none;
}
.phs-inner-hero-copy {
  max-width: 710px;
  position: relative;
  z-index: 1;
}
.phs-inner-hero .phs-inner-hero-eyebrow {
  font: 600 .75rem/1.5 var(--phs-font, "DM Sans", sans-serif);
  color: #668a6e;
  letter-spacing: .19em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.phs-inner-hero h1,
.phs-research-page .phs-inner-hero h1 {
  font: 400 clamp(2.65rem, 4.2vw, 3.75rem)/1.17 var(--phs-serif, Georgia, serif);
  letter-spacing: -.045em;
  color: #223e39;
  margin: 0 0 10px;
  text-transform: none;
}
.phs-inner-hero .phs-inner-hero-intro,
.phs-research-page .phs-inner-hero .phs-research-intro {
  font: 400 clamp(.96rem, 1.2vw, 1.07rem)/1.68 var(--phs-font, "DM Sans", sans-serif);
  color: #485659;
  max-width: 680px;
  margin: 0 0 19px;
}
.phs-inner-hero-rule {
  display: block;
  width: 59px;
  height: 2px;
  background: #6f966e;
}
.phs-atlas-page .phs-inner-hero-copy {
  max-width: 850px;
}
.phs-atlas-page .phs-inner-hero h1 {
  font-size: clamp(2.5rem, 3.6vw, 3.45rem);
}
@media (max-width: 700px) {
  .phs-inner-hero {
    min-height: 235px;
    padding: 30px 0 22px;
  }
  .phs-inner-hero::before {
    inset: 0 -18px 0 16%;
    opacity: .19;
  }
  .phs-atlas-page .phs-inner-hero h1 {
    font-size: clamp(2.35rem, 7.4vw, 3rem);
  }
}
