/* ==============================
   DESIGN TOKENS
   ============================== */

:root {
  /* MGH-inspired palette: MGH blue, deep navy, silver-gray */
  --mgh-blue: #008bb0;
  --navy: #0b2a4a;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-soft: #eef3f7;
  --text: #0b2a4a;
  --text-soft: #4a5a6b;
  --text-muted: #7a8794;
  --border: #dde4ea;
  --border-soft: #eaeff3;
  --accent: #006f8e;          /* darker MGH blue, readable as link text */
  --accent-strong: #008bb0;   /* MGH blue for fills and highlights */
  --accent-soft: #e3f2f7;
  --shadow: 0 1px 2px rgba(11, 42, 74, 0.05), 0 10px 28px rgba(11, 42, 74, 0.08);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
}

body.dark {
  --bg: #0a1a2c;
  --surface: #10243a;
  --surface-soft: #16304a;
  --text: #eef3f8;
  --text-soft: #b8c5d2;
  --text-muted: #7f92a6;
  --border: #213b56;
  --border-soft: #1a324b;
  --accent: #4cc3e3;
  --accent-strong: #4cc3e3;
  --accent-soft: rgba(76, 195, 227, 0.12);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px rgba(0, 0, 0, 0.3);
}


/* ==============================
   GLOBAL
   ============================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

h1,
h2,
h3 {
  color: var(--text);
  letter-spacing: -0.015em;
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 500;
}

p {
  line-height: 1.7;
  color: var(--text-soft);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--surface);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
}


/* ==============================
   HEADER
   ============================== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.header.scrolled {
  border-bottom-color: var(--border);
}

.header-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* Navbar avatar + name */

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text);
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.navbar-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
  transition: transform 0.2s ease;
}

.brand:hover .navbar-avatar {
  transform: rotate(-6deg) scale(1.04);
}

.site-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}


/* ==============================
   NAVIGATION
   ============================== */

.navigation {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.navigation a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  padding: 7px 14px;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.navigation a:hover {
  color: var(--text);
  background: var(--surface-soft);
  text-decoration: none;
}

.navigation a.active {
  color: var(--accent);
  background: var(--accent-soft);
}

#theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 15px;
  cursor: pointer;
  font: 500 14px var(--font-sans);
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

#theme-toggle:hover {
  background: var(--surface-soft);
}


/* ==============================
   HOMEPAGE HERO
   ============================== */

.home-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: 72px;
  padding: 80px 0 96px;
}

.hero-photo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo-wrapper::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: 28px;
  background: var(--accent-strong);
  opacity: 0.18;
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 260px;
  height: 320px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-content {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-content h1 {
  margin: 0 0 14px;
  font-size: 64px;
  line-height: 1.02;
}

.credentials {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}

.role-line {
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-description {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.75;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  padding: 5px 12px;
  border-radius: 999px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.social-links a,
.button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 999px;
  transition: border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}

.social-links a:hover,
.button:hover {
  text-decoration: none;
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.social-links a.primary,
.button.primary {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

body.dark .social-links a.primary,
body.dark .button.primary {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #0a1a2c;
}

.social-links a.primary:hover,
.button.primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #ffffff;
}


/* ==============================
   HOMEPAGE SECTIONS
   ============================== */

.home-section {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}

.roles-section {
  padding-top: 0;
  border-top: none;
}

.section-label {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 40px;
}

.section-heading h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.2;
}


/* ==============================
   GENERAL BOX
   ============================== */

.box {
  padding: 12px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.box h2 {
  margin: 20px 0 4px;
  font: 600 12px var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}


/* ==============================
   CURRENT ROLES
   ============================== */

.experience-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-soft);
}

.experience-item:last-child {
  border-bottom: none;
}

.experience-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.org-mark {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid var(--border);
  overflow: hidden;
}

.org-mark span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.org-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 7px;
  object-fit: contain;
  background: #ffffff;
}

.experience-info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.experience-info p {
  margin: 2px 0 0;
  font-size: 14px;
}

.experience-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
}


/* ==============================
   CARDS (shared)
   ============================== */

.home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-card,
.project-card {
  position: relative;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.home-card:hover,
.project-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}

.home-card {
  min-height: 300px;
}

.card-number {
  margin: 0 0 48px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
}

.home-card::before,
.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 36px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--accent-strong);
}

.home-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
}

.home-card p {
  margin: 0 0 24px;
  font-size: 15px;
}

.card-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

.card-link .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

a.home-card:hover .arrow,
.project-card:hover .arrow {
  transform: translateX(4px);
}


/* ==============================
   HOMEPAGE INSIGHTS + CONTACT
   ============================== */

.insights-feature {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 80px;
}

