/* lute.de – Jan Grüter, Laute */

@font-face {
  font-family: "EB Garamond";
  src: url("fonts/EBGaramond-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("fonts/EBGaramond-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("fonts/EBGaramond-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --sun: #ffdc9f;
  --sun-soft: #fff3dc;
  --paper: #fffdf8;
  --ink: #2a2520;
  --muted: #6e6352;
  --line: #ecd9b0;
  --link: #8c4a12;
  --link-hover: #b8651c;
  --night: #15171c;
  --serif: "EB Garamond", Garamond, "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.6;
}

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

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--link-hover);
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  font-size: 2.4rem;
  margin: 0 0 0.6rem;
}

h2 {
  font-size: 1.75rem;
  margin: 2.2rem 0 0.7rem;
}

h3 {
  font-size: 1.32rem;
  margin: 1.6rem 0 0.4rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-200%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.4rem 0.8rem;
  font-family: var(--sans);
  font-size: 0.9rem;
}

.skip-link:focus {
  transform: none;
}

/* ---------- Header & navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--sun);
  border-bottom: 1px solid #f0c77f;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.55rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 92px;
}

.brand:hover {
  color: var(--ink);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.2rem;
  font-family: var(--sans);
  font-size: 0.95rem;
}

.nav > a,
.nav summary {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 40px;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}

.nav summary::-webkit-details-marker {
  display: none;
}

.nav summary::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 2px;
}

.nav > a:hover,
.nav summary:hover,
.nav details[open] > summary {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.nav [aria-current="page"],
.nav details.current > summary {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.nav details {
  position: relative;
}

.nav .menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 240px;
  padding: 0.4rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 30px rgba(60, 40, 10, 0.16);
}

.nav .menu a {
  padding: 0.5rem 0.7rem;
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
}

.nav .menu a:hover {
  background: var(--sun-soft);
}

.nav .yt {
  padding-inline: 0.45rem;
}

.nav .yt svg {
  width: 24px;
  height: 24px;
}

/* ---------- Layout ---------- */

main {
  min-height: 60vh;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3.5rem 0;
}

.section.tint {
  background: var(--sun-soft);
}

.section.sun {
  background: var(--sun);
}

.page-head {
  padding: 3rem 0 0.5rem;
}

.page-head .kicker,
.kicker {
  margin: 0 0 0.3rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: 1.25rem;
}

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

.prose ul,
.prose ol {
  padding-left: 1.4rem;
}

.prose img {
  margin: 1.2rem 0;
  max-width: 100%;
}

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

/* ---------- Home ---------- */

.hero {
  background: var(--night);
}

.hero img {
  width: 100%;
}

.release {
  display: grid;
  grid-template-columns: minmax(200px, 340px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.release img {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.release h2 {
  margin-top: 0;
}

.concerts {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(110, 99, 82, 0.3);
}

.concerts li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(110, 99, 82, 0.3);
}

.concerts .group {
  padding-top: 1.4rem;
  font-weight: 600;
}

/* ---------- Cards & media ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
}

.card h2,
.card h3 {
  margin: 0.6rem 0 0;
  font-size: 1.4rem;
}

.card p {
  margin: 0;
}

.more {
  font-family: var(--sans);
  font-size: 0.9rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(220px, 380px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.split > figure,
.split > img {
  margin: 0;
  position: sticky;
  top: 7rem;
}

.figure-stack {
  display: grid;
  gap: 1rem;
}

.tracks {
  margin: 0.5rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.tracks li {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) auto;
  gap: 0.5rem;
  padding: 0.25rem 0;
  border-bottom: 1px dotted var(--line);
}

.tracks li.work {
  display: block;
  padding-top: 0.6rem;
  font-style: italic;
}

.tracks .no,
.tracks .time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

blockquote {
  margin: 0 0 1.4rem;
  padding: 0 0 0 1.1rem;
  border-left: 3px solid var(--sun);
}

blockquote footer,
.source {
  color: var(--muted);
  font-style: italic;
}

.people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.people h3 {
  margin-top: 0;
}

.en {
  color: var(--muted);
  font-style: italic;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.video-grid iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
  border-radius: 4px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.photo-grid figure {
  margin: 0;
}

.photo-grid img {
  width: 100%;
  border-radius: 3px;
}

.audio-list {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.audio-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.audio-list audio {
  display: block;
  width: min(100%, 420px);
  margin-top: 0.35rem;
}

.discography {
  margin: 0;
  padding: 0;
  list-style: none;
}

.discography li {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.discography img {
  width: 104px;
  border-radius: 2px;
}

.toc {
  margin: 1.5rem 0 2rem;
  padding: 1rem 1.4rem;
  background: var(--sun-soft);
  border-radius: 6px;
}

.toc h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.3rem;
}

.essay sup {
  font-size: 0.7em;
  line-height: 0;
}

.essay sup a {
  text-decoration: none;
}

.footnotes p {
  font-size: 0.98rem;
  margin: 0 0 0.45rem;
}

.cello-hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #222 center / cover no-repeat;
}

.cello-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.05));
}

.cello-hero .wrap {
  position: relative;
  width: 100%;
  padding-bottom: 2.4rem;
}

.cello-hero h1 {
  font-size: 3rem;
  margin: 0;
}

.cello-hero p {
  margin: 0.2rem 0 0;
  font-size: 1.3rem;
}

.program p {
  margin: 0 0 0.9rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--sun);
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-grid {
  display: grid;
  grid-template-columns: 150px repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.8rem 1.5rem 1.6rem;
}

.footer-grid h2 {
  margin: 0 0 0.5rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
}

.footer-grid p {
  margin: 0;
}

.footer-grid a {
  color: var(--ink);
}

.footer-logo img {
  width: 120px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.5rem 1.6rem;
  border-top: 1px solid rgba(42, 37, 32, 0.15);
}

.footer-bottom p {
  margin: 0;
}

.social {
  display: flex;
  gap: 0.4rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--ink);
}

.social a:hover {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.social svg {
  width: 22px;
  height: 22px;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
  }

  .cards,
  .people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 1.08rem;
  }

  h1 {
    font-size: 1.95rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .site-header {
    position: static;
  }

  .header-inner,
  .wrap,
  .narrow {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand img {
    width: 72px;
  }

  .nav {
    font-size: 0.92rem;
  }

  .nav details {
    position: static;
  }

  .nav .menu {
    left: 1rem;
    right: 1rem;
    min-width: 0;
  }

  .section {
    padding: 2.5rem 0;
  }

  .release,
  .split,
  .cards,
  .people,
  .video-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .release img {
    max-width: 280px;
  }

  .split > figure,
  .split > img {
    position: static;
    max-width: 320px;
  }

  .cello-hero h1 {
    font-size: 2.2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.prose img.float-img {
  float: left;
  margin: 0.3rem 1.5rem 0.8rem 0;
}

.prose h2 {
  clear: both;
}

.people > div > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}

.header-inner {
  position: relative;
}
