:root {
  --paper: #f2eee8;
  --warm: #dfd4c8;
  --ink: #352f2b;
  --muted: #786b60;
  --moss: #46594c;
  --brick: #9d4f3c;
  --blue: #31566d;
  --line: rgba(53, 47, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  border-bottom: 1px solid rgba(53, 47, 43, 0.22);
  background:
    linear-gradient(180deg, rgba(242, 238, 232, 0.96), rgba(242, 238, 232, 0.88)),
    var(--paper);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(53, 47, 43, 0.08);
}

.header-inner {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 12px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--ink);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand::after {
  display: inline-block;
  width: 0;
  overflow: hidden;
  color: var(--ink);
  content: "BZ";
  opacity: 0;
  transform: translateX(-8px);
  transition:
    width 320ms ease,
    opacity 240ms ease,
    transform 320ms ease;
}

.brand-name {
  display: inline-block;
  width: 204px;
  overflow: hidden;
  white-space: nowrap;
  transition:
    width 320ms ease,
    opacity 240ms ease,
    transform 320ms ease;
}

body.is-scrolled .brand-name {
  width: 0;
  opacity: 0;
  transform: translateX(-8px);
}

body.is-scrolled .brand::after {
  width: 30px;
  opacity: 1;
  transform: translateX(0);
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  image-rendering: -webkit-optimize-contrast;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  gap: 28px;
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.desktop-nav a,
.language-switch a,
.read-more {
  transition: opacity 180ms ease, background 180ms ease, color 180ms ease;
}

.desktop-nav a:hover,
.language-switch a:hover {
  opacity: 0.62;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(53, 47, 43, 0.18);
  padding: 3px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 28px;
  padding: 0 8px;
  color: var(--ink);
}

.language-switch a.is-active {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 112px 24px 72px;
  color: white;
  text-align: center;
}

.hero-media,
.hero-photo,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-photo {
  background:
    linear-gradient(115deg, rgba(14, 13, 12, 0.34), rgba(14, 13, 12, 0.16)),
    url("assets/hero-khhh-bw.jpg") center center / cover;
  filter: contrast(1.08);
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(18, 17, 16, 0.18), rgba(18, 17, 16, 0.5)),
    radial-gradient(circle at 50% 45%, transparent 0 36%, rgba(0, 0, 0, 0.26));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(100%, 980px);
}

.kicker,
.eyebrow {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  line-height: 1.7;
  text-transform: uppercase;
}

.kicker {
  color: rgba(255, 255, 255, 0.78);
}

.hero h1 {
  margin: 0 0 28px;
  color: white;
  font-size: clamp(48px, 9vw, 112px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.92;
}

.hero-line {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: Arial, sans-serif;
  font-size: clamp(16px, 2.1vw, 25px);
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.section-pad {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 96px 0;
}

.page-main {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 168px 0 112px;
}

.page-kicker {
  margin: 0 0 20px;
  color: rgba(53, 47, 43, 0.54);
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.page-title {
  max-width: 860px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(46px, 8vw, 96px);
  font-weight: 300;
  line-height: 0.98;
}

.page-intro {
  max-width: 720px;
  margin: 38px 0 0;
  color: rgba(53, 47, 43, 0.78);
  font-size: 21px;
  line-height: 1.7;
}

.page-panel {
  max-width: 980px;
  margin: 48px 0 0;
  border-top: 1px solid rgba(53, 47, 43, 0.22);
  padding: 34px 0 0;
}

.page-panel h2 {
  max-width: 760px;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.1;
}

.page-panel p {
  max-width: 760px;
  color: rgba(53, 47, 43, 0.78);
  font-size: 18px;
  line-height: 1.65;
}

.teaching-offers {
  display: grid;
  margin-top: 24px;
  gap: 18px;
}

.teaching-offers article {
  border: 1px solid rgba(53, 47, 43, 0.18);
  background: rgba(250, 247, 242, 0.72);
  padding: 24px;
  transform: scale(0.985);
  transform-origin: center top;
  transition:
    transform 420ms ease,
    background 420ms ease,
    border-color 420ms ease,
    box-shadow 420ms ease;
}

.teaching-offers article:hover {
  border-color: rgba(53, 47, 43, 0.34);
  background: rgba(250, 247, 242, 0.94);
  box-shadow: 0 18px 52px rgba(53, 47, 43, 0.07);
  transform: scale(1);
}

.page-panel > .teaching-note {
  transform: scale(0.985);
  transform-origin: center top;
  transition:
    transform 420ms ease,
    border-color 420ms ease,
    background 420ms ease,
    box-shadow 420ms ease;
}

.page-panel > .teaching-note:hover {
  border-color: rgba(53, 47, 43, 0.42);
  background: rgba(250, 247, 242, 0.54);
  box-shadow: 0 14px 42px rgba(53, 47, 43, 0.055);
  transform: scale(1);
}

.teaching-offers h2 {
  font-size: clamp(24px, 2.5vw, 34px);
}

.teaching-note {
  max-width: 760px;
  margin-top: 24px;
  border-left: 3px solid rgba(53, 47, 43, 0.34);
  padding-left: 20px;
}

.teaching-note p {
  margin: 0;
}

.teaching-note p + p {
  margin-top: 8px;
}

.lab-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(180px, 260px);
  align-items: start;
  gap: 42px 82px;
  margin-top: -220px;
}

.lab-intro-layout .page-intro {
  margin-top: 258px;
}

.lab-stamp {
  display: grid;
  width: clamp(178px, 22vw, 250px);
  aspect-ratio: 1;
  margin-top: 0;
  place-content: center;
  border: 2px solid rgba(53, 47, 43, 0.42);
  border-radius: 50%;
  background:
    linear-gradient(0deg, transparent 0 16px, rgba(53, 47, 43, 0.1) 16px 17px, transparent 17px) 0 0 / 100% 22px,
    rgba(250, 247, 242, 0.86);
  color: rgba(53, 47, 43, 0.68);
  font-family: Arial, sans-serif;
  font-size: clamp(18px, 2.4vw, 29px);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-7deg);
  box-shadow:
    inset 0 0 0 10px rgba(250, 247, 242, 0.54),
    0 18px 46px rgba(53, 47, 43, 0.07);
}

.lab-stamp span {
  display: block;
}

.lab-stamp::before,
.lab-stamp::after {
  display: block;
  width: 62%;
  height: 1px;
  margin: 12px auto;
  background: rgba(53, 47, 43, 0.34);
  content: "";
}
.page-figure {
  margin: 42px 0 0;
  overflow: hidden;
  border-radius: 8px;
  background: #171311;
}

.page-figure img {
  display: block;
  width: 100%;
  height: min(52vh, 520px);
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}

.page-main > .page-figure,
.page-main > .support-note,
.page-main > .attention-box,
.audio-feature {
  transform: scale(0.985);
  transform-origin: center top;
  transition: transform 520ms ease, box-shadow 520ms ease;
}

.page-main > .page-figure:hover,
.page-main > .support-note:hover,
.page-main > .attention-box:hover,
.audio-feature:hover {
  transform: scale(1);
}

.support-note {
  max-width: 860px;
  margin: 34px 0 0;
  border-top: 1px solid rgba(53, 47, 43, 0.24);
  border-bottom: 1px solid rgba(53, 47, 43, 0.24);
  padding: 28px 0;
}

.support-note p {
  margin: 0;
  color: rgba(53, 47, 43, 0.82);
  font-size: 20px;
  line-height: 1.65;
}

.support-note a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.attention-box {
  display: grid;
  max-width: 960px;
  margin: 28px 0 0;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  border: 1px solid rgba(53, 47, 43, 0.24);
  background: #f3eadc;
  padding: 28px;
}

.attention-box img {
  display: block;
  width: 100%;
  max-height: 160px;
  object-fit: contain;
}

.attention-box p {
  margin: 0;
  color: rgba(53, 47, 43, 0.86);
  font-size: 22px;
  line-height: 1.45;
}

.attention-box .attention-kicker {
  margin-bottom: 10px;
  color: rgba(53, 47, 43, 0.58);
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.attention-box a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.page-project-list {
  display: grid;
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid rgba(53, 47, 43, 0.18);
}

.page-project {
  display: grid;
  gap: 18px;
  border-bottom: 1px solid rgba(53, 47, 43, 0.18);
  padding: 34px 0 38px;
}

/* Subpage section icons mirror the homepage field symbols. */
.page-project,
.audio-feature {
  position: relative;
}

.page-project::before,
.audio-feature::before,
.page-panel-list .info-panel summary::before {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: rgba(53, 47, 43, 0.64);
  flex: 0 0 auto;
}

.page-project::before {
  content: "\201d";
  justify-self: end;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.audio-feature::before {
  content: "";
  justify-self: end;
  background:
    radial-gradient(ellipse at center, transparent 0 44%, currentColor 45% 48%, transparent 49%) center 10px / 18px 24px no-repeat,
    linear-gradient(currentColor, currentColor) center 30px / 2px 12px no-repeat,
    linear-gradient(currentColor, currentColor) center 41px / 18px 2px no-repeat;
}

.page-panel-list .info-panel summary {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.page-panel-list .info-panel summary::before {
  order: 2;
  content: "";
}

.page-panel-list .info-panel summary::after {
  order: 3;
}

.page-panel-list .panel-research summary::before {
  background:
    linear-gradient(36deg, transparent 47%, currentColor 48% 51%, transparent 52%),
    linear-gradient(128deg, transparent 44%, currentColor 45% 47%, transparent 48%),
    linear-gradient(90deg, currentColor 0 2px, transparent 2px 19px, currentColor 19px 21px, transparent 21px),
    linear-gradient(0deg, currentColor 0 2px, transparent 2px 20px, currentColor 20px 22px, transparent 22px);
  background-size: 36px 36px;
  background-position: center;
  background-repeat: no-repeat;
}

.page-panel-list .panel-photography summary::before {
  background:
    linear-gradient(currentColor, currentColor) 12px 12px / 15px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 12px 12px / 1px 15px no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - 12px) 12px / 15px 1px no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - 12px) 12px / 1px 15px no-repeat,
    linear-gradient(currentColor, currentColor) 12px calc(100% - 12px) / 15px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 12px calc(100% - 12px) / 1px 15px no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - 12px) calc(100% - 12px) / 15px 1px no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - 12px) calc(100% - 12px) / 1px 15px no-repeat;
}
.text-link {
  display: inline;
  border-bottom: 2px solid rgba(191, 72, 0, 0.48);
  background: linear-gradient(
    to top,
    rgba(191, 72, 0, 0.14) 0,
    rgba(191, 72, 0, 0.14) 45%,
    transparent 45%
  );
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.text-link:hover {
  border-color: rgba(191, 72, 0, 0.88);
  background: linear-gradient(
    to top,
    rgba(191, 72, 0, 0.22) 0,
    rgba(191, 72, 0, 0.22) 58%,
    transparent 58%
  );
}

.page-project-list .text-link {
  border-bottom: 0;
  background: none;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.page-project-list .text-link:hover {
  border-color: transparent;
  background: none;
}

.page-project h2 {
  max-width: 900px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 300;
  line-height: 1.04;
}

.page-project p:not(.page-kicker) {
  max-width: 720px;
  margin: 0;
  color: rgba(53, 47, 43, 0.78);
  font-size: 19px;
  line-height: 1.7;
}

.audio-feature {
  display: grid;
  gap: 28px;
  margin-top: 72px;
  border-top: 1px solid rgba(53, 47, 43, 0.18);
  border-bottom: 1px solid rgba(53, 47, 43, 0.18);
  padding: 34px 0 38px;
}

.audio-feature h2 {
  max-width: 900px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 300;
  line-height: 1.04;
}

.audio-feature p:not(.page-kicker) {
  max-width: 720px;
  margin: 0;
  color: rgba(53, 47, 43, 0.78);
  font-size: 19px;
  line-height: 1.7;
}

.audio-feature audio {
  width: min(100%, 720px);
}

.page-panel-list {
  display: grid;
  margin-top: 64px;
  gap: 26px;
}

.page-panel-list .info-panel {
  border: 1px solid rgba(53, 47, 43, 0.18);
  background: rgba(250, 247, 242, 0.76);
  padding: 0 28px;
  transform: scale(0.988);
  transform-origin: center top;
  transition:
    transform 420ms ease,
    background 420ms ease,
    border-color 420ms ease,
    box-shadow 420ms ease;
}

.page-panel-list .info-panel:hover,
.page-panel-list .info-panel[open] {
  border-color: rgba(53, 47, 43, 0.34);
  background: rgba(250, 247, 242, 0.94);
  box-shadow: 0 18px 52px rgba(53, 47, 43, 0.07);
  transform: scale(1);
}

.page-panel-list .info-panel summary {
  min-height: 108px;
}

.page-panel-list .panel-body {
  max-width: none;
  padding: 0 0 30px;
}

.page-panel-list .panel-body:has(.page-figure) {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  align-items: start;
  gap: 28px 42px;
}

.page-panel-list .panel-body:has(.page-figure) .page-figure {
  grid-column: 2;
  grid-row: 1 / span 8;
  margin: 0;
}

.page-panel-list .panel-body:has(.page-figure) .page-figure img {
  height: min(46vh, 420px);
  min-height: 260px;
}

.page-panel-list .panel-body:has(.page-figure)::before {
  grid-column: 1;
  grid-row: 1;
}

.page-panel-list .panel-body:has(.page-figure) p,
.page-panel-list .panel-body:has(.page-figure) .read-more {
  grid-column: 1;
}

.page-panel-list .panel-body:has(.page-figure) p:nth-of-type(1) {
  grid-row: 2;
}

.page-panel-list .panel-body:has(.page-figure) p:nth-of-type(2) {
  grid-row: 3;
}

.page-panel-list .panel-body:has(.page-figure) p:nth-of-type(3),
.page-panel-list .panel-body:has(.page-figure) .read-more {
  grid-row: 4;
}

.khhh-support-logo {
  grid-column: 1;
  grid-row: 1;
  width: min(100%, 190px);
  margin: 0 0 10px;
  opacity: 0.86;
}

.khhh-support-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.page-panel-list .panel-khhh .panel-body::before {
  grid-column: 1;
  grid-row: 2;
}

.page-panel-list .panel-khhh .panel-body p:nth-of-type(1) {
  grid-row: 3;
}

.page-panel-list .panel-body::before {
  grid-column: 1;
}

@keyframes sectionBreathe {
  from {
    opacity: 0.72;
    transform: scale(0.972);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@supports (animation-timeline: view()) {
  .page-main > .page-figure,
  .page-main > .support-note,
  .page-main > .attention-box,
  .page-panel-list .info-panel,
  .audio-feature {
    animation: sectionBreathe both ease-out;
    animation-timeline: view();
    animation-range: entry 12% cover 38%;
  }
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: 72px;
  align-items: center;
}

.profile-copy {
  display: grid;
  gap: 15px;
  padding-top: 0;
}

.profile-copy p:not(.page-kicker) {
  max-width: 620px;
  margin: 0;
  color: rgba(53, 47, 43, 0.78);
  font-size: 17px;
  line-height: 1.62;
}

.profile-copy .page-intro {
  margin: 0;
  font-size: 17px;
  line-height: 1.62;
}

.profile-copy .read-more {
  margin-top: 28px;
}


.professional-stations {
  max-width: 860px;
  margin-top: 82px;
  padding-top: 44px;
  border-top: 1px solid rgba(53, 47, 43, 0.18);
}

.professional-stations h2 {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.06;
}

.station-list {
  display: grid;
  gap: 18px;
}

.station-row {
  display: grid;
  grid-template-columns: minmax(96px, 0.28fr) minmax(0, 1fr);
  gap: 34px;
  align-items: baseline;
}

.station-row p {
  margin: 0;
  color: rgba(53, 47, 43, 0.78);
  font-size: 17px;
  line-height: 1.62;
}

.station-row a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.station-years {
  color: rgba(53, 47, 43, 0.54);
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.profile-portrait {
  margin: 0;
}

.profile-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 28%;
  filter: saturate(0.92) contrast(1.04);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 72px;
  border-bottom: 1px solid var(--line);
}

.about-section.section-pad {
  padding: 76px 0;
}

.about-section h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 300;
  line-height: 1.04;
}

.about-copy {
  display: grid;
  gap: 14px;
  align-content: center;
  color: rgba(53, 47, 43, 0.78);
  font-size: 17px;
  line-height: 1.56;
}

.about-copy p {
  margin: 0;
}

.about-copy .read-more {
  justify-self: start;
  margin-top: 4px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.92fr);
  gap: 72px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin-bottom: 20px;
  color: rgba(53, 47, 43, 0.52);
}

.intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.02;
}

.intro-copy {
  display: grid;
  position: relative;
  gap: 22px;
  align-content: center;
  color: rgba(53, 47, 43, 0.78);
  font-size: 19px;
  line-height: 1.75;
}

.intro-copy p,
.intro-copy .read-more {
  position: relative;
  z-index: 1;
}

.intro-copy p {
  margin: 0;
}

.publisher-watermark-logo {
  position: absolute;
  right: 0;
  bottom: 18px;
  z-index: 0;
  width: min(86%, 360px);
  max-height: 150px;
  object-fit: contain;
  object-position: right center;
  opacity: 0.09;
  pointer-events: none;
}

.project-grid,
.panel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.panel-section {
  display: grid;
  gap: 40px;
}

.panel-heading {
  max-width: 920px;
}

.panel-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 300;
  line-height: 1.02;
}

.panel-list {
  grid-template-columns: 1fr;
}

.info-panel {
  border-top: 1px solid rgba(53, 47, 43, 0.18);
}

.info-panel:last-child {
  border-bottom: 1px solid rgba(53, 47, 43, 0.18);
}

.info-panel summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 30px 0;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition:
    background 260ms ease,
    color 260ms ease,
    padding 260ms ease,
    min-height 260ms ease;
}

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

