/* The same day/night artwork as the photo atlas, with readable translucent paper. */
body.contact-page {
  --contact-background: url('../img/kakera_world_light.webp');
  --contact-paper: rgba(255,250,240,.84);
  background: #eee4d4;
  min-height: 100vh;
  isolation: isolate;
}
.contact-page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--contact-background) center / cover no-repeat;
}
[data-theme="dark"] body.contact-page {
  --contact-background: url('../img/kakera_world_dark.webp');
  --contact-paper: rgba(26,29,28,.86);
  background: #1c1e1c;
}
.contact-page .contact-page-title {
  background: linear-gradient(180deg, rgba(255,250,240,.78), rgba(255,250,240,.62));
}
[data-theme="dark"] .contact-page .contact-page-title {
  background: linear-gradient(180deg, rgba(26,29,28,.82), rgba(26,29,28,.66));
}
.contact-page .contact-panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--contact-paper);
  box-shadow: var(--shadow-sm);
}
.contact-panel > .row { margin-left: 0; margin-right: 0; }
.contact-profile-layout { display: flex; align-items: flex-start; gap: 40px; }
.contact-profile-portrait { flex: 0 0 280px; }
.contact-colophon a { overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .contact-page .contact-panel { width: calc(100% - 30px); padding: 24px 18px; }
  .contact-profile-layout { flex-direction: column; gap: 24px; }
  .contact-profile-portrait { flex: none; width: min(280px, 100%); margin: 0 auto; }
  .contact-profile-copy { width: 100%; }
}
