:root {
  --bg: #f3f0eb;
  --surface: #f9f7f3;
  --ink: #171615;
  --muted: #736f6a;
  --faint: #aaa39b;
  --line: rgb(23 22 21 / 0.12);
  --accent: #6f5962;
  --accent-soft: #ddd2d6;
  --max: 1680px;
  --gutter: clamp(16px, 3.2vw, 54px);
  --serif: Georgia, 'Times New Roman', 'Songti SC', serif;
  --sans: Inter, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 500;
  padding: .7rem 1rem;
  background: var(--ink);
  color: white;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 74px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  background: rgb(243 240 235 / .88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(.9);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  width: fit-content;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brand-mark {
  position: relative;
  display: inline-block;
  width: 27px;
  height: 27px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}
.brand-mark i,
.brand-mark b {
  position: absolute;
  display: block;
  background: currentColor;
}
.brand-mark i { width: 1px; height: 15px; left: 8px; top: 6px; }
.brand-mark b { width: 10px; height: 1px; left: 8px; top: 20px; }
.brand-mark--large { width: 44px; height: 44px; margin-bottom: 1.25rem; }
.brand-mark--large i { height: 24px; left: 14px; top: 9px; }
.brand-mark--large b { width: 16px; left: 14px; top: 32px; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.6vw, 3rem); }
.desktop-nav a,
.desktop-nav button,
.lang-switch {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: .71rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}
.desktop-nav :is(a, button):hover,
.desktop-nav .is-active { color: var(--ink); }
.lang-switch { justify-self: end; border: 1px solid var(--line); border-radius: 999px; padding: .58rem .8rem; }

main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 7rem; }
.feed-head {
  min-height: 210px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  padding: clamp(3.5rem, 8vw, 7.5rem) 0 2.2rem;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  margin: 0 0 .8rem;
  color: var(--muted);
  font-size: .67rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.feed-head h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 6vw, 6.8rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.045em;
}
.feed-head__note { max-width: 27ch; margin: 0; color: var(--muted); line-height: 1.55; font-size: .88rem; }

.creator-rail { padding: 1.6rem 0 2rem; }
.section-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
.section-label h2 { margin: 0; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.section-label :is(button, a) { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .76rem; }
.creator-list { display: flex; gap: clamp(.95rem, 2.2vw, 1.8rem); overflow-x: auto; padding: .25rem .1rem .55rem; scrollbar-width: none; }
.creator-list::-webkit-scrollbar { display: none; }
.creator-chip { flex: 0 0 auto; display: grid; justify-items: center; gap: .6rem; width: 72px; border: 0; background: none; color: var(--muted); cursor: pointer; }
.creator-chip__avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: color-mix(in srgb, var(--avatar-tone) 28%, var(--surface));
  color: color-mix(in srgb, var(--avatar-tone) 76%, var(--ink));
  font-family: var(--serif);
  font-size: .9rem;
  transition: border-color .25s ease, transform .25s ease;
}
.creator-chip:hover .creator-chip__avatar,
.creator-chip.is-active .creator-chip__avatar { border-color: var(--accent); transform: scale(1.04); }
.creator-chip__name { max-width: 75px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .67rem; }

