:root {
  --bg: #11110f;
  --bg-artist: #151714;
  --bg-works: #eee8dc;
  --ink: #f4efe5;
  --ink-dark: #171714;
  --muted: rgba(244, 239, 229, 0.7);
  --font-sans: "DM Sans", sans-serif;
  --font-serif: "Playfair Display", serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --pad-x: 7vw;
  --img-hero: url("assets/images/bghero.jpg");
  --img-work-1: url("assets/images/works/yingyang.jpg");
  --img-work-2: url("assets/images/works/funymixwomen.jpg");
  --img-work-3: url("assets/images/works/colorfulconversations.jpg");
  --img-artist: url("assets/images/artist/didemyuksedag.jpeg");
  --img-exhibition: url("https://images.unsplash.com/photo-1561214115-f2f134cc4912?auto=format&fit=crop&w=2200&q=90");
}

/* =========================
   Base
   ========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  animation: pageIn 0.7s var(--ease-out) both;
}

body.is-leaving {
  animation: pageOut 0.45s var(--ease-out) forwards;
}

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

/* =========================
   Header
   ========================= */
.top {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 28px 38px;
  animation: headerDrop 1s var(--ease-out) 0.05s both;
}

.brand {
  font: 500 20px / 0.8 var(--font-serif);
  letter-spacing: 0.04em;
}

.brand small {
  display: block;
  font: 12px var(--font-sans);
  letter-spacing: 0.2em;
}

.brand--logo {
  justify-self: start;
  display: inline-flex;
  line-height: 0;
}

.brand--logo img {
  display: block;
  width: 64px;
  height: 64px;
  transition: transform 0.45s var(--ease-out);
}

.brand--logo:hover img {
  transform: rotate(-6deg) scale(1.04);
}

.top nav {
  display: flex;
  gap: 38px;
  font-size: 13px;
}

.top nav a {
  position: relative;
}

.top nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: currentColor;
  transition: right 0.45s var(--ease-out);
}

.top nav a:hover::after {
  right: 0;
}

.actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
}

.actions button {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
}

.lang-btn {
  opacity: 0.45;
  letter-spacing: 0.08em;
  padding: 0;
}

.lang-btn.is-active {
  opacity: 1;
}

.lang-btn:hover {
  opacity: 0.85;
}

.nav-toggle {
  display: none;
  width: 28px;
  height: 18px;
  padding: 0;
  position: relative;
  z-index: 2;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}

.nav-toggle span:first-child {
  top: 4px;
}

.nav-toggle span:last-child {
  top: 13px;
}

body.nav-open .nav-toggle span:first-child {
  top: 8px;
  transform: rotate(40deg);
}

body.nav-open .nav-toggle span:last-child {
  top: 8px;
  transform: rotate(-40deg);
}

.top nav a[aria-current="page"]::after {
  right: 0;
}

/* =========================
   Shared type / CTA
   ========================= */
.eyebrow {
  margin: 0 0 22px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.68;
}

.hero h1,
.works h2,
.artist h2,
.exhibition h2 {
  margin: 0 0 30px;
  font: 400 clamp(64px, 8vw, 120px) / 0.84 var(--font-serif);
  letter-spacing: -0.055em;
}

.cta {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid #aaa;
  padding: 14px 0;
  font-size: 13px;
  transition: gap 0.45s var(--ease-out), border-color 0.35s;
}

.cta b {
  font-size: 18px;
}

.cta:hover {
  gap: 44px;
  border-color: currentColor;
}

/* =========================
   Hero
   ========================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
}

.hero-bg,
.ex-bg,
.pic {
  background: center / cover no-repeat;
  transition: transform 1.2s var(--ease-out), filter 1.2s ease;
}

.hero-bg,
.ex-bg {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image:
    linear-gradient(90deg, rgba(5, 7, 6, 0.78), rgba(5, 7, 6, 0.25) 65%, transparent),
    var(--img-hero);
}

.hero-copy {
  position: absolute;
  left: 8vw;
  top: 25%;
  max-width: 650px;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(34px);
  animation: heroRise 1s var(--ease-out) forwards;
}

.hero-copy .eyebrow {
  animation-delay: 0.15s;
}

.hero-copy h1 {
  animation-delay: 0.28s;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 400px;
  line-height: 1.65;
  font-size: 15px;
  opacity: 0.8;
  animation-delay: 0.45s;
}

.hero-copy .cta {
  animation-delay: 0.62s;
}

.hero-meta {
  position: absolute;
  bottom: 32px;
  left: 8vw;
  right: 8vw;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s forwards;
}

/* =========================
   Works
   ========================= */
