@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root {
  --smile-cursor: url('smile.svg');
  --paper: #e9e9e2;
  --ink: #1b1c1a;
  --accent: #132a9b
}
* {
  box-sizing: border-box
}
html {
  scroll-behavior: smooth
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif
}
button, a {
  -webkit-tap-highlight-color: transparent
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer
}
a {
  color: inherit;
  text-decoration: none
}
button {
  border: 0;
  background: none
}
button:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px
}
header {
  padding: 25px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #bdbeb6
}
.brand {
  font: 700 48px 'Space Grotesk', sans-serif;
  letter-spacing: -5px;
  display: flex;
  align-items: center;
  gap: 24px
}
.brand span {
  font: 600 12px/1.4 'DM Sans', sans-serif;
  letter-spacing: .02em
}
nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px
}
nav button {
  padding: 8px 0
}
sup {
  font-size: 10px
}
.asterisk {
  color: var(--accent);
  font-size: 22px;
  margin-left: 8px
}
.intro {
  padding: 54px 8% 50px;
  position: relative;
  min-height: 390px
}
.eyebrow, .section-number {
  font-size: 12px;
  letter-spacing: .09em;
  font-weight: 600
}
h1 {
  font: 600 clamp(72px, 10vw, 152px)/.82 'Space Grotesk', sans-serif;
  letter-spacing: -.065em;
  margin: 35px 0 8px
}
em {
  font-family: Georgia, serif;
  font-weight: 400
}
h1 em {
  margin-left: 11vw
}
.title-star {
  font-size: .6em;
  color: var(--accent);
  position: absolute;
  left: 66%;
  top: 89px;
  transform: rotate(12deg)
}
.intro p {
  position: absolute;
  left: 69%;
  top: 235px;
  font-size: 15px;
  line-height: 1.6
}
.side-note {
  position: absolute;
  right: 18px;
  top: 170px;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: .13em
}
.work {
  padding: 0 4%
}
.work-bar {
  border-top: 1px solid var(--ink);
  padding: 17px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: .035em
}
.work-bar > div {
  display: flex;
  gap: 23px;
  align-items: center
}
#reset {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px
}
.board {
  height: 850px;
  position: relative;
  background-image: radial-gradient(#bfc0b8 .7px, transparent .7px);
  background-size: 18px 18px;
  overflow: hidden
}
.project {
  width: 40%;
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: rotate(var(--r));
  z-index: var(--z);
  box-shadow: 3px 9px 12px #181b1926;
  background: #f7f7ee;
  transition: box-shadow .2s
}
.project:hover {
  box-shadow: 4px 14px 20px #181b1940
}
.project.is-dragging {
  box-shadow: 8px 18px 30px #181b1940
}
.project-open {
  padding: 0 10px 0;
  width: 100%;
  display: block;
  text-align: left
}
.film-art, .short-art, .schalke-art {
  aspect-ratio: 1.52;
  position: relative;
  overflow: hidden;
  padding: 23px
}
.film-art {
  background-color: #292d29;
  /* Original: 2048 x 1152; picture area approximately y=152–1000.
     Scale the image layer to crop its baked-in black bars. */
  background-image:
    linear-gradient(180deg, rgba(12, 14, 12, .28) 0%,
      rgba(12, 14, 12, .03) 35%, rgba(12, 14, 12, .48) 65%,
      rgba(12, 14, 12, .88) 100%),
    url("bachelor-65mm.jpg");
  background-size: 100% 100%, auto 137%;
  background-position: center, 43% 50%;
  background-repeat: no-repeat;
  color: #ffffff;
}
.frame-top {
  font-size: 10px;
  letter-spacing: .12em
}
.film-art strong {
  display: block;
  font: 500 clamp(27px, 3.7vw, 57px)/1 'Space Grotesk', sans-serif;
  letter-spacing: -.06em;
  margin: 18px 0
}
.film-art strong i {
  font-family: Georgia, serif;
  font-weight: 400
}
.formats {
  display: flex;
  gap: 24px;
  font-size: 12px
}
.test-strip {
  display: flex;
  height: 16px;
  margin-top: 22px
}
.test-strip i {
  flex: 1;
  background: #c3a44d
}
.test-strip i:nth-child(2) {
  background: #699895
}
.test-strip i:nth-child(3) {
  background: #a43c36
}
.test-strip i:nth-child(4) {
  background: #477464
}
.test-strip i:nth-child(5) {
  background: #687baf
}
.test-strip i:nth-child(6) {
  background: #bab9ac
}
.project-caption {
  padding: 16px 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px
}
.circle-plus {
  border: 1px solid;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  text-align: center;
  line-height: 19px;
  font-size: 20px
}
.short {
  width: 32%
}
.short-art {
  background-color: #514936;
  background-image:
    linear-gradient(90deg, rgba(24, 23, 18, .04) 35%,
      rgba(24, 23, 18, .25) 60%, rgba(24, 23, 18, .72) 100%),
    linear-gradient(180deg, rgba(24, 23, 18, .28) 0%,
      rgba(24, 23, 18, 0) 25%, rgba(24, 23, 18, 0) 65%,
      rgba(24, 23, 18, .72) 100%),
    url("Still-Kurzfilm_1.1.1.jpg");
  background-size: cover;
  /* 1920 x 1080: retain the face on the left and room for type on the right. */
  background-position: center, center, 40% center;
  background-repeat: no-repeat;
  color: #eef1ff;
  aspect-ratio: 1
}
.short-art strong {
  font: 700 clamp(30px, 4.8vw, 72px)/.85 'Space Grotesk', sans-serif;
  letter-spacing: -.07em;
  display: block;
  margin-top: 28px
}
.short-art strong i {
  font-family: Georgia, serif;
  font-weight: 400
}
.timecode, .small-bottom {
  font-size: 10px;
  letter-spacing: .04em
}
.small-bottom {
  position: absolute;
  bottom: 20px;
  left: 23px
}
.schalke {
  width: 45%
}
.schalke-art {
  background-color: #173ec2;
  background-image:
    linear-gradient(180deg, rgba(4, 15, 37, .68) 0%,
      rgba(4, 15, 37, .36) 32%, rgba(4, 15, 37, .04) 52%,
      rgba(4, 15, 37, .06) 72%, rgba(4, 15, 37, .72) 100%),
    url("Schalke-Still_1.1.1.jpg");
  background-size: cover;
  /* 1920 x 1080: retain the ball and the player on the right. */
  background-position: center, 58% center;
  background-repeat: no-repeat;
  color: #e5e9ff;
  aspect-ratio: 1.85
}
.schalke-art > span:first-child {
  font-size: 10px
}
.schalke-art strong {
  display: block;
  font: 700 clamp(45px, 6vw, 88px)/.83 'Space Grotesk', sans-serif;
  letter-spacing: -.065em;
  margin-top: 21px
}
.schalke-art strong i {
  margin-left: 24%;
  font-style: normal;
  color: #9bbdff
}
.about-teaser {
  padding: 85px 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  border-top: 1px solid #bdbeb6;
  margin-top: 20px
}
.section-number {
  grid-column: 1/-1
}
h2 {
  font: 500 clamp(32px, 4vw, 62px)/1.1 'Space Grotesk', sans-serif;
  letter-spacing: -.05em;
  margin: 0
}
.about-teaser p {
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 20px;
  max-width: 430px
}
.text-button {
  padding: 10px 0;
  border-bottom: 1px solid;
  display: flex;
  gap: 55px;
  font-size: 14px
}
.contact {
  background: var(--accent);
  padding: 40px 8% 65px
}
.contact > div {
  display: flex;
  justify-content: space-between;
  align-items: center
}
.contact > button {
  text-align: left;
  font: 500 clamp(55px, 8vw, 120px)/.96 'Space Grotesk', sans-serif;
  letter-spacing: -.06em;
  width: 100%;
  position: relative;
  margin-top: 35px;
  padding: 0
}
.contact > button span {
  position: absolute;
  right: 3%;
  top: 20%;
  font-size: 100px
}
.contact p {
  font-size: 14px
}
footer {
  padding: 24px 4%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 10px;
  letter-spacing: .05em
}
dialog {
  border: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  max-width: 760px;
  width: calc(100% - 32px);
  max-height: 85vh;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 100px #0004
}
dialog::backdrop {
  background: #161813ba;
  backdrop-filter: blur(8px)
}
.modal-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  border-bottom: 1px solid;
  padding: 32px 32px 20px;
  gap: 16px
}
.modal-head button {
  flex-shrink: 0;
  white-space: nowrap;
  min-height: 44px;
  padding: 6px
}
#dialog-content {
  padding: 35px 32px 42px
}
#dialog-content h2 {
  font-size: clamp(34px, 6vw, 62px);
  margin-bottom: 25px
}
#dialog-content p {
  font-size: 17px;
  line-height: 1.65
}
#dialog-content .meta {
  font-size: 12px;
  letter-spacing: .05em;
  margin-bottom: 20px
}
#dialog-content .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0
}
#dialog-content .tags span {
  border: 1px solid #aaa;
  padding: 8px 13px;
  font-size: 13px
}
#dialog-content .notice {
  border-top: 1px solid #bbb;
  font-size: 14px;
  padding-top: 20px;
  color: #555
}
.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 28px
}
.format-grid strong {
  font: 30px Georgia
}
.format-grid p {
  font-size: 14px !important
}
@media(min-width:1400px) {
  .board {
    height: 1000px
  }
  .intro {
    min-height: 460px
  }
}
@media(max-width:760px) {
  header {
    padding: 18px 5%
  }
  .brand {
    font-size: 38px;
    gap: 15px
  }
  .brand span {
    display: none
  }
  nav {
    gap: 20px;
    font-size: 13px
  }
  .intro {
    padding: 38px 6% 35px;
    min-height: 365px
  }
  h1 {
    font-size: clamp(66px, 15vw, 112px);
    margin-top: 36px
  }
  h1 em {
    margin-left: 9vw
  }
  .title-star {
    top: 120px;
    left: 78%;
    font-size: .52em
  }
  .intro p {
    position: static;
    font-size: 14px;
    margin: 25px 0 0 14vw
  }
  .side-note {
    display: none
  }
  .drag-note {
    display: none
  }
  .work-bar {
    font-size: 10px;
    gap: 10px
  }
  .board {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: center;
    padding: 35px 17px 70px
  }
  .project {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 90%;
    max-width: 440px;
    transform: rotate(var(--r));
    flex-shrink: 0
  }
  .short {
    align-self: flex-end;
    width: 80%
  }
  .schalke {
    width: 94%
  }
  .film-art strong {
    font-size: clamp(28px, 8vw, 48px)
  }
  .short-art strong {
    font-size: clamp(44px, 13vw, 74px)
  }
  .schalke-art strong {
    font-size: clamp(45px, 12vw, 75px)
  }
  .about-teaser {
    padding: 55px 7%;
    grid-template-columns: 1fr;
    gap: 25px
  }
  .about-teaser p {
    font-size: 16px
  }
  .contact {
    padding: 30px 7% 45px
  }
  .contact > button {
    font-size: clamp(46px, 10vw, 74px)
  }
  .contact > button span {
    font-size: 48px;
    right: 0
  }
  .contact p {
    font-size: 12px
  }
  footer {
    font-size: 9px;
    flex-wrap: wrap;
    padding: 20px 5%
  }
  footer > span:nth-child(2) {
    display: none
  }
  .modal-head {
    padding: 22px 22px 20px;
  }
  #dialog-content {
    padding: 35px 22px 32px;
  }
  .format-grid {
    gap: 10px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
  * {
    transition: none !important
  }
}
/* Straight project grid and portrait space. */
.intro {
  min-height: 0;
  padding: 58px 8% 65px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 26px
}
.eyebrow {
  grid-column: 1/-1
}
h1 {
  font: 600 clamp(68px, 9.5vw, 145px)/1.04 'Space Grotesk', sans-serif;
  letter-spacing: -.045em;
  margin: 0;
  color: var(--accent)
}
h1 span {
  display: block
}
.intro p {
  position: static;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 10px;
  align-self: end
}
.board {
  height: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding: 25px 0 64px;
  background: none;
  overflow: visible;
  align-items: start
}
.project, .short, .schalke {
  position: relative;
  left: auto;
  top: auto;
  width: 100%;
  transform: none;
  z-index: auto;
  box-shadow: 0 3px 8px #181b1917;
  min-width: 0
}
.project:hover {
  box-shadow: 0 7px 18px #181b1929
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px;
  font-size: 12px;
  letter-spacing: .03em
}
.film-art, .short-art, .schalke-art {
  aspect-ratio: 1.5;
  padding: 25px
}
.film-art strong {
  font-size: clamp(30px, 3.6vw, 58px)
}
.short-art strong {
  font-size: clamp(38px, 4.3vw, 66px);
  margin-top: 20px
}
.schalke-art strong {
  font-size: clamp(45px, 5.5vw, 84px)
}
.small-bottom {
  font-size: 11px
}
.frame-top, .timecode, .schalke-art > span:first-child {
  font-size: 11px
}
.project-caption {
  font-size: 15px
}
.about-teaser {
  align-items: center;
  gap: 35px 7%
}
.portrait-placeholder {
  aspect-ratio: 4/5;
  background: #d7d9df;
  border: 1px solid #b9becd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #586070
}
.portrait-placeholder span:first-child {
  font: 500 42px 'Space Grotesk', sans-serif;
  letter-spacing: .12em
}
.portrait-placeholder span:last-child {
  font-size: 12px;
  letter-spacing: .1em
}
.about-copy h2 {
  margin-bottom: 25px
}
.modal-portrait {
  aspect-ratio: 3/2;
  margin-bottom: 32px
}
.contact {
  color: #eef1ff
}
@media(hover:hover) and (pointer:fine) {
  html, body, body * {
    cursor: var(--smile-cursor) 16 16, auto
  }
  a, button, a *, button * {
    cursor: var(--smile-cursor) 16 16, pointer
  }
}
@media(max-width:760px) {
  .intro {
    padding: 38px 6% 45px;
    grid-template-columns: 1fr;
    gap: 24px
  }
  .intro p {
    margin: 0;
    font-size: 14px
  }
  h1 {
    font-size: clamp(54px, 12vw, 90px);
    letter-spacing: -.035em
  }
  .board {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 20px 0 40px
  }
  .project, .short, .schalke {
    max-width: none;
    width: 100%;
    transform: none
  }
  .film-art strong {
    font-size: clamp(30px, 8vw, 52px)
  }
  .short-art strong {
    font-size: clamp(40px, 10vw, 65px)
  }
  .schalke-art strong {
    font-size: clamp(47px, 12vw, 78px)
  }
  .about-teaser {
    grid-template-columns: 1fr;
    gap: 25px
  }
  .portrait-placeholder {
    width: 100%;
    max-width: 480px
  }
  .modal-portrait {
    max-width: none
  }
}
/* Header preferences */
header {
  gap: 24px;
  flex-wrap: wrap
}
header nav {
  margin-left: auto;
  gap: 26px
}
.preferences {
  display: flex;
  gap: 10px;
  align-items: center
}
.segment-switch {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 38px;
  padding: 3px;
  border: 1px solid #aeb2bd;
  border-radius: 30px;
  font-size: 12px;
  min-width: 86px
}
.segment-switch span {
  padding: 7px 9px;
  z-index: 1;
  text-align: center;
  transition: color .18s
}
.segment-switch::before {
  content: '';
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 22px;
  background: var(--accent);
  transition: transform .18s
}
.segment-switch[aria-checked=true]::before {
  transform: translateX(100%)
}
.segment-switch[aria-checked=false] span:first-child, .segment-switch[aria-checked=true] span:last-child {
  color: white
}
html[data-theme=dark] {
  --smile-cursor: url('smile-light.svg');
  color-scheme: dark;
  --paper: #14161c;
  --ink: #e9ebf3;
  --accent: #9aafff
}
html[data-theme=dark] header, html[data-theme=dark] .about-teaser {
  border-color: #3f4350
}
html[data-theme=dark] .project {
  background: #222630
}
html[data-theme=dark] .portrait-placeholder {
  background: #222733;
  border-color: #464f64;
  color: #b9c1d5
}
html[data-theme=dark] .contact {
  background: #132a9b;
  color: #eef1ff
}
html[data-theme=dark] #dialog-content .notice {
  color: #bbc1d0;
  border-color: #444b5c
}
html[data-theme=dark] #dialog-content .tags span {
  border-color: #606879
}
html[data-theme=dark] .segment-switch::before {
  background: #233ea6
}
html[data-theme=dark] .segment-switch {
  border-color: #606879
}
html[data-theme=dark] .project:hover {
  box-shadow: 0 7px 18px #0006
}
@media(max-width:1000px) {
  header {
    gap: 15px
  }
  .brand {
    gap: 15px
  }
  header nav {
    gap: 18px
  }
  .preferences {
    gap: 6px
  }
  .segment-switch {
    min-width: 74px;
    font-size: 12px
  }
  .segment-switch span {
    padding: 7px
  }
}
@media(max-width:560px) {
  header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px
  }
  header nav {
    justify-self: end;
    margin-left: 0;
    gap: 22px
  }
  .preferences {
    grid-column: 1/-1;
    justify-content: flex-end
  }
  .segment-switch {
    min-width: 88px;
    min-height: 40px
  }
}
@media(prefers-reduced-motion:reduce) {
  .segment-switch::before, .segment-switch span {
    transition: none
  }
}

