﻿:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --ink: #151515;
  --accent: #4b4b4b;
  --muted: #666666;
  --line: #151515;
  --soft-line: #cfcfcb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-frame {
  width: min(1240px, calc(100% - 40px));
  margin: 24px auto 0;
}

.feed-body .page-frame {
  margin-top: 0;
}

.site-header,
.footer,
.editorial-intro,
.gallery-strip,
.feature-band,
.publishing {
  border-top: 1px solid var(--soft-line);
}

.site-header {
  position: static;
  background: rgba(255, 255, 255, 0.98);
  border-top: 0;
  border-bottom: 1px solid var(--soft-line);
}

.header-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.language-bar {
  order: 2;
  padding: 12px 0;
  border-bottom: 1px solid var(--soft-line);
  display: flex;
  justify-content: flex-end;
}

.language-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-user-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-top,
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}

.header-main {
  order: 1;
  border-top: 0;
  border-bottom: 1px solid var(--soft-line);
  padding-top: 0;
  padding-bottom: 14px;
}

.header-top {
  order: 3;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo {
  width: min(220px, 42vw);
  height: auto;
  display: block;
}

.header-search {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  width: min(100%, 520px);
  margin-left: auto;
}

.language-dropdown {
  position: relative;
  z-index: 40;
}

.notification-dropdown {
  position: relative;
  display: inline-flex;
}

.message-toggle {
  position: relative;
}

.user-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--soft-line);
  color: var(--ink);
}

.header-utility-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--soft-line);
  color: var(--ink);
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--soft-line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.globe-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.language-current {
  color: var(--ink);
}

.language-toggle:focus,
.lang-button:focus {
  outline: none;
}

.language-switcher {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 188px;
  width: max-content;
  overflow: hidden;
  display: grid;
  background: #ffffff;
  border: 1px solid var(--soft-line);
  z-index: 10;
}

.language-switcher[hidden] {
  display: none;
}

.lang-button {
  display: flex;
  align-items: center;
  min-height: 38px;
  width: 100%;
  padding: 0 12px;
  border: 0;
  border-top: 1px solid var(--soft-line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
}

.lang-button:first-child {
  border-top: 0;
}

.lang-button.is-active {
  background: var(--ink);
  color: #ffffff;
}

.header-search-input,
.header-search-button,
.header-nav a,
.section-kicker {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.brand-caption {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.82rem;
}

.header-search-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 62px;
  padding: 0 18px;
  border: 1px solid var(--soft-line);
  border-right: 0;
  background: #ffffff;
  color: var(--ink);
}

.header-search-input::placeholder {
  color: var(--muted);
}

.header-search-input:hover,
.header-search-input:focus {
  outline: none;
  border-color: var(--soft-line);
}

.header-search-button {
  width: 62px;
  min-width: 62px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

.header-search-button:hover,
.header-search-button:focus {
  outline: none;
  border-color: var(--soft-line);
}

.header-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 28px);
  min-width: 0;
  white-space: nowrap;
}

.header-nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  line-height: 1;
}

.category-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.category-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  line-height: 1;
  list-style: none;
  text-transform: uppercase;
}

.category-menu summary::-webkit-details-marker {
  display: none;
}

.category-menu summary:focus {
  outline: none;
}

.category-menu summary i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  font-size: 0.72rem;
  transition: transform 160ms ease;
}

.category-menu[open] summary i {
  transform: rotate(180deg);
}

.category-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 45;
  display: grid;
  min-width: 230px;
  max-width: min(320px, calc(100vw - 40px));
  border: 1px solid var(--soft-line);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.category-menu-panel a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-top: 1px solid var(--soft-line);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-menu-panel a:first-child {
  border-top: 0;
}

.category-menu-panel a:hover,
.category-menu-panel a:focus-visible {
  background: var(--ink);
  color: #ffffff;
  outline: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  background: var(--paper);
}

.eyebrow,
.label {
  margin: 0 0 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-statement h1,
.feature-large h2,
.publishing h2 {
  margin: 0;
  max-width: 980px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.lead,
.publishing p,
.gallery-strip p,
.footer p,
.footer a {
  font-size: 1rem;
  line-height: 1.7;
}

.hero-statement,
.hero-panel {
  padding: 40px 36px;
}

.hero-panel {
  border-left: 1px solid var(--soft-line);
}

.lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

.hero-statement h1 {
  margin: 0 0 18px;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.ticker-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticker-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.ticker-link strong {
  color: var(--ink);
}

.header-utility-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.header-utility-button {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  margin: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.notification-toggle {
  position: relative;
  border: 1px solid var(--soft-line);
  background: #ffffff;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ff0000;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
}

.message-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ff0000;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.notification-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 24px));
  border: 1px solid var(--soft-line);
  background: #ffffff;
  z-index: 30;
}

.notification-panel[hidden] {
  display: none;
}

.notification-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--soft-line);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notification-list {
  display: grid;
}

.notification-item {
  position: relative;
  display: block;
  padding: 14px 16px;
  padding-right: 56px;
  border-top: 1px solid var(--soft-line);
}

.notification-item:first-child {
  border-top: 0;
}

.notification-item-link {
  display: grid;
  gap: 6px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.notification-item-title {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notification-item-body,
.notification-empty {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.notification-item-meta {
  color: var(--accent);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.notification-empty {
  padding: 16px;
}

.notification-clear-form,
.notification-delete-form {
  margin: 0;
}

.notification-delete-form {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
}

.notification-clear-button,
.notification-delete-button {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--soft-line);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.notification-clear-button {
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notification-delete-button {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
}

.header-utility-button-danger {
  background: #ff0000;
  border-color: #ff0000;
  color: #ffffff;
}

.header-utility-button-danger:hover,
.header-utility-button-danger:focus-visible {
  background: #ff0000;
  border-color: #ff0000;
  color: #ffffff;
}

.ticker-link span {
  color: var(--muted);
}

.ticker-list li {
  padding: 16px 0;
  border-top: 1px solid var(--soft-line);
  line-height: 1.6;
}

.ticker-list li:last-child {
  border-bottom: 1px solid var(--soft-line);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid var(--line);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-light {
  background: transparent;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 24px;
  background: var(--paper);
}

.slider-section {
  margin-top: 24px;
  padding: 32px 36px;
  border-top: 1px solid var(--soft-line);
  background: var(--paper);
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.slider-controls {
  display: flex;
  gap: 8px;
}

.slider-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.slider-button:focus {
  outline: none;
}

.slider-track {
  display: grid;
}

.slide-card {
  display: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
  padding-top: 28px;
  border-top: 1px solid var(--soft-line);
}

.slide-card.is-active {
  display: grid;
}

.slide-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--soft-line);
}

.slide-copy {
  display: grid;
  align-content: start;
}

.slide-index {
  display: block;
  margin-bottom: 16px;
  font-size: 2rem;
  font-weight: 800;
}

.slide-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.slide-card p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.slide-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-height: 42px;
  margin-top: 22px;
  padding: 0 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #ffffff;
}

.slide-link:hover,
.slide-link:focus-visible {
  outline: none;
  background: var(--ink);
  color: #ffffff;
}

.editorial-intro,
.gallery-strip article,
.feature-large,
.feature-item,
.publishing-copy,
.publishing-stats,
.publishing-stats div,
.footer {
  padding: 32px 36px;
}

.gallery-strip article + article,
.publishing-stats div + div {
  border-left: 1px solid var(--soft-line);
}

.gallery-strip span,
.publishing-stats strong {
  display: block;
  margin-bottom: 18px;
  font-size: 2rem;
  font-weight: 800;
}

.gallery-strip h2,
.feature-item h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.editorial-intro {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  align-items: end;
  gap: 32px;
  margin-top: 24px;
  background: var(--paper);
}

.artists-section {
  margin-top: 24px;
  padding: 32px 36px;
  border-top: 1px solid var(--soft-line);
  background: var(--paper);
}

.home-explore-section {
  margin-top: 24px;
  padding: 32px 36px;
  border-top: 1px solid var(--soft-line);
  background: var(--paper);
}

.home-explore-header {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.home-explore-header h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.home-explore-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--soft-line);
}

.home-explore-card {
  min-width: 0;
  padding: 24px 16px 0 0;
}

.home-explore-card + .home-explore-card {
  border-left: 1px solid var(--soft-line);
  padding-left: 16px;
}

.home-explore-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
  border: 1px solid var(--soft-line);
  background: #f6f4ef;
}

.home-explore-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-explore-copy {
  display: grid;
  gap: 10px;
}

.home-explore-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-explore-copy h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.home-explore-copy h3 a {
  color: var(--ink);
  text-decoration: none;
}

.home-explore-copy h3 a:hover,
.home-explore-copy h3 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-explore-copy span,
.home-explore-empty p {
  color: var(--muted);
  line-height: 1.7;
}

.home-explore-empty {
  grid-column: 1 / -1;
  padding: 24px 0 0;
}

.home-explore-empty h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.blog-hero-slider,
.blog-strip-slider,
.blog-feature-slider,
.blog-grid-section {
  background: var(--paper);
}

.blog-hero-slider {
  position: relative;
  border-top: 1px solid var(--soft-line);
}

.blog-hero-topline {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 36px;
  border-bottom: 0;
  color: #ffffff;
}

.blog-hero-topline .label {
  margin: 0;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
}

.blog-hero-topline .slider-button {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.24);
  color: #ffffff;
}

.blog-hero-topline .slider-button:hover,
.blog-hero-topline .slider-button:focus-visible {
  background: #ffffff;
  color: var(--ink);
}

.blog-strip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 36px;
  border-bottom: 1px solid var(--soft-line);
}

.blog-strip-head .label {
  margin: 0;
}

.blog-strip-head a {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.blog-hero-card {
  position: relative;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: end;
  min-height: clamp(460px, 62vw, 760px);
  padding: 0;
  border-top: 0;
  overflow: hidden;
  background: #111111;
  color: #ffffff;
}

.blog-hero-media {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  overflow: hidden;
  border: 0;
  background: #f6f4ef;
}

.blog-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.36) 46%, rgba(0, 0, 0, 0.08) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.08) 62%);
}