.insights-feature-content h2 {
  margin: 0 0 18px;
  font-size: 38px;
  line-height: 1.2;
}

.insights-feature-content p {
  margin: 0 0 26px;
  max-width: 620px;
  font-size: 16px;
}

.contact-card {
  text-align: center;
  padding: 64px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
}

.contact-card h2 {
  margin: 0 0 14px;
  font-size: 40px;
}

.contact-card p {
  max-width: 540px;
  margin: 0 auto 28px;
  font-size: 16px;
}

.contact-card .social-links {
  justify-content: center;
}

.email-text {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-muted);
}


/* ==============================
   INNER PAGE INTRO
   ============================== */

.intro {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 0 20px;
  text-align: center;
}

.intro h1 {
  margin: 0 auto 20px;
  font-size: 54px;
  line-height: 1.08;
}

.intro p {
  margin: 0 auto;
  max-width: 640px;
  font-size: 18px;
}


/* ==============================
   INNER PAGE BOXES
   ============================== */

.research-box,
.teaching-box,
.insights-box {
  margin-top: 56px;
  padding: 12px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.research-box h2,
.teaching-box h2,
.insights-box h2,
.projects-heading {
  margin: 20px 0 4px;
  font: 600 12px var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.research-item,
.teaching-item,
.insight-item {
  padding: 24px 0 24px 20px;
  position: relative;
  border-bottom: 1px solid var(--border-soft);
}

.research-item:last-child,
.teaching-item:last-child,
.insight-item:last-child {
  border-bottom: none;
}

.research-item::before,
.teaching-item::before,
.insight-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 29px;
  width: 3px;
  height: 18px;
  border-radius: 3px;
  background: var(--accent-strong);
}

.research-item h3,
.teaching-item h3,
.insight-item h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
}

.research-item p,
.teaching-item p,
.insight-item p {
  margin: 0;
  max-width: 660px;
  font-size: 15px;
}

.box-footer {
  padding: 22px 0 24px;
  border-top: 1px solid var(--border-soft);
}

.box-footer p {
  margin: 0 0 16px;
  font-size: 15px;
}


/* ==============================
   PROJECTS PAGE
   ============================== */

.projects-section {
  margin-top: 56px;
}

.projects-heading {
  margin-bottom: 20px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card {
  min-height: 260px;
}

.project-tag {
  align-self: flex-start;
  margin: 0 0 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.project-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}

.project-card p {
  margin: 0 0 20px;
  font-size: 15px;
}

.project-card a {
  margin-top: auto;
  font-size: 14px;
  font-weight: 500;
}


/* ==============================
   INSIGHTS
   ============================== */

.coming-soon {
  display: inline-block;
  margin: 0 0 8px !important;
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted) !important;
  background: var(--surface-soft);
  padding: 3px 9px;
  border-radius: 999px;
}


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

.footer {
  margin-top: 80px;
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}


/* ==============================
   SCROLL REVEAL
   ============================== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}


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

@media (max-width: 960px) {

  .home-card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-card-grid .home-card:last-child {
    grid-column: span 2;
    min-height: auto;
  }

  .home-hero {
    gap: 48px;
  }

  .hero-content h1 {
    font-size: 52px;
  }
}


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

@media (max-width: 760px) {

  .page {
    padding: 0 20px;
  }

  .header-content {
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand {
    flex-direction: row;
    gap: 10px;
  }

  .navbar-avatar {
    width: 40px;
    height: 40px;
  }

  .navigation {
    width: 100%;
    order: 3;
    overflow-x: auto;
    justify-content: space-between;
    scrollbar-width: none;
  }

  .navigation {
    gap: 0;
  }

  .navigation a {
    padding: 7px 8px;
    font-size: 13px;
  }

  #theme-toggle .label {
    display: none;
  }

  .home-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0 64px;
  }

  .hero-photo-wrapper {
    justify-content: flex-start;
    width: max-content;
  }

  .hero-photo {
    width: 190px;
    height: 230px;
  }

  .hero-content h1 {
    font-size: 44px;
  }

  .hero-description {
    font-size: 16px;
  }

  .home-section {
    padding: 64px 0;
  }

  .roles-section {
    padding-top: 0;
  }

  .box,
  .research-box,
  .teaching-box,
  .insights-box {
    padding: 8px 20px;
  }

  .experience-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .experience-date {
    margin-left: 72px;
  }

  .section-heading h2,
  .insights-feature-content h2 {
    font-size: 30px;
  }

  .home-card-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .home-card-grid .home-card:last-child {
    grid-column: auto;
  }

  .home-card,
  .project-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 24px;
  }

  .insights-feature {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-card {
    padding: 44px 22px;
  }

  .contact-card h2 {
    font-size: 32px;
  }

  .intro {
    padding-top: 48px;
  }

  .intro h1 {
    font-size: 38px;
  }

  .intro p {
    font-size: 16px;
  }


  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==============================
   CENTERED LAYOUT
   ============================== */