/* Film card: keep the face clear and anchor the typography below it. */
.project.film {
  container-type: inline-size;
}
.film .film-art {
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 4.5cqw, 25px);
}
.film .frame-top {
  margin-bottom: auto;
  font-size: clamp(9px, 2.3cqw, 11px);
  text-shadow: 0 1px 5px rgba(0, 0, 0, .5);
}
.film .film-art strong {
  font-size: clamp(25px, 8cqw, 58px);
  line-height: 1;
  margin: 16px 0 10px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
.film .formats {
  gap: clamp(16px, 4cqw, 24px);
  font-size: clamp(10px, 2.5cqw, 12px);
  text-shadow: 0 1px 5px rgba(0, 0, 0, .5);
}
.film .test-strip {
  flex: 0 0 4px;
  height: 4px;
  margin-top: clamp(10px, 2.5cqw, 16px);
}


/* Schalke: place the title over the stands, above the action. */
.project.schalke {
  container-type: inline-size;
}
.schalke .schalke-art {
  padding: clamp(16px, 4.5cqw, 25px);
}
.schalke .schalke-art > span:first-child {
  font-size: clamp(9px, 2cqw, 11px);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}
.schalke .schalke-art strong {
  font-size: clamp(26px, 10.5cqw, 82px);
  white-space: nowrap;
  margin-top: clamp(8px, 2cqw, 14px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
.schalke .small-bottom {
  left: clamp(16px, 4.5cqw, 25px);
  right: clamp(16px, 4.5cqw, 25px);
  bottom: clamp(14px, 3.5cqw, 20px);
  font-size: clamp(9px, 2cqw, 11px);
  line-height: 1.4;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}


/* Short film: put the title in the space to the right of the face. */
.project.short {
  container-type: inline-size;
}
.short .short-art {
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 4.5cqw, 25px);
}
.short .timecode {
  font-size: clamp(9px, 2cqw, 11px);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}
.short .short-art strong {
  align-self: flex-end;
  text-align: right;
  font-size: clamp(26px, 9cqw, 66px);
  margin-top: clamp(14px, 4cqw, 26px);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.short .small-bottom {
  left: clamp(16px, 4.5cqw, 25px);
  right: clamp(16px, 4.5cqw, 25px);
  bottom: clamp(14px, 3.5cqw, 20px);
  font-size: clamp(9px, 2cqw, 11px);
  line-height: 1.4;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}


/* Interactive film comparison in the bachelor project dialog. */
.film-comparison { margin: 30px 0 20px; }
.comparison-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #30332e;
  touch-action: pan-y;
  user-select: none;
}
.comparison-layer { position: absolute; inset: 0; pointer-events: none; }
.comparison-grade { background: #343b38; color: #f1f1e8; }
.comparison-clean {
  background: #d7d9d2;
  color: #43483e;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}
.comparison-layer img {
  width: 100%; height: 100%; object-fit: contain; display: block;
}
.comparison-layer [hidden] { display: none; }
.comparison-placeholder {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  font-size: clamp(10px, 2vw, 13px); letter-spacing: .04em;
}
.comparison-clean .comparison-placeholder { left: 25%; }
.comparison-grade .comparison-placeholder { left: 75%; }
.comparison-badge {
  position: absolute; top: 12px; padding: 6px 9px;
  background: #101611b8; color: #fff;
  font-size: 10px; letter-spacing: .08em; pointer-events: none;
}
.comparison-badge-clean { left: 12px; }
.comparison-badge-grade { right: 12px; }
.comparison-divider {
  position: absolute; top: 0; bottom: 0; left: var(--split);
  width: 2px; background: white; transform: translateX(-50%);
  pointer-events: none; box-shadow: 0 0 8px #0005;
}
.comparison-divider span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 40px; height: 40px; border-radius: 50%; background: #f7f7ee;
  color: #1b1c1a; display: grid; place-items: center; font-size: 22px;
  box-shadow: 0 2px 12px #0004;
}
.comparison-stage, .comparison-stage * { cursor: ew-resize; }
.comparison-formats { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.comparison-formats button {
  width: 100%; border: 1px solid currentColor; padding: 12px 8px; min-height: 44px;
  font: 22px Georgia, serif;
}
.comparison-formats button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
#dialog-content .comparison-status { font-size: 12px; line-height: 1.5; margin: 12px 0 0; }

.comparison-stage:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.comparison-format { min-width: 0; }
#dialog-content .comparison-format p { margin: 10px 0 0; font-size: 13px; line-height: 1.5; overflow-wrap: break-word; }
.highlight-reel-placeholder {
  aspect-ratio: 16 / 9; margin: 28px 0; padding: 24px;
  background: #142653; color: #eef1ff; border: 1px solid #51618a;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center;
}
.reel-symbol { font-size: 42px; line-height: 1; }
.highlight-reel-placeholder strong { font-size: 14px; letter-spacing: .12em; }
.highlight-reel-placeholder > span:last-child { font-size: 13px; line-height: 1.5; max-width: 32ch; }

/* Keep the smiley visible on the blue contact section in both themes. */
.contact {
  --smile-cursor: url('smile-light.svg');
}

/* Keep navigation visible and the work divider just inside the first screen. */
body > header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
}
.intro {
  min-height: calc(100vh - var(--header-height, 110px) - 8px);
  min-height: calc(100dvh - var(--header-height, 110px) - 8px);
}
#arbeiten {
  scroll-margin-top: var(--header-height, 110px);
}
.project-caption {
  justify-content: flex-end;
}

/* A larger, vertically centered introduction. */
.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(20px, 3vh, 32px);
  padding-top: clamp(28px, 5vh, 56px);
  padding-bottom: clamp(28px, 5vh, 56px);
}
.intro h1 {
  font-size: clamp(44px, min(16vw, 24dvh), 220px);
  line-height: .92;
  letter-spacing: -.055em;
  margin: 0;
}
.intro p {
  position: static;
  align-self: auto;
  margin: 0;
  font-size: clamp(16px, 1.5vw, 22px);
}