.blog-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(460px, 62vw, 760px);
  object-fit: cover;
}

.blog-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 20px;
  width: min(760px, 76%);
  padding: clamp(28px, 5vw, 70px);
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.36);
}

.blog-hero-copy > span {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.blog-hero-copy h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 0.98;
}

.blog-hero-copy h1 a {
  color: inherit;
  text-decoration: none;
}

.blog-hero-copy .slide-link {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.22);
  color: #ffffff;
  text-shadow: none;
}

.blog-hero-copy .slide-link:hover,
.blog-hero-copy .slide-link:focus-visible {
  background: #ffffff;
  color: var(--ink);
}

.blog-strip-slider {
  margin-top: 24px;
  border-top: 1px solid var(--soft-line);
}

.blog-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.blog-strip-card {
  min-width: 0;
  border-right: 1px solid var(--soft-line);
}

.blog-strip-card:last-child {
  border-right: 0;
}

.blog-strip-card a {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 14px;
  height: 100%;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
}

.blog-strip-media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  background: #f6f4ef;
}

.blog-strip-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  transform-origin: center;
}

.blog-strip-card a > span:not(.blog-strip-media) {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.blog-strip-card strong {
  font-size: 1rem;
  line-height: 1.25;
}

.blog-feature-slider .slide-card p {
  display: none;
}

.blog-feature-slider .slide-card {
  align-items: stretch;
}

.blog-feature-slider .slide-image {
  width: 100%;
  height: 100%;
  max-height: 560px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: transparent;
}

.blog-grid-section .home-explore-copy span,
.blog-grid-section .home-explore-header h2 {
  display: none;
}

.artists-header {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.artists-intro {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--soft-line);
}

.search-results-block {
  margin-bottom: 24px;
}

.search-results-subhead {
  margin-top: 20px;
}

.search-artist-grid {
  margin-top: 0;
}

.artist-card {
  padding: 24px 20px 0 0;
}

.artist-card + .artist-card {
  border-left: 1px solid var(--soft-line);
  padding-left: 24px;
}

.artist-index {
  display: block;
  margin-bottom: 18px;
  font-size: 1.2rem;
  font-weight: 800;
}

.artist-avatar {
  display: block;
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  object-fit: cover;
}

.artist-card h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  line-height: 1.1;
}

.artist-name-link {
  color: inherit;
  text-decoration: none;
}

.artist-name-link:hover,
.artist-name-link:focus-visible {
  outline: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.artist-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.artist-link {
  display: inline-flex;
  margin-top: 18px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.artist-follow-form {
  display: flex;
  margin-top: 18px;
}

.artist-follow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.artist-follow-form .artist-follow-button,
.portfolio-follow-actions .artist-follow-button {
  margin-top: 0;
}

.artist-follow-button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.portfolio-follow-actions {
  display: flex;
  margin-top: 20px;
}

.portfolio-page {
  padding: 48px 0 80px;
}

.portfolio-cover {
  border-top: 1px solid var(--soft-line);
  background: var(--paper);
}

.portfolio-cover-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 5;
  object-fit: cover;
}

.portfolio-cover-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 5;
  background:
    linear-gradient(135deg, rgba(255, 0, 0, 0.12), rgba(17, 17, 17, 0.08)),
    linear-gradient(180deg, #f6f1ea, #ebe4da);
}

.portfolio-cover-fallback span {
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  letter-spacing: 0.03em;
}

.content-page {
  padding: 48px 0 80px;
}

.portfolio-back-link {
  margin-bottom: 18px;
}

.portfolio-hero,
.portfolio-body,
.portfolio-works {
  background: var(--paper);
}

.content-hero,
.content-body,
.content-editorial,
.content-media,
.content-recommendations,
.content-next {
  background: var(--paper);
}

.portfolio-hero {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  border-top: 1px solid var(--soft-line);
}

.portfolio-identity {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.portfolio-avatar {
  width: 112px;
  height: 112px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.portfolio-avatar span {
  color: var(--muted);
  font-size: 2rem;
  font-weight: 700;
}

.portfolio-avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-hero {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--soft-line);
}

.portfolio-hero-copy,
.portfolio-hero-meta,
.portfolio-statement,
.portfolio-summary,
.portfolio-work-card {
  padding: 34px 36px;
}

.content-hero-copy,
.content-hero-meta,
.content-statement,
.content-summary {
  padding: 34px 36px;
}

.portfolio-hero-copy h1,
.portfolio-statement h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.content-hero-copy h1,
.content-statement h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.portfolio-hero-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5.2vw, 5.2rem);
}

.portfolio-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.portfolio-stat-card {
  border: 1px solid var(--soft-line);
  padding: 16px 18px;
  background: var(--paper-alt);
}

.portfolio-stat-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--ink);
}

.portfolio-stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.content-hero-copy h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 5.2vw, 5.2rem);
}

.content-share {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--soft-line);
}

.content-share-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.content-share-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.content-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.content-share a:hover,
.content-share a:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
  transform: translateY(-1px);
}

.content-share i {
  display: block;
  font-size: 1rem;
  line-height: 1;
}

.portfolio-hero-meta {
  display: grid;
  align-content: start;
  border-left: 1px solid var(--soft-line);
}

.content-hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  align-content: start;
  gap: 0;
  border-top: 1px solid var(--soft-line);
  border-left: 0;
}

.portfolio-meta-item + .portfolio-meta-item {
  border-top: 1px solid var(--soft-line);
  padding-top: 18px;
  margin-top: 18px;
}

.content-meta-item + .content-meta-item {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.content-meta-item {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 68px;
  padding: 12px 18px;
  border: 0;
  border-left: 1px solid var(--soft-line);
}

.content-meta-item:first-child {
  border-left: 0;
}

.content-meta-item .portfolio-meta-label {
  margin-bottom: 0;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.content-meta-item strong {
  font-size: 0.82rem;
  line-height: 1.2;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.content-producer-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.content-producer-link strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.content-producer-link.is-static {
  cursor: default;
}

.content-producer-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: #f4efe4;
  color: var(--ink);
  overflow: hidden;
  flex: 0 0 auto;
}

.content-producer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content-producer-avatar span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.portfolio-meta-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portfolio-meta-item strong,
.portfolio-summary-list strong {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 700;
}

.portfolio-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  border-top: 1px solid var(--soft-line);
}

.content-body {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--soft-line);
}

.portfolio-statement {
  border-right: 1px solid var(--soft-line);
}

.content-statement {
  border-right: 0;
}

.portfolio-statement h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.content-statement h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.portfolio-statement p,
.portfolio-summary-list span,
.portfolio-summary-list strong,
.portfolio-work-card p,
.portfolio-section-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.content-statement p,
.content-summary-list span,
.content-summary-list strong {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.portfolio-statement p + p {
  margin-top: 18px;
}

.content-statement p + p {
  margin-top: 18px;
}

.content-editor-html {
  display: grid;
  gap: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.content-editor-html h1,
.content-editor-html h2,
.content-editor-html h3,
.content-editor-html h4,
.content-editor-html h5,
.content-editor-html h6,
.content-editor-html p,
.content-editor-html blockquote,
.content-editor-html pre,
.content-editor-html ul,
.content-editor-html ol,
.content-editor-html hr {
  margin: 0;
}

.content-editor-html h1,
.content-editor-html h2,
.content-editor-html h3,
.content-editor-html h4,
.content-editor-html h5,
.content-editor-html h6 {
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.25;
}

.content-editor-html p,
.content-editor-html h1 p,
.content-editor-html h2 p,
.content-editor-html h3 p,
.content-editor-html h4 p,
.content-editor-html h5 p,
.content-editor-html h6 p {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
}

.content-editor-html h1 {
  font-size: 2.45rem;
}

.content-editor-html h2 {
  font-size: 2.05rem;
}

.content-editor-html h3 {
  font-size: 1.7rem;
}

.content-editor-html h4 {
  font-size: 1.4rem;
}

.content-editor-html h5,
.content-editor-html h6 {
  font-size: 1.15rem;
}

.content-editor-html h6 {
  font-size: 1rem;
  color: var(--muted);
}

.content-editor-html blockquote {
  border-left: 2px solid var(--ink);
  padding-left: 18px;
}

.content-editor-html pre {
  overflow-x: auto;
  padding: 14px;
  border: 1px solid var(--soft-line);
  background: #f7f7f4;
  color: var(--ink);
  font-family: "Courier New", monospace;
  font-size: 0.92rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.content-editor-html code {
  font-family: "Courier New", monospace;
}

.content-editor-html hr {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--soft-line);
}

.content-editor-html ul,
.content-editor-html ol {
  padding-left: 22px;
}

.content-editor-html a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.portfolio-summary {
  display: grid;
  align-content: start;
}

.content-summary {
  display: grid;
  align-content: start;
  border-top: 1px solid var(--soft-line);
}

.portfolio-summary-list {
  display: grid;
  gap: 0;
}

.content-summary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--soft-line);
}

.portfolio-summary-list div + div {
  border-top: 1px solid var(--soft-line);
}

.content-summary-list div + div {
  border-top: 0;
}

.portfolio-summary-list div {
  padding: 16px 0;
}

.content-summary-list div {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 68px;
  padding: 12px 18px;
  border-left: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.content-summary-list div:nth-child(3n + 1) {
  border-left: 0;
}

.portfolio-summary-list span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-summary-list span {
  display: block;
  margin-bottom: 0;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
}

.portfolio-summary-list strong {
  color: var(--ink);
}

.portfolio-summary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.portfolio-summary-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--soft-line);
  color: var(--ink);
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.portfolio-summary-links a:hover,
.portfolio-summary-links a:focus-visible {
  background: var(--paper-alt);
  border-color: var(--ink);
}

.content-summary-list strong {
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1.2;
}

