:root {
  color-scheme: light;
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --border: #e2e2e2;
  --wash: #f7f7f7;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  background: #000000;
}

body.page-research {
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.72),
      rgba(255, 255, 255, 0.72)
    ),
    url("images/backgrounds/smart-ag1.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body.page-publications {
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.72),
      rgba(255, 255, 255, 0.72)
    ),
    url("images/backgrounds/corn.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding: 12px 20px 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.site-header a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-bottom: none;
  background: var(--wash);
  text-decoration: none;
  color: var(--ink);
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.site-header a[aria-current="page"] {
  background: #ffffff;
  font-weight: 600;
}

main {
  padding: 24px 20px 48px;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.site-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.site-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-panel {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

body.page-home .content-panel {
  background: rgba(0, 0, 0, 0.38);
  box-shadow: none;
}

body.page-home main {
  font-size: 1.25em;
  padding-left: 4px;
  padding-right: 4px;
  max-width: 1400px;
}

body.page-home main p {
  margin: 0 0 12px;
}

body.page-home .hero-content {
  padding: 12px 4px;
  max-width: 1400px;
}

body.page-home .hero-content h1 {
  margin-top: 48px;
}

body.page-home .hero-content p {
  font-size: 1.1em;
  line-height: 1.75;
  margin-bottom: 26px;
}

.uga {
  color: #ba0c2f;
  font-weight: 700;
}

.content-panel h1,
.content-panel h2,
.content-panel p,
.content-panel li {
  color: var(--ink);
  text-shadow: none;
}

main h1 {
  font-size: 2.4rem;
  margin: 10px 0 18px;
}

main p {
  margin: 0 0 18px;
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 36px 28px;
  max-width: 860px;
}

.hero-content h1 {
  color: #ffffff;
}

.hero-content p {
  color: #f4f4f4;
}

.people-section {
  margin-top: 32px;
}

.person-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.person-card:last-child {
  border-bottom: none;
}

.person-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.person-meta h2,
.person-meta h3 {
  margin: 0 0 6px;
}

.person-role {
  margin: 0 0 6px;
  color: var(--muted);
}

.person-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 0;
  justify-content: center;
}

.person-links a {
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}

.person-links a:hover {
  border-bottom-color: var(--ink);
}

.person-meta details {
  margin-top: 10px;
}

.person-meta summary {
  cursor: pointer;
  color: var(--muted);
}

.person-facts {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.person-facts li {
  margin: 0 0 4px;
}

.research-pillars {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 20px;
}

.pillar {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
  align-items: center;
}

.pillar:last-child {
  border-bottom: none;
}

.pillar h2 {
  margin: 0 0 8px;
}

.pillar-media {
  border: 1px dashed var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  color: var(--muted);
  background: var(--wash);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.pub-year {
  margin-bottom: 28px;
}

.pub-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

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

.pub-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.pub-meta h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.pub-authors {
  margin: 0 0 6px;
  color: var(--muted);
}

.pub-venue {
  margin: 0 0 10px;
}

.pub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.pub-links a {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  font-size: 0.9rem;
}

.pub-meta details {
  margin-top: 8px;
}

.pub-meta summary {
  cursor: pointer;
  color: var(--muted);
}

@media (max-width: 700px) {
  .pub-item {
    grid-template-columns: 1fr;
  }

  .pub-image {
    max-width: 220px;
  }

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

  .person-photo {
    max-width: 220px;
  }

  .pillar {
    grid-template-columns: 1fr;
  }

  .pillar-media {
    max-width: 220px;
  }
}
