/* Sections, plugin pages and the header with five entries. */
.top .sections { margin-left: auto; }
.top nav.sections > a { white-space: nowrap; }
.area { margin: 0 0 18vh; }
.area, .about[id], .contact { scroll-margin-top: calc(var(--header) + 24px); }
.intro { font-size: clamp(20px, 1.8vw, 25px); color: var(--muted); max-width: 46ch; margin: -8px 0 48px; }
.list a { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 4fr) minmax(0, 6fr); gap: 8px 32px; align-items: baseline; padding: 26px 0; text-decoration: none; transition: opacity .2s; }
.list span { color: var(--muted); font-size: 16px; }
.list strong { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; letter-spacing: -.022em; }
.list em { font-style: normal; color: var(--muted); }
@media (hover: hover) { .list:hover a { opacity: .4; } .list a:hover { opacity: 1; color: inherit; } }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; margin-bottom: 36px; }
.two h3 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.022em; margin: 0 0 10px; }
.two p { margin: 0; color: var(--muted); max-width: 44ch; }
.about h3 { font-size: 24px; margin: 40px 0 14px; }
.who { position: sticky; top: calc(var(--header) + 40px); align-self: start; max-width: 380px; }
.note { color: var(--muted); font-size: 15px; }
figure { margin: 0 0 20px; }
.photo img, .picture img { display: block; width: 100%; height: auto; border-radius: 4px; }
.picture figcaption { color: var(--muted); font-size: 15px; margin-top: 8px; }
.photo figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* Until the picture files are there, a plain area with its description stands in. */
.photo:not(:has(img)), .picture:not(:has(img)) { display: grid; place-items: center; background: var(--line); border-radius: 4px; padding: 24px; text-align: center; aspect-ratio: 16 / 10; }
.photo:not(:has(img)) { aspect-ratio: 4 / 5; }
.photo:not(:has(img)) figcaption { position: static; width: auto; height: auto; clip-path: none; color: var(--muted); }
.contact { padding: 8vh 0 6vh; }
.contact h2 { font-size: clamp(40px, 6vw, 88px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 28px; max-width: 16ch; }
.contact p { max-width: 52ch; color: var(--muted); font-size: 20px; }
.contact a { color: var(--text); font-weight: 700; font-size: clamp(18px, 3vw, 34px); }
.choice { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.field { display: inline-flex; flex-direction: column; gap: 6px; font-weight: 600; }
.demo select, .demo input[type="number"] { font: inherit; color: inherit; background: transparent; border: 0; border-bottom: 2px solid var(--text); border-radius: 0; padding: 4px 0; min-width: 12ch; }
.demo output { font-weight: 700; }
.demo output.reply { display: block; white-space: pre-line; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.demo button { font: inherit; font-weight: 700; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; cursor: pointer; }
.demo button:hover { color: var(--accent); }
.demo [hidden] { display: none; }
.demo table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.demo th, .demo td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); }
/* Narrow windows: name and languages in the first row, the sections in one row that scrolls sideways. */
@media (max-width: 1100px) {
  .top .languages { margin-left: auto; }
  .top nav.sections { display: flex; order: 3; flex: 0 0 100%; margin: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 20px; font-size: 15px; padding: 2px 0; }
  .top nav.sections > a { order: 0; }
  .top::after { display: none; }
  :root { --header: 92px; }
  .live .beats { top: 124px; }
}
@media (max-width: 760px) {
  .list a, .two { grid-template-columns: 1fr; }
  .who { position: static; }
  .area { margin-bottom: 12vh; }
}
