/* TQS Home Slideshow – homepage. Uses the theme's own buttons (black "Read more" button, red textual circle),
   its fonts (Space Grotesk headings, Roboto 300 text) and the shop grid's wall colour, Sold circle and link.
   Artworks are shown whole (never cropped); the image slide fills the frame. Nothing sticks out of the frame. */
.tqhs-wrap{--tqhs-ink:#000;--tqhs-mute:#6b6b6b;--tqhs-line:#d6d6d6;--tqhs-wall:#f2f0ec;--tqhs-red:#fa4b42;padding:0 8px;box-sizing:border-box;max-width:100%;overflow-x:clip}
.tqhs{position:relative;color:var(--tqhs-ink);font-family:Roboto,sans-serif;font-weight:300}
.tqhs *,.tqhs *::before,.tqhs *::after{box-sizing:border-box}
.tqhs__stage{position:relative;height:clamp(460px,min(calc(100svh - 150px),62vw),820px);overflow:hidden;background:var(--tqhs-wall);touch-action:pan-y}

/* slides: stacked, cross-fade */
.tqhs__slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .9s ease,visibility 0s linear .9s}
.tqhs__slide.is-active{opacity:1;visibility:visible;transition:opacity .9s ease,visibility 0s;z-index:1}
.tqhs__slide.is-leaving{visibility:visible;z-index:0}
.tqhs__slide:not(.is-active):not(.is-leaving):not(.is-next){content-visibility:hidden}

