:root {

  --page-bg: #f3f3f1;

  --text: #101010;

  --muted: rgba(255, 255, 255, 0.90);

  --body-muted: #666666;

  --content-width: 860px;

  --hero-height: 300px;

  --line: #d7d7d3;

  --card-bg: #ffffff;

  --link-blue: #5c7ea6;

}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {

  background: var(--page-bg);

  color: var(--text);

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  line-height: 1.45;

}

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

a { color: inherit; }

.shell {

  width: min(1400px, calc(100% - 3.5rem));

  margin: 0 auto;

}

.content-shell {

  width: min(var(--content-width), calc(100% - 3.5rem));

  margin: 0 auto;

  padding-bottom: 100px;

}

/* HERO */

.hero-header {

  position: relative;

  min-height: var(--hero-height);

  overflow: hidden;

  background: #1a1a1a;

}

.hero-image,

.hero-overlay {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

}

.hero-image {

  object-fit: cover;

  object-position: center center;

}

.hero-overlay {

  background: linear-gradient(to bottom, rgba(0,0,0,0.16), rgba(0,0,0,0.10));

  pointer-events: none;

}

.hero-content {

  position: relative;

  z-index: 2;

  min-height: var(--hero-height);

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  padding-top: 1.35rem;

}

/* NAV */

.site-nav {

  display: flex;

  flex-wrap: wrap;

  gap: 0.8rem 2rem;

  align-items: center;

  justify-content: flex-start;

  max-width: 1280px;

  font-size: 0.86rem;

  font-weight: 600;

  letter-spacing: 0.02em;

  text-transform: uppercase;

}

.site-nav a {

  color: rgba(255,255,255,0.93);

  text-decoration: none;

  border-bottom: 1px solid transparent;

  padding-bottom: 0.12rem;

}

.site-nav a:hover,

.site-nav a:focus {

  border-bottom-color: rgba(255,255,255,0.9);

}

/* HERO TEXT */

.hero-text {

  color: white;

  max-width: 760px;

  padding-bottom: 2.1rem;

}

.hero-text h1 {

  margin: 0;

  font-size: clamp(3rem, 6vw, 4.25rem);

  line-height: 0.98;

  letter-spacing: -0.045em;

  font-weight: 500;

}

/* INTRO */

.intro-block {

  padding-top: 2.1rem;

}

.intro-block:first-child {

  padding-top: 3rem;

}

.intro-block p {

  margin: 0;

  font-size: clamp(1.18rem, 1.85vw, 1.42rem);

  line-height: 1.5;

  letter-spacing: -0.01em;

}

/* PAGE STRUCTURE */

.page-main {

  padding-top: 3rem;

  padding-bottom: 3.5rem;

}

/* SECTION HEADINGS (FIXED) */

.section-heading {


  padding-top: 0.6rem;

  border-top: 1px solid var(--line);

  font-size: 1.25rem;

  letter-spacing: -0.02em;

}

/* clickable heading links */

.section-heading a {

  color: inherit;

  text-decoration: none;

}

.section-heading a:hover {

  text-decoration: underline;

}

/* THIN HERO */

.thin-hero .hero-overlay {

  background: rgba(255, 255, 255, 0.8);

}

.thin-hero .site-nav a {

  color: #333;

}

.thin-hero .site-nav a:hover {

  color: #000;

  border-bottom-color: #000;

}

.thin-hero .hero-text h1 {

  color: #333;

}

/* HOMEPAGE SECTIONS (FIXED ALIGNMENT) */

.home-section {

  margin-top: 0.1rem;

}

.home-grid {

  display: flex;

  flex-direction: column;

  gap: 1.2rem;

}

.home-item {

  display: flex;

  gap: 1rem;

  align-items: flex-start;

  /* clean alignment fix */

  padding-left: calc(80px + 1rem);

  position: relative;

}

.home-icon {

  width: 80px;

  height: 80px;

  object-fit: contain;

  flex-shrink: 0;
  

}

.home-text {

  max-width: 60ch;

}

.home-title {

  font-size: 1.05rem;

  font-weight: 600;

  text-decoration: none;
  

}

.home-title:hover {

  text-decoration: underline;

}

.home-desc {

  margin: 0.3rem 0 0;

  font-size: 0.9rem;

  color: #555;

}

/* PROJECTS */

.project-list {

  display: flex;

  flex-direction: column;

  gap: 1.8rem;

}

.project-item {

  display: flex;

  gap: 1.4rem;

  align-items: flex-start;

}

.project-image {

  width: 288px;

  height: 432px;

  object-fit: cover;

  flex-shrink: 0;

}

.project-text {

  max-width: 62ch;

}

