:root {
  --ink: #0e0a0b;
  --ink-2: #1a1114;
  --paper: #f0e8e6;
  --mute: #a89896;
  --brass: #c9a27a;
  --brass-deep: #9a7350;
  --crimson: #b4233a;
  --crimson-bright: #d6354c;
  --crimson-soft: rgba(180, 35, 58, 0.22);
  --line: rgba(240, 232, 230, 0.1);
  --font-display: "Syne", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --space: clamp(0.85rem, 2vw, 1.35rem);
  --max: 1040px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--paper);
  background:
    radial-gradient(900px 520px at 8% -8%, var(--crimson-soft), transparent 55%),
    radial-gradient(700px 420px at 100% 0%, rgba(201, 162, 122, 0.1), transparent 48%),
    linear-gradient(180deg, #161012 0%, var(--ink) 42%, #090607 100%);
  line-height: 1.45;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: var(--space);
  top: var(--space);
  z-index: 100;
  background: var(--crimson);
  color: #fff;
  padding: 0.5rem 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 10, 11, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(180, 35, 58, 0.25);
}

@supports (backdrop-filter: blur(8px)) {
  @media (min-width: 900px) and (hover: hover) {
    .site-header {
      backdrop-filter: blur(8px);
      background: rgba(14, 10, 11, 0.82);
    }
  }
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav .menu {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-user {
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--crimson-bright);
  font-size: 0.85rem;
  font-weight: 600;
}

.card__placeholder--video {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(180, 35, 58, 0.22), transparent 55%),
    linear-gradient(145deg, #1a1114, #0e0a0b);
}

.card__play {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(14, 10, 11, 0.65);
  color: var(--paper);
  font-size: 0.85rem;
  padding-left: 0.12rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--solid {
  background: var(--crimson);
  color: #fff;
}

.btn--solid:hover {
  background: var(--crimson-bright);
}

.btn--ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--crimson);
  color: #fff;
}

.hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: end;
  padding: clamp(1.6rem, 4vh, 2.4rem) var(--space) clamp(1.4rem, 3.5vh, 2rem);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 10%, rgba(9, 6, 7, 0.72) 88%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 36px,
      rgba(180, 35, 58, 0.035) 36px,
      rgba(180, 35, 58, 0.035) 37px
    );
  pointer-events: none;
}

.hero__copy {
  position: relative;
  max-width: 36rem;
  animation: rise 0.9s ease both;
}

.hero__brand {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 5vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--mute);
  max-width: 34ch;
}

.hero__lede {
  margin: 0 0 0.9rem;
  color: var(--paper);
  opacity: 0.9;
  max-width: 40ch;
  font-size: 0.92rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  animation: rise 1.1s ease both;
}

.gallery,
.site-main--single {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(1.35rem, 3.5vw, 2rem) var(--space) clamp(2rem, 4vw, 2.75rem);
}

.section-head {
  margin-bottom: 1rem;
  animation: rise 0.8s ease both;
}

.section-head h2 {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--mute);
  font-size: 0.9rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.card {
  animation: rise 0.7s ease both;
}

.card:nth-child(2) { animation-delay: 0.06s; }
.card:nth-child(3) { animation-delay: 0.12s; }
.card:nth-child(4) { animation-delay: 0.18s; }

.card__link {
  display: block;
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-2);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.card--locked .card__media img,
.card--locked .card__tease {
  filter: blur(6px) brightness(0.78) saturate(1);
  transform: scale(1.04);
}

.card__placeholder--locked {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 40%, rgba(180, 35, 58, 0.18), transparent 50%),
    linear-gradient(160deg, #241418, #0e0a0b 70%);
}

.card__lock-icon,
.drop__locked-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid rgba(214, 53, 76, 0.85);
  border-radius: 50%;
  position: relative;
  opacity: 0.95;
  background: rgba(14, 10, 11, 0.35);
}

.card__lock-icon::before,
.drop__locked-icon::before {
  content: "☺";
  position: static;
  left: auto;
  top: auto;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  transform: none;
  font-size: 1.55rem;
  line-height: 1;
  color: rgba(240, 168, 178, 0.95);
}

.drop__locked-icon {
  width: 3.25rem;
  height: 3.25rem;
}

.drop__locked-icon::before {
  font-size: 1.85rem;
  top: auto;
  width: auto;
  height: auto;
}

.drop__locked-media {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  margin-bottom: 1rem;
  background: #0e0a0b;
  border: 1px solid var(--line);
}

.drop__locked-blur-panel {
  display: grid;
  place-items: center;
  min-height: 200px;
  background:
    radial-gradient(700px 280px at 50% 30%, rgba(180, 35, 58, 0.18), transparent 60%),
    linear-gradient(180deg, #1a1114, #0e0a0b);
}

.drop__locked-blur {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  filter: blur(7.5px) brightness(0.78) saturate(0.95);
  transform: scale(1.06);
}

.drop__download {
  margin: 1rem 0 0;
}

.drop__image {
  width: 100%;
  height: auto;
  display: block;
}

.card__link:hover .card__media img {
  transform: scale(1.03);
}

.card--locked .card__link:hover .card__media img {
  transform: scale(1.06);
}

.card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1a1114, #0e0a0b);
}

