@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600&family=DM+Sans:wght@400;500;600&display=swap");

:root {
  --ink: #372d3d;
  --ink-deep: #1e1b21;
  --lilac: #ceb2c7;
  --lilac-light: #eadde7;
  --paper: #f6f2f4;
  --mist: rgba(246, 242, 244, .78);
  --line: rgba(55, 45, 61, .35);
  --hot: #6b3657;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  font-family: "DM Sans", sans-serif;
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  margin: 0;
}

button,
input,
textarea,
select,
option {
  font: inherit;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  padding-inline: max(5vw, 1.25rem);
}

.micro-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  margin: 0;
  text-transform: uppercase;
}

.clipped-card {
  border-radius: 18px;
  clip-path: none;
}

.site-header {
  align-items: center;
  background: var(--lilac);
  border-bottom: 2px solid var(--ink);
  display: flex;
  height: 72px;
  justify-content: space-between;
  padding: 0 max(5vw, 1.25rem);
  position: relative;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  gap: .8rem;
}

.brand > span {
  font-family: "Comfortaa", sans-serif;
  font-size: 2rem;
  letter-spacing: -.08em;
}

.brand strong {
  font-family: "Comfortaa", sans-serif;
  font-size: .9rem;
  font-weight: 500;
}

.site-header nav {
  align-items: center;
  display: flex;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  gap: clamp(1rem, 3vw, 2.6rem);
}

.site-header nav a {
  border-bottom: 1px solid transparent;
  padding-block: .4rem;
}

.site-header nav a:hover {
  border-color: var(--ink);
}

.admin-badge {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 7px;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  font-size: .65rem;
  letter-spacing: .08em;
  line-height: 1;
  padding: 0 .8rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-header-controls {
  align-items: center;
  display: flex;
  gap: .55rem;
}

.flickr-sync-status {
  font-size: .62rem;
  line-height: 1.25;
  max-width: 190px;
  text-align: right;
}

.admin-badge:disabled {
  cursor: default;
  opacity: .55;
}

.admin-badge-secondary {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.site-header nav a.admin-badge,
.site-header nav a.admin-badge:hover {
  border-bottom-color: var(--ink);
}

.profile-mast {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(30, 27, 33, .72), rgba(30, 27, 33, .2)),
    url("/media/beauty-entrenched/33754116926.jpg") center 39% / cover;
  color: var(--white);
  display: grid;
  gap: clamp(2rem, 5vw, 6rem);
  grid-template-columns: auto minmax(0, 800px) auto;
  min-height: 68vh;
  padding: clamp(5rem, 11vw, 10rem) max(5vw, 1.25rem);
}

.profile-mark {
  align-items: center;
  aspect-ratio: 1;
  background: rgba(206, 178, 199, .88);
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--ink);
  display: flex;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(1.4rem, 3vw, 3rem);
  justify-content: center;
  width: clamp(90px, 13vw, 170px);
}

.profile-marks {
  display: grid;
  gap: clamp(.75rem, 1.5vw, 1.25rem);
}

.profile-portrait {
  overflow: hidden;
}