.info-panel summary::after {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(53, 47, 43, 0.22);
  color: var(--ink);
  content: "+";
  font-family: Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
}

.info-panel[open] summary::after {
  content: "-";
}

.panel-book-series {
  --panel-image: url("assets/khh-girls-on-stairs.png");
  --panel-position: center 48%;
}

.panel-exam {
  --panel-image: url("assets/wien.PNG");
  --panel-position: center center;
}
.panel-droning {
  --panel-image: url("assets/brigitte-zamzow-portrait.png");
  --panel-position: center 30%;
}

.panel-gowanus {
  --panel-image: url("assets/gowanus-roots-wings.jpg");
  --panel-position: center 50%;
}

.panel-research {
  --panel-image: url("assets/khh-urban-research.jpg");
  --panel-position: center 46%;
}

.panel-photography {
  --panel-image: url("assets/makaberr/heimat (40).jpg");
  --panel-position: center center;
}

.panel-sound {
  --panel-image: url("assets/harlem-social-housing.jpg");
  --panel-position: center 52%;
}

.panel-list .info-panel:not([open]) summary {
  min-height: 210px;
  padding: 36px;
  background:
    linear-gradient(90deg, rgba(22, 19, 17, 0.78), rgba(22, 19, 17, 0.34)),
    var(--panel-image) var(--panel-position) / cover;
  color: white;
}