.home-hero {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 44px;
  padding: 64px 0 88px;
}

.hero-photo {
  width: 240px;
  height: 290px;
}

.hero-content {
  margin: 0 auto;
}

.hero-description {
  margin-left: auto;
  margin-right: auto;
}

.tags,
.social-links {
  justify-content: center;
}

.experience-box,
.research-box,
.teaching-box,
.insights-box {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin: 0 auto 40px;
  text-align: center;
}

.insights-feature {
  grid-template-columns: 1fr;
  gap: 0;
  text-align: center;
}

.insights-feature-content {
  margin: 0 auto;
}

.insights-feature-content p {
  margin-left: auto;
  margin-right: auto;
}

.projects-heading {
  text-align: center;
}

.footer {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (max-width: 760px) {
  .hero-photo-wrapper {
    justify-content: center;
    margin: 0 auto;
  }

  .hero-photo {
    width: 190px;
    height: 230px;
  }

  .footer {
    align-items: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* Keep the full name and credentials on one line on wide screens */
.hero-content {
  max-width: 860px;
}

.hero-description {
  max-width: 640px;
}


/* Card number and heading on one line */
.card-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 6px 0 14px;
}

.card-head .card-number,
.card-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card-head .card-number {
  color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
  min-width: 26px;
}

.home-card p {
  margin-left: 36px;
}

.home-card .card-link {
  margin-left: 36px;
}

@media (max-width: 760px) {
  .card-head .card-number {
    margin: 0;
  }
}

/* ==============================
   CONSISTENT VERTICAL RHYTHM (About page)
   Every block is separated by the same 64px above and below its divider.
   ============================== */

.home-hero {
  padding: 48px 0 64px;
  gap: 36px;
}

.home-section {
  padding: 64px 0;
}

.roles-section {
  padding-top: 0;
}

.section-heading {
  margin-bottom: 32px;
}

.home-section:last-of-type {
  padding-bottom: 0;
}

.footer {
  margin-top: 64px;
}

@media (max-width: 760px) {
  .home-hero {
    padding: 32px 0 48px;
    gap: 28px;
  }

  .home-section {
    padding: 48px 0;
  }

  .roles-section {
    padding-top: 0;
  }

  .home-section:last-of-type {
    padding-bottom: 0;
  }

  .footer {
    margin-top: 48px;
  }
}

.contact-card {
  padding: 48px 40px;
}

/* Headshot: square frame so the photo isn't cropped */
.hero-photo {
  width: 260px;
  height: 260px;
  object-fit: cover;
  object-position: center 30%;
}

@media (max-width: 760px) {
  .hero-photo {
    width: 200px;
    height: 200px;
  }
}

/* Circular headshot with a soft MGH-blue ring, and more room before the name */
.hero-photo-wrapper::before {
  display: none;
}

.hero-photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-position: center 25%;
  box-shadow: 0 0 0 8px var(--accent-soft), var(--shadow);
}

.home-hero {
  gap: 56px;
}

@media (max-width: 760px) {
  .hero-photo {
    width: 190px;
    height: 190px;
  }

  .home-hero {
    gap: 40px;
  }
}

/* ==============================
   PAGE BACKGROUND: soft MGH-blue fade at the top
   ============================== */

:root {
  --bg-top: #d9edf4;
}

body.dark {
  --bg-top: #15385a;
}

body {
  background: linear-gradient(180deg, var(--bg-top) 0px, var(--bg) 640px) no-repeat, var(--bg);
}

/* Header stays see-through over the fade, and turns solid once you scroll */
.header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ==============================
   INNER PAGES: consistent widths and alignment
   ============================== */

/* All inner-page content uses the same 820px column as the boxes */
.projects-section {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons inside a box line up with the box's left-aligned text */
.box-footer .social-links {
  justify-content: flex-start;
}

/* Same spacing between the intro and the content on every page */
.intro {
  padding-bottom: 8px;
}

.research-box,
.teaching-box,
.insights-box,
.projects-section {
  margin-top: 48px;
}

/* More breathing room between each page's label and its title */
.intro .eyebrow {
  margin-bottom: 30px;
}

@media (max-width: 760px) {
  .intro .eyebrow {
    margin-bottom: 22px;
  }
}

.intro h1 {
  margin-bottom: 26px;
}

/* Research page: center the publications note and buttons */
.box-footer {
  text-align: center;
}

.box-footer p {
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}

.box-footer .social-links {
  justify-content: center;
}