@media (max-width: 960px) {
  .content-summary-list {
    grid-template-columns: 1fr;
  }

  .content-summary-list div,
  .content-summary-list div:nth-child(3n + 1) {
    border-left: 0;
  }

  .content-video-controls {
    grid-template-columns: auto auto 1fr auto;
    gap: 10px;
    padding: 46px 14px 14px;
  }

  .content-audio-controls {
    grid-template-columns: auto auto 1fr auto;
    gap: 10px;
  }

  .content-video-meta {
    font-size: 0.85rem;
  }

  .content-video-volume {
    left: 50%;
    bottom: calc(100% + 2px);
    transform: translateX(-50%);
    width: 10px;
    height: 120px;
  }

  .content-recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-recommendation-card,
  .content-recommendation-card:first-child {
    border-left: 0;
    border-top: 1px solid var(--soft-line);
  }

  .content-recommendation-card:nth-child(-n + 2) {
    border-top: 0;
  }

  .content-recommendation-card:nth-child(2n) {
    border-left: 1px solid var(--soft-line);
  }
}

.content-next {
  margin-top: 24px;
  border-top: 1px solid var(--soft-line);
}

.content-editorial,
.content-media,
.content-recommendations {
  margin-top: 24px;
}

.content-slider-section {
  padding: 30px 36px 0;
}

.content-slider-section-top {
  display: grid;
  justify-items: center;
  border-top: 1px solid var(--soft-line);
  background: var(--paper);
}

.content-slider-section-top .slider-header,
.content-slider-section-top .slider-track {
  width: min(100%, 980px);
}

.content-slider-section-top .slider-header {
  margin-bottom: 18px;
}

.content-slider-section-top .slide-card {
  grid-template-columns: 1fr;
  padding-top: 0;
  border-top: 0;
}

.content-editor-render {
  padding: 0 36px 36px;
  color: var(--ink);
  line-height: 1.8;
}

.content-editor-render h2,
.content-editor-render h3 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  line-height: 1.05;
  font-weight: 600;
}

.content-editor-render h2 {
  font-size: 2.2rem;
}

.content-editor-render h3 {
  font-size: 1.6rem;
}

.content-editor-render p,
.content-editor-render ul,
.content-editor-render ol,
.content-editor-render blockquote {
  margin: 0 0 16px;
}

.content-editor-render blockquote {
  padding-left: 16px;
  border-left: 1px solid var(--soft-line);
  color: var(--muted);
}

.content-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.content-media-card {
  display: grid;
  gap: 14px;
  padding: 24px 36px;
  align-content: start;
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.015), rgba(21, 21, 21, 0)),
    #ffffff;
}

.content-media-card-video {
  grid-column: 1 / -1;
}

.content-media-card-audio {
  grid-column: 1 / -1;
}

.content-media-card-documents {
  grid-column: 1 / -1;
}

.content-media-card + .content-media-card {
  border-left: 1px solid var(--soft-line);
}

.content-media-card-video + .content-media-card {
  border-left: 0;
  border-top: 1px solid var(--soft-line);
}

.content-media-card-audio + .content-media-card {
  border-left: 0;
  border-top: 1px solid var(--soft-line);
}

.content-recommendations {
  border-top: 1px solid var(--soft-line);
}

.content-recommendations .dashboard-block-head {
  padding: 28px 36px;
  border-bottom: 1px solid var(--soft-line);
}

.content-recommendation-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.content-recommendation-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  border-left: 1px solid var(--soft-line);
  background: #ffffff;
}

.content-recommendation-card:first-child {
  border-left: 0;
}

.content-recommendation-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--soft-line);
  background:
    linear-gradient(135deg, rgba(21, 21, 21, 0.05), rgba(21, 21, 21, 0.01)),
    #f6f4ef;
}

.content-recommendation-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-recommendation-body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px 20px 24px;
}

.content-recommendation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.content-recommendation-body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.content-recommendation-body h3 a {
  color: var(--ink);
  text-decoration: none;
}

.content-recommendation-body h3 a:hover,
.content-recommendation-body h3 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.content-recommendation-body p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.content-media-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px;
}

.content-media-list-players {
  display: grid;
  width: 100%;
}

.content-media-list-documents {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  width: 100%;
}

.content-download-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
  width: fit-content;
  max-width: 100%;
}

.content-download-link:first-child {
  padding-top: 12px;
  border-top: 1px solid var(--soft-line);
}

.content-download-link span {
  color: var(--ink);
  line-height: 1.6;
}

.content-download-link i {
  color: var(--muted);
  font-size: 0.78rem;
}

.content-media-list span {
  color: var(--muted);
  line-height: 1.7;
}

.content-player-block {
  display: grid;
  gap: 12px;
  width: 100%;
}

.content-video-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #262320 0%, #151515 100%);
  box-shadow: 0 16px 32px rgba(21, 21, 21, 0.14);
}

.content-audio-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  background: #ffffff;
  box-shadow: 0 16px 32px rgba(21, 21, 21, 0.08);
  min-height: 156px;
  padding: 68px 18px 18px;
  width: 100%;
}

.content-video-filename {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  max-width: min(70%, 420px);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(21, 21, 21, 0.68);
  backdrop-filter: blur(10px);
}

.content-video-filename span {
  display: block;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  word-break: break-word;
}

.content-audio-filename {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  max-width: min(70%, 420px);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(21, 21, 21, 0.68);
  backdrop-filter: blur(10px);
}

.content-audio-filename span {
  display: block;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  word-break: break-word;
}

.content-video-player,
.content-audio-player {
  display: block;
  width: 100%;
}

.content-video-player {
  aspect-ratio: 16 / 9;
  background: #111111;
  object-fit: contain;
  object-position: center;
}

.content-audio-player {
  display: none;
}

.content-video-shell.is-ready .content-video-player {
  cursor: pointer;
}

.content-video-overlay-toggle {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(21, 21, 21, 0.62);
  color: #f8f6f1;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(21, 21, 21, 0.24);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
  z-index: 3;
  cursor: pointer;
}

.content-video-overlay-toggle i {
  font-size: 1.1rem;
}

.content-video-shell.is-playing .content-video-overlay-toggle {
  opacity: 0;
  pointer-events: none;
}

.content-video-shell:hover .content-video-overlay-toggle,
.content-video-shell:focus-within .content-video-overlay-toggle {
  opacity: 1;
  pointer-events: auto;
}

.content-video-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 56px 18px 18px;
  background: linear-gradient(180deg, rgba(21, 21, 21, 0), rgba(21, 21, 21, 0.92));
  z-index: 2;
}

.content-audio-controls {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.content-video-control-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ff0000;
  border-radius: 999px;
  background: #ff0000;
  color: #f8f6f1;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.content-video-control-button:hover,
.content-video-control-button:focus-visible,
.content-video-overlay-toggle:hover,
.content-video-overlay-toggle:focus-visible {
  background: #ff0000;
  border-color: #ffffff;
}

.content-video-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(21, 21, 21, 0.12);
  background: #ffffff;
  color: #151515;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.content-video-audio-stack {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.content-video-timeline {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #f4efe4;
  box-shadow: inset 0 0 0 1px rgba(21, 21, 21, 0.12);
  overflow: hidden;
  cursor: pointer;
}

.content-video-buffer,
.content-video-progress {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
}

.content-video-buffer {
  background: #d7cec0;
}

.content-video-progress {
  background: #ff0000;
}

.content-video-volume {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 10px;
  height: 132px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 4;
}

.content-video-volume-fill {
  position: absolute;
  inset: auto 0 0 0;
  height: 100%;
  border-radius: 0 0 999px 999px;
  background: #ff0000;
  pointer-events: none;
}

.content-video-volume-range {
  position: absolute;
  inset: 0;
  width: 10px;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  writing-mode: bt-lr;
  -webkit-appearance: slider-vertical;
  appearance: slider-vertical;
}

.content-video-audio-stack:hover .content-video-volume,
.content-video-audio-stack:focus-within .content-video-volume,
.content-video-volume.is-active {
  opacity: 1;
  pointer-events: auto;
}

.content-audio-player {
  min-height: 54px;
  border: 1px solid var(--soft-line);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 45%),
    #111111;
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.12);
}

.content-download-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
}

.content-download-link span {
  color: var(--ink);
  line-height: 1.6;
  word-break: break-word;
}

.content-download-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.content-download-label > i {
  color: var(--ink);
  font-size: 1rem;
  flex: 0 0 auto;
}

.content-download-label > span {
  min-width: 0;
}

.content-download-note {
  padding: 14px 16px;
  border: 1px solid var(--soft-line);
  background: #f8f6f1;
}

.content-download-note span {
  color: var(--muted);
  line-height: 1.7;
}

.content-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 36px 36px;
}

.content-list-link {
  display: inline-flex;
}

.portfolio-works {
  margin-top: 24px;
  border-top: 1px solid var(--soft-line);
}

.portfolio-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding: 30px 36px 0;
}

.portfolio-section-note {
  max-width: 560px;
}

.portfolio-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
}

.portfolio-work-card + .portfolio-work-card {
  border-left: 1px solid var(--soft-line);
}

.portfolio-work-card h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
}

.portfolio-work-media {
  display: block;
  margin: -34px -36px 22px;
  overflow: hidden;
  border-bottom: 1px solid var(--soft-line);
  aspect-ratio: 16 / 9;
  background: #f6f4ef;
}

.portfolio-work-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-work-link {
  display: inline-flex;
}

.portfolio-work-meta {
  margin-bottom: 14px !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.editorial-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.98;
  font-weight: 600;
}

.editorial-meta {
  display: grid;
  gap: 18px;
}