.panel-list .info-panel:not([open]) summary:hover {
  min-height: 235px;
}

.panel-list .info-panel:not([open]) .panel-label {
  color: rgba(255, 255, 255, 0.72);
}

.panel-list .info-panel:not([open]) summary::after {
  border-color: rgba(255, 255, 255, 0.52);
  color: white;
}

.panel-list .info-panel:not([open]) .mini-mark {
  display: none;
}

.panel-label,
.panel-title {
  display: block;
}

.panel-label {
  margin-bottom: 10px;
  color: rgba(53, 47, 43, 0.52);
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel-title {
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 300;
  line-height: 1.04;
}

.panel-body {
  display: grid;
  max-width: 780px;
  gap: 18px;
  padding: 0 0 38px;
  color: rgba(53, 47, 43, 0.78);
  font-size: 19px;
  line-height: 1.7;
}

.panel-body p {
  margin: 0;
}

.panel-body .newspaper-clipping {
  display: inline-block;
  max-width: 760px;
  margin: 0 0 4px;
  padding: 18px 20px 16px;
  border: 1px solid rgba(53, 47, 43, 0.22);
  background:
    linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.1)),
    #efe3cf;
  box-shadow: 0 14px 28px rgba(53, 47, 43, 0.1);
  color: rgba(43, 37, 33, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.55;
  transform: rotate(-0.35deg);
}