/* image slide */
.tqhs__slide--image{display:grid;padding:clamp(28px,5.5vw,86px)}
.tqhs .tqhs__bg{position:absolute;inset:0;width:100% !important;height:100% !important;max-width:none;object-fit:cover;display:block}
.tqhs__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,var(--tqhs-shade,.25)),rgba(0,0,0,calc(var(--tqhs-shade,.25) * .35)));pointer-events:none}
.tqhs-theme-dark .tqhs__shade{background:rgba(255,255,255,var(--tqhs-shade,.25))}
.tqhs__text{position:relative;z-index:2;max-width:min(640px,100%)}
.tqhs-theme-light .tqhs__text{color:#fff}
.tqhs-theme-dark .tqhs__text{color:var(--tqhs-ink)}
.tqhs-pos-tl .tqhs__text{align-self:start;justify-self:start}
.tqhs-pos-tc .tqhs__text{align-self:start;justify-self:center;text-align:center}
.tqhs-pos-tr .tqhs__text{align-self:start;justify-self:end;text-align:right}
.tqhs-pos-ml .tqhs__text{align-self:center;justify-self:start}
.tqhs-pos-mc .tqhs__text{align-self:center;justify-self:center;text-align:center}
.tqhs-pos-mr .tqhs__text{align-self:center;justify-self:end;text-align:right}
.tqhs-pos-bl .tqhs__text{align-self:end;justify-self:start}
.tqhs-pos-bc .tqhs__text{align-self:end;justify-self:center;text-align:center}
.tqhs-pos-br .tqhs__text{align-self:end;justify-self:end;text-align:right}
.tqhs .tqhs__kicker{margin:0 0 16px;font-family:Roboto,sans-serif;font-weight:300;font-size:15px;letter-spacing:.12em;text-transform:uppercase;line-height:1.3;color:inherit}
.tqhs .tqhs__heading{display:block !important;margin:0;font-family:"Space Grotesk",sans-serif;font-weight:300;font-size:clamp(44px,5.6vw,86px);line-height:1;letter-spacing:-.05em;color:inherit;text-transform:none}
.tqhs .tqhs__body{margin:20px 0 0;font-family:Roboto,sans-serif;font-weight:300;font-size:clamp(17px,1.4vw,20px);line-height:1.38;letter-spacing:-.017em;max-width:42ch;color:inherit;display:block}
.tqhs-pos-tc .tqhs__body,.tqhs-pos-mc .tqhs__body,.tqhs-pos-bc .tqhs__body{margin-left:auto;margin-right:auto}
/* the theme's black button: only spacing set here (look, hover and arrow come from the theme) */
.tqhs .tqhs__text>.tqhs__cta.qodef-button{margin-top:28px;font-weight:300}
.tqhs .tqhs__text>.tqhs__cta:first-child{margin-top:0}
.tqhs-theme-light .tqhs__cta.qodef-layout--filled{border-color:#000}
/* the theme's red circle button */
/* .qodef-button added: the theme's kahlo-core.min.css loads later and sets .qodef-button.qodef-html--link{position:relative} */
.tqhs .tqhs__circle.qodef-button{position:absolute;z-index:3;left:auto;top:auto;right:clamp(24px,5vw,80px);bottom:clamp(24px,5vw,72px);margin:0;width:203px;height:203px;transform:rotate(-19deg)}
.tqhs .tqhs__circle .qodef-btn-text{font-family:"Space Grotesk",sans-serif}

/* artwork / event slide: the picture whole on a gallery wall, with its label */
.tqhs__slide--work{background:var(--tqhs-wall)}
.tqhs__art{position:absolute;inset:clamp(32px,6%,70px) 9% clamp(32px,6%,70px) 30%;display:flex;align-items:center;justify-content:center;container-type:size}
.tqhs__frame{position:relative;display:block;line-height:0;max-width:100%}
.tqhs .tqhs__work{display:block;width:auto !important;height:auto !important;max-width:100cqw !important;max-height:100cqh !important;object-fit:contain;box-shadow:0 2px 4px rgba(0,0,0,.06),0 22px 44px -14px rgba(0,0,0,.3)}
.tqhs__sold{position:absolute;top:10px;right:10px;z-index:2;width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--tqhs-red);color:#fff;font-family:"Space Grotesk",sans-serif;font-size:12px;font-weight:700;letter-spacing:-.02em;line-height:1}
.tqhs__label{position:absolute;left:clamp(24px,5.5vw,86px);bottom:clamp(24px,5.5vw,86px);z-index:2;background:#fff;padding:22px 26px 20px;width:min(300px,24%);min-width:230px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.tqhs .tqhs__kind{margin:0 0 10px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--tqhs-mute);line-height:1}
.tqhs .tqhs__title{display:block !important;margin:0;font-family:"Space Grotesk",sans-serif;font-weight:300;font-size:23px;line-height:1.1;letter-spacing:-.02em;text-transform:none}
.tqhs .tqhs__title a{color:var(--tqhs-ink);text-decoration:none}
.tqhs .tqhs__title a::after{content:"";position:absolute;inset:0}
.tqhs .tqhs__title a:focus-visible{outline:none}
.tqhs__label:focus-within{outline:1px solid var(--tqhs-ink);outline-offset:3px}
.tqhs .tqhs__artist{margin:6px 0 0;font-size:16px;line-height:1.35;color:var(--tqhs-ink)}
.tqhs .tqhs__meta{margin:4px 0 0;font-size:14px;line-height:1.4;color:var(--tqhs-mute)}
/* same link as the shop grid's "See prices & availability" */
.tqhs .tqhs__more{margin:16px 0 0;line-height:1}
.tqhs__more span{display:inline-block;font-size:.85rem;font-weight:300;color:var(--tqhs-ink);border-bottom:1px solid #000;padding-bottom:2px}
@media (hover:hover) and (pointer:fine){
	.tqhs__more span{border-bottom:0;padding-bottom:3px;background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat;transition:background-size .5s cubic-bezier(.25,.46,.35,.94)}
	.tqhs__slide--work:hover .tqhs__more span,.tqhs__label:focus-within .tqhs__more span{background-size:100% 1px}
}

/* controls under the frame: thin lines, counter, pause and the theme's arrows */
.tqhs__bar{display:flex;align-items:center;gap:22px;padding:16px 0 0}
.tqhs__ticks{display:flex;align-items:center;flex:1;min-width:0;gap:4px}
.tqhs .tqhs__tick{flex:0 1 48px;height:32px;padding:0;border:0;background:none;cursor:pointer;display:flex;align-items:center;min-width:14px}
.tqhs__tick span{position:relative;display:block;width:100%;height:1px;background:var(--tqhs-line);overflow:hidden;transition:height .2s}
.tqhs__tick span::after{content:"";position:absolute;inset:0;background:var(--tqhs-ink);transform:scaleX(0);transform-origin:left}
.tqhs__tick:hover span,.tqhs__tick.is-active span{height:2px}
.tqhs__tick.is-active span::after{transform:scaleX(1)}
.tqhs.is-auto .tqhs__tick.is-active span::after{transform:scaleX(0);animation:tqhs-fill var(--tqhs-t,6s) linear forwards}
.tqhs.is-auto.is-held .tqhs__tick.is-active span::after{animation-play-state:paused}
.tqhs.is-stopped .tqhs__tick.is-active span::after{animation:none;transform:scaleX(1)}
.tqhs .tqhs__tick:focus-visible{outline:1px solid var(--tqhs-ink);outline-offset:2px}
@keyframes tqhs-fill{to{transform:scaleX(1)}}
.tqhs .tqhs__count{margin:0;font-family:"Space Grotesk",sans-serif;font-weight:300;font-size:17px;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--tqhs-mute)}
.tqhs__now{color:var(--tqhs-ink)}
.tqhs__nav{display:flex;gap:6px}
.tqhs .tqhs__btn-icon{width:42px;height:42px;padding:8px;border:1px solid transparent;border-radius:0;background:none;color:var(--tqhs-ink);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:border-color .2s}
.tqhs .tqhs__btn-icon:hover{border-color:var(--tqhs-ink);background:none;color:var(--tqhs-ink)}
.tqhs .tqhs__btn-icon:focus-visible{outline:1px solid var(--tqhs-ink);outline-offset:0}
.tqhs__btn-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.tqhs__play svg{stroke-width:1.5}
/* prev/next = the theme's button arrow (same as "Read more"), back arrow mirrored */
.tqhs .tqhs__btn-icon svg.tqhs__arrow{width:15px;height:18px;fill:currentColor;stroke:currentColor;stroke-width:1.4;stroke-linecap:butt}
.tqhs .tqhs__btn-icon svg.tqhs__arrow path[fill="currentColor"]{stroke:none}
.tqhs__arrow--back{transform:scaleX(-1)}
.tqhs .tqhs__next:hover .tqhs__arrow{transform:translateX(3px)}.tqhs .tqhs__prev:hover .tqhs__arrow{transform:scaleX(-1) translateX(3px)}
.tqhs .tqhs__btn-icon svg.tqhs__arrow{transition:transform .5s cubic-bezier(.41,.88,.28,1.01)}
.tqhs__i-play{display:none}
.tqhs.is-stopped .tqhs__i-play{display:block}
.tqhs.is-stopped .tqhs__i-pause{display:none}
.tqhs__live{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}


/* "Show the whole picture": the frame takes the picture's shape (set from the picture's own width/height),
   so it fills the frame exactly and nothing is cropped. Very tall screens: capped, and the picture is fitted whole. */
@media (min-width:768px){
	.tqhs--ratio .tqhs__stage{height:auto;aspect-ratio:var(--tqhs-ar);max-height:calc(100svh - 110px);min-height:0}
	.tqhs .tqhs__slide--whole .tqhs__bg{object-fit:contain;background:var(--tqhs-wall)}
}

@media (max-width:1024px){
	.tqhs__art{inset:40px 7% 40px 36%}
	.tqhs .tqhs__circle.qodef-button{width:150px;height:150px}
}
@media (max-width:767px){
	.tqhs__stage{height:clamp(500px,calc(100vw + 230px),660px)}
	.tqhs__slide--image{padding:24px 22px 28px}
	.tqhs .tqhs__heading{font-size:44px}
	.tqhs .tqhs__body{font-size:17px;margin-top:14px}
	.tqhs .tqhs__text>.tqhs__cta{margin-top:20px}
	.tqhs .tqhs__circle.qodef-button{width:112px;height:112px;right:16px;top:16px;bottom:auto}
	.tqhs__art{inset:24px 22px 178px 22px}
	.tqhs__label{left:16px;right:16px;bottom:16px;width:auto;min-width:0;padding:15px 18px 16px}
	.tqhs .tqhs__kind{margin-bottom:8px}
	.tqhs .tqhs__title{font-size:21px}
	.tqhs .tqhs__artist{font-size:15px;margin-top:4px}
	.tqhs .tqhs__meta{font-size:13px}
	.tqhs .tqhs__more{margin-top:12px}
	.tqhs__sold{width:40px;height:40px;top:8px;right:8px}
	/* whole picture on phones: the photo across the top (never cropped), the text under it in black on the wall */
	.tqhs__slide--whole{display:flex;flex-direction:column;padding:0;background:var(--tqhs-wall)}
	.tqhs .tqhs__slide--whole .tqhs__bg{position:relative;inset:auto;height:auto !important;flex:none}
	.tqhs__slide--whole .tqhs__shade{display:none}
	.tqhs__slide--whole .tqhs__text{color:var(--tqhs-ink) !important;padding:26px 22px 0;align-self:auto;justify-self:auto;text-align:left}
	.tqhs .tqhs__slide--whole .tqhs__circle.qodef-button{width:96px;height:96px;top:calc((100vw - 16px) / var(--tqhs-ar,1.78) - 82px);bottom:auto;right:14px}
	.tqhs .tqhs__slide--whole .tqhs__circle .qodef-btn-text{font-size:19px}
	.tqhs__bar{gap:12px}
	.tqhs .tqhs__count{display:none}
}
@media (prefers-reduced-motion:reduce){
	.tqhs__slide,.tqhs__slide.is-active{transition:none}
}
/* no JavaScript: first slide only (all slides stay in the page for search engines) */
.tqhs:not(.is-ready) .tqhs__bar{display:none}
