:root {
  --ink: #f5f7fa;
  --muted: #b5bcc5;
  --link: #ffffff;
  --link-hover: #d9e0e8;
  --rule: rgba(255, 255, 255, 0.18);
  --paper: #050505;
  --paper-strong: #000000;
  --panel: #101010;
  --panel-soft: #181818;
  --soft: #202020;
  --max: 920px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #030303 0%, var(--paper) 40%, var(--paper-strong) 100%);
  font-family: "Barlow", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.55rem 0.75rem;
  background: #ffffff;
  color: #000000;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--rule);
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.1rem 0 0.85rem;
  display: grid;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  width: fit-content;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: clamp(45px, 7vw, 80px);
  display: block;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: 6px;
  object-fit: cover;
}

.brand small {
  display: block;
  margin-top: 0.12rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  gap: 0.75rem 1.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  font-size: 1.12rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.24em;
}

.wrap,
.content-flow,
.home-title {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.home-title {
  padding: 0.4rem 0 0.2rem;
  text-align: center;
}

.home-title h1 {
  margin: 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
}

.profile-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.profile-links a,
.footer-links a {
  font-size: 0.95rem;
}

.content-flow {
  padding: 0.6rem 0 3rem;
}

.content-flow h2,
.content-flow h3 {
  margin: 2rem 0 0.55rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.2;
}

.content-flow h2 {
  font-size: 2rem;
}

.content-flow h3 {
  font-size: 1.42rem;
}

.content-flow p,
.content-flow li {
  color: var(--ink);
}

.content-flow p {
  margin: 0.8rem 0;
}

.content-flow > h3,
.content-flow > p {
  max-width: 760px;
}

.page-hero {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 3rem 0 1.1rem;
  border-bottom: 1px solid var(--rule);
}

.page-hero .wrap {
  width: auto;
  padding: 0;
}

.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 6vw, 3.7rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

.page-hero p {
  max-width: none;
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.members-intro {
  font-family: "Inter", system-ui, sans-serif;
}

.members-intro .members-intro-label {
  margin: 0 0 0.7rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
}

.members-intro h1 {
  font-family: inherit;
  font-size: clamp(1.65rem, 3.2vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
}

.members-intro p:last-child {
  max-width: none;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
}

.page-intro h1 {
  color: #f1e3a4;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
}

.page-intro p {
  max-width: none;
  color: #b8c0ca;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.page-intro a,
.section-accent a {
  color: #fbf4d7;
  text-decoration: underline;
  text-decoration-color: rgba(244, 231, 166, 0.75);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.16em;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 64%,
    rgba(244, 231, 166, 0.12) 64%,
    rgba(244, 231, 166, 0.12) 100%
  );
}

.page-intro a:hover,
.section-accent a:hover {
  color: #f4e7a6;
  text-decoration-color: #f4e7a6;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 56%,
    rgba(244, 231, 166, 0.2) 56%,
    rgba(244, 231, 166, 0.2) 100%
  );
}

.publications-intro h1 {
  color: #f4e7a6;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 400;
  line-height: 1.3;
}

.publications-intro p {
  color: #d8d0b4;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
}

.section-accent {
  color: #b8c0ca;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.section-accent h2,
.section-accent h3,
.section-accent .section-heading h2,
.section-accent .year-heading,
.section-accent .contact-card h2 {
  color: #f4e7a6;
  font-family: inherit;
  font-weight: 400;
}

.section-accent h2,
.section-accent .section-heading h2,
.section-accent .contact-card h2,
.section-accent .year-heading {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  line-height: 1.35;
}

.section-accent h3 {
  color: #efe4b2;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.45;
}

.section-accent p,
.section-accent li,
.section-accent figcaption,
.section-accent .section-heading p,
.section-accent .contact-list,
.section-accent .news-card time {
  color: #aeb7c2;
}

.section-accent a,
.section-accent .news-card h3 a,
.section-accent .contact-card a {
  color: #fbf4d7;
}

.section-accent .feature-card,
.section-accent .news-card,
.section-accent .contact-card {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.section-accent .feature-card .tag {
  color: #f4e7a6;
}

.section-accent .feature-card p,
.section-accent .news-card p,
.section-accent .contact-card p {
  color: #aeb7c2;
}

.section-accent .contact-list strong,
.section-accent .method-list strong {
  color: #f6f1dd;
}

.section-accent .method-list li {
  border-top: 1px solid rgba(244, 231, 166, 0.18);
}

.section-accent .button,
.section-accent .button.secondary {
  border-color: rgba(244, 231, 166, 0.22);
  background: transparent;
  color: #f6f1dd;
}

.section-accent .button:hover,
.section-accent .button.secondary:hover {
  background: rgba(244, 231, 166, 0.08);
  color: #f4e7a6;
}

.publications-list {
  color: #d8d0b4;
}

.publications-list .year-heading {
  color: #f4e7a6;
}

.publications-list .publication-card h3,
.publications-list .publication-card a {
  color: #f6f1dd;
  font-weight: 300;
}

.publications-list .publication-card .meta {
  color: #c7bea0;
}

.publications-list .publication-card .authors,
.publications-list .publication-card .details {
  color: #c7bea0;
}

.publications-list .publication-card .author-highlight {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  text-decoration-thickness: 1.5px;
}

.publications-list .publication-card .journal {
  color: #f4e7a6;
  font-weight: 600;
  font-style: italic;
}

.publications-list .publication-card .authors::after,
.publications-list .publication-card .journal::after {
  content: " ";
}

.publications-list .publication-card,
.publications-list .publication-card:hover {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.publications-list .publication-card + .publication-card {
  margin-top: 1rem;
}

.publications-list .pub-list {
  gap: 1rem;
}

.publications-list .publication-card a:hover {
  color: #f4e7a6;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.image-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1.75rem 0 1.5rem;
}

.image-row img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  border: 1px solid var(--rule);
  border-radius: 2px;
}

.home-hero {
  position: relative;
  margin: 1.75rem 0 1.5rem;
  border-radius: 2px;
  overflow: hidden;
}

.home-hero-media {
  position: relative;
}

.home-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.1) 38%, rgba(0, 0, 0, 0.02) 70%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0) 54%);
}