.card__lock {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  padding: 0.28rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(14, 10, 11, 0.82);
  border: 1px solid rgba(180, 35, 58, 0.45);
  color: #f0a8b2;
}

.card__body {
  padding: 0.55rem 0.05rem 0;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.35rem 0.05rem 0;
}

.engagement-row {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.view-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  background: rgba(14, 10, 11, 0.45);
  color: var(--mute);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
}

.view-stat--single {
  min-height: 2.75rem;
  padding: 0.45rem 0.85rem;
}

.view-stat__icon::before {
  content: "◎";
  font-size: 0.95rem;
  line-height: 1;
  color: inherit;
}

.view-stat__count {
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.card__title {
  margin: 0 0 0.15rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.card__date {
  margin: 0;
  color: var(--mute);
  font-size: 0.78rem;
}

.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  min-width: 2.5rem;
  padding: 0.35rem 0.65rem;
  margin: 0;
  border: 1px solid rgba(214, 53, 76, 0.75);
  background: rgba(180, 35, 58, 0.28);
  color: #ffd0d7;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: inset 0 0 0 1px rgba(255, 120, 140, 0.12);
}

.like-btn:hover,
.like-btn:focus-visible {
  border-color: rgba(232, 90, 108, 0.95);
  background: rgba(180, 35, 58, 0.42);
  color: #fff;
}

.like-btn.is-liked {
  border-color: #e85a6c;
  background: rgba(214, 53, 76, 0.55);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(232, 90, 108, 0.25);
}

.like-btn.is-busy {
  opacity: 0.65;
}

.like-btn__heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  color: #ff6b7d;
}

.like-btn__heart::before {
  content: "♥";
}

.like-btn.is-liked .like-btn__heart {
  color: #fff;
}

.like-btn__count {
  color: inherit;
  font-variant-numeric: tabular-nums;
}

.like-btn--single {
  min-height: 2.75rem;
  padding: 0.45rem 0.85rem;
}

.drop__header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.drop__header-row .drop__meta {
  margin: 0;
}

.drop__gallery {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.drop__gallery--multi {
  gap: 1.25rem;
}

.drop__gallery .drop__download {
  margin: 0.55rem 0 0;
}

.drop__header {
  margin-bottom: 1rem;
}

.drop__meta {
  margin: 0 0 0.35rem;
  color: var(--mute);
  font-size: 0.82rem;
}

.drop__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.drop-meta-tier {
  margin: 0 0 0.55rem;
  color: var(--crimson-bright);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.drop__figure {
  margin: 0 0 1rem;
  overflow: hidden;
}

.drop__figure img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #050607;
}

.drop__content {
  max-width: 42rem;
  color: rgba(240, 232, 230, 0.92);
  font-size: 0.95rem;
}

.patreon-share {
  margin: 0.85rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(201, 162, 122, 0.45);
  background: rgba(26, 17, 20, 0.75);
  display: grid;
  gap: 0.45rem;
  justify-items: start;
}

.patreon-share__btn {
  background: #e85c4a !important;
  border-color: #e85c4a !important;
  color: #fff !important;
}

.patreon-share__btn:hover,
.patreon-share__btn:focus-visible {
  background: #f06a58 !important;
  border-color: #f06a58 !important;
}

.patreon-share__hint {
  margin: 0;
  color: var(--brass);
  font-size: 0.85rem;
  font-weight: 600;
}

.patreon-share__note {
  margin: 0;
  color: var(--mute);
  font-size: 0.8rem;
  line-height: 1.4;
  max-width: 36rem;
}

.lock-banner {
  margin-top: 1.25rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(180, 35, 58, 0.35);
  background: rgba(26, 17, 20, 0.92);
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.lock-banner p {
  margin: 0;
  color: var(--mute);
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem var(--space) 1.75rem;
}

.site-footer__brand {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer__note {
  margin: 0;
  color: var(--mute);
  font-size: 0.82rem;
}

.pagination {
  margin-top: 1.25rem;
}

.pagination .nav-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.empty-state {
  color: var(--mute);
  padding: 2rem 0;
}

.card__badge {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  padding: 0.3rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(12, 13, 15, 0.8);
  border: 1px solid var(--line);
  color: var(--paper);
}

.drop__video {
  margin: 0 0 1rem;
  background: #050607;
}

.drop__video video,
.drop__video .wp-video {
  width: 100%;
  max-width: 100%;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .site-nav .btn {
    min-height: 2.75rem;
    padding: 0.55rem 0.9rem;
  }

  .hero {
    min-height: auto;
    align-items: center;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.65rem;
  }

  .like-btn {
    min-height: 2.75rem;
    padding: 0.45rem 0.75rem;
  }

  .view-stat {
    min-height: 2.75rem;
    padding: 0.45rem 0.75rem;
  }

  .drop__figure img,
  .drop__image {
    max-height: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  .card__link:hover .card__media img {
    transform: none;
  }

  .btn,
  .tier-chip,
  .like-btn {
    min-height: 2.75rem;
  }
}