.collection-rail { padding: 0 0 2.3rem; }
.collection-list { display: flex; flex-wrap: wrap; gap: .65rem; }
.collection-list a {
  padding: .72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .67rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.collection-list a:hover { border-color: var(--accent); background: var(--surface); color: var(--ink); }

.feed-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.1rem, 2vw, 2.25rem) clamp(.8rem, 1.5vw, 1.6rem); }
.content-card { min-width: 0; }
.content-card__media { position: relative; display: block; overflow: hidden; background: #e7e1dc; }
.content-card__media img { width: 100%; height: auto; }
.content-card__media [hidden] { display: none !important; }
.media-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 280px;
  background:
    radial-gradient(circle at 72% 22%, rgb(255 255 255 / .45), transparent 30%),
    linear-gradient(145deg, color-mix(in srgb, var(--media-tone) 40%, #e9e2dc), color-mix(in srgb, var(--media-tone) 68%, #4b4445));
}
.media-placeholder::before {
  content: '';
  position: absolute;
  inset: 5%;
  border: 1px solid rgb(255 255 255 / .24);
}
.media-placeholder span { color: rgb(255 255 255 / .68); font-family: var(--serif); font-size: clamp(2rem, 5vw, 4.8rem); letter-spacing: -.06em; }
.content-card__media :is(img, .media-placeholder) { transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.content-card:hover .content-card__media :is(img, .media-placeholder) { transform: scale(1.025); }
.content-card__body { display: grid; grid-template-columns: 1fr auto; gap: .6rem 1rem; padding-top: .85rem; }
.content-card__creator { width: fit-content; font-family: var(--serif); font-size: 1.03rem; }
.content-card__stats { display: flex; gap: .7rem; color: var(--muted); font-size: .67rem; }
.content-card__stats[hidden] { display: none; }
.content-card__tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .45rem; }
.content-card__tags :is(span, a) { color: var(--muted); font-size: .64rem; }
.content-card__tags a:hover { color: var(--ink); }
.content-card__tags :is(span, a)::before { content: '#'; color: var(--faint); }

.feed-loader { min-height: 170px; display: grid; place-items: center; align-content: center; gap: .8rem; color: var(--muted); }
.feed-loader[hidden] { display: none; }
.feed-loader span { width: 24px; height: 24px; border: 1px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin 1s linear infinite; }
.feed-loader p, .feed-end p { margin: 0; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.feed-end { padding: 5rem 0 2rem; text-align: center; color: var(--muted); }
.text-button { margin-top: 1rem; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--ink); cursor: pointer; }
@keyframes spin { to { transform: rotate(360deg); } }

.tabbar { display: none; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .05em;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.profile-main,
.detail-main { padding-bottom: 8rem; }
.profile-hero {
  display: grid;
  grid-template-columns: clamp(180px, 20vw, 330px) minmax(0, 680px);
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
  min-height: 530px;
  padding: clamp(2rem, 5vw, 5rem) 0;
  border-bottom: 1px solid var(--line);
}
.profile-avatar {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgb(255 255 255 / .38), transparent 26%),
    color-mix(in srgb, var(--avatar-tone) 58%, var(--surface));
  color: rgb(255 255 255 / .72);
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 8.5rem);
  letter-spacing: -.07em;
}
.profile-avatar-image { width: 100%; height: auto; display: block; background: #e7e1dc; }
.profile-copy h1,
.detail-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 7.6rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.055em;
}
.profile-bio { max-width: 40ch; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.7; }
.profile-personality { margin: 1.4rem 0 0; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.profile-releases,
.related { padding-top: clamp(3rem, 7vw, 6rem); }
.section-label--large { padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.section-label--large span,
.section-label--large a { color: var(--muted); font-size: .7rem; }

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(270px, .65fr);
  align-items: start;
  gap: clamp(2.5rem, 7vw, 8rem);
  padding: clamp(1rem, 4vw, 4rem) 0 clamp(4rem, 8vw, 8rem);
  border-bottom: 1px solid var(--line);
}
.detail-media { min-width: 0; }
.detail-media__asset { width: 100%; height: auto; }
.detail-copy { position: sticky; top: 120px; padding-top: 1rem; }
.detail-copy h1 { font-size: clamp(3rem, 5.5vw, 6.6rem); }
.detail-summary { max-width: 39rem; margin-top: 1.1rem; color: var(--muted); line-height: 1.75; }
.detail-creator {
  display: flex;
  align-items: center;
  gap: .85rem;
  width: fit-content;
  margin-top: 2rem;
  font-family: var(--serif);
  font-size: 1rem;
}
.detail-creator small { display: block; margin-bottom: .2rem; color: var(--muted); font-family: var(--sans); font-size: .58rem; letter-spacing: .11em; text-transform: uppercase; }
.detail-creator__avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--avatar-tone) 35%, var(--surface));
  color: color-mix(in srgb, var(--avatar-tone) 78%, var(--ink));
  font-size: .66rem;
}
.detail-tags { display: flex; margin-top: 2rem; }
.detail-stats { display: flex; gap: 1.3rem; margin-top: 1rem; color: var(--muted); font-size: .72rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }

.directory-main { padding-bottom: clamp(5rem, 9vw, 10rem); }
.directory-hero {
  position: relative;
  max-width: 1050px;
  padding: clamp(3.5rem, 9vw, 8rem) 0 clamp(3rem, 7vw, 6rem);
}
.directory-hero h1,
.editorial-page h1 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.05em;
}
.directory-hero > p:not(.eyebrow) { max-width: 55ch; margin: 1.6rem 0 0; color: var(--muted); font-size: clamp(.95rem, 1.4vw, 1.2rem); line-height: 1.7; }
.directory-count { display: inline-block; margin-top: 1.4rem; color: var(--muted); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.directory-feed { padding-top: 2rem; border-top: 1px solid var(--line); }

.creator-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.creator-directory__card { min-width: 0; border-bottom: 1px solid var(--line); }
.creator-directory__card:nth-child(odd) { border-right: 1px solid var(--line); }
.creator-directory__card > a { display: grid; grid-template-columns: minmax(160px, .72fr) 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4.5rem); padding: clamp(1.4rem, 3vw, 3.2rem); }
.creator-directory__card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.creator-directory__card h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 4rem); font-weight: 400; letter-spacing: -.04em; }
.creator-directory__card h2 + p { margin: 1rem 0 0; color: var(--muted); line-height: 1.6; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; padding-top: clamp(3rem, 7vw, 6rem); }
.pagination a { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.pagination a:hover,
.pagination a.is-current { border-color: var(--accent); background: var(--ink); color: white; }

.editorial-page { max-width: 1040px; padding: clamp(3rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 8rem); }
.editorial-page h1 { max-width: 14ch; }
.editorial-page__lead { max-width: 44ch; margin: 2rem 0 clamp(4rem, 8vw, 7rem); color: var(--muted); font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.6rem); line-height: 1.35; }
.editorial-page section { display: grid; grid-template-columns: minmax(190px, .55fr) 1fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.editorial-page section h2 { margin: 0; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.editorial-page section p { max-width: 62ch; margin: 0; color: var(--muted); line-height: 1.75; }

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 5rem) var(--gutter) clamp(6rem, 9vw, 8rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  border-top: 1px solid var(--line);
}
.site-footer__brand { align-self: start; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem 1.5rem; }
.site-footer nav a { color: var(--muted); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }
.site-footer nav a:hover { color: var(--ink); }
.site-footer > p { grid-column: 1 / -1; margin: 1rem 0 0; color: var(--faint); font-size: .67rem; }
.noscript-link { padding: 2rem; text-align: center; }
.noscript-link a { border-bottom: 1px solid currentColor; }

.not-found { min-height: calc(100svh - 74px); display: grid; place-items: center; text-align: center; }
.not-found__inner { max-width: 600px; padding: 4rem 1rem; }
.not-found h1 { margin: 0; font-family: var(--serif); font-size: clamp(5rem, 18vw, 13rem); font-weight: 400; line-height: .8; }
.not-found p { margin: 2rem 0; color: var(--muted); }

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgb(19 17 18 / .94);
  color: #f6f1ed;
  backdrop-filter: blur(18px);
}
.age-gate__card { position: relative; width: min(100%, 520px); padding: clamp(2rem, 7vw, 4.8rem); border: 1px solid rgb(255 255 255 / .18); text-align: center; }
.age-gate__eyebrow { margin: 0 0 1rem; color: #b7acb0; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; }
.age-gate h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 6vw, 4rem); font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.age-gate h2 + p { margin: 1.4rem auto 0; max-width: 42ch; color: #bdb7b3; font-size: .84rem; line-height: 1.65; }
.age-gate__actions { display: flex; justify-content: center; gap: .75rem; margin-top: 2rem; }
.button { border: 1px solid #f3eee9; background: #f3eee9; color: #171515; padding: .85rem 1.25rem; cursor: pointer; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.button--quiet { background: transparent; color: #f3eee9; }
.lang-switch--gate { position: absolute; right: 1rem; top: 1rem; color: #d8d0cc; border-color: rgb(255 255 255 / .18); }
.exit-screen { min-height: 100svh; display: grid; place-content: center; text-align: center; }
.exit-screen p { text-transform: uppercase; letter-spacing: .2em; font-size: .7rem; }
.exit-screen h1 { font-family: var(--serif); font-weight: 400; }

@media (max-width: 1180px) {
  .feed-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .topbar { position: sticky; height: 60px; grid-template-columns: 1fr auto; padding-inline: 16px; }
  .desktop-nav { display: none; }
  .brand { font-size: .93rem; }
  .brand-mark { width: 22px; height: 22px; }
  .brand-mark i { height: 12px; left: 7px; top: 5px; }
  .brand-mark b { width: 8px; left: 7px; top: 16px; }
  main { padding-inline: 0; padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
  .feed-head { min-height: 155px; align-items: end; padding: 3.2rem 16px 1.6rem; }
  .feed-head h1 { font-size: clamp(2.7rem, 14vw, 4.6rem); }
  .feed-head__note { display: none; }
  .creator-rail { padding: 1.25rem 16px 1.5rem; }
  .collection-rail { padding: 0 16px 1.7rem; }
  .collection-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: none; }
  .collection-list::-webkit-scrollbar { display: none; }
  .collection-list a { flex: 0 0 auto; }
  .feed-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .content-card__body { padding: .85rem 16px 0; }
  .media-placeholder { min-height: 0; }
  .feed-loader { min-height: 130px; }
  .tabbar {
    position: fixed;
    inset: auto 0 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: .45rem 10px calc(.35rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgb(249 247 243 / .93);
    backdrop-filter: blur(18px);
  }
  .tabbar :is(button, a) { display: grid; justify-items: center; gap: .25rem; border: 0; background: none; color: var(--faint); font-size: .59rem; cursor: pointer; }
  .tabbar :is(button, a).is-active { color: var(--ink); }
  .tabbar__icon { position: relative; width: 20px; height: 20px; display: block; }
  .tabbar__icon--feed { border: 1.5px solid currentColor; border-radius: 50%; }
  .tabbar__icon--feed::after { content: ''; position: absolute; width: 4px; height: 4px; inset: 6.5px; border-radius: 50%; background: currentColor; }
  .tabbar__icon--people::before, .tabbar__icon--people::after { content: ''; position: absolute; border: 1.5px solid currentColor; border-radius: 50%; }
  .tabbar__icon--people::before { width: 7px; height: 7px; left: 6px; top: 1px; }
  .tabbar__icon--people::after { width: 16px; height: 8px; left: 2px; bottom: 1px; border-radius: 10px 10px 3px 3px; }
  .tabbar__icon--photo { border: 1.5px solid currentColor; }
  .tabbar__icon--photo::after { content: ''; position: absolute; width: 6px; height: 6px; border: 1.5px solid currentColor; border-radius: 50%; left: 5px; top: 5px; }
  .age-gate__actions { flex-direction: column; }
  .breadcrumb { padding-inline: 16px; }
  .profile-main,
  .detail-main { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
  .profile-hero { grid-template-columns: 1fr; min-height: 0; gap: 2rem; padding: 1.5rem 16px 3.5rem; }
  .profile-avatar,
  .profile-avatar-image { width: min(48vw, 200px); }
  .profile-copy h1 { font-size: clamp(3.6rem, 18vw, 6rem); }
  .profile-bio { margin-top: 1.3rem; }
  .profile-releases,
  .related { padding-top: 3rem; }
  .profile-releases .section-label,
  .related .section-label { margin-inline: 16px; }
  .detail-layout { grid-template-columns: 1fr; gap: 1.8rem; padding: .5rem 0 3.5rem; }
  .detail-copy { position: static; padding: 0 16px; }
  .detail-copy h1 { font-size: clamp(3.2rem, 16vw, 5.7rem); }
  .related-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .directory-main { padding-inline: 0; }
  .directory-hero { padding: 3rem 16px 3.5rem; }
  .directory-hero h1,
  .editorial-page h1 { font-size: clamp(3rem, 15vw, 5.4rem); }
  .directory-feed { padding-top: 0; }
  .creator-directory { grid-template-columns: 1fr; }
  .creator-directory__card:nth-child(odd) { border-right: 0; }
  .creator-directory__card > a { grid-template-columns: minmax(110px, .7fr) 1fr; gap: 1.3rem; padding: 1.2rem 16px; }
  .creator-directory__card h2 { font-size: clamp(2.1rem, 10vw, 3rem); }
  .creator-directory__card h2 + p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: .78rem; }
  .pagination { padding-inline: 16px; }
  .editorial-page { padding: 3rem 16px 5rem; }
  .editorial-page section { grid-template-columns: 1fr; gap: .8rem; }
  .site-footer { grid-template-columns: 1fr; padding: 2.5rem 16px calc(7rem + env(safe-area-inset-bottom)); }
  .site-footer nav { justify-content: flex-start; }
  .site-footer > p { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