.editorial-meta p,
.editorial-meta a {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.editorial-meta a {
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.feature-band {
  display: grid;
  grid-template-columns: 2fr 1fr;
  margin-top: 24px;
  background: var(--paper);
}

.feature-large {
  border-right: 1px solid var(--soft-line);
}

.feature-large h2 {
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  margin-bottom: 18px;
}

.feature-item p,
.feature-large p,
.publishing p,
.gallery-strip p {
  margin: 0;
  color: var(--muted);
}

.feature-list {
  display: grid;
}

.feature-item + .feature-item {
  border-top: 1px solid var(--soft-line);
}

.publishing {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  margin-top: 24px;
  background: var(--paper);
}

.publishing-copy {
  border-right: 1px solid var(--soft-line);
}

.publishing-stats {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
}

.publishing-stats span {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.86rem;
}

.footer {
  display: grid;
  gap: 32px;
  margin-top: 24px;
  background: #ffffff;
  width: 100%;
}

.footer-shell {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 36px 36px 28px;
}

.footer-lead {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding-bottom: 8px;
}

.footer-logo {
  width: 170px;
  height: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.footer-grid-compact {
  grid-template-columns: minmax(220px, 0.9fr) minmax(240px, 0.9fr) minmax(320px, 1.2fr);
  align-items: start;
  gap: 40px;
}

.footer-grid section {
  display: grid;
  gap: 12px;
}

.footer-brand {
  gap: 18px;
  align-content: start;
}

.footer-brand-text {
  max-width: 260px;
}

.footer-contact,
.footer-newsletter {
  align-content: start;
}

.footer-title {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.footer-grid a,
.footer-grid span,
.footer-grid p,
.footer-bottom span {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.footer-cta {
  color: var(--ink) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--line);
  border-left: 0;
  background: transparent;
  min-height: 46px;
  padding: 0 18px;
  font: inherit;
  cursor: pointer;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  align-items: stretch;
  margin-bottom: 12px;
}

.newsletter-form-hidden {
  display: none;
}

.newsletter-form input {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-right: 0;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.newsletter-form input::placeholder {
  color: var(--muted);
}

.newsletter-form input:focus {
  outline: none;
  border: 1px solid var(--line);
  border-right: 0;
}

.newsletter-form input:hover,
.newsletter-form input:active {
  outline: none;
  border: 1px solid var(--line);
  border-right: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 17, 17, 0.16);
}

@media (max-width: 1024px) {
  .footer-grid-compact {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .footer-shell {
    padding: 28px 20px 22px;
  }

  .footer-grid-compact {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 28px;
  }
}

.footer p,
.footer a {
  margin: 0;
}

.login-page {
  display: grid;
  min-height: calc(100vh - 220px);
  padding: 48px 0;
}

.dashboard-page {
  display: grid;
  min-height: calc(100vh - 220px);
  padding: 48px 0;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.dashboard-main {
  display: grid;
  gap: 24px;
}

.dashboard-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: transparent;
}

.dashboard-menu-item {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 18px 20px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
}

.dashboard-menu-item span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-menu-item i {
  font-size: 1rem;
  color: var(--muted);
}

.dashboard-menu-item strong {
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 700;
}

.dashboard-menu-item.is-active {
  background: #ff0000;
}

.dashboard-menu-item.is-active span,
.dashboard-menu-item.is-active i,
.dashboard-menu-item.is-active strong {
  color: #ffffff;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.dashboard-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-settings-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
  align-items: start;
}

.dashboard-block {
  padding: 32px 36px;
  border: 0;
  background: #ffffff;
}

.dashboard-hero-block {
  display: grid;
  gap: 18px;
  padding: 22px 24px;
}

.dashboard-hero-block h1 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  font-weight: 600;
}

.dashboard-hero-block .lead {
  max-width: 680px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.dashboard-hero-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 12px;
  align-items: end;
}

.dashboard-hero-cover,
.dashboard-hero-avatar {
  border: 1px solid var(--soft-line);
  background: #ffffff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.dashboard-hero-cover {
  min-height: 140px;
}

.dashboard-hero-avatar {
  width: 120px;
  height: 120px;
}

.dashboard-hero-cover span,
.dashboard-hero-avatar span {
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-hero-cover-image,
.dashboard-hero-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dashboard-hero-copy {
  display: grid;
  gap: 10px;
}

.dashboard-block-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.dashboard-block-head h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  font-weight: 600;
}

.dashboard-quick-search {
  display: flex;
  align-items: stretch;
  width: min(100%, 520px);
  margin: 0 0 22px;
}

.dashboard-quick-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--soft-line);
  border-right: 0;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.dashboard-quick-search input::placeholder {
  color: var(--muted);
}

.dashboard-quick-search input:focus {
  outline: none;
  border-color: var(--soft-line);
}

.dashboard-quick-search button {
  width: 54px;
  min-width: 54px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
}

.settings-section + .settings-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--soft-line);
}

.settings-section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.settings-section-head h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.35;
}

.settings-form {
  display: grid;
  gap: 14px;
}

.settings-media-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 12px;
}

.settings-media-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--soft-line);
}

.settings-media-card-wide {
  align-content: start;
}

.settings-media-head {
  display: grid;
  gap: 8px;
}

.settings-avatar-preview,
.settings-cover-preview {
  display: grid;
  place-items: center;
  border: 1px solid var(--soft-line);
  background: #ffffff;
  color: var(--muted);
}

.settings-avatar-preview {
  width: 112px;
  height: 112px;
  border-radius: 999px;
}

.settings-avatar-preview span {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--ink);
}

.settings-avatar-image,
.settings-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.settings-cover-preview {
  min-height: 112px;
  padding: 18px;
}

.settings-media-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.settings-media-card .content-action-link {
  min-height: 34px;
}

.category-manager {
  display: grid;
  gap: 28px;
}

.category-form {
  margin: 0;
}

.category-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.category-list-panel {
  padding-top: 24px;
  border-top: 1px solid var(--soft-line);
}

.dashboard-block-head-compact {
  margin-bottom: 16px;
}

.category-manager-list {
  display: grid;
  border-top: 1px solid var(--soft-line);
}

.category-manager-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--soft-line);
}

.category-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 0;
}

.category-inline-form input {
  height: 46px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  box-sizing: border-box;
}

.category-inline-form input:focus,
.category-inline-form input:hover {
  outline: none;
}

.category-delete-form {
  margin: 0;
}

.dashboard-block-note,
.dashboard-side-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.dashboard-sidebar {
  display: grid;
  gap: 24px;
}

.dashboard-side-block {
  padding: 28px 30px;
}

.login-card {
  padding: 36px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
}

.login-card h1 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  font-weight: 600;
}

.login-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.auth-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.auth-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--soft-line);
  background: transparent;
  color: var(--muted);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.auth-tab.is-active {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.auth-tab:focus {
  outline: none;
}

.auth-tab:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.auth-panel {
  display: none;
}

.auth-panel.is-active {
  display: block;
}

.login-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.remember-me {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1;
  position: relative;
}

.remember-me input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

input[type="checkbox"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:hover,
input[type="radio"]:hover {
  outline: none;
}

.inline-link,
.side-link {
  color: var(--ink);
  font-size: 0.95rem;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.login-form label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-form input {
  height: 48px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  line-height: 48px;
  box-sizing: border-box;
}

.login-form input::placeholder,
.upload-form textarea::placeholder {
  color: var(--muted);
}

.login-form select {
  height: 48px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  box-sizing: border-box;
}

.phone-field {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0;
}

.phone-field select {
  border-right: 0;
}

.phone-field input {
  border-left: 1px solid var(--line);
}

.login-form input:focus,
.login-form input:hover,
.login-form select:focus,
.login-form select:hover {
  outline: none;
}

.login-form input:focus::placeholder,
.upload-form textarea:focus::placeholder {
  color: transparent;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 8px 0 4px;
}

.form-message {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
}

.form-message p {
  margin: 0;
  line-height: 1.7;
}

.form-message-success {
  border-color: var(--line);
}

.form-message-error {
  border-color: var(--line);
}

.helper-link {
  display: inline-flex;
  margin-top: 6px;
}

.account-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  border-top: 0;
  border-left: 0;
}

.account-summary-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--soft-line);
}

.account-summary-item span {
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.account-summary-item strong {
  font-size: 0.82rem;
  line-height: 1;
}

.upload-section {
  margin-top: 28px;
  border-top: 1px solid var(--soft-line);
  padding-top: 28px;
}

.upload-section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.upload-section-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.upload-form textarea {
  min-height: 160px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.upload-form textarea:focus,
.upload-form textarea:hover {
  outline: none;
}

.editor-field {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  background: #ffffff;
}

.editor-toolbar {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 3;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.editor-toolbar::-webkit-scrollbar {
  height: 8px;
}

.editor-toolbar::-webkit-scrollbar-track {
  background: transparent;
}

.editor-toolbar::-webkit-scrollbar-thumb {
  background: var(--line);
}

.editor-tool {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-right: 1px solid var(--soft-line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.editor-tool:hover,
.editor-tool:focus {
  outline: none;
  background: #f3f3f1;
}

.editor-tool:last-child {
  border-right: 0;
}

.editor-tool i {
  font-size: 0.95rem;
}

.editor-tool span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}

.editor-divider {
  width: 1px;
  min-height: 42px;
  background: var(--soft-line);
}

.editor-surface {
  min-height: 200px;
  max-height: 420px;
  overflow-y: auto;
  padding: 16px 14px;
  border: 0;
  background: #ffffff;
  color: var(--ink);
  line-height: 1.8;
  white-space: pre-wrap;
}

.editor-surface:focus {
  outline: none;
}

.editor-surface:empty::before {
  content: "Eserin kapsamını, üretim sürecini ve teknik notlarını yaz.";
  color: var(--muted);
}

.editor-surface h1,
.editor-surface h2,
.editor-surface h3,
.editor-surface h4,
.editor-surface h5,
.editor-surface h6,
.editor-surface p,
.editor-surface blockquote,
.editor-surface pre,
.editor-surface ul,
.editor-surface ol,
.editor-surface hr {
  margin-top: 0;
}

.editor-surface h1,
.editor-surface h2,
.editor-surface h3,
.editor-surface h4,
.editor-surface h5,
.editor-surface h6 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.15;
  font-weight: 600;
}

.editor-surface p,
.editor-surface h1 p,
.editor-surface h2 p,
.editor-surface h3 p,
.editor-surface h4 p,
.editor-surface h5 p,
.editor-surface h6 p {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--ink);
}

.editor-surface h1 {
  font-size: 2.45rem;
}

.editor-surface h2 {
  font-size: 2.05rem;
}

.editor-surface h3 {
  font-size: 1.7rem;
}

.editor-surface h4 {
  font-size: 1.4rem;
}

.editor-surface h5 {
  font-size: 1.15rem;
}

.editor-surface h6 {
  font-size: 1rem;
  color: var(--muted);
}

.editor-surface blockquote {
  margin-left: 0;
  padding-left: 16px;
  border-left: 1px solid var(--soft-line);
  color: var(--muted);
}

.editor-surface pre {
  overflow-x: auto;
  padding: 12px;
  border: 1px solid var(--soft-line);
  background: #f7f7f4;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.editor-surface code {
  font-family: "Courier New", monospace;
}

.editor-surface hr {
  border: 0;
  border-top: 1px solid var(--soft-line);
}

.media-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.media-upload-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--soft-line);
}

