/* Artwork and carpet cards — a gallery label: the work first, then artist, title, one line of facts, the price */
.nc-grid { display: grid; gap: 3rem 2rem; grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 640px) { .nc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .nc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.5rem 2.5rem; } .nc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3rem 2rem; } }

.nc { position: relative; min-width: 0; }
.nc-link { display: block; color: inherit; text-decoration: none; border-radius: 1.1rem; }
.nc-link:focus-visible { outline: 2px solid #d66830; outline-offset: 6px; }

.nc-pic { position: relative; margin: 0; overflow: hidden; border-radius: 1.1rem; background: #ece5db; aspect-ratio: 4 / 5; }
.nc.is-wide .nc-pic { aspect-ratio: 1 / 1; }
.nc-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1), filter .6s; }
.nc-link:hover .nc-pic img, .nc-link:focus-visible .nc-pic img { transform: scale(1.045); }
.nc-pic::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(24, 21, 17, .06); pointer-events: none; }
.nc-empty { display: grid; place-items: center; height: 100%; font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif); font-size: 1.8rem; letter-spacing: .3em; color: rgba(24, 21, 17, .22); }

.nc-badge { position: absolute; top: .9rem; inset-inline-start: .9rem; padding: .35rem .75rem; border-radius: 999px; background: rgba(255, 252, 247, .92);
  backdrop-filter: blur(6px); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #181511; }
.nc-badge.is-sold { background: #181511; color: #fff; }
.nc-count { position: absolute; bottom: .9rem; inset-inline-end: .9rem; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .6rem; border-radius: 999px;
  background: rgba(17, 17, 15, .55); backdrop-filter: blur(6px); color: #fff; font-size: .72rem; font-weight: 600; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.nc-link:hover .nc-count, .nc-link:focus-visible .nc-count { opacity: 1; transform: none; }
@media (hover: none) { .nc-count { opacity: 1; transform: none; } }

.nc-body { padding: 1.15rem .15rem 0; }
.nc-by { margin: 0; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(24, 21, 17, .55); }
.nc-title { margin: .45rem 0 0; font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif); font-size: clamp(1.55rem, 2.1vw, 1.9rem); font-weight: 500; line-height: 1.08;
  color: #181511; letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc-meta { margin: .55rem 0 0; font-size: .84rem; line-height: 1.5; color: rgba(24, 21, 17, .62); }
.nc-in { color: rgba(24, 21, 17, .42); }
.nc-dot { margin: 0 .45rem; color: rgba(24, 21, 17, .3); }

.nc-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid rgba(24, 21, 17, .12); }
.nc-price { display: inline-flex; align-items: baseline; gap: .4rem; font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif); font-size: 1.45rem; font-weight: 500; line-height: 1; color: #181511; font-variant-numeric: lining-nums; }
.nc-price small { font-family: var(--font-sans, "Manrope", sans-serif); font-size: .64rem; font-weight: 700; letter-spacing: .18em; color: rgba(24, 21, 17, .5); }
.nc-price.is-quiet { font-style: italic; font-size: 1.2rem; color: rgba(24, 21, 17, .7); }
.nc-view { display: inline-flex; align-items: center; gap: .45rem; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #b5531f;
  opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s; }
[dir="rtl"] .nc-view { transform: translateX(6px); }
.nc-link:hover .nc-view, .nc-link:focus-visible .nc-view { opacity: 1; transform: none; }
@media (hover: none) { .nc-view { opacity: 1; transform: none; } }
[dir="rtl"] .nc-by, [dir="rtl"] .nc-view, [dir="rtl"] .nc-badge, [dir="rtl"] .nc-price small { letter-spacing: 0; }

/* the same price on the item page, larger */
.nc-price--big { font-size: clamp(2.1rem, 3.4vw, 2.9rem); }
.nc-price--big small { font-size: .78rem; }
.nc-price--big.is-quiet { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
@media (prefers-reduced-motion: reduce) { .nc-pic img, .nc-view, .nc-count { transition: none; } }

/* the Artworks / Carpets page: "Selected by NAFA" first, then all the works */
.nc-feat { margin: 1rem 0 4.5rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(24, 21, 17, .12); }
.nc-head { max-width: 44rem; }
.nc-head__eyebrow { margin: 0; font-size: .7rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #b5531f; }
.nc-head__title { margin: .7rem 0 0; font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif); font-size: clamp(2.3rem, 4.2vw, 3.6rem); font-weight: 500; line-height: 1; color: #181511; }
.nc-head__title--sm { margin: 0; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.nc-head__sub { margin: .9rem 0 0; font-size: 1rem; line-height: 1.6; color: rgba(24, 21, 17, .6); }
.nc-allhead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-top: 1rem; }
.nc-allhead[hidden], .nc-feat[hidden] { display: none; }
.nc-head__count { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(24, 21, 17, .5); }
[dir="rtl"] .nc-head__eyebrow, [dir="rtl"] .nc-head__count { letter-spacing: 0; }
.nc-feat .nc-badge:not(.is-sold) { display: none; } /* the heading already says "featured" */
