:root {
  color-scheme: light;
  --bg: #fff;
  --surface: #f5f7fa;
  --ink: #14171c;
  --muted: #4a5565;
  --line: #dce2ea;
  --accent: #0b5fd1;
  --on-accent: #fff;
  --radius: .55rem;
  --s1: .5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: clamp(3rem, 8vw, 6rem);
  --body: clamp(1rem, .96rem + .2vw, 1.125rem);
  --heading: clamp(1.7rem, 1.2rem + 2vw, 2.5rem);
  --display: clamp(2.6rem, 1.45rem + 5.2vw, 5.5rem);
  --header: 6.25rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: var(--body)/1.65 system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
p, h1, h2, h3, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
h1 { font-size: var(--display); letter-spacing: -.065em; max-width: 16ch; }
h2 { font-size: var(--heading); letter-spacing: -.04em; margin-bottom: var(--s3); }
h3 { font-size: 1.13rem; }
p { color: var(--muted); }
.shell { width: min(100% - 2 * var(--s3), 84rem); margin-inline: auto; }
.prose { max-width: 50rem; }
.skip { position: fixed; z-index: 3; left: var(--s2); top: var(--s2); transform: translateY(-200%); background: var(--bg); padding: var(--s1) var(--s2); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 2; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); min-height: var(--header); }
.mark { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; background: var(--surface); border-radius: var(--radius); font-weight: 750; text-decoration: none; }
nav { display: flex; gap: .2rem; overflow-x: auto; padding: .35rem; }
nav a { flex: none; padding: .4rem .55rem; border-radius: .3rem; color: var(--muted); font-size: .9rem; text-decoration: none; }
nav a:hover, nav a[aria-current] { background: var(--surface); color: var(--accent); }
main, section[id] { scroll-margin-top: calc(var(--header) + 1.25rem); }
section { padding-block: var(--s5); border-bottom: 1px solid var(--line); }
.hero { padding-top: clamp(3rem, 8vw, 6rem); text-align: center; }
.hero h1, .hero .intro { margin-inline: auto; }
.hero .actions { justify-content: center; }
.identity { margin-bottom: var(--s3); color: var(--accent); font-weight: 650; }
.identity span { color: var(--muted); font-weight: 450; }
.intro { margin-top: var(--s3); max-width: 44rem; font-size: clamp(1rem, .95rem + .35vw, 1.2rem); }
.actions { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s3); }
.button { display: inline-flex; gap: .6rem; align-items: center; min-height: 2.75rem; padding: .5rem .95rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-size: .95rem; font-weight: 650; text-decoration: none; }
.button:hover { border-color: var(--accent); text-decoration: underline; }
.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.timeline { list-style: none; padding: 0 0 0 var(--s3); }
.timeline li { border-left: 1px solid var(--line); padding: 0 0 var(--s4) var(--s3); position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -.25rem; top: .55rem; width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent); }
.period { font-size: .86rem; font-weight: 650; color: var(--accent); margin-bottom: .35rem; }
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: var(--s2); }
.card { display: grid; align-content: start; gap: .75rem; padding: var(--s3); border: 1px solid var(--line); border-radius: var(--radius); }
.card > a { justify-self: start; font-size: .92rem; font-weight: 650; }
.tags { list-style: none; padding: 0; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { border-radius: .3rem; padding: .18rem .5rem; background: var(--surface); color: var(--muted); font-size: .83rem; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s2); padding-block: var(--s3); font-size: .88rem; }
.footer small { font-size: inherit; color: var(--muted); }
.footer div { display: flex; gap: var(--s2); }
.legal h1 { font-size: var(--heading); }
.legal h2 { font-size: 1.25rem; margin: var(--s4) 0 var(--s1); }
.legal p { margin-top: var(--s2); }
@media (min-width: 45rem) {
  .hero h1 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Portfolio refinements */
.bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem var(--s1); align-content: center; }
.bar nav { grid-row: 2; grid-column: 1 / -1; }
.mark { display: inline-flex; gap: .45rem; width: fit-content; height: auto; min-height: 2.4rem; background: transparent; color: var(--ink); font-size: .95rem; }
.mark:hover .building { transform: translateY(-2px); }
.language { grid-row: 1; grid-column: 2; display: flex; align-items: center; color: var(--muted); font-size: .85rem; }
.language button { background: transparent; color: var(--muted); border: 0; border-radius: .3rem; padding: .35rem; min-height: 2.1rem; cursor: pointer; font: inherit; }
.language button[aria-pressed="true"] { color: var(--accent); font-weight: 750; }
.language button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bar > a + a { grid-row: 2; grid-column: 1 / -1; width: fit-content; }
nav a { position: relative; }
nav a::after { content: ""; position: absolute; inset: auto .55rem .1rem; height: 2px; background: currentColor; transform: scaleX(0); transition: transform 180ms ease; }
nav a[aria-current]::after { transform: scaleX(1); }
.hero h1 { animation: enter 500ms both; }
.hero h1 > span + span { color: var(--accent); }
.portrait { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }

