:root {
  --ink: #1c1917;
  --muted: #57534e;
  --paper: #fbf8f2;
  --panel: #ffffff;
  --line: #d6d0c4;
  --accent: #0f766e;
  --accent-soft: #ccfbf1;
  --shadow: 0 10px 30px rgba(28, 25, 23, 0.06);
  --nav-h: 4.25rem;
  --max: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Lora", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-h);
  background: rgba(251, 248, 242, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Alegreya SC", "Lora", serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.35rem;
}

.nav-links a {
  font-family: "Alegreya", "Lora", serif;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--accent);
}

.hero {
  padding: 3.2rem 0 2.4rem;
  scroll-margin-top: var(--nav-h);
}

.hero-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.6rem;
  align-items: start;
}

.portrait-wrap {
  text-align: center;
}

.portrait {
  width: 210px;
  height: 210px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.contact-row {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.85rem;
}

.contact-row a {
  color: var(--ink);
}

.contact-row a:hover {
  color: var(--accent);
}

.icon {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
}

.name {
  font-family: "Alegreya SC", "Lora", serif;
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 0.35rem;
}

.role {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.bio p {
  margin: 0 0 1rem;
}

.bio p:last-child {
  margin-bottom: 0;
}

.note {
  color: var(--muted);
  font-size: 0.98rem;
}

.band {
  padding: 2.4rem 0 1.2rem;
  scroll-margin-top: calc(var(--nav-h) + 0.6rem);
}

.band-grid {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 1.5rem 2rem;
  padding-top: 1.1rem;
  border-top: 2px solid var(--ink);
}

.section-title {
  margin: 0;
  font-family: "Alegreya", "Lora", serif;
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.15;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  align-self: start;
}

.work-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 1.5rem;
}

.work {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.15rem 1.4rem;
  align-items: start;
}

.work-media {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.work-media img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  background: #fff;
}

.work-media img.is-gif {
  height: 240px;
  object-fit: cover;
  background: #111;
}

.work-title {
  font-family: "Alegreya", "Lora", serif;
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 0.2rem;
}

.work-authors,
.work-blurb {
  margin: 0 0 0.35rem;
}

.work-authors {
  color: var(--muted);
}

.me {
  color: var(--ink);
  font-weight: 700;
}

.venue {
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 0.45rem;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.55rem;
}

.chip {
  display: inline-block;
  padding: 0.12rem 0.55rem;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.chip:hover {
  text-decoration: none;
  background: #99f6e4;
}

.site-footer {
  padding: 2rem 0 2.8rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .wrap {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 820px) {
  .hero-grid,
  .band-grid,
  .work {
    grid-template-columns: 1fr;
  }

  .portrait,
  .portrait-wrap {
    width: min(190px, 56vw);
    margin: 0 auto;
  }

  .hero-grid {
    text-align: center;
  }

  .section-title {
    position: static;
  }

  .work-media img {
    height: 210px;
  }
}

@media (max-width: 560px) {
  .wrap {
    width: min(var(--max), calc(100% - 1.4rem));
  }

  .nav-links {
    gap: 0.85rem;
  }

  .nav-links a {
    font-size: 1.05rem;
  }

  .name {
    font-size: 2rem;
  }
}
