/* Fonts loaded via <link> tags in each page's <head> — more reliable than @import, less likely to be blocked by privacy tools.
   Logo: Marcellus. All other text: EB Garamond (used across EN/RU/KK). */

:root {
  --ink: #1A1A18;
  --gold: #9C7A44;
  --paper: #FFFFFF;
  --muted: #6B665C;
  --line: #E8E5DE;
  --placeholder-bg: #F1EFEA;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.nav-bar.wrap { max-width: none; padding: 0 28px; }

header.site {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--paper);
}
.nav-bar { display:grid; grid-template-columns: auto 1fr auto; align-items:center; min-height:26px; }
.nav-left { display:flex; align-items:center; justify-self:start; }
.nav-right { display:flex; align-items:center; justify-self:end; }
/* the full-screen menu is not part of the header's run of controls */
.nav-left > *:not(.mobile-nav) + *:not(.mobile-nav),
.nav-right > * + * { margin-left: 20px; }
.desk-nav { display:flex; align-items:center; }
.desk-nav a + a { margin-left: 20px; }
.desk-nav a {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 15px; letter-spacing: 0.06em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.desk-nav a:hover { color: var(--gold); }
.wish-link {
  font-family: 'EB Garamond', Georgia, serif; font-size: 15px; letter-spacing: 0.06em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center;
}
.wish-link:hover { color: var(--gold); }
.wish-icon { display: none; line-height: 0; }
.nav-bar .menu-toggle { display: none; }
.nav-left > *, .nav-right > * { display:flex; align-items:center; }
.menu-toggle {
  background:none; border:none; cursor:pointer;
  color: var(--ink); padding:4px; line-height:0;
}
.wordmark {
  font-family: 'Marcellus', Georgia, serif;
  font-size: 19px;
  letter-spacing: 0.2em;
  color: var(--ink);
  text-decoration: none;
  text-align: center;
  justify-self: center;
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav-left { position: relative; }
.mobile-nav {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 400;                 /* under the header, so the ✕ stays reachable */
  padding: 92px 28px 48px;
  background: var(--paper);
  overflow-y: auto;
}
.mi-close { display: none; }
body.menu-open .mi-open { display: none; }
body.menu-open .mi-close { display: block; }
body.menu-open { overflow: hidden; }
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: var(--ink);
  text-decoration: none;
  padding: 7px 0;
  white-space: nowrap;
}
.mobile-nav a:hover { color: var(--gold); }

.icon-btn {
  background:none; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  color: var(--ink); text-decoration:none; line-height:1; padding:4px 0;
}
.icon-btn svg { display:block; }
.icon-btn:hover { color: var(--gold); }

.lang-switch {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--ink);
  background: transparent;
  border: none;
  padding: 4px 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.lang-switch::-ms-expand { display: none; }
.lang-switch:focus, .lang-switch:focus-visible { outline: none; box-shadow: none; }
/* the list itself stays dark on white whatever colour the header text is */
.lang-switch option { color: var(--ink); background: var(--paper); }

.draft-banner {
  background: #FBF3E4;
  color: var(--ink);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.3px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 400;
}

/* ---- Homepage: header floats over the hero, collapses to a solid bar on scroll ---- */
body.has-hero header.site {
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
}
/* the header floats over the photo, so its controls are white until it collapses */
body.has-hero header.site .wordmark,
body.has-hero header.site .wish-link,
body.has-hero header.site .menu-toggle,
body.has-hero header.site .icon-btn,
body.has-hero header.site .lang-switch,
body.has-hero header.site .desk-nav a { color: #fff; transition: color 0.25s ease; }
body.has-hero header.site.scrolled .wordmark,
body.has-hero header.site.scrolled .wish-link,
body.has-hero header.site.scrolled .menu-toggle,
body.has-hero header.site.scrolled .icon-btn,
body.has-hero header.site.scrolled .lang-switch,
body.has-hero header.site.scrolled .desk-nav a { color: var(--ink); }


/* collapsed state */
body.has-hero header.site.scrolled {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}


body.has-hero .mobile-nav { background: var(--paper); }

/* header floats above the hero; being fixed it leaves the flow, so the photo starts at the top */
body.has-hero header.site { position: fixed; top: 0; left: 0; right: 0; }

/* ---- Homepage hero photo ---- */
.hero-photo { position: relative; text-align:center; background: var(--placeholder-bg); overflow: hidden; }
/* keeps the white header legible over light photographs */
body.has-hero .hero-photo::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 190px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.42), rgba(0,0,0,0));
  z-index: 2; pointer-events: none;
}
.hero-photo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 220px;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
  pointer-events: none;
  z-index: 1;
}
.hero-slogan {
  position: absolute;
  left: 0; right: 0; bottom: 42px;
  z-index: 2;
  padding: 0 28px;
  color: #fff;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  line-height: 1.45;
  pointer-events: none;
}
.hero-slides { position: relative; width: 100%; height: 85vh; }

