:root {
  --bg: #f7f6f3;
  --paper: #fffdfa;
  --text: #1e1e1e;
  --muted: #68635d;
  --line: #ddd6cf;
  --accent: #23344f;
  --accent-2: #6f3e48;
  --soft: #ece6e0;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(247, 246, 243, 0.92);
  border-bottom: 1px solid rgba(221, 214, 207, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

nav a {
  font-size: 0.98rem;
  color: var(--text);
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.eyebrow {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: 1.02;
  margin: 0 0 1rem;
  font-weight: 500;
}

.lead {
  font-size: 1.1rem;
  color: #322f2c;
  max-width: 58ch;
}

.hero-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-copy {
  padding: 2rem 1rem 1rem 0;
}

.hero-image {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-image .caption {
  padding: 1rem 1.25rem 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-block;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: white;
  background: var(--accent);
  font-size: 0.98rem;
}

.button.secondary {
  background: transparent;
  color: var(--accent);
}

.section {
  padding: 1.25rem 0 2.5rem;
}

.section h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  margin: 0 0 0.5rem;
  font-weight: 500;
}

.section-intro {
  color: var(--muted);
  max-width: 66ch;
  margin-bottom: 1.6rem;
}

.grid-3, .grid-2, .card-grid {
  display: grid;
  gap: 1.2rem;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0.2rem 0 0.6rem;
  font-weight: 500;
}

.meta {
  color: var(--accent-2);
  font-size: 0.83rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card p {
  margin-top: 0;
  color: #37332f;
}

.card .readmore {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.98rem;
}

.list-card ul {
  margin: 0.6rem 0 0;
  padding-left: 1.1rem;
}

.feature-band {
  margin: 1.6rem 0 0.8rem;
  padding: 1.2rem 1.4rem;
  background: linear-gradient(135deg, #f3ede7 0%, #fdfbf8 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-band h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 500;
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
}

.topic-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.topic-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.topic-box img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ece6e0;
}

.topic-box .box-copy {
  padding: 1rem 1rem 1.2rem;
}

.page-title {
  padding: 3rem 0 1rem;
}

.page-title h1 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  margin-bottom: 0.4rem;
}

.page-title p {
  max-width: 65ch;
  color: var(--muted);
}

.category-block {
  padding: 0.6rem 0 1.8rem;
}

.category-block h2 {
  margin-bottom: 0.7rem;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.smallcaps {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  color: var(--accent-2);
}

.inline-list {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
}

.contact-box {
  background: linear-gradient(135deg, #f8f2ec 0%, #fcfbf9 100%);
}

@media (max-width: 980px) {
  .hero-grid, .grid-3, .grid-2, .card-grid, .topic-strip {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding-right: 0;
  }
  nav ul {
    justify-content: flex-start;
  }
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

.pub-card .journal {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 0.55rem;
}
.pub-card .authors {
  color: #4a4642;
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
}
.pub-card .doi {
  font-size: 0.92rem;
  word-break: break-word;
}
.profile-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.profile-point {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.profile-point strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 500;
}
.profile-point span {
  color: var(--muted);
  font-size: 0.92rem;
}
.section-link {
  margin-top: 1.1rem;
  display: inline-block;
}
.hero-image .caption {
  font-style: italic;
}
@media (max-width: 980px) {
  .profile-points { grid-template-columns: 1fr; }
}

.hero-photo {
  width: 100%;
  min-height: 560px;
  height: 100%;
  object-fit: cover;
  object-position: 40% 34%;
}
.about-photo {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.wide-photo {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center 42%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
@media (max-width: 980px) {
  .hero-photo { min-height: 430px; object-position: 42% 30%; }
}
