/* DiSEL site. One file. Change the accent here and it changes everywhere. */
:root {
  --ink: #000000;
  --paper: #FFFFFF;
  --accent: #6B3FA0;      /* amethyst */
  --accent-dark: #9A6BD1; /* only on black backgrounds */
  --max: 1080px;
}

* { box-sizing: border-box; }
html { font-size: 17px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: 2rem; font-weight: 600; }
h2 { font-size: 1.3rem; font-weight: 600; margin-top: 2.2em; }
h3 { font-size: 1rem; font-weight: 600; margin-top: 1.6em; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

/* page edge */
.edge { height: 6px; background: var(--accent); }

/* header */
header {
  border-bottom: 1px solid var(--ink);
}
.header-inner {
  max-width: var(--max); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.lockup { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.lockup:hover { text-decoration: none; }
.wordmark { font-weight: 600; font-size: 28px; line-height: 1; letter-spacing: -0.035em; }
.divider { width: 2px; height: 24px; background: var(--accent); }
.fullname { font-size: 11px; line-height: 1.25; }
nav { display: flex; gap: 28px; font-weight: 500; font-size: 0.9rem; flex-wrap: wrap; }
nav a { color: var(--ink); }
nav a.active, nav a.join { color: var(--accent); }

/* content */
main { max-width: var(--max); margin: 0 auto; padding: 48px 24px 64px; }
.hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.hero h1 { font-size: 2.1rem; }
.lede { font-size: 1.05rem }
.actions { display: flex; gap: 20px; align-items: center; margin-top: 8px; }
.button {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 500;
  padding: 10px 16px; font-size: 0.9rem;
}
.button:hover { text-decoration: none; opacity: 0.92; }
.side { border-left: 1px solid var(--ink); padding-left: 28px; }
.label { font-weight: 600; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.side ul { list-style: none; padding: 0; margin: 0; }
.side li { margin-bottom: 12px; font-size: 0.95rem; }
.side li a { color: var(--ink); }

/* publications */
.pub { margin-bottom: 28px; max-width: 46em; }
.pub .title { font-weight: 600; }
.pub .meta { font-size: 0.9rem; }
.pub .links { font-size: 0.9rem; }
.pub .links a + a::before { content: " · "; color: var(--ink); }

/* people */
.person { display: flex; gap: 20px; align-items: center; margin-bottom: 28px; max-width: 46em; }
.person img {
  width: 96px; height: 96px; object-fit: cover; flex: none;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: #fff;
}
.person .name { font-weight: 600; }
.person .role { font-size: 0.9rem; }

/* faq */
.faq h3 { margin-top: 1.4em; }
.faq p, .faq li { max-width: 46em; }

/* footer */
footer { border-top: 1px solid var(--ink); }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.8rem;
}
.footer-left { display: flex; align-items: center; gap: 16px; }
.tile { width: 44px; height: 44px; background: var(--accent); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.tile img { height: 40px; width: auto; }
.footer-right img { height: 52px; width: auto; }

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; gap: 32px; }
  .side { border-left: 0; padding-left: 0; border-top: 1px solid var(--ink); padding-top: 24px; }
  .hero h1 { font-size: 1.7rem; }
}
