/* =========================================================
   Igor Rozovski — Oil paintings
   White gallery walls, editorial serif, colour borrowed from the paintings.
   ========================================================= */
:root {
  --paper: #ffffff;
  --ink: #161513;
  --muted: #85807a;
  --line: #ebe8e3;
  --accent: #1f5a35;
  --tint: #ffffff;               /* changed live by JS from painting colours */
  --display: "Instrument Serif", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--ink); color: #fff; }

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); max-width: 1480px; margin: 0 auto; }
.serif { font-family: var(--display); font-weight: 400; }
.it { font-style: italic; }
.label {
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Pill button with rolling text ---------- */
.pill {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 26px; border-radius: 999px; overflow: hidden;
  background: var(--bg); color: var(--fg);
  font-size: 14px; font-weight: 600; letter-spacing: .01em; isolation: isolate;
}
.pill--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pill::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  transform: translateY(101%); border-radius: 50% 50% 0 0; transition: transform .55s var(--ease), border-radius .55s var(--ease);
}
.pill:hover::before { transform: none; border-radius: 0; }
.pill--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1px var(--accent); }
.roll { white-space: nowrap; display: inline-block; overflow: hidden; height: 1.4em; line-height: 1.4em; }
.roll span { display: block; transition: transform .5s var(--ease); }
.roll span::after { content: attr(data-t); display: block; }
.pill:hover .roll span, .link:hover .roll span { transform: translateY(-50%); }
.pill svg { transition: transform .5s var(--ease); }
.pill:hover svg { transform: rotate(-45deg); }

