:root {
  --theme-red: #ef2929;
  --theme-ink: #151719;
  --theme-muted: #62686b;
  --theme-paper: #f4f5f2;
  --theme-white: #ffffff;
  --theme-line: #c8ccca;
  --theme-green: #167c76;
  --theme-yellow: #f1ca43;
}

body.theme-c {
  --ink: var(--theme-ink);
  --ink-2: var(--theme-muted);
  --aubergine: var(--theme-ink);
  --aubergine-2: #2b2f31;
  --cream: var(--theme-paper);
  --paper: var(--theme-white);
  --line: var(--theme-line);
  --muted: var(--theme-muted);
  --peach: #eceeea;
  --peach-light: #f7f8f5;
  --shadow: none;
  --shadow-soft: none;
  --radius: 2px;
  --radius-sm: 2px;
  color: var(--theme-ink);
  background: var(--theme-paper);
}

body.theme-c * { letter-spacing: 0; }

.theme-c h1,
.theme-c h2,
.theme-c h3,
.theme-c .eyebrow,
.theme-c .nav-link,
.theme-c .footer-heading {
  letter-spacing: 0;
}

.theme-c .site-header {
  height: 76px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--theme-line);
  backdrop-filter: blur(14px);
}

.theme-c .brand img { width: 166px; }
.theme-c .primary-nav { gap: 18px; }
.theme-c .nav-link {
  padding: 8px 0;
  border-radius: 0;
  color: var(--theme-ink);
  font-size: .76rem;
  text-transform: uppercase;
}
.theme-c .nav-link:hover,
.theme-c .nav-link:focus-visible,
.theme-c .nav-link.is-active {
  color: var(--theme-red);
  background: transparent;
}
.theme-c .nav-link.is-active { border-bottom: 2px solid var(--theme-red); }
.theme-c .nav-contact {
  margin-left: 6px;
  min-height: 40px;
  padding: 8px 17px;
  border: 1px solid var(--theme-ink);
  border-radius: 2px;
  background: transparent;
  color: var(--theme-ink);
  box-shadow: none;
}
.theme-c .nav-contact:hover { background: var(--theme-ink); color: #fff; }

.theme-c .page-hero {
  min-height: 440px;
  padding: 106px 0 82px;
  background: var(--theme-paper);
  color: var(--theme-ink);
  border-bottom: 1px solid var(--theme-line);
}
.theme-c .page-hero::before,
.theme-c .page-hero::after { display: none; }
.theme-c .page-hero-grid {
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 96px;
}
.theme-c .page-hero h1 {
  max-width: 820px;
  font-size: clamp(3.8rem, 6vw, 6.5rem);
  line-height: .96;
}
.theme-c .page-hero-lede {
  max-width: 520px;
  margin: 0 0 8px;
  color: var(--theme-muted);
  font-size: 1.08rem;
}
.theme-c .eyebrow,
.theme-c .eyebrow-light {
  color: var(--theme-red);
  letter-spacing: 0;
}
.theme-c .eyebrow span { height: 3px; }

.theme-c .section { padding: 96px 0; }
.theme-c .section-soft { background: var(--theme-white); }
.theme-c .section-dark {
  background: var(--theme-white);
  color: var(--theme-ink);
  border-top: 1px solid var(--theme-line);
  border-bottom: 1px solid var(--theme-line);
}
.theme-c .section-dark .eyebrow-light { color: var(--theme-red); }
.theme-c .section-dark .section-heading-row > p,
.theme-c .workflow-step p { color: var(--theme-muted); }

.theme-c .button {
  border-radius: 2px;
  box-shadow: none;
}
.theme-c .button:hover { box-shadow: none; }
.theme-c .button-dark { background: var(--theme-red); color: #fff; }
.theme-c .button-dark:hover { background: #d91d24; }
.theme-c .button-light { color: var(--theme-ink); }
.theme-c .text-link { color: var(--theme-red); }

.theme-c .pillar-grid,
.theme-c .pillar-grid-reverse { align-items: start; }
.theme-c .pillar-copy h2 { font-size: clamp(2.7rem, 4vw, 4.5rem); }
.theme-c .pillar-visual {
  height: 470px;
  border: 1px solid var(--theme-line);
  background: #eef0ed;
}
.theme-c .visual-reaction,
.theme-c .visual-binding { border-radius: 0; }
.theme-c .visual-landscape { padding: 30px; }
.theme-c .visual-landscape svg path { stroke: #8f9997; }
.theme-c .visual-landscape svg path:first-child { stroke: var(--theme-red); }
.theme-c .visual-landscape svg circle { fill: var(--theme-red); stroke: #fff; }
.theme-c .atom { border-color: var(--theme-ink); }
.theme-c .bond { background: var(--theme-ink); }
.theme-c .protein { background: var(--theme-ink); box-shadow: none; }
.theme-c .ligand i { box-shadow: 0 0 0 5px #eef0ed; }

.theme-c .workflow-grid {
  gap: 0;
  background: transparent;
  border-color: var(--theme-line);
}
.theme-c .workflow-step {
  min-height: 280px;
  background: var(--theme-white);
  border-right: 1px solid var(--theme-line);
}
.theme-c .workflow-step:last-child { border-right: 0; }
.theme-c .workflow-step > span {
  border: 0;
  border-radius: 0;
  color: var(--theme-red);
  place-items: start;
}
.theme-c .method-list span,
.theme-c .tag-row span {
  border-radius: 2px;
  box-shadow: none;
}

.theme-c .contact-band,
.theme-c .join-section,
.theme-c .host-section { background: var(--theme-red); }
.theme-c .contact-band .eyebrow-light,
.theme-c .join-section .eyebrow-light,
.theme-c .host-section .eyebrow-light { color: var(--theme-yellow); }

.theme-c .lead-portrait {
  background: #e8ebe7;
  border: 1px solid var(--theme-line);
}
.theme-c .lead-monogram {
  border-radius: 0;
  background: var(--theme-red);
  box-shadow: none;
}
.theme-c .portrait-orbit { border-color: rgba(21,23,25,.18); }
.theme-c .portrait-node { border-radius: 2px; background: var(--theme-yellow); box-shadow: none; }
.theme-c .portrait-node.node-c { background: var(--theme-red); }
.theme-c .team-card {
  border: 1px solid var(--theme-line);
  border-bottom: 3px solid var(--theme-red);
  box-shadow: none;
}
.theme-c .team-grid { grid-template-columns: repeat(3, 1fr); }
.theme-c .team-card:hover { box-shadow: none; }
.theme-c .team-avatar {
  background: #e8ebe7;
  color: var(--theme-ink);
}
.theme-c img.team-avatar {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center;
}
.theme-c img.team-avatar.arash-photo { object-position: center 10%; }
.theme-c .team-avatar::before { border-color: rgba(21,23,25,.16); }
.theme-c .alumni-list > a,
.theme-c .alumni-list > span {
  min-height: 58px;
  padding: 16px 0;
  border-bottom: 1px solid var(--theme-line);
  font-size: .9rem;
}
.theme-c .alumni-list > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: color .2s, padding .2s;
}
.theme-c .alumni-list > a::after { content: "↗"; color: var(--theme-red); }
.theme-c .alumni-list > .alumni-with-photo { justify-content: flex-start; }
.theme-c .alumni-list > span.alumni-with-photo { display: flex; align-items: center; gap: 18px; }
.theme-c .alumni-list > .alumni-with-photo::after { margin-left: auto; }
.theme-c .alumni-with-photo img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: cover;
}
.theme-c .alumni-with-photo strong { font-weight: inherit; }
.theme-c .alumni-list > a:hover,
.theme-c .alumni-list > a:focus-visible {
  color: var(--theme-red);
  padding-left: 8px;
}

.theme-c .filter-button {
  border-radius: 2px;
  background: #fff;
}
.theme-c .filter-button:hover,
.theme-c .filter-button.is-active {
  background: var(--theme-red);
  border-color: var(--theme-red);
}
.theme-c .pub-link { border-radius: 2px; }
.theme-c .publication-summary {
  max-width: 850px;
  color: var(--theme-muted);
  font-size: .93rem;
}
.theme-c .research-figure {
  height: auto;
  min-height: 470px;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}
.theme-c .research-figure > a {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}
.theme-c .research-figure img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
}
.theme-c .research-figure figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--theme-line);
  color: var(--theme-muted);
  font-size: .72rem;
  line-height: 1.5;
}
.theme-c .research-figure figcaption a { color: var(--theme-red); }
.theme-c .scholar-cta {
  background: var(--theme-white);
  border-top: 4px solid var(--theme-red);
  border-bottom: 1px solid var(--theme-line);
}

.theme-c .event-feature {
  box-shadow: none;
  border: 1px solid var(--theme-line);
  border-top: 5px solid var(--theme-red);
}
.theme-c .conference-programme { background: var(--theme-white); }
.theme-c .conference-intro {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(300px, .58fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 58px;
}
.theme-c .conference-intro h2 { margin-bottom: 0; }
.theme-c .conference-intro > p {
  margin: 0;
  color: var(--theme-muted);
  font-size: 1rem;
  line-height: 1.75;
}
.theme-c .event-agenda { border-top: 1px solid var(--theme-ink); }
.theme-c .event-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 112px;
  gap: 38px;
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid var(--theme-line);
}
.theme-c .event-row-date strong,
.theme-c .event-row-date span { display: block; }
.theme-c .event-row-date strong {
  color: var(--theme-red);
  font-family: var(--font-display);
  font-size: 2.05rem;
  font-weight: 500;
  line-height: 1;
}
.theme-c .event-row-date span {
  margin-top: 8px;
  color: var(--theme-muted);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
}
.theme-c .event-row-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
  color: var(--theme-muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.theme-c .event-role {
  padding: 5px 7px;
  color: var(--theme-red);
  border: 1px solid rgba(226, 31, 38, .35);
}
.theme-c .event-role-organising { color: var(--theme-ink); border-color: var(--theme-ink); }
.theme-c .event-row-main h3 {
  max-width: 900px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.65rem);
  font-weight: 500;
  line-height: 1.12;
}
.theme-c .event-row-main h3 a:hover,
.theme-c .event-row-main h3 a:focus-visible { color: var(--theme-red); }
.theme-c .event-row-main p {
  max-width: 850px;
  margin: 0;
  color: var(--theme-muted);
  font-size: .9rem;
  line-height: 1.7;
}
.theme-c .event-row-link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--theme-ink);
  font-size: .72rem;
  font-weight: 800;
}
.theme-c .event-row-link span { color: var(--theme-red); }
.theme-c .event-row-link:hover,
.theme-c .event-row-link:focus-visible { color: var(--theme-red); border-color: var(--theme-red); }
.theme-c .archive-grid {
  display: grid;
  grid-template-columns: minmax(240px, .58fr) minmax(0, 1fr);
  gap: 90px;
  align-items: start;
}
.theme-c .archive-list { border-top: 1px solid var(--theme-ink); }
.theme-c .archive-list > a {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) 20px;
  gap: 28px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--theme-line);
  transition: color .2s, padding .2s;
}
.theme-c .archive-list time {
  color: var(--theme-red);
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
}
.theme-c .archive-list strong,
.theme-c .archive-list small { display: block; }
.theme-c .archive-list strong { font-size: .92rem; line-height: 1.42; }
.theme-c .archive-list small { margin-top: 6px; color: var(--theme-muted); font-size: .72rem; line-height: 1.45; }
.theme-c .archive-list b { color: var(--theme-red); font-weight: 700; }
.theme-c .archive-list > a:hover,
.theme-c .archive-list > a:focus-visible { color: var(--theme-red); padding-left: 8px; }
.theme-c .page-hero-error { background: var(--theme-bg); color: var(--theme-ink); }
.theme-c .page-hero-error .page-hero-lede { color: var(--theme-muted); }
.theme-c .error-code {
  margin: 0;
  color: var(--theme-red);
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 14rem);
  line-height: .8;
  text-align: right;
}