.panel-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.panel-body .read-more {
  justify-self: start;
  margin-top: 8px;
}


.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  max-width: 1120px;
  margin-top: 18px;
}

.photo-gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  padding: 0;
  background: rgba(53, 47, 43, 0.08);
  cursor: zoom-in;
}

.photo-gallery-item::after,
.photo-lightbox-frame::after {
  content: "\00a9  Brigitte Zamzow";
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.86);
  font: 600 11px/1.2 Arial, sans-serif;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.82);
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.photo-gallery-item:hover::after,
.photo-gallery-item:focus-visible::after,
.photo-lightbox-frame:hover::after,
.photo-lightbox-frame:focus-within::after {
  opacity: 1;
}

.photo-gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
  -webkit-user-drag: none;
  user-select: none;
}

.photo-gallery-item:hover img,
.photo-gallery-item:focus-visible img {
  filter: contrast(1.04);
  transform: scale(1.035);
}

.photo-gallery-item:focus-visible,
.photo-lightbox button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.has-photo-lightbox {
  overflow: hidden;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-items: center;
  padding: 72px 88px;
  background: rgba(22, 19, 17, 0.86);
}

.photo-lightbox.is-open {
  display: grid;
}

.photo-lightbox-frame {
  position: relative;
  max-width: min(1120px, 100%);
  max-height: 100%;
  margin: 0;
}

.photo-lightbox-frame::after {
  right: 16px;
  bottom: 14px;
  font-size: 13px;
}

.photo-lightbox-frame img {
  max-width: 100%;
  max-height: calc(100vh - 144px);
  display: block;
  object-fit: contain;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  -webkit-user-drag: none;
  user-select: none;
}

.photo-lightbox button {
  border: 1px solid rgba(250, 247, 242, 0.52);
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.1);
  color: #fff;
  cursor: pointer;
  font-family: Arial, sans-serif;
}

.photo-lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  font-size: 34px;
  line-height: 1;
}

.photo-lightbox-nav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  font-size: 44px;
  line-height: 0.8;
}

.photo-lightbox-prev {
  left: 24px;
}

.photo-lightbox-next {
  right: 24px;
}


.project-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(70, 89, 76, 0.18);
  background: #faf7f2;
  padding: 34px;
  box-shadow: 0 16px 42px rgba(45, 37, 31, 0.06);
  transition:
    background 240ms ease,
    border-color 240ms ease,
    color 240ms ease,
    transform 240ms ease,
    box-shadow 240ms ease;
}

.project-card:hover {
  border-color: transparent;
  background: var(--moss);
  color: #faf7f2;
  transform: translateY(-4px);
  box-shadow: 0 22px 58px rgba(37, 44, 39, 0.22);
}

.project-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.project-card h3 {
  max-width: 420px;
  margin: 0;
  color: currentColor;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.06;
}

.mini-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  image-rendering: -webkit-optimize-contrast;
  object-fit: contain;
  opacity: 0.54;
  transition: opacity 240ms ease, filter 240ms ease;
}

