@import url("blue.css?v=2");

.part-a .color {
  animation: none;
}

.glyph.wave .color {
  opacity: 1;
}

.mobile-next {
  display: none;
}

/* Keep all five category labels in the same regular style on desktop and mobile. */
.category-tile strong {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  -webkit-text-stroke: 0;
}

.cta {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  display: block;
  position: relative;
  width: 145px;
  height: 64px;
  overflow: hidden;
}

.brand-logo img {
  display: block;
  position: absolute;
  top: -36px;
  left: 0;
  width: 145px;
  height: auto;
  mix-blend-mode: multiply;
}

.artist-about,
.artist-contacts,
.site-footer {
  display: none;
}

.cart svg,
.menu-toggle,
.mobile-menu,
.mobile-stub {
  display: none;
}

.mobile-menu[hidden] {
  display: none !important;
}

.menu-works-list[hidden] {
  display: none !important;
}

.back-to-works[hidden] {
  display: none !important;
}

.category-grid[hidden],
.gallery-view[hidden],
.bags-landing[hidden],
.product-card[hidden],
.cart-overlay[hidden],
.cart-item[hidden],
.cart-note[hidden] {
  display: none !important;
}

.image-dialog[hidden] { display: none !important; }
body.image-open { overflow: hidden; }

.image-dialog {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  padding: 58px 12px 20px;
  background: #101012;
  color: #fff;
}