.theme-c .site-footer {
  background: #0e1517;
  padding-top: 72px;
}
.theme-c .footer-heading { color: #fff; }
.theme-c .footer-grid a:hover { color: var(--theme-red); }

@media (max-width: 1080px) {
  .theme-c .primary-nav {
    background: var(--theme-white);
    gap: 3px;
  }
  .theme-c .nav-link {
    color: var(--theme-ink);
    font-size: 1.55rem;
    text-transform: none;
  }
  .theme-c .nav-link.is-active { border-bottom-color: var(--theme-line); }
  .theme-c .page-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .theme-c .team-grid { grid-template-columns: repeat(2, 1fr); }
  .theme-c .workflow-step:nth-child(2) { border-right: 0; }
  .theme-c .workflow-step:nth-child(-n+2) { border-bottom: 1px solid var(--theme-line); }
  .theme-c .conference-intro,
  .theme-c .archive-grid { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 720px) {
  .theme-c .site-header { height: 70px; }
  .theme-c .brand img { width: 142px; }
  .theme-c .page-hero { min-height: 390px; padding: 82px 0 64px; }
  .theme-c .page-hero h1 { font-size: clamp(3.2rem, 14vw, 4.5rem); }
  .theme-c .section { padding: 72px 0; }
  .theme-c .team-grid { grid-template-columns: 1fr; }
  .theme-c .workflow-step { border-right: 0; border-bottom: 1px solid var(--theme-line); }
  .theme-c .workflow-step:last-child { border-bottom: 0; }
  .theme-c .event-row { grid-template-columns: 88px minmax(0, 1fr); gap: 22px; padding: 34px 0; }
  .theme-c .event-row-link { grid-column: 2; width: 110px; }
  .theme-c .event-row-date strong { font-size: 1.55rem; }
  .theme-c .event-row-meta { align-items: flex-start; flex-direction: column; gap: 8px; }
  .theme-c .archive-list > a { grid-template-columns: 94px minmax(0, 1fr) 14px; gap: 16px; }
}

@media (max-width: 460px) {
  .theme-c .event-row { grid-template-columns: 1fr; }
  .theme-c .event-row-link { grid-column: 1; }
  .theme-c .archive-list > a { grid-template-columns: 1fr 16px; }
  .theme-c .archive-list time { grid-column: 1 / -1; }
}