.upload-faq-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
}

.upload-faq-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.upload-faq-list {
  display: grid;
  gap: 14px;
}

.upload-faq-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--soft-line);
  background: var(--paper);
}

.upload-faq-field {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
}

.upload-faq-field label {
  margin: 0;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.upload-faq-row input,
.upload-faq-row textarea {
  width: 100%;
  border: 1px solid var(--soft-line);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.upload-faq-row textarea {
  min-height: 92px;
  resize: vertical;
}

.upload-faq-add,
.upload-faq-remove {
  white-space: nowrap;
}

.upload-faq-add {
  min-height: 42px;
}

.upload-faq-remove {
  justify-self: start;
  grid-column: 1 / -1;
}

.content-comments {
  margin-top: 24px;
  border-top: 1px solid var(--soft-line);
  background: var(--paper);
}

.content-comments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-comments-card {
  display: grid;
  gap: 18px;
  padding: 30px 36px;
  align-content: start;
}

.content-comments-card:first-child {
  grid-column: 1 / -1;
}

.content-comments-card:last-child {
  grid-column: 1 / -1;
}

.content-comments-card + .content-comments-card {
  border-left: 1px solid var(--soft-line);
}

.content-comments-card:first-child + .content-comments-card {
  border-left: 0;
  border-top: 1px solid var(--soft-line);
}

.content-comments-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.content-faq {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
  background: var(--paper);
}

.content-faq-head {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 30px 36px;
  border-right: 1px solid var(--soft-line);
}

.content-faq-head h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 600;
  line-height: 0.98;
}

.content-faq-head p:not(.label) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.content-faq-list {
  display: grid;
}

.content-faq-item {
  border-bottom: 1px solid var(--soft-line);
}

.content-faq-item:last-child {
  border-bottom: 0;
}

.content-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 30px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
  cursor: pointer;
}

.content-faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.35rem;
  line-height: 1;
}

.content-faq-item[open] summary::after {
  content: "-";
}

.content-faq-item p {
  margin: -8px 30px 26px;
  color: var(--muted);
  line-height: 1.8;
}

.content-comment-feedback {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid #ffb2b2;
  background: #fff3f3;
  color: #5c1111;
}

.content-comment-feedback p {
  margin: 0;
}

.content-comment-form {
  display: grid;
  gap: 16px;
  width: 100%;
  justify-items: stretch;
}

.content-comment-form label {
  display: grid;
  gap: 10px;
  width: 100%;
}

.content-comment-form label span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-comment-form input,
.content-comment-form textarea {
  width: 100%;
  border: 1px solid var(--soft-line);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding: 16px 18px;
}

.content-comment-form textarea {
  min-height: 160px;
  resize: vertical;
}

.content-comment-submit {
  width: auto;
  justify-self: end;
  justify-content: flex-end;
  gap: 18px;
  padding: 0 26px;
  min-height: 64px;
  border-color: #151515;
  background: linear-gradient(180deg, #222222 0%, #151515 100%);
  color: #ffffff;
}

.content-comment-submit i {
  font-size: 0.95rem;
}

.content-comment-submit span {
  flex: 0 0 auto;
  text-align: right;
}

.content-comment-list {
  display: grid;
  gap: 14px;
}

.content-comment-item {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
}

.content-comment-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.content-comment-author {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.content-comment-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: #f4efe4;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  overflow: hidden;
  flex: 0 0 auto;
}

.content-comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content-comment-head strong,
.content-comment-head span,
.content-comment-head time,
.content-comment-item p,
.content-comment-empty {
  color: var(--ink);
}

.content-comment-head div {
  display: grid;
  gap: 4px;
}

.content-comment-head span,
.content-comment-head time {
  font-size: 0.88rem;
  color: var(--muted);
}

.content-comment-item p,
.content-comment-empty {
  margin: 0;
  line-height: 1.75;
}

.media-upload-card-wide {
  grid-column: 1 / -1;
}

.media-upload-head {
  display: grid;
  gap: 8px;
}

.media-upload-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.media-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.media-upload-surface {
  display: grid;
  place-items: center;
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
  cursor: pointer;
}

.media-upload-selected {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--soft-line);
  color: var(--muted);
  line-height: 1.7;
}

.content-image-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.content-image-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
}

.content-image-card.is-removed {
  opacity: 0.45;
}

.content-image-card-preview {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--soft-line);
}

.content-image-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.content-image-card-meta span {
  color: var(--muted);
  line-height: 1.5;
  word-break: break-word;
}

.content-file-gallery {
  display: grid;
  gap: 10px;
}

.content-file-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
}

.content-file-card.is-removed {
  opacity: 0.45;
}

.content-file-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.content-file-card-meta span {
  color: var(--muted);
  line-height: 1.5;
  word-break: break-word;
}

.file-page {
  display: grid;
  gap: 32px;
}

.file-cover {
  min-height: 220px;
  border: 1px solid var(--soft-line);
  background:
    linear-gradient(135deg, rgba(48, 88, 74, 0.12), rgba(255, 255, 255, 0.82)),
    #f5f7f2;
  overflow: hidden;
}

.file-cover-image {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.file-cover-fallback {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 32px;
  color: var(--ink);
  text-align: center;
}

.file-cover-fallback span {
  max-width: 760px;
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 700;
  line-height: 0.95;
}

.file-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: start;
}

.file-hero-copy,
.file-hero-meta,
.file-work-card {
  border: 1px solid var(--soft-line);
  background: #ffffff;
}

.file-hero-copy {
  display: grid;
  gap: 22px;
  padding: 28px;
}

.file-identity {
  display: flex;
  gap: 18px;
  align-items: center;
}

.file-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  background: #f5f7f2;
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
}

.file-avatar-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.file-hero h1,
.file-work-card h3 {
  margin: 0;
}

.file-hero .lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.file-follow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.file-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--soft-line);
}

.file-stat-card {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-right: 1px solid var(--soft-line);
}

.file-stat-card:last-child {
  border-right: 0;
}

.file-stat-card strong {
  font-size: 1.45rem;
}

.file-stat-card span,
.file-meta-label,
.file-work-meta,
.file-section-note {
  color: var(--muted);
}

.file-hero-meta {
  display: grid;
}

.file-meta-item {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid var(--soft-line);
}

.file-meta-item:last-child {
  border-bottom: 0;
}

.file-meta-label,
.file-work-meta {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.file-works {
  display: grid;
  gap: 18px;
}

.file-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.file-section-note {
  max-width: 620px;
  margin: 0;
  line-height: 1.7;
}

.file-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--soft-line);
  border-left: 1px solid var(--soft-line);
}

.file-work-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border-top: 0;
  border-left: 0;
}

.file-work-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  background: #f5f7f2;
}

.file-work-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.file-work-link {
  color: inherit;
  text-decoration: none;
}

.file-work-link:hover,
.file-work-link:focus-visible {
  text-decoration: underline;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.upload-grid > div {
  display: grid;
  gap: 12px;
}

.readonly-link-field {
  display: block;
  height: 48px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
  color: var(--ink);
  line-height: 48px;
  text-decoration: none;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  word-break: normal;
  overflow-wrap: normal;
  scrollbar-width: thin;
  box-sizing: border-box;
}

.readonly-link-field:hover {
  border-color: var(--ink);
}

.upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.settings-list,
.dashboard-action-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--soft-line);
}

.content-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 0;
}

.content-list-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  min-height: 220px;
  padding: 20px;
  border: 0;
  background: #ffffff;
}

.content-list-media {
  display: block;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  background: #f4f1eb;
}

.content-list-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.content-list-body {
  display: grid;
  gap: 8px;
}

.content-list-head {
  display: grid;
  gap: 10px;
}

.content-list-head h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 600;
}

.content-list-head strong {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-list-meta,
.content-list-summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.content-list-visibility {
  margin: 0;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.content-list-actions form {
  margin: 0;
}

.feed-page {
  display: grid;
  gap: 28px;
}

.feed-hero,
.feed-note {
  border-top: 1px solid var(--soft-line);
}

.feed-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 30px 0 0;
}

.feed-hero-copy {
  display: grid;
  gap: 18px;
}

.feed-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.98;
  font-weight: 600;
}

.feed-hero .lead,
.feed-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feed-chip-row,
.feed-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feed-chip,
.feed-tag,
.feed-content-badge,
.feed-score-pill,
.feed-artist-discipline {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--soft-line);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feed-chip {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.feed-tag,
.feed-content-badge,
.feed-score-pill,
.feed-artist-discipline {
  background: #ffffff;
  color: var(--ink);
}

.feed-note {
  padding: 18px 24px 0;
}

.feed-following,
.feed-list-block {
  margin-top: 0;
}

.feed-following {
  display: grid;
  gap: 18px;
}

.feed-artist-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--soft-line);
  background:
    radial-gradient(circle at top left, rgba(21, 21, 21, 0.04), transparent 55%),
    #ffffff;
}

.feed-artist-media,
.feed-content-media {
  display: block;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  background:
    linear-gradient(135deg, rgba(21, 21, 21, 0.04), rgba(21, 21, 21, 0.01)),
    #f6f4ef;
}

.feed-artist-media {
  aspect-ratio: 16 / 10;
}

.feed-content-media {
  aspect-ratio: 16 / 9;
}

.feed-artist-image,
.feed-content-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.feed-artist-card:hover .feed-artist-image,
.feed-content-card:hover .feed-content-image {
  transform: none;
}

.feed-artist-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.feed-artist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.feed-artist-actions .artist-follow-form,
.feed-artist-actions .artist-link {
  margin-top: 0;
}