.works {
  background: var(--bg-works);
  color: var(--ink-dark);
  padding: 120px var(--pad-x);
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 55px;
}

.head h2 {
  margin: 0;
  font-size: 76px;
}

.head > p {
  max-width: 300px;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.6;
}

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

.grid--latest {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.grid--latest .pic {
  height: 640px;
}

.grid article {
  opacity: 0;
  transform: translateY(70px);
  transition: transform 0.8s var(--ease-out), opacity 0.8s ease;
}

.grid article:nth-child(1) {
  transition-delay: 0.05s;
}

.grid article:nth-child(2) {
  transition-delay: 0.16s;
}

.grid article:nth-child(3) {
  transition-delay: 0.27s;
}

.grid article.in-view {
  opacity: 1;
  transform: none;
}

.pic {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.pic > img,
.detail-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p1 {
  background-image: var(--img-work-1);
}

.p2 {
  background-image: var(--img-work-2);
}

.p3 {
  background-image: var(--img-work-3);
}

.grid article:hover .pic {
  transform: scale(1.035);
}

.grid article .pic::after {
  content: var(--works-view-label, "ESERİ GÖR  ↗");
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 12px 17px;
  background: rgba(245, 240, 230, 0.92);
  color: var(--ink-dark);
  font: 500 10px var(--font-sans);
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateY(15px);
  transition: 0.5s var(--ease-out);
}

.grid article:hover .pic::after {
  opacity: 1;
  transform: none;
}

.grid h3 {
  margin: 18px 0 7px;
  font: 400 25px var(--font-serif);
  transition: transform 0.5s var(--ease-out);
}

.grid article:hover h3 {
  transform: translateX(5px);
}

.grid h3 b {
  float: right;
  font: 500 12px var(--font-sans);
}

.grid small {
  font-size: 11px;
  opacity: 0.6;
}

.more {
  display: inline-block;
  margin-top: 45px;
  border-bottom: 1px solid;
  padding-bottom: 8px;
  font-size: 12px;
  transition: letter-spacing 0.4s;
}

.more:hover {
  letter-spacing: 0.08em;
}

/* =========================
   Artist
   ========================= */
.artist {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 820px;
  background: var(--bg-artist);
}

.artist-img {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  background: center / cover no-repeat var(--img-artist);
}

.artist-copy {
  align-self: center;
  padding: 8vw;
}

.artist-copy > * {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.9s var(--ease-out);
}

.artist-copy.in-view > * {
  opacity: 1;
  transform: none;
}

.artist h2 {
  font-size: 72px;
  transition-delay: 0.12s;
}

.artist-copy > p:not(.eyebrow) {
  max-width: 390px;
  line-height: 1.7;
  font-size: 15px;
  opacity: 0.7;
  transition-delay: 0.25s;
}

.artist-copy .cta {
  transition-delay: 0.4s;
}

/* =========================
   Exhibition
   ========================= */
.exhibition {
  position: relative;
  display: flex;
  align-items: end;
  height: 85vh;
  min-height: 650px;
  padding: var(--pad-x);
  overflow: hidden;
}

.ex-bg {
  background-image: var(--img-exhibition);
}

.exhibition::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 4, 0.82), transparent 75%);
}

.exhibition-copy {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1.1s var(--ease-out);
}

.exhibition.in-view .exhibition-copy {
  opacity: 1;
  transform: none;
}

.exhibition.in-view .ex-bg {
  transform: scale(1.06);
}

.exhibition h2 {
  font-size: 100px;
  margin-bottom: 25px;
}

.exhibition p:not(.eyebrow) {
  font-size: 13px;
  opacity: 0.75;
}

.exhibition .cta {
  margin-top: 18px;
}

/* =========================
   Work card links
   ========================= */
.work-link {
  display: block;
  color: inherit;
}

.work-link:hover .pic {
  transform: scale(1.035);
}

/* =========================
   Inner pages
   ========================= */
.page {
  background: var(--bg);
  color: var(--ink);
}

.top--page {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid rgba(244, 239, 229, 0.08);
}

.detail,
.bio,
.contact {
  padding: 48px var(--pad-x) 100px;
}

.detail-back {
  display: inline-block;
  margin-bottom: 42px;
  font-size: 13px;
  opacity: 0.65;
  transition: opacity 0.3s;
}