.project-card:hover .mini-mark {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.mini-mark-text {
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: currentColor;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.72;
}

.project-card p:not(.eyebrow) {
  margin: 0 0 28px;
  max-width: 520px;
  color: currentColor;
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.84;
}

.read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid currentColor;
  padding: 0 22px;
  color: currentColor;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.read-more-compact {
  min-height: 36px;
  padding: 0 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.read-more:hover {
  background: white;
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--warm);
  padding: 72px 0;
}

.footer-inner {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px;
}

.footer-grid h4 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-grid ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  color: rgba(53, 47, 43, 0.72);
  list-style: none;
}

.footer-tree > li {
  position: relative;
}

.footer-tree > li > a {
  color: rgba(53, 47, 43, 0.86);
}

.footer-tree ul {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 5;
  display: grid;
  min-width: min(72vw, 280px);
  margin: 0;
  padding: 14px 16px 14px 18px;
  gap: 9px;
  border: 1px solid rgba(53, 47, 43, 0.2);
  background:
    linear-gradient(180deg, rgba(250, 247, 242, 0.98), rgba(239, 227, 207, 0.96));
  box-shadow: 0 18px 42px rgba(53, 47, 43, 0.14);
  color: rgba(53, 47, 43, 0.58);
  font-size: 13px;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px) scale(0.98);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.footer-tree > li:hover > ul,