.image-dialog img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.image-dialog.is-framed img { clip-path: inset(var(--frame-top) var(--frame-inset) var(--frame-bottom) var(--frame-inset)); filter: brightness(1.12) contrast(.97); }
.image-dialog.is-detail { overflow: hidden; }
.image-dialog.is-detail img { width: 100%; height: 100%; max-width: none; max-height: none; transform: translateY(var(--detail-shift)) scale(2.3); }
.image-dialog.is-wall { background: #e9e5de url('monotype-gallery-wall.png') center top / auto 130% no-repeat; }
.image-dialog.is-wall img { width: auto; height: min(70vh, 640px); max-width: none; max-height: none; clip-path: inset(var(--frame-top) var(--frame-inset) var(--frame-bottom) var(--frame-inset)); filter: brightness(1.12) contrast(.97) drop-shadow(12px 16px 12px #0009); }
.image-dialog > button { position: absolute; top: 10px; right: 14px; z-index: 1; border: 0; background: none; color: #fff; font-size: 36px; cursor: pointer; }
.image-dialog.is-wall > button { color: #1d1c1b; }

.cart-overlay { position: fixed; inset: 0; z-index: 200; }
.cart-scrim { position: absolute; inset: 0; background: #0009; }
.cart-panel { position: absolute; top: 0; right: 0; width: min(100%, 430px); height: 100%; box-sizing: border-box; overflow-y: auto; padding: 24px; background: var(--paper); }
.cart-panel-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #ccc; }
.cart-panel-head h2 { margin: 0 0 18px; font-size: 32px; }
.cart-panel-head button { border: 0; background: none; font-size: 32px; cursor: pointer; }
.cart-empty, .cart-note { line-height: 1.5; }
.cart-item { display: flex; gap: 14px; padding: 22px 0; border-bottom: 1px solid #ccc; }
.cart-item img { width: 100px; height: 78px; object-fit: cover; }
.cart-item div { display: flex; flex-direction: column; gap: 5px; }
.cart-item strong, .cart-item b { font-size: 16px; }
.cart-item span { font-size: 12px; }
.cart-item { align-items: flex-start; }
.cart-item div { flex: 1; min-width: 0; }
.cart-item a { color: #000; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.cart-remove { align-self: flex-start; border: 0; background: none; padding: 0 4px; font-size: 22px; line-height: 1; cursor: pointer; }
.cart-note { font-size: 13px; }
.cart-checkout { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 16px; border: 1px solid #000; background: #caff0a; color: #000; font-weight: 700; text-decoration: none; }
.cart-checkout[hidden] { display: none; }
.cart-checkout:hover, .cart-checkout:focus-visible { background: #e1ff71; }
.language-switch { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.language-switch button { border: 0; border-bottom: 1px solid transparent; padding: 3px 0; background: transparent; color: var(--ink); font: inherit; font-size: 11px; cursor: pointer; }
.language-switch button[aria-pressed="true"] { border-bottom-color: currentColor; }
.language-switch button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

@media (max-width: 760px) {
  body {
    padding: 0;
    background: var(--paper);
  }

  body.menu-open {
    overflow: hidden;
  }

  header {
    position: sticky;
    top: 0;
    height: 64px;
    min-height: 64px;
    padding: 0 5%;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand tools menu";
    column-gap: 8px;
    z-index: 100;
  }

  header strong {
    grid-area: brand;
    font-size: 17px;
  }

  .brand-logo {
    grid-area: brand;
    width: 145px;
    height: 64px;
  }

  .brand-logo img {
    width: 145px;
  }

  nav {
    display: none;
  }

  .tools {
    grid-area: tools;
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 7px;
  }

  .language-switch { gap: 4px; }
  .language-switch button { font-size: 10px; }

  .cart {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    white-space: nowrap;
  }

  .cart .cart-label {
    display: none;
  }

  .cart svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
  }

  .cart b {
    width: 18px;
    height: 18px;
    margin-left: 0;
    font-size: 11px;
  }

  .menu-toggle {
    grid-area: menu;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--ink);
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    background: var(--ink);
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu:not([hidden]) {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: calc(100svh - 64px);
    overflow-y: auto;
    padding: 0 0 28px;
    background: #171719;
    color: var(--paper);
    border: 0;
    box-shadow: none;
  }

  .menu-works-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 21px 5%;
    border: 0;
    background: #3155ec;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }

  .menu-arrow {
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
  }

  .menu-works-list {
    display: flex;
    flex-direction: column;
    padding: 8px 0 14px;
  }

  .menu-works-list a {
    display: block;
    padding: 11px 10%;
    color: var(--paper);
    font-size: 16px;
    letter-spacing: 0.03em;
  }

  .menu-works-list a:active,
  .menu-works-list a:focus-visible {
    background: #2b2b30;
  }

  .mobile-menu .menu-main {
    display: block;
    padding: 20px 5%;
    border-top: 1px solid #45454a;
    color: var(--paper);
    font-size: 20px;
    font-weight: 700;
  }

  main {
    height: 238px;
    min-height: 0;
  }

  .stripes {
    left: calc(50% - 24px);
    top: 25px;
    width: 163px;
    height: 146px;
  }

  .word {
    left: calc(50% - 136px);
    top: 40px;
    width: 272px;
  }

  .row {
    height: 59px;
  }

  .row.bottom {
    margin-top: -2px;
  }

  .glyph {
    font-size: 72px;
    line-height: 0.8;
    margin: 0 -5px;
  }

  .caption {
    left: max(20px, calc(50% - 136px));
    right: 20px;
    bottom: 9px;
  }

  .caption p {
    font-size: 11px;
    letter-spacing: 0.09em;
    white-space: nowrap;
  }

  .cta {
    display: none;
  }

  .scroll {
    display: none;
  }

  .hint {
    display: none;
  }

  .mobile-next {
    display: block;
    min-height: 220px;
    padding: 24px 5% 40px;
    background: var(--paper);
    border-top: 1px solid #d7d7d2;
  }

  #works,
  #about,
  #contacts {
    scroll-margin-top: 64px;
  }

  .back-to-works {
    display: block;
    width: fit-content;
    margin-top: 16px;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 4px;
  }

  .mobile-next span {
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .mobile-next h2 {
    margin: 12px 0 0;
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1;
  }

  .category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
  }

  .category-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 126px;
    padding: 0;
    border: 0;
    background: #e2e1da;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
  }

  .category-tile[data-category="Живопись"],
  .category-tile[data-category="Монотипии"],
  .category-tile[data-category="Сумки"] {
    grid-column: span 2;
    min-height: 144px;
  }

  .category-tile[data-category="Живопись"] {
    aspect-ratio: 2.3 / 1;
    min-height: 0;
    background: url('painting-cover-upscaled.webp') center / cover no-repeat;
  }

  .category-tile[data-category="Графика"],
  .category-tile[data-category="Монотипии"],
  .category-tile[data-category="Сумки"] {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .category-tile[data-category="Графика"] { background-image: url('graphic_cover.jpg'); }
  .category-tile[data-category="Сумки"] { aspect-ratio: 2.3 / 1; min-height: 0; background-image: url('bags_cover.jpg'); }

  .category-tile[data-category="Бетон"] {
    background: url('concrete.webp') center / cover;
  }

  .category-tile[data-category="Монотипии"] {
    aspect-ratio: 2.3 / 1;
    min-height: 0;
    background-image: url('monotype_cover.jpg');
  }

  .category-tile small,
  .category-tile span { display: none; }

  .category-tile strong {
    margin: auto auto 0 0;
    padding: 6px 9px;
    background: var(--paper);
    color: var(--ink);
    font-size: clamp(16px, 4.5vw, 19px);
    line-height: 1;
    white-space: nowrap;
  }

  .category-tile .category-initial {
    display: inline;
    font-size: .77em;
    letter-spacing: 0;
  }

  .category-tile:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: -3px;
  }

  .gallery-view {
    margin-top: 20px;
  }

  .bags-landing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .bags-landing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 1;
    overflow: hidden;
    padding: 0;
    text-align: left;
    font: inherit;
    cursor: pointer;
    background: #e9e8e3;
    border: 1px solid var(--ink);
  }

  .bags-landing-card:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
  }

  .bags-landing-card:nth-child(2) {
    background: #171717;
  }

  .bags-landing-card img {
    display: block;
    width: 100%;
    height: 0;
    flex: 1 1 auto;
    min-height: 0;
    object-fit: cover;
  }

  #bags-landing .bags-landing-card:nth-child(2) img {
    object-fit: contain;
    object-position: center;
    transform: scale(1.13);
    background: #faf8f4;
  }

  .bags-landing-card::after {
    content: none;
  }

  .bags-landing-number {
    position: absolute;
    z-index: 1;
    top: 9px;
    left: 9px;
    font-size: 10px;
    letter-spacing: .12em;
  }

  .bags-landing-card:nth-child(2) .bags-landing-number {
    color: #fff;
  }

  .bags-landing-card .bags-landing-title {
    display: flex;
    align-items: center;
    min-height: 45px;
    padding: 6px 9px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
  }

  .bags-landing-card:nth-child(2) .bags-landing-title {
    color: #fff;
  }

  .bag-theme-landing .bags-landing-card {
    border: 0;
    background: #fff;
    touch-action: manipulation;
  }

  .bag-theme-landing .bags-landing-card .bags-landing-title {
    box-sizing: border-box;
    flex: 0 0 30px;
    min-height: 0;
    padding: 3px 8px;
    font-size: 15px;
  }

  .bag-theme-landing .bags-landing-card:hover .bags-landing-title,
  .bag-theme-landing .bags-landing-card:focus-visible .bags-landing-title {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .bag-theme-landing .bags-landing-card:nth-child(2) {
    background: #190807;
  }

  .bag-theme-landing .bags-landing-card:nth-child(2) .bags-landing-number,
  .bag-theme-landing .bags-landing-card:nth-child(2) .bags-landing-title {
    color: #fff;
  }

  .bag-theme-landing .bags-landing-card:nth-child(2) .bags-landing-title {
    position: relative;
    z-index: 2;
    background: #190807;
  }

  .bag-theme-landing .bags-landing-card img {
    object-fit: contain;
    background: #fff;
  }

  .bag-theme-landing .bags-landing-card:first-child img {
    object-fit: cover;
  }

  .bag-theme-landing .bags-landing-card:nth-child(2) img {
    object-fit: cover;
    transform: translateY(3%) scale(1.24);
    transform-origin: center center;
    background: #190807;
  }

  #bags-gallery,
  #anime-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 8px;
  }

  #bags-gallery[hidden],
  #anime-gallery[hidden] {
    display: none;
  }

  #bags-gallery .gallery-work:nth-child(n),
  #anime-gallery .gallery-work:nth-child(n) {
    width: 100%;
    align-self: auto;
  }

  .bag-product-gallery .bag-gallery-open {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #f5f4f0;
    cursor: pointer;
  }

  .bag-product-gallery .bag-gallery-open img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #anime-gallery .bag-gallery-open {
    aspect-ratio: 4 / 5;
  }

  #anime-gallery .bag-gallery-open img {
    object-fit: contain;
  }

  .bag-product-gallery figcaption {
    margin-top: 4px;
    font-size: 11px;
  }

  #shopper-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 8px;
  }

  #shopper-gallery[hidden] {
    display: none;
  }

  .shopper-gallery .gallery-work:nth-child(n) {
    width: 100%;
    align-self: auto;
  }

  .shopper-zoom {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: #e9e8e3;
    cursor: pointer;
  }

  #shopper-gallery .shopper-zoom img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .shopper-gallery figcaption {
    margin-top: 4px;
    font-size: 11px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 10px;
  }

  .painting-gallery {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .gallery-work {
    margin: 0;
    position: relative;
  }

  .gallery-sold {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 4px 6px;
    background: #111;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .04em;
    pointer-events: none;
  }

  .gallery-work img {
    display: block;
    width: 100%;
    height: auto;
  }

  .gallery-open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .gallery-work:nth-child(2) {
    width: 76%;
    align-self: center;
  }

  .gallery-work:nth-child(3) {
    width: 90%;
    align-self: flex-end;
  }

  #painting-gallery,
  #monotype-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 14px 8px;
  }

  #painting-gallery .gallery-work:nth-child(n),
  #monotype-gallery .gallery-work:nth-child(n) {
    width: 100%;
    align-self: auto;
  }

  #painting-gallery .gallery-open,
  #monotype-gallery .gallery-open {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    overflow: hidden;
    background: #e9e8e3;
  }

  #painting-gallery .gallery-work img,
  #monotype-gallery .gallery-work img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  #monotype-gallery .gallery-open.is-paper-lit { position: relative; }
  #monotype-gallery .is-paper-lit[data-work="monotype-new-1"] { --paper-window: inset(15.7% 31.6% 17.3% 31.6%); }
  #monotype-gallery .is-paper-lit[data-work="monotype-new-2"] { --paper-window: inset(15.2% 32.3% 18.3% 32.3%); }
  #monotype-gallery .is-paper-lit[data-work="monotype-new-3"] { --paper-window: inset(17.4% 32.4% 19.4% 32.4%); }
  #monotype-gallery .is-paper-lit[data-work="monotype-new-4"] { --paper-window: inset(16.7% 41.3% 18.2% 41.3%); }
  #monotype-gallery .gallery-open .gallery-paper-light {
    position: absolute;
    left: 0;
    top: 0;
    height: auto;
    clip-path: var(--paper-window);
    filter: brightness(1.11) contrast(.99);
    pointer-events: none;
  }

  #painting-gallery figcaption,
  #monotype-gallery figcaption {
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.2;
  }

  #painting-gallery[hidden],
  #monotype-gallery[hidden] {
    display: none;
  }

  .concrete-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
  }

  .concrete-gallery .gallery-work:nth-child(n) {
    width: 100%;
    align-self: auto;
  }

  .concrete-gallery .gallery-work img {
    aspect-ratio: 1;
    object-fit: contain;
    background: #e9e8e3;
  }

  .product-buy:disabled {
    cursor: default;
    opacity: .55;
  }

  .painting-gallery[hidden],
  .gallery-grid[hidden] {
    display: none;
  }

  .product-card { margin-top: 2px; }
  .product-back, .product-return { border: 0; padding: 0; background: none; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
  .product-back { margin-bottom: 10px; }
  .product-media { position: relative; width: 100%; aspect-ratio: 1.43; overflow: hidden; background: #e7e7e1; }
  .product-media.is-shopper { aspect-ratio: 1; background: #f7f6f2; }
  .product-hero { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
  .product-hero img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .product-media.is-framed .product-hero { position: relative; }
  .product-media.is-framed .product-hero img { position: absolute; left: 50%; top: 50%; width: auto; height: 100%; max-width: none; transform: translate(-50%, -50%); clip-path: inset(var(--frame-top) var(--frame-inset) var(--frame-bottom) var(--frame-inset)); filter: brightness(1.12) contrast(.97); }
  .product-media.is-detail .product-hero { overflow: hidden; }
  .product-media.is-detail .product-hero img { transform: translateY(var(--detail-shift)) scale(4.1); }
  .product-media.is-wall { background: #e9e5de url('monotype-gallery-wall.png') center top / auto 130% no-repeat; }
  .product-media.is-wall .product-hero { position: relative; }
  .product-media.is-wall .product-hero::before { content: ''; position: absolute; left: 50%; top: 50%; width: var(--shadow-width); height: 82%; transform: translate(-44%, -46%); background: #0004; filter: blur(12px); }
  .product-media.is-wall .product-hero img { position: absolute; left: 50%; top: 50%; width: auto; height: 88%; max-width: none; transform: translate(-50%, -50%); clip-path: inset(var(--frame-top) var(--frame-inset) var(--frame-bottom) var(--frame-inset)); filter: brightness(1.12) contrast(.97); }
  .product-hero > span { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 29px; height: 29px; background: var(--paper); font-size: 18px; }
  .product-arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 34px; height: 42px; transform: translateY(-50%); padding: 0; border: 0; background: #f6f5f0e8; color: var(--ink); font: inherit; font-size: 31px; line-height: 1; cursor: pointer; }
  .product-arrow-prev { left: 0; }
  .product-arrow-next { right: 0; }
  .product-image-count { position: absolute; left: 8px; bottom: 8px; padding: 4px 7px; background: #f6f5f0e8; color: var(--ink); font-size: 11px !important; letter-spacing: 0 !important; }
  .product-arrow[hidden], .product-image-count[hidden] { display: none !important; }
  .product-info { padding: 12px 0 0; }
  .product-info .product-type { margin: 0 0 4px; font-size: 10px; letter-spacing: .12em; }
  .product-info h2 { margin: 0; font-size: 22px; line-height: 1.1; }
  .product-author { margin: 4px 0 10px; font-size: 12px; }
  .product-facts { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #c9c9c3; border-bottom: 1px solid #c9c9c3; font-size: 12px; }
  .product-facts span { color: #6b6b67; }
  .product-facts strong { font-weight: 500; text-align: right; }
  .product-measurements { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; white-space: nowrap; }
  .product-measurements strong { color: var(--ink); }
  .product-measurements #product-weight { font-size: 11px; }
  .product-measurements #product-weight[hidden] { display: none; }
  .product-info .product-description { margin: 10px 0 2px; color: #3f3f3b; font-size: 12px; line-height: 1.5; }
  .product-info .product-description[hidden] { display: none; }
  .product-offer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 10px; }
  .product-info .product-status { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 12px; white-space: nowrap; }
  .product-status span[aria-hidden="true"] { width: 8px; height: 8px; border-radius: 50%; background: #348a59; }
  .product-status.is-unconfirmed span[aria-hidden="true"] { background: #8c8c87; }
  .product-status.is-sold span[aria-hidden="true"] { background: #8c8c87; }
  .product-info .product-price { margin: 0; font-size: 23px; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
  .product-info .product-price.is-unconfirmed { font-size: 16px; font-weight: 500; letter-spacing: 0; }
  .product-buy { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 12px 15px; border: 1px solid var(--ink); background: var(--acid); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
  .product-buy span { font-size: 19px; }
  .product-info .product-delivery { margin: 6px 0 0; color: #6b6b67; font-size: 11px; line-height: 1.3; }
  .product-return { margin-top: 14px; text-decoration: underline; text-underline-offset: 3px; }

  .work-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 3 / 4;
    border: 1px solid #d0d0cb;
    background: #e9e8e2;
  }

  .work-placeholder:first-child {
    grid-column: span 2;
    aspect-ratio: 4 / 3;
  }

  .work-placeholder:last-child {
    aspect-ratio: 1 / 1;
  }

  .work-placeholder span {
    color: #696963;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .artist-about,
  .artist-contacts {
    display: block;
    padding: 34px 5% 42px;
    background: var(--paper);
    border-top: 1px solid #d7d7d2;
  }

  .artist-about { padding-top: 26px; padding-bottom: 32px; }

  .section-heading > span {
    display: block;
    margin-bottom: 9px;
    font-size: 10px;
    letter-spacing: .13em;
  }

  .section-heading h2 {
    margin: 0 0 16px;
    font-size: 34px;
    line-height: 1;
  }

  .artist-portrait {
    width: 82%;
    margin: 0 auto;
  }

  .artist-portrait img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 28%;
  }

  .artist-story h3 {
    margin: 14px 0 3px;
    font-size: 29px;
    line-height: 1.02;
    letter-spacing: -.04em;
  }

  .artist-story p {
    margin: 13px 0 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .artist-story .artist-location {
    margin-top: 5px;
    color: #686862;
    font-size: 11px;
    letter-spacing: .07em;
    text-transform: uppercase;
  }

  .artist-more {
    margin-top: 23px;
    border-top: 1px solid #c9c9c3;
    border-bottom: 1px solid #c9c9c3;
  }

  .artist-more summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 0;
    font-size: 13px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
  }

  .artist-more summary::-webkit-details-marker { display: none; }
  .artist-more[open] summary span { transform: rotate(90deg); }
  .artist-more p:first-of-type { margin-top: 0; }
  .artist-more p:last-child { margin-bottom: 18px; }

  .artist-contacts > p {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.5;
  }

  .contact-primary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 16px;
    border: 1px solid var(--ink);
    background: var(--acid);
    font-size: 14px;
    font-weight: 700;
  }

  .contact-primary span { font-size: 20px; }

  .contact-links {
    display: flex;
    flex-direction: column;
    margin: 24px 0 22px;
    border-top: 1px solid #c9c9c3;
  }

  .contact-links a {
    display: flex;
    justify-content: space-between;
    padding: 13px 0;
    border-bottom: 1px solid #c9c9c3;
    font-size: 13px;
  }

  .artist-contacts .contact-note {
    margin: 0;
    color: #686862;
    font-size: 11px;
  }

  .site-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 22px 5% 30px;
    border-top: 1px solid #d7d7d2;
    background: var(--paper);
    font-size: 10px;
    letter-spacing: .06em;
  }
}

@media (min-width: 761px) {
  html { scroll-behavior: smooth; }
  body { padding: 0; background: var(--paper); }

  header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 80px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(16px, 3vw, 48px);
    padding: 0 clamp(24px, 4vw, 72px);
  }
  header > nav:not(.mobile-menu) {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 2.4vw, 36px);
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
  }
  header > nav:not(.mobile-menu) a:hover,
  header > nav:not(.mobile-menu) a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 5px;
  }
  .tools {
    display: grid;
    grid-template-columns: 104px 44px;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
  }
  .language-switch {
    display: grid;
    grid-template-columns: 26px 28px 42px;
    gap: 4px;
    justify-items: center;
  }
  .language-switch button { width: 100%; text-align: center; }
  .cart {
    position: relative;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
  }
  .cart .cart-label { display: none; }
  .cart svg {
    display: block;
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
  }
  .cart b {
    position: absolute;
    top: -6px;
    right: -7px;
    width: 18px;
    height: 18px;
    margin: 0;
    font-size: 10px;
  }
  main { height: min(760px, calc(100svh - 80px)); min-height: 560px; }

  #works, #about, #contacts { scroll-margin-top: 80px; }
  .mobile-next,
  .artist-about,
  .artist-contacts,
  .site-footer {
    display: block;
    width: 100%;
    background: var(--paper);
  }
  .mobile-next {
    min-height: 480px;
    padding: 68px max(5vw, calc((100vw - 1360px) / 2)) 86px;
    border-top: 1px solid #d7d7d2;
  }
  #catalog-kicker,
  .section-heading > span {
    display: block;
    font-size: 12px;
    letter-spacing: .14em;
  }
  .back-to-works {
    display: block;
    width: fit-content;
    margin-top: 18px;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .mobile-next > h2 {
    margin: 14px 0 0;
    font-size: clamp(44px, 5vw, 68px);
    line-height: 1;
  }
  .category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
  }
  .category-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 220px;
    overflow: hidden;
    padding: 16px;
    border: 0;
    background: #e2e1da center / cover no-repeat;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: transform .2s ease;
  }
  .category-tile:hover { transform: translateY(-4px); }
  .category-tile:focus-visible,
  .bags-landing-card:focus-visible,
  .gallery-open:focus-visible { outline: 3px solid #3155ec; outline-offset: 3px; }
  .category-tile[data-category="Живопись"] { background-image: url('painting-cover-upscaled.webp'); }
  .category-tile[data-category="Графика"] { background-image: url('graphic_cover.jpg'); }
  .category-tile[data-category="Бетон"] { background-image: url('concrete.webp'); }
  .category-tile[data-category="Монотипии"] { background-image: url('monotype_cover.jpg'); }
  .category-tile[data-category="Сумки"] { background-image: url('bags_cover.jpg'); }
  .category-tile small {
    padding: 5px 7px;
    background: var(--paper);
    font-size: 11px;
    letter-spacing: .1em;
  }
  .category-tile strong {
    margin-top: auto;
    padding: 8px 11px;
    background: var(--paper);
    font-size: clamp(20px, 2vw, 29px);
    line-height: 1;
  }
  .category-tile .category-initial { font-size: .8em; }
  .category-tile > span:last-child { display: none; }

  .gallery-view { margin-top: 34px; }
  .bags-landing {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .bags-landing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: clamp(280px, 32vw, 410px);
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--ink);
    background: #e9e8e3;
    color: var(--ink);
    text-align: left;
    font: inherit;
    cursor: pointer;
  }
  .bags-landing-card:nth-child(2) { background: #171717; color: #fff; }
  .bags-landing-card img {
    display: block;
    width: 100%;
    height: 0;
    min-height: 0;
    flex: 1 1 auto;
    object-fit: cover;
  }
  #bags-landing .bags-landing-card:nth-child(2) img {
    object-fit: contain;
    object-position: center;
    transform: scale(1.13);
    background: #faf8f4;
  }
  .bag-theme-landing .bags-landing-card:first-child img { object-fit: cover; }
  .bag-theme-landing .bags-landing-card:nth-child(2) img { object-fit: contain; background: #190807; }
  .bags-landing-number {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 7px;
    background: var(--paper);
    color: var(--ink);
    font-size: 11px;
    letter-spacing: .1em;
  }
  .bags-landing-title {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 10px 16px;
    font-size: clamp(21px, 2vw, 29px);
    font-weight: 700;
    line-height: 1.1;
  }
  .bags-landing-card:hover .bags-landing-title { text-decoration: underline; text-underline-offset: 4px; }

  .painting-gallery,
  #bags-gallery,
  #anime-gallery,
  #shopper-gallery,
  .concrete-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 26px 18px;
  }
  #shopper-gallery,
  #anime-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .painting-gallery[hidden],
  #shopper-gallery[hidden],
  .gallery-grid[hidden] { display: none !important; }
  .gallery-work { position: relative; min-width: 0; margin: 0; }
  .gallery-open {
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: #e9e8e3;
    cursor: pointer;
  }
  .gallery-open img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    transition: transform .2s ease;
  }
  .gallery-open:hover img { transform: scale(1.025); }
  #anime-gallery .gallery-open img { aspect-ratio: 4 / 5; }
  .gallery-work figcaption { margin-top: 7px; font-size: 14px; line-height: 1.3; }
  .gallery-sold {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 8px;
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    pointer-events: none;
  }
  #monotype-gallery .gallery-open.is-paper-lit { position: relative; }
  #monotype-gallery .gallery-paper-light { display: none; }

  .product-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 0 clamp(30px, 4vw, 72px);
    align-items: start;
    margin-top: 18px;
  }
  .product-back,
  .product-return {
    width: fit-content;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
  }
  .product-back { grid-column: 1 / -1; margin-bottom: 18px; }
  .product-media {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: #e7e7e1;
  }
  .product-media.is-shopper { background: #f7f6f2; }
  .product-hero { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
  .product-hero img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .product-media.is-framed .product-hero img,
  .product-media.is-wall .product-hero img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: auto;
    height: 100%;
    max-width: none;
    transform: translate(-50%, -50%);
    clip-path: inset(var(--frame-top) var(--frame-inset) var(--frame-bottom) var(--frame-inset));
  }
  .product-media.is-detail .product-hero { overflow: hidden; }
  .product-media.is-detail .product-hero img { transform: translateY(var(--detail-shift)) scale(4.1); }
  .product-media.is-wall { background: #e9e5de url('monotype-gallery-wall.png') center top / auto 130% no-repeat; }
  .product-hero > span {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    background: var(--paper);
    font-size: 19px;
  }
  .product-arrow {
    position: absolute;
    top: 50%;
    display: grid;
    place-items: center;
    width: 42px;
    height: 52px;
    transform: translateY(-50%);
    padding: 0;
    border: 0;
    background: #f6f5f0e8;
    color: var(--ink);
    font: inherit;
    font-size: 33px;
    cursor: pointer;
  }
  .product-arrow-prev { left: 0; }
  .product-arrow-next { right: 0; }
  .product-image-count { position: absolute; bottom: 12px; left: 12px; padding: 6px 8px; background: #f6f5f0e8; font-size: 12px; }
  .product-arrow[hidden], .product-image-count[hidden] { display: none !important; }
  .product-info { grid-column: 2; grid-row: 2; padding-top: 4px; }
  .product-type { margin: 0 0 8px; font-size: 12px; letter-spacing: .12em; }
  .product-info h2 { margin: 0; font-size: clamp(30px, 3vw, 46px); line-height: 1.05; }
  .product-author { margin: 10px 0 24px; font-size: 15px; }
  .product-facts { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid #c9c9c3; border-bottom: 1px solid #c9c9c3; font-size: 15px; }
  .product-facts > span:first-child { color: #696963; }
  .product-measurements { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; }
  .product-measurements #product-weight[hidden],
  .product-description[hidden] { display: none !important; }
  .product-description { margin: 20px 0 0; font-size: 15px; line-height: 1.6; }
  .product-offer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 30px; }
  .product-status { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
  .product-status span[aria-hidden="true"] { width: 9px; height: 9px; border-radius: 50%; background: #348a59; }
  .product-status.is-unconfirmed span[aria-hidden="true"],
  .product-status.is-sold span[aria-hidden="true"] { background: #8c8c87; }
  .product-price { margin: 0; font-size: 28px; font-weight: 700; white-space: nowrap; }
  .product-price.is-unconfirmed { font-size: 18px; font-weight: 500; }
  .product-buy { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 20px; padding: 18px 20px; border: 1px solid var(--ink); background: var(--acid); color: var(--ink); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
  .product-buy:disabled { opacity: .55; cursor: default; }
  .product-delivery { margin: 10px 0 0; color: #696963; font-size: 13px; }
  .product-return { grid-column: 1 / -1; margin-top: 28px; }

  .artist-about,
  .artist-contacts {
    max-width: 1440px;
    margin: 0 auto;
    padding: 72px clamp(32px, 5vw, 80px) 86px;
    border-top: 1px solid #d7d7d2;
  }
  .section-heading h2 { margin: 12px 0 34px; font-size: clamp(44px, 5vw, 64px); line-height: 1; }
  .artist-about { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr); gap: 0 clamp(40px, 6vw, 96px); }
  .artist-about .section-heading { grid-column: 1 / -1; }
  .artist-portrait { grid-column: 1; margin: 0; }
  .artist-portrait img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 28%; }
  .artist-story { grid-column: 2; }
  .artist-story h3 { margin: 0 0 8px; font-size: clamp(38px, 4vw, 58px); line-height: 1; letter-spacing: -.04em; }
  .artist-story p { margin: 20px 0 0; font-size: 17px; line-height: 1.65; }
  .artist-story .artist-location { margin-top: 10px; color: #686862; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
  .artist-more { margin-top: 30px; border-top: 1px solid #c9c9c3; border-bottom: 1px solid #c9c9c3; }
  .artist-more summary { display: flex; justify-content: space-between; padding: 16px 0; font-weight: 700; cursor: pointer; }
  .artist-more summary::-webkit-details-marker { display: none; }
  .artist-more p:first-of-type { margin-top: 0; }
  .artist-more p:last-child { margin-bottom: 20px; }
  .artist-contacts > p { max-width: 650px; margin: 0 0 24px; font-size: 17px; line-height: 1.6; }
  .contact-primary { display: flex; justify-content: space-between; align-items: center; max-width: 440px; padding: 18px 20px; border: 1px solid var(--ink); background: var(--acid); font-weight: 700; }
  .contact-links { display: flex; flex-wrap: wrap; gap: 12px 36px; margin: 30px 0; }
  .contact-links a { padding-bottom: 6px; border-bottom: 1px solid #aaa; }
  .artist-contacts .contact-note { color: #686862; font-size: 13px; }
  .site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px 5%; border-top: 1px solid #d7d7d2; font-size: 12px; }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .category-grid,
  .painting-gallery,
  #bags-gallery,
  #anime-gallery,
  #shopper-gallery,
  .concrete-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card { grid-template-columns: minmax(0, 1fr); }
  .product-media,
  .product-info { grid-column: 1; grid-row: auto; }
  .product-media { max-width: 700px; }
  .product-info { max-width: 700px; padding-top: 28px; }
  .artist-about { grid-template-columns: minmax(240px, .8fr) minmax(0, 1fr); gap: 0 36px; }
}

/* Author biography: workshop mural */
.artist-workshop { width: min(100%, 320px); margin: 26px 0; }
.artist-workshop img { display:block; width:100%; height:auto; aspect-ratio: 3 / 3.55; object-fit:cover; object-position:center 48%; }
.artist-workshop figcaption { margin-top:10px; color:#686862; font-size:13px; line-height:1.5; }
