:root {
  color-scheme: light;
  --bg: #fff;
  --heading: #202020;
  --text: #3a3a3a;
  --muted: #44444b;
  --line: #e7e7eb;
  --soft: #f5f5f7;
  --accent: #155a50;
  --spotlight: light-dark(rgb(57 171 141 / 39%), rgb(48 188 150 / 37%));
  --spotlight-underlay: light-dark(rgb(100 157 204 / 32%), rgb(68 130 201 / 27%));
  --art-base: #e9f5f1;
  --art-light: #a6ddd0;
  --art-halo: #d4e8fa;
  --art-ink: #347e74;
  --art-label: #255d58;
  --art-line: rgb(37 93 88 / 20%);
  --sans: Inter, system-ui, sans-serif;
  --body: "Söhne", Sohne, Inter, system-ui, sans-serif;
  --serif: Newsreader, Georgia, serif;
}

:root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: #1a1a1a;
  --heading: #f5f4f7;
  --text: #ededed;
  --muted: #dedbe2;
  --line: #38373b;
  --soft: #242326;
  --accent: #a6ead6;
  --art-base: #192a2a;
  --art-light: #22685c;
  --art-halo: #213a56;
  --art-ink: #9edcca;
  --art-label: #d3f1e9;
  --art-line: rgb(211 241 233 / 23%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  isolation: isolate;
  color: var(--text);
  background: var(--bg);
  font: 400 1rem / 1.7 var(--body);
}
.site-spotlight {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .42;
  background-image: radial-gradient(ellipse at 18% 90%, var(--spotlight-underlay), transparent 64%);
}
.site-spotlight::before {
  position: absolute;
  top: 0;
  left: 0;
  width: clamp(52rem, 126vw, 110rem);
  aspect-ratio: 1;
  background-image: radial-gradient(circle closest-side, var(--spotlight), transparent 82%);
  transform: translate3d(
    calc(var(--spotlight-x, 68vw) - 50%),
    calc(var(--spotlight-y, 25vh) - 50%),
    0
  );
  content: '';
}
body:has(.hero) .site-spotlight { opacity: .68; }
.quiet-page .site-spotlight { opacity: .14; }
.site-spotlight[data-palette] { opacity: 1; }
[data-palette="sunset"] {
  --spotlight: light-dark(rgb(230 131 95 / 44%), rgb(220 103 64 / 40%));
  --spotlight-underlay: light-dark(rgb(137 176 154 / 30%), rgb(104 164 138 / 24%));
}
[data-palette="purple"] {
  --spotlight: light-dark(rgb(159 101 226 / 42%), rgb(159 99 246 / 43%));
  --spotlight-underlay: light-dark(rgb(109 154 217 / 31%), rgb(79 122 211 / 25%));
}
[data-palette="orange"] {
  --spotlight: light-dark(rgb(250 142 48 / 46%), rgb(250 118 32 / 41%));
  --spotlight-underlay: light-dark(rgb(223 119 103 / 28%), rgb(193 78 115 / 25%));
}
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, p, figure { margin: 0; }
h1, h2, .entry-title { color: var(--heading); font-family: var(--sans); }
h1 { font-weight: 550; letter-spacing: -.065em; line-height: 1.02; }
h2 { font-weight: 600; letter-spacing: -.04em; line-height: 1.2; }
.wrap { width: min(100% - 4rem, 64rem); margin-inline: auto; }
main { scroll-margin-top: 7rem; }

.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 3;
  inset: 1rem auto auto 1rem;
  padding: .75rem;
  background: var(--bg);
}

.site-header {
  position: sticky;
  z-index: 2;
  top: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  min-height: 4.5rem;
  gap: 1rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  justify-self: start;
  color: var(--heading);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -.025em;
}
.wordmark span {
  display: grid;
  place-items: center;
  width: 1.8rem;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: var(--soft);
  font: italic 1.15rem / 1 var(--serif);
}
.header-inner nav { display: flex; justify-content: flex-end; gap: .25rem; }
.header-inner nav a {
  position: relative;
  padding: .38rem .72rem;
  color: var(--muted);
  border-radius: .4rem;
  text-decoration: none;
  font-size: .875rem;
}
.header-inner nav a:hover {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  color: var(--accent);
}
.header-inner nav [aria-current] {
  color: var(--accent);
  font-weight: 600;
}
.header-inner nav [aria-current]::after {
  position: absolute;
  inset: auto 0 .12rem;
  width: 1.15rem;
  height: 2px;
  margin-inline: auto;
  border-radius: 1px;
  background: currentColor;
  content: '';
}
.theme-control:not([hidden]) {
  position: relative;
  display: flex;
  align-items: center;
  justify-self: end;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: .45rem;
}
.theme-control::after {
  position: absolute;
  right: .7rem;
  width: .35rem;
  height: .35rem;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
  content: '';
}
.theme-icon {
  position: absolute;
  left: .65rem;
  width: .85rem;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
  pointer-events: none;
}
#theme {
  appearance: none;
  background: transparent;
  border: none;
  border-radius: inherit;
  padding: .48rem 1.5rem .48rem 1.9rem;
  color: inherit;
  cursor: pointer;
  font: 400 .875rem var(--sans);
}