.link { font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: transform .5s var(--ease), background .4s;
}
.header.is-hidden { transform: translateY(-100%); }
.header.is-solid { background: rgba(255,255,255,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.logo { font-family: var(--display); font-size: 28px; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.logo em { color: var(--accent); }
.nav { display: flex; gap: 6px; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 999px; padding: 5px; backdrop-filter: blur(10px); }
.nav a { font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 999px; transition: background .3s, color .3s; }
.nav a:hover { background: #f3f1ed; }
.nav a.is-active { background: var(--ink); color: #fff; }
.header .pill { height: 44px; padding: 0 20px; font-size: 13px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); position: relative; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.burger i:first-child { top: 18px; } .burger i:last-child { top: 24px; }
.menu-open .burger i:first-child { transform: translateY(3px) rotate(45deg); }
.menu-open .burger i:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--paper); padding: 120px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); pointer-events: none;
}
.menu-open .mobile-menu { clip-path: inset(0); pointer-events: auto; }
.mobile-menu nav a { display: block; font-family: var(--display); font-size: 52px; line-height: 1.15; border-bottom: 1px solid var(--line); padding: 6px 0; }
.mobile-menu p { color: var(--muted); font-size: 14px; }

/* ---------- Intro loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--paper);
  display: grid; place-items: center; transition: clip-path 1s var(--ease);
  clip-path: inset(0 0 0 0);
}
.loader.is-done { clip-path: inset(0 0 100% 0); }
.loader__name { font-family: var(--display); font-size: clamp(44px, 9vw, 120px); line-height: 1; display: flex; overflow: hidden; }
.loader__name span { display: inline-block; transform: translateY(110%); animation: up .9s var(--ease) forwards; }
.loader__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 48px; height: 1px; background: var(--line); }
.loader__bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); animation: grow 1.3s var(--ease) .1s forwards; }
.no-loader .loader { display: none; }
@keyframes up { to { transform: none; } }
@keyframes grow { to { transform: scaleX(1); } }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(130px, 18vh, 190px); position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 2; }
.hero .trail img { box-shadow: 0 24px 50px -20px rgba(0,0,0,.35); }
.hero__title {
  font-family: var(--display); font-weight: 400; letter-spacing: -.025em;
  font-size: clamp(52px, 10.2vw, 172px); line-height: .92;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.is-ready .hero__title .line > span { transform: none; }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.is-ready .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.chip {
  display: inline-block; vertical-align: middle; height: .74em; aspect-ratio: 1.7; border-radius: 999px; overflow: hidden;
  margin: 0 .08em -.02em; position: relative; top: -.05em;
}
.chip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); transform: scale(1.4); }
.is-ready .chip img { transform: scale(1); }
.chip--tall { aspect-ratio: .9; }
.hero__foot {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end;
  margin-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px);
}
.hero__foot p { max-width: 460px; color: #4b4842; font-size: 17px; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Dark opening screen ---------- */
.hero, .marquee { background: var(--ink); color: #fff; }
.hero .label { color: rgba(255,255,255,.55); }
.hero .label::before { background: #c8b78f; }
.hero__title em { color: #c8b78f; }
.hero__foot p { color: rgba(255,255,255,.68); }
.hero .pill { --bg: #fff; --fg: var(--ink); }
.hero .pill:hover { color: #fff; }
.hero .pill--ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.hero .trail img { box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.loader { background: var(--ink); color: #fff; }
.loader__name em { color: #c8b78f; }
.loader__bar { background: rgba(255,255,255,.15); }
.loader__bar i { background: #fff; }

/* header over dark sections (toggled by JS) */
body:not(.menu-open) .header.is-dark .logo { color: #fff; }
body:not(.menu-open) .header.is-dark .logo em { color: #c8b78f; }
body:not(.menu-open) .header.is-dark.is-solid { background: rgba(22,21,19,.82); }
.header.is-dark .nav { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.header.is-dark .nav a { color: #fff; }
.header.is-dark .nav a:hover { background: rgba(255,255,255,.1); }
.header.is-dark .nav a.is-active { background: #fff; color: var(--ink); }
.header.is-dark .pill { --bg: #fff; --fg: var(--ink); }
.header.is-dark .pill:hover { color: #fff; }
body:not(.menu-open) .header.is-dark .burger { border-color: rgba(255,255,255,.25); }
body:not(.menu-open) .header.is-dark .burger i { background: #fff; }
.header .logo, .nav, .nav a, .burger i { transition: color .4s, background .4s, border-color .4s; }

/* ---------- Marquee of paintings ---------- */
.marquee { overflow: hidden; padding: 8px 0 clamp(64px, 9vw, 120px); }
.marquee__track { display: flex; gap: 18px; width: max-content; will-change: transform; }
.marquee__item {
  height: clamp(200px, 28vw, 380px); flex: none; overflow: hidden; border-radius: 4px; position: relative;
}
.marquee__item img { height: 100%; width: auto; transition: transform 1s var(--ease); }
.marquee__item:hover img { transform: scale(1.05); }
.marquee__item figcaption {
  position: absolute; left: 12px; bottom: 12px; background: #fff; border-radius: 999px; padding: 5px 12px;
  font-size: 12px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: all .4s var(--ease);
}
.marquee__item:hover figcaption { opacity: 1; transform: none; }

/* ---------- Statement with scroll-lit words ---------- */
.statement { padding: clamp(80px, 12vw, 180px) 0; }
.statement__grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.statement__text {
  font-family: var(--display); font-size: clamp(32px, 4.6vw, 72px); line-height: 1.05; letter-spacing: -.015em;
}
.statement__text .w { color: #d9d5cf; transition: color .25s; }
.statement__text .w.on { color: var(--ink); }
.statement__text img {
  display: inline-block; height: .8em; width: auto; border-radius: 6px; vertical-align: -.08em; margin: 0 .05em;
}

/* ---------- Pinned horizontal "Selected works" ---------- */
.tinted { background: var(--tint); transition: background-color 1s ease; }
.hscroll { position: relative; }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.hscroll__head { width: 100%; display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(24px, 4vh, 48px); }
.hscroll__head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6vw, 96px); line-height: .95; letter-spacing: -.02em; }
.hscroll__count { font-family: var(--display); font-size: 28px; }
.hscroll__count b { font-weight: 400; display: inline-block; min-width: 1.2em; text-align: right; }
.hscroll__track { display: flex; gap: clamp(20px, 3vw, 48px); padding: 0 var(--gutter); width: max-content; align-items: flex-end; will-change: transform; }
.hcard { flex: none; cursor: pointer; }
.hcard__img { height: clamp(260px, 52vh, 560px); overflow: hidden; border-radius: 3px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.hcard__img img { height: 100%; width: auto; transition: transform 1.2s var(--ease); }
.hcard:hover .hcard__img img { transform: scale(1.04); }
.hcard figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; font-size: 13px; }
.hcard figcaption b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.2; }
.hcard figcaption span { color: var(--muted); }
.hcard--end { align-self: center; width: clamp(240px, 26vw, 380px); }
.hcard--end a {
  aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-size: clamp(28px, 3vw, 44px); line-height: 1.05; transition: background .5s var(--ease), color .5s;
}
.hcard--end a:hover { background: var(--ink); color: #fff; }
.hscroll__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; height: 1px; background: rgba(0,0,0,.1); }
.hscroll__progress i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* ---------- Genres ---------- */
.genres { padding: clamp(90px, 12vw, 170px) 0; }
.genres__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 5.6vw, 88px); line-height: .98; letter-spacing: -.02em; }
.genre {
  display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 24px;
  border-top: 1px solid var(--line); padding: clamp(18px, 2.4vw, 30px) 0; position: relative;
}
.genres__list .genre:last-child { border-bottom: 1px solid var(--line); }
.genre__n { font-size: 13px; color: var(--muted); font-weight: 600; }
.genre__name { font-family: var(--display); font-size: clamp(40px, 7vw, 120px); line-height: 1; letter-spacing: -.02em; transition: transform .6s var(--ease), color .4s; }
.genre:hover .genre__name { transform: translateX(24px); color: var(--accent); }
.genre__meta { font-size: 13px; color: var(--muted); text-align: right; }
.genre__fan { display: block; position: absolute; right: 18%; top: 50%; width: 0; height: 0; pointer-events: none; }
.genre__fan img {
  position: absolute; width: clamp(110px, 12vw, 170px); max-width: none; height: auto; border-radius: 3px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.45);
  opacity: 0; transform: translate(-50%, -40%) rotate(0) scale(.7); transition: all .6s var(--ease);
}
.genre:hover .genre__fan img { opacity: 1; }
.genre:hover .genre__fan img:nth-child(1) { transform: translate(-130%, -55%) rotate(-10deg); }
.genre:hover .genre__fan img:nth-child(2) { transform: translate(-50%, -62%) rotate(2deg); transition-delay: .05s; }
.genre:hover .genre__fan img:nth-child(3) { transform: translate(30%, -50%) rotate(11deg); transition-delay: .1s; }

/* ---------- About ---------- */
.about { padding: clamp(80px, 10vw, 150px) 0; }
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.about__media { position: relative; }
.about__main { border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; }
.about__main img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.about__small {
  position: absolute; width: 44%; right: -7%; bottom: -8%; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5;
  border: 8px solid #fff; box-shadow: 0 30px 60px -30px rgba(0,0,0,.35);
}
.about__small img { width: 100%; height: 100%; object-fit: cover; }
.about__text { padding-top: clamp(0px, 4vw, 60px); }
.about__quote { font-family: var(--display); font-size: clamp(30px, 3.4vw, 52px); line-height: 1.1; letter-spacing: -.01em; margin: 24px 0 32px; }
.about__body { color: #4b4842; max-width: 520px; }
.about__body p + p { margin-top: 1em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; border-top: 1px solid var(--line); }
.stat { padding: 24px 16px 0 0; }
.stat b { font-family: var(--display); font-weight: 400; font-size: clamp(48px, 5vw, 80px); line-height: 1; display: block; }
.stat span { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .06em; }
.sign { font-family: var(--display); font-style: italic; font-size: 34px; margin-top: 40px; color: var(--accent); }

/* ---------- How it works: steps + illustrated scenes ---------- */
.flow { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.flow__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.flow__title { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 4.2vw, 64px); line-height: 1; letter-spacing: -.02em; margin: 18px 0 28px; }
.flow__title em { display: block; }
.flow__steps { list-style: none; padding: 0; margin: 0; }
.fstep { border-top: 1px solid var(--line); }
.fstep:last-child { border-bottom: 1px solid var(--line); }
.fstep__btn { width: 100%; display: flex; align-items: baseline; gap: 18px; padding: 16px 0; text-align: left; position: relative; }
.fstep__n { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); width: 20px; }
.fstep__t { font-family: var(--display); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; color: #b9b4ad; transition: color .4s, transform .5s var(--ease); }
.fstep__btn:hover .fstep__t { color: var(--ink); }
.fstep.is-active .fstep__t { color: var(--ink); transform: translateX(6px); }
.fstep .fill { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.fstep.is-active .fill { animation: fill var(--dur, 5s) linear forwards; }
.flow:hover .fstep.is-active .fill, .flow:not(.is-visible) .fstep.is-active .fill { animation-play-state: paused; }
.fstep__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.fstep.is-active .fstep__body { grid-template-rows: 1fr; }
.fstep__body p { min-height: 0; overflow: hidden; color: var(--muted); font-size: 15px; padding: 0 0 0 38px; max-width: 440px; }
.fstep.is-active .fstep__body p { padding-bottom: 18px; }

.flow__stage { position: relative; aspect-ratio: 5 / 4; max-height: 480px; width: 100%; border-radius: 10px; overflow: hidden; background: var(--tint, #efe9e0); transition: background-color .9s ease; }
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.scene.is-active { opacity: 1; visibility: visible; }
.tag { position: absolute; left: 18px; bottom: 18px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 14px;
  font-size: 12px; font-weight: 600; box-shadow: 0 8px 24px -12px rgba(0,0,0,.3); opacity: 0; transform: translateY(8px); transition: all .6s var(--ease) .45s; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.scene.is-active .tag { opacity: 1; transform: none; }

/* 1 · choose: three paintings fan out */
.scene--pick img { position: absolute; left: 50%; top: 47%; width: 40%; height: auto; border-radius: 3px; box-shadow: 0 24px 40px -18px rgba(0,0,0,.45);
  transform: translate(-50%, -50%) scale(.85); transition: transform 1s var(--ease); }
.scene--pick.is-active img:nth-of-type(1) { transform: translate(-112%, -50%) rotate(-9deg); }
.scene--pick.is-active img:nth-of-type(2) { transform: translate(-50%, -58%) rotate(1deg); z-index: 2; transition-delay: .05s; }
.scene--pick.is-active img:nth-of-type(3) { transform: translate(12%, -46%) rotate(8deg); transition-delay: .1s; }

/* 2 · commission: painting card with size / palette / frame */
.scene--agree { display: grid; place-items: center; }
.agree__card { width: 62%; background: #fff; border-radius: 8px; padding: 14px; box-shadow: 0 30px 50px -28px rgba(0,0,0,.4);
  transform: translateY(20px) scale(.96); transition: transform .9s var(--ease); }
.scene--agree.is-active .agree__card { transform: none; }
.agree__card img { width: 100%; border-radius: 3px; }
.agree__chips { display: flex; gap: 6px; margin: 12px 0 10px; }
.agree__chips span { font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line);
  opacity: 0; transform: translateY(6px); transition: all .5s var(--ease); }
.scene--agree.is-active .agree__chips span { opacity: 1; transform: none; }
.scene--agree.is-active .agree__chips span:nth-child(1) { transition-delay: .35s; }
.scene--agree.is-active .agree__chips span:nth-child(2) { transition-delay: .45s; }
.scene--agree.is-active .agree__chips span:nth-child(3) { transition-delay: .55s; }
.agree__swatches { display: flex; gap: 6px; }
.agree__swatches i { width: 22px; height: 22px; border-radius: 50%; transform: scale(0); transition: transform .5s var(--ease); }
.scene--agree.is-active .agree__swatches i { transform: scale(1); }
.scene--agree.is-active .agree__swatches i:nth-child(2) { transition-delay: .06s; }
.scene--agree.is-active .agree__swatches i:nth-child(3) { transition-delay: .12s; }
.scene--agree.is-active .agree__swatches i:nth-child(4) { transition-delay: .18s; }
.scene--agree.is-active .agree__swatches i:nth-child(5) { transition-delay: .24s; }

/* 3 · painting: the artist at work, slow push-in */
.scene--paint img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.12); transition: transform 6s ease-out; }
.scene--paint.is-active img { transform: scale(1); }

/* 4 · delivered: the painting hangs on a wall */
.wall { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 20%, #f6f1e9 0%, #e7ddcf 100%); }
.hang { position: absolute; left: 50%; top: 16%; width: 46%; padding: 10px; background: linear-gradient(135deg, #6b4a2b, #a37d4f 40%, #5a3d22);
  box-shadow: 0 30px 40px -24px rgba(60,40,20,.6); transform: translate(-50%, -24px) rotate(-3deg); opacity: 0;
  transition: transform 1s cubic-bezier(.3,1.4,.4,1) .15s, opacity .5s .15s; }
.hang img { width: 100%; display: block; }
.scene--deliver.is-active .hang { transform: translate(-50%, 0) rotate(0); opacity: 1; }
.sideboard { position: absolute; left: 22%; right: 22%; bottom: 17%; height: 14px; border-radius: 3px; background: #c6b49a; box-shadow: 0 18px 24px -14px rgba(60,40,20,.5); }
.sideboard::before { content: ""; position: absolute; right: 14%; bottom: 14px; width: 22px; height: 40px; border-radius: 40% 40% 6px 6px; background: #6f8a6a; }

/* ---------- Voices: letters from collectors ---------- */
.voices { padding: clamp(80px, 10vw, 150px) 0; background: var(--tint); transition: background-color 1.2s ease; overflow: hidden; }
.voices__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 80px); }
.voices__count { font-family: var(--display); font-size: 28px; }
.voices__stage { display: grid; grid-template-columns: 6fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }

.voices__art { position: relative; }
.voices__frame { position: relative; aspect-ratio: 760 / 616; }
.voices__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.5);
  clip-path: inset(0 0 100% 0); transform: scale(1.06);
  transition: clip-path 1.1s var(--ease) .5s, transform 1.6s var(--ease) .5s;
}
.voices__frame img.is-active { clip-path: inset(0); transform: none; z-index: 2; transition-delay: 0s; }
.voices__caption { margin-top: 20px; font-size: 13px; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.voices__caption b { font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--ink); }

.voices__text { position: relative; }
.voices__mark { font-family: var(--display); font-size: clamp(120px, 12vw, 200px); line-height: .7; height: .42em; margin-left: -.06em; color: #c09a55; opacity: .6; display: block; user-select: none; }
.voices__quotes { display: grid; }
.voice { grid-area: 1 / 1; pointer-events: none; margin: 0; }
.voice.is-active { pointer-events: auto; }
.voice p { font-family: var(--display); font-size: clamp(30px, 3.5vw, 54px); line-height: 1.08; letter-spacing: -.012em; }
.voice .vw { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(6px);
  transition: opacity .5s ease, transform .7s var(--ease), filter .6s ease; }
.voice.is-active .vw { opacity: 1; transform: none; filter: none; transition-delay: calc(var(--i) * 22ms + .25s); }
.voice footer { margin-top: 28px; display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted);
  opacity: 0; transform: translateY(10px); transition: all .6s var(--ease); }
.voice.is-active footer { opacity: 1; transform: none; transition-delay: .6s; }
.voice footer i { width: 32px; height: 1px; background: currentColor; }
.voice footer .stars { color: #c09a55; letter-spacing: 3px; }

.voices__tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.vtab { text-align: left; padding-top: 14px; position: relative; color: var(--muted); transition: color .3s; }
.vtab::before, .vtab .fill { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; }
.vtab::before { background: rgba(0,0,0,.1); }
.vtab .fill { background: var(--ink); transform-origin: left; transform: scaleX(0); }
.vtab.is-active { color: var(--ink); }
.vtab.is-active .fill { animation: fill var(--dur, 7s) linear forwards; }
.voices:hover .vtab.is-active .fill,
.voices:not(.is-visible) .vtab.is-active .fill { animation-play-state: paused; }
.vtab.is-done .fill { transform: scaleX(1); }
.vtab b { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.vtab span { display: block; font-family: var(--display); font-size: 19px; line-height: 1.2; margin-top: 4px; }
.vtab:hover { color: var(--ink); }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- Commission / contact with image trail ---------- */
.commission {
  position: relative; overflow: hidden; background: var(--ink); color: #fff;
  padding: clamp(100px, 14vw, 200px) 0 clamp(60px, 8vw, 100px);
}
.commission .label { color: rgba(255,255,255,.6); }
.commission .label::before { background: #fff; }
.commission__title { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 11vw, 190px); line-height: .9; letter-spacing: -.03em; margin: 28px 0 48px; position: relative; z-index: 2; pointer-events: none; }
.commission__title em { color: #c8b78f; }
.commission__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.14); border-top: 1px solid rgba(255,255,255,.14); position: relative; z-index: 2; }
.ccard { background: var(--ink); padding: 28px 24px 32px; display: flex; flex-direction: column; gap: 14px; min-height: 160px; transition: background .4s; }
.ccard small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 600; }
.ccard strong { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; word-break: break-word; }
a.ccard:hover { background: #24221f; }
.commission .pill { --bg: #fff; --fg: var(--ink); margin-top: 48px; position: relative; z-index: 2; }
.commission .pill:hover { color: #fff; }
.trail { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.trail img {
  position: absolute; max-width: none; width: clamp(140px, 14vw, 220px); height: auto; border-radius: 3px; opacity: 0;
  transform: translate(-50%, -50%) scale(.6); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 0 0 32px; }
.footer__big { font-family: var(--display); font-size: clamp(60px, 15.5vw, 270px); line-height: .85; letter-spacing: -.04em; white-space: nowrap; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.14); }
.footer__row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 32px; font-size: 13px; color: rgba(255,255,255,.55); }
.footer__row nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__row a:hover { color: #fff; }

/* ---------- Gallery page ---------- */
.ghead { padding: clamp(140px, 20vh, 200px) 0 32px; }
.ghead__title { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 13vw, 220px); line-height: .86; letter-spacing: -.035em; }
.ghead__title sup { font-family: var(--sans); font-size: .12em; font-weight: 600; letter-spacing: 0; vertical-align: top; position: relative; top: .7em; margin-left: .2em; color: var(--muted); }
.ghead__row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.ghead__row p { max-width: 420px; color: #4b4842; }
.filters { position: sticky; top: 16px; z-index: 40; display: flex; justify-content: center; margin: 24px 0 48px; pointer-events: none; }
.filters__in { pointer-events: auto; display: inline-flex; position: relative; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.filter { position: relative; z-index: 1; font-size: 13px; font-weight: 600; padding: 10px 18px; border-radius: 999px; transition: color .4s; white-space: nowrap; }
.filter sup { font-size: 10px; opacity: .55; margin-left: 2px; }
.filter.is-active { color: #fff; }
.filters__blob { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--ink); transition: transform .55s var(--ease), width .55s var(--ease); }
.grid { columns: 3; column-gap: clamp(16px, 2.4vw, 36px); padding-bottom: clamp(80px, 10vw, 140px); }
.tile { display: block; break-inside: avoid; margin-bottom: clamp(28px, 3.6vw, 56px); cursor: pointer; }
.tile__img { display: block; overflow: hidden; border-radius: 3px; background: var(--c, #f3f1ed); }
.tile__img img { width: 100%; transition: transform 1.2s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.035); }
.tile__cap { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; font-size: 13px; }
.tile__cap b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.2; }
.tile__cap span { color: var(--muted); white-space: nowrap; padding-top: 4px; }
.tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.tile.is-hidden { display: none; }
.tile.pop { animation: pop .8s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- Shared: skip link, page heads, related ---------- */
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; transition: top .3s; }
.skip:focus { top: 16px; }
.phead { padding: clamp(140px, 20vh, 210px) 0 clamp(48px, 6vw, 80px); }
.phead__title { font-family: var(--display); font-weight: 400; font-size: clamp(60px, 11vw, 180px); line-height: .9; letter-spacing: -.03em; margin: 24px 0 28px; }
.phead__lead { max-width: 560px; color: #4b4842; font-size: 18px; }
.related { padding: clamp(70px, 9vw, 130px) 0; border-top: 1px solid var(--line); }
.related__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.related__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.related__grid--6 { grid-template-columns: repeat(3, 1fr); }
.related__grid--3 { grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.related__grid .tile { margin: 0; }
.related__grid .tile__img { aspect-ratio: 5 / 4; }
.related__grid .tile__img img { height: 100%; object-fit: cover; }

/* ---------- Painting page ---------- */
.work { padding: clamp(110px, 15vh, 150px) 0 clamp(60px, 8vw, 100px);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 14%, #fff) 0%, #fff 70%); }
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 32px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.work__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.work__stage { cursor: zoom-in; }
.work__stage img { width: 100%; box-shadow: 0 50px 90px -40px rgba(0,0,0,.55); border-radius: 2px; }
.work__title { font-family: var(--display); font-weight: 400; font-size: clamp(46px, 5.4vw, 88px); line-height: .95; letter-spacing: -.02em; margin: 20px 0 24px; }
.work__desc { font-size: 18px; color: #3f3c37; max-width: 480px; }
.work__facts { margin: 32px 0; border-top: 1px solid var(--line); }
.work__facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.work__facts dt { color: var(--muted); }
.work__facts dd { margin: 0; display: flex; align-items: center; gap: 10px; }
.work__facts a { border-bottom: 1px solid currentColor; }
.swatch { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.work__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.work__note { margin-top: 18px; font-size: 13px; color: var(--muted); }
.work__pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.work__pager a { padding-top: 24px; display: flex; flex-direction: column; gap: 6px; }
.work__pager a[rel=next] { text-align: right; }
.work__pager small { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .06em; }
.work__pager span { font-family: var(--display); font-size: clamp(26px, 3vw, 42px); line-height: 1.05; transition: color .3s; }
.work__pager a:hover span { color: var(--accent); }

/* ---------- About page ---------- */
.bio { padding-bottom: clamp(60px, 8vw, 120px); }
.bio__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.bio__photo { border-radius: 4px; overflow: hidden; }
.bio__photo img { width: 100%; }
.bio__lead { font-family: var(--display); font-size: clamp(30px, 3.2vw, 50px); line-height: 1.1; letter-spacing: -.01em; margin-bottom: 36px; }
.bio__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; color: #4b4842; }
.bio__cols strong { color: var(--ink); font-weight: 600; }
.plein { padding: clamp(80px, 10vw, 150px) 0; background: #faf8f5; }
.plein__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.plein__text p { color: #4b4842; max-width: 480px; }
.plein__text p + p { margin-top: 1em; }
.plein__photo { border-radius: 4px; overflow: hidden; }
.plein__photo img { width: 100%; }

/* ---------- Commissions page ---------- */
.offer { padding-bottom: clamp(70px, 9vw, 130px); }
.offer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.offer__item { background: #fff; padding: clamp(28px, 3vw, 44px); transition: background .4s; }
.offer__item:hover { background: #faf8f5; }
.offer__n { font-family: var(--display); font-style: italic; font-size: 48px; line-height: 1; color: var(--accent); }
.offer__item h2 { font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.1; margin: 28px 0 12px; }
.offer__item p { color: var(--muted); font-size: 15px; }
.faqs { padding: clamp(80px, 10vw, 150px) 0; border-top: 1px solid var(--line); }
.faqs__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 110px); }
.faq { border-top: 1px solid var(--line); }
.faqs__list .faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0;
  font-family: var(--display); font-size: clamp(22px, 2vw, 30px); line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform .4s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 11px; right: 11px; top: 17px; height: 1px; background: var(--ink); }
.faq summary i::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.faq[open] summary i { background: var(--ink); }
.faq[open] summary i::before, .faq[open] summary i::after { background: #fff; }
.faq[open] summary i::after { transform: rotate(0); }
.faq p { color: #4b4842; padding: 0 60px 26px 0; max-width: 640px; }
.faq summary:hover { color: var(--accent); }

/* ---------- Contact page ---------- */
.contact { padding-bottom: clamp(80px, 10vw, 150px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.cline { display: flex; flex-direction: column; gap: 4px; padding: 20px 0; border-top: 1px solid var(--line); }
.cline small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cline span { font-family: var(--display); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; word-break: break-word; }
a.cline:hover span { color: var(--accent); }
.contact__photo { margin-top: 24px; border-radius: 4px; overflow: hidden; max-width: 340px; }
.contact__photo img { width: 100%; }
.cform { background: #faf8f5; border-radius: 8px; padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 22px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span, .choice legend { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; transition: border-color .3s, box-shadow .3s; resize: vertical; width: 100%;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(22,21,19,.06); }
.field.is-bad input, .field.is-bad textarea { border-color: #b5452f; }
.choice { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.choice legend { margin-bottom: 10px; padding: 0; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; cursor: pointer; transition: all .3s; }
.choice input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.cform__foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cform__note { font-size: 13px; color: var(--muted); max-width: 300px; }

/* ---------- 404 ---------- */
.nf { padding: clamp(140px, 20vh, 210px) 0 clamp(80px, 10vw, 140px); }
.nf__title { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 12vw, 200px); line-height: .88; letter-spacing: -.03em; margin: 24px 0 28px; }

/* ---------- Lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 90; background: var(--lb, #f4f1ec);
  display: grid; grid-template-columns: 1fr minmax(260px, 340px); opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s, background-color .8s ease;
}
.lb.is-open { opacity: 1; visibility: visible; }
.lb__stage { display: grid; place-items: center; padding: clamp(70px, 8vh, 96px) clamp(16px, 4vw, 64px); min-height: 0; position: relative; }
.lb__stage img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); transition: opacity .35s, transform .5s var(--ease); }
.lb__stage img.is-swapping { opacity: 0; transform: scale(.97); }
.lb__side { background: #fff; padding: 40px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow-y: auto; }
.lb__count { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .1em; }
.lb__title { font-family: var(--display); font-size: clamp(34px, 3vw, 48px); line-height: 1; margin: 16px 0 10px; }
.lb__meta { color: var(--muted); font-size: 14px; }
.lb__swatch { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); margin-top: 28px; }
.lb__swatch i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.lb__nav { display: flex; gap: 8px; }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s; background: #fff; }
.round:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.lb__close { position: absolute; top: 20px; left: 20px; z-index: 2; }
.lb__side .pill { justify-content: center; }

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ink);
  display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, opacity .3s;
  opacity: 0;
}
.cursor span { opacity: 0; transition: opacity .25s; }
.cursor.is-on { opacity: 1; }
.cursor.is-view { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: rgba(22,21,19,.88); backdrop-filter: blur(4px); }
.cursor.is-view span { opacity: 1; }
.cursor.is-light { background: #fff; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Reveal helpers ---------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-mask { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); }
.rv-mask.in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .rv, .rv-mask { opacity: 1; transform: none; clip-path: none; }
  .statement__text .w { color: var(--ink); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {

  .commission__grid { grid-template-columns: repeat(2, 1fr); }
  .statement__grid { grid-template-columns: 1fr; gap: 24px; }
  .genre__fan { display: none; }
}
@media (max-width: 860px) {
  .nav, .header .pill { display: none; }
  .burger { display: block; }
  .header__in { height: 68px; }
  .hero__foot { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { margin-right: 18%; }
  .about__small { right: -24%; }
  .about__text { padding-top: 40px; }
  /* pinned horizontal section becomes a native swipe row */
  .hscroll { height: auto !important; }
  .hscroll__sticky { position: static; height: auto; padding: 80px 0; }
  .hscroll__track { overflow-x: auto; width: auto; transform: none !important; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hscroll__track::-webkit-scrollbar { display: none; }
  .hcard { scroll-snap-align: center; }
  .hcard__img { height: 360px; }
  .hscroll__progress { display: none; }
  .grid { columns: 2; }
  .voices__stage { grid-template-columns: 1fr; }
  .voices__frame { aspect-ratio: 4 / 3; }
  .voices__mark { font-size: 120px; }
  .vtab span { display: none; }
  .lb { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lb__stage { padding: 72px 16px 12px; }
  .lb__stage img { max-height: calc(100vh - 300px); }
  .lb__side { padding: 20px var(--gutter) 28px; }
  .lb__side > div:first-child { display: flex; flex-direction: column; }
  .lb__title { font-size: 32px; margin: 6px 0; }
  .lb__swatch { display: none; }
  .lb__foot { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .lb__page { width: 100%; }
  .work__grid, .bio__grid, .plein__grid, .faqs__grid, .contact__grid { grid-template-columns: 1fr; }
  .related__grid { grid-template-columns: repeat(2, 1fr); }
  .offer__grid { grid-template-columns: 1fr; }
  .flow__grid { grid-template-columns: 1fr; }
  .flow__stage { aspect-ratio: 4 / 3; }
  .bio__photo { max-width: 460px; }
  .contact__photo { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .grid { columns: 1; }
  .genre { grid-template-columns: 36px 1fr; }
  .genre__meta { display: none; }
  .commission__grid { grid-template-columns: 1fr; }

  .stats { grid-template-columns: repeat(3, auto); gap: 12px; }
  .filter { padding: 9px 12px; font-size: 12px; }
  .hcard__img { height: 300px; }
  .hcard figcaption b { font-size: 19px; }
  .hero__cta .pill { flex: 1 1 100%; justify-content: center; }
  .bio__cols, .cform__row { grid-template-columns: 1fr; }
  .related__grid--3 { grid-template-columns: 1fr; }
  .work__cta .pill { flex: 1 1 100%; justify-content: center; }
  .work__facts div { grid-template-columns: 96px 1fr; }
  .faq p { padding-right: 0; }
}

/* =========================================================
   v11 — language switch, order configurator, prices, reviews
   ========================================================= */
.header__end { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.7); backdrop-filter: blur(10px); }
.lang a { font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 7px 10px; border-radius: 999px; line-height: 1; transition: background .3s, color .3s; }
.lang a:hover { background: #f3f1ed; }
.lang a.is-active { background: var(--ink); color: #fff; }
.header.is-dark .lang { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
body:not(.menu-open) .header.is-dark .lang a { color: #fff; }
.header.is-dark .lang a:hover { background: rgba(255,255,255,.1); }
body:not(.menu-open) .header.is-dark .lang a.is-active { background: #fff; color: var(--ink); }
.mobile-menu__foot { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Order configurator ---------- */
.order { padding: clamp(80px, 10vw, 150px) 0; border-top: 1px solid var(--line); scroll-margin-top: 40px; }
.order__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.order__title { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6vw, 96px); line-height: .95; letter-spacing: -.02em; margin-top: 20px; }
h1.order__title { font-size: clamp(60px, 10vw, 160px); }
.order__lead { color: #4b4842; font-size: 17px; max-width: 460px; }
.phead + .order, main > .order:first-child { border-top: 0; }
main > .order:first-child { padding-top: clamp(130px, 18vh, 190px); }

.omode { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: #f3f1ed; margin-bottom: 28px; max-width: 100%; }
.omode button { position: relative; z-index: 1; font-size: 14px; font-weight: 600; padding: 12px 22px; border-radius: 999px; transition: color .4s; white-space: nowrap; }
.omode button.is-active { color: #fff; }
.omode__blob { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: var(--ink); transition: transform .55s var(--ease), width .55s var(--ease); }

.oform__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.oform__fields { counter-reset: ostep; display: flex; flex-direction: column; }
.ofield { border: 0; margin: 0; padding: 26px 0 30px; border-top: 1px solid var(--line); min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ofield:not([hidden]) { counter-increment: ostep; }
.ofield[hidden] { display: none; }
.ofield legend { float: left; width: 100%; padding: 0; margin-bottom: 18px; font-family: var(--display); font-size: clamp(26px, 2.4vw, 34px); line-height: 1; display: flex; align-items: baseline; gap: 14px; }
.ofield legend::before { content: counter(ostep, decimal-leading-zero); font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.ofield legend + * { clear: both; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt > span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; cursor: pointer; transition: border-color .3s, background .3s, color .3s, box-shadow .3s, transform .3s var(--ease); }
.opt > span:hover { border-color: #cfcac2; }
.opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

.opts--img { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.opt--img > span { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 6px; border-radius: 12px; width: 100%; }
.opt--img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; transition: transform .8s var(--ease), filter .5s; filter: saturate(.85); }
.opt--img b { font-weight: 600; font-size: 13px; padding: 10px 6px 6px; }
.opt--img input:checked + span { background: #fff; color: var(--ink); border-color: var(--ink); box-shadow: 0 18px 40px -24px rgba(0,0,0,.45); transform: translateY(-3px); }
.opt--img input:checked + span img { filter: none; }
.opt--img > span::after { content: ""; position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6.5 11.5l3 3 6-7'/%3E%3C/svg%3E") center/100% no-repeat; transform: scale(0); transition: transform .4s var(--ease); }
.opt--img input:checked + span::after { transform: scale(1); }

.opts--size { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.opt--size > span { display: grid; grid-template-rows: 52px auto auto auto; align-items: end; gap: 2px; padding: 16px; border-radius: 12px; width: 100%; height: 100%; }
.opt__shape { display: block; width: calc(var(--sw) * 44px); height: calc(var(--sh) * 44px); border: 1.5px solid currentColor; border-radius: 2px; margin-bottom: 12px; align-self: end; opacity: .7; transition: transform .5s var(--ease); }
.opt--size b { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.1; }
.opt--size small { font-size: 12px; color: var(--muted); }
.opt--size em { font-style: normal; font-size: 13px; font-weight: 600; margin-top: 6px; }
.opt--size input:checked + span small { color: rgba(255,255,255,.65); }
.opt--size input:checked + span .opt__shape { opacity: 1; transform: rotate(-4deg); background: rgba(255,255,255,.12); }
.ofield__date { max-width: 260px; }
.ofield__date[hidden] { display: none; }

.opick__search { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; background: #fff; color: var(--muted); }
.opick__search input { border: 0; outline: 0; font: inherit; font-size: 15px; padding: 13px 0; width: 100%; background: none; color: var(--ink); }
.opick__search:focus-within { border-color: var(--ink); }
.opick { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; max-height: 430px; overflow-y: auto; padding: 4px 6px 4px 2px; overscroll-behavior: contain; scrollbar-width: thin; }
.opick__item { position: relative; }
.opick__item input { position: absolute; opacity: 0; pointer-events: none; }
.opick__item > span { display: flex; flex-direction: column; border-radius: 10px; padding: 5px; border: 1px solid transparent; cursor: pointer; transition: border-color .3s, background .3s; }
.opick__item:hover > span { background: #f6f3ee; }
.opick__item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.opick__item b { font-family: var(--display); font-weight: 400; font-size: 17px; line-height: 1.15; margin-top: 8px; }
.opick__item small { font-size: 12px; color: var(--muted); }
.opick__item input:checked + span { border-color: var(--ink); background: #fff; box-shadow: 0 14px 30px -20px rgba(0,0,0,.5); }
.opick__item input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.opick__item[hidden] { display: none; }
.opick__empty { color: var(--muted); font-size: 14px; }

.osum { position: sticky; top: 100px; background: #f6f3ee; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 18px; }
.osum__room { position: relative; aspect-ratio: 10 / 9; border-radius: 9px; overflow: hidden;
  background: linear-gradient(180deg, var(--wall, #ebe4d9) 0%, color-mix(in srgb, var(--wall, #ebe4d9) 86%, #000) 92%, #cdbfa9 92%, #bfae94 100%); transition: background .9s; }
.osum__room::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 30%, rgba(255,255,255,.4), transparent 70%); pointer-events: none; }
.osum__art { position: absolute; left: 50%; bottom: 43%; width: calc(var(--aw, 16.7) * 1%); aspect-ratio: var(--ar, .833); transform: translateX(-50%);
  box-shadow: 0 14px 22px -12px rgba(40,30,20,.55); transition: width .7s var(--ease), aspect-ratio .7s var(--ease), padding .5s var(--ease), background .5s; background: #fff; z-index: 2; }
.osum__art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .4s; }
.osum__art.is-framed { padding: 7px; background: linear-gradient(135deg, #6b4a2b, #b48c57 40%, #5a3d22 70%, #8a6a3e); }
.osum__art.is-empty { background: rgba(255,255,255,.4); box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.18); }
.osum__art.is-empty img { opacity: 0; }
.osum__sofa { position: absolute; left: 50%; bottom: 8%; width: 66.7%; height: 29.6%; transform: translateX(-50%); z-index: 3; }
.osum__sofa::before { content: ""; position: absolute; left: 4%; right: 4%; top: 0; height: 62%; border-radius: 16px 16px 6px 6px; background: #7e8574; }
.osum__sofa::after { content: ""; position: absolute; left: 0; right: 0; bottom: 14%; height: 46%; border-radius: 12px; background: #6c7363; box-shadow: 0 16px 18px -12px rgba(0,0,0,.45); }
.osum__sofa i { position: absolute; left: 6%; right: 6%; bottom: 0; height: 14%; background: linear-gradient(90deg, #4a3a2a 0 4%, transparent 4% 96%, #4a3a2a 96%); }
.osum__lamp { position: absolute; right: 6%; bottom: 8%; width: 7%; height: 62%; z-index: 1; }
.osum__lamp::before { content: ""; position: absolute; left: 50%; bottom: 0; top: 18%; width: 2px; transform: translateX(-50%); background: #3d3a36; }
.osum__lamp::after { content: ""; position: absolute; left: -40%; right: -40%; top: 0; height: 20%; background: #efe6d6; border-radius: 40% 40% 6px 6px / 70% 70% 6px 6px; box-shadow: 0 30px 50px 10px rgba(255,236,200,.5); }
.osum__dim { position: absolute; left: 12px; top: 12px; z-index: 4; font-size: 12px; font-weight: 600; background: #fff; border-radius: 999px; padding: 6px 12px; box-shadow: 0 8px 20px -12px rgba(0,0,0,.35); }
.osum__dim:empty { display: none; }
.osum__list { margin: 0; }
.osum__list div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 2px; border-bottom: 1px solid rgba(0,0,0,.07); font-size: 14px; }
.osum__list div[hidden] { display: none; }
.osum__list dt { color: var(--muted); }
.osum__list dd { margin: 0; text-align: right; font-weight: 600; }
.osum__total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 2px; }
.osum__total small { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.osum__total b { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3vw, 46px); line-height: 1; text-align: right; }
.osum__send { justify-content: center; width: 100%; }
.osum__send[disabled] { opacity: .6; pointer-events: none; }
.osum__note { font-size: 13px; color: var(--muted); text-align: center; }
.osum__note.is-bad { color: #b5452f; }
.oform .field.is-bad input { border-color: #b5452f; }
.oform.is-sent .omode, .oform.is-sent .oform__grid { display: none; }
.odone { text-align: center; padding: clamp(40px, 6vw, 80px) 16px; background: #f6f3ee; border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.odone[hidden] { display: none; }
.odone__tick { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; animation: pop .7s var(--ease) both; }
.odone h3 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 56px); line-height: 1; }
.odone p { color: #4b4842; max-width: 480px; }

.perks { padding: 0 0 clamp(80px, 10vw, 140px); }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.perk { background: #fff; padding: 28px 24px; display: flex; flex-direction: column; gap: 8px; }
.perk b { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.1; }
.perk span { color: var(--muted); font-size: 14px; }

/* ---------- Prices on paintings ---------- */
.work__price { display: flex; flex-direction: column; gap: 4px; margin-top: 26px; }
.work__price b { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 3.4vw, 52px); line-height: 1; }
.work__price span { font-size: 13px; color: var(--muted); }
.work__price.is-sold b { color: #9a3b2a; }
.tile--sold .tile__cap span { color: #9a3b2a; }
.tile--sold .tile__img { position: relative; }
.tile--sold .tile__img::after { content: ""; position: absolute; top: 12px; right: 12px; width: 12px; height: 12px; border-radius: 50%; background: #b5452f; box-shadow: 0 0 0 3px #fff; }
.lb__price { font-family: var(--display); font-size: 30px; margin-top: 18px; line-height: 1; }
.lb__price:empty { display: none; }

/* ---------- Voices: link + artist reply ---------- */
.voices__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.voice__reply { display: flex; gap: 14px; align-items: flex-start; margin-top: 24px; padding: 16px 18px; border-radius: 12px; background: rgba(255,255,255,.55); max-width: 560px;
  opacity: 0; transform: translateY(10px); transition: all .6s var(--ease); }
.voice.is-active .voice__reply { opacity: 1; transform: none; transition-delay: .8s; }
.voice__reply img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.voice__reply p { font-family: var(--sans) !important; font-size: 14px !important; line-height: 1.55 !important; letter-spacing: 0 !important; color: #4b4842; }
.voice__reply b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin-bottom: 2px; }

/* ---------- Reviews page ---------- */
.rsum { padding-bottom: clamp(36px, 4vw, 56px); }
.rsum__in { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: 22px; padding-bottom: 22px; }
.rsum__in > b { font-family: var(--display); font-weight: 400; font-size: 64px; line-height: 1; }
.rsum__in > span { color: var(--muted); font-size: 14px; }
.rsum__in .stars { color: #c09a55; letter-spacing: 3px; font-size: 18px; }
.rsum__in .pill { margin-left: auto; }
.rlist { padding-bottom: clamp(80px, 10vw, 140px); }
.rlist__grid { columns: 3 320px; column-gap: clamp(16px, 2.4vw, 28px); }
.rcard { break-inside: avoid; margin-bottom: clamp(16px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 18px; background: #fff; }
.rcard__top { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); }
.rcard .stars { color: #c09a55; letter-spacing: 3px; }
.rcard .stars i { font-style: normal; color: #e3ddd3; }
.rcard__text { font-family: var(--display); font-size: 24px; line-height: 1.2; letter-spacing: -.005em; }
.rcard__who { display: flex; flex-direction: column; font-size: 14px; }
.rcard__who span { color: var(--muted); font-size: 13px; }
.rcard__work { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; background: #faf8f5; transition: background .3s; }
.rcard__work:hover { background: #f1ede6; }
.rcard__work img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; }
.rcard__work span { display: flex; flex-direction: column; font-family: var(--display); font-size: 19px; line-height: 1.1; }
.rcard__work small { font-family: var(--sans); font-size: 11px; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.rcard__reply { display: flex; gap: 12px; align-items: flex-start; border-left: 2px solid var(--accent); padding: 4px 0 4px 14px; }
.rcard__reply img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.rcard__reply b { font-size: 13px; }
.rcard__reply p { font-size: 14px; color: #4b4842; }
.rwrite { padding: clamp(80px, 10vw, 140px) 0; background: #faf8f5; }
.rwrite__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.rwrite__lead { color: #4b4842; margin-top: 20px; max-width: 380px; }
.rwrite .cform { background: #fff; }
.field select { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; width: 100%; }
.rate { border: 0; margin: 0; padding: 0; }
.rate legend { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--muted); padding: 0; margin-bottom: 6px; }
.rate__stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rate__stars input { position: absolute; opacity: 0; }
.rate__stars label { font-size: 32px; line-height: 1; color: #e3ddd3; cursor: pointer; transition: color .2s, transform .3s var(--ease); }
.rate__stars input:checked ~ label, .rate__stars label:hover, .rate__stars label:hover ~ label { color: #c09a55; }
.rate__stars label:hover { transform: scale(1.15); }
.rate__stars input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

@media (max-width: 1180px) { .header .pill { display: none; } }
@media (max-width: 1100px) {
  .opts--img, .opts--size { grid-template-columns: repeat(2, 1fr); }
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .header .lang { display: none; }
  .mobile-menu .lang { display: inline-flex; }
  .order__head, .oform__grid, .rwrite__grid { grid-template-columns: 1fr; }
  .osum { position: static; }
  .omode { display: flex; width: 100%; }
  .omode button { flex: 1; padding: 12px 10px; font-size: 13px; white-space: normal; line-height: 1.2; }
  .voices__side { align-items: flex-start; }
}
@media (max-width: 560px) {
  .perks__grid { grid-template-columns: 1fr; }
  .opick { grid-template-columns: repeat(2, 1fr); max-height: 380px; }
  .rsum__in .pill { margin-left: 0; width: 100%; justify-content: center; }
}

/* =========================================================
   v12 — conversion: trust list, rating badge, subscribe, chat, sticky buy bar
   ========================================================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* trust / risk reversal */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.35; }
.trust svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.trust--sm { grid-template-columns: 1fr; gap: 9px; margin-top: 4px; padding-top: 16px; }
.trust--sm li { font-size: 13px; color: #4a4642; }
.trust--sm svg { width: 18px; height: 18px; }

/* rating badge */
.rbadge { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--muted); transition: color .3s; }
.rbadge__stars { color: #c39a3e; letter-spacing: 1px; font-size: 14px; }
.rbadge b { color: var(--ink); font-weight: 700; }
.rbadge span:last-child { border-bottom: 1px solid var(--line); }
.rbadge:hover { color: var(--ink); }
.osum .rbadge { justify-content: center; margin-top: 2px; }

/* subscribe band */
.sub { background: #f4f1ec; padding: clamp(64px, 9vw, 120px) 0; }
.sub__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.sub__title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5.4vw, 84px); line-height: .95; letter-spacing: -.02em; margin: 22px 0 18px; }
.sub__title em { color: var(--accent); }
.sub__lead { color: #5d5853; max-width: 46ch; }
.sub__form { display: flex; flex-wrap: wrap; gap: 10px; }
.sub__field { flex: 1 1 240px; }
.sub__field input { width: 100%; height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid #d9d3ca; background: #fff; font: inherit; color: var(--ink); }
.sub__field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(22,21,19,.06); }
.sub__form.is-bad input { border-color: #b5452f; }
.sub__note { flex: 1 1 100%; font-size: 13px; color: var(--muted); padding-left: 22px; }
.sub__form.is-done .sub__note { color: var(--accent); font-weight: 600; }

/* "Ask Igor" messenger button */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease), bottom .4s var(--ease); }
.chat.is-in { opacity: 1; transform: none; pointer-events: auto; }
.chat__toggle { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 20px 0 16px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 600; box-shadow: 0 14px 34px -12px rgba(0,0,0,.45); transition: background .3s; }
.chat__toggle:hover, .chat.is-open .chat__toggle { background: var(--accent); }
.chat svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.chat__menu { width: 260px; background: #fff; border-radius: 18px; padding: 16px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 8px; }
.chat__menu[hidden] { display: none; }
.chat__menu p { font-size: 13px; color: var(--muted); line-height: 1.45; margin-bottom: 4px; }
.chat__btn { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; font-weight: 600; font-size: 14px; border: 1px solid var(--line); transition: background .25s, border-color .25s; }
.chat__btn--wa svg { stroke: #1f9d55; }
.chat__btn--tg svg { stroke: #2a8bd1; }
.chat__btn:hover { background: #f6f4f0; border-color: #ddd7ce; }

/* sticky buy bar on painting pages */
.sbar { position: fixed; left: 50%; bottom: 16px; z-index: 55; width: min(640px, calc(100% - 32px)); display: flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 8px; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 999px; box-shadow: 0 18px 50px -18px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.05);
  transform: translate(-50%, 140%); transition: transform .55s var(--ease); }
.sbar.is-on { transform: translate(-50%, 0); }
.sbar img { width: 46px; height: 46px; object-fit: cover; border-radius: 50%; flex: none; }
.sbar__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.sbar__txt b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbar__txt span { font-size: 13px; color: var(--muted); }
.sbar .pill { height: 46px; padding: 0 22px; flex: none; }
body.has-sbar .chat { bottom: 92px; }

@media (max-width: 860px) {
  .sub__in { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 560px) {
  .trust { grid-template-columns: 1fr; }
  .sub__form .pill { width: 100%; justify-content: center; }
  .sub__note { padding-left: 0; text-align: center; }
  .chat { right: 14px; bottom: 14px; }
  .chat__toggle span { display: none; }
  .chat__toggle { width: 52px; padding: 0; justify-content: center; }
  .sbar { bottom: 10px; width: calc(100% - 20px); }
  .sbar .pill { padding: 0 18px; }
  body.has-sbar .chat { bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) { .chat, .sbar { transition: none; } }
@media print { .chat, .sbar { display: none; } }

/* =========================================================
   v13 — journal: covers with title + logo, article page
   ========================================================= */
.acover { position: relative; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: var(--c, #222); color: #fff; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(18px, 2.2vw, 28px); }
.acover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.acover::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,11,10,.42) 0%, rgba(12,11,10,.38) 40%, rgba(12,11,10,.82) 100%); }
.acover__logo { position: absolute; top: clamp(16px, 2vw, 24px); left: clamp(18px, 2.2vw, 28px); font-family: var(--display); font-size: 17px; letter-spacing: -.01em; }
.acover__logo em { color: #c8b78f; }
.acover__meta { font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #d9cba7; margin-bottom: 10px; }
.acover__title { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
.acover--big { aspect-ratio: 21 / 9; padding: clamp(24px, 4vw, 56px); }
.acover--big .acover__logo { font-size: 22px; top: clamp(20px, 3vw, 40px); left: clamp(24px, 4vw, 56px); }
.acover--big .acover__title { font-size: clamp(36px, 4.8vw, 76px); line-height: 1; max-width: 22ch; }
.acover--big .acover__meta { font-size: 12px; }

.agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) clamp(18px, 2vw, 28px); }
.acard { display: flex; flex-direction: column; gap: 14px; }
.acard[hidden], .afeat[hidden] { display: none; }
.acard__lead { color: #5d5853; font-size: 15px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acard__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.acard__more svg { transition: transform .4s var(--ease); }
.acard:hover .acover img, .afeat:hover .acover img { transform: scale(1.07); }
.acard:hover .acard__more svg, .afeat:hover .acard__more svg { transform: translateX(4px); }

.journal { padding-bottom: clamp(80px, 10vw, 140px); }
.afeat { display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: clamp(44px, 5vw, 72px); }
.afeat__side { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.afeat__side p { max-width: 62ch; color: #4b4842; font-size: 17px; }
.jteaser { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }

.post { padding: clamp(120px, 16vh, 170px) 0 clamp(60px, 8vw, 110px); }
.post .acover--big { min-height: min(62vh, 620px); aspect-ratio: auto; }
.post__grid { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: clamp(32px, 6vw, 110px); margin-top: clamp(36px, 5vw, 64px); justify-content: center; }
.post__aside { display: flex; flex-direction: column; gap: 22px; align-self: start; position: sticky; top: 100px; }
.post__by { display: flex; gap: 12px; align-items: center; }
.post__by img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.post__by b { display: block; font-size: 15px; }
.post__by span { font-size: 13px; color: var(--muted); }
.post__work { display: grid; grid-template-columns: 72px 1fr; column-gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 6px; transition: border-color .3s; }
.post__work img { grid-row: 1 / 4; width: 72px; height: 72px; object-fit: cover; border-radius: 3px; }
.post__work small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.post__work b { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.1; }
.post__work span { font-size: 13px; color: var(--muted); }
.post__work:hover { border-color: var(--ink); }
.post__lead { font-family: var(--display); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.25; margin-bottom: 36px; }
.post__body { font-size: 18px; line-height: 1.75; color: #2b2925; }
.post__body p { margin: 0 0 1.15em; }
.post__body h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.1; margin: 1.7em 0 .55em; color: var(--ink); }
.post__body ul { margin: 0 0 1.3em; display: flex; flex-direction: column; gap: 10px; }
.post__body li { position: relative; padding-left: 26px; }
.post__body li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.post__body blockquote { margin: 1.6em 0; padding: 4px 0 4px 26px; border-left: 2px solid #c8b78f; font-family: var(--display); font-style: italic; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.3; color: var(--ink); }
.post__body p a, .post__body li a, .post__body blockquote a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post__body p a:hover, .post__body li a:hover { color: var(--ink); }
.post__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }

@media (max-width: 1100px) {
  .agrid { grid-template-columns: repeat(2, 1fr); }
  .agrid--3 > :nth-child(3) { display: none; }
  .post__grid { grid-template-columns: 1fr; }
  .post__aside { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .post__work { min-width: 260px; }
}
@media (max-width: 640px) {
  .agrid { grid-template-columns: 1fr; }
  .agrid--3 > :nth-child(3) { display: flex; }
  .afeat .acover, .acover--big { aspect-ratio: 4 / 5; }
  .post .acover--big { min-height: 0; aspect-ratio: 4 / 5; }
  .post__body { font-size: 17px; }
  .post__cta .pill { flex: 1 1 100%; justify-content: center; }
  .post__work { min-width: 0; width: 100%; }
}

/* =========================================================
   v14 — timed pop-up "new paintings before anyone else"
   ========================================================= */
.spop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.spop[hidden] { display: none; }
.pop__bg { position: absolute; inset: 0; background: rgba(14,13,12,.62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s var(--ease); }
.pop__card { position: relative; width: min(880px, 100%); max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: 1fr 1.08fr;
  background: var(--paper); border-radius: 8px; box-shadow: 0 50px 120px -30px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .55s var(--ease), transform .7s var(--ease); }
.spop.is-open .pop__bg { opacity: 1; }
.spop.is-open .pop__card { opacity: 1; transform: none; }
.pop__art { position: relative; min-height: 460px; overflow: hidden; background: #1c1a17; color: #fff; }
.pop__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s cubic-bezier(.2,.6,.2,1); }
.spop.is-open .pop__art img { transform: scale(1.02); }
.pop__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,11,10,.45) 0%, rgba(12,11,10,.05) 35%, rgba(12,11,10,.55) 100%); }
.pop__logo { position: absolute; z-index: 1; top: 22px; left: 24px; font-family: var(--display); font-size: 20px; }
.pop__logo em { color: #c8b78f; }
.pop__badge { position: absolute; z-index: 1; left: 24px; bottom: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px;
  background: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.pop__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #c8b78f; box-shadow: 0 0 0 4px rgba(200,183,143,.25); }
.pop__body { padding: clamp(32px, 4vw, 52px) clamp(26px, 3.6vw, 48px) clamp(28px, 3.4vw, 42px); display: flex; flex-direction: column; justify-content: center; }
.pop__title { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 4vw, 54px); line-height: .98; letter-spacing: -.02em; margin: 18px 0 16px; }
.pop__title em { color: var(--accent); }
.pop__lead { color: #5d5853; font-size: 15px; line-height: 1.6; margin-bottom: 24px; }
.pop__form { display: flex; flex-direction: column; gap: 10px; }
.pop__form .pill { justify-content: center; }
.pop__form .sub__note { padding-left: 0; text-align: center; font-size: 12.5px; }
.pop__form.is-done .sub__field, .pop__form.is-done .pill { display: none; }
.pop__form.is-done .sub__note { font-size: 16px; padding: 14px 0; }
.pop__alt { margin-top: 16px; text-align: center; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: color .3s; }
.pop__alt:hover { color: var(--ink); }
.pop__x { position: absolute; z-index: 2; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-size: 26px; line-height: 1; color: var(--ink); background: rgba(255,255,255,.9); transition: background .3s, transform .4s var(--ease); }
.pop__x:hover { background: #fff; transform: rotate(90deg); }
html.pop-lock, html.pop-lock body { overflow: hidden; }
html.pop-lock .chat { opacity: 0; pointer-events: none; }

@media (max-width: 720px) {
  .spop { padding: 0; place-items: end center; }
  .pop__card { grid-template-columns: 1fr; border-radius: 18px 18px 0 0; max-height: 92vh; transform: translateY(100%); }
  .spop.is-open .pop__card { transform: none; }
  .pop__art { min-height: 0; height: 190px; }
  .pop__badge { bottom: 14px; left: 18px; }
  .pop__logo { top: 16px; left: 18px; font-size: 17px; }
  .pop__body { padding: 24px 20px calc(22px + env(safe-area-inset-bottom)); }
  .pop__title { font-size: 34px; margin-top: 14px; }
  .pop__lead { font-size: 14.5px; margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { .pop__card, .pop__bg, .pop__art img { transition: none; } }
.pop__form .sub__field, .pop__form .pill { flex: none; }
.pop__form .pill { height: 52px; }

/* hero marquee: drag / swipe by hand */
.marquee.is-draggable { cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.marquee.is-dragging { cursor: grabbing; }
.marquee.is-dragging .marquee__item img { transform: none; }
.marquee.is-dragging figcaption { opacity: 0 !important; }

/* =========================================================
   v16 — reviews block on home, buyers' photos, verified badge
   ========================================================= */
.verified { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--accent); }
.verified svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.rcard .verified { margin-top: -4px; }

.hrev { padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.hrev__score { display: flex; align-items: center; gap: 14px; }
.hrev__score > b { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 6vw, 84px); line-height: .9; }
.hrev__score div { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.hrev__score .stars { color: #c39a3e; letter-spacing: 2px; font-size: 16px; }
.hrev__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.qcard { background: #f6f3ee; border-radius: 6px; padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.qcard__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.qcard .stars { color: #c39a3e; letter-spacing: 2px; }
.qcard__text { font-family: var(--display); font-size: clamp(22px, 1.9vw, 27px); line-height: 1.25; flex: 1; }
.qcard__who { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); border-top: 1px solid #e6e0d6; padding-top: 14px; }
.qcard__who b { color: var(--ink); font-weight: 600; }
.hrev__photos { margin-top: clamp(40px, 5vw, 64px); }
.hrev__cap { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.hrev__strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.hrev__strip .cphoto { aspect-ratio: 3 / 4; }

.cphoto { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 4px; background: #eee9e2; cursor: zoom-in; padding: 0; }
.cphoto img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cphoto:hover img { transform: scale(1.05); }
.cphoto span { position: absolute; left: 10px; bottom: 10px; right: 10px; width: fit-content; max-width: calc(100% - 20px); padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,.92); font-size: 12px; font-weight: 600; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.cphoto:hover span, .cphoto:focus-visible span { opacity: 1; transform: none; }

.cgal { padding: clamp(30px, 4vw, 60px) 0 clamp(70px, 9vw, 120px); }
.cgal__lead { max-width: 40ch; color: #5d5853; }
.cgal__grid { columns: 4 240px; column-gap: 14px; }
.cgal__grid .cphoto { margin-bottom: 14px; break-inside: avoid; }
.cgal__grid .cphoto img { height: auto; }

.phbox { position: fixed; inset: 0; z-index: 95; background: rgba(14,13,12,.94); display: flex; align-items: center; justify-content: center; gap: 12px; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.phbox.is-open { opacity: 1; pointer-events: auto; }
.phbox__fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(1100px, 100%); flex: 1; }
.phbox__fig img { max-height: calc(100vh - 120px); max-width: 100%; width: auto; border-radius: 4px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
.phbox figcaption { display: flex; gap: 18px; align-items: center; color: rgba(255,255,255,.7); font-size: 13px; }
.phbox__link { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.4); }
.phbox__x { position: absolute; top: 16px; right: 18px; width: 44px; height: 44px; border-radius: 50%; color: #fff; font-size: 30px; line-height: 1; background: rgba(255,255,255,.1); }
.phbox__nav { width: 52px; height: 52px; flex: none; border-radius: 50%; color: #fff; font-size: 34px; line-height: 1; background: rgba(255,255,255,.1); transition: background .3s; }
.phbox__nav:hover, .phbox__x:hover { background: rgba(255,255,255,.22); }

@media (max-width: 1100px) {
  .hrev__grid { grid-template-columns: 1fr 1fr; }
  .hrev__grid > :nth-child(3) { display: none; }
  .hrev__strip { grid-template-columns: repeat(3, 1fr); }
  .hrev__strip .cphoto { aspect-ratio: 1; }
}
@media (max-width: 640px) {
  .hrev__grid { grid-template-columns: 1fr; }
  .hrev__grid > :nth-child(3) { display: flex; }
  .hrev__strip { grid-template-columns: repeat(2, 1fr); }
  .hrev__strip .cphoto:nth-child(n+5) { display: none; }
  .cgal__grid { columns: 2; column-gap: 10px; }
  .cgal__grid .cphoto { margin-bottom: 10px; }
  .phbox { padding: 10px; }
  .phbox__nav { position: absolute; bottom: 18px; }
  .phbox__prev { left: 18px; } .phbox__next { right: 18px; }
  .phbox__fig img { max-height: calc(100vh - 170px); }
  .cphoto span { opacity: 1; transform: none; font-size: 11px; }
}

/* =========================================================
   v17 — phone + WhatsApp everywhere
   ========================================================= */
.header__end { gap: 10px; }
.hphone, .hwa { display: inline-flex; align-items: center; gap: 8px; height: 44px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.hphone { padding: 0 14px 0 12px; }
.hphone svg, .hwa svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.hphone:hover { background: #f3f1ed; }
.hwa { width: 44px; justify-content: center; border: 1px solid var(--line); color: #1f9d55; }
.hwa:hover { background: #1f9d55; border-color: #1f9d55; color: #fff; }
body:not(.menu-open) .header.is-dark .hphone { color: #fff; }
body:not(.menu-open) .header.is-dark .hphone:hover { background: rgba(255,255,255,.1); }
body:not(.menu-open) .header.is-dark .hwa { border-color: rgba(255,255,255,.25); color: #5fd38f; }
body:not(.menu-open) .header.is-dark .hwa:hover { background: #1f9d55; color: #fff; }

.footer__contacts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; font-size: 16px; font-weight: 600; }
.footer__contacts a { display: inline-flex; align-items: center; gap: 10px; color: #fff; transition: color .3s; }
.footer__contacts a:hover { color: #c8b78f; }
.footer__contacts svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

.talk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 20px; font-size: 14px; }
.talk span { color: var(--muted); }
.talk a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.talk a:hover { color: var(--accent); border-color: currentColor; }
.talk svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.talk .talk__wa svg { stroke: #1f9d55; }
.talk--center { justify-content: center; margin-top: 2px; font-size: 13px; }

@media (max-width: 1440px) { .hphone span { display: none; } .hphone { width: 44px; padding: 0; justify-content: center; border: 1px solid var(--line); } }
@media (max-width: 1440px) { body:not(.menu-open) .header.is-dark .hphone { border-color: rgba(255,255,255,.25); } }
@media (max-width: 860px) { .hphone, .hwa { display: none; } }
.chat__btn--tel svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }

/* =========================================================
   v18 — reviews styled like a social-network review feed
   ========================================================= */
.fb { --fb-text: #1c1e21; --fb-muted: #65676b; --fb-blue: #0866ff; --fb-star: #f0841e;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, var(--sans); color: var(--fb-text);
  display: flex; flex-direction: column; gap: 10px; padding: 22px 0; border-top: 1px solid #e4e6eb; }
.fb:first-child { border-top: 0; }
.fb__head { display: flex; align-items: center; gap: 12px; }
.ava { width: 48px; height: 48px; border-radius: 50%; flex: none; object-fit: cover; display: grid; place-items: center;
  background: hsl(var(--h, 30) 45% 86%); color: hsl(var(--h, 30) 45% 30%); font: 600 20px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.fb__head b { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; }
.fb__head span { font-size: 14px; color: var(--fb-muted); }
.fb__rate { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.fb__stars { color: var(--fb-star); font-size: 20px; letter-spacing: 2px; line-height: 1; }
.fb__stars i { font-style: normal; color: #dadde1; }
.fb__ver { color: var(--fb-blue); font-size: 15px; font-weight: 500; }
.fb__text { font-size: 17px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fb__textwrap.is-open .fb__text { -webkit-line-clamp: unset; display: block; }
.fb__more { font-size: 16px; font-weight: 600; color: var(--fb-text); padding: 0; margin-top: 2px; }
.fb__more:hover { text-decoration: underline; }
.fb__plus { font-size: 15px; color: var(--fb-muted); line-height: 1.4; }
.fb__work { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; padding: 8px 14px 8px 8px; border-radius: 10px; background: #f0f2f5; transition: background .25s; }
.fb__work:hover { background: #e4e6eb; }
.fb__work img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.fb__work span { display: flex; flex-direction: column; font-size: 15px; font-weight: 600; line-height: 1.2; }
.fb__work small { font-size: 12px; font-weight: 400; color: var(--fb-muted); }
.fb__reply { display: flex; gap: 8px; align-items: flex-start; margin-left: 36px; }
.fb__reply img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.fb__bubble { background: #f0f2f5; border-radius: 18px; padding: 8px 14px; }
.fb__bubble b { font-size: 14px; font-weight: 600; }
.fb__bubble p { font-size: 15px; line-height: 1.4; }

.rsum__score small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--muted); margin-bottom: 4px; }
.rsum__score div { display: flex; align-items: center; gap: 12px; }
.rsum__score .fb__stars { font-size: 28px; color: #f0841e; }
.rsum__score b { font-size: 34px; font-weight: 700; line-height: 1; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, var(--sans); }
.rsum__score div > span:last-child { font-size: 26px; color: var(--muted); }

.fbwrap { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid #e4e6eb; border-radius: 16px; padding: 8px clamp(18px, 3vw, 32px) 8px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.fbfilter { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0 12px; border-bottom: 1px solid #e4e6eb; }
.fbfilter button { font: 600 15px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, var(--sans); padding: 10px 14px; border-radius: 8px; background: #e7f0ff; color: #0866ff; transition: background .2s; }
.fbfilter button i { font-style: normal; opacity: .7; margin-left: 2px; }
.fbfilter button:hover { background: #dbe7fe; }
.fbfilter button.is-on { background: #0866ff; color: #fff; }
.fb[hidden] { display: none; }

/* compact cards on the home page */
.hrev__grid .fb--compact { background: #fff; border: 1px solid #e4e6eb; border-radius: 14px; padding: 20px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.hrev__grid .fb--compact:first-child { border-top: 1px solid #e4e6eb; }

@media (max-width: 640px) {
  .fbwrap { padding: 4px 16px; border-radius: 12px; }
  .fb__text { font-size: 16px; }
  .fb__reply { margin-left: 0; }
  .rsum__score .fb__stars { font-size: 22px; }
}
.hmail { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s; }
.hmail svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.hmail:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
body:not(.menu-open) .header.is-dark .hmail { border-color: rgba(255,255,255,.25); color: #fff; }
@media (max-width: 860px) { .hmail { display: none; } }

/* v19 — developer credit in the footer (site palette: ink, muted white, gold #c8b78f, serif accents, pill shape) */
.credit { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 20px; margin-top: 28px; padding: 12px 14px 12px 24px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font-size: 13px; color: rgba(255,255,255,.55);
  transition: border-color .4s var(--ease), color .4s; }
.credit b { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 19px; letter-spacing: -.01em; color: #fff; }
.credit__cta { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: rgba(200,183,143,.12); color: #c8b78f; font-weight: 600; transition: background .4s var(--ease), color .4s; }
.credit__cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.credit:hover { border-color: rgba(200,183,143,.45); color: rgba(255,255,255,.8); }
.credit:hover .credit__cta { background: #c8b78f; color: var(--ink); }
.credit:hover .credit__cta svg { transform: translate(2px,-2px); }
@media (max-width: 600px) { .credit { border-radius: 22px; padding: 14px 16px; } }