.project-title {

  font-size: 1.12rem;

  font-weight: 600;

  margin-bottom: 0.45rem;
  


}

.project-desc {

  margin: 0 0 0.6rem;

  color: #333;

  line-height: 1.55;

}

.project-funding,

.project-ref {

  margin: 0.35rem 0 0;

  font-size: 0.95rem;

  color: #555;

}

.project-funding a,

.project-ref a {

  color: inherit;

  text-decoration: none;

}

.project-funding a:hover,

.project-ref a:hover {

  text-decoration: underline;

}

/* TEAM */

.team-grid {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 0.8rem;

}

.member-tile {

  display: flex;

  gap: 0.9rem;

  align-items: flex-start;

  border: 1px solid var(--line);

  padding: 0.75rem;

  background: #fff;

}

.member-photo {

  width: 110px;

  height: 110px;

  object-fit: cover;

  filter: grayscale(100%);

  flex-shrink: 0;

}

.member-info {

  display: flex;

  flex-direction: column;

  gap: 0;

}

.member-name {

  margin: 0;

  font-size: 1.1rem;

  font-weight: 600;

  line-height: 1.2;

}

.member-role {

  margin: 0;

  font-size: 0.8rem;

  color: #555;

  line-height: 1;

}

.member-email {

  margin: 0.15rem 0 0.25rem;

  font-size: 0.92rem;

  color: #444;

  line-height: 1;

}

.member-email:hover {

  color: #1a0dab;

}

.scholar-link {

  display: inline-flex;

  align-items: center;

  gap: 0.3rem;

  font-size: 0.9rem;

  text-decoration: none;

  color: var(--link-blue);

}

.scholar-link svg {

  width: 0.9rem;

  height: 0.9rem;

  fill: currentColor;

}

.scholar-link:hover {

  text-decoration: underline;

}

.x-link {

  display: inline-flex;

  align-items: center;

  gap: 0.3rem;

  font-size: 0.9rem;

  text-decoration: none;

  color: var(--link-blue);

}

.x-link svg {

  width: 0.9rem;

  height: 0.9rem;

  fill: currentColor;

}

.x-link:hover {

  text-decoration: underline;

}

/* MEDIA */

.media-list {

  display: flex;

  flex-direction: column;

  gap: 1.2rem;

}

.media-item {

  display: flex;

  gap: 1rem;

  align-items: flex-start;

}

.media-logo {

  width: 80px;

  height: 80px;

  object-fit: contain;

  filter: grayscale(100%);

  opacity: 0.8;

}

.media-title {

  font-size: 1.05rem;

  font-weight: 600;

  text-decoration: none;

}

.media-title:hover {

  text-decoration: underline;

}

.media-ref {

  margin: 0.3rem 0 0;

  font-size: 0.9rem;

  color: #666;

}

.media-ref a {

  text-decoration: none;

  color: inherit;

}

.media-ref a:hover {

  text-decoration: underline;

}

/* RESOURCES */

.resource-list {

  display: flex;

  flex-direction: column;

  gap: 1.6rem;

}

.resource-item {

  display: flex;

  gap: 1.2rem;

  align-items: flex-start;

}

.resource-icon {

  width: 140px;

  height: 140px;

  object-fit: contain;

  background: #eee;

  padding: 6px;

}

.resource-text {

  max-width: 60ch;

}

.resource-title {

  font-size: 1.1rem;

  font-weight: 600;

  text-decoration: none;

}

.resource-title:hover {

  text-decoration: underline;

}

.resource-desc {

  margin: 0.3rem 0;

  font-size: 0.95rem;

  color: #444;

}

.resource-ref {

  margin: 0;

  font-size: 0.9rem;

  color: #666;

}

/* RESPONSIVE */

@media (max-width: 800px) {

  .project-item {

    flex-direction: column;

  }

  .project-image {

    width: 100%;

    max-width: 320px;

    height: auto;

    aspect-ratio: 1 / 1;

  }

}

.project-text { max-width: 100%; }

.project-title,

.project-desc,

.project-funding,

.project-ref { text-align: left; }

@media (max-width: 1000px) {

  .team-grid {

    grid-template-columns: 1fr;

  }

}

@media (max-width: 620px) {

  :root { --hero-height: 460px; }

  .hero-content {

    padding-top: 1rem;

  }

  .site-nav {

    gap: 0.5rem 1rem;

    font-size: 0.74rem;

  }

  .intro-block p {

    font-size: 1.02rem;

  }

  .member-photo {

    width: 90px;

    height: 90px;

  }
  
  .home-item {

  padding-left: 0;

  margin-left: 0;

  flex-direction: column;

  gap: 0.5rem;

}

.home-icon {

  margin-left: 0;

}

.home-text {

  max-width: 100%;

}

}