.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; top: .55rem; bottom: 0; left: var(--s3); width: 1px; background: var(--accent); transform: scaleY(var(--timeline-progress, 0)); transform-origin: top; }
.timeline li { border-left: 0; }
.in-view { animation: enter 390ms both; }
.timeline li:nth-child(even).in-view, .card:nth-child(even).in-view { animation-delay: 55ms; }
.card { position: relative; transition: border-color 170ms, translate 170ms; }
.card:hover, .card:focus-within { border-color: var(--accent); translate: 0 -3px; }
.card > a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.tags li, .footer-links a { display: inline-flex; align-items: center; gap: .35rem; }
.tags li { transition: scale 150ms ease; }
.tags li:hover { scale: 1.04; }
.tags img, .footer-links img { opacity: .8; }
.footer-links { width: 100%; list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s2); }
@media (min-width: 62rem) {
  :root { --header: 4.25rem; }
  .bar { grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s2); }
  .bar nav, .bar > a + a { grid-row: 1; grid-column: 2; justify-self: end; }
  .language { grid-column: 3; }

}
@keyframes enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1, .in-view { animation: none; }
  nav a::after, .card, .tags li { transition: none; }
  .card:hover, .card:focus-within { translate: none; }
  .tags li:hover { scale: none; }
  .timeline::before { transform: none; }
}

#interests p + p { margin-top: var(--s2); }