.feed-list-block {
  padding: 24px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(21, 21, 21, 0.02), rgba(21, 21, 21, 0)),
    #ffffff;
}

.feed-content-card {
  position: relative;
  gap: 16px;
  min-height: 320px;
  padding: 22px;
  border: 0;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.feed-content-card:hover {
  transform: none;
  border-color: var(--soft-line);
  box-shadow: none;
}

.feed-content-topline {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
}

.feed-content-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--soft-line);
}

.feed-empty-state {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px dashed var(--soft-line);
  background: #ffffff;
  grid-column: 1 / -1;
}

.feed-empty-state h3,
.feed-list-block .dashboard-block-head h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
  font-weight: 600;
}

.feed-empty-state p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.feed-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--soft-line);
}

.feed-pagination-status {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.feed-pagination-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.feed-pagination-link,
.feed-pagination-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  gap: 8px;
}

.feed-pagination-link {
  width: 42px;
  min-width: 42px;
  padding: 0;
}

.feed-pagination-number {
  min-width: 42px;
  padding: 0 12px;
}

.feed-pagination-number.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.feed-pagination-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.dashboard-pagination {
  margin-top: 18px;
}

.discover-page {
  padding: 18px 0 72px;
}

.discover-hero,
.discover-section {
  border-top: 1px solid var(--soft-line);
  background: #ffffff;
}

.discover-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
}

.discover-hero-copy,
.discover-stat-row {
  padding: 34px 36px;
}

.discover-hero-copy h1 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5.8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.discover-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.discover-jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--soft-line);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.not-found-page {
  display: grid;
  gap: 20px;
  padding-bottom: 36px;
}

.not-found-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 0;
  align-items: stretch;
  min-height: 360px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
}

.not-found-copy {
  display: grid;
  align-content: center;
  max-width: none;
  padding: 44px 48px;
  border-right: 1px solid var(--soft-line);
}

.not-found-copy .eyebrow {
  margin-bottom: 22px;
  font-size: 1.05rem;
  letter-spacing: 0.28em;
}

.not-found-copy h1 {
  margin: 0;
  max-width: 680px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 5.5vw, 6.2rem);
  line-height: 0.96;
  font-weight: 600;
}

.not-found-copy p:not(.eyebrow) {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.not-found-search {
  display: grid;
  grid-template-columns: 1fr;
  align-content: end;
  gap: 14px;
  padding: 44px 36px;
  border: 0;
  background: #f7f7f4;
}

.not-found-search input {
  min-width: 0;
  min-height: 56px;
  border: 1px solid var(--soft-line);
  padding: 0 16px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
}

.not-found-search input:focus {
  outline: none;
}

.not-found-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--ink);
  color: #ffffff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.not-found-links {
  border: 1px solid var(--soft-line);
  background: #ffffff;
}

.not-found-latest {
  background: #ffffff;
}

.not-found-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.not-found-link-grid a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 86px;
  padding: 24px 54px 24px 24px;
  border-right: 1px solid var(--soft-line);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.not-found-link-grid a::after {
  content: "\f061";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.86rem;
}

.not-found-link-grid a:last-child {
  border-right: 0;
}

.not-found-link-grid a:hover,
.not-found-link-grid a:focus {
  background: var(--ink);
  color: #ffffff;
  outline: none;
}

.not-found-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.not-found-latest-grid article {
  min-width: 0;
}

.not-found-content-card {
  display: grid;
  align-content: start;
  min-height: 100%;
  border: 1px solid var(--soft-line);
  background: #ffffff;
  overflow: hidden;
}

.not-found-content-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--soft-line);
}

.not-found-content-card span,
.not-found-content-card strong,
.not-found-content-card small {
  margin-left: 22px;
  margin-right: 22px;
}

.not-found-content-card span,
.not-found-content-card small {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.not-found-content-card span {
  margin-top: 22px;
}

.not-found-content-card strong {
  margin-top: 14px;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.35;
}

.not-found-content-card small {
  margin-top: 16px;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.not-found-content-card.has-no-image {
  padding-top: 6px;
}

.not-found-empty {
  margin: 0;
  padding: 28px 24px;
  color: var(--muted);
  border-top: 1px solid var(--soft-line);
}

@media (max-width: 860px) {
  .not-found-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .not-found-copy {
    padding: 36px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .not-found-search {
    padding: 24px;
  }

  .not-found-search button {
    min-height: 54px;
  }

  .not-found-link-grid,
  .not-found-latest-grid {
    grid-template-columns: 1fr;
  }

  .not-found-link-grid a {
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
  }

}

.discover-stat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  border-left: 1px solid var(--soft-line);
}

.discover-stat-card {
  border: 1px solid var(--soft-line);
  background: linear-gradient(180deg, rgba(21, 21, 21, 0.02), rgba(21, 21, 21, 0)), #ffffff;
  padding: 18px 20px;
}

.discover-stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.discover-stat-card span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
}

.discover-section {
  padding: 32px 0 0;
}

.discover-section + .discover-section {
  margin-top: 26px;
}

.messages-page {
  padding: 18px 0 72px;
}

.messages-hero,
.messages-layout {
  border-top: 1px solid var(--soft-line);
  background: #ffffff;
}

.messages-hero-copy {
  padding: 34px 36px;
}

.messages-hero-copy h1 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5.8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.messages-layout {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  margin-top: 26px;
}

.messages-sidebar,
.messages-thread-panel {
  padding: 32px 36px;
}

.messages-sidebar {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 760px;
}

.messages-thread-panel {
  border-left: 1px solid var(--soft-line);
}

.messages-section-head {
  margin-bottom: 20px;
}

.messages-thread-list {
  display: grid;
  gap: 12px;
  max-height: 760px;
  overflow-y: auto;
  padding-right: 8px;
}

.messages-thread-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
  text-decoration: none;
  color: inherit;
}

.messages-thread-card.has-unread {
  border-color: rgba(255, 0, 0, 0.22);
  background: linear-gradient(180deg, rgba(255, 0, 0, 0.035), rgba(255, 255, 255, 0.98));
}

.messages-thread-card.is-active {
  border-color: var(--ink);
}

.messages-thread-avatar,
.messages-thread-person-avatar {
  display: inline-flex;
  width: 64px;
  height: 64px;
  overflow: hidden;
  background: #f4f1ea;
  border: 1px solid var(--soft-line);
}

.messages-thread-avatar img,
.messages-thread-person-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.messages-thread-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  align-content: start;
}

.messages-thread-copy strong,
.messages-thread-person h2 {
  font-size: 1.05rem;
  line-height: 1.2;
}

.messages-thread-copy span,
.messages-thread-person p,
.messages-empty {
  color: var(--muted);
  line-height: 1.6;
}

.messages-thread-copy strong {
  display: block;
  margin: 2px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.messages-thread-copy span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-break: break-word;
}

.messages-thread-status {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: right;
  white-space: nowrap;
}

.messages-thread-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
  align-content: start;
  padding-top: 2px;
}

.messages-thread-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: #ff0000;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
}

.messages-thread-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--soft-line);
}

.messages-thread-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.messages-thread-person h2 {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
}

.messages-thread-person p {
  margin: 0;
}

.messages-thread-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.messages-thread-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--soft-line);
  text-decoration: none;
  color: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.messages-bubbles {
  display: grid;
  gap: 14px;
  padding-top: 22px;
  max-height: 620px;
  overflow-y: auto;
}

.messages-bubble {
  max-width: min(620px, 100%);
  padding: 16px 18px;
  border: 1px solid var(--soft-line);
}

.messages-bubble p {
  margin: 0;
  line-height: 1.7;
}

.messages-bubble-them {
  background: #ffffff;
}

.messages-bubble-me {
  margin-left: auto;
  background: #1d1d1d;
  color: #ffffff;
}

.messages-bubble-system {
  background: #f8f6f1;
}

.messages-composer {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  margin-top: 20px;
  border-top: 1px solid var(--soft-line);
}

.messages-composer textarea {
  width: 100%;
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--soft-line);
  font: inherit;
  line-height: 1.7;
  resize: vertical;
}

.messages-composer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.messages-polling-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.messages-send-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.messages-send-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.messages-send-button.is-loading i {
  animation: messages-send-pulse 0.9s linear infinite;
}

@keyframes messages-send-pulse {
  0% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(2px); opacity: 0.55; }
  100% { transform: translateX(0); opacity: 1; }
}

@media (max-width: 980px) {
  .messages-layout {
    grid-template-columns: 1fr;
  }

  .messages-thread-panel {
    border-left: 0;
    border-top: 1px solid var(--soft-line);
  }

  .messages-thread-top {
    flex-direction: column;
  }

  .messages-composer-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.discover-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: end;
  padding: 0 0 24px;
}

.discover-artist-grid {
  margin-top: 0;
}

.discover-artist-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-bottom: 24px;
}

.discover-artist-card .artist-avatar {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin-bottom: 0;
  border-radius: 0;
}

.discover-artist-card .feed-artist-discipline {
  width: fit-content;
}

.discover-field-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--soft-line);
}

.discover-field-card {
  display: grid;
  gap: 10px;
  min-height: 140px;
  padding: 22px 24px;
  border-left: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}

.discover-field-card:nth-child(4n + 1) {
  border-left: 0;
}

.discover-field-card strong {
  font-size: 1.05rem;
  line-height: 1.4;
}

.discover-field-card span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
}

@media (max-width: 960px) {
  .feed-list-block {
    padding: 18px;
  }

  .feed-artist-card {
    padding: 18px;
  }

  .feed-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .feed-pagination-actions {
    justify-content: flex-start;
  }

}

.content-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.content-action-link-danger {
  border-color: #b3261e;
  color: #b3261e;
}

.content-action-link-icon {
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  font-size: 1rem;
}

