/* ===========================================================
   Kyoslilmonster — rebuilt static site
   Black background, vivid green-cyan (#00d084) text,
   ADLaM Display headings. Simple & centered, like the original.
   =========================================================== */

:root {
  --green: #00d084;
  --bg: #000000;
  --white: #ffffff;
  --offwhite: #f6f6f6;
  --maxw: 900px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--green);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans,
               Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
  overflow-x: hidden;
}

a { color: var(--green); }
a:hover { opacity: 0.8; }

img { max-width: 100%; height: auto; }

/* ---------- Header ---------- */
.site-header {
  padding: 48px 20px 8px;
}
.logo {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}
.site-header h1 {
  font-family: "ADLaM Display", system-ui, cursive;
  color: var(--green);
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.25;
  font-weight: 400;
  max-width: 640px;
  margin: 22px auto 0;
}

/* ---------- Sections ---------- */
main { padding: 0 20px; }

section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 46px 0;
}

section h2 {
  font-family: "ADLaM Display", system-ui, cursive;
  color: var(--white);
  font-weight: 400;
  font-size: clamp(22px, 4vw, 30px);
  margin: 0 0 20px;
}

section p { margin: 8px 0; }

.note {
  font-size: 14px;
  color: #6fae97;
}

/* ---------- Intro tag list ---------- */
.tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  font-size: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  margin-top: 14px;
  background: var(--green);
  color: #04140e;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 6px;
}
.btn:hover { opacity: 0.9; }

/* ---------- Embeds (responsive 16:9) ---------- */
.embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #071a13;
  border: 1px solid var(--green);
  margin: 0 auto;
}
.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed--wide {
  max-width: 800px;
}

/* ---------- Spotlighted runs grid ---------- */
.runs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.run { margin: 0; }
.run figcaption {
  margin-top: 10px;
  font-size: 16px;
  color: var(--green);
}

/* ---------- Affiliations ---------- */
.affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
}
.affiliation {
  margin: 0;
  width: 180px;
}
.affiliation img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}
.affiliation figcaption {
  margin-top: 10px;
  color: var(--white);
  font-size: 16px;
}
.aff-name {
  font-family: "ADLaM Display", system-ui, cursive;
  font-size: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid #11241c;
  margin-top: 30px;
  padding: 40px 20px 56px;
}
.footer-title {
  font-family: "ADLaM Display", system-ui, cursive;
  color: var(--green);
  font-size: 24px;
  margin: 0;
}
.footer-tag {
  color: #9ec;
  font-size: 15px;
  margin: 6px 0 18px;
}
.socials {
  display: flex;
  justify-content: center;
  gap: 22px;
}
.socials a {
  text-decoration: none;
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .runs { grid-template-columns: 1fr; }
  body { font-size: 17px; }
}