.developer-mark {
  flex: none;
  padding: .3rem;
  width: 2rem;
  height: 2rem;
  border-radius: .45rem;
  background: var(--accent);
  color: var(--on-accent);
}
.hero .identity { display: inline-flex; align-items: center; gap: .45rem; }
.hero .identity svg { width: 1rem; height: 1rem; }
.hero h1 { max-width: 22ch; font-size: clamp(2.4rem, 1.65rem + 4vw, 4.65rem); }
.hero .intro { max-width: 43rem; }
.portrait-frame {
  width: min(16.8rem, 78vw);
  margin: var(--s4) auto 0;
  padding: .4rem;
  border: 2px solid #0b5fd1;
  border-radius: 50%;
  box-shadow: 0 .75rem 2rem rgba(20, 23, 28, .12);
}
.employer, .school { display: flex; align-items: center; gap: .75rem; }
.employer img, .school img { flex: none; object-fit: contain; border-radius: var(--radius); border: 1px solid var(--line); }
.employer { margin-bottom: var(--s3); }
.timeline + .employer { margin-top: var(--s4); }
.timeline h3 { margin-bottom: .35rem; }
#education h2 { display: flex; align-items: center; gap: .65rem; }
#education h2 svg { color: var(--accent); width: 1.6rem; height: 1.6rem; }
.education-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 25rem), 1fr)); gap: var(--s2); margin-bottom: var(--s3); }
.education-card { display: grid; align-content: start; gap: .8rem; border: 1px solid var(--line); border-radius: .85rem; padding: var(--s3); }
.education-card:focus-within, .education-card:hover { border-color: var(--accent); }
.school p:first-child { font-weight: 650; color: var(--ink); }
.school .period { margin: 0; }
.education-card details { border-top: 1px solid var(--line); margin-top: .2rem; }
.education-card summary { display: flex; justify-content: space-between; align-items: center; gap: .5rem; cursor: pointer; color: var(--accent); font-weight: 650; padding: .75rem 0 .15rem; }
.education-card summary::-webkit-details-marker { display: none; }
.education-card summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.education-card details[open] summary svg { transform: rotate(180deg); }
.education-card details p { margin: .45rem 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .developer-mark, .education-card { transition: transform 180ms ease, border-color 180ms ease; }
  .mark:hover .developer-mark { transform: translateY(-2px); }
  .education-card:hover { transform: translateY(-2px); }
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: var(--s2);
}
.event-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: .85rem;
  overflow: hidden;
}
.event-card:focus-within, .event-card:hover { border-color: var(--accent); }
.event-art {
  display: grid;
  place-items: center;
  min-height: 7rem;
  border-bottom: 1px solid var(--line);
}
.event-art--start { background: #e8f4ec; color: #235d46; }
.event-art--make { background: #f0ebff; color: #59419e; }
.event-art--tum { background: #eaf3ff; color: #24599e; }
.event-copy {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: .55rem;
  padding: var(--s3);
}
.event-copy .period { margin: 0; }
.event-copy a { justify-self: start; }

.header-tools {
  display: flex;
  grid-row: 1;
  grid-column: 2;
  align-items: center;
  justify-content: flex-end;
  gap: .4rem;
}
.header-cv {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  min-height: 2.25rem;
  padding-inline: .5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: .82rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}
.header-cv:hover { border-color: var(--accent); background: var(--surface); }
.portfolio-bar { width: min(100% - 2 * var(--s3), 90rem); }
.portfolio-bar nav { min-width: 0; max-width: 100%; }
.section-subgroup { margin-top: clamp(2rem, 5vw, 3.5rem); scroll-margin-top: calc(var(--header) + 1.25rem); }
.section-subgroup > h3 { margin-bottom: var(--s2); font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
.section-subgroup h4 { margin: 0; font-size: 1.08rem; line-height: 1.25; }
.account-rail {
  position: fixed;
  z-index: 3;
  right: max(.6rem, env(safe-area-inset-right));
  bottom: max(.6rem, env(safe-area-inset-bottom));
  display: flex;
  gap: .15rem;
  padding: .2rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--bg);
  box-shadow: 0 .25rem 1rem #14171c15;
}
.account-rail a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: .5rem;
}
.account-rail a:hover { background: var(--surface); }
.account-rail a img, .account-rail a svg { width: 1.15rem; height: 1.15rem; }
body:has(.account-rail) .footer { padding-bottom: 4.5rem; }
@media (min-width: 62rem) and (max-width: 81.999rem) {
  :root:has(.portfolio-bar) { --header: 6.25rem; }
  .portfolio-bar { grid-template-columns: minmax(0, 1fr) auto; gap: .15rem var(--s1); }
  .portfolio-bar nav { grid-row: 2; grid-column: 1 / -1; justify-self: stretch; }
}
@media (min-width: 82rem) {
  :root:has(.portfolio-bar) { --header: 5rem; }
  .portfolio-bar .header-tools { grid-column: 3; }
  .portfolio-bar nav { justify-self: center; }
}
@media (min-width: 78rem) {
  .account-rail { top: 50%; bottom: auto; right: 1.25rem; transform: translateY(-50%); flex-direction: column; }
  body:has(.account-rail) main.shell,
  body:has(.account-rail) .footer { width: min(100% - 10rem, 84rem); }
  body:has(.account-rail) .footer { padding-bottom: var(--s3); }
}
@media (max-width: 22.5rem) {
  .header-cv span { display: none; }
  .header-cv { min-width: 2.25rem; justify-content: center; }
}

.about-copy p + p { margin-top: var(--s2); }
.language-group > h4 { margin: 0 0 .75rem; font-size: 1.15rem; }
.language-group + .language-group, .native-languages { margin-top: var(--s3); }
.language-group h5 { margin: 0; font-size: 1.05rem; line-height: 1.35; }
.certificate-links a { display: inline-block; padding: .15rem .25rem; }
.publication-card > a { justify-self: start; font-weight: 650; }

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000;
  --surface: #15181e;
  --ink: #f1f5fb;
  --muted: #b7c1d0;
  --line: #303946;
  --accent: #88b9ff;
  --on-accent: #071524;
}
:root[data-theme="dark"] .developer-mark { background: #0b5fd1; color: #fff; }
:root[data-theme="dark"] .school img,
:root[data-theme="dark"] .employer img { background: #fff; }
:root[data-theme="dark"] img[src="assets/icons/github.svg"] { filter: invert(1); }
:root[data-theme="dark"] .event-art--start { background: #11251b; color: #8bcfa8; }
:root[data-theme="dark"] .event-art--make { background: #211b36; color: #c1a8ff; }
:root[data-theme="dark"] .event-art--tum { background: #152338; color: #99c4ff; }

.theme-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}
.theme-toggle:hover { border-color: var(--accent); background: var(--surface); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-toggle[hidden], .theme-toggle .theme-sun,
.theme-toggle[aria-pressed="true"] .theme-moon { display: none; }
.theme-toggle[aria-pressed="true"] .theme-sun { display: block; }

@media (min-width: 62rem) {
  .bar:not(.portfolio-bar) .header-tools { grid-column: 3; }
}
@media (max-width: 24rem) {
  .header-cv span { display: none; }
  .header-cv { min-width: 2.25rem; justify-content: center; }
}
@media (min-width: 82rem) and (max-width: 87rem) {
  .portfolio-bar nav a { padding-inline: .45rem; }
}

.tone-blue { --tint: #eaf3ff; --tint-ink: #24599e; }
.tone-purple { --tint: #f0ebff; --tint-ink: #59419e; }
.tone-teal { --tint: #e8f4ec; --tint-ink: #235d46; }
.tone-amber { --tint: #fcf1de; --tint-ink: #825416; }
.tone-rose { --tint: #fcebf0; --tint-ink: #943d5b; }
:root[data-theme="dark"] .tone-blue { --tint: #152338; --tint-ink: #99c4ff; }
:root[data-theme="dark"] .tone-purple { --tint: #211b36; --tint-ink: #c1a8ff; }
:root[data-theme="dark"] .tone-teal { --tint: #11251b; --tint-ink: #8bcfa8; }
:root[data-theme="dark"] .tone-amber { --tint: #2b2113; --tint-ink: #e7bb78; }
:root[data-theme="dark"] .tone-rose { --tint: #2c1721; --tint-ink: #f4a8c3; }
.illustrated-heading { display: flex; align-items: center; gap: .65rem; }
.section-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: .65rem;
  color: var(--tint-ink);
  background: var(--tint);
}
.language-group .tags li { color: var(--tint-ink); background: var(--tint); }
#languages .language-group > h3 { margin: 0 0 .75rem; font-size: 1.2rem; }
#languages .language-group h4 { margin: 0; font-size: 1.08rem; line-height: 1.35; }
#languages .education-card { border-top: 3px solid var(--tint); }
#languages .certificate-links a { color: var(--tint-ink); }
.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: var(--s2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.interest-card {
  display: grid;
  align-content: start;
  gap: .85rem;
  min-height: 7rem;
  padding: var(--s2);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: .85rem;
  font-size: .95rem;
  font-weight: 650;
}
.interest-card .section-icon { width: 2.75rem; height: 2.75rem; }
@media (min-width: 82rem) and (max-width: 87.999rem) {
  :root:has(.portfolio-bar) { --header: 6.25rem; }
  .portfolio-bar { grid-template-columns: minmax(0, 1fr) auto; gap: .15rem var(--s1); }
  .portfolio-bar nav { grid-row: 2; grid-column: 1 / -1; justify-self: stretch; }
  .portfolio-bar .header-tools { grid-column: 2; }
}

.project-motto { margin-top: var(--s3); }

.project-motto code {
  display: inline-block;
  max-width: 100%;
  padding: .5rem .75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: .85em;
}

.record-player {
  max-width: 62rem;
  margin-top: var(--s4);
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}
.record-player h3 { margin-bottom: .85rem; font-size: 1.35rem; }
.record-picker { min-width: 0; margin: 0; padding: 0; border: 0; }
.record-legend { padding: 0; margin-bottom: .45rem; color: var(--muted); font-size: .85rem; }
.record-picker > input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  clip-path: inset(50%);
}
.record-picker > label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.3rem;
  margin: 0 .25rem .4rem 0;
  padding: .3rem .6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font-size: .87rem;
  cursor: pointer;
}
.record-picker > label > span:first-child { font: 700 .8rem/1 ui-monospace, monospace; }
.record-picker > input:checked + label { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.record-picker > input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 3px; }
.record-sides {
  display: grid;
  grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 2rem);
  margin-top: .75rem;
}
.record-sides h4 { margin: 0 0 .75rem; font-size: 1.05rem; }
.record-sides .tags li { background: var(--bg); border: 1px solid var(--line); }
.vinyl {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid #444d5c;
  border-radius: 50%;
  background: conic-gradient(from 64deg, #12151b, #363c49 17%, #151820 33%, #11141a 52%, #363c49 67%, #151820 85%, #12151b);
}
.vinyl::before {
  content: "";
  position: absolute;
  inset: .6rem;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 4px, #ffffff1f 4px 5px);
}
.vinyl-label {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 39%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e7ae65;
  color: #28190b;
  font: 700 1rem/1 ui-monospace, monospace;
}
#record-classical:checked ~ .record-sides .vinyl-label { background: #b6c8fe; color: #17244e; }
#record-rock:checked ~ .record-sides .record-classical,
#record-rock:checked ~ .record-sides .vinyl-b,
#record-classical:checked ~ .record-sides .record-rock,
#record-classical:checked ~ .record-sides .vinyl-a { display: none; }
@media (max-width: 35rem) {
  .record-sides { grid-template-columns: 1fr; }
  .vinyl { width: 6rem; }
}

.hero-tagline {
  position: relative;
  margin: .85rem auto 0;
  max-width: 100%;
  color: var(--accent);
  font: 600 clamp(.92rem, 2.2vw, 1.18rem)/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
  text-wrap: balance;
}
.intro-typing { display: none; }
.hero-tagline.is-typing .intro-text { opacity: 0; }
.hero-tagline.is-typing .intro-typing { display: block; position: absolute; inset: 0; }
.hero-tagline.is-typing .intro-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-inline-start: .12em;
  vertical-align: -.1em;
  background: var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .hero .intro { animation: hero-intro-fade-in .85s ease-out .25s both; }

  @keyframes hero-intro-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

.record-classical .tags { margin-top: .75rem; }

.screen-list {
  max-width: 62rem;
  margin-top: var(--s4);
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}
.screen-list h3 { margin-bottom: .3rem; font-size: 1.35rem; }
.screen-note { margin: 0 0 var(--s2); color: var(--muted); font-size: .88rem; }
.screen-favourites {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.screen-favourites li {
  --film-stock: #242a34;
  position: relative;
  display: grid;
  align-content: center;
  gap: .25rem;
  min-height: 7rem;
  padding: .8rem;
  border: solid var(--film-stock);
  border-width: 1rem .3rem;
  border-radius: .5rem;
  background: var(--tint);
  color: var(--tint-ink);
}

.screen-favourites li::before,
.screen-favourites li::after {
  content: "";
  position: absolute;
  inset-inline: .35rem;
  height: .3rem;
  background: repeating-linear-gradient(90deg, #c0c6d0 0 .45rem, transparent .45rem .8rem);
}

.screen-favourites li::before { top: -.65rem; }
.screen-favourites li::after { bottom: -.65rem; }
.screen-favourites li strong { font-size: .82rem; font-weight: 600; }
.screen-favourites li span { font-size: 1.06rem; font-weight: 700; }