.content-list-meta {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.settings-item,
.dashboard-action-item {
  display: grid;
  gap: 6px;
  padding: 16px 0;
}

.dashboard-action-form {
  margin: 0;
}

.dashboard-action-submit {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.settings-item + .settings-item,
.dashboard-action-item + .dashboard-action-item {
  border-top: 1px solid var(--soft-line);
}

.settings-item span,
.dashboard-action-item span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.settings-item strong,
.dashboard-action-item strong {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 700;
}

.dashboard-settings-side {
  display: grid;
  gap: 12px;
}

.settings-check-list {
  margin-top: 0;
}

.settings-language-checks {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.settings-language-checks .form-check {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
}

.tag-editor {
  display: grid;
  gap: 8px;
}

.tag-editor-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px;
  border: 1px solid var(--soft-line);
  background: #ffffff;
}

.tag-editor-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--soft-line);
  color: var(--ink);
  font-size: 0.82rem;
  line-height: 1;
  background: #ffffff;
}

.tag-editor-remove {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
}

.tag-editor-input {
  flex: 1 1 180px;
  min-width: 120px;
  min-height: 34px;
  border: 0;
  padding: 0 2px;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.tag-editor-input:focus,
.tag-editor-input:hover {
  outline: none;
}

.form-check {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  position: relative;
}

.form-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.remember-me span,
.form-check span {
  display: block;
  position: relative;
  padding-left: 28px;
  color: var(--ink);
  font-weight: 600;
}

.remember-me span::before,
.form-check span::before,
.remember-me span::after,
.form-check span::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translate(-50%, -50%);
}

.remember-me input[type="checkbox"] + span::before,
.form-check input[type="checkbox"] + span::before,
.remember-me input[type="radio"] + span::before,
.form-check input[type="radio"] + span::before {
  width: 14px;
  height: 14px;
  border: 1px solid var(--ink);
  background: #ffffff;
}

.remember-me input[type="radio"] + span::before,
.form-check input[type="radio"] + span::before {
  border-radius: 999px;
}

.remember-me input[type="checkbox"] + span::after,
.form-check input[type="checkbox"] + span::after,
.remember-me input[type="radio"] + span::after,
.form-check input[type="radio"] + span::after {
  width: 6px;
  height: 6px;
  background: var(--ink);
  opacity: 0;
}

.remember-me input[type="radio"] + span::after,
.form-check input[type="radio"] + span::after {
  border-radius: 999px;
}

.remember-me input[type="checkbox"]:checked + span::after,
.form-check input[type="checkbox"]:checked + span::after,
.remember-me input[type="radio"]:checked + span::after,
.form-check input[type="radio"]:checked + span::after {
  opacity: 1;
}

.remember-me input:focus + span::before,
.form-check input:focus + span::before,
.remember-me input:hover + span::before,
.form-check input:hover + span::before {
  border-color: var(--ink);
}

.dashboard-main .check-list {
  gap: 8px;
  margin: 18px 0 6px;
}