.home-hero-overlay {
  position: absolute;
  top: 30%;
  left: 50%;
  z-index: 1;
  bottom: auto;
  width: min(59.4%, 550px);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  overflow: auto;
  background: rgba(0, 0, 0, 0.68);
  font-family: "Source Sans 3", system-ui, sans-serif;
  transform: translateX(-50%);
}

.home-hero-overlay h1 {
  margin: 0;
  color: #f4e7a6 !important;
  font-family: inherit;
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.02;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.home-hero-quote {
  margin: 0;
  max-width: 30ch;
  color: #e7edf5;
  font-size: 0.95rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
}

.home-hero-overlay .home-intro {
  max-width: none;
  margin: 0;
  color: #e6ddd0 !important;
  font-size: 16px;
  line-height: 1.42;
  text-align: left;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
}

.home-hero-overlay .home-intro-highlight {
  color: #f4e7a6 !important;
}

.home-hero-overlay .home-intro-link {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.home-hero-overlay .home-intro-link:hover {
  text-decoration-thickness: 2px;
}

.home-hero-overlay > .home-intro + .home-intro {
  margin-top: 0.32rem;
}

.wrap {
  padding: 2rem 0 3rem;
}

.section-band {
  border-top: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.02);
}

.section-heading {
  margin-bottom: 1.35rem;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.section-heading p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 1.1rem;
}

.feature-card,
.person-card,
.publication-card,
.news-card,
.gallery-card,
.contact-card {
  border: 1px solid var(--rule);
  background: var(--panel);
}

.feature-card,
.publication-card,
.news-card,
.contact-card {
  padding: 1rem 1rem 1.05rem;
  border-radius: 2px;
}

.feature-card .tag {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature-card h3,
.person-card h3,
.publication-card h3,
.news-card h3,
.contact-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}

.feature-card p,
.person-card p,
.publication-card p,
.news-card p,
.contact-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.people-grid {
  display: grid;
  gap: 1rem;
}

.person-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border-radius: 2px;
}

.pi-card {
  max-width: 820px;
  padding: 0;
  border: 0;
  background: transparent;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.25rem;
}

.pi-card p {
  max-width: none;
  font-size: 0.94rem;
  line-height: 1.58;
}

.pi-photo {
  width: 150px;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: 2px;
}

.avatar {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--soft);
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.role {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.method-list,
.timeline,
.pub-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-list li,
.timeline li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--rule);
}

.method-list strong,
.timeline time {
  display: block;
  color: var(--ink);
}

.year-heading {
  margin: 2.2rem 0 0.35rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 400;
}

.publication-card .meta {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.news-grid {
  display: grid;
  gap: 0.8rem;
}

.news-card time {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-card img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: 2px;
}

.gallery-card figcaption {
  padding: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.contact-list {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li + li {
  margin-top: 0.5rem;
}

.section-accent .contact-list .contact-email,
.section-accent .contact-list .contact-email:hover,
.section-accent .contact-list .contact-email:focus {
  text-decoration: none !important;
  text-decoration-color: transparent !important;
  background: none !important;
  box-shadow: none !important;
  border-bottom: 0 !important;
}

.contact-card h3 {
  margin-top: 1.4rem;
}

.contact-card h2 + h3 {
  margin-top: 0.9rem;
}

.contact-card h3 + p {
  margin-top: 0.5rem;
}

.contact-card p + h3 {
  margin-top: 1.6rem;
}

.button,
.button.secondary {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0.48rem 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--link);
  font-weight: 700;
}

.button:hover,
.button.secondary:hover {
  background: var(--panel-soft);
  color: var(--link-hover);
  text-decoration: none;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.footer {
  margin-top: 2rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  background: transparent;
}

.footer .wrap {
  display: grid;
  gap: 0.25rem;
  padding-top: 1.25rem;
  padding-bottom: 2rem;
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .image-row,
  .gallery-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    display: grid;
    background: rgba(255, 255, 255, 0.03);
  }

  .home-hero-media::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.16) 100%);
  }

  .home-hero-overlay {
    position: static;
    width: 100%;
    max-width: none;
    padding: 0.85rem;
    background: rgba(0, 0, 0, 0.68);
    transform: none;
  }

  .person-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

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

  .pi-photo {
    width: 130px;
  }

  .avatar {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 520px) {
  .home-title {
    text-align: left;
  }

  .home-hero h1 {
    font-size: 1.6rem;
  }

  .home-hero-quote {
    font-size: 0.9rem;
  }

  .home-hero-overlay .home-intro {
    font-size: 15.5px;
    line-height: 1.4;
  }

  .profile-links,
  .footer-links {
    justify-content: flex-start;
  }

  .footer .wrap {
    text-align: left;
  }
}