.hero {
  scroll-margin-top: 5rem;
  padding-block: clamp(3rem, 6.5vw, 5.75rem) clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  grid-template-areas: "profile statement";
  gap: 1rem clamp(2.5rem, 7vw, 6.5rem);
}
.hero-profile { grid-area: profile; }
.hero-statement { grid-area: statement; align-self: center; }
.hero-identity {
  display: grid;
  justify-items: start;
  gap: .15rem;
  margin-top: 1rem;
}
.hero-identity > p { color: var(--heading); font-size: 1.15rem; font-weight: 650; }
.social-profiles {
  display: flex;
  gap: .28rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-profiles li > :is(a, span) {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  color: var(--accent);
  border-radius: .35rem;
}
.social-profiles a:hover { background: var(--soft); }
.social-profiles svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero h1 { font-size: clamp(3.5rem, 6.35vw, 6rem); }
.hero h1 em {
  display: inline-block;
  color: var(--accent);
  font: italic 400 1.06em / .99 var(--serif);
  letter-spacing: -.07em;
}
.intro {
  max-width: 32ch;
  margin-top: 1.45rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.125rem);
}
.primary-link {
  display: inline-block;
  padding: .54rem .85rem;
  color: light-dark(#fff, #102b25);
  border: 1px solid var(--accent);
  border-radius: .45rem;
  background: var(--accent);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 550;
}
.primary-link:hover { text-decoration: underline; }
.current-work { margin-top: .25rem; color: var(--muted); font-size: .875rem; }
.current-work a { margin-inline: .2rem; color: var(--accent); font-weight: 600; }

.home-section {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  gap: .65rem clamp(2.5rem, 7vw, 6.5rem);
  align-items: start;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 8rem;
}
.home-section-heading { display: grid; gap: .2rem; }
.home-section-heading h2 { font-size: 1.125rem; }
.bio-copy { max-width: 56ch; }
.activity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.activity-item {
  display: grid;
  align-content: start;
  gap: .2rem;
  padding: .5rem .7rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  line-height: 1.35;
}
.activity-label { display: flex; align-items: center; gap: .35rem; color: var(--accent); font-size: .8125rem; }
.activity-label svg {
  flex: 0 0 1.1rem;
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.activity-item > strong { color: var(--heading); font-size: .875rem; font-weight: 600; }
.activity-item > span { color: var(--muted); font-size: .8125rem; }

.artwork {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: end;
  aspect-ratio: 1.22;
  border: 1px solid var(--art-line);
  border-radius: .9rem;
  background:
    radial-gradient(ellipse at 64% 34%, var(--art-light), transparent 64%),
    radial-gradient(ellipse at 10% 92%, var(--art-halo), transparent 65%),
    var(--art-base);
}
.artwork::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: '';
  background-image:
    linear-gradient(var(--art-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--art-line) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 52% 46%, #000 8%, transparent 80%);
  opacity: .5;
}
.artwork canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-caption {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 1.2rem;
  padding-block: .72rem;
  border-top: 1px solid var(--art-line);
  color: var(--art-label);
  font: 500 .78rem / 1.5 var(--sans);
}

.back-link { color: var(--muted); font-size: .875rem; }
.section-note { color: var(--muted); font-size: .8125rem; }
p.section-note { margin-block: .35rem .75rem; }

.entry-list { margin: 0; padding: 0; list-style: none; }
.entry-list li { border-top: 1px solid var(--line); }
.entry-list li:last-child { border-bottom: 1px solid var(--line); }
.entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 6.4rem;
  padding: .85rem 0;
  text-decoration: none;
}
.entry.with-thumbnail { grid-template-columns: 6rem minmax(0, 1fr) auto; }
.entry:hover .entry-title { text-decoration: underline; color: var(--accent); }
.entry-copy { display: grid; gap: .2rem; }
.entry-title { font-weight: 600; letter-spacing: -.025em; }
.entry-summary, .entry-category { color: var(--muted); }
.entry-summary { font-size: .9375rem; line-height: 1.55; }
.entry-category { font-size: .8125rem; text-align: right; }
.thumbnail {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.55;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: .4rem;
  color: var(--art-ink);
  background: var(--art-base);
}
.thumbnail.atmosphere { background: radial-gradient(ellipse at 60% 25%, var(--art-light), var(--art-base)); }
.thumbnail.atmosphere i {
  position: absolute;
  width: 55%;
  height: 47%;
  border: 1px solid currentColor;
  border-radius: 44% 56% 63% 37%;
  transform: rotate(-24deg) scale(.7);
  opacity: .7;
}
.thumbnail.atmosphere i:nth-child(2) { transform: rotate(-24deg); }
.thumbnail.atmosphere i:nth-child(3) { transform: rotate(-24deg) scale(1.3); }
.thumbnail.reading-room {
  background: var(--soft);
  grid-auto-rows: 2px;
  align-content: center;
  gap: 5px;
}
.thumbnail.reading-room i { width: 42%; border-top: 1px solid currentColor; }
.thumbnail.reading-room i:first-child { width: 28%; border-width: 2px; }

.index-page { max-width: 53rem; }
.reading-page { max-width: 41rem; }
.index-page, .reading-page { min-height: 64vh; }
.page-intro { padding-block: clamp(3.5rem, 8vw, 6rem) 2.5rem; }
.page-intro h1 { font-size: clamp(3rem, 7vw, 5.25rem); }
.page-intro .intro { max-width: 50ch; }
.back-link { display: inline-block; margin-bottom: 1.5rem; }
.prose + .prose, .reading-page .artwork + .prose { margin-top: 2rem; }
.prose h2 { font-size: 1.375rem; margin-bottom: .6rem; }
.index-section { scroll-margin-top: 9rem; }
.index-section + .index-section { margin-top: 2.75rem; }
.index-section > h2 { margin-bottom: .65rem; }
.record-list { margin: 0; padding: 0; list-style: none; }
.record {
  padding-block: 1rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 9rem;
}
.record:last-child { border-bottom: 1px solid var(--line); }
.record:target h3 { color: var(--accent); }
.record h3 { margin: 0 0 .2rem; color: var(--heading); font-size: 1rem; }
.record p { color: var(--muted); font-size: .9375rem; }
.event-counts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 27rem;
  gap: .65rem;
  margin: 0 0 2rem;
}
.event-counts > div {
  padding: .65rem .85rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
}
.event-counts dd { margin: 0; color: var(--accent); font-size: 1.85rem; font-weight: 600; }
.event-record { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; }
.event-record .event-meta { font-size: .8125rem; }
.about-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 19rem);
  grid-template-areas: "intro portrait" "details portrait";
  grid-template-rows: auto 1fr;
  gap: 2.5rem clamp(2rem, 6vw, 6rem);
  align-items: start;
  max-width: 53rem;
  min-height: 64vh;
  padding-top: clamp(3.5rem, 8vw, 6rem);
}
.about-page .page-intro { grid-area: intro; padding: 0; }
.about-details { grid-area: details; }
.palette-picker {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.6rem;
}
.palette-picker a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .55rem;
  border: 1px solid var(--line);
  border-radius: .45rem;
  background: var(--bg);
  color: var(--muted);
  font-size: .875rem;
  text-decoration: none;
}
.palette-picker a::before {
  width: .8rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--spotlight), var(--spotlight-underlay));
  content: '';
}
.palette-picker a:hover, .palette-picker [aria-current] {
  border-color: var(--muted);
  color: var(--heading);
}
.about-link { margin-top: 2rem; }
.portrait {
  width: min(100%, 19rem);
}
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .55rem;
}
.hero .portrait { width: min(100%, 20rem); }
.about-page .portrait { grid-area: portrait; }
.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4.5rem;
  padding-block: 1.2rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .875rem;
}
.footer-divider { opacity: .55; margin-inline: .15rem; }

@media (max-width: 47rem) {
  .header-inner { grid-template-columns: 1fr auto; gap: .4rem; padding-block: .7rem .5rem; }
  .header-inner nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; }
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas: "statement" "profile";
    gap: 1.65rem;
    padding-block: 2.5rem;
  }
  .hero h1 { font-size: clamp(3.4rem, 11vw, 5.4rem); }
  .artwork { max-width: 35rem; }
  .home-section { grid-template-columns: 1fr; }
  .home-section-heading { display: flex; align-items: baseline; gap: .55rem; }
}

@media (max-width: 42rem) {
  .about-page {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "portrait" "details";
    grid-template-rows: auto;
    gap: 2rem;
  }
}

@media (max-width: 36rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner nav { gap: .05rem; }
  .header-inner nav a { padding-inline: .36rem; }
  .hero { scroll-margin-top: 8rem; }
  .entry.with-thumbnail { grid-template-columns: 4rem minmax(0, 1fr); gap: .35rem .75rem; }
  .entry { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .entry-category { grid-column: -2; text-align: left; }
  .entry-summary { font-size: .875rem; }
  .footer { margin-top: 3.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