.dashboard-main .form-check {
  padding: 12px 14px;
  border: 1px solid var(--soft-line);
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

.dashboard-main .form-check span {
  display: block;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  padding-left: 30px;
}

.dashboard-main .form-check input {
  margin: 0;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 18px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.helper-copy {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--soft-line);
}

.login-alt-actions {
  display: grid;
  gap: 10px;
}

.alt-action {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
}

@media (max-width: 960px) {
  .gallery-strip,
  .artist-grid,
  .artists-header,
  .dashboard-layout,
  .dashboard-menu,
  .dashboard-grid,
  .editorial-intro,
  .hero-grid,
  .feature-band,
  .footer-grid,
  .login-layout,
  .publishing,
  .content-hero,
  .content-body,
  .content-media-grid,
  .discover-hero,
  .discover-section-head,
  .portfolio-hero,
  .portfolio-body,
  .portfolio-work-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-identity {
    align-items: flex-start;
  }

  .portfolio-stat-row {
    grid-template-columns: 1fr;
  }

  .slide-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .artist-card {
    padding: 18px 0 0;
  }

  .artist-card + .artist-card {
    border-left: 0;
    border-top: 1px solid var(--soft-line);
    padding-left: 0;
    padding-top: 18px;
  }

  .gallery-strip article + article,
  .publishing-stats div + div {
    border-left: 0;
  }

  .gallery-strip article + article,
  .publishing-stats div {
    border-top: 2px solid var(--line);
  }

  .hero-panel,
  .feature-large,
  .publishing-copy,
  .discover-hero-copy,
  .discover-stat-row,
  .content-statement,
  .content-hero-meta,
  .portfolio-statement,
  .portfolio-hero-meta {
    border-right: 0;
    border-left: 0;
  }

  .content-meta-item {
    border-left: 0;
    border-top: 1px solid var(--soft-line);
  }

  .content-hero-meta {
    grid-template-columns: 1fr;
  }

  .content-meta-item:first-child {
    border-top: 0;
  }

  .portfolio-work-card + .portfolio-work-card,
  .portfolio-meta-item + .portfolio-meta-item,
  .portfolio-summary-list div + div {
    border-left: 0;
  }

  .portfolio-work-card + .portfolio-work-card {
    border-top: 1px solid var(--soft-line);
  }

  .portfolio-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .editorial-intro {
    gap: 12px;
  }

  .publishing-stats {
    border-top: 1px solid var(--soft-line);
  }

  .header-top,
  .header-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .language-bar {
    justify-content: flex-start;
  }

  .language-switcher {
    left: 0;
    right: auto;
    min-width: 220px;
  }

  .header-search,
  .header-nav {
    justify-content: flex-start;
  }

  .header-nav {
    width: 100%;
    gap: clamp(12px, 4vw, 22px);
  }

  .header-search {
    width: 100%;
  }

  .auth-tabs {
    display: flex;
  }

  .account-summary {
    grid-template-columns: 1fr;
  }

  .dashboard-hero-media {
    grid-template-columns: 1fr;
  }

  .dashboard-hero-avatar {
    width: 100%;
    max-width: 120px;
  }

  .upload-grid {
    grid-template-columns: 1fr;
  }

  .media-upload-grid {
    grid-template-columns: 1fr;
  }

  .upload-faq-row {
    grid-template-columns: 1fr;
  }

  .upload-faq-head {
    display: grid;
  }

  .settings-media-grid {
    grid-template-columns: 1fr;
  }

  .settings-language-checks {
    grid-template-columns: 1fr;
  }

  .content-list-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .content-list {
    grid-template-columns: 1fr;
  }

  .discover-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discover-field-card:nth-child(4n + 1) {
    border-left: 1px solid var(--soft-line);
  }

  .discover-field-card:nth-child(2n + 1) {
    border-left: 0;
  }

  .home-explore-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-explore-card,
  .home-explore-card + .home-explore-card {
    border-left: 0;
    border-top: 1px solid var(--soft-line);
    padding: 22px 0 0;
  }

  .home-explore-card:nth-child(-n + 2) {
    border-top: 0;
  }

  .home-explore-card:nth-child(2n) {
    border-left: 1px solid var(--soft-line);
    padding-left: 22px;
  }

  .content-media-card + .content-media-card {
    border-left: 0;
    border-top: 1px solid var(--soft-line);
  }

  .content-comments-grid {
    grid-template-columns: 1fr;
  }

  .content-faq {
    grid-template-columns: 1fr;
  }

  .content-faq-head {
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
    padding: 24px;
  }

  .content-faq-item summary {
    padding: 20px 24px;
  }

  .content-faq-item p {
    margin: -4px 24px 22px;
  }

  .content-comments-card + .content-comments-card {
    border-left: 0;
    border-top: 1px solid var(--soft-line);
  }

  .auth-tab {
    border: 1px solid var(--soft-line);
  }

  .footer {
    gap: 24px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form input {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .footer-cta {
    border-left: 1px solid var(--line);
  }

  .footer-bottom,
  .footer-lead {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-shell {
    width: min(100% - 16px, 100%);
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .page-frame {
    width: min(100% - 16px, 100%);
    margin: 8px auto;
  }

  .content-recommendations .dashboard-block-head {
    padding: 24px;
  }

  .content-recommendation-grid {
    grid-template-columns: 1fr;
  }

  .content-recommendation-card:nth-child(-n + 2),
  .content-recommendation-card:nth-child(2n) {
    border-left: 0;
    border-top: 1px solid var(--soft-line);
  }

  .content-recommendation-card:first-child {
    border-top: 0;
  }

  .header-top,
  .header-main,
  .hero-statement,
  .hero-panel,
  .slider-section,
  .artists-section,
  .home-explore-section,
  .content-hero-copy,
  .content-hero-meta,
  .content-statement,
  .content-summary,
  .content-media-card,
  .portfolio-hero-copy,
  .portfolio-hero-meta,
  .portfolio-statement,
  .portfolio-summary,
  .portfolio-work-card,
  .editorial-intro,
  .gallery-strip article,
  .feature-large,
  .feature-item,
  .publishing-copy,
  .publishing-stats,
  .publishing-stats div,
  .discover-hero-copy,
  .discover-stat-row,
  .footer-shell {
    padding: 22px;
  }

  .discover-field-grid {
    grid-template-columns: 1fr;
  }

  .home-explore-header,
  .home-explore-grid {
    grid-template-columns: 1fr;
  }

  .home-explore-card,
  .home-explore-card + .home-explore-card,
  .home-explore-card:nth-child(-n + 2),
  .home-explore-card:nth-child(2n) {
    border-left: 0;
    border-top: 1px solid var(--soft-line);
    padding: 22px 0 0;
  }

  .home-explore-card:first-child {
    border-top: 0;
  }

  .discover-field-card,
  .discover-field-card:nth-child(2n + 1) {
    border-left: 0;
  }

  .hero-statement h1 {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .portfolio-hero-copy h1,
  .portfolio-statement h2,
  .portfolio-work-card h3 {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .slider-header {
    flex-direction: column;
    align-items: flex-start;
  }

}

.sitemap-page {
  padding: 0 0 96px;
}

.sitemap-hero {
  border-bottom: 1px solid rgba(18, 18, 18, 0.12);
  margin-bottom: 40px;
}

.sitemap-section {
  margin-top: 48px;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.sitemap-link-card,
.sitemap-list-link {
  display: block;
  border: 1px solid rgba(18, 18, 18, 0.14);
  padding: 18px 20px;
  color: #121212;
  text-decoration: none;
  background: #fff;
}

.sitemap-link-card:hover,
.sitemap-list-link:hover {
  color: #121212;
}

.sitemap-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.admin-shell {
  gap: 24px;
  width: min(1250px, calc(100% - 40px));
  max-width: 1250px;
  margin: 0 auto;
}

.admin-hero,
.admin-layout,
.admin-panel,
.admin-sidebar,
.admin-stats {
  width: 100%;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 20px;
  align-items: end;
  border: 1px solid var(--line);
  background: #fff;
  padding: 24px;
}

.admin-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
}

.admin-hero .lead {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.admin-hero-meta {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.admin-hero-meta span,
.admin-hero-meta small {
  display: block;
  color: var(--muted);
}

.admin-hero-meta strong {
  display: block;
  margin: 7px 0 5px;
  overflow-wrap: anywhere;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.admin-stats article,
.admin-table-card {
  border: 1px solid var(--line);
  background: #fff;
}

.admin-stats article {
  padding: 20px;
}

.admin-stats span,
.admin-stats small,
.admin-table-header p,
.admin-table td span {
  color: var(--muted);
}

.admin-stats strong {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 700;
}

.admin-stats small {
  display: block;
  margin-top: 8px;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 800;
  font-size: 0.82rem;
}

.admin-tabs a.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-sidebar {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 88px;
}

.admin-sidebar a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 82px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 16px;
  text-decoration: none;
}

.admin-sidebar a.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.admin-sidebar i {
  margin-top: 3px;
}

.admin-sidebar strong,
.admin-sidebar small {
  display: block;
}

.admin-sidebar small {
  margin-top: 4px;
  color: inherit;
  opacity: 0.72;
  line-height: 1.35;
}

.admin-panel {
  border: 1px solid var(--line);
  background: #fff;
  min-width: 0;
}

.admin-panel-header {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.admin-panel-header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2rem;
}

.admin-panel-header p {
  max-width: 680px;
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.admin-table-card {
  overflow: hidden;
}

.admin-table-header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.admin-table-header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2rem;
}

.admin-table-header p {
  margin: 6px 0 0;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.74rem;
}

.admin-primary-cell strong,
.admin-primary-cell span {
  display: block;
}

.admin-primary-cell strong {
  max-width: 280px;
  overflow-wrap: anywhere;
}

.admin-primary-cell span {
  margin-top: 4px;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.admin-inline-form {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(120px, 1fr) minmax(130px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.admin-select,
.admin-inline-form select {
  min-height: 40px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 0 10px;
  font: inherit;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-actions .button,
.admin-table td > form .button {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.78rem;
}

.admin-filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}

.admin-filter-bar-compact {
  grid-template-columns: minmax(220px, 1fr) auto auto;
}

.admin-bulk-bar {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(140px, 180px) auto;
  gap: 10px;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.admin-bulk-bar select {
  min-height: 40px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 0 10px;
  font: inherit;
}

.admin-row-check {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}

.admin-filter-bar input,
.admin-filter-bar select {
  min-height: 42px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
}

.admin-filter-reset,
.admin-text-button {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 800;
}

.admin-text-button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  padding: 18px;
}

.admin-mini-panel,
.admin-system-grid article {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px;
}

.admin-mini-panel-wide {
  grid-column: 1 / -1;
}

.admin-mini-panel h3,
.admin-system-grid h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.admin-language-list {
  display: grid;
  gap: 10px;
}

.admin-language-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.admin-language-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-language-list span,
.admin-muted,
.admin-check-list small,
.admin-comment-list span,
.admin-comment-list p,
.admin-system-grid p {
  color: var(--muted);
}

.admin-comment-list {
  display: grid;
  gap: 12px;
}

.admin-comment-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.admin-comment-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-comment-list p {
  grid-column: 1 / -1;
  margin: 0;
  line-height: 1.45;
}

.admin-check-list,
.admin-system-grid {
  display: grid;
  gap: 12px;
}

.admin-check-list div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.admin-check-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-check-list small {
  grid-column: 2;
  overflow-wrap: anywhere;
}

.admin-system-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px;
}

.admin-system-grid article {
  display: grid;
  gap: 8px;
}

.admin-setting-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px;
}

.admin-setting-card-wide {
  grid-column: 1 / -1;
}

.admin-setting-card h3 {
  margin: 0;
  font-size: 1rem;
}

.admin-setting-card label {
  display: grid;
  gap: 6px;
}

.admin-setting-card label span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-setting-card input,
.admin-setting-card select,
.admin-setting-card textarea {
  min-height: 42px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
}

.admin-setting-card textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
  line-height: 1.5;
}

.admin-setting-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-language-toggle-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.admin-language-toggle {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px !important;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  background: #ffffff;
  cursor: pointer;
}

.admin-language-toggle.is-active {
  border-color: var(--ink);
  background: #f7f7f7;
}

.admin-language-toggle input[type="checkbox"] {
  position: static !important;
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  padding: 0 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
}

.admin-language-toggle input[disabled] {
  opacity: 0.45 !important;
  cursor: not-allowed;
}

.admin-language-toggle i {
  display: none;
}

.admin-language-toggle span {
  color: var(--ink) !important;
  font-size: 0.86rem !important;
}

.admin-language-toggle small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-system-grid p {
  margin: 0;
  overflow-wrap: anywhere;
}

.admin-maintenance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #fafafa;
}

.admin-maintenance-grid form {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px;
}

.admin-maintenance-grid span {
  min-height: 42px;
  color: var(--muted);
  line-height: 1.45;
}

.admin-moderation-list,
.admin-audit-list {
  display: grid;
  gap: 0;
}

.admin-moderation-list article,
.admin-audit-list article {
  display: grid;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 18px 24px;
}

.admin-moderation-list article {
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-audit-list article {
  grid-template-columns: auto minmax(0, 1fr);
}

.admin-audit-list-compact article {
  padding: 12px 0;
}

.admin-moderation-list article:last-child,
.admin-audit-list article:last-child {
  border-bottom: 0;
}

.admin-moderation-list strong,
.admin-moderation-list span,
.admin-audit-list strong,
.admin-audit-list small {
  display: block;
}

.admin-moderation-list span,
.admin-audit-list small {
  margin-top: 4px;
  color: var(--muted);
}

.admin-moderation-list p,
.admin-audit-list p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.admin-status {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-status.is-live {
  border-color: #1f7a42;
  color: #1f7a42;
}

.admin-status.is-danger {
  border-color: #b42318;
  color: #b42318;
}

.admin-status.is-muted {
  color: var(--muted);
}

.admin-table .button[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
}

@media (max-width: 760px) {
  .admin-hero,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-hero-meta {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 16px 0 0;
  }

  .admin-sidebar {
    position: static;
    grid-template-columns: 1fr;
  }

  .admin-panel-header {
    display: grid;
    padding: 18px;
  }

  .admin-filter-bar,
  .admin-filter-bar-compact,
  .admin-bulk-bar,
  .admin-dashboard-grid,
  .admin-maintenance-grid,
  .admin-setting-fields,
  .admin-language-toggle-grid,
  .admin-system-grid {
    grid-template-columns: 1fr;
  }

  .admin-moderation-list article,
  .admin-audit-list article {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .admin-filter-bar {
    padding: 14px;
  }

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

  .admin-table-header {
    padding: 18px;
  }
}

@media (max-width: 760px) {
  .file-page {
    gap: 22px;
  }

  .file-cover {
    min-height: 160px;
  }

  .file-cover-image {
    height: 190px;
  }

  .file-cover-fallback {
    min-height: 180px;
  }

  .file-cover-fallback span {
    font-size: 2.3rem;
  }

  .file-hero,
  .file-work-grid {
    grid-template-columns: 1fr;
  }

  .file-hero-copy {
    padding: 22px;
  }

  .file-identity {
    align-items: flex-start;
  }

  .file-avatar {
    flex-basis: 76px;
    width: 76px;
    height: 76px;
  }

  .file-stat-row {
    grid-template-columns: 1fr;
  }

  .file-stat-card {
    border-right: 0;
    border-bottom: 1px solid var(--soft-line);
  }

  .file-stat-card:last-child {
    border-bottom: 0;
  }

.file-section-head {
    display: grid;
  }
}

.pwa-install-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 12px 12px 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.pwa-install-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.pwa-install-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.pwa-install-copy strong,
.pwa-install-copy span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pwa-install-copy strong {
  font-size: 0.82rem;
  font-weight: 800;
}

.pwa-install-copy span {
  color: var(--muted);
  font-size: 0.78rem;
}

.pwa-install-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.pwa-install-button,
.pwa-install-dismiss {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
}

.pwa-install-button {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pwa-install-dismiss {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 1.2rem;
  line-height: 1;
  background: transparent;
  color: var(--ink);
}

@media (max-width: 620px) {
  .pwa-install-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }
}

@media (max-width: 980px) {
  .blog-hero-media {
    border: 0;
  }

  .blog-hero-media img {
    min-height: clamp(420px, 92vw, 620px);
  }

  .blog-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .header-nav {
    gap: 18px;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .header-nav::-webkit-scrollbar {
    display: none;
  }

  .header-nav a,
  .category-menu summary {
    font-size: 0.86rem;
    letter-spacing: 0.06em;
  }

  .category-form-row,
  .category-manager-item,
  .category-inline-form {
    grid-template-columns: 1fr;
  }

  .category-manager-item {
    align-items: stretch;
  }

  .category-inline-form .content-action-link,
  .category-delete-form .content-action-link,
  .category-form-row .button {
    width: 100%;
  }

  .blog-strip-head {
    padding: 18px;
  }

  .blog-hero-topline {
    padding: 16px 18px;
  }

  .blog-hero-card {
    min-height: 420px;
  }

  .blog-hero-copy {
    width: 100%;
    padding: 28px 18px;
  }

  .blog-hero-copy h1 {
    font-size: clamp(2.1rem, 12vw, 3.2rem);
  }

  .blog-strip-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-strip-card a {
    padding: 14px;
  }

  .category-menu-panel {
    right: 0;
    left: auto;
    width: min(280px, calc(100vw - 40px));
  }
}