.detail-back:hover {
  opacity: 1;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.detail-media {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
}

.detail-copy h1 {
  margin: 0 0 18px;
  font: 400 clamp(42px, 6vw, 72px) / 0.9 var(--font-serif);
  letter-spacing: -0.04em;
}

.detail-price {
  margin: 0 0 28px;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.detail-specs {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 13px;
  opacity: 0.72;
}

.detail-text {
  max-width: 420px;
  margin: 0 0 36px;
  line-height: 1.7;
  font-size: 15px;
  opacity: 0.78;
}

.related {
  margin-top: 100px;
  padding-top: 48px;
  border-top: 1px solid rgba(244, 239, 229, 0.1);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.related-card .pic {
  height: 360px;
}

.related-card h3 {
  margin: 16px 0 0;
  font: 400 22px var(--font-serif);
}

.bio-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 64px;
}

.bio-portrait {
  min-height: 70vh;
  background: center / cover no-repeat;
  background-image: var(--img-artist);
}

.bio-intro h1 {
  margin: 0 0 24px;
  font: 400 clamp(52px, 8vw, 96px) / 0.88 var(--font-serif);
  letter-spacing: -0.05em;
}

.bio-lead {
  max-width: 360px;
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  opacity: 0.75;
}

.bio-body {
  max-width: 640px;
}

.bio-body p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.75;
  opacity: 0.78;
}

.bio-body .cta {
  margin-top: 18px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-intro h1 {
  margin: 0 0 24px;
  font: 400 clamp(42px, 7vw, 88px) / 0.88 var(--font-serif);
  letter-spacing: -0.05em;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 420px;
  margin: 0 0 36px;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.75;
}

.contact-meta {
  display: grid;
  gap: 18px;
  font-size: 13px;
  opacity: 0.7;
}

.contact-meta strong {
  font-weight: 500;
  opacity: 1;
}

.contact-form {
  display: grid;
  gap: 22px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(244, 239, 229, 0.28);
  background: transparent;
  color: var(--ink);
  font: 400 15px / 1.5 var(--font-sans);
  padding: 12px 0;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

.contact-submit {
  justify-self: start;
  background: none;
  border: 0;
  border-bottom: 1px solid #aaa;
  color: inherit;
  cursor: pointer;
  font: inherit;
  margin-top: 8px;
}

.contact-success {
  margin: 8px 0 0;
  font-size: 14px;
  opacity: 0.75;
}

.contact-success.is-error {
  color: #e7b2a4;
  opacity: 1;
}

.contact-submit:disabled {
  opacity: 0.5;
  cursor: wait;
}

.captcha {
  min-height: 78px;
  margin-top: 4px;
}

.contact-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================
   Footer
   ========================= */
footer {
  display: flex;
  justify-content: space-between;
  padding: 42px var(--pad-x);
  font-size: 11px;
  opacity: 0.6;
}

/* =========================
   Motion keyframes
   ========================= */
@keyframes heroRise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeUp {
  to {
    opacity: 0.7;
    transform: none;
  }
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes menuLink {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pageIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pageOut {
  to {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 800px) {
  .top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 18px 20px;
    background: rgba(17, 17, 15, 0.96);
    animation: none;
    transform: none;
  }

  .brand {
    min-width: 0;
  }

  .brand--logo img {
    width: 40px;
    height: 40px;
  }

  body.page {
    padding-top: 76px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .top nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: 30;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 88px 24px 40px;
    background: #11110f;
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s;
  }

  body.nav-open .top nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .top nav a {
    display: block;
    max-width: 100%;
    font: 400 clamp(32px, 9vw, 48px) / 1.15 var(--font-serif);
    letter-spacing: -0.03em;
    color: var(--ink);
    overflow-wrap: anywhere;
  }

  .top nav a::after {
    display: none;
  }

  html:has(body.nav-open),
  body.nav-open {
    overflow: hidden;
    height: 100%;
  }

  body.nav-open .top nav a {
    animation: menuLink 0.7s var(--ease-out) both;
  }

  body.nav-open .top nav a:nth-child(1) {
    animation-delay: 0.05s;
  }

  body.nav-open .top nav a:nth-child(2) {
    animation-delay: 0.12s;
  }

  body.nav-open .top nav a:nth-child(3) {
    animation-delay: 0.19s;
  }

  body.nav-open .top nav a:nth-child(4) {
    animation-delay: 0.26s;
  }

  .hero-copy {
    left: 7vw;
    right: 7vw;
  }

  .hero h1,
  .head h2,
  .artist h2,
  .exhibition h2,
  .shows-intro h1,
  .bio-intro h1,
  .contact-intro h1,
  .detail-copy h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 64px);
  }

  main,
  .hero,
  .works,
  .artist,
  .exhibition,
  .grid,
  .shows,
  .shop {
    overflow-x: clip;
    max-width: 100%;
  }

  .hero-meta span:nth-child(2) {
    display: none;
  }

  .head {
    display: block;
  }

  .head h2 {
    font-size: 55px;
  }

  .head > p {
    margin-top: 25px;
  }

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

  .pic,
  .grid--latest .pic {
    height: 420px;
  }

  .artist {
    grid-template-columns: 1fr;
  }

  .artist-img {
    position: relative;
    height: 60vh;
  }

  .artist-copy {
    padding: 14vw 8vw;
  }

  .artist h2 {
    font-size: 52px;
  }

  .exhibition h2 {
    font-size: 65px;
  }

  .detail-layout,
  .bio-hero,
  .contact,
  .related-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .detail-media,
  .bio-portrait {
    min-height: 55vh;
  }

  .related-card .pic {
    height: 280px;
  }

  footer {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .grid article,
  .artist-copy > *,
  .exhibition-copy {
    opacity: 1;
    transform: none;
  }
}

/* =========================
   Admin
   ========================= */
.admin-body {
  min-height: 100vh;
}

.admin-bar,
.admin-login,
.admin-main {
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.admin-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(244, 239, 229, 0.08);
}

.admin-bar-actions {
  display: flex;
  gap: 22px;
  font-size: 13px;
  opacity: 0.75;
}

.admin-login {
  max-width: 460px;
  padding-top: 12vh;
  padding-bottom: 80px;
}

.admin-login h1,
.admin-list h1,
.admin-editor h2 {
  margin: 0 0 18px;
  font: 400 clamp(42px, 6vw, 72px) / 0.9 var(--font-serif);
  letter-spacing: -0.04em;
}

.admin-lead {
  max-width: 420px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.72;
}

.admin-main {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  padding-top: 48px;
  padding-bottom: 80px;
  align-items: start;
}

.admin-works {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.admin-works li {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(244, 239, 229, 0.1);
}

.admin-thumb {
  width: 72px;
  height: 72px;
  background: center / cover no-repeat;
}

.admin-works strong {
  display: block;
  font-weight: 500;
}

.admin-works small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.6;
}

.admin-row-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 12px;
}

.admin-row-actions button {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  opacity: 0.7;
}

.admin-form input[type="file"] {
  padding-top: 10px;
}

.admin-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.admin-check {
  display: flex !important;
  grid-template-columns: none;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 14px;
}

.admin-notice,
.admin-error {
  margin: 0 0 16px;
  font-size: 14px;
}

.admin-error {
  color: #e7b2a4;
}

.admin-resend {
  margin-top: 18px;
}

.admin-resend button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  opacity: 0.7;
  cursor: pointer;
}

.admin-resend button:hover {
  opacity: 1;
}

.detail-missing {
  font: 400 48px / 1 var(--font-serif);
}

.shows,
.shop {
  padding: 56px var(--pad-x) 100px;
}

.shows-intro h1 {
  margin: 0 0 18px;
  font: 400 clamp(52px, 8vw, 96px) / 0.88 var(--font-serif);
  letter-spacing: -0.05em;
}

.shows-intro p:not(.eyebrow) {
  max-width: 460px;
  margin: 0 0 64px;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.75;
}

.shows-block {
  margin-top: 28px;
}

.shows-block + .shows-block {
  margin-top: 72px;
}

.shows-block h2 {
  margin: 0 0 28px;
  font: 400 42px / 1 var(--font-serif);
}

.shows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.show-card h3 {
  margin: 16px 0 6px;
  font: 400 24px var(--font-serif);
}

.show-card small,
.show-card p {
  display: block;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.68;
}

.show-card p {
  margin-top: 8px;
}

.show-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  background: #1c1c19;
}

.show-img.is-certificate {
  object-fit: contain;
  height: 520px;
  background: var(--bg-works);
}

.shows-empty {
  opacity: 0.6;
  font-size: 14px;
}

.admin-form select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(244, 239, 229, 0.28);
  background: transparent;
  color: var(--ink);
  font: 400 15px / 1.5 var(--font-sans);
  padding: 12px 0;
}

.admin-form select:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

@media (max-width: 800px) {
  .admin-main,
  .admin-split,
  .admin-works li,
  .shows-grid {
    grid-template-columns: 1fr;
  }

  .artist-img {
    min-height: 60vh;
  }

  .admin-bar {
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }
}