.hero-slide {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  opacity: 0; transition: opacity 0.9s ease; display: block;
}
.hero-slide.active { opacity: 1; }
.hero-slide picture { display: block; width: 100%; height: 100%; }
.hero-slide img { width:100%; height:100%; object-fit: cover; object-position: center 38%; display:block; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.45);
  color: #fff; font-size: 21px; line-height: 1; cursor: pointer; z-index: 3;
  display: flex; align-items: center; justify-content: center;
}
.hero-arrow:hover { background: rgba(255,255,255,0.28); border-color: var(--gold); color: var(--gold); }
.hero-arrow-prev { left: 22px; }
.hero-arrow-next { right: 22px; }
.hero-link {
  position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3;
  text-align: center; color: #fff; text-decoration: none;
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
}
.hero-link:hover { color: var(--gold); }
.hero-intro {
  max-width: 760px; margin: 0 auto; padding: 40px 0 6px;
  text-align: center; font-size: 19px; line-height: 1.7; color: var(--ink);
}

.section-title {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 27px;
  letter-spacing: 1.5px;
  text-align: center;
  margin: 0 0 8px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 1px;
  margin-bottom: 56px;
}

/* ---- Filters ---- */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 26px; padding: 26px 0 18px; border-bottom: 1px solid var(--line); margin-top: 32px;
}
.filter-field { display: inline-flex; align-items: center; }
.filter-control { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.filter-display {
  font-family: 'EB Garamond', Georgia, serif; font-size: 16px;
  color: var(--ink); white-space: nowrap; padding-right: 16px;
}
.filter-control:hover .filter-display { color: var(--gold); }
.filter-caret {
  position: absolute; right: 0; pointer-events: none;
  font-size: 12px; color: var(--muted); line-height: 1;
}
/* the real control: invisible, stretched over the label, opens the native picker */
.filter-control select {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; border: 0; margin: 0; padding: 0;
  font-size: 16px;   /* 16px stops iOS from zooming the page on tap */
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
}
.filter-clear {
  font-family: 'EB Garamond', Georgia, serif; font-size: 16px;
  background: none; border: none; color: var(--muted);
  cursor: pointer; padding: 2px 0; text-decoration: underline;
}
.filter-clear:hover { color: var(--gold); }

.grid-empty {
  text-align:center; color: var(--muted); font-size: 16px;
  padding: 40px 0 100px; display:none;
}

.all-artworks-title { font-size: 34px; letter-spacing: 1px; padding-top: 54px; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 70px 32px;
  padding: 40px 0 100px;
}
/* the works span the full window, like the header does */
.grid-wide { max-width: none; padding: 0 28px; }
.card { text-decoration: none; color: var(--ink); }
.work-card { position: relative; }
.wish-remove {
  display: block; margin: 10px auto 0; padding: 4px;
  background: none; border: none; cursor: pointer;
  font-family: 'EB Garamond', Georgia, serif; font-size: 15px;
  color: var(--muted); text-decoration: underline; text-underline-offset: 2px;
}
.wish-remove:hover { color: var(--ink); }
.card-link { display: block; text-decoration: none; color: inherit; }

/* ---- Like / wishlist ---- */
.like-btn {
  background: none; border: none; padding: 6px; cursor: pointer;
  color: var(--ink); line-height: 0;
}
.like-btn svg { display: block; }

.like-btn.liked svg path { fill: currentColor; }
/* heart beside the button: stretched to the button's height, whatever that is */
.wish-hidden { display: none !important; }
.wish-device { text-align: center; color: var(--muted); font-size: 14px; margin-top: 8px; }
.wish-empty { display: none; text-align: center; padding: 10px 0 110px; font-size: 17px; }
.wish-empty a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.wish-empty a:hover { color: var(--gold); }
.card img { width: 100%; height: 340px; object-fit: contain; background: var(--paper); }
.card .meta { padding-top: 16px; line-height: 1.35; }
.card .meta { text-align: center; }
.artist-card .title { font-size: 22px; }
.card .artist { font-size: 19px; letter-spacing: 0.3px; color: var(--ink); }
.card .title { font-family: 'EB Garamond', Georgia, serif; font-style: normal; font-size: 19px; margin-top: 0; }
.card .price { font-size: 19px; margin-top: 10px; color: var(--ink); }

.avatar-placeholder {
  width:100%; aspect-ratio: 1 / 1; background: var(--placeholder-bg);
  display:flex; align-items:center; justify-content:center; text-align:center;
  color: var(--muted); font-size: 13px; letter-spacing:1px; text-transform:uppercase;
}
.avatar-placeholder-lg {
  width:160px; height:160px; border-radius:50%; margin: 0 auto 28px;
  background: var(--placeholder-bg); display:flex; align-items:center; justify-content:center;
  color: var(--muted); font-size: 13px; letter-spacing:1px; text-transform:uppercase; text-align:center;
}

/* ---- Work detail page ---- */
.piece {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: calc(100vh - 112px);   /* 112px = the header, measured */
  min-height: 520px;             /* never collapses on very short windows */
}
.piece .gallery {
  display: flex; flex-direction: column; align-items: flex-end;
  padding: 24px 60px 40px 40px;
}
.piece-info { display: flex; align-items: flex-start; justify-content: flex-start; padding: 70px 40px 40px 60px; overflow-y: auto; }
.piece-info-inner { width: 100%; max-width: 430px; }

.gallery-stage { display: inline-block; text-align: left; max-width: 100%; }
.gallery-main { touch-action: pan-y; }
.gallery-main img {
  display: block; margin: 0 auto;
  max-width: 100%;
  /* header 112 + thumbnails 76 + caption 35 + padding 64, rounded up */
  max-height: calc(100vh - 300px);
  width: auto; height: auto;
  user-select: none; cursor: zoom-in;
  transition: opacity 0.22s ease;
}
.gallery-thumbs { display: flex; justify-content: flex-start; margin-top: 18px; }
.gallery-thumb {
  width: 58px; height: 58px; object-fit: cover; cursor: pointer;
  border: 1px solid var(--line); opacity: 0.8;
}
.gallery-thumb + .gallery-thumb { margin-left: 8px; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.active { border: 2px solid var(--ink); opacity: 1; }
.gallery-caption { font-size: 14px; color: var(--muted); margin-top: 16px; letter-spacing: 0.3px; text-align: center; }

/* the artist's name is now simply the first line of the description */
.piece .artist {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 19px; font-weight: 400; letter-spacing: 0.3px;
  color: var(--ink);
  text-decoration: none;
}
.piece a.artist:hover { color: var(--gold); text-decoration: underline; }
.piece .title {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: normal; font-size: 19px; font-weight: 400;
  margin: 0; color: var(--ink); line-height: 1.7;
}
.title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin: 0 0 6px; }
.title-row .like-btn { flex: 0 0 auto; margin-top: 2px; }
.piece .facts div { font-family: 'EB Garamond', Georgia, serif; font-size: 19px; color: var(--ink); line-height: 1.7; }
.piece .facts { margin-bottom: 22px; }
.frame-picker { margin: 4px 0 22px; }
.frame-label { font-size: 17px; margin-bottom: 10px; color: var(--ink); }
.frame-label .frame-name { color: var(--muted); }
.frame-swatches { display: flex; gap: 12px; }
.frame-note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.framed-size { color: var(--muted); }
.framed-size[hidden] { display: none; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); cursor: pointer; padding: 0;
  transition: box-shadow 0.15s ease;
}
.swatch:hover { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--muted); }
.swatch.active { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }
.swatch-unframed {
  background: #fff linear-gradient(to top right, transparent calc(50% - 0.6px), var(--muted) calc(50% - 0.6px), var(--muted) calc(50% + 0.6px), transparent calc(50% + 0.6px));
}
.swatch-light-wood { background: #d4b88c; background-image: repeating-linear-gradient(100deg, #d8bf96 0px, #d8bf96 3px, #c6a877 3px, #c6a877 5px, #dcc59f 5px, #dcc59f 8px); }
.swatch-dark-wood  { background: #553623; background-image: repeating-linear-gradient(100deg, #5a3a26 0px, #5a3a26 3px, #452b1b 3px, #452b1b 5px, #634130 5px, #634130 8px); }
.swatch-black      { background: #1d1d1b; border-color: #1d1d1b; }
.swatch-white      { background: #f6f4ef; }

.piece .price { font-family: 'EB Garamond', Georgia, serif; font-style: normal; font-size: 22px; font-weight: 400; margin: 6px 0 24px; }
.piece .cta {
  display: block;
  text-align: center;
  padding: 18px 36px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  text-decoration: none;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.piece .cta:hover { background: var(--ink); color: var(--paper); }
.piece .delivery-link {
  display: inline-block; margin-top: 14px; font-size: 14px; letter-spacing: 0.5px;
  color: var(--ink); text-decoration: underline;
}

.about-body { max-width: 640px; margin: 0 auto; padding: 60px 0 110px; font-size: 19px; }
.about-body .section-title { text-align: center !important; margin-bottom: 60px; }
.about-body p { margin-bottom: 22px; }
.about-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.about-body a:hover { color: var(--gold); }

.artist-page { max-width: 640px; margin: 0 auto; padding: 70px 0 30px; text-align:center; }
.artist-page h1 { font-family: 'EB Garamond', Georgia, serif; font-size: 38px; letter-spacing: 0.5px; font-weight: 400; margin-bottom: 24px; }
.artist-page .bio { font-size: 19px; margin-bottom: 20px; text-align:left; }
.artist-works {
  max-width: 640px; margin: 0 auto; padding: 30px 0 100px;
  border-top: 1px solid var(--line);
}
.artist-works .label { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin: 30px 0 20px; }
.artist-works-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
.artist-works-grid a { text-decoration: none; color: var(--ink); }
.artist-works-grid img { width: 100%; height: 200px; object-fit: contain; background: var(--paper); }
.artist-works-grid .t { font-size: 16px; margin-top: 10px; line-height: 1.7; }
.artist-works-grid .p { font-size: 16px; color: var(--ink); margin-top: 0; line-height: 1.7; }

.artist-link {
  display: inline-block; margin-top: 14px; font-size: 14px; letter-spacing: 1px;
  color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold);
}

.footer-info {
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.5px;
  color: var(--ink);
  text-transform: none;
}
.footer-info a { color: var(--ink); text-decoration: none; }
.footer-info a:hover { color: var(--gold); }
.footer-name { letter-spacing: 2px; }


/* ---- Art Advisory ---- */
.advisory-text {
  max-width: 720px; margin: 60px auto 0; padding: 0 0 10px;
  font-size: 19px; line-height: 1.75; text-align: center;
}
.advisory-cols {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 48px; padding: 44px 0 20px; max-width: 880px; margin: 0 auto;
}
.advisory-head {
  font-size: 12px; letter-spacing: 2px; color: var(--gold);
  margin-bottom: 14px;
}
.advisory-col p { font-size: 16px; line-height: 1.7; }

.advisory-form { max-width: 620px; margin: 0 auto; padding: 40px 0 110px; }
.advisory-form-title {
  font-size: 14px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px;
}
.advisory-form input,
.advisory-form textarea {
  width: 100%; display: block; margin-bottom: 14px;
  font-family: 'EB Garamond', Georgia, serif; font-size: 17px;
  padding: 13px 14px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line);
}
.advisory-form input:focus,
.advisory-form textarea:focus { outline: none; border-color: var(--gold); }
.advisory-form textarea { resize: vertical; }
.advisory-form button {
  width: 100%; padding: 16px; margin-top: 6px;
  font-family: 'EB Garamond', Georgia, serif; font-size: 14px;
  letter-spacing: 3px; text-transform: uppercase;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink); cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.advisory-form button:hover { background: transparent; color: var(--ink); }
.hidden-field { display: none; }

.footer-bottom.wrap { max-width: none; padding: 0 28px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 30px; font-size: 14px; letter-spacing: 1px;
}
.footer-legal { color: var(--muted); text-decoration: none; }
.footer-legal:hover { color: var(--gold); }
.footer-copy { color: var(--muted); }

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 2px;
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(10,10,8,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.2s ease;
  z-index: 1000; padding: 24px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 88vw; max-height: 86vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 18px; right: 22px;
  background: none; border: none; color: #fff; font-size: 32px;
  line-height: 1; cursor: pointer; padding: 4px 10px;
}
.lightbox-close:hover { color: var(--gold); }
.lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.4);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-arrow:hover { background: rgba(255,255,255,0.25); border-color: var(--gold); color: var(--gold); }
.lightbox-arrow-prev { left: 16px; }
.lightbox-arrow-next { right: 16px; }

@media (max-width: 720px) {
  /* placed here so it outranks the has-hero rules above: over the open panel
     the header must be ink, or the ✕ is white on white and invisible */
  body.menu-open header.site { background: var(--paper); border-bottom-color: var(--line); }
  body.menu-open header.site .wordmark,
  body.menu-open header.site .menu-toggle,
  body.menu-open header.site .icon-btn,
  body.menu-open header.site .wish-link,
  body.menu-open header.site .lang-switch { color: var(--ink); }

  .piece { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .piece .gallery { align-items: center; padding: 18px 18px 0; }
  .piece-info { padding: 28px 18px 60px; }
  .piece-info { overflow-y: visible; padding: 28px 18px 60px; }
  .piece .gallery { padding: 18px 18px 0; }
  .gallery-main img { max-height: none; }
  .piece-info { display: block; padding: 28px 18px 60px; }
  .piece-info-inner { max-width: none; }

  .desk-nav { display: none; }
  .wish-word { display: none; }
  .wish-icon { display: block; padding: 4px 0; }
  .nav-right > * + * { margin-left: 0; }
  .nav-right .lang-switch { order: 1; margin-left: 0; }
  .nav-right .wish-link { order: 2; margin-left: 4px; }
  .nav-right .icon-btn { order: 3; margin-left: 4px; }
  .nav-bar .menu-toggle { display: flex; }
  .nav-bar.wrap { padding: 0 18px; }

  /* vertical hero photo, shown whole */
  .hero-slide img { object-fit: cover; object-position: center 50%; }


  /* filters kept on one line, scrollable if needed */
  .filter-bar {
    flex-wrap: nowrap; gap: 8px; justify-content: space-between;
    padding: 16px 0 12px; margin-top: 20px;
    overflow-x: auto;   /* safety net only: if several long values are chosen at once */
  }
  /* a long chosen value is clipped with an ellipsis; the picker itself lists full labels */
  .filter-display {
    font-size: 12px; padding-right: 12px;
    max-width: 24vw; overflow: hidden; text-overflow: ellipsis;
  }
  .filter-field, .filter-clear { flex-shrink: 0; }
  .filter-caret { font-size: 9px; }
  .filter-clear { font-size: 12px; white-space: nowrap; }
  .all-artworks-title { font-size: 26px; padding-top: 38px; }

  .footer-bottom { margin-top: 20px; font-size: 13px; }
  .hero-slides { height: 100vw; }   /* square crop shown whole — nothing cut off the sides */
  .hero-arrow { width: 34px; height: 34px; font-size: 18px; }
  .hero-arrow-prev { left: 10px; }
  .hero-arrow-next { right: 10px; }
  .hero-intro { font-size: 17px; padding: 40px 0 6px; }
  .advisory-cols { grid-template-columns: 1fr; gap: 30px; }

  /* Balanced header row: logo truly centred, side groups equal width */
  .wrap { padding: 0 18px; }
  .nav-bar { grid-template-columns: 1fr auto 1fr; }
  .nav-left { justify-self: start; }
  .nav-right { justify-self: end; gap: 4px; }
  .wordmark { font-size: 17px; letter-spacing: 0.16em; }
  .lang-switch { padding: 4px 0 4px 2px; }
  .icon-btn { padding: 4px 2px; }
  .mobile-nav { left: 0; }

  /* Swipe only — no arrows on touch devices */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 14px; }
  .grid-wide { padding: 0 18px; }
  .gallery-thumbs { position: static; margin-top: 12px; justify-content: flex-start; }
  .gallery-thumb { width: 52px; height: 52px; border-width: 1px; box-shadow: none; }

  .hero-photo img { height: auto; max-height: 560px; }
  .hero-slogan { font-size: 15px; bottom: 26px; padding: 0 18px; letter-spacing: 0.04em; }
  .hero-photo::after { height: 160px; }

  /* Two per row */
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
    padding: 28px 0 70px;
  }
  .card img { height: 190px; }
  .card .artist,
  .card .title,
  .card .price { font-size: 15px; }

  .filter-bar { gap: 14px 16px; padding: 20px 0 4px; margin-top: 22px; }

  .artist-works-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .artist-works-grid img { height: 150px; }
}
