body {
  font-family: 'IBM Plex Mono', 'Menlo', 'Monaco', monospace;
  margin: 0;
  padding: 0;
  background: #111;
  color: #f5f5f5;
  letter-spacing: 0.03em;
  line-height: 1.6;
}
header {
  background: #111;
  color: #fff;
  padding: 2.5rem 1rem 1rem 1rem;
  text-align: center;
  border-bottom: 2px solid #222;
}
header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
header p {
  font-size: 1.05rem;
  font-style: italic;
  color: #bbb;
}
a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #b3b3b3;
}


.sketch-box {
  max-width: 900px;
  margin: 1rem auto 0 auto;
  background: none;
  text-align: center;
  width: 100%;
}
#sketch {
  max-width: 900px;
  margin: 1rem auto 0 auto;
  background: none;
  text-align: center;
  width: 100%;
}
#p5-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}
#p5-container canvas {
  border: none;
  background: #111;
  width: 100% !important;
  max-width: 900px;
  height: auto !important;
  display: block;
}

main {
  max-width: 900px;
  margin: 1rem auto 2rem auto;
  padding: 0 1.25rem;
  line-height: 1.6;
}

.content-section {
  border: 1px solid #222;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: #111;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.content-section h2 {
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: #f0f0f0;
}

.content-section p {
  margin: 0.4rem 0 0.8rem 0;
  color: #dcdcdc;
}

.link-list,
.contact-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-list li,
.contact-links li {
  margin-bottom: 1rem;
}

.link-list li:last-child,
.contact-links li:last-child {
  margin-bottom: 0;
}

.link-list a,
.contact-links a {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.link-list p {
  font-size: 0.95rem;
  margin: 0.35rem 0 0 0;
  color: #bdbdbd;
}

.affiliation-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.affiliation-list li {
  position: relative;
  border: 1px solid #1b1b1b;
  border-radius: 12px;
  padding: 0.9rem 1.1rem 0.9rem 1.25rem;
  background: #0d0d0d;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  min-height: 70px;
}

.affiliation-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #f2f2f2;
  opacity: 0.8;
}

.affiliation-list a {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1.4;
}

.affiliation-list li:hover {
  border-color: #2a2a2a;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.3);
}

.affiliation-list li:hover a {
  color: #e6e6e6;
}

.contact-section {
  text-align: left;
}

.contact-links a {
  display: inline-block;
  padding: 0.25rem 0;
}

.noscript {
  max-width: 900px;
  margin: 0 auto 2rem auto;
  padding: 1rem 1.5rem;
  border: 1px dashed #444;
  border-radius: 10px;
  text-align: center;
  color: #ccc;
}

footer {
  text-align: center;
  color: #444;
  padding: 1.5rem;
  font-size: 1rem;
  letter-spacing: 0.1em;
  border-top: 2px solid #222;
  background: #111;
}
footer p {
  margin: 0;
}
