:root {
  --text: #111111;
  --muted: #666666;
  --line: #e8e8e8;
  --soft: #f6f6f6;
  --soft-2: #eeeeee;
  --accent: #5b579f;
  --max: 1080px;
}

/* Decorative Wix-style full-width band.
   The reference Wix page uses one horizontal blue-purple band spanning the
   whole viewport. Edit these variables to tune it. */
:root {
  --wix-band-color: #5b579f;
  --wix-band-height: 120px;
  --wix-band-height-mobile: 70px;
}

.color-stripes {
  width: 100%;
  height: var(--wix-band-height) !important; 
  margin: 0;
  padding: 0;
  background: var(--wix-band-color);
}

.color-stripes .stripe {
  display: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: #ffffff;
  font-family: "Roboto", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.65;
}

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  min-height: 130px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: 36px;
}
.brand { text-decoration: none; line-height: 1.35; }
.brand:hover { color: var(--text); }
.brand-name {
  display: block;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: .01em;
  margin-bottom: 6px;
}
.brand-role,
.brand-affiliation,
.brand-university {
  display: inline;
  font-size: 14px;
  color: #222;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  font-size: 15px;
}
.main-nav a {
  color: #111;
  text-decoration: none;
  white-space: nowrap;
  padding: 12px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a.active { color: var(--accent); border-bottom-color: var(--accent); }
.nav-toggle, .nav-toggle-label { display: none; }

#content { min-height: 70vh; }

.home-hero {
  width: min(980px, calc(100% - 48px));
  margin: 64px auto 58px;
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 60px;
  align-items: center;
}
.hero-photo {
  justify-self: end;
  width: min(460px, 100%);
  background: var(--soft-2);
}
.hero-photo img { width: 100%; aspect-ratio: 0.92; object-fit: cover; }
.hero-info h1 {
  margin: 0 0 18px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.hero-role {
  font-size: 23px;
  font-weight: 400;
  margin: 0 0 24px;
}
.hero-info p { margin: 8px 0; font-size: 16px; }
.social-links {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--text);
  color: white;
  text-decoration: none;
  font-size: 17px;
}
.social-links a:hover { background: var(--accent); color: white; transform: translateY(-1px); }

.latest-news {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto 84px;
}
.latest-news h2,
.content-page h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: center;
  margin: 0 0 34px;
}
.news-card {
  display: grid;
  grid-template-columns: 324px 1fr;
  gap: 34px;
  align-items: center;
  background: var(--soft);
  padding: 34px;
}
.news-card img { width: 100%; object-fit: cover; }
.news-card p { margin: 0 0 16px; font-size: 17px; }

.content-page {
  width: min(960px, calc(100% - 48px));
  margin: 54px auto 90px;
}
.page-heading {
  text-align: center;
  margin-bottom: 42px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.page-heading h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 80px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -0.05em;
}
.page-heading p {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
}
.page-body {
  font-size: 17px;
}

.page-body p,
.page-body li {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.page-body > p:first-child {
  font-size: 18px;
}
.page-body h2 {
  margin-top: 72px;
  padding: 34px 20px;
  background: var(--soft);
}
.page-body h3 {
  font-size: 25px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 8px;
}
.page-body h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 26px 0 6px;
}
.page-body ul { padding-left: 1.3rem; }
.page-body li { margin-bottom: 14px; }
.page-body .compact-list li { margin-bottom: 8px; }
.page-body blockquote {
  border-left: 4px solid var(--accent);
  margin: 28px 0;
  padding: 8px 0 8px 22px;
  color: var(--muted);
}
.page-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0 44px;
  font-size: 16px;
}
.page-body th,
.page-body td {
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  padding: 18px 12px;
  text-align: left;
}
.page-body th { font-weight: 700; background: var(--soft); }
.toc-box {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px 22px;
  margin: -16px 0 40px;
  font-size: 14px;
}
.toc-box span { display: block; font-weight: 700; margin-bottom: 8px; }
.toc-box ul { margin: 0; padding-left: 1.2rem; }
.toc-box li { margin: 4px 0; }

.research-intro {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
}
.research-intro img { margin: 0 auto; }
.contact-card {
  background: var(--soft);
  padding: 36px;
  margin: 26px 0;
}
.button-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 18px;
  background: var(--text);
  color: white;
  text-decoration: none;
}
.button-link:hover { background: var(--accent); color: white; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}
.footer-inner p { margin: 0; }

@media (max-width: 900px) {
  .color-stripes {
    height: var(--wix-band-height-mobile) !important;
  }
  .header-inner {
    min-height: auto;
    padding: 24px 0;
    grid-template-columns: 1fr auto;
  }
  .nav-toggle-label {
    display: block;
    width: 42px;
    height: 34px;
    position: relative;
    cursor: pointer;
  }
  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    width: 30px;
    height: 2px;
    background: var(--text);
    position: absolute;
    right: 0;
    transition: .2s ease;
  }
  .nav-toggle-label span { top: 16px; }
  .nav-toggle-label span::before { content: ""; top: -9px; }
  .nav-toggle-label span::after { content: ""; top: 9px; }
  .main-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 16px;
  }
  .main-nav a { border-top: 1px solid var(--line); border-bottom: 0; padding: 14px 0; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .home-hero { grid-template-columns: 1fr; gap: 34px; margin-top: 42px; }
  .hero-photo { justify-self: start; width: min(420px, 100%); }
  .news-card { grid-template-columns: 1fr; }
  .research-intro { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .header-inner,
  .home-hero,
  .latest-news,
  .content-page,
  .footer-inner { width: min(100% - 30px, var(--max)); }
  .brand-name { font-size: 23px; }
  .brand-role, .brand-affiliation, .brand-university { display: block; }
  .hero-info h1, .page-heading h1 { letter-spacing: -0.04em; }
  .news-card, .contact-card { padding: 22px; }
  .footer-inner { flex-direction: column; }
  .page-body table, .page-body thead, .page-body tbody, .page-body tr, .page-body th, .page-body td { display: block; width: 100%; }
  .page-body th { display: none; }
  .page-body td { padding: 10px 0; }
  .page-body p,
  .page-body li { text-align: left; hyphens: none; }
}