.profile-portrait img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.profile-mast h1 {
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(2.8rem, 6.8vw, 7.2rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .98;
  margin: 1.2rem 0 2rem;
  max-width: 13ch;
}

.mast-copy {
  font-size: clamp(1rem, 1.55vw, 1.25rem);
  line-height: 1.65;
  margin: 0;
  max-width: 650px;
}

.hero-connections {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.7rem;
}

.hero-social-link,
.hero-ppa-badge {
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(30, 27, 33, .34);
  border: 1px solid rgba(255, 255, 255, .52);
  color: var(--white);
  display: inline-flex;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.hero-social-link {
  border-radius: 50%;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.hero-social-link svg,
.hero-ppa-badge svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.hero-social-link svg {
  height: 22px;
  width: 22px;
}

.hero-connections .icon-fill {
  fill: currentColor;
  stroke: none;
}

.hero-social-link:hover,
.hero-social-link:focus-visible,
.hero-ppa-badge:hover,
.hero-ppa-badge:focus-visible {
  background: var(--white);
  color: var(--ink);
  transform: translateY(-2px);
}

.hero-ppa-badge {
  border-radius: 24px;
  gap: .65rem;
  min-height: 42px;
  padding: .38rem .9rem .38rem .55rem;
}

.hero-ppa-badge svg {
  height: 27px;
  width: 27px;
}

.hero-ppa-badge span {
  display: grid;
  gap: .05rem;
}

.hero-ppa-badge strong,
.hero-ppa-badge small {
  font-family: "DM Sans", sans-serif;
  line-height: 1.1;
}

.hero-ppa-badge strong {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero-ppa-badge small {
  font-size: .66rem;
  opacity: .82;
}

.vertical-note {
  font-family: "Comfortaa", sans-serif;
  font-size: .7rem;
  letter-spacing: .12em;
  margin: 0;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.profile-tabs {
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: flex;
  font-family: "DM Sans", sans-serif;
  gap: 2.4rem;
  height: 62px;
  padding-inline: max(5vw, 1.25rem);
  position: sticky;
  top: 0;
  z-index: 15;
}

.profile-tabs a {
  align-items: center;
  align-self: stretch;
  display: flex;
  font-size: 1rem;
  position: relative;
}

.profile-tabs a.active::after {
  background: var(--hot);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
}

.admin-panel {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-bottom: 2rem;
  padding-top: 2rem;
}

.admin-panel h2 {
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2.3rem);
  font-weight: 400;
  margin: .5rem 0;
}

.admin-panel p {
  margin-bottom: 0;
  max-width: 680px;
}

.admin-panel button,
.moderation-control button {
  background: var(--lilac);
  border: 1px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  padding: .75rem 1rem;
}

.admin-panel button:disabled,
.moderation-control button:disabled {
  cursor: default;
  opacity: .45;
}

.admin-result,
.admin-panel .login-error {
  grid-column: 1 / -1;
}

.album-index {
  padding-bottom: clamp(6rem, 10vw, 10rem);
  padding-top: clamp(2rem, 3vw, 3rem);
}

.section-heading {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
}

.section-heading .micro-label {
  grid-column: 1 / -1;
}

.section-heading h2 {
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -.05em;
  margin: 0;
}

.section-heading > p:last-child {
  color: rgba(55, 45, 61, .7);
  font-size: .78rem;
  margin: 0 0 .4rem;
}

.album-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.8rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.album-card {
  aspect-ratio: 1;
  background: var(--ink);
  border: 2px solid var(--ink);
  color: var(--white);
  display: block;
  overflow: hidden;
  position: relative;
}

.album-card img {
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  width: 100%;
}

.album-card:hover img {
  transform: scale(1.025);
}

.album-empty-cover {
  align-items: center;
  color: rgba(255, 255, 255, .58);
  display: flex;
  font-size: .72rem;
  inset: 0;
  justify-content: center;
  letter-spacing: .16em;
  position: absolute;
  text-transform: uppercase;
}

.album-wash {
  background: linear-gradient(transparent 35%, rgba(30, 27, 33, .86));
  inset: 0;
  position: absolute;
}

.album-card-copy {
  bottom: 0;
  display: grid;
  gap: .35rem;
  left: 0;
  padding: clamp(1rem, 2vw, 1.6rem);
  position: absolute;
  right: 0;
}

.album-card-copy strong {
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  font-weight: 500;
}

.album-card-copy > span {
  font-size: .72rem;
}

.mature-chip {
  border: 1px solid rgba(255, 255, 255, .55);
  justify-self: start;
  margin-top: .3rem;
  padding: .25rem .4rem;
  text-transform: uppercase;
}

.about-band {
  background:
    linear-gradient(90deg, rgba(30, 27, 33, .91) 0%, rgba(30, 27, 33, .78) 54%, rgba(30, 27, 33, .5) 100%),
    url("/media/angel-among-us/54855275464.jpg") center 42% / cover;
  border-block: 2px solid var(--ink);
  color: var(--white);
  display: grid;
  gap: .8rem;
  grid-template-columns: 1fr;
  padding-bottom: 2rem;
  padding-top: 2rem;
}

.about-body {
  max-width: 920px;
}

.about-body h2 {
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.08;
  margin: 0 0 1.2rem;
  max-width: 620px;
}

.site-footer h2 {
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(2.8rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1;
  margin: 0 0 3.5rem;
}

.about-body > p {
  font-size: .92rem;
  line-height: 1.55;
  margin: 0 0 1rem;
  max-width: 720px;
}

.about-body blockquote {
  background: var(--mist);
  border: 1px solid var(--ink);
  border-radius: 10px;
  color: var(--ink);
  display: grid;
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2.3rem);
  gap: .8rem;
  margin: 1.5rem 0 0;
  max-width: 720px;
  padding: 1.2rem;
  white-space: pre-line;
}

.about-body blockquote span {
  font-family: "DM Sans", sans-serif;
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.about-body blockquote strong {
  font-weight: 400;
  line-height: 1.35;
}

.site-footer {
  background: var(--ink-deep);
  color: var(--white);
  padding-bottom: 3rem;
  padding-top: clamp(5rem, 10vw, 9rem);
}

.site-footer h2 {
  max-width: 10ch;
  margin-top: 1.2rem;
}

.site-footer > div {
  border-top: 1px solid rgba(255, 255, 255, .25);
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
  padding: 1.4rem 0 4rem;
}

.site-footer small {
  opacity: .6;
}

.album-hero {
  background-color: var(--ink-deep);
  background-position: center;
  background-size: cover;
  border-bottom: 2px solid var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(22rem, 44vh, 34rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  padding-top: 1.5rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.album-hero::before {
  backdrop-filter: blur(12px);
  background: rgba(30, 27, 33, .34);
  content: "";
  inset: -30px;
  position: absolute;
  z-index: -3;
}

.album-hero-cover {
  height: 100%;
  inset: 0;
  object-fit: contain;
  position: absolute;
  width: 100%;
  z-index: -2;
}

.album-hero-cover--portrait {
  object-position: right center;
}

.album-hero-cover--landscape,
.album-hero-cover--square {
  object-position: center;
}

.album-hero-shade {
  background: linear-gradient(90deg, rgba(30, 27, 33, .92) 0%, rgba(30, 27, 33, .7) 48%, rgba(30, 27, 33, .2) 100%);
  inset: 0;
  position: absolute;
  z-index: -1;
}

.album-hero-copy {
  max-width: 900px;
}

.back-link,
.back-to-album {
  display: inline-block;
  font-size: 1rem;
  margin-bottom: clamp(4rem, 8vw, 8rem);
}

.album-hero > .micro-label {
  margin-bottom: 1rem;
}

.album-hero h1 {
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .95;
  margin: 0 0 3rem;
}

.album-description {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.45;
  margin: 0;
  max-width: 800px;
  text-shadow: 0 1px 16px rgba(0, 0, 0, .45);
  white-space: normal;
}

.album-count {
  border-top: 1px solid rgba(255, 255, 255, .45);
  font-size: .7rem;
  letter-spacing: .12em;
  margin: 3rem 0 0;
  padding-top: 1rem;
  text-transform: uppercase;
}

.photo-grid {
  display: grid;
  gap: clamp(.7rem, 1.4vw, 1.3rem);
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-bottom: 8rem;
  padding-top: clamp(2rem, 4vw, 4rem);
}

.photo-tile {
  aspect-ratio: 1;
  background: var(--ink);
  border: 1px solid rgba(55, 45, 61, .45);
  border-radius: 18px;
  clip-path: none;
  color: var(--white);
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
}

.photo-tile-loading {
  background:
    linear-gradient(110deg, var(--ink) 30%, #4d4052 48%, var(--ink) 66%);
  background-size: 250% 100%;
  animation: tile-loading 1.4s linear infinite;
}

@keyframes tile-loading {
  to { background-position-x: -250%; }
}

.photo-tile img {
  height: 100%;
  object-fit: cover;
  transition: filter .25s ease, transform .4s ease;
  width: 100%;
}

.photo-tile:hover img {
  filter: saturate(.85);
  transform: scale(1.025);
}

.photo-tile-caption {
  background: var(--mist);
  border-radius: 11px;
  bottom: .7rem;
  color: var(--ink);
  display: grid;
  gap: .2rem;
  left: .7rem;
  padding: .75rem .85rem;
  position: absolute;
  right: .7rem;
}

.photo-tile-caption strong {
  font-family: "Comfortaa", sans-serif;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.25;
}

.mature-placeholder {
  align-content: center;
  background: var(--ink);
  cursor: pointer;
  display: grid;
  gap: .5rem;
  justify-items: center;
  text-align: center;
}

.mature-placeholder-mark {
  border: 1px solid var(--lilac);
  border-radius: 50%;
  display: grid;
  font-family: "Comfortaa", sans-serif;
  font-size: 1.8rem;
  height: 76px;
  place-items: center;
  width: 76px;
}

.mature-placeholder small {
  color: var(--lilac);
  max-width: 18ch;
}

.photo-page {
  background: var(--ink-deep);
  min-height: 100vh;
}

.photo-viewer {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 34vw);
  min-height: calc(100vh - 72px);
}

.artwork-stage {
  align-items: center;
  background: #151318;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100vh - 72px);
  min-height: 0;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  position: relative;
}

.back-to-album {
  align-self: flex-start;
  background: rgba(246, 242, 244, .06);
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .015em;
  margin: 0 0 1.8rem;
  padding: .8rem 1.05rem;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.back-to-album:hover,
.back-to-album:focus-visible {
  background: var(--lilac);
  border-color: rgba(255, 255, 255, .62);
  color: var(--ink-deep);
  transform: translateX(-3px);
}

.photo-artwork {
  height: auto;
  max-height: calc(100vh - 190px);
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.photo-artwork-trigger {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: flex;
  justify-content: center;
  max-height: calc(100vh - 190px);
  max-width: 100%;
  padding: 0;
}

.mature-artwork-gate {
  align-items: center;
  border: 1px solid rgba(246, 242, 244, .24);
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  justify-content: center;
  max-width: 34rem;
  min-height: min(55vh, 32rem);
  padding: clamp(2rem, 6vw, 5rem);
  text-align: center;
  width: min(100%, 34rem);
}

.mature-artwork-gate strong {
  align-items: center;
  border: 1px solid rgba(246, 242, 244, .55);
  border-radius: 50%;
  display: flex;
  font-size: 1.5rem;
  height: 4.5rem;
  justify-content: center;
  width: 4.5rem;
}

.mature-artwork-gate > span {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.mature-artwork-gate small {
  color: rgba(246, 242, 244, .72);
}

.photo-lightbox {
  align-items: center;
  background: rgba(15, 13, 17, .96);
  display: flex;
  justify-content: center;
  inset: 0;
  overflow: hidden;
  padding: clamp(1rem, 3vw, 3rem);
  position: fixed;
  z-index: 100;
}

.photo-lightbox[hidden] {
  display: none;
}

.photo-lightbox img {
  display: block;
  height: auto;
  max-height: calc(100vh - 2rem);
  max-width: calc(100vw - 2rem);
  object-fit: contain;
  width: auto;
}

.photo-lightbox button,
.photo-lightbox > a {
  background: rgba(246, 242, 244, .1);
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--white);
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  min-width: 8.5rem;
  padding: .8rem 1rem;
  text-align: center;
  z-index: 2;
}

.photo-lightbox button:hover,
.photo-lightbox button:focus-visible,
.photo-lightbox > a:hover,
.photo-lightbox > a:focus-visible {
  background: var(--lilac);
  color: var(--ink);
}

.photo-lightbox-close {
  position: fixed;
  right: clamp(1rem, 3vw, 3rem);
  top: clamp(1rem, 3vw, 3rem);
}

.photo-lightbox-previous,
.photo-lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
}

.photo-lightbox-previous {
  left: clamp(1rem, 3vw, 3rem);
}

.photo-lightbox-next {
  right: clamp(1rem, 3vw, 3rem);
}

@media (max-width: 720px) {
  .photo-lightbox img {
    max-height: calc(100vh - 7rem);
  }

  .photo-lightbox-previous,
  .photo-lightbox-next {
    bottom: 1rem;
    min-width: 0;
    top: auto;
    transform: none;
  }
}

.photo-nav {
  align-items: center;
  display: flex;
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  justify-content: space-between;
  left: clamp(1rem, 4vw, 4rem);
  margin: 0;
  pointer-events: none;
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
}

.photo-nav a {
  backdrop-filter: blur(10px);
  background: rgba(30, 27, 33, .72);
  border: 1px solid transparent;
  min-width: 8.5rem;
  padding: .78rem 1rem;
  pointer-events: auto;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .55);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.photo-nav a:first-child {
  border-radius: 10px;
  text-align: left;
}

.photo-nav a:last-child {
  border-radius: 10px;
  text-align: right;
}

.photo-nav a:hover,
.photo-nav a:focus-visible {
  background: var(--lilac);
  border-color: rgba(255, 255, 255, .62);
  color: var(--ink-deep);
}

.photo-nav a:first-child:hover {
  transform: translateX(-3px);
}

.photo-nav a:last-child:hover {
  transform: translateX(3px);
}

.photo-nav span {
  display: none;
}

.photo-details {
  background: var(--paper);
  overflow-y: auto;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.photo-details h1 {
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1.05;
  margin: 1rem 0;
}

.album-reference {
  border-bottom: 1px solid var(--ink);
  display: inline-block;
  font-size: 1rem;
  margin-bottom: 3rem;
  padding-bottom: .2rem;
}

.flickr-reference {
  border-bottom: 1px solid var(--ink);
  display: table;
  font-size: .88rem;
  margin: -2rem 0 3rem;
  padding-bottom: .2rem;
}

.photo-details > p:not(.micro-label),
.photo-description {
  font-size: .95rem;
  line-height: 1.45;
  white-space: normal;
}

.description-paragraph {
  display: block;
}

.description-paragraph + .description-paragraph {
  margin-top: .65em;
}

.photo-details dl {
  border-top: 1px solid var(--line);
  font-size: .7rem;
  margin-top: 3rem;
  padding-top: 1rem;
}

.moderation-control {
  background: var(--lilac-light);
  border: 1px solid var(--ink);
  display: grid;
  gap: .8rem;
  margin-top: 2.5rem;
  padding: 1.2rem;
}

.moderation-control > strong {
  font-family: "Comfortaa", sans-serif;
  font-weight: 500;
}

.moderation-control > small {
  line-height: 1.5;
}

.moderation-control > div {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.moderation-control button {
  font-size: .7rem;
  padding: .55rem .7rem;
}

.photo-details dl div {
  display: flex;
  justify-content: space-between;
  padding: .35rem 0;
}

.photo-details dd {
  margin: 0;
}

.artwork-threshold {
  border: 1px solid rgba(255, 255, 255, .35);
  max-width: 560px;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.artwork-threshold > span {
  border: 1px solid var(--lilac);
  border-radius: 50%;
  display: grid;
  font-size: 2rem;
  height: 80px;
  margin: 0 auto 2rem;
  place-items: center;
  width: 80px;
}

.artwork-threshold h2 {
  font-family: "Comfortaa", sans-serif;
  font-weight: 400;
}

.artwork-threshold button,
.mature-policy-link,
.login-card button,
.editor-actions button {
  background: var(--lilac);
  border: 1px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  padding: .8rem 1rem;
}

.mature-policy-link {
  border-radius: 10px;
  display: inline-block;
  margin-top: 1rem;
}

.mature-policy-page {
  background: var(--lilac);
  min-height: 100vh;
}

.mature-policy-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 18px;
  margin: clamp(2rem, 6vw, 6rem) auto;
  max-width: 820px;
  padding: clamp(2rem, 6vw, 5rem);
}

.mature-policy-card h1 {
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1;
  margin: 1.2rem 0 2.5rem;
}

.mature-policy-card > p:not(.micro-label) {
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.75;
}

.mature-policy-actions {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}

.mature-policy-acknowledge {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 10px;
  color: var(--white);
  cursor: pointer;
  font-weight: 600;
  padding: .9rem 1.2rem;
}

.contact-page {
  min-height: 100vh;
}

.collaboration-feature {
  align-items: start;
  background: var(--ink-deep);
  border-block: 2px solid var(--ink);
  color: var(--white);
  display: grid;
  gap: .8rem;
  grid-template-columns: 1fr;
  padding-bottom: 2rem;
  padding-top: 2rem;
  text-align: left;
}

.collaboration-feature > div {
  align-items: start;
  display: grid;
  gap: .65rem 2rem;
  grid-template-columns: minmax(0, 1fr) auto;
  max-width: none;
}

.collaboration-feature h2 {
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.08;
  margin: 0;
  max-width: 620px;
}

.collaboration-feature > div > p {
  font-size: .92rem;
  line-height: 1.55;
  margin: 0;
  max-width: 720px;
}

.collaboration-cta {
  background: var(--lilac);
  border-radius: 10px;
  color: var(--ink);
  display: inline-block;
  font-weight: 600;
  margin: 0;
  padding: .9rem 1.2rem;
  justify-self: start;
  align-self: center;
  grid-column: 2;
  grid-row: 1 / span 2;
  text-align: center;
}

.contact-intro {
  background: var(--lilac);
  border-bottom: 2px solid var(--ink);
  padding-bottom: clamp(4rem, 8vw, 8rem);
  padding-top: clamp(4rem, 8vw, 8rem);
}

.contact-intro h1,
.inbox-heading h1 {
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .95;
  margin: 1rem 0 2rem;
}

.contact-intro > p:last-child {
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.75;
  max-width: 760px;
}

.contact-form-shell {
  padding-bottom: clamp(5rem, 10vw, 9rem);
  padding-top: clamp(3rem, 7vw, 6rem);
}

.contact-form {
  display: grid;
  gap: 1.4rem;
  max-width: 820px;
}

.contact-form-row {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form label {
  display: grid;
  font-weight: 600;
  gap: .55rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  padding: .9rem 1rem;
}

.contact-form textarea {
  line-height: 1.6;
  resize: vertical;
}

.contact-form > button,
.contact-success button {
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 10px;
  color: var(--white);
  cursor: pointer;
  font-weight: 600;
  justify-self: start;
  padding: .9rem 1.2rem;
}

.contact-form > button:disabled {
  opacity: .55;
}

.contact-honeypot {
  left: -10000px;
  position: absolute;
}

.contact-privacy {
  color: rgba(55, 45, 61, .72);
  font-size: .82rem;
  margin: 0;
}

.contact-success {
  border: 2px solid var(--ink);
  border-radius: 18px;
  max-width: 820px;
  padding: clamp(2rem, 5vw, 4rem);
}

.contact-success h2 {
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
}

.inbox-page {
  min-height: 100vh;
}

.inbox-heading {
  background: var(--lilac);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2rem;
  padding-top: 2rem;
}

.inbox-heading h1 {
  font-size: clamp(2.5rem, 6vw, 6rem);
  margin-bottom: 0;
}

.inbox-layout {
  display: grid;
  grid-template-columns: minmax(280px, 34vw) minmax(0, 1fr);
  min-height: calc(100vh - 240px);
}

.inbox-list {
  border-right: 1px solid var(--line);
}

.inbox-list > header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 1rem max(1.25rem, 3vw);
}

.inbox-list button,
.inbox-message button {
  font: inherit;
}

.inbox-list > header button,
.inbox-message button {
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 8px;
  cursor: pointer;
  padding: .55rem .75rem;
}

.inbox-row {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: .25rem;
  padding: 1.1rem max(1.25rem, 3vw);
  text-align: left;
  width: 100%;
}

.inbox-row.unread {
  background: var(--lilac-light);
}

.inbox-row.unread strong::before {
  background: var(--hot);
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 8px;
  margin-right: .55rem;
  width: 8px;
}

.inbox-row.selected {
  box-shadow: inset 4px 0 var(--hot);
}

.inbox-row small,
.inbox-message time {
  color: rgba(55, 45, 61, .65);
}

.inbox-message {
  padding: clamp(2rem, 6vw, 6rem);
}

.inbox-message h2 {
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: 400;
  margin: 1rem 0;
}

.inbox-message > a,
.inbox-message > time {
  display: block;
  margin-bottom: .5rem;
}

.inbox-message > p:not(.micro-label) {
  border-top: 1px solid var(--line);
  line-height: 1.75;
  margin-top: 2rem;
  padding-top: 2rem;
  white-space: pre-wrap;
}

.inbox-message > div {
  display: flex;
  gap: .7rem;
  margin-top: 2rem;
}

.inbox-message .inbox-delete {
  border-color: #8b1239;
  color: #8b1239;
}

.inbox-empty {
  color: rgba(55, 45, 61, .65);
  padding: 1.5rem max(1.25rem, 3vw);
}

.login-page {
  background: var(--lilac);
  min-height: 100vh;
  padding: max(5vw, 1.25rem);
}

.login-card {
  background: var(--paper);
  border: 2px solid var(--ink);
  margin: 3rem auto;
  max-width: 520px;
  padding: clamp(2rem, 5vw, 4rem);
}

.login-card h1 {
  font-family: "Comfortaa", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -.05em;
  margin: 1rem 0;
}

.login-card > p {
  line-height: 1.6;
}

.login-card label {
  display: grid;
  font-size: .72rem;
  gap: .45rem;
  margin: 1.4rem 0;
  text-transform: uppercase;
}

.login-card input,
.inline-editor input,
.inline-editor textarea {
  background: var(--white);
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: .85rem;
  width: 100%;
}

.login-error {
  color: #8b1239;
  font-weight: 600;
}

.inline-editor {
  display: block;
  min-width: min(100%, 420px);
}

.inline-editor textarea {
  min-height: 180px;
  resize: vertical;
}

.editor-actions {
  display: flex;
  gap: .4rem;
  margin-top: .4rem;
}

.editor-actions button {
  font-size: .7rem;
  padding: .45rem .7rem;
}

.editable-copy {
  border-radius: 3px;
  cursor: text;
  outline: 1px dashed rgba(107, 54, 87, .7);
  outline-offset: 4px;
}

.editable-copy:hover {
  background: rgba(255, 255, 255, .22);
  outline-style: solid;
}

@media (max-width: 980px) {
  .album-grid,
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-mast {
    grid-template-columns: auto 1fr;
  }

  .vertical-note {
    display: none;
  }

  .photo-viewer {
    grid-template-columns: 1fr;
  }

  .collaboration-feature > div {
    grid-template-columns: 1fr;
  }

  .collaboration-cta {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .artwork-stage {
    height: auto;
    min-height: 75vh;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 64px;
  }

  .brand strong,
  .site-header nav > a:first-child {
    display: none;
  }

  .profile-mast {
    align-items: end;
    grid-template-columns: 1fr;
    min-height: 75vh;
  }

  .profile-mark {
    width: 78px;
  }

  .profile-tabs {
    gap: 1.5rem;
  }

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

  .section-heading {
    grid-template-columns: 1fr;
  }

  .album-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .album-card {
    aspect-ratio: 4 / 3;
  }

  .about-band {
    grid-template-columns: 1fr;
  }

  .collaboration-feature {
    grid-template-columns: 1fr;
  }

  .contact-form-row,
  .inbox-layout {
    grid-template-columns: 1fr;
  }

  .inbox-list {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    max-height: 48vh;
    overflow-y: auto;
  }

  .photo-tile {
    aspect-ratio: 4 / 3;
  }

  .artwork-stage {
    min-height: 60vh;
  }

  .photo-artwork {
    max-height: 52vh;
  }

  .photo-nav {
    font-size: .92rem;
  }

  .photo-nav a {
    min-width: 0;
    padding: .72rem .8rem;
  }

  .photo-nav span {
    font-size: .68rem;
    letter-spacing: .08em;
    padding-inline: .45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