.footer-tree > li:focus-within > ul {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.footer-tree ul li {
  position: relative;
}

.footer-tree ul li::before {
  position: absolute;
  top: 0.72em;
  left: -10px;
  width: 8px;
  height: 1px;
  background: rgba(53, 47, 43, 0.2);
  content: "";
}

.footer-tree > li:nth-last-child(-n + 2) ul {
  right: 0;
  left: auto;
}

.footer-grid a {
  transition: color 180ms ease, opacity 180ms ease;
}

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

.footer-note {
  margin: 56px 0 0;
  border-top: 1px solid rgba(53, 47, 43, 0.16);
  padding-top: 22px;
  color: rgba(53, 47, 43, 0.58);
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .professional-stations {
    margin-top: 58px;
    padding-top: 34px;
  }

  .station-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .header-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    font-size: 14px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .language-switch {
    font-size: 10px;
  }

  .language-switch a {
    min-width: 30px;
    padding: 0 6px;
  }

  .hero {
    min-height: 92vh;
  }

  .about-section,
  .profile-layout,
  .intro,
  .project-grid,
  .panel-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-pad {
    padding: 72px 0;
  }

  .project-card {
    min-height: 290px;
    padding: 28px;
  }

  .info-panel summary {
    gap: 16px;
  }

  .panel-list .info-panel:not([open]) summary {
    min-height: 210px;
    padding: 28px;
  }

  .panel-list .info-panel:not([open]) summary:hover {
    min-height: 190px;
  }

  .page-main {
    padding-top: 130px;
  }

  .lab-intro-layout {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 0;
  }

  .lab-intro-layout .page-intro {
    margin-top: 38px;
  }

  .lab-stamp {
    justify-self: end;
    width: clamp(150px, 46vw, 196px);
    margin-top: 0;
  }

  .page-figure img {
    height: min(46vh, 440px);
    min-height: 240px;
  }

  .page-panel-list {
    margin-top: 48px;
    gap: 18px;
  }

  .page-panel-list .info-panel {
    padding: 0 18px;
  }

  .page-panel-list .info-panel summary {
    min-height: 86px;
  }

  .page-panel-list .panel-body:has(.page-figure) {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .page-panel-list .panel-body:has(.page-figure) .page-figure,
  .page-panel-list .panel-body:has(.page-figure) p,
  .page-panel-list .panel-body:has(.page-figure) .read-more,
  .khhh-support-logo {
    grid-column: 1;
  }

  .khhh-support-logo {
    width: min(100%, 170px);
    margin-top: 0;
  }

  .page-panel-list .panel-body:has(.page-figure) .page-figure {
    grid-row: auto;
  }

  .page-panel-list .panel-body:has(.page-figure) .page-figure img {
    height: min(42vh, 360px);
    min-height: 220px;
  }

  .attention-box {
    grid-template-columns: 1fr;
    max-width: none;
    gap: 22px;
    padding: 24px;
  }

  .attention-box img {
    max-width: 280px;
    max-height: 120px;
  }

  .attention-box p {
    font-size: 19px;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    max-width: 120px;
    line-height: 1.2;
  }

  .brand-name {
    width: 120px;
    white-space: normal;
  }

  .hero-line {
    letter-spacing: 0.06em;
  }

  .page-title {
    font-size: 40px;
  }

  .page-figure {
    margin-top: 30px;
  }

  .page-figure img,
  .page-panel-list .panel-body:has(.page-figure) .page-figure img {
    height: min(38vh, 300px);
    min-height: 190px;
  }

  .page-panel-list .info-panel {
    padding: 0 14px;
  }

  .page-panel-list .info-panel summary {
    min-height: 76px;
  }
  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .photo-lightbox {
    padding: 64px 18px 88px;
  }

  .photo-lightbox-frame img {
    max-height: calc(100vh - 152px);
  }

  .photo-lightbox-nav {
    top: auto;
    bottom: 20px;
    transform: none;
  }

  .photo-lightbox-prev {
    left: calc(50% - 64px);
  }

  .photo-lightbox-next {
    right: calc(50% - 64px);
  }

  .attention-box {
    padding: 20px;
  }

  .attention-box p {
    font-size: 17px;
  }

  .project-title-row {
    align-items: flex-start;
  }

  .info-panel summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .info-panel .mini-mark {
    display: none;
  }
}

/* Experimental homepage: visual scroll chapters for project 3. */
.scroll-index {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  margin: 0;
  padding: 0;
  align-items: end;
  gap: 0;
}

.scroll-index a {
  display: grid;
  position: relative;
  width: clamp(112px, 11vw, 148px);
  min-height: 62px;
  flex: 0 1 clamp(112px, 11vw, 148px);
  align-content: space-between;
  border: 1px solid rgba(53, 47, 43, 0.22);
  border-bottom-color: rgba(53, 47, 43, 0.34);
  border-radius: 8px 8px 0 0;
  margin: 0 0 0 -28px;
  padding: 10px 38px 10px 12px;
  background:
    linear-gradient(180deg, rgba(250, 247, 242, 0.98), rgba(239, 227, 207, 0.9));
  color: var(--ink);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.7),
    0 -1px 0 rgba(53, 47, 43, 0.03);
  text-decoration: none;
  transform: translateY(8px) rotate(-1.5deg);
  transition:
    background 220ms ease,
    flex-basis 360ms ease,
    margin 360ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.scroll-index a:first-child {
  margin-left: 0;
}

.scroll-index a:nth-child(2) {
  z-index: 5;
  margin-left: -12px;
}

.scroll-index a:nth-child(2n) {
  transform: translateY(4px) rotate(1deg);
}

.scroll-index a:nth-child(3n) {
  transform: translateY(11px) rotate(-0.75deg);
}

body.is-scrolled .scroll-index a {
  margin-left: 0;
  transform: translateY(0) rotate(0deg);
}

.scroll-index a.is-active {
  z-index: 4;
  border-color: rgba(53, 47, 43, 0.46);
  background:
    linear-gradient(180deg, #faf7f2, #efe3cf);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.72),
    0 -2px 0 rgba(53, 47, 43, 0.12);
  transform: translateY(-10px) scale(1.12) rotate(0deg);
}

body.is-scrolled .scroll-index a.is-active {
  transform: translateY(-10px) scale(1.12) rotate(0deg);
}

.scroll-index a:hover {
  z-index: 2;
  background:
    linear-gradient(180deg, #faf7f2, #efe3cf);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.72),
    0 -2px 0 rgba(53, 47, 43, 0.1);
  transform: translateY(-6px) scale(1.06);
}

.scroll-index a::after {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(53, 47, 43, 0.22);
  border-radius: 50%;
  color: rgba(53, 47, 43, 0.58);
  content: "";
  opacity: 0.72;
  transition: opacity 220ms ease, transform 220ms ease;
}

.scroll-index a:hover::after {
  opacity: 1;
  transform: rotate(-6deg) scale(1.08);
}

.scroll-index a:nth-child(1)::after {
  background: url("assets/logo-social-climbers-round-stairs.png") center / 24px 24px no-repeat;
}

.scroll-index a:nth-child(2)::after {
  display: grid;
  place-items: center;
  background: rgba(250, 247, 242, 0.64);
  content: "\201d";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1;
}

.scroll-index a:nth-child(3)::after {
  background:
    linear-gradient(38deg, transparent 47%, currentColor 48% 51%, transparent 52%),
    linear-gradient(124deg, transparent 44%, currentColor 45% 47%, transparent 48%),
    linear-gradient(90deg, currentColor 0 1px, transparent 1px 12px, currentColor 12px 13px, transparent 13px),
    linear-gradient(0deg, currentColor 0 1px, transparent 1px 12px, currentColor 12px 13px, transparent 13px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
}

.scroll-index a:nth-child(4)::after {
  background:
    linear-gradient(currentColor, currentColor) 8px 8px / 9px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 8px 8px / 1px 9px no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - 8px) 8px / 9px 1px no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - 8px) 8px / 1px 9px no-repeat,
    linear-gradient(currentColor, currentColor) 8px calc(100% - 8px) / 9px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 8px calc(100% - 8px) / 1px 9px no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - 8px) calc(100% - 8px) / 9px 1px no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - 8px) calc(100% - 8px) / 1px 9px no-repeat;
}

.scroll-index a:nth-child(5)::after {
  background:
    radial-gradient(ellipse at center, transparent 0 44%, currentColor 45% 48%, transparent 49%) center 7px / 13px 17px no-repeat,
    linear-gradient(currentColor, currentColor) center 22px / 2px 8px no-repeat,
    linear-gradient(currentColor, currentColor) center 29px / 13px 2px no-repeat;
}

.scroll-index a:nth-child(6)::after {
  display: grid;
  place-items: center;
  background: rgba(250, 247, 242, 0.64);
  content: "SC";
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.scroll-index a:nth-child(7)::after {
  display: grid;
  place-items: center;
  background: rgba(250, 247, 242, 0.64);
  content: "LE";
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.scroll-index span {
  color: rgba(53, 47, 43, 0.46);
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.scroll-index strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 300;
  line-height: 1;
}

.scroll-chapter {
  position: relative;
  isolation: isolate;
  scroll-margin-top: 150px;
  transform: scale(0.982);
  transform-origin: center top;
  transition:
    transform 520ms ease,
    border-color 520ms ease,
    background 520ms ease,
    box-shadow 520ms ease;
}

.scroll-chapter::before {
  position: absolute;
  top: 36px;
  left: -54px;
  z-index: -1;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(53, 47, 43, 0.14);
  border-radius: 50%;
  background: rgba(250, 247, 242, 0.9) url("assets/logo-social-climbers-round-stairs.png") center / 58px 58px no-repeat;
  content: "";
  opacity: 0.42;
  transition: transform 520ms ease, opacity 520ms ease;
}

.chapter-publishing::before {
  display: grid;
  place-items: center;
  background: rgba(250, 247, 242, 0.9);
  color: rgba(53, 47, 43, 0.58);
  content: "SC";
  font-family: Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.chapter-work::before {
  background:
    linear-gradient(90deg, rgba(53, 47, 43, 0.2) 1px, transparent 1px) 0 0 / 18px 100%,
    linear-gradient(0deg, rgba(53, 47, 43, 0.12) 1px, transparent 1px) 0 0 / 100% 18px,
    rgba(250, 247, 242, 0.92);
}

.chapter-teaching::before {
  display: grid;
  place-items: center;
  background:
    linear-gradient(0deg, transparent 0 13px, rgba(53, 47, 43, 0.13) 13px 14px, transparent 14px) 0 0 / 100% 18px,
    rgba(250, 247, 242, 0.92);
  color: rgba(53, 47, 43, 0.58);
  content: "LE";
  font-family: Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.scroll-chapter::after {
  position: absolute;
  right: 0;
  bottom: 26px;
  z-index: -1;
  color: rgba(53, 47, 43, 0.07);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(96px, 14vw, 220px);
  line-height: 0.8;
  pointer-events: none;
}

.chapter-about::after {
  content: "BZ";
}

.chapter-publishing::after {
  content: none;
}

.chapter-work::after {
  top: 112px;
  right: 18px;
  bottom: auto;
  content: "AKTEN";
  font-size: clamp(82px, 11vw, 172px);
}

.chapter-teaching::after {
  content: "LEHRE";
  font-family: Arial, sans-serif;
  font-size: clamp(72px, 10vw, 156px);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.scroll-chapter.is-visible {
  transform: scale(1);
  border-color: rgba(53, 47, 43, 0.34);
}

.scroll-chapter.is-visible::before {
  opacity: 0.78;
  transform: rotate(-6deg) scale(1.08);
}

.about-section.scroll-chapter,
.intro.scroll-chapter,
.panel-section.scroll-chapter {
  border-top: 1px solid rgba(53, 47, 43, 0.2);
  border-bottom: 1px solid rgba(53, 47, 43, 0.2);
}

.about-section.scroll-chapter.is-visible {
  background:
    linear-gradient(90deg, rgba(239, 227, 207, 0.52), rgba(250, 247, 242, 0)),
    var(--paper);
}

.intro.scroll-chapter.is-visible {
  background:
    linear-gradient(90deg, rgba(70, 89, 76, 0.12), rgba(250, 247, 242, 0)),
    var(--paper);
}

.panel-section.scroll-chapter.is-visible {
  background:
    linear-gradient(90deg, rgba(120, 65, 43, 0.1), rgba(250, 247, 242, 0)),
    var(--paper);
}

.panel-heading {
  position: relative;
}

.panel-heading::after {
  display: block;
  width: min(100%, 560px);
  height: 1px;
  margin-top: 28px;
  background:
    linear-gradient(90deg, rgba(53, 47, 43, 0.72), rgba(53, 47, 43, 0.08));
  content: "";
}

.panel-list {
  counter-reset: workpanel;
}

.intro-panel-list {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.intro-panel-list .info-panel {
  max-width: none;
}

.panel-list .info-panel {
  position: relative;
  transform: scale(0.986);
  transform-origin: center;
  transition:
    transform 420ms ease,
    border-color 420ms ease,
    box-shadow 420ms ease;
}

.panel-list .info-panel.is-visible,
.panel-list .info-panel:hover {
  transform: scale(1.012);
  border-color: rgba(53, 47, 43, 0.36);
}

.panel-list .info-panel summary::before {
  counter-increment: workpanel;
  content: "0" counter(workpanel);
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.68;
}

.panel-list .panel-book-series summary::before,

.panel-list .panel-exam summary::before,
.panel-list .panel-droning summary::before,
.panel-list .panel-gowanus summary::before {
  content: "\201d";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.intro-panel-list .panel-book-series summary::before {
  display: grid;
  place-items: center;
  background: rgba(250, 247, 242, 0.64);
  content: "SC";
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.panel-list .panel-research summary::before {
  content: "";
  background:
    linear-gradient(36deg, transparent 47%, currentColor 48% 51%, transparent 52%),
    linear-gradient(128deg, transparent 44%, currentColor 45% 47%, transparent 48%),
    linear-gradient(90deg, currentColor 0 2px, transparent 2px 19px, currentColor 19px 21px, transparent 21px),
    linear-gradient(0deg, currentColor 0 2px, transparent 2px 20px, currentColor 20px 22px, transparent 22px);
  background-size: 36px 36px;
  background-position: center;
  background-repeat: no-repeat;
}

.panel-list .panel-photography summary::before {
  content: "";
  background:
    linear-gradient(currentColor, currentColor) 12px 12px / 15px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 12px 12px / 1px 15px no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - 12px) 12px / 15px 1px no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - 12px) 12px / 1px 15px no-repeat,
    linear-gradient(currentColor, currentColor) 12px calc(100% - 12px) / 15px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 12px calc(100% - 12px) / 1px 15px no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - 12px) calc(100% - 12px) / 15px 1px no-repeat,
    linear-gradient(currentColor, currentColor) calc(100% - 12px) calc(100% - 12px) / 1px 15px no-repeat;
}

.panel-list .panel-sound summary::before {
  content: "";
  background:
    radial-gradient(ellipse at center, transparent 0 44%, currentColor 45% 48%, transparent 49%) center 10px / 18px 24px no-repeat,
    linear-gradient(currentColor, currentColor) center 30px / 2px 12px no-repeat,
    linear-gradient(currentColor, currentColor) center 41px / 18px 2px no-repeat;
}

.panel-list .info-panel:not([open]) summary {
  min-height: 280px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  overflow: hidden;
}

.panel-list .info-panel:not([open]) summary:hover {
  min-height: 310px;
}

.panel-list .info-panel:not([open]) summary span:first-of-type {
  position: relative;
  z-index: 1;
}

.panel-list .info-panel:not([open]) summary .panel-title {
  max-width: 760px;
  font-size: clamp(34px, 5vw, 74px);
  line-height: 0.94;
}


.panel-list .info-panel:not([open]) summary::after {
  align-self: start;
}

.panel-list .info-panel[open] summary::before {
  color: rgba(53, 47, 43, 0.64);
}

.panel-list .panel-photography[open] summary span:first-of-type {
  max-width: min(100%, 640px);
  justify-self: end;
  text-align: right;
}

.panel-body {
  position: relative;
}

.panel-body::before {
  width: 120px;
  height: 1px;
  background: rgba(53, 47, 43, 0.34);
  content: "";
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .language-switch {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .scroll-index {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    width: 100%;
    overflow-x: auto;
    padding: 0 12px 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }

  .scroll-index a {
    min-width: 138px;
    min-height: 62px;
    scroll-snap-align: start;
  }

  .scroll-index a:nth-child(2n),
  .scroll-index a:nth-child(3n) {
    transform: none;
  }

  .scroll-index a.is-active {
    transform: translateY(-7px) scale(1.08) rotate(0deg);
  }

  body.is-scrolled .scroll-index a.is-active {
    transform: translateY(-7px) scale(1.08) rotate(0deg);
  }

  .scroll-chapter::before {
    left: auto;
    right: 12px;
    top: 18px;
    width: 68px;
    height: 68px;
    background-size: 42px 42px;
  }
}

@media (max-width: 520px) {
  .scroll-index {
    width: 100%;
  }

  .scroll-index a {
    min-width: 126px;
    min-height: 58px;
    padding-right: 36px;
  }

  .scroll-index a::after {
    width: 24px;
    height: 24px;
  }

  .scroll-index strong {
    font-size: 16px;
  }

  .panel-list .info-panel:not([open]) summary {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 220px;
  }

  .panel-list .info-panel summary::before {
    display: none;
  }

  .panel-list .info-panel:not([open]) summary .panel-title {
    font-size: clamp(30px, 9vw, 48px);
  }
}

.audio-stage-feature {
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: 42px;
}

.audio-stage-feature::before {
  position: absolute;
  top: 34px;
  left: 0;
}

.audio-copy {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  padding-top: 74px;
}

.music-stage-shell {
  display: grid;
  grid-column: 2;
  grid-row: 1;
  gap: 0;
  min-width: 0;
}

.music-photo-stage {
  position: relative;
  min-height: 220px;
  aspect-ratio: 16 / 6.8;
  overflow: hidden;
  border-radius: 8px;
  background: #171311;
  isolation: isolate;
}

.music-photo-stage::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 0 50px rgba(0, 0, 0, 0.16),
    inset 0 -80px 90px rgba(21, 17, 15, 0.2);
  content: "";
  pointer-events: none;
}

.music-stage-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: musicStageFade 266s infinite;
  animation-delay: var(--stage-delay, 0s);
}

.music-stage-shell audio {
  display: block;
  width: 100%;
  margin-top: 4px;
}

.stage-note {
  max-width: 100%;
  color: rgba(53, 47, 43, 0.64);
  font-size: 14px;
  line-height: 1.5;
}

@keyframes musicStageFade {
  0% {
    opacity: 0;
    transform: scale(1.04) translateX(0);
  }

  0.8% {
    opacity: 1;
  }

  2.6% {
    opacity: 1;
  }

  3.4% {
    opacity: 0;
    transform: scale(1.12) translateX(-1.8%);
  }

  100% {
    opacity: 0;
    transform: scale(1.12) translateX(-1.8%);
  }
}

@media (max-width: 860px) {
  .audio-stage-feature {
    grid-template-columns: 1fr;
  }

  .audio-stage-feature::before {
    position: static;
    grid-column: 1;
    grid-row: 1;
  }

  .audio-copy,
  .music-stage-shell {
    grid-column: 1;
    grid-row: auto;
  }

  .audio-copy {
    padding-top: 0;
  }

  .music-photo-stage {
    min-height: 200px;
  }
}

@media (max-width: 520px) {
  .music-photo-stage {
    min-height: 180px;
    aspect-ratio: 4 / 3.4;
  }
}

/* Mobile menu; the desktop navigation above 860px remains unchanged. */
.menu-toggle {
  display: none;
}

@media (max-width: 860px) {
  .header-inner {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .menu-toggle {
    display: inline-grid;
    grid-column: 2;
    grid-row: 1;
    width: 42px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(53, 47, 43, 0.24);
    border-radius: 2px;
    background: rgba(250, 247, 242, 0.72);
    color: var(--ink);
    cursor: pointer;
  }

  .menu-toggle:hover,
  .menu-toggle:focus-visible,
  .menu-toggle[aria-expanded="true"] {
    border-color: rgba(53, 47, 43, 0.52);
    background: rgba(239, 227, 207, 0.92);
  }

  .menu-toggle:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
  }

  .menu-toggle-icon,
  .menu-toggle-icon::before,
  .menu-toggle-icon::after {
    width: 20px;
    height: 2px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle-icon {
    position: relative;
  }

  .menu-toggle-icon::before,
  .menu-toggle-icon::after {
    position: absolute;
    left: 0;
  }

  .menu-toggle-icon::before {
    top: -6px;
  }

  .menu-toggle-icon::after {
    top: 6px;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon {
    background: transparent;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .language-switch {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .desktop-nav,
  .scroll-index {
    position: absolute;
    top: calc(100% + 1px);
    right: -12px;
    left: -12px;
    display: grid;
    grid-column: auto;
    grid-row: auto;
    width: auto;
    max-height: calc(100vh - 76px);
    overflow-x: hidden;
    overflow-y: auto;
    gap: 3px;
    margin: 0;
    padding: 12px;
    border-bottom: 1px solid rgba(53, 47, 43, 0.24);
    background: rgba(242, 238, 232, 0.985);
    box-shadow: 0 18px 28px rgba(53, 47, 43, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .desktop-nav.is-open,
  .scroll-index.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .desktop-nav a,
  .scroll-index a {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    flex: none;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0;
    padding: 11px 14px;
    border: 0;
    border-bottom: 1px solid rgba(53, 47, 43, 0.13);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ink);
    opacity: 1;
    text-decoration: none;
    transform: none !important;
  }

  .desktop-nav a:last-child,
  .scroll-index a:last-child {
    border-bottom: 0;
  }

  .desktop-nav a:hover,
  .desktop-nav a:focus-visible,
  .scroll-index a:hover,
  .scroll-index a:focus-visible,
  .scroll-index a.is-active {
    background: rgba(239, 227, 207, 0.8);
    box-shadow: none;
    transform: none !important;
  }

  .scroll-index a::after {
    display: none !important;
  }

  .scroll-index span {
    min-width: 24px;
  }

  .scroll-index strong {
    font-size: 18px;
  }

  body.menu-open {
    overflow: hidden;
  }
}
